]> err.no Git - dpkg/log
dpkg
16 years agos-s-d: Move version output from --help to --version
Guillem Jover [Thu, 17 Jan 2008 04:14:43 +0000 (06:14 +0200)]
s-s-d: Move version output from --help to --version

16 years agoUpdate TODO list
Guillem Jover [Thu, 17 Jan 2008 04:07:38 +0000 (06:07 +0200)]
Update TODO list

16 years agodpkg-source: Don't use any substvarsfile by default
Raphael Hertzog [Thu, 17 Jan 2008 08:08:48 +0000 (09:08 +0100)]
dpkg-source: Don't use any substvarsfile by default

* scripts/dpkg-source.pl: Revert to the old behaviour of not using any
substvars file.
* man/dpkg-source.1: Fix the default value of the -T option.

16 years agodpkg-genchanges: Reinstate support of the ${Format} substvar
Raphael Hertzog [Thu, 17 Jan 2008 08:01:37 +0000 (09:01 +0100)]
dpkg-genchanges: Reinstate support of the ${Format} substvar

* scripts/dpkg-genchanges.pl: As documented by deb-substvars(5), one can
use the ${Format} substvar to override the format of the .changes file.

16 years agos-s-d: Check uid and gid before calling setuid, setgid and initgroups
Guillem Jover [Thu, 17 Jan 2008 02:17:27 +0000 (04:17 +0200)]
s-s-d: Check uid and gid before calling setuid, setgid and initgroups

Based on a patch by Samuel Thibault. Closes: #222524

16 years agoUpdated Swedish scripts translation.
Peter Karlsson [Wed, 16 Jan 2008 14:12:02 +0000 (15:12 +0100)]
Updated Swedish scripts translation.

16 years agoFix input semantics of Debian changelog parser
Frank Lichtenheld [Wed, 16 Jan 2008 12:15:07 +0000 (13:15 +0100)]
Fix input semantics of Debian changelog parser

* scripts/changelog/debian.pl: Restore the old
default behaviour to parse STDIN. Also fix the -l
option to specify a label for the parsed input, but
the actual file. Still allow --file to be used for
that. Use the new inhandle option of parse() to pass
STDIN directly. This should be faster and removes
the implicit dependency on IO::String.

16 years agoDpkg::Changelog: Allow input to come directly from a filehandle
Frank Lichtenheld [Wed, 16 Jan 2008 12:08:51 +0000 (13:08 +0100)]
Dpkg::Changelog: Allow input to come directly from a filehandle

* scripts/Dpkg/Changelog/Debian.pm (parse): Accept input in
configuration item 'inhandle'. Allow to override the name of
the file (used for reporting) with configuration item
'reportfile'.
* scripts/Dpkg/Changelog.pm (init): Call parse if
'inhandle' is given.

16 years agoFix one format string
Frank Lichtenheld [Wed, 16 Jan 2008 12:01:50 +0000 (13:01 +0100)]
Fix one format string

* scripts/dpkg-parsechangelog.pl: Remove one superfluous
%s from a formatstring which was used to output $! before
syserr() was used instead.

16 years agoAdd build-essential to dpkg-dev Recommends
Guillem Jover [Wed, 16 Jan 2008 07:21:45 +0000 (09:21 +0200)]
Add build-essential to dpkg-dev Recommends

16 years agos-s-d: Make --quiet silence --test
Guillem Jover [Wed, 16 Jan 2008 06:12:20 +0000 (08:12 +0200)]
s-s-d: Make --quiet silence --test

Closes: #367998
16 years agos-s-d: Keep retrying even if the daemon removed the pidfile
Guillem Jover [Wed, 16 Jan 2008 05:55:32 +0000 (07:55 +0200)]
s-s-d: Keep retrying even if the daemon removed the pidfile

Closes: #460903
16 years agos-s-d: Fix indentation
Guillem Jover [Wed, 16 Jan 2008 05:49:19 +0000 (07:49 +0200)]
s-s-d: Fix indentation

