diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /mail-filter/opensmtpd-extras | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz |
proj/gentoo: Initial commit
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 <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'mail-filter/opensmtpd-extras')
-rw-r--r-- | mail-filter/opensmtpd-extras/Manifest | 1 | ||||
-rw-r--r-- | mail-filter/opensmtpd-extras/metadata.xml | 46 | ||||
-rw-r--r-- | mail-filter/opensmtpd-extras/opensmtpd-extras-5.4.5.201506020835.ebuild | 91 |
3 files changed, 138 insertions, 0 deletions
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 @@ +<?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> + <flag name="luajit">Use JIT for Lua via dev-lang/luajit instead of dev-lang/lua</flag> + </use> + <upstream> + <remote-id type="github">OpenSMTPD/OpenSMTPD-extras</remote-id> + </upstream> +</pkgmetadata> 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) +} |