Gentoo Archives: gentoo-commits

From: "Tobias Scherbaum (dertobi123)" <dertobi123@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/cyrus-imap-dev: ChangeLog cyrus-imap-dev-2.3.16.ebuild
Date: Thu, 31 Dec 2009 09:30:44
Message-Id: E1NQHMf-0004PS-N6@stork.gentoo.org
1 dertobi123 09/12/31 09:30:41
2
3 Modified: ChangeLog
4 Added: cyrus-imap-dev-2.3.16.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc61/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.63 dev-libs/cyrus-imap-dev/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cyrus-imap-dev/ChangeLog?rev=1.63&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cyrus-imap-dev/ChangeLog?rev=1.63&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cyrus-imap-dev/ChangeLog?r1=1.62&r2=1.63
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/cyrus-imap-dev/ChangeLog,v
19 retrieving revision 1.62
20 retrieving revision 1.63
21 diff -u -r1.62 -r1.63
22 --- ChangeLog 22 Nov 2009 14:04:03 -0000 1.62
23 +++ ChangeLog 31 Dec 2009 09:30:41 -0000 1.63
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-libs/cyrus-imap-dev
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-imap-dev/ChangeLog,v 1.62 2009/11/22 14:04:03 dertobi123 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-imap-dev/ChangeLog,v 1.63 2009/12/31 09:30:41 dertobi123 Exp $
29 +
30 +*cyrus-imap-dev-2.3.16 (31 Dec 2009)
31 +
32 + 31 Dec 2009; Tobias Scherbaum <dertobi123@g.o>
33 + +cyrus-imap-dev-2.3.16.ebuild:
34 + Version bump
35
36 *cyrus-imap-dev-2.3.15 (22 Nov 2009)
37
38
39
40
41 1.1 dev-libs/cyrus-imap-dev/cyrus-imap-dev-2.3.16.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cyrus-imap-dev/cyrus-imap-dev-2.3.16.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cyrus-imap-dev/cyrus-imap-dev-2.3.16.ebuild?rev=1.1&content-type=text/plain
45
46 Index: cyrus-imap-dev-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/dev-libs/cyrus-imap-dev/cyrus-imap-dev-2.3.16.ebuild,v 1.1 2009/12/31 09:30:41 dertobi123 Exp $
51
52 inherit eutils autotools
53
54 MY_PV="${PV/_/}"
55
56 DESCRIPTION="Developer support for the Cyrus IMAP Server."
57 HOMEPAGE="http://asg.web.cmu.edu/cyrus/imapd/"
58 SRC_URI="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-imapd-${MY_PV}.tar.gz"
59
60 LICENSE="as-is"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
63 IUSE="afs kerberos snmp ssl tcpd"
64
65 RDEPEND=">=sys-libs/db-3.2
66 >=dev-libs/cyrus-sasl-2.1.12
67 afs? ( >=net-fs/openafs-1.2.2 )
68 kerberos? ( >=app-crypt/mit-krb5-1.2.6 )
69 snmp? ( net-analyzer/net-snmp )
70 ssl? ( >=dev-libs/openssl-0.9.6 )
71 tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
72
73 DEPEND="${RDEPEND}
74 sys-devel/libtool
75 >=sys-devel/autoconf-2.58
76 sys-devel/automake
77 >=sys-apps/sed-4"
78
79 S="${WORKDIR}/cyrus-imapd-${MY_PV}"
80
81 src_unpack() {
82 unpack ${A} && cd "${S}"
83
84 # Add libwrap defines as we don't have a dynamicly linked library.
85 if use tcpd ; then
86 epatch "${FILESDIR}/cyrus-imapd-libwrap.patch" || die "patch failed"
87 fi
88
89 # Recreate configure.
90 export WANT_AUTOCONF="2.5"
91 eautoreconf
92
93 # When linking with rpm, you need to link with more libraries.
94 sed -e "s:lrpm:lrpm -lrpmio -lrpmdb:" -i configure || die "sed failed"
95 }
96
97 src_compile() {
98 local myconf
99 myconf="${myconf} `use_with afs`"
100 myconf="${myconf} `use_with ssl openssl`"
101 myconf="${myconf} `use_with snmp ucdsnmp`"
102 myconf="${myconf} `use_with tcpd libwrap`"
103 myconf="${myconf} `use_enable kerberos gssapi`"
104
105 econf \
106 --enable-murder \
107 --enable-listext \
108 --enable-netscapehack \
109 --with-cyrus-group=mail \
110 --with-com_err=yes \
111 --without-perl \
112 ${myconf} || die "econf failed"
113
114 emake -C "${S}/lib" all || die "compile problem"
115 }
116
117 src_install() {
118 dodir /usr/include/cyrus
119
120 make -C "${S}/lib" DESTDIR="${D}" install || die "make install failed"
121 dodoc COPYRIGHT README*
122 }