From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- mail-filter/opensmtpd-extras/Manifest | 1 + mail-filter/opensmtpd-extras/metadata.xml | 46 +++++++++++ .../opensmtpd-extras-5.4.5.201506020835.ebuild | 91 ++++++++++++++++++++++ 3 files changed, 138 insertions(+) create mode 100644 mail-filter/opensmtpd-extras/Manifest create mode 100644 mail-filter/opensmtpd-extras/metadata.xml create mode 100644 mail-filter/opensmtpd-extras/opensmtpd-extras-5.4.5.201506020835.ebuild (limited to 'mail-filter/opensmtpd-extras') diff --git a/mail-filter/opensmtpd-extras/Manifest b/mail-filter/opensmtpd-extras/Manifest new file mode 100644 index 00000000000..771b5137a43 --- /dev/null +++ b/mail-filter/opensmtpd-extras/Manifest @@ -0,0 +1 @@ +DIST opensmtpd-extras-201506020835.tar.gz 159567 SHA256 47dfc47dd6ad56b15707dcfb592ebe04e39f107a44076e0ab969b6d940eec84e SHA512 b4eef315a7c44166ec36c821a0113cf0f448125fce4773b9d748b34507cde71b131195b81237e6efe5a209817d770a76050b5538c21349900ee2d13cfa1b5f5f WHIRLPOOL 2b35b4a8c2855bd9110ee639f5d6e269f4fd393483f58bce09ab65c188677ca81abba3cd55a65a16cefd0a15a15bcf59f5c53f5ff11f9773a542d18b0858d6cf diff --git a/mail-filter/opensmtpd-extras/metadata.xml b/mail-filter/opensmtpd-extras/metadata.xml new file mode 100644 index 00000000000..cf2a746f5d1 --- /dev/null +++ b/mail-filter/opensmtpd-extras/metadata.xml @@ -0,0 +1,46 @@ + + + + +Extras filters, tables, and other extensions for mail-mta/opensmtpd. + + + zx2c4@gentoo.org + Jason A. Donenfeld + + + filter for scanning with app-antivirus/clamav + filter for adding DKIM signatures to outgoing messages + filter for checking hosts against the DNS black lists + filter for interfacing with dev-lang/lua + filter for arbitrarily rejecting random emails + filter to pause on new connections + filter for interfacing with dev-lang/perl + filter for interfacing with dev-lang/python + filter for regular expression matching + filter for scanning with mail-filter/spamassassin + stub filter + trace filter + void filter + null queue + queue for interfacing with dev-lang/python + ram queue + stub queue + table for lookups with net-nds/openldap + table for lookups with virtual/mysql + table for lookups with dev-db/postgresql + table for lookups with dev-db/redis + table for lookups using a socket map + table for lookups using /etc/passwd + table for interfacing with dev-lang/python + table for lookups with dev-db/sqlite3 + stub table + ram scheduler + stub scheduler + schedulre for interfacing with python + Use JIT for Lua via dev-lang/luajit instead of dev-lang/lua + + + OpenSMTPD/OpenSMTPD-extras + + diff --git a/mail-filter/opensmtpd-extras/opensmtpd-extras-5.4.5.201506020835.ebuild b/mail-filter/opensmtpd-extras/opensmtpd-extras-5.4.5.201506020835.ebuild new file mode 100644 index 00000000000..ba9ec00defa --- /dev/null +++ b/mail-filter/opensmtpd-extras/opensmtpd-extras-5.4.5.201506020835.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 versionator 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/${PN}-$(get_version_component_range 4-).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 + + table-ldap + table-mysql + table-postgres + table-redis + table-socketmap + table-passwd + table-python + table-sqlite + table-stub + + scheduler-ram + scheduler-stub + scheduler-python +" +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 + 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}" + +S=${WORKDIR}/${PN}-$(get_version_component_range 4-) + +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.1