Your message dated Mon, 24 Aug 2015 10:52:29 +0000
with message-id <[email protected]>
and subject line Bug#794997: fixed in openldap 2.4.42+dfsg-1
has caused the Debian Bug report #794997,
regarding openldap: missing manual page for lastbind module
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.)


-- 
794997: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=794997
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: openldap
Version: 2.4.41+dfsg-1
Severity: normal
Tags: upstream patch

Hi,

although the lastbind module contains a manual page upstream,
thismanual page isn't included together with the module in Debian's
packaging.

The attached patch, that I use in my private packaging, solves this issue.

This patch is derived from a patch that I sent upstream as part of ITS#8205.

Please incldue this patch into Debian's openldap packaging to document the
lastbind module.

Best
Peter

PS: support for getting the patch series from ITS#8205 incorporated upstream
    is very welcome too.


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
>From b8491b2cf9b7101f78f233bfe75366505d95b5b7 Mon Sep 17 00:00:00 2001
From: Peter Marschall <[email protected]>
Date: Sun, 26 Jul 2015 11:58:02 +0200
Subject: [PATCH] lastbind-makefile-manpage: install slapo-lastbind.5 man page

---
 debian/patches/lastbind-makefile-manpage | 46 ++++++++++++++++++++++++++++++++
 debian/patches/series                    |  1 +
 2 files changed, 47 insertions(+)
 create mode 100644 debian/patches/lastbind-makefile-manpage

diff --git a/debian/patches/lastbind-makefile-manpage b/debian/patches/lastbind-makefile-manpage
new file mode 100644
index 0000000..900d051
--- /dev/null
+++ b/debian/patches/lastbind-makefile-manpage
@@ -0,0 +1,46 @@
+--- a/contrib/slapd-modules/lastbind/Makefile
++++ b/contrib/slapd-modules/lastbind/Makefile
+@@ -17,6 +17,7 @@
+ 	$(LDAP_BUILD)/debian/build/libraries/liblber/liblber.la
+ 
+ LIBTOOL = $(LDAP_BUILD)/debian/build/libtool
++INSTALL = /usr/bin/install
+ CC = gcc
+ OPT = -g -O2 -Wall
+ DEFS = -DSLAPD_OVER_LASTBIND=SLAPD_MOD_DYNAMIC
+@@ -25,6 +26,7 @@
+ 
+ PROGRAMS = lastbind.la
+ LTVER = 0:0:0
++MANPAGES = slapo-lastbind.5
+ 
+ prefix=/usr
+ exec_prefix=$(prefix)
+@@ -33,6 +35,8 @@
+ libdir=$(exec_prefix)/lib
+ libexecdir=$(exec_prefix)/libexec
+ moduledir = $(libdir)$(ldap_subdir)
++mandir = $(exec_prefix)/share/man
++man5dir = $(mandir)/man5
+ 
+ .SUFFIXES: .c .o .lo
+ 
+@@ -48,9 +52,17 @@
+ clean:
+ 	rm -rf *.o *.lo *.la .libs
+ 
+-install: $(PROGRAMS)
++install: install-lib install-man FORCE
++
++install-lib: $(PROGRAMS)
+ 	mkdir -p $(DESTDIR)$(moduledir)
+ 	for p in $(PROGRAMS) ; do \
+ 		$(LIBTOOL) --mode=install cp $$p $(DESTDIR)$(moduledir) ; \
+ 	done
+ 
++install-man: $(MANPAGES)
++	mkdir -p  $(DESTDIR)$(man5dir)
++	$(INSTALL) -m 644 $(MANPAGES) $(DESTDIR)$(man5dir)
++
++FORCE:
++
diff --git a/debian/patches/series b/debian/patches/series
index 260c701..eda3a18 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -12,6 +12,7 @@ contrib-modules-use-dpkg-buildflags
 smbk5pwd-makefile
 autogroup-makefile
 lastbind-makefile
+lastbind-makefile-manpage
 pw-sha2-makefile
 ldap-conf-tls-cacertdir
 add-tlscacert-option-to-ldap-conf
-- 
2.5.0


