]> err.no Git - dpkg/log
dpkg
16 years agoman: Sort package states
Guillem Jover [Sun, 6 Apr 2008 17:48:26 +0000 (20:48 +0300)]
man: Sort package states

16 years agoContinue update of German man page translation
Helge Kreutzmann [Mon, 7 Apr 2008 20:38:59 +0000 (22:38 +0200)]
Continue update of German man page translation

16 years agoAdd bug closure for #474417
Raphael Hertzog [Sat, 5 Apr 2008 21:08:53 +0000 (23:08 +0200)]
Add bug closure for #474417

16 years agodpkg-source: don't use diff -p for Format: 1.0
Raphael Hertzog [Sat, 5 Apr 2008 18:06:40 +0000 (20:06 +0200)]
dpkg-source: don't use diff -p for Format: 1.0

* scripts/Dpkg/Source/Package/V1_0.pm: Do not use
diff -p to generate patches as dpkg-source of sarge doesn't accept
data after the @@.

16 years agodpkg-shlibdeps: initialize dependencies differently
Raphael Hertzog [Thu, 3 Apr 2008 22:19:38 +0000 (00:19 +0200)]
dpkg-shlibdeps: initialize dependencies differently

* scripts/Dpkg/Shlibs/SymbolFile.pm (get_smallest_version): New
function to retrieve the smallest "minver" of all symbols of a
given library.
* scripts/dpkg-shlibdeps.pl: Do not initialize dependencies of
libraries with symbols files as unversioned, instead use the
smallest minimal version returned by the function above. This
is required because the library might not have always been
available in the package and the unversioned dependency thus
doesn't ensure his presence.

* scripts/t/800_Dpkg_IPC.t: Remove temporary files used by the
tests.

16 years agoUpdate the remaining fuzzy German script translations (and continue)
Helge Kreutzmann [Thu, 3 Apr 2008 20:36:59 +0000 (22:36 +0200)]
Update the remaining fuzzy German script translations (and continue)

16 years agoVietnamese translation completed
Christian Perrier [Thu, 3 Apr 2008 18:02:38 +0000 (20:02 +0200)]
Vietnamese translation completed

16 years agoFixed e-mail address.
Peter Karlsson [Thu, 3 Apr 2008 12:36:28 +0000 (13:36 +0100)]
Fixed e-mail address.

