Index: head/security/Makefile =================================================================== --- head/security/Makefile (revision 81850) +++ head/security/Makefile (revision 81851) @@ -1,360 +1,361 @@ # $FreeBSD$ # SUBDIR += ADMsnmp SUBDIR += aafid2 SUBDIR += acid SUBDIR += aescrypt SUBDIR += aide SUBDIR += altivore SUBDIR += amap SUBDIR += amavis-perl SUBDIR += amavisd SUBDIR += amavisd-new SUBDIR += apg SUBDIR += arirang SUBDIR += audit SUBDIR += authforce SUBDIR += avcheck SUBDIR += avmailgate SUBDIR += bcwipe SUBDIR += beecrypt SUBDIR += bfbtester SUBDIR += bjorb SUBDIR += borzoi SUBDIR += botan SUBDIR += bro SUBDIR += bubblegum SUBDIR += bugs SUBDIR += ca-roots SUBDIR += calife SUBDIR += ccrypt SUBDIR += cfs SUBDIR += cfv SUBDIR += checkpassword SUBDIR += chkrootkit SUBDIR += chrootuid SUBDIR += cksfv SUBDIR += clamav SUBDIR += cops SUBDIR += cp2fwb SUBDIR += crack SUBDIR += cracklib SUBDIR += crank SUBDIR += cryptopp SUBDIR += cryptplug SUBDIR += cyrus-sasl SUBDIR += cyrus-sasl2 + SUBDIR += cyrus-sasl2-saslauthd SUBDIR += ddos_scan SUBDIR += didentd SUBDIR += digest SUBDIR += dirmngr SUBDIR += donkey SUBDIR += drweb SUBDIR += drweb-postfix SUBDIR += drweb-sendmail SUBDIR += drwebd SUBDIR += dsniff SUBDIR += fakebo SUBDIR += fakeident SUBDIR += find-zlib SUBDIR += find_ddos SUBDIR += finger_mysql SUBDIR += firewalk SUBDIR += flawfinder SUBDIR += fpm SUBDIR += fragroute SUBDIR += fragrouter SUBDIR += freebsd-update SUBDIR += fressh SUBDIR += fsh SUBDIR += ftimes SUBDIR += ftpmap SUBDIR += fuzz SUBDIR += fwanalog SUBDIR += fwbuilder SUBDIR += fwlogwatch SUBDIR += fwtk SUBDIR += gag SUBDIR += geheimnis SUBDIR += gnupg SUBDIR += gnupg-idea SUBDIR += gnutls SUBDIR += gpa SUBDIR += gpasman SUBDIR += gpgme SUBDIR += gringotts SUBDIR += gsfv SUBDIR += gtk-knocker SUBDIR += gtkportscan SUBDIR += hackbot SUBDIR += hafiye SUBDIR += hashish SUBDIR += heimdal SUBDIR += hlfl SUBDIR += hping SUBDIR += ident2 SUBDIR += identify SUBDIR += ifd-devkit SUBDIR += ifd-gpr400 SUBDIR += ike-scan SUBDIR += inflex SUBDIR += integrit SUBDIR += ipfmeta SUBDIR += isakmpd SUBDIR += its4 SUBDIR += john SUBDIR += keychain SUBDIR += keynote SUBDIR += keyprint SUBDIR += kgpg SUBDIR += knocker SUBDIR += krb4 SUBDIR += krb5 SUBDIR += krb5-beta SUBDIR += kripp SUBDIR += kssh SUBDIR += l0pht-watch SUBDIR += l0phtcrack SUBDIR += l5 SUBDIR += labrea SUBDIR += lcrzo SUBDIR += lcrzoex SUBDIR += libbf SUBDIR += libecc SUBDIR += libfwbuilder SUBDIR += libgcrypt SUBDIR += libgringotts SUBDIR += libidea SUBDIR += libident SUBDIR += libksba SUBDIR += libmcrypt SUBDIR += libparanoia SUBDIR += libtasn1 SUBDIR += liedentd SUBDIR += logcheck SUBDIR += lsh SUBDIR += lxnb SUBDIR += mac-robber SUBDIR += makepasswd SUBDIR += mcrypt SUBDIR += mdcrack SUBDIR += mhash SUBDIR += mindterm-binary SUBDIR += mussh SUBDIR += nbaudit SUBDIR += nessus SUBDIR += nessus-devel SUBDIR += nessus-libnasl SUBDIR += nessus-libnasl-devel SUBDIR += nessus-libraries SUBDIR += nessus-libraries-devel SUBDIR += nessus-plugins SUBDIR += nessus-plugins-devel SUBDIR += nettle SUBDIR += newpg SUBDIR += nmap SUBDIR += nmapfe SUBDIR += nofgpg SUBDIR += nss SUBDIR += ocaml-cryptokit SUBDIR += oidentd SUBDIR += oinkmaster SUBDIR += op SUBDIR += opencdk SUBDIR += opensc SUBDIR += openssh SUBDIR += openssh-askpass SUBDIR += openssh-portable SUBDIR += openssl SUBDIR += openssl-beta SUBDIR += openvpn SUBDIR += outguess SUBDIR += p5-Authen-Krb4 SUBDIR += p5-Authen-Krb5 SUBDIR += p5-Authen-PAM SUBDIR += p5-Authen-Radius SUBDIR += p5-Authen-SASL SUBDIR += p5-Authen-Smb SUBDIR += p5-Authen-TacacsPlus SUBDIR += p5-Authen-Ticket SUBDIR += p5-Crypt-Blowfish SUBDIR += p5-Crypt-Blowfish_PP SUBDIR += p5-Crypt-CAST5_PP SUBDIR += p5-Crypt-CBC SUBDIR += p5-Crypt-CipherSaber SUBDIR += p5-Crypt-Cracklib SUBDIR += p5-Crypt-Cryptix SUBDIR += p5-Crypt-DES SUBDIR += p5-Crypt-DES_EDE3 SUBDIR += p5-Crypt-DH SUBDIR += p5-Crypt-DSA SUBDIR += p5-Crypt-ECB SUBDIR += p5-Crypt-HCE_SHA SUBDIR += p5-Crypt-IDEA SUBDIR += p5-Crypt-OTP SUBDIR += p5-Crypt-OpenPGP SUBDIR += p5-Crypt-OpenSSL-DSA SUBDIR += p5-Crypt-OpenSSL-RSA SUBDIR += p5-Crypt-OpenSSL-Random SUBDIR += p5-Crypt-PGPSimple SUBDIR += p5-Crypt-PassGen SUBDIR += p5-Crypt-PasswdMD5 SUBDIR += p5-Crypt-Primes SUBDIR += p5-Crypt-RC4 SUBDIR += p5-Crypt-RC5 SUBDIR += p5-Crypt-RC6 SUBDIR += p5-Crypt-RIPEMD160 SUBDIR += p5-Crypt-RSA SUBDIR += p5-Crypt-RandPasswd SUBDIR += p5-Crypt-Random SUBDIR += p5-Crypt-Rijndael SUBDIR += p5-Crypt-SSLeay SUBDIR += p5-Crypt-Serpent SUBDIR += p5-Crypt-Solitaire SUBDIR += p5-Crypt-TripleDES SUBDIR += p5-Crypt-Twofish SUBDIR += p5-Crypt-Twofish2 SUBDIR += p5-Crypt-UnixCrypt SUBDIR += p5-Digest SUBDIR += p5-Digest-BubbleBabble SUBDIR += p5-Digest-HMAC SUBDIR += p5-Digest-MD2 SUBDIR += p5-Digest-MD4 SUBDIR += p5-Digest-MD5 SUBDIR += p5-Digest-Nilsimsa SUBDIR += p5-Digest-SHA1 SUBDIR += p5-File-Scan SUBDIR += p5-GnuPG-Interface SUBDIR += p5-IO-Socket-SSL SUBDIR += p5-MD5 SUBDIR += p5-Net-SSLeay SUBDIR += p5-PGP SUBDIR += p5-PGP-Sign SUBDIR += p5-SHA SUBDIR += p5-Safe-Hole SUBDIR += p5-Tie-EncryptedHash SUBDIR += pad SUBDIR += pam-mysql SUBDIR += pam-pgsql SUBDIR += pam_alreadyloggedin SUBDIR += pam_krb5 SUBDIR += pam_ldap SUBDIR += pam_pop3 SUBDIR += pam_pwdfile SUBDIR += pam_smb SUBDIR += pear-Auth SUBDIR += pear-Auth_SASL SUBDIR += pear-Crypt_CBC SUBDIR += pgp SUBDIR += pgp5 SUBDIR += pgp6 SUBDIR += pgpdump SUBDIR += pgpgpg SUBDIR += pgpin SUBDIR += pidentd SUBDIR += pinentry SUBDIR += pks SUBDIR += pktsuckers SUBDIR += poc SUBDIR += portscanner SUBDIR += portsentry SUBDIR += ppgen SUBDIR += proxytunnel SUBDIR += pscan SUBDIR += pwman SUBDIR += py-amkCrypto SUBDIR += py-cryptkit SUBDIR += py-fchksum SUBDIR += py-gnupg SUBDIR += py-m2crypto SUBDIR += py-mcrypt SUBDIR += py-mhash SUBDIR += py-openssl SUBDIR += py-posix1e SUBDIR += py-pow SUBDIR += py-pycrypto SUBDIR += py-rijndael SUBDIR += py-twofish SUBDIR += qident SUBDIR += qtfw SUBDIR += quintuple-agent SUBDIR += racoon SUBDIR += radiusniff SUBDIR += rain SUBDIR += rats SUBDIR += rc5pipe SUBDIR += rid SUBDIR += rsaref SUBDIR += ruby-acl SUBDIR += ruby-aes SUBDIR += ruby-blowfish SUBDIR += ruby-cast_256 SUBDIR += ruby-hmac SUBDIR += ruby-mcrypt SUBDIR += ruby-openssl SUBDIR += ruby-pam SUBDIR += ruby-password SUBDIR += ruby-tcpwrap SUBDIR += saferpay SUBDIR += safesh SUBDIR += saint SUBDIR += samhain SUBDIR += scanssh SUBDIR += seahorse SUBDIR += secpanel SUBDIR += sfs SUBDIR += sha SUBDIR += sig2dot SUBDIR += siphon SUBDIR += skip SUBDIR += slurpie SUBDIR += slush SUBDIR += smtpscan SUBDIR += smurflog SUBDIR += sniff SUBDIR += snort SUBDIR += snort-rep SUBDIR += snortsnarf SUBDIR += srm SUBDIR += srp SUBDIR += ssh SUBDIR += ssh-gui SUBDIR += ssh-multiadd SUBDIR += ssh2 SUBDIR += sslproxy SUBDIR += sslsniffer SUBDIR += sslwrap SUBDIR += sst SUBDIR += stegdetect SUBDIR += steghide SUBDIR += strobe SUBDIR += stunnel SUBDIR += subweb SUBDIR += sudo SUBDIR += super SUBDIR += swatch SUBDIR += tea-total SUBDIR += termlog SUBDIR += tinc SUBDIR += trinokiller SUBDIR += tripwire SUBDIR += tripwire-131 SUBDIR += tripwire12 SUBDIR += uvscan-dat SUBDIR += vida SUBDIR += vlock SUBDIR += vlog SUBDIR += vncrypt SUBDIR += vpnd SUBDIR += vscan SUBDIR += whisker SUBDIR += xinetd SUBDIR += xmlsec SUBDIR += xmlsec1 SUBDIR += xspy SUBDIR += yafic SUBDIR += zebedee SUBDIR += zombiezapper .include Property changes on: head/security/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.402 \ No newline at end of property +1.403 \ No newline at end of property Index: head/security/cyrus-sasl2-saslauthd/Makefile =================================================================== --- head/security/cyrus-sasl2-saslauthd/Makefile (nonexistent) +++ head/security/cyrus-sasl2-saslauthd/Makefile (revision 81851) @@ -0,0 +1,137 @@ +# New ports collection makefile for: cyrus-sasl2-saslauthd +# Date created: May 27 2003 +# Whom: ume@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= saslauthd +PORTVERSION= 2.1.13 +#PORTREVISION= 0 +CATEGORIES= security ipv6 +MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \ + ftp://ftp.westbend.net/pub/cyrus-mail/ \ + ftp://ftp.hanse.de/sites/transit/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/ +PKGNAMEPREFIX= cyrus-sasl- +DISTNAME= ${PKGNAMEPREFIX}${PORTVERSION} + +MAINTAINER= ume@FreeBSD.org +COMMENT= SASL authentication server for cyrus-sasl2 + +LIB_DEPENDS= sasl2.2:${PORTSDIR}/security/cyrus-sasl2 + +CYRUS_SASL2_DIR=${MASTERDIR}/../cyrus-sasl2 +MD5_FILE= ${CYRUS_SASL2_DIR}/distinfo +PATCHDIR= ${CYRUS_SASL2_DIR}/files +INSTALL_WRKSRC= ${WRKDIR}/${DISTNAME}/saslauthd +DOCSDIR= ${PREFIX}/share/doc/cyrus-sasl2 + +GNU_CONFIGURE= YES + +CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \ + --with-plugindir=${PREFIX}/lib/sasl2 \ + --with-dbpath=${PREFIX}/etc/sasldb2 \ + --includedir=${PREFIX}/include \ + --mandir=${MANPREFIX}/man \ + --enable-static \ + --enable-login \ + --enable-auth-sasldb \ + --with-rc4=openssl \ + --with-saslauthd + +.if defined(WITH_BDB_VER) +.if ${WITH_BDB_VER} == 41 +LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41 +CONFIGURE_ARGS+=--with-bdb=db41 --with-bdb-incdir=${PREFIX}/include/db41 +.elif ${WITH_BDB_VER} == 4 +LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4 +CONFIGURE_ARGS+=--with-bdb=db4 --with-bdb-incdir=${PREFIX}/include/db4 +.elif ${WITH_BDB_VER} == 3 +LIB_DEPENDS+= db3.3:${PORTSDIR}/databases/db3 +CONFIGURE_ARGS+=--with-bdb=db3 --with-bdb-incdir=${PREFIX}/include/db3 +.else +BROKEN= "WITH_BDB_VER must be 3, 4 or 41" +.endif +CONFIGURE_ARGS+=--with-dblib=berkeley --with-bdb-libdir=${PREFIX}/lib +.else +CONFIGURE_ARGS+=--with-dblib=ndbm +.endif + +.if defined(WITH_OPENLDAP_VER) +.if ${WITH_OPENLDAP_VER} == 20 || ${WITH_OPENLDAP_VER} == 21 +LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap${WITH_OPENLDAP_VER} +LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap${WITH_OPENLDAP_VER} +CONFIGURE_ARGS+=--with-ldap=${PREFIX} +.else +BROKEN= "WITH_OPENLDAP_VER must be 20 or 21" +.endif +.endif + +.if !defined(WITHOUT_GSSAPI) && defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.a) +CONFIGURE_ARGS+=--enable-gssapi=${KRB5_HOME} +.elif !defined(WITHOUT_GSSAPI) && defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/libgssapi.a) +CONFIGURE_ARGS+=--enable-gssapi=${HEIMDAL_HOME} +.elif !defined(WITHOUT_GSSAPI) && defined(MAKE_KERBEROS5) && exists(/usr/lib/libkrb5.a) +CONFIGURE_ARGS+=--enable-gssapi +.else +CONFIGURE_ARGS+=--disable-gssapi +GSSAPI= "@comment " +.endif + +.include + +# KERBEROS 4 was removed in FreeBSD 5.0-CURRENT +.if ${OSVERSION} > 500105 +.if defined(WITH_KERBEROS4) +LIB_DEPENDS+= krb.2:${PORTSDIR}/security/krb4 +CONFIGURE_ARGS+=--enable-krb4=${LOCALBASE}/krb4 +.else +CONFIGURE_ARGS+=--disable-krb4 +EBONES= "@comment " +.endif +.elif exists(/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4) && !defined(WITHOUT_KERBEROS4) +CONFIGURE_ARGS+=--enable-krb4 +.elif !exists(/usr/lib/libkrb.a) && defined(WITH_KERBEROS4) +LIB_DEPENDS+= krb.2:${PORTSDIR}/security/krb4 +CONFIGURE_ARGS+=--enable-krb4=${LOCALBASE}/krb4 +.else +CONFIGURE_ARGS+=--disable-krb4 +EBONES= "@comment " +.endif + +.include "${PORTSDIR}/security/openssl/bsd.openssl.mk" +.if !defined(WITH_OPENSSL_BASE) +CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE} +.endif + +CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} \ + OPENSSLINC=${OPENSSLINC} \ + OPENSSLLIB=${OPENSSLLIB} \ + LDFLAGS=${LDFLAGS} + +CYRUS_USER?= cyrus + +DOCS= AUTHORS COPYING ChangeLog INSTALL LDAP_SASLAUTHD NEWS README + +PLIST_SUB= PREFIX=${PREFIX} \ + DOCSDIR=${DOCSDIR:S/^${PREFIX}\///} + +do-build: + cd ${WRKSRC}/sasldb && ${MAKE} + cd ${WRKSRC}/saslauthd && ${MAKE} + +post-install: + ${GZIP_CMD} ${MAN8PREFIX}/man/cat8/saslauthd.8 + @${SED} -e "s;%%PREFIX%%;${PREFIX};g" \ + ${FILESDIR}/saslauthd.sh > ${PREFIX}/etc/rc.d/saslauthd.sh + @${CHMOD} 755 ${PREFIX}/etc/rc.d/saslauthd.sh + ${MKDIR} -m 770 /var/state/saslauthd + ${CHOWN} ${CYRUS_USER}:mail /var/state/saslauthd +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR}/saslauthd +.for file in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/saslauthd/${file} ${DOCSDIR}/saslauthd +.endfor +.endif + +.include Property changes on: head/security/cyrus-sasl2-saslauthd/Makefile ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/security/cyrus-sasl2-saslauthd/files/saslauthd.sh =================================================================== --- head/security/cyrus-sasl2-saslauthd/files/saslauthd.sh (nonexistent) +++ head/security/cyrus-sasl2-saslauthd/files/saslauthd.sh (revision 81851) @@ -0,0 +1,74 @@ +#!/bin/sh +# +# $FreeBSD: /tmp/pcvs/ports/security/cyrus-sasl2-saslauthd/files/Attic/saslauthd.sh,v 1.1 2003-06-01 04:24:15 ume Exp $ +# + +action=$1 + +PREFIX=%%PREFIX%% + +# Suck in the configuration variables. +if [ -z "${source_rc_confs_defined}" ]; then + if [ -r /etc/defaults/rc.conf ]; then + . /etc/defaults/rc.conf + source_rc_confs + elif [ -r /etc/rc.conf ]; then + . /etc/rc.conf + fi +fi + +# The following sasl_saslauthd_* variables may be defined in rc.conf +# +# sasl_saslauthd_enable - Set to YES to enable saslauthd +# Default: YES +# +# sasl_saslauthd_program - Path to saslauthd program +# Default: ${PREFIX}/sbin/saslauthd +# +# sasl_saslauthd_flags - Flags to saslauthd program +# Default: -a pam + +if [ -z "${sasl_saslauthd_enable}" ]; then + sasl_saslauthd_enable="YES" +fi + +if [ -z "${sasl_saslauthd_program}" ]; then + sasl_saslauthd_program="${PREFIX}/sbin/saslauthd" +fi + +if [ -z "${sasl_saslauthd_flags}" ]; then + sasl_saslauthd_flags="-a pam" +fi + +rc=0 + +case "${sasl_saslauthd_enable}" in + [Yy][Ee][Ss]) + case "${action}" in + + start) + if [ -x ${sasl_saslauthd_program} ] ; then + ${sasl_saslauthd_program} ${sasl_saslauthd_flags} \ + && echo -n " saslauthd" + fi + ;; + + stop) + if [ -r /var/state/saslauthd/saslauthd.pid ]; then + kill `cat /var/state/saslauthd/saslauthd.pid` && \ + echo -n " saslauthd" + fi + ;; + + *) + echo "usage: $0 {start|stop}" 1>&2 + rc=64 + ;; + esac + ;; + *) + rc=0 + ;; +esac + +exit $rc Property changes on: head/security/cyrus-sasl2-saslauthd/files/saslauthd.sh ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/security/cyrus-sasl2-saslauthd/pkg-descr =================================================================== --- head/security/cyrus-sasl2-saslauthd/pkg-descr (nonexistent) +++ head/security/cyrus-sasl2-saslauthd/pkg-descr (revision 81851) @@ -0,0 +1,10 @@ +saslauthd is a daemon process that handles plaintext authentication +requests on behalf of the SASL library. + +The server fulfills two roles: it isolates all code requiring +superuser privileges into a single process, and it can be used to +provide proxy authentication services to clients that do not +understand SASL based authentication. + + +WWW: http://asg.web.cmu.edu/sasl/ Property changes on: head/security/cyrus-sasl2-saslauthd/pkg-descr ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/security/cyrus-sasl2-saslauthd/pkg-plist =================================================================== --- head/security/cyrus-sasl2-saslauthd/pkg-plist (nonexistent) +++ head/security/cyrus-sasl2-saslauthd/pkg-plist (revision 81851) @@ -0,0 +1,19 @@ +etc/rc.d/saslauthd.sh +man/cat8/saslauthd.8.gz +sbin/saslauthd +%%PORTDOCS%%%%DOCSDIR%%/saslauthd/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/saslauthd/COPYING +%%PORTDOCS%%%%DOCSDIR%%/saslauthd/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/saslauthd/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/saslauthd/LDAP_SASLAUTHD +%%PORTDOCS%%%%DOCSDIR%%/saslauthd/NEWS +%%PORTDOCS%%%%DOCSDIR%%/saslauthd/README +%%PORTDOCS%%@dirrm %%DOCSDIR%%/saslauthd +@mode ug=rwx,o= +@exec mkdir -p /var/state/saslauthd +@exec chown -R cyrus:cyrus /var/state +@exec chmod -R o= /var/state +@comment This file gets created by the state/saslauthd program +@unexec rm -fr /var/state/saslauthd +@unexec rmdir /var/state +@cwd %%PREFIX%% Property changes on: head/security/cyrus-sasl2-saslauthd/pkg-plist ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property