Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/libetpan: ChangeLog libetpan-0.57-r1.ebuild
Date: Fri, 08 Jan 2010 21:27:08
Message-Id: E1NTMMJ-00058B-O9@stork.gentoo.org
1 grobian 10/01/08 21:27:03
2
3 Modified: ChangeLog
4 Added: libetpan-0.57-r1.ebuild
5 Log:
6 Revision bump, fix bug #286620 (db-4.8 detection), fix bug #300211 (installation failure in Prefix), fix disabling of debugging symbols, transfer Prefix keywords
7 (Portage version: 2.2.00.15178-prefix/cvs/Darwin powerpc)
8
9 Revision Changes Path
10 1.80 net-libs/libetpan/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libetpan/ChangeLog?rev=1.80&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libetpan/ChangeLog?rev=1.80&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libetpan/ChangeLog?r1=1.79&r2=1.80
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-libs/libetpan/ChangeLog,v
19 retrieving revision 1.79
20 retrieving revision 1.80
21 diff -u -r1.79 -r1.80
22 --- ChangeLog 23 Sep 2009 18:48:24 -0000 1.79
23 +++ ChangeLog 8 Jan 2010 21:27:03 -0000 1.80
24 @@ -1,6 +1,13 @@
25 # ChangeLog for net-libs/libetpan
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libetpan/ChangeLog,v 1.79 2009/09/23 18:48:24 patrick Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libetpan/ChangeLog,v 1.80 2010/01/08 21:27:03 grobian Exp $
30 +
31 +*libetpan-0.57-r1 (08 Jan 2010)
32 +
33 + 08 Jan 2010; Fabian Groffen <grobian@g.o> +libetpan-0.57-r1.ebuild:
34 + Revision bump, fix bug #286620 (db-4.8 detection), fix bug #300211
35 + (installation failure in Prefix), fix disabling of debugging symbols,
36 + transfer Prefix keywords
37
38 23 Sep 2009; Patrick Lauer <patrick@g.o> libetpan-0.57.ebuild:
39 Remove virtual/libc
40
41
42
43 1.1 net-libs/libetpan/libetpan-0.57-r1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libetpan/libetpan-0.57-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libetpan/libetpan-0.57-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libetpan-0.57-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-libs/libetpan/libetpan-0.57-r1.ebuild,v 1.1 2010/01/08 21:27:03 grobian Exp $
53
54 DESCRIPTION="A portable, efficient middleware for different kinds of mail access."
55 HOMEPAGE="http://libetpan.sourceforge.net"
56 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
57
58 LICENSE="BSD"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
61 IUSE="berkdb debug gnutls ipv6 liblockfile sasl ssl"
62
63 DEPEND="berkdb? ( sys-libs/db )
64 gnutls? ( net-libs/gnutls )
65 !gnutls? ( ssl? ( dev-libs/openssl ) )
66 sasl? ( dev-libs/cyrus-sasl )
67 liblockfile? ( net-libs/liblockfile )"
68
69 src_unpack() {
70 unpack ${A}
71 cd "${S}"
72 # temp fix for bug #286620, also look for db-4.8, upstream will likely fix
73 # this in their next release
74 sed -i -e '/db-4.7 db-4.6/s/db-4.7/db-4.8 db-4.7/' configure || die
75 }
76
77 src_compile() {
78 local sslconf
79
80 if use ssl; then
81 if use gnutls; then
82 sslconf="--with-gnutls --without-openssl"
83 else
84 sslconf="--without-gnutls --with-openssl"
85 fi
86 else
87 if use gnutls; then
88 sslconf="--with-gnutls --without-openssl"
89 else
90 sslconf="--without-gnutls --without-openssl"
91 fi
92 fi
93
94 # in Prefix emake uses SHELL=${BASH}, export CONFIG_SHELL to the same so
95 # libtool recognises it as valid shell (bug #300211)
96 use prefix && export CONFIG_SHELL=${BASH}
97 # The configure script contains an error, in that it doesn't check the
98 # argument of --enable-{debug,optim}, hence --disable-debug results in
99 # --enable-debug=no, which isn't checked and debugging flags are blindly
100 # injected. So, avoid passing --disable-debug when we don't need it.
101 econf \
102 $(use debug && echo --enable-debug) \
103 $(use_enable berkdb db) \
104 $(use_with sasl) \
105 $(use_enable ipv6) \
106 $(use_enable liblockfile lockfile) \
107 ${sslconf} \
108 || die "econf failed"
109
110 emake || die "emake failed"
111 }
112
113 src_install() {
114 emake DESTDIR="${D}" install || die
115 dodoc NEWS ChangeLog
116 }
117
118 pkg_postinst() {
119 echo
120 ewarn "The soname for libetpan has changed after libetpan-0.53."
121 ewarn "If you have upgraded from that or earlier version, it is recommended to run"
122 ewarn "revdep-rebuild to fix any linking errors caused by this change."
123 echo
124 }