mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Update port to version 2.0.8.
* Rewrite lines like: @exec [ CONDITION ] && ACTION as: @exec [ ! CONDITION ] || ACTION In the first version, the @executed command returns false if CONDITION is false and ACTION is not performed: pkg_add would then complain about the whole command's exit code. The second version returns either true or the actual ACTION exit code. * Do not echo some Makefile commands.
This commit is contained in:
parent
5aed59a295
commit
604c0d03b4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42554
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= openldap
|
||||
PORTVERSION= 2.0.7
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.0.8
|
||||
CATEGORIES= net databases
|
||||
MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.net.lut.ac.uk/openldap/%SUBDIR%/ \
|
||||
@ -78,19 +77,19 @@ BINS= bin/ldapadd \
|
||||
.include "${FILESDIR}/manpages"
|
||||
|
||||
post-configure:
|
||||
cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/libtool.diff
|
||||
@cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/libtool.diff
|
||||
|
||||
pre-build:
|
||||
cd ${WRKSRC} ; ${MAKE} depend
|
||||
@cd ${WRKSRC} ; ${MAKE} depend
|
||||
|
||||
post-build:
|
||||
${SED} 's,@@PREFIX@@,${PREFIX},g' ${FILESDIR}/slapd.sh >${WRKDIR}/slapd.sh
|
||||
@${SED} 's,@@PREFIX@@,${PREFIX},g' ${FILESDIR}/slapd.sh >${WRKDIR}/slapd.sh
|
||||
|
||||
post-install:
|
||||
.for f in ${BINS}
|
||||
strip ${PREFIX}/${f}
|
||||
@strip ${PREFIX}/${f}
|
||||
.endfor
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
|
||||
@${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (openldap-2.0.7.tgz) = e772449b0fcc64dc4e7bf20c2853dd10
|
||||
MD5 (openldap-2.0.8.tgz) = 4e6603c732011f01d7fc0120685b6f31
|
||||
|
@ -7,51 +7,49 @@ bin/ldapsearch
|
||||
bin/ud
|
||||
@unexec if cmp -s %D/etc/openldap/ldap.conf %D/etc/openldap/ldap.conf.default; then rm -f %D/etc/openldap/ldap.conf; fi
|
||||
etc/openldap/ldap.conf.default
|
||||
@exec [ ! -f %B/ldap.conf ] && cp %B/%f %B/ldap.conf
|
||||
@exec [ -f %B/ldap.conf ] || cp %B/%f %B/ldap.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldapfilter.conf %D/etc/openldap/ldapfilter.conf.default; then rm -f %D/etc/openldap/ldapfilter.conf; fi
|
||||
etc/openldap/ldapfilter.conf.default
|
||||
@exec [ ! -f %B/ldapfilter.conf ] && cp %B/%f %B/ldapfilter.conf
|
||||
@exec [ -f %B/ldapfilter.conf ] || cp %B/%f %B/ldapfilter.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldapsearchprefs.conf %D/etc/openldap/ldapsearchprefs.conf.default; then rm -f %D/etc/openldap/ldapsearchprefs.conf; fi
|
||||
etc/openldap/ldapsearchprefs.conf.default
|
||||
@exec [ ! -f %B/ldapsearchprefs.conf ] && cp %B/%f %B/ldapsearchprefs.conf
|
||||
@exec [ -f %B/ldapsearchprefs.conf ] || cp %B/%f %B/ldapsearchprefs.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldaptemplates.conf %D/etc/openldap/ldaptemplates.conf.default; then rm -f %D/etc/openldap/ldaptemplates.conf; fi
|
||||
etc/openldap/ldaptemplates.conf.default
|
||||
@exec [ ! -f %B/ldaptemplates.conf ] && cp %B/%f %B/ldaptemplates.conf
|
||||
@unexec if cmp -s %D/etc/openldap/slapd.conf %D/etc/openldap/slapd.conf.default; then rm -f %D/etc/openldap/slapd.conf; fi
|
||||
etc/openldap/slapd.conf.default
|
||||
@exec [ ! -f %B/slapd.conf ] && cp %B/%f %B/slapd.conf
|
||||
@exec [ -f %B/ldaptemplates.conf ] || cp %B/%f %B/ldaptemplates.conf
|
||||
@unexec if cmp -s %D/etc/openldap/schema/corba.schema %D/etc/openldap/schema/corba.schema.default; then rm -f %D/etc/openldap/schema/corba.schema; fi
|
||||
etc/openldap/schema/corba.schema.default
|
||||
@exec [ ! -f %B/corba.schema ] && cp %B/%f %B/corba.schema
|
||||
@exec [ -f %B/corba.schema ] || cp %B/%f %B/corba.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/core.schema %D/etc/openldap/schema/core.schema.default; then rm -f %D/etc/openldap/schema/core.schema; fi
|
||||
etc/openldap/schema/core.schema.default
|
||||
@exec [ ! -f %B/core.schema ] && cp %B/%f %B/core.schema
|
||||
@exec [ -f %B/core.schema ] || cp %B/%f %B/core.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/cosine.schema %D/etc/openldap/schema/cosine.schema.default; then rm -f %D/etc/openldap/schema/cosine.schema; fi
|
||||
etc/openldap/schema/cosine.schema.default
|
||||
@exec [ ! -f %B/cosine.schema ] && cp %B/%f %B/cosine.schema
|
||||
@exec [ -f %B/cosine.schema ] || cp %B/%f %B/cosine.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/inetorgperson.schema %D/etc/openldap/schema/inetorgperson.schema.default; then rm -f %D/etc/openldap/schema/inetorgperson.schema; fi
|
||||
etc/openldap/schema/inetorgperson.schema.default
|
||||
@exec [ ! -f %B/inetorgperson.schema ] && cp %B/%f %B/inetorgperson.schema
|
||||
@exec [ -f %B/inetorgperson.schema ] || cp %B/%f %B/inetorgperson.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/java.schema %D/etc/openldap/schema/java.schema.default; then rm -f %D/etc/openldap/schema/java.schema; fi
|
||||
etc/openldap/schema/java.schema.default
|
||||
@exec [ ! -f %B/java.schema ] && cp %B/%f %B/java.schema
|
||||
@exec [ -f %B/java.schema ] || cp %B/%f %B/java.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/krb5-kdc.schema %D/etc/openldap/schema/krb5-kdc.schema.default; then rm -f %D/etc/openldap/schema/krb5-kdc.schema; fi
|
||||
etc/openldap/schema/krb5-kdc.schema.default
|
||||
@exec [ ! -f %B/krb5-kdc.schema ] && cp %B/%f %B/krb5-kdc.schema
|
||||
@exec [ -f %B/krb5-kdc.schema ] || cp %B/%f %B/krb5-kdc.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/misc.schema %D/etc/openldap/schema/misc.schema.default; then rm -f %D/etc/openldap/schema/misc.schema; fi
|
||||
etc/openldap/schema/misc.schema.default
|
||||
@exec [ ! -f %B/misc.schema ] && cp %B/%f %B/misc.schema
|
||||
@exec [ -f %B/misc.schema ] || cp %B/%f %B/misc.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/nadf.schema %D/etc/openldap/schema/nadf.schema.default; then rm -f %D/etc/openldap/schema/nadf.schema; fi
|
||||
etc/openldap/schema/nadf.schema.default
|
||||
@exec [ ! -f %B/nadf.schema ] && cp %B/%f %B/nadf.schema
|
||||
@exec [ -f %B/nadf.schema ] || cp %B/%f %B/nadf.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/nis.schema %D/etc/openldap/schema/nis.schema.default; then rm -f %D/etc/openldap/schema/nis.schema; fi
|
||||
etc/openldap/schema/nis.schema.default
|
||||
@exec [ ! -f %B/nis.schema ] && cp %B/%f %B/nis.schema
|
||||
@exec [ -f %B/nis.schema ] || cp %B/%f %B/nis.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/openldap.schema %D/etc/openldap/schema/openldap.schema.default; then rm -f %D/etc/openldap/schema/openldap.schema; fi
|
||||
etc/openldap/schema/openldap.schema.default
|
||||
@exec [ ! -f %B/openldap.schema ] && cp %B/%f %B/openldap.schema
|
||||
@dirrm etc/openldap/schema
|
||||
@dirrm etc/openldap
|
||||
@exec [ -f %B/openldap.schema ] || cp %B/%f %B/openldap.schema
|
||||
@unexec if cmp -s %D/etc/openldap/slapd.conf %D/etc/openldap/slapd.conf.default; then rm -f %D/etc/openldap/slapd.conf; fi
|
||||
etc/openldap/slapd.conf.default
|
||||
@exec [ -f %B/slapd.conf ] || cp %B/%f %B/slapd.conf
|
||||
etc/rc.d/slapd.sh.sample
|
||||
include/disptmpl.h
|
||||
include/lber.h
|
||||
|
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= openldap
|
||||
PORTVERSION= 2.0.7
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.0.8
|
||||
CATEGORIES= net databases
|
||||
MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.net.lut.ac.uk/openldap/%SUBDIR%/ \
|
||||
@ -78,19 +77,19 @@ BINS= bin/ldapadd \
|
||||
.include "${FILESDIR}/manpages"
|
||||
|
||||
post-configure:
|
||||
cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/libtool.diff
|
||||
@cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/libtool.diff
|
||||
|
||||
pre-build:
|
||||
cd ${WRKSRC} ; ${MAKE} depend
|
||||
@cd ${WRKSRC} ; ${MAKE} depend
|
||||
|
||||
post-build:
|
||||
${SED} 's,@@PREFIX@@,${PREFIX},g' ${FILESDIR}/slapd.sh >${WRKDIR}/slapd.sh
|
||||
@${SED} 's,@@PREFIX@@,${PREFIX},g' ${FILESDIR}/slapd.sh >${WRKDIR}/slapd.sh
|
||||
|
||||
post-install:
|
||||
.for f in ${BINS}
|
||||
strip ${PREFIX}/${f}
|
||||
@strip ${PREFIX}/${f}
|
||||
.endfor
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
|
||||
@${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (openldap-2.0.7.tgz) = e772449b0fcc64dc4e7bf20c2853dd10
|
||||
MD5 (openldap-2.0.8.tgz) = 4e6603c732011f01d7fc0120685b6f31
|
||||
|
@ -7,51 +7,49 @@ bin/ldapsearch
|
||||
bin/ud
|
||||
@unexec if cmp -s %D/etc/openldap/ldap.conf %D/etc/openldap/ldap.conf.default; then rm -f %D/etc/openldap/ldap.conf; fi
|
||||
etc/openldap/ldap.conf.default
|
||||
@exec [ ! -f %B/ldap.conf ] && cp %B/%f %B/ldap.conf
|
||||
@exec [ -f %B/ldap.conf ] || cp %B/%f %B/ldap.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldapfilter.conf %D/etc/openldap/ldapfilter.conf.default; then rm -f %D/etc/openldap/ldapfilter.conf; fi
|
||||
etc/openldap/ldapfilter.conf.default
|
||||
@exec [ ! -f %B/ldapfilter.conf ] && cp %B/%f %B/ldapfilter.conf
|
||||
@exec [ -f %B/ldapfilter.conf ] || cp %B/%f %B/ldapfilter.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldapsearchprefs.conf %D/etc/openldap/ldapsearchprefs.conf.default; then rm -f %D/etc/openldap/ldapsearchprefs.conf; fi
|
||||
etc/openldap/ldapsearchprefs.conf.default
|
||||
@exec [ ! -f %B/ldapsearchprefs.conf ] && cp %B/%f %B/ldapsearchprefs.conf
|
||||
@exec [ -f %B/ldapsearchprefs.conf ] || cp %B/%f %B/ldapsearchprefs.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldaptemplates.conf %D/etc/openldap/ldaptemplates.conf.default; then rm -f %D/etc/openldap/ldaptemplates.conf; fi
|
||||
etc/openldap/ldaptemplates.conf.default
|
||||
@exec [ ! -f %B/ldaptemplates.conf ] && cp %B/%f %B/ldaptemplates.conf
|
||||
@unexec if cmp -s %D/etc/openldap/slapd.conf %D/etc/openldap/slapd.conf.default; then rm -f %D/etc/openldap/slapd.conf; fi
|
||||
etc/openldap/slapd.conf.default
|
||||
@exec [ ! -f %B/slapd.conf ] && cp %B/%f %B/slapd.conf
|
||||
@exec [ -f %B/ldaptemplates.conf ] || cp %B/%f %B/ldaptemplates.conf
|
||||
@unexec if cmp -s %D/etc/openldap/schema/corba.schema %D/etc/openldap/schema/corba.schema.default; then rm -f %D/etc/openldap/schema/corba.schema; fi
|
||||
etc/openldap/schema/corba.schema.default
|
||||
@exec [ ! -f %B/corba.schema ] && cp %B/%f %B/corba.schema
|
||||
@exec [ -f %B/corba.schema ] || cp %B/%f %B/corba.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/core.schema %D/etc/openldap/schema/core.schema.default; then rm -f %D/etc/openldap/schema/core.schema; fi
|
||||
etc/openldap/schema/core.schema.default
|
||||
@exec [ ! -f %B/core.schema ] && cp %B/%f %B/core.schema
|
||||
@exec [ -f %B/core.schema ] || cp %B/%f %B/core.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/cosine.schema %D/etc/openldap/schema/cosine.schema.default; then rm -f %D/etc/openldap/schema/cosine.schema; fi
|
||||
etc/openldap/schema/cosine.schema.default
|
||||
@exec [ ! -f %B/cosine.schema ] && cp %B/%f %B/cosine.schema
|
||||
@exec [ -f %B/cosine.schema ] || cp %B/%f %B/cosine.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/inetorgperson.schema %D/etc/openldap/schema/inetorgperson.schema.default; then rm -f %D/etc/openldap/schema/inetorgperson.schema; fi
|
||||
etc/openldap/schema/inetorgperson.schema.default
|
||||
@exec [ ! -f %B/inetorgperson.schema ] && cp %B/%f %B/inetorgperson.schema
|
||||
@exec [ -f %B/inetorgperson.schema ] || cp %B/%f %B/inetorgperson.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/java.schema %D/etc/openldap/schema/java.schema.default; then rm -f %D/etc/openldap/schema/java.schema; fi
|
||||
etc/openldap/schema/java.schema.default
|
||||
@exec [ ! -f %B/java.schema ] && cp %B/%f %B/java.schema
|
||||
@exec [ -f %B/java.schema ] || cp %B/%f %B/java.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/krb5-kdc.schema %D/etc/openldap/schema/krb5-kdc.schema.default; then rm -f %D/etc/openldap/schema/krb5-kdc.schema; fi
|
||||
etc/openldap/schema/krb5-kdc.schema.default
|
||||
@exec [ ! -f %B/krb5-kdc.schema ] && cp %B/%f %B/krb5-kdc.schema
|
||||
@exec [ -f %B/krb5-kdc.schema ] || cp %B/%f %B/krb5-kdc.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/misc.schema %D/etc/openldap/schema/misc.schema.default; then rm -f %D/etc/openldap/schema/misc.schema; fi
|
||||
etc/openldap/schema/misc.schema.default
|
||||
@exec [ ! -f %B/misc.schema ] && cp %B/%f %B/misc.schema
|
||||
@exec [ -f %B/misc.schema ] || cp %B/%f %B/misc.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/nadf.schema %D/etc/openldap/schema/nadf.schema.default; then rm -f %D/etc/openldap/schema/nadf.schema; fi
|
||||
etc/openldap/schema/nadf.schema.default
|
||||
@exec [ ! -f %B/nadf.schema ] && cp %B/%f %B/nadf.schema
|
||||
@exec [ -f %B/nadf.schema ] || cp %B/%f %B/nadf.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/nis.schema %D/etc/openldap/schema/nis.schema.default; then rm -f %D/etc/openldap/schema/nis.schema; fi
|
||||
etc/openldap/schema/nis.schema.default
|
||||
@exec [ ! -f %B/nis.schema ] && cp %B/%f %B/nis.schema
|
||||
@exec [ -f %B/nis.schema ] || cp %B/%f %B/nis.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/openldap.schema %D/etc/openldap/schema/openldap.schema.default; then rm -f %D/etc/openldap/schema/openldap.schema; fi
|
||||
etc/openldap/schema/openldap.schema.default
|
||||
@exec [ ! -f %B/openldap.schema ] && cp %B/%f %B/openldap.schema
|
||||
@dirrm etc/openldap/schema
|
||||
@dirrm etc/openldap
|
||||
@exec [ -f %B/openldap.schema ] || cp %B/%f %B/openldap.schema
|
||||
@unexec if cmp -s %D/etc/openldap/slapd.conf %D/etc/openldap/slapd.conf.default; then rm -f %D/etc/openldap/slapd.conf; fi
|
||||
etc/openldap/slapd.conf.default
|
||||
@exec [ -f %B/slapd.conf ] || cp %B/%f %B/slapd.conf
|
||||
etc/rc.d/slapd.sh.sample
|
||||
include/disptmpl.h
|
||||
include/lber.h
|
||||
|
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= openldap
|
||||
PORTVERSION= 2.0.7
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.0.8
|
||||
CATEGORIES= net databases
|
||||
MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.net.lut.ac.uk/openldap/%SUBDIR%/ \
|
||||
@ -78,19 +77,19 @@ BINS= bin/ldapadd \
|
||||
.include "${FILESDIR}/manpages"
|
||||
|
||||
post-configure:
|
||||
cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/libtool.diff
|
||||
@cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/libtool.diff
|
||||
|
||||
pre-build:
|
||||
cd ${WRKSRC} ; ${MAKE} depend
|
||||
@cd ${WRKSRC} ; ${MAKE} depend
|
||||
|
||||
post-build:
|
||||
${SED} 's,@@PREFIX@@,${PREFIX},g' ${FILESDIR}/slapd.sh >${WRKDIR}/slapd.sh
|
||||
@${SED} 's,@@PREFIX@@,${PREFIX},g' ${FILESDIR}/slapd.sh >${WRKDIR}/slapd.sh
|
||||
|
||||
post-install:
|
||||
.for f in ${BINS}
|
||||
strip ${PREFIX}/${f}
|
||||
@strip ${PREFIX}/${f}
|
||||
.endfor
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
|
||||
@${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (openldap-2.0.7.tgz) = e772449b0fcc64dc4e7bf20c2853dd10
|
||||
MD5 (openldap-2.0.8.tgz) = 4e6603c732011f01d7fc0120685b6f31
|
||||
|
@ -7,51 +7,49 @@ bin/ldapsearch
|
||||
bin/ud
|
||||
@unexec if cmp -s %D/etc/openldap/ldap.conf %D/etc/openldap/ldap.conf.default; then rm -f %D/etc/openldap/ldap.conf; fi
|
||||
etc/openldap/ldap.conf.default
|
||||
@exec [ ! -f %B/ldap.conf ] && cp %B/%f %B/ldap.conf
|
||||
@exec [ -f %B/ldap.conf ] || cp %B/%f %B/ldap.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldapfilter.conf %D/etc/openldap/ldapfilter.conf.default; then rm -f %D/etc/openldap/ldapfilter.conf; fi
|
||||
etc/openldap/ldapfilter.conf.default
|
||||
@exec [ ! -f %B/ldapfilter.conf ] && cp %B/%f %B/ldapfilter.conf
|
||||
@exec [ -f %B/ldapfilter.conf ] || cp %B/%f %B/ldapfilter.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldapsearchprefs.conf %D/etc/openldap/ldapsearchprefs.conf.default; then rm -f %D/etc/openldap/ldapsearchprefs.conf; fi
|
||||
etc/openldap/ldapsearchprefs.conf.default
|
||||
@exec [ ! -f %B/ldapsearchprefs.conf ] && cp %B/%f %B/ldapsearchprefs.conf
|
||||
@exec [ -f %B/ldapsearchprefs.conf ] || cp %B/%f %B/ldapsearchprefs.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldaptemplates.conf %D/etc/openldap/ldaptemplates.conf.default; then rm -f %D/etc/openldap/ldaptemplates.conf; fi
|
||||
etc/openldap/ldaptemplates.conf.default
|
||||
@exec [ ! -f %B/ldaptemplates.conf ] && cp %B/%f %B/ldaptemplates.conf
|
||||
@unexec if cmp -s %D/etc/openldap/slapd.conf %D/etc/openldap/slapd.conf.default; then rm -f %D/etc/openldap/slapd.conf; fi
|
||||
etc/openldap/slapd.conf.default
|
||||
@exec [ ! -f %B/slapd.conf ] && cp %B/%f %B/slapd.conf
|
||||
@exec [ -f %B/ldaptemplates.conf ] || cp %B/%f %B/ldaptemplates.conf
|
||||
@unexec if cmp -s %D/etc/openldap/schema/corba.schema %D/etc/openldap/schema/corba.schema.default; then rm -f %D/etc/openldap/schema/corba.schema; fi
|
||||
etc/openldap/schema/corba.schema.default
|
||||
@exec [ ! -f %B/corba.schema ] && cp %B/%f %B/corba.schema
|
||||
@exec [ -f %B/corba.schema ] || cp %B/%f %B/corba.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/core.schema %D/etc/openldap/schema/core.schema.default; then rm -f %D/etc/openldap/schema/core.schema; fi
|
||||
etc/openldap/schema/core.schema.default
|
||||
@exec [ ! -f %B/core.schema ] && cp %B/%f %B/core.schema
|
||||
@exec [ -f %B/core.schema ] || cp %B/%f %B/core.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/cosine.schema %D/etc/openldap/schema/cosine.schema.default; then rm -f %D/etc/openldap/schema/cosine.schema; fi
|
||||
etc/openldap/schema/cosine.schema.default
|
||||
@exec [ ! -f %B/cosine.schema ] && cp %B/%f %B/cosine.schema
|
||||
@exec [ -f %B/cosine.schema ] || cp %B/%f %B/cosine.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/inetorgperson.schema %D/etc/openldap/schema/inetorgperson.schema.default; then rm -f %D/etc/openldap/schema/inetorgperson.schema; fi
|
||||
etc/openldap/schema/inetorgperson.schema.default
|
||||
@exec [ ! -f %B/inetorgperson.schema ] && cp %B/%f %B/inetorgperson.schema
|
||||
@exec [ -f %B/inetorgperson.schema ] || cp %B/%f %B/inetorgperson.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/java.schema %D/etc/openldap/schema/java.schema.default; then rm -f %D/etc/openldap/schema/java.schema; fi
|
||||
etc/openldap/schema/java.schema.default
|
||||
@exec [ ! -f %B/java.schema ] && cp %B/%f %B/java.schema
|
||||
@exec [ -f %B/java.schema ] || cp %B/%f %B/java.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/krb5-kdc.schema %D/etc/openldap/schema/krb5-kdc.schema.default; then rm -f %D/etc/openldap/schema/krb5-kdc.schema; fi
|
||||
etc/openldap/schema/krb5-kdc.schema.default
|
||||
@exec [ ! -f %B/krb5-kdc.schema ] && cp %B/%f %B/krb5-kdc.schema
|
||||
@exec [ -f %B/krb5-kdc.schema ] || cp %B/%f %B/krb5-kdc.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/misc.schema %D/etc/openldap/schema/misc.schema.default; then rm -f %D/etc/openldap/schema/misc.schema; fi
|
||||
etc/openldap/schema/misc.schema.default
|
||||
@exec [ ! -f %B/misc.schema ] && cp %B/%f %B/misc.schema
|
||||
@exec [ -f %B/misc.schema ] || cp %B/%f %B/misc.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/nadf.schema %D/etc/openldap/schema/nadf.schema.default; then rm -f %D/etc/openldap/schema/nadf.schema; fi
|
||||
etc/openldap/schema/nadf.schema.default
|
||||
@exec [ ! -f %B/nadf.schema ] && cp %B/%f %B/nadf.schema
|
||||
@exec [ -f %B/nadf.schema ] || cp %B/%f %B/nadf.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/nis.schema %D/etc/openldap/schema/nis.schema.default; then rm -f %D/etc/openldap/schema/nis.schema; fi
|
||||
etc/openldap/schema/nis.schema.default
|
||||
@exec [ ! -f %B/nis.schema ] && cp %B/%f %B/nis.schema
|
||||
@exec [ -f %B/nis.schema ] || cp %B/%f %B/nis.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/openldap.schema %D/etc/openldap/schema/openldap.schema.default; then rm -f %D/etc/openldap/schema/openldap.schema; fi
|
||||
etc/openldap/schema/openldap.schema.default
|
||||
@exec [ ! -f %B/openldap.schema ] && cp %B/%f %B/openldap.schema
|
||||
@dirrm etc/openldap/schema
|
||||
@dirrm etc/openldap
|
||||
@exec [ -f %B/openldap.schema ] || cp %B/%f %B/openldap.schema
|
||||
@unexec if cmp -s %D/etc/openldap/slapd.conf %D/etc/openldap/slapd.conf.default; then rm -f %D/etc/openldap/slapd.conf; fi
|
||||
etc/openldap/slapd.conf.default
|
||||
@exec [ -f %B/slapd.conf ] || cp %B/%f %B/slapd.conf
|
||||
etc/rc.d/slapd.sh.sample
|
||||
include/disptmpl.h
|
||||
include/lber.h
|
||||
|
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= openldap
|
||||
PORTVERSION= 2.0.7
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.0.8
|
||||
CATEGORIES= net databases
|
||||
MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.net.lut.ac.uk/openldap/%SUBDIR%/ \
|
||||
@ -78,19 +77,19 @@ BINS= bin/ldapadd \
|
||||
.include "${FILESDIR}/manpages"
|
||||
|
||||
post-configure:
|
||||
cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/libtool.diff
|
||||
@cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/libtool.diff
|
||||
|
||||
pre-build:
|
||||
cd ${WRKSRC} ; ${MAKE} depend
|
||||
@cd ${WRKSRC} ; ${MAKE} depend
|
||||
|
||||
post-build:
|
||||
${SED} 's,@@PREFIX@@,${PREFIX},g' ${FILESDIR}/slapd.sh >${WRKDIR}/slapd.sh
|
||||
@${SED} 's,@@PREFIX@@,${PREFIX},g' ${FILESDIR}/slapd.sh >${WRKDIR}/slapd.sh
|
||||
|
||||
post-install:
|
||||
.for f in ${BINS}
|
||||
strip ${PREFIX}/${f}
|
||||
@strip ${PREFIX}/${f}
|
||||
.endfor
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
|
||||
@${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (openldap-2.0.7.tgz) = e772449b0fcc64dc4e7bf20c2853dd10
|
||||
MD5 (openldap-2.0.8.tgz) = 4e6603c732011f01d7fc0120685b6f31
|
||||
|
@ -7,51 +7,49 @@ bin/ldapsearch
|
||||
bin/ud
|
||||
@unexec if cmp -s %D/etc/openldap/ldap.conf %D/etc/openldap/ldap.conf.default; then rm -f %D/etc/openldap/ldap.conf; fi
|
||||
etc/openldap/ldap.conf.default
|
||||
@exec [ ! -f %B/ldap.conf ] && cp %B/%f %B/ldap.conf
|
||||
@exec [ -f %B/ldap.conf ] || cp %B/%f %B/ldap.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldapfilter.conf %D/etc/openldap/ldapfilter.conf.default; then rm -f %D/etc/openldap/ldapfilter.conf; fi
|
||||
etc/openldap/ldapfilter.conf.default
|
||||
@exec [ ! -f %B/ldapfilter.conf ] && cp %B/%f %B/ldapfilter.conf
|
||||
@exec [ -f %B/ldapfilter.conf ] || cp %B/%f %B/ldapfilter.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldapsearchprefs.conf %D/etc/openldap/ldapsearchprefs.conf.default; then rm -f %D/etc/openldap/ldapsearchprefs.conf; fi
|
||||
etc/openldap/ldapsearchprefs.conf.default
|
||||
@exec [ ! -f %B/ldapsearchprefs.conf ] && cp %B/%f %B/ldapsearchprefs.conf
|
||||
@exec [ -f %B/ldapsearchprefs.conf ] || cp %B/%f %B/ldapsearchprefs.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldaptemplates.conf %D/etc/openldap/ldaptemplates.conf.default; then rm -f %D/etc/openldap/ldaptemplates.conf; fi
|
||||
etc/openldap/ldaptemplates.conf.default
|
||||
@exec [ ! -f %B/ldaptemplates.conf ] && cp %B/%f %B/ldaptemplates.conf
|
||||
@unexec if cmp -s %D/etc/openldap/slapd.conf %D/etc/openldap/slapd.conf.default; then rm -f %D/etc/openldap/slapd.conf; fi
|
||||
etc/openldap/slapd.conf.default
|
||||
@exec [ ! -f %B/slapd.conf ] && cp %B/%f %B/slapd.conf
|
||||
@exec [ -f %B/ldaptemplates.conf ] || cp %B/%f %B/ldaptemplates.conf
|
||||
@unexec if cmp -s %D/etc/openldap/schema/corba.schema %D/etc/openldap/schema/corba.schema.default; then rm -f %D/etc/openldap/schema/corba.schema; fi
|
||||
etc/openldap/schema/corba.schema.default
|
||||
@exec [ ! -f %B/corba.schema ] && cp %B/%f %B/corba.schema
|
||||
@exec [ -f %B/corba.schema ] || cp %B/%f %B/corba.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/core.schema %D/etc/openldap/schema/core.schema.default; then rm -f %D/etc/openldap/schema/core.schema; fi
|
||||
etc/openldap/schema/core.schema.default
|
||||
@exec [ ! -f %B/core.schema ] && cp %B/%f %B/core.schema
|
||||
@exec [ -f %B/core.schema ] || cp %B/%f %B/core.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/cosine.schema %D/etc/openldap/schema/cosine.schema.default; then rm -f %D/etc/openldap/schema/cosine.schema; fi
|
||||
etc/openldap/schema/cosine.schema.default
|
||||
@exec [ ! -f %B/cosine.schema ] && cp %B/%f %B/cosine.schema
|
||||
@exec [ -f %B/cosine.schema ] || cp %B/%f %B/cosine.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/inetorgperson.schema %D/etc/openldap/schema/inetorgperson.schema.default; then rm -f %D/etc/openldap/schema/inetorgperson.schema; fi
|
||||
etc/openldap/schema/inetorgperson.schema.default
|
||||
@exec [ ! -f %B/inetorgperson.schema ] && cp %B/%f %B/inetorgperson.schema
|
||||
@exec [ -f %B/inetorgperson.schema ] || cp %B/%f %B/inetorgperson.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/java.schema %D/etc/openldap/schema/java.schema.default; then rm -f %D/etc/openldap/schema/java.schema; fi
|
||||
etc/openldap/schema/java.schema.default
|
||||
@exec [ ! -f %B/java.schema ] && cp %B/%f %B/java.schema
|
||||
@exec [ -f %B/java.schema ] || cp %B/%f %B/java.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/krb5-kdc.schema %D/etc/openldap/schema/krb5-kdc.schema.default; then rm -f %D/etc/openldap/schema/krb5-kdc.schema; fi
|
||||
etc/openldap/schema/krb5-kdc.schema.default
|
||||
@exec [ ! -f %B/krb5-kdc.schema ] && cp %B/%f %B/krb5-kdc.schema
|
||||
@exec [ -f %B/krb5-kdc.schema ] || cp %B/%f %B/krb5-kdc.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/misc.schema %D/etc/openldap/schema/misc.schema.default; then rm -f %D/etc/openldap/schema/misc.schema; fi
|
||||
etc/openldap/schema/misc.schema.default
|
||||
@exec [ ! -f %B/misc.schema ] && cp %B/%f %B/misc.schema
|
||||
@exec [ -f %B/misc.schema ] || cp %B/%f %B/misc.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/nadf.schema %D/etc/openldap/schema/nadf.schema.default; then rm -f %D/etc/openldap/schema/nadf.schema; fi
|
||||
etc/openldap/schema/nadf.schema.default
|
||||
@exec [ ! -f %B/nadf.schema ] && cp %B/%f %B/nadf.schema
|
||||
@exec [ -f %B/nadf.schema ] || cp %B/%f %B/nadf.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/nis.schema %D/etc/openldap/schema/nis.schema.default; then rm -f %D/etc/openldap/schema/nis.schema; fi
|
||||
etc/openldap/schema/nis.schema.default
|
||||
@exec [ ! -f %B/nis.schema ] && cp %B/%f %B/nis.schema
|
||||
@exec [ -f %B/nis.schema ] || cp %B/%f %B/nis.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/openldap.schema %D/etc/openldap/schema/openldap.schema.default; then rm -f %D/etc/openldap/schema/openldap.schema; fi
|
||||
etc/openldap/schema/openldap.schema.default
|
||||
@exec [ ! -f %B/openldap.schema ] && cp %B/%f %B/openldap.schema
|
||||
@dirrm etc/openldap/schema
|
||||
@dirrm etc/openldap
|
||||
@exec [ -f %B/openldap.schema ] || cp %B/%f %B/openldap.schema
|
||||
@unexec if cmp -s %D/etc/openldap/slapd.conf %D/etc/openldap/slapd.conf.default; then rm -f %D/etc/openldap/slapd.conf; fi
|
||||
etc/openldap/slapd.conf.default
|
||||
@exec [ -f %B/slapd.conf ] || cp %B/%f %B/slapd.conf
|
||||
etc/rc.d/slapd.sh.sample
|
||||
include/disptmpl.h
|
||||
include/lber.h
|
||||
|
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= openldap
|
||||
PORTVERSION= 2.0.7
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.0.8
|
||||
CATEGORIES= net databases
|
||||
MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.net.lut.ac.uk/openldap/%SUBDIR%/ \
|
||||
@ -78,19 +77,19 @@ BINS= bin/ldapadd \
|
||||
.include "${FILESDIR}/manpages"
|
||||
|
||||
post-configure:
|
||||
cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/libtool.diff
|
||||
@cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/libtool.diff
|
||||
|
||||
pre-build:
|
||||
cd ${WRKSRC} ; ${MAKE} depend
|
||||
@cd ${WRKSRC} ; ${MAKE} depend
|
||||
|
||||
post-build:
|
||||
${SED} 's,@@PREFIX@@,${PREFIX},g' ${FILESDIR}/slapd.sh >${WRKDIR}/slapd.sh
|
||||
@${SED} 's,@@PREFIX@@,${PREFIX},g' ${FILESDIR}/slapd.sh >${WRKDIR}/slapd.sh
|
||||
|
||||
post-install:
|
||||
.for f in ${BINS}
|
||||
strip ${PREFIX}/${f}
|
||||
@strip ${PREFIX}/${f}
|
||||
.endfor
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
|
||||
@${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (openldap-2.0.7.tgz) = e772449b0fcc64dc4e7bf20c2853dd10
|
||||
MD5 (openldap-2.0.8.tgz) = 4e6603c732011f01d7fc0120685b6f31
|
||||
|
@ -7,51 +7,49 @@ bin/ldapsearch
|
||||
bin/ud
|
||||
@unexec if cmp -s %D/etc/openldap/ldap.conf %D/etc/openldap/ldap.conf.default; then rm -f %D/etc/openldap/ldap.conf; fi
|
||||
etc/openldap/ldap.conf.default
|
||||
@exec [ ! -f %B/ldap.conf ] && cp %B/%f %B/ldap.conf
|
||||
@exec [ -f %B/ldap.conf ] || cp %B/%f %B/ldap.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldapfilter.conf %D/etc/openldap/ldapfilter.conf.default; then rm -f %D/etc/openldap/ldapfilter.conf; fi
|
||||
etc/openldap/ldapfilter.conf.default
|
||||
@exec [ ! -f %B/ldapfilter.conf ] && cp %B/%f %B/ldapfilter.conf
|
||||
@exec [ -f %B/ldapfilter.conf ] || cp %B/%f %B/ldapfilter.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldapsearchprefs.conf %D/etc/openldap/ldapsearchprefs.conf.default; then rm -f %D/etc/openldap/ldapsearchprefs.conf; fi
|
||||
etc/openldap/ldapsearchprefs.conf.default
|
||||
@exec [ ! -f %B/ldapsearchprefs.conf ] && cp %B/%f %B/ldapsearchprefs.conf
|
||||
@exec [ -f %B/ldapsearchprefs.conf ] || cp %B/%f %B/ldapsearchprefs.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldaptemplates.conf %D/etc/openldap/ldaptemplates.conf.default; then rm -f %D/etc/openldap/ldaptemplates.conf; fi
|
||||
etc/openldap/ldaptemplates.conf.default
|
||||
@exec [ ! -f %B/ldaptemplates.conf ] && cp %B/%f %B/ldaptemplates.conf
|
||||
@unexec if cmp -s %D/etc/openldap/slapd.conf %D/etc/openldap/slapd.conf.default; then rm -f %D/etc/openldap/slapd.conf; fi
|
||||
etc/openldap/slapd.conf.default
|
||||
@exec [ ! -f %B/slapd.conf ] && cp %B/%f %B/slapd.conf
|
||||
@exec [ -f %B/ldaptemplates.conf ] || cp %B/%f %B/ldaptemplates.conf
|
||||
@unexec if cmp -s %D/etc/openldap/schema/corba.schema %D/etc/openldap/schema/corba.schema.default; then rm -f %D/etc/openldap/schema/corba.schema; fi
|
||||
etc/openldap/schema/corba.schema.default
|
||||
@exec [ ! -f %B/corba.schema ] && cp %B/%f %B/corba.schema
|
||||
@exec [ -f %B/corba.schema ] || cp %B/%f %B/corba.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/core.schema %D/etc/openldap/schema/core.schema.default; then rm -f %D/etc/openldap/schema/core.schema; fi
|
||||
etc/openldap/schema/core.schema.default
|
||||
@exec [ ! -f %B/core.schema ] && cp %B/%f %B/core.schema
|
||||
@exec [ -f %B/core.schema ] || cp %B/%f %B/core.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/cosine.schema %D/etc/openldap/schema/cosine.schema.default; then rm -f %D/etc/openldap/schema/cosine.schema; fi
|
||||
etc/openldap/schema/cosine.schema.default
|
||||
@exec [ ! -f %B/cosine.schema ] && cp %B/%f %B/cosine.schema
|
||||
@exec [ -f %B/cosine.schema ] || cp %B/%f %B/cosine.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/inetorgperson.schema %D/etc/openldap/schema/inetorgperson.schema.default; then rm -f %D/etc/openldap/schema/inetorgperson.schema; fi
|
||||
etc/openldap/schema/inetorgperson.schema.default
|
||||
@exec [ ! -f %B/inetorgperson.schema ] && cp %B/%f %B/inetorgperson.schema
|
||||
@exec [ -f %B/inetorgperson.schema ] || cp %B/%f %B/inetorgperson.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/java.schema %D/etc/openldap/schema/java.schema.default; then rm -f %D/etc/openldap/schema/java.schema; fi
|
||||
etc/openldap/schema/java.schema.default
|
||||
@exec [ ! -f %B/java.schema ] && cp %B/%f %B/java.schema
|
||||
@exec [ -f %B/java.schema ] || cp %B/%f %B/java.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/krb5-kdc.schema %D/etc/openldap/schema/krb5-kdc.schema.default; then rm -f %D/etc/openldap/schema/krb5-kdc.schema; fi
|
||||
etc/openldap/schema/krb5-kdc.schema.default
|
||||
@exec [ ! -f %B/krb5-kdc.schema ] && cp %B/%f %B/krb5-kdc.schema
|
||||
@exec [ -f %B/krb5-kdc.schema ] || cp %B/%f %B/krb5-kdc.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/misc.schema %D/etc/openldap/schema/misc.schema.default; then rm -f %D/etc/openldap/schema/misc.schema; fi
|
||||
etc/openldap/schema/misc.schema.default
|
||||
@exec [ ! -f %B/misc.schema ] && cp %B/%f %B/misc.schema
|
||||
@exec [ -f %B/misc.schema ] || cp %B/%f %B/misc.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/nadf.schema %D/etc/openldap/schema/nadf.schema.default; then rm -f %D/etc/openldap/schema/nadf.schema; fi
|
||||
etc/openldap/schema/nadf.schema.default
|
||||
@exec [ ! -f %B/nadf.schema ] && cp %B/%f %B/nadf.schema
|
||||
@exec [ -f %B/nadf.schema ] || cp %B/%f %B/nadf.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/nis.schema %D/etc/openldap/schema/nis.schema.default; then rm -f %D/etc/openldap/schema/nis.schema; fi
|
||||
etc/openldap/schema/nis.schema.default
|
||||
@exec [ ! -f %B/nis.schema ] && cp %B/%f %B/nis.schema
|
||||
@exec [ -f %B/nis.schema ] || cp %B/%f %B/nis.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/openldap.schema %D/etc/openldap/schema/openldap.schema.default; then rm -f %D/etc/openldap/schema/openldap.schema; fi
|
||||
etc/openldap/schema/openldap.schema.default
|
||||
@exec [ ! -f %B/openldap.schema ] && cp %B/%f %B/openldap.schema
|
||||
@dirrm etc/openldap/schema
|
||||
@dirrm etc/openldap
|
||||
@exec [ -f %B/openldap.schema ] || cp %B/%f %B/openldap.schema
|
||||
@unexec if cmp -s %D/etc/openldap/slapd.conf %D/etc/openldap/slapd.conf.default; then rm -f %D/etc/openldap/slapd.conf; fi
|
||||
etc/openldap/slapd.conf.default
|
||||
@exec [ -f %B/slapd.conf ] || cp %B/%f %B/slapd.conf
|
||||
etc/rc.d/slapd.sh.sample
|
||||
include/disptmpl.h
|
||||
include/lber.h
|
||||
|
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= openldap
|
||||
PORTVERSION= 2.0.7
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.0.8
|
||||
CATEGORIES= net databases
|
||||
MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.net.lut.ac.uk/openldap/%SUBDIR%/ \
|
||||
@ -78,19 +77,19 @@ BINS= bin/ldapadd \
|
||||
.include "${FILESDIR}/manpages"
|
||||
|
||||
post-configure:
|
||||
cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/libtool.diff
|
||||
@cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/libtool.diff
|
||||
|
||||
pre-build:
|
||||
cd ${WRKSRC} ; ${MAKE} depend
|
||||
@cd ${WRKSRC} ; ${MAKE} depend
|
||||
|
||||
post-build:
|
||||
${SED} 's,@@PREFIX@@,${PREFIX},g' ${FILESDIR}/slapd.sh >${WRKDIR}/slapd.sh
|
||||
@${SED} 's,@@PREFIX@@,${PREFIX},g' ${FILESDIR}/slapd.sh >${WRKDIR}/slapd.sh
|
||||
|
||||
post-install:
|
||||
.for f in ${BINS}
|
||||
strip ${PREFIX}/${f}
|
||||
@strip ${PREFIX}/${f}
|
||||
.endfor
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
|
||||
@${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (openldap-2.0.7.tgz) = e772449b0fcc64dc4e7bf20c2853dd10
|
||||
MD5 (openldap-2.0.8.tgz) = 4e6603c732011f01d7fc0120685b6f31
|
||||
|
@ -7,51 +7,49 @@ bin/ldapsearch
|
||||
bin/ud
|
||||
@unexec if cmp -s %D/etc/openldap/ldap.conf %D/etc/openldap/ldap.conf.default; then rm -f %D/etc/openldap/ldap.conf; fi
|
||||
etc/openldap/ldap.conf.default
|
||||
@exec [ ! -f %B/ldap.conf ] && cp %B/%f %B/ldap.conf
|
||||
@exec [ -f %B/ldap.conf ] || cp %B/%f %B/ldap.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldapfilter.conf %D/etc/openldap/ldapfilter.conf.default; then rm -f %D/etc/openldap/ldapfilter.conf; fi
|
||||
etc/openldap/ldapfilter.conf.default
|
||||
@exec [ ! -f %B/ldapfilter.conf ] && cp %B/%f %B/ldapfilter.conf
|
||||
@exec [ -f %B/ldapfilter.conf ] || cp %B/%f %B/ldapfilter.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldapsearchprefs.conf %D/etc/openldap/ldapsearchprefs.conf.default; then rm -f %D/etc/openldap/ldapsearchprefs.conf; fi
|
||||
etc/openldap/ldapsearchprefs.conf.default
|
||||
@exec [ ! -f %B/ldapsearchprefs.conf ] && cp %B/%f %B/ldapsearchprefs.conf
|
||||
@exec [ -f %B/ldapsearchprefs.conf ] || cp %B/%f %B/ldapsearchprefs.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldaptemplates.conf %D/etc/openldap/ldaptemplates.conf.default; then rm -f %D/etc/openldap/ldaptemplates.conf; fi
|
||||
etc/openldap/ldaptemplates.conf.default
|
||||
@exec [ ! -f %B/ldaptemplates.conf ] && cp %B/%f %B/ldaptemplates.conf
|
||||
@unexec if cmp -s %D/etc/openldap/slapd.conf %D/etc/openldap/slapd.conf.default; then rm -f %D/etc/openldap/slapd.conf; fi
|
||||
etc/openldap/slapd.conf.default
|
||||
@exec [ ! -f %B/slapd.conf ] && cp %B/%f %B/slapd.conf
|
||||
@exec [ -f %B/ldaptemplates.conf ] || cp %B/%f %B/ldaptemplates.conf
|
||||
@unexec if cmp -s %D/etc/openldap/schema/corba.schema %D/etc/openldap/schema/corba.schema.default; then rm -f %D/etc/openldap/schema/corba.schema; fi
|
||||
etc/openldap/schema/corba.schema.default
|
||||
@exec [ ! -f %B/corba.schema ] && cp %B/%f %B/corba.schema
|
||||
@exec [ -f %B/corba.schema ] || cp %B/%f %B/corba.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/core.schema %D/etc/openldap/schema/core.schema.default; then rm -f %D/etc/openldap/schema/core.schema; fi
|
||||
etc/openldap/schema/core.schema.default
|
||||
@exec [ ! -f %B/core.schema ] && cp %B/%f %B/core.schema
|
||||
@exec [ -f %B/core.schema ] || cp %B/%f %B/core.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/cosine.schema %D/etc/openldap/schema/cosine.schema.default; then rm -f %D/etc/openldap/schema/cosine.schema; fi
|
||||
etc/openldap/schema/cosine.schema.default
|
||||
@exec [ ! -f %B/cosine.schema ] && cp %B/%f %B/cosine.schema
|
||||
@exec [ -f %B/cosine.schema ] || cp %B/%f %B/cosine.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/inetorgperson.schema %D/etc/openldap/schema/inetorgperson.schema.default; then rm -f %D/etc/openldap/schema/inetorgperson.schema; fi
|
||||
etc/openldap/schema/inetorgperson.schema.default
|
||||
@exec [ ! -f %B/inetorgperson.schema ] && cp %B/%f %B/inetorgperson.schema
|
||||
@exec [ -f %B/inetorgperson.schema ] || cp %B/%f %B/inetorgperson.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/java.schema %D/etc/openldap/schema/java.schema.default; then rm -f %D/etc/openldap/schema/java.schema; fi
|
||||
etc/openldap/schema/java.schema.default
|
||||
@exec [ ! -f %B/java.schema ] && cp %B/%f %B/java.schema
|
||||
@exec [ -f %B/java.schema ] || cp %B/%f %B/java.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/krb5-kdc.schema %D/etc/openldap/schema/krb5-kdc.schema.default; then rm -f %D/etc/openldap/schema/krb5-kdc.schema; fi
|
||||
etc/openldap/schema/krb5-kdc.schema.default
|
||||
@exec [ ! -f %B/krb5-kdc.schema ] && cp %B/%f %B/krb5-kdc.schema
|
||||
@exec [ -f %B/krb5-kdc.schema ] || cp %B/%f %B/krb5-kdc.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/misc.schema %D/etc/openldap/schema/misc.schema.default; then rm -f %D/etc/openldap/schema/misc.schema; fi
|
||||
etc/openldap/schema/misc.schema.default
|
||||
@exec [ ! -f %B/misc.schema ] && cp %B/%f %B/misc.schema
|
||||
@exec [ -f %B/misc.schema ] || cp %B/%f %B/misc.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/nadf.schema %D/etc/openldap/schema/nadf.schema.default; then rm -f %D/etc/openldap/schema/nadf.schema; fi
|
||||
etc/openldap/schema/nadf.schema.default
|
||||
@exec [ ! -f %B/nadf.schema ] && cp %B/%f %B/nadf.schema
|
||||
@exec [ -f %B/nadf.schema ] || cp %B/%f %B/nadf.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/nis.schema %D/etc/openldap/schema/nis.schema.default; then rm -f %D/etc/openldap/schema/nis.schema; fi
|
||||
etc/openldap/schema/nis.schema.default
|
||||
@exec [ ! -f %B/nis.schema ] && cp %B/%f %B/nis.schema
|
||||
@exec [ -f %B/nis.schema ] || cp %B/%f %B/nis.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/openldap.schema %D/etc/openldap/schema/openldap.schema.default; then rm -f %D/etc/openldap/schema/openldap.schema; fi
|
||||
etc/openldap/schema/openldap.schema.default
|
||||
@exec [ ! -f %B/openldap.schema ] && cp %B/%f %B/openldap.schema
|
||||
@dirrm etc/openldap/schema
|
||||
@dirrm etc/openldap
|
||||
@exec [ -f %B/openldap.schema ] || cp %B/%f %B/openldap.schema
|
||||
@unexec if cmp -s %D/etc/openldap/slapd.conf %D/etc/openldap/slapd.conf.default; then rm -f %D/etc/openldap/slapd.conf; fi
|
||||
etc/openldap/slapd.conf.default
|
||||
@exec [ -f %B/slapd.conf ] || cp %B/%f %B/slapd.conf
|
||||
etc/rc.d/slapd.sh.sample
|
||||
include/disptmpl.h
|
||||
include/lber.h
|
||||
|
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= openldap
|
||||
PORTVERSION= 2.0.7
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.0.8
|
||||
CATEGORIES= net databases
|
||||
MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.net.lut.ac.uk/openldap/%SUBDIR%/ \
|
||||
@ -78,19 +77,19 @@ BINS= bin/ldapadd \
|
||||
.include "${FILESDIR}/manpages"
|
||||
|
||||
post-configure:
|
||||
cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/libtool.diff
|
||||
@cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/libtool.diff
|
||||
|
||||
pre-build:
|
||||
cd ${WRKSRC} ; ${MAKE} depend
|
||||
@cd ${WRKSRC} ; ${MAKE} depend
|
||||
|
||||
post-build:
|
||||
${SED} 's,@@PREFIX@@,${PREFIX},g' ${FILESDIR}/slapd.sh >${WRKDIR}/slapd.sh
|
||||
@${SED} 's,@@PREFIX@@,${PREFIX},g' ${FILESDIR}/slapd.sh >${WRKDIR}/slapd.sh
|
||||
|
||||
post-install:
|
||||
.for f in ${BINS}
|
||||
strip ${PREFIX}/${f}
|
||||
@strip ${PREFIX}/${f}
|
||||
.endfor
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
|
||||
@${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (openldap-2.0.7.tgz) = e772449b0fcc64dc4e7bf20c2853dd10
|
||||
MD5 (openldap-2.0.8.tgz) = 4e6603c732011f01d7fc0120685b6f31
|
||||
|
@ -7,51 +7,49 @@ bin/ldapsearch
|
||||
bin/ud
|
||||
@unexec if cmp -s %D/etc/openldap/ldap.conf %D/etc/openldap/ldap.conf.default; then rm -f %D/etc/openldap/ldap.conf; fi
|
||||
etc/openldap/ldap.conf.default
|
||||
@exec [ ! -f %B/ldap.conf ] && cp %B/%f %B/ldap.conf
|
||||
@exec [ -f %B/ldap.conf ] || cp %B/%f %B/ldap.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldapfilter.conf %D/etc/openldap/ldapfilter.conf.default; then rm -f %D/etc/openldap/ldapfilter.conf; fi
|
||||
etc/openldap/ldapfilter.conf.default
|
||||
@exec [ ! -f %B/ldapfilter.conf ] && cp %B/%f %B/ldapfilter.conf
|
||||
@exec [ -f %B/ldapfilter.conf ] || cp %B/%f %B/ldapfilter.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldapsearchprefs.conf %D/etc/openldap/ldapsearchprefs.conf.default; then rm -f %D/etc/openldap/ldapsearchprefs.conf; fi
|
||||
etc/openldap/ldapsearchprefs.conf.default
|
||||
@exec [ ! -f %B/ldapsearchprefs.conf ] && cp %B/%f %B/ldapsearchprefs.conf
|
||||
@exec [ -f %B/ldapsearchprefs.conf ] || cp %B/%f %B/ldapsearchprefs.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldaptemplates.conf %D/etc/openldap/ldaptemplates.conf.default; then rm -f %D/etc/openldap/ldaptemplates.conf; fi
|
||||
etc/openldap/ldaptemplates.conf.default
|
||||
@exec [ ! -f %B/ldaptemplates.conf ] && cp %B/%f %B/ldaptemplates.conf
|
||||
@unexec if cmp -s %D/etc/openldap/slapd.conf %D/etc/openldap/slapd.conf.default; then rm -f %D/etc/openldap/slapd.conf; fi
|
||||
etc/openldap/slapd.conf.default
|
||||
@exec [ ! -f %B/slapd.conf ] && cp %B/%f %B/slapd.conf
|
||||
@exec [ -f %B/ldaptemplates.conf ] || cp %B/%f %B/ldaptemplates.conf
|
||||
@unexec if cmp -s %D/etc/openldap/schema/corba.schema %D/etc/openldap/schema/corba.schema.default; then rm -f %D/etc/openldap/schema/corba.schema; fi
|
||||
etc/openldap/schema/corba.schema.default
|
||||
@exec [ ! -f %B/corba.schema ] && cp %B/%f %B/corba.schema
|
||||
@exec [ -f %B/corba.schema ] || cp %B/%f %B/corba.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/core.schema %D/etc/openldap/schema/core.schema.default; then rm -f %D/etc/openldap/schema/core.schema; fi
|
||||
etc/openldap/schema/core.schema.default
|
||||
@exec [ ! -f %B/core.schema ] && cp %B/%f %B/core.schema
|
||||
@exec [ -f %B/core.schema ] || cp %B/%f %B/core.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/cosine.schema %D/etc/openldap/schema/cosine.schema.default; then rm -f %D/etc/openldap/schema/cosine.schema; fi
|
||||
etc/openldap/schema/cosine.schema.default
|
||||
@exec [ ! -f %B/cosine.schema ] && cp %B/%f %B/cosine.schema
|
||||
@exec [ -f %B/cosine.schema ] || cp %B/%f %B/cosine.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/inetorgperson.schema %D/etc/openldap/schema/inetorgperson.schema.default; then rm -f %D/etc/openldap/schema/inetorgperson.schema; fi
|
||||
etc/openldap/schema/inetorgperson.schema.default
|
||||
@exec [ ! -f %B/inetorgperson.schema ] && cp %B/%f %B/inetorgperson.schema
|
||||
@exec [ -f %B/inetorgperson.schema ] || cp %B/%f %B/inetorgperson.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/java.schema %D/etc/openldap/schema/java.schema.default; then rm -f %D/etc/openldap/schema/java.schema; fi
|
||||
etc/openldap/schema/java.schema.default
|
||||
@exec [ ! -f %B/java.schema ] && cp %B/%f %B/java.schema
|
||||
@exec [ -f %B/java.schema ] || cp %B/%f %B/java.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/krb5-kdc.schema %D/etc/openldap/schema/krb5-kdc.schema.default; then rm -f %D/etc/openldap/schema/krb5-kdc.schema; fi
|
||||
etc/openldap/schema/krb5-kdc.schema.default
|
||||
@exec [ ! -f %B/krb5-kdc.schema ] && cp %B/%f %B/krb5-kdc.schema
|
||||
@exec [ -f %B/krb5-kdc.schema ] || cp %B/%f %B/krb5-kdc.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/misc.schema %D/etc/openldap/schema/misc.schema.default; then rm -f %D/etc/openldap/schema/misc.schema; fi
|
||||
etc/openldap/schema/misc.schema.default
|
||||
@exec [ ! -f %B/misc.schema ] && cp %B/%f %B/misc.schema
|
||||
@exec [ -f %B/misc.schema ] || cp %B/%f %B/misc.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/nadf.schema %D/etc/openldap/schema/nadf.schema.default; then rm -f %D/etc/openldap/schema/nadf.schema; fi
|
||||
etc/openldap/schema/nadf.schema.default
|
||||
@exec [ ! -f %B/nadf.schema ] && cp %B/%f %B/nadf.schema
|
||||
@exec [ -f %B/nadf.schema ] || cp %B/%f %B/nadf.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/nis.schema %D/etc/openldap/schema/nis.schema.default; then rm -f %D/etc/openldap/schema/nis.schema; fi
|
||||
etc/openldap/schema/nis.schema.default
|
||||
@exec [ ! -f %B/nis.schema ] && cp %B/%f %B/nis.schema
|
||||
@exec [ -f %B/nis.schema ] || cp %B/%f %B/nis.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/openldap.schema %D/etc/openldap/schema/openldap.schema.default; then rm -f %D/etc/openldap/schema/openldap.schema; fi
|
||||
etc/openldap/schema/openldap.schema.default
|
||||
@exec [ ! -f %B/openldap.schema ] && cp %B/%f %B/openldap.schema
|
||||
@dirrm etc/openldap/schema
|
||||
@dirrm etc/openldap
|
||||
@exec [ -f %B/openldap.schema ] || cp %B/%f %B/openldap.schema
|
||||
@unexec if cmp -s %D/etc/openldap/slapd.conf %D/etc/openldap/slapd.conf.default; then rm -f %D/etc/openldap/slapd.conf; fi
|
||||
etc/openldap/slapd.conf.default
|
||||
@exec [ -f %B/slapd.conf ] || cp %B/%f %B/slapd.conf
|
||||
etc/rc.d/slapd.sh.sample
|
||||
include/disptmpl.h
|
||||
include/lber.h
|
||||
|
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= openldap
|
||||
PORTVERSION= 2.0.7
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.0.8
|
||||
CATEGORIES= net databases
|
||||
MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.net.lut.ac.uk/openldap/%SUBDIR%/ \
|
||||
@ -78,19 +77,19 @@ BINS= bin/ldapadd \
|
||||
.include "${FILESDIR}/manpages"
|
||||
|
||||
post-configure:
|
||||
cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/libtool.diff
|
||||
@cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/libtool.diff
|
||||
|
||||
pre-build:
|
||||
cd ${WRKSRC} ; ${MAKE} depend
|
||||
@cd ${WRKSRC} ; ${MAKE} depend
|
||||
|
||||
post-build:
|
||||
${SED} 's,@@PREFIX@@,${PREFIX},g' ${FILESDIR}/slapd.sh >${WRKDIR}/slapd.sh
|
||||
@${SED} 's,@@PREFIX@@,${PREFIX},g' ${FILESDIR}/slapd.sh >${WRKDIR}/slapd.sh
|
||||
|
||||
post-install:
|
||||
.for f in ${BINS}
|
||||
strip ${PREFIX}/${f}
|
||||
@strip ${PREFIX}/${f}
|
||||
.endfor
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
|
||||
@${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (openldap-2.0.7.tgz) = e772449b0fcc64dc4e7bf20c2853dd10
|
||||
MD5 (openldap-2.0.8.tgz) = 4e6603c732011f01d7fc0120685b6f31
|
||||
|
@ -7,51 +7,49 @@ bin/ldapsearch
|
||||
bin/ud
|
||||
@unexec if cmp -s %D/etc/openldap/ldap.conf %D/etc/openldap/ldap.conf.default; then rm -f %D/etc/openldap/ldap.conf; fi
|
||||
etc/openldap/ldap.conf.default
|
||||
@exec [ ! -f %B/ldap.conf ] && cp %B/%f %B/ldap.conf
|
||||
@exec [ -f %B/ldap.conf ] || cp %B/%f %B/ldap.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldapfilter.conf %D/etc/openldap/ldapfilter.conf.default; then rm -f %D/etc/openldap/ldapfilter.conf; fi
|
||||
etc/openldap/ldapfilter.conf.default
|
||||
@exec [ ! -f %B/ldapfilter.conf ] && cp %B/%f %B/ldapfilter.conf
|
||||
@exec [ -f %B/ldapfilter.conf ] || cp %B/%f %B/ldapfilter.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldapsearchprefs.conf %D/etc/openldap/ldapsearchprefs.conf.default; then rm -f %D/etc/openldap/ldapsearchprefs.conf; fi
|
||||
etc/openldap/ldapsearchprefs.conf.default
|
||||
@exec [ ! -f %B/ldapsearchprefs.conf ] && cp %B/%f %B/ldapsearchprefs.conf
|
||||
@exec [ -f %B/ldapsearchprefs.conf ] || cp %B/%f %B/ldapsearchprefs.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldaptemplates.conf %D/etc/openldap/ldaptemplates.conf.default; then rm -f %D/etc/openldap/ldaptemplates.conf; fi
|
||||
etc/openldap/ldaptemplates.conf.default
|
||||
@exec [ ! -f %B/ldaptemplates.conf ] && cp %B/%f %B/ldaptemplates.conf
|
||||
@unexec if cmp -s %D/etc/openldap/slapd.conf %D/etc/openldap/slapd.conf.default; then rm -f %D/etc/openldap/slapd.conf; fi
|
||||
etc/openldap/slapd.conf.default
|
||||
@exec [ ! -f %B/slapd.conf ] && cp %B/%f %B/slapd.conf
|
||||
@exec [ -f %B/ldaptemplates.conf ] || cp %B/%f %B/ldaptemplates.conf
|
||||
@unexec if cmp -s %D/etc/openldap/schema/corba.schema %D/etc/openldap/schema/corba.schema.default; then rm -f %D/etc/openldap/schema/corba.schema; fi
|
||||
etc/openldap/schema/corba.schema.default
|
||||
@exec [ ! -f %B/corba.schema ] && cp %B/%f %B/corba.schema
|
||||
@exec [ -f %B/corba.schema ] || cp %B/%f %B/corba.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/core.schema %D/etc/openldap/schema/core.schema.default; then rm -f %D/etc/openldap/schema/core.schema; fi
|
||||
etc/openldap/schema/core.schema.default
|
||||
@exec [ ! -f %B/core.schema ] && cp %B/%f %B/core.schema
|
||||
@exec [ -f %B/core.schema ] || cp %B/%f %B/core.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/cosine.schema %D/etc/openldap/schema/cosine.schema.default; then rm -f %D/etc/openldap/schema/cosine.schema; fi
|
||||
etc/openldap/schema/cosine.schema.default
|
||||
@exec [ ! -f %B/cosine.schema ] && cp %B/%f %B/cosine.schema
|
||||
@exec [ -f %B/cosine.schema ] || cp %B/%f %B/cosine.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/inetorgperson.schema %D/etc/openldap/schema/inetorgperson.schema.default; then rm -f %D/etc/openldap/schema/inetorgperson.schema; fi
|
||||
etc/openldap/schema/inetorgperson.schema.default
|
||||
@exec [ ! -f %B/inetorgperson.schema ] && cp %B/%f %B/inetorgperson.schema
|
||||
@exec [ -f %B/inetorgperson.schema ] || cp %B/%f %B/inetorgperson.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/java.schema %D/etc/openldap/schema/java.schema.default; then rm -f %D/etc/openldap/schema/java.schema; fi
|
||||
etc/openldap/schema/java.schema.default
|
||||
@exec [ ! -f %B/java.schema ] && cp %B/%f %B/java.schema
|
||||
@exec [ -f %B/java.schema ] || cp %B/%f %B/java.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/krb5-kdc.schema %D/etc/openldap/schema/krb5-kdc.schema.default; then rm -f %D/etc/openldap/schema/krb5-kdc.schema; fi
|
||||
etc/openldap/schema/krb5-kdc.schema.default
|
||||
@exec [ ! -f %B/krb5-kdc.schema ] && cp %B/%f %B/krb5-kdc.schema
|
||||
@exec [ -f %B/krb5-kdc.schema ] || cp %B/%f %B/krb5-kdc.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/misc.schema %D/etc/openldap/schema/misc.schema.default; then rm -f %D/etc/openldap/schema/misc.schema; fi
|
||||
etc/openldap/schema/misc.schema.default
|
||||
@exec [ ! -f %B/misc.schema ] && cp %B/%f %B/misc.schema
|
||||
@exec [ -f %B/misc.schema ] || cp %B/%f %B/misc.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/nadf.schema %D/etc/openldap/schema/nadf.schema.default; then rm -f %D/etc/openldap/schema/nadf.schema; fi
|
||||
etc/openldap/schema/nadf.schema.default
|
||||
@exec [ ! -f %B/nadf.schema ] && cp %B/%f %B/nadf.schema
|
||||
@exec [ -f %B/nadf.schema ] || cp %B/%f %B/nadf.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/nis.schema %D/etc/openldap/schema/nis.schema.default; then rm -f %D/etc/openldap/schema/nis.schema; fi
|
||||
etc/openldap/schema/nis.schema.default
|
||||
@exec [ ! -f %B/nis.schema ] && cp %B/%f %B/nis.schema
|
||||
@exec [ -f %B/nis.schema ] || cp %B/%f %B/nis.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/openldap.schema %D/etc/openldap/schema/openldap.schema.default; then rm -f %D/etc/openldap/schema/openldap.schema; fi
|
||||
etc/openldap/schema/openldap.schema.default
|
||||
@exec [ ! -f %B/openldap.schema ] && cp %B/%f %B/openldap.schema
|
||||
@dirrm etc/openldap/schema
|
||||
@dirrm etc/openldap
|
||||
@exec [ -f %B/openldap.schema ] || cp %B/%f %B/openldap.schema
|
||||
@unexec if cmp -s %D/etc/openldap/slapd.conf %D/etc/openldap/slapd.conf.default; then rm -f %D/etc/openldap/slapd.conf; fi
|
||||
etc/openldap/slapd.conf.default
|
||||
@exec [ -f %B/slapd.conf ] || cp %B/%f %B/slapd.conf
|
||||
etc/rc.d/slapd.sh.sample
|
||||
include/disptmpl.h
|
||||
include/lber.h
|
||||
|
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= openldap
|
||||
PORTVERSION= 2.0.7
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.0.8
|
||||
CATEGORIES= net databases
|
||||
MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.net.lut.ac.uk/openldap/%SUBDIR%/ \
|
||||
@ -78,19 +77,19 @@ BINS= bin/ldapadd \
|
||||
.include "${FILESDIR}/manpages"
|
||||
|
||||
post-configure:
|
||||
cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/libtool.diff
|
||||
@cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/libtool.diff
|
||||
|
||||
pre-build:
|
||||
cd ${WRKSRC} ; ${MAKE} depend
|
||||
@cd ${WRKSRC} ; ${MAKE} depend
|
||||
|
||||
post-build:
|
||||
${SED} 's,@@PREFIX@@,${PREFIX},g' ${FILESDIR}/slapd.sh >${WRKDIR}/slapd.sh
|
||||
@${SED} 's,@@PREFIX@@,${PREFIX},g' ${FILESDIR}/slapd.sh >${WRKDIR}/slapd.sh
|
||||
|
||||
post-install:
|
||||
.for f in ${BINS}
|
||||
strip ${PREFIX}/${f}
|
||||
@strip ${PREFIX}/${f}
|
||||
.endfor
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
|
||||
@${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (openldap-2.0.7.tgz) = e772449b0fcc64dc4e7bf20c2853dd10
|
||||
MD5 (openldap-2.0.8.tgz) = 4e6603c732011f01d7fc0120685b6f31
|
||||
|
@ -7,51 +7,49 @@ bin/ldapsearch
|
||||
bin/ud
|
||||
@unexec if cmp -s %D/etc/openldap/ldap.conf %D/etc/openldap/ldap.conf.default; then rm -f %D/etc/openldap/ldap.conf; fi
|
||||
etc/openldap/ldap.conf.default
|
||||
@exec [ ! -f %B/ldap.conf ] && cp %B/%f %B/ldap.conf
|
||||
@exec [ -f %B/ldap.conf ] || cp %B/%f %B/ldap.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldapfilter.conf %D/etc/openldap/ldapfilter.conf.default; then rm -f %D/etc/openldap/ldapfilter.conf; fi
|
||||
etc/openldap/ldapfilter.conf.default
|
||||
@exec [ ! -f %B/ldapfilter.conf ] && cp %B/%f %B/ldapfilter.conf
|
||||
@exec [ -f %B/ldapfilter.conf ] || cp %B/%f %B/ldapfilter.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldapsearchprefs.conf %D/etc/openldap/ldapsearchprefs.conf.default; then rm -f %D/etc/openldap/ldapsearchprefs.conf; fi
|
||||
etc/openldap/ldapsearchprefs.conf.default
|
||||
@exec [ ! -f %B/ldapsearchprefs.conf ] && cp %B/%f %B/ldapsearchprefs.conf
|
||||
@exec [ -f %B/ldapsearchprefs.conf ] || cp %B/%f %B/ldapsearchprefs.conf
|
||||
@unexec if cmp -s %D/etc/openldap/ldaptemplates.conf %D/etc/openldap/ldaptemplates.conf.default; then rm -f %D/etc/openldap/ldaptemplates.conf; fi
|
||||
etc/openldap/ldaptemplates.conf.default
|
||||
@exec [ ! -f %B/ldaptemplates.conf ] && cp %B/%f %B/ldaptemplates.conf
|
||||
@unexec if cmp -s %D/etc/openldap/slapd.conf %D/etc/openldap/slapd.conf.default; then rm -f %D/etc/openldap/slapd.conf; fi
|
||||
etc/openldap/slapd.conf.default
|
||||
@exec [ ! -f %B/slapd.conf ] && cp %B/%f %B/slapd.conf
|
||||
@exec [ -f %B/ldaptemplates.conf ] || cp %B/%f %B/ldaptemplates.conf
|
||||
@unexec if cmp -s %D/etc/openldap/schema/corba.schema %D/etc/openldap/schema/corba.schema.default; then rm -f %D/etc/openldap/schema/corba.schema; fi
|
||||
etc/openldap/schema/corba.schema.default
|
||||
@exec [ ! -f %B/corba.schema ] && cp %B/%f %B/corba.schema
|
||||
@exec [ -f %B/corba.schema ] || cp %B/%f %B/corba.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/core.schema %D/etc/openldap/schema/core.schema.default; then rm -f %D/etc/openldap/schema/core.schema; fi
|
||||
etc/openldap/schema/core.schema.default
|
||||
@exec [ ! -f %B/core.schema ] && cp %B/%f %B/core.schema
|
||||
@exec [ -f %B/core.schema ] || cp %B/%f %B/core.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/cosine.schema %D/etc/openldap/schema/cosine.schema.default; then rm -f %D/etc/openldap/schema/cosine.schema; fi
|
||||
etc/openldap/schema/cosine.schema.default
|
||||
@exec [ ! -f %B/cosine.schema ] && cp %B/%f %B/cosine.schema
|
||||
@exec [ -f %B/cosine.schema ] || cp %B/%f %B/cosine.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/inetorgperson.schema %D/etc/openldap/schema/inetorgperson.schema.default; then rm -f %D/etc/openldap/schema/inetorgperson.schema; fi
|
||||
etc/openldap/schema/inetorgperson.schema.default
|
||||
@exec [ ! -f %B/inetorgperson.schema ] && cp %B/%f %B/inetorgperson.schema
|
||||
@exec [ -f %B/inetorgperson.schema ] || cp %B/%f %B/inetorgperson.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/java.schema %D/etc/openldap/schema/java.schema.default; then rm -f %D/etc/openldap/schema/java.schema; fi
|
||||
etc/openldap/schema/java.schema.default
|
||||
@exec [ ! -f %B/java.schema ] && cp %B/%f %B/java.schema
|
||||
@exec [ -f %B/java.schema ] || cp %B/%f %B/java.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/krb5-kdc.schema %D/etc/openldap/schema/krb5-kdc.schema.default; then rm -f %D/etc/openldap/schema/krb5-kdc.schema; fi
|
||||
etc/openldap/schema/krb5-kdc.schema.default
|
||||
@exec [ ! -f %B/krb5-kdc.schema ] && cp %B/%f %B/krb5-kdc.schema
|
||||
@exec [ -f %B/krb5-kdc.schema ] || cp %B/%f %B/krb5-kdc.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/misc.schema %D/etc/openldap/schema/misc.schema.default; then rm -f %D/etc/openldap/schema/misc.schema; fi
|
||||
etc/openldap/schema/misc.schema.default
|
||||
@exec [ ! -f %B/misc.schema ] && cp %B/%f %B/misc.schema
|
||||
@exec [ -f %B/misc.schema ] || cp %B/%f %B/misc.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/nadf.schema %D/etc/openldap/schema/nadf.schema.default; then rm -f %D/etc/openldap/schema/nadf.schema; fi
|
||||
etc/openldap/schema/nadf.schema.default
|
||||
@exec [ ! -f %B/nadf.schema ] && cp %B/%f %B/nadf.schema
|
||||
@exec [ -f %B/nadf.schema ] || cp %B/%f %B/nadf.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/nis.schema %D/etc/openldap/schema/nis.schema.default; then rm -f %D/etc/openldap/schema/nis.schema; fi
|
||||
etc/openldap/schema/nis.schema.default
|
||||
@exec [ ! -f %B/nis.schema ] && cp %B/%f %B/nis.schema
|
||||
@exec [ -f %B/nis.schema ] || cp %B/%f %B/nis.schema
|
||||
@unexec if cmp -s %D/etc/openldap/schema/openldap.schema %D/etc/openldap/schema/openldap.schema.default; then rm -f %D/etc/openldap/schema/openldap.schema; fi
|
||||
etc/openldap/schema/openldap.schema.default
|
||||
@exec [ ! -f %B/openldap.schema ] && cp %B/%f %B/openldap.schema
|
||||
@dirrm etc/openldap/schema
|
||||
@dirrm etc/openldap
|
||||
@exec [ -f %B/openldap.schema ] || cp %B/%f %B/openldap.schema
|
||||
@unexec if cmp -s %D/etc/openldap/slapd.conf %D/etc/openldap/slapd.conf.default; then rm -f %D/etc/openldap/slapd.conf; fi
|
||||
etc/openldap/slapd.conf.default
|
||||
@exec [ -f %B/slapd.conf ] || cp %B/%f %B/slapd.conf
|
||||
etc/rc.d/slapd.sh.sample
|
||||
include/disptmpl.h
|
||||
include/lber.h
|
||||
|
Loading…
Reference in New Issue
Block a user