diff options
-rw-r--r-- | security/cyrus-sasl2/Makefile | 41 | ||||
-rw-r--r-- | security/cyrus-sasl2/Makefile.common | 36 | ||||
-rw-r--r-- | security/cyrus-sasl2/PLIST | 27 | ||||
-rw-r--r-- | security/cyrus-sasl2/distinfo | 3 | ||||
-rw-r--r-- | security/cyrus-sasl2/options.mk | 40 | ||||
-rw-r--r-- | security/cyrus-sasl2/patches/patch-ah | 13 |
6 files changed, 49 insertions, 111 deletions
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile index 17e123f8cfa..ae560c5fbce 100644 --- a/security/cyrus-sasl2/Makefile +++ b/security/cyrus-sasl2/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.36 2004/08/06 06:36:18 jlam Exp $ +# $NetBSD: Makefile,v 1.37 2004/08/13 18:08:02 jlam Exp $ .include "Makefile.common" -PKGREVISION= 1 +PKGREVISION= 2 SVR4_PKGNAME= csasl COMMENT= Simple Authentication and Security Layer @@ -21,26 +21,24 @@ USE_DB185= no CONFIGURE_ARGS+= --with-dblib=${SASL_DBTYPE} CONFIGURE_ARGS+= --with-dbpath=${PKG_SYSCONFDIR}/sasldb -# Authentication mechanisms -CONFIGURE_ARGS+= --enable-anon # ANONYMOUS -CONFIGURE_ARGS+= --enable-checkapop # CHECKAPOP -CONFIGURE_ARGS+= --enable-cram # CRAM-MD5 -CONFIGURE_ARGS+= --enable-otp # OTP -CONFIGURE_ARGS+= --enable-plain # PLAIN - -CONFIGURE_ARGS+= --enable-digest # DIGEST-MD5 -CONFIGURE_ARGS+= --with-rc4 -CONFIGURE_ARGS+= --with-openssl=${SSLBASE} -.include "../../security/openssl/buildlink3.mk" +# Support using Cyrus saslauthd (security/cyrus-saslauthd) for plaintext +# password authentication. +# +SASLSOCKETDIR?= ${VARBASE}/run/saslauthd +CONFIGURE_ARGS+= --with-saslauthd=${SASLSOCKETDIR} +BUILD_DEFS+= SASLSOCKETDIR -# Support using the Courier authdaemon (mail/courier-auth*) for -# plaintext password authentication. +# Support using the Courier authdaemon (mail/courier-auth*) for plaintext +# password authentication. # AUTHDAEMONVAR?= ${VARBASE}/authdaemon CONFIGURE_ARGS+= --with-authdaemond=${AUTHDAEMONVAR} BUILD_DEFS+= AUTHDAEMONVAR -.include "options.mk" +# Support using APOP against a POP server for plaintext password +# authentication. +# +CONFIGURE_ARGS+= --enable-checkapop .if exists(/dev/urandom) SASL_ENTROPY_SOURCE?= /dev/urandom @@ -50,9 +48,18 @@ CONFIGURE_ARGS+= --with-devrandom=${SASL_ENTROPY_SOURCE} .endif BUILD_DEFS+= SASL_ENTROPY_SOURCE -USE_PKGINSTALL= YES +USE_PKGINSTALL= yes DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL +# CYRUS_USER username of the Cyrus administrator +# CYRUS_GROUP group of the Cyrus administrator +# +CYRUS_USER?= cyrus +CYRUS_GROUP?= mail +FILES_SUBST+= CYRUS_USER=${CYRUS_USER} +FILES_SUBST+= ROOT_USER=${ROOT_USER} +BUILD_DEFS+= CYRUS_USER CYRUS_GROUP + PKG_GROUPS= ${CYRUS_GROUP} PKG_USERS= ${CYRUS_USER}:${CYRUS_GROUP}::::${SH} OWN_DIRS= ${PLUGINDIR} diff --git a/security/cyrus-sasl2/Makefile.common b/security/cyrus-sasl2/Makefile.common index dcb385bac32..8a4632ff89d 100644 --- a/security/cyrus-sasl2/Makefile.common +++ b/security/cyrus-sasl2/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.23 2004/08/04 19:41:07 jlam Exp $ +# $NetBSD: Makefile.common,v 1.24 2004/08/13 18:08:02 jlam Exp $ # # This file is currently included by: # @@ -41,23 +41,10 @@ USE_GNU_TOOLS+= make USE_LIBTOOL= yes MAKE_ENV+= SHLIBTOOL=${SHLIBTOOL:Q} -# CYRUS_USER username of the Cyrus administrator -# CYRUS_GROUP group of the Cyrus administrator -# -CYRUS_USER?= cyrus -CYRUS_GROUP?= mail -FILES_SUBST+= CYRUS_USER=${CYRUS_USER} -FILES_SUBST+= ROOT_USER=${ROOT_USER} -BUILD_DEFS+= CYRUS_USER CYRUS_GROUP - +HTMLDIR= ${PREFIX}/share/doc/html/cyrus-sasl PLUGINDIR= ${PREFIX}/lib/sasl2 _PLUGINDIR= ${VIEWBASE}/lib/sasl2 -HTMLDIR= ${PREFIX}/share/doc/html/cyrus-sasl -SASLSOCKETDIR?= ${VARBASE}/run/saslauthd -BUILD_DEFS+= SASLSOCKETDIR - -CONFIGURE_ARGS+= --with-saslauthd=${SASLSOCKETDIR} CONFIGURE_ARGS+= --with-plugindir=${_PLUGINDIR} # Authentication mechanisms @@ -75,14 +62,16 @@ CONFIGURE_ARGS+= --disable-sql # SQL CONFIGURE_ARGS+= --disable-srp # SRP CONFIGURE_ARGS+= --disable-srp-setpass CONFIGURE_ARGS+= --with-dblib=none +CONFIGURE_ARGS+= --without-openssl CONFIGURE_ARGS+= --without-pam - -# clean up a bit to help package maintainer produce patch files -post-extract: - ${_PKG_SILENT}${_PKG_DEBUG} \ - ${FIND} ${WRKSRC} -type f -name "*.orig" -print | ${XARGS} ${RM} -f +CONFIGURE_ARGS+= --without-saslauthd # Left here as reference for patch makers... +# clean up a bit to help package maintainer produce patch files +#post-extract: +# ${_PKG_SILENT}${_PKG_DEBUG} \ +# ${FIND} ${WRKSRC} -type f -name "*.orig" -print | ${XARGS} ${RM} -f +# #pre-configure: # cd ${WRKSRC}; \ # ${ACLOCAL} -I cmulocal -I config; \ @@ -91,10 +80,3 @@ post-extract: # ${AUTOCONF} # #.include "../../mk/automake.mk" - -post-configure: - cd ${WRKSRC}; for file in plugins/Makefile; do \ - ${SED} -e "s|^\(LIBTOOL =\).*|\1 \$$(SHLIBTOOL)|g" \ - $$file > $$file.new; \ - ${MV} -f $$file.new $$file; \ - done diff --git a/security/cyrus-sasl2/PLIST b/security/cyrus-sasl2/PLIST index 50efdf8d2f4..701bb49ab6e 100644 --- a/security/cyrus-sasl2/PLIST +++ b/security/cyrus-sasl2/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2004/08/04 19:41:07 jlam Exp $ +@comment $NetBSD: PLIST,v 1.3 2004/08/13 18:08:02 jlam Exp $ include/sasl/hmac-md5.h include/sasl/md5.h include/sasl/md5global.h @@ -6,35 +6,10 @@ include/sasl/prop.h include/sasl/sasl.h include/sasl/saslplug.h include/sasl/saslutil.h -lib/libsasl2.a lib/libsasl2.la lib/libsasl2.so lib/libsasl2.so.2 lib/libsasl2.so.2.19 -lib/sasl2/libanonymous.la -lib/sasl2/libanonymous.so -lib/sasl2/libanonymous.so.2 -lib/sasl2/libanonymous.so.2.19 -lib/sasl2/libcrammd5.la -lib/sasl2/libcrammd5.so -lib/sasl2/libcrammd5.so.2 -lib/sasl2/libcrammd5.so.2.19 -lib/sasl2/libdigestmd5.la -lib/sasl2/libdigestmd5.so -lib/sasl2/libdigestmd5.so.2 -lib/sasl2/libdigestmd5.so.2.19 -${GSSAPI}lib/sasl2/libgssapiv2.la -${GSSAPI}lib/sasl2/libgssapiv2.so -${GSSAPI}lib/sasl2/libgssapiv2.so.2 -${GSSAPI}lib/sasl2/libgssapiv2.so.2.19 -lib/sasl2/libotp.la -lib/sasl2/libotp.so -lib/sasl2/libotp.so.2 -lib/sasl2/libotp.so.2.19 -lib/sasl2/libplain.la -lib/sasl2/libplain.so -lib/sasl2/libplain.so.2 -lib/sasl2/libplain.so.2.19 lib/sasl2/libsasldb.la lib/sasl2/libsasldb.so lib/sasl2/libsasldb.so.2 diff --git a/security/cyrus-sasl2/distinfo b/security/cyrus-sasl2/distinfo index 535c68151e5..2eb2bb4af4e 100644 --- a/security/cyrus-sasl2/distinfo +++ b/security/cyrus-sasl2/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.21 2004/08/06 06:36:18 jlam Exp $ +$NetBSD: distinfo,v 1.22 2004/08/13 18:08:02 jlam Exp $ SHA1 (cyrus-sasl-2.1.19.tar.gz) = 9512d70ecea33b9d44e69d185a323a0f7b133705 Size (cyrus-sasl-2.1.19.tar.gz) = 1537350 bytes @@ -9,6 +9,7 @@ SHA1 (patch-ad) = 351184f685a8e71f1add59452cca44728ddfec25 SHA1 (patch-ae) = cfd176eea2e1dba320be14a7d9bf2a4426ba39ad SHA1 (patch-af) = c024ff3fe7712b9fce2e064bdc037323838231ef SHA1 (patch-ag) = f62062ecee2bf133572d09049a77c5624ddb7f70 +SHA1 (patch-ah) = 1b0cd2d822dac2b01523fbc712f6544cd9fc298d SHA1 (patch-ai) = 6cc7ee82c3e0faad0c39868ac156fddf53d36ba7 SHA1 (patch-ak) = 32521eef7f8a9b590089f078edaa706c74d91651 SHA1 (patch-al) = fd99c13ec5618888eb79201363475da6e376d7cb diff --git a/security/cyrus-sasl2/options.mk b/security/cyrus-sasl2/options.mk deleted file mode 100644 index fe2b28c2013..00000000000 --- a/security/cyrus-sasl2/options.mk +++ /dev/null @@ -1,40 +0,0 @@ -# $NetBSD: options.mk,v 1.1 2004/08/05 03:04:34 jlam Exp $ - -# Global and legacy options -.if defined(KERBEROS) || defined(SASL_USE_GSSAPI) -. if !defined(PKG_OPTIONS.cyrus-sasl) -. if defined(KERBEROS) -PKG_OPTIONS.cyrus-sasl+= kerberos -. endif -. if defined(SASL_USE_GSSAPI) && !empty(SASL_USE_GSSAPI:M[yY][eE][sS]) -PKG_OPTIONS.cyrus-sasl+= gssapi -. endif -. endif -.endif - -PKG_OPTIONS_VAR= PKG_OPTIONS.cyrus-sasl -PKG_SUPPORTED_OPTIONS= gssapi kerberos -.include "../../mk/bsd.options.mk" - -### -### Kerberos authentication is via GSSAPI. -### -.if !empty(PKG_OPTIONS:Mkerberos) -. if empty(PKG_OPTIONS:Mgssapi) -PKG_OPTIONS+= gssapi -. endif -.endif - -### -### Authentication via GSSAPI (which supports primarily Kerberos 5) -### -.if !empty(PKG_OPTIONS:Mgssapi) -. include "../../mk/krb5.buildlink3.mk" -CONFIGURE_ARGS+= --enable-gssapi=${KRB5BASE} -CONFIGURE_ARGS+= --with-gss_impl=${GSSIMPL.${KRB5_TYPE}} -GSSIMPL.heimdal= heimdal -GSSIMPL.mit-krb5= mit -PLIST_SUBST+= GSSAPI= -.else -PLIST_SUBST+= GSSAPI="@comment " -.endif diff --git a/security/cyrus-sasl2/patches/patch-ah b/security/cyrus-sasl2/patches/patch-ah new file mode 100644 index 00000000000..0144fb91ddb --- /dev/null +++ b/security/cyrus-sasl2/patches/patch-ah @@ -0,0 +1,13 @@ +$NetBSD: patch-ah,v 1.4 2004/08/13 18:08:02 jlam Exp $ + +--- lib/Makefile.in.orig Fri Aug 13 13:53:00 2004 ++++ lib/Makefile.in +@@ -121,7 +121,7 @@ JAVA_TRUE = @JAVA_TRUE@ + LDFLAGS = @LDFLAGS@ + LIBOBJS = @LIBOBJS@ + LIBS = @LIBS@ +-LIBTOOL = @LIBTOOL@ ++LIBTOOL = $(SHLIBTOOL) + LIB_CRYPT = @LIB_CRYPT@ + LIB_DES = @LIB_DES@ + LIB_DOOR = @LIB_DOOR@ |