Your message dated Mon, 28 Jul 2008 23:32:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#485263: fixed in openldap 2.4.10-3
has caused the Debian Bug report #485263,
regarding openldap2.3: FTBFS when converted to new source format 3.0 (quilt): 
require -p0 for some patches
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
485263: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485263
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: openldap2.3
Version: 2.4.9-1
Severity: wishlist
Usertags: 3.0-quilt-by-default

To prepare a possible switch to the new source package format "3.0
(quilt)" [1], I converted all source packages and tried to rebuild them.
Unfortunately, openldap2.3 failed, you can try yourself with those
commands (and dpkg-dev >= 1.14.19 [2]) :

$ apt-get source openldap2.3
$ sed -i -e '/^Source:/ aFormat: 3.0 (quilt)' openldap2.3-2.4.9/debian/control
$ dpkg-source -b openldap2.3-2.4.9
$ dpkg-source -x openldap2.3_2.4.9-1.dsc
$ cd openldap2.3-2.4.9 && debuild -us -uc

In this process, if the .diff.gz contains changes to upstream files,
dpkg-source will have created a corresponding patch in
debian/patches/debian-changes-2.4.9-1 and will have registered that
patch in a quilt series (debian/patches/series, it is created if needed).
All the patches listed in the "series" file are applied directly during
the extraction (dpkg-source -x). quilt itself is used if available (and
will thus lead to the creation of the .pc directory), otherwise
dpkg-source applies the patches by itself. For more information about the
new source package format see the manual page dpkg-source(1).

In the case of openldap2.3, it already uses quilt but some of the patches
require the '-p0' option of patch to be properly applied and this
option has been hardcoded in the series file. The new source package
format doesn't support this quilt feature and requires patches
to be applicable with the '-p1' option.

You can use the following command to easily update all the patches
that use the '-p0' option:
awk '{ if ($2 == "-p0") print $1 }' debian/patches/series | while read f; do 
perl -pi -e 's|^--- (?:\./)?|--- a/|; s|^\+\+\+ (?:\./)?|+++ b/|;' 
debian/patches/$f ; done

Not that you can replace "a" by "openldap2.3-2.4.9.orig" and
"b" by "openldap2.3-2.4.9" if you prefer.

Then don't forget to strip the "-p0" options from debian/patches/series.

As a side note, you must also pay attention to the following points in your
quilt usage to guarantee compatibility with the new source package
format:
- the patches must be in debian/patches/ together with the "series" file
  (you can use QUILT_PATCHES=debian/patches if needed)
- you should not override QUILT_PC to change the location of quilt's
  internal directory (".pc" by default)
- the patches should not reference absolute filenames (in +++/--- lines)
- your clean target must work even if the patches are already applied
- your build target must work with patches applied even if the clean
  target is supposed to unapply them (because dpkg-source -b might
  have applied them back)

Cheers,

[1] http://lists.debian.org/debian-devel-announce/2008/04/msg00004.html
[2] the upcoming dpkg-dev 1.14.20 is more tolerant with patches, you can
grab it here if you want to try with that version:
http://people.debian.org/~hertzog/packages/dpkg-dev_1.14.20_all.deb
-- 
Raphael Hertzog




--- End Message ---
--- Begin Message ---
Source: openldap
Source-Version: 2.4.10-3

We believe that the bug you reported is fixed in the latest version of
openldap, which is due to be installed in the Debian FTP archive:

ldap-utils_2.4.10-3_amd64.deb
  to pool/main/o/openldap/ldap-utils_2.4.10-3_amd64.deb
libldap-2.4-2-dbg_2.4.10-3_amd64.deb
  to pool/main/o/openldap/libldap-2.4-2-dbg_2.4.10-3_amd64.deb
libldap-2.4-2_2.4.10-3_amd64.deb
  to pool/main/o/openldap/libldap-2.4-2_2.4.10-3_amd64.deb
libldap2-dev_2.4.10-3_amd64.deb
  to pool/main/o/openldap/libldap2-dev_2.4.10-3_amd64.deb
openldap_2.4.10-3.diff.gz
  to pool/main/o/openldap/openldap_2.4.10-3.diff.gz
openldap_2.4.10-3.dsc
  to pool/main/o/openldap/openldap_2.4.10-3.dsc
slapd-dbg_2.4.10-3_amd64.deb
  to pool/main/o/openldap/slapd-dbg_2.4.10-3_amd64.deb
