]> err.no Git - dpkg/log
dpkg
16 years agoFix localized strings
Guillem Jover [Fri, 27 Jun 2008 04:04:19 +0000 (07:04 +0300)]
Fix localized strings

16 years agoinstall-info: Improve error message when the file doesn't exist
Raphael Hertzog [Fri, 27 Jun 2008 17:52:28 +0000 (19:52 +0200)]
install-info: Improve error message when the file doesn't exist

16 years agodpkg-query(1): document the origin of fields available for --showformat
Raphael Hertzog [Fri, 27 Jun 2008 17:08:15 +0000 (19:08 +0200)]
dpkg-query(1): document the origin of fields available for --showformat

16 years agodpkg-source: new option --require-valid-signature
Raphael Hertzog [Mon, 23 Jun 2008 20:22:34 +0000 (22:22 +0200)]
dpkg-source: new option --require-valid-signature

* scripts/dpkg-source.pl: New option --require-valid-signature.
* scripts/Dpkg/Source/Package.pm (check_signature): Updated to use
Dpkg::IPC and to implement the checks related to
--require-valid-signature.
* man/dpkg-source.1: Document the new option.

16 years ago* scripts/Dpkg/IPC.pm (fork_and_exec): new nocheck option
Raphael Hertzog [Mon, 23 Jun 2008 20:16:56 +0000 (22:16 +0200)]
* scripts/Dpkg/IPC.pm (fork_and_exec): new nocheck option

16 years agodpkg-divert: new --listpackage option
Timothy G Abbott [Mon, 23 Jun 2008 17:57:08 +0000 (19:57 +0200)]
dpkg-divert: new --listpackage option

* scripts/dpkg-divert.pl: Add new option --listpackage to
dpkg-divert.
* man/dpkg-divert.1: Document new option.

16 years agodpkg(1), dpkg-query(1): explain that the available file is for dselect
Raphael Hertzog [Sun, 22 Jun 2008 19:59:33 +0000 (21:59 +0200)]
dpkg(1), dpkg-query(1): explain that the available file is for dselect

* dpkg.1, dpkg-query.1: Document the fact that the available file
is mostly useful for dselect users and that the related commands
are useless for APT users.

16 years agodpkg-buildpackage(1): document -A option.
Raphael Hertzog [Sun, 22 Jun 2008 18:48:50 +0000 (20:48 +0200)]
dpkg-buildpackage(1): document -A option.

16 years agodpkg(1) and dpkg-query(1): clarify explanation of -l and --get-selections
Raphael Hertzog [Sun, 22 Jun 2008 08:29:51 +0000 (10:29 +0200)]
dpkg(1) and dpkg-query(1): clarify explanation of -l and --get-selections

* man/dpkg.1, man/dpkg-query.1: Clarify lisf of packages displayed
in dpkg --get-selections and dpkg-query -l.

16 years agodpkg-shlibdeps uses softer warnings for libraries that are likely plugins
Raphael Hertzog [Sat, 21 Jun 2008 21:45:43 +0000 (23:45 +0200)]
dpkg-shlibdeps uses softer warnings for libraries that are likely plugins

* scripts/dpkg-shlibdeps.pl: If the binary analyzed is a library on a
non-public path, assume it's likely a plugin and reduce the number of
warnings displayed about symbols not found. Also use a different,
hopefully less confusing message.
* man/dpkg-shlibdeps.1: Document the above changes.

16 years agoAdd Dpkg::Vendor to the list of files to distribute
Raphael Hertzog [Sat, 21 Jun 2008 19:11:31 +0000 (21:11 +0200)]
Add Dpkg::Vendor to the list of files to distribute

16 years agoBuilding blocks for vendor-specific build of Debian packages
Raphael Hertzog [Sat, 21 Jun 2008 16:29:47 +0000 (18:29 +0200)]
Building blocks for vendor-specific build of Debian packages

