mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Add a WITH_SASL knob that causes OpenLDAP 2 to be compiled with
support for SASL. Submitted by: nectar
This commit is contained in:
parent
a907c2f753
commit
7a7daa00f1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34903
@ -38,15 +38,24 @@ CONFIGURE_ARGS= --localstatedir=/var/run \
|
||||
CONFIGURE_ARGS+= --enable-wrappers
|
||||
.endif
|
||||
|
||||
.if defined(WITH_DB2)
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
.if defined(WITH_DB2)
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db
|
||||
CPPFLAGS+= -I${LOCALBASE}/include/db2 -D_THREAD_SAFE
|
||||
CONFIGURE_ARGS+= --enable-ldbm \
|
||||
--with-ldbm-api=db2
|
||||
.endif
|
||||
|
||||
.if defined(WITH_SASL)
|
||||
LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl
|
||||
CPPFLAGS+= -I${LOCALBASE}/include/sasl
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
|
||||
BINS= bin/ldapadd \
|
||||
bin/ldapdelete \
|
||||
bin/ldapmodify \
|
||||
|
@ -38,15 +38,24 @@ CONFIGURE_ARGS= --localstatedir=/var/run \
|
||||
CONFIGURE_ARGS+= --enable-wrappers
|
||||
.endif
|
||||
|
||||
.if defined(WITH_DB2)
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
.if defined(WITH_DB2)
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db
|
||||
CPPFLAGS+= -I${LOCALBASE}/include/db2 -D_THREAD_SAFE
|
||||
CONFIGURE_ARGS+= --enable-ldbm \
|
||||
--with-ldbm-api=db2
|
||||
.endif
|
||||
|
||||
.if defined(WITH_SASL)
|
||||
LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl
|
||||
CPPFLAGS+= -I${LOCALBASE}/include/sasl
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
|
||||
BINS= bin/ldapadd \
|
||||
bin/ldapdelete \
|
||||
bin/ldapmodify \
|
||||
|
@ -38,15 +38,24 @@ CONFIGURE_ARGS= --localstatedir=/var/run \
|
||||
CONFIGURE_ARGS+= --enable-wrappers
|
||||
.endif
|
||||
|
||||
.if defined(WITH_DB2)
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
.if defined(WITH_DB2)
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db
|
||||
CPPFLAGS+= -I${LOCALBASE}/include/db2 -D_THREAD_SAFE
|
||||
CONFIGURE_ARGS+= --enable-ldbm \
|
||||
--with-ldbm-api=db2
|
||||
.endif
|
||||
|
||||
.if defined(WITH_SASL)
|
||||
LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl
|
||||
CPPFLAGS+= -I${LOCALBASE}/include/sasl
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
|
||||
BINS= bin/ldapadd \
|
||||
bin/ldapdelete \
|
||||
bin/ldapmodify \
|
||||
|
@ -38,15 +38,24 @@ CONFIGURE_ARGS= --localstatedir=/var/run \
|
||||
CONFIGURE_ARGS+= --enable-wrappers
|
||||
.endif
|
||||
|
||||
.if defined(WITH_DB2)
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
.if defined(WITH_DB2)
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db
|
||||
CPPFLAGS+= -I${LOCALBASE}/include/db2 -D_THREAD_SAFE
|
||||
CONFIGURE_ARGS+= --enable-ldbm \
|
||||
--with-ldbm-api=db2
|
||||
.endif
|
||||
|
||||
.if defined(WITH_SASL)
|
||||
LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl
|
||||
CPPFLAGS+= -I${LOCALBASE}/include/sasl
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
|
||||
BINS= bin/ldapadd \
|
||||
bin/ldapdelete \
|
||||
bin/ldapmodify \
|
||||
|
@ -38,15 +38,24 @@ CONFIGURE_ARGS= --localstatedir=/var/run \
|
||||
CONFIGURE_ARGS+= --enable-wrappers
|
||||
.endif
|
||||
|
||||
.if defined(WITH_DB2)
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
.if defined(WITH_DB2)
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db
|
||||
CPPFLAGS+= -I${LOCALBASE}/include/db2 -D_THREAD_SAFE
|
||||
CONFIGURE_ARGS+= --enable-ldbm \
|
||||
--with-ldbm-api=db2
|
||||
.endif
|
||||
|
||||
.if defined(WITH_SASL)
|
||||
LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl
|
||||
CPPFLAGS+= -I${LOCALBASE}/include/sasl
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
|
||||
BINS= bin/ldapadd \
|
||||
bin/ldapdelete \
|
||||
bin/ldapmodify \
|
||||
|
@ -38,15 +38,24 @@ CONFIGURE_ARGS= --localstatedir=/var/run \
|
||||
CONFIGURE_ARGS+= --enable-wrappers
|
||||
.endif
|
||||
|
||||
.if defined(WITH_DB2)
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
.if defined(WITH_DB2)
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db
|
||||
CPPFLAGS+= -I${LOCALBASE}/include/db2 -D_THREAD_SAFE
|
||||
CONFIGURE_ARGS+= --enable-ldbm \
|
||||
--with-ldbm-api=db2
|
||||
.endif
|
||||
|
||||
.if defined(WITH_SASL)
|
||||
LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl
|
||||
CPPFLAGS+= -I${LOCALBASE}/include/sasl
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
|
||||
BINS= bin/ldapadd \
|
||||
bin/ldapdelete \
|
||||
bin/ldapmodify \
|
||||
|
@ -38,15 +38,24 @@ CONFIGURE_ARGS= --localstatedir=/var/run \
|
||||
CONFIGURE_ARGS+= --enable-wrappers
|
||||
.endif
|
||||
|
||||
.if defined(WITH_DB2)
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
.if defined(WITH_DB2)
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db
|
||||
CPPFLAGS+= -I${LOCALBASE}/include/db2 -D_THREAD_SAFE
|
||||
CONFIGURE_ARGS+= --enable-ldbm \
|
||||
--with-ldbm-api=db2
|
||||
.endif
|
||||
|
||||
.if defined(WITH_SASL)
|
||||
LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl
|
||||
CPPFLAGS+= -I${LOCALBASE}/include/sasl
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
|
||||
BINS= bin/ldapadd \
|
||||
bin/ldapdelete \
|
||||
bin/ldapmodify \
|
||||
|
@ -38,15 +38,24 @@ CONFIGURE_ARGS= --localstatedir=/var/run \
|
||||
CONFIGURE_ARGS+= --enable-wrappers
|
||||
.endif
|
||||
|
||||
.if defined(WITH_DB2)
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
.if defined(WITH_DB2)
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db
|
||||
CPPFLAGS+= -I${LOCALBASE}/include/db2 -D_THREAD_SAFE
|
||||
CONFIGURE_ARGS+= --enable-ldbm \
|
||||
--with-ldbm-api=db2
|
||||
.endif
|
||||
|
||||
.if defined(WITH_SASL)
|
||||
LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl
|
||||
CPPFLAGS+= -I${LOCALBASE}/include/sasl
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
|
||||
BINS= bin/ldapadd \
|
||||
bin/ldapdelete \
|
||||
bin/ldapmodify \
|
||||
|
@ -38,15 +38,24 @@ CONFIGURE_ARGS= --localstatedir=/var/run \
|
||||
CONFIGURE_ARGS+= --enable-wrappers
|
||||
.endif
|
||||
|
||||
.if defined(WITH_DB2)
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
.if defined(WITH_DB2)
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db
|
||||
CPPFLAGS+= -I${LOCALBASE}/include/db2 -D_THREAD_SAFE
|
||||
CONFIGURE_ARGS+= --enable-ldbm \
|
||||
--with-ldbm-api=db2
|
||||
.endif
|
||||
|
||||
.if defined(WITH_SASL)
|
||||
LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl
|
||||
CPPFLAGS+= -I${LOCALBASE}/include/sasl
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
|
||||
BINS= bin/ldapadd \
|
||||
bin/ldapdelete \
|
||||
bin/ldapmodify \
|
||||
|
Loading…
Reference in New Issue
Block a user