16 years agoUse the perl POSIX module instead of the enoent helper binary
Guillem Jover [Tue, 15 Jan 2008 08:09:03 +0000 (10:09 +0200)]
Use the perl POSIX module instead of the enoent helper binary

16 years agoUse NULL instead of 0
Guillem Jover [Wed, 9 Jan 2008 04:24:11 +0000 (06:24 +0200)]
Use NULL instead of 0

16 years agodpkg-shlibdeps: handle the case where the same binary is listed multiple times
Raphael Hertzog [Tue, 15 Jan 2008 09:43:28 +0000 (10:43 +0100)]
dpkg-shlibdeps: handle the case where the same binary is listed multiple times

* scripts/dpkg-shlibdeps.pl: When the same binary is passed
several times as parameters (associated to different fields),
associate it to the most important field.

16 years agodpkg-shlibdeps: Fix filtering of duplicated deps in fields of lesser priority
Raphael Hertzog [Tue, 15 Jan 2008 08:02:56 +0000 (09:02 +0100)]
dpkg-shlibdeps: Fix filtering of duplicated deps in fields of lesser priority

* scripts/dpkg-shlibdeps.pl (filter_deps): Fix filtering of
duplicated dependencies in fields of lesser priority. Dependencies
coming from shlibs files have no associated version and this case
wasn't handled properly.

16 years agoGive some hints to Perl on the use of UTF-8 for output
Raphael Hertzog [Fri, 11 Jan 2008 18:14:15 +0000 (19:14 +0100)]
Give some hints to Perl on the use of UTF-8 for output

* scripts/dpkg-genchanges.pl, scripts/dpkg-gencontrol.pl,
scripts/dpkg-source.pl: Hint Perl into using UTF-8 for output
on *.dsc, *.changes and DEBIAN/control files. Updated some open() calls
for more consistency and added binmode() calls for filehandles that
handle only binary data.

16 years agoFix spelling error
Christian Perrier [Mon, 14 Jan 2008 20:13:33 +0000 (21:13 +0100)]
Fix spelling error

16 years agoRussian translation for scripts. Closes: #460709
Christian Perrier [Mon, 14 Jan 2008 19:21:45 +0000 (20:21 +0100)]
Russian translation for scripts. Closes: #460709

16 years agoRussian translation update. Closes: #460708
Christian Perrier [Mon, 14 Jan 2008 18:39:00 +0000 (19:39 +0100)]
Russian translation update. Closes: #460708

16 years agoDpkg::Fields: Change set_field_importance() into a method of Dpkg::Fields::Object
Raphael Hertzog [Sun, 13 Jan 2008 21:03:28 +0000 (22:03 +0100)]
Dpkg::Fields: Change set_field_importance() into a method of Dpkg::Fields::Object

* scripts/Dpkg/Fields.pm: Drop public function
set_fields_importance() in favor of a method on
Dpkg::Fields::Object. Integrate public function
sort_field_by_importance() in the output() method where it was
used.
* scripts/Dpkg/Changelog.pm, scripts/dpkg-genchanges.pl,
scripts/dpkg-gencontrol.pl, scripts/dpkg-source.pl: Updated to use
the set_field_importance() method instead of the removed function.
* scripts/Dpkg/Control.pm: Update pod documentation to refer to
Dpkg::Fields::Object instead of the invalid Dpkg::Cdata::Object.

16 years agoDpkg::Fields::Object: Support filehandles and strings for output and dump
Frank Lichtenheld [Sun, 13 Jan 2008 17:07:15 +0000 (18:07 +0100)]
Dpkg::Fields::Object: Support filehandles and strings for output and dump

* scripts/Dpkg/Fields.pm (dump): Allow to omit the
filehandle argument. If the function is called in
non-void context, also remove the printed string
to the caller. Together this avoids having to fiddle
with filehandles if the caller doesn't want to.
(output): Likewise.
* scripts/Dpkg/Changelog.pm (data2rfc822): Simplify
using this new behaviour.

16 years ago600_Dpkg_Changelog.t: Add more tests
Frank Lichtenheld [Sun, 13 Jan 2008 15:38:28 +0000 (16:38 +0100)]
600_Dpkg_Changelog.t: Add more tests

