Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 1999 16:48:41 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/15659: new port: CMU libsasl
Message-ID:  <199912232148.QAA60149@khavrinen.lcs.mit.edu>

next in thread | raw e-mail | index | archive | help

>Number:         15659
>Category:       ports
>Synopsis:       new port: CMU libsasl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 23 13:50:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Wollman
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
MIT Laboratory for Computer Science
>Environment:

	Irrelevant.

>Description:

	Having gone to the effort of porting libsasl (aka cyrus-sasl)
	for my own purposes, I figured that I might as well share it
	with the community.

>How-To-Repeat:

	$ locate sasl
	(note no output)
	$

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	libsasl
#	libsasl/Makefile
#	libsasl/files
#	libsasl/files/md5
#	libsasl/pkg
#	libsasl/pkg/COMMENT
#	libsasl/pkg/PLIST
#	libsasl/pkg/PLIST.add-krb5
#	libsasl/pkg/PLIST.add-krb4
#	libsasl/pkg/DESCR
#
echo c - libsasl
mkdir -p libsasl > /dev/null 2>&1
echo x - libsasl/Makefile
sed 's/^X//' >libsasl/Makefile << 'END-of-libsasl/Makefile'
X# New ports collection makefile for:	libsasl
X# Version required:     1.5.13
X# Date created:		December 23, 1999
X# Whom:			wollman@FreeBSD.org
X#
X# $FreeBSD$
X#
X
XDISTNAME=       cyrus-sasl-1.5.13
XPKGNAME=	libsasl-1.5.13
XCATEGORIES=	security net
XMASTER_SITES=	ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/
X
XMAINTAINER=	ports@FreeBSD.org
X
XUSE_GMAKE=	YES
XUSE_LIBTOOL=	YES
X
XCONFIGURE_ARGS+= --with-dbpath=${PREFIX}/etc/sasldb \
X		 --includedir=${PREFIX}/include/sasl \
X		 --with-plugindir=${PREFIX}/lib/sasl --enable-static
X
X.if defined(KRB5_HOME) && exists(${KRB5_HOME})
XCONFIGURE_ARGS+= --enable-gssapi=${KRB5_HOME}
X.endif
X
XMAN8=	saslpasswd.8
XMAN1=	sasl_client.1 sasl_server.1
X
X.if !defined(NOPORTDOCS)
XDOCFILES=	draft-leach-digest-sasl-03.txt \
X		draft-newman-auth-scram-03.txt \
X		draft-newman-sasl-anon-00.txt \
X		programming.html rfc1321.txt rfc2104.txt rfc2222.txt \
X		sysadmin.html
X
Xpost-install::
X	@${MKDIR} ${PREFIX}/share/doc/sasl
X	@for d in ${DOCFILES}; do \
X		${INSTALL_DATA} ${WRKSRC}/doc/$$d ${PREFIX}/share/doc/sasl; \
X		echo share/doc/sasl/$$d >>${TMPPLIST}; \
X	done
X	@echo '@dirrm share/doc/sasl' >>${TMPPLIST}
X.endif
X
X.if defined(KRB5_HOME) && exists(${KRB5_HOME})
Xpost-install::
X	@cat ${PKGDIR}/PLIST.add-krb5 >>${TMPPLIST}
X.endif
X
X.if defined(MAKE_EBONES) && exists(/usr/lib/libkrb.a)
Xpost-install::
X	@cat ${PKGDIR}/PLIST.add-krb4 >>${TMPPLIST}
X.endif
X
Xpost-install::
X	@echo '@dirrm lib/sasl' >>${TMPPLIST}
X
X.include <bsd.port.mk>
END-of-libsasl/Makefile
echo c - libsasl/files
mkdir -p libsasl/files > /dev/null 2>&1
echo x - libsasl/files/md5
sed 's/^X//' >libsasl/files/md5 << 'END-of-libsasl/files/md5'
XMD5 (cyrus-sasl-1.5.13.tar.gz) = 6bfa1ac9f34d30e36cc827667f657521
END-of-libsasl/files/md5
echo c - libsasl/pkg
mkdir -p libsasl/pkg > /dev/null 2>&1
echo x - libsasl/pkg/COMMENT
sed 's/^X//' >libsasl/pkg/COMMENT << 'END-of-libsasl/pkg/COMMENT'
XImplements the Simple Authentication and Security LayerEND-of-libsasl/pkg/COMMENT
echo x - libsasl/pkg/PLIST
sed 's/^X//' >libsasl/pkg/PLIST << 'END-of-libsasl/pkg/PLIST'
Xinclude/sasl/hmac-md5.h
Xinclude/sasl/md5.h
Xinclude/sasl/md5global.h
Xinclude/sasl/sasl.h
Xinclude/sasl/saslplug.h
Xinclude/sasl/saslutil.h
X@dirrm include/sasl
Xlib/libsasl.so.7
Xlib/libsasl.so
Xlib/libsasl.a
Xlib/sasl/libcrammd5.so.1
Xlib/sasl/libcrammd5.so
Xlib/sasl/libcrammd5.a
Xlib/sasl/libdigestmd5.so.0
Xlib/sasl/libdigestmd5.so
Xlib/sasl/libdigestmd5.a
Xlib/sasl/libanonymous.so.1
Xlib/sasl/libanonymous.so
Xlib/sasl/libanonymous.a
Xlib/sasl/libplain.so.1
Xlib/sasl/libplain.so
Xlib/sasl/libplain.a
Xsbin/saslpasswd
END-of-libsasl/pkg/PLIST
echo x - libsasl/pkg/PLIST.add-krb5
sed 's/^X//' >libsasl/pkg/PLIST.add-krb5 << 'END-of-libsasl/pkg/PLIST.add-krb5'
Xlib/sasl/libgssapiv2.so.1
Xlib/sasl/libgssapiv2.so
Xlib/sasl/libgssapiv2.a
END-of-libsasl/pkg/PLIST.add-krb5
echo x - libsasl/pkg/PLIST.add-krb4
sed 's/^X//' >libsasl/pkg/PLIST.add-krb4 << 'END-of-libsasl/pkg/PLIST.add-krb4'
Xlib/sasl/libkerberos4.so.1
Xlib/sasl/libkerberos4.so
Xlib/sasl/libkerberos4.a
END-of-libsasl/pkg/PLIST.add-krb4
echo x - libsasl/pkg/DESCR
sed 's/^X//' >libsasl/pkg/DESCR << 'END-of-libsasl/pkg/DESCR'
XDerived from: $Id: README,v 1.21 1999/12/02 20:10:30 leg Exp $
X
XThis is the Cyrus SASL API implentation. It can be used on the client
Xor server side to provide authentication. See RFC 2222 for more
Xinformation.
X
XThe latest version is available at:
Xftp://ftp.andrew.cmu.edu/pub/cyrus-mail
X
XThere's a mailing list for Cyrus SASL.  Subscribe by sending a message
Xto majordomo@lists.andrew.cmu.edu with the body "subscribe cyrus-sasl".
X
XFEATURES
X--------
XThe following mechanisms are included in this distribution:
XANONYMOUS
XCRAM-MD5
XDIGEST-MD5
XGSSAPI (MIT Kerberos 5 or Heimdal Kerberos 5)
XKERBEROS_V4
XPLAIN
X
XThe library can use a Berkeley DB, gdbm or ndbm file on the server
Xside to store per-user authentication secrets.  The utility saslpasswd
Xhas been included for adding authentication secrets to the file.
X
XPLAIN can either check /etc/passwd, Kerberos V4, use PAM, or the sasl
Xsecrets database.  By default PAM is used if PAM is found, then
XKerberos, finally /etc/passwd (non-shadow).  This is tweakable in the
Xconfiguration file.  Please see
X"${PREFIX}/share/doc/sasl/sysadmin.html".
X
XThe sample directory contains two programs which provide a reference
Xfor using the library, as well as making it easy to test a mechanism
Xon the command line.  See "${PREFIX}/share/doc/sasl/programming.html"
Xfor more information.
END-of-libsasl/pkg/DESCR
exit




>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912232148.QAA60149>