Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/spf-engine/
Date: Sun, 30 May 2021 11:51:09
Message-Id: 1622375442.48b7fb144febbe3b0d82afe5bb054c5cb61cb4e3.mjo@gentoo
1 commit: 48b7fb144febbe3b0d82afe5bb054c5cb61cb4e3
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 30 11:12:59 2021 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Sun May 30 11:50:42 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48b7fb14
7
8 mail-filter/spf-engine: remove old "unused" spf-engine-2.0.2-r1.ebuild.
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.2
11 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
12
13 mail-filter/spf-engine/Manifest | 1 -
14 mail-filter/spf-engine/spf-engine-2.0.2-r1.ebuild | 48 -----------------------
15 2 files changed, 49 deletions(-)
16
17 diff --git a/mail-filter/spf-engine/Manifest b/mail-filter/spf-engine/Manifest
18 index e26a6abe523..9f623a43a72 100644
19 --- a/mail-filter/spf-engine/Manifest
20 +++ b/mail-filter/spf-engine/Manifest
21 @@ -1,2 +1 @@
22 -DIST pypolicyd-spf-2.0.2.tar.gz 38546 BLAKE2B 691cd5db37592be0ef0cda41223280e764e83802e37563f4e6c08505731118199c03d27b0bf51cec0556aa946fc6c7465fe09d3c9100c8e2582a4d85ad828495 SHA512 adcc7b30c6922894f9407edd0637b02a138623f4480ec37635475396826b457c835b3ffb599d1985e306770fe5f72404552ed705bd957e63b5c54ca3d8991673
23 DIST spf-engine-2.9.2.tar.gz 52737 BLAKE2B 39d6c9831ef3ea489f2910fcbcaec9b2bed627f02459e20826166f04a2fe895aecf83768a3446a037e4231cc317ee277f6ff8e9030c72d8819739f6af889d632 SHA512 fe1fe82411ed4d6fcfadccd6ccc9fbd36372b4676051aafa5984740cba862336b00567576b3e32451cd24b0cfcd992d7dfdee33f0cf65a35f4009837e99b8f98
24
25 diff --git a/mail-filter/spf-engine/spf-engine-2.0.2-r1.ebuild b/mail-filter/spf-engine/spf-engine-2.0.2-r1.ebuild
26 deleted file mode 100644
27 index 14de72aa96c..00000000000
28 --- a/mail-filter/spf-engine/spf-engine-2.0.2-r1.ebuild
29 +++ /dev/null
30 @@ -1,48 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -PYTHON_COMPAT=( python3_7 python3_8 )
37 -
38 -# The built-in ipaddress module handles the parsing of IP addresses. If
39 -# python is built without ipv6 support, then ipaddress can't parse ipv6
40 -# addresses, and the daemon will crash if it sees an ipv6 SPF record. In
41 -# other words, it's completely broken.
42 -PYTHON_REQ_USE="ipv6"
43 -
44 -DISTUTILS_USE_SETUPTOOLS=no
45 -inherit distutils-r1
46 -
47 -OLD_PN="pypolicyd-spf"
48 -OLD_P="${OLD_PN}-${PV}"
49 -OLD_PF="${PN}-${PVR}"
50 -DESCRIPTION="Python-based policy daemon for Postfix SPF verification"
51 -HOMEPAGE="https://launchpad.net/pypolicyd-spf"
52 -SRC_URI="mirror://pypi/p/${OLD_PN}/${OLD_P}.tar.gz"
53 -
54 -LICENSE="Apache-2.0"
55 -SLOT="0"
56 -KEYWORDS="amd64 x86"
57 -IUSE=""
58 -
59 -DEPEND="dev-python/pyspf[${PYTHON_USEDEP}]"
60 -
61 -RDEPEND="${DEPEND}
62 - dev-python/authres[${PYTHON_USEDEP}]"
63 -
64 -S="${WORKDIR}/${OLD_P}"
65 -
66 -DOCS=( CHANGES policyd-spf.conf.commented README README.per_user_whitelisting )
67 -
68 -python_prepare_all() {
69 - # The "real" config file mentions the commented one, so we point
70 - # users in the right direction.
71 - local oldconf="policyd-spf.conf.commented"
72 - local newconf="/usr/share/doc/${OLD_PF}/${oldconf}"
73 -
74 - sed -i "1 s~ ${oldconf}~,\n# ${newconf}~" policyd-spf.conf \
75 - || die 'failed to update commented config file path'
76 -
77 - distutils-r1_python_prepare_all
78 -}