summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-04-29 15:04:43 +0000
committerume <ume@FreeBSD.org>2003-04-29 15:04:43 +0000
commit815a6916d6a0e226f2eec2b5f95528855da974d5 (patch)
treea44e71540d9b6bf1022040ff20a8ee08813a88f3 /security
parenta821327198b7b90e1141f5bd0c8444edba010294 (diff)
downloadFreeBSD-ports-815a6916d6a0e226f2eec2b5f95528855da974d5.zip
FreeBSD-ports-815a6916d6a0e226f2eec2b5f95528855da974d5.tar.gz
Add option WITHOUT_NTLM.
Submitted by: Dan Larsson <dl@tyfon.net>
Diffstat (limited to 'security')
-rw-r--r--security/cyrus-sasl2/Makefile9
-rw-r--r--security/cyrus-sasl2/pkg-plist6
2 files changed, 11 insertions, 4 deletions
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile
index 7ea922c..e54dcba 100644
--- a/security/cyrus-sasl2/Makefile
+++ b/security/cyrus-sasl2/Makefile
@@ -48,7 +48,6 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
--mandir=${MANPREFIX}/man \
--enable-static \
--enable-login \
- --enable-ntlm \
--with-saslauthd \
--enable-auth-sasldb \
--with-rc4=openssl
@@ -82,6 +81,13 @@ CONFIGURE_ARGS+= --disable-digest
DIGEST= "@comment "
.endif
+.if defined(WITHOUT_NTLM)
+CONFIGURE_ARGS+= --disable-ntlm
+NTLM= "@comment "
+.else
+CONFIGURE_ARGS+= --enable-ntlm
+.endif
+
.if defined(KRB5_HOME) && exists(${KRB5_HOME})
CONFIGURE_ARGS+= --enable-gssapi=${KRB5_HOME}
.elif defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME})
@@ -133,6 +139,7 @@ PLIST_SUB= PREFIX=${PREFIX} \
OTP=${OTP} \
CRAM=${CRAM} \
DIGEST=${DIGEST} \
+ NTLM=${NTLM} \
GSSAPI=${GSSAPI} \
EBONES=${EBONES} \
DOCSDIR=${DOCSDIR:S/^${PREFIX}\///} \
diff --git a/security/cyrus-sasl2/pkg-plist b/security/cyrus-sasl2/pkg-plist
index 23478f4..d686345 100644
--- a/security/cyrus-sasl2/pkg-plist
+++ b/security/cyrus-sasl2/pkg-plist
@@ -31,9 +31,9 @@ lib/sasl2/liblogin.so.2
%%MYSQL%%lib/sasl2/libmysql.a
%%MYSQL%%lib/sasl2/libmysql.so
%%MYSQL%%lib/sasl2/libmysql.so.2
-lib/sasl2/libntlm.a
-lib/sasl2/libntlm.so
-lib/sasl2/libntlm.so.2
+%%NTLM%%lib/sasl2/libntlm.a
+%%NTLM%%lib/sasl2/libntlm.so
+%%NTLM%%lib/sasl2/libntlm.so.2
%%OTP%%lib/sasl2/libotp.a
%%OTP%%lib/sasl2/libotp.so
%%OTP%%lib/sasl2/libotp.so.2
OpenPOWER on IntegriCloud