]> err.no Git - dpkg/log
dpkg
16 years agoRefactor, move filtering functions to their own file.
Tollef Fog Heen [Sun, 20 Jan 2008 09:36:25 +0000 (10:36 +0100)]
Refactor, move filtering functions to their own file.

* Move the filtering functions from lib/myopt.[ch] to src/filters.[ch].

* Add filters.[ch] to src/Makefile.am

* Add #include "filters.h" to main.c and archives.c so they still get
  at the filterlist definition.

16 years agoUse m_malloc, not malloc
Tollef Fog Heen [Sun, 20 Jan 2008 09:09:48 +0000 (10:09 +0100)]
Use m_malloc, not malloc

16 years agoStyle; lose some braces for single-statement if-sentences.
Tollef Fog Heen [Sun, 20 Jan 2008 09:09:08 +0000 (10:09 +0100)]
Style; lose some braces for single-statement if-sentences.

16 years agoAdd prototype for loadfilters to myopt.h and make the argument void, not just the...
Tollef Fog Heen [Sun, 20 Jan 2008 09:07:00 +0000 (10:07 +0100)]
Add prototype for loadfilters to myopt.h and make the argument void, not just the empty string

16 years agoStyle fixes
Tollef Fog Heen [Sun, 20 Jan 2008 09:06:10 +0000 (10:06 +0100)]
Style fixes

16 years agoSimplify code by using strdup instead of malloc + strcpy.
Tollef Fog Heen [Sun, 20 Jan 2008 09:03:45 +0000 (10:03 +0100)]
Simplify code by using strdup instead of malloc + strcpy.

16 years agoUse m_malloc, not malloc
Tollef Fog Heen [Sun, 20 Jan 2008 09:02:40 +0000 (10:02 +0100)]
Use m_malloc, not malloc

16 years agostyle nitpick
Tollef Fog Heen [Sun, 20 Jan 2008 08:54:50 +0000 (09:54 +0100)]
style nitpick

16 years agoMove loadfilters to dpkg's main function
Tollef Fog Heen [Sun, 20 Jan 2008 08:50:41 +0000 (09:50 +0100)]
Move loadfilters to dpkg's main function

16 years agoMake sure newly allocated filter struct is cleared
Tollef Fog Heen [Thu, 27 Dec 2007 06:47:03 +0000 (07:47 +0100)]
Make sure newly allocated filter struct is cleared

To avoid memory corruption, make sure to clear out the new filter
struct when it is allocated.

16 years agoReverse direction of filter list
Tollef Fog Heen [Wed, 26 Dec 2007 10:23:56 +0000 (11:23 +0100)]
Reverse direction of filter list

Insert items into the filter list at the tail rather than at the head,
this makes it easier for users to understand what's going on.

16 years agoHandle inclusion properly
Tollef Fog Heen [Wed, 26 Dec 2007 09:57:24 +0000 (10:57 +0100)]
Handle inclusion properly

Make sure we handle the case of a filter similar to:

+/usr/share/doc/pkg-config/changelog.Debian.gz
-/usr/share/doc/pkg-config*

correctly, where /usr/share/doc/pkg-config needs to be reincluded as a
file below it will be included.

Note that you can end up with empty directories this way if you have a
filter like:

+/usr/share/doc/pkg-config/NoSuchFileOrDirectory
-/usr/share/doc/pkg-config*

even though the deb does not ship
/usr/share/doc/pkg-config/NoSuchFileOrDirectory.  I believe this is
not easily fixable without at least a performance hit.

16 years agoDon't access uninitialised memory
Tollef Fog Heen [Wed, 26 Dec 2007 09:09:28 +0000 (10:09 +0100)]
Don't access uninitialised memory

Trivial fix to make sure we allocate memory before trying to access
where a pointer points.

16 years agoConfiguration for filters added
Tollef Fog Heen [Wed, 26 Dec 2007 09:07:11 +0000 (10:07 +0100)]
Configuration for filters added

Filters can now be configured using SYSCONFDIR/filters.d.

There's a known memory bug here somewhere, but this is a useful
checkpoint.

Also, does not exclude .dpkg-old and similar files from filters.d.

16 years agoInitial prototype for excluding parts of packages
Tollef Fog Heen [Wed, 26 Dec 2007 08:58:52 +0000 (09:58 +0100)]
Initial prototype for excluding parts of packages

