diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /mail-filter/pypolicyd-spf |
reinit the tree, so we can have metadata
Diffstat (limited to 'mail-filter/pypolicyd-spf')
-rw-r--r-- | mail-filter/pypolicyd-spf/Manifest | 5 | ||||
-rw-r--r-- | mail-filter/pypolicyd-spf/metadata.xml | 11 | ||||
-rw-r--r-- | mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild | 42 |
3 files changed, 58 insertions, 0 deletions
diff --git a/mail-filter/pypolicyd-spf/Manifest b/mail-filter/pypolicyd-spf/Manifest new file mode 100644 index 000000000000..107a4e8d9df4 --- /dev/null +++ b/mail-filter/pypolicyd-spf/Manifest @@ -0,0 +1,5 @@ +DIST pypolicyd-spf-2.0.1.tar.gz 38086 SHA256 9124865c3434b40ecbe6e761d05039b670d403e04d2736f3ffbbc8788f47d127 SHA512 85f51491ab1f44e197dbf9a15f9e723ba3aaf0472d9d1653595490d7211670a67cdca5699111ab5a29f9d919cd935ed58d8d70bd1312a4f0f90da4ef26a50509 WHIRLPOOL 575b2117e997bfd45ad7b846e6022002e92a51601f3af9b16f828f74956b2aee408cdf246382fefb7493bd083a0ddbda7b86e2a62d003187a82926d5be9e4714 +EBUILD pypolicyd-spf-2.0.1.ebuild 1229 SHA256 78d24baa12f022be3252b388fad2a8f6b0e5eb25ba82f2c3629ae6e5173d8d19 SHA512 564469702551ba214455b51385810e2149848ca15ab55b646e2a4c4195efd0be387f504bf6c1e640dbf0428876f14149b77c8ee797098a697fae1c99d6743a35 WHIRLPOOL 0fc265946948ca6521ebb4c993fd07f67f0c26652eebe77bf9bc20ff7df872682196df66e66a97bbb181cfe80af6aa5d350ed9ca7500913f5e060dbd5a724d29 +MISC ChangeLog 5481 SHA256 451c98dcda707c8853957a2a412255dd0f3c95eaaeb33013fe660dda5ecafa28 SHA512 8de08b470a942a79504f1d4c1bfef9377877e14c18dc5d0994914c41530dbfff2ce2ec0c9f329c618e23950994fd0208c1eed8c0d480ebaa5197a0e2ab3c1b91 WHIRLPOOL 7b6a8fb3b55e447885212c764efde4a8e294842948473166690a862fa315fa23fd04dbabfe0690c231ba379acead6e425be899ab8c69263cb4c80d64ea75ccb9 +MISC ChangeLog-2015 6187 SHA256 cca794e67a40d63f3a3ec6d7493fccd1be6137b99b93abebc5cbd3b16f3de5b9 SHA512 37141dac90a3bf38597f6d17ae755868792703e468930d9c65afae4797f530aff359f2829308ac041204e538e5a5a1518c181205b12fd9a64816aa117cf5012e WHIRLPOOL 4bdffe707086d84a427163c6527a4d3ca66226be3d4c9b16bfb31da614bbf39fbf1d0354cf0dee496c5a96609e2c3eb84d16fa700d6d9eaf3ed297d8f6578538 +MISC metadata.xml 356 SHA256 d2e179d33154f5904b1bf0ff038c725e29fe91dfc554f59d204d4ab939e704fa SHA512 67a8fd46090c3e558e7bf963277e99e11be4d2df97f4a4491a7fbc64a42f89e19af2131d13efec7370df1f27b2eb7385f59e732fae57b6ec67c47f18af8cfc72 WHIRLPOOL d17fdabf1a9dbd85349ea6355cc6f9e63d1a27cd53c2d9992d43d37b4024e841cd2990326fd353f02b283ea67d53d8bd2fc440feb45845b71de01adf9f60fe88 diff --git a/mail-filter/pypolicyd-spf/metadata.xml b/mail-filter/pypolicyd-spf/metadata.xml new file mode 100644 index 000000000000..9b1409156b59 --- /dev/null +++ b/mail-filter/pypolicyd-spf/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mjo@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="launchpad">pypolicyd-spf</remote-id> + <remote-id type="pypi">pypolicyd-spf</remote-id> + </upstream> +</pkgmetadata> diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild new file mode 100644 index 000000000000..51eea70ee7cc --- /dev/null +++ b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5,6} ) + +# 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. +PYTHON_REQ_USE="ipv6" + +inherit distutils-r1 + +DESCRIPTION="Python-based policy daemon for Postfix SPF verification" +HOMEPAGE="https://launchpad.net/${PN}" +SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=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 +} |