diff options
author | knu <knu@FreeBSD.org> | 2000-10-30 19:08:35 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-10-30 19:08:35 +0000 |
commit | 67ff125855b9d6d3a82edab3ea64f9862018c45d (patch) | |
tree | 47f6279a96502b8c37d9577ae1f8354f2a347701 | |
parent | 3dec104a859f94829742aeef349766ee35004632 (diff) | |
download | FreeBSD-ports-67ff125855b9d6d3a82edab3ea64f9862018c45d.zip FreeBSD-ports-67ff125855b9d6d3a82edab3ea64f9862018c45d.tar.gz |
Cosmetic.
-rw-r--r-- | net/openldap/Makefile | 54 | ||||
-rw-r--r-- | net/openldap12/Makefile | 54 | ||||
-rw-r--r-- | net/openldap2/Makefile | 54 | ||||
-rw-r--r-- | net/openldap20-server/Makefile | 54 | ||||
-rw-r--r-- | net/openldap20/Makefile | 54 | ||||
-rw-r--r-- | net/openldap21-server/Makefile | 54 | ||||
-rw-r--r-- | net/openldap21/Makefile | 54 | ||||
-rw-r--r-- | net/openldap22-server/Makefile | 54 | ||||
-rw-r--r-- | net/openldap22/Makefile | 54 | ||||
-rw-r--r-- | net/openldap23-server/Makefile | 54 | ||||
-rw-r--r-- | net/openldap24-server/Makefile | 54 |
11 files changed, 330 insertions, 264 deletions
diff --git a/net/openldap/Makefile b/net/openldap/Makefile index 157ced3..5cdce9a 100644 --- a/net/openldap/Makefile +++ b/net/openldap/Makefile @@ -1,6 +1,6 @@ -# New ports collection makefile for: openldap -# Date created: 20 Sep 1998 -# Whom: Lachlan O'Dea +# New ports collection makefile for: OpenLDAP 1.x +# Date created: 20 Sep 1998 +# Whom: Lachlan O'Dea # # $FreeBSD$ # @@ -9,37 +9,45 @@ PORTNAME= openldap PORTVERSION= 1.2.11 PORTREVISION= 1 CATEGORIES= net databases -MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/ \ - ftp://ftp.net.lut.ac.uk/openldap/openldap-release/ \ - ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/openldap-release/ \ - ftp://mirror.aarnet.edu.au/pub/OpenLDAP/openldap-release/ \ - ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/openldap-release/ \ - http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/openldap-release/ \ - ftp://ftp.ntua.gr/mirror/OpenLDAP/openldap-release/ \ - ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/openldap-release/\ - ftp://ftp.zcu.cz/pub/network/openldap/openldap-release/ +MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.net.lut.ac.uk/openldap/%SUBDIR%/ \ + ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/%SUBDIR%/ \ + ftp://mirror.aarnet.edu.au/pub/OpenLDAP/%SUBDIR%/ \ + ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/%SUBDIR%/ \ + http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.ntua.gr/mirror/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.zcu.cz/pub/network/openldap/%SUBDIR%/ +MASTER_SITE_SUBDIR= openldap-release EXTRACT_SUFX= .tgz MAINTAINER= lodea@vet.com.au -.if defined(WITH_DB2) -BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/ -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \ - LDFLAGS=-L${LOCALBASE}/lib -CONFIGURE_ARGS+= --enable-ldbm --with-ldbm-api=db2 -.endif - USE_LIBTOOL= yes -CONFIGURE_ARGS+= --localstatedir=/var/run --enable-shared --enable-dns + +CONFIGURE_ARGS= --localstatedir=/var/run \ + --enable-shared \ + --enable-dns # Include tcp-wrapper support .if exists(/usr/include/tcpd.h) -CONFIGURE_ARGS+= --enable-wrappers +CONFIGURE_ARGS+= --enable-wrappers +.endif + +.if defined(WITH_DB2) +BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/ + +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS+= --enable-ldbm \ + --with-ldbm-api=db2 .endif BINS= bin/ldapadd \ bin/ldapdelete \ + bin/ldapmodify \ bin/ldapmodrdn \ + bin/ldappasswd \ bin/ldapsearch \ bin/ud \ libexec/fax500 \ @@ -58,9 +66,7 @@ BINS= bin/ldapadd \ sbin/ldif2id2children \ sbin/ldif2id2entry \ sbin/ldif2index \ - sbin/ldif2ldbm \ - bin/ldapmodify \ - bin/ldappasswd + sbin/ldif2ldbm .include <bsd.port.pre.mk> .include "${FILESDIR}/manpages" diff --git a/net/openldap12/Makefile b/net/openldap12/Makefile index 157ced3..5cdce9a 100644 --- a/net/openldap12/Makefile +++ b/net/openldap12/Makefile @@ -1,6 +1,6 @@ -# New ports collection makefile for: openldap -# Date created: 20 Sep 1998 -# Whom: Lachlan O'Dea +# New ports collection makefile for: OpenLDAP 1.x +# Date created: 20 Sep 1998 +# Whom: Lachlan O'Dea # # $FreeBSD$ # @@ -9,37 +9,45 @@ PORTNAME= openldap PORTVERSION= 1.2.11 PORTREVISION= 1 CATEGORIES= net databases -MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/ \ - ftp://ftp.net.lut.ac.uk/openldap/openldap-release/ \ - ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/openldap-release/ \ - ftp://mirror.aarnet.edu.au/pub/OpenLDAP/openldap-release/ \ - ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/openldap-release/ \ - http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/openldap-release/ \ - ftp://ftp.ntua.gr/mirror/OpenLDAP/openldap-release/ \ - ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/openldap-release/\ - ftp://ftp.zcu.cz/pub/network/openldap/openldap-release/ +MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.net.lut.ac.uk/openldap/%SUBDIR%/ \ + ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/%SUBDIR%/ \ + ftp://mirror.aarnet.edu.au/pub/OpenLDAP/%SUBDIR%/ \ + ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/%SUBDIR%/ \ + http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.ntua.gr/mirror/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.zcu.cz/pub/network/openldap/%SUBDIR%/ +MASTER_SITE_SUBDIR= openldap-release EXTRACT_SUFX= .tgz MAINTAINER= lodea@vet.com.au -.if defined(WITH_DB2) -BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/ -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \ - LDFLAGS=-L${LOCALBASE}/lib -CONFIGURE_ARGS+= --enable-ldbm --with-ldbm-api=db2 -.endif - USE_LIBTOOL= yes -CONFIGURE_ARGS+= --localstatedir=/var/run --enable-shared --enable-dns + +CONFIGURE_ARGS= --localstatedir=/var/run \ + --enable-shared \ + --enable-dns # Include tcp-wrapper support .if exists(/usr/include/tcpd.h) -CONFIGURE_ARGS+= --enable-wrappers +CONFIGURE_ARGS+= --enable-wrappers +.endif + +.if defined(WITH_DB2) +BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/ + +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS+= --enable-ldbm \ + --with-ldbm-api=db2 .endif BINS= bin/ldapadd \ bin/ldapdelete \ + bin/ldapmodify \ bin/ldapmodrdn \ + bin/ldappasswd \ bin/ldapsearch \ bin/ud \ libexec/fax500 \ @@ -58,9 +66,7 @@ BINS= bin/ldapadd \ sbin/ldif2id2children \ sbin/ldif2id2entry \ sbin/ldif2index \ - sbin/ldif2ldbm \ - bin/ldapmodify \ - bin/ldappasswd + sbin/ldif2ldbm .include <bsd.port.pre.mk> .include "${FILESDIR}/manpages" diff --git a/net/openldap2/Makefile b/net/openldap2/Makefile index 157ced3..5cdce9a 100644 --- a/net/openldap2/Makefile +++ b/net/openldap2/Makefile @@ -1,6 +1,6 @@ -# New ports collection makefile for: openldap -# Date created: 20 Sep 1998 -# Whom: Lachlan O'Dea +# New ports collection makefile for: OpenLDAP 1.x +# Date created: 20 Sep 1998 +# Whom: Lachlan O'Dea # # $FreeBSD$ # @@ -9,37 +9,45 @@ PORTNAME= openldap PORTVERSION= 1.2.11 PORTREVISION= 1 CATEGORIES= net databases -MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/ \ - ftp://ftp.net.lut.ac.uk/openldap/openldap-release/ \ - ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/openldap-release/ \ - ftp://mirror.aarnet.edu.au/pub/OpenLDAP/openldap-release/ \ - ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/openldap-release/ \ - http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/openldap-release/ \ - ftp://ftp.ntua.gr/mirror/OpenLDAP/openldap-release/ \ - ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/openldap-release/\ - ftp://ftp.zcu.cz/pub/network/openldap/openldap-release/ +MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.net.lut.ac.uk/openldap/%SUBDIR%/ \ + ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/%SUBDIR%/ \ + ftp://mirror.aarnet.edu.au/pub/OpenLDAP/%SUBDIR%/ \ + ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/%SUBDIR%/ \ + http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.ntua.gr/mirror/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.zcu.cz/pub/network/openldap/%SUBDIR%/ +MASTER_SITE_SUBDIR= openldap-release EXTRACT_SUFX= .tgz MAINTAINER= lodea@vet.com.au -.if defined(WITH_DB2) -BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/ -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \ - LDFLAGS=-L${LOCALBASE}/lib -CONFIGURE_ARGS+= --enable-ldbm --with-ldbm-api=db2 -.endif - USE_LIBTOOL= yes -CONFIGURE_ARGS+= --localstatedir=/var/run --enable-shared --enable-dns + +CONFIGURE_ARGS= --localstatedir=/var/run \ + --enable-shared \ + --enable-dns # Include tcp-wrapper support .if exists(/usr/include/tcpd.h) -CONFIGURE_ARGS+= --enable-wrappers +CONFIGURE_ARGS+= --enable-wrappers +.endif + +.if defined(WITH_DB2) +BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/ + +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS+= --enable-ldbm \ + --with-ldbm-api=db2 .endif BINS= bin/ldapadd \ bin/ldapdelete \ + bin/ldapmodify \ bin/ldapmodrdn \ + bin/ldappasswd \ bin/ldapsearch \ bin/ud \ libexec/fax500 \ @@ -58,9 +66,7 @@ BINS= bin/ldapadd \ sbin/ldif2id2children \ sbin/ldif2id2entry \ sbin/ldif2index \ - sbin/ldif2ldbm \ - bin/ldapmodify \ - bin/ldappasswd + sbin/ldif2ldbm .include <bsd.port.pre.mk> .include "${FILESDIR}/manpages" diff --git a/net/openldap20-server/Makefile b/net/openldap20-server/Makefile index 157ced3..5cdce9a 100644 --- a/net/openldap20-server/Makefile +++ b/net/openldap20-server/Makefile @@ -1,6 +1,6 @@ -# New ports collection makefile for: openldap -# Date created: 20 Sep 1998 -# Whom: Lachlan O'Dea +# New ports collection makefile for: OpenLDAP 1.x +# Date created: 20 Sep 1998 +# Whom: Lachlan O'Dea # # $FreeBSD$ # @@ -9,37 +9,45 @@ PORTNAME= openldap PORTVERSION= 1.2.11 PORTREVISION= 1 CATEGORIES= net databases -MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/ \ - ftp://ftp.net.lut.ac.uk/openldap/openldap-release/ \ - ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/openldap-release/ \ - ftp://mirror.aarnet.edu.au/pub/OpenLDAP/openldap-release/ \ - ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/openldap-release/ \ - http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/openldap-release/ \ - ftp://ftp.ntua.gr/mirror/OpenLDAP/openldap-release/ \ - ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/openldap-release/\ - ftp://ftp.zcu.cz/pub/network/openldap/openldap-release/ +MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.net.lut.ac.uk/openldap/%SUBDIR%/ \ + ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/%SUBDIR%/ \ + ftp://mirror.aarnet.edu.au/pub/OpenLDAP/%SUBDIR%/ \ + ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/%SUBDIR%/ \ + http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.ntua.gr/mirror/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.zcu.cz/pub/network/openldap/%SUBDIR%/ +MASTER_SITE_SUBDIR= openldap-release EXTRACT_SUFX= .tgz MAINTAINER= lodea@vet.com.au -.if defined(WITH_DB2) -BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/ -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \ - LDFLAGS=-L${LOCALBASE}/lib -CONFIGURE_ARGS+= --enable-ldbm --with-ldbm-api=db2 -.endif - USE_LIBTOOL= yes -CONFIGURE_ARGS+= --localstatedir=/var/run --enable-shared --enable-dns + +CONFIGURE_ARGS= --localstatedir=/var/run \ + --enable-shared \ + --enable-dns # Include tcp-wrapper support .if exists(/usr/include/tcpd.h) -CONFIGURE_ARGS+= --enable-wrappers +CONFIGURE_ARGS+= --enable-wrappers +.endif + +.if defined(WITH_DB2) +BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/ + +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS+= --enable-ldbm \ + --with-ldbm-api=db2 .endif BINS= bin/ldapadd \ bin/ldapdelete \ + bin/ldapmodify \ bin/ldapmodrdn \ + bin/ldappasswd \ bin/ldapsearch \ bin/ud \ libexec/fax500 \ @@ -58,9 +66,7 @@ BINS= bin/ldapadd \ sbin/ldif2id2children \ sbin/ldif2id2entry \ sbin/ldif2index \ - sbin/ldif2ldbm \ - bin/ldapmodify \ - bin/ldappasswd + sbin/ldif2ldbm .include <bsd.port.pre.mk> .include "${FILESDIR}/manpages" diff --git a/net/openldap20/Makefile b/net/openldap20/Makefile index 157ced3..5cdce9a 100644 --- a/net/openldap20/Makefile +++ b/net/openldap20/Makefile @@ -1,6 +1,6 @@ -# New ports collection makefile for: openldap -# Date created: 20 Sep 1998 -# Whom: Lachlan O'Dea +# New ports collection makefile for: OpenLDAP 1.x +# Date created: 20 Sep 1998 +# Whom: Lachlan O'Dea # # $FreeBSD$ # @@ -9,37 +9,45 @@ PORTNAME= openldap PORTVERSION= 1.2.11 PORTREVISION= 1 CATEGORIES= net databases -MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/ \ - ftp://ftp.net.lut.ac.uk/openldap/openldap-release/ \ - ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/openldap-release/ \ - ftp://mirror.aarnet.edu.au/pub/OpenLDAP/openldap-release/ \ - ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/openldap-release/ \ - http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/openldap-release/ \ - ftp://ftp.ntua.gr/mirror/OpenLDAP/openldap-release/ \ - ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/openldap-release/\ - ftp://ftp.zcu.cz/pub/network/openldap/openldap-release/ +MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.net.lut.ac.uk/openldap/%SUBDIR%/ \ + ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/%SUBDIR%/ \ + ftp://mirror.aarnet.edu.au/pub/OpenLDAP/%SUBDIR%/ \ + ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/%SUBDIR%/ \ + http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.ntua.gr/mirror/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.zcu.cz/pub/network/openldap/%SUBDIR%/ +MASTER_SITE_SUBDIR= openldap-release EXTRACT_SUFX= .tgz MAINTAINER= lodea@vet.com.au -.if defined(WITH_DB2) -BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/ -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \ - LDFLAGS=-L${LOCALBASE}/lib -CONFIGURE_ARGS+= --enable-ldbm --with-ldbm-api=db2 -.endif - USE_LIBTOOL= yes -CONFIGURE_ARGS+= --localstatedir=/var/run --enable-shared --enable-dns + +CONFIGURE_ARGS= --localstatedir=/var/run \ + --enable-shared \ + --enable-dns # Include tcp-wrapper support .if exists(/usr/include/tcpd.h) -CONFIGURE_ARGS+= --enable-wrappers +CONFIGURE_ARGS+= --enable-wrappers +.endif + +.if defined(WITH_DB2) +BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/ + +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS+= --enable-ldbm \ + --with-ldbm-api=db2 .endif BINS= bin/ldapadd \ bin/ldapdelete \ + bin/ldapmodify \ bin/ldapmodrdn \ + bin/ldappasswd \ bin/ldapsearch \ bin/ud \ libexec/fax500 \ @@ -58,9 +66,7 @@ BINS= bin/ldapadd \ sbin/ldif2id2children \ sbin/ldif2id2entry \ sbin/ldif2index \ - sbin/ldif2ldbm \ - bin/ldapmodify \ - bin/ldappasswd + sbin/ldif2ldbm .include <bsd.port.pre.mk> .include "${FILESDIR}/manpages" diff --git a/net/openldap21-server/Makefile b/net/openldap21-server/Makefile index 157ced3..5cdce9a 100644 --- a/net/openldap21-server/Makefile +++ b/net/openldap21-server/Makefile @@ -1,6 +1,6 @@ -# New ports collection makefile for: openldap -# Date created: 20 Sep 1998 -# Whom: Lachlan O'Dea +# New ports collection makefile for: OpenLDAP 1.x +# Date created: 20 Sep 1998 +# Whom: Lachlan O'Dea # # $FreeBSD$ # @@ -9,37 +9,45 @@ PORTNAME= openldap PORTVERSION= 1.2.11 PORTREVISION= 1 CATEGORIES= net databases -MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/ \ - ftp://ftp.net.lut.ac.uk/openldap/openldap-release/ \ - ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/openldap-release/ \ - ftp://mirror.aarnet.edu.au/pub/OpenLDAP/openldap-release/ \ - ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/openldap-release/ \ - http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/openldap-release/ \ - ftp://ftp.ntua.gr/mirror/OpenLDAP/openldap-release/ \ - ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/openldap-release/\ - ftp://ftp.zcu.cz/pub/network/openldap/openldap-release/ +MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.net.lut.ac.uk/openldap/%SUBDIR%/ \ + ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/%SUBDIR%/ \ + ftp://mirror.aarnet.edu.au/pub/OpenLDAP/%SUBDIR%/ \ + ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/%SUBDIR%/ \ + http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.ntua.gr/mirror/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.zcu.cz/pub/network/openldap/%SUBDIR%/ +MASTER_SITE_SUBDIR= openldap-release EXTRACT_SUFX= .tgz MAINTAINER= lodea@vet.com.au -.if defined(WITH_DB2) -BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/ -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \ - LDFLAGS=-L${LOCALBASE}/lib -CONFIGURE_ARGS+= --enable-ldbm --with-ldbm-api=db2 -.endif - USE_LIBTOOL= yes -CONFIGURE_ARGS+= --localstatedir=/var/run --enable-shared --enable-dns + +CONFIGURE_ARGS= --localstatedir=/var/run \ + --enable-shared \ + --enable-dns # Include tcp-wrapper support .if exists(/usr/include/tcpd.h) -CONFIGURE_ARGS+= --enable-wrappers +CONFIGURE_ARGS+= --enable-wrappers +.endif + +.if defined(WITH_DB2) +BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/ + +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS+= --enable-ldbm \ + --with-ldbm-api=db2 .endif BINS= bin/ldapadd \ bin/ldapdelete \ + bin/ldapmodify \ bin/ldapmodrdn \ + bin/ldappasswd \ bin/ldapsearch \ bin/ud \ libexec/fax500 \ @@ -58,9 +66,7 @@ BINS= bin/ldapadd \ sbin/ldif2id2children \ sbin/ldif2id2entry \ sbin/ldif2index \ - sbin/ldif2ldbm \ - bin/ldapmodify \ - bin/ldappasswd + sbin/ldif2ldbm .include <bsd.port.pre.mk> .include "${FILESDIR}/manpages" diff --git a/net/openldap21/Makefile b/net/openldap21/Makefile index 157ced3..5cdce9a 100644 --- a/net/openldap21/Makefile +++ b/net/openldap21/Makefile @@ -1,6 +1,6 @@ -# New ports collection makefile for: openldap -# Date created: 20 Sep 1998 -# Whom: Lachlan O'Dea +# New ports collection makefile for: OpenLDAP 1.x +# Date created: 20 Sep 1998 +# Whom: Lachlan O'Dea # # $FreeBSD$ # @@ -9,37 +9,45 @@ PORTNAME= openldap PORTVERSION= 1.2.11 PORTREVISION= 1 CATEGORIES= net databases -MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/ \ - ftp://ftp.net.lut.ac.uk/openldap/openldap-release/ \ - ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/openldap-release/ \ - ftp://mirror.aarnet.edu.au/pub/OpenLDAP/openldap-release/ \ - ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/openldap-release/ \ - http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/openldap-release/ \ - ftp://ftp.ntua.gr/mirror/OpenLDAP/openldap-release/ \ - ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/openldap-release/\ - ftp://ftp.zcu.cz/pub/network/openldap/openldap-release/ +MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.net.lut.ac.uk/openldap/%SUBDIR%/ \ + ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/%SUBDIR%/ \ + ftp://mirror.aarnet.edu.au/pub/OpenLDAP/%SUBDIR%/ \ + ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/%SUBDIR%/ \ + http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.ntua.gr/mirror/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.zcu.cz/pub/network/openldap/%SUBDIR%/ +MASTER_SITE_SUBDIR= openldap-release EXTRACT_SUFX= .tgz MAINTAINER= lodea@vet.com.au -.if defined(WITH_DB2) -BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/ -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \ - LDFLAGS=-L${LOCALBASE}/lib -CONFIGURE_ARGS+= --enable-ldbm --with-ldbm-api=db2 -.endif - USE_LIBTOOL= yes -CONFIGURE_ARGS+= --localstatedir=/var/run --enable-shared --enable-dns + +CONFIGURE_ARGS= --localstatedir=/var/run \ + --enable-shared \ + --enable-dns # Include tcp-wrapper support .if exists(/usr/include/tcpd.h) -CONFIGURE_ARGS+= --enable-wrappers +CONFIGURE_ARGS+= --enable-wrappers +.endif + +.if defined(WITH_DB2) +BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/ + +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS+= --enable-ldbm \ + --with-ldbm-api=db2 .endif BINS= bin/ldapadd \ bin/ldapdelete \ + bin/ldapmodify \ bin/ldapmodrdn \ + bin/ldappasswd \ bin/ldapsearch \ bin/ud \ libexec/fax500 \ @@ -58,9 +66,7 @@ BINS= bin/ldapadd \ sbin/ldif2id2children \ sbin/ldif2id2entry \ sbin/ldif2index \ - sbin/ldif2ldbm \ - bin/ldapmodify \ - bin/ldappasswd + sbin/ldif2ldbm .include <bsd.port.pre.mk> .include "${FILESDIR}/manpages" diff --git a/net/openldap22-server/Makefile b/net/openldap22-server/Makefile index 157ced3..5cdce9a 100644 --- a/net/openldap22-server/Makefile +++ b/net/openldap22-server/Makefile @@ -1,6 +1,6 @@ -# New ports collection makefile for: openldap -# Date created: 20 Sep 1998 -# Whom: Lachlan O'Dea +# New ports collection makefile for: OpenLDAP 1.x +# Date created: 20 Sep 1998 +# Whom: Lachlan O'Dea # # $FreeBSD$ # @@ -9,37 +9,45 @@ PORTNAME= openldap PORTVERSION= 1.2.11 PORTREVISION= 1 CATEGORIES= net databases -MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/ \ - ftp://ftp.net.lut.ac.uk/openldap/openldap-release/ \ - ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/openldap-release/ \ - ftp://mirror.aarnet.edu.au/pub/OpenLDAP/openldap-release/ \ - ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/openldap-release/ \ - http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/openldap-release/ \ - ftp://ftp.ntua.gr/mirror/OpenLDAP/openldap-release/ \ - ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/openldap-release/\ - ftp://ftp.zcu.cz/pub/network/openldap/openldap-release/ +MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.net.lut.ac.uk/openldap/%SUBDIR%/ \ + ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/%SUBDIR%/ \ + ftp://mirror.aarnet.edu.au/pub/OpenLDAP/%SUBDIR%/ \ + ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/%SUBDIR%/ \ + http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.ntua.gr/mirror/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.zcu.cz/pub/network/openldap/%SUBDIR%/ +MASTER_SITE_SUBDIR= openldap-release EXTRACT_SUFX= .tgz MAINTAINER= lodea@vet.com.au -.if defined(WITH_DB2) -BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/ -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \ - LDFLAGS=-L${LOCALBASE}/lib -CONFIGURE_ARGS+= --enable-ldbm --with-ldbm-api=db2 -.endif - USE_LIBTOOL= yes -CONFIGURE_ARGS+= --localstatedir=/var/run --enable-shared --enable-dns + +CONFIGURE_ARGS= --localstatedir=/var/run \ + --enable-shared \ + --enable-dns # Include tcp-wrapper support .if exists(/usr/include/tcpd.h) -CONFIGURE_ARGS+= --enable-wrappers +CONFIGURE_ARGS+= --enable-wrappers +.endif + +.if defined(WITH_DB2) +BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/ + +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS+= --enable-ldbm \ + --with-ldbm-api=db2 .endif BINS= bin/ldapadd \ bin/ldapdelete \ + bin/ldapmodify \ bin/ldapmodrdn \ + bin/ldappasswd \ bin/ldapsearch \ bin/ud \ libexec/fax500 \ @@ -58,9 +66,7 @@ BINS= bin/ldapadd \ sbin/ldif2id2children \ sbin/ldif2id2entry \ sbin/ldif2index \ - sbin/ldif2ldbm \ - bin/ldapmodify \ - bin/ldappasswd + sbin/ldif2ldbm .include <bsd.port.pre.mk> .include "${FILESDIR}/manpages" diff --git a/net/openldap22/Makefile b/net/openldap22/Makefile index 157ced3..5cdce9a 100644 --- a/net/openldap22/Makefile +++ b/net/openldap22/Makefile @@ -1,6 +1,6 @@ -# New ports collection makefile for: openldap -# Date created: 20 Sep 1998 -# Whom: Lachlan O'Dea +# New ports collection makefile for: OpenLDAP 1.x +# Date created: 20 Sep 1998 +# Whom: Lachlan O'Dea # # $FreeBSD$ # @@ -9,37 +9,45 @@ PORTNAME= openldap PORTVERSION= 1.2.11 PORTREVISION= 1 CATEGORIES= net databases -MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/ \ - ftp://ftp.net.lut.ac.uk/openldap/openldap-release/ \ - ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/openldap-release/ \ - ftp://mirror.aarnet.edu.au/pub/OpenLDAP/openldap-release/ \ - ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/openldap-release/ \ - http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/openldap-release/ \ - ftp://ftp.ntua.gr/mirror/OpenLDAP/openldap-release/ \ - ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/openldap-release/\ - ftp://ftp.zcu.cz/pub/network/openldap/openldap-release/ +MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.net.lut.ac.uk/openldap/%SUBDIR%/ \ + ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/%SUBDIR%/ \ + ftp://mirror.aarnet.edu.au/pub/OpenLDAP/%SUBDIR%/ \ + ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/%SUBDIR%/ \ + http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.ntua.gr/mirror/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.zcu.cz/pub/network/openldap/%SUBDIR%/ +MASTER_SITE_SUBDIR= openldap-release EXTRACT_SUFX= .tgz MAINTAINER= lodea@vet.com.au -.if defined(WITH_DB2) -BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/ -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \ - LDFLAGS=-L${LOCALBASE}/lib -CONFIGURE_ARGS+= --enable-ldbm --with-ldbm-api=db2 -.endif - USE_LIBTOOL= yes -CONFIGURE_ARGS+= --localstatedir=/var/run --enable-shared --enable-dns + +CONFIGURE_ARGS= --localstatedir=/var/run \ + --enable-shared \ + --enable-dns # Include tcp-wrapper support .if exists(/usr/include/tcpd.h) -CONFIGURE_ARGS+= --enable-wrappers +CONFIGURE_ARGS+= --enable-wrappers +.endif + +.if defined(WITH_DB2) +BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/ + +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS+= --enable-ldbm \ + --with-ldbm-api=db2 .endif BINS= bin/ldapadd \ bin/ldapdelete \ + bin/ldapmodify \ bin/ldapmodrdn \ + bin/ldappasswd \ bin/ldapsearch \ bin/ud \ libexec/fax500 \ @@ -58,9 +66,7 @@ BINS= bin/ldapadd \ sbin/ldif2id2children \ sbin/ldif2id2entry \ sbin/ldif2index \ - sbin/ldif2ldbm \ - bin/ldapmodify \ - bin/ldappasswd + sbin/ldif2ldbm .include <bsd.port.pre.mk> .include "${FILESDIR}/manpages" diff --git a/net/openldap23-server/Makefile b/net/openldap23-server/Makefile index 157ced3..5cdce9a 100644 --- a/net/openldap23-server/Makefile +++ b/net/openldap23-server/Makefile @@ -1,6 +1,6 @@ -# New ports collection makefile for: openldap -# Date created: 20 Sep 1998 -# Whom: Lachlan O'Dea +# New ports collection makefile for: OpenLDAP 1.x +# Date created: 20 Sep 1998 +# Whom: Lachlan O'Dea # # $FreeBSD$ # @@ -9,37 +9,45 @@ PORTNAME= openldap PORTVERSION= 1.2.11 PORTREVISION= 1 CATEGORIES= net databases -MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/ \ - ftp://ftp.net.lut.ac.uk/openldap/openldap-release/ \ - ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/openldap-release/ \ - ftp://mirror.aarnet.edu.au/pub/OpenLDAP/openldap-release/ \ - ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/openldap-release/ \ - http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/openldap-release/ \ - ftp://ftp.ntua.gr/mirror/OpenLDAP/openldap-release/ \ - ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/openldap-release/\ - ftp://ftp.zcu.cz/pub/network/openldap/openldap-release/ +MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.net.lut.ac.uk/openldap/%SUBDIR%/ \ + ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/%SUBDIR%/ \ + ftp://mirror.aarnet.edu.au/pub/OpenLDAP/%SUBDIR%/ \ + ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/%SUBDIR%/ \ + http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.ntua.gr/mirror/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.zcu.cz/pub/network/openldap/%SUBDIR%/ +MASTER_SITE_SUBDIR= openldap-release EXTRACT_SUFX= .tgz MAINTAINER= lodea@vet.com.au -.if defined(WITH_DB2) -BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/ -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \ - LDFLAGS=-L${LOCALBASE}/lib -CONFIGURE_ARGS+= --enable-ldbm --with-ldbm-api=db2 -.endif - USE_LIBTOOL= yes -CONFIGURE_ARGS+= --localstatedir=/var/run --enable-shared --enable-dns + +CONFIGURE_ARGS= --localstatedir=/var/run \ + --enable-shared \ + --enable-dns # Include tcp-wrapper support .if exists(/usr/include/tcpd.h) -CONFIGURE_ARGS+= --enable-wrappers +CONFIGURE_ARGS+= --enable-wrappers +.endif + +.if defined(WITH_DB2) +BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/ + +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS+= --enable-ldbm \ + --with-ldbm-api=db2 .endif BINS= bin/ldapadd \ bin/ldapdelete \ + bin/ldapmodify \ bin/ldapmodrdn \ + bin/ldappasswd \ bin/ldapsearch \ bin/ud \ libexec/fax500 \ @@ -58,9 +66,7 @@ BINS= bin/ldapadd \ sbin/ldif2id2children \ sbin/ldif2id2entry \ sbin/ldif2index \ - sbin/ldif2ldbm \ - bin/ldapmodify \ - bin/ldappasswd + sbin/ldif2ldbm .include <bsd.port.pre.mk> .include "${FILESDIR}/manpages" diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile index 157ced3..5cdce9a 100644 --- a/net/openldap24-server/Makefile +++ b/net/openldap24-server/Makefile @@ -1,6 +1,6 @@ -# New ports collection makefile for: openldap -# Date created: 20 Sep 1998 -# Whom: Lachlan O'Dea +# New ports collection makefile for: OpenLDAP 1.x +# Date created: 20 Sep 1998 +# Whom: Lachlan O'Dea # # $FreeBSD$ # @@ -9,37 +9,45 @@ PORTNAME= openldap PORTVERSION= 1.2.11 PORTREVISION= 1 CATEGORIES= net databases -MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/ \ - ftp://ftp.net.lut.ac.uk/openldap/openldap-release/ \ - ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/openldap-release/ \ - ftp://mirror.aarnet.edu.au/pub/OpenLDAP/openldap-release/ \ - ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/openldap-release/ \ - http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/openldap-release/ \ - ftp://ftp.ntua.gr/mirror/OpenLDAP/openldap-release/ \ - ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/openldap-release/\ - ftp://ftp.zcu.cz/pub/network/openldap/openldap-release/ +MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.net.lut.ac.uk/openldap/%SUBDIR%/ \ + ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/%SUBDIR%/ \ + ftp://mirror.aarnet.edu.au/pub/OpenLDAP/%SUBDIR%/ \ + ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/%SUBDIR%/ \ + http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.ntua.gr/mirror/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/%SUBDIR%/ \ + ftp://ftp.zcu.cz/pub/network/openldap/%SUBDIR%/ +MASTER_SITE_SUBDIR= openldap-release EXTRACT_SUFX= .tgz MAINTAINER= lodea@vet.com.au -.if defined(WITH_DB2) -BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/ -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \ - LDFLAGS=-L${LOCALBASE}/lib -CONFIGURE_ARGS+= --enable-ldbm --with-ldbm-api=db2 -.endif - USE_LIBTOOL= yes -CONFIGURE_ARGS+= --localstatedir=/var/run --enable-shared --enable-dns + +CONFIGURE_ARGS= --localstatedir=/var/run \ + --enable-shared \ + --enable-dns # Include tcp-wrapper support .if exists(/usr/include/tcpd.h) -CONFIGURE_ARGS+= --enable-wrappers +CONFIGURE_ARGS+= --enable-wrappers +.endif + +.if defined(WITH_DB2) +BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/ + +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS+= --enable-ldbm \ + --with-ldbm-api=db2 .endif BINS= bin/ldapadd \ bin/ldapdelete \ + bin/ldapmodify \ bin/ldapmodrdn \ + bin/ldappasswd \ bin/ldapsearch \ bin/ud \ libexec/fax500 \ @@ -58,9 +66,7 @@ BINS= bin/ldapadd \ sbin/ldif2id2children \ sbin/ldif2id2entry \ sbin/ldif2index \ - sbin/ldif2ldbm \ - bin/ldapmodify \ - bin/ldappasswd + sbin/ldif2ldbm .include <bsd.port.pre.mk> .include "${FILESDIR}/manpages" |