diff options
author | Jason A. Donenfeld <zx2c4@gentoo.org> | 2015-05-28 10:37:34 +0000 |
---|---|---|
committer | Jason A. Donenfeld <zx2c4@gentoo.org> | 2015-05-28 10:37:34 +0000 |
commit | 6d77565a7eec37f918c2962d1b6380274f3a0ad7 (patch) | |
tree | 0ec9f11231e89b84edbd2bc27fbeebf34519a7ec /mail-filter | |
parent | Bye (diff) | |
download | gentoo-2-6d77565a7eec37f918c2962d1b6380274f3a0ad7.tar.gz gentoo-2-6d77565a7eec37f918c2962d1b6380274f3a0ad7.tar.bz2 gentoo-2-6d77565a7eec37f918c2962d1b6380274f3a0ad7.zip |
Import
(Portage version: 2.2.20/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 55758000)
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/opensmtpd-extras/ChangeLog | 9 | ||||
-rw-r--r-- | mail-filter/opensmtpd-extras/metadata.xml | 43 | ||||
-rw-r--r-- | mail-filter/opensmtpd-extras/opensmtpd-extras-5.4.5.201505281056.ebuild | 87 |
3 files changed, 139 insertions, 0 deletions
diff --git a/mail-filter/opensmtpd-extras/ChangeLog b/mail-filter/opensmtpd-extras/ChangeLog new file mode 100644 index 000000000000..699b461b9039 --- /dev/null +++ b/mail-filter/opensmtpd-extras/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for mail-filter/opensmtpd-extras +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/opensmtpd-extras/ChangeLog,v 1.1 2015/05/28 10:37:34 zx2c4 Exp $ + +*opensmtpd-extras-5.4.5.201505281056 (28 May 2015) + + 28 May 2015; Jason A. Donenfeld <zx2c4@gentoo.org> +metadata.xml, + +opensmtpd-extras-5.4.5.201505281056.ebuild: + Import diff --git a/mail-filter/opensmtpd-extras/metadata.xml b/mail-filter/opensmtpd-extras/metadata.xml new file mode 100644 index 000000000000..73470fbc6dbd --- /dev/null +++ b/mail-filter/opensmtpd-extras/metadata.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<longdescription lang="en"> +Extras filters, tables, and other extensions for mail-mta/opensmtpd. +</longdescription> +<maintainer> +<email>zx2c4@gentoo.org</email> +<name>Jason A. Donenfeld</name> +</maintainer> +<use> +<flag name='filter-clamav'>filter for scanning with app-antivirus/clamav</flag> +<flag name='filter-dkim-signer'>filter for adding DKIM signatures to outgoing messages</flag> +<flag name='filter-dnsbl'>filter for checking hosts against the DNS black lists</flag> +<flag name='filter-lua'>filter for interfacing with dev-lang/lua</flag> +<flag name='filter-monkey'>filter for arbitrarily rejecting random emails</flag> +<flag name='filter-pause'>filter to pause on new connections</flag> +<flag name='filter-perl'>filter for interfacing with dev-lang/perl</flag> +<flag name='filter-python'>filter for interfacing with dev-lang/python</flag> +<flag name='filter-regex'>filter for regular expression matching</flag> +<flag name='filter-spamassassin'>filter for scanning with mail-filter/spamassassin</flag> +<flag name='filter-stub'>stub filter</flag> +<flag name='filter-trace'>trace filter</flag> +<flag name='filter-void'>void filter</flag> +<flag name='queue-null'>null queue</flag> +<flag name='queue-python'>queue for interfacing with dev-lang/python</flag> +<flag name='queue-ram'>ram queue</flag> +<flag name='queue-stub'>stub queue</flag> +<flag name='table-ldap'>table for lookups with net-nds/openldap</flag> +<flag name='table-mysql'>table for lookups with virtual/mysql</flag> +<flag name='table-postgres'>table for lookups with dev-db/postgresql</flag> +<flag name='table-redis'>table for lookups with dev-db/redis</flag> +<flag name='table-socketmap'>table for lookups using a socket map</flag> +<flag name='table-passwd'>table for lookups using /etc/passwd</flag> +<flag name='table-python'>table for interfacing with dev-lang/python</flag> +<flag name='table-sqlite'>table for lookups with dev-db/sqlite3</flag> +<flag name='table-stub'>stub table</flag> +<flag name='scheduler-ram'>ram scheduler</flag> +<flag name='scheduler-stub'>stub scheduler</flag> +<flag name='scheduler-python'>schedulre for interfacing with python</flag> +</use> +</pkgmetadata> + diff --git a/mail-filter/opensmtpd-extras/opensmtpd-extras-5.4.5.201505281056.ebuild b/mail-filter/opensmtpd-extras/opensmtpd-extras-5.4.5.201505281056.ebuild new file mode 100644 index 000000000000..65005ebb8ccb --- /dev/null +++ b/mail-filter/opensmtpd-extras/opensmtpd-extras-5.4.5.201505281056.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/opensmtpd-extras/opensmtpd-extras-5.4.5.201505281056.ebuild,v 1.1 2015/05/28 10:37:34 zx2c4 Exp $ + +EAPI=5 + +inherit versionator eutils flag-o-matic + +DESCRIPTION="Extra tables, filters, and various other addons for OpenSMTPD" +HOMEPAGE="https://github.com/OpenSMTPD/OpenSMTPD-extras" +SRC_URI="https://www.opensmtpd.org/archives/${PN}-$(get_version_component_range 4-).tar.gz" + +LICENSE="ISC BSD BSD-1 BSD-2 BSD-4" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE=" + 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 + + table-ldap + table-mysql + table-postgres + table-redis + table-socketmap + table-passwd + table-python + table-sqlite + table-stub + + scheduler-ram + scheduler-stub + scheduler-python +" + +# 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 -llua5.2 + +DEPEND="mail-mta/opensmtpd dev-libs/libevent dev-libs/openssl + filter-python? ( dev-lang/python:2.7 ) + filter-perl? ( dev-lang/perl ) + filter-lua? ( dev-lang/lua:5.2 ) + 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}" + +S=${WORKDIR}/${PN}-$(get_version_component_range 4-) + +src_configure() { + tc-export AR + AR="$(which "$AR")" econf \ + --with-privsep-user=smtpd \ + --with-privsep-path=/var/empty \ + --sysconfdir=/etc/opensmtpd \ + $(for use in $IUSE; do use_with $use; done) +} |