Guillem Jover [Tue, 8 May 2007 15:46:29 +0000 (15:46 +0000)]
Fix partial upgrades by tightening dpkg-dev versioned Depends to
dpkg 1.14.0, and dpkg Conflicts against << dpkg-dev 1.14.0, where
the triplettable support first appeared. Closes: #422848
Guillem Jover [Tue, 8 May 2007 08:11:35 +0000 (08:11 +0000)]
* scripts/controllib.pl (read_cputable): Localize $_.
(read_ostable): Likewise.
(read_triplettable): Likewise.
(parsedep): Check first for the negated architectures.
* scripts/dpkg-checkbuilddeps.pl: Do not enable slurp mode globally.
Use get_host_arch instead of directly dpkg-architecture.
Guillem Jover [Tue, 8 May 2007 05:14:54 +0000 (05:14 +0000)]
* scripts/update-alternatives.pl: Do not exit with an error on
'--remove' with a non-existing link group file for now, to be
consistent with the case when trying to remove an non-existing path.
Guillem Jover [Fri, 4 May 2007 01:22:56 +0000 (01:22 +0000)]
* scripts/dpkg-architecture.pl: Use get_valid_arches instead of
directly using @os and @cpu variables.
($pkgdatadir): Change from a 'my' to an 'our' variable.
(@cpu, @os, %cputable, %ostable, %cputable_re, %ostable_re,
read_cputable, read_ostable, split_debian, debian_to_gnu,
split_gnu, gnu_to_debian): Move to ...
* scripts/controllib.pl: ... here.
($pkgdatadir): Declare as 'our'.
(get_valid_arches): New function.
Guillem Jover [Fri, 4 May 2007 00:29:22 +0000 (00:29 +0000)]
* scripts/update-alternatives.pl: Call read_link_group also in
'install' mode, but do not exit nor print an error if the link goup
file does not exist.
Guillem Jover [Tue, 1 May 2007 21:42:53 +0000 (21:42 +0000)]
* scripts/update-alternatives.pl: Move the ENOENT errno check from
the if conditionals to the block body to avoid comparing against an
undef value on the next elsif conditional.
* Makefile.am (man.stamp): Use a stamp file for now until po4a
supports them internally.
(all-local): Depend on man.stamp.
(clean-local): Remove the man.stamp file.
* scripts/controllib.pl (get_host_arch): New function.
(findarch): Rename to ...
(init_substvar_arch): ... this. Use get_host_arch to set the substvar.
Fix all callers.
(parsedep): Use get_host_arch instead of directly calling
dpkg-architecture.
* scripts/dpkg-genchanges.pl: Use '$host_arch' instead of '$arch'.
(init_substvar_arch): Delay call until after init_substvars.
* scripts/dpkg-gencontrol.pl: Likewise.
Nicolas FRANCOIS [Wed, 28 Mar 2007 21:32:23 +0000 (21:32 +0000)]
Revert revision 691 (Add support for PAM sessions in start-stop-daemon.)
With daemons (i.e. except when --background is used), the session is
closed too early.
#376165 and #406942 will be tagged wontfix.
Thanks to Guillem Jover for noticing.
Guillem Jover [Wed, 21 Mar 2007 21:45:46 +0000 (21:45 +0000)]
Show the epoch (if present) when displaying package versions. Closes: #107449, #179913, #345594, #393924, #405668
Based on a patch by Jeffrey W. Baker.
Guillem Jover [Tue, 27 Feb 2007 22:59:16 +0000 (22:59 +0000)]
Fix regular expression special-casing Origin, Bugs and Maintainer fields
which was making X[SBC]- fields containing such strings to propagate into
the .deb control file unprocessed. Thanks to Colin Watson.
Guillem Jover [Sat, 17 Feb 2007 20:08:53 +0000 (20:08 +0000)]
* scripts/dpkg-source.pl (checkstats): Take '$dscdir' as an explicit
argument. Fix all callers.
(checktype): Take '$dir', '$fn' and '$type' as explicit arguments. Fix
all callers.
Guillem Jover [Sat, 17 Feb 2007 18:06:17 +0000 (18:06 +0000)]
* scripts/update-alternatives.pl: Check if '$alink' is defined before
using '$aslavelinkcount{$alink}'. Only read_link_group if '$mode' is
not 'install'.
($dataread): Remove now unused variable.
(read_link_group): New function (refactored).
(find_best_version): Likewise.
(display_link_group): Likewise.
(list_link_group): Likewise.
(config_all): Move exit to outside the function.
Guillem Jover [Sun, 11 Feb 2007 23:14:25 +0000 (23:14 +0000)]
* scripts/controllib.pl (outputclose): Change argument from a boolean
to an optional filename argument. Fix all callers.
(parsecontrolfile): Take '$controlfile' as an explicit argument.
Fix all callers.
(parsesubstvars): Take '$varlistfile' as an explicit argument.
Fix all callers.
(parsechangelog): Take '$changelogfile' as an explicit argument,
'$changelogformat' and '$since' as optional arguments. Fix all
callers.
(setsourcepackage): Take '$v' as an explicit argument.