version bump
authorEray Aslan <eras@gentoo.org>
Thu, 6 Oct 2011 11:17:52 +0000 (11:17 +0000)
committerEray Aslan <eras@gentoo.org>
Thu, 6 Oct 2011 11:17:52 +0000 (11:17 +0000)
Package-Manager: portage-2.1.10.20/cvs/Linux x86_64

net-mail/cyrus-imap-admin/ChangeLog
net-mail/cyrus-imap-admin/cyrus-imap-admin-2.4.12.ebuild [new file with mode: 0644]

index 5da034e0e6575d79efe1f5a40f5b958cdeb61f2a..133d86a4827831c28132664f68bf7223c8d4e077 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for net-mail/cyrus-imap-admin
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imap-admin/ChangeLog,v 1.104 2011/09/11 13:14:59 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imap-admin/ChangeLog,v 1.105 2011/10/06 11:17:52 eras Exp $
+
+*cyrus-imap-admin-2.4.12 (06 Oct 2011)
+
+  06 Oct 2011; Eray Aslan <eras@gentoo.org> +cyrus-imap-admin-2.4.12.ebuild:
+  version bump
 
   11 Sep 2011; Eray Aslan <eras@gentoo.org> cyrus-imap-admin-2.4.11.ebuild:
   Fix missing patch - bug #382581
diff --git a/net-mail/cyrus-imap-admin/cyrus-imap-admin-2.4.12.ebuild b/net-mail/cyrus-imap-admin/cyrus-imap-admin-2.4.12.ebuild
new file mode 100644 (file)
index 0000000..2421906
--- /dev/null
@@ -0,0 +1,64 @@
+# Copyright 1999-2011 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.4.12.ebuild,v 1.1 2011/10/06 11:17:52 eras Exp $
+
+EAPI=4
+
+inherit eutils perl-app db-use
+
+MY_PV=${PV/_/}
+
+DESCRIPTION="Utilities and Perl modules to administer a Cyrus IMAP server."
+HOMEPAGE="http://www.cyrusimap.org/"
+SRC_URI="ftp://ftp.cyrusimap.org/cyrus-imapd/cyrus-imapd-${MY_PV}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="berkdb kerberos ssl"
+
+RDEPEND=">=dev-lang/perl-5.6.1
+       >=dev-libs/cyrus-sasl-2.1.13
+       dev-perl/Term-ReadLine-Perl
+       dev-perl/TermReadKey
+       berkdb? ( >=sys-libs/db-3.2 )
+       ssl? ( >=dev-libs/openssl-0.9.6 )
+       kerberos? ( virtual/krb5 )"
+
+DEPEND="$RDEPEND"
+
+S="${WORKDIR}/cyrus-imapd-${MY_PV}"
+
+src_prepare() {
+       epatch "${FILESDIR}/${PN}-2.4.10-ldflags.patch"
+}
+
+src_configure() {
+       local myconf
+       if use berkdb ; then
+               myconf="--with-bdb-incdir=$(db_includedir)"
+       fi
+       econf \
+               --disable-server \
+               --enable-murder \
+               --enable-netscapehack \
+               --with-cyrus-group=mail \
+               --with-com_err=yes \
+               --with-perl=/usr/bin/perl \
+               --without-krb \
+               --without-krbdes \
+               $(use_with berkdb bdb) \
+               $(use_enable kerberos gssapi) \
+               $(use_with ssl openssl) \
+               ${myconf}
+}
+
+src_compile() {
+       emake -C "${S}/lib" all
+       emake -C "${S}/perl" all
+}
+
+src_install () {
+       emake -C "${S}/perl" DESTDIR="${D}" INSTALLDIRS=vendor install
+       fixlocalpod             # bug #98122
+}