Bug#982562: general: Storing upstream signatures next to upstream tarballs is problematic

2021-02-11 Thread Raphaël Hertzog
Package: general
Severity: normal
User: de...@kali.org
Usertags: origin-kali
X-Debbugs-Cc: hert...@debian.org, debian-d...@lists.debian.org
Control: affects -1 ftp.debian.org dpkg-dev

Hi people,

After having been bitten (in Kali) by failures to import Debian packages
because a PGP signature file has been modified [1], this lead me to think
about this problem space and I concluded that the way we are storing
such signatures is not appropriate.

Those files are not really meant to be immutable:
- signing keys can expire and be revoked, upstream might want to update
  signatures of already released tarballs
- the set of "upstream release managers" might evolve over time and the
  official signature to use might change...

If we assume that the archive is meant to store immutable content
under a given filename (and to me that requirement seems to be a good
idea), then we should question ourselves whether we really want to store
those signatures in a filename that's associated to the upstream version.
They should either be tied to the Debian revision (so that they can change
over time without any new upstream release) or be incorporated in the
Debian tarball.

After all the key to verify those signatures is already stored in the
Debian tarball (when you use the uscan feature to verify those
signatures), so why not store the signature there as well?

I originally filed this in https://bugs.debian.org/949962 against
ftp.debian.org but the bug got closed because it's not really the
responsibility of ftpmasters to change this. So I'm starting a wider
discussion to gather feedback of all interested parties (at least
Guillem as dpkg maintainer). I won't drive this much further but
I wanted to have it properly recorded and considered.

Cheers,

[1] For details it happened in dbus-glib:
https://snapshot.debian.org/package/dbus-glib/0.110-2/ -> it has .asc file
https://snapshot.debian.org/package/dbus-glib/0.110-3/ -> no .asc
https://snapshot.debian.org/package/dbus-glib/0.110-4/ -> no .asc
https://snapshot.debian.org/package/dbus-glib/0.110-5/ -> it has a
different .asc file



Bug#945131: dpkg: implement a way to wait to detect whether dpkg is running

2019-11-20 Thread Raphaël Hertzog
Package: dpkg
Version: 1.19.7
Severity: wishlist
User: de...@kali.org
Usertags: origin-kali

I just got a lintian warning "uses-dpkg-database-directly" on a script I
wrote a long time ago:
https://gitlab.com/kalilinux/packages/kali-menu/blob/kali/master/update-kali-menu

It's a script started in a postinst and/or in a DPkg::Post-Invoke hook. It
waits until dpkg is no longer running and then perform some work
(involving dpkg-divert to replace some files by our own).

In order to wait until dpkg is no longer running, I try to grab the dpkg
lock... and thus I have hardcoded /var/lib/dpkg/lock and lintian is not
happy.

To achieve this in a more elegant way, could you possibly implement some
"dpkg --is-running" test ? And/or maybe "dpkg --wait-lock-release" or
something similar ?

-- Package-specific info:
System tainted due to merged-usr-via-symlinks.

-- System Information:
Debian Release: bullseye/sid
  APT prefers oldoldstable
  APT policy: (500, 'oldoldstable'), (500, 'unstable'), (500, 'testing'), (500, 
'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.8-2
ii  libc62.29-3
ii  liblzma5 5.2.4-1+b1
ii  libselinux1  2.9-3+b1
ii  tar  1.30+dfsg-6+b1
ii  zlib1g   1:1.2.11.dfsg-1+b1

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt1.8.4
pn  debsig-verify  

-- no debconf information



Bug#782493: u-a: allow to override the priorities of alternatives at a system-wide level

2015-04-13 Thread Raphaël Hertzog
Package: dpkg
Version: 1.17.24
Severity: wishlist
User: de...@kali.org
Usertags: origin-kali

In the context a Debian derivative, you might want to tweak the priorities
of alternatives because you make different choices about what should be 
the default implementation of something (my immediate use case was to
change the default desktop session which is managed with x-session-manager).

Yet changing the priority of an alternative requires forking the package
because the priority is hardcoded in maintainer scripts. It would be nice
if update-alternatives could look up some system-wide override data and
use those values when they exist instead of the value provided on the
command line.

This would also make it easier to change defaults at a company-wide level
while still leaving the possibility for each user to change the
alternative to point to something else.

I imagine it could take the form of a directory
/etc/alternatives/priorities.d/ (or
/etc/dpkg/update-alternatives/priorities.d) with files containing simple
"  " lines (where  is the name of the symlink
in /etc/alternatives/ and  is the full path of the alternative in the
master link).

Cheers,

-- System Information:
Debian Release: 8.0
  APT prefers squeeze-lts
  APT policy: (500, 'squeeze-lts'), (500, 'unstable'), (500, 'testing'), (500, 
'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.6-7+b3
ii  libc62.19-17
ii  liblzma5 5.1.1alpha+20120614-2+b3
ii  libselinux1  2.3-2
ii  tar  1.27.1-2+b1
ii  zlib1g   1:1.2.8.dfsg-2+b1

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt  1.0.9.7

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#681443: dpkg-dev: dpkg-source --commit should be able to merge changes in an existing patch

2012-07-13 Thread Raphaël Hertzog
Package: dpkg-dev
Version: 1.16.7
Severity: wishlist
User: d...@packages.debian.org
Usertags: dpkg-source

When you use dpkg-source --commit to store changes, it will fail if you
try to commit them to an already existing patch:

$ dpkg-source --commit
dpkg-source: info: local changes detected, the modified files are:
 ftplib-3.1-1/README.qftp
Enter the desired patch name: fix-ascii-read-without-eol
dpkg-source: warning: cannot register changes in 
ftplib-3.1-1/debian/patches/fix-ascii-read-without-eol, this patch already 
exists
Enter the desired patch name: ^C
$

It would be nice if it offered the option to merge the changes in the given
patch (provided that the changes did not depend on any intermediary patch).

Cheers,
 Raphaël.



--
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#489771: marked as pending

2011-09-08 Thread Raphaël Hertzog
tag 489771 pending
thanks

Hello,

Bug #489771 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=f3bb7d4

---
commit f3bb7d4939ae95cf44c89e8f599e7ed5da431e57
Author: Raphaël Hertzog 
Date:   Wed Jul 27 22:10:49 2011 +0200

dpkg-buildflags: emit hardening build flags by default

All the hardening build flags supported by hardening-includes
are supported except that PIE is not enabled by default (just like
the corresponding gcc patch doesn't enable it by default).

Inspired by the work of Kees Cook .

diff --git a/debian/changelog b/debian/changelog
index 06d7dbb..977d27d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -102,6 +102,9 @@ dpkg (1.16.1) UNRELEASED; urgency=low
   * Fix dpkg's handling of a hardlink pointing to a conffile. Closes: #638291
   * Add example of extend-diff-ignore's usage in dpkg-source(1).
 Closes: #640198
+  * dpkg-buildflags now returns hardening flags by default. Closes: #489771
+They can be individually enabled/disabled via DEB_BUILD_MAINT_OPTIONS,
+see dpkg-buildflags(1). Thanks to Kees Cook for his help.
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#640198: marked as pending

2011-09-07 Thread Raphaël Hertzog
tag 640198 pending
thanks

Hello,

Bug #640198 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=bcd5c89

---
commit bcd5c89ab1621264e09e525826b2132490f35e07
Author: Raphaël Hertzog 
Date:   Sat Sep 3 14:34:31 2011 +0200

dpkg-source(1): add example of extend-diff-ignore's usage

Suggested-by: Christoph Berg 
Closes: #640198

diff --git a/debian/changelog b/debian/changelog
index 4a0fee4..06d7dbb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -100,6 +100,8 @@ dpkg (1.16.1) UNRELEASED; urgency=low
 native formats in case of unexpected interruption. Closes: #631494
   * Fix simplification logic of union dependencies. Closes: #637564
   * Fix dpkg's handling of a hardlink pointing to a conffile. Closes: #638291
+  * Add example of extend-diff-ignore's usage in dpkg-source(1).
+Closes: #640198
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#638291: marked as pending

2011-08-21 Thread Raphaël Hertzog
tag 638291 pending
thanks

Hello,

Bug #638291 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=277e572

---
commit 277e572facf30001d59bdadfe3e3c9e4db37ae1b
Author: Raphaël Hertzog 
Date:   Sun Aug 21 11:11:02 2011 +0200

dpkg: correctly handle a hardlink pointing to a conffile

Normal files tagged as a conffile are not tagged with
fnnf_deferred_rename and due to this the hardlinking code
was assuming that the target is in its final location
already. This is obviously not the case for a conffile.

Fix the code so that the hardlinking logic takes into account
the fact that conffiles are unpacked in .dpkg-new and stay
there until the configuration phase.

Reported-by: Igor Pashev 

diff --git a/debian/changelog b/debian/changelog
index ec2e9ae..4a0fee4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -99,6 +99,7 @@ dpkg (1.16.1) UNRELEASED; urgency=low
   * dpkg-source now properly cleans up the temporary tarball generated for
 native formats in case of unexpected interruption. Closes: #631494
   * Fix simplification logic of union dependencies. Closes: #637564
+  * Fix dpkg's handling of a hardlink pointing to a conffile. Closes: #638291
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#637564: marked as pending

2011-08-12 Thread Raphaël Hertzog
tag 637564 pending
thanks

Hello,

Bug #637564 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=5c1da3f

---
commit 5c1da3f8c2806490f9a7bed32c0a5b3a24d06d55
Author: Raphaël Hertzog 
Date:   Fri Aug 12 22:35:46 2011 +0200

Dpkg::Deps: fix simplification logic of union dependencies

The code merging dependencies was wrongly updating the dependency that's
not integrated in the resulting field.

Reported-by: Andreas Metzler 

diff --git a/debian/changelog b/debian/changelog
index e875ca6..dcf6f0f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -98,6 +98,7 @@ dpkg (1.16.1) UNRELEASED; urgency=low
   * Fix possible segfault of dpkg in findbreakcycle(). LP: #733414
   * dpkg-source now properly cleans up the temporary tarball generated for
 native formats in case of unexpected interruption. Closes: #631494
+  * Fix simplification logic of union dependencies. Closes: #637564
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#631494: marked as pending

2011-08-02 Thread Raphaël Hertzog
tag 631494 pending
thanks

Hello,

Bug #631494 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=7c2df89

---
commit 7c2df89844617b70883ab76b1c239a2f088cc232
Author: Raphaël Hertzog 
Date:   Tue Aug 2 11:20:54 2011 +0200

dpkg-source: clean up temporary file in case of interruption

Navite packages (both "1.0" and "3.0 (native)") failed to remove
the temporary tarball if the process is interrupted during its
generation.

Reported-by: Cyril Brulebois 

diff --git a/debian/changelog b/debian/changelog
index a2a6263..b3435e0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -96,6 +96,8 @@ dpkg (1.16.1) UNRELEASED; urgency=low
 extend the build flags to use. Last but not least, it can now also strip
 options from the returned build flags.
   * Fix possible segfault of dpkg in findbreakcycle(). LP: #733414
+  * dpkg-source now properly cleans up the temporary tarball generated for
+native formats in case of unexpected interruption. Closes: #631494
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#615899: marked as pending

2011-08-01 Thread Raphaël Hertzog
tag 615899 pending
thanks

Hello,

Bug #615899 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=46b688e

---
commit 46b688e4824f00842568b517b119eec34a5f7286
Author: Raphaël Hertzog 
Date:   Thu Jul 14 20:31:33 2011 +0200

dpkg-source: implement --commit and fail with unrecorded changes

Formats "2.0" and "3.0 (quilt)" now fail by default in presence of
changes to upstream files that are not managed by their respective patch
system. The user is invited to run dpkg-source --commit if he
wants to keep the changes.

This will avoid that maintainers upload packages with unexpected changes.
The old behaviour can be kept with the option --auto-commit. The option
--abort-on-upstream-changes is now useless with formats "2.0" and "3.0
(quilt)" except to cancel the effect of a former --auto-commit.

See http://lists.debian.org/20110529085303.ga17...@rivendell.home.ouaza.com
for the discussion that enterined this change.

diff --git a/debian/changelog b/debian/changelog
index 18a3793..61dbeef 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -87,6 +87,12 @@ dpkg (1.16.1) UNRELEASED; urgency=low
 under root. Closes: #634961
   * Change merge conflict separators created by dpkg-mergechangelogs to match
 the usual norm of being composed of 7 characters. LP: #815700
+  * With source format 2.0 and 3.0 (quilt), dpkg-source now fails by default
+when upstream changes have not been recorded in a quilt patch. The new
+--commit operation can be used to properly record the changes before-hand.
+LP: #797839
+And it fails before installing the automatic patch in debian/patches/
+Closes: #615899
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#634961: marked as pending

2011-07-27 Thread Raphaël Hertzog
tag 634961 pending
thanks

Hello,

Bug #634961 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=7e17d3b

---
commit 7e17d3bfc489c01412f6a7edc92c0a46befc85ee
Author: Raphaël Hertzog 
Date:   Wed Jul 27 13:08:59 2011 +0200

dpkg-divert: fix the test-suite to also skip tests that would fail if run 
as root

diff --git a/debian/changelog b/debian/changelog
index 552090c..293e0f5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -83,6 +83,8 @@ dpkg (1.16.1) UNRELEASED; urgency=low
   * Add some common makefile snippets for use in rules files in
 /usr/share/dpkg/: default.mk, architecture.mk, buildflags.mk, vendor.mk
 Closes: #606839
+  * Fix the dpkg-divert test-suite to also skip test that would fail if run
+under root. Closes: #634961
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#635467: marked as pending

2011-07-26 Thread Raphaël Hertzog
tag 635467 pending
thanks

Hello,

Bug #635467 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=6f14223

---
commit 6f14223bd4a27d9cf40bd830c69187e3c6406982
Author: Raphaël Hertzog 
Date:   Tue Jul 26 11:10:24 2011 +0200

Update changelog to close a bug reporting a problem already fixed

diff --git a/debian/changelog b/debian/changelog
index 9cee55b..552090c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -33,6 +33,7 @@ dpkg (1.16.1) UNRELEASED; urgency=low
   * Check presence of required parameters in dpkg-vendor. Closes: #628726
 Thanks to Niels Thykier  for the patch.
   * Avoid a Perl warning in dpkg-buildflags when HOME is not set.
+Closes: #635467
   * dpkg-source can now also use debian/source/local-patch-header (that is not
 included in the generated source package) instead of
 debian/source/patch-header. Closes: #629582




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#606839: marked as pending

2011-07-22 Thread Raphaël Hertzog
tag 606839 pending
thanks

Hello,

Bug #606839 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=b858e07

---
commit b858e07bddec28c5b86c39d425a02f08d9bd205a
Author: Raphaël Hertzog 
Date:   Mon Jul 11 10:37:41 2011 +0200

dpkg-dev: add some common makefile snippets for use in rules files

data/architecture.mk: variables related to dpkg-architecture
data/buildflags.mk: variables related to dpkg-builflags
data/vendor.mk: variables related to dpkg-vendor
data/default.mk: all of the above

diff --git a/debian/changelog b/debian/changelog
index 396fdc7..900a7d2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -79,6 +79,9 @@ dpkg (1.16.1) UNRELEASED; urgency=low
 Closes: #633627
   * Improve dpkg-source's error message complaining about the lack
 of the upstream tarball. Closes: #634510
+  * Add some common makefile snippets for use in rules files in
+/usr/share/dpkg/: default.mk, architecture.mk, buildflags.mk, vendor.mk
+Closes: #606839
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#634510: marked as pending

2011-07-18 Thread Raphaël Hertzog
tag 634510 pending
thanks

Hello,

Bug #634510 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=7627d80

---
commit 7627d8027482b28a40c88599be9808ce85e58a04
Author: Raphaël Hertzog 
Date:   Tue Jul 19 08:16:25 2011 +0200

dpkg-source: improve the error message "no orig.tar file found"

Now we include the template corresponding to files that we try to look
for.

diff --git a/debian/changelog b/debian/changelog
index ac9d3fb..d6fcd5c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -77,6 +77,8 @@ dpkg (1.16.1) UNRELEASED; urgency=low
   * Fix update-alternatives to not remove a real file when dropping a
 symlink for a slave that's not provided by the new current choice.
 Closes: #633627
+  * Improve dpkg-source's error message complaining about the lack
+of the upstream tarball. Closes: #634510
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#633627: marked as pending

2011-07-16 Thread Raphaël Hertzog
tag 633627 pending
thanks

Hello,

Bug #633627 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=91db161

---
commit 91db161013479ad03ef95e7f0ca2f413c5e57925
Author: Raphaël Hertzog 
Date:   Fri Jul 15 22:06:38 2011 +0200

update-alternatives: fix regression when dropping slave alternatives

When the alternative is changed, it might have to drop a slave alternative
that's no longer provide by the new choice. This must only remove the slave
link if it's actually a link. If it's a file, it must be kept except if
--force is given.

The non-regression tests have been contributed by Andreas Beckmann.

Reported-by: Andreas Beckmann 

diff --git a/debian/changelog b/debian/changelog
index 20b149a..ac9d3fb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -74,6 +74,9 @@ dpkg (1.16.1) UNRELEASED; urgency=low
   * dpkg-mergechangelogs now checks the return value of the close() call.
 Thanks to Niels Thykier  for the patch. Closes: #633539
   * Similar changes to dpkg-shlibdeps and dpkg-gencontrol, also by Niels.
+  * Fix update-alternatives to not remove a real file when dropping a
+symlink for a slave that's not provided by the new current choice.
+Closes: #633627
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#633539: marked as pending

2011-07-11 Thread Raphaël Hertzog
tag 633539 pending
thanks

Hello,

Bug #633539 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=64dc71b

---
commit 64dc71b84f8a4403028631f8f42e413f378e7d77
Author: Niels Thykier 
Date:   Mon Jul 11 13:27:44 2011 +0200

dpkg-mergechangelogs: fail if it cannot close the output file

Made dpkg-mergechangelogs check the return value of close and fail
if it was not successful.  Previously dpkg-mergechangelogs would
silently fail to write a file if (e.g.) the device was full.

Signed-off-by: Raphaël Hertzog 

diff --git a/debian/changelog b/debian/changelog
index d5bfd6d..f2b2560 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -71,6 +71,8 @@ dpkg (1.16.1) UNRELEASED; urgency=low
 flags.
   * Add new --dump action to dpkg-buildflags and make it the default action.
 Closes: #603435
+  * dpkg-mergechangelogs now checks the return value of the close() call.
+Thanks to Niels Thykier  for the patch. Closes: #633539
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#560070: marked as pending

2011-07-11 Thread Raphaël Hertzog
tag 560070 pending
thanks

Hello,

Bug #560070 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=14f134d

---
commit 14f134d403c022046d38a6abb8be0fee7fb63355
Author: Raphaël Hertzog 
Date:   Thu Jul 7 10:30:20 2011 +0200

dpkg-buildpackage: no longer exports the compiler flags

Packages must directly call dpkg-buildflags to retrieve them.

dpkg-buildpackage still prints the flags that are returned by
dpkg-buildflags because it's useful for debugging purpose and for
identifying an unclean build environment.

diff --git a/debian/changelog b/debian/changelog
index 601d397..7c8baee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -60,6 +60,8 @@ dpkg (1.16.1) UNRELEASED; urgency=low
   * Fix a small typo in dpkg-source(1). Closes: #632937
   * Reword the description of dpkg-source --before-build and --after-build
 to be clearer. Closes: #608260
+  * dpkg-buildpackage no longer exports the compiler flags. Closes: #560070
+Packages must directly call dpkg-buildflags to retrieve them.
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#603435: marked as pending

2011-07-11 Thread Raphaël Hertzog
tag 603435 pending
thanks

Hello,

Bug #603435 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=d415c38

---
commit d415c388d31e9c4b7eff8b77711a4c15b3b85208
Author: Raphaël Hertzog 
Date:   Mon Jul 11 09:20:20 2011 +0200

dpkg-buildflags: new --dump action, make it the default

The --export command is useful to retrieve the compilation flags
in a shell script or in a makefile, and to export them in the environment,
but it's not well suited for parsing by another script (or even by a
human).

The new --dump option becomes the default action and prints
the flags and their values following a documented template: "flag=value".

diff --git a/debian/changelog b/debian/changelog
index f6b52cb..d5bfd6d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -69,6 +69,8 @@ dpkg (1.16.1) UNRELEASED; urgency=low
 flags. Particularly useful for package maintainers who don't want
 their supplementary flags to take precedence over user submitted
 flags.
+  * Add new --dump action to dpkg-buildflags and make it the default action.
+Closes: #603435
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#608260: marked as pending

2011-07-07 Thread Raphaël Hertzog
tag 608260 pending
thanks

Hello,

Bug #608260 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=2d23326

---
commit 2d233269cbf8cc1529e0c49a8c03a8b2227d49ff
Author: Raphaël Hertzog 
Date:   Thu Jul 7 16:49:32 2011 +0200

dpkg-source(1): improve the description of --before-build & --after-build

diff --git a/debian/changelog b/debian/changelog
index 1d25bb8..7883cf0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -58,6 +58,8 @@ dpkg (1.16.1) UNRELEASED; urgency=low
 slave alternative. Closes: #631547
   * Improve dpkg-source's logic to identify ignored files. Closes: #632168
   * Fix a small typo in dpkg-source(1). Closes: #632937
+  * Reword the description of dpkg-source --before-build and --after-build
+to be clearer. Closes: #608260
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#632937: marked as pending

2011-07-07 Thread Raphaël Hertzog
tag 632937 pending
thanks

Hello,

Bug #632937 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=e0ce9b4

---
commit e0ce9b4ac351a921de12bf0302cfa97f1c7251e2
Author: Raphaël Hertzog 
Date:   Thu Jul 7 16:09:33 2011 +0200

dpkg-source(1): fix a small typo

Replace ", under as" with "under". Add missing dot at the end of the
sentence.

Reported-by: "Barak A. Pearlmutter" 

diff --git a/debian/changelog b/debian/changelog
index 41607a6..1d25bb8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -57,6 +57,7 @@ dpkg (1.16.1) UNRELEASED; urgency=low
   * update-alternatives: do not allow to reuse a slave link in another
 slave alternative. Closes: #631547
   * Improve dpkg-source's logic to identify ignored files. Closes: #632168
+  * Fix a small typo in dpkg-source(1). Closes: #632937
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#632168: marked as pending

2011-07-04 Thread Raphaël Hertzog
tag 632168 pending
thanks

Hello,

Bug #632168 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=a934589

---
commit a9345899bd3ad76e6081beaefbb1a5ce0758ebad
Author: Raphaël Hertzog 
Date:   Thu Jun 30 14:08:44 2011 +0200

dpkg-source: improve the logic to identify ignored files

The list of ignored files was only generated by expanding the patterns
relative to the current directory (which usually is the directory above
the source package). Instead what we want is to expand them at the
top-level directory of the source package and at the directory being
inspected.

Reported-by: Joachim Breitner 

diff --git a/debian/changelog b/debian/changelog
index eac87b4..2c153dc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -56,6 +56,7 @@ dpkg (1.16.1) UNRELEASED; urgency=low
 variables are meant for users and should not be used by packages.
   * update-alternatives: do not allow to reuse a slave link in another
 slave alternative. Closes: #631547
+  * Improve dpkg-source's logic to identify ignored files. Closes: #632168
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#631547: marked as pending

2011-06-28 Thread Raphaël Hertzog
tag 631547 pending
thanks

Hello,

Bug #631547 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=638e259

---
commit 638e259f69c1f3c0e1000979274562f8ffad4df9
Author: Raphaël Hertzog 
Date:   Tue Jun 28 09:34:52 2011 +0200

update-alternatives: do not allow to reuse a slave link in another slave 
alternative

update-alternatives erroneously allowed to reuse a link in another slave
alternative. Given the parsing code already catched this error, it would
immediately result in update-alternatives being unusable to manipulate the
broken alternative.

Reported-by: Andreas Beckmann 

diff --git a/debian/changelog b/debian/changelog
index 683564c..902e952 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -54,6 +54,8 @@ dpkg (1.16.1) UNRELEASED; urgency=low
 directives.
   * dpkg-buildflags(1): make it clear that DEB_*_(SET|APPEND) environment
 variables are meant for users and should not be used by packages.
+  * update-alternatives: do not allow to reuse a slave link in another
+slave alternative. Closes: #631547
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#631439: marked as pending

2011-06-25 Thread Raphaël Hertzog
tag 631439 pending
thanks

Hello,

Bug #631439 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=1c1653e

---
commit 1c1653ef4d7a6d461d4c2168d8a078a8a11596db
Author: Raphaël Hertzog 
Date:   Sat Jun 25 10:08:03 2011 +0200

dpkg-source: add some supplementary checks of debian/control

We're now ensuring that debian/control contains a source entry
and at least one entry for a binary package. And we also ensure
that the Architecture field is present. This a new restriction
but it's really in-line with the change made in dpkg where we
complain of the lack of this field.

Reported-by: Niels Thykier 

diff --git a/debian/changelog b/debian/changelog
index c1ce1b9..8777ba0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -42,6 +42,8 @@ dpkg (1.16.1) UNRELEASED; urgency=low
 LP: #798793, #424358 Closes: #560251
   * Use "special" instead of "particular" to qualify the "3.0 (custom)" format
 in dpkg-source(1). Closes: #631435
+  * Add some supplementary checks to ensure debian/control has the required
+fields. Closes: #631439
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#631435: marked as pending

2011-06-25 Thread Raphaël Hertzog
tag 631435 pending
thanks

Hello,

Bug #631435 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=02e045f

---
commit 02e045f9b2f6a75711a7a9f29766a835e971be3a
Author: Raphaël Hertzog 
Date:   Sat Jun 25 08:59:24 2011 +0200

dpkg-source(1): wording improvement

Use "special" instead of "particular" to qualify the "3.0 (custom)"
format.

Reported-by: Ben Pfaff 

diff --git a/debian/changelog b/debian/changelog
index b524ea7..c1ce1b9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -40,6 +40,8 @@ dpkg (1.16.1) UNRELEASED; urgency=low
 has applied during --before-build.
   * Fix two possible causes for the assertion failure "pigp->trigpend_head".
 LP: #798793, #424358 Closes: #560251
+  * Use "special" instead of "particular" to qualify the "3.0 (custom)" format
+in dpkg-source(1). Closes: #631435
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#630996: marked as pending

2011-06-25 Thread Raphaël Hertzog
tag 630996 pending
thanks

Hello,

Bug #630996 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=2be618a

---
commit 2be618a80de2de006428c1f92bfafa90bb963adf
Author: Raphaël Hertzog 
Date:   Sat Jun 25 10:17:53 2011 +0200

dpkg-gensymbols(1): document syntax of comments

Reported-by: Sven Joachim 

diff --git a/debian/changelog b/debian/changelog
index 8777ba0..c7292d9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -44,6 +44,7 @@ dpkg (1.16.1) UNRELEASED; urgency=low
 in dpkg-source(1). Closes: #631435
   * Add some supplementary checks to ensure debian/control has the required
 fields. Closes: #631439
+  * dpkg-gensymbols(1): document syntax of comments. Closes: #630996
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#560251: marked as pending

2011-06-17 Thread Raphaël Hertzog
tag 560251 pending
thanks

Hello,

Bug #560251 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=3c3dce2

---
commit 3c3dce24847d0040547aa2a2bd9da5dcca2df0c7
Author: Raphaël Hertzog 
Date:   Fri Jun 17 23:53:32 2011 +0200

dpkg: ensure that post_postinst_tasks() doesn't introduce bad data

The pending triggers were removed because the postinst has just been
run, unfortunately in some cases it would restore the status to
pending-triggers. This is notably the case when a package is
removed while being in triggers-pending and when the prerm fails.

In fact it was not correct to remove the pending triggers in this
function because only "postinst configure" should clear the pending
triggers. Thus move the removal of the pending triggers to
deferred_configure() in src/configure.c and reset the status
to its "normal" value when the target status is one of triggers-awaited,
triggers-pending or installed.

With this change, it's no longer possible to have a status of
triggers-pending without any pending trigger in trigpend_head.

Note that despite this change, the pending triggers are lost
during a failed removal because dpkg switches the package to
halfconfigured before running "prerm remove" and modstatdb_note()
drops the pending triggers in that situation.

diff --git a/debian/changelog b/debian/changelog
index 8b100a6..b524ea7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -38,8 +38,8 @@ dpkg (1.16.1) UNRELEASED; urgency=low
 debian/source/patch-header. Closes: #629582
   * Changed dpkg-source --after-build to automatically unapply patches that it
 has applied during --before-build.
-  * Fix one possible cause for the assertion failure "pigp->trigpend_head".
-LP: #798793
+  * Fix two possible causes for the assertion failure "pigp->trigpend_head".
+LP: #798793, #424358 Closes: #560251
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#629582: marked as pending

2011-06-12 Thread Raphaël Hertzog
tag 629582 pending
thanks

Hello,

Bug #629582 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=46d6192

---
commit 46d6192d4070b0324b837105e9959a501e65433d
Author: Raphaël Hertzog 
Date:   Sat Jun 11 22:49:53 2011 +0200

dpkg-source: support debian/source/local-patch-header

Useful to use in combination with a --single-debian-patch option
in debian/source/local-options.

The commit also changes the place where the local-options file is ignored.
Instead of using the default diff_ignore regexp, it's hardcoded in the
initialization function in case the default regexp is not used.

Suggested-by: Russ Allbery 

diff --git a/debian/changelog b/debian/changelog
index 66b369c..94cfbe7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -33,6 +33,9 @@ dpkg (1.16.1) UNRELEASED; urgency=low
   * Check presence of required parameters in dpkg-vendor. Closes: #628726
 Thanks to Niels Thykier  for the patch.
   * Avoid a Perl warning in dpkg-buildflags when HOME is not set.
+  * dpkg-source can now also use debian/source/local-patch-header (that is not
+included in the generated source package) instead of
+debian/source/patch-header. Closes: #629582
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#229357: marked as pending

2011-06-06 Thread Raphaël Hertzog
tag 229357 pending
thanks

Hello,

Bug #229357 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=14d48ef

---
commit 14d48ef9abc2ce2d394e9ae4d69d4ba68b551620
Author: Bill Allombert 
Date:   Sun Sep 6 13:18:50 2009 +0200

dpkg-buildpackage: support for Build-Features: build-arch

With this flag set in debian/control, dpkg-buildpackage will use
"debian/rules build-arch" or "debian/rules build-indep" when
appropriate.
    
Improved-by: Raphaël Hertzog 
Signed-off-by: Raphaël Hertzog 

diff --git a/debian/changelog b/debian/changelog
index afc2283..23574f5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -85,6 +85,12 @@ dpkg (1.16.1) UNRELEASED; urgency=low
   * Do not warn on missing architecture on packages in config-files state,
 but then make sure the architecture field is usable. Closes: #604241
 
+  [ Bill Allombert]
+  * Add support for Build-Features: build-arch. Closes: #229357
+With this flag, dpkg-buildpackage will now run "debian/rules build-arch"
+or "debian/rules build-indep" instead of "debian/rules build" when
+appropriate.
+
   [ Updated dpkg translations ]
   * German (Sven Joachim). Closes: #620312
 




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#628726: marked as pending

2011-06-05 Thread Raphaël Hertzog
tag 628726 pending
thanks

Hello,

Bug #628726 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=b3d0bb4

---
commit b3d0bb4a4cb8a994d3841912dccd116224498f32
Author: Niels Thykier 
Date:   Sun Jun 5 00:31:49 2011 +0200

dpkg-vendor: fail on missing parameters for required arguments

Signed-off-by: Raphaël Hertzog 

diff --git a/debian/changelog b/debian/changelog
index 4da1d14..afc2283 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -28,6 +28,8 @@ dpkg (1.16.1) UNRELEASED; urgency=low
   * Add the extraction part of Dpkg::Source::Package to the supported API.
 Useful to extract source packages without having to depend on dpkg-source
 (and hence dpkg-dev).
+  * Check presence of required parameters in dpkg-vendor. Closes: #628726
+Thanks to Niels Thykier  for the patch.
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#619131: marked as pending

2011-05-28 Thread Raphaël Hertzog
tag 619131 pending
thanks

Hello,

Bug #619131 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=8bbd76c

---
commit 8bbd76cc98360c20ff8ca660ab1d53234608ff92
Author: Raphaël Hertzog 
Date:   Sat May 28 15:12:58 2011 +0200

dpkg-source: reenable the Package-List field

But drop the Architecture column since we have no clear use case yet. It
can always be added later on. Parsers should treat the field as an
extendable one. They shall ignore supplementary columns that they do
not know.

Also drop the source line, it's not needed since the dsc file describes
the source package already (source section and priority are not currently
exported in dedicated fields but they can be added later if we start
having a need for this information).

diff --git a/debian/changelog b/debian/changelog
index c487045..16aa463 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,6 +21,10 @@ dpkg (1.16.1) UNRELEASED; urgency=low
 internal files in /var/lib/dpkg/info/triggers/. Closes: #525160
   * Avoid a perl warning in dpkg-gensymbols when no symbols file has been
 generated (because it would have been empty). Closes: #626684
+  * Reenable the Package-List field but drop the Architecture column since we
+have no clear use case yet. It can always be added later on.
+Also drop the source line since it duplicates other fields.
+Closes: #619131
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#626684: marked as pending

2011-05-28 Thread Raphaël Hertzog
tag 626684 pending
thanks

Hello,

Bug #626684 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=587a1e1

---
commit 587a1e17ff424ee87d5011795c518da238189e9f
Author: Raphaël Hertzog 
Date:   Sat May 28 14:56:49 2011 +0200

dpkg-gensymbols: warn when the generated symbols files is empty

It indirectly avoids a perl warning in dpkg-gensymbols when no symbols
file has been generated (because it would have been empty).

Reported-by: Niels Thykier 

diff --git a/debian/changelog b/debian/changelog
index 365ea39..c487045 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,8 @@ dpkg (1.16.1) UNRELEASED; urgency=low
   * "any" no longer hides "all" in the Architecture field of a .dsc.
   * Fix dpkg --remove to really remove the triggers from the various
 internal files in /var/lib/dpkg/info/triggers/. Closes: #525160
+  * Avoid a perl warning in dpkg-gensymbols when no symbols file has been
+generated (because it would have been empty). Closes: #626684
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#525160: marked as pending

2011-05-18 Thread Raphaël Hertzog
tag 525160 pending
thanks

Hello,

Bug #525160 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=83b5913

---
commit 83b591340ec92cf0e9814e8403da7711cbbc6b46
Author: Raphaël Hertzog 
Date:   Wed May 18 10:10:04 2011 +0200

dpkg: properly remove triggers information during package removal

Before this change, a package removal would not remove the triggers
information from the internal files. When you reinstalled the same
package without any trigger, dpkg would improperly believe that
the package implemented some triggers.

However the triggers were correctly unregistered during a package
upgrade that dropped the triggers.

With this commit, we also remove triggers interest file that are empty and
thus no longer needed.

diff --git a/debian/changelog b/debian/changelog
index 271085f..00a4d69 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,8 @@ dpkg (1.16.1) UNRELEASED; urgency=low
   * Do not fail when encountering a pre-dependency in triggers-awaited state,
 instead process the awaited triggers. Closes: #526774
   * "any" no longer hides "all" in the Architecture field of a .dsc.
+  * Fix dpkg --remove to really remove the triggers from the various
+internal files in /var/lib/dpkg/info/triggers/. Closes: #525160
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#526774: marked as pending

2011-05-14 Thread Raphaël Hertzog
tag 526774 pending
thanks

Hello,

Bug #526774 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=a946894

---
commit a946894f7a0b6ce9d779b99257246c7003718269
Author: Raphaël Hertzog 
Date:   Sat May 14 10:38:59 2011 +0200

dpkg: improve pre-dependency check on unpack

When a pre-dependency is not satisfied due to a package in
triggers-awaited state, immediately run the trigger processing
and continue without errors.

This make it possible to blindly use --no-triggers and not break
when you're not fully configuring a pre-dependency.

See test case t-predepends-no-triggers.

diff --git a/debian/changelog b/debian/changelog
index 96c909b..aed83cf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,8 @@ dpkg (1.16.1) UNRELEASED; urgency=low
 extend the current diff-ignore if it has already been set.
   * Fix dependency checking code to consider a dependency on a virtual
 package provided by a package in triggers-pending status as satisfied.
+  * Do not fail when encountering a pre-dependency in triggers-awaited state,
+instead process the awaited triggers. Closes: #526774
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#621066: marked as pending

2011-04-06 Thread Raphaël Hertzog
tag 621066 pending
thanks

Hello,

Bug #621066 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=9dc6ea2

---
commit 9dc6ea29b59050af1fd06c6c348afacc428de8f4
Author: Lars Buitinck 
Date:   Wed Apr 6 14:09:00 2011 +0200

dpkg-query(1): improve description of --search

diff --git a/debian/changelog b/debian/changelog
index 4a038e6..2532866 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ dpkg (1.16.1) UNRELEASED; urgency=low
   [ Raphaël Hertzog ]
   * Dpkg::Deps: Implement new "reset" method and bump module version to 1.01
 due to this.
+  * Improved description of --search in dpkg-query(1). Closes: #621066
+Thanks to Lars Buitinck  for the patch.
 
   [ Guillem Jover ]
   * Install deb-src-control(5) man pages in dpkg-dev. Closes: #620520




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#620679: marked as pending

2011-04-03 Thread Raphaël Hertzog
tag 620679 pending
thanks

Hello,

Bug #620679 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=888a5bb

---
commit 888a5bbbd916d4a2f3a519c1c45519e8614d1782
Author: Raphaël Hertzog 
Date:   Sun Apr 3 15:27:21 2011 +0200

dpkg: don't ohshite if lutimes() fails with ENOSYS

Glibc implements lutimes() on top of utimensat() which is only provided
by Linux >= 2.6.22. With older kernels it returns ENOSYS.

This regression was introduced by commit
b3eb59cf43c286bb6c906c00ef1cdc0ec21f474d which implemented support for
setting timestamps of symlinks.

Reported-by: Michael Prokop 

diff --git a/debian/changelog b/debian/changelog
index ec09b8c..0de22f7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ dpkg (1.16.0.1) UNRELEASED; urgency=low
 
   [ Raphaël Hertzog ]
   * Fix regression affecting dpkg -R. Closes: #620636
+  * Don't fail during unpack if the system doesn't support changing timestamps
+of symlinks. Closes: #620679
 
  -- Raphaël Hertzog   Sun, 03 Apr 2011 15:06:32 +0200
 




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#620636: marked as pending

2011-04-03 Thread Raphaël Hertzog
tag 620636 pending
thanks

Hello,

Bug #620636 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=fddba30

---
commit fddba30d74856e2d5c3f287343569fc259729bc0
Author: Raphaël Hertzog 
Date:   Sun Apr 3 14:58:06 2011 +0200

dpkg: fix regression when using -R option

The regression was introduced in commit
280ac914cc52ee5de079c0833bb1df5005c1e7ab. The variable used for the loop
got incremented twice for each iteration, the net result is that the list
of filenames contains random data on half of the entries.

Reported-by: Craig Sanders 

diff --git a/debian/changelog b/debian/changelog
index 0db7705..ec09b8c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+dpkg (1.16.0.1) UNRELEASED; urgency=low
+
+  [ Raphaël Hertzog ]
+  * Fix regression affecting dpkg -R. Closes: #620636
+
+ -- Raphaël Hertzog   Sun, 03 Apr 2011 15:06:32 +0200
+
 dpkg (1.16.0) unstable; urgency=low
 
   [ Guillem Jover ]




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#620380: marked as pending

2011-04-01 Thread Raphaël Hertzog
tag 620380 pending
thanks

Hello,

Bug #620380 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=bdcee31

---
commit bdcee319a90eee494af70e6725fed8b4e8f16584
Author: Raphaël Hertzog 
Date:   Fri Apr 1 20:45:46 2011 +0200

dpkg-divert: fix minor file descriptor leak found by cppcheck

Reported-by: Niels Thykier 

diff --git a/debian/changelog b/debian/changelog
index 792a78b..4b2e767 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -102,6 +102,7 @@ dpkg (1.16.0) UNRELEASED; urgency=low
 Closes: #605719
   * Fix dpkg-source's regression with empty patches (introduced while fixing
 #613023). Closes: #619541
+  * Fix minor file descriptor leak found by cppcheck. Closes: #620380
 
   [ Jonathan Nieder ]
   * Remove support for use of synchronous sync(2), due to its pernicious




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#613023: marked as pending

2011-03-24 Thread Raphaël Hertzog
tag 613023 pending
thanks

Hello,

Bug #613023 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=7ea2064

---
commit 7ea2064c46b77398a63d7f7a543ebcf08f7c74d2
Author: Raphaël Hertzog 
Date:   Thu Mar 24 23:53:37 2011 +0100

Dpkg::Source::Patch: don't choke on empty patches

Commit 255e73e11d1365fbb1e8d78287fad751a8ebc6e5 introduced a regression
with empty patches by assuming that a patch analysis would always give
back at least one filename.

Reported-by: Niels Thykier 

diff --git a/debian/changelog b/debian/changelog
index c3707b2..41772cb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -100,6 +100,8 @@ dpkg (1.16.0) UNRELEASED; urgency=low
 in Uploaders. Closes: #598922
   * Ignore whitespaces after options in headers of changelog entries.
 Closes: #605719
+  * Fix dpkg-source's regression with empty patches (introduced while fixing
+#613023). Closes: #619541
 
   [ Jonathan Nieder ]
   * Remove support for use of synchronous sync(2), due to its pernicious




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#619541: marked as pending

2011-03-24 Thread Raphaël Hertzog
tag 619541 pending
thanks

Hello,

Bug #619541 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=7ea2064

---
commit 7ea2064c46b77398a63d7f7a543ebcf08f7c74d2
Author: Raphaël Hertzog 
Date:   Thu Mar 24 23:53:37 2011 +0100

Dpkg::Source::Patch: don't choke on empty patches

Commit 255e73e11d1365fbb1e8d78287fad751a8ebc6e5 introduced a regression
with empty patches by assuming that a patch analysis would always give
back at least one filename.

Reported-by: Niels Thykier 

diff --git a/debian/changelog b/debian/changelog
index c3707b2..41772cb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -100,6 +100,8 @@ dpkg (1.16.0) UNRELEASED; urgency=low
 in Uploaders. Closes: #598922
   * Ignore whitespaces after options in headers of changelog entries.
 Closes: #605719
+  * Fix dpkg-source's regression with empty patches (introduced while fixing
+#613023). Closes: #619541
 
   [ Jonathan Nieder ]
   * Remove support for use of synchronous sync(2), due to its pernicious




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#605719: marked as pending

2011-03-24 Thread Raphaël Hertzog
tag 605719 pending
thanks

Hello,

Bug #605719 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=893a04b

---
commit 893a04ba94f21ea068aa18a7b715769275b98892
Author: Raphaël Hertzog 
Date:   Thu Mar 24 16:04:30 2011 +0100

Dpkg::Changelog::Debian::Entry: ignore whitespaces after options in header

diff --git a/debian/changelog b/debian/changelog
index e6caf76..c3707b2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -98,6 +98,8 @@ dpkg (1.16.0) UNRELEASED; urgency=low
   * Remove duplicate word in german translation of dpkg(1). Closes: #616096
   * Strip repeated non-significant spaces before and after newlines
 in Uploaders. Closes: #598922
+  * Ignore whitespaces after options in headers of changelog entries.
+Closes: #605719
 
   [ Jonathan Nieder ]
   * Remove support for use of synchronous sync(2), due to its pernicious




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#598922: marked as pending

2011-03-24 Thread Raphaël Hertzog
tag 598922 pending
thanks

Hello,

Bug #598922 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=84e9322

---
commit 84e9322448b3b9b227d80b667ef1274452d6fb3e
Author: Raphaël Hertzog 
Date:   Thu Mar 24 15:45:22 2011 +0100

dpkg-source: strip spaces around newlines in Uploaders

diff --git a/debian/changelog b/debian/changelog
index dbac46e..e6caf76 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -96,6 +96,8 @@ dpkg (1.16.0) UNRELEASED; urgency=low
 It contains a list of packages that the source can build along with
 their sections and priorities. Closes: #619131
   * Remove duplicate word in german translation of dpkg(1). Closes: #616096
+  * Strip repeated non-significant spaces before and after newlines
+in Uploaders. Closes: #598922
 
   [ Jonathan Nieder ]
   * Remove support for use of synchronous sync(2), due to its pernicious




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#616096: marked as pending

2011-03-24 Thread Raphaël Hertzog
tag 616096 pending
thanks

Hello,

Bug #616096 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=c52cb59

---
commit c52cb59d6bc99dc02a0a63fd2c80fe544bf6d691
Author: Raphaël Hertzog 
Date:   Thu Mar 24 15:29:54 2011 +0100

dpkg(1): remove a duplicate word in the german translation

Concerns the explanation of --get-selections.

diff --git a/debian/changelog b/debian/changelog
index fe919b0..dbac46e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -95,6 +95,7 @@ dpkg (1.16.0) UNRELEASED; urgency=low
   * Add new Package-List field to .dsc files as requested by ftpmasters.
 It contains a list of packages that the source can build along with
 their sections and priorities. Closes: #619131
+  * Remove duplicate word in german translation of dpkg(1). Closes: #616096
 
   [ Jonathan Nieder ]
   * Remove support for use of synchronous sync(2), due to its pernicious




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#619131: marked as pending

2011-03-24 Thread Raphaël Hertzog
tag 619131 pending
thanks

Hello,

Bug #619131 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=0146724

---
commit 014672432452a6f6a18c44e733fece7938685370
Author: Raphaël Hertzog 
Date:   Thu Mar 24 14:39:56 2011 +0100

dpkg-source: add new Package-List field to .dsc files

This field has been requested by ftpmasters so that they can install
overrides for all binary packages as soon as they have approved
the source package. It contains a the list of packages that the source
can build along with their sections and priorities.

It looks like this:

  Package-List:
   src:foo admin optional
   foo admin optional
   foo-common admin optional
   udeb:foo-udeb debian-installer extra

diff --git a/debian/changelog b/debian/changelog
index bf542c9..427bfa6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -92,6 +92,9 @@ dpkg (1.16.0) UNRELEASED; urgency=low
 spotting it.
   * Use the correct mtime when installing a file with statoverrides.
 LP: #739179
+  * Add new Package-List field to .dsc files as requested by ftpmasters.
+It contains a the list of packages that the source builds along with
+their sections and priorities. Closes: #619131
 
   [ Jonathan Nieder ]
   * Remove support for use of synchronous sync(2), due to its pernicious




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#619311: marked as pending

2011-03-23 Thread Raphaël Hertzog
tag 619311 pending
thanks

Hello,

Bug #619311 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=a8cb927

---
commit a8cb927edb7dbd67c7a6084685998818b811caec
Author: Mark Hymers 
Date:   Tue Mar 22 15:50:16 2011 +

dpkg-gencontrol: add support for Built-Using field

And teach dpkg-deb to not complain about it.

Signed-off-by: Raphaël Hertzog 

diff --git a/debian/changelog b/debian/changelog
index 2d0883c..bf542c9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -105,6 +105,9 @@ dpkg (1.16.0) UNRELEASED; urgency=low
 architecture which should be used as the path component for library
 installation.
 
+  [ Mark Hymers ]
+  * Add support for Built-Using field. Closes: #619311
+
   [ Updated programs translations ]
   * German (Sven Joachim).
   * Portuguese (Miguel Figueiredo).




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#617923: marked as pending

2011-03-12 Thread Raphaël Hertzog
tag 617923 pending
thanks

Hello,

Bug #617923 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=8989361

---
commit 898936120e987d9faf27002e2d01844edbfbb538
Author: Roger Leigh 
Date:   Sat Mar 12 16:04:31 2011 +

Dpkg::Control::Hash: accept PGP signature as end of block

Improved-by: Raphaël Hertzog 

diff --git a/debian/changelog b/debian/changelog
index 9f23d32..e586bdd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -79,6 +79,9 @@ dpkg (1.16.0) UNRELEASED; urgency=low
 - it accepts seeing the same file twice; Closes: #608829
 - it doesn't match on the English text "No newline at end of file" as it
   might be translated in some cases. Closes: #612465
+  * Improve parser in Dpkg::Control::Hash to not require an empty line
+before the PGP signature. Closes: #617923
+Thanks to Roger Leigh for the initial patch.
 
   [ Jonathan Nieder ]
   * Remove support for use of synchronous sync(2), due to its pernicious




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#612465: marked as pending

2011-03-07 Thread Raphaël Hertzog
tag 612465 pending
thanks

Hello,

Bug #612465 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=df8062d

---
commit df8062d202016114b6c167cd0cf23e895587059c
Author: Raphaël Hertzog 
Date:   Mon Mar 7 09:32:14 2011 +0100

dpkg-source: be a bit less strict when parsing patches

It will now accept seeing the same file twice

Reported-by: Bastian Blank 

It will no longer match on the English text "No newline at end of file" as
it might be translated in some cases. It will only consider the intial
"\ ".

Reported-by: Jan-Marek Glogowski 

diff --git a/debian/changelog b/debian/changelog
index 59cf74c..9f23d32 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -75,6 +75,10 @@ dpkg (1.16.0) UNRELEASED; urgency=low
 diagnosis.
   * dpkg-source will now remove quilt's .pc directory when --unapply-patches
 is in use. Closes: #591858
+  * dpkg-source is now a bit less strict when parsing patches:
+- it accepts seeing the same file twice; Closes: #608829
+- it doesn't match on the English text "No newline at end of file" as it
+  might be translated in some cases. Closes: #612465
 
   [ Jonathan Nieder ]
   * Remove support for use of synchronous sync(2), due to its pernicious




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#608829: marked as pending

2011-03-07 Thread Raphaël Hertzog
tag 608829 pending
thanks

Hello,

Bug #608829 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=df8062d

---
commit df8062d202016114b6c167cd0cf23e895587059c
Author: Raphaël Hertzog 
Date:   Mon Mar 7 09:32:14 2011 +0100

dpkg-source: be a bit less strict when parsing patches

It will now accept seeing the same file twice

Reported-by: Bastian Blank 

It will no longer match on the English text "No newline at end of file" as
it might be translated in some cases. It will only consider the intial
"\ ".

Reported-by: Jan-Marek Glogowski 

diff --git a/debian/changelog b/debian/changelog
index 59cf74c..9f23d32 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -75,6 +75,10 @@ dpkg (1.16.0) UNRELEASED; urgency=low
 diagnosis.
   * dpkg-source will now remove quilt's .pc directory when --unapply-patches
 is in use. Closes: #591858
+  * dpkg-source is now a bit less strict when parsing patches:
+- it accepts seeing the same file twice; Closes: #608829
+- it doesn't match on the English text "No newline at end of file" as it
+  might be translated in some cases. Closes: #612465
 
   [ Jonathan Nieder ]
   * Remove support for use of synchronous sync(2), due to its pernicious




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#613023: marked as pending

2011-03-06 Thread Raphaël Hertzog
tag 613023 pending
thanks

Hello,

Bug #613023 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=255e73e

---
commit 255e73e11d1365fbb1e8d78287fad751a8ebc6e5
Author: Jonathan Nieder 
Date:   Mon Feb 14 06:39:03 2011 -0600

dpkg-source: use server-side clock for patched file timestamp on NFS

Since 1.13.14~20 (2006-02-10), dpkg-source touches the files it
patches when unpacking, with a single date.  This way, the order of
mtimes does not depend on the order in which the files were patched,
which is convenient when e.g. configure.in and configure are patched.

More precisely, dpkg-source does something like the following:

my $now = time();
foreach my $fn (@patched_files) {
utime($now, $now, $fn);
}

Unfortunately when the filesystem is NFS, "touch" and normal
modification set mtime and atime to the current time on the server
side, while time() returns the current time on the client side.
The two clocks can disagree, producing breakage.

So unless a timestamp has been passed explicitly, use utime(undef,
undef, $fn) to set mtime for the first file to the server side time
and copy it (rounded down to a number of seconds) to all patched
files.

Reported-by: Stéphane Glondu 
Signed-off-by: Jonathan Nieder 
Improved-by: Raphaël Hertzog 
Signed-off-by: Raphaël Hertzog 

diff --git a/debian/changelog b/debian/changelog
index 9175e77..e6ed337 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -68,6 +68,11 @@ dpkg (1.16.0) UNRELEASED; urgency=low
   * dpkg-source now keeps the file ordering in the autogenerated patch when
 regenerating it. Closes: #606080
 Thanks to Colin Watson for the patch.
+  * dpkg-source now uses a timestamp retrieved from the filesystem when
+resetting the timestamp of patched files so that a time skew when using
+NFS doesn't introduce any inconsistency. Closes: #613023
+Thanks to Jonathan Nieder  for the patch and the
+diagnosis.
 
   [ Jonathan Nieder ]
   * Remove support for use of synchronous sync(2), due to its pernicious




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#606080: marked as pending

2011-03-06 Thread Raphaël Hertzog
tag 606080 pending
thanks

Hello,

Bug #606080 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=40dcf24

---
commit 40dcf24632684ec726210dd4437fdedbdbe6134e
Author: Colin Watson 
Date:   Mon Dec 6 09:42:17 2010 +

dpkg-source: keep file order stable when regenerating autopatches.

Signed-off-by: Raphaël Hertzog 

diff --git a/debian/changelog b/debian/changelog
index 5803ce1..9175e77 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -65,6 +65,9 @@ dpkg (1.16.0) UNRELEASED; urgency=low
 - parse correctly the output of dpkg --search
   * Small fix to support files >2GB in .deb on 64-bit systems. Closes: #616502
 Thanks to Martin Dorey  for the patch.
+  * dpkg-source now keeps the file ordering in the autogenerated patch when
+regenerating it. Closes: #606080
+Thanks to Colin Watson for the patch.
 
   [ Jonathan Nieder ]
   * Remove support for use of synchronous sync(2), due to its pernicious




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#591858: marked as pending

2011-03-06 Thread Raphaël Hertzog
tag 591858 pending
thanks

Hello,

Bug #591858 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=d5c5d8f

---
commit d5c5d8f8651eb2ccdb61847e2bd018f80fcd84cb
Author: Raphaël Hertzog 
Date:   Sun Mar 6 10:44:22 2011 +0100

dpkg-source: remove quilt's .pc directory when --unapply-patches is in use

diff --git a/debian/changelog b/debian/changelog
index e6ed337..59cf74c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -73,6 +73,8 @@ dpkg (1.16.0) UNRELEASED; urgency=low
 NFS doesn't introduce any inconsistency. Closes: #613023
 Thanks to Jonathan Nieder  for the patch and the
 diagnosis.
+  * dpkg-source will now remove quilt's .pc directory when --unapply-patches
+is in use. Closes: #591858
 
   [ Jonathan Nieder ]
   * Remove support for use of synchronous sync(2), due to its pernicious




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#616502: marked as pending

2011-03-05 Thread Raphaël Hertzog
tag 616502 pending
thanks

Hello,

Bug #616502 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=94bf966

---
commit 94bf966f04a6c4b262544f4cf6f8442379c821d1
Author: Martin Dorey 
Date:   Sat Mar 5 09:44:00 2011 +0100

Fix OtoL() to accumulate data in a long instead of an int

On 64-bit architectures where the long is bigger than the int, it makes
it possible to have files bigger than 2GB.

Reviewed-by: Jonathan Nieder 
Signed-off-by: Raphaël Hertzog 

diff --git a/debian/changelog b/debian/changelog
index 656f2cf..5803ce1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -63,6 +63,8 @@ dpkg (1.16.0) UNRELEASED; urgency=low
   * Update dpkg-shlibdeps to be multiarch-ready:
 - use get_control_path() to find symbols/shlibs files
 - parse correctly the output of dpkg --search
+  * Small fix to support files >2GB in .deb on 64-bit systems. Closes: #616502
+Thanks to Martin Dorey  for the patch.
 
   [ Jonathan Nieder ]
   * Remove support for use of synchronous sync(2), due to its pernicious




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#612472: marked as pending

2011-03-01 Thread Raphaël Hertzog
tag 612472 pending
thanks

Hello,

Bug #612472 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=e02f4f5

---
commit e02f4f5bba696d270b3b82158794f5859a09f507
Author: Raphaël Hertzog 
Date:   Tue Mar 1 09:16:05 2011 +0100

Add missing changelog entry

This entry was meant to be integrated in commit
c824c49b3fbbd61626031eeb10ae37782a994154.

diff --git a/debian/changelog b/debian/changelog
index 68ddf0c..8f3af72 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -51,6 +51,8 @@ dpkg (1.16.0) UNRELEASED; urgency=low
   * Fix dpkg-source to not list Debian packaging files as modified
 upstream files in Format "1.0" when unpacking to a non-standard
 directory.
+  * Apply patch from Colin Watson to let dpkg-buildflags return -O3
+instead of -O2 when building ppc64 packages on Ubuntu. Closes: #612472
 
   [ Jonathan Nieder ]
   * Remove support for use of synchronous sync(2), due to its pernicious




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#610991: marked as pending

2011-01-24 Thread Raphaël Hertzog
tag 610991 pending
thanks

Hello,

Bug #610991 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=f589a03

---
commit f589a03c6fcd9360d00cb4b084d55704c3c8746f
Author: Raphaël Hertzog 
Date:   Mon Jan 24 20:43:13 2011 +0100

debian/control: drop Breaks on konqueror

With this Breaks, "apt-get install udev" that is recommended at the start
of a lenny->squeeze upgrade might remove the kde metapackage. This is
due to udev needing a new util-linux that itself needs a newer dpkg (due
to the install-info transition).

In contrast, the lack of the Breaks has very minimal consequences: partial
upgrades might not install install-info and in that case konqueror might
show an outdated list of info pages.

diff --git a/debian/changelog b/debian/changelog
index a402570..85a01e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,10 @@
 dpkg (1.15.8.9) UNRELEASED; urgency=low
 
+  [ Raphaël Hertzog ]
+  * Drop Breaks on konqueror to avoid some lenny -> squeeze upgrade
+problems. It was only needed to ensure install-info is installed
+even for partial upgrades. Closes: #610991
+
   [ Updated dpkg translations ]
   * Remove space before "…" in several Catalan strings (Jordi Mallach).
 




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#596841: marked as pending

2010-12-09 Thread Raphaël Hertzog
tag 596841 pending
thanks

Hello,

Bug #596841 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=4105379

---
commit 4105379e2532d68579cfb1d95eb49205414507db
Author: Chris Baines 
Date:   Thu Dec 9 15:58:48 2010 +0100

dpkg-shlibdeps: do not fail immediatly when a library is not found

Instead continue and fail after all problems have been reported.

diff --git a/debian/changelog b/debian/changelog
index 752ccec..fd730bb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,9 @@ dpkg (1.16.0) UNRELEASED; urgency=low
 - it documents the VCS-* fields too. Closes: #483119
 Thanks to Oxan van Leeuwen  who wrote it
 as part of the Google Code In program.
+  * Enhance dpkg-shlibdeps to not fail immediatly when a library is not found.
+Instead continue and fail after all problems have been reported. Thanks
+to Chris Baines  for the patch. Closes: #596841
 
   [ Updated programs translations ]
   * Portuguese (Miguel Figueiredo).




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#483119: marked as pending

2010-11-24 Thread Raphaël Hertzog
tag 483119 pending
thanks

Hello,

Bug #483119 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=93bba14

---
commit 93bba14d3659578f19b5273dea2142d09a150a19
Author: Oxan van Leeuwen 
Date:   Wed Nov 24 21:05:30 2010 +0100

New manual page deb-src-control(5) documenting debian/control

diff --git a/debian/changelog b/debian/changelog
index e14a0f0..748e76e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,12 @@ dpkg (1.16.0) UNRELEASED; urgency=low
 
   [ Raphaël Hertzog ]
   * Fail properly when debian/source/format is empty. Closes: #600854
+  * Add new deb-src-control(5) manual page documenting the debian/control
+file contained in source packages.
+- it documents the X[SBC]- prefix. Closes: #476335
+- it documents the VCS-* fields too. Closes: #483119
+Thanks to Oxan van Leeuwen  who wrote it
+as part of the Google Code In program.
 
   [ Updated programs translations ]
   * Swedish (Peter Krefting).




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#476335: marked as pending

2010-11-24 Thread Raphaël Hertzog
tag 476335 pending
thanks

Hello,

Bug #476335 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=93bba14

---
commit 93bba14d3659578f19b5273dea2142d09a150a19
Author: Oxan van Leeuwen 
Date:   Wed Nov 24 21:05:30 2010 +0100

New manual page deb-src-control(5) documenting debian/control

diff --git a/debian/changelog b/debian/changelog
index e14a0f0..748e76e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,12 @@ dpkg (1.16.0) UNRELEASED; urgency=low
 
   [ Raphaël Hertzog ]
   * Fail properly when debian/source/format is empty. Closes: #600854
+  * Add new deb-src-control(5) manual page documenting the debian/control
+file contained in source packages.
+- it documents the X[SBC]- prefix. Closes: #476335
+- it documents the VCS-* fields too. Closes: #483119
+Thanks to Oxan van Leeuwen  who wrote it
+as part of the Google Code In program.
 
   [ Updated programs translations ]
   * Swedish (Peter Krefting).




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#600854: marked as pending

2010-10-31 Thread Raphaël Hertzog
tag 600854 pending
thanks

Hello,

Bug #600854 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=fb82cae

---
commit fb82caee40a3b71d5a37735561398a086cc47fdf
Author: Raphaël Hertzog 
Date:   Sun Oct 31 11:09:37 2010 +0100

dpkg-source: fail properly when debian/source/format is empty

Reported-by: Eduard Bloch 

diff --git a/debian/changelog b/debian/changelog
index f156a95..5b4c7ac 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ dpkg (1.16.0) UNRELEASED; urgency=low
   [ Guillem Jover ]
   * Fix realloc usage on compat scandir() implementation.
 
+  [ Raphaël Hertzog ]
+  * Fail properly when debian/source/format is empty. Closes: #600854
+
   [ Updated programs translations ]
   * Swedish (Peter Krefting).
 




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#597651: marked as pending

2010-10-03 Thread Raphaël Hertzog
tag 597651 pending
thanks

Hello,

Bug #597651 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=f97da90

---
commit f97da90b79717f8382ab20183b304a9be3f56c9f
Author: James Vega 
Date:   Tue Sep 21 16:47:04 2010 -0400

Dpkg::Version: Handle versions without a version component like dpkg.

Signed-off-by: James Vega 
Signed-off-by: Raphaël Hertzog 

diff --git a/debian/changelog b/debian/changelog
index c37de14..f4140cc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,9 @@ dpkg (1.15.8.6) UNRELEASED; urgency=low
   * Ensure debian/source/local-options is always excluded from the source
 package even if the user provides customized -i or -I options.
 Closes: #597023
+  * Fix Dpkg::Version's handling of version with a debian revision but an
+empty version (e.g. "-0.1"). Thanks to James Vega 
+for the patch. Closes: #597651
 
   [ Updated man page translations ]
   * French (Christian Perrier).




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#597023: marked as pending

2010-09-18 Thread Raphaël Hertzog
tag 597023 pending
thanks

Hello,

Bug #597023 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=2290a12

---
commit 2290a1248af081c6df98805295d921e919624356
Author: Raphaël Hertzog 
Date:   Sat Sep 18 22:40:00 2010 +0200

dpkg-source: ensure debian/source/local-options is always excluded

It should be excluded even if the user provides -I or -i options to
override the lists of files to ignore.

Reported-by: Robert Luberda 

diff --git a/debian/changelog b/debian/changelog
index 5b7b0f0..f89ec5d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,10 @@
 dpkg (1.15.8.6) UNRELEASED; urgency=low
 
+  [ Raphaël Hertzog ]
+  * Ensure debian/source/local-options is always excluded from the source
+package even if the user provides customized -i or -I options.
+Closes: #597023
+
   [ Updated man page translations ]
   * French (Christian Perrier).
   * Spanish (Omar Campagne). Closes: #596519




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#597340: dpkg-gencontrol: implicit substvar at the end of every field

2010-09-18 Thread Raphaël Hertzog
Package: dpkg-dev
Version: 1.15.8.5
Severity: wishlist

Every time that debhelper needs to adjust a dependency it provides a new
substvar and the maintainer needs to put it in the right field. I was
thinking that we could avoid the second half if some specific substvars
was added at the end of every field.

dpkg-gencontrol could be modified to always append the value of
${implicit:} at the end of the corresponding field. Maybe
we should even support multiple substvars (say
${implicit::}) so that there's no coordination problem
if multiple tools want to add something at the end of the same field.

This would even make it possible for debhelper to add dependencies that
are not at all present in debian/control, like for example Breaks... this
would have been handy for example when several dh_* tools have stopped
doing their work on the assumption that the triggerized version of
the postinst snippet was available on the system. With a break, it could
ensure that the relevant package had been upgraded...

With such a system, the ${misc:Depends} that we are currently adding
everywhere would not have been needed.

CCing -devel and Joey Hess to have some input on this idea. Do you think
it would be useful ? Do you have comments and suggestions ?

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer ◈ [Flattr=20693]

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
  ▶ http://RaphaelHertzog.fr (Français)




--
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#596417: marked as pending

2010-09-11 Thread Raphaël Hertzog
tag 596417 pending
thanks

Hello,

Bug #596417 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=4d6c430

---
commit 4d6c43090715ea4ed74b376bdc7bff73faaa569a
Author: Raphaël Hertzog 
Date:   Sat Sep 11 10:13:53 2010 +0200

Update dpkg's Breaks dependency to include dpkg-dev (<< 1.15.8)

It ensures that older versions of dpkg-dev that did not depend on
libdpkg-perl must be upgraded together with dpkg.

Reported-by: Lionel Elie Mamane 

diff --git a/debian/changelog b/debian/changelog
index ba04518..318e67e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,9 @@ dpkg (1.15.8.5) UNRELEASED; urgency=low
 tarballs. Upstream binary files modified by the packager were not properly
 installed due to this. Thanks to James Westby for the report.
 Closes: #594440
+  * Make dpkg Breaks: dpkg-dev (<< 1.15.8) so that older versions of dpkg-dev
+that did not depend on libdpkg-perl must be upgraded together with dpkg.
+Closes: #596417
 
   [ Helge Kreutzmann ]
   * Fix encoding of German addendum. Closes: #595643




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#594440: marked as pending

2010-09-05 Thread Raphaël Hertzog
tag 594440 pending
thanks

Hello,

Bug #594440 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=4d2b04f

---
commit 4d2b04f3e62d02a223e12eea1947fde1e3695334
Author: Raphaël Hertzog 
Date:   Sun Sep 5 09:43:32 2010 +0200

dpkg-source: drop -k parameter from the tar command line used to extract 
tarballs

dpkg-source only extracts tarballs in directories that it has created
itself, there's no risk of overwriting any user files. Furthermore in
the few cases where we do extract a tarball on a non-empty directory,
we really want to be able to overwrite files already present. That's the
case with a debian.tar.gz file.

Reported-by: James Westby 

diff --git a/debian/changelog b/debian/changelog
index b78d7ee..bb7627f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,10 @@ dpkg (1.15.8.5) UNRELEASED; urgency=low
   [ Raphaël Hertzog ]
   * Fix dpkg-genchanges to not split the short description in the middle of a
 UTF8 character. Closes: #593442
+  * 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. Thanks to James Westby for the report.
+Closes: #594440
 
   [ Updated programs translations ]
   * French (Christian Perrier).




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#594167: marked as pending

2010-08-31 Thread Raphaël Hertzog
tag 594167 pending
thanks

Hello,

Bug #594167 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=8292cba

---
commit 8292cbac06d3c335bcde52542db20384c8fedd5d
Author: Raphaël Hertzog 
Date:   Tue Aug 31 17:17:00 2010 +0200

Add missing bug closure.

diff --git a/debian/changelog b/debian/changelog
index f24b2c4..2bd73f5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ dpkg (1.15.8.5) UNRELEASED; urgency=low
   * 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.
+Closes: #594167
   * Improve git format documentation in dpkg-source(1).
 Thanks to Joey Hess, based on a patch by Tanguy Ortolo.
   * Clarify effect of “dpkg --purge” on homedir files in dpkg(1).




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#593442: marked as pending

2010-08-21 Thread Raphaël Hertzog
tag 593442 pending
thanks

Hello,

Bug #593442 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=f42344b

---
commit f42344b5fb3fda487eb1b7583bd1bd2ec84f2334
Author: Raphaël Hertzog 
Date:   Sat Aug 21 16:28:03 2010 +0200

dpkg-genchanges: correctly truncate descriptions with multibyte characters

Ensure the scalar used to truncate the description is character-based
and not byte-based. But switch it back to a byte-based scalar afterwards
to avoid bad-conversion to latin1 when output in a filehandle without
any explicit encodind.

This should really be fixed in Dpkg::Control but that would be an invasive
change at this point of the squeeze release.

Reported-by: Colin Watson 

diff --git a/debian/changelog b/debian/changelog
index ae724cf..f95a2ed 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,10 @@ dpkg (1.15.8.5) UNRELEASED; urgency=low
   * Clarify effect of “dpkg --purge” on homedir files in dpkg(1).
 Thanks to The Fungi . Closes: #593628
 
+  [ Raphaël Hertzog ]
+  * Fix dpkg-genchanges to not split the short description in the middle of a
+UTF8 character. Closes: #593442
+
   [ Updated programs translations ]
   * Italian (Milo Casagrande). Closes: #592953
 




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#591522: marked as pending

2010-08-11 Thread Raphaël Hertzog
tag 591522 pending
thanks

Hello,

Bug #591522 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=d9af569

---
commit d9af5690390429e6c5bc9c8a2c46ba19cedf21bc
Author: Raphaël Hertzog 
Date:   Wed Aug 11 22:17:39 2010 +0200

Dpkg::Shlibs::Objdump::get_format() fallback to host objdump if cross one 
failed

In many cases the cross objdump is not able to analyze the binaries from
the build host and yet dpkg-shlibdeps need to be able to verify that
the various binaries use the same ELF format. To achieve this get_format()
is enhanced to fallback on the objdump command when the cross one failed.

diff --git a/debian/changelog b/debian/changelog
index 86828ef..8dc6a24 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ dpkg (1.15.8.4) UNRELEASED; urgency=low
   [ Raphaël Hertzog ]
   * Fix make -C man install so that it actually finds the manual pages
 to install. Closes: #591588
+  * When analyzing the ELF format of a binary in dpkg-shlibdeps, fallback on
+usual objdump when the cross objdump failed. Closes: #591522
 
  -- Guillem Jover   Thu, 05 Aug 2010 17:42:51 +0200
 




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#591588: marked as pending

2010-08-11 Thread Raphaël Hertzog
tag 591588 pending
thanks

Hello,

Bug #591588 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=4be28d9

---
commit 4be28d99de2c8fe27c6c16bc9c114f7cef550f79
Author: Raphaël Hertzog 
Date:   Wed Aug 11 15:50:56 2010 +0200

Fix install target in man/Makefile.am

Commit 39c6dab89bbea9fe336f869b65e33102ba238205 introduced a regression:
make install during a package build in a tree generated by make dist would
no longer install the manual page... because they are already built and
available in $(srcdir) while $(CURDIR) was ok for the case where the
manual pages are not pre-built.

No we try both paths and pick the first one that exists.

diff --git a/debian/changelog b/debian/changelog
index 6a748fc..86828ef 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,13 @@
 dpkg (1.15.8.4) UNRELEASED; urgency=low
 
+  [ Guillem Jover ]
   * Fix use after free segfault on update-alternatives --remove-all.
 Closes: #591653, #591654
 
+  [ Raphaël Hertzog ]
+  * Fix make -C man install so that it actually finds the manual pages
+to install. Closes: #591588
+
  -- Guillem Jover   Thu, 05 Aug 2010 17:42:51 +0200
 
 dpkg (1.15.8.3) unstable; urgency=low




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#591182: marked as pending

2010-08-01 Thread Raphaël Hertzog
tag 591182 pending
thanks

Hello,

Bug #591182 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=9036687

---
commit 9036687a8cbd87ce319df56dd362bb2adae96fc4
Author: Jonathan Nieder 
Date:   Sun Aug 1 08:59:47 2010 +0200

Fix dpkg-divert test suite to cope with + in the build directory name

The directory name was not properly escaped in regular expressions
and lead to test failures when it contained + or other characters with
special meanings in regular expressions.

Signed-off-by: Raphaël Hertzog 

diff --git a/debian/changelog b/debian/changelog
index 0dcc00e..dae537a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+dpkg (1.15.8.3) UNRELEASED; urgency=low
+
+  * Fix dpkg-divert test suite to cope with + and other special characters for
+regexps in the build directory name. Thanks to Jonathan Nieder for the
+patch and to Phil Kern for the report. Closes: #591182
+
+ -- Raphaël Hertzog   Sun, 01 Aug 2010 08:54:39 +0200
+
 dpkg (1.15.8.2) unstable; urgency=low
 
   * Bump libdpkg-perl Depends on dpkg to 1.15.8, as it will break dpkg




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#590854: marked as pending

2010-07-29 Thread Raphaël Hertzog
tag 590854 pending
thanks

Hello,

Bug #590854 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=867edc4

---
commit 867edc4d1736e0052143d1cd28b7dda3fd71ba45
Author: Raphaël Hertzog 
Date:   Thu Jul 29 20:36:09 2010 +0200

update-alternatives: fix off-by-one errors

alternative_sort_choices() and alternative_sort_slaves() were affected
by an off-by-one error that could result in linked lists looping over
themselves since the last element was not properly put back in the list.

diff --git a/debian/changelog b/debian/changelog
index a291980..a5dbeac 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+dpkg (1.15.8.1) UNRELEASED; urgency=low
+
+  * Fix off-by-one error in update-alternatives that lead to an infinite loop
+while writing the administrative file. Closes: #590854
+
+ -- Raphaël Hertzog   Thu, 29 Jul 2010 20:32:33 +0200
+
 dpkg (1.15.8) unstable; urgency=low
 
   [ Raphaël Hertzog ]




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#590297: marked as pending

2010-07-26 Thread Raphaël Hertzog
tag 590297 pending
thanks

Hello,

Bug #590297 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=1b9c0f6

---
commit 1b9c0f6d82cd64a3aafcdc474a2aeeefd3bd41a3
Author: Raphaël Hertzog 
Date:   Mon Jul 26 08:57:50 2010 +0200

dpkg-source: drop upstream debian directory before copying the debian one 
in place

In source formats "2.0" and "3.0 (quilt)", make sure to remove the
upstream-provided debian directory before copying the debian-provided
version of that directory in place. Closes: #590297

diff --git a/debian/changelog b/debian/changelog
index cea02a0..9a1248c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -54,6 +54,9 @@ dpkg (1.15.8) UNRELEASED; urgency=low
 Also pass --rsyncable to make source packages more rsync friendly.
   * Replace dpkg-source's tar ignore pattern "*~" with "*/*~" to avoid
 matching on the top level directory. Closes: #588265
+  * In source formats "2.0" and "3.0 (quilt)", make sure to remove the
+upstream-provided debian directory before copying the debian-provided
+version of that directory in place. Closes: #590297
 
   [ Guillem Jover ]
   * Require gettext 0.18:




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#534637: marked as pending

2010-07-25 Thread Raphaël Hertzog
tag 534637 pending
thanks

Hello,

Bug #534637 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=daf14fa

---
commit daf14faa1e7dc44ef1bd8ac71c621f1b24ca7350
Author: Raphaël Hertzog 
Date:   Sun Jul 25 18:15:29 2010 +0200

Add missing bug closure

diff --git a/debian/changelog b/debian/changelog
index 610250a..674f513 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -46,6 +46,9 @@ dpkg (1.15.8) UNRELEASED; urgency=low
   * Add --export command to dpkg-buildflags to be used in shell with eval.
   * Modify source format "3.0 (git)" to use git bundles. Thanks to Joey Hess
 for the patch.
+The usage of git bundle avoids distributing cruft. Closes: #477954
+It's no longer needed to tell which branch contains the debian packaging,
+it uses automatically the one that was used at build-time. Closes: #534637
   * Pass --no-name option to gzip to avoid encoding the timestamp in the file
 so that the result is more predictable. Closes: #587724
 Also pass --rsyncable to make source packages more rsync friendly.




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#477954: marked as pending

2010-07-25 Thread Raphaël Hertzog
tag 477954 pending
thanks

Hello,

Bug #477954 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=daf14fa

---
commit daf14faa1e7dc44ef1bd8ac71c621f1b24ca7350
Author: Raphaël Hertzog 
Date:   Sun Jul 25 18:15:29 2010 +0200

Add missing bug closure

diff --git a/debian/changelog b/debian/changelog
index 610250a..674f513 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -46,6 +46,9 @@ dpkg (1.15.8) UNRELEASED; urgency=low
   * Add --export command to dpkg-buildflags to be used in shell with eval.
   * Modify source format "3.0 (git)" to use git bundles. Thanks to Joey Hess
 for the patch.
+The usage of git bundle avoids distributing cruft. Closes: #477954
+It's no longer needed to tell which branch contains the debian packaging,
+it uses automatically the one that was used at build-time. Closes: #534637
   * Pass --no-name option to gzip to avoid encoding the timestamp in the file
 so that the result is more predictable. Closes: #587724
 Also pass --rsyncable to make source packages more rsync friendly.




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#588265: marked as pending

2010-07-25 Thread Raphaël Hertzog
tag 588265 pending
thanks

Hello,

Bug #588265 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=a2e3d77

---
commit a2e3d77e982e343d09231921287bda89aff592b2
Author: Raphaël Hertzog 
Date:   Sun Jul 25 17:25:56 2010 +0200

dpkg-source: replace tar ignore pattern *~ with */*~

With this change, it can't match the top-level directory anymore
and the source package directory can again end with a tilde without
creating problems.

diff --git a/debian/changelog b/debian/changelog
index c4f5330..610250a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -49,6 +49,8 @@ dpkg (1.15.8) UNRELEASED; urgency=low
   * Pass --no-name option to gzip to avoid encoding the timestamp in the file
 so that the result is more predictable. Closes: #587724
 Also pass --rsyncable to make source packages more rsync friendly.
+  * Replace dpkg-source's tar ignore pattern "*~" with "*/*~" to avoid
+matching on the top level directory. Closes: #588265
 
   [ Guillem Jover ]
   * Require gettext 0.18:




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#587724: marked as pending

2010-07-25 Thread Raphaël Hertzog
tag 587724 pending
thanks

Hello,

Bug #587724 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=eadd7d2

---
commit eadd7d2376ef54b30cce26b336092c85ca406b3b
Author: Raphaël Hertzog 
Date:   Sun Jul 25 17:12:50 2010 +0200

Dpkg::Compression: add --no-name and --rsyncable options to the gzip call

Pass --no-name option to gzip to avoid encoding the timestamp in the file
so that the result is more predictable. Also pass --rsyncable to make
source packages more rsync friendly.

diff --git a/debian/changelog b/debian/changelog
index def5131..c4f5330 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -46,6 +46,9 @@ dpkg (1.15.8) UNRELEASED; urgency=low
   * Add --export command to dpkg-buildflags to be used in shell with eval.
   * Modify source format "3.0 (git)" to use git bundles. Thanks to Joey Hess
 for the patch.
+  * Pass --no-name option to gzip to avoid encoding the timestamp in the file
+so that the result is more predictable. Closes: #587724
+Also pass --rsyncable to make source packages more rsync friendly.
 
   [ Guillem Jover ]
   * Require gettext 0.18:




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#587382: marked as pending

2010-06-28 Thread Raphaël Hertzog
tag 587382 pending
thanks

Hello,

Bug #587382 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=2d7f749

---
commit 2d7f7493c581f413a0586ba5a790f2306bcd655d
Author: Raphaël Hertzog 
Date:   Mon Jun 28 08:45:01 2010 +0200

Dpkg::Changelog: fixed to cope properly with an entry of version "0"

The change of the boolean evaluation of Dpkg::Version introduced in
5b9f353b2940de751df47036608afbe71992d622 broke Dpkg::Changelog's ability
to correctly export an entry with a version of "0".

Add a non-regression test for this.

diff --git a/debian/changelog b/debian/changelog
index 0bf4d10..ff780b7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -41,6 +41,8 @@ dpkg (1.15.8) UNRELEASED; urgency=low
 upstream source code. Closes: #579012
   * dpkg-source now captures the output of patch and prints it on error so
 that the user can better diagnose what went wrong. Closes: #575304
+  * Fix Dpkg::Changelog to cope properly with an entry of version "0".
+Add non-regression test for this. Closes: #587382
 
   [ Guillem Jover ]
   * Require gettext 0.18:




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#575304: marked as pending

2010-06-11 Thread Raphaël Hertzog
tag 575304 pending
thanks

Hello,

Bug #575304 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=17f0040

---
commit 17f00407a80f7da3eef6491dc7105d992fccf98c
Author: Raphaël Hertzog 
Date:   Fri Jun 11 09:35:30 2010 +0200

Dpkg::Source::Patch: capture output of patch and print it on error

patch is now run without its -s flag and thus outputs the usual messages
about which file it's patching and gives more verbose error messages.
Those messages are captured and only displayed to the user when the
patch application failed.

diff --git a/debian/changelog b/debian/changelog
index 30a82ad..2b3cd2d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -39,6 +39,8 @@ dpkg (1.15.8) UNRELEASED; urgency=low
 source formats 1.0, 2.0 and 3.0 (quilt). It aborts every time that you try
 to build a source package which contains (unmanaged) changes to the
 upstream source code. Closes: #579012
+  * dpkg-source now captures the output of patch and prints it on error so
+that the user can better diagnose what went wrong. Closes: #575304
 
   [ Guillem Jover ]
   * Require gettext 0.18:




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#579012: marked as pending

2010-06-10 Thread Raphaël Hertzog
tag 579012 pending
thanks

Hello,

Bug #579012 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=f86ff41

---
commit f86ff41434db0a663179cce1703dd1bc2269d094
Author: Raphaël Hertzog 
Date:   Thu Jun 10 20:28:16 2010 +0200

dpkg-source: new option --abort-on-upstream-changes

This option can be used with source formats 1.0, 2.0 and 3.0 (quilt). It
aborts every time that you try to build a source package which
contains (unmanaged) changes to the upstream source code.

diff --git a/debian/changelog b/debian/changelog
index 811b87c..30a82ad 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -35,6 +35,10 @@ dpkg (1.15.8) UNRELEASED; urgency=low
 2.0 and 3.0 (quilt) that unapplies the patches after a successful build.
 This option can be put in debian/source/local-options in the package VCS
 repository for instance.
+  * Implement new --abort-on-upstream-changes option for dpkg-source with
+source formats 1.0, 2.0 and 3.0 (quilt). It aborts every time that you try
+to build a source package which contains (unmanaged) changes to the
+upstream source code. Closes: #579012
 
   [ Guillem Jover ]
   * Require gettext 0.18:




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#583656: marked as pending

2010-06-02 Thread Raphaël Hertzog
tag 583656 pending
thanks

Hello,

Bug #583656 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=eef3b6e

---
commit eef3b6eb7dbe749a747f2a609d16d4e90ff802be
Author: Raphaël Hertzog 
Date:   Wed Jun 2 23:01:13 2010 +0200

dpkg-gensymbols: fix handling of tags

A bad check resulted in some tags being considered different when they
were really equal.

Reported-by: Michael Tautschnig 

diff --git a/debian/changelog b/debian/changelog
index 16ddb25..87f6735 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,6 +26,8 @@ dpkg (1.15.8) UNRELEASED; urgency=low
 implemented at the time the file became obsolete. Closes: #582893
   * Enhance dpkg-maintscript-helper rm_conffile and mv_conffile to work
 properly when  is not given (or is empty). Closes: #582819
+  * Small fix in dpkg-gensymbols' handling of tags. Closes: #583656
+Thanks to Michael Tautschnig  for the report and the fix.
 
   [ Guillem Jover ]
   * Require gettext 0.18:




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#582893: marked as pending

2010-05-24 Thread Raphaël Hertzog
tag 582893 pending
thanks

Hello,

Bug #582893 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=bdb1192

---
commit bdb1192d752a744e08624766f0fa55a22ff37e2b
Author: Raphaël Hertzog 
Date:   Mon May 24 17:01:20 2010 +0200

dpkg-maintscript-helper: clarify meaning of lastversion for rm_conffile

Clarify that dpkg-maintscript-helper rm_conffile needs the last version of
the package that did not remove the obsolete conffile if this was not
implemented at the time the file became obsolete.

diff --git a/debian/changelog b/debian/changelog
index a08d98c..5e15a78 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,6 +21,9 @@ dpkg (1.15.8) UNRELEASED; urgency=low
 compiling. Thanks to Loïc Minier for the initial patch. Closes: #578365
   * Make dpkg-maintscript-helper more robust when required parameters are
 missing. Closes: #582814
+  * Clarify that dpkg-maintscript-helper rm_conffile needs the last version of
+the package that did not remove the obsolete conffile if this was not
+implemented at the time the file became obsolete. Closes: #582893
 
   [ Guillem Jover ]
   * Require gettext 0.18:




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#582819: marked as pending

2010-05-24 Thread Raphaël Hertzog
tag 582819 pending
thanks

Hello,

Bug #582819 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=174ea65

---
commit 174ea65d4c48c894662579465118b93fa7799271
Author: Raphaël Hertzog 
Date:   Mon May 24 19:00:16 2010 +0200

dpkg-maintscript-helper: make  optional in rm_conffile and 
mv_conffile

Enhance dpkg-maintscript-helper rm_conffile and mv_conffile to work
properly when  is not given (or is empty). This should
try the operation on every upgrade but do something only when the file to
act upon really exists.

Document this behaviour.

diff --git a/debian/changelog b/debian/changelog
index 5e15a78..16ddb25 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,8 @@ dpkg (1.15.8) UNRELEASED; urgency=low
   * Clarify that dpkg-maintscript-helper rm_conffile needs the last version of
 the package that did not remove the obsolete conffile if this was not
 implemented at the time the file became obsolete. Closes: #582893
+  * Enhance dpkg-maintscript-helper rm_conffile and mv_conffile to work
+properly when  is not given (or is empty). Closes: #582819
 
   [ Guillem Jover ]
   * Require gettext 0.18:




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#582814: marked as pending

2010-05-24 Thread Raphaël Hertzog
tag 582814 pending
thanks

Hello,

Bug #582814 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=a0b267e

---
commit a0b267ec591f1b00156b17f9ceb9a85a24ff5431
Author: Raphaël Hertzog 
Date:   Mon May 24 15:56:57 2010 +0200

dpkg-maintscript-helper: handle missing parameters properly

diff --git a/debian/changelog b/debian/changelog
index 32dbeb5..a08d98c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,8 @@ dpkg (1.15.8) UNRELEASED; urgency=low
 Closes: #582401
   * Modify Dpkg::Shlibs::Objdump to use the cross objdump binary when cross
 compiling. Thanks to Loïc Minier for the initial patch. Closes: #578365
+  * Make dpkg-maintscript-helper more robust when required parameters are
+missing. Closes: #582814
 
   [ Guillem Jover ]
   * Require gettext 0.18:




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#578365: marked as pending

2010-05-21 Thread Raphaël Hertzog
tag 578365 pending
thanks

Hello,

Bug #578365 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=452eb2f

---
commit 452eb2fba819c22764ab12c850deeeb0d3ca8d9a
Author: Raphaël Hertzog 
Date:   Fri May 21 16:30:51 2010 +0200

Dpkg::Shlibs::Objdump: use the cross objdump when cross compiling

When -objdump is available and when we're cross-compiling
let's use the cross objdump in preference over the standard objdump.

Based-on-patch-by: Loïc Minier 

diff --git a/debian/changelog b/debian/changelog
index e70fe2a..32dbeb5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,8 @@ dpkg (1.15.8) UNRELEASED; urgency=low
   * Fix the non-regression test lib/dpkg/test/t-ar.c by not overflowing the
 size of ar_name. Thanks to Colin Watson for the report, analysis and patch.
 Closes: #582401
+  * Modify Dpkg::Shlibs::Objdump to use the cross objdump binary when cross
+compiling. Thanks to Loïc Minier for the initial patch. Closes: #578365
 
   [ Guillem Jover ]
   * Require gettext 0.18:




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#582406: marked as pending

2010-05-20 Thread Raphaël Hertzog
tag 582406 pending
thanks

Hello,

Bug #582406 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=c298a63

---
commit c298a638f9dab87d59a94e4397266c701457047c
Author: Colin Watson 
Date:   Thu May 20 16:39:12 2010 +0100

dpkg(1): clarify scope of --configure

Robert Persson pointed out in
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/77287 that
describing --configure as "Reconfigure an unpacked package" is simply
wrong.  This patch clarifies its behaviour, and adds a helpful pointer
to dpkg-reconfigure(8) (there's already one in the SEE ALSO section) for
those who really want that instead.

diff --git a/debian/changelog b/debian/changelog
index 5f30cf4..ab981b9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,9 @@ dpkg (1.15.8) UNRELEASED; urgency=low
   * Fix some copy-paste mistakes in dpkg-architecture(1). Thanks to Ian Fleming
  for the patch and Colin Watson for forwarding out of
 Launchpad. Closes: #582404 LP: #564308
+  * Clarify description of dpkg --configure in dpkg(1). Thanks to Colin Watson
+for the patch and to Robert Persson for the report.
+Closes: #582406 LP: #77287
 
   [ Guillem Jover ]
   * Require gettext 0.18:




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#582404: marked as pending

2010-05-20 Thread Raphaël Hertzog
tag 582404 pending
thanks

Hello,

Bug #582404 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=395c8a0

---
commit 395c8a0acc90c8df10eb2de0b7d6db13f64ffb8a
Author: Ian Fleming 
Date:   Thu May 20 16:16:04 2010 +0100

dpkg-architecture(1): Fix typos

DEB_HOST_ARCH_BITS was listed as DEB_BUILD_ARCH_BITS;
DEB_HOST_ARCH_ENDIAN was listed as DEB_BUILD_ARCH_ENDIAN.  In the
process, adjust the ordering to match dpkg-architecture's output.
Originally reported as
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/564308.

diff --git a/debian/changelog b/debian/changelog
index 61a14ad..5f30cf4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,9 @@ dpkg (1.15.8) UNRELEASED; urgency=low
 Closes: #572526
   * Merge non-regression test for Ubuntu's specificities concerning
 changelog handling. Closes: #582389
+  * Fix some copy-paste mistakes in dpkg-architecture(1). Thanks to Ian Fleming
+ for the patch and Colin Watson for forwarding out of
+Launchpad. Closes: #582404 LP: #564308
 
   [ Guillem Jover ]
   * Require gettext 0.18:




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#582389: marked as pending

2010-05-20 Thread Raphaël Hertzog
tag 582389 pending
thanks

Hello,

Bug #582389 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=2d4fd62

---
commit 2d4fd627d4286dc42006fb486040209d4e021b9f
Author: Colin Watson 
Date:   Thu May 20 13:49:06 2010 +0100

Add tests for Ubuntu changelog parsing

Ubuntu's changelog parsing is nearly identical to Debian's, but may emit
an additional Launchpad-Bugs-Fixed header. Test that changelogs
matching the appropriate regex are parsed correctly both for Debian and
Ubuntu.

To do this, we take copies of the standard origin files and add an
internal mechanism allowing Dpkg::Vendor to be pointed at them; and we
run 600_Dpkg_Changelog.t a second time with DEB_VENDOR set, to avoid
duplicating lots of code. See the discussion in #536066 for background.

diff --git a/debian/changelog b/debian/changelog
index 0fe4ddb..61a14ad 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ dpkg (1.15.8) UNRELEASED; urgency=low
 start and at the end of the process. With "3.0 (quilt)" source packages
 this ensures patches are applied even in case of binary-only builds.
 Closes: #572526
+  * Merge non-regression test for Ubuntu's specificities concerning
+changelog handling. Closes: #582389
 
   [ Guillem Jover ]
   * Require gettext 0.18:




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#582401: marked as pending

2010-05-20 Thread Raphaël Hertzog
tag 582401 pending
thanks

Hello,

Bug #582401 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=db0b70b

---
commit db0b70bc26ec6f81242e4c34ae30cae81af8d3d1
Author: Colin Watson 
Date:   Thu May 20 15:38:41 2010 +0100

lib/dpkg/test/t-ar.c: fix buffer overflow in ar test

t-ar overflows arh.ar_name by two bytes: one because the string it uses
is 17 bytes long rather than 16, and one because it uses strcpy which
writes a trailing \0.  When compiling with -D_FORTIFY_SOURCE=2, as
Ubuntu does by default, this crashes.  Fix the string length and stop
null-terminating it.

diff --git a/debian/changelog b/debian/changelog
index ab981b9..e70fe2a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,9 @@ dpkg (1.15.8) UNRELEASED; urgency=low
   * Clarify description of dpkg --configure in dpkg(1). Thanks to Colin Watson
 for the patch and to Robert Persson for the report.
 Closes: #582406 LP: #77287
+  * Fix the non-regression test lib/dpkg/test/t-ar.c by not overflowing the
+size of ar_name. Thanks to Colin Watson for the report, analysis and patch.
+Closes: #582401
 
   [ Guillem Jover ]
   * Require gettext 0.18:




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#581315: marked as pending

2010-05-17 Thread Raphaël Hertzog
tag 581315 pending
thanks

Hello,

Bug #581315 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=85a55d8

---
commit 85a55d82432b8e035a7175f33b6e8c27366b9983
Author: Gerfried Fuchs 
Date:   Mon May 17 13:56:47 2010 +0200

dpkg-name: fix syntax error

There was a missing closing bracket.

Regression introduced in 716362c59e531883304a211afa61660608c214b3.

Signed-off-by: Raphaël Hertzog 

diff --git a/debian/changelog b/debian/changelog
index 6030a0a..c37f3c5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -31,6 +31,9 @@ dpkg (1.15.7.2) UNRELEASED; urgency=low
   * Fix dpkg --root by properly stripping again the root directory from the
 path of the maintainer script to execute. Closes: #580984
 
+  [ Gerfried Fuchs ]
+  * Fix syntax error in dpkg-name. Closes: #581315
+
  -- Raphaël Hertzog   Fri, 23 Apr 2010 18:17:14 +0200
 
 dpkg (1.15.7.1) unstable; urgency=low




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#580774: marked as pending

2010-05-08 Thread Raphaël Hertzog
tag 580774 pending
thanks

Hello,

Bug #580774 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=ad555da

---
commit ad555da6f1f5d9b7294dd854c21b7631dce02a7f
Author: Raphaël Hertzog 
Date:   Sat May 8 21:45:24 2010 +0200

dpkg-trigger(1), deb-triggers(5): update reference to triggers.txt.gz

The file has been moved in dpkg-dev, fix the location.

diff --git a/debian/changelog b/debian/changelog
index f41aeba..54f1dc1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,8 @@ dpkg (1.15.7.2) UNRELEASED; urgency=low
 to place the packages on the mirrors and by indicating that the Debian
 policy offers a list of allowed values for section and priority.
 Closes: #575410
+  * Update reference to triggers.txt.gz in dpkg-trigger(1) and deb-triggers(5)
+to match the new location. Closes: #580774
 
   [ Guillem Jover ]
   * Add powerpcspe support to ostable and triplettable.




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#575410: marked as pending

2010-05-02 Thread Raphaël Hertzog
tag 575410 pending
thanks

Hello,

Bug #575410 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=702f546

---
commit 702f546b2c6d4229ad81a29024ae32fdd7c796b3
Author: Raphaël Hertzog 
Date:   Sun May 2 22:06:21 2010 +0200

deb-override(5): updated to match current situation

Remove references to usage of sections to place the packages on the
mirrors (they are all in the pool nowadays and no longer in
dists///binary-//). Indicate that the
Debian policy offers a list of allowed values for section and priority.

diff --git a/debian/changelog b/debian/changelog
index baa0e99..f41aeba 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,10 @@ dpkg (1.15.7.2) UNRELEASED; urgency=low
   * Add Bug-Ubuntu field in DEP-3 template provided in the automatic header
 of patches in 3.0 (quilt) source packages. Thanks to Benjamin Drung
  for the patch. Closes: #578002
+  * Update deb-override(5) by removing references to usage of sections
+to place the packages on the mirrors and by indicating that the Debian
+policy offers a list of allowed values for section and priority.
+Closes: #575410
 
   [ Guillem Jover ]
   * Add powerpcspe support to ostable and triplettable.




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#572526: marked as pending

2010-05-02 Thread Raphaël Hertzog
tag 572526 pending
thanks

Hello,

Bug #572526 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=9bbdfec

---
commit 9bbdfecf723a3da416e671dcbf1af9cc4b37a541
Author: Raphaël Hertzog 
Date:   Sun May 2 21:34:35 2010 +0200

dpkg-buildpackage: add calls to dpkg-source --before-build and --after-build

diff --git a/debian/changelog b/debian/changelog
index 7e01150..472e4bf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,12 @@
 dpkg (1.15.8) UNRELEASED; urgency=low
 
+  [ Raphaël Hertzog ]
+  * Add new commands --before-build and --after-build to dpkg-source
+and modify dpkg-buildpackage to call them automatically at the
+start and at the end of the process. With "3.0 (quilt)" source packages
+this ensures patches are applied even in case of binary-only builds.
+Closes: #572526
+
   [ Updated programs translations ]
   * Russian (Yuri Kozlov). Closes: #579149
 




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#578002: marked as pending

2010-05-01 Thread Raphaël Hertzog
tag 578002 pending
thanks

Hello,

Bug #578002 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=564ea47

---
commit 564ea47f30cc129ae12109593744b4e9ff14cbdb
Author: Raphaël Hertzog 
Date:   Sat May 1 16:48:57 2010 +0200

dpkg-source: add Bug-Ubuntu field in DEP-3 template

The DEP-3 template is provided in the automatic header of patches in 3.0
(quilt) source packages.

diff --git a/debian/changelog b/debian/changelog
index eece935..baa0e99 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,9 @@ dpkg (1.15.7.2) UNRELEASED; urgency=low
 it's kept.
   * Let dpkg-buildflags error out when a required parameter is missing.
 Closes: #579722
+  * Add Bug-Ubuntu field in DEP-3 template provided in the automatic header
+of patches in 3.0 (quilt) source packages. Thanks to Benjamin Drung
+ for the patch. Closes: #578002
 
   [ Guillem Jover ]
   * Add powerpcspe support to ostable and triplettable.




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#579722: marked as pending

2010-04-30 Thread Raphaël Hertzog
tag 579722 pending
thanks

Hello,

Bug #579722 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=fea5c2d

---
commit fea5c2d980758c60bb13a85f18738f7e64679d77
Author: Raphaël Hertzog 
Date:   Fri Apr 30 21:03:06 2010 +0200

dpkg-buildflags: error out when a required parameter is missing

diff --git a/debian/changelog b/debian/changelog
index c52bdf7..eece935 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,8 @@ dpkg (1.15.7.2) UNRELEASED; urgency=low
 Closes: #579724
 Document this behaviour in the API and add non-regression test to ensure
 it's kept.
+  * Let dpkg-buildflags error out when a required parameter is missing.
+Closes: #579722
 
   [ Guillem Jover ]
   * Add powerpcspe support to ostable and triplettable.




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#579724: marked as pending

2010-04-30 Thread Raphaël Hertzog
tag 579724 pending
thanks

Hello,

Bug #579724 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=5b9f353

---
commit 5b9f353b2940de751df47036608afbe71992d622
Author: Raphaël Hertzog 
Date:   Fri Apr 30 20:56:14 2010 +0200

Dpkg::Version: fix boolean evaluation of the object

In a boolean context, the object evaluates like the version string if
the version is valid, otherwise it evaluates like undef. Document
this behaviour and add non-regression test to ensure it's kept.

This implicitly fix dpkg-shlibdeps who relies on the boolean evaluation
of the object to decide whether or not a minimal version specification
is needed or not.

diff --git a/debian/changelog b/debian/changelog
index f2e4450..c52bdf7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,11 @@ dpkg (1.15.7.2) UNRELEASED; urgency=low
 $XDG_CONFIG_HOME/dpkg/buildflags.conf by default.
   * Update deb-substvars(5) to codify how variables containing multiple
 lines must be managed.
+  * Fix boolean evaluation of Dpkg::Version so that version 0 evaluates to
+false and dpkg-shlibdeps can strip the minimal version specification.
+Closes: #579724
+Document this behaviour in the API and add non-regression test to ensure
+it's kept.
 
   [ Guillem Jover ]
   * Add powerpcspe support to ostable and triplettable.




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#578693: marked as pending

2010-04-21 Thread Raphaël Hertzog
tag 578693 pending
thanks

Hello,

Bug #578693 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=28d116f

---
commit 28d116f4eadc4cf3a49b974d64df19458f6d34ac
Author: Raphaël Hertzog 
Date:   Thu Apr 22 07:54:30 2010 +0200

dpkg-source: fix ignore regexp for source format 1.0 when -i is not used

The variable is defined by default but empty and the check was wrong
leading all files to be ignored.

diff --git a/debian/changelog b/debian/changelog
index 0e7e12d..c768edd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+dpkg (1.15.7.1) UNRELEASED; urgency=low
+
+  * Fix dpkg-source -b (without -i) for source packages 1.0. Closes: #578693
+It was erroneously ignoring all changes because the ignore regex was
+wrong (due to the change to ignore debian/source/local-options).
+
+ -- Raphaël Hertzog   Thu, 22 Apr 2010 07:50:04 +0200
+
 dpkg (1.15.7) unstable; urgency=low
 
   [ Raphaël Hertzog ]




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#578162: marked as pending

2010-04-17 Thread Raphaël Hertzog
tag 578162 pending
thanks

Hello,

Bug #578162 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=6a8c820

---
commit 6a8c82075692eb8545dbac4aba0fcace41f4b3d9
Author: Raphaël Hertzog 
Date:   Sat Apr 17 19:46:49 2010 +0200

dpkg-scansources: call the right function when -e is used

diff --git a/debian/changelog b/debian/changelog
index 30440e6..b0248ff 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -41,6 +41,8 @@ dpkg (1.15.6.2) UNRELEASED; urgency=low
 maintainer scripts to perform common operations working around
 current dpkg limitations: first version supports removing obsolete
 conffiles and renaming conffiles. Closes: #514316
+  * Fix "dpkg-scansources -e", it was calling a non-existing function.
+Closes: #578162
 
   [ Colin Watson ]
   * Modern tar files typically use NormalFile1 rather than NormalFile0 for




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#546577: marked as pending

2010-04-16 Thread Raphaël Hertzog
tag 546577 pending
thanks

Hello,

Bug #546577 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=246cf59

---
commit 246cf59f8cb555bdaddd36e01d4b57a5e5ac3c7f
Author: Raphaël Hertzog 
Date:   Mon Apr 12 12:06:01 2010 +0200

dpkg: export DPKG_MAINTSCRIPT_NAME to tell what kind of script we're running

The idea is that specialized hooks can benefit from this information to
do the right thing. The same call would be put in the various maintainer
scripts but the actions taken would be different depending on the script
nevertheless.

diff --git a/debian/changelog b/debian/changelog
index 08abe03..4e22316 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -31,6 +31,9 @@ dpkg (1.15.6.2) UNRELEASED; urgency=low
 This is a temporary work-around so that dselect doesn't try to reinstall
 packages of priority > standard that were removed or not installed. Thanks
 to Robert Luderda for the patch. Closes: #559519, #556889
+  * dpkg now exports DPKG_MAINTSCRIPT_NAME to maintainer scripts with the
+type of maintainer script currently running (preinst, postinst, prerm,
+postrm). Closes: #546577
 
   [ Colin Watson ]
   * Modern tar files typically use NormalFile1 rather than NormalFile0 for




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#514316: marked as pending

2010-04-16 Thread Raphaël Hertzog
tag 514316 pending
thanks

Hello,

Bug #514316 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=20f33fd

---
commit 20f33fd89e06a214c861733c2cc28754eda58bfa
Author: Raphaël Hertzog 
Date:   Mon Apr 12 12:32:18 2010 +0200

maintscript-helper: new program to simplify some maintainer scripts

This program is designed to be run within maintainer scripts to achieve
some tasks that dpkg can't (yet) handle natively either because of design
decisions or due to current limitations.

Many of those tasks require coordinated actions from several maintainer
scripts (preinst, postinst, prerm, postrm). To avoid mistakes the same
call simply needs to be put in all scripts and the program will 
automatically
adapt its behaviour based on the environment variable DPKG_MAINTSCRIPT_NAME
and on the maintainer scripts arguments that you have to forward after
a double dash.

diff --git a/debian/changelog b/debian/changelog
index 06757d7..30440e6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -37,6 +37,10 @@ dpkg (1.15.6.2) UNRELEASED; urgency=low
   * dpkg now exports DPKG_LIBDIR to maintainer scripts pointing to the
 private directory containing internal programs like the upcoming
 maintscript-helper.
+  * Add $DPKG_LIBDIR/maintscript-helper program that can be used in
+maintainer scripts to perform common operations working around
+current dpkg limitations: first version supports removing obsolete
+conffiles and renaming conffiles. Closes: #514316
 
   [ Colin Watson ]
   * Modern tar files typically use NormalFile1 rather than NormalFile0 for




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#559519: marked as pending

2010-04-15 Thread Raphaël Hertzog
tag 559519 pending
thanks

Hello,

Bug #559519 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=29fe363

---
commit 29fe363219625f2a411c85ce065ad47a67077797
Author: Robert Luberda 
Date:   Thu Apr 15 12:10:21 2010 +0200

dselect: treat unknown packages as known and marked for purge

This is a temporary work-around so that dselect doesn't try to
reinstall packages of priority > standard that were removed or not
installed.

The complete solution (tracked in #551638) will involve storing the
seen/not-seen information somewhere else than in the dpkg status database
and ideally in a new database shared by all frontends.

diff --git a/debian/changelog b/debian/changelog
index 4fa7752..08abe03 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -27,6 +27,10 @@ dpkg (1.15.6.2) UNRELEASED; urgency=low
 should now start using dpkg-buildflags instead. Closes: #560070
   * For Ubuntu set default value of LDFLAGS to -Wl,-Bsymbolic-functions.
   * Cleanup some old Conflicts/Replaces, thanks to Helge Kreutzmann.
+  * Modify dselect to treat all unknown package as known and marked for purge.
+This is a temporary work-around so that dselect doesn't try to reinstall
+packages of priority > standard that were removed or not installed. Thanks
+to Robert Luderda for the patch. Closes: #559519, #556889
 
   [ Colin Watson ]
   * Modern tar files typically use NormalFile1 rather than NormalFile0 for




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#556889: marked as pending

2010-04-15 Thread Raphaël Hertzog
tag 556889 pending
thanks

Hello,

Bug #556889 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=29fe363

---
commit 29fe363219625f2a411c85ce065ad47a67077797
Author: Robert Luberda 
Date:   Thu Apr 15 12:10:21 2010 +0200

dselect: treat unknown packages as known and marked for purge

This is a temporary work-around so that dselect doesn't try to
reinstall packages of priority > standard that were removed or not
installed.

The complete solution (tracked in #551638) will involve storing the
seen/not-seen information somewhere else than in the dpkg status database
and ideally in a new database shared by all frontends.

diff --git a/debian/changelog b/debian/changelog
index 4fa7752..08abe03 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -27,6 +27,10 @@ dpkg (1.15.6.2) UNRELEASED; urgency=low
 should now start using dpkg-buildflags instead. Closes: #560070
   * For Ubuntu set default value of LDFLAGS to -Wl,-Bsymbolic-functions.
   * Cleanup some old Conflicts/Replaces, thanks to Helge Kreutzmann.
+  * Modify dselect to treat all unknown package as known and marked for purge.
+This is a temporary work-around so that dselect doesn't try to reinstall
+packages of priority > standard that were removed or not installed. Thanks
+to Robert Luderda for the patch. Closes: #559519, #556889
 
   [ Colin Watson ]
   * Modern tar files typically use NormalFile1 rather than NormalFile0 for




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#577756: marked as pending

2010-04-14 Thread Raphaël Hertzog
tag 577756 pending
thanks

Hello,

Bug #577756 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=3927a9d

---
commit 3927a9d6e64297330b61a38755bee20d45c7b166
Author: Colin Watson 
Date:   Wed Apr 14 10:00:18 2010 +0100

dpkg: fix rename deferral

Modern tar files typically use NormalFile1 rather than NormalFile0 for
file objects.  A typo meant that the former never triggered rename
deferral.

diff --git a/debian/changelog b/debian/changelog
index 3c14cc8..ab6ce47 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -27,6 +27,11 @@ dpkg (1.15.6.2) UNRELEASED; urgency=low
 should now start using dpkg-buildflags instead. Closes: #560070
   * For Ubuntu set default value of LDFLAGS to -Wl,-Bsymbolic-functions.
 
+  [ Colin Watson ]
+  * Modern tar files typically use NormalFile1 rather than NormalFile0 for
+file objects. A typo meant that the former never triggered rename
+deferral. Closes: #577756
+
   [ Updated dpkg translations ]
   * German (Sven Joachim).
 




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#560070: marked as pending

2010-04-11 Thread Raphaël Hertzog
tag 560070 pending
thanks

Hello,

Bug #560070 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=9dc0466

---
commit 9dc0466a5e300dde0cf23a77aaa609b05b628242
Author: Raphaël Hertzog 
Date:   Fri Apr 9 17:46:15 2010 +0200

dpkg-buildflags: new script to retrieve compilation flags during package 
build

Forcing the value of compilation flags through environment variables set
by dpkg-buildpackages has not been very successful up to now and suffered
from the fact that calling debian/rules directly could lead to a different
build than what dpkg-buildpackage would have done.

This commit is the start of a new solution: dpkg-buildflags is a tool that
package maintainers are supposed to use in order to retrieve compilation
flags. It offers a way to control their default values at the distribution
level while still allowing customizations by users who recompile the
source packages.

diff --git a/debian/changelog b/debian/changelog
index 43a1451..0e0d0e9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,11 @@ dpkg (1.15.6.2) UNRELEASED; urgency=low
   * Tigthen the regex used by dpkg-source to match the component name of
 supplementary tarballs so that undercore (_) are not allowed as it was
 supposed to be.
+  * Introduce a new script called dpkg-buildflags: its purpose is to retrieve
+compilation flags and it should be used within debian/rules to pass
+the right compilation flags to the build process. dpkg-builpackage still
+exports them to not break packages currently relying on them but packages
+should now start using dpkg-buildflags instead. Closes: #560070
 
   [ Updated dpkg translations ]
   * German (Sven Joachim).




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



  1   2   >