summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2009-02-05update-alternatives: avoid switching to manual mode broken alternativesRaphael Hertzog1-0/+8
* scripts/update-alternatives.pl: Ensure that a broken link in automatic mode doesn't lead to the alternative being set on manual mode. Also displays by default (and not only when --verbose is given) the message that indicates that an alternative is switched to manual mode.
2009-02-05update-alternatives: improve --config behaviourRaphael Hertzog1-0/+11
* scripts/update-alternatives.pl: Allow --config to continue when the currently selected alternative doesn't match the only existing one. Useful to be able to recover from a broken configuration. Also offer the choice in --config mode to go back the automatic mode. Add a new --skip-auto option to combine with --all and easily review manual and broken alternatives. * man/update-alternatives.8: Update the documentation accordingly. Based on a patch by Osamu Aoki <osamu@debian.org>.
2009-02-05Add Ubuntu vendor objectRaphael Hertzog1-0/+10
* scripts/Dpkg/Vendor/Ubuntu.pm: Ubuntu vendor object implementing lookup of launchpad bugs in changelogs and a safety-check for Maintainer fields of forked packages (launched during source build).
2009-02-05New framework to hook vendor-specific logicRaphael Hertzog1-0/+14
* scripts/Dpkg/Vendor/Default.pm: Generic vendor object that will be used to hook vendor-specific behaviour in multiple places. * scripts/Dpkg/Vendor/Debian.pm: Debian variant of that object. * scripts/Dpkg/Vendor.pm (get_vendor_object, run_vendor_hook): New functions to retrieve the current vendor object and run vendor-specific code. * scripts/dpkg-source.pl, scripts/dpkg-genchanges.pl: Add first vendor hooks to be used by Ubuntu. * scripts/Makefile.am (EXTRA_DIST): Add 'scripts/Dpkg/Vendor/Default.pm' and 'scripts/Dpkg/Vendor/Debian.pm'.
2009-02-03Merge branch 'lenny' (through tag '1.14.25')Guillem Jover1-0/+59
Conflicts: ChangeLog configure.ac debian/changelog po/es.po po/ja.po po/ko.po po/pt.po po/ro.po
2009-02-03Make distcheck workGuillem Jover1-0/+6
Add missing files in _SOURCES and EXTRA_DIST Makefile.am variables.
2009-02-03Release 1.14.25Guillem Jover1-0/+4
2009-02-02Do not lose conffiles while replacing them on the same install runGuillem Jover1-0/+6
Only do the ensure_pathname_nonexisting calls when we are not going to return due to an already existing directory or a file not to be overwritten. Those calls are making sure that .dpkg-tmp and .dpkg-new pathnames do not exist, and will remove them if they do, which messes with the way conffiles are handled by keeping those and acting on them later on. Closes: #80416, #513857
2009-02-02dpkg-deb: produce GNU tar archives inside .debRaphael Hertzog1-0/+7
* dpkg-deb/build.c: Ensure that data.tar and control.tar archives created inside a .deb use the GNU format that is compatible with dpkg itself. And remove TAR_OPTIONS from environment to avoid unexpected user customizations of the resulting archives.
2009-01-27Dpkg::Version fix and test-suite adjustmentRaphael Hertzog1-0/+15
* scripts/t/900_Dpkg_Version.t: Renamed into... * scripts/t/100_Dpkg_Version.t: and merged test cases previously provided by this file so that there's no loss of tests. Also adjusted test cases to match the change below. * scripts/Dpkg/Version.pm (compare_versions): Handle "<" like "<=" and ">" like ">=" in order to be consistent with dpkg --compare-versions. Emit warnings when they are used as they are deprecated. * scripts/Makefile.am: Drop scripts/t/900_Dpkg_Version.t from the set of extra files to distribute. * scripts/dpkg-genchanges.pl: Use "<<" instead of ambiguous "<" in version comparison.
2009-01-23Sanitize --status-fd output by replacing newlines with spacesGuillem Jover1-0/+5
Closes: #505172
2009-01-23libdpkg: Add a new varbufsubstc functionGuillem Jover1-0/+7
2009-01-23libdpkg: Add initial C unit test suiteGuillem Jover1-0/+14
2009-01-23libdpkg: Rename function arguments named l to sizeGuillem Jover1-0/+6
2009-01-20libdpkg: Use size_t in functions taking a size argumentGuillem Jover1-0/+6
2009-01-14s-s-d: Support setting the process scheduler policy and priorityGuillem Jover1-0/+17
Add new option -P, --procsched <policy[:priority]>. Closes: #175740
2009-01-14s-s-d: Use a new xstrdup that never returns NULL instead of strdupGuillem Jover1-0/+5
2009-01-10s-s-d: Behave the same way whether --chuid gets a user name or a uidGuillem Jover1-0/+6
Otherwise it was failing to setup the default group for the user if it had not been specified and the HOME environment variable. Closes: #368000
2009-01-07man: Document that dpkg-deb -x modifies the extraction directory permsGuillem Jover1-0/+5
Closes: #502496
2009-01-05dpkg: Use warning function instead of hand crafted fprintf callGuillem Jover1-0/+5
2009-01-05s-s-d: Clarify that the signal sent by default is TERM not KILLGuillem Jover1-0/+5
Closes: #507568
2009-01-04s-s-d: Use SIGTERM instead of literal 15Guillem Jover1-0/+7
2009-01-04libdpkg: Move macros from dpkg.h to more specialized headersGuillem Jover1-0/+16
2009-01-04libdpkg: Move printforhelp declaration to myopt.hGuillem Jover1-0/+5
2009-01-04libdpkg: Make trig argument in some functions constGuillem Jover1-0/+8
And we can thus remove a bogus cast.
2009-01-04libdpkg: Use MAX_CONFIG_LINE instead of MAXDIVERTFILENAME in myfileoptGuillem Jover1-0/+6
2009-01-04Remove unused macros and prototypesGuillem Jover1-0/+5
2009-01-04dselect: Define several private functions as staticGuillem Jover1-0/+6
2009-01-03libdpkg: Move basusage from ehandle to myoptGuillem Jover1-0/+8
To reduce inter-dependencies due to usage of printforhelp.
2009-01-03dpkg: Change dir to / after chroot when using --instdirColin Watson1-0/+4
Closes: #509578
2009-01-03libdpkg: Do not log repeated data when the write call wrote partiallyGuillem Jover1-0/+5
2008-12-29Bump version to 1.14.25~Guillem Jover1-0/+4
2008-12-29Release 1.14.24Guillem Jover1-0/+4
2008-12-20Error out when trying to replace a conffile w/o a Replaces fieldGuillem Jover1-0/+6
Do not allow installing packages with non-obsolete conffiles owned by other packages without a proper Replaces field. Closes: #508392 Regression introduced in commit 854ad168370000ca46f4ba091c2d5bb05274b6ef, present since dpkg 1.13.14.
2008-12-09Fix some “use Dpkg::ErrorHandling qw(…)” callsRaphael Hertzog1-0/+7
* scripts/Dpkg/Changelog.pm, scripts/dpkg-buildpackage.pl, scripts/dpkg-genchanges.pl, scripts/dpkg-gencontrol.pl, scripts/dpkg-source.pl: Also import the default exported functions of Dpkg::ErrorHandling and not only the unusual ones.
2008-12-09Mark strings for translationGuillem Jover1-0/+14
2008-12-09Improve internerr output messages and print the invalid valueGuillem Jover1-0/+18
2008-12-09scripts: Do not mark internerr strings for translationGuillem Jover1-0/+7
2008-12-09scripts: Do not use sprintf for functions supporting variable argsGuillem Jover1-0/+5
2008-12-09Properly use internerr to report about programming bugsGuillem Jover1-0/+23
Use internerr for internal error conditions which happen only due to programming bugs and should never occur, otherwise the code is wrong and should be fixed.
2008-12-09libdpkg: Add support for format strings to internerrGuillem Jover1-0/+7
2008-12-09Dpkg::ErrorHandling: Replace failure calls with error or syserrGuillem Jover1-0/+13
There's no point in a different failure vs error or syserr function, so let's remove it.
2008-12-09Dpkg::ErrorHandling: Export public functions by defaultGuillem Jover1-0/+7
The remaining non exported functions and variables need to, either disappear, move to some better place, be renamed, or for variables to get hidden through a getter/setter.
2008-12-08dpkg-shlibdeps: optimize by caching symbols files and objdump objectsModestas Vainius1-0/+11
* scripts/Dpkg/Shlibs/Objdump.pm (parse): Split into add_object() and parse(). * scripts/Dpkg/Shlibs/SymbolFile.pm (merge_object_from_symfile): New function to reintegrate symbols from previous symfiles. * scripts/dpkg-shlibdeps.pl: Optimizes it by caching parsed symbols files and objdump objects. This way neither of the libraries or symbols files are parsed more than once. This patch significantly improves performance of dpkg-shlibdeps bringing it near to performance levels of versions prior to 1.14.8 without loosing any of new functionally at all. Memory requirements are reduced too. This patch SHOULD NOT change the end result of dpkg-shlibdeps. If it does, it is a bug. Improved-by: Raphael Hertzog <hertzog@debian.org>
2008-12-05dpkg-source -x: create temporary directory next to the target placeRaphael Hertzog1-0/+8
* scripts/Dpkg/Source/Archive.pm (extract): Do not create the temp directory in the current directory but in the parent directory of the target directory. Otherwise the code would fail when called from a non-writable dir and rename could fail due to filesystem boundaries beetwen the current dir and the target one.
2008-12-05libdpkg: Move subprocess related functions from mlib.c to subproc.cGuillem Jover1-0/+7
2008-12-05libdpkg: Split unrelated conditionals in checksubprocerr for n and PROCPIPEGuillem Jover1-0/+5
2008-12-05libdpkg: In checksubprocerr return an explicit 0 instead of nGuillem Jover1-0/+4
2008-12-05Use the warning function instead of hand-coded print callsGuillem Jover1-0/+21
2008-12-05libdpkg: Make warning() not implicitly print the errno stringGuillem Jover1-0/+5
The callers who want the errno string should call strerror().