* scripts/Dpkg/Vendor.pm: Provide simple parser for vendor-specific
information stored in /etc/dpkg/origins/. The current vendor can
be identified through get_current_vendor() and get_vendor_info()
retrieves the information stores within those files.
* scripts/dpkg-buildpackage.pl: Setup the DEB_VENDOR environment
variable if possible.
* man/dpkg-buildpackage.1: Document the above changes.
* scripts/Dpkg/Source/Package/V3/quilt.pm (get_series_file): Use
get_current_vendor() to decide the name of the vendor-specific
series file that should be used in priority.

16 years agoAdd bug closure in changelog.
Raphael Hertzog [Thu, 19 Jun 2008 07:22:28 +0000 (09:22 +0200)]
Add bug closure in changelog.

16 years agolibdpkg: Do not segfault on varbufdupc after extending the buffer
Guillem Jover [Thu, 19 Jun 2008 05:06:00 +0000 (08:06 +0300)]
libdpkg: Do not segfault on varbufdupc after extending the buffer

Store the old used size instead of the precomputed address, as
varbufextend might change the buffer from under us.

16 years agoAdd a few more comment around obscure bits of trigger handling code
Colin Watson [Thu, 29 May 2008 03:53:34 +0000 (06:53 +0300)]
Add a few more comment around obscure bits of trigger handling code

16 years agolibdpkg: Fix typo in comment
Colin Watson [Thu, 29 May 2008 03:42:11 +0000 (06:42 +0300)]
libdpkg: Fix typo in comment

16 years agodpkg-divert: Do not silently enable --rename on --remove
Guillem Jover [Tue, 17 Jun 2008 05:14:29 +0000 (08:14 +0300)]
dpkg-divert: Do not silently enable --rename on --remove

Closes: #160848
16 years agodpkg-divert: Support diverting files from and to different file systems
Guillem Jover [Tue, 17 Jun 2008 04:15:36 +0000 (07:15 +0300)]
dpkg-divert: Support diverting files from and to different file systems

Based on a patch by Juergen Kreileder. Closes: #102144, #149961

16 years agoMerge lenny branch (through the tag '1.14.20')
Raphael Hertzog [Wed, 18 Jun 2008 08:43:41 +0000 (10:43 +0200)]
Merge lenny branch (through the tag '1.14.20')

Conflicts:

ChangeLog
configure.ac
debian/changelog
man/ChangeLog
man/dpkg.1
man/po/de.po

16 years agoRelease 1.14.20
Raphael Hertzog [Wed, 18 Jun 2008 07:36:14 +0000 (09:36 +0200)]
Release 1.14.20

16 years agoChangelog police
Guillem Jover [Wed, 18 Jun 2008 06:29:39 +0000 (09:29 +0300)]
Changelog police

16 years agoProperly close triggers 'File' file to not leak it to the childs
Guillem Jover [Mon, 16 Jun 2008 00:58:21 +0000 (03:58 +0300)]
Properly close triggers 'File' file to not leak it to the childs

16 years agodpkg-divert: On renames do no check the target if the source does not exist
Guillem Jover [Sun, 15 Jun 2008 21:05:29 +0000 (00:05 +0300)]
dpkg-divert: On renames do no check the target if the source does not exist

The rename is going to be disabled anyway in that case. This also allows
to remove bogus diversions. Closes: #476973, #469033

16 years agoMinor improvements in the french translation.
Raphael Hertzog [Sun, 15 Jun 2008 14:50:05 +0000 (16:50 +0200)]
Minor improvements in the french translation.

16 years agoAdd bug closure in changelog.
Raphael Hertzog [Sun, 15 Jun 2008 14:46:55 +0000 (16:46 +0200)]
Add bug closure in changelog.

16 years agoWiktor Wandachowicz: Update Polish scripts translation
Helge Kreutzmann [Tue, 10 Jun 2008 19:45:19 +0000 (21:45 +0200)]
Wiktor Wandachowicz: Update Polish scripts translation

