summaryrefslogtreecommitdiff
path: root/src/help.c
AgeCommit message (Collapse)AuthorFilesLines
2007-08-08Use NULL instead of '(char *)0'.Guillem Jover1-3/+3
2007-08-07Implement support for Breaks field.Ian Jackson1-0/+6
As a side effect, run the deconfiguration of each package to be deconfigured once, instead of once per each conflicting package being removed.
2007-01-11Do not bail out in dpkg when building without start-stop-daemon support,Guillem Jover1-1/+1
by checking if the macro value is true instead of it being defined. Thanks to Mark Rosenstand.
2006-05-19Don't drop directories that contain our conffiles too early fromFrank Lichtenheld1-0/+20
our file listing. Otherwise we might leave them behind on purge if we share them with other packages. Closes: #174180, #198128, #198522, #318825, #366178
2006-02-10Improve processing of disappearing conffiles (Ian Jackson).Frank Lichtenheld1-10/+26
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.
2005-06-12dpkg (1.13.9) unstable; urgency=lowScott James Remnant1-21/+3
The "On like Donkey Kong" Release. * 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
2005-03-18dpkg (1.13.2) experimental; urgency=lowScott James Remnant1-1/+26
* 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
2005-03-11dpkg (1.13.1.0.1) experimental; urgency=lowScott James Remnant1-0/+480
* Bin-MU; recompile against Debian unstable, to make dselect actually installable. -- Scott James Remnant <scott@netsplit.com> Fri, 11 Mar 2005 09:00:14 +0000