aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2004-01-16 05:08:57 +0800
committerume <ume@FreeBSD.org>2004-01-16 05:08:57 +0800
commit551db4c09b547243feba8611757a2fa9d7299b49 (patch)
tree338b7b742c7f9da84df93f1e2a083476bb1d4a18 /security
parent873b0b821bf76fcdc37c3f22a30c31d0efdda9bf (diff)
downloadfreebsd-ports-gnome-551db4c09b547243feba8611757a2fa9d7299b49.tar.gz
freebsd-ports-gnome-551db4c09b547243feba8611757a2fa9d7299b49.tar.zst
freebsd-ports-gnome-551db4c09b547243feba8611757a2fa9d7299b49.zip
add WITHOUT_LOGIN and WITHOUT_PLAIN.
Requested by: Hans Hbner <hans@huebner.org>
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