summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuan Van <langthang@gentoo.org>2004-11-23 23:48:32 +0000
committerTuan Van <langthang@gentoo.org>2004-11-23 23:48:32 +0000
commit48ade523f2f5344fd8fc1816930fe2b31fabd1be (patch)
treebdf5fe407122b26f37aa7ea29f208365e16998b9 /net-mail/cyrus-imap-admin/cyrus-imap-admin-2.2.10.ebuild
parentNew package (Manifest recommit) (diff)
downloadgentoo-2-48ade523f2f5344fd8fc1816930fe2b31fabd1be.tar.gz
gentoo-2-48ade523f2f5344fd8fc1816930fe2b31fabd1be.tar.bz2
gentoo-2-48ade523f2f5344fd8fc1816930fe2b31fabd1be.zip
Version bump WRT #72194.
Diffstat (limited to 'net-mail/cyrus-imap-admin/cyrus-imap-admin-2.2.10.ebuild')
-rw-r--r--net-mail/cyrus-imap-admin/cyrus-imap-admin-2.2.10.ebuild77
1 files changed, 77 insertions, 0 deletions
diff --git a/net-mail/cyrus-imap-admin/cyrus-imap-admin-2.2.10.ebuild b/net-mail/cyrus-imap-admin/cyrus-imap-admin-2.2.10.ebuild
new file mode 100644
index 000000000000..74baf089e773
--- /dev/null
+++ b/net-mail/cyrus-imap-admin/cyrus-imap-admin-2.2.10.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imap-admin/cyrus-imap-admin-2.2.10.ebuild,v 1.1 2004/11/23 23:48:32 langthang Exp $
+
+inherit perl-module eutils gnuconfig
+
+DESCRIPTION="Utilities and Perl modules to administer a 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 ~amd64 ~sparc ~ppc hppa"
+IUSE="ssl kerberos"
+
+RDEPEND=">=sys-libs/db-3.2
+ >=dev-lang/perl-5.6.1
+ >=dev-libs/cyrus-sasl-2.1.13
+ dev-perl/Term-ReadLine-Perl
+ dev-perl/TermReadKey
+ ssl? ( >=dev-libs/openssl-0.9.6 )
+ kerberos? ( virtual/krb5 )"
+
+DEPEND="$RDEPEND
+ sys-devel/libtool
+ >=sys-devel/autoconf-2.58
+ sys-devel/automake
+ >=sys-apps/sed-4"
+
+S="${WORKDIR}/cyrus-imapd-${PV}"
+
+src_unpack() {
+ unpack ${A} && cd "${S}"
+
+ # DB4 detection and versioned symbols.
+ #epatch "${FILESDIR}/cyrus-imapd-${PV}-db4.patch"
+
+ # Recreate configure.
+ export WANT_AUTOCONF="2.5"
+ gnuconfig_update || die "gnuconfig_update failed."
+ ebegin "Recreating configure"
+ rm -rf configure config.h.in autom4te.cache
+ sh SMakefile &>/dev/null || die "SMakefile failed"
+ eend $?
+
+ # When linking with rpm, you need to link with more libraries.
+ sed -e "s:lrpm:lrpm -lrpmio -lrpmdb:" -i configure || die "sed failed"
+
+ epatch ${FILESDIR}/${P}-fPIC.patch
+}
+
+src_compile() {
+ # gnuconfig_update
+
+ local myconf
+ myconf="${myconf} `use_with ssl openssl`"
+ myconf="${myconf} `use_with kerberos gssapi`"
+
+ econf \
+ --disable-server \
+ --enable-murder \
+ --enable-listext \
+ --enable-netscapehack \
+ --with-cyrus-group=mail \
+ --with-com_err=yes \
+ --with-auth=unix \
+ --with-perl=/usr/bin/perl \
+ --enable-cyradm \
+ ${myconf} || die "econf failed"
+
+ emake -C "${S}/lib" all || die "compile problem"
+ emake -C "${S}/perl" all || die "compile problem"
+}
+
+src_install () {
+ make -C "${S}/perl" DESTDIR="${D}" install || die "install problem"
+}