merge related patch and packaeging directory 69/277169/1
authorwang biao <biao716.wang@samsung.com>
Fri, 1 Jul 2022 07:16:06 +0000 (15:16 +0800)
committerbiao716.wang <biao716.wang@samsung.com>
Fri, 1 Jul 2022 07:53:50 +0000 (16:53 +0900)
Change-Id: I420830e05e1f6ad60aab0d2eaae718ce62bfb914
Signed-off-by: wang biao <biao716.wang@samsung.com>
cputable
debian/changelog
man/update-alternatives.1
packaging/dpkg.spec [new file with mode: 0644]
packaging/sensible-editor [new file with mode: 0644]
utils/update-alternatives.c

index 9c24003..7c7541d 100755 (executable)
--- a/cputable
+++ b/cputable
@@ -41,5 +41,5 @@ sh3           sh3             sh3                     32      little
 sh3eb          sh3eb           sh3eb                   32      big
 sh4            sh4             sh4                     32      little
 sh4eb          sh4eb           sh4eb                   32      big
-sparc          sparc           sparc                   32      big
-sparc64                sparc64         sparc64                 64      big
+sparc64                sparc64         sparc64.*               64      big
+sparc          sparc           sparc.*                 32      big
index 42667d9..cbd3a4f 100755 (executable)
@@ -1,90 +1,7 @@
-dpkg (1.18.4ubuntu1.7) xenial; urgency=medium
-
-  * Add Zstandard (zstd) decompression support for binary packages
-    (LP: #1764220)
-    - The changes to ./configure and *.in files were cherry-picked from a
-      manual autoreconf run because the package build does not run
-      autoreconf automatically and the full delta from autoreconf
-      was very big.
-
- -- Balint Reczey <rbalint@ubuntu.com>  Mon, 12 Apr 2021 17:41:27 +0200
-
-dpkg (1.18.4ubuntu1.6) xenial; urgency=medium
-
-  * Cherry-pick upstream fixes for trigger loops (LP: #1828639)
-    - dpkg: Negate tortoise_not_in_hare() function name and return value
-    - dpkg: Initialize trigcyclenode's next member once
-    - dpkg: Factor trigproc_new_cyclenode() out from check_trigger_cycle()
-    - dpkg: Mark the package we are giving up on a trigger cycle as istobe normal
-    - dpkg: Switch dependtry from an int to an enum
-    - dpkg: Reset progress_bytrigproc once we have injected into the current iteration
-    - dpkg: Split trigger processing types into required, try-queued and try-deferred
-    - dpkg: Convert one trigger processing required type into the new try-queued
-    - dpkg: Move trigproc cycle reset inside try-deferred conditional
-    - dpkg: Introduce a new dependency try level for trigger processing
-    - dpkg: Introduce a new dependency try level for trigger cycle checks
-
- -- Julian Andres Klode <juliank@ubuntu.com>  Tue, 16 Jul 2019 14:57:11 +0200
-
-dpkg (1.18.4ubuntu1.5) xenial; urgency=medium
-
-  * Apply patch from upstream to add frontend locking (LP: #1796081):
-    - Add support for frontend locking. This makes it possible for frontends
-      using this new protocol, to safely lock the dpkg database w/o risk of
-      race conditions with other dpkg instances or frontends supporting the
-      same protocol.
-
- -- Julian Andres Klode <juliank@ubuntu.com>  Thu, 04 Oct 2018 14:21:49 +0200
-
-dpkg (1.18.4ubuntu1.4) xenial; urgency=medium
-
-  * Cherry-pick d01212f2d7e59fc713c66b5d60421ac2296c1463 from 1.18.5:
-    - Allow detached upstream orig tarball signatures when extracting
-      version 1.0 non-native source packages (LP: #1751114)
-
- -- Adam Conrad <adconrad@ubuntu.com>  Wed, 14 Mar 2018 13:17:08 -0600
-
-dpkg (1.18.4ubuntu1.3) xenial; urgency=medium
-
-  * Use ohshit() instead of internerr() for unhandled dpkg-split exit
-    codes. (i.e. do not abort). Closes: #812679, LP: #1601998
-
- -- Brian Murray <brian@ubuntu.com>  Fri, 20 Oct 2017 16:14:06 -0700
-
-dpkg (1.18.4ubuntu1.2) xenial; urgency=medium
-
-  * Cherry-pick patch from git to limit preallocation to files over
-    16KiB, fixing installation performance regression (LP: #1663749)
-
- -- Adam Conrad <adconrad@ubuntu.com>  Mon, 10 Apr 2017 04:08:19 -0600
-
-dpkg (1.18.4ubuntu1.1) xenial; urgency=medium
-
-    * Add Breaks on ufw (<< 0.35-0ubuntu2~) for trigger loops (LP: #1571174)
-
- -- Adam Conrad <adconrad@ubuntu.com>  Thu, 12 May 2016 04:35:55 -0600
-
-dpkg (1.18.4ubuntu1) xenial; urgency=medium
-
-  * Merge from Debian testing; remaining changes in the Ubuntu delta:
-    - Change native source version/format mismatch errors into warnings
-      until the dust settles on Debian bug 737634 about override options.
-    - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level
-      tools can get untranslated dpkg terminal log messages while at the
-      same time having translated debconf prompts.
-    - Special-case arm{el,hf} ELF objects in Shlibs/Objdump.pm for multilib.
-    - Map unqualified package names of multiarch-same packages to the native
-      arch instead of throwing an error, so that we don't break on upgrade
-      when there are unqualified names stored in the dpkg trigger database.
-    - Apply a workaround from mvo to consider ^rc packages as multiarch,
-      during the dpkg consistency checks. (see LP: 1015567 and 1057367).
-    - Carry over Breaks/Conflicts for triggers/upgrades until post-16.04.
-
- -- Adam Conrad <adconrad@ubuntu.com>  Tue, 12 Jan 2016 14:24:21 -0700
-
 dpkg (1.18.4) unstable; urgency=medium
 
   [ Guillem Jover ]
+  * Add Zstandard (zstd) decompression support for binary packages
   * Switch dpkg-scansources and dpkg-scanpackages to use File::Find instead
     of find(1), as the former is more portable with more consistent behavior,
     and always canonicalizes the pathnames. Closes: #800649
@@ -160,24 +77,6 @@ dpkg (1.18.4) unstable; urgency=medium
 
  -- Guillem Jover <guillem@debian.org>  Fri, 25 Dec 2015 13:20:26 +0100
 
-dpkg (1.18.3ubuntu1) xenial; urgency=medium
-
-  * Merge from Debian testing; remaining changes in the Ubuntu delta:
-    - Change native source version/format mismatch errors into warnings
-      until the dust settles on Debian bug 737634 about override options.
-    - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level
-      tools can get untranslated dpkg terminal log messages while at the
-      same time having translated debconf prompts.
-    - Special-case arm{el,hf} ELF objects in Shlibs/Objdump.pm for multilib.
-    - Map unqualified package names of multiarch-same packages to the native
-      arch instead of throwing an error, so that we don't break on upgrade
-      when there are unqualified names stored in the dpkg trigger database.
-    - Apply a workaround from mvo to consider ^rc packages as multiarch,
-      during the dpkg consistency checks. (see LP: 1015567 and 1057367).
-    - Carry over Breaks/Conflicts for triggers/upgrades until post-16.04.
-
- -- Adam Conrad <adconrad@ubuntu.com>  Fri, 23 Oct 2015 16:20:32 +0100
-
 dpkg (1.18.3) unstable; urgency=medium
 
   [ Guillem Jover ]
@@ -248,39 +147,6 @@ dpkg (1.18.3) unstable; urgency=medium
 
  -- Guillem Jover <guillem@debian.org>  Mon, 21 Sep 2015 07:11:42 +0200
 
-dpkg (1.18.2ubuntu5) wily; urgency=medium
-
-  * Pull packaging changes from 1.18.3 to fix libdir issues (LP: #1504761)
-  * Fix an off-by-one write access in dpkg-deb when parsing the deb magic.
-  * Fix a segfault when using «dpkg --no-act» with a synthetic --admindir.
-
- -- Adam Conrad <adconrad@ubuntu.com>  Sat, 17 Oct 2015 12:47:12 -0600
-
-dpkg (1.18.2ubuntu4) wily; urgency=medium
-
-  * Add a Breaks on software-center (<< 13.10-0ubuntu9~) for trigger loops.
-
- -- Adam Conrad <adconrad@ubuntu.com>  Fri, 11 Sep 2015 11:11:01 -0600
-
-dpkg (1.18.2ubuntu3) wily; urgency=medium
-
-  * Cherrypick fix from git to be less strict about week day parsing.
-  * Extend the above to also be less strict about month name parsing.
-
- -- Adam Conrad <adconrad@ubuntu.com>  Wed, 26 Aug 2015 16:39:42 -0600
-
-dpkg (1.18.2ubuntu2) wily; urgency=medium
-
-  * Add a Breaks on dbus (<< 1.8.12-1ubuntu6~) to avoid the noawait trigger.
-
- -- Adam Conrad <adconrad@ubuntu.com>  Tue, 18 Aug 2015 13:51:02 -0600
-
-dpkg (1.18.2ubuntu1) wily; urgency=medium
-
-  * Merge with Debian unstable, bringing in a whole host of new bugfixes.
-
- -- Adam Conrad <adconrad@ubuntu.com>  Thu, 13 Aug 2015 02:05:42 -0600
-
 dpkg (1.18.2) unstable; urgency=low
 
   [ Guillem Jover ]
@@ -394,24 +260,6 @@ dpkg (1.18.2) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Mon, 03 Aug 2015 15:40:21 +0200
 
-dpkg (1.18.1ubuntu1) wily; urgency=medium
-
-  * Merge from Debian testing; remaining changes in the Ubuntu delta:
-    - Change native source version/format mismatch errors into warnings
-      until the dust settles on Debian bug 737634 about override options.
-    - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level
-      tools can get untranslated dpkg terminal log messages while at the
-      same time having translated debconf prompts.
-    - Special-case arm{el,hf} ELF objects in Shlibs/Objdump.pm for multilib.
-    - Map unqualified package names of multiarch-same packages to the native
-      arch instead of throwing an error, so that we don't break on upgrade
-      when there are unqualified names stored in the dpkg trigger database.
-    - Apply a workaround from mvo to consider ^rc packages as multiarch,
-      during the dpkg consistency checks. (see LP: 1015567 and 1057367).
-  * Carry over Breaks/Conflicts for triggers/upgrades until post-16.04.
-
- -- Adam Conrad <adconrad@ubuntu.com>  Mon, 27 Jul 2015 15:45:43 -0600
-
 dpkg (1.18.1) unstable; urgency=low
 
   [ Guillem Jover ]
@@ -710,107 +558,6 @@ dpkg (1.18.0) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Mon, 18 May 2015 15:08:31 +0200
 
-dpkg (1.17.25ubuntu1) vivid; urgency=medium
-
-  * Merge with Debian, pulling in the upstream fix for CVE-2015-0840,
-    a couple of updated translations, and several trivial bug fixes.
-
- -- Adam Conrad <adconrad@ubuntu.com>  Fri, 10 Apr 2015 21:36:44 -0600
-
-dpkg (1.17.25) unstable; urgency=medium
-
-  [ Guillem Jover ]
-  * Do not leak kvm descriptors in start-stop-daemon on GNU/kFreeBSD systems.
-    Based on a patch by Jeff Epler <jepler@unpythonic.net>. Closes: #779467
-  * Fix OpenPGP Armor Header Line parsing in Dpkg::Control::Hash. We should
-    only accept [\r\t ] as trailing whitespace, although RFC4880 does not
-    clarify what whitespace really maps to, we should really match the GnuPG
-    implementation anyway, as that's what we use to verify the signatures.
-    Reported by Jann Horn <jann@thejh.net>. Fixes CVE-2015-0840.
-  * Use correct versions in Conflicts for removed packages. Closes: #776984
-  * Use backports friendly versions in Breaks/Conflicts.
-    Reported by Thorsten Glaser <tg@debian.org>.
-  * Fix perl warning in dpkg-genchanges when parsing BY-HAND file entries.
-    Regression introduced in dpkg 1.17.7. Closes: #781074
-
-  [ Updated programs translations ]
-  * Dutch (Frans Spiesschaert). Closes: #779953
-  * Hungarian (Úr Balázs).
-
- -- Guillem Jover <guillem@debian.org>  Thu, 09 Apr 2015 23:40:47 +0200
-
-dpkg (1.17.24ubuntu2) vivid; urgency=medium
-
-  * SECURITY UPDATE: OpenPGP Armor Header Line parsing issue
-    - scripts/Dpkg/Control/HashCore.pm: adjust whitespace parsing.
-    - scripts/Makefile.*, scripts/t/Dpkg_Control.t,
-      scripts/t/Dpkg_Control/bogus-armor-formfeed.dsc: added tests.
-    - Patch thanks to Guillem Jover
-    - CVE-2015-0840
-
- -- Marc Deslauriers <marc.deslauriers@ubuntu.com>  Thu, 09 Apr 2015 11:41:14 -0400
-
-dpkg (1.17.24ubuntu1) vivid; urgency=medium
-
-  * Merge with Debian unstable, which pulls in bugfixes, and disables
-    dependency checks on trigger processing, quieting trigger cycles.
-
- -- Adam Conrad <adconrad@ubuntu.com>  Fri, 20 Mar 2015 22:21:07 -0600
-
-dpkg (1.17.24) unstable; urgency=low
-
-  [ Guillem Jover ]
-  * Add missing versioned Breaks on packages creating trigger cycles.
-    Namely debian-security-support, doc-base, gitweb, grace, install-info,
-    libapache2-mod-php5, libapache2-mod-php5filter, php5-fpm and xine-ui.
-    Closes: #774794
-  * Switch versioned Breaks for trigger cycles from <= to << relations (with
-    the necessary version adjustments).
-  * Add Conflicts for removed packages expecting dpkg to ship install-info.
-    Namely octave3.2-info, octave3.0-info and polgen-doc. Closes: #776984
-  * Do not accept unknown user or group names on «dpkg-statoverride --add».
-    Regression introduced in dpkg 1.17.11. Closes: #775124
-  * Check that HAVE_DECL_SYS_SIGLIST is 0 instead of undefined, to fix a
-    build failure on uclibc based systems. Closes: #777044
-    Based on a patch by Alex Potapenko <opotapenko@gmail.com>.
-  * Disable dependency checks on trigger processing. There are still trigger
-    cycles showing up this close to the Debian release, which are hard to
-    detect automatically as they are caused by maintainer script actions.
-    Requested by Niels Thykier <niels@thykier.net> (Debian Release Manager).
-
-  [ Raphaël Hertzog ]
-  * Drop myself from Uploaders.
-
-  [ Updated programs translations ]
-  * All complete languages (shadow package).
-  * Thai (Theppitak Karoonboonyanan).
-
-  [ Updated manpages translations ]
-  * German (Helge Kreutzmann).
-
- -- Guillem Jover <guillem@debian.org>  Sun, 22 Feb 2015 22:54:51 +0100
-
-dpkg (1.17.23ubuntu1) vivid; urgency=medium
-  
-  * Merge from Debian unstable.  Remaining changes:
-    - Change native source version/format mismatch errors into warnings
-      until the dust settles on Debian bug 737634 about override options.
-    - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level
-      tools can get untranslated dpkg terminal log messages while at the
-      same time having translated debconf prompts.
-    - Special-case arm{el,hf} ELF objects in Shlibs/Objdump.pm for multilib.
-    - Map unqualified package names of multiarch-same packages to the native
-      arch instead of throwing an error, so that we don't break on upgrade
-      when there are unqualified names stored in the dpkg trigger database.
-    - Apply a workaround from mvo to consider ^rc packages as multiarch,
-      during the dpkg consistency checks. (see LP: 1015567 and 1057367).
-    - Bump fontconfig Breaks to match Ubuntu version; can be reverted after
-      vivid ships, as the Debian Breaks version was higher than trusty's.
-    - Add ureadahead to the long list of trigger-related Breaks as well.
-  * Remove multiarch upgrade code from postinst, which is no longer needed.
- -- Adam Conrad <adconrad@ubuntu.com>  Fri, 05 Dec 2014 10:52:37 -0700
-
 dpkg (1.17.23) unstable; urgency=low
 
   [ Guillem Jover ]
@@ -929,38 +676,6 @@ dpkg (1.17.22) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Fri, 28 Nov 2014 02:02:34 +0100
 
-dpkg (1.17.21ubuntu2) vivid; urgency=medium
-
-  * Cherry-pick from Debian (LP: #1394893)
-    + Add Breaks on old man-db, fontconfig and readahead-fedora packages using
-      awaiting triggers, as they produce trigger cycles. Closes: #768599
-  * Modify the above to specify the version of fontconfig that included this
-    change in Ubuntu, and to add ureadahead.
-
- -- Iain Lane <iain.lane@canonical.com>  Mon, 08 Dec 2014 12:09:15 +0000
-
-dpkg (1.17.21ubuntu1) vivid; urgency=low
-
-  * Merge from Debian unstable.  Remaining changes:
-    - Change native source version/format mismatch errors into warnings
-      until the dust settles on Debian bug 737634 about override options.
-    - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level
-      tools can get untranslated dpkg terminal log messages while at the
-      same time having translated debconf prompts.
-    - Special-case arm{el,hf} ELF objects in Shlibs/Objdump.pm for multilib.
-    - Map unqualified package names of multiarch-same packages to the native
-      arch instead of throwing an error, so that we don't break on upgrade
-      when there are unqualified names stored in the dpkg trigger database.
-    - Add logic to the postinst to `dpkg --add-architecture i386' on new
-      installs on amd64, mimicking our previous behaviour with the conffile.
-    - Apply a workaround from mvo to consider ^rc packages as multiarch,
-      during the dpkg consistency checks. (see LP: 1015567 and 1057367).
-  * drop po/pot delta that was generated by MoM
-  * run touch configure configure.ac build-aux/* to ensure that timestamps
-    match and automake is not invoked again
-
- -- Michael Vogt <michael.vogt@ubuntu.com>  Wed, 29 Oct 2014 10:07:32 +0100
-
 dpkg (1.17.21) unstable; urgency=low
 
   [ Guillem Jover ]
@@ -1291,26 +1006,6 @@ dpkg (1.17.14) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Mon, 06 Oct 2014 00:11:08 +0200
 
-dpkg (1.17.13ubuntu1) utopic; urgency=medium
-
-  * Merge from Debian unstable.  Remaining changes:
-    - Allow -fstack-protector on arm64 now that GCC and glibc support it.
-    - Change native source version/format mismatch errors into warnings
-      until the dust settles on Debian bug 737634 about override options.
-    - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level
-      tools can get untranslated dpkg terminal log messages while at the
-      same time having translated debconf prompts.
-    - Special-case arm{el,hf} ELF objects in Shlibs/Objdump.pm for multilib.
-    - Map unqualified package names of multiarch-same packages to the native
-      arch instead of throwing an error, so that we don't break on upgrade
-      when there are unqualified names stored in the dpkg trigger database.
-    - Add logic to the postinst to `dpkg --add-architecture i386' on new
-      installs on amd64, mimicking our previous behaviour with the conffile.
-    - Apply a workaround from mvo to consider ^rc packages as multiarch,
-      during the dpkg consistency checks. (see LP: 1015567 and 1057367).
-
- -- Adam Conrad <adconrad@ubuntu.com>  Thu, 21 Aug 2014 12:35:23 -0600
-
 dpkg (1.17.13) unstable; urgency=low
 
   [ Guillem Jover ]
@@ -1350,25 +1045,6 @@ dpkg (1.17.13) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Tue, 19 Aug 2014 20:14:45 +0200
 
-dpkg (1.17.12ubuntu1) utopic; urgency=medium
-
-  * Merge with Debian; remaining changes:
-    - Change native source version/format mismatch errors into warnings
-      until the dust settles on Debian bug 737634 about override options.
-    - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level
-      tools can get untranslated dpkg terminal log messages while at the
-      same time having translated debconf prompts.
-    - Special-case arm{el,hf} ELF objects in Shlibs/Objdump.pm for multilib.
-    - Map unqualified package names of multiarch-same packages to the native
-      arch instead of throwing an error, so that we don't break on upgrade
-      when there are unqualified names stored in the dpkg trigger database.
-    - Add logic to the postinst to `dpkg --add-architecture i386' on new
-      installs on amd64, mimicking our previous behaviour with the conffile.
-    - Apply a workaround from mvo to consider ^rc packages as multiarch,
-      during the dpkg consistency checks. (see LP: 1015567 and 1057367).
-
- -- Matthias Klose <doko@ubuntu.com>  Sun, 17 Aug 2014 13:14:31 +0200
-
 dpkg (1.17.12) unstable; urgency=low
 
   [ Guillem Jover ]
@@ -1526,26 +1202,6 @@ dpkg (1.17.11) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Sat, 09 Aug 2014 17:16:27 +0200
 
-dpkg (1.17.10ubuntu1) utopic; urgency=medium
-
-  * Merge from Debian unstable.  Remaining changes:
-    - Allow -fstack-protector on arm64 now that GCC and glibc support it.
-    - Change native source version/format mismatch errors into warnings
-      until the dust settles on Debian bug 737634 about override options.
-    - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level
-      tools can get untranslated dpkg terminal log messages while at the
-      same time having translated debconf prompts.
-    - Special-case arm{el,hf} ELF objects in Shlibs/Objdump.pm for multilib.
-    - Map unqualified package names of multiarch-same packages to the native
-      arch instead of throwing an error, so that we don't break on upgrade
-      when there are unqualified names stored in the dpkg trigger database.
-    - Add logic to the postinst to `dpkg --add-architecture i386' on new
-      installs on amd64, mimicking our previous behaviour with the conffile.
-    - Apply a workaround from mvo to consider ^rc packages as multiarch,
-      during the dpkg consistency checks. (see LP: 1015567 and 1057367).
-
- -- Adam Conrad <adconrad@ubuntu.com>  Mon, 09 Jun 2014 12:18:09 -0600
-
 dpkg (1.17.10) unstable; urgency=medium
 
   [ Guillem Jover ]
@@ -1639,12 +1295,6 @@ dpkg (1.17.10) unstable; urgency=medium
 
  -- Guillem Jover <guillem@debian.org>  Thu, 05 Jun 2014 20:18:04 +0200
 
-dpkg (1.17.9ubuntu1) utopic; urgency=medium
-
-  * Merge with Debian unstable, fixing the testsuite's failure to fail.
-
- -- Adam Conrad <adconrad@ubuntu.com>  Wed, 30 Apr 2014 08:24:27 -0600
-
 dpkg (1.17.9) unstable; urgency=high
 
   [ Guillem Jover ]
@@ -1677,13 +1327,6 @@ dpkg (1.17.9) unstable; urgency=high
 
  -- Guillem Jover <guillem@debian.org>  Wed, 30 Apr 2014 05:45:20 +0200
 
-dpkg (1.17.8ubuntu1) utopic; urgency=medium
-
-  * Merge with Debian unstable to bring in several bugfixes, including
-    the hostile patch unpack directory traversal fix for CVE-2014-0471
-
- -- Adam Conrad <adconrad@ubuntu.com>  Mon, 28 Apr 2014 21:16:49 -0600
-
 dpkg (1.17.8) unstable; urgency=high
 
   [ Guillem Jover ]
@@ -1714,27 +1357,6 @@ dpkg (1.17.8) unstable; urgency=high
 
  -- Guillem Jover <guillem@debian.org>  Mon, 28 Apr 2014 13:33:11 +0200
 
-dpkg (1.17.7ubuntu1) utopic; urgency=medium
-
-  * Merge from Debian unstable.  Remaining changes:
-    - Allow -fstack-protector on arm64 now that GCC and glibc support it.
-    - Change native source version/format mismatch errors into warnings
-      until the dust settles on Debian bug 737634 about override options.
-    - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level
-      tools can get untranslated dpkg terminal log messages while at the
-      same time having translated debconf prompts.
-    - Special-case arm{el,hf} ELF objects in Shlibs/Objdump.pm for multilib.
-    - Map unqualified package names of multiarch-same packages to the native
-      arch instead of throwing an error, so that we don't break on upgrade
-      when there are unqualified names stored in the dpkg trigger database.
-    - Add logic to the postinst to `dpkg --add-architecture i386' on new
-      installs on amd64, mimicking our previous behaviour with the conffile.
-    - Apply a workaround from mvo to consider RC packages as multiarch,
-      during the dpkg consistency checks. (see LP: 1015567 and 1057367).
-  * Drop obsolete migration code and guards from pre-trusty dpkg versions.
-
- -- Adam Conrad <adconrad@ubuntu.com>  Mon, 21 Apr 2014 18:14:10 -0600
-
 dpkg (1.17.7) unstable; urgency=low
 
   [ Guillem Jover ]
@@ -1918,64 +1540,6 @@ dpkg (1.17.6) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Wed, 15 Jan 2014 05:29:45 +0100
 
-dpkg (1.17.5ubuntu5) trusty; urgency=medium
-
-  * Allow -fstack-protector on arm64 now that GCC and glibc support it.
-
- -- Adam Conrad <adconrad@ubuntu.com>  Fri, 07 Mar 2014 18:47:57 +0800
-
-dpkg (1.17.5ubuntu4) trusty; urgency=medium
-
-  * Update the ppc64 buildflags vendor overrides for ppc64el instead, and
-    make the implementation respect DEB_BUILD_OPTIONS=noopt (LP: #1279128)
-
- -- Adam Conrad <adconrad@ubuntu.com>  Tue, 11 Feb 2014 18:49:27 -0700
-
-dpkg (1.17.5ubuntu3) trusty; urgency=medium
-
-  * Change native source version/format mismatch errors into warnings until
-    the dust settles on Debian bug 737634 about revert or override options.
-
- -- Adam Conrad <adconrad@ubuntu.com>  Wed, 05 Feb 2014 07:26:29 -0700
-
-dpkg (1.17.5ubuntu2) trusty; urgency=medium
-
-  * Backport patch from 1.17.6 to fix file descriptor leaks (LP: #1270132)
-
- -- Adam Conrad <adconrad@ubuntu.com>  Fri, 17 Jan 2014 11:01:47 -0700
-
-dpkg (1.17.5ubuntu1) trusty; urgency=medium
-
-  * Merge from Debian testing.  Remaining changes:
-    - Change the multiarch downgrade version checks in prerm/postrm
-      from 1.16.2 to 1.16.0~ to reflect when multiarch landed in Ubuntu.
-    - Migrate dpkg multiarch conffile (and other multi-arch-related
-      conf settings) to the new DB with dpkg --add-architecture, but
-      keep a copy of the old conffile if it was modified.
-    - Out of paranoia, keep an option handler for foreign-architecture
-      that informs people that they need to scrub their config files
-      and upgrade, on the off chance that the above migration fails
-      for some reason (this mitigates the chances of leaving users with
-      a dpkg that fails to run due to a broken config).
-    - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level
-      tools can get untranslated dpkg terminal log messages while at the
-      same time having translated debconf prompts.  This is useful for tools
-      that hide the dpkg terminal by default and use apport for bug
-      reporting with the untranslated error message.
-    - Apply patch from Steve McIntyre to special-case armhf/armel ELF
-      objects in Shlibs/Objdump.pm, so we don't get incorrect deps.
-    - lib/dpkg/pkg-spec.c: map unqualified package names of multiarch-same
-      packages to the native arch instead of throwing an error, so that we
-      don't break on upgrade when there are unqualified names stored in
-      dpkg's own trigger database.
-    - Add logic to the postinst to `dpkg --add-architecture i386' on new
-      installs on amd64, and to also do so on upgrades from pre-conffile
-      Ubuntu versions, mimicking our previous behaviour with the conffile.
-    - Apply a workaround from mvo to consider RC packages as multiarch,
-      during the dpkg consistency checks. (see LP: 1015567 and 1057367).
- -- Adam Conrad <adconrad@ubuntu.com>  Thu, 16 Jan 2014 16:41:23 -0700
-
 dpkg (1.17.5) unstable; urgency=low
 
   [ Guillem Jover ]
@@ -2183,40 +1747,6 @@ dpkg (1.17.2) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Thu, 05 Dec 2013 04:56:31 +0100
 
-dpkg (1.17.1ubuntu1) trusty; urgency=low
-
-  * Merge from Debian unstable.  Remaining changes:
-    - Change the multiarch downgrade version checks in prerm/postrm
-      from 1.16.2 to 1.16.0~ to reflect when multiarch landed in Ubuntu.
-    - Migrate dpkg multiarch conffile (and other multi-arch-related
-      conf settings) to the new DB with dpkg --add-architecture, but
-      keep a copy of the old conffile if it was modified.
-    - Out of paranoia, keep an option handler for foreign-architecture
-      that informs people that they need to scrub their config files
-      and upgrade, on the off chance that the above migration fails
-      for some reason (this mitigates the chances of leaving users with
-      a dpkg that fails to run due to a broken config).
-    - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level
-      tools can get untranslated dpkg terminal log messages while at the
-      same time having translated debconf prompts.  This is useful for tools
-      that hide the dpkg terminal by default and use apport for bug
-      reporting with the untranslated error message.
-    - Apply patch from Steve McIntyre to special-case armhf/armel ELF
-      objects in Shlibs/Objdump.pm, so we don't get incorrect deps.
-    - lib/dpkg/pkg-spec.c: map unqualified package names of multiarch-same
-      packages to the native arch instead of throwing an error, so that we
-      don't break on upgrade when there are unqualified names stored in
-      dpkg's own trigger database.
-    - Add logic to the postinst to `dpkg --add-architecture i386' on new
-      installs on amd64, and to also do so on upgrades from pre-conffile
-      Ubuntu versions, mimicking our previous behaviour with the conffile.
-    - Apply a workaround from mvo to consider RC packages as multiarch,
-      during the dpkg consistency checks. (see LP: 1015567 and 1057367).
-    - Add ppc64el/powerpc64le support to cputable (backported from 1.17.2).
-  * Forward-port manpages-it dpkg/dpkg-dev/dselect Replaces from 1.16.12.
-
- -- Adam Conrad <adconrad@ubuntu.com>  Sun, 17 Nov 2013 10:42:09 +0000
-
 dpkg (1.17.1) unstable; urgency=low
 
   * Man pages cleanup:
@@ -2407,120 +1937,6 @@ dpkg (1.17.0) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Fri, 26 Jul 2013 23:54:54 +0200
 
-dpkg (1.16.12ubuntu1) saucy; urgency=low
-
-  * Merge with Debian stable-proposed-updates, remaining changes:
-    - Change the multiarch downgrade version checks in prerm/postrm
-      from 1.16.2 to 1.16.0~ to reflect when multiarch landed in Ubuntu.
-    - Migrate dpkg multiarch conffile (and other multi-arch-related
-      conf settings) to the new DB with dpkg --add-architecture, but
-      keep a copy of the old conffile if it was modified.
-    - Out of paranoia, keep an option handler for foreign-architecture
-      that informs people that they need to scrub their config files
-      and upgrade, on the off chance that the above migration fails
-      for some reason (this mitigates the chances of leaving users with
-      a dpkg that fails to run due to a broken config).
-    - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level
-      tools can get untranslated dpkg terminal log messages while at the
-      same time having translated debconf prompts.  This is useful for tools
-      that hide the dpkg terminal by default and use apport for bug
-      reporting with the untranslated error message.
-    - Apply patch from Steve McIntyre to special-case armhf/armel ELF
-      objects in Shlibs/Objdump.pm, so we don't get incorrect deps.
-    - lib/dpkg/pkg-spec.c: map unqualified package names of multiarch-same
-      packages to the native arch instead of throwing an error, so that we
-      don't break on upgrade when there are unqualified names stored in
-      dpkg's own trigger database.
-    - Add logic to the postinst to `dpkg --add-architecture i386' on new
-      installs on amd64, and to also do so on upgrades from pre-conffile
-      Ubuntu versions, mimicking our previous behaviour with the conffile.
-    - Apply a workaround from mvo to consider RC packages as multiarch,
-      during the dpkg consistency checks. (see LP: 1015567 and 1057367).
-    - Don't set unsupported -fstack-protector in dpkg-buildflags on arm64.
-  * Add ppc64el/powerpc64le support to cputable (backported from 1.17.2)
-
- -- Adam Conrad <adconrad@ubuntu.com>  Fri, 04 Oct 2013 00:26:28 -0600
-
-dpkg (1.16.12) stable; urgency=low
-
-  * Fix value caching in Dpkg::Arch by not shadowing the variables.
-    Closes: #724949
-
- -- Guillem Jover <guillem@debian.org>  Mon, 30 Sep 2013 16:52:37 +0200
-
-dpkg (1.16.11) stable; urgency=low
-
-  [ Raphaël Hertzog ]
-  * Fix usage of non-existent _() function in multiple places of the Perl
-    code. Thanks to Lincoln Myers <lincoln@netapp.com> for the patch.
-    Closes: #708607
-
-  [ Guillem Jover ]
-  * Fix chmod() arguments order in Dpkg::Source::Quilt. Closes: #710265
-    Thanks to Pablo Oliveira <pablo@sifflez.org>.
-  * Only ignore older packages if the existing version is informative. This
-    allows any program using libdpkg to parse the available file to see again
-    packages with versions lesser than 0-0 (like 0~0-0). Closes: #676664
-  * Fix use after free in dpkg_arch_load_list() on libdpkg.
-    Reported by Pedro Ribeiro <pedrib@gmail.com>.
-
-  [ Updated programs translations ]
-  * Vietnamese (Trần Ngọc Quân). Closes: #715334
-
-  [ Added man page translations ]
-  * Italian (Beatrice Torracca). Closes: #711647
-
-  [ Updated man page translations ]
-  * Japanese (TAKAHASHI Motonobu). Closes: #704240
-
- -- Guillem Jover <guillem@debian.org>  Mon, 23 Sep 2013 16:51:18 +0200
-
-dpkg (1.16.10ubuntu3) saucy; urgency=low
-
-  * scripts/Dpkg/Shlibs/Objdump.pm: Adjust armel/armhf special-casing
-    in dpkg-shlibdeps to try the new ELF ABI flags before arch tags.
-
- -- Adam Conrad <adconrad@ubuntu.com>  Mon, 08 Jul 2013 08:05:57 -0600
-
-dpkg (1.16.10ubuntu2) saucy; urgency=low
-
-  * Don't set -fstack-protector in dpkg-buildflags on arm64 (not yet
-    supported).
-
- -- Matthias Klose <doko@ubuntu.com>  Tue, 11 Jun 2013 09:33:34 +0200
-
-dpkg (1.16.10ubuntu1) raring; urgency=low
-
-  * Merge from Debian unstable.  Remaining changes:
-    - Change the multiarch downgrade version checks in prerm/postrm
-      from 1.16.2 to 1.16.0~ to reflect when multiarch landed in Ubuntu.
-    - Migrate dpkg multiarch conffile (and other multi-arch-related
-      conf settings) to the new DB with dpkg --add-architecture, but
-      keep a copy of the old conffile if it was modified.
-    - Out of paranoia, keep an option handler for foreign-architecture
-      that informs people that they need to scrub their config files
-      and upgrade, on the off chance that the above migration fails
-      for some reason (this mitigates the chances of leaving users with
-      a dpkg that fails to run due to a broken config).
-    - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level
-      tools can get untranslated dpkg terminal log messages while at the
-      same time having translated debconf prompts.  This is useful for tools
-      that hide the dpkg terminal by default and use apport for bug
-      reporting with the untranslated error message.
-    - Apply patch from Steve McIntyre to special-case armhf/armel ELF
-      objects in Shlibs/Objdump.pm, so we don't get incorrect deps.
-    - lib/dpkg/pkg-spec.c: map unqualified package names of multiarch-same
-      packages to the native arch instead of throwing an error, so that we
-      don't break on upgrade when there are unqualified names stored in
-      dpkg's own trigger database.
-    - Add logic to the postinst to `dpkg --add-architecture i386' on new
-      installs on amd64, and to also do so on upgrades from pre-conffile
-      Ubuntu versions, mimicking our previous behaviour with the conffile.
-    - Apply a workaround from mvo to consider RC packages as multiarch,
-      during the dpkg consistency checks. (see LP: 1015567 and 1057367).
-
- -- Adam Conrad <adconrad@ubuntu.com>  Fri, 22 Mar 2013 12:09:02 -0600
-
 dpkg (1.16.10) unstable; urgency=low
 
   [ Guillem Jover ]
@@ -2554,46 +1970,6 @@ dpkg (1.16.10) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Fri, 08 Mar 2013 04:41:26 +0100
 
-dpkg (1.16.9ubuntu2) raring; urgency=low
-
-  * Revert build-dependency from gettext:any to gettext, now that gettext is
-    Multi-Arch: foreign.
-
- -- Colin Watson <cjwatson@ubuntu.com>  Thu, 29 Nov 2012 15:03:29 +0000
-
-dpkg (1.16.9ubuntu1) raring; urgency=low
-
-  * Merge from Debian unstable.  Remaining changes:
-    - Change the multiarch downgrade version checks in prerm/postrm
-      from 1.16.2 to 1.16.0~ to reflect when multiarch landed in Ubuntu.
-    - Migrate dpkg multiarch conffile (and other multi-arch-related
-      conf settings) to the new DB with dpkg --add-architecture, but
-      keep a copy of the old conffile if it was modified.
-    - Out of paranoia, keep an option handler for foreign-architecture
-      that informs people that they need to scrub their config files
-      and upgrade, on the off chance that the above migration fails
-      for some reason (this mitigates the chances of leaving users with
-      a dpkg that fails to run due to a broken config).
-    - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level
-      tools can get untranslated dpkg terminal log messages while at the
-      same time having translated debconf prompts.  This is useful for tools
-      that hide the dpkg terminal by default and use apport for bug
-      reporting with the untranslated error message.
-    - Build-depend on gettext:any for cross-building support.
-    - Apply patch from Steve McIntyre to special-case armhf/armel ELF
-      objects in Shlibs/Objdump.pm, so we don't get incorrect deps.
-    - lib/dpkg/pkg-spec.c: map unqualified package names of multiarch-same
-      packages to the native arch instead of throwing an error, so that we
-      don't break on upgrade when there are unqualified names stored in
-      dpkg's own trigger database.
-    - Add logic to the postinst to `dpkg --add-architecture i386' on new
-      installs on amd64, and to also do so on upgrades from pre-conffile
-      Ubuntu versions, mimicking our previous behaviour with the conffile.
-    - Apply a workaround from mvo to consider RC packages as multiarch,
-      during the dpkg consistency checks. (see LP: 1015567 and 1057367).
-
- -- Adam Conrad <adconrad@ubuntu.com>  Tue, 23 Oct 2012 16:45:37 +0100
-
 dpkg (1.16.9) unstable; urgency=low
 
   [ Raphaël Hertzog ]
@@ -2714,77 +2090,6 @@ dpkg (1.16.8) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Sat, 21 Jul 2012 02:11:04 +0200
 
-dpkg (1.16.7ubuntu6) quantal; urgency=low
-
-  [ Raphaël Hertzog ]
-  * Fix dpkg-source regression in "3.0 (quilt)" source packages while
-    unapplying patches that remove all files in a directory. Closes:
-    #683547  (LP: #1057886)
-
- -- Barry Warsaw <barry@ubuntu.com>  Mon, 01 Oct 2012 14:39:06 -0400
-
-dpkg (1.16.7ubuntu5) quantal; urgency=low
-
-  * Fix scoping issues in dpkg postinst, so we don't end up doing
-    the foreign-architecture migration on every single dpkg upgrade
-
- -- Adam Conrad <adconrad@ubuntu.com>  Fri, 28 Sep 2012 18:37:28 -0600
-
-dpkg (1.16.7ubuntu4) quantal; urgency=low
-
-  * Apply a workaround from mvo to consider RC packages as multiarch,
-    during the dpkg consistency checks. (LP: #1015567). Opened bug 1057367
-    to upgrade status database.
-
- -- Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>  Thu, 27 Sep 2012 09:40:47 +0100
-
-dpkg (1.16.7ubuntu3) quantal; urgency=low
-
-  * Restore the :native qualier to the implicit build-essential
-    dep in dpkg-checkbuilddeps, now that build-essential is fixed
-
- -- Adam Conrad <adconrad@ubuntu.com>  Fri, 13 Jul 2012 21:43:37 -0600
-
-dpkg (1.16.7ubuntu2) quantal; urgency=low
-
-  * Remove the :native qualifier from the automatic build-dep on
-    build-essential in dpkg-checkbuilddeps: this broke everything
-
- -- Adam Conrad <adconrad@ubuntu.com>  Fri, 06 Jul 2012 04:03:53 -0600
-
-dpkg (1.16.7ubuntu1) quantal; urgency=low
-
-  * Merge from Debian unstable.  Remaining changes:
-    - Change the multiarch downgrade version checks in prerm/postrm
-      from 1.16.2 to 1.16.0~ to reflect when multiarch landed in Ubuntu.
-    - Migrate dpkg multiarch conffile (and other multi-arch-related
-      conf settings) to the new DB with dpkg --add-architecture, but
-      keep a copy of the old conffile if it was modified.
-    - Out of paranoia, keep an option handler for foreign-architecture
-      that informs people that they need to scrub their config files
-      and upgrade, on the off chance that the above migration fails
-      for some reason (this mitigates the chances of leaving users with
-      a dpkg that fails to run due to a broken config).
-    - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level
-      tools can get untranslated dpkg terminal log messages while at the
-      same time having translated debconf prompts.  This is useful for tools
-      that hide the dpkg terminal by default and use apport for bug
-      reporting with the untranslated error message.
-    - Build-depend on gettext:any for cross-building support.
-    - Apply patch from Steve McIntyre to special-case armhf/armel ELF
-      objects in Shlibs/Objdump.pm, so we don't get incorrect deps.
-    - lib/dpkg/pkg-spec.c: map unqualified package names of multiarch-same
-      packages to the native arch instead of throwing an error, so that we
-      don't break on upgrade when there are unqualified names stored in
-      dpkg's own trigger database.
-    - Add logic to the postinst to `dpkg --add-architecture i386' on new
-      installs on amd64, and to also do so on upgrades from pre-conffile
-      Ubuntu versions, mimicking our previous behaviour with the conffile.
-  * Alter the foreign-architecture option handler to output to stderr
-    instead of stdout, for people who prefer their stdout less noisy.
-
- -- Adam Conrad <adconrad@ubuntu.com>  Fri, 06 Jul 2012 02:17:10 -0600
-
 dpkg (1.16.7) unstable; urgency=low
 
   [ Guillem Jover ]
@@ -2903,37 +2208,6 @@ dpkg (1.16.5) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Sat, 30 Jun 2012 04:28:51 +0200
 
-dpkg (1.16.4.3ubuntu1) quantal; urgency=low
-
-  * Merge from Debian unstable.  Remaining changes:
-    - Change the multiarch downgrade version checks in prerm/postrm
-      from 1.16.2 to 1.16.0~ to reflect when multiarch landed in Ubuntu.
-    - Migrate dpkg multiarch conffile (and other multi-arch-related
-      conf settings) to the new DB with dpkg --add-architecture, but
-      keep a copy of the old conffile if it was modified.
-    - Out of paranoia, keep an option handler for foreign-architecture
-      that informs people that they need to scrub their config files
-      and upgrade, on the off chance that the above migration fails
-      for some reason (this mitigates the chances of leaving users with
-      a dpkg that fails to run due to a broken config).
-    - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level
-      tools can get untranslated dpkg terminal log messages while at the
-      same time having translated debconf prompts.  This is useful for tools
-      that hide the dpkg terminal by default and use apport for bug
-      reporting with the untranslated error message.
-    - Build-depend on gettext:any for cross-building support.
-    - Apply patch from Steve McIntyre to special-case armhf/armel ELF
-      objects in Shlibs/Objdump.pm, so we don't get incorrect deps.
-    - lib/dpkg/pkg-spec.c: map unqualified package names of multiarch-same
-      packages to the native arch instead of throwing an error, so that we
-      don't break on upgrade when there are unqualified names stored in
-      dpkg's own trigger database.
-  * Add logic to the postinst to `dpkg --add-architecture i386' on new
-    installs on amd64, and to also do so on upgrades from pre-conffile
-    Ubuntu versions, mimicking our previous behaviour with the conffile.
-
- -- Adam Conrad <adconrad@ubuntu.com>  Wed, 20 Jun 2012 22:57:24 -0600
-
 dpkg (1.16.4.3) unstable; urgency=low
 
   * On «update-alternatives --install» only warn for now on out of range
@@ -3036,40 +2310,6 @@ dpkg (1.16.4) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Thu, 07 Jun 2012 23:43:19 +0200
 
-dpkg (1.16.3ubuntu2) quantal; urgency=low
-
-  * lib/dpkg/pkg-spec.c: map unqualified package names of multiarch-same
-    packages to the native arch instead of throwing an error, so that we
-    don't break on upgrade when there are unqualified names stored in dpkg's
-    own trigger database.  LP: #1015329.
-
- -- Steve Langasek <steve.langasek@ubuntu.com>  Tue, 19 Jun 2012 18:08:02 -0700
-
-dpkg (1.16.3ubuntu1) quantal; urgency=low
-
-  * Merge with 1.16.3 from unstable:
-    - Change the multiarch downgrade version checks in prerm/postrm
-      from 1.16.2 to 1.16.0~ to reflect when multiarch landed in Ubuntu.
-    - Migrate dpkg multiarch conffile (and other multi-arch-related
-      conf settings) to the new DB with dpkg --add-architecture, but
-      keep a copy of the old conffile if it was modified.
-    - Out of paranoia, keep an option handler for foreign-architecture
-      that informs people that they need to scrub their config files
-      and upgrade, on the off chance that the above migration fails
-      for some reason (this mitigates the chances of leaving users with
-      a dpkg that fails to run due to a broken config).
-  * Changes remaining from previous Ubuntu versions:
-    - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level
-      tools can get untranslated dpkg terminal log messages while at the
-      same time having translated debconf prompts.  This is useful for tools
-      that hide the dpkg terminal by default and use apport for bug
-      reporting with the untranslated error message.
-    - Build-depend on gettext:any for cross-building support.
-    - Apply patch from Steve McIntyre to special-case armhf/armel ELF
-      objects in Shlibs/Objdump.pm, so we don't get incorrect deps.
-
- -- Adam Conrad <adconrad@ubuntu.com>  Thu, 07 Jun 2012 10:07:38 -0600
-
 dpkg (1.16.3) unstable; urgency=low
 
   [ Guillem Jover ]
@@ -3303,85 +2543,6 @@ dpkg (1.16.2) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Mon, 19 Mar 2012 07:27:12 +0100
 
-dpkg (1.16.1.2ubuntu8) quantal; urgency=low
-
-  * Revert hack to export compiler flags in dpkg-buildpackage.  Any package
-    depending on this should be fixed to use dpkg-buildflags instead.
-
- -- Colin Watson <cjwatson@ubuntu.com>  Mon, 30 Apr 2012 12:49:51 +0100
-
-dpkg (1.16.1.2ubuntu7) precise; urgency=low
-
-  * Apply missing patch from upstream to let dselect's resolver deal
-    with multi-arch Provides in the same way as dpkg (LP: #853679)
-
- -- Adam Conrad <adconrad@ubuntu.com>  Thu, 12 Apr 2012 16:59:09 -0600
-
-dpkg (1.16.1.2ubuntu6) precise; urgency=low
-
-  * Build-depend on gettext:any for cross-building support.
-
- -- Colin Watson <cjwatson@ubuntu.com>  Sun, 08 Apr 2012 23:22:31 +0100
-
-dpkg (1.16.1.2ubuntu5) precise; urgency=low
-
-  * New version of previous patch, many thanks Raphaël Hertzog! (LP: #902603)
-
- -- Martin Pitt <martin.pitt@ubuntu.com>  Fri, 16 Dec 2011 11:23:51 +0100
-
-dpkg (1.16.1.2ubuntu4) precise; urgency=low
-
-  * dpkg: Do not try to disappear other packages from the same set. Packages
-    within a set can rightfully share files and should not be disappeared in
-    the case where they share all the files. Many thanks to Raphaël Hertzog
-    for the fix! (Closes: #652063, LP: #902603)
-
- -- Martin Pitt <martin.pitt@ubuntu.com>  Thu, 15 Dec 2011 11:33:28 +0100
-
-dpkg (1.16.1.2ubuntu3) precise; urgency=low
-
-  * Don't perform is_armhf tests in parse_objdump_output() unless
-    we have a file handle defined.  This is an impossible situation
-    at runtime, but trips up the testsuite oprtating on fake data.
-
- -- Adam Conrad <adconrad@ubuntu.com>  Fri, 02 Dec 2011 15:46:35 -0700
-
-dpkg (1.16.1.2ubuntu2) precise; urgency=low
-
-  * Apply patch from Steve McIntyre to special-case armhf/armel ELF
-    objects in Shlibs/Objdump.pm, so we don't get incorrect deps.
-
- -- Adam Conrad <adconrad@ubuntu.com>  Fri, 02 Dec 2011 12:24:40 -0700
-
-dpkg (1.16.1.2ubuntu1) precise; urgency=low
-
-  * Resynchronise with Debian.  Remaining changes:
-    - Merge from git://git.debian.org/users/hertzog/dpkg.git
-      pu/multiarch/full for multiarch support.
-    - On upgrade from 1.16.0~ubuntu[1-3], if /var/lib/dpkg/info/$arch is a
-      directory, migrate the contents to var/lib/dpkg/info; and handle the
-      reverse on downgrade.  This does not handle metadata for packages of
-      foreign architectures.
-    - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level
-      tools can get untranslated dpkg terminal log messages while at the
-      same time having translated debconf prompts.  This is useful for tools
-      that hide the dpkg terminal by default and use apport for bug
-      reporting with the untranslated error message.
-    - Add /etc/dpkg/dpkg.cfg.d/multiarch as a conffile on amd64, so that
-      users are guaranteed to always have it after upgrade even if they
-      don't use update-manager for the upgrade itself.
-    - Continue exporting compiler flags in dpkg-buildpackage until after
-      Ubuntu 12.04 LTS.
-    - Add Pre-Depends on tar >= 1.23 (satisfied in stable) to dpkg due to it
-      using the ‘--warning=no-timestamp’ option.
-    - Strip -Werror=format-security from the flags exported to the
-      environment from dpkg-buildpackage.
-    - Don't export build flags for packages using debhelper compat level 9
-      or above.
-    - Mark dpkg-dev and libdpkg-perl as Multi-Arch foreign. Closes: #648217
-
- -- Colin Watson <cjwatson@ubuntu.com>  Sun, 27 Nov 2011 09:49:08 +0000
-
 dpkg (1.16.1.2) unstable; urgency=medium
 
   [ Raphaël Hertzog ]
@@ -3396,50 +2557,6 @@ dpkg (1.16.1.2) unstable; urgency=medium
 
  -- Raphaël Hertzog <hertzog@debian.org>  Fri, 25 Nov 2011 11:18:30 +0100
 
-dpkg (1.16.1.1ubuntu3) precise; urgency=low
-
-  * Backport from upstream:
-    - Mark dpkg-dev and libdpkg-perl as Multi-Arch foreign. Closes: #648217
-
- -- Colin Watson <cjwatson@ubuntu.com>  Sat, 12 Nov 2011 14:54:29 +0000
-
-dpkg (1.16.1.1ubuntu2) precise; urgency=low
-
-  * Don't export build flags for packages using debhelper compat level 9 or
-    above.  This is a layering violation which will go away after 12.04 (see
-    https://lists.ubuntu.com/archives/ubuntu-devel/2011-November/034351.html).
-
- -- Colin Watson <cjwatson@ubuntu.com>  Tue, 01 Nov 2011 15:36:14 -0400
-
-dpkg (1.16.1.1ubuntu1) precise; urgency=low
-
-  * Resynchronise with Debian.  Remaining changes:
-    - Merge from git://git.debian.org/users/hertzog/dpkg.git
-      pu/multiarch/full for multiarch support.
-    - On upgrade from 1.16.0~ubuntu[1-3], if /var/lib/dpkg/info/$arch is a
-      directory, migrate the contents to var/lib/dpkg/info; and handle the
-      reverse on downgrade.  This does not handle metadata for packages of
-      foreign architectures.
-    - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level
-      tools can get untranslated dpkg terminal log messages while at the
-      same time having translated debconf prompts.  This is useful for tools
-      that hide the dpkg terminal by default and use apport for bug
-      reporting with the untranslated error message.
-    - Add /etc/dpkg/dpkg.cfg.d/multiarch as a conffile on amd64, so that
-      users are guaranteed to always have it after upgrade even if they
-      don't use update-manager for the upgrade itself.
-    - Continue exporting compiler flags in dpkg-buildpackage until after
-      Ubuntu 12.04 LTS.
-    - Add Pre-Depends on tar >= 1.23 (satisfied in stable) to dpkg due to it
-      using the ‘--warning=no-timestamp’ option.
-  * Strip -Werror=format-security from the flags exported to the environment
-    from dpkg-buildpackage.  This causes too many failures (including silent
-    failures in configure tests), and removing it is not a regression from
-    any released version of Ubuntu.  It is still included in the normal
-    output of dpkg-buildflags.
-
- -- Colin Watson <cjwatson@ubuntu.com>  Wed, 26 Oct 2011 09:49:56 +0100
-
 dpkg (1.16.1.1) unstable; urgency=low
 
   [ Raphaël Hertzog ]
@@ -3470,37 +2587,6 @@ dpkg (1.16.1.1) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Fri, 14 Oct 2011 07:08:31 +0200
 
-dpkg (1.16.1ubuntu2) precise; urgency=low
-
-  * Cherry-pick from trunk:
-    - Add Pre-Depends on tar >= 1.23 (satisfied in stable) to dpkg due to it
-      using the ‘--warning=no-timestamp’ option. Closes: 642802, LP: #878960
-
- -- Colin Watson <cjwatson@ubuntu.com>  Thu, 20 Oct 2011 18:56:21 +0100
-
-dpkg (1.16.1ubuntu1) precise; urgency=low
-
-  * Resynchronise with Debian.  Remaining changes:
-    - Merge from git://git.debian.org/users/hertzog/dpkg.git
-      pu/multiarch/full for multiarch support.
-    - On upgrade from 1.16.0~ubuntu[1-3], if /var/lib/dpkg/info/$arch is a
-      directory, migrate the contents to var/lib/dpkg/info; and handle the
-      reverse on downgrade.  This does not handle metadata for packages of
-      foreign architectures.
-    - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level
-      tools can get untranslated dpkg terminal log messages while at the
-      same time having translated debconf prompts.  This is useful for tools
-      that hide the dpkg terminal by default and use apport for bug
-      reporting with the untranslated error message.
-    - Add /etc/dpkg/dpkg.cfg.d/multiarch as a conffile on amd64, so that
-      users are guaranteed to always have it after upgrade even if they
-      don't use update-manager for the upgrade itself.
-  * Continue exporting compiler flags in dpkg-buildpackage, since we do not
-    want to regress hardening support in Ubuntu 12.04 LTS.  We will revisit
-    this for Ubuntu 12.10.
-
- -- Colin Watson <cjwatson@ubuntu.com>  Fri, 14 Oct 2011 15:01:55 +0100
-
 dpkg (1.16.1) unstable; urgency=low
 
   [ Raphaël Hertzog ]
@@ -3744,57 +2830,6 @@ dpkg (1.16.1) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Fri, 23 Sep 2011 06:00:11 +0200
 
-dpkg (1.16.0.3ubuntu5) oneiric; urgency=low
-
-  * Cherry pick b8d4668 and 967a45f from pu/multiarch so that cross-grading a
-    package doesn't result in dpkg believing the package has been disappeared
-    on the next call.  Thanks to Raphaël Hertzog <hertzog@debian.org> for
-    the quick fix!  (LP: #863675)
-
- -- Steve Langasek <steve.langasek@ubuntu.com>  Thu, 06 Oct 2011 07:29:02 +0000
-
-dpkg (1.16.0.3ubuntu4) oneiric; urgency=low
-
-  * Add /etc/dpkg/dpkg.cfg.d/multiarch as a conffile on amd64, so that users
-    are guaranteed to always have it after upgrade even if they don't use
-    update-manager for the upgrade itself.  Also fixes up the problem of
-    systems installed at 11.10 beta 1 missing the file due to an installer
-    bug.  LP: #846451.
-
- -- Steve Langasek <steve.langasek@ubuntu.com>  Tue, 27 Sep 2011 16:40:04 -0700
-
-dpkg (1.16.0.3ubuntu3) oneiric; urgency=low
-
-  * add DPKG_UNTRANSLATED_MESSAGES environment check so that the 
-    higher level tools can get untranslated dpkg terminal log
-    messages while at the same time have translated debconf 
-    prompts. This is useful for tools that hide the dpkg terminal
-    by default and use apport for bugreport with the untranslated
-    error message.
-
- -- Michael Vogt <michael.vogt@ubuntu.com>  Tue, 28 Jun 2011 09:20:11 +0100
-
-dpkg (1.16.0.3ubuntu2) oneiric; urgency=low
-
-  * Properly update trigdeferred.c from trigdeferred.l, fixing a slew of
-    triggers/Unincorp parsing failures.
-
- -- Colin Watson <cjwatson@ubuntu.com>  Fri, 17 Jun 2011 15:27:35 +0100
-
-dpkg (1.16.0.3ubuntu1) oneiric; urgency=low
-
-  * Merge from Debian unstable; remaining changes:
-    - Merge from git://git.debian.org/users/hertzog/dpkg.git
-      pu/multiarch/snapshot/20110314 for multiarch support.
-    - On upgrade from 1.16.0~ubuntu[1-3], if /var/lib/dpkg/info/$arch is a
-      directory, migrate the contents to var/lib/dpkg/info; and handle the
-      reverse on downgrade.  This does not handle metadata for packages of
-      foreign architectures.
-  * Restores support for parsing priority fields with unknown values.
-    LP: #773022.
-
- -- Steve Langasek <steve.langasek@ubuntu.com>  Fri, 17 Jun 2011 00:04:19 -0700
-
 dpkg (1.16.0.3) unstable; urgency=medium
 
   * Allow again Priority field values not known to dpkg. Regression
@@ -3966,110 +3001,6 @@ dpkg (1.16.0) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Fri, 01 Apr 2011 23:56:54 +0200
 
-dpkg (1.16.0~ubuntu8) oneiric; urgency=low
-
-  * src/packages.c: fix use of --force-depends so that it works again for
-    foreign arch packages.  Thanks to Raphaël Hertzog for the fix.
-    LP: #767634.
-
- -- Steve Langasek <steve.langasek@ubuntu.com>  Fri, 29 Apr 2011 19:07:24 -0700
-
-dpkg (1.16.0~ubuntu7) natty; urgency=low
-
-  * src/packages.c: fix the check for whether our dependencies are
-    installed, so that it works correctly for multi-arch: foreign packages
-    configured during the current dpkg run.  Thanks to Raphaël Hertzog
-    <hertzog@debian.org> for the fix.  LP: #756381.
-
-  [ Raphaël Hertzog ]
-  * fddba30d74856e2d5c3f287343569fc259729bc0: Fix regression in dpkg 1.16.0
-    affecting dpkg R.  Closes: #620636.
-
- -- Steve Langasek <steve.langasek@ubuntu.com>  Thu, 14 Apr 2011 11:28:51 -0700
-
-dpkg (1.16.0~ubuntu6) natty; urgency=low
-
-  * Dpkg/Shlibs.pm: we should explicitly prepend the appropriate multiarch
-    paths to our library search path.  These would be picked up later on
-    anyway in the case of a native build, but for, e.g., bootstrapping a
-    cross-toolchain the needed multiarch paths aren't going to be found in
-    ld.so.conf.
-  * Cherry-pick fixes from upstream:
-
-  [ Raphaël Hertzog ]
-  * 7ea2064c46b77398a63d7f7a543ebcf08f7c74d2: Fix dpkg-source's regression
-    with empty patches (introduced while fixing 613023).  Closes: #619541,
-    LP: #742124.
-  * 6a7a20c72325a57762e34f5dbb9f79ba73b5d496: Use the correct mtime when
-    installing a file with statoverrides.  LP: #739179.
-
- -- Steve Langasek <steve.langasek@ubuntu.com>  Thu, 24 Mar 2011 17:04:47 -0700
-
-dpkg (1.16.0~ubuntu5) natty; urgency=low
-
-  * Cherry-pick 88b0c3043a651a422cd0c43c38ab6d553e2214ea from dpkg.git; adds
-    armhf support.
-    [ Guillem Jover ]
-    * Add armhf support to ostable and triplettable. Closes: #594179
-
- -- Loïc Minier <loic.minier@linaro.org>  Tue, 15 Mar 2011 14:57:15 +0100
-
-dpkg (1.16.0~ubuntu4) natty; urgency=low
-
-  * Merge from git://git.debian.org/users/hertzog/dpkg.git
-    pu/multiarch/snapshot/20110314 for updated multiarch support.  This
-    reverts the dpkg database changes from the earlier merge in favor of a
-    single-directory dpkg db again.
-    - Fix typo in «dpkg-name --overwrite» argument parsing so that it 
-      actually works at all. Thanks to Ivan Gagis <igagis@gmail.com>. 
-      LP: #728708
-  * Update the version checks for the multiarch db format to point to
-    1.16.0~ubuntu4 instead of the (not-yet-released) 1.16.0.
-  * On upgrade from 1.16.0~ubuntu[1-3], if /var/lib/dpkg/info/$arch is a
-    directory, migrate the contents to var/lib/dpkg/info; and handle the
-    reverse on downgrade.  This does not handle metadata for packages of
-    foreign architectures; if this affects you, come talk to me. :-)
-    LP: #727603.
-  * add new variables, DEB_HOST_MULTIARCH and DEB_BUILD_MULTIARCH, that
-    return the "ideal" GNU triplet for each architecture which should be
-    used as the path component for library installation.
-
- -- Steve Langasek <steve.langasek@ubuntu.com>  Mon, 14 Mar 2011 18:12:06 -0700
-
-dpkg (1.16.0~ubuntu3) natty; urgency=low
-
-  * Fix up the DPKG_ADMINDIR env var being passed to maintainer scripts when
-    running with --root.
-
- -- Steve Langasek <steve.langasek@ubuntu.com>  Tue, 01 Mar 2011 14:26:12 -0800
-
-dpkg (1.16.0~ubuntu2) natty; urgency=low
-
-  * Install multiarch symlink in /var/lib/dpkg/info on fresh installs as
-    well as upgrades (LP: #727106).
-
- -- Colin Watson <cjwatson@ubuntu.com>  Tue, 01 Mar 2011 11:35:07 +0000
-
-dpkg (1.16.0~ubuntu1) natty; urgency=low
-
-  * Merge from git://git.debian.org/users/hertzog/dpkg.git
-    pu/multiarch/snapshot/20110225 for multiarch support.  This brings us
-    up-to-date with dpkg 1.16.0-pre staged changes as well as pulling in
-    the current version of the multiarch branch from Raphael Hertzog.
-  * FFe: LP: #724637.
-  * Remaining changes:
-    - Set Ubuntu ppc64 optimisation to -O3.
-
- -- Steve Langasek <steve.langasek@ubuntu.com>  Mon, 28 Feb 2011 15:00:42 -0800
-
-dpkg (1.15.8.10ubuntu1) natty; urgency=low
-
-  * Resynchronise with Debian.  Remaining changes:
-    - cputable: Set cpu to i686 for arch i386.
-  * Set Ubuntu ppc64 optimisation to -O3.
-
- -- Colin Watson <cjwatson@ubuntu.com>  Tue, 08 Feb 2011 17:17:45 +0000
-
 dpkg (1.15.8.10) unstable; urgency=low
 
   * Do not segfault on “update-alternatives --auto” when the link group only
@@ -4115,24 +3046,6 @@ dpkg (1.15.8.8) unstable; urgency=low
 
  -- Raphaël Hertzog <hertzog@debian.org>  Thu, 06 Jan 2011 21:04:33 +0100
 
-dpkg (1.15.8.7ubuntu2) natty; urgency=low
-
-  * SECURITY UPDATE: relative directory and symlink following in source pkgs.
-    - scripts/Dpkg/Source/Archive.pm, scripts/Dpkg/Source/Patch.pm,
-      scripts/Dpkg/Source/Package/V2.pm: applied fixes from Raphael Hertzog,
-      thanks to Raphael Geissert.
-    - CVE-2010-1679
-
- -- Kees Cook <kees@ubuntu.com>  Thu, 06 Jan 2011 12:48:51 -0800
-
-dpkg (1.15.8.7ubuntu1) natty; urgency=low
-
-  * Resynchronise with Debian.  Remaining changes:
-    - Adjust versioned emacs22 conflicts to cope with versions in Ubuntu.
-    - cputable: Set cpu to i686 for arch i386.
-
- -- Colin Watson <cjwatson@ubuntu.com>  Mon, 20 Dec 2010 17:41:44 +0000
-
 dpkg (1.15.8.7) unstable; urgency=low
 
   [ Guillem Jover ]
@@ -4180,16 +3093,6 @@ dpkg (1.15.8.7) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Mon, 20 Dec 2010 02:26:26 +0100
 
-dpkg (1.15.8.6ubuntu1) natty; urgency=low
-
-  * Resynchronise with Debian.  Remaining changes:
-    - Adjust versioned emacs22 conflicts to cope with versions in Ubuntu.
-    - cputable: Set cpu to i686 for arch i386.
-  * Restore optimisations on armel, now that the compiler is believed to be
-    fixed (LP: #674146).
-
- -- Colin Watson <cjwatson@ubuntu.com>  Fri, 03 Dec 2010 16:47:01 +0000
-
 dpkg (1.15.8.6) unstable; urgency=low
 
   [ Raphaël Hertzog ]
@@ -4235,22 +3138,6 @@ dpkg (1.15.8.6) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Thu, 25 Nov 2010 07:10:48 +0100
 
-dpkg (1.15.8.5ubuntu2) natty; urgency=low
-
-  * debian/rules: Disabled compiler optimizations on arch "armel" (LP: #674146)
-    This is a temporary work-around until we can identify the cause of the
-    stack corruption and subsequent SIGSEGV.
-
- -- James Hunt <james.hunt@ubuntu.com>  Tue, 16 Nov 2010 13:54:56 +0000
-
-dpkg (1.15.8.5ubuntu1) natty; urgency=low
-
-  * Resynchronise with Debian.  Remaining changes:
-    - Adjust versioned emacs22 conflicts to cope with versions in Ubuntu.
-    - cputable: Set cpu to i686 for arch i386.
-
- -- Colin Watson <cjwatson@ubuntu.com>  Mon, 11 Oct 2010 16:04:53 +0100
-
 dpkg (1.15.8.5) unstable; urgency=low
 
   [ Guillem Jover ]
@@ -4313,33 +3200,6 @@ dpkg (1.15.8.5) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Tue, 14 Sep 2010 01:26:21 +0200
 
-dpkg (1.15.8.4ubuntu3) maverick; urgency=low
-
-  * scripts/Dpkg/Source/Archive.pm: Drop -k parameter from the tar call used 
-    by dpkg-source to extract tarballs. Upstream binary files modified by the 
-    packager were not properly installed due to this.  Patch courtesy of 
-    Raphaël Hertzog (upstream, debian git). (LP: #633015)
-
- -- Dave Walker (Daviey) <DaveWalker@ubuntu.com>  Wed, 08 Sep 2010 10:17:20 +0100
-
-dpkg (1.15.8.4ubuntu2) maverick; urgency=low
-
-  * Backport from sid branch (Guillem Jover):
-    - Do not print a warning when parsing status or status log files on
-      half-installed packages w/o a Description or Maintainer field, as this
-      happens normally when the package was never installed before
-      (LP: #619135).
-
- -- Colin Watson <cjwatson@ubuntu.com>  Mon, 23 Aug 2010 12:07:24 +0100
-
-dpkg (1.15.8.4ubuntu1) maverick; urgency=low
-
-  * Resynchronise with Debian.  Remaining changes:
-    - Adjust versioned emacs22 conflicts to cope with versions in Ubuntu.
-    - cputable: Set cpu to i686 for arch i386.
-
- -- Colin Watson <cjwatson@ubuntu.com>  Mon, 16 Aug 2010 14:57:09 +0100
-
 dpkg (1.15.8.4) unstable; urgency=low
 
   [ Guillem Jover ]
@@ -4383,41 +3243,6 @@ dpkg (1.15.8.3) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Mon, 02 Aug 2010 10:38:07 +0200
 
-dpkg (1.15.8.2ubuntu4) maverick; urgency=low
-
-  * Cherry-pick d9af569 from dpkg.git sid branch to fix dpkg-shlibdeps in
-    cross-builds:
-
-  [ Raphaël Hertzog]
-  * When analyzing the ELF format of a binary in dpkg-shlibdeps, fallback on
-    usual objdump when the cross objdump failed. Closes: #591522
-
- -- Loïc Minier <loic.minier@ubuntu.com>  Thu, 12 Aug 2010 07:03:19 +0200
-
-dpkg (1.15.8.2ubuntu3) maverick; urgency=low
-
-  * debian/rules: Globally set $PATH instead of just for dh_builddeb, so that
-    it also applies to pkg-create-dbgsym.
-
- -- Martin Pitt <martin.pitt@ubuntu.com>  Mon, 02 Aug 2010 11:26:48 +0200
-
-dpkg (1.15.8.2ubuntu2) maverick; urgency=low
-
-  * Fix buffer overflow in dpkg_ar_member_put_header. Cherrypicked from trunk.
-    (LP: #612457, Debian #591312)
-  * debian/rules: Add build-tree/dpkg-deb to $PATH when calling dh_builddeb,
-    to pull ourselves out of above swamp.
-
- -- Martin Pitt <martin.pitt@ubuntu.com>  Mon, 02 Aug 2010 11:03:18 +0200
-
-dpkg (1.15.8.2ubuntu1) maverick; urgency=low
-
-  * Resynchronise with Debian.  Remaining changes:
-    - Adjust versioned emacs22 conflicts to cope with versions in Ubuntu.
-    - cputable: Set cpu to i686 for arch i386.
-
- -- Colin Watson <cjwatson@ubuntu.com>  Sun, 01 Aug 2010 16:53:42 -0500
-
 dpkg (1.15.8.2) unstable; urgency=low
 
   * Bump libdpkg-perl Depends on dpkg to 1.15.8, as it will break dpkg
@@ -4567,31 +3392,6 @@ dpkg (1.15.8) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Thu, 29 Jul 2010 09:37:35 +0200
 
-dpkg (1.15.7.2ubuntu2) maverick; urgency=low
-
-  * Backport support for the file filtering feature as per the mobile team's
-    request. Add two new dpkg options --path-exclude and --path-include
-    (Upstream commit 4694cd64) and two followup bug fixes (commits 58b91fbb
-    and f008d677).
-
- -- Martin Pitt <martin.pitt@ubuntu.com>  Mon, 28 Jun 2010 10:23:45 +0200
-
-dpkg (1.15.7.2ubuntu1) maverick; urgency=low
-
-  * Resynchronise with Debian.  Remaining changes:
-    - Adjust versioned emacs22 conflicts to cope with versions in Ubuntu.
-    - Implement handling of hardening-wrapper options via DEB_BUILD_OPTIONS.
-    - cputable: Set cpu to i686 for arch i386.
-  * Drop change to output a newline after a postinst is run; this is
-    probably not going to be merged in Debian and it's not worth carrying a
-    delta for this.
-  * Drop remnants of fixes for duplicate close/closedir calls; what's left
-    no longer appears to make any practical difference, since the duplicate
-    calls will at worst simply return EBADF/EINVAL.
-  * libdpkg: Fix buffer overflow in ar test.
-
- -- Colin Watson <cjwatson@ubuntu.com>  Thu, 20 May 2010 15:41:52 +0100
-
 dpkg (1.15.7.2) unstable; urgency=low
 
   [ Raphaël Hertzog ]
@@ -5010,88 +3810,6 @@ dpkg (1.15.6) experimental; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Fri, 12 Mar 2010 00:15:31 +0100
 
-dpkg (1.15.5.6ubuntu5) maverick; urgency=low
-
-  * cputable: Set cpu to i686 for arch i386.
-
- -- Matthias Klose <doko@ubuntu.com>  Tue, 18 May 2010 12:48:26 +0200
-
-dpkg (1.15.5.6ubuntu4) lucid; urgency=low
-
-  * Backport from upstream:
-    - Restore fsync during package unpack (LP: #559915).  This is now done
-      by deferring the fsync and rename for normal files in tar extraction
-      so that it's done in one pass afterwards, to avoid massive I/O
-      degradation due to the serialization from each write + fsync.  When
-      creating hard links to normal files on extraction use the .dpkg-new
-      filename for source as the file is not yet in place due to the rename
-      deferral.
-    - Fix dpkg to not lose package metadata on filesystems where readdir()
-      returns new files added after the opendir() call, btrfs in particular
-      triggered the problematic behaviour. Closes: #575891
-    - Report deferred trigger errors on status-fd. Closes: #574599,
-      LP: #540252
-      Thanks to Michael Vogt <michael.vogt@ubuntu.com>.
-
- -- Colin Watson <cjwatson@ubuntu.com>  Thu, 15 Apr 2010 12:38:50 +0100
-
-dpkg (1.15.5.6ubuntu3) lucid; urgency=low
-
-  * Revert fsync during package unpack for now; it's unacceptably slow for
-    packages with lots of small files, and we can't ship beta-1 this way.
-    We'll do something better once it's decided upstream (LP: #537241).
-
- -- Colin Watson <cjwatson@ubuntu.com>  Tue, 16 Mar 2010 10:04:38 +0000
-
-dpkg (1.15.5.6ubuntu2) lucid; urgency=high
-
-  * Backport from upstream:
-    - Use FIEMAP when available (on Linux based systems) to sort the .list
-      files loading order. With a cold cache it improves up to a 70%.
-      Thanks to Morten Hustveit <morten@debian.org>. LP: #442114
-    - Call fsync(2) after writing files on disk, to get the atomicity
-      guarantees when doing rename(2). Based on a patch by Jean-Baptiste
-      Lallement <jeanbaptiste.lallement@gmail.com>.
-      Closes: #430958, LP: #512096
-  * Security fixes by Raphaël Hertzog, also backported from upstream
-    (CVE-2010-0396):
-    - Modify dpkg-source to error out when it would apply patches containing
-      insecure paths (with "/../") and also error out when it would apply a
-      patch through a symlink. Those checks are required as patch will
-      happily modify files outside of the target directory and unpacking a
-      source package should not be able to have any side-effect outside of
-      the target directory. LP: #532445
-    - Also error out when the quilt series contains a path with "/../" as
-      this can cause patch to create files outside of the source package due
-      to the -B .pc/$path option that it gets.
-
- -- Colin Watson <cjwatson@ubuntu.com>  Thu, 11 Mar 2010 00:34:28 +0000
-
-dpkg (1.15.5.6ubuntu1) lucid; urgency=low
-
-  * Resynchronise with Debian.  Remaining changes:
-    Ubuntu-specific adjustments (probably):
-    - Adjust versioned emacs22 conflicts to cope with versions in Ubuntu.
-
-    Miscellaneous bug fixes:
-    - Avoid duplicate attempts to [f]close in obscure error situations which
-      might conceivably close wrong fds.
-    - Revert change to stop outputting a newline after a postinst is run
-      (Debian #392317).
-
-    Build options:
-    - Point to https://wiki.ubuntu.com/DistCompilerFlags from
-      dpkg-buildpackage(1).
-    - Set default LDFLAGS to -Wl,-Bsymbolic-functions. (We've already taken
-      this hit in Ubuntu.)
-    - Implement handling of hardening-wrapper options via DEB_BUILD_OPTIONS.
-
-  * Drop lpia hacks; lpia is no longer supported.
-  * Drop moves of various Conflicts to Breaks, which are moot since hardy
-    has newer versions of all the affected packages.
-
- -- Colin Watson <cjwatson@ubuntu.com>  Sun, 14 Feb 2010 01:32:19 +0000
-
 dpkg (1.15.5.6) unstable; urgency=low
 
   * dpkg-source: with format "3.0 (quilt)" ensure quilt's .pc directory is
@@ -5308,36 +4026,6 @@ dpkg (1.15.5) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Tue, 17 Nov 2009 10:17:57 +0100
 
-dpkg (1.15.4.1ubuntu1) lucid; urgency=low
-
-  * Resynchronise with Debian. Remaining changes:
-    Ubuntu-specific adjustments (probably):
-    - Use i686 for lpia in cputable and triplettable.
-    - Hack Dpkg::Arch to return i686 for lpia.
-    - Move various Conflicts to Breaks, since upgrades from stable Ubuntu
-      releases support Breaks.
-    - Adjust versioned emacs22 conflicts to cope with versions in Ubuntu.
-
-    Miscellaneous bug fixes:
-    - Avoid duplicate attempts to [f]close in obscure error situations which
-      might conceivably close wrong fds.
-    - Revert change to stop outputting a newline after a postinst is run
-      (Debian #392317).
-    - Use the two-arg form of open in Dpkg::Control so that "-" can be
-      passed to parse stdin as a control file (Debian #465340).
-
-    Launchpad integration:
-    - Add Launchpad-Bugs-Fixed handling in a few more places.
-
-    Build options:
-    - Point to https://wiki.ubuntu.com/DistCompilerFlags from
-      dpkg-buildpackage(1).
-    - Set default LDFLAGS to -Wl,-Bsymbolic-functions. (We've already taken
-      this hit in Ubuntu.)
-    - Implement handling of hardening-wrapper options via DEB_BUILD_OPTIONS.
-
- -- Colin Watson <cjwatson@ubuntu.com>  Wed, 11 Nov 2009 11:34:56 +0000
-
 dpkg (1.15.4.1) unstable; urgency=medium
 
   * Do not mark any package as unseen in dselect. This is a workaround
@@ -5345,41 +4033,6 @@ dpkg (1.15.4.1) unstable; urgency=medium
 
  -- Guillem Jover <guillem@debian.org>  Mon, 19 Oct 2009 15:15:17 +0200
 
-dpkg (1.15.4ubuntu2) karmic; urgency=low
-
-  * dpkg: Adjust versioned emacs22 conflicts. LP: #432584.
-
- -- Matthias Klose <doko@ubuntu.com>  Sun, 20 Sep 2009 10:08:33 +0200
-
-dpkg (1.15.4ubuntu1) karmic; urgency=low
-
-  * Resynchronise with Debian (LP: #427854). Remaining changes:
-    Ubuntu-specific adjustments (probably):
-    - Use i686 for lpia in cputable and triplettable.
-    - Hack Dpkg::Arch to return i686 for lpia.
-    - Move various Conflicts to Breaks, since upgrades from stable Ubuntu
-      releases support Breaks.
-
-    Miscellaneous bug fixes:
-    - Avoid duplicate attempts to [f]close in obscure error situations which
-      might conceiveably close wrong fds.
-    - Revert change to stop outputting a newline after a postinst is run
-      (Debian #392317).
-    - Use the two-arg form of open in Dpkg::Control so that "-" can be
-      passed to parse stdin as a control file (Debian #465340).
-
-    Launchpad integration:
-    - Add Launchpad-Bugs-Fixed handling in a few more places.
-
-    Build options:
-    - Point to https://wiki.ubuntu.com/DistCompilerFlags from
-      dpkg-buildpackage(1).
-    - Set default LDFLAGS to -Wl,-Bsymbolic-functions. (We've already taken
-      this hit in Ubuntu.)
-    - Implement handling of hardening-wrapper options via DEB_BUILD_OPTIONS.
-
- -- Colin Watson <cjwatson@ubuntu.com>  Fri, 18 Sep 2009 13:39:36 +0100
-
 dpkg (1.15.4) unstable; urgency=low
 
   [ Guillem Jover ]
@@ -5512,35 +4165,6 @@ dpkg (1.15.4) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Sun, 06 Sep 2009 09:37:45 +0200
 
-dpkg (1.15.3.1ubuntu1) karmic; urgency=low
-
-  * Resynchronise with Debian. Remaining changes:
-    Ubuntu-specific adjustments (probably):
-    - Use i686 for lpia in cputable and triplettable.
-    - Hack Dpkg::Arch to return i686 for lpia.
-    - Move various Conflicts to Breaks, since upgrades from stable Ubuntu
-      releases support Breaks.
-
-    Miscellaneous bug fixes:
-    - Avoid duplicate attempts to [f]close in obscure error situations which
-      might conceiveably close wrong fds.
-    - Revert change to stop outputting a newline after a postinst is run
-      (Debian #392317).
-    - Use the two-arg form of open in Dpkg::Control so that "-" can be
-      passed to parse stdin as a control file (Debian #465340).
-
-    Launchpad integration:
-    - Add Launchpad-Bugs-Fixed handling in a few more places.
-
-    Build options:
-    - Point to https://wiki.ubuntu.com/DistCompilerFlags from
-      dpkg-buildpackage(1).
-    - Set default LDFLAGS to -Wl,-Bsymbolic-functions. (We've already taken
-      this hit in Ubuntu.)
-    - Implement handling of hardening-wrapper options via DEB_BUILD_OPTIONS.
-
- -- Colin Watson <cjwatson@ubuntu.com>  Wed, 08 Jul 2009 17:45:09 +0100
-
 dpkg (1.15.3.1) unstable; urgency=low
 
   [ Modestas Vainius ]
@@ -5548,35 +4172,6 @@ dpkg (1.15.3.1) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Wed, 08 Jul 2009 11:26:36 +0200
 
-dpkg (1.15.3ubuntu1) karmic; urgency=low
-
-  * Resynchronise with Debian (LP: #393280). Remaining changes:
-    Ubuntu-specific adjustments (probably):
-    - Use i686 for lpia in cputable and triplettable.
-    - Hack Dpkg::Arch to return i686 for lpia.
-    - Move various Conflicts to Breaks, since upgrades from stable Ubuntu
-      releases support Breaks.
-
-    Miscellaneous bug fixes:
-    - Avoid duplicate attempts to [f]close in obscure error situations which
-      might conceiveably close wrong fds.
-    - Revert change to stop outputting a newline after a postinst is run
-      (Debian #392317).
-    - Use the two-arg form of open in Dpkg::Control so that "-" can be
-      passed to parse stdin as a control file (Debian #465340).
-
-    Launchpad integration:
-    - Add Launchpad-Bugs-Fixed handling in a few more places.
-
-    Build options:
-    - Point to https://wiki.ubuntu.com/DistCompilerFlags from
-      dpkg-buildpackage(1).
-    - Set default LDFLAGS to -Wl,-Bsymbolic-functions. (We've already taken
-      this hit in Ubuntu.)
-    - Implement handling of hardening-wrapper options via DEB_BUILD_OPTIONS.
-
- -- Colin Watson <cjwatson@ubuntu.com>  Tue, 07 Jul 2009 13:26:01 +0100
-
 dpkg (1.15.3) unstable; urgency=low
 
   [ Guillem Jover ]
@@ -5653,38 +4248,6 @@ dpkg (1.15.3) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Sat, 27 Jun 2009 19:06:43 +0200
 
-dpkg (1.15.2ubuntu1) karmic; urgency=low
-
-  * Resynchronise with Debian. Remaining changes:
-    Ubuntu-specific adjustments (probably):
-    - Use i686 for lpia in cputable and triplettable.
-    - Hack Dpkg::Arch to return i686 for lpia.
-    - Move various Conflicts to Breaks, since upgrades from stable Ubuntu
-      releases support Breaks.
-
-    Miscellaneous bug fixes:
-    - Avoid closing fsys tarfile pipe twice even in normal operation -
-      normally EBADF but might sometimes close some other desired fd and
-      cause hideous doom.
-    - Avoid duplicate attempts to [f]close in obscure error situations which
-      might conceiveably close wrong fds.
-    - Revert change to stop outputting a newline after a postinst is run
-      (Debian #392317).
-    - Use the two-arg form of open in Dpkg::Control so that "-" can be
-      passed to parse stdin as a control file (Debian #465340).
-
-    Launchpad integration:
-    - Add Launchpad-Bugs-Fixed handling in a few more places.
-
-    Build options:
-    - Point to https://wiki.ubuntu.com/DistCompilerFlags from
-      dpkg-buildpackage(1).
-    - Set default LDFLAGS to -Wl,-Bsymbolic-functions. (We've already taken
-      this hit in Ubuntu.)
-    - Implement handling of hardening-wrapper options via DEB_BUILD_OPTIONS.
-
- -- Colin Watson <cjwatson@ubuntu.com>  Tue, 07 Jul 2009 12:47:24 +0100
-
 dpkg (1.15.2) unstable; urgency=low
 
   [ Guillem Jover ]
@@ -6123,66 +4686,6 @@ dpkg (1.14.25) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Tue, 03 Feb 2009 00:00:41 +0200
 
-dpkg (1.14.24ubuntu2) karmic; urgency=low
-
-  * Backport from unstable (we'll merge soon enough, but I'm waiting for
-    1.15.1):
-    - Fix dpkg-source to not die when uncompressor processes are killed by
-      SIGPIPE due to tar closing the pipe without exhausting all the data
-      available. Closes: #523329
-
- -- Colin Watson <cjwatson@ubuntu.com>  Wed, 29 Apr 2009 00:26:36 +0100
-
-dpkg (1.14.24ubuntu1) jaunty; urgency=low
-
-  * Resynchronise with Debian. Remaining changes:
-    Ubuntu-specific adjustments (probably):
-    - Use i686 for lpia in cputable and triplettable.
-    - Hack Dpkg::Arch to return i686 for lpia.
-    - Move various Conflicts to Breaks, since upgrades from stable Ubuntu
-      releases support Breaks.
-    - Check source package signatures using
-      /usr/share/keyrings/ubuntu-archive-keyring.gpg if it exists.
-
-    Miscellaneous bug fixes:
-    - Avoid closing fsys tarfile pipe twice even in normal operation -
-      normally EBADF but might sometimes close some other desired fd and
-      cause hideous doom.
-    - Avoid duplicate attempts to [f]close in obscure error situations which
-      might conceiveably close wrong fds.
-    - Add a few more comments around obscure bits of trigger handling code
-      which confused both me and Ian during the merge.
-    - Revert change to stop outputting a newline after a postinst is run
-      (Debian #392317).
-    - Use the two-arg form of open in Dpkg::Control so that "-" can be
-      passed to parse stdin as a control file (Debian #465340).
-    - chdir("/") after chroot() when executing maintainer scripts under
-      --instdir (Debian #509578).
-
-    Launchpad integration:
-    - Implement changelog-closes-bugs for Ubuntu (see
-      https://wiki.ubuntu.com/ClosingBugsFromChangelog).
-    - Add Launchpad-Bugs-Fixed to dpkg-genchanges too, to make it not
-      complain about unknown fields.
-
-    DebianMaintainerField:
-    - scripts/dpkg-source.pl: Check that debian/control complies with
-      https://wiki.ubuntu.com/DebianMaintainerField: If $DEBEMAIL contains
-      '@ubuntu.com', refuse to build a source package if we have an Ubuntu
-      version number, but Maintainer: is not an Ubuntu address. Output a
-      warning if $DEBEMAIL contains 'ubuntu' but not '@ubuntu.com', or if
-      there is no XSBC-Original-Maintainer: field for packages with an
-      Ubuntu version number (Debian #426752).
-
-    Build options:
-    - Point to https://wiki.ubuntu.com/DistCompilerFlags from
-      dpkg-buildpackage(1).
-    - Set default LDFLAGS to -Wl,-Bsymbolic-functions. (We've already taken
-      this hit in Ubuntu.)
-    - Implement handling of hardening-wrapper options via DEB_BUILD_OPTIONS.
-
- -- Colin Watson <cjwatson@ubuntu.com>  Wed, 07 Jan 2009 12:11:09 +0000
-
 dpkg (1.14.24) unstable; urgency=low
 
   [ Raphaël Hertzog ]
@@ -6212,56 +4715,6 @@ dpkg (1.14.24) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Mon, 29 Dec 2008 05:38:31 +0100
 
-dpkg (1.14.23ubuntu1) jaunty; urgency=low
-
-  * Resynchronise with Debian. Remaining changes:
-    Ubuntu-specific adjustments (probably):
-    - Use i686 for lpia in cputable and triplettable.
-    - Hack Dpkg::Arch to return i686 for lpia.
-    - Move various Conflicts to Breaks, since upgrades from stable Ubuntu
-      releases support Breaks.
-    - Check source package signatures using
-      /usr/share/keyrings/ubuntu-archive-keyring.gpg if it exists.
-
-    Miscellaneous bug fixes:
-    - Avoid closing fsys tarfile pipe twice even in normal operation -
-      normally EBADF but might sometimes close some other desired fd and
-      cause hideous doom.
-    - Avoid duplicate attempts to [f]close in obscure error situations which
-      might conceiveably close wrong fds.
-    - Add a few more comments around obscure bits of trigger handling code
-      which confused both me and Ian during the merge.
-    - Revert change to stop outputting a newline after a postinst is run
-      (Debian #392317).
-    - Use the two-arg form of open in Dpkg::Control so that "-" can be
-      passed to parse stdin as a control file (Debian #465340).
-    - chdir("/") after chroot() when executing maintainer scripts under
-      --instdir (Debian #509578).
-
-    Launchpad integration:
-    - Implement changelog-closes-bugs for Ubuntu (see
-      https://wiki.ubuntu.com/ClosingBugsFromChangelog).
-    - Add Launchpad-Bugs-Fixed to dpkg-genchanges too, to make it not
-      complain about unknown fields.
-
-    DebianMaintainerField:
-    - scripts/dpkg-source.pl: Check that debian/control complies with
-      https://wiki.ubuntu.com/DebianMaintainerField: If $DEBEMAIL contains
-      '@ubuntu.com', refuse to build a source package if we have an Ubuntu
-      version number, but Maintainer: is not an Ubuntu address. Output a
-      warning if $DEBEMAIL contains 'ubuntu' but not '@ubuntu.com', or if
-      there is no XSBC-Original-Maintainer: field for packages with an
-      Ubuntu version number (Debian #426752).
-
-    Build options:
-    - Point to https://wiki.ubuntu.com/DistCompilerFlags from
-      dpkg-buildpackage(1).
-    - Set default LDFLAGS to -Wl,-Bsymbolic-functions. (We've already taken
-      this hit in Ubuntu.)
-    - Implement handling of hardening-wrapper options via DEB_BUILD_OPTIONS.
-
- -- Colin Watson <cjwatson@ubuntu.com>  Tue, 23 Dec 2008 12:57:32 +0000
-
 dpkg (1.14.23) unstable; urgency=low
 
   [ Raphaël Hertzog ]
@@ -6308,60 +4761,6 @@ dpkg (1.14.23) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Tue, 18 Nov 2008 11:50:56 +0200
 
-dpkg (1.14.22ubuntu1) jaunty; urgency=low
-
-  * Resynchronise with Debian. Remaining changes:
-    Ubuntu-specific adjustments (probably):
-    - Use i686 for lpia in cputable and triplettable.
-    - Hack Dpkg::Arch to return i686 for lpia.
-    - Move various Conflicts to Breaks, since upgrades from stable Ubuntu
-      releases support Breaks.
-    - Check source package signatures using
-      /usr/share/keyrings/ubuntu-archive-keyring.gpg if it exists.
-
-    Miscellaneous bug fixes:
-    - Avoid closing fsys tarfile pipe twice even in normal operation -
-      normally EBADF but might sometimes close some other desired fd and
-      cause hideous doom.
-    - Avoid duplicate attempts to [f]close in obscure error situations which
-      might conceiveably close wrong fds.
-    - Add a few more comments around obscure bits of trigger handling code
-      which confused both me and Ian during the merge.
-    - Revert change to stop outputting a newline after a postinst is run
-      (Debian bug #392317).
-    - Use the two-arg form of open in Dpkg::Control so that "-" can be
-      passed to parse stdin as a control file.
-    - chdir("/") after chroot() when executing maintainer scripts under
-      --instdir.
-
-    Launchpad integration:
-    - Implement changelog-closes-bugs for Ubuntu (see
-      https://wiki.ubuntu.com/ClosingBugsFromChangelog).
-    - Add Launchpad-Bugs-Fixed to dpkg-genchanges too, to make it not
-      complain about unknown fields.
-
-    DebianMaintainerField:
-    - scripts/dpkg-source.pl: Check that debian/control complies with
-      https://wiki.ubuntu.com/DebianMaintainerField: If $DEBEMAIL contains
-      '@ubuntu.com', refuse to build a source package if we have an Ubuntu
-      version number, but Maintainer: is not an Ubuntu address. Output a
-      warning if $DEBEMAIL contains 'ubuntu' but not '@ubuntu.com', or if
-      there is no XSBC-Original-Maintainer: field for packages with an
-      Ubuntu version number.
-
-    Build options:
-    - Point to https://wiki.ubuntu.com/DistCompilerFlags from
-      dpkg-buildpackage(1).
-    - Set default LDFLAGS to -Wl,-Bsymbolic-functions. (We've already taken
-      this hit in Ubuntu.)
-    - Implement handling of hardening-wrapper options via DEB_BUILD_OPTIONS.
-
-  * Drop changes only relevant to unsupported and unlikely upgrade paths:
-    - Rename triggers/Deferred to triggers/Unincorp to fix upgrades from
-      early versions of trigger support in Ubuntu.
-
- -- Colin Watson <cjwatson@ubuntu.com>  Sat, 01 Nov 2008 02:01:27 +0000
-
 dpkg (1.14.22) unstable; urgency=low
 
   [ Raphaël Hertzog ]
@@ -6451,91 +4850,6 @@ dpkg (1.14.21) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Tue, 26 Aug 2008 05:32:39 +0300
 
-dpkg (1.14.20ubuntu6) intrepid; urgency=low
-
-  * Be more liberal when checking for an Ubuntu Maintainer field; a
-    case-insensitive check is good enough, and copes e.g. with mplayer's
-    "Maintainer: Ubuntu MOTU Media Team <motumedia@tauware.de>".
-
- -- Colin Watson <cjwatson@ubuntu.com>  Wed, 03 Sep 2008 12:50:49 +0100
-
-dpkg (1.14.20ubuntu5) intrepid; urgency=low
-
-  * scripts/Dpkg/Source/Package.pm: Point gpg at
-    /usr/share/keyrings/ubuntu-archive-keyring.gpg if it exists.
-
- -- Colin Watson <cjwatson@ubuntu.com>  Tue, 19 Aug 2008 17:29:27 +0100
-
-dpkg (1.14.20ubuntu4) intrepid; urgency=low
-
-  * scripts/dpkg-source.pl: Fix the regexp for the DEBEMAIL check to be more
-    specific to @ubuntu.com addresses. Addresses like "ubuntu@foo.com" should
-    not be considered as official ubuntu developer addresses. (LP: #252262)
-
- -- Martin Pitt <martin.pitt@ubuntu.com>  Tue, 29 Jul 2008 22:12:53 +0200
-
-dpkg (1.14.20ubuntu3) intrepid; urgency=low
-
-  * src/help.c: chdir("/") after chroot().  Not only is this good practice,
-    but it works around bug #251223
-
- -- Matt Zimmerman <mdz@ubuntu.com>  Thu, 24 Jul 2008 18:31:52 +0100
-
-dpkg (1.14.20ubuntu2) intrepid; urgency=low
-
-  * scripts/dpkg-buildpackage.pl, man/dpkg-buildpackage.1: implement
-    handling of hardening-wrapper options via DEB_BUILD_OPTIONS
-    (Debian bug #489771).
-
- -- Kees Cook <kees@ubuntu.com>  Thu, 03 Jul 2008 13:18:50 -0700
-
-dpkg (1.14.20ubuntu1) intrepid; urgency=low
-
-  * Resynchronise with Debian. Remaining changes:
-    Ubuntu-specific adjustments (probably):
-    - Use i686 for lpia in cputable and triplettable.
-    - Hack Dpkg::Arch to return i686 for lpia.
-    - Pre-depend on lzma.
-    - Move various Conflicts to Breaks, since upgrades from stable Ubuntu
-      releases support Breaks.
-    - Rename triggers/Deferred to triggers/Unincorp to fix upgrades from
-      early versions of trigger support in Ubuntu.
-
-    Miscellaneous bug fixes:
-    - Avoid closing fsys tarfile pipe twice even in normal operation -
-      normally EBADF but might sometimes close some other desired fd and
-      cause hideous doom.
-    - Avoid duplicate attempts to [f]close in obscure error situations which
-      might conceiveably close wrong fds.
-    - Add a few more comments around obscure bits of trigger handling code
-      which confused both me and Ian during the merge.
-    - Revert change to stop outputting a newline after a postinst is run
-      (Debian bug #392317).
-    - Use the two-arg form of open in Dpkg::Control so that "-" can be
-      passed to parse stdin as a control file.
-
-    Launchpad integration:
-    - Implement changelog-closes-bugs for Ubuntu (see
-      https://wiki.ubuntu.com/ClosingBugsFromChangelog).
-    - Add Launchpad-Bugs-Fixed to dpkg-genchanges too, to make it not
-      complain about unknown fields.
-
-    DebianMaintainerField:
-    - scripts/dpkg-source.pl: Check that debian/control complies with
-      https://wiki.ubuntu.com/DebianMaintainerField: If $DEBEMAIL contains
-      'ubuntu', refuse to build a source package if we have an Ubuntu
-      version number, but Maintainer: is not an Ubuntu address. Output a
-      warning if there is no XSBC-Original-Maintainer: field for packages
-      with an Ubuntu version number.
-
-    DistCompilerFlags:
-    - Point to https://wiki.ubuntu.com/DistCompilerFlags from
-      dpkg-buildpackage(1).
-    - Set default LDFLAGS to -Wl,-Bsymbolic-functions. (We've already taken
-      this hit in Ubuntu.)
-
- -- Colin Watson <cjwatson@ubuntu.com>  Thu, 26 Jun 2008 13:07:53 +0100
-
 dpkg (1.14.20) unstable; urgency=low
 
   [ Guillem Jover ]
@@ -6600,61 +4914,6 @@ dpkg (1.14.20) unstable; urgency=low
 
  -- Raphaël Hertzog <hertzog@debian.org>  Wed, 18 Jun 2008 09:33:54 +0200
 
-dpkg (1.14.19ubuntu2) intrepid; urgency=low
-
-  * scripts/dpkg-source.pl: Check if $DEBEMAIL is defined before testing it
-    for @ubuntu, to avoid Perl warnings. Thanks to Fabien Tassin!
-    (LP: #133024)
-
- -- Martin Pitt <martin.pitt@ubuntu.com>  Mon, 09 Jun 2008 09:51:08 +0000
-
-dpkg (1.14.19ubuntu1) intrepid; urgency=low
-
-  * Resynchronise with Debian. Remaining changes:
-    Ubuntu-specific adjustments (probably):
-    - Use i686 for lpia in cputable and triplettable.
-    - Hack Dpkg::Arch to return i686 for lpia.
-    - Pre-depend on lzma.
-    - Move various Conflicts to Breaks, since upgrades from stable Ubuntu
-      releases support Breaks.
-    - Rename triggers/Deferred to triggers/Unincorp to fix upgrades from
-      early versions of trigger support in Ubuntu.
-
-    Miscellaneous bug fixes:
-    - Avoid closing fsys tarfile pipe twice even in normal operation -
-      normally EBADF but might sometimes close some other desired fd and
-      cause hideous doom.
-    - Avoid duplicate attempts to [f]close in obscure error situations which
-      might conceiveably close wrong fds.
-    - Add a few more comments around obscure bits of trigger handling code
-      which confused both me and Ian during the merge.
-    - Revert change to stop outputting a newline after a postinst is run
-      (Debian bug #392317).
-    - Use the two-arg form of open in Dpkg::Control so that "-" can be
-      passed to parse stdin as a control file.
-
-    Launchpad integration:
-    - Implement changelog-closes-bugs for Ubuntu (see
-      https://wiki.ubuntu.com/ClosingBugsFromChangelog).
-    - Add Launchpad-Bugs-Fixed to dpkg-genchanges too, to make it not
-      complain about unknown fields.
-
-    DebianMaintainerField:
-    - scripts/dpkg-source.pl: Check that debian/control complies with
-      https://wiki.ubuntu.com/DebianMaintainerField: If $DEBEMAIL contains
-      'ubuntu', refuse to build a source package if we have an Ubuntu
-      version number, but Maintainer: is not an Ubuntu address. Output a
-      warning if there is no XSBC-Original-Maintainer: field for packages
-      with an Ubuntu version number.
-
-    DistCompilerFlags:
-    - Point to https://wiki.ubuntu.com/DistCompilerFlags from
-      dpkg-buildpackage(1).
-    - Set default LDFLAGS to -Wl,-Bsymbolic-functions. (We've already taken
-      this hit in Ubuntu.)
-
- -- Colin Watson <cjwatson@ubuntu.com>  Tue, 27 May 2008 13:15:16 +0100
-
 dpkg (1.14.19) unstable; urgency=low
 
   [ Guillem Jover ]
@@ -6737,53 +4996,6 @@ dpkg (1.14.19) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Mon, 12 May 2008 08:33:07 +0300
 
-dpkg (1.14.18ubuntu1) intrepid; urgency=low
-
-  * Resynchronise with Debian. Remaining changes:
-    Ubuntu-specific adjustments (probably):
-    - Use i686 for lpia in cputable and triplettable.
-    - Hack Dpkg::Arch to return i686 for lpia.
-    - Pre-depend on lzma.
-    - Move various Conflicts to Breaks, since upgrades from stable Ubuntu
-      releases support Breaks.
-    - Rename triggers/Deferred to triggers/Unincorp to fix upgrades from
-      early versions of trigger support in Ubuntu.
-
-    Miscellaneous bug fixes:
-    - Avoid closing fsys tarfile pipe twice even in normal operation -
-      normally EBADF but might sometimes close some other desired fd and
-      cause hideous doom.
-    - Avoid duplicate attempts to [f]close in obscure error situations which
-      might conceiveably close wrong fds.
-    - Add a few more comments around obscure bits of trigger handling code
-      which confused both me and Ian during the merge.
-    - Revert change to stop outputting a newline after a postinst is run
-      (Debian bug #392317).
-    - Use the two-arg form of open in Dpkg::Control so that "-" can be
-      passed to parse stdin as a control file.
-
-    Launchpad integration:
-    - Implement changelog-closes-bugs for Ubuntu (see
-      https://wiki.ubuntu.com/ClosingBugsFromChangelog).
-    - Add Launchpad-Bugs-Fixed to dpkg-genchanges too, to make it not
-      complain about unknown fields.
-
-    DebianMaintainerField:
-    - scripts/dpkg-source.pl: Check that debian/control complies with
-      https://wiki.ubuntu.com/DebianMaintainerField: If $DEBEMAIL contains
-      'ubuntu', refuse to build a source package if we have an Ubuntu
-      version number, but Maintainer: is not an Ubuntu address. Output a
-      warning if there is no XSBC-Original-Maintainer: field for packages
-      with an Ubuntu version number.
-
-    DistCompilerFlags:
-    - Point to https://wiki.ubuntu.com/DistCompilerFlags from
-      dpkg-buildpackage(1).
-    - Set default LDFLAGS to -Wl,-Bsymbolic-functions. (We've already taken
-      this hit in Ubuntu.)
-
- -- Colin Watson <cjwatson@ubuntu.com>  Tue, 27 May 2008 10:56:03 +0100
-
 dpkg (1.14.18) unstable; urgency=low
 
   [ Guillem Jover ]
@@ -7010,106 +5222,6 @@ dpkg (1.14.17) experimental; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Sun, 30 Mar 2008 12:48:22 +0300
 
-dpkg (1.14.16.6ubuntu3) hardy; urgency=low
-
-  [ Stephan Hermann ]
-  * Re-Introduced the "Description" field in *_source.changes files, according
-    to Debian Policy.
-    This was removed during 1.14.16.6 upload and will be reintroduced in
-    1.14.17
-    Changes were taken from debians dpkg git Thx to Raphael Herzog for
-    pointing this out
-
-  [ Soren Hansen ]
-  * Remove NO_PKG_MANGLE to re-enable building of dpkg ddeb's.
-
- -- Soren Hansen <soren@ubuntu.com>  Wed, 13 Feb 2008 00:58:33 +0100
-
-dpkg (1.14.16.6ubuntu2) hardy; urgency=low
-
-  * Fix wrong call to open in Dpkg/Control.pm that makes using a different
-    control file than debian/control fail horribly.
-  * Pass NO_PKG_MANGLE environment variable to dh_strip to make this package
-    not ftbfs. When this is built, published and in the buildd's, we'll
-    reupload without this to regenerate dpkg-dbgsym and such.
-
- -- Soren Hansen <soren@ubuntu.com>  Mon, 11 Feb 2008 23:41:04 +0100
-
-dpkg (1.14.16.6ubuntu1) hardy; urgency=low
-
-  [ Soren Hansen ]
-  * Merge from debian unstable, remaining changes:
-   - Add m_strdup to mlib.
-   - Use i686 for lpia in cputable and triplettable.
-   - Hack Dpkg::Arch to return i686 for lpia.
-   - tarfn.c:
-     + Avoid freeing uninitialised h.{Link,}Name (can cause crash if .deb
-       becomes unreadable while we start up).  (LP #138887)
-     + Use m_malloc instead of malloc (and ditch ad-hoc error handling).
-
-   Launchpad integration:
-   * Implement changelog-closes-bugs for Ubuntu (see
-     https://wiki.ubuntu.com/ClosingBugsFromChangelog).
-   * Add Launchpad-Bugs-Fixed to dpkg-genchanges too, to make it not
-     complain about unknown fields.
-
-   DebianMaintainerField:
-   * scripts/dpkg-source.pl: Check that debian/control complies to
-     https://wiki.ubuntu.com/DebianMaintainerField: Refuse to build a source
-     package if we have an Ubuntu version number, but Maintainer: is not an
-     Ubuntu address. Output a warning if there is no XSBC-Original-Maintainer:
-     field for packages with an Ubuntu version number.
-   * scripts/dpkg-source.pl: Only fail to build the source package if $DEBEMAIL
-     contains 'ubuntu'. If not, only print a warning.
-   * debian/control: Change Maintainer/XSBC-Original-Maintainer field.
-
-   Trigger support:
-   * Implement triggers as per
-     http://lists.debian.org/debian-dpkg/2007/04/msg00076.html (changes too
-     massive to enumerate here).
-   * Add "Breaks: apt (<< 0.7.6ubuntu6), aptitude (<< 0.4.6.1-1ubuntu2)", as
-     triggers add two extra states, which apt and aptitude before then do not
-     know about.
-   * An early version of trigger support caused LP #133172. To fix which
-     systems have had the broken version work we have to rename
-     triggers/Deferred to triggers/Unincorp.  The error messages, comments,
-     etc. will be improved later.
-
-   Status-fd changes:
-   * Changes to --status-fd and logging, motivated by the need to
-     fix apt's progress reporting in the presence of triggers (not introduced
-     in this version, but accidentally left out of previous merge's changelog
-     entry):
-    - Call log_action for trigger processing and configuration.
-    - Produce "processing:" output on --status-fd for start of
-      processing operations (from log_action).
-    - Consolidate clone-and-hack --status-fd output writing into
-      routine statusfd_send[v].
-    - Improve documentation of --status-fd output.
-    - Add log message at start of archivefiles() and packages()
-      (which will assist debugging).
-    - For upgrade, call log_message after printing to stderr,
-      as is done elsewhere.
-    - avoid closing fsys tarfile pipe twice even in normal
-      operation - normally EBADF but might sometimes close some other
-      desired fd and cause hideous doom.  (LP #137191)
-    - avoid duplicate attempts to [f]close in obscure error
-      situations which might conceiveably close wrong fds
-    - cast &fd to void* when passing to push_cleanup cu_closefd
-    - fix parse.c:parsedb to use ehflag_normaltidy in a sane way
-    - when passing &fd to push_cleanup cu_closefd, make fd always static
-      In the longer term --status-fd output ought probably to be made
-      identical to the log output which is richer and more sanely
-      formatted.
-  * New with this merge: Added test case for Launchpad-Bugs-Fixed.
-
-  [ Matthias Klose ]
-  * dpkg-buildpackage: Set a set of environment variables for setting
-    compiler and linker options, unless already set in the environment.
-    See https://wiki.ubuntu.com/DistCompilerFlags for the details.
-
- -- Soren Hansen <soren@ubuntu.com>  Mon, 11 Feb 2008 16:42:49 +0100
-
 dpkg (1.14.16.6) unstable; urgency=medium
 
   * Let dpkg-gensymbols skip directories which are just symlinks when scanning
@@ -7259,74 +5371,6 @@ dpkg (1.14.16) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Mon, 21 Jan 2008 10:00:45 +0200
 
-dpkg (1.14.15ubuntu1) hardy; urgency=low
-
-  * Merge from debian unstable, remaining changes:
-   - Add m_strdup to mlib.
-   - Use i686 for lpia in cputable and triplettable.
-   - Hack Dpkg::Arch to return i686 for lpia.
-   - tarfn.c:
-     + Avoid freeing uninitialised h.{Link,}Name (can cause crash if .deb
-       becomes unreadable while we start up).  (LP #138887)
-     + Use m_malloc instead of malloc (and ditch ad-hoc error handling).
-
-   Launchpad integration:
-   * Implement changelog-closes-bugs for Ubuntu (see
-     https://wiki.ubuntu.com/ClosingBugsFromChangelog).
-   * Add Launchpad-Bugs-Fixed to dpkg-genchanges too, to make it not
-     complain about unknown fields.
-
-   DebianMaintainerField:
-   * scripts/dpkg-source.pl: Check that debian/control complies to
-     https://wiki.ubuntu.com/DebianMaintainerField: Refuse to build a source
-     package if we have an Ubuntu version number, but Maintainer: is not an
-     Ubuntu address. Output a warning if there is no XSBC-Original-Maintainer:
-     field for packages with an Ubuntu version number.
-   * scripts/dpkg-source.pl: Only fail to build the source package if $DEBEMAIL
-     contains 'ubuntu'. If not, only print a warning.
-   * debian/control: Change Maintainer/XSBC-Original-Maintainer field.
-
-   Trigger support:
-   * Implement triggers as per
-     http://lists.debian.org/debian-dpkg/2007/04/msg00076.html (changes too
-     massive to enumerate here).
-   * Add "Breaks: apt (<< 0.7.6ubuntu6), aptitude (<< 0.4.6.1-1ubuntu2)", as
-     triggers add two extra states, which apt and aptitude before then do not
-     know about.
-   * An early version of trigger support caused LP #133172. To fix which
-     systems have had the broken version work we have to rename
-     triggers/Deferred to triggers/Unincorp.  The error messages, comments,
-     etc. will be improved later.
-   
-   Status-fd changes:
-   * Changes to --status-fd and logging, motivated by the need to
-     fix apt's progress reporting in the presence of triggers (not introduced
-     in this version, but accidentally left out of previous merge's changelog
-     entry):
-    - Call log_action for trigger processing and configuration.
-    - Produce "processing:" output on --status-fd for start of
-      processing operations (from log_action).
-    - Consolidate clone-and-hack --status-fd output writing into
-      routine statusfd_send[v].
-    - Improve documentation of --status-fd output.
-    - Add log message at start of archivefiles() and packages()
-      (which will assist debugging).
-    - For upgrade, call log_message after printing to stderr,
-      as is done elsewhere.
-    - avoid closing fsys tarfile pipe twice even in normal
-      operation - normally EBADF but might sometimes close some other
-      desired fd and cause hideous doom.  (LP #137191)
-    - avoid duplicate attempts to [f]close in obscure error
-      situations which might conceiveably close wrong fds
-    - cast &fd to void* when passing to push_cleanup cu_closefd
-    - fix parse.c:parsedb to use ehflag_normaltidy in a sane way
-    - when passing &fd to push_cleanup cu_closefd, make fd always static
-    In the longer term --status-fd output ought probably to be made
-    identical to the log output which is richer and more sanely
-    formatted.
-
- -- Soren Hansen <soren@ubuntu.com>  Mon, 14 Jan 2008 16:22:52 +0100
-
 dpkg (1.14.15) unstable; urgency=low
 
   [ Raphaël Hertzog ]
@@ -7474,67 +5518,6 @@ dpkg (1.14.13) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Thu, 27 Dec 2007 09:16:45 +0200
 
-dpkg (1.14.12ubuntu4) hardy; urgency=low
-
-  * Cherry pick from current trunk:
-    - Fix dpkg-shlibdeps choosing bad symbols files when there are several
-      providing the same soname. LP: #177917.
-
- -- Matthias Klose <doko@ubuntu.com>  Fri, 04 Jan 2008 08:33:24 +0000
-
-dpkg (1.14.12ubuntu3) hardy; urgency=low
-
-  * Move lzma from Suggests to Pre-Depends for dpkg.
-
- -- Chris Cheney <ccheney@ubuntu.com>  Thu, 13 Dec 2007 17:10:09 -0600
-
-dpkg (1.14.12ubuntu2) hardy; urgency=low
-
-  * Cherry pick from current trunk:
-    - Included files in symbols files (via #include) do no more need to repeat
-      the header line. Closes: #455260
-    - scripts/Dpkg/Shlibs/SymbolFile.pm (merge_symbols): Do not update
-      the deprecated version of a a symbol if it is already marked deprecated.
-
- -- Matthias Klose <doko@ubuntu.com>  Wed, 12 Dec 2007 08:37:22 +0000
-
-dpkg (1.14.12ubuntu1) hardy; urgency=low
-
-  * Merge from debian unstable, remaining changes:
-   - Add m_strdup to mlib (part of the fix for Debian #379028).
-   - Use i686 for lpia in cputable and triplettable.
-   - Hack Dpkg::Arch to return i686 for lpia
-
-   Launchpad integration:
-   * Implement changelog-closes-bugs for Ubuntu (see
-     https://wiki.ubuntu.com/ClosingBugsFromChangelog).
-   * Add Launchpad-Bugs-Fixed to dpkg-genchanges too, to make it not
-     complain about unknown fields.
-
-   DebianMaintainerField:
-   * scripts/dpkg-source.pl: Check that debian/control complies to
-     https://wiki.ubuntu.com/DebianMaintainerField: Refuse to build a source
-     package if we have an Ubuntu version number, but Maintainer: is not an
-     Ubuntu address. Output a warning if there is no XSBC-Original-Maintainer:
-     field for packages with an Ubuntu version number.
-   * scripts/dpkg-source.pl: Only fail to build the source package if $DEBEMAIL
-     contains 'ubuntu'. If not, only print a warning.
-   * debian/control: Change Maintainer/XSBC-Original-Maintainer field.
-
-   Trigger support:
-   * Implement triggers as per
-     http://lists.debian.org/debian-dpkg/2007/04/msg00076.html (changes too
-     massive to enumerate here).
-   * Add "Breaks: apt (<< 0.7.6ubuntu6), aptitude (<< 0.4.6.1-1ubuntu2)", as
-     triggers add two extra states, which apt and aptitude before then do not
-     know about.
-   * An early version of trigger support caused LP #133172. To fix which
-     systems have had the broken version work we have to rename
-     triggers/Deferred to triggers/Unincorp.  The error messages, comments,
-     etc. will be improved later.
-
- -- Soren Hansen <soren@ubuntu.com>  Fri, 07 Dec 2007 10:45:12 +0100
-
 dpkg (1.14.12) unstable; urgency=low
 
   [ Raphaël Hertzog ]
@@ -7844,250 +5827,6 @@ dpkg (1.14.6) unstable; urgency=low
 
  -- Guillem Jover <guillem@debian.org>  Wed, 05 Sep 2007 07:36:02 +0300
 
-dpkg (1.14.5ubuntu16) gutsy; urgency=low
-
-  * Fix some portability problems revealed by compiler warnings:
-    - missing <dpkg.h> in tarfn.c, implicit declaration of m_malloc
-    - missing cast for %ld ohshite at info.c:98
-    - unused yyunput (missing %option nounput) in trigdeferred.l
-
- -- Ian Jackson <iwj@ubuntu.com>  Fri, 21 Sep 2007 19:03:36 +0100
-
-dpkg (1.14.5ubuntu15) gutsy; urgency=low
-
-  * Bugfixes to fd cleanup handling:
-    - avoid closing fsys tarfile pipe twice even in normal
-      operation - normally EBADF but might sometimes close some other
-      desired fd and cause hideous doom.  (LP: #137191.)
-    - avoid duplicate attempts to [f]close in obscure error
-      situations which might conceiveably close wrong fds
-    - cast &fd to void* when passing to push_cleanup cu_closefd
-    - fix parse.c:parsedb to use ehflag_normaltidy in a sane way
-    - when passing &fd to push_cleanup cu_closefd, make fd always static
-  * Bugfix in trigger deferred file processing: reset lexer start state
-    when calling yyrestart (has no effect except after parsing/reading
-    errors in the deferred file).
-  * Fix some error handling bugs in tarfn.c:
-    - Avoid freeing uninitialised h.[Link]Name (can cause crash if .deb
-      becomes unreadable while we start up).  (LP: #138887.)
-    - Use m_malloc instead of malloc (and ditch ad-hoc error handling).
-
- -- Ian Jackson <iwj@ubuntu.com>  Thu, 20 Sep 2007 18:12:20 +0100
-
-dpkg (1.14.5ubuntu14) gutsy; urgency=low
-
-  * Change syntax of `processing:...' status fd outputs so
-    as to avoid crashing apt's lame parser.
-
- -- Ian Jackson <iwj@ubuntu.com>  Tue, 18 Sep 2007 17:14:31 +0100
-
-dpkg (1.14.5ubuntu13) gutsy; urgency=low
-
-  * Changes to --status-fd and logging, motivated by the need to
-    fix apt's progress reporting in the presence of triggers:
-    - Call log_action for trigger processing and configuration.
-    - Produce "processing:" output on --status-fd for start of
-      processing operations (from log_action).
-    - Consolidate clone-and-hack --status-fd output writing into
-      routine statusfd_send[v].
-    - Improve documentation of --status-fd output.
-    - Add log message at start of archivefiles() and packages()
-      (which will assist debugging).
-    - For upgrade, call log_message after printing to stderr,
-      as is done elsewhere.
-    In the longer term --status-fd output ought probably to be made
-    identical to the log output which is richer and more sanely
-    formatted.
-  
- -- Ian Jackson <iwj@ubuntu.com>  Tue, 18 Sep 2007 14:13:07 +0100
-
-dpkg (1.14.5ubuntu12) gutsy; urgency=low
-
-  * Rerun autoconf so that version (as in DPKG_RUNNING_VERSION)
-    is 1.14.5ubuntu12.  This is needed for proper detection
-    of trigger capability by eg the ldconfig wrapper.
-
- -- Ian Jackson <iwj@ubuntu.com>  Thu, 06 Sep 2007 16:54:44 +0100
-
-dpkg (1.14.5ubuntu11) gutsy; urgency=low
-
-  * Breaks: enable Breaks processing in depisok
-    (Patch from Debian, buried in git 864201).
-
- -- Ian Jackson <iwj@ubuntu.com>  Wed, 29 Aug 2007 15:10:50 +0100
-
-dpkg (1.14.5ubuntu10) gutsy; urgency=low
-  
-  Triggers improvements:
-  * Fix bug where diversions and triggers incorporated only on normal
-    error unwind from do_script (rather than on abnormal unwind).  The
-    effect of the bug was to temporarily disregard diversion changes made
-    by failing maintscripts and to erroneously suppress reflexive trigger
-    activations.
-  * Trigger cycle detection works properly: does not record details of
-    irrelevant packages, and prints error messages correctly and without
-    referencing uninitialised tcn->next.
-  * Provide DPKG_RUNNING_VERSION environment variable so that maintscripts
-    can know what features are going to work - in this case, whether
-    reflexive trigger activation will be honoured.
-  * New debugging flags and corresponding debug statements.
-  
- -- Ian Jackson <iwj@ubuntu.com>  Fri, 24 Aug 2007 16:38:01 +0100
-
-dpkg (1.14.5ubuntu9) gutsy; urgency=low
-
-  * Triggers: Transitional interest recording works properly regardless
-    of the status of the interested package.  (LP: #133172.)
-    To fix systems which have had the broken version work we have to
-    rename triggers/Deferred to triggers/Unincorp.  The error
-    messages, comments, etc. will be improved later.
-  * Triggers: Make it possible for postinst of a package to trigger
-    itself.  (Thanks to Colin Watson for relevant discussions.)
-
- -- Ian Jackson <iwj@ubuntu.com>  Tue, 21 Aug 2007 14:12:54 +0100
-
-dpkg (1.14.5ubuntu8) gutsy; urgency=low
-
-  * Really rerun automake and autoconf this time!
-
- -- Ian Jackson <iwj@ubuntu.com>  Thu, 16 Aug 2007 17:59:19 +0100
-
-dpkg (1.14.5ubuntu7) gutsy; urgency=low
-
-  * Permit non-awaiting trigger activation.  (Helpful when T and U
-    both trigger I in their postinst and T depends on U but I's trigger
-    processing need not run as a result of U's postinst for T's benefit.)
-  * Correct sense of trigger processing deferral test.
-
- -- Ian Jackson <iwj@ubuntu.com>  Thu, 16 Aug 2007 16:56:40 +0100
-
-dpkg (1.14.5ubuntu6) gutsy; urgency=low
-
-  * Include dpkg-trigger in debian/dpkg.install.
-
- -- Ian Jackson <iwj@ubuntu.com>  Thu, 16 Aug 2007 15:53:32 +0100
-
-dpkg (1.14.5ubuntu5) gutsy; urgency=low
-
-  * Rerun automake and autoconf so that it can be built if
-    those are not installed.
-
- -- Ian Jackson <iwj@ubuntu.com>  Thu, 16 Aug 2007 15:41:58 +0100
-
-dpkg (1.14.5ubuntu4) gutsy; urgency=low
-
-  * Implementation of `triggers' feature.
-
- -- Ian Jackson <iwj@ubuntu.com>  Wed, 15 Aug 2007 20:23:10 +0100
-
-dpkg (1.14.5ubuntu3) gutsy; urgency=low
-
-  * The previous triplettable mangling still left us with a GNU_TYPE
-    of i486-linux-gnulp, which was suboptimal.  After mucking about
-    and coming to the conclusion that the current lookup tables just
-    weren't designed to handle two targets for the same CPU family,
-    implemented a hack in controllib.pl to DTRT for us for now.
-  * Add lpia to archtable for reference purposes and completeness.
-
- -- Adam Conrad <adconrad@ubuntu.com>  Wed,  1 Aug 2007 12:11:40 +1000
-
-dpkg (1.14.5ubuntu2) gutsy; urgency=low
-
-  * Include mapping from gnulp-linux-i386 to lpia in triplettable
-    to ensure that dpkg-architecture.pl prints lpia during dpkg's
-    build so that dpkg --print-architecture prints lpia too.
-
- -- Ian Jackson <iwj@ubuntu.com>  Tue, 31 Jul 2007 15:47:04 +0100
-
-dpkg (1.14.5ubuntu1) gutsy; urgency=low
-
-  Merge from debian unstable, remaining changes follow:
-
-  Miscellaneous fixes:
-  * Don't consider it a file conflict if the package contains
-    a symlink to a directory where another package already contains the
-    same symlink/directory and the existing and new symlinks point to the
-    same place.  (Launchpad 22340, Debian #377682.)
-  * mlib contains m_strdup (part of the fix for Debian #379028).
-  * Fix formatting of these files:
-       lib/showpkg.c
-       lib/tarfn.c
-       src/configure.c
-       src/archives.c (function quote_filename only)
-    to conform to the rest of dpkg by running them through
-    expand -t2 (and in the last case using M-x indent-rigidly once).
-    As discussed on debian-dpkg.  Submitted upstream as Debian #375711.
-  * scripts/update-alternatives.pl: in the case where the slave is
-    inapplicable do not attempt to create the slave link before removing
-    it again.  This will help alleviate LP #84906 (vim upgrade problems)
-    and will generally make things slightly less fragile.  Debian #411699.
-  * mlib contains m_strdup (part of the fix for Debian #379028).
-  * Fix the uninitialized value in string ne at /usr/sbin/update-alternatives
-    line 602.  Thanks to Ubulette for this patch.  (LP: #118246)
-    Patch modified by iwj not to ignore lstat failures.
-  * Use i686 for lpia in cputable and triplettable.
-
-  Launchpad integration:
-  * Implement changelog-closes-bugs for Ubuntu (see
-    https://wiki.ubuntu.com/ClosingBugsFromChangelog).
-  * Add Launchpad-Bugs-Fixed to dpkg-genchanges too, to make it not
-    complain about unknown fields.
-
-  DebianMaintainerField:
-  * scripts/dpkg-source.pl: Check that debian/control complies to
-    https://wiki.ubuntu.com/DebianMaintainerField: Refuse to build a source
-    package if we have an Ubuntu version number, but Maintainer: is not an
-    Ubuntu address. Output a warning if there is no XSBC-Original-Maintainer:
-    field for packages with an Ubuntu version number.
-  * scripts/dpkg-source.pl: Only fail to build the source package if $DEBEMAIL
-    contains 'ubuntu'. If not, only print a warning.
-  * debian/control: Change Maintainer/XSBC-Original-Maintainer field.
-
-  Implementation of Breaks:
-  * References:
-     http://lists.debian.org/debian-devel/1997/10/msg00643.html
-     https://wiki.ubuntu.com/PackageDependencyFieldBreaks
-     Debian #379140.
-  * Manpages mention Breaks: deb-control.5, dpkg-query.1, dpkg.1.
-  * Support for Breaks in dpkg-source, dpkg-gencontrol et al.
-  * Support for Breaks in the code in dpkg.
-  * Breaks is ignored by dselect.
-  * Fix for Debian #378003 (multiple deconfigurations) is
-    mixed in with Breaks implementation.
-  * Declare Breaks against older dpkg-dev rather than Conflicts.
-  * Decisions made:
-    * Specifying Breaks: <virtual package> is fairly meaningless
-      without versioned Provides but to make versioned Provides easier
-      in the future we support it fully.
-    * We do not transitively deconfigure things when we deconfigure
-      due to Breaks, just as we don't do so when we deconfigure due
-      to removal due to Conflicts (see also Debian #378009).
-    * Just as for deconfiguration due to Conflicts, we don't deconfigure
-      Essential packages without --force-remove-essential.
-    * We aren't willing to deconfigure more than one package as a result
-      of a single element of a Breaks, just as we aren't willing to
-      remove more than one package as a result of a single element of
-      a Conflicts.  (Note that this can only occur due to virtual
-      packages so it can be worked around by specifying the individual
-      real packages instead.)
-    * We're happy to deconfigure a package that's on hold even if
-      afterwards, due to Breaks, there might not be a way to reconfigure it.
-      (This is analogous to the situation where we install a package which
-      no longer satisfies the dependencies of an on-hold package; it's not
-      clear what the right answer is.)
-    * We invent a new --force-breaks which does much the
-      same as --force-conflicts.
-    * --ignore-depends works for Breaks even though it doesn't work
-      for Conflicts.
-    * <deconfigured's prerm> deconfigure in-favour <installing> <ver>
-        as well as
-      <deconfigured's prerm> deconfigure in-favour <installing> <ver> \
-                                       removing <conflictor> <ver>
-      and of course the corresponding
-    <deconfigured's postinst> abort-deconfigure in-favour <installing> <ver>
-
- -- Ian Jackson <iwj@ubuntu.com>  Wed, 11 Jul 2007 16:26:17 +0100
-
 dpkg (1.14.5) unstable; urgency=low
 
   [ Guillem Jover ]
index 38f5821..1de72b0 100755 (executable)
@@ -33,7 +33,7 @@ update\-alternatives \- maintain symbolic links determining default commands
 .SH DESCRIPTION
 .B update\-alternatives
 creates, removes, maintains and displays information about the symbolic
-links comprising the Debian alternatives system.
+links comprising the SUSE alternatives system.
 .PP
 It is possible for several programs fulfilling the same or similar
 functions to be installed on a single system at the same time.
@@ -43,7 +43,7 @@ different editor, if desired, but makes it difficult for a program
 to make a good choice for an editor to invoke if the
 user has not specified a particular preference.
 .PP
-Debian's alternatives system aims to solve this problem.
+SUSE's alternatives system aims to solve this problem.
 A generic name in the filesystem is
 shared by all files providing interchangeable functionality.
 The alternatives system and the system administrator
@@ -85,7 +85,7 @@ is usually called from the
 .B postinst
 (configure) or
 .B prerm
-(remove and deconfigure) scripts in Debian packages.
+(remove and deconfigure) scripts in SUSE packages.
 .PP
 It is often useful for a number of alternatives to be synchronized,
 so that they are changed as a group; for example, when several versions
@@ -190,7 +190,7 @@ containing the symlinks.
 .TP
 administrative directory
 A directory, by default
-.IR /var/lib/dpkg/alternatives ,
+.IR /var/lib/rpm/alternatives ,
 containing
 .BR update\-alternatives '
 state information.
diff --git a/packaging/dpkg.spec b/packaging/dpkg.spec
new file mode 100644 (file)
index 0000000..50d0d71
--- /dev/null
@@ -0,0 +1,751 @@
+#
+# spec file for package dpkg
+#
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
+
+%define admindir %{_localstatedir}/lib/rpm/
+
+Name:           dpkg
+Version:        1.18.4
+Release:        1.1
+Summary:        Debian package management system
+License:        GPL-2.0+
+Group:          System/Packages
+Url:            http://www.debian.org
+Source0:        http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_%{version}.tar.xz
+Source3:        sensible-editor
+# PATCH-FIX-OPENSUSE replace debian with opensuse. replace macros. update-alternatives temp directories' path and name from dpkg* to rpm*.
+# PATCH-FIX-OPENSUSE add openSUSE supported architectures
+# PATCH-FIX-UPSTREAM remove --utf8 since we only build En manpages.
+# PATCH-FIX-SUSE support for old File::Path (SLES11)
+# PATCH-FIX-SUSE support for old Test::More (SLES11)
+# PATCH-FIX-UPSTREAM support for ppc64el
+# PATCH-FIX-UPSTREAM CVE-2018-0840 integrity verfication bypass
+BuildRequires:  gcc-c++
+BuildRequires:  libselinux-devel
+%define use_selinux 1
+BuildRequires:  ncurses-devel
+BuildRequires:  xz
+BuildRequires:  zlib-devel
+BuildRequires:  perl(Date::Parse)
+BuildRequires:  perl(IO::String)
+BuildRequires:  zstd
+BuildRequires:  libzstd-devel
+Requires:       cpio
+Requires:       make
+Requires:       patch
+Provides:       deb = %{version}
+Obsoletes:      deb < %{version}
+Provides:       dpkg-dev = %{version}
+Provides:       dpkg-doc = %{version}
+Provides:       dselect = %{version}
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Requires(pre):  /bin/touch
+
+%if 0%{?suse_version}
+BuildRequires:  libbz2-devel
+BuildRequires:  update-alternatives
+Requires:       perl = %{perl_version}
+Requires:       update-alternatives
+Requires:       perl(Date::Parse)
+Recommends:     perl(File::FcntlLock)
+%if 0%{?suse_version} < 1120
+%define _libexecdir /usr/lib
+%endif
+%endif
+
+%description
+This package contains tools for working with Debian packages. It makes
+it possible to create and extract Debian packages. If Alien is
+installed, the packages can be converted to RPMs.
+
+This package contains the following Debian packages: dpkg, dselect,
+dpkg-doc, dpkg-dev.
+
+%package devel
+Summary:        Development files for dpkg
+Group:          Development/Libraries/C and C++
+Provides:       deb-devel = %{version}
+Obsoletes:      deb-devel < %{version}
+Requires:       %{name} = %{version}
+
+%description devel
+Libraries and header files for dpkg.
+
+%package lang
+Summary:        Languages for package %{name}
+Group:          System/Localization
+Requires:       %{name} = %{version}
+Provides:       %{name}-lang-all = %{version}
+Provides:       deb-lang = %{version}
+Obsoletes:      deb-lang < %{version}
+%if %{defined suse_version}
+Supplements:    packageand(bundle-lang-other:%{name})
+%if 0%{?suse_version} < 1120
+# BuildArch: noarch not supported on SLE 11
+%else
+BuildArch:      noarch
+%endif
+%endif
+
+%description lang
+Provides translations to the package %{name}
+
+%prep
+%setup -q
+
+
+%build
+export CFLAGS="%{optflags}"
+%if 0%{?use_selinux}
+export SELINUX_LIBS="-lselinux"
+%endif
+%{configure}\
+%if 0%{?use_selinux}
+       --with-selinux \
+%endif
+       --localstatedir=%{_localstatedir}/lib\
+        --with-admindir=%{_localstatedir}/lib/dpkg
+
+# configure somehow does not detect architecture correctly in OBS (bnc#469337), so
+# let's do an awful hack and fix it in config.h
+# XXX: who knows if this works on s390? :)
+
+%define debarch %{_arch}
+%ifarch x86_64
+%define debarch amd64
+%endif
+%ifarch %ix86
+%define debarch i386
+%endif
+%ifarch ppc powerpc
+%define debarch powerpc
+%endif
+%ifarch ppc64 powerpc64
+%define debarch ppc64
+%endif
+sed -i 's/^#define ARCHITECTURE ""/#define ARCHITECTURE "%{debarch}"/' config.h
+
+make %{?_smp_mflags}
+
+%install
+%{__make} install DESTDIR=%{?buildroot}
+
+# remove update-alternatives stuff (included in separate package)
+rm -rf %{buildroot}%{_sysconfdir}/alternatives
+rm -rf %{buildroot}%{_localstatedir}/lib/dpkg/alternatives
+rm -rf %{buildroot}%{_bindir}/update-alternatives
+rm -rf %{buildroot}%{_sbindir}/update-alternatives
+rm -rf %{buildroot}%{_mandir}/man8/update-alternatives.8
+rm -rf %{buildroot}%{_mandir}/*/man8/update-alternatives.8
+
+# locales
+%{find_lang} %{name}
+%{find_lang} dselect
+%{find_lang} dpkg-dev
+cat dselect.lang dpkg-dev.lang >> %{name}.lang
+
+# extras
+install -m 755 %{SOURCE3} %{buildroot}%{_bindir}
+
+%check
+%{__make} check
+
+%post
+cd %{_localstatedir}/lib/dpkg
+for f in diversions statoverride status ; do
+    [ ! -f $f ] && touch $f
+done
+exit 0
+
+%files lang -f %{name}.lang
+
+%files
+%defattr(-,root,root)
+%doc ABOUT-NLS AUTHORS COPYING doc/triggers.txt NEWS README* THANKS TODO debian/changelog
+%doc %{_mandir}/man*/*
+%dir %{_sysconfdir}/dpkg
+%config(noreplace) %{_sysconfdir}/dpkg/*
+%{_bindir}/*
+%{_sbindir}/*
+%{_libdir}/dpkg
+%{_datadir}/dpkg
+%{_localstatedir}/lib/dpkg
+%{perl_vendorlib}/Debian
+%{perl_vendorlib}/Dpkg
+%{perl_vendorlib}/Dpkg.pm
+
+%files devel
+%defattr(-,root,root)
+%{_libdir}/libdpkg.a
+%{_libdir}/pkgconfig/libdpkg.pc
+%{_includedir}/dpkg
+
+%changelog
+* Wed Sep  2 2015 tchvatal@suse.com
+- Add patch to fix CVE-2015-0840 verification bypass bnc#926749
+  * 0001-Dpkg-Control-HashCore-Fix-OpenPGP-Armor-Header-Line-.patch
+* Mon Aug 17 2015 dvaleev@suse.com
+- Fix ppc64el architecture detection (bsc#941619)
+  dpkg_to_report_ppc64el_archi.patch
+  Drop dpkg-ppc64le.diff
+* Mon May 12 2014 tchvatal@suse.com
+- Use SUSE not SuSE.
+* Mon Dec  2 2013 dvaleev@suse.com
+- add dpkg-ppc64le.diff to fix ppc64 LE build
+* Wed Jul  3 2013 jengelh@inai.de
+- Add dpkg-sparc.diff to unbreak compilation on sparcv9 build
+* Tue Mar 26 2013 frank.lichtenheld@sophos.com
+- Enable test suite
+- Fix dpkg-source for SLES 11. Quilt.pm was depending on a
+  newer API of File::Path.
+* Mon Mar 25 2013 frank.lichtenheld@sophos.com
+- update to dpkg-1.16.10
+  * Add missing @LIBLZMA_LIBS@ to Libs.Private in libdpkg.pc.in
+  * Fix OpenPGP armored signature parsing, to be resilient against doctored
+  input, including source package control files. deb#695919
+  * Fix warning in Dpkg::Source::Archive with «perl -w» due to redefinition
+  of getcwd() by removing unused POSIX modules usage. deb#700978
+- update to dpkg-1.16.9
+  * Fix regression on old-style binNMUs for packages that specify an
+  explicit binary version to dpkg-gencontrol, by always fixing up the
+  source version. deb#690823
+  * Fix dpkg-source regression in "3.0 (quilt)" source packages while
+  unapplying patches that remove all files in a directory. deb#683547
+  * Fix segfault in field format parsing on empty strings, affecting
+  «dpkg-query -W -f ''» and «dpkg-deb -W --showformat=''». lp#1035512
+- see /usr/share/doc/packages/dpkg/changelog for details
+* Thu Oct 11 2012 frank.lichtenheld@sophos.com
+- add Recommends on File::FcntlLock, Dpkg::File will
+  use it if available
+* Thu Sep 27 2012 frank.lichtenheld@sophos.com
+- update to dpkg-1.16.8
+  * only translation updates
+  * see /usr/share/doc/packages/dpkg/changelog for details
+- simplify spec file by removing redundant %%if clauses
+- only use Supplements: on SUSE, Fedora doesn't know it
+* Fri Jul  6 2012 frank.lichtenheld@sophos.com
+- update to dpkg-1.16.7
+  * see /usr/share/doc/packages/dpkg/changelog for details
+- add Obsoletes and Provides for their deb counterparts
+  to dpkg-devel and dpkg-lang. Needed to expand %%lang_package
+  for that.
+- remove SLE10 support from spec, not working anyway
+* Tue Jun 26 2012 frank.lichtenheld@sophos.com
+- package dpkg separately
+* Mon May 21 2012 i@marguerite.su
+- update to dpkg-1.16.3
+  * see http://packages.debian.org/changelogs/pool/main/d/dpkg/dpkg_1.16.3/changelog
+- update to debhelper 9.20120518
+  * Fix versioned dependency on dpkg for xz options. Closes: #672895
+  * dh_link: Doc improvement. Closes: #672988
+- update to devscripts-2.11.7
+  * see http://packages.debian.org/changelogs/pool/main/d/devscripts/devscripts_2.11.7/changelog
+- reworked patch. remove version for archtable. for it's universal.
+- add dh_make 0.60
+  * see http://packages.debian.org/changelogs/pool/main/d/dh-make/dh-make_0.60/changelog
+- add dh_autoreconf 6
+  * see http://packages.debian.org/changelogs/pool/main/d/dh-autoreconf/dh-autoreconf_6/changelog
+* Thu May  3 2012 frank.lichtenheld@sophos.com
+- install missing parts of devscripts
+  * install man pages installed by debian/manpages
+  * install symlinks installed by debian/links
+* Sun Jan 29 2012 frank.lichtenheld@sophos.com
+- update to dpkg-1.15.8.12
+  * Do not fail to unpack shared directories missing on the file system
+  from packages being replaced by other packages. Debian Bug #631808
+  * Defer hardlink renames so that there's never a point were the new
+  file contents are accessible from the final path before they have
+  been fsync()ed and cannot be executed causing ETXTBSY when trying
+  to open the to be installed paths for writing. Debian Bug #635683
+  * Add armhf support to ostable and triplettable.
+  Debian Bugs #594179, #639674
+* Tue Dec 20 2011 coolo@suse.com
+- remove call to suse_update_config (very old work around)
+* Sat Nov 26 2011 frank.lichtenheld@sophos.com
+- update to dpkg-1.15.8.11
+  * Do not segfault on "dpkg -i --no-act".
+  * Fix typo in "dpkg-name --overwrite" argument parsing so that it actually
+  works at all. Ubuntu Bug #728708
+  * Fix dpkg-split to not corrupt binary part metadata when generating the
+  split packages on 32-bit systems.
+  * Fix a regression in dpkg-divert where using --rename led to a failure when
+  the rename implies crossing file systems.
+* Sun Sep 18 2011 jengelh@medozas.de
+- Remove redundant tags/sections from specfile
+  (cf. packaging guidelines)
+- Use %%_smp_mflags for parallel build
+* Thu Mar 31 2011 flichtenheld@astaro.com
+- Merge openSUSE:Tools changes with system:packagemanager changes
+* Thu Mar 17 2011 mvyskocil@suse.cz
+- split the u-a to separate spec file to reduce a build cycle
+* Wed Mar 16 2011 mvyskocil@suse.cz
+- update to dpkg-1.15.8.10
+- update to debhelper-7.5.17
+- update to devscripts-2.10.71
+- see /usr/share/doc/packages/deb/*/changelog for details
+- build and install update-alternatives as separate subpackage
+- add download urls to source tags
+- remove pushd/popd madness in %%prep, use only one cd ..
+- convert sed archtable hackery to patch and refresh patches
+- rewrite a architecture mugging in config.h to be more readable
+* Fri Jan 28 2011 adrian@suse.de
+- fix build on old distros
+* Fri Jan 28 2011 flichtenheld@astaro.com
+- install missing debhelper files
+  - install dh
+  - install Debian/Debhelper/Buildsystem/*.pm
+* Thu Jul 29 2010 wolfgang.rosenauer@basyskom.de
+- make 'debcommit -r' work with mercurial 1.6
+* Fri Apr  9 2010 puzel@novell.com
+- update to dpkg-1.15.6.1
+- update to debhelper-7.4.17
+- update to devscripts-2.10.62
+  - see /usr/share/doc/packages/deb/*/changelog for details
+- split deb-devel subpackage
+* Fri Feb 19 2010 puzel@novell.com
+- update to dpkg-1.15.5.6
+- update to debhelper-7.4.15
+- update to devscripts-2.10.61
+  - see /usr/share/doc/packages/deb/*/changelog for details
+* Wed Jan  6 2010 jengelh@medozas.de
+- enable parallel building with smp_mflags
+* Fri Dec 18 2009 wr@rosenauer.org
+- try to fix older dists
+* Wed Nov 25 2009 puzel@novell.com
+- update to dpkg-1.15.5.2, debhelper-7.4.8, devscripts-2.10.58
+  - huge number of changelogs - please see appropriate changelogs
+  for details:
+  - /usr/share/doc/packages/deb/debhelper/changelog
+  - /usr/share/doc/packages/deb/dpkg/changelog
+* Thu Nov 12 2009 wr@rosenauer.org
+- include devscripts-2.10.55
+- add sensible-editor helper script
+* Thu Aug 13 2009 puzel@novell.com
+- update to debhelper-7.3.12
+  * dh: Allow creation of new sequences (such as to handle a patch
+    target for quilt), by adding an add_command function to the
+    sequence addon interface.
+  * perl_build: Fix Build check to honor source directory setting.
+  * perl_build: Avoid failing if forced to be used in dh_auto_clean
+    when Build does not exist (ie due to being run twice in a row).
+  * dh_builddeb: Fix man page typo.
+  * dh_installdeb: In udeb mode, support the menutest and isinstallable
+    maintainer scripts.
+* Tue Aug  4 2009 puzel@novell.com
+- update to debhelper-7.3.9
+  * cmake: Avoid forcing rpath off as this can break some test suites.
+    It gets stripped by cmake at install time.
+* Mon Jul 27 2009 puzel@novell.com
+- update to debhelper-7.3.8
+  * First upload of buildsystems support to unstable.
+    Summary: Adds --buildsystem (modular, OO buildsystem classes),
+  - -sourcedirectory, --builddirectory, and support for cmake
+    and ant.
+  * python_distutils buildsystem: Build for all supported Python
+    versions that are installed. Ensure that correct shebangs are
+    created by using `python' first during build and install.
+    Also build with python*-dbg if the package build-depends
+    on them.
+* Thu Jul 16 2009 puzel@novell.com
+- update to debhelper-7.3.4
+  * Add a versioned dep on perl-base, to get a version that supports
+    GetOptionsFromArray.
+  * dh_install: Fix support for the case where --sourcedir=debian/tmp/foo
+    is used. Perl was not being greedy enough and the 'foo' was not stripped
+    from the destination directory in this unusual case.
+  * dh_install: Fix support for the case where debian/tmp is
+    explicitly specified in filename paths despite being searched by
+    default.
+  * dh_install: Add test suite covering the last 5 bugs.
+* Fri Jul  3 2009 puzel@novell.com
+- update to debhelper-7.3.1
+  * Modular object oriented dh_auto_* buildsystem support,
+    contributed by Modestas Vainius
+  - dh_auto_* --sourcedirectory can now be used to specify a source
+    directory if sources and/or the whole buildsystem lives elsewhere
+    than the top level directory.
+  - dh_auto_* --builddirectory can now be used to specify a build
+    directory to use for out of source building, for build systems
+    that support it.
+  - dh_auto_* --buildsystem can now be used to override the autodetected
+    build system, or force use of a third-party class.
+  - dh_auto_* --list can be used to list available and selected build
+    systems.
+  - Adds support for cmake.
+  - For the perl_build build system, Build is used consistently
+    instead of falling back to using the generated Makefile.
+  - Historical dh_auto_* behavior should be preserved despite these
+    large changes..
+  * Move two more command-specific options to only be accepted by the commands
+    that use them. The options are:
+  - -sourcedir, --destdir
+    If any third-party debhelper commands use either of the above options,
+    they will be broken, and need to be changed to pass options to init().
+  * Make dh not complain about unknown, command-specific options passed to it,
+    and further suppress warnings about such options it passes on to debhelper
+    commands. This was attempted incompletely before in version 7.2.17.
+  * dh_install: Fix installation of entire top-level directory
+    from debian/tmp.
+  * dh_install: Handle correctly the case where a glob expands to
+    a dangling symlink, installing the dangling link as requested.
+  * dh_install: Fix fallback use of debian/tmp in v7 mode; a bug caused
+    it to put files inside a debian/tmp directory in the package build
+    directory, now that prefix is stripped.
+  * dh_shlibdeps: Ensure DEBIAN directory exists, as dpkg-shlibdeps
+    prints a confusing warning if it does not.
+  * dh_auto_install: Pass --install-layout=deb to setup.py
+    to support python 2.6.
+  * Allow command-specific options to be passed to commands
+    via dh without causing other commands to emit a getopt
+    warning or deprecation message.
+  * dh_installinfo: No longer inserts install-info calls into
+    maintainer scripts, as that is now triggerized. Adds a dependency
+    via misc:Depends to handle partial upgrades. Note that while
+    dh_installinfo already required that info files had a INFO-DIR-SECTION,
+    the new system also requires they have START-INFO-DIR-ENTRY and
+    END-INFO-DIR-ENTRY for proper registration. I assume there will be
+    some mass bug filing for any packages that do not have that.
+* Fri Jun 12 2009 puzel@suse.cz
+- update to debhelper-7.2.16
+  * dh_gconf: Add missed half of postrm fragment removal.
+* Thu Jun 11 2009 puzel@suse.cz
+- update to debhelper-7.2.15
+  * dh_strip, dh_shlibdeps: Add support for OCaml shared libraries.
+  * dh_compress: Avoid compressing .svg and .sgvz files, since these
+    might be used as images on a html page, and also to avoid needing
+    to special case the .svgz extension when compressing svg.
+  * dh_scrollkeeper: Now a deprecated no-op.
+  * dh_gconf: Remove postrm fragment that handled schema migration
+    from /etc to /usr.
+* Thu May 21 2009 puzel@suse.cz
+- update to debhelper-7.2.14
+  * dh: Avoid writing log after override_dh_clean is run.
+  * dh_auto_configure: Pass --skipdeps safely via PERL_AUTOINSTALL.
+  * dh_auto_configure: Revert --skipdeps change
+* Wed May 13 2009 puzel@suse.cz
+- update to debhelper-7.2.11
+  * dh: Support --with addon,addon,...
+  * dh_auto_configure: Add --skipdeps when running Makefile.PL,
+    to prevent Module::Install from trying to download dependencies.
+  * Support debian/foo.os files to suppliment previous debian/foo.arch
+    file support.
+* Mon May 11 2009 puzel@suse.cz
+- update to debhelper-7.2.10
+  * Close COMPAT_IN filehandle.
+  * dh_auto_configure: Clarify man page re adding configure
+    parameters.
+  * dh_auto_configure: Pass packlist=0 when running Makefile.PL,
+    in case it is a Build.PL passthru, to avoid it creating
+    the .packlist file.
+* Wed May  6 2009 puzel@suse.cz
+- update to debhelper-7.2.9
+  * dh_fixperms: Ensure lintian overrides are mode 644.
+  * dh_fixperms: Fix permissions of OCaml .cmxs files.
+  * dh: Add --without to allow disabling sequence addons (particularly
+    useful to disable the default python-support addon).
+- split -lang subpackage
+* Tue Apr 21 2009 puzel@suse.cz
+- update to debhelper-7.2.8
+  * dh_desktop: Now a deprecated no-op, since desktop-file-utils
+    uses triggers.
+  * Move dh sequence documentation to PROGRAMMING.
+* Thu Apr 16 2009 puzel@suse.cz
+- update to debhelper-7.2.7
+  * fix calling the same helper for separate packages in the override of dh
+    binary-indep/binary-arch
+  * add --remaining-packages option
+  * dh_icons: ignore gnome and hicolor themes (will be handled
+    by triggers)
+* Mon Apr  6 2009 puzel@suse.cz
+- add a hack to detect architecture correctly (bnc#469337)
+* Mon Mar 16 2009 puzel@suse.cz
+- update to debhelper-7.2.6
+  * examples files updated to add dh_bugfiles, remove obsolete
+    dh_python
+  * dh_auto_test: Support DEB_BUILD_OPTIONS=nocheck
+  * set MODULEBUILDRC=/dev/null when running perl Build scripts
+    to avoid ~/.modulebuildrc influencing the build
+  * dh_installmenus: Revert removal of update-menus calls
+* Mon Mar  9 2009 puzel@suse.cz
+- update to debhelper-7.2.4
+  * dh_makeshlibs: Fix --add-udeb, for real
+  * dh_installmenus: Now that a triggers capable menu and dpkg are in
+    stable, menu does not need to be explicitly run in maintainer
+    scripts, except for packages with menu-methods files.
+  * dh_installdocs: No longer add maintainer script code to call
+    doc-base, as it supports triggers in stable.
+  * dh_bugfiles: New program, contributed by Modestas Vainius.
+  * dh: Override LC_ALL, not LANG.
+  * dh_installchangelogs: Support -X to exclude automatic installation
+    of specific upstream changelogs.
+  * Compat level 4 is now deprecated.
+  * dh_makeshlibs: Re-add --add-udeb support.
+  * dh_shlibdeps: Remove --add-udeb switch (was accidentially added here).
+* Thu Mar  5 2009 puzel@suse.cz
+- update to debhelper-7.2.2
+  * dh_installmodules: Give files in /etc/modprobe.d a .conf
+    syntax, as required by new module-init-tools.
+  * dh_installmodules: Add preinst and postinst code to handle
+    cleanly renaming the modprobe.d files on upgrade.
+  * Two updates to conffile moving code from wiki:
+  - Support case where the conffile name is a substring of another
+    conffile's name.
+  - Support case where dpkg-query says the file is obsolete.
+* Tue Mar  3 2009 puzel@suse.cz
+- update to dpkg-1.15.0 and debhelper-7.2.1
+  - huge number of changes, please see
+    /usr/share/doc/packages/deb/dpkg/changelog and
+  /usr/share/doc/packages/deb/debhelper/changelog
+  for details
+* Tue Jan 20 2009 puzel@suse.cz
+- partially revert change from Aug 12 2008 (bnc#467332)
+* Thu Dec 18 2008 puzel@suse.cz
+- update debhelper to 7.1.1
+  * dh_install(1): Order options alphabetically.
+  * Fix some docs that refered to --srcdir rather than --sourcedir.
+  * Add Vcs-Browser field.
+  * Ignore unknown options in DH_OPTIONS.
+* Wed Oct 29 2008 puzel@suse.cz
+- update debhelper to 7.1.0
+  * dh_installchangelogs: Fall back to looking for changelog files ending
+    with ".txt".
+  * dh_gencontrol: Ensure misc:Depends is set in substvars to avoid dpkg
+    complaining about it when it's empty.
+  * dh: Fix typo in example.
+  * Allow individual debhelper programs to define their own special options
+    by passing a hash to init(), which is later passed on the Getopt::Long.
+  * Move many command-specific options to only be accepted by the command
+    that uses them. Affected options are:
+  - x, -r, -R, -l, -L, -m,
+  - -include-conffiles, --no-restart-on-upgrade, --no-start,
+  - -restart-after-upgrade, --init-script, --filename, --flavor, --autodest,
+  - -libpackage, --add-udeb, --dpkg-shlibdeps-params,
+  - -dpkg-gencontrol-params, --update-rcd-params, --major, --remove-d,
+  - -dirs-only, --keep-debug, --version-info, --list-missing, --fail-missing,
+  - -language, --until, --after, --before, --remaining, --with
+  * If any third-party debhelper commands use any of the above options,
+    they will be broken, and need to be changed to pass options to init().
+  * To avoid breaking rules files that pass options to commands that do not
+    use them, debhelper will now only warn if it encounters an unknown
+    option. This will be converted back to an error later.
+* Tue Sep 16 2008 mrueckert@suse.de
+- do not package update-alternatives it conflicts with the required
+  package update-alternatives
+* Tue Sep  2 2008 prusnak@suse.cz
+- updated to 1.14.21
+  * lots of fixes - see ChangeLog
+- enabled SELinux support [Fate#303662]
+* Mon Sep  1 2008 puzel@suse.cz
+- update debhelper to 7.0.17
+  * dh_auto_install: Fix man page, was referring to dh_auto_clean.
+  * dh_gencontrol: Drop the Homepage field from udebs. Closes debian bug #492719
+  * Typo. Closes debian bug #493062
+  * dh_auto_install: Improve check for MakeMaker, to avoid passing PREFIX
+    if the Makefile was generated by Module::Build::Compat. Closes debian bug #496157
+* Tue Aug 12 2008 puzel@suse.cz
+- fix paths
+  * install perl stuff to %%{perl_vendorlib}/Debian where it is
+    expected by alien
+* Mon Aug 11 2008 coolo@suse.de
+- fix paths
+* Mon Jul 21 2008 puzel@suse.cz
+- update debhelper to 7.0.16
+  * dh: Avoid passing --with on to subcommands. Closes debian bug #490886
+  * dh_installchangelogs: When searching for changelog in v7 mode, skip
+    empty files. Closes debian bug #490937
+* Fri Jul 18 2008 puzel@suse.cz
+- update debhelper to 7.0.15
+  * dh_clean: Do not delete *-stamp files in -k mode in v7. Closes debian bug #489918
+* Tue Jul  8 2008 puzel@suse.cz
+- update debhelper to 7.0.14
+  * load python-support sequence file first, to allow ones loaded later to disable it
+* Mon Jul  7 2008 puzel@suse.cz
+- update dpkg to 1.14.19
+  * a lot of changes and bugfixes
+  * for complete changelog see program sources or
+    /usr/share/doc/packages/deb/dpkg/changelog
+  * removed dpkg-gcc4.patch - compiles fine without it
+  * removed dpkg-make.patch, dpkg-automake.diff, dpkg-strip.patch
+  * not needed anymore because of heavy changes in the build system
+  * removed dpkg_1.10.23-doc.patch - fixed in upstream
+- update debhelper to 7.0.13
+  * a lot of changes and bugfixes
+  * for complete changelog see program sources or
+    /usr/share/doc/packages/deb/debhelper/changelog
+  * debhelper-no-localized-manpages.diff - do not use po4a to generate
+    localized documentation
+- dpkg is now built by configure/make
+- debhelper is now built by make
+* Thu Jul 26 2007 dmueller@suse.de
+- remove config.guess dependency completely
+* Tue Jul 24 2007 dmueller@suse.de
+- link the config.guess from automake
+* Sun Apr 22 2007 ro@suse.de
+- use texlive for building
+* Fri Mar 30 2007 aj@suse.de
+- Adjust BuildRequires.
+* Fri Aug 18 2006 aj@suse.de
+- Fix build with new make.
+* Wed Jan 25 2006 mls@suse.de
+- converted neededforbuild to BuildRequires
+* Fri Jan 13 2006 schwab@suse.de
+- Don't strip binaries.
+* Wed Dec 21 2005 ro@suse.de
+- remove unpackaged symlinks
+* Thu Sep  8 2005 mjancar@suse.cz
+- package missing dpkg-{architecture,scanpackages,scansources} (#106239)
+* Thu May 12 2005 meissner@suse.de
+- use RPM_OPT_FLAGS
+* Fri Apr  8 2005 uli@suse.de
+- fixed to build with GCC4
+* Thu Feb 10 2005 rengelhard@suse.de
+- update dpkg to 1.10.27 (just translation updates)
+* Thu Jan 20 2005 ro@suse.de
+- update dependency: html2txt -> html2text
+* Wed Jan 12 2005 rengelha@suse.de
+- update dpkg to 1.10.26
+* Wed Jan  5 2005 rengelhard@suse.de
+- update debhelper to 4.2.30
+* Tue Jan  4 2005 rengelhard@suse.de
+- update debhelper to 4.2.29
+* Wed Dec 15 2004 rengelhard@suse.de
+- update debhelper to 4.2.28
+* Mon Dec 13 2004 rengelhard@suse.de
+- update debhelper to 4.2.27
+* Tue Nov 16 2004 rengelhard@suse.de
+- update dpkg to 1.10.25
+* Thu Nov 11 2004 rengelhard@suse.de
+- update debhelper to 4.2.24
+* Fri Oct 29 2004 rengelhard@suse.de
+- update debhelper to 4.2.23
+* Wed Oct 27 2004 rengelhard@suse.de
+- update dpkg to 1.10.24
+* Wed Oct 13 2004 rengelhard@suse.de
+- update debhelper to 4.2.21
+* Tue Sep  7 2004 ro@suse.de
+- remove stuff now present in own update-alternatives package
+* Thu Aug 19 2004 mcihar@suse.cz
+- update debhelper to 4.2.19
+- update dpkg to 1.10.23
+- use sed rather than patches
+- remove patches accepted in upstream
+* Mon May 31 2004 mcihar@suse.cz
+- update debhelper to 4.2.10
+- update dpkg to 1.10.21
+* Thu Mar  4 2004 mcihar@suse.cz
+- no root for build
+- revert to manual debhelper installation as installation using
+  debhelper needs dpkg and debhelper installed
+* Wed Mar  3 2004 mcihar@suse.cz
+- debhelper has debian/control file, so do not install manually
+- update debhelper to 4.2.4
+- update dpkg to 1.10.18.1
+* Tue Jan 27 2004 ro@suse.de
+- debhelper has no debian/control file, so install manually
+* Tue Jan 27 2004 mcihar@suse.cz
+- install debhelper man pages on correct place
+* Mon Jan 26 2004 mcihar@suse.cz
+- updated debhelper to 4.1.88 and dpkg to 1.10.18
+* Wed Aug 20 2003 mjancar@suse.cz
+- require the perl version we build with
+* Thu Aug  7 2003 mcihar@suse.cz
+- updated debhelper to 4.1.57
+* Mon Jul 28 2003 schwab@suse.de
+- Fix format string.
+- Fix undefined use of longjmp.
+- Use perl_vendorlib.
+* Wed Jun 18 2003 mcihar@suse.cz
+- updated debhelper to 4.1.47 (mostly fixes in dh_python)
+- included directories for translated man pages
+- use find_lang
+* Tue May 13 2003 mcihar@suse.cz
+- updated debhelper to 4.1.43
+- updated dpkg to 1.1.10
+* Tue Apr  8 2003 mcihar@suse.cz
+- updated debhelper to 4.1.40
+- fixed problems with new coreutils
+* Thu Mar  6 2003 mcihar@suse.cz
+- configuration files under /etc marked as %%config
+* Thu Jan 30 2003 mcihar@suse.cz
+- updated debhelper to 4.1.29:
+  * Added a dh_python command.
+  * Various fixes.
+* Wed Nov 13 2002 mcihar@suse.cz
+- updated dpkg to 1.10.9, major changes:
+  * Make the multiline regex have an upper bound, instead of being
+    unbounded, as newer perls have a larger stack frame, which cause them
+    to segfault quicker with larger inputs.
+  * Fix segfault in md5sum if the file being checked doesn't exist.
+  * Fix extraction of md5sum in dpkg-scanpackages.
+  * Handle directories better in md5sum.
+  * Fix several read pass buffer bugs, and a memleak.
+  * Fix segfault when --auto-deconfigure is given.
+- updated debhelper to 4.1.20, major changes:
+  * typo in dh_shlibdeps(1)
+  * dh_fixperms: Make sure .pm files are 0644.
+  * dh_strip: detect and don't strip debug/*.so files.
+  * Various improvements to debhelper(1).
+  * Clarified dh_perl man page.
+  * Fixed excessive escaping around terms in DH_EXCLUDE_FIND.
+  * Patch from Andrew Suffield to make dh_perl understand #!/usr/bin/env perl
+- included part of postinst script from debian package
+* Mon Nov 11 2002 ro@suse.de
+- changed neededforbuild <sp> to <opensp>
+- changed neededforbuild <sp-devel> to <>
+* Wed Aug 28 2002 mcihar@suse.cz
+- corrected requires
+* Wed Aug  7 2002 mcihar@suse.cz
+- updated to debhelper 4.1.3:
+  * various bugfixes
+  * removed /usr/doc manglement code from postinst and prerm
+  * removed dh_installxaw
+  * dh_installchangelogs installs debian/NEWS
+- updated to dpkg 1.10.4:
+  * plenty of bugfixes and new switches
+  * added Large File Summit extension
+  * added manpages for dpkg.cfg and dselect.cfg
+  * updated translations
+  * install archtable into /usr/share/dpkg/
+- dpkg is now build by debian/rules not by script in spec
+- removed md5sum.1 start-stop-daemon.8 install-info.8 manpages also
+  for other locales (these programs are not installed)
+* Tue Jun 11 2002 mcihar@suse.cz
+- updated to debhelper 4.0.11 and dpkg 1.9.21
+* Mon Aug 13 2001 ro@suse.de
+- changed neededforbuild <sp_libs> to <sp-devel>
+* Fri Jun  8 2001 cihlar@suse.cz
+- fixed to compile with new autoconf
+* Tue Apr 24 2001 cihlar@suse.cz
+- fixed warnings on ia64
+* Wed Apr 18 2001 cihlar@suse.cz
+- fixed to compile
+* Mon Mar  5 2001 cihlar@suse.cz
+- dpkg updated to version 1.8.3.1
+- debhelper updated to version 3.0.8
+* Tue Dec  5 2000 schwab@suse.de
+- Fix broken declaration.
+* Tue Oct 31 2000 cihlar@suse.cz
+- update to version 1.6.14
+- bzipped sources
+* Tue May 23 2000 cihlar@suse.cz
+- added files in /etc and /var to %%files
+* Mon May 22 2000 cihlar@suse.cz
+- removed install-info and start-stop-daemon
+* Mon May 15 2000 schwab@suse.de
+- Fixed for ia64.
+* Wed May  3 2000 cihlar@suse.cz
+- package created - version 1.4.0.35 (debhelper 1.1.24)
diff --git a/packaging/sensible-editor b/packaging/sensible-editor
new file mode 100644 (file)
index 0000000..8e4c9e4
--- /dev/null
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+ret="$?"
+
+if [ -n "$VISUAL" ]; then
+       ${VISUAL} "$@"
+       ret="$?"
+       if [ "$ret" -ne 126 ] && [ "$ret" -ne 127 ]; then
+               exit "$ret"
+       fi
+fi
+
+${EDITOR:-editor} "$@"
+ret="$?"
+if [ "$ret" -eq 126 ] || [ "$ret" -eq 127 ]; then
+       nano "$@"
+       ret="$?"
+       if [ "$ret" -eq 126 ] || [ "$ret" -eq 127 ]; then
+               nano-tiny "$@"
+               ret="$?"
+               if [ "$ret" -eq 126 ] || [ "$ret" -eq 127 ]; then
+                       vi "$@"
+                       ret="$?"
+                       if [ "$ret" -eq 126 ] || [ "$ret" -eq 127 ]; then
+                               echo "Couldn't find an editor!" 1>&2
+                               echo "Set the \$EDITOR environment variable to your desired editor." 1>&2
+                               exit 1
+                       fi
+               fi
+       fi
+fi
+exit "$ret"
index 661d399..f4ad7ca 100755 (executable)
@@ -63,7 +63,7 @@ static int opt_skip_auto = 0;
 static int opt_verbose = 0;
 static int opt_force = 0;
 
-#define ALT_TMP_EXT ".dpkg-tmp"
+#define ALT_TMP_EXT ".rpm-tmp"
 
 /*
  * Functions.
@@ -72,7 +72,7 @@ static int opt_force = 0;
 static void
 version(void)
 {
-       printf(_("Debian %s version %s.\n"), PROGNAME, VERSION);
+       printf(_("SUSE %s version %s.\n"), PROGNAME, VERSION);
        printf("\n");
 
        printf(_(
@@ -354,7 +354,7 @@ admindir_init(void)
 {
        const char *basedir, *dpkg_basedir;
 
-       dpkg_basedir = getenv("DPKG_ADMINDIR");
+       dpkg_basedir = getenv("RPM_ADMINDIR");
        if (dpkg_basedir)
                basedir = dpkg_basedir;
        else
@@ -1437,7 +1437,8 @@ alternative_get_best(struct alternative *a)
                best = a->choices;
 
        for (fs = a->choices; fs; fs = fs->next)
-               if (fs->priority > best->priority)
+        /* In case of equal priority rather use the new alternative */
+               if (fs->priority >= best->priority)
                        best = fs;
 
        return best;