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)
Michael Vogt [Fri, 31 Oct 2008 20:03:19 +0000 (21:03 +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)
Michael Vogt [Fri, 10 Oct 2008 21:03:50 +0000 (23:03 +0200)]
* doc/apt-cache.8.xml:
- search command uses POSIX regex, and searches for virtual packages too
(closes: #277536)
* doc/offline.sgml: clarify remote and target hosts
(thanks to Nikolaus Schulz, closes: #175940)
* Fix several typos in docs, translations and debian/changelog
(thanks to timeless, Nicolas Bonifas and Josh Triplett,
closes: #368665, #298821, #411532, #431636, #461458)
* Document apt-key finger and adv commands
(thanks to Stefan Schmidt, closes: #350575)
* Better documentation for apt-get --option
(thanks to Tomas Pospisek, closes: #386579)
* Retitle the apt-mark.8 manpage (thanks to Justin Pryzby, closes: #471276)
* Better documentation on using both APT::Default-Release and
/etc/apt/preferences (thanks to Ingo Saitz, closes: #145575)
* fix FTBFS by changing build-depends to
* ABI library name change because it's built against
* Package that contains all the new features
* Branch that contains all the new features:
Michael Vogt [Tue, 7 Oct 2008 18:41:41 +0000 (20:41 +0200)]
* doc/apt-cache.8.xml:
- search command uses POSIX regex, and searches for virtual packages too
(closes: #277536)
* doc/offline.sgml: clarify remote and target hosts
(thanks to Nikolaus Schulz, closes: #175940)
* Fix several typos in docs, translations and debian/changelog
(thanks to timeless, Nicolas Bonifas and Josh Triplett,
closes: #368665, #298821, #411532, #431636, #461458)
* Document apt-key finger and adv commands
(thanks to Stefan Schmidt, closes: #350575)
* Better documentation for apt-get --option
(thanks to Tomas Pospisek, closes: #386579)
* Retitle the apt-mark.8 manpage (thanks to Justin Pryzby, closes: #471276)
* Better documentation on using both APT::Default-Release and
/etc/apt/preferences (thanks to Ingo Saitz, closes: #145575)
* fix FTBFS by changing build-depends to
* ABI library name change because it's built against
* Package that contains all the new features
* Branch that contains all the new features:
Michael Vogt [Wed, 1 Oct 2008 16:35:23 +0000 (18:35 +0200)]
* apt-pkg/packagemanager.cc, apt-pkg/deb/dpkgpm.cc:
- move the state file writting into the Go() implementation
of dpkgpm (closes: #498799)
* apt-pkg/algorithms.cc:
- fix simulation performance drop (thanks to Ferenc Wagner
for reporting the issue)
Daniel Burrows [Fri, 26 Sep 2008 01:24:09 +0000 (18:24 -0700)]
Restore the apt ABI.
The problem was that the size of pkgDpkgPM and its member offsets
changed because a map giving the names of the trigger states was
inserted into the middle of the structure. I fixed it by using a
statically allocated array instead. This changes the procedure for
looking up a string to a linear search, which should be fine (or
even faster than before) since there are only 4 state strings. If
it becomes a problem, sorting the array by key will allow us to use
std::equal_range(), but I would advise against this unless it's
really necessary, since sooner or later someone will forget to maintain
the sort order.