This only supports a single, hard-coded file for now, but the initial
support is there.

16 years agoAdd a changelog entry to close a bug that was already fixed in the tree
Raphael Hertzog [Wed, 26 Dec 2007 08:37:40 +0000 (09:37 +0100)]
Add a changelog entry to close a bug that was already fixed in the tree

Concerns the fact that dpkg-gensymbols should not update the version info of a
deprecated symbol.

16 years agoMerge branch 'master' of ssh://git.debian.org/git/dpkg/dpkg
Raphael Hertzog [Wed, 26 Dec 2007 08:23:29 +0000 (09:23 +0100)]
Merge branch 'master' of ssh://git.debian.org/git/dpkg/dpkg

16 years agoIgnore the man pages when building without NLS support
Guillem Jover [Mon, 24 Dec 2007 17:25:04 +0000 (19:25 +0200)]
Ignore the man pages when building without NLS support

Closes: #457673
16 years agoFrench translation update
Christian Perrier [Sat, 22 Dec 2007 06:15:30 +0000 (07:15 +0100)]
French translation update

fr.po: Updated to 930t

16 years agoCompleted German translation of man page for dpkg-shlibdeps
Helge Kreutzmann [Fri, 21 Dec 2007 23:24:23 +0000 (00:24 +0100)]
Completed German translation of man page for dpkg-shlibdeps

16 years agoUnfuzzy German scripts translation
Helge Kreutzmann [Fri, 21 Dec 2007 16:29:09 +0000 (17:29 +0100)]
Unfuzzy German scripts translation

16 years agoman/po/sv.po: fix some groff that lead to a build failure
Raphael Hertzog [Thu, 20 Dec 2007 10:45:42 +0000 (11:45 +0100)]
man/po/sv.po: fix some groff that lead to a build failure

16 years agodpkg-shlibdeps: analyze in priority the shlibs of the current package
Raphael Hertzog [Thu, 20 Dec 2007 08:09:57 +0000 (09:09 +0100)]
dpkg-shlibdeps: analyze in priority the shlibs of the current package

When looking for a dependency, consider the shlibs of the current package
before the shlibs of other binary packages of the same source. This is
important when a library is built in multiple flavors and each version comes
with a different dependency for the same library.

16 years agoupdated Japanese translation.
kmuto [Thu, 20 Dec 2007 05:55:52 +0000 (14:55 +0900)]
updated Japanese translation.

16 years agoUpdated Spanish translation.
Christian Perrier [Wed, 19 Dec 2007 18:58:25 +0000 (00:28 +0530)]
Updated Spanish translation.

po/de.po: Updated to 930t

16 years agoUpdated Swedish translation.
Peter Karlsson [Wed, 19 Dec 2007 10:56:40 +0000 (11:56 +0100)]
Updated Swedish translation.

Updated templates and merged for main dpkg and scripts translations.
Updated Swedish main translation to 930t.
Updated Swedish manual page translation to 1383t.
Updated Swedish scripts translation to 482t.
Updated change log files where appropriate.

16 years agoComplete German translation of deb-version.5 and add further translated strings
Helge Kreutzmann [Mon, 17 Dec 2007 21:19:03 +0000 (22:19 +0100)]
Complete German translation of deb-version.5 and add further translated strings

16 years agoComplete German scripts translation for dpkg-genchanges.pl, dpkg-gencontrol.pl,
Helge Kreutzmann [Mon, 17 Dec 2007 20:55:25 +0000 (21:55 +0100)]
Complete German scripts translation for dpkg-genchanges.pl, dpkg-gencontrol.pl,
and dpkg-shlibdeps.pl and work on others

16 years agodpkg-shlibdeps: use the Build-Depends-Package information from symbols files
Raphael Hertzog [Sun, 9 Dec 2007 14:42:40 +0000 (15:42 +0100)]
dpkg-shlibdeps: use the Build-Depends-Package information from symbols files

Use this new field to identify the version requirement possibly encoded in
the Build-Depends field and make sure that the generated dependency is at
least as strict as this one. Updated dpkg-shlibdeps's manual page.

16 years agoDpkg::Shlibs::SymbolFile supports meta-information fields
Raphael Hertzog [Sun, 9 Dec 2007 10:14:47 +0000 (11:14 +0100)]
Dpkg::Shlibs::SymbolFile supports meta-information fields

