Daniel Burrows [Fri, 6 Mar 2009 16:22:53 +0000 (08:22 -0800)]
Fix FindFile (and FindDir) so that the value of RootDir is applied to the default if no value is found.
Previously FindFile("Dir::etc", "/etc") would use RootDir if a value
existed for "Dir::etc"; otherwise it would go ahead and use "/etc",
ignoring RootDir. Of course, this made RootDir fairly useless; it
has now been fixed.
Michael Vogt [Tue, 2 Dec 2008 19:54:43 +0000 (20:54 +0100)]
make "apt-get build-dep" installed packages marked automatic
by default. This can be changed by setting the value of
APT::Get::Build-Dep-Automatic to false (thanks to Aaron
Haviland, closes: #44874, LP: #248268)
Michael Vogt [Tue, 2 Dec 2008 19:16:41 +0000 (20:16 +0100)]
* doc/examples/sources.list:
- Removed obsolete commented non-us deb-src entry, replaced it with
'deb-src security.debian.org' one. (Closes: #411298)
* apt-pkg/contrib/mmap.cc:
- Added instruction how to work around MMap error in MMap error message.
(Closes: #385674, 436028)
Michael Vogt [Wed, 12 Nov 2008 15:21:38 +0000 (16:21 +0100)]
* doc/sources.list.5.xml:
- Mentioned allowed characters in file names in /etc/apt/sources.list.d.
Thanks to Matthias Urlichs. (Closes: #426913)
* doc/apt-get.8.xml:
- Included '-v'/'--version' as a command to synopsis.
* cmdline/apt-cache.cc:
- Advanced built-in help. Patch by Andre Felipe Machado. (Closes: #286061)
- Fixed typo 'GraphVis' -> 'GraphViz'. (Closes: #349038)
- Removed asking to file a release-critical bug against a package if there
is a request to install only one package and it is not installable.
(Closes: #419521)
Michael Vogt [Wed, 5 Nov 2008 12:47:53 +0000 (13:47 +0100)]
- Added '(x)' to some referrings to manpages in apt-get manpage. Patch by
Andre Felipe Machado. (Closes: #309893)
- Added 'dist-upgrade' apt-get synopsis in apt-get manpage.
(Closes: #323866)
Michael Vogt [Wed, 5 Nov 2008 12:20:25 +0000 (13:20 +0100)]
* debian/rules:
- Fixed lintian warnings "debian/rules ignores make errors".
* debian/control:
- Substituted outdated "Source-Version" fields with "binary:Version".
- Added 'python-apt' to Suggests, as apt-mark need it for work.
- Drop Debian revision from 'doc-base' build dependency, this fixes
appropriate lintian warning.
* debian/libapt-pkg-doc.doc-base.*:
- Changed section: from old 'Devel' to 'Debian'. This fixes appropriate
lintian warnings.
* debian/{postrm,prerm,preinst}:
- Added 'set -e', fixes lintian warnings
'maintainer-script-ignores-error'.
* dselect/makefile:
- Removed unneeded 'LOCAL' entry. This allows cleaning rule to run smoothly.
* share/lintian-overrides:
- Added with override of 'apt must depend on python'. Script 'apt-mark'
needs apt-python for working and checks this on fly. We don't want
python in most cases.
* cmdline/apt-key:
- Added 'unset GREP_OPTIONS' to the script. This prevents 'apt-key update'
failure when GREP_OPTIONS contains options that modify grep output.
(Closes: #428752)
* apt-pkg/acquire-item.cc:
- fix a merge mistake that prevents the fallback to the
uncompressed 'Packages' to work correctly (closes: #409284)
* apt-pkg/acquire-item.cc:
- Added fallback to uncompressed 'Packages' if neither 'bz2' nor 'gz'
available. (Closes: #409284)
* apt-pkg/algorithm.cc:
- Strip username and password from source URL in error message.
(Closes: #425150)
Michael Vogt [Wed, 5 Nov 2008 11:54:44 +0000 (12:54 +0100)]
* Fix typos:
- apt-pkg/depcache.cc
* Fix compilation warnings:
- apt-pkg/acquire.cc
- apt-pkg/versionmatch.cc
* Compilation fixes and portability improvement for compiling APT against non-GNU libc
(thanks to Martin Koeppe, closes: #392063):
- buildlib/apti18n.h.in:
+ textdomain() and bindtextdomain() must not be visible when --disable-nls
- buildlib/inttypes.h.in: undefine standard int*_t types
- Append INTLLIBS to SLIBS:
+ cmdline/makefile
+ ftparchive/makefile
+ methods/makefile
* doc/apt.conf.5.xml:
- clarify whether configuration items of apt.conf are case-sensitive
(thanks to Vincent McIntyre, closes: #345901)
Michael Vogt [Tue, 4 Nov 2008 21:12:20 +0000 (22:12 +0100)]
* debian/control:
- 'Vcs-Bzr' field is official, used it.
- Bumped 'Standards-Version' to 3.8.0, no changes needed.
- Actualized 'Uploaders' field.
* doc/:
- Substituded 'apt-archive' with 'apt-ftparchive' in docs.
Patch based on work of Andre Felipe Machado. (Closes: #350865)
- Mentioned '/<release>' and '=<version>' for 'apt-get install' and
'=<version>' for 'apt-get source' in apt-get manpage. Patch based on
work of Andre Felipe Machado. (Closes: #399673)
- Mentioned more short options in the apt-get manpage. Documented 'xvcg'
option in the apt-cache manpage. The part of patch by Andre Felipe
Machado. (Closes: #176106, #355945)
- Documented that 'apt-get install' command should be used for upgrading
some of installed packages. Based on patch by Nori Heikkinen and
Andre Felipe Machado. (Closes: #267087)
- Mentioned 'apt_preferences(5)' in apt manpage. (Closes: #274295)
- Documented 'APT::Default-Release' in apt.conf manpage. (Closes: #430399)
- APT::Install-Recommends is now true by default, mentioned this in
configure-index example. (Closes: #463268)
- Added 'APT::Get::AllowUnauthenticated' to configure-index example.
(Closes: #320225)
- Documented '--no-install-recommends' option in apt-get manpage.
(Closes: #462962)
- Documented 'Acquire::PDiffs' in apt.conf manpage. (Closes: #376029)
- Added 'copy', 'rsh', 'ssh' to the list of recognized URI schemes in
sources.list manpage, as they are already described under in the manpage.
- Removed notice that ssh/rsh access cannot use password authentication
from sources.list manpage. Thanks to Steffen Joeris. (Closes: #434894)