diff options
author | Tobias Scherbaum <dertobi123@gentoo.org> | 2009-12-31 09:23:18 +0000 |
---|---|---|
committer | Tobias Scherbaum <dertobi123@gentoo.org> | 2009-12-31 09:23:18 +0000 |
commit | 801d4b4003d721cc8e1d0617176eb54f58c6d3ea (patch) | |
tree | 64d4b9cca69413a17bb6a2f8f464d37d5ae6990f /net-mail/cyrus-imap-admin | |
parent | version bump wrt #285810 (diff) | |
download | gentoo-2-801d4b4003d721cc8e1d0617176eb54f58c6d3ea.tar.gz gentoo-2-801d4b4003d721cc8e1d0617176eb54f58c6d3ea.tar.bz2 gentoo-2-801d4b4003d721cc8e1d0617176eb54f58c6d3ea.zip |
Version bump, also install perl-modules into vendor-dir (#295170)
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'net-mail/cyrus-imap-admin')
-rw-r--r-- | net-mail/cyrus-imap-admin/ChangeLog | 8 | ||||
-rw-r--r-- | net-mail/cyrus-imap-admin/cyrus-imap-admin-2.3.16.ebuild | 78 |
2 files changed, 85 insertions, 1 deletions
diff --git a/net-mail/cyrus-imap-admin/ChangeLog b/net-mail/cyrus-imap-admin/ChangeLog index 96d9645d9066..1a6740067b9d 100644 --- a/net-mail/cyrus-imap-admin/ChangeLog +++ b/net-mail/cyrus-imap-admin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-mail/cyrus-imap-admin # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imap-admin/ChangeLog,v 1.88 2009/11/22 14:01:23 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imap-admin/ChangeLog,v 1.89 2009/12/31 09:23:18 dertobi123 Exp $ + +*cyrus-imap-admin-2.3.16 (31 Dec 2009) + + 31 Dec 2009; Tobias Scherbaum <dertobi123@gentoo.org> + +cyrus-imap-admin-2.3.16.ebuild: + Version bump, also install perl-modules into vendor-dir (#295170) *cyrus-imap-admin-2.3.15 (22 Nov 2009) diff --git a/net-mail/cyrus-imap-admin/cyrus-imap-admin-2.3.16.ebuild b/net-mail/cyrus-imap-admin/cyrus-imap-admin-2.3.16.ebuild new file mode 100644 index 000000000000..3853908069d8 --- /dev/null +++ b/net-mail/cyrus-imap-admin/cyrus-imap-admin-2.3.16.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2009 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.3.16.ebuild,v 1.1 2009/12/31 09:23:18 dertobi123 Exp $ + +inherit autotools perl-app eutils + +MY_PV=${PV/_/} + +PIC_PATCH_VER="2.2" +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-${MY_PV}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +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-${MY_PV}" + +src_unpack() { + unpack ${A} && cd "${S}" + + # Versioned symbols. + epatch "${FILESDIR}/${PN}-${PIC_PATCH_VER}-fPIC.patch" + + # Recreate configure. + WANT_AUTOCONF="2.5" + eautoreconf + + # When linking with rpm, you need to link with more libraries. + sed -e "s:lrpm:lrpm -lrpmio -lrpmdb:" -i configure || die "sed failed" +} + +src_compile() { + + local myconf + myconf="${myconf} `use_with ssl openssl`" + myconf="${myconf} $(use_enable kerberos gssapi) $(use_enable kerberos krb5afspts)" + + if use kerberos; then + myconf="${myconf} --with-krb=$(krb5-config --prefix) --with-krbdes=no" + else + myconf="${myconf} --with-krb=no" + fi + + econf \ + --disable-server \ + --enable-murder \ + --enable-listext \ + --enable-netscapehack \ + --with-cyrus-group=mail \ + --with-com_err=yes \ + --with-perl=/usr/bin/perl \ + ${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}" INSTALLDIRS=vendor install || die "install problem" + fixlocalpod # bug #98122 +} |