From c72c1cf5f95cbe537b005028f1743cddb16ef203 Mon Sep 17 00:00:00 2001 From: zuntum Date: Thu, 1 Nov 2001 00:57:41 +0000 Subject: Move pkg/ files into package's toplevel directory --- security/cyrus-sasl/DEINSTALL | 44 +++++++++++++++++++ security/cyrus-sasl/DESCR | 14 ++++++ security/cyrus-sasl/INSTALL | 83 +++++++++++++++++++++++++++++++++++ security/cyrus-sasl/PLIST.common | 54 +++++++++++++++++++++++ security/cyrus-sasl/PLIST.krb4 | 6 +++ security/cyrus-sasl/PLIST.krb5 | 6 +++ security/cyrus-sasl/PLIST.plugins | 22 ++++++++++ security/cyrus-sasl/pkg/DEINSTALL | 44 ------------------- security/cyrus-sasl/pkg/DESCR | 14 ------ security/cyrus-sasl/pkg/INSTALL | 83 ----------------------------------- security/cyrus-sasl/pkg/PLIST.common | 54 ----------------------- security/cyrus-sasl/pkg/PLIST.krb4 | 6 --- security/cyrus-sasl/pkg/PLIST.krb5 | 6 --- security/cyrus-sasl/pkg/PLIST.plugins | 22 ---------- 14 files changed, 229 insertions(+), 229 deletions(-) create mode 100644 security/cyrus-sasl/DEINSTALL create mode 100644 security/cyrus-sasl/DESCR create mode 100644 security/cyrus-sasl/INSTALL create mode 100644 security/cyrus-sasl/PLIST.common create mode 100644 security/cyrus-sasl/PLIST.krb4 create mode 100644 security/cyrus-sasl/PLIST.krb5 create mode 100644 security/cyrus-sasl/PLIST.plugins delete mode 100644 security/cyrus-sasl/pkg/DEINSTALL delete mode 100644 security/cyrus-sasl/pkg/DESCR delete mode 100644 security/cyrus-sasl/pkg/INSTALL delete mode 100644 security/cyrus-sasl/pkg/PLIST.common delete mode 100644 security/cyrus-sasl/pkg/PLIST.krb4 delete mode 100644 security/cyrus-sasl/pkg/PLIST.krb5 delete mode 100644 security/cyrus-sasl/pkg/PLIST.plugins (limited to 'security/cyrus-sasl') diff --git a/security/cyrus-sasl/DEINSTALL b/security/cyrus-sasl/DEINSTALL new file mode 100644 index 00000000000..810f50e4120 --- /dev/null +++ b/security/cyrus-sasl/DEINSTALL @@ -0,0 +1,44 @@ +#!/bin/sh +# +# $NetBSD: DEINSTALL,v 1.1 2001/11/01 01:16:36 zuntum Exp $ + +PKGNAME=$1 +STAGE=$2 + +USER="@CYRUS_USER@" +GROUP="@CYRUS_GROUP@" + +CAT="@CAT@" +RM="@RM@" + +SASLDB=/etc/sasldb.db +PWCHECKDIR=/var/pwcheck + +case ${STAGE} in +DEINSTALL) + ;; + +POST-DEINSTALL) + ${RM} -rf ${PWCHECKDIR} + ${CAT} << EOF +=========================================================================== +If you won't be using ${PKGNAME} any longer, you may want +to remove: + + * the \`${USER}' user + + * the \`${GROUP}' group + + * the following files: + + ${SASLDB} +=========================================================================== +EOF + ;; + +*) + echo "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 diff --git a/security/cyrus-sasl/DESCR b/security/cyrus-sasl/DESCR new file mode 100644 index 00000000000..5a3474499b8 --- /dev/null +++ b/security/cyrus-sasl/DESCR @@ -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 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 --git a/security/cyrus-sasl/INSTALL b/security/cyrus-sasl/INSTALL new file mode 100644 index 00000000000..5ae49d96ca3 --- /dev/null +++ b/security/cyrus-sasl/INSTALL @@ -0,0 +1,83 @@ +#! /bin/sh +# +# $NetBSD: INSTALL,v 1.1 2001/11/01 01:16:36 zuntum Exp $ + +PKGNAME=$1 +STAGE=$2 + +USER="@CYRUS_USER@" +GROUP="@CYRUS_GROUP@" + +ADDUSER="@ADDUSER@" +ADDGROUP="@ADDGROUP@" +CHGRP="@CHGRP@" +CHMOD="@CHMOD@" +CHOWN="@CHOWN@" +ID="@ID@" +MKDIR="@MKDIR@" +RM="@RM@" +TOUCH="@TOUCH@" + +SASLDB=/etc/sasldb.db +PWCHECKDIR=/var/pwcheck + +case ${STAGE} in +PRE-INSTALL) + # Group... the default's shipped with NetBSD + # We need to check that ${GROUP} exists before adding the user. + # Do it with chgrp to be able to use NIS. + # + ${TOUCH} "/tmp/grouptest.$$" + ${CHGRP} ${GROUP} "/tmp/grouptest.$$" >/dev/null 2>&1 + if [ $? -eq 0 ] + then + echo "Group '${GROUP}' already exists...proceeding." + else + echo "Creating '${GROUP}' group..." + ${ADDGROUP} ${GROUP} + echo "Done." + fi + ${RM} -f "/tmp/grouptest.$$" + + # Use `id' to be able to use NIS. + # + ${ID} ${USER} 2>/dev/null >/dev/null + if [ $? -eq 0 ] + then + echo "User '${USER}' already exists...proceeding." + else + echo "Creating '${USER}' user..." + ${ADDUSER} -c "Cyrus User" -g ${GROUP} -s /bin/sh ${USER} + echo "Done." + fi + ;; + +POST-INSTALL) + # Create empty sasldb shared secrets database with proper permissions + # for saslpasswd. + # + if [ -f ${SASLDB} ] + then + echo "${SASLDB} already exists." + else + echo "Creating empty ${SASLDB}..." + echo password | ${PKG_PREFIX}/sbin/saslpasswd -p user + ${PKG_PREFIX}/sbin/saslpasswd -d user + ${CHOWN} ${USER} ${SASLDB} + ${CHMOD} 600 ${SASLDB} + echo "Done." + fi + + # Create directory with proper permissions for pwcheck socket. + # + ${MKDIR} ${PWCHECKDIR} + ${CHOWN} ${USER} ${PWCHECKDIR} + ${CHMOD} 700 ${PWCHECKDIR} + ;; + +*) + echo "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 diff --git a/security/cyrus-sasl/PLIST.common b/security/cyrus-sasl/PLIST.common new file mode 100644 index 00000000000..0965cb353ad --- /dev/null +++ b/security/cyrus-sasl/PLIST.common @@ -0,0 +1,54 @@ +@comment $NetBSD: PLIST.common,v 1.1 2001/11/01 01:22:01 zuntum Exp $ +bin/sasl-config +etc/rc.d/sasl_pwcheck +include/hmac-md5.h +include/sasl.h +include/saslplug.h +include/saslutil.h +lib/libsasl.a +lib/libsasl.la +lib/libsasl.so +lib/libsasl.so.8 +lib/libsasl.so.8.8 +man/man3/sasl.3 +man/man3/sasl_authorize_t.3 +man/man3/sasl_done.3 +man/man3/sasl_callbacks.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_encode.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_getsecret_t.3 +man/man3/sasl_getsimple_t.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_setprop.3 +man/man3/sasl_usererr.3 +man/man8/sasldblistusers.8 +man/man8/saslpasswd.8 +sbin/pwcheck +sbin/sasldblistusers +sbin/saslpasswd +share/doc/html/cyrus-sasl/draft-leach-digest-sasl-05.txt +share/doc/html/cyrus-sasl/draft-newman-auth-scram-03.txt +share/doc/html/cyrus-sasl/gssapi.html +share/doc/html/cyrus-sasl/index.html +share/doc/html/cyrus-sasl/programming.html +share/doc/html/cyrus-sasl/rfc1321.txt +share/doc/html/cyrus-sasl/rfc2095.txt +share/doc/html/cyrus-sasl/rfc2104.txt +share/doc/html/cyrus-sasl/rfc2222.txt +share/doc/html/cyrus-sasl/rfc2245.txt +share/doc/html/cyrus-sasl/sysadmin.html +@dirrm share/doc/html/cyrus-sasl diff --git a/security/cyrus-sasl/PLIST.krb4 b/security/cyrus-sasl/PLIST.krb4 new file mode 100644 index 00000000000..76f787bf40e --- /dev/null +++ b/security/cyrus-sasl/PLIST.krb4 @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST.krb4,v 1.1 2001/11/01 01:22:01 zuntum Exp $ +lib/sasl/libkerberos4.a +lib/sasl/libkerberos4.la +lib/sasl/libkerberos4.so +lib/sasl/libkerberos4.so.1 +lib/sasl/libkerberos4.so.1.15 diff --git a/security/cyrus-sasl/PLIST.krb5 b/security/cyrus-sasl/PLIST.krb5 new file mode 100644 index 00000000000..6a0536c34bc --- /dev/null +++ b/security/cyrus-sasl/PLIST.krb5 @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST.krb5,v 1.1 2001/11/01 01:22:02 zuntum Exp $ +lib/sasl/libgssapiv2.a +lib/sasl/libgssapiv2.la +lib/sasl/libgssapiv2.so +lib/sasl/libgssapiv2.so.1 +lib/sasl/libgssapiv2.so.1.14 diff --git a/security/cyrus-sasl/PLIST.plugins b/security/cyrus-sasl/PLIST.plugins new file mode 100644 index 00000000000..fed360ef9ed --- /dev/null +++ b/security/cyrus-sasl/PLIST.plugins @@ -0,0 +1,22 @@ +@comment $NetBSD: PLIST.plugins,v 1.1 2001/11/01 01:22:02 zuntum Exp $ +lib/sasl/libanonymous.a +lib/sasl/libanonymous.la +lib/sasl/libanonymous.so +lib/sasl/libanonymous.so.1 +lib/sasl/libanonymous.so.1.15 +lib/sasl/libcrammd5.a +lib/sasl/libcrammd5.la +lib/sasl/libcrammd5.so +lib/sasl/libcrammd5.so.1 +lib/sasl/libcrammd5.so.1.15 +lib/sasl/libdigestmd5.a +lib/sasl/libdigestmd5.la +lib/sasl/libdigestmd5.so +lib/sasl/libdigestmd5.so.0 +lib/sasl/libdigestmd5.so.0.17 +lib/sasl/libplain.a +lib/sasl/libplain.la +lib/sasl/libplain.so +lib/sasl/libplain.so.1 +lib/sasl/libplain.so.1.14 +@unexec rmdir -p %D/lib/sasl 2>/dev/null || true diff --git a/security/cyrus-sasl/pkg/DEINSTALL b/security/cyrus-sasl/pkg/DEINSTALL deleted file mode 100644 index 08be579c14f..00000000000 --- a/security/cyrus-sasl/pkg/DEINSTALL +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.3 2000/12/11 09:10:24 jlam Exp $ - -PKGNAME=$1 -STAGE=$2 - -USER="@CYRUS_USER@" -GROUP="@CYRUS_GROUP@" - -CAT="@CAT@" -RM="@RM@" - -SASLDB=/etc/sasldb.db -PWCHECKDIR=/var/pwcheck - -case ${STAGE} in -DEINSTALL) - ;; - -POST-DEINSTALL) - ${RM} -rf ${PWCHECKDIR} - ${CAT} << EOF -=========================================================================== -If you won't be using ${PKGNAME} any longer, you may want -to remove: - - * the \`${USER}' user - - * the \`${GROUP}' group - - * the following files: - - ${SASLDB} -=========================================================================== -EOF - ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 - ;; -esac -exit 0 diff --git a/security/cyrus-sasl/pkg/DESCR b/security/cyrus-sasl/pkg/DESCR deleted file mode 100644 index 5a3474499b8..00000000000 --- a/security/cyrus-sasl/pkg/DESCR +++ /dev/null @@ -1,14 +0,0 @@ -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 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 --git a/security/cyrus-sasl/pkg/INSTALL b/security/cyrus-sasl/pkg/INSTALL deleted file mode 100644 index dd6b9c184bd..00000000000 --- a/security/cyrus-sasl/pkg/INSTALL +++ /dev/null @@ -1,83 +0,0 @@ -#! /bin/sh -# -# $NetBSD: INSTALL,v 1.3 2001/08/14 03:41:39 jlam Exp $ - -PKGNAME=$1 -STAGE=$2 - -USER="@CYRUS_USER@" -GROUP="@CYRUS_GROUP@" - -ADDUSER="@ADDUSER@" -ADDGROUP="@ADDGROUP@" -CHGRP="@CHGRP@" -CHMOD="@CHMOD@" -CHOWN="@CHOWN@" -ID="@ID@" -MKDIR="@MKDIR@" -RM="@RM@" -TOUCH="@TOUCH@" - -SASLDB=/etc/sasldb.db -PWCHECKDIR=/var/pwcheck - -case ${STAGE} in -PRE-INSTALL) - # Group... the default's shipped with NetBSD - # We need to check that ${GROUP} exists before adding the user. - # Do it with chgrp to be able to use NIS. - # - ${TOUCH} "/tmp/grouptest.$$" - ${CHGRP} ${GROUP} "/tmp/grouptest.$$" >/dev/null 2>&1 - if [ $? -eq 0 ] - then - echo "Group '${GROUP}' already exists...proceeding." - else - echo "Creating '${GROUP}' group..." - ${ADDGROUP} ${GROUP} - echo "Done." - fi - ${RM} -f "/tmp/grouptest.$$" - - # Use `id' to be able to use NIS. - # - ${ID} ${USER} 2>/dev/null >/dev/null - if [ $? -eq 0 ] - then - echo "User '${USER}' already exists...proceeding." - else - echo "Creating '${USER}' user..." - ${ADDUSER} -c "Cyrus User" -g ${GROUP} -s /bin/sh ${USER} - echo "Done." - fi - ;; - -POST-INSTALL) - # Create empty sasldb shared secrets database with proper permissions - # for saslpasswd. - # - if [ -f ${SASLDB} ] - then - echo "${SASLDB} already exists." - else - echo "Creating empty ${SASLDB}..." - echo password | ${PKG_PREFIX}/sbin/saslpasswd -p user - ${PKG_PREFIX}/sbin/saslpasswd -d user - ${CHOWN} ${USER} ${SASLDB} - ${CHMOD} 600 ${SASLDB} - echo "Done." - fi - - # Create directory with proper permissions for pwcheck socket. - # - ${MKDIR} ${PWCHECKDIR} - ${CHOWN} ${USER} ${PWCHECKDIR} - ${CHMOD} 700 ${PWCHECKDIR} - ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 - ;; -esac -exit 0 diff --git a/security/cyrus-sasl/pkg/PLIST.common b/security/cyrus-sasl/pkg/PLIST.common deleted file mode 100644 index 6c6463d2f3a..00000000000 --- a/security/cyrus-sasl/pkg/PLIST.common +++ /dev/null @@ -1,54 +0,0 @@ -@comment $NetBSD: PLIST.common,v 1.4 2001/01/04 15:10:54 agc Exp $ -bin/sasl-config -etc/rc.d/sasl_pwcheck -include/hmac-md5.h -include/sasl.h -include/saslplug.h -include/saslutil.h -lib/libsasl.a -lib/libsasl.la -lib/libsasl.so -lib/libsasl.so.8 -lib/libsasl.so.8.8 -man/man3/sasl.3 -man/man3/sasl_authorize_t.3 -man/man3/sasl_done.3 -man/man3/sasl_callbacks.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_encode.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_getsecret_t.3 -man/man3/sasl_getsimple_t.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_setprop.3 -man/man3/sasl_usererr.3 -man/man8/sasldblistusers.8 -man/man8/saslpasswd.8 -sbin/pwcheck -sbin/sasldblistusers -sbin/saslpasswd -share/doc/html/cyrus-sasl/draft-leach-digest-sasl-05.txt -share/doc/html/cyrus-sasl/draft-newman-auth-scram-03.txt -share/doc/html/cyrus-sasl/gssapi.html -share/doc/html/cyrus-sasl/index.html -share/doc/html/cyrus-sasl/programming.html -share/doc/html/cyrus-sasl/rfc1321.txt -share/doc/html/cyrus-sasl/rfc2095.txt -share/doc/html/cyrus-sasl/rfc2104.txt -share/doc/html/cyrus-sasl/rfc2222.txt -share/doc/html/cyrus-sasl/rfc2245.txt -share/doc/html/cyrus-sasl/sysadmin.html -@dirrm share/doc/html/cyrus-sasl diff --git a/security/cyrus-sasl/pkg/PLIST.krb4 b/security/cyrus-sasl/pkg/PLIST.krb4 deleted file mode 100644 index f78ca575dd0..00000000000 --- a/security/cyrus-sasl/pkg/PLIST.krb4 +++ /dev/null @@ -1,6 +0,0 @@ -@comment $NetBSD: PLIST.krb4,v 1.2 2001/01/04 15:10:54 agc Exp $ -lib/sasl/libkerberos4.a -lib/sasl/libkerberos4.la -lib/sasl/libkerberos4.so -lib/sasl/libkerberos4.so.1 -lib/sasl/libkerberos4.so.1.15 diff --git a/security/cyrus-sasl/pkg/PLIST.krb5 b/security/cyrus-sasl/pkg/PLIST.krb5 deleted file mode 100644 index b3902053986..00000000000 --- a/security/cyrus-sasl/pkg/PLIST.krb5 +++ /dev/null @@ -1,6 +0,0 @@ -@comment $NetBSD: PLIST.krb5,v 1.2 2001/01/04 15:10:55 agc Exp $ -lib/sasl/libgssapiv2.a -lib/sasl/libgssapiv2.la -lib/sasl/libgssapiv2.so -lib/sasl/libgssapiv2.so.1 -lib/sasl/libgssapiv2.so.1.14 diff --git a/security/cyrus-sasl/pkg/PLIST.plugins b/security/cyrus-sasl/pkg/PLIST.plugins deleted file mode 100644 index 1e981aa83e6..00000000000 --- a/security/cyrus-sasl/pkg/PLIST.plugins +++ /dev/null @@ -1,22 +0,0 @@ -@comment $NetBSD: PLIST.plugins,v 1.2 2001/01/04 15:10:55 agc Exp $ -lib/sasl/libanonymous.a -lib/sasl/libanonymous.la -lib/sasl/libanonymous.so -lib/sasl/libanonymous.so.1 -lib/sasl/libanonymous.so.1.15 -lib/sasl/libcrammd5.a -lib/sasl/libcrammd5.la -lib/sasl/libcrammd5.so -lib/sasl/libcrammd5.so.1 -lib/sasl/libcrammd5.so.1.15 -lib/sasl/libdigestmd5.a -lib/sasl/libdigestmd5.la -lib/sasl/libdigestmd5.so -lib/sasl/libdigestmd5.so.0 -lib/sasl/libdigestmd5.so.0.17 -lib/sasl/libplain.a -lib/sasl/libplain.la -lib/sasl/libplain.so -lib/sasl/libplain.so.1 -lib/sasl/libplain.so.1.14 -@unexec rmdir -p %D/lib/sasl 2>/dev/null || true -- cgit v1.2.3