Gentoo Archives: gentoo-commits

From: "Eray Aslan (eras)" <eras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-filter/anubis: anubis-4.1.1-r1.ebuild ChangeLog
Date: Tue, 30 Oct 2012 09:46:28
Message-Id: 20121030094615.6440321601@flycatcher.gentoo.org
1 eras 12/10/30 09:46:15
2
3 Modified: ChangeLog
4 Added: anubis-4.1.1-r1.ebuild
5 Log:
6 Don't call ar directly - bug #439460. Fix building with gnutls3
7
8 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F)
9
10 Revision Changes Path
11 1.21 mail-filter/anubis/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/anubis/ChangeLog?rev=1.21&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/anubis/ChangeLog?rev=1.21&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/anubis/ChangeLog?r1=1.20&r2=1.21
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/mail-filter/anubis/ChangeLog,v
20 retrieving revision 1.20
21 retrieving revision 1.21
22 diff -u -r1.20 -r1.21
23 --- ChangeLog 4 Jun 2012 23:34:40 -0000 1.20
24 +++ ChangeLog 30 Oct 2012 09:46:15 -0000 1.21
25 @@ -1,6 +1,12 @@
26 # ChangeLog for mail-filter/anubis
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/anubis/ChangeLog,v 1.20 2012/06/04 23:34:40 zmedico Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/anubis/ChangeLog,v 1.21 2012/10/30 09:46:15 eras Exp $
30 +
31 +*anubis-4.1.1-r1 (30 Oct 2012)
32 +
33 + 30 Oct 2012; Eray Aslan <eras@g.o> +anubis-4.1.1-r1.ebuild,
34 + +files/4.1.1-gnutls3.patch:
35 + Don't call ar directly - bug #439460. Fix building with gnutls3
36
37 04 Jun 2012; Zac Medico <zmedico@g.o> anubis-4.1.1.ebuild:
38 inherit user for enewuser
39
40
41
42 1.1 mail-filter/anubis/anubis-4.1.1-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/anubis/anubis-4.1.1-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/anubis/anubis-4.1.1-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: anubis-4.1.1-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/mail-filter/anubis/anubis-4.1.1-r1.ebuild,v 1.1 2012/10/30 09:46:15 eras Exp $
52
53 EAPI=4
54 inherit eutils autotools pam toolchain-funcs user
55
56 DESCRIPTION="GNU Anubis is an outgoing mail processor."
57 HOMEPAGE="http://www.gnu.org/software/anubis/"
58
59 SRC_URI="mirror://gnu/anubis/${P}.tar.gz"
60 LICENSE="GPL-2"
61
62 SLOT="0"
63 KEYWORDS="~ppc ~x86"
64 IUSE="crypt guile mysql postgres nls pam pcre sasl socks5 +gnutls tcpd test"
65
66 RDEPEND="sys-libs/gdbm
67 crypt? ( >=app-crypt/gpgme-0.9.0 )
68 guile? ( >=dev-scheme/guile-1.8 )
69 mysql? ( virtual/mysql )
70 pam? ( virtual/pam )
71 postgres? ( dev-db/postgresql-server )
72 nls? ( sys-devel/gettext )
73 pcre? ( >=dev-libs/libpcre-3.9 )
74 sasl? ( virtual/gsasl )
75 gnutls? ( net-libs/gnutls )
76 tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
77 DEPEND="${RDEPEND}
78 test? ( dev-util/dejagnu )"
79
80 REQUIRED_USE="mysql? ( sasl )
81 postgres? ( sasl )"
82
83 pkg_setup() {
84 enewuser anubis
85 }
86
87 src_prepare() {
88 epatch "${FILESDIR}"/${PV}-gnutls.patch
89 epatch "${FILESDIR}"/${PV}-gpgme.patch
90 epatch "${FILESDIR}"/${PV}-testsuite.patch
91 epatch "${FILESDIR}"/${PV}-gnutls3.patch
92 sed -i -e "s/1024-bit ELG-E/1024-bit ELG/" \
93 testsuite/etc/{gpgcrypt.pat,gpgse.pat}
94 eautoreconf
95 }
96
97 src_configure() {
98 local myconf
99 if use crypt ; then
100 myconf="--with-gpgme --with-gpgme-prefix=$(gpgme-config --prefix)"
101 else
102 myconf="--without-gpgme"
103 fi
104 econf --with-unprivileged-user=anubis \
105 --disable-rpath \
106 $(use_with mysql) \
107 $(use_with postgres) \
108 $(use_with pam) \
109 $(use_with pcre) \
110 $(use_enable nls) \
111 $(use_with guile) \
112 $(use_with sasl gsasl) \
113 $(use_with gnutls) \
114 $(use_with tcpd tcp-wrappers) \
115 $(use_with socks5 socks-proxy) \
116 ${myconf}
117 }
118
119 src_compile() {
120 # parallel make fails
121 emake AR=$(tc-getAR) -j1
122 }
123
124 src_test() {
125 cd "${S}/testsuite"
126 emake -j1 check
127 }
128
129 src_install() {
130 emake DESTDIR="${D}" install
131
132 dodoc AUTHORS ChangeLog INSTALL NEWS README* THANKS TODO
133 docinto examples
134 dodoc examples/*anubis*
135 docinto guile
136 dodoc guile/*.scm
137
138 if use pam ; then
139 pamd_mimic system-auth anubis auth account session
140 fi
141
142 rm -rf "${D}"/usr/share/anubis
143 }