slapd_2.4.10-3_amd64.deb
  to pool/main/o/openldap/slapd_2.4.10-3_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steve Langasek <[EMAIL PROTECTED]> (supplier of updated openldap package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 28 Jul 2008 15:26:06 -0700
Source: openldap
Binary: slapd ldap-utils libldap-2.4-2 libldap-2.4-2-dbg libldap2-dev slapd-dbg
Architecture: source amd64
Version: 2.4.10-3
Distribution: unstable
Urgency: low
Maintainer: Debian OpenLDAP Maintainers <[EMAIL PROTECTED]>
Changed-By: Steve Langasek <[EMAIL PROTECTED]>
Description: 
 ldap-utils - OpenLDAP utilities
 libldap-2.4-2 - OpenLDAP libraries
 libldap-2.4-2-dbg - Debugging information for OpenLDAP libraries
 libldap2-dev - OpenLDAP development libraries
 slapd      - OpenLDAP server (slapd)
 slapd-dbg  - Debugging information for the OpenLDAP server (slapd)
Closes: 473796 485263 488710 490754 492748
Changes: 
 openldap (2.4.10-3) unstable; urgency=low
 .
   [ Steve Langasek ]
   * New patch, CVE-2008-2952_BER-decoding-assertion, to fix a remote DoS
     vulnerability in the BER decoder.  Addresses CVE-2008-2952,
     closes: #488710.
   * debian/slapd.scripts-common, debian/slapd.postinst: drop
     update_path_argsfile_pidfile function, not needed for updates from etch
     or newer.
   * Drop the code to check for and upgrade ldbm databases.  The etch
     release of slapd had already dropped support for them and direct
     upgrades from sarge are not supported.
 .
   [ Russ Allbery ]
   * Apply upstream patch to convert GnuTLS cipher strength from bytes to
     bits, as expected by OpenLDAP.  (Closes: #473796)
   * Add Build-Depends on time, used by the test suite and only a shell
     built-in with bash.  Thanks, Daniel Schepler.  (Closes: #490754)
   * Refresh all patches, convert all patches to -p1, and remove extraneous
     Index: lines.  (Closes: #485263)
   * Unless DFSG_NONFREE is set, also check whether the upstream schemas
     with RFC comments are included.
   * Update standards version to 3.8.0.
     - Include debian/README.source pointing to the quilt README.source.
     - Wrap Uploaders for readability.
   * Wrap slapd's Depends for readability.
 .
   [ Updated debconf translations ]
   * Swedish, thanks to Martin Ă…gren <[EMAIL PROTECTED]>.
     Closes: #492748.
Checksums-Sha1: 
 bbb194d86f21dc1624678bf762878f195a7f4e6b 1794 openldap_2.4.10-3.dsc
 71309c8797b2f38e0fd4f48df8d5e6c65d08bc8d 146965 openldap_2.4.10-3.diff.gz
 c1888e4a0a5c52d9eecc6bb11a8d50e8a89d3ee0 1497908 slapd_2.4.10-3_amd64.deb
 4f9c437c4e0d0a486234e87e91ca96ca20d65d64 267102 ldap-utils_2.4.10-3_amd64.deb
 442f6c942dd7721b3e4665a4b4cfdae1940d1e26 204256 
libldap-2.4-2_2.4.10-3_amd64.deb
 829131b127bb37c7cfd6139c67dbe39393165beb 298480 
libldap-2.4-2-dbg_2.4.10-3_amd64.deb
 5ecdc457d3faf55162963f2964af541e8973ff66 876134 libldap2-dev_2.4.10-3_amd64.deb
 f36d856f9082e1a65ff08300a409bf21755aad9b 3662856 slapd-dbg_2.4.10-3_amd64.deb
Checksums-Sha256: 
 5b44e5c6fef13dfb6cb4695007480e676680ef91b4ca4661b4d1bed47f19e117 1794 
openldap_2.4.10-3.dsc
 36c7f13eaa6e030184e1af01c5a7aa6b866e6889a8f30d67dfedcdb494794670 146965 
openldap_2.4.10-3.diff.gz
 54580b4e37090e02fbd77e2c81c5937c1ed109110a5510b147b335f18ce6e9bc 1497908 
slapd_2.4.10-3_amd64.deb
 9dc1d2d4e8a442d2d623393c5c30ccf139c91c10053781b51e8fa97b800a09b8 267102 
ldap-utils_2.4.10-3_amd64.deb
 d96c2a9b96f6dbdd61dee778a548a2f6d9b712453a8e93086efca35d3852c631 204256 
libldap-2.4-2_2.4.10-3_amd64.deb
 c36ab54817eb27c1f01c4345d8e5ecf7450765eb01a157fc2ba7489084cab732 298480 
libldap-2.4-2-dbg_2.4.10-3_amd64.deb
 4e1aecb2f02e460c8a5865f26e2e5d3b002f143ed471d95476111affa8edaa09 876134 
libldap2-dev_2.4.10-3_amd64.deb
 6aca38b72911d23d132bfa43ce139748308a2936a1efcbb397860a36e6dea15f 3662856 
slapd-dbg_2.4.10-3_amd64.deb
Files: 
 df9433c9a05befee59192f8990bffd24 1794 net optional openldap_2.4.10-3.dsc
 dd3fe79784639de231459e886101d190 146965 net optional openldap_2.4.10-3.diff.gz
 2f3af73520602ce2b067f5901e867bae 1497908 net optional slapd_2.4.10-3_amd64.deb
 37a9b8c6017840c0304e3dad11ffc4b7 267102 net optional 
ldap-utils_2.4.10-3_amd64.deb
 1e04eda09b5319cf1cb1550221dc3b15 204256 libs optional 
libldap-2.4-2_2.4.10-3_amd64.deb
 54a1c255f08c18155eced6889bd33696 298480 libdevel extra 
libldap-2.4-2-dbg_2.4.10-3_amd64.deb
 173f04f85b3259a85d2cbd209f7114ec 876134 libdevel extra 
libldap2-dev_2.4.10-3_amd64.deb
 b3ad8347968466412452eac76b583cf7 3662856 net extra slapd-dbg_2.4.10-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFIjlFdKN6ufymYLloRAuFmAJ9DAmqBZsn2yBwrSDo/ntAKGWvxnACfe09P
t9RUDlVvvUUqWI5tz/BcI8A=
=e/ro
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to