Meta-information fields are stored in symbols files on lines
starting with an asterisk. Added a corresponding non-regression
test. Updated deb-symbols(5) accordingly.

16 years agoAdd non-regression tests for Dpkg::Path
Raphael Hertzog [Thu, 13 Dec 2007 18:22:38 +0000 (19:22 +0100)]
Add non-regression tests for Dpkg::Path

16 years agoupdated Japanese program translation
Kenshi Muto [Wed, 12 Dec 2007 23:53:34 +0000 (08:53 +0900)]
updated Japanese program translation

16 years agodpkg-genchanges: Fix typo (syserror() -> syserr())
Guillem Jover [Wed, 12 Dec 2007 07:41:00 +0000 (09:41 +0200)]
dpkg-genchanges: Fix typo (syserror() -> syserr())

16 years agoUse || to fallback to a default value instead of using !defined()
Guillem Jover [Wed, 12 Dec 2007 07:37:04 +0000 (09:37 +0200)]
Use || to fallback to a default value instead of using !defined()

16 years agoUse ||= instead of checking if the variables are not defined
Guillem Jover [Wed, 12 Dec 2007 07:34:18 +0000 (09:34 +0200)]
Use ||= instead of checking if the variables are not defined

16 years agoDpkg::Deps: tweak the comparison algorithm to sort > lower than <
Raphael Hertzog [Tue, 11 Dec 2007 09:46:08 +0000 (10:46 +0100)]
Dpkg::Deps: tweak the comparison algorithm to sort > lower than <

* scripts/Dpkg/Deps.pm: Add a compare function that compares
dependencies more intelligently than a comparison on their
string representation. In particular we want >= and >> to sort
lower than << and <= so that intervals are nicely displayed
as "a (>= 1), a (<< 2)" instead of the ugly "a (<< 2), a (>= 1)".

16 years agoContinued German translation of manual pages and scripts:
Helge Kreutzmann [Mon, 10 Dec 2007 20:11:17 +0000 (21:11 +0100)]
Continued German translation of manual pages and scripts:

        * man/po/de.po: Updated to 1335t0f48u.
        * scripts/po/de.po: Updated to 221t0f259u.

16 years agoREADME.translators: Explain how to format Git commit messages.
Raphael Hertzog [Mon, 10 Dec 2007 18:06:06 +0000 (19:06 +0100)]
README.translators: Explain how to format Git commit messages.

16 years agoDpkg::Shlibs::SymbolFile::merge_symbols() bugfix with deprecated symbols
Raphael Hertzog [Mon, 10 Dec 2007 10:06:44 +0000 (11:06 +0100)]
Dpkg::Shlibs::SymbolFile::merge_symbols() bugfix with deprecated symbols

Do not update the deprecated version of a symbol if it is already marked
deprecated.

16 years ago2007-12-09 Helge Kreutzmann <debian@helgefjell.de>
Helge Kreutzmann [Sun, 9 Dec 2007 18:16:24 +0000 (19:16 +0100)]
2007-12-09  Helge Kreutzmann  <debian@helgefjell.de>

        * scripts/po/de.po: Updated to 206t0f274u.

16 years agoDpkg::Shlibs::SymbolFile: included files don't need to repeat the header line
Raphael Hertzog [Sun, 9 Dec 2007 16:21:10 +0000 (17:21 +0100)]
Dpkg::Shlibs::SymbolFile: included files don't need to repeat the header line

Adjust the parser to remember the current soname when processing an
included file so that it doesn't need to repeat (and duplicate!) a header
line. Update dpkg-gensymbols's manual page accordingly. And add a
non-regression test for this feature.

16 years agodpkg-shlibdeps.pl: doesn't warn any more about libm.so.6 being unused
Raphael Hertzog [Sat, 8 Dec 2007 20:50:28 +0000 (21:50 +0100)]
dpkg-shlibdeps.pl: doesn't warn any more about libm.so.6 being unused

If the binary is also linked against libstdc++, the warning is suppressed
since g++ always add an implicit -lm.

16 years agoDpkg::Shlibs::find_library() tries harder to return the canonical name
Raphael Hertzog [Sat, 8 Dec 2007 20:33:09 +0000 (21:33 +0100)]
Dpkg::Shlibs::find_library() tries harder to return the canonical name

