diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-07-02 10:03:53 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-07-02 10:03:53 +0000 |
commit | c3c2be97b1baa6b94d211272c2585ae06aa48d66 (patch) | |
tree | bdb527dbb0f6d3ebf0a28dd1b48d1fc069f80052 /dev-libs | |
parent | repoman: Trim trailing whitespace (diff) | |
download | historical-c3c2be97b1baa6b94d211272c2585ae06aa48d66.tar.gz historical-c3c2be97b1baa6b94d211272c2585ae06aa48d66.tar.bz2 historical-c3c2be97b1baa6b94d211272c2585ae06aa48d66.zip |
resurrect cyrus-sasl-2.1.17.ebuild and patch; re-keyword cyrus-sasl-2.1.18.ebuild; required deps for several packages and archs
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/cyrus-sasl/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/cyrus-sasl/Manifest | 29 | ||||
-rw-r--r-- | dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild | 142 | ||||
-rw-r--r-- | dev-libs/cyrus-sasl/cyrus-sasl-2.1.18.ebuild | 4 | ||||
-rw-r--r-- | dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.17-db4.patch | 27 | ||||
-rw-r--r-- | dev-libs/cyrus-sasl/files/digest-cyrus-sasl-2.1.17 | 1 |
6 files changed, 197 insertions, 16 deletions
diff --git a/dev-libs/cyrus-sasl/ChangeLog b/dev-libs/cyrus-sasl/ChangeLog index 2e0f52a1ed5e..a6102177093f 100644 --- a/dev-libs/cyrus-sasl/ChangeLog +++ b/dev-libs/cyrus-sasl/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-libs/cyrus-sasl # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/ChangeLog,v 1.75 2004/07/02 04:36:28 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/ChangeLog,v 1.76 2004/07/02 10:03:53 mr_bones_ Exp $ + +*cyrus-sasl-2.1.17 (02 Jul 2004) + + 02 Jul 2004; Michael Sterrett <mr_bones_@gentoo.org> + +files/cyrus-sasl-2.1.17-db4.patch, +cyrus-sasl-2.1.17.ebuild, + cyrus-sasl-2.1.18.ebuild: + resurrect cyrus-sasl-2.1.17.ebuild and patch; re-keyword + cyrus-sasl-2.1.18.ebuild; required deps for several packages and archs 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> cyrus-sasl-1.5.27-r5.ebuild, cyrus-sasl-1.5.27-r6.ebuild, diff --git a/dev-libs/cyrus-sasl/Manifest b/dev-libs/cyrus-sasl/Manifest index 6a164a059f03..10e4eda6a9e4 100644 --- a/dev-libs/cyrus-sasl/Manifest +++ b/dev-libs/cyrus-sasl/Manifest @@ -1,31 +1,34 @@ -MD5 a3e9dda19cb828d9b840d680040def5f ChangeLog 14331 +MD5 76554c4ffb4bb8dd8a761fc763d6770d ChangeLog 14645 MD5 3197fe37928e71d1072a187d59c7420f cyrus-sasl-1.5.27-r5.ebuild 2692 MD5 371deb1330411da2c73d84bf46ee190e cyrus-sasl-1.5.27-r6.ebuild 2765 MD5 0364033278f9f21b78e0a6cb0025db6b cyrus-sasl-2.1.14.ebuild 3917 MD5 9bec5bcd49985c0721eec238b54ccc3d cyrus-sasl-2.1.15.ebuild 3747 -MD5 0525d88c3c3e85a5431d7fc2dbfcd1d7 cyrus-sasl-2.1.18.ebuild 4273 +MD5 a1468600bebea36437d458d047b417e7 cyrus-sasl-2.1.18.ebuild 4266 +MD5 6277febc050092fe764fe9c445a66570 cyrus-sasl-2.1.17.ebuild 4249 MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161 MD5 b398dd3696347604a52a40bf1a77291b files/2.1.14-db4.patch 2032 MD5 a445d25ebbdf18b372340d4643736941 files/2.1.14-kerberos.patch 1148 MD5 72c9252fd0ccb3fc369c60ec233f4218 files/2.1.14-mysql.patch 730 -MD5 4c6ffed2ba584f75a0c948250f7a11b7 files/cyrus-sasl-1.5.21-des.patch 242 -MD5 5d8f83e453b4f7dff5eeee74335de870 files/cyrus-sasl-1.5.24-rpath.patch 448 -MD5 5f96ab675ae2ff1da8e0ee4503340df5 files/cyrus-sasl-1.5.27-scram.patch 480 MD5 397ec1b24d4efe6efafa4782ba0f3493 files/cyrus-sasl-2.1.17-configdir.patch 8095 -MD5 b9ab0670db5b9b5a74de379c18e5370d files/cyrus-sasl-2.1.17-pgsql-include.patch 617 MD5 13c15e58d2fa734adeb718e4e3dea757 files/cyrus-sasl-2.1.18-db4.patch 1604 +MD5 fcf540108971d5aaa0bbfba381971ca7 files/digest-cyrus-sasl-2.1.18 70 +MD5 8a11a6b269e544ee863f098f5fab601d files/saslauthd.conf 897 +MD5 7b24e99c21a5924543fe82cd82a1d741 files/saslauthd.pam 223 +MD5 81cec2fe43610499ef4372d0dff44292 files/saslauthd2.conf 745 +MD5 960ffd4d83e165ccaa68cf43937ff63d files/digest-cyrus-sasl-2.1.17 70 +MD5 4c6ffed2ba584f75a0c948250f7a11b7 files/cyrus-sasl-1.5.21-des.patch 242 MD5 75aaabf38cf470bae9a928a334c3cb59 files/cyrus-sasl-configdir.patch 8510 MD5 228579b200f0a570f9c02d222f400672 files/cyrus-sasl-gcc32.patch 426 MD5 692a355142b7cfb937cd8a3a655c0310 files/cyrus-sasl-heimdal-deps.patch 624 MD5 9a317f7aa562936a829574f63aefce15 files/cyrus-sasl-saslauthd.patch 4938 +MD5 5d8f83e453b4f7dff5eeee74335de870 files/cyrus-sasl-1.5.24-rpath.patch 448 MD5 6690c1dc7a0e2c6219719eea1b367ab5 files/digest-cyrus-sasl-1.5.27-r5 69 MD5 6690c1dc7a0e2c6219719eea1b367ab5 files/digest-cyrus-sasl-1.5.27-r6 69 MD5 6ba386a4eb5f9addf367d41093ba369e files/digest-cyrus-sasl-2.1.14 70 MD5 6109117a3ea3c1141364d60d212f48d9 files/digest-cyrus-sasl-2.1.15 70 -MD5 fcf540108971d5aaa0bbfba381971ca7 files/digest-cyrus-sasl-2.1.18 70 -MD5 a21930769b34c30d8166dc1d65482c26 files/pwcheck.rc6 546 -MD5 d1672e7dfaaa66893c8eefe0712b7e36 files/saslauthd.conf 896 -MD5 7b24e99c21a5924543fe82cd82a1d741 files/saslauthd.pam 223 -MD5 65e5efdf063dbf2d5427b421343c9ff2 files/saslauthd.rc6 531 -MD5 1b1b242c70955511bc086ba8008d3536 files/saslauthd2.conf 744 -MD5 8d0729dbeb7685b261231cd0ddef4dfb files/saslauthd2.rc6 533 +MD5 b9ab0670db5b9b5a74de379c18e5370d files/cyrus-sasl-2.1.17-pgsql-include.patch 617 +MD5 346ac637058b838ef7a2e0df3e2a6e62 files/pwcheck.rc6 547 +MD5 5f96ab675ae2ff1da8e0ee4503340df5 files/cyrus-sasl-1.5.27-scram.patch 480 +MD5 d34cf414f5afcb61a8ebaa2295b16934 files/saslauthd.rc6 532 +MD5 b3e4b485d66d1b6c6cc5bb726f065492 files/saslauthd2.rc6 534 +MD5 cb4a5c5160219818e04196847ba9f7a1 files/cyrus-sasl-2.1.17-db4.patch 1451 diff --git a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild new file mode 100644 index 000000000000..09d69fa4634e --- /dev/null +++ b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild @@ -0,0 +1,142 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild,v 1.21 2004/07/02 10:03:53 mr_bones_ Exp $ + +inherit eutils flag-o-matic gnuconfig + +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 ~amd64 alpha ia64 hppa mips" +IUSE="gdbm ldap mysql postgres kerberos static ssl java pam" + +RDEPEND="virtual/glibc + >=sys-libs/db-3.2 + gdbm? ( >=sys-libs/gdbm-1.8.0 ) + ldap? ( >=net-nds/openldap-2.0.25 ) + mysql? ( >=dev-db/mysql-3.23.51 ) + postgres? ( >=dev-db/postgresql-7.2 ) + pam? ( >=sys-libs/pam-0.75 ) + ssl? ( >=dev-libs/openssl-0.9.6d ) + kerberos? ( virtual/krb5 ) + java? ( virtual/jdk )" + +DEPEND="${RDEPEND} + >=sys-apps/sed-4 + sys-devel/libtool + >=sys-devel/autoconf-2.58 + sys-devel/automake" + +src_unpack() { + unpack ${A} && cd "${S}" + + # Fix broken include. + sed -e 's:sasl/sasl.h:sasl.h:' \ + -i saslauthd/lak.c || die "sed failed" + + # Fix default port name for rimap auth mechanism. + sed -e '/define DEFAULT_REMOTE_SERVICE/s:imap:imap2:' \ + -i saslauthd/auth_rimap.c || die "sed failed" + + # DB4 detection and versioned symbols. + epatch "${FILESDIR}/cyrus-sasl-2.1.17-db4.patch" + + # Add configdir support. + epatch "${FILESDIR}/cyrus-sasl-2.1.17-configdir.patch" + + # Fix include path for newer PostgreSQL versions. + epatch "${FILESDIR}/cyrus-sasl-2.1.17-pgsql-include.patch" + + # Recreate configure. + export WANT_AUTOCONF="2.5" + rm -f configure config.h.in saslauthd/configure + ebegin "Recreating configure" + aclocal -I cmulocal -I config && autoheader && autoconf || \ + die "recreate configure failed" + eend $? + + cd "${S}/saslauthd" + ebegin "Recreating saslauthd/configure" + aclocal -I ../cmulocal -I ../config && autoheader && autoconf || \ + die "recreate configure failed" + eend $? +} + +src_compile() { + local myconf="--enable-login --enable-ntlm --disable-krb4 --disable-otp" + myconf="${myconf} `use_enable static`" + myconf="${myconf} `use_with ssl openssl`" + myconf="${myconf} `use_with pam`" + myconf="${myconf} `use_with ldap`" + myconf="${myconf} `use_enable kerberos gssapi`" + myconf="${myconf} `use_with mysql` `use_enable mysql sql`" + myconf="${myconf} `use_with postgres pgsql` `use_enable postgres sql`" + myconf="${myconf} `use_enable java` `use_with java javahome ${JAVA_HOME}`" + + if use mysql || use postgres ; then + myconf="${myconf} --enable-sql" + else + myconf="${myconf} --disable-sql" + fi + if use gdbm ; then + myconf="${myconf} --with-dblib=gdbm" + else + myconf="${myconf} --with-dblib=berkeley" + fi + + # Compaq-sdk checks for -D_REENTRANT and -pthread takes care the cpp stuff. + # taviso #24998 (17 Aug 03) + use alpha && append-flags -D_REENTRANT -pthread + + # Detect mips systems properly + use mips && gnuconfig_update + + econf \ + --with-saslauthd=/var/lib/sasl2 \ + --with-pwcheck=/var/lib/sasl2 \ + --with-configdir=/etc/sasl2 \ + --with-plugindir=/usr/lib/sasl2 \ + --with-dbpath=/etc/sasl2/sasldb2 \ + ${myconf} || die "econf failed" + + # Parallel build doesn't work. + emake -j1 || die "compile problem" +} + +src_install () { + einstall + keepdir /var/lib/sasl2 /etc/sasl2 + + # Generate an empty sasldb2 with correct permissions. + LD_OLD="${LD_LIBRARY_PATH}" + export LD_LIBRARY_PATH="${D}/usr/lib" SASL_PATH="${D}/usr/lib/sasl2" + echo "p" | "${D}/usr/sbin/saslpasswd2" -f "${D}/etc/sasl2/sasldb2" -p login + "${D}/usr/sbin/saslpasswd2" -f "${D}/etc/sasl2/sasldb2" -d login + export LD_LIBRARY_PATH="${LD_OLD}" + chown root:mail "${D}/etc/sasl2/sasldb2" + chmod 0640 "${D}/etc/sasl2/sasldb2" + + dodoc AUTHORS COPYING ChangeLog NEWS README doc/TODO doc/*.txt + newdoc pwcheck/README README.pwcheck + dohtml doc/*.html + + docinto examples + dodoc sample/{*.[ch],Makefile} + + docinto saslauthd + dodoc saslauthd/{AUTHORS,COPYING,ChangeLog,LDAP_SASLAUTHD,NEWS,README} + + if use pam ; then + insinto /etc/pam.d + newins "${FILESDIR}/saslauthd.pam" saslauthd + fi + + exeinto /etc/init.d + newexe "${FILESDIR}/pwcheck.rc6" pwcheck + newexe "${FILESDIR}/saslauthd2.rc6" saslauthd + insinto /etc/conf.d + newins "${FILESDIR}/saslauthd2.conf" saslauthd +} diff --git a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.18.ebuild b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.18.ebuild index 246ce4b9f6ed..3241fe10bc49 100644 --- a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.18.ebuild +++ b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.18.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/cyrus-sasl-2.1.18.ebuild,v 1.15 2004/07/02 04:36:28 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/cyrus-sasl-2.1.18.ebuild,v 1.16 2004/07/02 10:03:53 mr_bones_ Exp $ inherit eutils flag-o-matic gnuconfig @@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/${P}.tar.gz" LICENSE="as-is" SLOT="2" -KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~s390 ~ppc64" +KEYWORDS="~x86 ~ppc sparc ~mips ~alpha arm hppa amd64 ~ia64 s390 ppc64" IUSE="gdbm ldap mysql postgres kerberos static ssl java pam" RDEPEND="virtual/libc diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.17-db4.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.17-db4.patch new file mode 100644 index 000000000000..ef0156770dd8 --- /dev/null +++ b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.17-db4.patch @@ -0,0 +1,27 @@ +diff -urN cyrus-sasl-2.1.14/cmulocal/berkdb.m4 cyrus-sasl-2.1.14-modified/cmulocal/berkdb.m4 +--- cyrus-sasl-2.1.14/cmulocal/berkdb.m4 2003-04-15 17:25:41.000000000 -0500 ++++ cyrus-sasl-2.1.14-modified/cmulocal/berkdb.m4 2003-07-09 03:17:48.000000000 -0500 +@@ -211,12 +211,20 @@ + BDB_LIBADD="" + fi + +- for dbname in db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3 db3.3 db33 db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db ++ for dbname in db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db + do +- AC_CHECK_LIB($dbname, db_create, BDB_LIBADD="$BDB_LIBADD -l$dbname"; +- dblib="berkeley"; break, dblib="no") ++ AC_CHECK_LIB($dbname, db_create_4000, BDB_LIBADD="$BDB_LIBADD -l$dbname"; ++ dblib="berkeley"; break, AC_CHECK_LIB($dbname, db_create_4001, BDB_LIBADD="$BDB_LIBADD -l$dbname"; ++ dblib="berkeley"; break, dblib="no")) + done + if test "$dblib" = "no"; then ++ for dbname in db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3 db3.3 db-3.2 db3.2 db-3.1 db3.1 db-3 db3 db ++ do ++ AC_CHECK_LIB($dbname, db_create, BDB_LIBADD="$BDB_LIBADD -l$dbname"; ++ dblib="berkeley"; break, dblib="no") ++ done ++ fi ++ if test "$dblib" = "no"; then + AC_CHECK_LIB(db, db_open, BDB_LIBADD="$BDB_LIBADD -ldb"; + dblib="berkeley"; dbname=db, + dblib="no") diff --git a/dev-libs/cyrus-sasl/files/digest-cyrus-sasl-2.1.17 b/dev-libs/cyrus-sasl/files/digest-cyrus-sasl-2.1.17 new file mode 100644 index 000000000000..954839a230d0 --- /dev/null +++ b/dev-libs/cyrus-sasl/files/digest-cyrus-sasl-2.1.17 @@ -0,0 +1 @@ +MD5 4add6be2f194dc51aafc64193a1dd77b cyrus-sasl-2.1.17.tar.gz 1499725 |