* scripts/t/600_Dpkg_Changelog.t: Add a new changelog
'fields' that tests the handling of the different fields
in the dpkg format.

16 years agoDpkg::Changelog::Debian: Don't separate forced Xs- fields from normal ones
Frank Lichtenheld [Sun, 13 Jan 2008 15:35:40 +0000 (16:35 +0100)]
Dpkg::Changelog::Debian: Don't separate forced Xs- fields from normal ones

16 years agoDpkg::Changelog: Use Dpkg::Fields for field handling
Frank Lichtenheld [Sun, 13 Jan 2008 15:03:39 +0000 (16:03 +0100)]
Dpkg::Changelog: Use Dpkg::Fields for field handling

* scripts/Dpkg/Changelog.pm: Replace all field hashes
with Dpkg::Changelog::Entry objects.
(Dpkg::Changelog::Entry): Base on Dpkg::Fields::Object.
(data2rfc822): Use Dpkg::Fields::Object->output and fix
handling of user-defined fields.
(data2rfc822_mult): Merge into data2rfc822 (autodetect
whether the argument is an object or an array of object).
* scripts/Dpkg/Changelog/Debian.pm: Adapt for
Dpkg::Changelog::Entry changes.
* scripts/t/600_Dpkg_Changelog.t: Likewise.

16 years agodpkg-parsechangelog(1): Document the new parser options
Frank Lichtenheld [Sun, 13 Jan 2008 12:25:16 +0000 (13:25 +0100)]
dpkg-parsechangelog(1): Document the new parser options

16 years agodpkg-shlibdeps(1): Fix a typo
Raphael Hertzog [Sat, 12 Jan 2008 17:43:12 +0000 (18:43 +0100)]
dpkg-shlibdeps(1): Fix a typo

16 years agoComplete German translation of manpages (except dselect) again
Helge Kreutzmann [Sat, 12 Jan 2008 17:28:30 +0000 (18:28 +0100)]
Complete German translation of manpages (except dselect) again

16 years agoUpdated Galician translation
Jacobo Tarrio [Sat, 12 Jan 2008 12:30:09 +0000 (12:30 +0000)]
Updated Galician translation

16 years agoAdd a missing bug closure in changelog
Raphael Hertzog [Sat, 12 Jan 2008 00:19:21 +0000 (01:19 +0100)]
Add a missing bug closure in changelog

16 years agoAdd support of Dm-Upload-Allowed field
Raphael Hertzog [Fri, 11 Jan 2008 23:21:17 +0000 (00:21 +0100)]
Add support of Dm-Upload-Allowed field

* scripts/Dpkg/Fields.pm, scripts/dpkg-source.pl: Add support of
Dm-Upload-Allowed field. It automatically ends up in the dsc.

16 years agoDefine list of valid debian/control fields in Dpkg::Fields
Raphael Hertzog [Fri, 11 Jan 2008 23:13:15 +0000 (00:13 +0100)]
Define list of valid debian/control fields in Dpkg::Fields

* scripts/Dpkg/Fields.pm: Define variables containing
authoritative list of fields for debian/control (one for source
stanza, one for package stanza).
* scripts/dpkg-genchanges.pl, scripts/dpkg-gencontrol.pl,
scripts/dpkg-source.pl: Use the new variables to properly ignore
valid fields. Some related cleanup.

16 years agodpkg-gencontrol: Also force version in ${binary:Version} if -v<version> is used.
Raphael Hertzog [Fri, 11 Jan 2008 21:24:32 +0000 (22:24 +0100)]
dpkg-gencontrol: Also force version in ${binary:Version} if -v<version> is used.

16 years agodpkg-source(1): Explain better the first parameter of the -b option.
Raphael Hertzog [Thu, 10 Jan 2008 22:34:46 +0000 (23:34 +0100)]
dpkg-source(1): Explain better the first parameter of the -b option.

