From d61feb2942222e145a9db65a16e22594252ea3f3 Mon Sep 17 00:00:00 2001 From: Manuel RĂ¼ger Date: Tue, 1 Sep 2015 00:51:40 +0200 Subject: mail-filter/opensmtpd-extras: Version bump Gentoo-Bug: #556940 Package-Manager: portage-2.2.20.1 --- mail-filter/opensmtpd-extras/Manifest | 1 + .../opensmtpd-extras/opensmtpd-extras-5.7.1.ebuild | 91 ++++++++++++++++++++++ 2 files changed, 92 insertions(+) create mode 100644 mail-filter/opensmtpd-extras/opensmtpd-extras-5.7.1.ebuild (limited to 'mail-filter') diff --git a/mail-filter/opensmtpd-extras/Manifest b/mail-filter/opensmtpd-extras/Manifest index 771b5137a432..18c6ca458e84 100644 --- a/mail-filter/opensmtpd-extras/Manifest +++ b/mail-filter/opensmtpd-extras/Manifest @@ -1 +1,2 @@ DIST opensmtpd-extras-201506020835.tar.gz 159567 SHA256 47dfc47dd6ad56b15707dcfb592ebe04e39f107a44076e0ab969b6d940eec84e SHA512 b4eef315a7c44166ec36c821a0113cf0f448125fce4773b9d748b34507cde71b131195b81237e6efe5a209817d770a76050b5538c21349900ee2d13cfa1b5f5f WHIRLPOOL 2b35b4a8c2855bd9110ee639f5d6e269f4fd393483f58bce09ab65c188677ca81abba3cd55a65a16cefd0a15a15bcf59f5c53f5ff11f9773a542d18b0858d6cf +DIST opensmtpd-extras-5.7.1.tar.gz 594170 SHA256 b56dc24427afe7d6156c85232427fe33a260aca8873eb118d0229dff3a248dce SHA512 b578c728fc95a9a7a5c6e201d9fd802529c9cce55d36ebff6d2fbe53e8bd66759ee4da19c7b1be283b72f2297c1e7f91bf4e1159898442e21ef1aca8abf85065 WHIRLPOOL c9cc17b3b890811de15aa4113e70765c4982ad57f71e7fa4fc3dca13b46852c8e0d5cd601752910624021c4eac882870b0f5040706ed19b4e3670f60353154cd diff --git a/mail-filter/opensmtpd-extras/opensmtpd-extras-5.7.1.ebuild b/mail-filter/opensmtpd-extras/opensmtpd-extras-5.7.1.ebuild new file mode 100644 index 000000000000..7dc86f81285e --- /dev/null +++ b/mail-filter/opensmtpd-extras/opensmtpd-extras-5.7.1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils flag-o-matic autotools + +DESCRIPTION="Extra tables, filters, and various other addons for OpenSMTPD" +HOMEPAGE="https://github.com/OpenSMTPD/OpenSMTPD-extras" +SRC_URI="https://www.opensmtpd.org/archives/${P}.tar.gz" + +LICENSE="ISC BSD BSD-1 BSD-2 BSD-4" +SLOT="0" +KEYWORDS="~amd64 ~x86" +MY_COMPONENTS=" + filter-clamav + filter-dkim-signer + filter-dnsbl + filter-lua + filter-monkey + filter-pause + filter-perl + filter-python + filter-regex + filter-spamassassin + filter-stub + filter-trace + filter-void + + queue-null + queue-python + queue-ram + queue-stub + + scheduler-python + scheduler-ram + scheduler-stub + + table-ldap + table-mysql + table-passwd + table-postgres + table-python + table-redis + table-socketmap + table-sqlite + table-stub +" +IUSE="${MY_COMPONENTS} luajit" + +# Deps: +# mysql needs -lmysqlclient +# sqlite needs -lsqlite3 +# redis needs -lhiredis +# postgres requires -lpq +# ldap uses internal library and requires no deps +# spamassassin uses internal library and requires no deps +# clamav uses internal library and requires no deps +# dnsbl needs -lasr +# python requires python, currently pegged at 2.7 +# lua requires any lua version + +DEPEND="mail-mta/opensmtpd + dev-libs/libevent + dev-libs/openssl:0 + filter-python? ( dev-lang/python:2.7 ) + filter-perl? ( dev-lang/perl ) + filter-lua? ( luajit? ( dev-lang/luajit ) !luajit? ( dev-lang/lua ) ) + filter-dnsbl? ( net-libs/libasr ) + table-sqlite? ( dev-db/sqlite:3 ) + table-mysql? ( virtual/mysql ) + table-postgres? ( dev-db/postgresql ) + table-redis? ( dev-libs/hiredis ) + table-python? ( dev-lang/python:2.7 ) + scheduler-python? ( dev-lang/python:2.7 ) + queue-python? ( dev-lang/python:2.7 ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + eautoreconf +} +src_configure() { + econf \ + --with-privsep-user=smtpd \ + --with-privsep-path=/var/empty \ + --sysconfdir=/etc/opensmtpd \ + --with-lua-type=$(usex luajit luajit lua) \ + $(for use in $MY_COMPONENTS; do use_with $use; done) +} -- cgit v1.2.3-65-gdbad