Gentoo Archives: gentoo-commits

From: "Christian Faulhammer (fauli)" <fauli@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/libetpan: ChangeLog libetpan-1.0.ebuild
Date: Tue, 20 Apr 2010 18:42:03
Message-Id: 20100420184157.922D72C04B@corvid.gentoo.org
1 fauli 10/04/20 18:41:57
2
3 Modified: ChangeLog
4 Added: libetpan-1.0.ebuild
5 Log:
6 version bump for bug 313097, also fixes respect of LDFLAGS as reported with patch from Kacper Kowalik <xarthisius DOT kk AT gmail DOT com> in bug 310167
7 (Portage version: 2.1.8.3/cvs/Linux i686)
8
9 Revision Changes Path
10 1.82 net-libs/libetpan/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libetpan/ChangeLog?rev=1.82&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libetpan/ChangeLog?rev=1.82&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libetpan/ChangeLog?r1=1.81&r2=1.82
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-libs/libetpan/ChangeLog,v
19 retrieving revision 1.81
20 retrieving revision 1.82
21 diff -u -r1.81 -r1.82
22 --- ChangeLog 10 Jan 2010 18:50:26 -0000 1.81
23 +++ ChangeLog 20 Apr 2010 18:41:57 -0000 1.82
24 @@ -1,6 +1,14 @@
25 # ChangeLog for net-libs/libetpan
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libetpan/ChangeLog,v 1.81 2010/01/10 18:50:26 a3li Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libetpan/ChangeLog,v 1.82 2010/04/20 18:41:57 fauli Exp $
29 +
30 +*libetpan-1.0 (20 Apr 2010)
31 +
32 + 20 Apr 2010; Christian Faulhammer <fauli@g.o> +libetpan-1.0.ebuild,
33 + +files/libetpan-1.0-ldflags.patch:
34 + version bump for bug 313097, also fixes respect of LDFLAGS as reported
35 + with patch from Kacper Kowalik <xarthisius DOT kk AT gmail DOT com> in bug
36 + 310167
37
38 10 Jan 2010; Alex Legler <a3li@g.o> libetpan-0.57-r1.ebuild:
39 Keyword ~x86-macos
40
41
42
43 1.1 net-libs/libetpan/libetpan-1.0.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libetpan/libetpan-1.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libetpan/libetpan-1.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libetpan-1.0.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-1.0.ebuild,v 1.1 2010/04/20 18:41:57 fauli Exp $
53
54 EAPI="2"
55
56 inherit autotools eutils
57
58 DESCRIPTION="A portable, efficient middleware for different kinds of mail access."
59 HOMEPAGE="http://libetpan.sourceforge.net/"
60 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
61
62 LICENSE="BSD"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
65 IUSE="berkdb debug gnutls ipv6 liblockfile sasl ssl"
66
67 DEPEND="berkdb? ( sys-libs/db )
68 gnutls? ( net-libs/gnutls )
69 !gnutls? ( ssl? ( dev-libs/openssl ) )
70 sasl? ( dev-libs/cyrus-sasl )
71 liblockfile? ( net-libs/liblockfile )"
72
73 src_prepare() {
74 epatch "${FILESDIR}"/${P}-ldflags.patch
75 eautoreconf
76 }
77
78 src_configure() {
79 local sslconf
80
81 if use ssl; then
82 if use gnutls; then
83 sslconf="--with-gnutls --without-openssl"
84 else
85 sslconf="--without-gnutls --with-openssl"
86 fi
87 else
88 if use gnutls; then
89 sslconf="--with-gnutls --without-openssl"
90 else
91 sslconf="--without-gnutls --without-openssl"
92 fi
93 fi
94
95 # in Prefix emake uses SHELL=${BASH}, export CONFIG_SHELL to the same so
96 # libtool recognises it as valid shell (bug #300211)
97 use prefix && export CONFIG_SHELL=${BASH}
98 # The configure script contains an error, in that it doesn't check the
99 # argument of --enable-{debug,optim}, hence --disable-debug results in
100 # --enable-debug=no, which isn't checked and debugging flags are blindly
101 # injected. So, avoid passing --disable-debug when we don't need it.
102 econf \
103 $(use debug && echo --enable-debug) \
104 $(use_enable berkdb db) \
105 $(use_with sasl) \
106 $(use_enable ipv6) \
107 $(use_enable liblockfile lockfile) \
108 ${sslconf} \
109 || die
110 }
111
112 src_install() {
113 emake DESTDIR="${D}" install || die
114 dodoc NEWS ChangeLog || die
115 }
116
117 pkg_postinst() {
118 echo
119 ewarn "The soname for libetpan has changed after libetpan-1.0."
120 ewarn "If you have upgraded from that or earlier version, it is recommended to run"
121 ewarn "revdep-rebuild to fix any linking errors caused by this change."
122 echo
123 }