When it finds a library in a directory which is just a symlink to another
directory that is also considered, remember the other directory name as
the canonical one. And uses the new canonpath() to also simplify path
names containing "/../".

16 years agoFrench translation update for scripts
Frédéric Bothamy [Wed, 5 Dec 2007 22:27:41 +0000 (23:27 +0100)]
French translation update for scripts

16 years agoBump Standards-Version to 3.7.3 (no changes)
Frank Lichtenheld [Wed, 5 Dec 2007 14:25:29 +0000 (15:25 +0100)]
Bump Standards-Version to 3.7.3 (no changes)

16 years agodpkg-genchanges: Fix handling of 'all' in Architecture field
Frank Lichtenheld [Wed, 5 Dec 2007 00:14:21 +0000 (01:14 +0100)]
dpkg-genchanges: Fix handling of 'all' in Architecture field

Exclude it for -B, exclude all other arches for -A

16 years agodpkg-genchanges/dpkg-buildpackages: Add new -A option
Frank Lichtenheld [Sat, 29 Sep 2007 18:28:47 +0000 (20:28 +0200)]
dpkg-genchanges/dpkg-buildpackages: Add new -A option

Logical opposite of -B, will only build arch-indep
packages (dpkg-buildpackage), only include arch-indep
packages in the .changes file (dpkg-genchanges).

16 years agodpkg-genchanges: Allow different archs and types in debian/files
Frank Lichtenheld [Tue, 4 Dec 2007 23:37:02 +0000 (00:37 +0100)]
dpkg-genchanges: Allow different archs and types in debian/files

Support more than one arch and more than one type of a package
in debian/files. Parts of the patch by Goswin von Brederlow
and Bastian Blank.

16 years agodpkg-deb/info.c: Fix a compiler warning
Frank Lichtenheld [Tue, 4 Dec 2007 22:44:09 +0000 (23:44 +0100)]
dpkg-deb/info.c: Fix a compiler warning

Replace a %ld with %lu to fix compiler warning.

16 years agodpkg-genchanges: Handle source files not compressed with gzip correctly
Frank Lichtenheld [Tue, 4 Dec 2007 21:57:02 +0000 (22:57 +0100)]
dpkg-genchanges: Handle source files not compressed with gzip correctly

Use comp_regex from Dpkg to correctly exlucde the .orig.tar even if it
is not compressed with gzip.

16 years agoDpkg: Include information about supported compression formats
Frank Lichtenheld [Tue, 4 Dec 2007 21:49:42 +0000 (22:49 +0100)]
Dpkg: Include information about supported compression formats

Currently this is only used by dpkg-source, but other scripts
like dpkg-genchanges will need to use this information, too.

16 years agodpkg-genchanges: Misc. Clean-up
Frank Lichtenheld [Tue, 4 Dec 2007 21:21:36 +0000 (22:21 +0100)]
dpkg-genchanges: Misc. Clean-up

A bit of whitespace, use English, misc. other stuff

16 years agoDpkg::ErrorHandling::usageerr: Support format strings
Frank Lichtenheld [Tue, 4 Dec 2007 19:43:29 +0000 (20:43 +0100)]
Dpkg::ErrorHandling::usageerr: Support format strings

When changing all error reporting function to support
format strings, usageerr was apparently forgotten.

16 years agoscripts/Makefile.am: Add some missing test cases to EXTRA_DIST
Frank Lichtenheld [Tue, 4 Dec 2007 01:27:12 +0000 (02:27 +0100)]
scripts/Makefile.am: Add some missing test cases to EXTRA_DIST

16 years agoDon't use symlinks in usr/share/doc
Frank Lichtenheld [Mon, 3 Dec 2007 23:30:07 +0000 (00:30 +0100)]
Don't use symlinks in usr/share/doc

Copy the usr/share/doc directory to dpkg-dev and dselect (Instead
of using symlinks). The space requirements are minimal and adding
the needed dependencies to comply with policy would be way more
inconvenient.

16 years agoAdd deb-version.5 to po4a.cfg
Frank Lichtenheld [Tue, 4 Dec 2007 00:31:10 +0000 (01:31 +0100)]
Add deb-version.5 to po4a.cfg

Also update dpkg-man.pot and related .po files.

16 years agodeb-version.5: Unify GPL reference with other manpages
Frank Lichtenheld [Tue, 4 Dec 2007 00:23:34 +0000 (01:23 +0100)]
deb-version.5: Unify GPL reference with other manpages

