summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2003-02-07 20:21:47 +0000
committerNick Hadaway <raker@gentoo.org>2003-02-07 20:21:47 +0000
commit19167c2c6e279d6a6a8f99e1af8db7c1a669c37d (patch)
tree0baf35a2b8274848513873a8209b414057ad2b51 /dev-libs/cyrus-imap-dev
parentadd ~alpha (diff)
downloadgentoo-2-19167c2c6e279d6a6a8f99e1af8db7c1a669c37d.tar.gz
gentoo-2-19167c2c6e279d6a6a8f99e1af8db7c1a669c37d.tar.bz2
gentoo-2-19167c2c6e279d6a6a8f99e1af8db7c1a669c37d.zip
Version bump.
Diffstat (limited to 'dev-libs/cyrus-imap-dev')
-rw-r--r--dev-libs/cyrus-imap-dev/ChangeLog10
-rw-r--r--dev-libs/cyrus-imap-dev/cyrus-imap-dev-2.1.12.ebuild80
-rw-r--r--dev-libs/cyrus-imap-dev/files/cyrus-imap-dev-2.1.12-libwrap.patch14
-rw-r--r--dev-libs/cyrus-imap-dev/files/digest-cyrus-imap-dev-2.1.121
4 files changed, 104 insertions, 1 deletions
diff --git a/dev-libs/cyrus-imap-dev/ChangeLog b/dev-libs/cyrus-imap-dev/ChangeLog
index 513de22d55b7..944438b9d390 100644
--- a/dev-libs/cyrus-imap-dev/ChangeLog
+++ b/dev-libs/cyrus-imap-dev/ChangeLog
@@ -1,6 +1,14 @@
# 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.6 2002/12/13 10:56:29 blizzy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-imap-dev/ChangeLog,v 1.7 2003/02/07 20:21:47 raker Exp $
+
+*cyrus-imap-dev-2.1.12 (07 Feb 2003)
+
+ 07 Feb 2003; Nick Hadaway <raker@gentoo.org>
+ cyrus-imap-dev-2.1.12.ebuild,
+ files/digest-cyrus-imap-dev-2.1.12,
+ files/cyrus-imap-dev-2.1.12-libwrap.patch :
+ Version bump.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
diff --git a/dev-libs/cyrus-imap-dev/cyrus-imap-dev-2.1.12.ebuild b/dev-libs/cyrus-imap-dev/cyrus-imap-dev-2.1.12.ebuild
new file mode 100644
index 000000000000..bcc22a994509
--- /dev/null
+++ b/dev-libs/cyrus-imap-dev/cyrus-imap-dev-2.1.12.ebuild
@@ -0,0 +1,80 @@
+# 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.12.ebuild,v 1.1 2003/02/07 20:21:47 raker Exp $
+
+inherit eutils
+
+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 "
+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.12
+ >=sys-apps/tcp-wrappers-7.6"
+S=${WORKDIR}/cyrus-imapd-${PV}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # add libwrap defines as we don't have a dynamicly linked library.
+ epatch ${FILESDIR}/${P}-libwrap.patch
+ # when linking with rpm, you need to link with more libraries.
+ cp configure configure.orig
+ sed -e "s:lrpm:lrpm -lrpmio -lrpmdb:" \
+ < configure.orig > configure
+}
+
+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=/usr/athena --with-auth=krb --enable-gssapi" \
+ # || myconf="${myconf} --without-krb --with-auth=unix --disable-gssapi"
+ # As cyrus-sasl-2.1.12 doesn't appear to compile in krb4 support
+ # (neither did previous versions) only support krb5
+ use kerberos && myconf="${myconf} --with-auth=krb --enable-gssapi" \
+ || myconf="${myconf} --without-krb --with-auth=unix --disable-gssapi"
+
+ econf \
+ --enable-listext \
+ --with-cyrus-group=mail \
+ --enable-netscapehack \
+ --with-com_err=yes \
+ --without-perl \
+ --disable-cyradm \
+ --with-libwrap=/usr \
+ ${myconf}
+
+ # 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() {
+ dodoc COPYRIGHT README*
+ cd ${S}/lib
+ dodir /usr/include/cyrus
+ emake DESTDIR=${D} install || die "compile problem"
+ cd ${S}/acap
+ emake DESTDIR=${D} install || die "compile problem"
+}
diff --git a/dev-libs/cyrus-imap-dev/files/cyrus-imap-dev-2.1.12-libwrap.patch b/dev-libs/cyrus-imap-dev/files/cyrus-imap-dev-2.1.12-libwrap.patch
new file mode 100644
index 000000000000..ee800779f5e4
--- /dev/null
+++ b/dev-libs/cyrus-imap-dev/files/cyrus-imap-dev-2.1.12-libwrap.patch
@@ -0,0 +1,14 @@
+diff -urN cyrus-imapd-2.1.11/master/master.c cyrus-imapd-2.1.11-modified/master/master.c
+--- cyrus-imapd-2.1.11/master/master.c 2002-11-01 10:44:33.000000000 -0600
++++ cyrus-imapd-2.1.11-modified/master/master.c 2002-12-07 18:21:41.000000000 -0600
+@@ -103,6 +103,10 @@
+ static int verbose = 0;
+ static int listen_queue_backlog = 32;
+
++int allow_severity = LOG_DEBUG;
++int deny_severity = LOG_ERR;
++int hosts_ctl;
++
+ struct service *Services = NULL;
+ int allocservices = 0;
+ int nservices = 0;
diff --git a/dev-libs/cyrus-imap-dev/files/digest-cyrus-imap-dev-2.1.12 b/dev-libs/cyrus-imap-dev/files/digest-cyrus-imap-dev-2.1.12
new file mode 100644
index 000000000000..a1facafbb82d
--- /dev/null
+++ b/dev-libs/cyrus-imap-dev/files/digest-cyrus-imap-dev-2.1.12
@@ -0,0 +1 @@
+MD5 dc3355d0170509ccebd9788ed2daad39 cyrus-imapd-2.1.12.tar.gz 1664202