[Pkg-openldap-devel] Bug#330695: libldap2: /etc/ldap/ldap.conf breaks multiarch and on soname change

Helmut Grohne helmut at subdivi.de
Tue May 10 19:21:56 UTC 2016


Control: severity -1 serious
Control: tags -1 + patch

On Sun, Jul 13, 2008 at 07:47:31PM -0700, Russ Allbery wrote:
> I see that we're indeed still shipping /etc/ldap/ldap.conf in the library
> package.  This is a Policy violation (8.2); we really should do something
> about it.

I confirm that this is indeed a policy violation and raise the severity
accordingly.

> All values are commented-out in the default version and the library seems
> to run fine if the file is missing entirely.  I propose we just move the
> file into /usr/share/doc/libldap-2.4-2/examples and mention it in
> README.Debian.  Any objections?

In your later mail, you proposed to move it to libldap-common. I
implemented the move of the config file and the manual page in the
attached patch and verified it using piuparts.

Helmut
-------------- next part --------------
--- openldap-2.4.42+dfsg/debian/changelog
+++ openldap-2.4.42+dfsg/debian/changelog
@@ -1,3 +1,11 @@
+openldap (2.4.42+dfsg-2.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix policy 8.2 violation (Closes: #330695)
+    + Move /etc/ldap/ldap.conf and manpage to new package libldap-common.
+
+ -- Helmut Grohne <helmut at subdivi.de>  Tue, 10 May 2016 17:41:23 +0200
+
 openldap (2.4.42+dfsg-2) unstable; urgency=medium
 
   [ Ryan Tandy ]
--- openldap-2.4.42+dfsg/debian/control
+++ openldap-2.4.42+dfsg/debian/control
@@ -86,12 +86,22 @@
 Multi-Arch: same
 Conflicts: ldap-utils (<= 2.1.23-1)
 Pre-Depends: ${misc:Pre-Depends}
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, libldap-common (= ${source:Version})
 Replaces: libldap2, libldap-2.3-0
 Description: OpenLDAP libraries 
  These are the run-time libraries for the OpenLDAP (Lightweight Directory
  Access Protocol) servers and clients.
 
+Package: libldap-common
+Section: libs
+Priority: standard
+Architecture: all
+Multi-Arch: foreign
+Replaces: libldap-2.4-2 (<< 2.4.42+dfsg-2.1)
+Description: OpenLDAP common files for libraries
+ These are common files for the run-time libraries for the OpenLDAP
+ (Lightweight Directory Access Protocol) servers and clients.
+
 Package: libldap-2.4-2-dbg
 Section: debug
 Priority: extra
--- openldap-2.4.42+dfsg/debian/libldap-2.4-2.install
+++ openldap-2.4.42+dfsg/debian/libldap-2.4-2.install
@@ -2,4 +2,3 @@
 usr/lib/*/liblber-2.4.so.2.*.*
 usr/lib/*/libldap_r-2.4.so.2
 usr/lib/*/libldap_r-2.4.so.2.*.*
-etc/ldap/ldap.conf
--- openldap-2.4.42+dfsg/debian/libldap-2.4-2.manpages
+++ openldap-2.4.42+dfsg/debian/libldap-2.4-2.manpages
@@ -1 +0,0 @@
-debian/tmp/usr/share/man/man5/ldap.conf.5
--- openldap-2.4.42+dfsg/debian/libldap-common.install
+++ openldap-2.4.42+dfsg/debian/libldap-common.install
@@ -0,0 +1 @@
+etc/ldap/ldap.conf
--- openldap-2.4.42+dfsg/debian/libldap-common.manpages
+++ openldap-2.4.42+dfsg/debian/libldap-common.manpages
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man5/ldap.conf.5


More information about the Pkg-openldap-devel mailing list