Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/opensmtpd-extras/
Date: Mon, 31 Aug 2015 22:52:16
Message-Id: 1441061518.d61feb2942222e145a9db65a16e22594252ea3f3.mrueg@gentoo
1 commit: d61feb2942222e145a9db65a16e22594252ea3f3
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 31 22:51:40 2015 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 31 22:51:58 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d61feb29
7
8 mail-filter/opensmtpd-extras: Version bump
9
10 Gentoo-Bug: #556940
11
12 Package-Manager: portage-2.2.20.1
13
14 mail-filter/opensmtpd-extras/Manifest | 1 +
15 .../opensmtpd-extras/opensmtpd-extras-5.7.1.ebuild | 91 ++++++++++++++++++++++
16 2 files changed, 92 insertions(+)
17
18 diff --git a/mail-filter/opensmtpd-extras/Manifest b/mail-filter/opensmtpd-extras/Manifest
19 index 771b513..18c6ca4 100644
20 --- a/mail-filter/opensmtpd-extras/Manifest
21 +++ b/mail-filter/opensmtpd-extras/Manifest
22 @@ -1 +1,2 @@
23 DIST opensmtpd-extras-201506020835.tar.gz 159567 SHA256 47dfc47dd6ad56b15707dcfb592ebe04e39f107a44076e0ab969b6d940eec84e SHA512 b4eef315a7c44166ec36c821a0113cf0f448125fce4773b9d748b34507cde71b131195b81237e6efe5a209817d770a76050b5538c21349900ee2d13cfa1b5f5f WHIRLPOOL 2b35b4a8c2855bd9110ee639f5d6e269f4fd393483f58bce09ab65c188677ca81abba3cd55a65a16cefd0a15a15bcf59f5c53f5ff11f9773a542d18b0858d6cf
24 +DIST opensmtpd-extras-5.7.1.tar.gz 594170 SHA256 b56dc24427afe7d6156c85232427fe33a260aca8873eb118d0229dff3a248dce SHA512 b578c728fc95a9a7a5c6e201d9fd802529c9cce55d36ebff6d2fbe53e8bd66759ee4da19c7b1be283b72f2297c1e7f91bf4e1159898442e21ef1aca8abf85065 WHIRLPOOL c9cc17b3b890811de15aa4113e70765c4982ad57f71e7fa4fc3dca13b46852c8e0d5cd601752910624021c4eac882870b0f5040706ed19b4e3670f60353154cd
25
26 diff --git a/mail-filter/opensmtpd-extras/opensmtpd-extras-5.7.1.ebuild b/mail-filter/opensmtpd-extras/opensmtpd-extras-5.7.1.ebuild
27 new file mode 100644
28 index 0000000..7dc86f8
29 --- /dev/null
30 +++ b/mail-filter/opensmtpd-extras/opensmtpd-extras-5.7.1.ebuild
31 @@ -0,0 +1,91 @@
32 +# Copyright 1999-2015 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +
38 +inherit eutils flag-o-matic autotools
39 +
40 +DESCRIPTION="Extra tables, filters, and various other addons for OpenSMTPD"
41 +HOMEPAGE="https://github.com/OpenSMTPD/OpenSMTPD-extras"
42 +SRC_URI="https://www.opensmtpd.org/archives/${P}.tar.gz"
43 +
44 +LICENSE="ISC BSD BSD-1 BSD-2 BSD-4"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +MY_COMPONENTS="
48 + filter-clamav
49 + filter-dkim-signer
50 + filter-dnsbl
51 + filter-lua
52 + filter-monkey
53 + filter-pause
54 + filter-perl
55 + filter-python
56 + filter-regex
57 + filter-spamassassin
58 + filter-stub
59 + filter-trace
60 + filter-void
61 +
62 + queue-null
63 + queue-python
64 + queue-ram
65 + queue-stub
66 +
67 + scheduler-python
68 + scheduler-ram
69 + scheduler-stub
70 +
71 + table-ldap
72 + table-mysql
73 + table-passwd
74 + table-postgres
75 + table-python
76 + table-redis
77 + table-socketmap
78 + table-sqlite
79 + table-stub
80 +"
81 +IUSE="${MY_COMPONENTS} luajit"
82 +
83 +# Deps:
84 +# mysql needs -lmysqlclient
85 +# sqlite needs -lsqlite3
86 +# redis needs -lhiredis
87 +# postgres requires -lpq
88 +# ldap uses internal library and requires no deps
89 +# spamassassin uses internal library and requires no deps
90 +# clamav uses internal library and requires no deps
91 +# dnsbl needs -lasr
92 +# python requires python, currently pegged at 2.7
93 +# lua requires any lua version
94 +
95 +DEPEND="mail-mta/opensmtpd
96 + dev-libs/libevent
97 + dev-libs/openssl:0
98 + filter-python? ( dev-lang/python:2.7 )
99 + filter-perl? ( dev-lang/perl )
100 + filter-lua? ( luajit? ( dev-lang/luajit ) !luajit? ( dev-lang/lua ) )
101 + filter-dnsbl? ( net-libs/libasr )
102 + table-sqlite? ( dev-db/sqlite:3 )
103 + table-mysql? ( virtual/mysql )
104 + table-postgres? ( dev-db/postgresql )
105 + table-redis? ( dev-libs/hiredis )
106 + table-python? ( dev-lang/python:2.7 )
107 + scheduler-python? ( dev-lang/python:2.7 )
108 + queue-python? ( dev-lang/python:2.7 )
109 +"
110 +RDEPEND="${DEPEND}"
111 +
112 +src_prepare() {
113 + eautoreconf
114 +}
115 +src_configure() {
116 + econf \
117 + --with-privsep-user=smtpd \
118 + --with-privsep-path=/var/empty \
119 + --sysconfdir=/etc/opensmtpd \
120 + --with-lua-type=$(usex luajit luajit lua) \
121 + $(for use in $MY_COMPONENTS; do use_with $use; done)
122 +}