Age | Commit message (Collapse) | Author | Files | Lines |
|
* 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.
|
|
* 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>.
|
|
* 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).
|
|
* 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'.
|
|
Conflicts:
ChangeLog
configure.ac
debian/changelog
po/es.po
po/ja.po
po/ko.po
po/pt.po
po/ro.po
|
|
Add missing files in _SOURCES and EXTRA_DIST Makefile.am variables.
|
|
|
|
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
|
|
* 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.
|
|
* 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.
|
|
Closes: #505172
|
|
|
|
|
|
|
|
|
|
Add new option -P, --procsched <policy[:priority]>.
Closes: #175740
|
|
|
|
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
|
|
Closes: #502496
|
|
|
|
Closes: #507568
|
|
|
|
|
|
|
|
And we can thus remove a bogus cast.
|
|
|
|
|
|
|
|
To reduce inter-dependencies due to usage of printforhelp.
|
|
Closes: #509578
|
|
|
|
|
|
|
|
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.
|
|
* 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.
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
There's no point in a different failure vs error or syserr function, so
let's remove it.
|
|
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.
|
|
* 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>
|
|
* 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.
|
|
|
|
|
|
|
|
|
|
The callers who want the errno string should call strerror().
|