]> git.saurik.com Git - apt.git/commitdiff
Merge branch 'debian/sid' into ubuntu/master
authorMichael Vogt <mvo@debian.org>
Tue, 22 Oct 2013 14:53:32 +0000 (16:53 +0200)
committerMichael Vogt <mvo@debian.org>
Tue, 22 Oct 2013 14:53:32 +0000 (16:53 +0200)
Conflicts:
cmdline/apt-key
configure.ac
debian/apt.auto-removal.sh
debian/changelog
debian/control
debian/rules
po/apt-all.pot
po/ar.po
po/ast.po
po/bg.po
po/bs.po
po/ca.po
po/cs.po
po/cy.po
po/da.po
po/de.po
po/dz.po
po/el.po
po/es.po
po/eu.po
po/fi.po
po/fr.po
po/gl.po
po/hu.po
po/it.po
po/ja.po
po/km.po
po/ko.po
po/ku.po
po/lt.po
po/mr.po
po/nb.po
po/ne.po
po/nl.po
po/nn.po
po/pl.po
po/pt.po
po/pt_BR.po
po/ro.po
po/ru.po
po/sk.po
po/sl.po
po/sv.po
po/th.po
po/tl.po
po/uk.po
po/vi.po
po/zh_CN.po
po/zh_TW.po

1  2 
apt-pkg/deb/dpkgpm.cc
cmdline/apt-get.cc
cmdline/apt-key
debian/apt.auto-removal.sh
debian/apt.cron.daily
debian/changelog
debian/control
debian/rules
ftparchive/override.cc
prepare-release

Simple merge
Simple merge
diff --cc cmdline/apt-key
index 65d3f5400b01cced26d865b03bab2e7483dbf88c,713a41c0706997c400a3fc70af665ce44e5e16ca..b9cfe1e3446e2a0749dba0a0870a493f4c9d00ec
@@@ -3,27 -3,39 +3,38 @@@
  set -e
  unset GREP_OPTIONS
  
- # We don't use a secret keyring, of course, but gpg panics and
- # implodes if there isn't one available
- SECRETKEYRING="$(mktemp)"
- trap "rm -f '${SECRETKEYRING}'" 0 HUP INT QUIT ILL ABRT FPE SEGV PIPE TERM
- GPG_CMD="gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring ${SECRETKEYRING}"
+ GPG_CMD="gpg --ignore-time-conflict --no-options --no-default-keyring"
  
- if [ "$(id -u)" -eq 0 ]; then
-       # we could use a tmpfile here too, but creation of this tends to be time-consuming
-       eval $(apt-config shell TRUSTDBDIR Dir::Etc/d)
-       GPG_CMD="$GPG_CMD --trustdb-name ${TRUSTDBDIR}/trustdb.gpg"
- fi
+ # gpg needs a trustdb to function, but it can't be invalid (not even empty)
+ # so we create a temporary directory to store our fresh readable trustdb in
+ TRUSTDBDIR="$(mktemp -d)"
+ CURRENTTRAP="${CURRENTTRAP} rm -rf '${TRUSTDBDIR}';"
+ trap "${CURRENTTRAP}" 0 HUP INT QUIT ILL ABRT FPE SEGV PIPE TERM
+ 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
+ SECRETKEYRING="${TRUSTDBDIR}/secring.gpg"
+ touch $SECRETKEYRING
+ GPG_CMD="$GPG_CMD --secret-keyring $SECRETKEYRING"
+ GPG_CMD="$GPG_CMD --trustdb-name ${TRUSTDBDIR}/trustdb.gpg"
  
- GPG="$GPG_CMD"
+ # now create the trustdb with an (empty) dummy keyring
+ $GPG_CMD --quiet --check-trustdb --keyring $SECRETKEYRING
+ # and make sure that gpg isn't trying to update the file
+ GPG_CMD="$GPG_CMD --no-auto-check-trustdb --trust-model always"
  
+ GPG="$GPG_CMD"
  
 -MASTER_KEYRING=""
 -#MASTER_KEYRING=/usr/share/keyrings/debian-master-keyring.gpg
 +# ubuntu keyrings
 +MASTER_KEYRING=/usr/share/keyrings/ubuntu-master-keyring.gpg
