Your message dated Fri, 11 Sep 2015 09:32:21 +0000
with message-id <[email protected]>
and subject line Bug#724518: fixed in openldap 2.4.42+dfsg-2
has caused the Debian Bug report #724518,
regarding openldap: Patch to allow bootstrapping without heimdal-dev
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.)
--
724518: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724518
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: openldap
Version: 2.4.31-1+nmu2
Severity: wishlist
Tags: patch
During bootstrapping, I need to break the Build-Depends cycle openldap ->
heimdal-dev -> libldap2-dev. The attached patch allows this. (There's also a
small part that's not qualified by ifeq ($(DEB_BUILD_PROFILE),stage1) as it
seems like a minor bug to me that the build process depends on the previous
shlibs file for libldap-2.4-2.)
--
Daniel Schepler
diff -urN openldap-2.4.31.old/debian/rules openldap-2.4.31/debian/rules
--- openldap-2.4.31.old/debian/rules 2013-06-04 11:39:49.000000000 -0700
+++ openldap-2.4.31/debian/rules 2013-06-04 11:46:37.123068800 -0700
@@ -13,6 +13,10 @@
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+ifeq ($(DEB_BUILD_PROFILE),stage1)
+DH_PACKAGE_EXCLUDES = -Nslapd-smbk5pwd
+endif
+
CONFIG = $(shell grep -v "^\#" debian/configure.options)
ifneq ($(DEB_HOST_ARCH_OS),linux)
CONFIG += --disable-mdb
@@ -51,7 +55,7 @@
gzip -9 openldap_$(VERSION).orig.tar
%:
- dh $@ --with quilt,autoreconf --builddirectory=$(builddir)
+ dh $@ --with quilt,autoreconf --builddirectory=$(builddir) $(DH_PACKAGE_EXCLUDES)
override_dh_auto_configure:
# Check if we include the RFCs, Internet-Drafts, or upstream schemas
@@ -78,12 +82,16 @@
override_dh_auto_build:
dh_auto_build -- $(MAKEVARS)
+ifneq ($(DEB_BUILD_PROFILE),stage1)
$(MAKE) -C contrib/slapd-modules/smbk5pwd
+endif
$(MAKE) -C contrib/slapd-modules/autogroup
override_dh_auto_install:
dh_auto_install -- $(MAKEVARS)
+ifneq ($(DEB_BUILD_PROFILE),stage1)
$(MAKE) -C contrib/slapd-modules/smbk5pwd install DESTDIR=$(installdir)
+endif
$(MAKE) -C contrib/slapd-modules/autogroup install DESTDIR=$(installdir)
# Empty the dependency_libs file in the .la files.
@@ -113,17 +121,17 @@
| xargs perl -pi -e 's#(\.TH \w+ 8)C#$$1#'
override_dh_install:
- dh_install
+ dh_install $(DH_PACKAGE_EXCLUDES)
rm -rf $(CURDIR)/debian/slapd/usr/lib/ldap/smbk5pwd*
chmod 0755 $(CURDIR)/debian/slapd/usr/share/slapd/ldiftopasswd
override_dh_installinit:
- dh_installinit -- "defaults 19 80"
+ dh_installinit $(DH_PACKAGE_EXCLUDES) -- "defaults 19 80"
override_dh_strip:
dh_strip -plibldap-2.4-2 --dbg-package=libldap-2.4-2-dbg
dh_strip -pslapd --dbg-package=slapd-dbg
- dh_strip -Nlibldap-2.4-2 -Nslapd
+ dh_strip -Nlibldap-2.4-2 -Nslapd $(DH_PACKAGE_EXCLUDES)
# hardlink these so not confined by apparmor; do this here and not
# in dh_link so that dh_strip doesn't get confused and put the wrong
# binary in the debug package.
@@ -135,13 +143,15 @@
for pkg in libldap2-dev libldap-2.4-2; do \
sed -e"s/\$${DEB_HOST_MULTIARCH}/$(DEB_HOST_MULTIARCH)/g" < debian/$$pkg.links.in > debian/$$pkg.links; \
done
- dh_link
+ dh_link $(DH_PACKAGE_EXCLUDES)
override_dh_makeshlibs:
# ideally we would do this and not have any libldap-2.4.so.2 links
# at all, but that requires adjusting the build scripts first to
# link against libldap_r, otherwise dh_shlibdeps fails
#dh_makeshlibs -plibldap-2.4-2 -V 'libldap-2.4-2 (>= 2.4.7)'
+ mkdir -p debian/libldap-2.4-2/DEBIAN
+ cp -p debian/libldap-2.4-2.shlibs debian/libldap-2.4-2/DEBIAN/shlibs
echo "slapd:Provides=$$(objdump -p debian/slapd/usr/lib/$(DEB_HOST_MULTIARCH)/libslapi-*.so.* \
| sed -ne '/SONAME/ { s/[[:space:]]*SONAME[[:space:]]*//; \
s/\.so\./-/; p; q }' \
@@ -149,7 +159,7 @@
dh_makeshlibs -pslapd -X/usr/lib/ldap/ -V "$$(sed -ne's/slapd:Provides=//p' debian/slapd.substvars)"
override_dh_installdeb:
- dh_installdeb
+ dh_installdeb $(DH_PACKAGE_EXCLUDES)
perl -w debian/dh_installscripts-common -p slapd
override_dh_auto_clean:
--- End Message ---
--- Begin Message ---
Source: openldap
Source-Version: 2.4.42+dfsg-2
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.
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.
Ryan Tandy <[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: Thu, 10 Sep 2015 20:13:17 -0700
Source: openldap
Binary: slapd slapd-smbk5pwd ldap-utils libldap-2.4-2 libldap-2.4-2-dbg
libldap2-dev slapd-dbg
Architecture: source
Version: 2.4.42+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenLDAP Maintainers
<[email protected]>
Changed-By: Ryan Tandy <[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)
slapd-smbk5pwd - Keeps Samba and Kerberos passwords in sync within slapd.
Closes: 669235 724518 794998
Changes:
openldap (2.4.42+dfsg-2) unstable; urgency=medium
.
[ Ryan Tandy ]
* Change explicit Pre-Depends: multiarch-support to ${misc:Pre-Depends}, as
recommended by lintian.
* Omit slapd, slapd-dbg, and slapd-smbk5pwd from the stage1 build profile.
This allows the dependency loop with heimdal to be broken for
bootstrapping, and the dependency on libperl-dev to be avoided for
cross-building. Thanks Daniel Schepler and Helmut Grohne.
(Closes: #724518)
* Apply wrap-and-sort to the Build-Depends field.
* Drop libncurses5-dev from Build-Depends, no longer needed since the ud
tool was removed in OpenLDAP 2.1.4.
* Drop libltdl3-dev as an alternate Build-Depends, since that package was
removed after lenny.
* Annotate Build-Depends on perl with :any to allow running the system perl
interpreter during cross builds.
* Ensure CC is set correctly for cross builds. Thanks Helmut Grohne.
* Build-Depend on dpkg-dev (>= 1.17.14) and debhelper (>= 9.20141010) for
restriction formula support.
* Override the 'dev-pkg-without-shlib-symlink' lintian tag. The symlink is
actually in the form libldap_r.so -> libldap_r-2.4.so.xyz and the tag is a
false positive; see #687022.
* Include the smbk5pwd man page in the slapd-smbk5pwd package.
* Allow anonymous read access to the shadowLastChange attribute by default,
allowing nss-ldap/nss-ldapd to handle password expiry correctly even when
bound anonymously. This was the only restricted shadow attribute, the
others were already world-readable. (Closes: #669235)
* Drop the redundant default ACL for dn.base="" from the database entry.
It's already covered by the fallback case below.
* Copy more comments from the slapd.conf template to slapd.init.ldif. Also
comment the shadowLastChange access rule.
* Import upstream patch to remove an unnecessary assert(0) that could be
triggered remotely by an unauthenticated user by sending a malformed BER
element. (ITS#8240)
.
[ Peter Marschall ]
* Add a manual page slapo-smbk5pwd.5 and update smbk5pwd's Makefile to
install the new manual page. (Closes: #794998)
Checksums-Sha1:
054ba8a83a833789fe536211e00f14dbfb0e38c4 2902 openldap_2.4.42+dfsg-2.dsc
6f8e74cbaf22ee918719c52a8fd0c4cf73a831b4 152620
openldap_2.4.42+dfsg-2.debian.tar.xz
Checksums-Sha256:
66bd0c7ccc8997008a4e8c734cb2ee7fed5ac6897217389dc5647ff86bfbac01 2902
openldap_2.4.42+dfsg-2.dsc
6a9bb42aeb745dd2b18765ab067401d450bbf97f8822356fa175397cb9257199 152620
openldap_2.4.42+dfsg-2.debian.tar.xz
Files:
749bb6b35d72f415165ae16a4307c0cd 2902 net optional openldap_2.4.42+dfsg-2.dsc
b144cbc20d844d1696a8be03da49c4f5 152620 net optional
openldap_2.4.42+dfsg-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBAgAGBQJV8pJNAAoJEKmDSiJSB45Otq4P/2OtVRrPAtg4F4U4LlYyDoCQ
qf/emdtJV5dZwIDrckymXCcFPXEGcta1aYeNUqHFNAxW8zi89J2ISzhyhmwh4KdJ
fZhjHBmTdJJLJrvU49aItvYflYcPT8UZ9VbXe8OjHTfq1uWO0iTrpPYBX+KUcwd7
haO0dpmvfBJOq98v7i2tSxg3rlH40S6aAbclMfLVxV6lRC0ixwa9m4050CoFWZoP
TNy1Qsgbazo3ot7pAjLwlgaK9bzfG3uyHv4NecHoJajWf0FVlAlYM3BEfJh2pTFT
KkbR75m2KejrTy0yzcnxK6pdpe4ABWEbPp2Ky6foqy3M809OzpAOB+WnJjGfFZpO
66aCj7fY+rRDuMUOpMu3Q+D+usj/RHpkD+YvbEREvdNTM9R/ZYuQihHGHj4cWo1v
YHUp5z+FyyUUytoiFLV1h5J5fGBzL6FsYMH0et7vSttUPP111mLvTlTUbkgfdLgj
Zyv5zoULldQNxCivfYRTnMgyRh6LQJNHD5dTb+yuGIbvQeKHp9P+QOGOg0RHDEsa
bUaLgDOpOLrnx1+jrtfCnS1v1fCDVP+1CuVbvX2LmErvnRBu8lMEzcpqnlPJXL0+
hpTRgKTgw/saJoZeLFn33f/KFBSKBiAwLJSjJgi2XhQtJncDbp4PNlMWJU20G7ms
6B+ka9e5mj+I8VZuq3og
=mFcQ
-----END PGP SIGNATURE-----
--- End Message ---