16 years agoMake sure dpkg-dev 1.14.13 and 1.14.14 are upgraded together with dpkg
Raphael Hertzog [Thu, 10 Jan 2008 22:15:25 +0000 (23:15 +0100)]
Make sure dpkg-dev 1.14.13 and 1.14.14 are upgraded together with dpkg

* debian/control: Add a "Breaks: dpkg-dev (= 1.14.13),
dpkg-dev (= 1.14.14)" on dpkg to force upgrade of those dpkg-dev
versions that would break with the move of the compression related
variables from Dpkg.pm into Dpkg/Compression.pm.

16 years agoAdd dpkg-gensymbols in the usertags
Raphael Hertzog [Thu, 10 Jan 2008 22:09:45 +0000 (23:09 +0100)]
Add dpkg-gensymbols in the usertags

16 years agoFix typo in French manpages translations
Christian Perrier [Thu, 10 Jan 2008 18:48:29 +0000 (19:48 +0100)]
Fix typo in French manpages translations

16 years agoAdd missing changelog entries from controllib-removal branch
Raphael Hertzog [Tue, 8 Jan 2008 08:22:06 +0000 (09:22 +0100)]
Add missing changelog entries from controllib-removal branch

16 years agoMerge branch 'controllib-removal'
Raphael Hertzog [Tue, 8 Jan 2008 08:04:39 +0000 (09:04 +0100)]
Merge branch 'controllib-removal'

Conflicts:

ChangeLog
scripts/dpkg-buildpackage.pl
scripts/dpkg-checkbuilddeps.pl

16 years agoDo not warn about unrecognized Homepage field in binary package stanzas
Guillem Jover [Mon, 7 Jan 2008 21:49:01 +0000 (23:49 +0200)]
Do not warn about unrecognized Homepage field in binary package stanzas

16 years agoUnfuzzy formerly complete translations. I like this game...
Christian Perrier [Mon, 7 Jan 2008 21:45:33 +0000 (22:45 +0100)]
Unfuzzy formerly complete translations. I like this game...

16 years agoUpdated French translation in the hope that this crazyness will stop some day...just...
Christian Perrier [Mon, 7 Jan 2008 21:37:13 +0000 (22:37 +0100)]
Updated French translation in the hope that this crazyness will stop some day...just look at the diff

16 years agoBasque translation update
Christian Perrier [Mon, 7 Jan 2008 21:33:42 +0000 (22:33 +0100)]
Basque translation update

16 years agodpkg-checkbuilddeps: Remove unused $dep_regex
Guillem Jover [Mon, 7 Jan 2008 20:00:54 +0000 (22:00 +0200)]
dpkg-checkbuilddeps: Remove unused $dep_regex

16 years agodpkg-checkbuilddeps: Add build-essential as an implicit Build-Depends
Guillem Jover [Mon, 7 Jan 2008 19:55:38 +0000 (21:55 +0200)]
dpkg-checkbuilddeps: Add build-essential as an implicit Build-Depends

Closes: #402901
16 years agoBump version to 1.14.16~
Guillem Jover [Mon, 7 Jan 2008 10:40:37 +0000 (12:40 +0200)]
Bump version to 1.14.16~

16 years agoRelease 1.14.15
Guillem Jover [Mon, 7 Jan 2008 10:14:01 +0000 (12:14 +0200)]
Release 1.14.15

16 years agoChangelog morning patrol
Guillem Jover [Mon, 7 Jan 2008 10:11:51 +0000 (12:11 +0200)]
Changelog morning patrol

16 years agoRegenerate .pot files and merge .po files with them
Guillem Jover [Mon, 7 Jan 2008 10:05:45 +0000 (12:05 +0200)]
Regenerate .pot files and merge .po files with them

16 years agoUse arglist instead of narglist
Guillem Jover [Mon, 7 Jan 2008 09:51:57 +0000 (11:51 +0200)]
Use arglist instead of narglist

16 years agoDo not use extern inline as it changes semantics from GNU C to C99
Guillem Jover [Mon, 7 Jan 2008 09:31:44 +0000 (11:31 +0200)]
Do not use extern inline as it changes semantics from GNU C to C99

