Gentoo Archives: gentoo-commits

From: Alon Bar-Lev <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/anubis/
Date: Fri, 03 Mar 2017 21:08:35
Message-Id: 1488575304.95531cb37a22cb5e3ddab08585d84e9dffd6599c.alonbl@gentoo
1 commit: 95531cb37a22cb5e3ddab08585d84e9dffd6599c
2 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 3 21:05:59 2017 +0000
4 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 3 21:08:24 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95531cb3
7
8 mail-filter/anubis: version bump
9
10 gpgme may be broken.
11
12 Bug: 575936
13
14 Package-Manager: Portage-2.3.3, Repoman-2.3.1
15
16 mail-filter/anubis/Manifest | 1 +
17 mail-filter/anubis/anubis-4.2.ebuild | 67 ++++++++++++++++++++++++++++++++++++
18 2 files changed, 68 insertions(+)
19
20 diff --git a/mail-filter/anubis/Manifest b/mail-filter/anubis/Manifest
21 index 55068622287..bebb7518fd4 100644
22 --- a/mail-filter/anubis/Manifest
23 +++ b/mail-filter/anubis/Manifest
24 @@ -1 +1,2 @@
25 DIST anubis-4.1.1.tar.gz 1104272 SHA256 93ef7a2d8bc3b50cd2e228cfe27e296ee14accadf8533bad9b2beee88a96e8fa SHA512 51e9c3a4cc4f217348522ba196daf26908f5ebed1abbe8c3f4c876847284e1f43f19d5cc68cde3cae5aacc55d42b7a6786f9afb23856c647ddf6d6c4b6c0a7a7 WHIRLPOOL 316e6d19b87b80f4f7c97899972deb31ca6d1797abb28d9a5eb4b8792f324bd69bf84a1f978e37cd4d98cbeead01a27cdb53a670a7e25d8ac2ed7860492a5b86
26 +DIST anubis-4.2.tar.gz 1623768 SHA256 5f3a2dd77c5ef52a593428c5b6d0042c1746eb8262c31bde9ee67455f8aad6d6 SHA512 cd16b67780b37f02a31374875763a1d54107289fbaf53160de5778f095b56bdb390c72a06fc067d87556b1158b0134c0fc88d30edbe124a71d8c80a89595e75f WHIRLPOOL f94e3afd6c6c74645d68b42c0d01a235b742e1efdab04bd883286756e751386e2defacf6d1c06dcb26f4ff4fa83f9a351ad81d4decf9ba98e8f6d136a2f69eb3
27
28 diff --git a/mail-filter/anubis/anubis-4.2.ebuild b/mail-filter/anubis/anubis-4.2.ebuild
29 new file mode 100644
30 index 00000000000..6a3586b73ce
31 --- /dev/null
32 +++ b/mail-filter/anubis/anubis-4.2.ebuild
33 @@ -0,0 +1,67 @@
34 +# Copyright 1999-2017 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=6
38 +
39 +inherit eutils pam toolchain-funcs user
40 +
41 +DESCRIPTION="GNU Anubis is an outgoing mail processor"
42 +HOMEPAGE="https://www.gnu.org/software/anubis/"
43 +
44 +SRC_URI="mirror://gnu/anubis/${P}.tar.gz"
45 +LICENSE="GPL-2"
46 +
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~ppc ~x86"
49 +IUSE="crypt guile mysql postgres nls pam pcre sasl socks5 +gnutls tcpd test"
50 +
51 +RDEPEND="sys-libs/gdbm
52 + crypt? ( >=app-crypt/gpgme-1.8.0 )
53 + guile? ( >=dev-scheme/guile-1.8 )
54 + mysql? ( virtual/mysql )
55 + pam? ( virtual/pam )
56 + postgres? ( dev-db/postgresql:*[server] )
57 + nls? ( sys-devel/gettext )
58 + pcre? ( >=dev-libs/libpcre-3.9 )
59 + sasl? ( virtual/gsasl )
60 + gnutls? ( net-libs/gnutls )
61 + tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
62 +DEPEND="${RDEPEND}
63 + test? ( dev-util/dejagnu )"
64 +
65 +REQUIRED_USE="mysql? ( sasl )
66 + postgres? ( sasl )"
67 +
68 +pkg_setup() {
69 + enewuser anubis
70 +}
71 +
72 +src_configure() {
73 + econf --with-unprivileged-user=anubis \
74 + --disable-rpath \
75 + $(use_with mysql) \
76 + $(use_with postgres) \
77 + $(use_with pam) \
78 + $(use_with pcre) \
79 + $(use_enable nls) \
80 + $(use_with guile) \
81 + $(use_with sasl gsasl) \
82 + $(use_with gnutls) \
83 + $(use_with tcpd tcp-wrappers) \
84 + $(use_with socks5 socks-proxy) \
85 + $(use_with crypt gpgme)
86 +}
87 +
88 +src_test() {
89 + emake -C testsuite check
90 +}
91 +
92 +src_install() {
93 + default
94 + docinto examples
95 + dodoc examples/*anubis*
96 + docinto guile
97 + dodoc guile/*.scm
98 +
99 + use pam && pamd_mimic system-auth anubis auth account session
100 +}