16 years agoWiktor Wandachowicz: Update pl.add (man pages) and pl.po (dselect)
Helge Kreutzmann [Tue, 10 Jun 2008 16:30:10 +0000 (18:30 +0200)]
Wiktor Wandachowicz: Update pl.add (man pages) and pl.po (dselect)

16 years agoAdjust the test suite for the modified Dpkg::BuildOptions
Raphael Hertzog [Tue, 10 Jun 2008 15:32:29 +0000 (17:32 +0200)]
Adjust the test suite for the modified Dpkg::BuildOptions

* scripts/t/300_Dpkg_BuildOptions.t: Fix the test suite to work with
  the modified Dpkg::BuildOptions.
* scripts/Dpkg/BuildOptions.pm: Add missing import.

16 years agolibdpkg: Call va_end when done with the va_list variable from va_copy
Guillem Jover [Mon, 9 Jun 2008 22:41:59 +0000 (01:41 +0300)]
libdpkg: Call va_end when done with the va_list variable from va_copy

This fixes a memory leak on systems were va_copy needs to allocate
memory.

16 years agolibdpkg: Make varbufprintf use varbufvprintf instead of reimplementing it
Guillem Jover [Mon, 9 Jun 2008 22:25:23 +0000 (01:25 +0300)]
libdpkg: Make varbufprintf use varbufvprintf instead of reimplementing it

16 years agoImprove package descriptions for dpkg, dpkg-dev and dselect
Guillem Jover [Tue, 10 Jun 2008 02:20:32 +0000 (05:20 +0300)]
Improve package descriptions for dpkg, dpkg-dev and dselect

Thanks to Justin B Rye for the review and corrections. Closes: #484002

16 years agoSet PERL_DL_NONLAZY to 1 in perl scripts called by configuration scripts
Raphael Hertzog [Mon, 9 Jun 2008 19:47:48 +0000 (21:47 +0200)]
Set PERL_DL_NONLAZY to 1 in perl scripts called by configuration scripts

* scripts/dpkg-divert.pl, scripts/update-alternatives.pl,
scripts/install-info.pl, scripts/dpkg-statoverride.pl: Set
PERL_DL_NONLAZY to 1 so that the usage of Locale::Gettext doesn't
cause run-time failures when this perl binary module is not
compiled for the corresponding perl version (and this happens in
configuration scripts, in particular preinst, during upgrades).
See http://bugs.debian.org/479711 for details.

16 years agoFrench translation update
Christian Perrier [Mon, 9 Jun 2008 19:54:08 +0000 (21:54 +0200)]
French translation update

16 years agoAdd missing debian/changelog entry for the polish po/pl.po update
Helge Kreutzmann [Mon, 9 Jun 2008 19:25:07 +0000 (21:25 +0200)]
Add missing debian/changelog entry for the polish po/pl.po update

16 years agoUpdating the German scripts translation for the recent changes
Helge Kreutzmann [Mon, 9 Jun 2008 19:20:04 +0000 (21:20 +0200)]
Updating the German scripts translation for the recent changes

16 years agodpkg-buildpackage: use space as separator in DEB_BUILD_OPTIONS
Raphael Hertzog [Mon, 9 Jun 2008 17:42:28 +0000 (19:42 +0200)]
dpkg-buildpackage: use space as separator in DEB_BUILD_OPTIONS

* scripts/Dpkg/BuildOptions.pm (parse, set): Use space as the
official separator in DEB_BUILD_OPTIONS. Check for validity of
flags and print a warning if a bad option is detected. Rewrote
the logic of set() to avoid adding options twice in non-overwrite
mode.

16 years agoUpdated Swedish translation.
Peter Karlsson [Mon, 9 Jun 2008 12:27:39 +0000 (14:27 +0200)]
Updated Swedish translation.

scripts/po/sv.po: Updated to 473t0f0u.

