]> err.no Git - dpkg/log
dpkg
16 years agoMove man/ChangeLog to man/po/ChangeLog
Guillem Jover [Thu, 10 Jul 2008 05:46:08 +0000 (08:46 +0300)]
Move man/ChangeLog to man/po/ChangeLog

Shuffle contents between man/ChangeLog and the main ChangeLog,
where they belong. Fix pointers to the po/ChangeLog dirs in
README.translators.

16 years agoReduce dselect memory usage
Michel Lespinasse [Sun, 6 Jul 2008 18:45:48 +0000 (20:45 +0200)]
Reduce dselect memory usage

* dselect/baselist.cc (baselist::startdisplay): Create the
pad with the list of the size of the display and not of the
size of the list content itself.
* dselect/basetop.cc (baselist::refreshlist): The part to
display is always at the top of the pad.
(baselist::redrawitemsrange): Simplified to redraw the real
range only.
* dselect/pkglist.cc (packagelist::sortmakeheads): No need to reallocate
the pad when the list changes.
* dselect/pkgtop.cc (packagelist::redraw1itemsel): The line
of the item in the infopad doesn't correspond to its index in
the list any more. Adjust accordingly.

16 years agoupdate Japanese translation
Kenshi Muto [Sun, 6 Jul 2008 09:41:12 +0000 (18:41 +0900)]
update Japanese translation

16 years agodpkg: Do not mark debug message for translation
Guillem Jover [Thu, 3 Jul 2008 03:07:44 +0000 (06:07 +0300)]
dpkg: Do not mark debug message for translation

16 years agoUse description of installed package if it's not available anymore
Raphael Hertzog [Fri, 4 Jul 2008 12:41:53 +0000 (14:41 +0200)]
Use description of installed package if it's not available anymore

* dselect/pkginfo.cc (packagelist::itd_description), dselect/pkgtop.cc
(packagelist::redraw1itemsel): Use description of installed
package as a fallback if the package is not more listed in the
available list.

Based on a patch by Bruce Sass <bmsass@shaw.ca>.

16 years agolibdpkg: Remove unneeded variable assignments and a variable
Guillem Jover [Wed, 2 Jul 2008 06:25:03 +0000 (09:25 +0300)]
libdpkg: Remove unneeded variable assignments and a variable

16 years agolibdpkg: Remove unneeded and wrong caching of namevalue length member
Guillem Jover [Wed, 2 Jul 2008 05:45:09 +0000 (08:45 +0300)]
libdpkg: Remove unneeded and wrong caching of namevalue length member

All current namevalue arrays have the length member precomputed. And
the code was sneakily casting from const to non-const through a memcpy
to be able to do the cache.

16 years agolibdpkg: Print a longer string when an unknown field value is found
Guillem Jover [Wed, 2 Jul 2008 05:39:19 +0000 (08:39 +0300)]
libdpkg: Print a longer string when an unknown field value is found

Use a capped string length instead of using last namevalue length
member when printing the disallowed value when parsing.

16 years agoUse NULL instead of 0
Guillem Jover [Wed, 2 Jul 2008 04:48:11 +0000 (07:48 +0300)]
Use NULL instead of 0

16 years agoRemove wrong comment not matching the code
Guillem Jover [Wed, 2 Jul 2008 04:36:46 +0000 (07:36 +0300)]
Remove wrong comment not matching the code

16 years agoMake tarfile_skip_one_forward static
Guillem Jover [Wed, 2 Jul 2008 02:14:25 +0000 (05:14 +0300)]
Make tarfile_skip_one_forward static

16 years agolibdpkg: Include needed header files
Guillem Jover [Wed, 2 Jul 2008 02:13:02 +0000 (05:13 +0300)]
libdpkg: Include needed header files

16 years agoUse '$(CPP)' instead of '$(CC) -E' in Makefile.am target
Guillem Jover [Wed, 2 Jul 2008 02:11:23 +0000 (05:11 +0300)]
Use '$(CPP)' instead of '$(CC) -E' in Makefile.am target

16 years agodpkg: Use the debug function instead of reimplementing its logic
Guillem Jover [Tue, 1 Jul 2008 06:27:56 +0000 (09:27 +0300)]
dpkg: Use the debug function instead of reimplementing its logic

16 years agodpkg: Properly lstat the correct file when using --root on upgrades
Egmont Koblinger [Tue, 1 Jul 2008 06:22:14 +0000 (09:22 +0300)]
dpkg: Properly lstat the correct file when using --root on upgrades

