diff options
author | edwin <edwin@FreeBSD.org> | 2003-08-30 17:11:51 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-08-30 17:11:51 +0800 |
commit | 9af2de95ec48c52349afd58b8dd35826395ca366 (patch) | |
tree | 53d9b5b5e82998b0d93ef5caba5084603924ea88 /net/openldap22-server/Makefile | |
parent | 0a787787d9e73674401ee9381025c5b492ae81bf (diff) | |
download | freebsd-ports-gnome-9af2de95ec48c52349afd58b8dd35826395ca366.tar.gz freebsd-ports-gnome-9af2de95ec48c52349afd58b8dd35826395ca366.tar.zst freebsd-ports-gnome-9af2de95ec48c52349afd58b8dd35826395ca366.zip |
[MAINTAINER] ports net/openldap2[012]-server: didn't start upon boot on 5.x, misc. improvements
- the start/stop scripts failed when booting on 5.x machines,
detected by Barry Pederson <bp@barryp.org>
- Fix OpenLDAP ITS 2672: eternal loop in back-bdb (2.1 only)
- unify the start/stop scripts again, so that they are identical
across versions
- added a check for the deprecated variable slapd_args
PR: ports/56174
Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com>
Diffstat (limited to 'net/openldap22-server/Makefile')
-rw-r--r-- | net/openldap22-server/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/net/openldap22-server/Makefile b/net/openldap22-server/Makefile index 3b7d758fa2e0..e139a6dd4d00 100644 --- a/net/openldap22-server/Makefile +++ b/net/openldap22-server/Makefile @@ -52,7 +52,7 @@ OPENLDAP_PKGFILESUFX?= .client .error You have `USE_OPENLDAP' defined either in your environment or in make(1) arguments. .endif .else -OPENLDAP_PORTVERSION= 1 +OPENLDAP_PORTVERSION= 2 OPENLDAP_PKGNAMESUFFIX?=-server OPENLDAP_PKGFILESUFX?= @@ -69,15 +69,18 @@ PLIST= ${WRKDIR}/pkg-plist PKGINSTALL= ${WRKDIR}/pkg-install PKGMESSAGE= ${WRKDIR}/pkg-message -LOCALSTATEDIR?= ${DESTDIR}/var/db LDAP_RUN_DIR?= ${DESTDIR}/var/run/openldap +LOCALSTATEDIR?= ${DESTDIR}/var/db +DATABASEDIR?= ${LOCALSTATEDIR}/openldap-data +SLURPDIR?= ${LOCALSTATEDIR}/openldap-slurp -PLIST_SUB+= LOCALSTATEDIR=${LOCALSTATEDIR} \ - LDAP_RUN_DIR=${LDAP_RUN_DIR} +PLIST_SUB+= LDAP_RUN_DIR=${LDAP_RUN_DIR} \ + DATABASEDIR=${DATABASEDIR} \ + SLURPDIR=${SLURPDIR} \ SED_SCRIPT= -e 's,%%PREFIX%%,${PREFIX},g' \ -e 's,%%LDAP_RUN_DIR%%,${LDAP_RUN_DIR},g' \ - -e 's,%%LOCALSTATEDIR%%,${LOCALSTATEDIR},g' + -e 's,%%DATABASEDIR%%,${DATABASEDIR},g' CONFIGURE_ARGS= --with-threads \ --with-tls=openssl \ |