16 years agoUpdated scripts/po/* files (2 new strings).
Raphael Hertzog [Mon, 9 Jun 2008 07:10:43 +0000 (09:10 +0200)]
Updated scripts/po/* files (2 new strings).

16 years agoUpdated Brazilian Portuguese translation of dpkg and dselect
Felipe Augusto van de Wiel [Mon, 9 Jun 2008 05:59:52 +0000 (02:59 -0300)]
Updated Brazilian Portuguese translation of dpkg and dselect

* po/pt_BR.po: Updated to 984t.
* dselect/po/pt_BR.po: Updated to 288t.

16 years agodpkg-source: Add '.hgignore' to the default -i regex and -I pattern
Guillem Jover [Mon, 9 Jun 2008 03:11:12 +0000 (06:11 +0300)]
dpkg-source: Add '.hgignore' to the default -i regex and -I pattern

Closes: #485365
16 years agodpkg-query: Use VARBUF_INIT to initialize path instead of vb
Guillem Jover [Mon, 9 Jun 2008 02:36:05 +0000 (05:36 +0300)]
dpkg-query: Use VARBUF_INIT to initialize path instead of vb

Thinko introduced in eb483c17ebb9a47c8b99b4319e682ab685213090.

16 years ago* scripts/po/fr.po: some wording improvements in the french translation
Raphael Hertzog [Sun, 8 Jun 2008 23:37:47 +0000 (01:37 +0200)]
* scripts/po/fr.po: some wording improvements in the french translation

16 years agodpkg-source: be less strict on filenames accepted in patches
Raphael Hertzog [Sun, 8 Jun 2008 21:29:43 +0000 (23:29 +0200)]
dpkg-source: be less strict on filenames accepted in patches

* scripts/Dpkg/Source/Patch.pm (analyze): Be less strict in
filenames accepted on ---/+++ lines. Don't blow up on absolute
filenames if the other one is fine. Make sure to use the one that
is relative and that corresponds to a real file when possible.

16 years agodpkg-source/3.0 (quilt): use absolute path names with quilt
Raphael Hertzog [Sun, 8 Jun 2008 19:03:24 +0000 (21:03 +0200)]
dpkg-source/3.0 (quilt): use absolute path names with quilt

* scripts/Dpkg/Source/Package/V3/quilt.pm: Use absolute path names
when giving directories and filenames to quilt to avoid any
problems due to quilt's feature of trying relative paths in parent
directories too.

16 years agoAck. typo fix in man/po/pl.po, add pl.add and update Polish dselect translation
Helge Kreutzmann [Sun, 8 Jun 2008 07:45:55 +0000 (09:45 +0200)]
Ack. typo fix in man/po/pl.po, add pl.add and update Polish dselect translation

16 years agoProofread by Jean-Luc Coulon and Jean Guillou
Christian Perrier [Sat, 7 Jun 2008 21:10:16 +0000 (23:10 +0200)]
Proofread by Jean-Luc Coulon and Jean Guillou

16 years agodpkg-source: accept patches with missing context at the end
Raphael Hertzog [Sat, 7 Jun 2008 20:08:05 +0000 (22:08 +0200)]
dpkg-source: accept patches with missing context at the end

* scripts/Dpkg/Source/Patch.pm (analyze): Accept unexpected
end-of-file in patches if we're missing no more than 2 lines
of context. Output a warning instead.

16 years agodpkg-source/3.0 (quilt): better registration of the automatic patch
Raphael Hertzog [Sat, 7 Jun 2008 18:50:41 +0000 (20:50 +0200)]
dpkg-source/3.0 (quilt): better registration of the automatic patch

* scripts/Dpkg/Source/Package/V3/quilt.pm (register_autopatch):
Register the newly created patch with quilt only if quilt has
already been used to apply the existing patches (or if we don't
have any patch yet), otherwise register it manually at the end of
the series.

16 years agoCompleted French translation
Christian Perrier [Sat, 7 Jun 2008 15:10:33 +0000 (17:10 +0200)]
Completed French translation

16 years agoUpdate French
Christian Perrier [Sat, 7 Jun 2008 15:06:18 +0000 (17:06 +0200)]
Update French

16 years agoNearly finished
Christian Perrier [Sat, 7 Jun 2008 12:46:04 +0000 (14:46 +0200)]
Nearly finished

16 years agomore progress in the French translation
Christian Perrier [Sat, 7 Jun 2008 06:11:15 +0000 (08:11 +0200)]
more progress in the French translation

16 years agodpkg-source/3.0 (quilt): allow /dev/null in automatic patch
Raphael Hertzog [Thu, 5 Jun 2008 17:00:31 +0000 (19:00 +0200)]
dpkg-source/3.0 (quilt): allow /dev/null in automatic patch

* scripts/Dpkg/Source/Patch.pm (add_diff_directory): If option
use_dev_null is set, then the label of the "old" file will be
'/dev/null' if we're creating a new file (instead of using the
name of the created file, like it's currently done in .diff
of version "1.0" source packages).
* scripts/Dpkg/Source/Package/V2.pm (prepare_build): Use the new
option "use_dev_null" when creating the automatic patch.

16 years agodpkg-source/3.0 (quilt): bugfix in parser of series file
Raphael Hertzog [Thu, 5 Jun 2008 16:47:03 +0000 (18:47 +0200)]
dpkg-source/3.0 (quilt): bugfix in parser of series file

* scripts/Dpkg/Source/Package/V3/quilt.pm (get_patches): Really
skip all comments in the series files.

16 years agodpkg-source: improve the patch parser
Raphael Hertzog [Wed, 4 Jun 2008 19:26:47 +0000 (21:26 +0200)]
dpkg-source: improve the patch parser

* scripts/Dpkg/Source/Patch.pm (analyze): Enhance function to
parse correctly many more patches that are accepted by the patch
utility itself:
- ignore/strip carriage return of patches with Windows end of lines
- accept empty lines as contextual lines (instead of the expected " ")
- accept spaces as separator between filename and timestamp if
  there's no tab
- accept a name that differs on the +++ line if the name in --- is
  correct, and use the name in +++ if this one exists while the one
  on --- doesn't.

16 years agoWiktor Wandachowicz: Update polish transl. for dpkg, scripts and the man pages
Helge Kreutzmann [Fri, 6 Jun 2008 13:57:34 +0000 (15:57 +0200)]
Wiktor Wandachowicz: Update polish transl. for dpkg, scripts and the man pages

16 years agoCatalan translation update with all fixes for #383448
Christian Perrier [Fri, 6 Jun 2008 05:31:26 +0000 (07:31 +0200)]
Catalan translation update with all fixes for #383448

16 years agoUpdated Swedish translation.
Peter Karlsson [Wed, 4 Jun 2008 08:00:07 +0000 (09:00 +0100)]
Updated Swedish translation.

man/po/sv.po: Updated to 1601t0f0u.

16 years agoClose --status-fd file descriptors on exec
Guillem Jover [Wed, 4 Jun 2008 05:07:31 +0000 (08:07 +0300)]
Close --status-fd file descriptors on exec

This avoids those being inherited by the childs. Closes: #471488

16 years agoFix weird space in bracketed name making dch not work properly
Guillem Jover [Wed, 4 Jun 2008 05:04:44 +0000 (08:04 +0300)]
Fix weird space in bracketed name making dch not work properly

16 years agoReplace realloc plus error checking usage with m_realloc
Guillem Jover [Wed, 4 Jun 2008 04:50:32 +0000 (07:50 +0300)]
Replace realloc plus error checking usage with m_realloc

16 years agolibdpkg: Add a size argument to varbufinit
Guillem Jover [Wed, 4 Jun 2008 04:32:33 +0000 (07:32 +0300)]
libdpkg: Add a size argument to varbufinit

Change modstatdb_init to use varbufinit instead of its own
initialization.

16 years agoUse new VARBUF_INIT macro instead of varbufinit to initialize variables
Guillem Jover [Wed, 4 Jun 2008 03:30:36 +0000 (06:30 +0300)]
Use new VARBUF_INIT macro instead of varbufinit to initialize variables

16 years agodpkg: Fix memory leaks if archivefiles is called more than once
Guillem Jover [Wed, 4 Jun 2008 03:26:16 +0000 (06:26 +0300)]
dpkg: Fix memory leaks if archivefiles is called more than once

Use varbufreset instead of varbufinit, as the variables are global.

16 years agolibdpkg: Switch log from a pointer to struct varbuf to just struct varbuf
Guillem Jover [Wed, 4 Jun 2008 02:52:30 +0000 (05:52 +0300)]
libdpkg: Switch log from a pointer to struct varbuf to just struct varbuf

16 years agodpkg: Fix the support for passing more than one --status-fd option
Guillem Jover [Wed, 4 Jun 2008 01:00:41 +0000 (04:00 +0300)]
dpkg: Fix the support for passing more than one --status-fd option

Until now only the last one was being used.

16 years agodpkg: Fix memory leaks on --set-selections
Guillem Jover [Wed, 4 Jun 2008 00:35:36 +0000 (03:35 +0300)]
dpkg: Fix memory leaks on --set-selections

16 years agolibdpkg: Remove sentinel from catch_signals array
Guillem Jover [Wed, 4 Jun 2008 00:28:37 +0000 (03:28 +0300)]
libdpkg: Remove sentinel from catch_signals array

16 years agoTake translation fix for German man page from Frank Lichtenheld from the trunk
Helge Kreutzmann [Tue, 3 Jun 2008 20:48:37 +0000 (22:48 +0200)]
Take translation fix for German man page from Frank Lichtenheld from the trunk

16 years agoRebuild po(t) files for the man pages and updated the German one (+ de.add)
Helge Kreutzmann [Tue, 3 Jun 2008 20:29:24 +0000 (22:29 +0200)]
Rebuild po(t) files for the man pages and updated the German one (+ de.add)

16 years agolibdpkg: Use memset instead of ad-hoc operation
Guillem Jover [Sun, 1 Jun 2008 19:39:09 +0000 (22:39 +0300)]
libdpkg: Use memset instead of ad-hoc operation

16 years agoDpkg::Control: fix error messages during parsing
Raphael Hertzog [Sun, 1 Jun 2008 19:37:17 +0000 (21:37 +0200)]
Dpkg::Control: fix error messages during parsing

Make sure that the errors during parsing are meaningful and refer to
the filename when possible and not always "standard input".

16 years agodpkg(1): further improve explanation about conffiles
Raphael Hertzog [Sun, 1 Jun 2008 19:05:07 +0000 (21:05 +0200)]
dpkg(1): further improve explanation about conffiles

* man/dpkg.1: Refer to configuration files in the explanation about
package's states because all configuration files (conffiles and
non-conffiles) should be properly handled by the packages. conffiles are
handled by dpkg itself, and non-conffile configuration files by the
configuration scripts. Explain this in the paragraph about removal
of packages.

16 years agolibdpkg: Use size_t intead of int for the index to fix a warning
Guillem Jover [Sun, 1 Jun 2008 18:11:15 +0000 (21:11 +0300)]
libdpkg: Use size_t intead of int for the index to fix a warning

16 years agodpkg-query: Use strpbrk instead of strcspn and strlen
Guillem Jover [Sun, 1 Jun 2008 18:04:17 +0000 (21:04 +0300)]
dpkg-query: Use strpbrk instead of strcspn and strlen

16 years agodpkg-query: Trim trailing slash and slash dot from arguments
Guillem Jover [Sun, 1 Jun 2008 17:09:16 +0000 (20:09 +0300)]
dpkg-query: Trim trailing slash and slash dot from arguments

Do this when the arguments are path names, but not on patterns, to avoid
unexpected behaviour. Closes: #129577

16 years agolibdpkg: Make rtrim_slash_slashdot return the string size
Guillem Jover [Sun, 1 Jun 2008 17:24:55 +0000 (20:24 +0300)]
libdpkg: Make rtrim_slash_slashdot return the string size

16 years agoRevert "dpkg-query: strip trailing slashes in parameters after -S or --search"
Guillem Jover [Sun, 1 Jun 2008 17:23:36 +0000 (20:23 +0300)]
Revert "dpkg-query: strip trailing slashes in parameters after -S or --search"

This reverts commit 7ab25f626b66de6eb6e1deafef4e91727873a621.

Conflicts:

ChangeLog
debian/changelog

16 years agodpkg-gencontrol: accept "-c-" to read the control file from stdin
Raphael Hertzog [Sun, 1 Jun 2008 10:07:17 +0000 (12:07 +0200)]
dpkg-gencontrol: accept "-c-" to read the control file from stdin

* scripts/Dpkg/Control.pm (parse, parse_fh, new): Add a new function
parse_fh() to be able to parse the control file from an arbitrary
file handle. Change parse() to use it and modify new() to parse
STDIN instead of a real file if the parameter is "-".

16 years agodpkg-deb: improve error message "unable to extract"
Daniel Hahler [Sun, 1 Jun 2008 08:30:04 +0000 (10:30 +0200)]
dpkg-deb: improve error message "unable to extract"

* src/archives.c (tarobject): Improve error message stating that
dpkg is unable to create a file so that it also refers to the real
filename instead of the non-diverted name only.

16 years agodpkg(1): Use conffile for config files handled by dpkg
Raphael Hertzog [Sat, 31 May 2008 19:27:49 +0000 (21:27 +0200)]
dpkg(1): Use conffile for config files handled by dpkg

* man/dpkg.1: Use the term conffile for a configuration file handled
by dpkg. Drop reference to hamm. Updated description of values
supported by -D to include those which are trigger related.

16 years agodpkg-query: strip trailing slashes in parameters after -S or --search
Raphael Hertzog [Sat, 31 May 2008 17:46:31 +0000 (19:46 +0200)]
dpkg-query: strip trailing slashes in parameters after -S or --search

* src/query.c (searchfiles): Trim trailing slashes (and slash dot) in the
arguments of dpkg -S.

16 years agoAdd bug closure for Galician translation update.
Raphael Hertzog [Sat, 31 May 2008 16:56:57 +0000 (18:56 +0200)]
Add bug closure for Galician translation update.

16 years agoUpdated Simplified Chinese translation.
Deng Xiyue [Sat, 31 May 2008 16:54:41 +0000 (18:54 +0200)]
Updated Simplified Chinese translation.

16 years agoUpdated Basque translation.
Piarres Beobide [Sat, 31 May 2008 16:50:32 +0000 (18:50 +0200)]
Updated Basque translation.

16 years agoUpdated Norwegian Bokmal translation.
Hans Fredrik Nordhaug [Sat, 31 May 2008 16:46:09 +0000 (18:46 +0200)]
Updated Norwegian Bokmal translation.

16 years agoFix error in the German translation for dpkg-gencontrol.1
Frank Lichtenheld [Thu, 29 May 2008 19:20:13 +0000 (21:20 +0200)]
Fix error in the German translation for dpkg-gencontrol.1

16 years agodpkg-source: make sure the source package format is respected
Raphael Hertzog [Wed, 28 May 2008 19:06:40 +0000 (21:06 +0200)]
dpkg-source: make sure the source package format is respected

* scripts/Dpkg/Source/Package.pm (extract): If we extract a
source package that uses a non-standard source package format (!= 1.0)
then we create debian/source/format to remember it.
* scripts/dpkg-source.pl: Use debian/source/format as a new source
of format to try when building the package. Prioritize it lower than
command line and debian/control but higher than the default build
formats.
* man/dpkg-source.1: Document the above changes.

16 years agodpkg-source/3.0 (quilt): better integration with quilt
Raphael Hertzog [Wed, 28 May 2008 17:28:50 +0000 (19:28 +0200)]
dpkg-source/3.0 (quilt): better integration with quilt

* scripts/Dpkg/Source/Package/V3/quilt.pm: Factorize calls to
quilt in a new run_quilt() function. And check only once
if quilt is available while setting the default value of
without_quilt option. Last but not least, register properly the
automatically generated patch with quilt import.

16 years agodpkg-source/3.0 (quilt): improve reliability of check_patches_applied
Raphael Hertzog [Wed, 28 May 2008 16:05:50 +0000 (18:05 +0200)]
dpkg-source/3.0 (quilt): improve reliability of check_patches_applied

* scripts/Dpkg/Source/Patch.pm (check_apply): New function to
verify if a patch will successfully apply on top of a given
directory.
* scripts/Dpkg/Source/Package/V3/quilt.pm (check_patches_applied):
Don't trust debian/patches/.dpkg-source-applied blindly. Get a
list of (supposedly unapplied) patches and verify if the first
patch applies or not. If yes, then apply the patch series,
otherwise do not (and assume that the patch series is already
applied).

16 years agoUpdated Galician translation to 984t
Jacobo Tarrio [Wed, 28 May 2008 19:50:12 +0000 (20:50 +0100)]
Updated Galician translation to 984t

16 years agoUpdated Swedish translation.
Peter Karlsson [Tue, 27 May 2008 06:48:59 +0000 (07:48 +0100)]
Updated Swedish translation.

* man/po/sv.po: Updated to 1600t0f0u.

16 years agoFixed a typo in dselect.1 and updated all po(t) files
Helge Kreutzmann [Mon, 26 May 2008 19:42:13 +0000 (21:42 +0200)]
Fixed a typo in dselect.1 and updated all po(t) files

16 years agoFixed a typo in dselect.1 and notified affected translators
Helge Kreutzmann [Mon, 26 May 2008 19:40:38 +0000 (21:40 +0200)]
Fixed a typo in dselect.1 and notified affected translators

16 years agoResolved FIXMEs in German man page translation (+ fixes + one new paragraph)
Helge Kreutzmann [Sun, 25 May 2008 19:10:48 +0000 (21:10 +0200)]
Resolved FIXMEs in German man page translation (+ fixes + one new paragraph)

16 years agoCoalesce similar badusage() strings for translation
Guillem Jover [Sat, 24 May 2008 06:12:43 +0000 (09:12 +0300)]
Coalesce similar badusage() strings for translation

16 years agoUse sizeof_array instead of ad-hoc calculation
Guillem Jover [Sat, 24 May 2008 05:46:24 +0000 (08:46 +0300)]
Use sizeof_array instead of ad-hoc calculation

16 years agodpkg-trigger: Remove duplicate program name from badusage output
Guillem Jover [Sat, 24 May 2008 05:42:34 +0000 (08:42 +0300)]
dpkg-trigger: Remove duplicate program name from badusage output

16 years agodpkg-source (2.0/3.0 (quilt)): improve build messages
Raphael Hertzog [Fri, 23 May 2008 08:48:19 +0000 (10:48 +0200)]
dpkg-source (2.0/3.0 (quilt)): improve build messages

* scripts/Dpkg/Source/Package/V2.pm (do_build): Display a
message when local modifications are stored in a new
automatic patch. This messages includes a list of
modified files.

16 years agodpkg-source: improve compatibility of 3.0 (quilt) with existing patch systems
Raphael Hertzog [Fri, 23 May 2008 08:11:17 +0000 (10:11 +0200)]
dpkg-source: improve compatibility of 3.0 (quilt) with existing patch systems

* scripts/Dpkg/Source/Package/V3/quilt.pm: Remove the .diff
from the name of the automatically generated patch. It will
facilitate the switch to this format: packages using
patch system that apply debian/patches/*.{patch,diff}
will not be bothered by the presence of the quilt series
created by dpkg-source itself.
* man/dpkg-source.1: Update the documentation accordingly.
* man/po/*.po: Fix all the filenames to avoid fuzzying
translations.