16 years agoFix signed vs unsigned value comparisons
Guillem Jover [Mon, 7 Jan 2008 09:26:40 +0000 (11:26 +0200)]
Fix signed vs unsigned value comparisons

Those were making some code to never be executed. This fixes most of the
bugs introduced with commit ea93ed48c17445d01b67f3fa8a20a5a644a89e5b.

16 years agoDpkg::BuildOptions: Parse all options in DEB_BUILD_OPTIONS
Guillem Jover [Mon, 7 Jan 2008 07:20:18 +0000 (09:20 +0200)]
Dpkg::BuildOptions: Parse all options in DEB_BUILD_OPTIONS

This will preserve unrecognized options when calling dpkg-buildpackage
with -j.

16 years agoFix dpkg-buildpackage to not double options when called with -j option
Raphael Hertzog [Sun, 6 Jan 2008 20:21:04 +0000 (21:21 +0100)]
Fix dpkg-buildpackage to not double options when called with -j option

* scripts/Dpkg/BuildOptions.pm (set): Change the default value of
the overwrite parameter to 1. The only use of this function in
dpkg-buildpackage is missing the parameter and actually wants to
overwrite the whole variable.
* scripts/t/300_Dpkg_BuildOptions.t: Adjust the test suite for this
change.

16 years agoUpdate deb-control(5) to explain better ordering of postinst/prerm
Raphael Hertzog [Sun, 6 Jan 2008 17:54:42 +0000 (18:54 +0100)]
Update deb-control(5) to explain better ordering of postinst/prerm

* man/deb-control.5: Explain better the ordering of call of
postinst/prerm during installations and removal between a package
and its dependencies.

16 years agoDpkg::Shlibs::Objdump: Takes into account R_*_COPY relocations
Raphael Hertzog [Sun, 6 Jan 2008 17:07:07 +0000 (18:07 +0100)]
Dpkg::Shlibs::Objdump: Takes into account R_*_COPY relocations

* scripts/Dpkg/Shlibs/Objdump.pm: Also retrieve dynamic relocation
records from objdump by adding the -R option. Use this information
to mark symbols affected by R_*_COPY relocations as undefined.
They are initialized by the loader with values searched in the
needed libraries.

16 years agoGerman translation update. Closes: #459223
Christian Perrier [Sat, 5 Jan 2008 07:48:00 +0000 (08:48 +0100)]
German translation update. Closes: #459223

16 years agoDpkg/Shlibs/SymbolFile.pm: Replace DEPRECATED by MISSING
Raphael Hertzog [Fri, 4 Jan 2008 13:16:06 +0000 (14:16 +0100)]
Dpkg/Shlibs/SymbolFile.pm: Replace DEPRECATED by MISSING

People understand better that symbols disappeared with the marker MISSING
than with the marker DEPRECATED (which look like it was done on purpose).
Continue to accept DEPRECATED in the input however.

16 years agoFixed changelog.
Peter Karlsson [Fri, 4 Jan 2008 10:08:13 +0000 (11:08 +0100)]
Fixed changelog.

16 years agoUpdated Swedish translation.
Peter Karlsson [Fri, 4 Jan 2008 10:03:15 +0000 (11:03 +0100)]
Updated Swedish translation.

Updated main translation to 928t.
Re-generated template file for scripts.
Updated scripts translation to 482t.

16 years agoSimplified Chinese translation update. Closes: #459018
Christian Perrier [Fri, 4 Jan 2008 08:19:12 +0000 (09:19 +0100)]
Simplified Chinese translation update. Closes: #459018

16 years agoDocument what changed on complete PO files with the last rebuild of the POT file
Christian Perrier [Fri, 4 Jan 2008 08:05:32 +0000 (09:05 +0100)]
Document what changed on complete PO files with the last rebuild of the POT file

16 years agoFrench translation update
Christian Perrier [Fri, 4 Jan 2008 08:03:24 +0000 (09:03 +0100)]
French translation update