Closes: #281057
16 years agodpkg: Do not allocate memory when lstat fails while upgrading
Guillem Jover [Tue, 1 Jul 2008 01:44:12 +0000 (04:44 +0300)]
dpkg: Do not allocate memory when lstat fails while upgrading

16 years agoSwitch to use UTF-8 copyright symbol and add missing ones
Guillem Jover [Mon, 30 Jun 2008 04:16:12 +0000 (07:16 +0300)]
Switch to use UTF-8 copyright symbol and add missing ones

Some 'Copyright <year>' entries didn't have a copyright symbol.
Add it and switch the rest from '(C)' to '©', but we don't do this
on program output which for now should remain pure ascii.

16 years agoRemove RCS tag
Guillem Jover [Mon, 30 Jun 2008 04:12:59 +0000 (07:12 +0300)]
Remove RCS tag

16 years agolibdpkg: Remove unneeded 'const char *' cast
Guillem Jover [Mon, 30 Jun 2008 04:02:39 +0000 (07:02 +0300)]
libdpkg: Remove unneeded 'const char *' cast

16 years agolibdpkg: Constify strings members for package db structs
Guillem Jover [Mon, 30 Jun 2008 04:00:58 +0000 (07:00 +0300)]
libdpkg: Constify strings members for package db structs

16 years agodselect: Fix compilation warnings
Guillem Jover [Mon, 30 Jun 2008 03:14:25 +0000 (06:14 +0300)]
dselect: Fix compilation warnings

Surround boolean expressions with parenthesis.
Switch a for with an empty body into a while.

16 years agolibdpkg: Define YY_NO_INPUT to make flex not include input()
Guillem Jover [Mon, 30 Jun 2008 02:43:54 +0000 (05:43 +0300)]
libdpkg: Define YY_NO_INPUT to make flex not include input()

The function is unused and it only increases the binary sizes.

16 years agoWrap changelog lines at 78 characters
Guillem Jover [Mon, 30 Jun 2008 02:36:12 +0000 (05:36 +0300)]
Wrap changelog lines at 78 characters

This fixes lintian warnings.

16 years agolibdpkg: Split some parse functions into error and warning variants
Guillem Jover [Sun, 29 Jun 2008 19:31:38 +0000 (22:31 +0300)]
libdpkg: Split some parse functions into error and warning variants

16 years agolibdpkg: Refactor string format escaping
Guillem Jover [Sat, 28 Jun 2008 21:08:59 +0000 (00:08 +0300)]
libdpkg: Refactor string format escaping

16 years agolibdpkg: Remove unused file argument from parseerr and parsemustfield
Guillem Jover [Sat, 28 Jun 2008 13:12:16 +0000 (16:12 +0300)]
libdpkg: Remove unused file argument from parseerr and parsemustfield

16 years agoman/po: Regenerate .pot file and merge .po files with it
Guillem Jover [Sat, 28 Jun 2008 09:54:26 +0000 (12:54 +0300)]
man/po: Regenerate .pot file and merge .po files with it

16 years agoMove "skip a file forward" into its own function
Tollef Fog Heen [Sat, 28 Jun 2008 09:43:22 +0000 (12:43 +0300)]
Move "skip a file forward" into its own function

16 years agolibdpkg: Move skip_slash_dotslash from parsehelp.c to path.c
Guillem Jover [Sat, 28 Jun 2008 05:43:41 +0000 (08:43 +0300)]
libdpkg: Move skip_slash_dotslash from parsehelp.c to path.c

And from dpkg-db.h dpkg-priv.h.

16 years agolibdpkg: Move onerr_abort definition from mlib.c to ehandle.c
Guillem Jover [Sat, 28 Jun 2008 05:33:13 +0000 (08:33 +0300)]
libdpkg: Move onerr_abort definition from mlib.c to ehandle.c

16 years agolibdpkg: Make checksubprocerr less deep and a bit more readable
Guillem Jover [Sat, 28 Jun 2008 03:38:17 +0000 (06:38 +0300)]
libdpkg: Make checksubprocerr less deep and a bit more readable

Move the PROCNOERR check before the reporting, and exit directly instead
in case of error.

16 years agolibdpkg: Make badusage use ohshit instead of its own error handling
Guillem Jover [Sat, 28 Jun 2008 03:32:43 +0000 (06:32 +0300)]
libdpkg: Make badusage use ohshit instead of its own error handling

16 years agodpkg-query: Remove trailing newlines from badusage output
Guillem Jover [Sat, 28 Jun 2008 03:31:17 +0000 (06:31 +0300)]
dpkg-query: Remove trailing newlines from badusage output

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