8e88924b8a
OpenLDAP 2.0.11 Release Fix attribute parse bug (ITS#1159) OpenLDAP 2.0.10 Release Build Environment; Fix TLS-less build (ITS#1156)
74 lines
1.9 KiB
Makefile
74 lines
1.9 KiB
Makefile
# $OpenBSD: Makefile,v 1.12 2001/05/24 14:30:27 jakob Exp $
|
|
|
|
MULTI_PACKAGES= -client
|
|
PKGNAME-client= openldap-client-${VERSION}
|
|
|
|
COMMENT= Open source LDAP client and server software
|
|
COMMENT-client= Open source LDAP client software
|
|
|
|
VERSION= 2.0.11
|
|
DISTNAME= openldap-${VERSION}
|
|
CATEGORIES= databases net
|
|
NEED_VERSION= 1.361
|
|
|
|
HOMEPAGE= http://www.openldap.org/
|
|
|
|
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
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/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= --without-kerberos \
|
|
--enable-slapd \
|
|
--enable-cleartext \
|
|
--enable-crypt \
|
|
--enable-phonetic \
|
|
--enable-wrappers \
|
|
--enable-dnssrv \
|
|
--enable-ldap \
|
|
--enable-shell \
|
|
--enable-slurpd
|
|
|
|
FLAVORS= sasl
|
|
FLAVOR?=
|
|
|
|
.if ${FLAVOR:L} == "sasl"
|
|
CONFIGURE_ARGS+= --with-cyrus-sasl \
|
|
--enable-spasswd
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include/sasl" \
|
|
LDFLAGS="-L${LOCALBASE}/lib" LIBS="-lkrb"
|
|
LIB_DEPENDS+= sasl::security/cyrus-sasl
|
|
.else
|
|
CONFIGURE_ARGS+= --without-cyrus-sasl \
|
|
--disable-spasswd
|
|
.endif
|
|
|
|
pre-build:
|
|
@cd ${WRKBUILD}; ${MAKE_PROGRAM} depend
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/openldap
|
|
${INSTALL_DATA} ${DESTDIR}/etc/openldap/*.conf \
|
|
${PREFIX}/share/examples/openldap
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/openldap/schema
|
|
${INSTALL_DATA} ${DESTDIR}/etc/openldap/schema/*.schema \
|
|
${PREFIX}/share/examples/openldap/schema
|
|
|
|
.include <bsd.port.mk>
|
|
|