Kbabel likes destroying the annotation. Didn't manage to correct everything
before last commit :-(

16 years agoUpdated Swedish translation.
Peter Karlsson [Thu, 3 Apr 2008 12:32:41 +0000 (13:32 +0100)]
Updated Swedish translation.

Also fixed English text of dpkg-source.1.

16 years agoUpdated Portuguese translation
Miguel Figueiredo [Wed, 2 Apr 2008 20:43:54 +0000 (21:43 +0100)]
Updated Portuguese translation

16 years agoFix two typos
Sven Joachim [Wed, 2 Apr 2008 18:43:27 +0000 (20:43 +0200)]
Fix two typos

Fix typos in lib/triglib.c and dselect/helpmsgs.cc.
Update all translations accordingly.

16 years agoUpdate version and year in dselect/po/de.po
Sven Joachim [Wed, 2 Apr 2008 07:45:51 +0000 (09:45 +0200)]
Update version and year in dselect/po/de.po

16 years agoEnsure the Files field is last in *.dsc and *.changes
Raphael Hertzog [Wed, 2 Apr 2008 06:51:03 +0000 (08:51 +0200)]
Ensure the Files field is last in *.dsc and *.changes

* scripts/Dpkg/Source/Package.pm, scripts/dpkg-genchanges.pl:
Explicitely put Checksums-* fields before the Files field so that
the Files field is last. This is a work-around for some braindead
dsc parsers (dupload and sbuild for instance, see #473518 and

16 years ago933t translated
Miguel Figueiredo [Tue, 1 Apr 2008 21:09:04 +0000 (22:09 +0100)]
933t translated

16 years agoVietnamese translation update
Christian Perrier [Tue, 1 Apr 2008 20:02:56 +0000 (22:02 +0200)]
Vietnamese translation update

16 years agoStart work on updating German man pages, work on fuzzy strings first
Helge Kreutzmann [Tue, 1 Apr 2008 20:03:07 +0000 (22:03 +0200)]
Start work on updating German man pages, work on fuzzy strings first

16 years agoupdatet to 916t
Miguel Figueiredo [Tue, 1 Apr 2008 18:51:12 +0000 (19:51 +0100)]
updatet to 916t

16 years agoUpdate German scripts translations (mainly correct almost all fuzzy strings)
Helge Kreutzmann [Tue, 1 Apr 2008 18:39:18 +0000 (20:39 +0200)]
Update German scripts translations (mainly correct almost all fuzzy strings)

16 years agodpkg-source: add option --skip-patches
Raphael Hertzog [Tue, 1 Apr 2008 16:20:41 +0000 (18:20 +0200)]
dpkg-source: add option --skip-patches

* scripts/Dpkg/Source/Package/V2_0.pm: Add the option
--skip-patches to not apply patches at the end of the source
package extraction. Also works for Format: 3.0 (quilt).
* man/dpkg-source.1: Document the above change.

16 years agoApply patches before building source packages when needed
Raphael Hertzog [Sun, 30 Mar 2008 16:03:38 +0000 (18:03 +0200)]
Apply patches before building source packages when needed

* scripts/Dpkg/Source/Package/V2_0.pm (do_extract): Create
debian/patches/.dpkg-source-applied containing the list of patches
applied during extraction.
(prepare_build): apply patches before trying to build a source package
when it's clear that they have not been applied because
debian/patches/.dpkg-source-applied doesn't exist.
* scripts/Dpkg/Source/Package/V3_0/quilt.pm: Likewise. If a .pc directory
is present, then use "quilt unapplied" to check if all patches have been
applied.
* man/dpkg-source.1: Document the above changes.

16 years agoDpkg::IPC: Support redirection of STDERR in fork_and_exec()
Raphael Hertzog [Tue, 1 Apr 2008 15:33:08 +0000 (17:33 +0200)]
Dpkg::IPC: Support redirection of STDERR in fork_and_exec()

* scripts/Dpkg/IPC.pm (fork_and_exec): Handle redirection
of STDERR with new options error_to_{file,pipe,string,handle}.

16 years ago* man/dpkg-source.1: Say clearly that the format 2.0 is replaced by 3.0 (quilt)
Raphael Hertzog [Sun, 30 Mar 2008 17:03:29 +0000 (19:03 +0200)]
* man/dpkg-source.1: Say clearly that the format 2.0 is replaced by 3.0 (quilt)

16 years agopo: Regenerate .pot file and merge .po files with it
Guillem Jover [Tue, 1 Apr 2008 04:32:11 +0000 (07:32 +0300)]
po: Regenerate .pot file and merge .po files with it

16 years agopo/POTFILES.in: Rename 'lib/trigdeferred.c' to 'lib/trigdeferred.l'
Guillem Jover [Tue, 1 Apr 2008 04:30:15 +0000 (07:30 +0300)]
po/POTFILES.in: Rename 'lib/trigdeferred.c' to 'lib/trigdeferred.l'

The latter is the actual source. Fixes a build failure when updating
the pot file and top_srcdir != top_builddir.

16 years agolibdpkg: Use TRIGGERSLOCKFILE instead of literal string
Guillem Jover [Tue, 1 Apr 2008 00:23:58 +0000 (03:23 +0300)]
libdpkg: Use TRIGGERSLOCKFILE instead of literal string

16 years agoFix typos (processesing -> processing)
Guillem Jover [Tue, 1 Apr 2008 00:10:45 +0000 (03:10 +0300)]
Fix typos (processesing -> processing)

Spotted by Sven Joachim <svenjoac@gmx.de>.

16 years agoSimplified Chinese translation update
Christian Perrier [Mon, 31 Mar 2008 18:03:12 +0000 (20:03 +0200)]
Simplified Chinese translation update

16 years agoUpdated German dselect translation
Sven Joachim [Mon, 31 Mar 2008 14:57:12 +0000 (16:57 +0200)]
Updated German dselect translation

16 years agoAdd triggers documentation to dpkg-dev
Guillem Jover [Mon, 31 Mar 2008 04:55:16 +0000 (07:55 +0300)]
Add triggers documentation to dpkg-dev

Closes: #473449
16 years agoBump po4a version in Build-Depends to 0.33.1-1
Guillem Jover [Mon, 31 Mar 2008 04:48:34 +0000 (07:48 +0300)]
Bump po4a version in Build-Depends to 0.33.1-1

As usage of UTF-8 in original man pages was causing build failures.
Closes: #473498
16 years agoAdd dpkg-trigger to .gitignore
Guillem Jover [Mon, 31 Mar 2008 04:38:03 +0000 (07:38 +0300)]
Add dpkg-trigger to .gitignore

16 years agoBump version to 1.14.18~
Guillem Jover [Sun, 30 Mar 2008 10:04:59 +0000 (13:04 +0300)]
Bump version to 1.14.18~

16 years agoRelease 1.14.17
Guillem Jover [Sun, 30 Mar 2008 09:56:09 +0000 (12:56 +0300)]
Release 1.14.17

16 years agoChangeLog police!
Guillem Jover [Sun, 30 Mar 2008 08:48:54 +0000 (11:48 +0300)]
ChangeLog police!

16 years agodselect: Use ncursesw header files
Guillem Jover [Sun, 30 Mar 2008 08:07:58 +0000 (11:07 +0300)]
dselect: Use ncursesw header files

This should be changed in the future to check for the presence of the
header files in configure.

16 years agoRegenerate .pot files and merge .po files with them
Guillem Jover [Sun, 30 Mar 2008 07:23:18 +0000 (10:23 +0300)]
Regenerate .pot files and merge .po files with them

16 years agoFix distcheck
Guillem Jover [Sun, 30 Mar 2008 06:51:27 +0000 (09:51 +0300)]
Fix distcheck

Add missing files in POTFILES.in and EXTRA_DIST in Makefile.am.

16 years agoImplement triggers support
Ian Jackson [Sun, 30 Mar 2008 06:47:15 +0000 (09:47 +0300)]
Implement triggers support

Closes: #17243, #68981, #215374, #217622, #248693, #308285
16 years agoRefactor returning code in deppossi_ok_found
Ian Jackson [Fri, 28 Mar 2008 16:19:25 +0000 (18:19 +0200)]
Refactor returning code in deppossi_ok_found

16 years agoImprove depisok error message when the package involved is installed
Ian Jackson [Fri, 28 Mar 2008 15:11:01 +0000 (17:11 +0200)]
Improve depisok error message when the package involved is installed

16 years agoCleanup on maintainer script failures
Ian Jackson [Fri, 28 Mar 2008 14:52:56 +0000 (16:52 +0200)]
Cleanup on maintainer script failures

16 years agoRefactor postinst maintainer script handling
Guillem Jover [Fri, 28 Mar 2008 14:33:13 +0000 (16:33 +0200)]
Refactor postinst maintainer script handling

Based on a patch by Ian Jackson <ian@davenant.greenend.org.uk>.

16 years agoRefactor post postinst script tasks into a new function
Guillem Jover [Fri, 28 Mar 2008 07:23:55 +0000 (09:23 +0200)]
Refactor post postinst script tasks into a new function

Based on a patch by Ian Jackson <ian@davenant.greenend.org.uk>.

16 years agoFix typos
Guillem Jover [Fri, 28 Mar 2008 06:51:40 +0000 (08:51 +0200)]
Fix typos

Close the proper bug report.
Fix a typo in a comment.

16 years agoImprove Breaks status message
Ian Jackson [Fri, 28 Mar 2008 06:47:54 +0000 (08:47 +0200)]
Improve Breaks status message

Mention that it can be in that status also due to a broken installation.

16 years agoEase cross-compilation by giving a default value to PKG_CONFIG_LIBDIR
Raphael Hertzog [Fri, 28 Mar 2008 13:29:36 +0000 (14:29 +0100)]
Ease cross-compilation by giving a default value to PKG_CONFIG_LIBDIR

* scripts/dpkg-buildpackage.pl: If the user request a cross-compilation,
then define PKG_CONFIG_LIBDIR so that it will look in directories
specidic to the target architecture.
* man/dpkg-buildpackage.1: Document this change and also the -t option.

16 years agodpkg-buildpackage: change default value of LDFLAGS
Raphael Hertzog [Fri, 28 Mar 2008 16:59:41 +0000 (17:59 +0100)]
dpkg-buildpackage: change default value of LDFLAGS

* scripts/dpkg-buildpackage.pl: LDFLAGS now defaults to an empty
value instead of "-Wl,-Bsymbolic-functions". The latter can break
some libraries at run-time and such a change is best done
at the beginning of a release cycle.

16 years ago* man/dpkg-source.1: Move paragraph about --include-binaries.
Raphael Hertzog [Fri, 28 Mar 2008 10:28:05 +0000 (11:28 +0100)]
* man/dpkg-source.1: Move paragraph about --include-binaries.

16 years agodpkg-shlibdeps: add cross-compilation support
Raphael Hertzog [Thu, 27 Mar 2008 21:46:34 +0000 (22:46 +0100)]
dpkg-shlibdeps: add cross-compilation support

* scripts/Dpkg/Shlibs.pm: Support cross-compilation by adding
directories containing libraries for the architecture that is
being crossbuilt.

16 years agoCredit people for their work and update copyright file.
Raphael Hertzog [Thu, 27 Mar 2008 21:26:54 +0000 (22:26 +0100)]
Credit people for their work and update copyright file.

16 years agoAdd changelog entries for changes merged through the sourcev3 branch
Raphael Hertzog [Thu, 27 Mar 2008 20:20:07 +0000 (21:20 +0100)]
Add changelog entries for changes merged through the sourcev3 branch

16 years agoMerge branch 'sourcev3'
Raphael Hertzog [Thu, 27 Mar 2008 19:32:29 +0000 (20:32 +0100)]
Merge branch 'sourcev3'

16 years agodpkg-shlibdeps: new warning about useless libraries, new --warnings option
Raphael Hertzog [Tue, 25 Mar 2008 10:33:06 +0000 (11:33 +0100)]
dpkg-shlibdeps: new warning about useless libraries, new --warnings option

* scripts/dpkg-shlibdeps.pl: Let the user configure the set of
warnings that he wants. Add a new warning for useless libraries
on all binaries analyzed. Disable by default the warning that
does the same but individually, for each binary analyzed.
* man/dpkg-shlibdeps.1: Update manual page accordingly.

16 years agolibdpkg: Add new modstatdb_note_ifwrite function
Ian Jackson [Tue, 25 Mar 2008 05:37:26 +0000 (07:37 +0200)]
libdpkg: Add new modstatdb_note_ifwrite function

16 years agoImprove log and status-fd output
Ian Jackson [Tue, 25 Mar 2008 05:06:59 +0000 (07:06 +0200)]
Improve log and status-fd output

Add calls to log_message and hook statusfd_send into log_action.

16 years agoRefactor status-fd duplicate output code into a new function
Guillem Jover [Tue, 25 Mar 2008 05:02:56 +0000 (07:02 +0200)]
Refactor status-fd duplicate output code into a new function

Based on a patch by Ian Jackson <ian@davenant.greenend.org.uk>.

16 years agolibdpkg: Move log_message to lib/log.c
Guillem Jover [Tue, 25 Mar 2008 04:33:08 +0000 (06:33 +0200)]
libdpkg: Move log_message to lib/log.c

16 years agoRefactor package queue handling into generic queue functions
Guillem Jover [Tue, 25 Mar 2008 04:06:49 +0000 (06:06 +0200)]
Refactor package queue handling into generic queue functions

Based on a patch by Ian Jackson <ian@davenant.greenend.org.uk>.

16 years agoMove duplicate ensure_package_clientdata functions to src/filesdb.c
Guillem Jover [Tue, 25 Mar 2008 03:05:51 +0000 (05:05 +0200)]
Move duplicate ensure_package_clientdata functions to src/filesdb.c

16 years agolibdpkg: Remove unused argument from unlockdatabase
Guillem Jover [Tue, 25 Mar 2008 02:45:54 +0000 (04:45 +0200)]
libdpkg: Remove unused argument from unlockdatabase

16 years agolibdpkg: Refactor the database locking into a general file locking
Guillem Jover [Tue, 25 Mar 2008 02:37:45 +0000 (04:37 +0200)]
libdpkg: Refactor the database locking into a general file locking

Make the lockdatabase functions use the lock_files ones instead.

Based on a patch by Ian Jackson <ian@davenant.greenend.org.uk>.

16 years agoReplace function pointer declarations with new error_printer type
Ian Jackson [Mon, 24 Mar 2008 18:03:00 +0000 (20:03 +0200)]
Replace function pointer declarations with new error_printer type

16 years agoAdd bug closure for applications missing obstack on Solaris
Guillem Jover [Sun, 23 Mar 2008 18:58:30 +0000 (20:58 +0200)]
Add bug closure for applications missing obstack on Solaris

Closes: #142042
16 years agolibcompat: Add strnlen
Guillem Jover [Sun, 23 Mar 2008 17:18:24 +0000 (19:18 +0200)]
libcompat: Add strnlen

16 years ago* scripts/t/200_Dpkg_Shlibs.t: Fix test suite to not barf on "objid" field.
Raphael Hertzog [Sat, 22 Mar 2008 09:05:12 +0000 (10:05 +0100)]
* scripts/t/200_Dpkg_Shlibs.t: Fix test suite to not barf on "objid" field.

16 years agoAdd support for nocheck DEB_BUILD_OPTIONS in debian/rules
Guillem Jover [Sat, 22 Mar 2008 05:09:55 +0000 (07:09 +0200)]
Add support for nocheck DEB_BUILD_OPTIONS in debian/rules

So that the dpkg test suite can be skept if desired.

16 years agoMove test suite invokation to a new check target in debian/rules
Guillem Jover [Sat, 22 Mar 2008 05:07:26 +0000 (07:07 +0200)]
Move test suite invokation to a new check target in debian/rules

16 years agoSort entries in enum pkgstatus
Ian Jackson [Sat, 22 Mar 2008 04:07:44 +0000 (06:07 +0200)]
Sort entries in enum pkgstatus

Fix all users that rely on the enum sorting.

16 years agoRemove duplicate cu_parsedb function and use cu_closefd instead
Guillem Jover [Fri, 21 Mar 2008 19:57:11 +0000 (21:57 +0200)]
Remove duplicate cu_parsedb function and use cu_closefd instead

16 years agoFew file descriptor cleanup and error handling fixes
Ian Jackson [Fri, 21 Mar 2008 19:46:58 +0000 (21:46 +0200)]
Few file descriptor cleanup and error handling fixes

Closes: #443338
16 years agoMerge branch 'master' of ssh://git.debian.org/git/dpkg/dpkg
Christian Perrier [Thu, 20 Mar 2008 21:24:57 +0000 (22:24 +0100)]
Merge branch 'master' of ssh://git.debian.org/git/dpkg/dpkg

16 years agoDpkg::Source::Patch: change an error into a warning
Raphael Hertzog [Thu, 20 Mar 2008 14:16:51 +0000 (15:16 +0100)]
Dpkg::Source::Patch: change an error into a warning

* scripts/Dpkg/Source/Patch.pm (analyze): An empty patch
is still valid, instead of failing simply generate a warning.
21 packages in the archive have an empty .diff.gz and
they can't be extracted without this fix.

16 years agoCompleted Slovak
Christian Perrier [Thu, 20 Mar 2008 06:58:56 +0000 (07:58 +0100)]
Completed Slovak

16 years agodpkg-deb: Change return type for safe_fflush from int to void
Guillem Jover [Thu, 20 Mar 2008 05:13:19 +0000 (07:13 +0200)]
dpkg-deb: Change return type for safe_fflush from int to void

16 years agoAdd new cisspace function
Ian Jackson [Thu, 20 Mar 2008 05:12:05 +0000 (07:12 +0200)]
Add new cisspace function

16 years agoMove duplicate pkgadminfile functions to lib/dbmodify.c
Ian Jackson [Thu, 20 Mar 2008 05:04:22 +0000 (07:04 +0200)]
Move duplicate pkgadminfile functions to lib/dbmodify.c

16 years agoMove duplicate cleanup close functions to lib/cleanup.c
Guillem Jover [Thu, 20 Mar 2008 04:14:06 +0000 (06:14 +0200)]
Move duplicate cleanup close functions to lib/cleanup.c

16 years agoRename checkpoint function to modstatdb_checkpoint and make it global
Ian Jackson [Thu, 20 Mar 2008 03:17:01 +0000 (05:17 +0200)]
Rename checkpoint function to modstatdb_checkpoint and make it global

16 years agoFix crash when a .deb file becomes unreadable while dpkg is starting
Ian Jackson [Thu, 20 Mar 2008 02:26:26 +0000 (04:26 +0200)]
Fix crash when a .deb file becomes unreadable while dpkg is starting

Closes: #386210
16 years agodpkg-source: keep the old output for tools that parse the directory
Raphael Hertzog [Wed, 19 Mar 2008 21:38:09 +0000 (22:38 +0100)]
dpkg-source: keep the old output for tools that parse the directory

* scripts/dpkg-source.pl: Old version of lintian and sbuild do parse the
output of dpkg-source to find the name of the unpacked directory. Thus
keep the old output for this precise string until the tools get fixed.

16 years agoUpdated Slovak translation
Christian Perrier [Wed, 19 Mar 2008 06:34:12 +0000 (07:34 +0100)]
Updated Slovak translation

16 years agoContinue German scripts translation and fix minor errors noticed
Helge Kreutzmann [Tue, 18 Mar 2008 20:18:43 +0000 (21:18 +0100)]
Continue German scripts translation and fix minor errors noticed

16 years ago* scripts/Dpkg/Source/Package/V3_0/native.pm: Import missing function and bugfix.
Raphael Hertzog [Tue, 18 Mar 2008 16:56:50 +0000 (17:56 +0100)]
* scripts/Dpkg/Source/Package/V3_0/native.pm: Import missing function and bugfix.

16 years agoAvoid extracting files through symlinks
Raphael Hertzog [Tue, 18 Mar 2008 16:39:08 +0000 (17:39 +0100)]
Avoid extracting files through symlinks

* scripts/Dpkg/Source/Package/V2_0.pm (do_extract): Now
that the debian tarball is extracted in-place over the
unpacked source directory, it's important to not let tar
unpack files in symlinked directories (otherwise it would
be possible to write files outside of the unpacked
source tree).

16 years agoAllow inclusion of binary files outside of the debian subdirectory
Raphael Hertzog [Tue, 18 Mar 2008 10:55:11 +0000 (11:55 +0100)]
Allow inclusion of binary files outside of the debian subdirectory

* scripts/Dpkg/ErrorHandling.pm (errormsg): New function displaying
an error message to stderr without dying.
* scripts/Dpkg/Source/Patch.pm (add_diff_file): Add a hook in the
handling of modified binary files. Don't fail unconditionnaly when a
binary file is detected. Return a value indicating if the diff
call succeeded.
(add_diff_directory): Don't display some warnings (that apply only to
files whose changes can be represented in diff) for modified
binary files.
(_fail_with_msg, _fail_not_same_type): Use new errormsg() function.
* scripts/Dpkg/Source/Package/V2_0.pm (do_extract): Extract the debian
tarball "in-place" so that it can contain other files besides the debian
sub-directory.
(do_build): Handle modified binary files. They are added to the debian
tarball if --include-binaries is used, or if they are whitelisted in
debian/source/include-binaries. The usage of --include-binaries will
modify debian/source/include-binaries if needed.
* man/dpkg-source.1: Update manual page accordingly.

16 years agoAllow in-place extraction of a tar archive
Raphael Hertzog [Tue, 18 Mar 2008 10:33:49 +0000 (11:33 +0100)]
Allow in-place extraction of a tar archive

* scripts/Dpkg/Source/Archive.pm: New "in_place" option to
extract an archive in the target directory instead of replacing
the whole target directory. Replace the logic to fix permissions
by fixperms() which is a...
* scripts/Dpkg/Source/Functions.pm (fixperms): new function to
fix permissions on a given directory so that they match the rights
expected through the umask.

16 years agoAllow patches in wig&pen format to remove files
Raphael Hertzog [Tue, 18 Mar 2008 10:31:26 +0000 (11:31 +0100)]
Allow patches in wig&pen format to remove files

* scripts/Dpkg/Source/Package/V2_0.pm: Use -E option of patch
to apply patches so that empty files are removed.
* man/dpkg-source.1: Update manual page accordingly.

16 years agodpkg-shlibdeps: accounts usage of symbols of libraries without SONAME
Raphael Hertzog [Sun, 16 Mar 2008 22:27:59 +0000 (23:27 +0100)]
dpkg-shlibdeps: accounts usage of symbols of libraries without SONAME

* scripts/Dpkg/Shlibs/Objdump.pm: Add "objid" property to
symbols and fake "soname" property with the basename of the
object's filename if the object has no official SONAME.
* scripts/dpkg-shlibdeps.pl: Add some more debugging messages.
* scripts/dpkg-shlibdeps.pl: Also count usage of alternate sonames
for symbols found in symbols files.

16 years agoUpdate indentation and coding style to be coherent with the other modules
Raphael Hertzog [Sun, 16 Mar 2008 18:17:03 +0000 (19:17 +0100)]
Update indentation and coding style to be coherent with the other modules

* scripts/Dpkg/Source/Package/V3_0/bzr.pm: Use 4 spaces everywhere
for indentation. Put spaces around " = ".
* scripts/Dpkg/Source/Package/V3_0/git.pm: Same here.

16 years agoUniformize @argv parsing in source package formats
Raphael Hertzog [Sun, 16 Mar 2008 18:03:59 +0000 (19:03 +0100)]
Uniformize @argv parsing in source package formats

* scripts/Dpkg/Source/Package/V2_0.pm: Improve error
message when we have too many arguments.
* scripts/Dpkg/Source/Package/V3_0/bzr.pm: Same here.
* scripts/Dpkg/Source/Package/V3_0/git.pm: Same here.
* scripts/Dpkg/Source/Package/V3_0/native.pm: Add check
of number of arguments.
* scripts/Dpkg/Source/Package/V1_0.pm: Make sure we're
not going to fail when we delegate to do_build() of
V3_0/native.pm.

16 years ago* man/dpkg-source.1: Updated manual page with all changes of the branch
Raphael Hertzog [Sun, 16 Mar 2008 17:52:25 +0000 (18:52 +0100)]
* man/dpkg-source.1: Updated manual page with all changes of the branch

16 years agoNew source package format "3.0 (custom)"
Raphael Hertzog [Sun, 16 Mar 2008 15:13:03 +0000 (16:13 +0100)]
New source package format "3.0 (custom)"

* scripts/Dpkg/Source/Package/V3_0/custom.pm: Module implementing
a fake source package format. It provides a convenient way to generate
a source package containing arbitrary files. It's meant to be used
by helper tools like git-buildpackage or svn-buildpackage.
* scripts/Makefile.am, scripts/po/POTFILES.in: Register the above
file.

16 years agoUse default ignore rules for source package with format >> 1.0
Raphael Hertzog [Sun, 16 Mar 2008 14:29:13 +0000 (15:29 +0100)]
Use default ignore rules for source package with format >> 1.0

* scripts/dpkg-source.pl: Remove default ignore patterns
and move them...
* scripts/Dpkg/Source/Package.pm: ...here. The init_options()
method now will give default values to the corresponding
options.
* scripts/Dpkg/Source/Package/V2_0.pm (init_options): Call
the parent init_options() to get the default ignore rules.
* scripts/Dpkg/Source/Package/V1_0.pm: Don't call the
parent init_options() as we don't want default values
for format 1.0.

16 years agodpkg-source: factorize logic of copy of original tarballs
Raphael Hertzog [Sun, 16 Mar 2008 12:34:46 +0000 (13:34 +0100)]
dpkg-source: factorize logic of copy of original tarballs

* scripts/Dpkg/Source/Package.pm (extract): Now handles copy
of original tarballs and addition of executable right to
debian/rules.
scripts/Dpkg/Source/Package/V1_0.pm (do_extract, parse_cmdline_option):
Don't copy the original tarball as it's already done by extract().
* scripts/dpkg-source.pl: New option --no-copy to not copy
the original tarballs. New option --no-check to not check signature
and checksum. Misc cleanup in the options handling code.

16 years agoAdd bzr-based source package format
Colin Watson [Sun, 16 Mar 2008 10:45:25 +0000 (11:45 +0100)]
Add bzr-based source package format

* scripts/Dpkg/Source/Package/V3_0/bzr.pm: New module handling
the "3.0 (bzr)" source package format. It's based on the git
one.
* scripts/Makefile.am, scripts/po/POTFILES.in: Register the above
file.

16 years agoEach source package format can have its own command line options
Raphael Hertzog [Sat, 15 Mar 2008 22:20:54 +0000 (23:20 +0100)]
Each source package format can have its own command line options

* scripts/Dpkg/Source/Package.pm (init_options): Provide default
values to various options in a format-specific way.
* scripts/Dpkg/Source/Package.pm (parse_cmdline_options,
parse_cmdline_option): New functions to handle command line options.
* scripts/dpkg-source.pl: Forward unknown options to the
source package object. Remove handling of all -s? options
and move it...
* scripts/Dpkg/Source/Package/V1_0.pm: ...here.
* scripts/Dpkg/Source/Package/V2_0.pm: Add support of options
--include-removal and --include-timestamp.
* scripts/Dpkg/Source/Package/V3_0/quilt.pm: Add support of option
--without-quilt.

16 years agoAllow compilation with --disable-nls on systems without libintl.h
Guillem Jover [Sun, 16 Mar 2008 05:08:24 +0000 (07:08 +0200)]
Allow compilation with --disable-nls on systems without libintl.h

This is being triggered when a non glibc claims to be glibc.
Closes: #465420
16 years agos-s-d: Move 'return' inside preprocessor conditionals
Erast Benson [Sat, 15 Mar 2008 15:13:35 +0000 (17:13 +0200)]
s-s-d: Move 'return' inside preprocessor conditionals

So that it does not just return on non-handled OSes.

16 years agos-s-d: Use __sun instead of __sparc__ to define OSsunos
Erast Benson [Sat, 15 Mar 2008 15:05:08 +0000 (17:05 +0200)]
s-s-d: Use __sun instead of __sparc__ to define OSsunos

16 years agoAllow deletion of files by patches in Format: 3.0 (quilt)
Raphael Hertzog [Sat, 15 Mar 2008 14:31:02 +0000 (15:31 +0100)]
Allow deletion of files by patches in Format: 3.0 (quilt)

* scripts/Dpkg/Source/Patch.pm (add_diff_directory): New option to
be able to generate a diff for a removed file (instead of ignoring
its deletion).
* scripts/Dpkg/Source/Patch.pm (apply): New option "add_options" to
add some options to the default set of options.
* scripts/Dpkg/Source/Package/V3_0/quilt.pm: Pass -E option to
patch when applying patches without quilt. This will remove
patched files which end up being empty.