summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2002-10-11 14:16:02 +0000
committerNick Hadaway <raker@gentoo.org>2002-10-11 14:16:02 +0000
commit3a1b76641980f9ab3d3ef8f26be881d7759bb250 (patch)
treed26da4e7ceea094911e7d7f88566e67830f05a2e /net-mail
parent---------------------------------------------------------------------- (diff)
downloadhistorical-3a1b76641980f9ab3d3ef8f26be881d7759bb250.tar.gz
historical-3a1b76641980f9ab3d3ef8f26be881d7759bb250.tar.bz2
historical-3a1b76641980f9ab3d3ef8f26be881d7759bb250.zip
Committing to test perl module stuffs... using the ~ (unstable)
marker...
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/cyrus-imap-admin/ChangeLog12
-rw-r--r--net-mail/cyrus-imap-admin/cyrus-imap-admin-2.1.9.ebuild89
-rw-r--r--net-mail/cyrus-imap-admin/files/config.diff14
-rw-r--r--net-mail/cyrus-imap-admin/files/digest-cyrus-imap-admin-2.1.91
4 files changed, 116 insertions, 0 deletions
diff --git a/net-mail/cyrus-imap-admin/ChangeLog b/net-mail/cyrus-imap-admin/ChangeLog
new file mode 100644
index 000000000000..a73dbee0293e
--- /dev/null
+++ b/net-mail/cyrus-imap-admin/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for net-mail/cyrus-imap-admin
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imap-admin/ChangeLog,v 1.1 2002/10/11 14:16:02 raker Exp $
+
+*cyrus-imap-admin-2.1.9 (01 Oct 2002)
+
+ 11 Oct 2002; Nick Hadaway <raker@gentoo.org>
+ cyrus-imap-admin-2.1.9.ebuild :
+ Working out some perl-module wonkiness.
+
+ 01 Oct 2002; Alexander Holler <holler@ahsoftware.de>
+ Initial checkin of this package.
diff --git a/net-mail/cyrus-imap-admin/cyrus-imap-admin-2.1.9.ebuild b/net-mail/cyrus-imap-admin/cyrus-imap-admin-2.1.9.ebuild
new file mode 100644
index 000000000000..501d19804604
--- /dev/null
+++ b/net-mail/cyrus-imap-admin/cyrus-imap-admin-2.1.9.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imap-admin/cyrus-imap-admin-2.1.9.ebuild,v 1.1 2002/10/11 14:16:02 raker Exp $
+
+inherit perl-module
+
+S=${WORKDIR}/cyrus-imapd-${PV}
+
+DESCRIPTION="Utilities to administer a Cyrus IMAP Server (includes Perl modules)"
+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"
+
+PROVIDE="virtual/imapd"
+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 )
+ >=sys-devel/perl-5.6.1
+ 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
+ dev-perl/ExtUtils-MakeMaker"
+RDEPEND="${DEPEND}"
+
+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 \
+ --with-perl \
+ --enable-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}/perl
+ make || die "compile problem"
+
+}
+
+src_install () {
+
+ echo "Installation of perl-modules"
+ export DESTDIR=${D}
+ cd ${S}/perl/imap
+ perl-module_src_prep
+ perl-module_src_compile
+ perl-module_src_test
+ perl-module_src_install
+ cd ${S}/perl/sieve
+ perl-module_src_prep
+ perl-module_src_compile
+ perl-module_src_test
+ perl-module_src_install
+
+}
diff --git a/net-mail/cyrus-imap-admin/files/config.diff b/net-mail/cyrus-imap-admin/files/config.diff
new file mode 100644
index 000000000000..49ac51c55e66
--- /dev/null
+++ b/net-mail/cyrus-imap-admin/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
diff --git a/net-mail/cyrus-imap-admin/files/digest-cyrus-imap-admin-2.1.9 b/net-mail/cyrus-imap-admin/files/digest-cyrus-imap-admin-2.1.9
new file mode 100644
index 000000000000..4613b3ff368d
--- /dev/null
+++ b/net-mail/cyrus-imap-admin/files/digest-cyrus-imap-admin-2.1.9
@@ -0,0 +1 @@
+MD5 09e9a5ad1d20c0650b3787b951d2e86f cyrus-imapd-2.1.9.tar.gz 1633031