From: Michael Vogt Date: Sun, 26 Jan 2014 07:15:29 +0000 (+0100) Subject: Merge remote-tracking branch 'donkult/debian/sid' into debian/sid X-Git-Tag: 0.9.15.1~11 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/796673c38509300c988fbba2f2679ba3c76916db Merge remote-tracking branch 'donkult/debian/sid' into debian/sid Conflicts: apt-private/private-list.cc doc/po/de.po test/integration/framework --- 796673c38509300c988fbba2f2679ba3c76916db diff --cc apt-private/private-list.cc index fbb66d204,898ee7222..44a766c84 --- a/apt-private/private-list.cc +++ b/apt-private/private-list.cc @@@ -101,15 -101,11 +101,15 @@@ private /*}}}*/ void ListAllVersions(pkgCacheFile &CacheFile, pkgRecords &records, /*{{{*/ pkgCache::PkgIterator P, - std::ostream &outs) + std::ostream &outs, + bool include_summary=true) { for (pkgCache::VerIterator Ver = P.VersionList(); - Ver.end() == false; Ver++) - Ver.end() == false; ++Ver) - ListSingleVersion(CacheFile, records, Ver, outs); ++ Ver.end() == false; ++Ver) + { + ListSingleVersion(CacheFile, records, Ver, outs, include_summary); + outs << "\n"; + } } /*}}}*/ // list - list package based on criteria /*{{{*/ diff --cc doc/po/de.po index 3c9799fe1,67c3f992b..61f99ee81 --- a/doc/po/de.po +++ b/doc/po/de.po @@@ -1,14 -1,14 +1,29 @@@ --# Translation of apt-doc to German --# Copyright (C) 1997, 1998, 1999 Jason Gunthorpe and others. --# This file is distributed under the same license as the apt-doc package. - # Chris Leick , 2009-2012. -# Chris Leick , 2009-2014. ++# SOME DESCRIPTIVE TITLE. ++# Copyright (C) YEAR Free Software Foundation, Inc. ++# FIRST AUTHOR , YEAR. # ++#, fuzzy msgid "" msgstr "" - "Project-Id-Version: apt-doc 0.9.7\n" -"Project-Id-Version: apt-doc 0.9.14.2\n" --"Report-Msgid-Bugs-To: APT Development Team \n" - "POT-Creation-Date: 2014-01-25 22:21+0100\n" - "PO-Revision-Date: 2012-06-25 22:49+0100\n" ++"Project-Id-Version: PACKAGE VERSION\n" ++"PO-Revision-Date: 2014-01-26 08:14+0100\n" ++"Last-Translator: FULL NAME \n" ++"Language-Team: LANGUAGE \n" ++"MIME-Version: 1.0\n" ++"Content-Type: text/plain; charset=CHARSET\n" ++"Content-Transfer-Encoding: 8bit\n" ++ ++#~ # Translation of apt-doc to German ++#~ # Copyright (C) 1997, 1998, 1999 Jason Gunthorpe and others. ++#~ # This file is distributed under the same license as the apt-doc package. ++#~ # Chris Leick , 2009-2014. ++#~ # ++#~ msgid "" ++#~ msgstr "" ++#~ "Project-Id-Version: apt-doc 0.9.14.2\n" ++#~ "Report-Msgid-Bugs-To: APT Development Team \n" + "POT-Creation-Date: 2014-01-24 12:29+0100\n" + "PO-Revision-Date: 2014-01-21 20:59+0100\n" "Last-Translator: Chris Leick \n" "Language-Team: German \n" "Language: de\n" @@@ -6893,15 -6833,15 +6912,15 @@@ msgid " "arch2,… which can be used to add/remove " "architectures from the set which will be downloaded." msgstr "" - "arch=Architektur1," - "Architektur2, … kann benutzt werden, um " - "anzugeben, für welche Architekturen Paketinformationen heruntergeladen " - "werden sollen. Falls diese Option nicht gesetzt ist, werden alle durch die " - "Option APT::Architectures definierten Architekturen " - "heruntergeladen." + "arch+=Architektur1," + "Architektur2, … und arch-" + "=Architektur1,Architektur2, …, die benutzt werden können, um der " + "Zusammenstellung, die heruntergeladen werden soll, Architekturen " + "hinzuzufügen oder zu entfernen." #. type: Content of: -#: sources.list.5.xml:127 +#: sources.list.5.xml:149 msgid "" "trusted=yes can be set to indicate that packages from " "this source are always authenticated even if the Release> aptconfig.conf echo 'quiet::NoUpdate "true";' >> aptconfig.conf echo "Acquire::https::CaInfo \"${TESTDIR}/apt.pem\";" > rootdir/etc/apt/apt.conf.d/99https + echo "Apt::Cmd::Disable-Script-Warning \"1\";" > rootdir/etc/apt/apt.conf.d/apt-binary - export LC_ALL=C + export LC_ALL=C.UTF-8 export PATH="${PATH}:/usr/local/sbin:/usr/sbin:/sbin" configcompression '.' 'gz' #'bz2' 'lzma' 'xz' + + # gpg needs a trustdb to function, but it can't be invalid (not even empty) + # see also apt-key where this trickery comes from: + local TRUSTDBDIR="${TMPWORKINGDIRECTORY}/gnupghome" + mkdir "$TRUSTDBDIR" + chmod 700 "$TRUSTDBDIR" + # We also don't use a secret keyring, of course, but gpg panics and + # implodes if there isn't one available - and writeable for imports + local SECRETKEYRING="${TRUSTDBDIR}/secring.gpg" + touch $SECRETKEYRING + # now create the trustdb with an (empty) dummy keyring + # newer gpg versions are fine without it, but play it safe for now + gpg --quiet --check-trustdb --secret-keyring $SECRETKEYRING --keyring $SECRETKEYRING >/dev/null 2>&1 + msgdone "info" } @@@ -951,20 -997,10 +999,20 @@@ testempty() } testequal() { + local MSG='Test of equality of' + if [ "$1" = '--nomsg' ]; then + MSG='' + shift + fi + - local COMPAREFILE=$(mktemp) + local COMPAREFILE="${TMPWORKINGDIRECTORY}/rootdir/tmp/testequal.comparefile" + addtrap "rm $COMPAREFILE;" echo "$1" > $COMPAREFILE shift - msgtest "Test for equality of" "$*" + + if [ -n "$MSG" ]; then + msgtest "$MSG" "$*" + fi $* 2>&1 | checkdiff $COMPAREFILE - && msgpass || msgfail }