summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2004-01-15 21:08:57 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2004-01-15 21:08:57 +0000
commitacbb60393b5ce14960d9b449f6d9675dc6da87a8 (patch)
tree38e797eea4978f17e3b40a80280d1907f42ac3ae /security
parentUpdate to 2.2.3. (diff)
add WITHOUT_LOGIN and WITHOUT_PLAIN.
Requested by: Hans Hbner <hans@huebner.org>
Notes
Notes: svn path=/head/; revision=98224
Diffstat (limited to 'security')
-rw-r--r--security/cyrus-sasl2/Makefile14
-rw-r--r--security/cyrus-sasl2/pkg-plist12
2 files changed, 19 insertions, 7 deletions
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile
index 3d54ce530892..5bbf56d276ab 100644
--- a/security/cyrus-sasl2/Makefile
+++ b/security/cyrus-sasl2/Makefile
@@ -47,7 +47,6 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
--includedir=${PREFIX}/include \
--mandir=${MANPREFIX}/man \
--enable-static \
- --enable-login \
--enable-auth-sasldb \
--with-openssl=${OPENSSLBASE} \
--with-rc4=openssl \
@@ -104,6 +103,17 @@ CONFIGURE_ARGS+=--with-devrandom=/dev/urandom
CONFIGURE_ARGS+=--enable-alwaystrue
.endif
+.if defined(WITHOUT_LOGIN)
+LOGIN= "@comment "
+.else
+CONFIGURE_ARGS+=--enable-login
+.endif
+
+.if defined(WITHOUT_PLAIN)
+CONFIGURE_ARGS+=--disable-plain
+PLAIN= "@comment "
+.endif
+
.if defined(WITHOUT_OTP)
CONFIGURE_ARGS+=--disable-otp
OTP= "@comment "
@@ -182,6 +192,8 @@ HTDOCS= advanced appconvert gssapi index install macosx mechanisms \
options plugprog programming readme sysadmin upgrading windows
PLIST_SUB= PREFIX=${PREFIX} \
+ LOGIN=${LOGIN} \
+ PLAIN=${PLAIN} \
OTP=${OTP} \
CRAM=${CRAM} \
DIGEST=${DIGEST} \
diff --git a/security/cyrus-sasl2/pkg-plist b/security/cyrus-sasl2/pkg-plist
index 72a5a367dacf..d14f985fe59e 100644
--- a/security/cyrus-sasl2/pkg-plist
+++ b/security/cyrus-sasl2/pkg-plist
@@ -24,9 +24,9 @@ lib/sasl2/libanonymous.so.2
%%EBONES%%lib/sasl2/libkerberos4.a
%%EBONES%%lib/sasl2/libkerberos4.so
%%EBONES%%lib/sasl2/libkerberos4.so.2
-lib/sasl2/liblogin.a
-lib/sasl2/liblogin.so
-lib/sasl2/liblogin.so.2
+%%LOGIN%%lib/sasl2/liblogin.a
+%%LOGIN%%lib/sasl2/liblogin.so
+%%LOGIN%%lib/sasl2/liblogin.so.2
%%SQL%%lib/sasl2/libsql.a
%%SQL%%lib/sasl2/libsql.so
%%SQL%%lib/sasl2/libsql.so.2
@@ -36,9 +36,9 @@ lib/sasl2/liblogin.so.2
%%OTP%%lib/sasl2/libotp.a
%%OTP%%lib/sasl2/libotp.so
%%OTP%%lib/sasl2/libotp.so.2
-lib/sasl2/libplain.a
-lib/sasl2/libplain.so
-lib/sasl2/libplain.so.2
+%%PLAIN%%lib/sasl2/libplain.a
+%%PLAIN%%lib/sasl2/libplain.so
+%%PLAIN%%lib/sasl2/libplain.so.2
lib/sasl2/libsasldb.a
lib/sasl2/libsasldb.so
lib/sasl2/libsasldb.so.2