public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/spf-engine/
@ 2020-05-26 13:40 Michael Orlitzky
  0 siblings, 0 replies; 20+ messages in thread
From: Michael Orlitzky @ 2020-05-26 13:40 UTC (permalink / raw
  To: gentoo-commits

commit:     328a9a69d17949b8bff1f1b854f4a301a759f10f
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Tue May 26 01:28:54 2020 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Tue May 26 13:31:17 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=328a9a69

mail-filter/spf-engine: new version 2.9.2.

The first new version after the rename, with an ebuild that will make
sense to future readers. Thanks to Alex Efros for pointing out that
this package was renamed and for supplying an updated ebuild.

Reported-by: Alex Efros <powerman-asdf <AT> yandex.ru>
Closes: https://bugs.gentoo.org/724526
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 mail-filter/spf-engine/Manifest                |  1 +
 mail-filter/spf-engine/spf-engine-2.9.2.ebuild | 79 ++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)

diff --git a/mail-filter/spf-engine/Manifest b/mail-filter/spf-engine/Manifest
index a02a604de1f..e26a6abe523 100644
--- a/mail-filter/spf-engine/Manifest
+++ b/mail-filter/spf-engine/Manifest
@@ -1 +1,2 @@
 DIST pypolicyd-spf-2.0.2.tar.gz 38546 BLAKE2B 691cd5db37592be0ef0cda41223280e764e83802e37563f4e6c08505731118199c03d27b0bf51cec0556aa946fc6c7465fe09d3c9100c8e2582a4d85ad828495 SHA512 adcc7b30c6922894f9407edd0637b02a138623f4480ec37635475396826b457c835b3ffb599d1985e306770fe5f72404552ed705bd957e63b5c54ca3d8991673
+DIST spf-engine-2.9.2.tar.gz 52737 BLAKE2B 39d6c9831ef3ea489f2910fcbcaec9b2bed627f02459e20826166f04a2fe895aecf83768a3446a037e4231cc317ee277f6ff8e9030c72d8819739f6af889d632 SHA512 fe1fe82411ed4d6fcfadccd6ccc9fbd36372b4676051aafa5984740cba862336b00567576b3e32451cd24b0cfcd992d7dfdee33f0cf65a35f4009837e99b8f98

diff --git a/mail-filter/spf-engine/spf-engine-2.9.2.ebuild b/mail-filter/spf-engine/spf-engine-2.9.2.ebuild
new file mode 100644
index 00000000000..eebe9b13725
--- /dev/null
+++ b/mail-filter/spf-engine/spf-engine-2.9.2.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_6 python3_7 python3_8 )
+
+# 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"
+
+# setup.py defines entry_points
+DISTUTILS_USE_SETUPTOOLS=rdepend
+inherit distutils-r1
+
+DESCRIPTION="Policy daemon and milter for Postfix SPF verification"
+HOMEPAGE="https://launchpad.net/spf-engine"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="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 -e "1 s~ ${oldconf}~,\n#  ${newconf}~" -i policyd-spf.conf \
+		|| die 'failed to update commented config file path'
+
+	distutils-r1_python_prepare_all
+}
+
+src_install() {
+	distutils-r1_src_install
+
+	# Remove the milter files that are installed by default. The milter
+	# isn't quite ready:
+	#
+	#   * The README says it's experimental not well-tested.
+	#   * There's no documentation for its configuration parameters
+	#     (expecially the UserID).
+	#   * The configuration file is hard-coded to /usr/local.
+	#   * The paths in the systemd service file are hard-coded to /usr/local.
+	#   * We need to write an OpenRC service script for it.
+	#
+	# These are all eventually doable, but I'm not willing to commit to
+	# making the milter work before upstream is.
+	#
+	rm "${ED}/usr/bin/pyspf-milter" \
+		|| die "failed to remove ${ED}/usr/bin/pyspf-milter"
+	rm -r "${ED}/usr/lib/systemd" \
+		|| die "failed to remove ${ED}/usr/lib/systemd"
+	rm -r "${ED}/usr/etc/init.d" \
+		|| die "failed to remove ${ED}/usr/etc/init.d"
+	einfo "The milter component of spf-engine is still deemed experimental"
+	einfo "and not well-tested by upstream. It's missing configuration"
+	einfo "files, service scripts, and documentation. In other words, it"
+	einfo "doesn't work yet."
+
+	# The setuptools installation routing always works relative to
+	# python's prefix, so that when installing locally you wind up
+	# with paths like /usr/local/etc. However for system installs
+	# that does the wrong thing and puts the sysconfdir at /usr/etc.
+	# Here we move it to the right place.
+	mv -v "${ED}/usr/etc" "${ED}/" || die 'failed to relocate sysconfdir'
+}


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/spf-engine/
@ 2021-05-29  1:07 Michael Orlitzky
  0 siblings, 0 replies; 20+ messages in thread
From: Michael Orlitzky @ 2021-05-29  1:07 UTC (permalink / raw
  To: gentoo-commits

commit:     1e3bfb35dc8d9e84ff3c9a0182fbbfd76af94073
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sat May 29 01:05:00 2021 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat May 29 01:06:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e3bfb35

mail-filter/spf-engine: new revision with python-3.9 support.

Closes: https://bugs.gentoo.org/792162
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 .../{spf-engine-2.9.2.ebuild => spf-engine-2.9.2-r1.ebuild}           | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mail-filter/spf-engine/spf-engine-2.9.2.ebuild b/mail-filter/spf-engine/spf-engine-2.9.2-r1.ebuild
similarity index 96%
rename from mail-filter/spf-engine/spf-engine-2.9.2.ebuild
rename to mail-filter/spf-engine/spf-engine-2.9.2-r1.ebuild
index 8ce61a81405..a57645e1098 100644
--- a/mail-filter/spf-engine/spf-engine-2.9.2.ebuild
+++ b/mail-filter/spf-engine/spf-engine-2.9.2-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_7 python3_8 )
+PYTHON_COMPAT=( python3_7 python3_8 python3_9 )
 
 # The built-in ipaddress module handles the parsing of IP addresses. If
 # python is built without ipv6 support, then ipaddress can't parse ipv6


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/spf-engine/
@ 2021-05-29 15:23 Sam James
  0 siblings, 0 replies; 20+ messages in thread
