Guillem Jover [Tue, 15 May 2007 12:56:33 +0000 (12:56 +0000)]
* scripts/dpkg-divert.pl (checkmanymodes): Change the error message to
say 'commands' instead of 'modes'.
* scripts/dpkg-statoverride.pl (CheckModeConflict): Likewise. Use
gettext for the string.
Guillem Jover [Tue, 15 May 2007 01:08:13 +0000 (01:08 +0000)]
Document in install-info.8 that when no '--section' option is specified,
install-info will try to use the INFO-DIR-SECTION entry from the info
file. Add missing commas. Thanks to Kurt B. Kaiser. Closes: #397737
Guillem Jover [Fri, 11 May 2007 01:27:37 +0000 (01:27 +0000)]
* scripts/update-alternatives.pl ($manual): Rename to ...
($mode): ... this. Fix all users.
(read_link_group): Change gl() name from 'manflag' to 'update_mode',
and badfmt() string from 'manflag' to 'invalid update mode'.
Guillem Jover [Fri, 11 May 2007 01:07:57 +0000 (01:07 +0000)]
* scripts/update-alternatives.pl ($mode): Rename to ...
($action): ... this. Fix all users.
(checkmanymodes): Rename to ...
(check_many_actions): ... this. Fix all callers. Add prototype.
Change the error message to say 'commands' instead of 'modes'.
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.