On Fri, Sep 16, 2016 at 6:21 PM, Alex Vong <alexvong1...@gmail.com> wrote:
> The following patch does what the title says. The link of the bug
> <http://www.openldap.org/its/index.cgi/Incoming?id=7430;page=17> is no
> longer accessible, so I assume the bug is fixd since I cannot find it on
> the internet.
The #7430 was fixed in 2013.
> # Download the upstream source and make changes as required for DFSG reasons.
> # Assumes wget is available, as this is generally only used by the package
> # maintainers.
> @if [ ! -d "debian/schema" ] ; then \
> echo 'Run this from the top directory of the Debian source' >&2; \
> exit 1; \
> wget $(URL)/openldap-$(VERSION).tgz
> tar xzf openldap-$(VERSION).tgz
> rm -r openldap-$(VERSION)/doc/drafts
> rm -r openldap-$(VERSION)/doc/rfc
> set -e; for schema in debian/schema/*.schema debian/schema/*.ldif ;
> do \
> file=`basename "$$schema"`; \
> rm openldap-$(VERSION)/servers/slapd/schema/$$file; \
> mv openldap-$(VERSION) openldap-$(VERSION)+dfsg
> tar cf openldap_$(VERSION)+dfsg.orig.tar openldap-$(VERSION)+dfsg
> rm -r openldap-$(VERSION)+dfsg
> gzip -9 openldap_$(VERSION)+dfsg.orig.tar
as a former OpenLDAP maintainer on Fedora and RHEL, I strongly suggest
you link it against openssl. It's basically the only really supported