16 years agoAcutally install deb-version.5 manpage
Frank Lichtenheld [Mon, 3 Dec 2007 23:45:37 +0000 (00:45 +0100)]
Acutally install deb-version.5 manpage

Add to man/Makefile.am and debian/dpkg-dev.install

16 years agopo/sv.po: Fix a typo ')' vs '>' which lead to build errors
Frank Lichtenheld [Mon, 3 Dec 2007 23:44:56 +0000 (00:44 +0100)]
po/sv.po: Fix a typo ')' vs '>' which lead to build errors

17 years agoUpdated Swedish translation.
Peter Karlsson [Fri, 30 Nov 2007 19:30:30 +0000 (20:30 +0100)]
Updated Swedish translation.

Updated man page translation to 1354t.
Updated scripts translation to 480t.

17 years agoparsecdata: Fix parsing of fields starting with a colon
Frank Lichtenheld [Thu, 29 Nov 2007 22:23:53 +0000 (23:23 +0100)]
parsecdata: Fix parsing of fields starting with a colon

Fix regex to determine the field name correctly if the field's value
starts with a colon.

17 years agodeb-version.5: Add an own manpage for Dpkg's version format
Frank Lichtenheld [Sat, 6 Oct 2007 15:43:45 +0000 (17:43 +0200)]
deb-version.5: Add an own manpage for Dpkg's version format

Mostly stolen from policy, which is probably as good as it
gets... Only reformatted the text to roff and added the
tilde patch from #382612

17 years agoBump version to 1.14.13~
Guillem Jover [Thu, 29 Nov 2007 05:08:57 +0000 (07:08 +0200)]
Bump version to 1.14.13~

17 years agoRelease 1.14.12
Guillem Jover [Thu, 29 Nov 2007 04:22:50 +0000 (06:22 +0200)]
Release 1.14.12

17 years agoRegenerate .pot files and merge .po files with them
Guillem Jover [Thu, 29 Nov 2007 04:13:32 +0000 (06:13 +0200)]
Regenerate .pot files and merge .po files with them

17 years agodpkg-scanpackages: Use Dpkg::Versions instead of dpkg --compare-versions
Guillem Jover [Thu, 29 Nov 2007 03:16:27 +0000 (05:16 +0200)]
dpkg-scanpackages: Use Dpkg::Versions instead of dpkg --compare-versions

17 years agodpkg-scanpackages: Use the Dpkg::ErrorHandling instead of die and sprintf
Guillem Jover [Thu, 29 Nov 2007 03:05:21 +0000 (05:05 +0200)]
dpkg-scanpackages: Use the Dpkg::ErrorHandling instead of die and sprintf

17 years agodpkg-gencontrol: Unify parsing of Section and Priority fields with Homepage
Guillem Jover [Thu, 29 Nov 2007 02:45:34 +0000 (04:45 +0200)]
dpkg-gencontrol: Unify parsing of Section and Priority fields with Homepage

17 years agodpkg-gencontrol (spfileslistvalue): Add prototype, move to the top of the file
Guillem Jover [Thu, 29 Nov 2007 02:26:51 +0000 (04:26 +0200)]
dpkg-gencontrol (spfileslistvalue): Add prototype, move to the top of the file

17 years agoMove extern declarations to header files and stop defining them as extern
Guillem Jover [Thu, 29 Nov 2007 03:52:24 +0000 (05:52 +0200)]
Move extern declarations to header files and stop defining them as extern

17 years agoDefine several private functions and variables as static
Guillem Jover [Thu, 29 Nov 2007 02:17:58 +0000 (04:17 +0200)]
Define several private functions and variables as static

17 years agodpkg-gensymbols: override the check level with an environment variable
Raphael Hertzog [Wed, 28 Nov 2007 14:44:32 +0000 (15:44 +0100)]
dpkg-gensymbols: override the check level with an environment variable

* scripts/dpkg-gensymbols.pl: The environment variable
DPKG_GENSYMBOLS_CHECK_LEVEL can override the level of checks made by
dpkg-gensymbols. This offers the possibility to unofficial ports to ignore
errors due to symbols files that do not correspond.

17 years agodpkg-shlibdeps(1): expand manual page with explanations concerning failures
Raphael Hertzog [Wed, 28 Nov 2007 13:58:55 +0000 (14:58 +0100)]
dpkg-shlibdeps(1): expand manual page with explanations concerning failures

