summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2002-11-23 06:28:36 +0000
committerNick Hadaway <raker@gentoo.org>2002-11-23 06:28:36 +0000
commit5b418a9bad68ad723da89820a3626de67278da4b (patch)
treeead7264078c800d9e3540d6f216f1ffa6d0347c1 /dev-libs/cyrus-imap-dev
parentadded ppc to keywords (diff)
downloadgentoo-2-5b418a9bad68ad723da89820a3626de67278da4b.tar.gz
gentoo-2-5b418a9bad68ad723da89820a3626de67278da4b.tar.bz2
gentoo-2-5b418a9bad68ad723da89820a3626de67278da4b.zip
Added the diff being used on cyrus-imap-admin and cyrus-imapd.
Diffstat (limited to 'dev-libs/cyrus-imap-dev')
-rw-r--r--dev-libs/cyrus-imap-dev/ChangeLog9
-rw-r--r--dev-libs/cyrus-imap-dev/cyrus-imap-dev-2.1.9-r1.ebuild78
-rw-r--r--dev-libs/cyrus-imap-dev/files/config.diff14
3 files changed, 100 insertions, 1 deletions
diff --git a/dev-libs/cyrus-imap-dev/ChangeLog b/dev-libs/cyrus-imap-dev/ChangeLog
index d8af8b8a5cbc..c6f8320bcba0 100644
--- a/dev-libs/cyrus-imap-dev/ChangeLog
+++ b/dev-libs/cyrus-imap-dev/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/cyrus-imap-dev
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-imap-dev/ChangeLog,v 1.1 2002/10/11 05:33:35 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-imap-dev/ChangeLog,v 1.2 2002/11/23 06:28:36 raker Exp $
+
+*cyrus-imap-dev-2.1.9-r1 (23 Nov 2002)
+
+ 23 Nov 2002; Nick Hadaway <raker@gentoo.org>
+ cyrus-imap-dev-2.1.9-r1.ebuild, files/digest-cyrus-imap-dev-2.1.9-r1,
+ files/config.diff :
+ Added the diff being used on cyrus-imapd and cyrus-imap-admin.
*cyrus-imap-dev-2.1.9 (01 Oct 2002)
diff --git a/dev-libs/cyrus-imap-dev/cyrus-imap-dev-2.1.9-r1.ebuild b/dev-libs/cyrus-imap-dev/cyrus-imap-dev-2.1.9-r1.ebuild
new file mode 100644
index 000000000000..63adb48795a7
--- /dev/null
+++ b/dev-libs/cyrus-imap-dev/cyrus-imap-dev-2.1.9-r1.ebuild
@@ -0,0 +1,78 @@
+# 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-imap-dev/cyrus-imap-dev-2.1.9-r1.ebuild,v 1.1 2002/11/23 06:28:36 raker Exp $
+
+S=${WORKDIR}/cyrus-imapd-${PV}
+
+DESCRIPTION="Developer support for the Cyrus IMAP Server"
+HOMEPAGE="http://asg.web.cmu.edu/cyrus/imapd/"
+SRC_URI="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-imapd-${PV}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="x86 -ppc -sparc -sparc64"
+
+DEPEND="virtual/glibc
+ afs? ( >=net-fs/openafs-1.2.2 )
+ snmp? ( >=net-analyzer/ucd-snmp-4.2.3 )
+ ssl? ( >=dev-libs/openssl-0.9.6 )
+ kerberos? ( >=app-crypt/krb5-1.2.5 )
+ >=sys-libs/db-3.2
+ >=sys-libs/pam-0.75
+ >=dev-libs/cyrus-sasl-2.1.2
+ >=sys-apps/tcp-wrappers-7.6"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ patch < ${FILESDIR}/config.diff || die "patch failed"
+
+}
+
+src_compile() {
+
+ local myconf
+
+ use afs && myconf="--with-afs" \
+ || myconf="--without-afs"
+
+ use snmp && myconf="${myconf} --with-ucdsnmp=/usr" \
+ || myconf="${myconf} --without-ucdsnmp"
+
+ use ssl && myconf="${myconf} --with-openssl=/usr" \
+ || myconf="${myconf} --without-openssl"
+
+ use kerberos && myconf="${myconf} --with-krb --with-auth=krb" \
+ || myconf="${myconf} --without-krb --with-auth=unix"
+
+ econf \
+ --enable-listext \
+ --with-cyrus-group=mail \
+ --enable-netscapehack \
+ --with-com_err=yes \
+ --without-perl \
+ --disable-cyradm \
+ ${myconf} || die "bad ./configure"
+
+ # make depends break with -f... in CFLAGS
+ make depend CFLAGS="" || die "make depend problem"
+
+ cd ${S}/lib
+ make || die "compile problem"
+ cd ${S}/acap
+ make || die "compile problem"
+
+}
+
+src_install () {
+
+ cd ${S}/lib
+ mkdir -p -m 0755 ${D}usr/include/cyrus
+ emake DESTDIR=${D} install || die "compile problem"
+ cd ${S}/acap
+ emake DESTDIR=${D} install || die "compile problem"
+ cd ${S}
+ dodoc COPYRIGHT README*
+
+}
diff --git a/dev-libs/cyrus-imap-dev/files/config.diff b/dev-libs/cyrus-imap-dev/files/config.diff
new file mode 100644
index 000000000000..49ac51c55e66
--- /dev/null
+++ b/dev-libs/cyrus-imap-dev/files/config.diff
@@ -0,0 +1,14 @@
+--- configure Tue Sep 10 15:30:44 2002
++++ configure.modified Tue Sep 10 15:30:34 2002
+@@ -4036,9 +4036,9 @@
+
+
+ ;;
+- *) OPENSSL_INC="-I${with_openssl}/include"
++ *) OPENSSL_INC=""
+ OPENSSL_LIB="-L${with_openssl}/lib"
+- CPPFLAGS="${CPPFLAGS} ${OPENSSL_INC}"
++ CPPFLAGS="${CPPFLAGS}"
+ LDFLAGS="${LDFLAGS} ${OPENSSL_LIB}"
+ LIBS="${LIBS} -lssl -lcrypto";;
+ esac