diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /mail-filter/pypolicyd-spf | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
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/pypolicyd-spf')
-rw-r--r-- | mail-filter/pypolicyd-spf/Manifest | 4 | ||||
-rw-r--r-- | mail-filter/pypolicyd-spf/metadata.xml | 10 | ||||
-rw-r--r-- | mail-filter/pypolicyd-spf/pypolicyd-spf-1.1.2.ebuild | 22 | ||||
-rw-r--r-- | mail-filter/pypolicyd-spf/pypolicyd-spf-1.1.ebuild | 25 | ||||
-rw-r--r-- | mail-filter/pypolicyd-spf/pypolicyd-spf-1.2-r1.ebuild | 56 | ||||
-rw-r--r-- | mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.1.ebuild | 59 |
6 files changed, 176 insertions, 0 deletions
diff --git a/mail-filter/pypolicyd-spf/Manifest b/mail-filter/pypolicyd-spf/Manifest new file mode 100644 index 000000000000..e13c38e0290c --- /dev/null +++ b/mail-filter/pypolicyd-spf/Manifest @@ -0,0 +1,4 @@ +DIST pypolicyd-spf-1.1.2.tar.gz 30813 SHA256 f8999a9febc5ccb4a66f9961e4ec2d8f81b407bdc3ac1c84563cd5085429cdea SHA512 17321c6df59620a1fd49a67564d3ecf2156027bbeee9b0f532a3d5f7bfadb060ffc61556b2126d98ea285f80cb552239636e2f461af6256c4568fb8696fec951 WHIRLPOOL a7a02de368037ba9a15520cbdfcf2e2e42c9b9016e3f7d6d83c93eaa6584af147b84acfa3f5a659238dc49057052c8189c20e19ba760b07677fc25cef7fc9ff2 +DIST pypolicyd-spf-1.1.tar.gz 469687 SHA256 93ca747e1e62d05a3e3fa54b9415f6c6da7fa40644e32507d0bb56980e31cc56 SHA512 7968425ae5b966571b0787769eff484f4d779f02c8460f515b98549117fdf270de70861f61b8c3e7d9da2092e91c191055cd9a312303c50a2b4707e9dd92840e WHIRLPOOL cd47648c122a13e99c08dac9cfee5cbe12b5b4301dc389397ca824ef19ed976beeee02e7f17fb0faf8abe29184be3aeb73c7ab327a0e6b19d7f84434f20b3635 +DIST pypolicyd-spf-1.2.tar.gz 30783 SHA256 e1a94c79ad91cfea17b9c8b19b035536f06d75ff9ee2e8478191e7c27fe69f74 SHA512 266dc129f0d0bf59b809d3ec6f47369c73d6c5287b1505f0762a9e92ab9dbc3b6afc14ff59d8298012dc4c8b2e7c05d85bab227e71592bc0ee47b0a88cf4df45 WHIRLPOOL 8817c0357aa6850010f144d66408048edf569977eb65f733bedbc3f996273a1d636948ce86ec38cf4b81df66d5546acc2d8dced0185ec93f469d919242405e8e +DIST pypolicyd-spf-1.3.1.tar.gz 32093 SHA256 5b575638e3d30db5583ed4e3c0902b9a6d90ba7e126a9d37b9bffe2e6b201808 SHA512 3ae52b22ef3c4f801a523aa98b6c918b7afd76c5867e8cb431b643555e4191f85b1232d7ef431fbfbdd76cfc59bd021ce452b2f323ab0166ab68d1bf06cc1a10 WHIRLPOOL ebd9997369510ead087c039ec505904fb58fd36eed3c9d38bc1602569b7c3b1e0d1648b69fbf6b1c83a84a7ec4de52f180fc30498cc2850fb53c836cec1e5900 diff --git a/mail-filter/pypolicyd-spf/metadata.xml b/mail-filter/pypolicyd-spf/metadata.xml new file mode 100644 index 000000000000..a09f4df7bb3b --- /dev/null +++ b/mail-filter/pypolicyd-spf/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>mjo@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="launchpad">pypolicyd-spf</remote-id> + </upstream> +</pkgmetadata> diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-1.1.2.ebuild b/mail-filter/pypolicyd-spf/pypolicyd-spf-1.1.2.ebuild new file mode 100644 index 000000000000..64a02b1a7be6 --- /dev/null +++ b/mail-filter/pypolicyd-spf/pypolicyd-spf-1.1.2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 versionator + +DESCRIPTION="Python based policy daemon for Postfix SPF checking" +HOMEPAGE="https://launchpad.net/pypolicyd-spf" +SRC_URI="http://launchpad.net/pypolicyd-spf/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-python/pyspf[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND} + dev-python/authres" diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-1.1.ebuild b/mail-filter/pypolicyd-spf/pypolicyd-spf-1.1.ebuild new file mode 100644 index 000000000000..bb5e1ed1d9f9 --- /dev/null +++ b/mail-filter/pypolicyd-spf/pypolicyd-spf-1.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.5 3.*" + +inherit distutils versionator + +DESCRIPTION="Python based policy daemon for Postfix SPF checking" +HOMEPAGE="https://launchpad.net/pypolicyd-spf" +SRC_URI="http://launchpad.net/pypolicyd-spf/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=dev-python/pyspf-2.0.3" +RDEPEND="${DEPEND} + dev-python/authres" + +PYTHON_MODNAME="policydspfsupp.py policydspfuser.py" diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-1.2-r1.ebuild b/mail-filter/pypolicyd-spf/pypolicyd-spf-1.2-r1.ebuild new file mode 100644 index 000000000000..218d7ecadc9f --- /dev/null +++ b/mail-filter/pypolicyd-spf/pypolicyd-spf-1.2-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +# With >=python-3.3, the built-in ipaddress module handles the parsing +# of IP addresses. If python is built without ipv6 support, then +# ipaddress can't parse ipv6 addresses, and the daemon will crash if it +# sees an ipv6 SPF record. In other words, it's completely broken. +# +# Ideally this would remain optional for python-2.x, but until there's +# an easy way to do that, "maybe annoying" seems a better option than +# "maybe broken." +PYTHON_REQ_USE="ipv6" + +inherit distutils-r1 versionator + +DESCRIPTION="Python-based policy daemon for Postfix SPF verification" +HOMEPAGE="https://launchpad.net/pypolicyd-spf" +SRC_URI="http://launchpad.net/pypolicyd-spf/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# ipaddr is only needed with <python-3.3. +# +# The lower version bound is reported at, +# +# https://bugs.launchpad.net/pypolicyd-spf/+bug/1229862 +# +DEPEND="$(python_gen_cond_dep \ + '>=dev-python/ipaddr-2.1.10[${PYTHON_USEDEP}]' \ + 'python2*') + dev-python/pyspf[${PYTHON_USEDEP}]" + +RDEPEND="${DEPEND} + dev-python/authres[${PYTHON_USEDEP}]" + +DOCS=( CHANGES policyd-spf.conf.commented README README.per_user_whitelisting ) + +python_prepare_all() { + # The "real" config file mentions the commented one, so we point + # users in the right direction. + local oldconf="policyd-spf.conf.commented" + local newconf="/usr/share/doc/${PF}/${oldconf}" + + sed -i "1 s~ ${oldconf}~,\n# ${newconf}~" policyd-spf.conf \ + || die 'failed to update commented config file path' + + distutils-r1_python_prepare_all +} diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.1.ebuild b/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.1.ebuild new file mode 100644 index 000000000000..c6bb65b0a2fc --- /dev/null +++ b/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +# With >=python-3.3, the built-in ipaddress module handles the parsing +# of IP addresses. If python is built without ipv6 support, then +# ipaddress can't parse ipv6 addresses, and the daemon will crash if it +# sees an ipv6 SPF record. In other words, it's completely broken. +# +# Ideally this would remain optional for python-2.x, but until there's +# an easy way to do that, "maybe annoying" seems a better option than +# "maybe broken." +PYTHON_REQ_USE="ipv6" + +inherit distutils-r1 versionator + +DESCRIPTION="Python-based policy daemon for Postfix SPF verification" +HOMEPAGE="https://launchpad.net/pypolicyd-spf" +SRC_URI="http://launchpad.net/pypolicyd-spf/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# ipaddr is only needed with <python-3.3. +# +# The lower version bound is reported at, +# +# https://bugs.launchpad.net/pypolicyd-spf/+bug/1229862 +# +# The lower bound on pyspf is not strictly necessary, but some features +# are silently disabled with older versions of pyspf. +# +DEPEND="$(python_gen_cond_dep \ + '>=dev-python/ipaddr-2.1.10[${PYTHON_USEDEP}]' \ + 'python2*') + >=dev-python/pyspf-2.0.9[${PYTHON_USEDEP}]" + +RDEPEND="${DEPEND} + dev-python/authres[${PYTHON_USEDEP}]" + +DOCS=( CHANGES policyd-spf.conf.commented README README.per_user_whitelisting ) + +python_prepare_all() { + # The "real" config file mentions the commented one, so we point + # users in the right direction. + local oldconf="policyd-spf.conf.commented" + local newconf="/usr/share/doc/${PF}/${oldconf}" + + sed -i "1 s~ ${oldconf}~,\n# ${newconf}~" policyd-spf.conf \ + || die 'failed to update commented config file path' + + distutils-r1_python_prepare_all +} |