Gentoo Archives: gentoo-commits

From: "Eray Aslan (eras)" <eras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/libetpan: libetpan-1.5.ebuild ChangeLog
Date: Tue, 08 Jul 2014 07:40:09
Message-Id: 20140708074003.8E3492004E@flycatcher.gentoo.org
1 eras 14/07/08 07:40:03
2
3 Modified: ChangeLog
4 Added: libetpan-1.5.ebuild
5 Log:
6 Version bump - bug #510582
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F)
9
10 Revision Changes Path
11 1.103 net-libs/libetpan/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libetpan/ChangeLog?rev=1.103&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libetpan/ChangeLog?rev=1.103&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libetpan/ChangeLog?r1=1.102&r2=1.103
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/libetpan/ChangeLog,v
20 retrieving revision 1.102
21 retrieving revision 1.103
22 diff -u -r1.102 -r1.103
23 --- ChangeLog 30 Apr 2013 06:38:46 -0000 1.102
24 +++ ChangeLog 8 Jul 2014 07:40:03 -0000 1.103
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-libs/libetpan
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libetpan/ChangeLog,v 1.102 2013/04/30 06:38:46 eras Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libetpan/ChangeLog,v 1.103 2014/07/08 07:40:03 eras Exp $
31 +
32 +*libetpan-1.5 (08 Jul 2014)
33 +
34 + 08 Jul 2014; Eray Aslan <eras@g.o> +libetpan-1.5.ebuild:
35 + Version bump - bug #510582
36
37 30 Apr 2013; Eray Aslan <eras@g.o> libetpan-1.1.ebuild:
38 Fix building with automake-1.13 - bug #467788
39
40
41
42 1.1 net-libs/libetpan/libetpan-1.5.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libetpan/libetpan-1.5.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libetpan/libetpan-1.5.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libetpan-1.5.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-libs/libetpan/libetpan-1.5.ebuild,v 1.1 2014/07/08 07:40:03 eras Exp $
52
53 EAPI=5
54 inherit autotools eutils
55
56 DESCRIPTION="A portable, efficient middleware for different kinds of mail access."
57 HOMEPAGE="http://libetpan.sourceforge.net/"
58 SRC_URI="https://github.com/dinhviethoa/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
59
60 LICENSE="BSD"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
63 IUSE="berkdb debug gnutls ipv6 liblockfile sasl ssl static-libs"
64
65 DEPEND="berkdb? ( sys-libs/db )
66 gnutls? ( net-libs/gnutls )
67 !gnutls? ( ssl? ( dev-libs/openssl ) )
68 sasl? ( dev-libs/cyrus-sasl )
69 liblockfile? ( net-libs/liblockfile )"
70 RDEPEND="${DEPEND}"
71
72 src_prepare() {
73 epatch "${FILESDIR}"/${PN}-1.0-nonnull.patch
74
75 sed -i \
76 -e "s/-O2 -g//" \
77 -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" \
78 configure.ac
79
80 eautoreconf
81 }
82
83 src_configure() {
84 local sslconf
85
86 if use ssl; then
87 if use gnutls; then
88 sslconf="--with-gnutls --without-openssl"
89 else
90 sslconf="--without-gnutls --with-openssl"
91 fi
92 else
93 if use gnutls; then
94 sslconf="--with-gnutls --without-openssl"
95 else
96 sslconf="--without-gnutls --without-openssl"
97 fi
98 fi
99
100 # in Prefix emake uses SHELL=${BASH}, export CONFIG_SHELL to the same so
101 # libtool recognises it as valid shell (bug #300211)
102 use prefix && export CONFIG_SHELL=${BASH}
103 # The configure script contains an error, in that it doesn't check the
104 # argument of --enable-{debug,optim}, hence --disable-debug results in
105 # --enable-debug=no, which isn't checked and debugging flags are blindly
106 # injected. So, avoid passing --disable-debug when we don't need it.
107 econf \
108 $(use debug && echo --enable-debug) \
109 $(use_enable berkdb db) \
110 $(use_with sasl) \
111 $(use_enable ipv6) \
112 $(use_enable liblockfile lockfile) \
113 $(use_enable static-libs static) \
114 ${sslconf}
115 }
116
117 src_install() {
118 default
119 use static-libs || find "${ED}" -name '*.la' -exec rm -f {} +
120 }