diff options
author | Nick Hadaway <raker@gentoo.org> | 2002-12-14 23:58:33 +0000 |
---|---|---|
committer | Nick Hadaway <raker@gentoo.org> | 2002-12-14 23:58:33 +0000 |
commit | cbb1c41707b1a6e9bf83acb602dd93b77418fc00 (patch) | |
tree | d6c6056fb6c13ad3de5f09e2e9f3477ff8ae9130 /dev-libs/cyrus-sasl | |
parent | misc syntax corrections (diff) | |
download | gentoo-2-cbb1c41707b1a6e9bf83acb602dd93b77418fc00.tar.gz gentoo-2-cbb1c41707b1a6e9bf83acb602dd93b77418fc00.tar.bz2 gentoo-2-cbb1c41707b1a6e9bf83acb602dd93b77418fc00.zip |
Version bump.
Diffstat (limited to 'dev-libs/cyrus-sasl')
-rw-r--r-- | dev-libs/cyrus-sasl/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/cyrus-sasl/cyrus-sasl-2.1.10.ebuild | 112 | ||||
-rw-r--r-- | dev-libs/cyrus-sasl/files/digest-cyrus-sasl-2.1.10 | 1 |
3 files changed, 120 insertions, 1 deletions
diff --git a/dev-libs/cyrus-sasl/ChangeLog b/dev-libs/cyrus-sasl/ChangeLog index b3e5c803afaf..91fc32d51ee2 100644 --- a/dev-libs/cyrus-sasl/ChangeLog +++ b/dev-libs/cyrus-sasl/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/cyrus-sasl # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/ChangeLog,v 1.27 2002/12/13 10:56:29 blizzy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/ChangeLog,v 1.28 2002/12/14 23:58:33 raker Exp $ + +*cyrus-sasl-2.1.10 (14 Dec 2002) + + 14 Dec 2002; Nick Hadaway <raker@gentoo.org> cyrus-sasl-2.1.10.ebuild, + files/digest-cyrus-sasl-2.1.10 : + Version bump. There is a known security hole in 2.1.9 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords diff --git a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.10.ebuild b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.10.ebuild new file mode 100644 index 000000000000..26efd966c46d --- /dev/null +++ b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.10.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/cyrus-sasl-2.1.10.ebuild,v 1.1 2002/12/14 23:58:33 raker Exp $ + +S=${WORKDIR}/${P} + +DESCRIPTION="The Cyrus SASL (Simple Authentication and Security Layer)" +HOMEPAGE="http://asg.web.cmu.edu/sasl/" +SRC_URI="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/${P}.tar.gz" + +LICENSE="as-is" +SLOT="2" +KEYWORDS="~x86 ~ppc -sparc " + +inherit eutils + +RDEPEND=">=sys-libs/db-3.2 + >=sys-libs/pam-0.75 + >=dev-libs/openssl-0.9.6d + gdbm? ( >=sys-libs/gdbm-1.8.0 ) + berkdb? ( >=sys-libs/db-3.2.9 ) + ldap? ( >=net-nds/openldap-2.0.25 ) + mysql? ( >=dev-db/mysql-3.23.51 ) + kerberos? ( virtual/krb5 )" + +DEPEND="${RDEPEND} + sys-devel/libtool + sys-devel/autoconf + sys-devel/automake" + +src_unpack() { + unpack ${A} ; cd ${S} + + # Fix depends for heimdal needed in saslv2 too + epatch ${FILESDIR}/${PN}2-heimdal-deps.patch +} + +src_compile() { + + local myconf + + libtoolize --copy --force + aclocal -I config -I cmulocal || die + autoheader || die + automake -a --foreign || die + autoconf || die + autoconf saslauthd/configure.in > saslauthd/configure || die + chmod +x saslauthd/configure || die + + use ldap && myconf="${myconf} --with-ldap" \ + || myconf="${myconf} --without-ldap" + + use mysql && myconf="${myconf} --with-mysql" \ + || myconf="${myconf} --without-mysql" + + if use berkdb; then + myconf="${myconf} --with-dblib=berkeley" + elif use gdbm; then + myconf="${myconf} --with-dblib=gdbm --with-gdbm=/usr" + else + myconf="${myconf} --with-dblib=berkeley" + fi + + use static && myconf="${myconf} --enable-static --with-staticsasl" \ + || myconf="${myconf} --disable-static --without-staticsasl" + + use kerberos && myconf="${myconf} --enable-gssapi=/usr" \ + || myconf="${myconf} --disable-gssapi" + + econf \ + --with-saslauthd=/var/lib/sasl2 \ + --with-pwcheck=/var/lib/sasl2 \ + --with-configdir=/etc/sasl2 \ + --with-openssl \ + --with-plugindir=/usr/lib/sasl2 \ + --with-dbpath=/etc/sasl2/sasldb2 \ + --with-des \ + --with-rc4 \ + --disable-krb4 \ + --with-gnu-ld \ + --enable-shared \ + --disable-sample \ + --enable-login \ + ${myconf} || die "bad ./configure" + + make MAKE=emake || die "compile problem" +} + +src_install () { + + einstall || die "install problem" + + dodoc AUTHORS ChangeLog COPYING NEWS README doc/*.txt + docinto examples ; dodoc sample/{*.[ch],Makefile} + newdoc pwcheck/README README.pwcheck + dohtml doc/* + + dodir /var/lib/sasl2 + dodir /etc/sasl2 + # generate an empty sasldb2 with correct permissions + LD_OLD=${LD_LIBRARY_PATH} + export LD_LIBRARY_PATH=${S}/lib/.libs + echo "gentoo" | ${D}usr/sbin/saslpasswd2 -f ${D}etc/sasl2/sasldb2 -p cyrus + ${D}usr/sbin/saslpasswd2 -f ${D}etc/sasl2/sasldb2 -d cyrus + export LD_LIBRARY_PATH=${LD_OLD} + chown root.mail ${D}etc/sasl2/sasldb2 + chmod 0640 ${D}etc/sasl2/sasldb2 + + insinto /etc/conf.d ; newins ${FILESDIR}/saslauthd.confd saslauthd + exeinto /etc/init.d ; newexe ${FILESDIR}/saslauthd2.rc6 saslauthd + exeinto /etc/init.d ; newexe ${FILESDIR}/pwcheck.rc6 pwcheck +} diff --git a/dev-libs/cyrus-sasl/files/digest-cyrus-sasl-2.1.10 b/dev-libs/cyrus-sasl/files/digest-cyrus-sasl-2.1.10 new file mode 100644 index 000000000000..bc95eab8e136 --- /dev/null +++ b/dev-libs/cyrus-sasl/files/digest-cyrus-sasl-2.1.10 @@ -0,0 +1 @@ +MD5 3ac2a696c091a76ce6c7db27e5d859d4 cyrus-sasl-2.1.10.tar.gz 1325286 |