diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2003-01-01 16:25:46 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2003-01-01 16:25:46 +0000 |
commit | 7c9bf13b3da0f27645d60d8a369bcaba85112c3b (patch) | |
tree | bb39a1a6be3fc283df9f2db2b86683e15a2020db | |
parent | Update to 0.1.2. (diff) |
Add WITHOUT_CRAM and WITHOUT_DIGEST to don't build cram and digest
authentication.
Submitted by: Dan Larsson <dl@tyfon.net>
Notes
Notes:
svn path=/head/; revision=72039
-rw-r--r-- | security/cyrus-sasl2/Makefile | 12 | ||||
-rw-r--r-- | security/cyrus-sasl2/pkg-plist | 12 |
2 files changed, 18 insertions, 6 deletions
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile index d51d7a83df27..2f5b5b3e00ae 100644 --- a/security/cyrus-sasl2/Makefile +++ b/security/cyrus-sasl2/Makefile @@ -63,6 +63,16 @@ CONFIGURE_ARGS+= --disable-otp OTP= "@comment " .endif +.if defined(WITHOUT_CRAM) +CONFIGURE_ARGS+= --disable-cram +CRAM= "@comment " +.endif + +.if defined(WITHOUT_DIGEST) +CONFIGURE_ARGS+= --disable-digest +DIGEST= "@comment " +.endif + .if defined(WITH_LDAP) LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2 LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap2 @@ -108,6 +118,8 @@ HTDOCS= advanced appconvert gssapi index install macosx mechanisms \ PLIST_SUB= PREFIX=${PREFIX} \ OTP=${OTP} \ + CRAM=${CRAM} \ + DIGEST=${DIGEST} \ GSSAPI=${GSSAPI} \ EBONES=${EBONES} \ DOCSDIR=${DOCSDIR:S/^${PREFIX}\///} \ diff --git a/security/cyrus-sasl2/pkg-plist b/security/cyrus-sasl2/pkg-plist index cdb3e1708cf0..40702b6ddc29 100644 --- a/security/cyrus-sasl2/pkg-plist +++ b/security/cyrus-sasl2/pkg-plist @@ -13,12 +13,12 @@ lib/libsasl2.so.2 lib/sasl2/libanonymous.a lib/sasl2/libanonymous.so lib/sasl2/libanonymous.so.2 -lib/sasl2/libcrammd5.a -lib/sasl2/libcrammd5.so -lib/sasl2/libcrammd5.so.2 -lib/sasl2/libdigestmd5.a -lib/sasl2/libdigestmd5.so -lib/sasl2/libdigestmd5.so.2 +%%CRAM%%lib/sasl2/libcrammd5.a +%%CRAM%%lib/sasl2/libcrammd5.so +%%CRAM%%lib/sasl2/libcrammd5.so.2 +%%DIGEST%%lib/sasl2/libdigestmd5.a +%%DIGEST%%lib/sasl2/libdigestmd5.so +%%DIGEST%%lib/sasl2/libdigestmd5.so.2 %%GSSAPI%%lib/sasl2/libgssapiv2.a %%GSSAPI%%lib/sasl2/libgssapiv2.so %%GSSAPI%%lib/sasl2/libgssapiv2.so.2 |