* scripts/dpkg-shlibdeps.pl: Harmonize a failure message.
* man/dpkg-shlibdeps.1: Provide explanations concerning the two
failures that dpkg-shlibdeps might generate. This is needed so
that maintainers have an idea of what to do to fix the problems.

17 years agodpkg-shlibdeps: do not fail if it can't find unversioned libraries
Raphael Hertzog [Sun, 25 Nov 2007 15:54:20 +0000 (15:54 +0000)]
dpkg-shlibdeps: do not fail if it can't find unversioned libraries

Skip the check on symbols when some libs were not found because one
can not be sure that the symbols was not provided by the missing
library. Also improve the corresponding error message which is
downgraded to a warning for unversioned libraries.

17 years agodpkg-shlibdeps: Always try the realpath of the lib as fallback to identify the associ...
Raphael Hertzog [Wed, 28 Nov 2007 09:33:53 +0000 (10:33 +0100)]
dpkg-shlibdeps: Always try the realpath of the lib as fallback to identify the associated package

* scripts/dpkg-shlibdeps.pl (find_packages): Make sure to always
  return [''] for a miss in the 'dpkg -S' query.
* scripts/dpkg-shlibdeps.pl: Always try the realpath($lib) as
  fallback to identify the package (even if it's not a symlink)
  because due to broken RPATH we might get library filenames such as
  "/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libssl.so.9.8"
  which is not a symlink and which can still be simplified to
  "/usr/lib/libssl.so.9.8" with realpath().

17 years agoFix style of code in dpkg-gensymbols/dpkg-shlibdeps. Also fix changelogs.
Raphael Hertzog [Sun, 25 Nov 2007 17:39:37 +0000 (17:39 +0000)]
Fix style of code in dpkg-gensymbols/dpkg-shlibdeps. Also fix changelogs.

17 years agoDpkg::Shlibs::find_library() now returns canonicalized paths
Raphael Hertzog [Sun, 25 Nov 2007 17:06:30 +0000 (17:06 +0000)]
Dpkg::Shlibs::find_library() now returns canonicalized paths

17 years agodpkg-gensymbols: Add new -I<file> option to force usage of a particular symbols file
Raphael Hertzog [Sat, 24 Nov 2007 21:18:08 +0000 (22:18 +0100)]
dpkg-gensymbols: Add new -I<file> option to force usage of a particular symbols file

17 years agoBump version to 1.14.12~
Guillem Jover [Sat, 24 Nov 2007 05:38:57 +0000 (07:38 +0200)]
Bump version to 1.14.12~

17 years agoRelease 1.14.11
Guillem Jover [Sat, 24 Nov 2007 05:20:27 +0000 (07:20 +0200)]
Release 1.14.11

17 years agoFix distclean by only running a chmod if the target dir exists
Guillem Jover [Sat, 24 Nov 2007 05:18:30 +0000 (07:18 +0200)]
Fix distclean by only running a chmod if the target dir exists

17 years agoChangeLog police night shift
Guillem Jover [Sat, 24 Nov 2007 05:01:45 +0000 (07:01 +0200)]
ChangeLog police night shift

17 years agoDeclare more variables in perl scripts with 'my' instead of 'our'
Guillem Jover [Sat, 24 Nov 2007 03:48:50 +0000 (05:48 +0200)]
Declare more variables in perl scripts with 'my' instead of 'our'

17 years agoDpkg::Arch: Do not shadow $gcc_host_gnu_type inside get_raw_host_arch
Guillem Jover [Sat, 24 Nov 2007 03:42:12 +0000 (05:42 +0200)]
Dpkg::Arch: Do not shadow $gcc_host_gnu_type inside get_raw_host_arch

17 years agodpkg-scanpackages: Properly support an optional override file
Guillem Jover [Sat, 24 Nov 2007 03:32:56 +0000 (05:32 +0200)]
dpkg-scanpackages: Properly support an optional override file

17 years agodpkg-scanpackages: Do not require controllib.pl anymore
Guillem Jover [Sat, 24 Nov 2007 03:23:32 +0000 (05:23 +0200)]
dpkg-scanpackages: Do not require controllib.pl anymore

17 years agoSet proper authorship in ChangeLog
Guillem Jover [Sat, 24 Nov 2007 03:20:29 +0000 (05:20 +0200)]
Set proper authorship in ChangeLog

The author for commit 0d3c61deb475b1fd731bfea5d8d47a4574db8c7b is still
wrong...

17 years agodpkg-shlibdeps: optimize "dpkg -S" lookups by caching results
Raphael Hertzog [Fri, 23 Nov 2007 21:41:29 +0000 (22:41 +0100)]
dpkg-shlibdeps: optimize "dpkg -S" lookups by caching results

17 years agodpkg-shlibdeps: report the full path of the library in the failure for missing depend...
Raphael Hertzog [Fri, 23 Nov 2007 15:18:08 +0000 (16:18 +0100)]
dpkg-shlibdeps: report the full path of the library in the failure for missing dependency info

17 years agodpkg-shlibdeps: limit the number of warnings displayed
Raphael Hertzog [Fri, 23 Nov 2007 14:59:17 +0000 (15:59 +0100)]
dpkg-shlibdeps: limit the number of warnings displayed

limit the number of warnings displayed about symbols not found in
libraries to 10 per binary.

17 years agodpkg-shlibdeps: add some cases where the lack of dependency information is ignored
Raphael Hertzog [Fri, 23 Nov 2007 09:46:37 +0000 (10:46 +0100)]
dpkg-shlibdeps: add some cases where the lack of dependency information is ignored

Look for libs in the package's build tree even if that package doesn't
contain an shlibs file. Then don't complain about missing dependency
information if the lib is in the same package than the binary. Also ignore
it if the library is not versionned and can't have an shlibs file.

17 years agoBump version to 1.14.11~
Guillem Jover [Fri, 23 Nov 2007 04:51:21 +0000 (06:51 +0200)]
Bump version to 1.14.11~

17 years agoRelease 1.14.10
Guillem Jover [Fri, 23 Nov 2007 04:32:55 +0000 (06:32 +0200)]
Release 1.14.10

17 years agoDpkg::Arch: Make get_host_arch and get_build_arch read from the environment
Guillem Jover [Fri, 23 Nov 2007 02:42:25 +0000 (04:42 +0200)]
Dpkg::Arch: Make get_host_arch and get_build_arch read from the environment

All scripts calling get_host_arch are expected to support getting the
value overriden by the environment when cross building. Except for
dpkg-architecture, which needs more fine grained control, and calls
directly the get_raw_ functions.

17 years agodpkg-architecture: use a hash instead of independent variables
Guillem Jover [Fri, 23 Nov 2007 02:40:01 +0000 (04:40 +0200)]
dpkg-architecture: use a hash instead of independent variables

Reduce the code by using a hash to store the build and host architecture
values, and the values of @ordered as keys.

17 years agodpkg-gensymbols: Remove duplicated declaration of @librarypaths
Guillem Jover [Fri, 23 Nov 2007 02:39:05 +0000 (04:39 +0200)]
dpkg-gensymbols: Remove duplicated declaration of @librarypaths

17 years agoDpkg::Fields: Declare private variable with 'my' instead of 'our'
Guillem Jover [Fri, 23 Nov 2007 02:38:06 +0000 (04:38 +0200)]
Dpkg::Fields: Declare private variable with 'my' instead of 'our'

17 years agodpkg-name: Add support for Package-Type
Guillem Jover [Thu, 22 Nov 2007 02:12:16 +0000 (04:12 +0200)]
dpkg-name: Add support for Package-Type

17 years agodpkg-source: fix regex used to identify extension of .orig tarball
Raphael Hertzog [Thu, 22 Nov 2007 17:35:34 +0000 (18:35 +0100)]
dpkg-source: fix regex used to identify extension of .orig tarball

Regex special meta-characters (mainly like "+" in versions) embedded in $basename
made the regex fail which resulted in unwanted upgrade of source packages to
Format: 2.0.

17 years agoDpkg::Shlibs: Always consider all paths from LD_LIBRARY_PATH
Raphael Hertzog [Thu, 22 Nov 2007 11:22:14 +0000 (12:22 +0100)]
Dpkg::Shlibs: Always consider all paths from LD_LIBRARY_PATH

Paths listed in LD_LIBRARY_PATH were not added at the beginning of the search
path if they were part of the default search paths. Remove this restriction
so that it's possible to change the search order in default paths by using
this variable.