16 years agoVietnamese translation update. Closes: #459016
Christian Perrier [Fri, 4 Jan 2008 07:50:26 +0000 (08:50 +0100)]
Vietnamese translation update. Closes: #459016

16 years agodpkg-shlibdeps: adjust the search order of shlibs files
Raphael Hertzog [Thu, 3 Jan 2008 20:28:01 +0000 (21:28 +0100)]
dpkg-shlibdeps: adjust the search order of shlibs files

* scripts/dpkg-shlibdeps.pl (add_shlibs_dep): Use the same logic
as find_symbols_files to find shlibs files. Check
debian/*/DEBIAN/shlibs only when the library has not been found in
an installed package, and give precedence to the shlibs provided
by the binary package where the library has been found. Replaces
the previous work-around that gave precedence to the package
that contained the binary.
* man/dpkg-shlibdeps.1: Document the above change in the shlibs
search order.

16 years agodpkg-shlibdeps: Add a new -S<pkgbuilddir> option
Raphael Hertzog [Thu, 3 Jan 2008 19:41:21 +0000 (20:41 +0100)]
dpkg-shlibdeps: Add a new -S<pkgbuilddir> option

* scripts/dpkg-shlibdeps.pl: Add a new -S<pkgbuilddir> option to
indicate a package build tree that should be scanned first when
trying to find a library.
* man/dpkg-shlibdeps.1: Document the new -S option.

16 years agodpkg-shlibdeps: also search libs in package build trees containing symbols files
Raphael Hertzog [Thu, 3 Jan 2008 15:05:54 +0000 (16:05 +0100)]
dpkg-shlibdeps: also search libs in package build trees containing symbols files

* scripts/dpkg-shlibdeps.pl (my_find_library): When defining the
list of package build trees to scan, also consider those that
contain symbols files (instead of only considering those that have
a shlibs file).
* man/dpkg-shlibdeps.1: Document the change listed above.

16 years agodpkg-shlibdeps: fix find_symbols_file to choose the right symbols file
Raphael Hertzog [Thu, 3 Jan 2008 14:41:23 +0000 (15:41 +0100)]
dpkg-shlibdeps: fix find_symbols_file to choose the right symbols file

* scripts/dpkg-shlibdeps.pl (find_symbols_file): When libraries
are found in non-packaged files, first try to find the
corresponding symbols file in the build tree containing that
library. On the opposite, don't look up symbols files in debian/*
build directories for libraries found in installed packages (build
trees are scanned first and thus if they contain a needed library
dpkg-shlibdeps will find the library there and not in an installed
package).

16 years agoDo not automatically enable -j if DEB_BUILD_OPTIONS contains parallel=n
Guillem Jover [Thu, 3 Jan 2008 07:38:11 +0000 (09:38 +0200)]
Do not automatically enable -j if DEB_BUILD_OPTIONS contains parallel=n

Allow overriding its value from the environment. Closes: #458589

16 years agoFirst (but not last) update for the French translation
Christian Perrier [Wed, 2 Jan 2008 16:27:49 +0000 (17:27 +0100)]
First (but not last) update for the French translation

16 years agoConvert to UTF-8
Christian Perrier [Wed, 2 Jan 2008 15:53:45 +0000 (16:53 +0100)]
Convert to UTF-8

16 years agoFrench translation update for scripts
Christian Perrier [Wed, 2 Jan 2008 15:51:33 +0000 (16:51 +0100)]
French translation update for scripts

16 years agoNorwegian Bokmål translation update
Christian Perrier [Wed, 2 Jan 2008 15:32:48 +0000 (16:32 +0100)]
Norwegian Bokmål translation update

16 years agoDpkg::Version: Import missing error function from Dpkg::ErrorHandling
Raphael Hertzog [Wed, 2 Jan 2008 15:29:51 +0000 (16:29 +0100)]
Dpkg::Version: Import missing error function from Dpkg::ErrorHandling

16 years agoAdd lzma to dpkg-dev Depends
Guillem Jover [Wed, 2 Jan 2008 05:24:24 +0000 (07:24 +0200)]
Add lzma to dpkg-dev Depends

16 years agos-s-d: Remove redundant function declarations
Guillem Jover [Wed, 2 Jan 2008 04:52:46 +0000 (06:52 +0200)]
s-s-d: Remove redundant function declarations

16 years agoAdd a 'struct stat' forward declaration to fix a compilation warning
Guillem Jover [Wed, 2 Jan 2008 04:46:28 +0000 (06:46 +0200)]
Add a 'struct stat' forward declaration to fix a compilation warning

16 years agoAdd missing PRINTFFORMAT attribute to few function declarations
Guillem Jover [Wed, 2 Jan 2008 04:40:27 +0000 (06:40 +0200)]
Add missing PRINTFFORMAT attribute to few function declarations

16 years agoUse NONRETURNING and PRINTFFORMAT instead of NONRETURNPRINTFFORMAT attribute
Guillem Jover [Wed, 2 Jan 2008 04:36:00 +0000 (06:36 +0200)]
Use NONRETURNING and PRINTFFORMAT instead of NONRETURNPRINTFFORMAT attribute

16 years agoPromote bzip2 Recommends to Depends for dpkg-dev
Guillem Jover [Tue, 1 Jan 2008 19:52:00 +0000 (21:52 +0200)]
Promote bzip2 Recommends to Depends for dpkg-dev

Closes: #458521
16 years agoAdd many modules to list of files containing translatable strings
Raphael Hertzog [Tue, 1 Jan 2008 17:31:45 +0000 (18:31 +0100)]
Add many modules to list of files containing translatable strings

16 years agoscripts/controllib.pl: Removed as it's no more needed by any script.
Raphael Hertzog [Tue, 1 Jan 2008 17:16:24 +0000 (18:16 +0100)]
scripts/controllib.pl: Removed as it's no more needed by any script.

16 years agoUpdate all scripts to use Dpkg::Changelog::parse_changelog
Raphael Hertzog [Tue, 1 Jan 2008 17:13:07 +0000 (18:13 +0100)]
Update all scripts to use Dpkg::Changelog::parse_changelog

* scripts/dpkg-buildpackage.pl, scripts/dpkg-checkbuilddeps.pl,
scripts/dpkg-genchanges.pl, scripts/dpkg-gencontrol.pl,
scripts/dpkg-gensymbols.pl, scripts/dpkg-source.pl: Update scripts to use
Dpkg::Changelog::parse_changelog instead of the old controllib.pl's
parsechangelog. With this last change controllib.pl is no more used by
any script.

16 years agoDpkg::Changelog: New function parse_changelog to replace controllib's parsechangelog
Raphael Hertzog [Tue, 1 Jan 2008 17:10:22 +0000 (18:10 +0100)]
Dpkg::Changelog: New function parse_changelog to replace controllib's parsechangelog

16 years agoAdd missing modules in the dpkg-dev package
Raphael Hertzog [Tue, 1 Jan 2008 16:46:46 +0000 (17:46 +0100)]
Add missing modules in the dpkg-dev package

16 years agoMerge branch 'parsechangelog' into controllib-removal
Raphael Hertzog [Tue, 1 Jan 2008 19:36:48 +0000 (20:36 +0100)]
Merge branch 'parsechangelog' into controllib-removal

Conflicts:

ChangeLog
debian/changelog
debian/dpkg-dev.install
scripts/Dpkg/ErrorHandling.pm
scripts/Makefile.am

16 years agoUpdate list of files to include in the distribution tarball
Raphael Hertzog [Tue, 1 Jan 2008 15:50:49 +0000 (16:50 +0100)]
Update list of files to include in the distribution tarball

16 years agoRemove all unused functions from controllib.pl
Raphael Hertzog [Tue, 1 Jan 2008 15:16:06 +0000 (16:16 +0100)]
Remove all unused functions from controllib.pl

16 years agodpkg-source: Integrate readmd5sum from controllib
Raphael Hertzog [Tue, 1 Jan 2008 15:13:26 +0000 (16:13 +0100)]
dpkg-source: Integrate readmd5sum from controllib

16 years agoRemove the last calls to chown(getfowner(), ...)
Raphael Hertzog [Tue, 1 Jan 2008 14:59:08 +0000 (15:59 +0100)]
Remove the last calls to chown(getfowner(), ...)

* scripts/dpkg-distaddfile.pl, scripts/dpkg-gencontrol.pl: Delete
the chown(getfowner(), ...) on new files. It doesn't seem to do anything
useful anymore as it got dropped from several other scripts over the years
without problems. This enables the removal of getfowner() from
controllib.pl.

16 years agoDpkg::Vars: New module handling the global variable $sourcepackage
Raphael Hertzog [Tue, 1 Jan 2008 14:50:01 +0000 (15:50 +0100)]
Dpkg::Vars: New module handling the global variable $sourcepackage

* scripts/Dpkg/Vars.pm: New module exporting $sourcepackage and
set_source_package to replace the $sourcepackage and setsourcepackage of
controllib.pl.
* scripts/dpkg-genchanges.pl: Updated to use Dpkg::Vars.
* scripts/dpkg-gencontrol.pl: Likewise.
* scripts/dpkg-source.pl: Likewise.

16 years agoDpkg::Version: Add check_version to replace controllib's checkversion
Raphael Hertzog [Tue, 1 Jan 2008 13:54:55 +0000 (14:54 +0100)]
Dpkg::Version: Add check_version to replace controllib's checkversion

* scripts/Dpkg/Version.pm (check_version): New function.
* scripts/dpkg-buildpackage.pl: Use the new check_version.
* scripts/dpkg-source.pl: Likewise.

16 years agoUpdate all scripts to use Dpkg::Substvars, Dpkg::Cdata, Dpkg::Control and Dpkg::Field...
Raphael Hertzog [Mon, 31 Dec 2007 16:29:00 +0000 (17:29 +0100)]
Update all scripts to use Dpkg::Substvars, Dpkg::Cdata, Dpkg::Control and Dpkg::Fields::Object

16 years agoAdd non-regression tests for Dpkg::Control and Dpkg::Cdata
Raphael Hertzog [Sat, 29 Dec 2007 18:34:24 +0000 (19:34 +0100)]
Add non-regression tests for Dpkg::Control and Dpkg::Cdata

16 years agoDpkg::Cdata, Dpkg::Control, Dpkg::Fields::Object: Add new modules
Raphael Hertzog [Sat, 29 Dec 2007 18:04:07 +0000 (19:04 +0100)]
Dpkg::Cdata, Dpkg::Control, Dpkg::Fields::Object: Add new modules

* scripts/Dpkg/Cdata.pm: This module provides a function to parse a block of
fields/values like those in debian/control, in changes files or in dsc files.
* scripts/Dpkg/Fields.pm: Dpkg::Fields::Object implements a tied hash
which handles proper capitalization of fields and which can be dumped
back.
* scripts/Dpkg/Control.pm: This module parses debian/control and provide
access to the tied hash for each block (source one and binary ones).

16 years agoDpkg::Substvars: New module handling substvars
Raphael Hertzog [Tue, 1 Jan 2008 11:49:22 +0000 (12:49 +0100)]
Dpkg::Substvars: New module handling substvars

16 years agodpkg-buildpackage: Fix build message for non-gz compressed sources
Guillem Jover [Tue, 1 Jan 2008 18:25:39 +0000 (20:25 +0200)]
dpkg-buildpackage: Fix build message for non-gz compressed sources

Closes: #458519
16 years agoDpkg::ErrorHandling: New syntaxerr function
Raphael Hertzog [Sat, 29 Dec 2007 17:46:07 +0000 (18:46 +0100)]
Dpkg::ErrorHandling: New syntaxerr function

16 years agos-s-d: Do not print 'failed to kill' warning when doing pid polling
Samuel Thibault [Tue, 1 Jan 2008 03:45:10 +0000 (05:45 +0200)]
s-s-d: Do not print 'failed to kill' warning when doing pid polling

Closes: #157305, #352554