+ eval $(apt-config shell MASTER_KEYRING APT::Key::MasterKeyring)
 -ARCHIVE_KEYRING_URI=""
 -#ARCHIVE_KEYRING_URI=http://ftp.debian.org/debian/debian-archive-keyring.gpg
 -eval $(apt-config shell ARCHIVE_KEYRING_URI APT::Key::ArchiveKeyringURI)
 -
 -ARCHIVE_KEYRING=/usr/share/keyrings/debian-archive-keyring.gpg
 +ARCHIVE_KEYRING=/usr/share/keyrings/ubuntu-archive-keyring.gpg
+ eval $(apt-config shell ARCHIVE_KEYRING APT::Key::ArchiveKeyring)
 -REMOVED_KEYS=/usr/share/keyrings/debian-archive-removed-keys.gpg
 +REMOVED_KEYS=/usr/share/keyrings/ubuntu-archive-removed-keys.gpg
+ eval $(apt-config shell REMOVED_KEYS APT::Key::RemovedKeys)
 +ARCHIVE_KEYRING_URI=http://archive.ubuntu.com/ubuntu/project/ubuntu-archive-keyring.gpg
++eval $(apt-config shell ARCHIVE_KEYRING_URI APT::Key::ArchiveKeyringURI)
 +TMP_KEYRING=/var/lib/apt/keyrings/maybe-import-keyring.gpg
  
  requires_root() {
        if [ "$(id -u)" -ne 0 ]; then
Simple merge
Simple merge
index 6b790453780f0ab6c0d1060c6f2cc22f199e1bba,65269de9586e2b2fbb92bd0ad84b9f7cbac31552..710e0efb8c7e992b0abb0df235168bf7fc747053
- apt (0.9.9.1) UNRELEASED; urgency=low
-   * debian/rules:
-     - call dh_clean in clean (closes: #714980)
-  -- Michael Vogt <michael.vogt@ubuntu.com>  Fri, 05 Jul 2013 16:39:34 +0200
++apt (0.9.12.1ubuntu1) trusty; urgency=low
++
++  * merged from the debian/sid branch:
++    - debian/gbp.conf: change build branch to ubuntu/master
++    - use ubuntu keyring and ubuntu archive keyring in apt-key
++    - run update-apt-xapian-index in apt.cron
++    - run apt-key net-update in cron.daily
++    - different example sources.list
++    - APT::pkgPackageManager::MaxLoopCount set to 5000
++    - apport pkgfailure handling
++    - ubuntu changelog download handling
++    - patch for apt cross-building, see http://bugs.debian.org/666772
++    - debian/apt.auto-removal.sh
++      + Keep linux-tools packages matching installed kernels
++  
++ -- Michael Vogt <michael.vogt@ubuntu.com>  Tue, 22 Oct 2013 16:46:46 +0200
++
+ apt (0.9.12.1) unstable; urgency=low
+   [ Michael Vogt ]
+   * do not send pkgname:arch over the APT::Status-Fd to not break
+     clients (closes: 726156). A new APT::Status-deb822-Fd will be
+     used to fix this.
+   * add integration tests for APT::Status-Fd
+   * add missing _() around the new "Progress" string
+   [ David Kalnischkies ]
+   * fix progress-segfault in case of dpkg errors/prompts (Closes: 726047)
+  -- Michael Vogt <mvo@debian.org>  Tue, 15 Oct 2013 18:25:51 +0200
+ apt (0.9.12) unstable; urgency=low
+   [ Christian Perrier ]
+   * Fix typo in apt-private/private-show.cc. Thanks to Benjamin
+     Keresa. Closes: #724073
+   
+   [ Mark Hymers ]
+   * fix libapt-inst for >2G debs (closes: #725483)
+   [ David Kalnischkies ]
+   * don't strip :any from dependencies in single-arch (Closes: 723586)
+   * pkg from only trusted sources keeps being trusted (Closes: 617690)
+   * compression-neutral message for missing data.tar member (Closes: 722710)
+   * print-uris prints regardless of quiet-level again (Closes: 722207)
+   * retry without partial data after a 416 response (Closes: 710924)
+   * replace "filesize - 1" trick in http with proper 416 handling
+   * fix partial (206 and 416) support in https
+   * handle complete responses to https range requests (Closes: 617643, 667699)
+     (LP: 1157943)
+   * don't consider holds for autoremoval (Closes: 724995)
+   * put fetch errors in 'source' on our errorstack
+   * use pkgAcqArchive in 'download' for proper errors
+   * fix lzma-support detection via xz binary
+   * do not ++ on erased package pointers in autoremove
+   [ Michael Vogt ]
+   * Add new "apt-get upgrade --with-new-pkgs" option (and add man-page for it).
+     So "apt-get upgrade --with-new-pkgs" will pull in new dependencies but
+     never remove packages
+   * Rename "--dpkg-progress" to "--show-progress" and document it in 
+     apt-get.8. This will show global install progress information in the
+     terminal.
+   * Fix status-fd progress calculation for certain multi-arch install/upgrade
+     situations
+   * add new -o DpkgPM::Progress-Fancy for nicer dpkg progress output 
+     on vt100+ terminals
+   * fix libapt-inst for >2G debs (closes: #725483), thanks to Mark Hymers 
+   * debian/apt.postinst: use --compare-versions lt instead of lt-nl, 
+     to ensure the apt-auto-removal file is correctly create, 
+     thanks to Ben Hutchings
+   * update Uploaders to match recent uploaders better
+   * Set the default "Acquire::PDiffs::FileLimit" to 20. If the amount
+     of pdiffs is bigger things tend to get slower. Set
+       Acquire::PDiffs::FileLimit "0";
+     in /etc/apt/apt.conf to get the old behavior back.
+  -- Michael Vogt <mvo@debian.org>  Wed, 09 Oct 2013 22:39:41 +0200
+ apt (0.9.11.4) unstable; urgency=low
+   [ Oskari Saarenmaa ]
+   * don't truncate 100 char long paths in tar extraction.
+     Thanks to Mika Eloranta for the testcase! (Closes: #689582)
+   [ David Kalnischkies ]
+   * do not trust FileFd::Eof() in pkgTagFile::Fill()
+     Thanks to Cyril Brulebois (Closes: 723705)
+  -- Michael Vogt <mvo@debian.org>  Fri, 20 Sep 2013 16:12:07 +0200
+ apt (0.9.11.3) unstable; urgency=low
+   [ Michael Vogt ]
+   * Add DPkgPM::Progress option to enable terminal install 
+     progress
+   * fix typo (mkostemp->mkstemp)
+   * Remove invalid "-f" option for apt-get check, thanks to
+     Philipp Weis (closes: #721477)
+   * Fix regression of "apt-cache unmet -i", thanks to Daniel Schepler
+     (closes: #722324)
+   [ David Kalnischkies ]
+   * use FileFd in HashSum test to unbreak non-linux ports.
+     Thanks to Aaron M. Ucko (Closes: 721723)
+  -- Michael Vogt <mvo@debian.org>  Tue, 10 Sep 2013 17:32:02 +0200
+ apt (0.9.11.2) unstable; urgency=low
+   [ Milo Casagrande ]
+   * Update Italian translation. Closes: #721030
+   
+   [ Trần Ngọc Quân ]
+   * Update Vietnamese translation. Closes: #720752
+   
+   [ Michael Vogt ]
+   * dselect/install:
+    - remove "-f" option for apt-get clean/auto-clean (closes: #720532)
+   * apt-private/private-cmndline.cc:
+     - fix typo in CmdMatches() selection for dselect-upgrade (closes: #720532)
+   * use SPtr<pkgProblemResolver> in DoInstall() to simplify the code
+   * allow pkg manipulation in the upgrade/dist-upgrade commandline, like
+     apt-get dist-upgrade 2vcard- 4g8+ (thanks to Thorsten Glaser for the
+     suggestion)
+   [ Angel Guzman Maeso ]
+   * replace usage of potential dangerous mktemp with mkstemp
+  -- Michael Vogt <mvo@debian.org>  Sat, 31 Aug 2013 16:45:31 +0200
+ apt (0.9.11.1) unstable; urgency=low
+   [ Michael Vogt ]
+   * more coverity fixes:
+     - explicit init 
+     - always chdir("/") after chroot()
+     - ftparchive/override.cc: fix "skip empty lines" code, the pointer 
+       needs to get de-referenced first
+   * dselect/update: 
+     - remove "-f" option for apt-get update to fix breakage (closes: 720532)
+   [ Christopher Baines ]
+   * Add test for bug #507998
+   [ David Kalnischkies ]
+   * add a breaks libapt-inst for FileFd changes in 0.9.9 (Closes: 720449)
+   * add versions to manpages-it Replaces+Breaks
+   [ Ángel Guzmán Maeso ]
+   * apt-pkg:contrib Avoid compiler warning about sign-compare
+  -- Michael Vogt <mvo@debian.org>  Sat, 24 Aug 2013 09:13:27 +0200
+ apt (0.9.11) unstable; urgency=low
+   [ Daniel Hartwig ]
+   * Clarify units of Acquire::http::Dl-Limit (closes: #705445)
+   * Show a error message if {,dist-}upgrade is used with additional
+     arguments (closes: #705510)
+   [ Michael Vogt ]
+   * lp:~mvo/apt/config-clear:
+     - support Configuration.Clear() for a clear of the entire 
+       configuration
+   * lp:~mvo/apt/add-glob-function:
+     -  add Glob() to fileutl.{cc,h}
+   * feature/apt-binary2
+     - refactor large chunks of cmdline/*.cc into a new libapt-private
+       library that is shared between the internal apt cmdline tools
+     - install libapt-private* into the apt binary
+     - add PACKAGE_MATCHER_ABI_COMPAT define so that this branch can be 
+       merged without breaking ABI
+     - add lintian override for no-shlibs-control-file so that
+       the internal libapt-private.so.0.0.0 can be shipped
+     - adjust apt.install.in to only install libapt-private.so.*
+   [ David Kalnischkies ]
+   * ensure that pkgTagFile isn't writing past Buffer length (Closes: 719629)
+   * allow Pre-Install-Pkgs hooks to get info over an FD != stdin
+     (Closes: #671726)
+   [ Christian PERRIER ]
+   * French translation update.
+  -- Michael Vogt <mvo@debian.org>  Wed, 21 Aug 2013 17:51:09 +0200
+ apt (0.9.10) unstable; urgency=low
+   The "Hello to Debconf" upload
+   
+   [ Christian Perrier ]
+   * Vietnamese translation update. Closes: #718615
+   * Japanese translation update. Closes: #719279
+   * French translation update.
+   [ Michael Vogt ]
+   * work on fixing coverity scan results:
+     - fix some off-by-one errors
+     - fix some resource leaks
+     - fixes in chroot() handling
+     - fix some missing va_end()
+   * make the code -Wall clean again
+   * remove duplicated #include<list>
+   * add .travis.yml
+   * use the 'abi-complicance-checker' package and remove the buildin 
+     copy for the abi checks
+   [ David Kalnischkies ]
+   * ensure that FileFd::Size returns 0 in error cases
+   * add missing Turkish (tr) to po/LINGUAS
+   * correct management-typo in description found by lintian
+   * implement debian/rules build-{arch,indep} as required by policy 3.9.4
+   * reenable automatic parallel build of APT
+   * exclude config.{sub,guess} from source package
+   * update the symbol files to reflect current state
+   * unset LANGUAGE for showing [Y/n] answer hints
+   * fix some unitialized data members
+   * specific pins below 1000 cause downgrades (Closes: 543966)
+   * use pkgTagFile to parse "header" of Release files
+   * fix: --print-uris removes authentication (Closes: 719263)
+   * always use our own trustdb.gpg in apt-key
+   * use a tmpfile for trustdb.gpg in apt-key.
+     Thanks to Andreas Beckmann for the initial patch! (Closes: #687611)
+   * do not double-slash paths in apt-key (Closes: 665411)
+   * make the keyring locations in apt-key configurable
+   * let apt-key del work better with softlink and single key keyrings
+   * do not call 'apt-key update' in apt.postinst
+   
+   [ Colin Watson ]
+   * prefer native arch over higher priority for providers (Closes: #718482)
+  -- Michael Vogt <mvo@debian.org>  Mon, 12 Aug 2013 21:45:07 +0200
+ apt (0.9.9.4) unstable; urgency=low
+   [ David Kalnischkies ]
+   * pick up Translation-* even if only compressed available (Closes: 717665)
+   * request absolute URIs from proxies again (0.9.9.3 regession)
+     (Closes: 717891)
+   
+   [ Michael vogt ]
+   * fix missing changelog entry for 0.9.9.3 (git-dch issue)
+  -- Michael Vogt <mvo@debian.org>  Fri, 26 Jul 2013 09:58:17 +0200
+ apt (0.9.9.3) unstable; urgency=low
+   [ Ben Hutchings ]
+   * debian/apt.auto-removal.sh:
+     - do not include debug symbol packages for the kernel in the 
+       blacklist (closes: #717616)
+   
+   [ Michael Vogt ]
+   * debian/apt.postinst:
+     - run /etc/kernel/postinst.d/apt-auto-removal once on upgrade
+       to ensure that the correct auto-removal list is generated
+       (closes: #717615)
+   [ David Kalnischkies ]
+   * skip all Description fields in apt-cache, not just first (Closes: 717254)
+   * fix 'apt-cache search' crash with missing description (Closes: 647590)
+   [ Raphael Geissert ]
+   * Do not send a connection: keep-alive, at all
+   
+  -- Michael Vogt <mvo@debian.org>  Thu, 25 Jul 2013 17:14:58 +0200
+ apt (0.9.9.2) unstable; urgency=low
+   [ Programs translations ]
+   * Vietnamese updated by Tran Ngoc Quan. Closes: #717016
+   [ David Kalnischkies ]
+   * fix if-clause to generate hook-info for 'rc' packages (Closes: 717006)
+  -- Michael Vogt <mvo@debian.org>  Wed, 17 Jul 2013 14:56:34 +0200
+ apt (0.9.9.1) unstable; urgency=low
+   [ Michael Vogt ]
+   * debian/rules:
+     - call dh_clean in clean (closes: #714980)
+   * apt-pkg/packagemanager.cc:
+     - increate APT::pkgPackageManager::MaxLoopCount to 5000
+   * cherry pick debian/apt.auto-removal.sh feature from the
+     ubuntu/master branch
+   [ Steve Langasek ]
+   * debian/apt.conf.autoremove: don't include linux-image*,
+     linux-restricted-modules*, and linux-ubuntu-modules* packages in the
+     list to never be autoremoved.
+   * debian/apt.auto-removal.sh, debian/rules, debian/apt.dirs: install new
+     script to /etc/kernel/postinst.d/ which ensures we only automatically
+     keep the currently-running kernel, the being-installed kernel, and the
+     newest kernel, so we don't fill /boot up with an unlimited number of
+     kernels.  LP: #923876.
+   [ Adam Conrad ]
+   * Fix up two things in debian/apt.auto-removal.sh:
+     - Use exact matches with $-terminated regexes, so we don't get
+       confusion between similarly-named kernel flavours.
+     - Keep linux-backports-modules in sync with installed kernels.
+   [ David Kalnischkies ]
+   * Version 3 for DPkg::Pre-Install-Pkgs with MultiArch info (Closes: #712116)
+   * implement arch+= and arch-= for sources.list
+   * prevent MarkInstall of unsynced Multi-Arch:same siblings
+  -- Michael Vogt <mvo@debian.org>  Thu, 11 Jul 2013 20:44:31 +0200
 +apt (0.9.9.1~ubuntu3) saucy; urgency=low
 +
 +  * Keep linux-tools packages matching installed kernels (LP: #1205284)
 +
 + -- Adam Conrad <adconrad@ubuntu.com>  Wed, 11 Sep 2013 11:48:09 -0400
 +
 +apt (0.9.9.1~ubuntu2) saucy; urgency=low
 +
 +  * Prefer native architecture over higher priority for providers (closes:
 +    #718482).
 +
 + -- Colin Watson <cjwatson@ubuntu.com>  Thu, 01 Aug 2013 16:33:32 +0100
 +
 +apt (0.9.9.1~ubuntu1) saucy; urgency=low
 +
 +  * merged from the debian/sid branch:
 +    - debian/gbp.conf: change build branch to ubuntu/master
 +    - use ubuntu keyring and ubuntu archive keyring in apt-key
 +    - run update-apt-xapian-index in apt.cron
 +    - run apt-key net-update in cron.daily
 +    - different example sources.list
 +    - APT::pkgPackageManager::MaxLoopCount set to 5000
 +    - apport pkgfailure handling
 +    - ubuntu changelog download handling
 +    - patch for apt cross-building, see http://bugs.debian.org/666772
 +    - debian/apt.auto-removal.sh
 +      + make kernels auto-removable
 +
 + -- Michael Vogt <michael.vogt@ubuntu.com>  Wed, 10 Jul 2013 17:03:52 +0200
 +
  apt (0.9.9) unstable; urgency=low
  
    [ Michael Vogt ]
diff --cc debian/control
index e43a155f171e70d8fe9e27a716fd467efb1f4aa0,673fba47732a2512811e0bfd8f3faaa9d19decbb..fef3468433c863affa65cd559166bb6ac3c3a46e
@@@ -1,12 -1,10 +1,11 @@@
  Source: apt
  Section: admin
  Priority: important
 -Maintainer: APT Development Team <deity@lists.debian.org>
 -Uploaders: Michael Vogt <mvo@debian.org>, Christian Perrier <bubulle@debian.org>, 
 +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
 +XSBC-Original-Maintainer: APT Development Team <deity@lists.debian.org>
- Uploaders: Michael Vogt <mvo@debian.org>, Otavio Salvador <otavio@debian.org>,
-  Christian Perrier <bubulle@debian.org>, Daniel Burrows <dburrows@debian.org>,
++Uploaders:  Michael Vogt <mvo@debian.org>, Christian Perrier <bubulle@debian.org>, 
   Julian Andres Klode <jak@debian.org>
- Standards-Version: 3.9.3
+ Standards-Version: 3.9.4
  Build-Depends: dpkg-dev (>= 1.15.8), debhelper (>= 8.1.3~), libdb-dev,
   gettext (>= 0.12), libcurl4-gnutls-dev (>= 7.19.4~),
   zlib1g-dev, libbz2-dev, xsltproc, docbook-xsl, docbook-xml,
@@@ -18,8 -16,9 +17,9 @@@ Vcs-Browser: http://anonscm.debian.org/
  
  Package: apt
  Architecture: any
 -Depends: ${shlibs:Depends}, ${misc:Depends}, debian-archive-keyring, gnupg
 +Depends: ${shlibs:Depends}, ${misc:Depends}, ubuntu-keyring, gnupg
- Replaces: manpages-pl (<< 20060617-3~), manpages-it
+ Replaces: manpages-pl (<< 20060617-3~), manpages-it (<< 2.80-4~)
+ Breaks: manpages-pl (<< 20060617-3~), manpages-it (<< 2.80-4~)
  Conflicts: python-apt (<< 0.7.93.2~)
  Suggests: aptitude | synaptic | wajig, dpkg-dev, apt-doc, xz-utils, python-apt
  Description: commandline package manager
diff --cc debian/rules
index 0eaeaf79a89bce3fdf2394b574f63f6f07b578d0,06ccdac31c245478923b43bdd0ed55cb9b99cd0b..043f5647bd4d97b3852b2bbd0d53a75919a7a563
@@@ -186,10 -183,8 +186,10 @@@ apt: build-binary build-manpages debian
  # apt install
  #
        cp debian/apt.conf.autoremove debian/$@/etc/apt/apt.conf.d/01autoremove
 +      cp debian/apt.conf.changelog debian/$@/etc/apt/apt.conf.d/20changelog
++      cp share/ubuntu-archive.gpg debian/$@/usr/share/$@
        cp debian/apt.auto-removal.sh debian/$@/etc/kernel/postinst.d/apt-auto-removal
        chmod 755 debian/$@/etc/kernel/postinst.d/apt-auto-removal
-       cp share/ubuntu-archive.gpg debian/$@/usr/share/$@
  
        # make rosetta happy and remove pot files in po/ (but leave stuff
        # in po/domains/* untouched) and cp *.po into each domain dir
Simple merge
diff --cc prepare-release
Simple merge