Gentoo Archives: gentoo-commits

From: "Tobias Scherbaum (dertobi123)" <dertobi123@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-mail/cyrus-imap-admin: ChangeLog cyrus-imap-admin-2.3.16.ebuild
Date: Thu, 31 Dec 2009 09:23:24
Message-Id: E1NQHFX-00047h-1H@stork.gentoo.org
1 dertobi123 09/12/31 09:23:19
2
3 Modified: ChangeLog
4 Added: cyrus-imap-admin-2.3.16.ebuild
5 Log:
6 Version bump, also install perl-modules into vendor-dir (#295170)
7 (Portage version: 2.2_rc61/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.89 net-mail/cyrus-imap-admin/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/cyrus-imap-admin/ChangeLog?rev=1.89&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/cyrus-imap-admin/ChangeLog?rev=1.89&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/cyrus-imap-admin/ChangeLog?r1=1.88&r2=1.89
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-mail/cyrus-imap-admin/ChangeLog,v
19 retrieving revision 1.88
20 retrieving revision 1.89
21 diff -u -r1.88 -r1.89
22 --- ChangeLog 22 Nov 2009 14:01:23 -0000 1.88
23 +++ ChangeLog 31 Dec 2009 09:23:18 -0000 1.89
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-mail/cyrus-imap-admin
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imap-admin/ChangeLog,v 1.88 2009/11/22 14:01:23 dertobi123 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imap-admin/ChangeLog,v 1.89 2009/12/31 09:23:18 dertobi123 Exp $
29 +
30 +*cyrus-imap-admin-2.3.16 (31 Dec 2009)
31 +
32 + 31 Dec 2009; Tobias Scherbaum <dertobi123@g.o>
33 + +cyrus-imap-admin-2.3.16.ebuild:
34 + Version bump, also install perl-modules into vendor-dir (#295170)
35
36 *cyrus-imap-admin-2.3.15 (22 Nov 2009)
37
38
39
40
41 1.1 net-mail/cyrus-imap-admin/cyrus-imap-admin-2.3.16.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/cyrus-imap-admin/cyrus-imap-admin-2.3.16.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/cyrus-imap-admin/cyrus-imap-admin-2.3.16.ebuild?rev=1.1&content-type=text/plain
45
46 Index: cyrus-imap-admin-2.3.16.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $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 $
51
52 inherit autotools perl-app eutils
53
54 MY_PV=${PV/_/}
55
56 PIC_PATCH_VER="2.2"
57 DESCRIPTION="Utilities and Perl modules to administer a Cyrus IMAP server."
58 HOMEPAGE="http://asg.web.cmu.edu/cyrus/imapd/"
59 SRC_URI="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-imapd-${MY_PV}.tar.gz"
60
61 LICENSE="as-is"
62 SLOT="0"
63 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
64 IUSE="ssl kerberos"
65
66 RDEPEND=">=sys-libs/db-3.2
67 >=dev-lang/perl-5.6.1
68 >=dev-libs/cyrus-sasl-2.1.13
69 dev-perl/Term-ReadLine-Perl
70 dev-perl/TermReadKey
71 ssl? ( >=dev-libs/openssl-0.9.6 )
72 kerberos? ( virtual/krb5 )"
73
74 DEPEND="$RDEPEND
75 sys-devel/libtool
76 >=sys-devel/autoconf-2.58
77 sys-devel/automake
78 >=sys-apps/sed-4"
79
80 S="${WORKDIR}/cyrus-imapd-${MY_PV}"
81
82 src_unpack() {
83 unpack ${A} && cd "${S}"
84
85 # Versioned symbols.
86 epatch "${FILESDIR}/${PN}-${PIC_PATCH_VER}-fPIC.patch"
87
88 # Recreate configure.
89 WANT_AUTOCONF="2.5"
90 eautoreconf
91
92 # When linking with rpm, you need to link with more libraries.
93 sed -e "s:lrpm:lrpm -lrpmio -lrpmdb:" -i configure || die "sed failed"
94 }
95
96 src_compile() {
97
98 local myconf
99 myconf="${myconf} `use_with ssl openssl`"
100 myconf="${myconf} $(use_enable kerberos gssapi) $(use_enable kerberos krb5afspts)"
101
102 if use kerberos; then
103 myconf="${myconf} --with-krb=$(krb5-config --prefix) --with-krbdes=no"
104 else
105 myconf="${myconf} --with-krb=no"
106 fi
107
108 econf \
109 --disable-server \
110 --enable-murder \
111 --enable-listext \
112 --enable-netscapehack \
113 --with-cyrus-group=mail \
114 --with-com_err=yes \
115 --with-perl=/usr/bin/perl \
116 ${myconf} || die "econf failed"
117
118 emake -C "${S}/lib" all || die "compile problem"
119 emake -C "${S}/perl" all || die "compile problem"
120 }
121
122 src_install () {
123 make -C "${S}/perl" DESTDIR="${D}" INSTALLDIRS=vendor install || die "install problem"
124 fixlocalpod # bug #98122
125 }