--- End Message ---
--- Begin Message ---
Source: openldap
Source-Version: 2.4.42+dfsg-1

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: Fri, 21 Aug 2015 13:07:51 -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-1
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: 794996 794997
Changes:
 openldap (2.4.42+dfsg-1) unstable; urgency=medium
 .
   [ Peter Marschall ]
   * slapd.scripts-common:
     - Use update_permissions instead of direct calls to chown and chgrp.
     - Make variables only used within a function local to that function.
     - Restore databases ordered by increasing suffix path length.
       This should help configurations with databases glued together using the
       'subordinate' keyword / 'olcSubordinate' attribute in slapd's
       configuration.
     (Closes: #794996)
   * Install slapo-lastbind.5 man page. (Closes: #794997)
 .
   [ Ryan Tandy ]
   * slapd.scripts-common: Delete an outdated comment.
   * New upstream release.
   * Enable the MDB backend again on GNU/kFreeBSD. The new pthread library
     provides all the required interfaces, and the test suite now passes.
     Leave it disabled on the Hurd. LMDB requires POSIX semaphores, which have
     not yet been implemented.
   * Disable the BDB/HDB backends on the Hurd. BDB requires record locks
     (F_SETLK), which have not yet been implemented; see #693971.
Checksums-Sha1:
 c33465848d67bee5f6b6e86d53a918a20eabc412 2793 openldap_2.4.42+dfsg-1.dsc
 56c6132344ecdf83ae38a917087424697f59e587 4813173 
openldap_2.4.42+dfsg.orig.tar.gz
 6066ae6dcc1796357834ef8d89dcdf166f6145d4 149776 
openldap_2.4.42+dfsg-1.debian.tar.xz
Checksums-Sha256:
 4d4c9d33606f7a11db9102974d0c1a2071e291c4e34ad8b4ddf389e7fa0d3e4c 2793 
openldap_2.4.42+dfsg-1.dsc
 5f56e4e3584f7a4b4c8437a2c985b2f519836946be77ef1aa43a5d20c02ea97b 4813173 
openldap_2.4.42+dfsg.orig.tar.gz
 cdf1c6881aa0d38a06578b5d4b09338fb08c2b619d804e5c249f029da581c29c 149776 
openldap_2.4.42+dfsg-1.debian.tar.xz
Files:
 c4fbafb425959d8b041f1c89f222018d 2793 net optional openldap_2.4.42+dfsg-1.dsc
 e1e8907dcd6e33dc3250773432b142fc 4813173 net optional 
openldap_2.4.42+dfsg.orig.tar.gz
 6eb6953ca359103d6a3e82d8c74f9724 149776 net optional 
openldap_2.4.42+dfsg-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJV2vErAAoJEKmDSiJSB45OT+gQAIhI1wNkLoFyCY4hIV/lv0kB
GjoHNeMyukbSUK7Ht3mX1Ae7q6PcT+WANUwlfnUTk8/aLl1fM1CMnYB9StzxgDMa
LF+Oowf0SwNu/d1mGSjyEG2QDWZyvut4DTo/LYn9q1iBRGvnbhZ4cXzj9nXel7iP
uHC/K/Q+QuRVn0nwrGiHQoU+nb0xrPe+oNLB/u9N8Ng5WeJ2FNGI4aecOLYqNZqT
cZRgU9ERavdXEcMeG4cBpVmNzjHAJCnyb+xNwMFc2MkE8i+5jiqnFlHT4RaIiJ3b
e10oVG2G1AjzRywtIXMi/oWVhFeOZp+p1z2kU2IhFFtIso2hL3q5lZnwqyMTuGNV
h/HSXkQBnp53ARFou1fHhAD7GI2L/EFHw84P8N1rQqvCnO4BuTbyk3Hn3GyWSFfz
Jh/n1iUQq7DRX/9rjd2+iwaivlsamQcfGvovQc/PiAa8ByAcYkBodhLNU/gMKyRD
ePBuwuJbpHv5VipVmRP8MZgdYNLsaSk2d1ScEFRIVfWkoPgh0RrZ4ZoohFq0FaGX
l0VEcKNF+RGi1cNhDMJBYv54XZSGXWk3AJrC7N1lLJ1la/PGRon/IMSv8+M5/fW/
mVomKABPVsCYeHKHnXqpSQh86+HNXSjyopF3MgY4XkXLZ3qpDLCPKoDDkntr6QCX
d1IFAVMFAVxIMutltIm1
=hcYV
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to