pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/cyrus-sasl Add current contents of security/c...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cb9e4792fdff
branches: trunk
changeset: 511393:cb9e4792fdff
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Apr 13 21:32:40 2006 +0000
description:
Add current contents of security/cyrus-sasl2, starting its move
to security/cyrus-sasl (to make PKGNAME match directory name).
diffstat:
security/cyrus-sasl/DEINSTALL | 19 ++++++
security/cyrus-sasl/DESCR | 14 ++++
security/cyrus-sasl/MESSAGE | 21 +++++++
security/cyrus-sasl/Makefile | 71 ++++++++++++++++++++++++
security/cyrus-sasl/Makefile.common | 88 ++++++++++++++++++++++++++++++
security/cyrus-sasl/PLIST | 100 +++++++++++++++++++++++++++++++++++
security/cyrus-sasl/buildlink3.mk | 22 +++++++
security/cyrus-sasl/distinfo | 21 +++++++
security/cyrus-sasl/patches/patch-aa | 25 ++++++++
security/cyrus-sasl/patches/patch-ab | 25 ++++++++
security/cyrus-sasl/patches/patch-ac | 16 +++++
security/cyrus-sasl/patches/patch-ad | 13 ++++
security/cyrus-sasl/patches/patch-ae | 16 +++++
security/cyrus-sasl/patches/patch-af | 13 ++++
security/cyrus-sasl/patches/patch-ag | 13 ++++
security/cyrus-sasl/patches/patch-ah | 13 ++++
security/cyrus-sasl/patches/patch-ai | 68 +++++++++++++++++++++++
security/cyrus-sasl/patches/patch-ak | 13 ++++
security/cyrus-sasl/patches/patch-al | 13 ++++
security/cyrus-sasl/patches/patch-ap | 25 ++++++++
security/cyrus-sasl/patches/patch-aq | 55 +++++++++++++++++++
security/cyrus-sasl/patches/patch-ar | 19 ++++++
security/cyrus-sasl/patches/patch-as | 39 +++++++++++++
security/cyrus-sasl/patches/patch-at | 12 ++++
24 files changed, 734 insertions(+), 0 deletions(-)
diffs (truncated from 830 to 300 lines):
diff -r 0c5845e1d4c6 -r cb9e4792fdff security/cyrus-sasl/DEINSTALL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/cyrus-sasl/DEINSTALL Thu Apr 13 21:32:40 2006 +0000
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+# $NetBSD: DEINSTALL,v 1.8 2006/04/13 21:32:40 wiz Exp $
+
+SASLDB=@PKG_SYSCONFDIR@/sasldb.db
+
+case ${STAGE} in
+POST-DEINSTALL)
+ if [ -f ${SASLDB} ]; then
+ ${CAT} << EOF
+===========================================================================
+You may want to remove the SASL password data file:
+
+ ${SASLDB}
+===========================================================================
+EOF
+ fi
+ ;;
+esac
diff -r 0c5845e1d4c6 -r cb9e4792fdff security/cyrus-sasl/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/cyrus-sasl/DESCR Thu Apr 13 21:32:40 2006 +0000
@@ -0,0 +1,14 @@
+SASL is a method for adding authentication support to connection-based
+protocols. To use SASL, a protocol includes a command for identifying and
+authenticating a user to a server and for optionally negotiating protection
+of subsequent protocol interactions. If its use is negotiated, a security
+layer is inserted between the protocol and the connection.
+
+This is the Cyrus SASL API implentation. It can be used on the client or
+server side to provide authentication. See RFC 2222 for more information.
+
+There's a mailing list for Cyrus SASL. Subscribe by sending a message
+to majordomo%lists.andrew.cmu.edu@localhost with the body "subscribe cyrus-sasl".
+The mailing list is available via anonymous IMAP at
+imap://cyrus.andrew.cmu.edu/archive.cyrus-sasl or via the web at
+http://asg.web.cmu.edu/archive/mailbox.php3?mailbox=archive.cyrus-sasl.
diff -r 0c5845e1d4c6 -r cb9e4792fdff security/cyrus-sasl/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/cyrus-sasl/MESSAGE Thu Apr 13 21:32:40 2006 +0000
@@ -0,0 +1,21 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2006/04/13 21:32:40 wiz Exp $
+
+${PKGNAME} by default does *not* install any authentication plugin
+modules. Until the necessary authentication plugin modules are
+installed, e.g. security/cy2-crammd5 or security/cy2-gssapi, you
+will probably get errors about "no appropriate mechs available".
+
+${PKGNAME} will use the following directory as the default
+path to its plugin modules:
+
+ ${_PLUGINDIR}
+
+The search path for plugin modules can be customized by setting the
+SASL_PATH variable to a colon-delimted list of directories in the shell
+environment.
+
+To allow plaintext authentication without using the sasldb mechanism, the
+package security/cyrus-saslauthd should be installed.
+
+===========================================================================
diff -r 0c5845e1d4c6 -r cb9e4792fdff security/cyrus-sasl/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/cyrus-sasl/Makefile Thu Apr 13 21:32:40 2006 +0000
@@ -0,0 +1,71 @@
+# $NetBSD: Makefile,v 1.50 2006/04/13 21:32:40 wiz Exp $
+
+.include "Makefile.common"
+
+PKGREVISION= 3
+SVR4_PKGNAME= csasl
+COMMENT= Simple Authentication and Security Layer
+
+.if exists(/usr/include/ndbm.h)
+SASL_DBTYPE?= ndbm
+.else
+SASL_DBTYPE?= berkeley
+.endif
+BUILD_DEFS+= SASL_DBTYPE
+
+.if ${SASL_DBTYPE} == "berkeley"
+USE_DB185= no
+. include "../../mk/bdb.buildlink3.mk"
+.endif
+
+CONFIGURE_ARGS+= --with-dblib=${SASL_DBTYPE:Q}
+CONFIGURE_ARGS+= --with-dbpath=${PKG_SYSCONFDIR}/sasldb
+
+# Support using Cyrus saslauthd (security/cyrus-saslauthd) for plaintext
+# password authentication.
+#
+SASLSOCKETDIR?= ${VARBASE}/run/saslauthd
+CONFIGURE_ARGS+= --with-saslauthd=${SASLSOCKETDIR:Q}
+BUILD_DEFS+= SASLSOCKETDIR
+
+# Support using the Courier authdaemond (security/courier-authlib) for
+# plaintext password authentication.
+#
+AUTHDAEMONVAR?= ${VARBASE}/authdaemon
+CONFIGURE_ARGS+= --with-authdaemond=${AUTHDAEMONVAR}/socket
+BUILD_DEFS+= AUTHDAEMONVAR
+
+# Support using APOP against a POP server for plaintext password
+# authentication.
+#
+CONFIGURE_ARGS+= --enable-checkapop
+
+.if exists(/dev/urandom)
+SASL_ENTROPY_SOURCE?= /dev/urandom
+.endif
+.if defined(SASL_ENTROPY_SOURCE)
+CONFIGURE_ARGS+= --with-devrandom=${SASL_ENTROPY_SOURCE:Q}
+.endif
+BUILD_DEFS+= SASL_ENTROPY_SOURCE
+
+# 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:Q}
+FILES_SUBST+= ROOT_USER=${ROOT_USER:Q}
+BUILD_DEFS+= CYRUS_USER CYRUS_GROUP
+
+PKG_GROUPS= ${CYRUS_GROUP}
+PKG_USERS= ${CYRUS_USER}:${CYRUS_GROUP}::::${SH}
+
+MESSAGE_SUBST+= _PLUGINDIR=${_PLUGINDIR:Q}
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ cd ${WRKSRC}/doc; for file in *.fig *.html *.txt; do \
+ ${INSTALL_DATA} $$file ${DOCDIR}; \
+ done
+
+.include "../../mk/bsd.pkg.mk"
diff -r 0c5845e1d4c6 -r cb9e4792fdff security/cyrus-sasl/Makefile.common
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/cyrus-sasl/Makefile.common Thu Apr 13 21:32:40 2006 +0000
@@ -0,0 +1,88 @@
+# $NetBSD: Makefile.common,v 1.8 2006/04/13 21:32:40 wiz Exp $
+#
+# This file is currently included by:
+#
+# security/cyrus-sasl/Makefile
+# security/cy2-anonymous/Makefile
+# security/cy2-crammd5/Makefile
+# security/cy2-digestmd5/Makefile
+# security/cy2-gssapi/Makefile
+# security/cy2-login/Makefile
+# security/cy2-ntlm/Makefile
+# security/cy2-otp/Makefile
+# security/cy2-plain/Makefile
+# security/cy2-sql/Makefile
+#
+# This Makefile fragment should be included _below_ any SASL_PLUGIN
+# definition and _above_ any CONFIGURE_ARGS definitions.
+
+DISTNAME= cyrus-sasl-2.1.20
+CATEGORIES= security
+MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
+ ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/OLD-VERSIONS/sasl/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://asg.web.cmu.edu/sasl/
+
+DISTINFO_FILE= ${.CURDIR}/../cyrus-sasl/distinfo
+PATCHDIR= ${.CURDIR}/../cyrus-sasl/patches
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+.include "../../mk/bsd.prefs.mk"
+
+.if defined(SASL_PLUGIN) && !empty(SASL_PLUGIN:M[yY][eE][sS])
+. include "../../security/cyrus-sasl/buildlink3.mk"
+CPPFLAGS+= -I${BUILDLINK_PREFIX.cyrus-sasl}/include/sasl
+. if defined(DEFAULT_VIEW.cyrus-sasl)
+DEFAULT_VIEW.${PKGBASE}= ${DEFAULT_VIEW.cyrus-sasl}
+. endif
+.endif
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= gmake
+
+USE_LIBTOOL= yes
+LTCONFIG_OVERRIDE+= ${WRKSRC}/config/ltconfig
+MAKE_ENV+= SHLIBTOOL=${SHLIBTOOL:Q}
+
+DOCDIR= ${PREFIX}/share/doc/cyrus-sasl
+PLUGINDIR= ${PREFIX}/lib/sasl2
+_PLUGINDIR= ${VIEWBASE}/lib/sasl2
+
+CONFIGURE_ARGS+= --with-plugindir=${_PLUGINDIR:Q}
+
+# Authentication mechanisms
+CONFIGURE_ARGS+= --disable-anon # ANONYMOUS
+CONFIGURE_ARGS+= --disable-checkapop # CHECKAPOP
+CONFIGURE_ARGS+= --disable-cram # CRAM-MD5
+CONFIGURE_ARGS+= --disable-digest # DIGEST-MD5
+CONFIGURE_ARGS+= --disable-gssapi # GSSAPI
+CONFIGURE_ARGS+= --disable-krb4 # KERBEROS_V4
+CONFIGURE_ARGS+= --disable-login # LOGIN
+CONFIGURE_ARGS+= --disable-ntlm # NTLM
+CONFIGURE_ARGS+= --disable-otp # OTP
+CONFIGURE_ARGS+= --disable-plain # PLAIN
+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
+CONFIGURE_ARGS+= --without-saslauthd
+
+# Left here as reference for patch makers...
+# clean up a bit to help package maintainer produce patch files
+#
+#USE_TOOLS+= automake
+#
+#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; \
+# autoheader; \
+# automake -a --gnu -i ; \
+# autoconf
diff -r 0c5845e1d4c6 -r cb9e4792fdff security/cyrus-sasl/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/cyrus-sasl/PLIST Thu Apr 13 21:32:40 2006 +0000
@@ -0,0 +1,100 @@
+@comment $NetBSD: PLIST,v 1.4 2006/04/13 21:32:40 wiz Exp $
+include/sasl/hmac-md5.h
+include/sasl/md5.h
+include/sasl/md5global.h
+include/sasl/prop.h
+include/sasl/sasl.h
+include/sasl/saslplug.h
+include/sasl/saslutil.h
+lib/libsasl2.la
+lib/sasl2/libsasldb.la
+man/man3/sasl.3
+man/man3/sasl_authorize_t.3
+man/man3/sasl_auxprop.3
+man/man3/sasl_auxprop_getctx.3
+man/man3/sasl_auxprop_request.3
+man/man3/sasl_callbacks.3
+man/man3/sasl_canon_user_t.3
+man/man3/sasl_chalprompt_t.3
+man/man3/sasl_checkapop.3
+man/man3/sasl_checkpass.3
+man/man3/sasl_client_init.3
+man/man3/sasl_client_new.3
+man/man3/sasl_client_start.3
+man/man3/sasl_client_step.3
+man/man3/sasl_decode.3
+man/man3/sasl_dispose.3
+man/man3/sasl_done.3
+man/man3/sasl_encode.3
+man/man3/sasl_encodev.3
+man/man3/sasl_errdetail.3
+man/man3/sasl_errors.3
+man/man3/sasl_errstring.3
+man/man3/sasl_getopt_t.3
+man/man3/sasl_getpath_t.3
+man/man3/sasl_getprop.3
+man/man3/sasl_getrealm_t.3
+man/man3/sasl_getsecret_t.3
+man/man3/sasl_getsimple_t.3
+man/man3/sasl_global_listmech.3
+man/man3/sasl_idle.3
+man/man3/sasl_listmech.3
+man/man3/sasl_log_t.3
+man/man3/sasl_server_init.3
+man/man3/sasl_server_new.3
+man/man3/sasl_server_start.3
+man/man3/sasl_server_step.3
+man/man3/sasl_server_userdb_checkpass_t.3
+man/man3/sasl_server_userdb_setpass_t.3
+man/man3/sasl_setpass.3
+man/man3/sasl_setprop.3
+man/man3/sasl_user_exists.3
+man/man3/sasl_verifyfile_t.3
+man/man8/sasldblistusers2.8
+man/man8/saslpasswd2.8
+sbin/sasldblistusers2
+sbin/saslpasswd2
+share/doc/cyrus-sasl/advanced.html
+share/doc/cyrus-sasl/appconvert.html
+share/doc/cyrus-sasl/components.html
+share/doc/cyrus-sasl/draft-burdis-cat-srp-sasl-08.txt
+share/doc/cyrus-sasl/draft-ietf-sasl-anon-02.txt
+share/doc/cyrus-sasl/draft-ietf-sasl-crammd5-01.txt
+share/doc/cyrus-sasl/draft-ietf-sasl-gssapi-00.txt
Home |
Main Index |
Thread Index |
Old Index