diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2000-06-18 10:00:08 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2000-06-18 10:00:08 +0000 |
commit | e497906508084a5501f27a53a8ec0f23aa446e5b (patch) | |
tree | 152d32d807e92b14ac8ade604a4d650b637b1e93 /security/cyrus-sasl2 | |
parent | A new index, with 3,403 ports, which is a nice number, being 41 times (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_3_5_0'.release/3.5.0
Diffstat (limited to 'security/cyrus-sasl2')
-rw-r--r-- | security/cyrus-sasl2/Makefile | 128 | ||||
-rw-r--r-- | security/cyrus-sasl2/distinfo | 1 | ||||
-rw-r--r-- | security/cyrus-sasl2/files/patch-ab | 35 | ||||
-rw-r--r-- | security/cyrus-sasl2/files/pwcheck.sh | 31 | ||||
-rw-r--r-- | security/cyrus-sasl2/pkg-comment | 1 | ||||
-rw-r--r-- | security/cyrus-sasl2/pkg-descr | 36 | ||||
-rw-r--r-- | security/cyrus-sasl2/pkg-install | 73 | ||||
-rw-r--r-- | security/cyrus-sasl2/pkg-message | 4 | ||||
-rw-r--r-- | security/cyrus-sasl2/pkg-plist | 66 |
9 files changed, 0 insertions, 375 deletions
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile deleted file mode 100644 index 75b9e5164b0a..000000000000 --- a/security/cyrus-sasl2/Makefile +++ /dev/null @@ -1,128 +0,0 @@ -# New ports collection makefile for: cyrus-sasl -# Date created: Nov 1 1999 -# Whom: hetzels@westbend.net -# -# $FreeBSD$ -# - -PORTNAME= cyrus-sasl -PORTVERSION= 1.5.21 -CATEGORIES= security -MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \ - http://people.FreeBSD.org/~stb/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/ \ - ftp://ftp.hanse.de/sites/transit/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/ - -MAINTAINER= hetzels@westbend.net - -USE_OPENSSL= RSA - -INSTALLS_SHLIB= yes - -.include <bsd.port.pre.mk> - -Y2K= http://asg.web.cmu.edu/cyrus/imapd/y2k.html - -MAN3= sasl.3 sasl_authorize_t.3 sasl_callbacks.3 sasl_checkpass.3 \ - sasl_client_init.3 sasl_client_new.3 sasl_client_start.3 sasl_client_step.3 \ - sasl_decode.3 sasl_done.3 sasl_encode.3 sasl_errstring.3 sasl_getopt_t.3 \ - sasl_getpath_t.3 sasl_getprop.3 sasl_getsecret_t.3 sasl_getsimple_t.3 \ - sasl_listmech.3 sasl_log_t.3 \ - sasl_server_init.3 sasl_server_new.3 sasl_server_start.3 sasl_server_step.3 \ - sasl_setprop.3 sasl_usererr.3 -MAN8= sasldblistusers.8 saslpasswd.8 - -USE_AUTOCONF= YES -USE_LIBTOOL= YES -CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \ - --with-plugindir=${PREFIX}/lib/sasl \ - --with-dbpath=${PREFIX}/etc/sasldb \ - --includedir=${PREFIX}/include/sasl \ - --enable-static \ - --enable-login \ - --with-pwcheck=/var/pwcheck \ - --with-rc4=openssl - -# JavaSASL is currently Broken -#JAVADIR= jdk1.1.8 -#JAVALIBDIR= ${PREFIX}/${JAVADIR}/lib/i386/green_threads/ - -#.if defined(USE_JAVA) || exists(${LOCALBASE}/${JAVADIR}/bin/java) -#BUILD_DEPENDS= ${LOCALBASE}/${JAVADIR}/bin/java:${PORTSDIR}/java/jdk -#CONFIGURE_ARGS+= --with-java \ -# --with-javabase=${LOCALBASE}/include -# -#CONFIGURE_ENV= JAVAC="${LOCALBASE}/${JAVADIR}/bin/javac" \ -# JAVAH="${LOCALBASE}/${JAVADIR}/bin/javah" \ -# JAVADOC="${LOCALBASE}/${JAVADIR}/bin/javadoc" -#.endif - -.if defined(KRB5_HOME) && exists(${KRB5_HOME}) -CONFIGURE_ARGS+= --enable-gssapi=${KRB5_HOME} -.else -CONFIGURE_ARGS+= --disable-gssapi -GSSAPI= "@comment " -.endif - -.if exists(/usr/lib/libkrb.a) -CONFIGURE_ARGS+= --enable-krb4 -.else -CONFIGURE_ARGS+= --disable-krb4 -EBONES= "@comment " -.endif - -CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} \ - OPENSSLINC=${OPENSSLINC} \ - OPENSSLLIB=${OPENSSLLIB} - -DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README TODO - -DOC2= draft-leach-digest-sasl-05.txt \ - draft-newman-auth-scram-03.txt \ - rfc1321.txt rfc2095.txt rfc2104.txt \ - rfc2222.txt rfc2245.txt - -HTDOCS= gssapi index programming sysadmin - -.if defined(NOPORTDOCS) -NODOCS= "@comment " -.endif - -PLIST_SUB= PREFIX=${PREFIX} \ - GSSAPI=${GSSAPI} \ - EBONES=${EBONES} \ - NOPORTDOCS=${NODOCS} - -# Create Cyrus user and group -pre-install: - @${SH} ${PKGDIR}/INSTALL ${PKGNAME} PRE-INSTALL - -post-install: - @${SED} -e "/%%PREFIX%%/s##${PREFIX}#g" ${FILESDIR}/pwcheck.sh \ - > ${PREFIX}/etc/rc.d/pwcheck.sh - @${CHMOD} 755 ${PREFIX}/etc/rc.d/pwcheck.sh - ${INSTALL} -d -m 700 -o cyrus -g cyrus /var/pwcheck -.if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/SASL/html -.for file in ${DOCS} - @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/SASL -.endfor -.for file in ${DOC2} - @${INSTALL_DATA} ${WRKSRC}/doc/${file} ${PREFIX}/share/doc/SASL -.endfor -.for file in ${HTDOCS} - @${INSTALL_DATA} ${WRKSRC}/doc/${file}.html ${PREFIX}/share/doc/SASL/html -.endfor -.endif - -.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc) -post-clean: - @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc - -.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc" -.elif ${PREFIX} != ${LOCALBASE} -# Save PREFIX so that it can be used during make install -.BEGIN: - @echo "PREFIX= ${PREFIX}" > ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc -.endif - -.include <bsd.port.post.mk> diff --git a/security/cyrus-sasl2/distinfo b/security/cyrus-sasl2/distinfo deleted file mode 100644 index e79ca2b3aab1..000000000000 --- a/security/cyrus-sasl2/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (cyrus-sasl-1.5.21.tar.gz) = ada3a2b8ca3fd27982dcb6a97a65f4aa diff --git a/security/cyrus-sasl2/files/patch-ab b/security/cyrus-sasl2/files/patch-ab deleted file mode 100644 index 334527822474..000000000000 --- a/security/cyrus-sasl2/files/patch-ab +++ /dev/null @@ -1,35 +0,0 @@ ---- configure.in.orig Mon May 8 12:51:13 2000 -+++ configure.in Sat Jun 10 20:23:18 2000 -@@ -66,8 +66,9 @@ - dnl check for -R, etc. switch - CMU_GUESS_RUNPATH_SWITCH - dnl let's just link against local. otherwise we never find anything useful. --CPPFLAGS="-I/usr/local/include ${CPPFLAGS}" --CMU_ADD_LIBPATH("/usr/local/lib") -+CPPFLAGS="-I${OPENSSLINC} -I${OPENSSLINC}/openssl ${CPPFLAGS}" -+CMU_ADD_LIBPATH("${LOCALBASE}/lib") -+CMU_ADD_LIBPATH("${OPENSSLLIB}") - - AM_DISABLE_STATIC - -@@ -413,8 +414,9 @@ - - if test "$with_des" != no; then - AC_CHECK_HEADER(krb.h, -- AC_CHECK_LIB(krb, krb_mk_priv,:, -- AC_WARN(No Kerberos V4 found); krb4=no, -+ AC_CHECK_LIB(krb, krb_mk_priv, COM_ERR="", -+ AC_CHECK_LIB(krb, krb_mk_err, COM_ERR="-lcom_err", -+ AC_WARN(No Kerberos V4 found); krb4=no,-ldes -lcom_err), - -ldes), - AC_WARN(No Kerberos V4 found); krb4=no) - else -@@ -428,7 +430,7 @@ - AC_MSG_RESULT(enabled) - SASL_MECHS="$SASL_MECHS libkerberos4.la" - AC_DEFINE(HAVE_KRB) -- SASL_KRB_LIB="-lkrb -ldes" -+ SASL_KRB_LIB="-lkrb -ldes $COM_ERR" - AC_SUBST(SASL_KRB_LIB) - else - AC_MSG_RESULT(disabled) diff --git a/security/cyrus-sasl2/files/pwcheck.sh b/security/cyrus-sasl2/files/pwcheck.sh deleted file mode 100644 index ba07b9fc580a..000000000000 --- a/security/cyrus-sasl2/files/pwcheck.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -PREFIX=%%PREFIX%% - -case "$1" in - -start) - if [ -x ${PREFIX}/sbin/pwcheck ] - then - ${PREFIX}/sbin/pwcheck & && echo -n " pwcheck" - fi - ;; - -stop) - if [ -r /var/run/pwcheck.pid ] - then - kill `cat /var/run/pwcheck.pid` && echo -n " pwcheck" - rm /var/run/pwcheck.pid - fi - ;; - -*) - echo "usage: $0 {start|stop}" 1>&2 - exit 64 - ;; - -esac - diff --git a/security/cyrus-sasl2/pkg-comment b/security/cyrus-sasl2/pkg-comment deleted file mode 100644 index d3823b87bff0..000000000000 --- a/security/cyrus-sasl2/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -RFC 2222 SASL (Simple Authentication and Security Layer) diff --git a/security/cyrus-sasl2/pkg-descr b/security/cyrus-sasl2/pkg-descr deleted file mode 100644 index f7549fbbe0a7..000000000000 --- a/security/cyrus-sasl2/pkg-descr +++ /dev/null @@ -1,36 +0,0 @@ -The Cyrus SASL (Simple Authentication and Security Layer) - -SASL is the Simple Authentication and Security Layer, 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. - -FEATURES --------- -The following mechanisms are included in this distribution: -ANONYMOUS -CRAM-MD5 -DIGEST-MD5 -GSSAPI (MIT Kerberos 5 or Heimdal Kerberos 5) -KERBEROS_V4 -PLAIN - -The library can use a Berkeley DB, gdbm or ndbm file on the server -side to store per-user authentication secrets. The utility saslpasswd -has been included for adding authentication secrets to the file. - -PLAIN can either check /etc/passwd, Kerberos V4, use PAM, or the sasl -secrets database. By default PAM is used if PAM is found, then -Kerberos, finally /etc/passwd (non-shadow). This is tweakable in the -configuration file. Please see -"${PREFIX}/share/doc/sasl/sysadmin.html". - -The sample directory contains two programs which provide a reference -for using the library, as well as making it easy to test a mechanism -on the command line. See "${PREFIX}/share/doc/sasl/programming.html" -for more information. - -WWW: http://asg.web.cmu.edu/sasl/ diff --git a/security/cyrus-sasl2/pkg-install b/security/cyrus-sasl2/pkg-install deleted file mode 100644 index d008d0c8ac5a..000000000000 --- a/security/cyrus-sasl2/pkg-install +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# Created by: stb@FreeBSD.org for the cyrus imap server -# Added to the cyrus-sasl port by hetzel@westbend.net - -#set -vx - -# -# create 'cyrus' user and group before installing -# - -create() { - if [ ! -x /usr/sbin/pw ]; then - echo "*** Please add a user and a group named \`cyrus' before installing this package." - exit 69 - fi - - if ! pw show group cyrus -q >/dev/null; then - gid=60 - while pw show group -g ${gid} -q >/dev/null; do - gid=`expr ${gid} + 1` - done - if ! pw add group cyrus -g ${gid}; then - e=$? - echo "*** Failed to add group \`cyrus'. Please add it manually." - exit ${e} - fi - echo "*** Added group \`cyrus' (id ${gid})" - else - gid=`pw show group cyrus 2>/dev/null | cut -d: -f3` - fi - - if [ -x /sbin/nologin ]; then - shell=/sbin/nologin - else - shell=/nonexistent - fi - if ! pw show user cyrus -q >/dev/null; then - uid=60 - while pw show user -u ${uid} -q >/dev/null; do - uid=`expr ${uid} + 1` - done - if ! pw add user cyrus -u ${uid} -g ${gid} -d "/nonexistent" \ - -c "the cyrus mail server" -s "${shell}" -p "*" \ - ; then - e=$? - echo "*** Failed to add user \`cyrus'. Please add it manually." - exit ${e} - fi - echo "*** Added user \`cyrus' (id ${uid})" - else - if ! pw mod user cyrus -g ${gid} -d "/nonexistent" \ - -c "the cyrus mail server" -s "${shell}" -p "*" \ - ; then - e=$? - echo "*** Failed to update user \`cyrus'." - exit ${e} - fi - echo "*** Updated user \`cyrus'." - fi - if ! pw group mod cyrus -m daemon; then - echo "*** can't add user \`daemon' to group \`cyrus'" - fi -} - -case $2 in - PRE-INSTALL) - create - ;; - -esac diff --git a/security/cyrus-sasl2/pkg-message b/security/cyrus-sasl2/pkg-message deleted file mode 100644 index 6f87cd3c393b..000000000000 --- a/security/cyrus-sasl2/pkg-message +++ /dev/null @@ -1,4 +0,0 @@ -Start the pwcheck program to have clients use the SASL libraries -as a non-root user: - - /usr/local/etc/rc.d/pwcheck.sh [start|stop] diff --git a/security/cyrus-sasl2/pkg-plist b/security/cyrus-sasl2/pkg-plist deleted file mode 100644 index 8d412ca78221..000000000000 --- a/security/cyrus-sasl2/pkg-plist +++ /dev/null @@ -1,66 +0,0 @@ -@unexec %D/etc/rc.d/pwcheck.sh stop ; echo "pwcheck stopped." -etc/rc.d/pwcheck.sh -include/sasl/hmac-md5.h -include/sasl/md5.h -include/sasl/md5global.h -include/sasl/sasl.h -include/sasl/saslplug.h -include/sasl/saslutil.h -@dirrm include/sasl -lib/libsasl.a -lib/libsasl.so -lib/libsasl.so.8 -lib/sasl/libanonymous.a -lib/sasl/libanonymous.so -lib/sasl/libanonymous.so.1 -lib/sasl/libcrammd5.a -lib/sasl/libcrammd5.so -lib/sasl/libcrammd5.so.1 -lib/sasl/libdigestmd5.a -lib/sasl/libdigestmd5.so -lib/sasl/libdigestmd5.so.0 -%%GSSAPI%%lib/sasl/libgssapiv2.a -%%GSSAPI%%lib/sasl/libgssapiv2.so -%%GSSAPI%%lib/sasl/libgssapiv2.so.1 -%%EBONES%%lib/sasl/libkerberos4.a -%%EBONES%%lib/sasl/libkerberos4.so -%%EBONES%%lib/sasl/libkerberos4.so.1 -lib/sasl/liblogin.a -lib/sasl/liblogin.so -lib/sasl/liblogin.so.0 -lib/sasl/libplain.a -lib/sasl/libplain.so -lib/sasl/libplain.so.1 -@dirrm lib/sasl -sbin/sasldblistusers -sbin/saslpasswd -sbin/pwcheck -%%NOPORTDOCS%%share/doc/SASL/AUTHORS -%%NOPORTDOCS%%share/doc/SASL/COPYING -%%NOPORTDOCS%%share/doc/SASL/ChangeLog -%%NOPORTDOCS%%share/doc/SASL/INSTALL -%%NOPORTDOCS%%share/doc/SASL/NEWS -%%NOPORTDOCS%%share/doc/SASL/README -%%NOPORTDOCS%%share/doc/SASL/TODO -%%NOPORTDOCS%%share/doc/SASL/draft-leach-digest-sasl-05.txt -%%NOPORTDOCS%%share/doc/SASL/draft-newman-auth-scram-03.txt -%%NOPORTDOCS%%share/doc/SASL/rfc1321.txt -%%NOPORTDOCS%%share/doc/SASL/rfc2095.txt -%%NOPORTDOCS%%share/doc/SASL/rfc2104.txt -%%NOPORTDOCS%%share/doc/SASL/rfc2222.txt -%%NOPORTDOCS%%share/doc/SASL/rfc2245.txt -%%NOPORTDOCS%%share/doc/SASL/html/gssapi.html -%%NOPORTDOCS%%share/doc/SASL/html/index.html -%%NOPORTDOCS%%share/doc/SASL/html/programming.html -%%NOPORTDOCS%%share/doc/SASL/html/sysadmin.html -%%NOPORTDOCS%%@dirrm share/doc/SASL/html -%%NOPORTDOCS%%@dirrm share/doc/SASL -@mode u=rwx,go= -@cwd /var -@exec mkdir pwcheck -@exec chown cyrus:cyrus pwcheck -@exec chmod go= pwcheck -@comment This file gets create by the pwcheck program -@unexec rm -f pwcheck/pwcheck -@dirrm pwcheck -@cwd %%PREFIX%% |