* Only open the log file when we first need to write to it, this avoids
the need to suppress errors when not root which fakeroot defeated anyway.
* Stop dpkg-source clobbering an existing .orig directory during unpacking. Closes: #21236.
* Allow an alternate output directory to be specified to dpkg-source by
giving a second argument to -x. Closes: #246802, #282323.
* Added .arch-inventory to default diff ignore regexp. Closes: #304297.
SELinux support (Manoj Srivastava):
* On SELinux-enabled systems, try to set the security context when the
package is unpacked. Closes: #193653, #249496, #307139.
* Added build-dependancy on libselinux1-dev.
Improvements to dpkg-source (Brendan O'Dea):
* Support unpacking of "Wig And Pen" (Format 2.0) source packages.
* Multiple pristine upstream tarballs allowed.
* Native and upstream tarballs may be bzip2-compressed instead of gzip,
as may the debian diff or tarball.
* Unsupported format error fixed to output the unsupported format
rather than the supported one. Closes: #156317.
-- Scott James Remnant <scott@netsplit.com> Sun, 12 Jun 2005 15:52:43 +0100
* Linux 2.6.12 changed the behaviour of mmap to fail and set EINVAL when
given a zero length, rather than returning NULL. This is POSIXly
correct, so handle zero-length package control files (like available).
-- Scott James Remnant <scott@netsplit.com> Fri, 10 Jun 2005 07:39:44 +0100
* Actions and package states are now logged by default in the
/var/log/dpkg.log file. This file is rotated monthly and can be
disabled by commenting the line in /etc/dpkg/dpkg.cfg.
* User decisions about conffiles are now logged.
* dpkg-source no longer complains about Enhances field. Closes: #159642,
#159745, #159746.
* preinst no longer relies on procps being installed. Closes: #311808.
* Architecture Support:
- Change DEB_*_GNU_CPU from i386 to i486, to reflect reality.
DEB_*_ARCH_CPU remains at i386, you should be checking against that. Closes: #310394.
- Fixed order ostable is read to prevent Linux becoming the Hurd. Closes: #309603.
* Updated Manpage Translations (Christian Perrier):
- Syntax error corrected in Swedish man page for dpkg-deb. Closes: #300980.
- Syntax error corrected in Spanish man page for dpkg-scanpackages. Closes: #300981
-- Scott James Remnant <scott@netsplit.com> Mon, 6 Jun 2005 05:34:21 +0100
The "Paying off Karma at a vastly acclerated rate" Release.
* Missing newline added to warning output function. Closes: #283798.
* Fixed prototype warning in dpkg-scansources. Closes: #213577, #219760,
#267505.
* Removed trailing line from debian origins file. Closes: #264904.
* Changed dpkg-buildpackage to say "source changed by" rather than
"source maintainer is". Closes: #247313.
* Fixed dpkg-gencontrol to allow '-' in architecture names. Closes: #274677.
* Fixed "unknown information field" error to report field that it doesn't
know about. Closes: #275243.
* Documentation:
- Remove "medium-level" from description of dpkg. Closes: #292454.
- Harmonised argument names in update-alternatives(8). Closes: #267095, #284941
- Documented what the '+' and '*' mean in update-alternatives --config
output. Closes: #270486.
- Mention aptitude alongside dselect in 'dpkg --usage' and
'dpkg-deb --help', fix quote style of mention in 'dpkg --help'. Closes: #274800, #278118.
- Associate --truename with the description of what it does in
dpkg-divert(8). Closes: #277076.
- Removed last remaining references to the packaging manual, replacing
with better references. Closes: #262775.
- Documented format of file dpkg --set-selections takes. Closes: #270043.
-- Scott James Remnant <scott@netsplit.com> Mon, 21 Mar 2005 03:10:27 +0000
* md5sum has been removed, the coreutils or textutils version will be
diverted to /usr/bin/md5sum. Closes: #6633, #136110.
The following bugs are filed against the dpkg md5sum, so no longer apply. Closes: #95755, #193877, #223381, #264195, #270241, #286632,
* Take Replaces into account when installing packages; don't issue a
"trying to overwrite" error if the file that already exists is in
a package that Replaces the one being installed. Closes: #164595, #184635, #277890.
* Allow actions and status changes to be logged to a file. Disabled by
default, uncomment line in /etc/dpkg/dpkg.cfg to enable. Closes: #957, #53376, #77109, #143882, #284499.
* Don't truncate output of 'dpkg -l' when stdout is not a tty. Closes: #92263, #253860, #258608, #261822, #282790.
* Fix further compilation problems with gcc 4.0. Closes: #299699
* Handle tar files without trailing slash in directory names. Closes: #287152.
* Output arguments to maintainer scripts with -D2. Closes: #237684,
#296030.
* Architecture Support:
- Added ppc64. Closes: #263743.
- Split archtable into cputable and ostable, archtable is retained
for compatibility with other packages that might use it only.
- dpkg-architecture no longer canonises -t argument. Closes: #173205.
- dpkg-architecture output includes new DEB_*_ARCH_OS and
DEB_*_ARCH_CPU variables that contain the Debian system and CPU
names respectively.
- dpkg-architecture outputs (mostly) correct GNU system names now,
in particular this means that it will output "linux-gnu" instead
of "linux". You should use the new _ARCH_OS variables instead.
* Documentation:
- Add examples to dpkg-divert(8). Closes: #291816.
- Correct typo in dpkg-architecture(1). Closes: #299090.
-- Scott James Remnant <scott@netsplit.com> Fri, 18 Mar 2005 16:21:32 +0000
* Fix incorrect claim that 'Q' in dselect quits without saving changes
(really 'X').
* Revert to current 'stable' behaviour of Space/Enter/'Q' in the dselect
help screen, Space leaves the help screen and Enter and 'Q' do nothing.
It's dangerous to encourage users to press Enter or 'Q' since they
commit changes in the package selection screen.
* scott@netsplit.com--2004/dpkg--devo--1.10--patch-37
remove non-posix test -a/-o in favour of && and ||
* scripts/dpkg-buildpackge.sh, scripts/dpkg-name.sh, methods/disk.update,
methods/disk.setup: Change non-POSIX -a and -o test options to shell
&& and || for portability.
* scott@netsplit.com--2004/dpkg--devo--1.10--patch-34
updated french translation.
* archtable: Requested the technical committee to make the mentioned
decision -- we're going with amd64 (that'll please my boss :-)
* scripts/dpkg-architecture.pl: Likewise.
* utils/start-stop-daemon.c: Moved pid_is_running inside OSHURD sentry,
provided Hurd version. Removed dependency on C99 code and replaced
constructor with an init function.
* dselect/Makefile.in: Remove helpmsgs.h from the GENFILES list so
we don't wipe it on "make clean" (it's not generated anymore).
* po/da.po: Updated.
* po/fr.po: Updated.
* archtable: Requested the technical committee to make the mentioned
decision -- we're going with amd64 (that'll please my boss :-)
* scripts/dpkg-architecture.pl: Likewise.
* utils/start-stop-daemon.c: Moved pid_is_running inside OSHURD sentry,
provided Hurd version. Removed dependency on C99 code and replaced
constructor with an init function.
* dselect/Makefile.in: Remove helpmsgs.h from the GENFILES list so
we don't wipe it on "make clean" (it's not generated anymore).
* po/da.po: Updated.
* scott@netsplit.com--2004/dpkg--devo--1.10--patch-28
restore amd64 support with that name
* scott@netsplit.com--2004/dpkg--devo--1.10--patch-29
fix s-s-d on the hurd
* scott@netsplit.com--2004/dpkg--devo--1.10--patch-30
don't wipe helpmsgs.h on make clean
* archtable: Requested the technical committee to make the mentioned
decision -- we're going with amd64 (that'll please my boss :-)
* scripts/dpkg-architecture.pl: Likewise.
* utils/start-stop-daemon.c: Moved pid_is_running inside OSHURD sentry,
provided Hurd version. Removed dependency on C99 code and replaced
constructor with an init function.
* dselect/Makefile.in: Remove helpmsgs.h from the GENFILES list so
we don't wipe it on "make clean" (it's not generated anymore).
* scott@netsplit.com--2004/dpkg--devo--1.10--patch-28
restore amd64 support with that name
* scott@netsplit.com--2004/dpkg--devo--1.10--patch-29
fix s-s-d on the hurd
* archtable: Requested the technical committee to make the mentioned
decision -- we're going with amd64 (that'll please my boss :-)
* scripts/dpkg-architecture.pl: Likewise.
* utils/start-stop-daemon.c: Moved pid_is_running inside OSHURD sentry,
provided Hurd version. Removed dependency on C99 code and replaced
constructor with an init function.
* scott@netsplit.com--2004/dpkg--devo--1.10--patch-28
restore amd64 support with that name
* archtable: Requested the technical committee to make the mentioned
decision -- we're going with amd64 (that'll please my boss :-)
* scripts/dpkg-architecture.pl: Likewise.
* man/es/dpkg-scanpackages.1, man/es/start-stop-daemon.8,
man/es/dpkg-scansources.1, man/es/dpkg.8, man/es/dpkg-checkbuilddeps.1,
man/es/dselect.8, man/es/dpkg-deb.1: Updated again from the BTS, for
some reason the previous update lost the foreign characters.
* scripts/Makefile.in: Move dpkg-scanpackages and dpkg-scansources
manpages to section 1.
* scripts/dpkg-scanpackages.8: Renamed to dpkg-scanpackages.1, adjusted
reference to dpkg-scansources.
* scripts/dpkg-scansources.pl: Adjusted reference to dpkg-scanpackages.
* dselect/dselect.8: Adjusted reference to dpkg-scanpackages.
* man/es/Makefile.in: Move dpkg-scanpackages and dpkg-scansources
manpages to section 1.
* man/es/dpkg-scanpackages.8: Renamed to dpkg-scanpackages.1, adjusted
reference to dpkg-scansources.
* man/es/dpkg-scansources.8: Renamed to dpkg-scansources.1,
* man/fr/Makefile.in: Move dpkg-scanpackages and dpkg-scansources
manpages to section 1.
* man/fr/dpkg-scanpackages.8: Renamed to dpkg-scanpackages.1, adjusted
reference to dpkg-scansources.
* man/fr/dpkg-scansources.8: Renamed to dpkg-scansources.1
* man/ja/Makefile.in: Move dpkg-scanpackages and dpkg-scansources
manpages to section 1.
* man/ja/dpkg-scanpackages.8: Renamed to dpkg-scanpackages.1, adjusted
refence to dpkg-scansources.
* man/ja/dpkg-scansources.8: Renamed to dpkg-scansources.1, adjusted
reference to dpkg-scanpackages.
* man/ja/dselect.8: Adjusted references to dpkg-scanpackages.
* man/pt_BR/dselect.8: Adjusted reference to dpkg-scanpackages.
* man/sv/.check.pl: Adjusted reference to dpkg-scanpackages.
* man/sv/dselect.8: Adjusted reference to dpkg-scanpackages.
* scripts/dpkg-shlibdeps.pl: Guard chown call with a check that we're
running as root, if we're not, it's not necessary.
* script/dpkg-source.1: Documented dpkg:Version and dpkg:UpstreamVersion
substvars.
* man/de/start-stop-daemon.8: New translation.
* man/de/Makefile.in: Added new manpage.
* man/es/dpkg-divert.8: Updated.
* po/it.po: Updated.
* archtable: Change amd64 to x86-64 or x86_64 to match the GNU strings
until someone better than me makes a real decision about this.
* scripts/dpkg-architecture.pl: Likewise.
* dpkg-deb/extract.c: Swap %zi and %ld in printf expression.
* split/info.c: Correct %zi and %lu in printf expression.
* split/main.c: Include missing sys/types.h and sys/stat.h headers.
* archtable: Change i386-kfreebsd-gnu to kfreebsd-i386 and add
i386-knetbsd-gnu.
* scripts/dpkg-archtable.pl: Return i386-freebsd for freebsd-i386 and
i386-kfreebsd-gnu for kfreebsd-i386 instead. Add knetbsd-i386.
* configure.in: Identify knetbsd-gnu.
* main/depcon.c: Colour packages as we check them for break cycles to
reduce the amount of recursion required to break a cycle.
* include/dpkg-deb.h, lib/database.c: Add colour to the package structure.
* main/main.h, main/configure.c, main/remove.c: Remove second
argument from findbreakcycle() function.
* utils/start-stop-daemon.c: On hurd, proc_stat_set_flags may return
NULL as Hurd can have processes with no uid, replace ihash_iterate
with HURD_IHASH_ITERATE.
* utils/md5sum.1: s/asterix/asterisk/. Thanks to Matt Zimmermann for
noticing this.
* main/packages.c: Apply patch from Daniel Kobras to disappear empty
packages that are replaced in the same run.
Couple of patches from Tollef ... Correct case of Origin and Bugs fields
in dpkg-scanpackages output and fix the unknown() function of controllib.pl
to output the correct field name.
Add support for the new Hurd-style i386-gnu triplets; rather than hacking
this onto the Linux support, I'm deliberately doing it separately so when
they change it again, we don't have to unbreak things.
Add support for pure amd64 in archtable and dpkg-architecture, it's
maturing sufficiently that we should probably support it now. archtable
made a bit easier to read too...
Run update.sh over the po files; this should probably get done before a
release gets tagged, otherwise if translators patch the .po in the tarball
then it makes it a bugger to merge into CVS.
* main/remove.c (removal_bulk_remove_configfiles): Don't change the
"previous pointer" pointer if we remove the node from the linked list,
ensuring that if the next node is to be removed the right thing will
happen. This corrects the bug where every second shared or diverted
conffile would be incorrectly deleted by dpkg.
Apply patch from Christian Haggstrom to fix #213038, #217286,
#213543 and #213846; there was an extra %s in the error message
printed when out of disk space, causing a strange SEGV.
Apply patch from Colin Watson to fix #139781; dselect had a
hard-coded maximum window width of 179 chars for some things,
when COLS is easily available.
Apply patch to fix #232025; the tar spec doesn't require a 100-char filename
to end with a NULL terminator, so we have to copy it out of the header
carefully.
Retro-actively apply patch for the 1.10.18.1 release:
* main/processarc.c (process_archive): Copy code from main/remove.c
to ensure that hardlinks to devices, setuid files or setgid files
cannot be stashed away in the hope that they become compromisable
in the future. This was handled when removing a package, but not
when upgrading one.