From: Sam James @ 2021-05-29 15:23 UTC (permalink / raw
  To: gentoo-commits

commit:     d30a4117d2e4065ae5ffb933b5cbaf36c59007f7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 29 15:20:01 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 29 15:20:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d30a4117

mail-filter/spf-engine: Stabilize 2.9.2-r1 amd64, #792162

Signed-off-by: Sam James <sam <AT> gentoo.org>

 mail-filter/spf-engine/spf-engine-2.9.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/spf-engine/spf-engine-2.9.2-r1.ebuild b/mail-filter/spf-engine/spf-engine-2.9.2-r1.ebuild
index a57645e1098..5d2d20ddfd3 100644
--- a/mail-filter/spf-engine/spf-engine-2.9.2-r1.ebuild
+++ b/mail-filter/spf-engine/spf-engine-2.9.2-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE=""
 
 DEPEND="dev-python/pyspf[${PYTHON_USEDEP}]"


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/spf-engine/
@ 2021-05-29 16:09 Sam James
  0 siblings, 0 replies; 20+ messages in thread
From: Sam James @ 2021-05-29 16:09 UTC (permalink / raw
  To: gentoo-commits

commit:     858f10e769a75b1c2ce56b315ffe893080f6da58
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 29 16:08:21 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 29 16:09:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=858f10e7

mail-filter/spf-engine: Stabilize 2.9.2-r1 x86, #792162

Signed-off-by: Sam James <sam <AT> gentoo.org>

 mail-filter/spf-engine/spf-engine-2.9.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/spf-engine/spf-engine-2.9.2-r1.ebuild b/mail-filter/spf-engine/spf-engine-2.9.2-r1.ebuild
index 5d2d20ddfd3..25381a86714 100644
--- a/mail-filter/spf-engine/spf-engine-2.9.2-r1.ebuild
+++ b/mail-filter/spf-engine/spf-engine-2.9.2-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE=""
 
 DEPEND="dev-python/pyspf[${PYTHON_USEDEP}]"


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/spf-engine/
@ 2021-05-30 11:51 Michael Orlitzky
  0 siblings, 0 replies; 20+ messages in thread
From: Michael Orlitzky @ 2021-05-30 11:51 UTC (permalink / raw
  To: gentoo-commits

commit:     48b7fb144febbe3b0d82afe5bb054c5cb61cb4e3
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun May 30 11:12:59 2021 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun May 30 11:50:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48b7fb14

mail-filter/spf-engine: remove old "unused" spf-engine-2.0.2-r1.ebuild.

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 mail-filter/spf-engine/Manifest                   |  1 -
 mail-filter/spf-engine/spf-engine-2.0.2-r1.ebuild | 48 -----------------------
 2 files changed, 49 deletions(-)

diff --git a/mail-filter/spf-engine/Manifest b/mail-filter/spf-engine/Manifest
index e26a6abe523..9f623a43a72 100644
--- a/mail-filter/spf-engine/Manifest
+++ b/mail-filter/spf-engine/Manifest
@@ -1,2 +1 @@
-DIST pypolicyd-spf-2.0.2.tar.gz 38546 BLAKE2B 691cd5db37592be0ef0cda41223280e764e83802e37563f4e6c08505731118199c03d27b0bf51cec0556aa946fc6c7465fe09d3c9100c8e2582a4d85ad828495 SHA512 adcc7b30c6922894f9407edd0637b02a138623f4480ec37635475396826b457c835b3ffb599d1985e306770fe5f72404552ed705bd957e63b5c54ca3d8991673
 DIST spf-engine-2.9.2.tar.gz 52737 BLAKE2B 39d6c9831ef3ea489f2910fcbcaec9b2bed627f02459e20826166f04a2fe895aecf83768a3446a037e4231cc317ee277f6ff8e9030c72d8819739f6af889d632 SHA512 fe1fe82411ed4d6fcfadccd6ccc9fbd36372b4676051aafa5984740cba862336b00567576b3e32451cd24b0cfcd992d7dfdee33f0cf65a35f4009837e99b8f98

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
deleted file mode 100644
index 14de72aa96c..00000000000
--- a/mail-filter/spf-engine/spf-engine-2.0.2-r1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_7 python3_8 )
-
-# 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"
-
-DISTUTILS_USE_SETUPTOOLS=no
-inherit distutils-r1
-
-OLD_PN="pypolicyd-spf"
-OLD_P="${OLD_PN}-${PV}"
-OLD_PF="${PN}-${PVR}"
-DESCRIPTION="Python-based policy daemon for Postfix SPF verification"
-HOMEPAGE="https://launchpad.net/pypolicyd-spf"
-SRC_URI="mirror://pypi/p/${OLD_PN}/${OLD_P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND="dev-python/pyspf[${PYTHON_USEDEP}]"
-
-RDEPEND="${DEPEND}
-	dev-python/authres[${PYTHON_USEDEP}]"
-
-S="${WORKDIR}/${OLD_P}"
-
-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/${OLD_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
-}


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/spf-engine/
@ 2021-08-31  9:05 Michał Górny
  0 siblings, 0 replies; 20+ messages in thread
From: Michał Górny @ 2021-08-31  9:05 UTC (permalink / raw
  To: gentoo-commits

commit:     cc505063b387990c5369e5049d73404f02aa91f7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 31 09:00:49 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug 31 09:00:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc505063

mail-filter/spf-engine: dev-lang/python is now ipv6(+)

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../{spf-engine-2.9.2-r1.ebuild => spf-engine-2.9.2-r3.ebuild}          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/spf-engine/spf-engine-2.9.2-r1.ebuild b/mail-filter/spf-engine/spf-engine-2.9.2-r3.ebuild
similarity index 99%
rename from mail-filter/spf-engine/spf-engine-2.9.2-r1.ebuild
rename to mail-filter/spf-engine/spf-engine-2.9.2-r3.ebuild
index 25381a86714..4936a62e0ed 100644
--- a/mail-filter/spf-engine/spf-engine-2.9.2-r1.ebuild
+++ b/mail-filter/spf-engine/spf-engine-2.9.2-r3.ebuild
@@ -9,7 +9,7 @@ PYTHON_COMPAT=( python3_7 python3_8 python3_9 )
 # 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"
+PYTHON_REQ_USE="ipv6(+)"
 
 # setup.py defines entry_points
 DISTUTILS_USE_SETUPTOOLS=rdepend


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/spf-engine/
@ 2021-10-29 12:56 Michael Orlitzky
  0 siblings, 0 replies; 20+ messages in thread
From: Michael Orlitzky @ 2021-10-29 12:56 UTC (permalink / raw
  To: gentoo-commits

commit:     297fd5ee563da41f502a3bddbd0bccfe1da107d0
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 29 12:47:34 2021 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Fri Oct 29 12:55:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=297fd5ee

mail-filter/spf-engine: new revision with python-3.10 support.

I've also dropped support for python-3.7, which lets us finally revert
DISTUTILS_USE_SETUPTOOLS to the default value and stop spewing QA
warnings.

Closes: https://bugs.gentoo.org/820662
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 mail-filter/spf-engine/spf-engine-2.9.2-r4.ebuild | 77 +++++++++++++++++++++++
 1 file changed, 77 insertions(+)

diff --git a/mail-filter/spf-engine/spf-engine-2.9.2-r4.ebuild b/mail-filter/spf-engine/spf-engine-2.9.2-r4.ebuild
new file mode 100644
index 00000000000..250e794e33c
--- /dev/null
+++ b/mail-filter/spf-engine/spf-engine-2.9.2-r4.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_8 python3_9 python3_10 )
+
+# 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="Policy daemon and milter for Postfix SPF verification"
+HOMEPAGE="https://launchpad.net/spf-engine"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="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 -e "1 s~ ${oldconf}~,\n#  ${newconf}~" -i policyd-spf.conf \
+		|| die 'failed to update commented config file path'
+
+	distutils-r1_python_prepare_all
+}
+
+src_install() {
+	distutils-r1_src_install
+
+	# Remove the milter files that are installed by default. The milter
+	# isn't quite ready:
+	#
+	#   * The README says it's experimental not well-tested.
+	#   * There's no documentation for its configuration parameters
+	#     (expecially the UserID).
+	#   * The configuration file is hard-coded to /usr/local.
+	#   * The paths in the systemd service file are hard-coded to /usr/local.
+	#   * We need to write an OpenRC service script for it.
+	#
+	# These are all eventually doable, but I'm not willing to commit to
+	# making the milter work before upstream is.
+	#
+	rm "${ED}/usr/bin/pyspf-milter" \
+		|| die "failed to remove ${ED}/usr/bin/pyspf-milter"
+	rm -r "${ED}/usr/lib/systemd" \
+		|| die "failed to remove ${ED}/usr/lib/systemd"
+	rm -r "${ED}/usr/etc/init.d" \
+		|| die "failed to remove ${ED}/usr/etc/init.d"
+	einfo "The milter component of spf-engine is still deemed experimental"
+	einfo "and not well-tested by upstream. It's missing configuration"
+	einfo "files, service scripts, and documentation. In other words, it"
+	einfo "doesn't work yet."
+
+	# The setuptools installation routing always works relative to
+	# python's prefix, so that when installing locally you wind up
+	# with paths like /usr/local/etc. However for system installs
+	# that does the wrong thing and puts the sysconfdir at /usr/etc.
+	# Here we move it to the right place.
+	mv -v "${ED}/usr/etc" "${ED}/" || die 'failed to relocate sysconfdir'
+}


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/spf-engine/
@ 2022-05-13  9:16 Michael Orlitzky
  0 siblings, 0 replies; 20+ messages in thread
From: Michael Orlitzky @ 2022-05-13  9:16 UTC (permalink / raw
  To: gentoo-commits

commit:     84a61a24dc4bf6087ec8e98948faff65a53687ad
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Thu May 12 22:53:50 2022 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Fri May 13 09:14:24 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84a61a24

mail-filter/spf-engine: new upstream v2.9.3.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 mail-filter/spf-engine/Manifest                                         | 1 +
 .../spf-engine/{spf-engine-2.9.2-r4.ebuild => spf-engine-2.9.3.ebuild}  | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/mail-filter/spf-engine/Manifest b/mail-filter/spf-engine/Manifest
index 9f623a43a721..eff4661fd37e 100644
--- a/mail-filter/spf-engine/Manifest
+++ b/mail-filter/spf-engine/Manifest
@@ -1 +1,2 @@
 DIST spf-engine-2.9.2.tar.gz 52737 BLAKE2B 39d6c9831ef3ea489f2910fcbcaec9b2bed627f02459e20826166f04a2fe895aecf83768a3446a037e4231cc317ee277f6ff8e9030c72d8819739f6af889d632 SHA512 fe1fe82411ed4d6fcfadccd6ccc9fbd36372b4676051aafa5984740cba862336b00567576b3e32451cd24b0cfcd992d7dfdee33f0cf65a35f4009837e99b8f98
+DIST spf-engine-2.9.3.tar.gz 52974 BLAKE2B 9e6c47af7d523e1486d9bbfee2b0e53a4a97dbfc93e1cd14f70d4676542defaf6fede397d33e21c00e9bb2cdd1016c98981b6c0e735bdfd225b226920b9470b1 SHA512 adde80eca38f372ad00ed7355951007b9c02ef8a52a5a4edcbf2fa9959220f1083e3e313668e9c7ad2c26144148ae8ff62ec468d79936d96b43897598254f528

diff --git a/mail-filter/spf-engine/spf-engine-2.9.2-r4.ebuild b/mail-filter/spf-engine/spf-engine-2.9.3.ebuild
similarity index 98%
rename from mail-filter/spf-engine/spf-engine-2.9.2-r4.ebuild
rename to mail-filter/spf-engine/spf-engine-2.9.3.ebuild
index 250e794e33cd..869eb1624ce8 100644
--- a/mail-filter/spf-engine/spf-engine-2.9.2-r4.ebuild
+++ b/mail-filter/spf-engine/spf-engine-2.9.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/spf-engine/
@ 2022-06-09  7:34 Agostino Sarubbo
  0 siblings, 0 replies; 20+ messages in thread
From: Agostino Sarubbo @ 2022-06-09  7:34 UTC (permalink / raw
  To: gentoo-commits

commit:     35f2f2069f494319356574b7cc387db19669795f
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  9 07:34:14 2022 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Jun  9 07:34:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35f2f206

mail-filter/spf-engine: amd64 stable wrt bug #850271

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 mail-filter/spf-engine/spf-engine-2.9.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/spf-engine/spf-engine-2.9.3.ebuild b/mail-filter/spf-engine/spf-engine-2.9.3.ebuild
index 869eb1624ce8..a99836aaf512 100644
--- a/mail-filter/spf-engine/spf-engine-2.9.3.ebuild
+++ b/mail-filter/spf-engine/spf-engine-2.9.3.ebuild
@@ -19,7 +19,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE=""
 
 DEPEND="dev-python/pyspf[${PYTHON_USEDEP}]"


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/spf-engine/
@ 2022-06-09  7:39 Agostino Sarubbo
  0 siblings, 0 replies; 20+ messages in thread
From: Agostino Sarubbo @ 2022-06-09  7:39 UTC (permalink / raw
  To: gentoo-commits

commit:     42cb713e282c0a648342dc4da7a3129665663fd6
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  9 07:39:16 2022 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Jun  9 07:39:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42cb713e

mail-filter/spf-engine: x86 stable wrt bug #850271

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 mail-filter/spf-engine/spf-engine-2.9.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/spf-engine/spf-engine-2.9.3.ebuild b/mail-filter/spf-engine/spf-engine-2.9.3.ebuild
index a99836aaf512..bfccc6c22a96 100644
--- a/mail-filter/spf-engine/spf-engine-2.9.3.ebuild
+++ b/mail-filter/spf-engine/spf-engine-2.9.3.ebuild
@@ -19,7 +19,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE=""
 
 DEPEND="dev-python/pyspf[${PYTHON_USEDEP}]"


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/spf-engine/
@ 2022-06-09 12:44 Michael Orlitzky
  0 siblings, 0 replies; 20+ messages in thread
From: Michael Orlitzky @ 2022-06-09 12:44 UTC (permalink / raw
  To: gentoo-commits

commit:     c848f4cbf8150c590b61c9586b2ce336bc007908
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  9 12:42:29 2022 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Thu Jun  9 12:42:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c848f4cb

mail-filter/spf-engine: remove old spf-engine-2.9.2-r3.ebuild.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 mail-filter/spf-engine/Manifest                   |  1 -
 mail-filter/spf-engine/spf-engine-2.9.2-r3.ebuild | 79 -----------------------
 2 files changed, 80 deletions(-)

diff --git a/mail-filter/spf-engine/Manifest b/mail-filter/spf-engine/Manifest
index eff4661fd37e..4303d92ba1b5 100644
--- a/mail-filter/spf-engine/Manifest
+++ b/mail-filter/spf-engine/Manifest
@@ -1,2 +1 @@
-DIST spf-engine-2.9.2.tar.gz 52737 BLAKE2B 39d6c9831ef3ea489f2910fcbcaec9b2bed627f02459e20826166f04a2fe895aecf83768a3446a037e4231cc317ee277f6ff8e9030c72d8819739f6af889d632 SHA512 fe1fe82411ed4d6fcfadccd6ccc9fbd36372b4676051aafa5984740cba862336b00567576b3e32451cd24b0cfcd992d7dfdee33f0cf65a35f4009837e99b8f98
 DIST spf-engine-2.9.3.tar.gz 52974 BLAKE2B 9e6c47af7d523e1486d9bbfee2b0e53a4a97dbfc93e1cd14f70d4676542defaf6fede397d33e21c00e9bb2cdd1016c98981b6c0e735bdfd225b226920b9470b1 SHA512 adde80eca38f372ad00ed7355951007b9c02ef8a52a5a4edcbf2fa9959220f1083e3e313668e9c7ad2c26144148ae8ff62ec468d79936d96b43897598254f528

diff --git a/mail-filter/spf-engine/spf-engine-2.9.2-r3.ebuild b/mail-filter/spf-engine/spf-engine-2.9.2-r3.ebuild
deleted file mode 100644
index 4936a62e0edb..000000000000
--- a/mail-filter/spf-engine/spf-engine-2.9.2-r3.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_7 python3_8 python3_9 )
-
-# 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(+)"
-
-# setup.py defines entry_points
-DISTUTILS_USE_SETUPTOOLS=rdepend
-inherit distutils-r1
-
-DESCRIPTION="Policy daemon and milter for Postfix SPF verification"
-HOMEPAGE="https://launchpad.net/spf-engine"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND="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 -e "1 s~ ${oldconf}~,\n#  ${newconf}~" -i policyd-spf.conf \
-		|| die 'failed to update commented config file path'
-
-	distutils-r1_python_prepare_all
-}
-
-src_install() {
-	distutils-r1_src_install
-
-	# Remove the milter files that are installed by default. The milter
-	# isn't quite ready:
-	#
-	#   * The README says it's experimental not well-tested.
-	#   * There's no documentation for its configuration parameters
-	#     (expecially the UserID).
-	#   * The configuration file is hard-coded to /usr/local.
-	#   * The paths in the systemd service file are hard-coded to /usr/local.
-	#   * We need to write an OpenRC service script for it.
-	#
-	# These are all eventually doable, but I'm not willing to commit to
-	# making the milter work before upstream is.
-	#
-	rm "${ED}/usr/bin/pyspf-milter" \
-		|| die "failed to remove ${ED}/usr/bin/pyspf-milter"
-	rm -r "${ED}/usr/lib/systemd" \
-		|| die "failed to remove ${ED}/usr/lib/systemd"
-	rm -r "${ED}/usr/etc/init.d" \
-		|| die "failed to remove ${ED}/usr/etc/init.d"
-	einfo "The milter component of spf-engine is still deemed experimental"
-	einfo "and not well-tested by upstream. It's missing configuration"
-	einfo "files, service scripts, and documentation. In other words, it"
-	einfo "doesn't work yet."
-
-	# The setuptools installation routing always works relative to
-	# python's prefix, so that when installing locally you wind up
-	# with paths like /usr/local/etc. However for system installs
-	# that does the wrong thing and puts the sysconfdir at /usr/etc.
-	# Here we move it to the right place.
-	mv -v "${ED}/usr/etc" "${ED}/" || die 'failed to relocate sysconfdir'
-}


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/spf-engine/
@ 2023-03-17 15:29 Michał Górny
  0 siblings, 0 replies; 20+ messages in thread
From: Michał Górny @ 2023-03-17 15:29 UTC (permalink / raw
  To: gentoo-commits

commit:     ea29554eb8d4cab30c6e200158de80dfdd080f85
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 17 12:02:38 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar 17 15:29:03 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea29554e

mail-filter/spf-engine: Use pypi.eclass

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 mail-filter/spf-engine/spf-engine-2.9.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mail-filter/spf-engine/spf-engine-2.9.3.ebuild b/mail-filter/spf-engine/spf-engine-2.9.3.ebuild
index cd5b4ddf5002..bc923ece8954 100644
--- a/mail-filter/spf-engine/spf-engine-2.9.3.ebuild
+++ b/mail-filter/spf-engine/spf-engine-2.9.3.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=8
 
+PYPI_NO_NORMALIZE=1
 PYTHON_COMPAT=( python3_9 python3_10 )
 
 # The built-in ipaddress module handles the parsing of IP addresses. If
@@ -11,11 +12,10 @@ PYTHON_COMPAT=( python3_9 python3_10 )
 # other words, it's completely broken.
 PYTHON_REQ_USE="ipv6(+)"
 
-inherit distutils-r1
+inherit distutils-r1 pypi
 
 DESCRIPTION="Policy daemon and milter for Postfix SPF verification"
 HOMEPAGE="https://launchpad.net/spf-engine"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/spf-engine/
@ 2023-03-26 22:59 Michael Orlitzky
  0 siblings, 0 replies; 20+ messages in thread
From: Michael Orlitzky @ 2023-03-26 22:59 UTC (permalink / raw
  To: gentoo-commits

commit:     08a4e9d40cf9011fc7b98ab51ed7be6b9b9048bc
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 25 23:48:14 2023 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun Mar 26 22:59:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08a4e9d4

mail-filter/spf-engine: add 3.0.3

The new 3.x packaging makes the milter a first-class citizen, but I've
left it disabled for now. There are incorrect paths, unnecessary PID
files and privilege-dropping, and a chown() exploit -- all reported
upstream. But since the milter was never available on Gentoo in the
first place, it seems prudent to leave it disabled until those issues
are sorted out.

Closes: https://bugs.gentoo.org/896976
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 mail-filter/spf-engine/Manifest                |  1 +
 mail-filter/spf-engine/spf-engine-3.0.3.ebuild | 74 ++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/mail-filter/spf-engine/Manifest b/mail-filter/spf-engine/Manifest
index 4303d92ba1b5..a1a785990a37 100644
--- a/mail-filter/spf-engine/Manifest
+++ b/mail-filter/spf-engine/Manifest
@@ -1 +1,2 @@
 DIST spf-engine-2.9.3.tar.gz 52974 BLAKE2B 9e6c47af7d523e1486d9bbfee2b0e53a4a97dbfc93e1cd14f70d4676542defaf6fede397d33e21c00e9bb2cdd1016c98981b6c0e735bdfd225b226920b9470b1 SHA512 adde80eca38f372ad00ed7355951007b9c02ef8a52a5a4edcbf2fa9959220f1083e3e313668e9c7ad2c26144148ae8ff62ec468d79936d96b43897598254f528
+DIST spf-engine-3.0.3.tar.gz 61350 BLAKE2B f28dfb10559bfd61be152a4b65a5653ec50b25718fcb63f8a2c9532fd9d52a51c131c99ba5408bd6aa424adc5ce6094da7eeb97dbacd7e60e8abb48c65c4f188 SHA512 08db392d2cce16651ba416fcd265e6606e1a8af3cb88721ed149a2286d11ac9ea6ed4d01572cea6950740890c3334e8e0d496d1d1e9edcc29d04833fec049ab0

diff --git a/mail-filter/spf-engine/spf-engine-3.0.3.ebuild b/mail-filter/spf-engine/spf-engine-3.0.3.ebuild
new file mode 100644
index 000000000000..2c680c53fd35
--- /dev/null
+++ b/mail-filter/spf-engine/spf-engine-3.0.3.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_9 python3_10 python3_11 )
+
+# 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(+)"
+DISTUTILS_USE_PEP517=flit
+PYPI_NO_NORMALIZE=1
+inherit distutils-r1 pypi
+
+DESCRIPTION="Policy daemon for Postfix SPF verification"
+HOMEPAGE="https://launchpad.net/spf-engine"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/pyspf[${PYTHON_USEDEP}]
+	dev-python/authres[${PYTHON_USEDEP}]"
+
+DOCS=( CHANGES )
+
+python_prepare_all() {
+	distutils-r1_python_prepare_all
+
+	# The tarball has a "data" directory containing a hierarchy that
+	# flit wants to insert right into /usr. Before it does that, we have
+	# to remove the parts we don't want, and fix some of the paths.
+	#
+	# Note that one of our patches already mangles a few of these
+	# before we even see them.
+
+	einfo "removing milter files"
+	rm -v -r data/lib data/etc/init.d data/share/man/man8 || die
+	rm -v data/etc/pyspf-milter/pyspf-milter.conf || die
+	rm -v spf_engine/milter_spf.py || die
+
+	# And don't create a python-exec wrapper for it.
+	sed -e '/^pyspf-milter = /d' -i pyproject.toml || die
+
+	# The commented conf example is documentation, not configuration.
+	mv -v data/etc/python-policyd-spf/policyd-spf.conf.commented \
+	   data/share/doc/python-policyd-spf/ || die
+
+	# The man page hard-codes /usr/local/etc, it should be /etc.
+	sed -e 's:/usr/local/etc:/etc:g' \
+		-i data/share/man/man1/policyd-spf.1 || die
+
+	# Fix the documentation path.
+	mv -v data/share/doc/python-policyd-spf "data/share/doc/${PF}" || die
+
+	# The "real" config file mentions the commented one, so we point
+	# users in the right direction. Caveat: the documentation is
+	# compressed, so we're usually off by a ".bz2" suffix anyway.
+	local oldconf="policyd-spf.conf.commented"
+	local newconf="/usr/share/doc/${PF}/${oldconf}"
+	sed -e "1 s~ ${oldconf}~,\n#  ${newconf}~" \
+		-i "data/etc/python-policyd-spf/policyd-spf.conf" \
+		|| die 'failed to update commented config file path'
+}
+
+src_install() {
+	distutils-r1_src_install
+
+	# The "data" installation is relative to python's prefix, so
+	# data/etc gets installed to /usr/etc. Let's fix that.
+	mv -v "${ED}/usr/etc" "${ED}/" || die 'failed to relocate sysconfdir'
+}


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/spf-engine/
@ 2023-05-03  3:53 Sam James
  0 siblings, 0 replies; 20+ messages in thread
From: Sam James @ 2023-05-03  3:53 UTC (permalink / raw
  To: gentoo-commits

commit:     656fecdfcbd98c93b6a3d5ec0031a7501b66b845
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May  3 03:52:55 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May  3 03:52:55 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=656fecdf

mail-filter/spf-engine: Stabilize 3.0.3 x86, #905608

Signed-off-by: Sam James <sam <AT> gentoo.org>

 mail-filter/spf-engine/spf-engine-3.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/spf-engine/spf-engine-3.0.3.ebuild b/mail-filter/spf-engine/spf-engine-3.0.3.ebuild
index 2c680c53fd35..c75d4e9aadac 100644
--- a/mail-filter/spf-engine/spf-engine-3.0.3.ebuild
+++ b/mail-filter/spf-engine/spf-engine-3.0.3.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://launchpad.net/spf-engine"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 
 RDEPEND="dev-python/pyspf[${PYTHON_USEDEP}]
 	dev-python/authres[${PYTHON_USEDEP}]"


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/spf-engine/
@ 2023-05-03  6:33 Arthur Zamarin
  0 siblings, 0 replies; 20+ messages in thread
From: Arthur Zamarin @ 2023-05-03  6:33 UTC (permalink / raw
  To: gentoo-commits

commit:     94c12e7b2443806697e9d971980ff30f15f24b1a
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed May  3 06:31:01 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed May  3 06:32:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94c12e7b

mail-filter/spf-engine: Stabilize 3.0.3 amd64, #905608

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 mail-filter/spf-engine/spf-engine-3.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/spf-engine/spf-engine-3.0.3.ebuild b/mail-filter/spf-engine/spf-engine-3.0.3.ebuild
index c75d4e9aadac..46d608b77a7e 100644
--- a/mail-filter/spf-engine/spf-engine-3.0.3.ebuild
+++ b/mail-filter/spf-engine/spf-engine-3.0.3.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://launchpad.net/spf-engine"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 
 RDEPEND="dev-python/pyspf[${PYTHON_USEDEP}]
 	dev-python/authres[${PYTHON_USEDEP}]"


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/spf-engine/
@ 2023-05-04 14:03 Michael Orlitzky
  0 siblings, 0 replies; 20+ messages in thread
From: Michael Orlitzky @ 2023-05-04 14:03 UTC (permalink / raw
  To: gentoo-commits

commit:     4797f957b23ad24e0619afe08b3f22664eba5ff2
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed May  3 16:33:00 2023 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Thu May  4 14:02:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4797f957

mail-filter/spf-engine: add 3.0.4

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 mail-filter/spf-engine/Manifest                |  1 +
 mail-filter/spf-engine/spf-engine-3.0.4.ebuild | 74 ++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/mail-filter/spf-engine/Manifest b/mail-filter/spf-engine/Manifest
index f7084f23353b..cfeb6a304f68 100644
--- a/mail-filter/spf-engine/Manifest
+++ b/mail-filter/spf-engine/Manifest
@@ -1 +1,2 @@
 DIST spf-engine-3.0.3.tar.gz 61350 BLAKE2B f28dfb10559bfd61be152a4b65a5653ec50b25718fcb63f8a2c9532fd9d52a51c131c99ba5408bd6aa424adc5ce6094da7eeb97dbacd7e60e8abb48c65c4f188 SHA512 08db392d2cce16651ba416fcd265e6606e1a8af3cb88721ed149a2286d11ac9ea6ed4d01572cea6950740890c3334e8e0d496d1d1e9edcc29d04833fec049ab0
+DIST spf-engine-3.0.4.tar.gz 61428 BLAKE2B b4c1e920cdb6706650341a21abe21a3318649a3bd379aea2d16c30bb9d27d95b83b980dfb0f62c234627f3c87b4d82f6074b88eb0f4ccb878618f61f9d8b9827 SHA512 29a6cd4d2c94ef1d47ff6d6d03bd485961f8c01e838800dd8c1194a51fdfbf384ffb5f073e1262993cd2bb5cbf2eff645048d6f1f3ce57bdebfefe3d0425ee77

diff --git a/mail-filter/spf-engine/spf-engine-3.0.4.ebuild b/mail-filter/spf-engine/spf-engine-3.0.4.ebuild
new file mode 100644
index 000000000000..2c680c53fd35
--- /dev/null
+++ b/mail-filter/spf-engine/spf-engine-3.0.4.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_9 python3_10 python3_11 )
+
+# 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(+)"
+DISTUTILS_USE_PEP517=flit
+PYPI_NO_NORMALIZE=1
+inherit distutils-r1 pypi
+
+DESCRIPTION="Policy daemon for Postfix SPF verification"
+HOMEPAGE="https://launchpad.net/spf-engine"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/pyspf[${PYTHON_USEDEP}]
+	dev-python/authres[${PYTHON_USEDEP}]"
+
+DOCS=( CHANGES )
+
+python_prepare_all() {
+	distutils-r1_python_prepare_all
+
+	# The tarball has a "data" directory containing a hierarchy that
+	# flit wants to insert right into /usr. Before it does that, we have
+	# to remove the parts we don't want, and fix some of the paths.
+	#
+	# Note that one of our patches already mangles a few of these
+	# before we even see them.
+
+	einfo "removing milter files"
+	rm -v -r data/lib data/etc/init.d data/share/man/man8 || die
+	rm -v data/etc/pyspf-milter/pyspf-milter.conf || die
+	rm -v spf_engine/milter_spf.py || die
+
+	# And don't create a python-exec wrapper for it.
+	sed -e '/^pyspf-milter = /d' -i pyproject.toml || die
+
+	# The commented conf example is documentation, not configuration.
+	mv -v data/etc/python-policyd-spf/policyd-spf.conf.commented \
+	   data/share/doc/python-policyd-spf/ || die
+
+	# The man page hard-codes /usr/local/etc, it should be /etc.
+	sed -e 's:/usr/local/etc:/etc:g' \
+		-i data/share/man/man1/policyd-spf.1 || die
+
+	# Fix the documentation path.
+	mv -v data/share/doc/python-policyd-spf "data/share/doc/${PF}" || die
+
+	# The "real" config file mentions the commented one, so we point
+	# users in the right direction. Caveat: the documentation is
+	# compressed, so we're usually off by a ".bz2" suffix anyway.
+	local oldconf="policyd-spf.conf.commented"
+	local newconf="/usr/share/doc/${PF}/${oldconf}"
+	sed -e "1 s~ ${oldconf}~,\n#  ${newconf}~" \
+		-i "data/etc/python-policyd-spf/policyd-spf.conf" \
+		|| die 'failed to update commented config file path'
+}
+
+src_install() {
+	distutils-r1_src_install
+
+	# The "data" installation is relative to python's prefix, so
+	# data/etc gets installed to /usr/etc. Let's fix that.
+	mv -v "${ED}/usr/etc" "${ED}/" || die 'failed to relocate sysconfdir'
+}


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/spf-engine/
@ 2023-05-04 14:03 Michael Orlitzky
  0 siblings, 0 replies; 20+ messages in thread
From: Michael Orlitzky @ 2023-05-04 14:03 UTC (permalink / raw
  To: gentoo-commits

commit:     d704bcaafc7999f3e6b21dbdf1963812c5f73456
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed May  3 12:13:02 2023 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Thu May  4 14:02:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d704bcaa

mail-filter/spf-engine: drop 2.9.3

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 mail-filter/spf-engine/Manifest                |  1 -
 mail-filter/spf-engine/spf-engine-2.9.3.ebuild | 77 --------------------------
 2 files changed, 78 deletions(-)

diff --git a/mail-filter/spf-engine/Manifest b/mail-filter/spf-engine/Manifest
index a1a785990a37..f7084f23353b 100644
--- a/mail-filter/spf-engine/Manifest
+++ b/mail-filter/spf-engine/Manifest
@@ -1,2 +1 @@
-DIST spf-engine-2.9.3.tar.gz 52974 BLAKE2B 9e6c47af7d523e1486d9bbfee2b0e53a4a97dbfc93e1cd14f70d4676542defaf6fede397d33e21c00e9bb2cdd1016c98981b6c0e735bdfd225b226920b9470b1 SHA512 adde80eca38f372ad00ed7355951007b9c02ef8a52a5a4edcbf2fa9959220f1083e3e313668e9c7ad2c26144148ae8ff62ec468d79936d96b43897598254f528
 DIST spf-engine-3.0.3.tar.gz 61350 BLAKE2B f28dfb10559bfd61be152a4b65a5653ec50b25718fcb63f8a2c9532fd9d52a51c131c99ba5408bd6aa424adc5ce6094da7eeb97dbacd7e60e8abb48c65c4f188 SHA512 08db392d2cce16651ba416fcd265e6606e1a8af3cb88721ed149a2286d11ac9ea6ed4d01572cea6950740890c3334e8e0d496d1d1e9edcc29d04833fec049ab0

diff --git a/mail-filter/spf-engine/spf-engine-2.9.3.ebuild b/mail-filter/spf-engine/spf-engine-2.9.3.ebuild
deleted file mode 100644
index bc923ece8954..000000000000
--- a/mail-filter/spf-engine/spf-engine-2.9.3.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_9 python3_10 )
-
-# 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 pypi
-
-DESCRIPTION="Policy daemon and milter for Postfix SPF verification"
-HOMEPAGE="https://launchpad.net/spf-engine"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND="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 -e "1 s~ ${oldconf}~,\n#  ${newconf}~" -i policyd-spf.conf \
-		|| die 'failed to update commented config file path'
-
-	distutils-r1_python_prepare_all
-}
-
-src_install() {
-	distutils-r1_src_install
-
-	# Remove the milter files that are installed by default. The milter
-	# isn't quite ready:
-	#
-	#   * The README says it's experimental not well-tested.
-	#   * There's no documentation for its configuration parameters
-	#     (expecially the UserID).
-	#   * The configuration file is hard-coded to /usr/local.
-	#   * The paths in the systemd service file are hard-coded to /usr/local.
-	#   * We need to write an OpenRC service script for it.
-	#
-	# These are all eventually doable, but I'm not willing to commit to
-	# making the milter work before upstream is.
-	#
-	rm "${ED}/usr/bin/pyspf-milter" \
-		|| die "failed to remove ${ED}/usr/bin/pyspf-milter"
-	rm -r "${ED}/usr/lib/systemd" \
-		|| die "failed to remove ${ED}/usr/lib/systemd"
-	rm -r "${ED}/usr/etc/init.d" \
-		|| die "failed to remove ${ED}/usr/etc/init.d"
-	einfo "The milter component of spf-engine is still deemed experimental"
-	einfo "and not well-tested by upstream. It's missing configuration"
-	einfo "files, service scripts, and documentation. In other words, it"
-	einfo "doesn't work yet."
-
-	# The setuptools installation routing always works relative to
-	# python's prefix, so that when installing locally you wind up
-	# with paths like /usr/local/etc. However for system installs
-	# that does the wrong thing and puts the sysconfdir at /usr/etc.
-	# Here we move it to the right place.
-	mv -v "${ED}/usr/etc" "${ED}/" || die 'failed to relocate sysconfdir'
-}


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/spf-engine/
@ 2024-04-14 12:14 Michael Orlitzky
  0 siblings, 0 replies; 20+ messages in thread
From: Michael Orlitzky @ 2024-04-14 12:14 UTC (permalink / raw
  To: gentoo-commits

commit:     e18ebdc2b5f5a8c34ce781fdf4d27307b1a3bb42
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 14 11:51:14 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun Apr 14 12:14:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e18ebdc2

mail-filter/spf-engine: support python-3.12, drop 3.9

Bug: https://bugs.gentoo.org/929609
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 .../{spf-engine-3.0.4.ebuild => spf-engine-3.0.4-r1.ebuild}           | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mail-filter/spf-engine/spf-engine-3.0.4.ebuild b/mail-filter/spf-engine/spf-engine-3.0.4-r1.ebuild
similarity index 96%
rename from mail-filter/spf-engine/spf-engine-3.0.4.ebuild
rename to mail-filter/spf-engine/spf-engine-3.0.4-r1.ebuild
index 2c680c53fd35..cb36d22f03ce 100644
--- a/mail-filter/spf-engine/spf-engine-3.0.4.ebuild
+++ b/mail-filter/spf-engine/spf-engine-3.0.4-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_9 python3_10 python3_11 )
+PYTHON_COMPAT=( python3_10 python3_11 python3_12 )
 
 # The built-in ipaddress module handles the parsing of IP addresses. If
 # python is built without ipv6 support, then ipaddress can't parse ipv6


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/spf-engine/
@ 2024-05-28 13:19 Sam James
  0 siblings, 0 replies; 20+ messages in thread
From: Sam James @ 2024-05-28 13:19 UTC (permalink / raw
  To: gentoo-commits

commit:     216f3db842310bb21542c1675a1c9dddff0a4b90
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 28 13:18:36 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 28 13:18:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=216f3db8

mail-filter/spf-engine: Stabilize 3.0.4-r1 amd64, #932976

Signed-off-by: Sam James <sam <AT> gentoo.org>

 mail-filter/spf-engine/spf-engine-3.0.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/spf-engine/spf-engine-3.0.4-r1.ebuild b/mail-filter/spf-engine/spf-engine-3.0.4-r1.ebuild
index cb36d22f03ce..5af8e08728d0 100644
--- a/mail-filter/spf-engine/spf-engine-3.0.4-r1.ebuild
+++ b/mail-filter/spf-engine/spf-engine-3.0.4-r1.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://launchpad.net/spf-engine"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 RDEPEND="dev-python/pyspf[${PYTHON_USEDEP}]
 	dev-python/authres[${PYTHON_USEDEP}]"


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/spf-engine/
@ 2024-05-29 13:53 Michael Orlitzky
  0 siblings, 0 replies; 20+ messages in thread
From: Michael Orlitzky @ 2024-05-29 13:53 UTC (permalink / raw
  To: gentoo-commits

commit:     242ceeef654153caa387d19ac841bb38285eb5f0
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed May 29 13:52:31 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed May 29 13:52:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=242ceeef

mail-filter/spf-engine: drop 3.0.3

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 mail-filter/spf-engine/Manifest                |  1 -
 mail-filter/spf-engine/spf-engine-3.0.3.ebuild | 74 --------------------------
 2 files changed, 75 deletions(-)

diff --git a/mail-filter/spf-engine/Manifest b/mail-filter/spf-engine/Manifest
index cfeb6a304f68..35f1277c7bad 100644
--- a/mail-filter/spf-engine/Manifest
+++ b/mail-filter/spf-engine/Manifest
@@ -1,2 +1 @@
-DIST spf-engine-3.0.3.tar.gz 61350 BLAKE2B f28dfb10559bfd61be152a4b65a5653ec50b25718fcb63f8a2c9532fd9d52a51c131c99ba5408bd6aa424adc5ce6094da7eeb97dbacd7e60e8abb48c65c4f188 SHA512 08db392d2cce16651ba416fcd265e6606e1a8af3cb88721ed149a2286d11ac9ea6ed4d01572cea6950740890c3334e8e0d496d1d1e9edcc29d04833fec049ab0
 DIST spf-engine-3.0.4.tar.gz 61428 BLAKE2B b4c1e920cdb6706650341a21abe21a3318649a3bd379aea2d16c30bb9d27d95b83b980dfb0f62c234627f3c87b4d82f6074b88eb0f4ccb878618f61f9d8b9827 SHA512 29a6cd4d2c94ef1d47ff6d6d03bd485961f8c01e838800dd8c1194a51fdfbf384ffb5f073e1262993cd2bb5cbf2eff645048d6f1f3ce57bdebfefe3d0425ee77

diff --git a/mail-filter/spf-engine/spf-engine-3.0.3.ebuild b/mail-filter/spf-engine/spf-engine-3.0.3.ebuild
deleted file mode 100644
index 46d608b77a7e..000000000000
--- a/mail-filter/spf-engine/spf-engine-3.0.3.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_9 python3_10 python3_11 )
-
-# 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(+)"
-DISTUTILS_USE_PEP517=flit
-PYPI_NO_NORMALIZE=1
-inherit distutils-r1 pypi
-
-DESCRIPTION="Policy daemon for Postfix SPF verification"
-HOMEPAGE="https://launchpad.net/spf-engine"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-RDEPEND="dev-python/pyspf[${PYTHON_USEDEP}]
-	dev-python/authres[${PYTHON_USEDEP}]"
-
-DOCS=( CHANGES )
-
-python_prepare_all() {
-	distutils-r1_python_prepare_all
-
-	# The tarball has a "data" directory containing a hierarchy that
-	# flit wants to insert right into /usr. Before it does that, we have
-	# to remove the parts we don't want, and fix some of the paths.
-	#
-	# Note that one of our patches already mangles a few of these
-	# before we even see them.
-
-	einfo "removing milter files"
-	rm -v -r data/lib data/etc/init.d data/share/man/man8 || die
-	rm -v data/etc/pyspf-milter/pyspf-milter.conf || die
-	rm -v spf_engine/milter_spf.py || die
-
-	# And don't create a python-exec wrapper for it.
-	sed -e '/^pyspf-milter = /d' -i pyproject.toml || die
-
-	# The commented conf example is documentation, not configuration.
-	mv -v data/etc/python-policyd-spf/policyd-spf.conf.commented \
-	   data/share/doc/python-policyd-spf/ || die
-
-	# The man page hard-codes /usr/local/etc, it should be /etc.
-	sed -e 's:/usr/local/etc:/etc:g' \
-		-i data/share/man/man1/policyd-spf.1 || die
-
-	# Fix the documentation path.
-	mv -v data/share/doc/python-policyd-spf "data/share/doc/${PF}" || die
-
-	# The "real" config file mentions the commented one, so we point
-	# users in the right direction. Caveat: the documentation is
-	# compressed, so we're usually off by a ".bz2" suffix anyway.
-	local oldconf="policyd-spf.conf.commented"
-	local newconf="/usr/share/doc/${PF}/${oldconf}"
-	sed -e "1 s~ ${oldconf}~,\n#  ${newconf}~" \
-		-i "data/etc/python-policyd-spf/policyd-spf.conf" \
-		|| die 'failed to update commented config file path'
-}
-
-src_install() {
-	distutils-r1_src_install
-
-	# The "data" installation is relative to python's prefix, so
-	# data/etc gets installed to /usr/etc. Let's fix that.
-	mv -v "${ED}/usr/etc" "${ED}/" || die 'failed to relocate sysconfdir'
-}


^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2024-05-29 13:53 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-03  6:33 [gentoo-commits] repo/gentoo:master commit in: mail-filter/spf-engine/ Arthur Zamarin
  -- strict thread matches above, loose matches on Subject: below --
2024-05-29 13:53 Michael Orlitzky
2024-05-28 13:19 Sam James
2024-04-14 12:14 Michael Orlitzky
2023-05-04 14:03 Michael Orlitzky
2023-05-04 14:03 Michael Orlitzky
2023-05-03  3:53 Sam James
2023-03-26 22:59 Michael Orlitzky
2023-03-17 15:29 Michał Górny
2022-06-09 12:44 Michael Orlitzky
2022-06-09  7:39 Agostino Sarubbo
2022-06-09  7:34 Agostino Sarubbo
2022-05-13  9:16 Michael Orlitzky
2021-10-29 12:56 Michael Orlitzky
2021-08-31  9:05 Michał Górny
2021-05-30 11:51 Michael Orlitzky
2021-05-29 16:09 Sam James
2021-05-29 15:23 Sam James
2021-05-29  1:07 Michael Orlitzky
2020-05-26 13:40 Michael Orlitzky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox