Fix handling of debian/files when architecture is set via -D
command line option. The value override was applied too late. Closes: #251911
Historical sidenote: This was already fixed once back in Ian Jackson's
1.5 branch but was apparently never correctly merged back.
* scripts/dpkg-gencontrol.pl: Make -isp the default
behaviour.
* man/C/dpkg-source.1: Document the behaviour
change in dpkg-gencontrol. Closes: #215233
Remove all the generated files so we don't need to track changes in them.
These were actually commited accidently by importing from the source
package and not an arch checkout
Guillem Jover [Sat, 11 Feb 2006 20:23:38 +0000 (20:23 +0000)]
Escape ` and ' in manpages otherwise they are converted to quotation
marks, which makes cut and paste not work. Thanks to Denis Barbier. Closes: #349925
Improve processing of disappearing conffiles (Ian Jackson).
This is part of the fix for #108587.
* lib/dpkg-db.h (conffile): Add `obsolete' field.
* lib/dump.c (w_conffiles): Write "obsolete" at the
end of conffile entry if obsolete is set.
* lib/fields.c (f_conffiles): Parse entries for
obsolete conffiles correctly.
* src/filesdb.h (filenamenode.flags): Add new
flag for obsolete conffiles.
* src/remove.c (removal_bulk_remove_configfiles):
Handle obsolete conffiles.
* src/archives.c (newconff_append): New function
to append a filenamenode to a fileinlist.
(addfiletolist): New function to add a filenamenode
to a tarcontext.
(tarobject): Use new addfiletolist function.
Handle case where a new package takes over
an obsolete conffile from another package.
* src/archives.h: Add declaration of the
addfiletolist function.
* src/processarc.c (process_archive): Use new
newconff_append function from archives.c.
Detect obsoleted conffiles and mark them as such.
* src/help.c (chmodsafe_unlink): Make it possible
to differentiate between failed chmod and failed
unlink by adding a new `failed' argument which
will be set to the name of the failed command.
(chmodsafe_unlink_statted): New function that
can be called if we already have a stat result for
the file/directory to be removed.
(ensure_pathname_nonexisting): Give better error
messages by utilizing the changes to
chmodsafe_unlink.
* src/main.h: Reflect changes in archives.c
and help.c (add declarations for newconff_append
and chmodsafe_unlink_statted and change the
one of chmodsafe_unlink).
(conffopt): Add new isold flag.
Guillem Jover [Fri, 10 Feb 2006 03:52:11 +0000 (03:52 +0000)]
Document about the default log file, the behaviour in case of multple
--log options and add a reference to dpkg.cfg manpage in the dpkg manpage.
Thanks to James R. Van Zandt. Closes: #350440
Guillem Jover [Fri, 10 Feb 2006 02:58:04 +0000 (02:58 +0000)]
Add command descriptions in the synopis, and add a usage example for
-f in the dpkg-query manpage. Thanks for the initial patch to
Philippe Batailler. Closes: #352091
Guillem Jover [Wed, 8 Feb 2006 04:16:41 +0000 (04:16 +0000)]
Use pkg-config to get the proper flags to link against libselinux.
Add a Build-Dependency on pkg-config, thighten libselinux1-dev to
at least version 1.28-4 which provides a .pc file, and remove
libsepol1-dev as libselinux1-dev is Depending on it.
Guillem Jover [Mon, 6 Feb 2006 21:28:52 +0000 (21:28 +0000)]
Cleanup and unify program usage and version output, make it more i18n
friendly. Fix wrong gettext usage with interparsed macros.
Thanks to Changwoo Ryu for noticing. Closes: #23791
Re-run po4a-gettextize
Correct accented letters problems in German man pages
Remove accidental English "translations" in some PO files
Thanks to Nicolas François for the patch
Make dpkg-source -b more robust
regarding to existing symlinks by creating all files
in secure temporary files and renaming them afterwards.
This fixes problems with packages retrieved with
apt-get source from local repositories. Closes: #178839, #338591
* man/C/dpkg-source.1: Document that the -sX switches for
dpkg-source are mutually exclusive and only one can be in
effect.
* scripts/dpkg-source.pl: Warn if more than one -sX switch
is specified on the command line. Closes: #246637
* man/C/dpkg-scanpackages.1: Document new dpkg-scanpackages
-m option.
* scripts/dpkg-scanpackages.pl: Rewrite the script to support
multiple versions of packages in a single Packages file;
use Getopt::Long instead of attempting to parse the command line
ourselves and doing it badly;
get rid of unecessary hashes and arrays that aren't used at all;
output help when given the --help/-h/-? options Closes: #229589, #319541