public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2020-03-29 11:37 Dirkjan Ochtman
  0 siblings, 0 replies; 29+ messages in thread
From: Dirkjan Ochtman @ 2020-03-29 11:37 UTC (permalink / raw
  To: gentoo-commits

commit:     5d885d35d0aa05452ae3118916ddc6341e334de0
Author:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 23 08:10:08 2020 +0000
Commit:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
CommitDate: Sun Mar 29 11:36:47 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d885d35

mail-filter/postsrsd: bump to version 1.6 and EAPI=7

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Dirkjan Ochtman <djc <AT> gentoo.org>

 mail-filter/postsrsd/Manifest            |  1 +
 mail-filter/postsrsd/postsrsd-1.6.ebuild | 35 ++++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/mail-filter/postsrsd/Manifest b/mail-filter/postsrsd/Manifest
index 34ee714cde2..ebe08e6a835 100644
--- a/mail-filter/postsrsd/Manifest
+++ b/mail-filter/postsrsd/Manifest
@@ -1 +1,2 @@
 DIST postsrsd-1.4.tar.gz 26555 BLAKE2B acdfb3c8a1ca5172ac7727913ad6c1f9cf0450996aaf3cbc4905b89e02de5917de2d6e7674819299bd456232547fdc0496be06c5cd0531fd703622edfaf9a9df SHA512 e5b9d2091d562030dd8d35117a3c5fb7d99c0613120fc90f74be57af5e88a3fe0ce73a5ce702708047ae37f70c6aedb4a0df018dccbe480048ccb6ed4debbcef
+DIST postsrsd-1.6.tar.gz 32111 BLAKE2B 5b4e562aa9c9b5faf0e45c035a71d76dc2b6e9b3d4399108f06e6d0ad3e4f7abfcb8c18c818f3b4787bab155bf7895caaf127a97b861b26525ad5a27f2ee4dc7 SHA512 b2df4cdec41361e15cd8c9207fb16564d607559bcb36dd73c9347b90e4f3c2414b88434ef1ffe6a18783f38c5960383516e40e4ffa28802a03539e52ca723aa1

diff --git a/mail-filter/postsrsd/postsrsd-1.6.ebuild b/mail-filter/postsrsd/postsrsd-1.6.ebuild
new file mode 100644
index 00000000000..ec90ac1a91a
--- /dev/null
+++ b/mail-filter/postsrsd/postsrsd-1.6.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils
+
+DESCRIPTION="Postfix Sender Rewriting Scheme daemon"
+SRC_URI="https://github.com/roehling/postsrsd/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://github.com/roehling/postsrsd"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-util/cmake-2.4"
+RDEPEND=""
+
+CHROOT_DIR="${EPREFIX}/var/lib/postsrsd"
+
+src_configure() {
+	local mycmakeargs=(
+		-DCHROOT_DIR=${CHROOT_DIR}
+		-DDOC_DIR="${EPREFIX}/usr/share/doc/${PF}"
+	)
+	cmake-utils_src_configure
+}
+
+src_install() {
+	cmake-utils_src_install
+	newinitd "${FILESDIR}/postsrsd.init-r1" postsrsd
+	newconfd "${BUILD_DIR}/postsrsd.default" postsrsd
+	keepdir ${CHROOT_DIR}
+}


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2025-09-25  6:49 Ulrich Müller
  0 siblings, 0 replies; 29+ messages in thread
From: Ulrich Müller @ 2025-09-25  6:49 UTC (permalink / raw
  To: gentoo-commits

commit:     4470481726aed4ad94f8a2c778e8e505f341c13f
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 25 06:43:33 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Sep 25 06:43:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44704817

mail-filter/postsrsd: drop 2.0.11-r1

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 mail-filter/postsrsd/postsrsd-2.0.11-r1.ebuild | 82 --------------------------
 1 file changed, 82 deletions(-)

diff --git a/mail-filter/postsrsd/postsrsd-2.0.11-r1.ebuild b/mail-filter/postsrsd/postsrsd-2.0.11-r1.ebuild
deleted file mode 100644
index e31c6b589e75..000000000000
--- a/mail-filter/postsrsd/postsrsd-2.0.11-r1.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake eapi9-ver readme.gentoo-r1 systemd
-
-DESCRIPTION="Postfix Sender Rewriting Scheme daemon"
-HOMEPAGE="https://github.com/roehling/postsrsd"
-SRC_URI="https://github.com/roehling/postsrsd/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-# See REUSE.toml; GPL-3 for the main software, BSD for src/sha*.
-LICENSE="GPL-3 BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="dev-libs/confuse:="
-DEPEND="
-	${RDEPEND}
-	test? ( dev-libs/check )
-"
-
-CHROOT_DIR="${EPREFIX}/var/lib/postsrsd"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-2.0.11-sysconfdir.patch
-)
-DOCS=( README.rst CHANGELOG.rst )
-
-src_configure() {
-	local mycmakeargs=(
-		-DBUILD_TESTING=$(usex test)
-
-		-DPOSTSRSD_CHROOTDIR="${CHROOT_DIR}"
-		-DSYSTEMD_UNITDIR="$(systemd_get_systemunitdir)"
-		-DSYSTEMD_SYSUSERSDIR="${EPREFIX}/usr/lib/sysusers.d"
-
-		-DINSTALL_SYSTEMD_SERVICE=ON
-		# https://github.com/roehling/postsrsd/blob/main/doc/packaging.rst#third-party-dependencies
-		-DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS
-		# We don't want to run tests with sanitizers. They're
-		# unreliable under sandbox and don't run on all platforms
-		-DTESTS_WITH_ASAN=OFF
-
-		-DWITH_MILTER=OFF
-		-DWITH_SQLITE=OFF
-		-DWITH_REDIS=OFF
-	)
-
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-
-	newinitd "${FILESDIR}"/postsrsd-2.0.11.initd postsrsd
-	newconfd "${FILESDIR}"/postsrsd-2.0.11.confd postsrsd
-	keepdir "${CHROOT_DIR}"
-
-	local DOC_CONTENTS="When updating from version 1.x:
-		\n\nNote that most configuration options can no longer be set from the
-		command line, therefore we cannot define them in OpenRC's conf.d file
-		either. You will have to set them in ${EPREFIX}/etc/postsrsd.conf
-		instead.
-		\n\nIn the config file, you must *at least* set the \"domains\"
-		variable, i.e. the local domain name. In most cases, using the output
-		of \"postconf -h mydomain\" should be okay.
-		\n\nAlso note that PostSRSd 2.x by default uses Unix domain sockets
-		instead	of TCP sockets, so you must update \"sender_canonical_maps\"
-		and \"recipient_canonical_maps\" in ${EPREFIX}/etc/postfix/main.cf.
-		(Alternatively, you can update \"socketmap\" in postsrsd.conf.)
-		\n\nSee README.rst and the comments in postsrsd.conf for more detailed
-		information."
-	readme.gentoo_create_doc
-}
-
-pkg_postinst() {
-	ver_replacing -lt 2.0.11-r1 && local FORCE_PRINT_ELOG=1
-	readme.gentoo_print_elog
-}


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2025-09-23 17:01 Arthur Zamarin
  0 siblings, 0 replies; 29+ messages in thread
From: Arthur Zamarin @ 2025-09-23 17:01 UTC (permalink / raw
  To: gentoo-commits

commit:     b73a61c18fade96880023e82b3ee427e6055f979
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 23 17:00:59 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 23 17:00:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b73a61c1

mail-filter/postsrsd: Stabilize 2.0.11-r5 x86, #963170

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

 mail-filter/postsrsd/postsrsd-2.0.11-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/postsrsd/postsrsd-2.0.11-r5.ebuild b/mail-filter/postsrsd/postsrsd-2.0.11-r5.ebuild
index fcb04868a114..823a73f08485 100644
--- a/mail-filter/postsrsd/postsrsd-2.0.11-r5.ebuild
+++ b/mail-filter/postsrsd/postsrsd-2.0.11-r5.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/roehling/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 # BSD for src/{sha1,srs2}.*, FSFAP for cmake/*
 LICENSE="GPL-3 BSD FSFAP"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="redis sqlite test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2025-09-23 14:15 Sam James
  0 siblings, 0 replies; 29+ messages in thread
From: Sam James @ 2025-09-23 14:15 UTC (permalink / raw
  To: gentoo-commits

commit:     02164c3b5fa4a0bddcfcae7630ea2c2d14934d74
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 23 14:13:54 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 23 14:13:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02164c3b

mail-filter/postsrsd: Stabilize 2.0.11-r5 amd64, #963170

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

 mail-filter/postsrsd/postsrsd-2.0.11-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/postsrsd/postsrsd-2.0.11-r5.ebuild b/mail-filter/postsrsd/postsrsd-2.0.11-r5.ebuild
index 389e00a56e4f..fcb04868a114 100644
--- a/mail-filter/postsrsd/postsrsd-2.0.11-r5.ebuild
+++ b/mail-filter/postsrsd/postsrsd-2.0.11-r5.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/roehling/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 # BSD for src/{sha1,srs2}.*, FSFAP for cmake/*
 LICENSE="GPL-3 BSD FSFAP"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="redis sqlite test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2025-09-20  8:00 Ulrich Müller
  0 siblings, 0 replies; 29+ messages in thread
From: Ulrich Müller @ 2025-09-20  8:00 UTC (permalink / raw
  To: gentoo-commits

commit:     4537eca98f9188e31cf7c0cca8c02cff99360d63
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 20 07:54:17 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Sep 20 07:55:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4537eca9

mail-filter/postsrsd: update LICENSE

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 mail-filter/postsrsd/postsrsd-1.12.ebuild      | 4 ++--
 mail-filter/postsrsd/postsrsd-2.0.11-r5.ebuild | 7 ++++---
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/mail-filter/postsrsd/postsrsd-1.12.ebuild b/mail-filter/postsrsd/postsrsd-1.12.ebuild
index 84b871c7be92..dbfadbbd705a 100644
--- a/mail-filter/postsrsd/postsrsd-1.12.ebuild
+++ b/mail-filter/postsrsd/postsrsd-1.12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -9,7 +9,7 @@ DESCRIPTION="Postfix Sender Rewriting Scheme daemon"
 HOMEPAGE="https://github.com/roehling/postsrsd"
 SRC_URI="https://github.com/roehling/postsrsd/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+ || ( GPL-2 BSD )"
 SLOT="0"
 KEYWORDS="amd64 x86"
 

diff --git a/mail-filter/postsrsd/postsrsd-2.0.11-r5.ebuild b/mail-filter/postsrsd/postsrsd-2.0.11-r5.ebuild
index 42112b4fc301..389e00a56e4f 100644
--- a/mail-filter/postsrsd/postsrsd-2.0.11-r5.ebuild
+++ b/mail-filter/postsrsd/postsrsd-2.0.11-r5.ebuild
@@ -7,10 +7,11 @@ inherit cmake eapi9-ver readme.gentoo-r1 systemd
 
 DESCRIPTION="Postfix Sender Rewriting Scheme daemon"
 HOMEPAGE="https://github.com/roehling/postsrsd"
-SRC_URI="https://github.com/roehling/postsrsd/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/roehling/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
-# See REUSE.toml; GPL-3 for the main software, BSD for src/sha*.
-LICENSE="GPL-3 BSD"
+# See REUSE.toml: GPL-3 (v3 only) for the main software,
+# BSD for src/{sha1,srs2}.*, FSFAP for cmake/*
+LICENSE="GPL-3 BSD FSFAP"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="redis sqlite test"


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2025-09-07 11:47 Ulrich Müller
  0 siblings, 0 replies; 29+ messages in thread
From: Ulrich Müller @ 2025-09-07 11:47 UTC (permalink / raw
  To: gentoo-commits

commit:     801b3beb991b256963bfb3cf51ed672bb0b2beea
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  7 11:45:55 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Sep  7 11:46:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=801b3beb

mail-filter/postsrsd: Update README.gentoo

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 ...tsrsd-2.0.11-r4.ebuild => postsrsd-2.0.11-r5.ebuild} | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild b/mail-filter/postsrsd/postsrsd-2.0.11-r5.ebuild
similarity index 85%
rename from mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild
rename to mail-filter/postsrsd/postsrsd-2.0.11-r5.ebuild
index 5cfe2fccd0bb..42112b4fc301 100644
--- a/mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild
+++ b/mail-filter/postsrsd/postsrsd-2.0.11-r5.ebuild
@@ -64,12 +64,13 @@ src_configure() {
 }
 
 src_install() {
+	diropts -o postsrsd -g root -m 0755
+	keepdir "${CHROOT_DIR}"
+
 	cmake_src_install
 
 	newinitd "${FILESDIR}"/postsrsd-2.0.11.initd postsrsd
 	newconfd "${FILESDIR}"/postsrsd-2.0.11.confd postsrsd
-	diropts -o postsrsd -g root -m 0755
-	keepdir "${CHROOT_DIR}"
 
 	local DOC_CONTENTS="When updating from version 1.x:
 		\n\nNote that most configuration options can no longer be set from the
@@ -80,9 +81,17 @@ src_install() {
 		variable, i.e. the local domain name. In most cases, using the output
 		of \"postconf -h mydomain\" should be okay.
 		\n\nAlso note that PostSRSd 2.x by default uses Unix domain sockets
-		instead	of TCP sockets, so you must update \"sender_canonical_maps\"
+		instead of TCP sockets, so you must update \"sender_canonical_maps\"
 		and \"recipient_canonical_maps\" in ${EPREFIX}/etc/postfix/main.cf.
 		(Alternatively, you can update \"socketmap\" in postsrsd.conf.)
+		\n\nSince postsrsd will create its socket with file mode 0666, it is
+		recommended to place it in a directory with restricted permissions,
+		for example:
+		\n\n\t# mkdir /var/spool/postfix/sock
+		\n\t# chown root:postfix /var/spool/postfix/sock
+		\n\t# chmod 0770 /var/spool/postfix/sock
+		\n\nand adjust \"{sender,recipient}_canonical_maps\" in main.cf
+		as well as \"socketmap\" in postsrsd.conf accordingly.
 		\n\nSee README.rst and the comments in postsrsd.conf for more detailed
 		information."
 	readme.gentoo_create_doc
@@ -102,6 +111,6 @@ pkg_postinst() {
 		eend $? "Installing ${f} failed"
 	fi
 
-	ver_replacing -lt 2.0.11-r1 && local FORCE_PRINT_ELOG=1
+	ver_replacing -lt 2.0.11-r5 && local FORCE_PRINT_ELOG=1
 	readme.gentoo_print_elog
 }


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2025-09-01 16:26 Ulrich Müller
  0 siblings, 0 replies; 29+ messages in thread
From: Ulrich Müller @ 2025-09-01 16:26 UTC (permalink / raw
  To: gentoo-commits

commit:     2d47f1bcb9ba85066d170d82e7753ef8368b3974
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  1 16:24:50 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Sep  1 16:24:50 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d47f1bc

mail-filter/postsrsd: Never ever access the network during build

Define FETCHCONTENT_FULLY_DISCONNECTED to disable the CMake misfeature
of downloading sources during build. Instead, the build should fail
when a dependency is missing.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild b/mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild
index ba1e13f7fa0f..5cfe2fccd0bb 100644
--- a/mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild
+++ b/mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild
@@ -43,6 +43,7 @@ src_configure() {
 		-DINSTALL_SYSTEMD_SERVICE=ON
 		# https://github.com/roehling/postsrsd/blob/main/doc/packaging.rst#third-party-dependencies
 		-DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS
+		-DFETCHCONTENT_FULLY_DISCONNECTED=ON
 		# We don't want to run tests with sanitizers. They're
 		# unreliable under sandbox and don't run on all platforms
 		-DTESTS_WITH_ASAN=OFF


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2025-08-31 16:24 Ulrich Müller
  0 siblings, 0 replies; 29+ messages in thread
From: Ulrich Müller @ 2025-08-31 16:24 UTC (permalink / raw
  To: gentoo-commits

commit:     6273bb84906a43836a25088d2ff1ba88d571e08f
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 31 16:23:06 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Aug 31 16:23:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6273bb84

mail-filter/postsrsd: Fix file creation in pkg_postinst

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild b/mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild
index c09adf4e5ef9..ba1e13f7fa0f 100644
--- a/mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild
+++ b/mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake eapi9-pipestatus eapi9-ver readme.gentoo-r1 systemd
+inherit cmake eapi9-ver readme.gentoo-r1 systemd
 
 DESCRIPTION="Postfix Sender Rewriting Scheme daemon"
 HOMEPAGE="https://github.com/roehling/postsrsd"
@@ -88,14 +88,15 @@ src_install() {
 }
 
 pkg_postinst() {
-	local f="${EROOT}/etc/postsrsd.secret" ret=0
+	local f="${EROOT}/etc/postsrsd.secret"
 
-	if [[ ! -e ${f} ]]; then
+	if [[ ! -s ${f} ]]; then
 		ebegin "Generate the SRS signing secret and install it in ${f}"
 		(
 			umask 077
-			dd if=/dev/urandom bs=18 count=1 status=none | base64 > "${f}"
-			pipestatus
+			set -o pipefail
+			rnd="$(dd if=/dev/urandom bs=18 count=1 status=none | base64)" \
+				&& printf "%s\n" "${rnd}" > "${f}"
 		)
 		eend $? "Installing ${f} failed"
 	fi


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2025-08-31 14:54 Sam James
  0 siblings, 0 replies; 29+ messages in thread
From: Sam James @ 2025-08-31 14:54 UTC (permalink / raw
  To: gentoo-commits

commit:     d204d52efc0b161e1dcaabee9195ecf0bbd7f38b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 31 14:54:25 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 31 14:54:25 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d204d52e

mail-filter/postsrsd: Stabilize 2.0.11-r1 amd64, #962188

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

 mail-filter/postsrsd/postsrsd-2.0.11-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/postsrsd/postsrsd-2.0.11-r1.ebuild b/mail-filter/postsrsd/postsrsd-2.0.11-r1.ebuild
index 24cfe2302880..e31c6b589e75 100644
--- a/mail-filter/postsrsd/postsrsd-2.0.11-r1.ebuild
+++ b/mail-filter/postsrsd/postsrsd-2.0.11-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/roehling/postsrsd/archive/${PV}.tar.gz -> ${P}.tar.g
 # See REUSE.toml; GPL-3 for the main software, BSD for src/sha*.
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2025-08-31 10:27 Ulrich Müller
  0 siblings, 0 replies; 29+ messages in thread
From: Ulrich Müller @ 2025-08-31 10:27 UTC (permalink / raw
  To: gentoo-commits

commit:     8db32ae09b7dd713c23ade7c136e1299a42de30b
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 31 10:26:56 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Aug 31 10:26:56 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8db32ae0

mail-filter/postsrsd: add myself as a maintainer

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 mail-filter/postsrsd/metadata.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/mail-filter/postsrsd/metadata.xml b/mail-filter/postsrsd/metadata.xml
index 03e3fb90d925..5119295de6b1 100644
--- a/mail-filter/postsrsd/metadata.xml
+++ b/mail-filter/postsrsd/metadata.xml
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <!-- maintainer-needed -->
+  <maintainer type="person">
+    <email>ulm@gentoo.org</email>
+  </maintainer>
   <use>
     <flag name="redis">
       Add support for <pkg>dev-libs/hiredis</pkg> database backend


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2025-08-31  9:54 Ulrich Müller
  0 siblings, 0 replies; 29+ messages in thread
From: Ulrich Müller @ 2025-08-31  9:54 UTC (permalink / raw
  To: gentoo-commits

commit:     6daddb998cc5585f04c98a0fc3d39f3dce1aadbc
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 31 09:18:49 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Aug 31 09:54:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6daddb99

mail-filter/postsrsd: drop 2.0.11-r3

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 mail-filter/postsrsd/postsrsd-2.0.11-r3.ebuild | 99 --------------------------
 1 file changed, 99 deletions(-)

diff --git a/mail-filter/postsrsd/postsrsd-2.0.11-r3.ebuild b/mail-filter/postsrsd/postsrsd-2.0.11-r3.ebuild
deleted file mode 100644
index 377b155e835d..000000000000
--- a/mail-filter/postsrsd/postsrsd-2.0.11-r3.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake eapi9-pipestatus eapi9-ver readme.gentoo-r1 systemd
-
-DESCRIPTION="Postfix Sender Rewriting Scheme daemon"
-HOMEPAGE="https://github.com/roehling/postsrsd"
-SRC_URI="https://github.com/roehling/postsrsd/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-# See REUSE.toml; GPL-3 for the main software, BSD for src/sha*.
-LICENSE="GPL-3 BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="dev-libs/confuse:="
-DEPEND="
-	${RDEPEND}
-	test? ( dev-libs/check )
-"
-
-CHROOT_DIR="${EPREFIX}/var/lib/postsrsd"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-2.0.11-sysconfdir.patch
-)
-DOCS=( README.rst CHANGELOG.rst )
-
-src_configure() {
-	local mycmakeargs=(
-		-DBUILD_TESTING=$(usex test)
-
-		-DPOSTSRSD_CHROOTDIR="${CHROOT_DIR}"
-		-DSYSTEMD_UNITDIR="$(systemd_get_systemunitdir)"
-		-DSYSTEMD_SYSUSERSDIR="${EPREFIX}/usr/lib/sysusers.d"
-
-		-DINSTALL_SYSTEMD_SERVICE=ON
-		# https://github.com/roehling/postsrsd/blob/main/doc/packaging.rst#third-party-dependencies
-		-DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS
-		# We don't want to run tests with sanitizers. They're
-		# unreliable under sandbox and don't run on all platforms
-		-DTESTS_WITH_ASAN=OFF
-
-		# Do not generate the signing secret in src_install, as it would
-		# a) embed it in binary packages and b) overwrite existing secrets
-		# on every reinstall. Generate the secret in pkg_postinst instead.
-		-DGENERATE_SRS_SECRET=OFF
-
-		-DWITH_MILTER=OFF
-		-DWITH_SQLITE=OFF
-		-DWITH_REDIS=OFF
-	)
-
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-
-	newinitd "${FILESDIR}"/postsrsd-2.0.11.initd postsrsd
-	newconfd "${FILESDIR}"/postsrsd-2.0.11.confd postsrsd
-	keepdir "${CHROOT_DIR}"
-
-	local DOC_CONTENTS="When updating from version 1.x:
-		\n\nNote that most configuration options can no longer be set from the
-		command line, therefore we cannot define them in OpenRC's conf.d file
-		either. You will have to set them in ${EPREFIX}/etc/postsrsd.conf
-		instead.
-		\n\nIn the config file, you must *at least* set the \"domains\"
-		variable, i.e. the local domain name. In most cases, using the output
-		of \"postconf -h mydomain\" should be okay.
-		\n\nAlso note that PostSRSd 2.x by default uses Unix domain sockets
-		instead	of TCP sockets, so you must update \"sender_canonical_maps\"
-		and \"recipient_canonical_maps\" in ${EPREFIX}/etc/postfix/main.cf.
-		(Alternatively, you can update \"socketmap\" in postsrsd.conf.)
-		\n\nSee README.rst and the comments in postsrsd.conf for more detailed
-		information."
-	readme.gentoo_create_doc
-}
-
-pkg_postinst() {
-	local f="${EROOT}/etc/postsrsd.secret" ret=0
-
-	if [[ ! -e ${f} ]]; then
-		ebegin "Generate the SRS signing secret and install it in ${f}"
-		(
-			umask 077
-			dd if=/dev/urandom bs=18 count=1 status=none | base64 > "${f}"
-			pipestatus
-		)
-		eend $? "Installing ${f} failed"
-	fi
-
-	ver_replacing -lt 2.0.11-r1 && local FORCE_PRINT_ELOG=1
-	readme.gentoo_print_elog
-}


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2025-08-31  9:54 Ulrich Müller
  0 siblings, 0 replies; 29+ messages in thread
From: Ulrich Müller @ 2025-08-31  9:54 UTC (permalink / raw
  To: gentoo-commits

commit:     ce287dbd842b65b2b8ed92e62e1f79a50e2a455e
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 31 09:17:16 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Aug 31 09:54:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce287dbd

mail-filter/postsrsd: Add support for Redis and SQLite

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 mail-filter/postsrsd/metadata.xml              |   8 ++
 mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild | 105 +++++++++++++++++++++++++
 2 files changed, 113 insertions(+)

diff --git a/mail-filter/postsrsd/metadata.xml b/mail-filter/postsrsd/metadata.xml
index 031be196863a..03e3fb90d925 100644
--- a/mail-filter/postsrsd/metadata.xml
+++ b/mail-filter/postsrsd/metadata.xml
@@ -2,6 +2,14 @@
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
   <!-- maintainer-needed -->
+  <use>
+    <flag name="redis">
+      Add support for <pkg>dev-libs/hiredis</pkg> database backend
+    </flag>
+    <flag name="sqlite">
+      Add support for <pkg>dev-db/sqlite</pkg> database backend
+    </flag>
+  </use>
   <upstream>
     <remote-id type="github">roehling/postsrsd</remote-id>
   </upstream>

diff --git a/mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild b/mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild
new file mode 100644
index 000000000000..c09adf4e5ef9
--- /dev/null
+++ b/mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake eapi9-pipestatus eapi9-ver readme.gentoo-r1 systemd
+
+DESCRIPTION="Postfix Sender Rewriting Scheme daemon"
+HOMEPAGE="https://github.com/roehling/postsrsd"
+SRC_URI="https://github.com/roehling/postsrsd/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+# See REUSE.toml; GPL-3 for the main software, BSD for src/sha*.
+LICENSE="GPL-3 BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="redis sqlite test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="acct-user/postsrsd
+	dev-libs/confuse:=
+	redis? ( dev-libs/hiredis:= )
+	sqlite? ( dev-db/sqlite:3 )"
+
+DEPEND="${RDEPEND}
+	test? ( dev-libs/check )"
+
+CHROOT_DIR="${EPREFIX}/var/lib/postsrsd"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-2.0.11-sysconfdir.patch
+)
+DOCS=( README.rst CHANGELOG.rst )
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_TESTING=$(usex test)
+
+		-DPOSTSRSD_USER=postsrsd
+		-DPOSTSRSD_CHROOTDIR="${CHROOT_DIR}"
+		-DSYSTEMD_UNITDIR="$(systemd_get_systemunitdir)"
+		-DSYSTEMD_SYSUSERSDIR="${EPREFIX}/usr/lib/sysusers.d"
+
+		-DINSTALL_SYSTEMD_SERVICE=ON
+		# https://github.com/roehling/postsrsd/blob/main/doc/packaging.rst#third-party-dependencies
+		-DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS
+		# We don't want to run tests with sanitizers. They're
+		# unreliable under sandbox and don't run on all platforms
+		-DTESTS_WITH_ASAN=OFF
+
+		# Do not generate the signing secret in src_install, as it would
+		# a) embed it in binary packages and b) overwrite existing secrets
+		# on every reinstall. Generate the secret in pkg_postinst instead.
+		-DGENERATE_SRS_SECRET=OFF
+
+		# "Note that the Milter code is less tested and should be
+		# considered experimental for now and not ready for production."
+		-DWITH_MILTER=OFF
+		-DWITH_REDIS=$(usex redis)
+		-DWITH_SQLITE=$(usex sqlite)
+	)
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	newinitd "${FILESDIR}"/postsrsd-2.0.11.initd postsrsd
+	newconfd "${FILESDIR}"/postsrsd-2.0.11.confd postsrsd
+	diropts -o postsrsd -g root -m 0755
+	keepdir "${CHROOT_DIR}"
+
+	local DOC_CONTENTS="When updating from version 1.x:
+		\n\nNote that most configuration options can no longer be set from the
+		command line, therefore we cannot define them in OpenRC's conf.d file
+		either. You will have to set them in ${EPREFIX}/etc/postsrsd.conf
+		instead.
+		\n\nIn the config file, you must *at least* set the \"domains\"
+		variable, i.e. the local domain name. In most cases, using the output
+		of \"postconf -h mydomain\" should be okay.
+		\n\nAlso note that PostSRSd 2.x by default uses Unix domain sockets
+		instead	of TCP sockets, so you must update \"sender_canonical_maps\"
+		and \"recipient_canonical_maps\" in ${EPREFIX}/etc/postfix/main.cf.
+		(Alternatively, you can update \"socketmap\" in postsrsd.conf.)
+		\n\nSee README.rst and the comments in postsrsd.conf for more detailed
+		information."
+	readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+	local f="${EROOT}/etc/postsrsd.secret" ret=0
+
+	if [[ ! -e ${f} ]]; then
+		ebegin "Generate the SRS signing secret and install it in ${f}"
+		(
+			umask 077
+			dd if=/dev/urandom bs=18 count=1 status=none | base64 > "${f}"
+			pipestatus
+		)
+		eend $? "Installing ${f} failed"
+	fi
+
+	ver_replacing -lt 2.0.11-r1 && local FORCE_PRINT_ELOG=1
+	readme.gentoo_print_elog
+}


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2025-08-30 21:41 Ulrich Müller
  0 siblings, 0 replies; 29+ messages in thread
From: Ulrich Müller @ 2025-08-30 21:41 UTC (permalink / raw
  To: gentoo-commits

commit:     a9d577722847f313acc1b896083746ebe3554883
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 30 21:39:56 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Aug 30 21:41:39 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9d57772

mail-filter/postsrsd: Fix typo

Fixes: c4220ea02a750f4da1165be1eb4ccae93e3cfca2
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 .../postsrsd/{postsrsd-2.0.11-r2.ebuild => postsrsd-2.0.11-r3.ebuild}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/postsrsd/postsrsd-2.0.11-r2.ebuild b/mail-filter/postsrsd/postsrsd-2.0.11-r3.ebuild
similarity index 99%
rename from mail-filter/postsrsd/postsrsd-2.0.11-r2.ebuild
rename to mail-filter/postsrsd/postsrsd-2.0.11-r3.ebuild
index b2da5d9f4635..377b155e835d 100644
--- a/mail-filter/postsrsd/postsrsd-2.0.11-r2.ebuild
+++ b/mail-filter/postsrsd/postsrsd-2.0.11-r3.ebuild
@@ -47,7 +47,7 @@ src_configure() {
 		# Do not generate the signing secret in src_install, as it would
 		# a) embed it in binary packages and b) overwrite existing secrets
 		# on every reinstall. Generate the secret in pkg_postinst instead.
-		-DGENERATE_SRS_SECRET=ON
+		-DGENERATE_SRS_SECRET=OFF
 
 		-DWITH_MILTER=OFF
 		-DWITH_SQLITE=OFF


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2025-08-30 20:30 Ulrich Müller
  0 siblings, 0 replies; 29+ messages in thread
From: Ulrich Müller @ 2025-08-30 20:30 UTC (permalink / raw
  To: gentoo-commits

commit:     c4220ea02a750f4da1165be1eb4ccae93e3cfca2
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 30 20:29:17 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Aug 30 20:29:17 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4220ea0

mail-filter/postsrsd: Generate the signing secret in pkg_postinst

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 mail-filter/postsrsd/postsrsd-2.0.11-r2.ebuild | 99 ++++++++++++++++++++++++++
 1 file changed, 99 insertions(+)

diff --git a/mail-filter/postsrsd/postsrsd-2.0.11-r2.ebuild b/mail-filter/postsrsd/postsrsd-2.0.11-r2.ebuild
new file mode 100644
index 000000000000..b2da5d9f4635
--- /dev/null
+++ b/mail-filter/postsrsd/postsrsd-2.0.11-r2.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake eapi9-pipestatus eapi9-ver readme.gentoo-r1 systemd
+
+DESCRIPTION="Postfix Sender Rewriting Scheme daemon"
+HOMEPAGE="https://github.com/roehling/postsrsd"
+SRC_URI="https://github.com/roehling/postsrsd/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+# See REUSE.toml; GPL-3 for the main software, BSD for src/sha*.
+LICENSE="GPL-3 BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-libs/confuse:="
+DEPEND="
+	${RDEPEND}
+	test? ( dev-libs/check )
+"
+
+CHROOT_DIR="${EPREFIX}/var/lib/postsrsd"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-2.0.11-sysconfdir.patch
+)
+DOCS=( README.rst CHANGELOG.rst )
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_TESTING=$(usex test)
+
+		-DPOSTSRSD_CHROOTDIR="${CHROOT_DIR}"
+		-DSYSTEMD_UNITDIR="$(systemd_get_systemunitdir)"
+		-DSYSTEMD_SYSUSERSDIR="${EPREFIX}/usr/lib/sysusers.d"
+
+		-DINSTALL_SYSTEMD_SERVICE=ON
+		# https://github.com/roehling/postsrsd/blob/main/doc/packaging.rst#third-party-dependencies
+		-DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS
+		# We don't want to run tests with sanitizers. They're
+		# unreliable under sandbox and don't run on all platforms
+		-DTESTS_WITH_ASAN=OFF
+
+		# Do not generate the signing secret in src_install, as it would
+		# a) embed it in binary packages and b) overwrite existing secrets
+		# on every reinstall. Generate the secret in pkg_postinst instead.
+		-DGENERATE_SRS_SECRET=ON
+
+		-DWITH_MILTER=OFF
+		-DWITH_SQLITE=OFF
+		-DWITH_REDIS=OFF
+	)
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	newinitd "${FILESDIR}"/postsrsd-2.0.11.initd postsrsd
+	newconfd "${FILESDIR}"/postsrsd-2.0.11.confd postsrsd
+	keepdir "${CHROOT_DIR}"
+
+	local DOC_CONTENTS="When updating from version 1.x:
+		\n\nNote that most configuration options can no longer be set from the
+		command line, therefore we cannot define them in OpenRC's conf.d file
+		either. You will have to set them in ${EPREFIX}/etc/postsrsd.conf
+		instead.
+		\n\nIn the config file, you must *at least* set the \"domains\"
+		variable, i.e. the local domain name. In most cases, using the output
+		of \"postconf -h mydomain\" should be okay.
+		\n\nAlso note that PostSRSd 2.x by default uses Unix domain sockets
+		instead	of TCP sockets, so you must update \"sender_canonical_maps\"
+		and \"recipient_canonical_maps\" in ${EPREFIX}/etc/postfix/main.cf.
+		(Alternatively, you can update \"socketmap\" in postsrsd.conf.)
+		\n\nSee README.rst and the comments in postsrsd.conf for more detailed
+		information."
+	readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+	local f="${EROOT}/etc/postsrsd.secret" ret=0
+
+	if [[ ! -e ${f} ]]; then
+		ebegin "Generate the SRS signing secret and install it in ${f}"
+		(
+			umask 077
+			dd if=/dev/urandom bs=18 count=1 status=none | base64 > "${f}"
+			pipestatus
+		)
+		eend $? "Installing ${f} failed"
+	fi
+
+	ver_replacing -lt 2.0.11-r1 && local FORCE_PRINT_ELOG=1
+	readme.gentoo_print_elog
+}


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2025-08-30 17:14 Arthur Zamarin
  0 siblings, 0 replies; 29+ messages in thread
From: Arthur Zamarin @ 2025-08-30 17:14 UTC (permalink / raw
  To: gentoo-commits

commit:     c961a2a048d222b7684dad00df0dd0a9ed4480b8
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 30 17:14:49 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 30 17:14:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c961a2a0

mail-filter/postsrsd: Stabilize 2.0.11-r1 x86, #962188

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

 mail-filter/postsrsd/postsrsd-2.0.11-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/postsrsd/postsrsd-2.0.11-r1.ebuild b/mail-filter/postsrsd/postsrsd-2.0.11-r1.ebuild
index 665bbb403e5f..24cfe2302880 100644
--- a/mail-filter/postsrsd/postsrsd-2.0.11-r1.ebuild
+++ b/mail-filter/postsrsd/postsrsd-2.0.11-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/roehling/postsrsd/archive/${PV}.tar.gz -> ${P}.tar.g
 # See REUSE.toml; GPL-3 for the main software, BSD for src/sha*.
 LICENSE="GPL-3 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2025-04-26  2:56 Sam James
  0 siblings, 0 replies; 29+ messages in thread
From: Sam James @ 2025-04-26  2:56 UTC (permalink / raw
  To: gentoo-commits

commit:     a519b8d13a814f2134c2cd202f0f3a9dac1935ac
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 26 02:55:00 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 26 02:55:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a519b8d1

mail-filter/postsrsd: give fallback location for sysusers.d

... otherwise the variable is blank w/o systemd installed.

Closes: https://bugs.gentoo.org/953772
Signed-off-by: Sam James <sam <AT> gentoo.org>

 mail-filter/postsrsd/postsrsd-2.0.11.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mail-filter/postsrsd/postsrsd-2.0.11.ebuild b/mail-filter/postsrsd/postsrsd-2.0.11.ebuild
index 7e751da2513a..27ca75b3b8f0 100644
--- a/mail-filter/postsrsd/postsrsd-2.0.11.ebuild
+++ b/mail-filter/postsrsd/postsrsd-2.0.11.ebuild
@@ -36,6 +36,7 @@ src_configure() {
 
 		-DPOSTSRSD_CHROOTDIR="${CHROOT_DIR}"
 		-DSYSTEMD_UNITDIR="$(systemd_get_systemunitdir)"
+		-DSYSTEMD_SYSUSERSDIR="${EPREFIX}/usr/lib/sysusers.d"
 
 		-DINSTALL_SYSTEMD_SERVICE=ON
 		# https://github.com/roehling/postsrsd/blob/main/doc/packaging.rst#third-party-dependencies


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2022-12-18 12:11 Sam James
  0 siblings, 0 replies; 29+ messages in thread
From: Sam James @ 2022-12-18 12:11 UTC (permalink / raw
  To: gentoo-commits

commit:     6d9bcea7d61ebf77e7393dfa2e7b74218a47f836
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 18 12:11:03 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 18 12:11:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d9bcea7

mail-filter/postsrsd: Stabilize 1.12 x86, #886727

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

 mail-filter/postsrsd/postsrsd-1.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/postsrsd/postsrsd-1.12.ebuild b/mail-filter/postsrsd/postsrsd-1.12.ebuild
index f0e2b1145da9..22f5160a7885 100644
--- a/mail-filter/postsrsd/postsrsd-1.12.ebuild
+++ b/mail-filter/postsrsd/postsrsd-1.12.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/roehling/postsrsd/archive/${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 
 BDEPEND="sys-apps/help2man"
 


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2022-08-15 23:10 Sam James
  0 siblings, 0 replies; 29+ messages in thread
From: Sam James @ 2022-08-15 23:10 UTC (permalink / raw
  To: gentoo-commits

commit:     aed1a61d6f82c8237eed41fb9825bbf9510c92d6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 15 23:00:45 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 15 23:00:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aed1a61d

mail-filter/postsrsd: add 1.12

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

 mail-filter/postsrsd/Manifest             |  1 +
 mail-filter/postsrsd/postsrsd-1.12.ebuild | 40 +++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/mail-filter/postsrsd/Manifest b/mail-filter/postsrsd/Manifest
index d130791c8881..22ae61126d30 100644
--- a/mail-filter/postsrsd/Manifest
+++ b/mail-filter/postsrsd/Manifest
@@ -1 +1,2 @@
 DIST postsrsd-1.11.tar.gz 36309 BLAKE2B 352894d82cf0bc16f711433b83282f31f94dc6358fcdda1362c00834bf41d70ea9f543c45428fca19d9798888a6a3b7c1676b8e3b35e4f21e8e27b707f986592 SHA512 cc041bbbd0277dd416a19e427d63eace3489dc518ebe3a61a022b3e2e159bcb09731a0eb5547eb85bd55887821726b66e828326c109c2ebe26b27dbd062a8d89
+DIST postsrsd-1.12.tar.gz 36860 BLAKE2B 9f760e010c791d993df83d1f55bd02f2f42fe336e4aef9aae87e62aab2ef86354d99ff1b9be2b2a24d33006fe0461887224dad11a03139e7ce24ab23a775d3ad SHA512 9b83d89f8ac26ba0477998c495b0566295e16ae62a661a9edaef430cbc2eea592fe178b3686d0ad0578a808d13c13d526ac44a2360fd6e715d701887086fa51a

diff --git a/mail-filter/postsrsd/postsrsd-1.12.ebuild b/mail-filter/postsrsd/postsrsd-1.12.ebuild
new file mode 100644
index 000000000000..f0e2b1145da9
--- /dev/null
+++ b/mail-filter/postsrsd/postsrsd-1.12.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake systemd
+
+DESCRIPTION="Postfix Sender Rewriting Scheme daemon"
+HOMEPAGE="https://github.com/roehling/postsrsd"
+SRC_URI="https://github.com/roehling/postsrsd/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="sys-apps/help2man"
+
+CHROOT_DIR="${EPREFIX}/var/lib/postsrsd"
+
+src_configure() {
+	local mycmakeargs=(
+		-DCHROOT_DIR="${CHROOT_DIR}"
+
+		# This doesn't affect functionality on OpenRC, it just
+		# forces the build system to install the systemd units.
+		-DINIT_FLAVOR="systemd"
+		-DSYSD_UNIT_DIR="$(systemd_get_systemunitdir)"
+
+		-DDOC_DIR="${EPREFIX}"/usr/share/doc/${PF}
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	newinitd "${FILESDIR}"/postsrsd.init-r2 postsrsd
+	newconfd "${BUILD_DIR}"/postsrsd.default postsrsd
+	keepdir "${CHROOT_DIR}"
+}


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2022-04-29  4:49 Sam James
  0 siblings, 0 replies; 29+ messages in thread
From: Sam James @ 2022-04-29  4:49 UTC (permalink / raw
  To: gentoo-commits

commit:     5c0b1014fc51363c98e25321ead42f18e57b565f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 29 04:49:44 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 29 04:49:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c0b1014

mail-filter/postsrsd: retire djc

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

 mail-filter/postsrsd/metadata.xml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/mail-filter/postsrsd/metadata.xml b/mail-filter/postsrsd/metadata.xml
index 417c6cb1d7c2..031be196863a 100644
--- a/mail-filter/postsrsd/metadata.xml
+++ b/mail-filter/postsrsd/metadata.xml
@@ -1,10 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <maintainer type="person">
-    <email>djc@gentoo.org</email>
-    <name>Dirkjan Ochtman</name>
-  </maintainer>
+  <!-- maintainer-needed -->
   <upstream>
     <remote-id type="github">roehling/postsrsd</remote-id>
   </upstream>


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2021-06-09  7:39 Dirkjan Ochtman
  0 siblings, 0 replies; 29+ messages in thread
From: Dirkjan Ochtman @ 2021-06-09  7:39 UTC (permalink / raw
  To: gentoo-commits

commit:     ace18e8c1379f3854c589153ba9029287c1bdbc7
Author:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  9 07:39:07 2021 +0000
Commit:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
CommitDate: Wed Jun  9 07:39:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ace18e8c

mail-filter/postsrsd: clean up vulnerable version

Bug: https://bugs.gentoo.org/show_bug.cgi?id=793674
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Dirkjan Ochtman <djc <AT> gentoo.org>

 mail-filter/postsrsd/Manifest             |  1 -
 mail-filter/postsrsd/postsrsd-1.10.ebuild | 35 -------------------------------
 2 files changed, 36 deletions(-)

diff --git a/mail-filter/postsrsd/Manifest b/mail-filter/postsrsd/Manifest
index 62d7a6b3b26..d130791c888 100644
--- a/mail-filter/postsrsd/Manifest
+++ b/mail-filter/postsrsd/Manifest
@@ -1,2 +1 @@
-DIST postsrsd-1.10.tar.gz 34844 BLAKE2B 4722e8f3ec1d5d7de0648d8afc03c38f485c92b092bd42bc02c82c4072b5eb053cbb907bd1198de1219acf465c850b4f08ee8bca629f85734ca2ff643d77c1e4 SHA512 79f824cbc56de2e79da2eb67b1888c1c171a10a7bae5f19384c22024ff7e65dd36a447e632ddaf77bea6bdfa4972c7a918a30cd3b06f7b7ae49ab7552c43be0e
 DIST postsrsd-1.11.tar.gz 36309 BLAKE2B 352894d82cf0bc16f711433b83282f31f94dc6358fcdda1362c00834bf41d70ea9f543c45428fca19d9798888a6a3b7c1676b8e3b35e4f21e8e27b707f986592 SHA512 cc041bbbd0277dd416a19e427d63eace3489dc518ebe3a61a022b3e2e159bcb09731a0eb5547eb85bd55887821726b66e828326c109c2ebe26b27dbd062a8d89

diff --git a/mail-filter/postsrsd/postsrsd-1.10.ebuild b/mail-filter/postsrsd/postsrsd-1.10.ebuild
deleted file mode 100644
index 9e1777c300c..00000000000
--- a/mail-filter/postsrsd/postsrsd-1.10.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="Postfix Sender Rewriting Scheme daemon"
-SRC_URI="https://github.com/roehling/postsrsd/archive/${PV}.tar.gz -> ${P}.tar.gz"
-HOMEPAGE="https://github.com/roehling/postsrsd"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-BDEPEND=">=dev-util/cmake-2.4"
-RDEPEND=""
-
-CHROOT_DIR="${EPREFIX}/var/lib/postsrsd"
-
-src_configure() {
-	local mycmakeargs=(
-		-DCHROOT_DIR=${CHROOT_DIR}
-		-DDOC_DIR="${EPREFIX}/usr/share/doc/${PF}"
-	)
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-	newinitd "${FILESDIR}/postsrsd.init-r1" postsrsd
-	newconfd "${BUILD_DIR}/postsrsd.default" postsrsd
-	keepdir ${CHROOT_DIR}
-}


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2021-06-07 23:10 Sam James
  0 siblings, 0 replies; 29+ messages in thread
From: Sam James @ 2021-06-07 23:10 UTC (permalink / raw
  To: gentoo-commits

commit:     e51d19435177d3cbac3eb98dc99ef809a9b602eb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  7 23:09:28 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun  7 23:09:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e51d1943

mail-filter/postsrsd: Stabilize 1.11 amd64, #793674

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

 mail-filter/postsrsd/postsrsd-1.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/postsrsd/postsrsd-1.11.ebuild b/mail-filter/postsrsd/postsrsd-1.11.ebuild
index 76f21da8a1c..b787d3ab26a 100644
--- a/mail-filter/postsrsd/postsrsd-1.11.ebuild
+++ b/mail-filter/postsrsd/postsrsd-1.11.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://github.com/roehling/postsrsd"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE=""
 
 BDEPEND=">=dev-util/cmake-2.4"


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2021-06-07 23:10 Sam James
  0 siblings, 0 replies; 29+ messages in thread
From: Sam James @ 2021-06-07 23:10 UTC (permalink / raw
  To: gentoo-commits

commit:     837df44bcf26f45712186dfa9c36aa97ea192483
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  7 23:08:50 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun  7 23:08:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=837df44b

mail-filter/postsrsd: Stabilize 1.11 x86, #793674

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

 mail-filter/postsrsd/postsrsd-1.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/postsrsd/postsrsd-1.11.ebuild b/mail-filter/postsrsd/postsrsd-1.11.ebuild
index 3252770ad77..76f21da8a1c 100644
--- a/mail-filter/postsrsd/postsrsd-1.11.ebuild
+++ b/mail-filter/postsrsd/postsrsd-1.11.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://github.com/roehling/postsrsd"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE=""
 
 BDEPEND=">=dev-util/cmake-2.4"


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2021-06-07 15:14 Dirkjan Ochtman
  0 siblings, 0 replies; 29+ messages in thread
From: Dirkjan Ochtman @ 2021-06-07 15:14 UTC (permalink / raw
  To: gentoo-commits

commit:     1c2210c49a427dd15d93fd3635557ec9e1dbff1e
Author:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  7 15:14:27 2021 +0000
Commit:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
CommitDate: Mon Jun  7 15:14:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c2210c4

mail-filter/postsrsd: version bump to 1.11 with security fix

Bug: https://bugs.gentoo.org/793674
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Dirkjan Ochtman <djc <AT> gentoo.org>

 mail-filter/postsrsd/Manifest             |  1 +
 mail-filter/postsrsd/postsrsd-1.11.ebuild | 35 +++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/mail-filter/postsrsd/Manifest b/mail-filter/postsrsd/Manifest
index 48f18bff6ea..62d7a6b3b26 100644
--- a/mail-filter/postsrsd/Manifest
+++ b/mail-filter/postsrsd/Manifest
@@ -1 +1,2 @@
 DIST postsrsd-1.10.tar.gz 34844 BLAKE2B 4722e8f3ec1d5d7de0648d8afc03c38f485c92b092bd42bc02c82c4072b5eb053cbb907bd1198de1219acf465c850b4f08ee8bca629f85734ca2ff643d77c1e4 SHA512 79f824cbc56de2e79da2eb67b1888c1c171a10a7bae5f19384c22024ff7e65dd36a447e632ddaf77bea6bdfa4972c7a918a30cd3b06f7b7ae49ab7552c43be0e
+DIST postsrsd-1.11.tar.gz 36309 BLAKE2B 352894d82cf0bc16f711433b83282f31f94dc6358fcdda1362c00834bf41d70ea9f543c45428fca19d9798888a6a3b7c1676b8e3b35e4f21e8e27b707f986592 SHA512 cc041bbbd0277dd416a19e427d63eace3489dc518ebe3a61a022b3e2e159bcb09731a0eb5547eb85bd55887821726b66e828326c109c2ebe26b27dbd062a8d89

diff --git a/mail-filter/postsrsd/postsrsd-1.11.ebuild b/mail-filter/postsrsd/postsrsd-1.11.ebuild
new file mode 100644
index 00000000000..3252770ad77
--- /dev/null
+++ b/mail-filter/postsrsd/postsrsd-1.11.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Postfix Sender Rewriting Scheme daemon"
+SRC_URI="https://github.com/roehling/postsrsd/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://github.com/roehling/postsrsd"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+BDEPEND=">=dev-util/cmake-2.4"
+RDEPEND=""
+
+CHROOT_DIR="${EPREFIX}/var/lib/postsrsd"
+
+src_configure() {
+	local mycmakeargs=(
+		-DCHROOT_DIR=${CHROOT_DIR}
+		-DDOC_DIR="${EPREFIX}/usr/share/doc/${PF}"
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	newinitd "${FILESDIR}/postsrsd.init-r1" postsrsd
+	newconfd "${BUILD_DIR}/postsrsd.default" postsrsd
+	keepdir ${CHROOT_DIR}
+}


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2020-12-22 20:26 Dirkjan Ochtman
  0 siblings, 0 replies; 29+ messages in thread
From: Dirkjan Ochtman @ 2020-12-22 20:26 UTC (permalink / raw
  To: gentoo-commits

commit:     09b8f71a2bea30bd2ef3dfef0777d7da50ea1bfa
Author:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 22 20:26:25 2020 +0000
Commit:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
CommitDate: Tue Dec 22 20:26:42 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09b8f71a

mail-filter/postsrsd: remove vulnerable version 1.6

Bug: https://bugs.gentoo.org/show_bug.cgi?id=760821
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Dirkjan Ochtman <djc <AT> gentoo.org>

 mail-filter/postsrsd/Manifest            |  1 -
 mail-filter/postsrsd/postsrsd-1.6.ebuild | 35 --------------------------------
 2 files changed, 36 deletions(-)

diff --git a/mail-filter/postsrsd/Manifest b/mail-filter/postsrsd/Manifest
index e393a3a0931..48f18bff6ea 100644
--- a/mail-filter/postsrsd/Manifest
+++ b/mail-filter/postsrsd/Manifest
@@ -1,2 +1 @@
 DIST postsrsd-1.10.tar.gz 34844 BLAKE2B 4722e8f3ec1d5d7de0648d8afc03c38f485c92b092bd42bc02c82c4072b5eb053cbb907bd1198de1219acf465c850b4f08ee8bca629f85734ca2ff643d77c1e4 SHA512 79f824cbc56de2e79da2eb67b1888c1c171a10a7bae5f19384c22024ff7e65dd36a447e632ddaf77bea6bdfa4972c7a918a30cd3b06f7b7ae49ab7552c43be0e
-DIST postsrsd-1.6.tar.gz 32111 BLAKE2B 5b4e562aa9c9b5faf0e45c035a71d76dc2b6e9b3d4399108f06e6d0ad3e4f7abfcb8c18c818f3b4787bab155bf7895caaf127a97b861b26525ad5a27f2ee4dc7 SHA512 b2df4cdec41361e15cd8c9207fb16564d607559bcb36dd73c9347b90e4f3c2414b88434ef1ffe6a18783f38c5960383516e40e4ffa28802a03539e52ca723aa1

diff --git a/mail-filter/postsrsd/postsrsd-1.6.ebuild b/mail-filter/postsrsd/postsrsd-1.6.ebuild
deleted file mode 100644
index 5b7fe63b27e..00000000000
--- a/mail-filter/postsrsd/postsrsd-1.6.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-utils
-
-DESCRIPTION="Postfix Sender Rewriting Scheme daemon"
-SRC_URI="https://github.com/roehling/postsrsd/archive/${PV}.tar.gz -> ${P}.tar.gz"
-HOMEPAGE="https://github.com/roehling/postsrsd"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND=">=dev-util/cmake-2.4"
-RDEPEND=""
-
-CHROOT_DIR="${EPREFIX}/var/lib/postsrsd"
-
-src_configure() {
-	local mycmakeargs=(
-		-DCHROOT_DIR=${CHROOT_DIR}
-		-DDOC_DIR="${EPREFIX}/usr/share/doc/${PF}"
-	)
-	cmake-utils_src_configure
-}
-
-src_install() {
-	cmake-utils_src_install
-	newinitd "${FILESDIR}/postsrsd.init-r1" postsrsd
-	newconfd "${BUILD_DIR}/postsrsd.default" postsrsd
-	keepdir ${CHROOT_DIR}
-}


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2020-12-21 18:26 Sam James
  0 siblings, 0 replies; 29+ messages in thread
From: Sam James @ 2020-12-21 18:26 UTC (permalink / raw
  To: gentoo-commits

commit:     592a1e256b41b86f2454608f7396272eb5ecd359
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 21 18:26:25 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 21 18:26:25 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=592a1e25

mail-filter/postsrsd: Stabilize 1.10 amd64, #760821

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

 mail-filter/postsrsd/postsrsd-1.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/postsrsd/postsrsd-1.10.ebuild b/mail-filter/postsrsd/postsrsd-1.10.ebuild
index 58991e5e7a9..9e1777c300c 100644
--- a/mail-filter/postsrsd/postsrsd-1.10.ebuild
+++ b/mail-filter/postsrsd/postsrsd-1.10.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://github.com/roehling/postsrsd"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE=""
 
 BDEPEND=">=dev-util/cmake-2.4"


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2020-12-21  0:31 Thomas Deutschmann
  0 siblings, 0 replies; 29+ messages in thread
From: Thomas Deutschmann @ 2020-12-21  0:31 UTC (permalink / raw
  To: gentoo-commits

commit:     8a17167f3fa913714f87d434e1f5ce675b0d09c7
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 21 00:31:27 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Dec 21 00:31:35 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a17167f

mail-filter/postsrsd: x86 stable (bug #760821)

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 mail-filter/postsrsd/postsrsd-1.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/postsrsd/postsrsd-1.10.ebuild b/mail-filter/postsrsd/postsrsd-1.10.ebuild
index 6e2930ed6f8..58991e5e7a9 100644
--- a/mail-filter/postsrsd/postsrsd-1.10.ebuild
+++ b/mail-filter/postsrsd/postsrsd-1.10.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://github.com/roehling/postsrsd"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE=""
 
 BDEPEND=">=dev-util/cmake-2.4"


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2020-12-20 19:25 Dirkjan Ochtman
  0 siblings, 0 replies; 29+ messages in thread
From: Dirkjan Ochtman @ 2020-12-20 19:25 UTC (permalink / raw
  To: gentoo-commits

commit:     a91026aa9742129fd7d2fddfa491a11fb6dad2fb
Author:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 20 19:25:13 2020 +0000
Commit:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
CommitDate: Sun Dec 20 19:25:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a91026aa

mail-filter/postsrsd: bump to 1.10 to fix CVE-2020-35573

Bug: https://bugs.gentoo.org/760821
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Dirkjan Ochtman <djc <AT> gentoo.org>

 mail-filter/postsrsd/Manifest             |  1 +
 mail-filter/postsrsd/postsrsd-1.10.ebuild | 35 +++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/mail-filter/postsrsd/Manifest b/mail-filter/postsrsd/Manifest
index fd02a04e05a..e393a3a0931 100644
--- a/mail-filter/postsrsd/Manifest
+++ b/mail-filter/postsrsd/Manifest
@@ -1 +1,2 @@
+DIST postsrsd-1.10.tar.gz 34844 BLAKE2B 4722e8f3ec1d5d7de0648d8afc03c38f485c92b092bd42bc02c82c4072b5eb053cbb907bd1198de1219acf465c850b4f08ee8bca629f85734ca2ff643d77c1e4 SHA512 79f824cbc56de2e79da2eb67b1888c1c171a10a7bae5f19384c22024ff7e65dd36a447e632ddaf77bea6bdfa4972c7a918a30cd3b06f7b7ae49ab7552c43be0e
 DIST postsrsd-1.6.tar.gz 32111 BLAKE2B 5b4e562aa9c9b5faf0e45c035a71d76dc2b6e9b3d4399108f06e6d0ad3e4f7abfcb8c18c818f3b4787bab155bf7895caaf127a97b861b26525ad5a27f2ee4dc7 SHA512 b2df4cdec41361e15cd8c9207fb16564d607559bcb36dd73c9347b90e4f3c2414b88434ef1ffe6a18783f38c5960383516e40e4ffa28802a03539e52ca723aa1

diff --git a/mail-filter/postsrsd/postsrsd-1.10.ebuild b/mail-filter/postsrsd/postsrsd-1.10.ebuild
new file mode 100644
index 00000000000..6e2930ed6f8
--- /dev/null
+++ b/mail-filter/postsrsd/postsrsd-1.10.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Postfix Sender Rewriting Scheme daemon"
+SRC_URI="https://github.com/roehling/postsrsd/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://github.com/roehling/postsrsd"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+BDEPEND=">=dev-util/cmake-2.4"
+RDEPEND=""
+
+CHROOT_DIR="${EPREFIX}/var/lib/postsrsd"
+
+src_configure() {
+	local mycmakeargs=(
+		-DCHROOT_DIR=${CHROOT_DIR}
+		-DDOC_DIR="${EPREFIX}/usr/share/doc/${PF}"
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	newinitd "${FILESDIR}/postsrsd.init-r1" postsrsd
+	newconfd "${BUILD_DIR}/postsrsd.default" postsrsd
+	keepdir ${CHROOT_DIR}
+}


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2020-09-24  1:06 Aaron Bauman
  0 siblings, 0 replies; 29+ messages in thread
From: Aaron Bauman @ 2020-09-24  1:06 UTC (permalink / raw
  To: gentoo-commits

commit:     31f3bb7955eb82a6345216dd8af3a3ff5a407147
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 24 00:55:14 2020 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Thu Sep 24 01:06:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31f3bb79

mail-filter/postsrsd: drop old

Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 mail-filter/postsrsd/Manifest               |  1 -
 mail-filter/postsrsd/postsrsd-1.4-r1.ebuild | 24 ------------------------
 mail-filter/postsrsd/postsrsd-1.4.ebuild    | 24 ------------------------
 3 files changed, 49 deletions(-)

diff --git a/mail-filter/postsrsd/Manifest b/mail-filter/postsrsd/Manifest
index ebe08e6a835..fd02a04e05a 100644
--- a/mail-filter/postsrsd/Manifest
+++ b/mail-filter/postsrsd/Manifest
@@ -1,2 +1 @@
-DIST postsrsd-1.4.tar.gz 26555 BLAKE2B acdfb3c8a1ca5172ac7727913ad6c1f9cf0450996aaf3cbc4905b89e02de5917de2d6e7674819299bd456232547fdc0496be06c5cd0531fd703622edfaf9a9df SHA512 e5b9d2091d562030dd8d35117a3c5fb7d99c0613120fc90f74be57af5e88a3fe0ce73a5ce702708047ae37f70c6aedb4a0df018dccbe480048ccb6ed4debbcef
 DIST postsrsd-1.6.tar.gz 32111 BLAKE2B 5b4e562aa9c9b5faf0e45c035a71d76dc2b6e9b3d4399108f06e6d0ad3e4f7abfcb8c18c818f3b4787bab155bf7895caaf127a97b861b26525ad5a27f2ee4dc7 SHA512 b2df4cdec41361e15cd8c9207fb16564d607559bcb36dd73c9347b90e4f3c2414b88434ef1ffe6a18783f38c5960383516e40e4ffa28802a03539e52ca723aa1

diff --git a/mail-filter/postsrsd/postsrsd-1.4-r1.ebuild b/mail-filter/postsrsd/postsrsd-1.4-r1.ebuild
deleted file mode 100644
index 4c6c522fe9b..00000000000
--- a/mail-filter/postsrsd/postsrsd-1.4-r1.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit cmake-utils user
-
-DESCRIPTION="Postfix Sender Rewriting Scheme daemon"
-SRC_URI="https://github.com/roehling/postsrsd/archive/${PV}.tar.gz -> ${P}.tar.gz"
-HOMEPAGE="https://github.com/roehling/postsrsd"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-src_install() {
-	cmake-utils_src_install
-	newinitd "${FILESDIR}/postsrsd.init-r1" postsrsd
-	newconfd "${BUILD_DIR}/postsrsd.default" postsrsd
-}

diff --git a/mail-filter/postsrsd/postsrsd-1.4.ebuild b/mail-filter/postsrsd/postsrsd-1.4.ebuild
deleted file mode 100644
index 7bfc490021f..00000000000
--- a/mail-filter/postsrsd/postsrsd-1.4.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit cmake-utils user
-
-DESCRIPTION="Postfix Sender Rewriting Scheme daemon"
-SRC_URI="https://github.com/roehling/postsrsd/archive/${PV}.tar.gz -> ${P}.tar.gz"
-HOMEPAGE="https://github.com/roehling/postsrsd"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-src_install() {
-	cmake-utils_src_install
-	newinitd "${FILESDIR}/postsrsd.init" postsrsd
-	newconfd "${BUILD_DIR}/postsrsd.default" postsrsd
-}


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/
@ 2016-11-20  8:43 Dirkjan Ochtman
  0 siblings, 0 replies; 29+ messages in thread
From: Dirkjan Ochtman @ 2016-11-20  8:43 UTC (permalink / raw
  To: gentoo-commits

commit:     d4752139a1c022ba09dbd4faeaa42a9dbe14ae2f
Author:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 20 08:43:11 2016 +0000
Commit:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
CommitDate: Sun Nov 20 08:43:11 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4752139

mail-filters/postsrsd: fix incorrect path to new init file

Package-Manager: portage-2.3.0

 mail-filter/postsrsd/postsrsd-1.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/postsrsd/postsrsd-1.4-r1.ebuild b/mail-filter/postsrsd/postsrsd-1.4-r1.ebuild
index 763685e..b39b9d2 100644
--- a/mail-filter/postsrsd/postsrsd-1.4-r1.ebuild
+++ b/mail-filter/postsrsd/postsrsd-1.4-r1.ebuild
@@ -20,6 +20,6 @@ RDEPEND=""
 
 src_install() {
 	cmake-utils_src_install
-	newinitd "${FILESDIR}/postsrsd-r1.init" postsrsd
+	newinitd "${FILESDIR}/postsrsd.init-r1" postsrsd
 	newconfd "${BUILD_DIR}/postsrsd.default" postsrsd
 }


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

end of thread, other threads:[~2025-09-25  6:49 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-29 11:37 [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/ Dirkjan Ochtman
  -- strict thread matches above, loose matches on Subject: below --
2025-09-25  6:49 Ulrich Müller
2025-09-23 17:01 Arthur Zamarin
2025-09-23 14:15 Sam James
2025-09-20  8:00 Ulrich Müller
2025-09-07 11:47 Ulrich Müller
2025-09-01 16:26 Ulrich Müller
2025-08-31 16:24 Ulrich Müller
2025-08-31 14:54 Sam James
2025-08-31 10:27 Ulrich Müller
2025-08-31  9:54 Ulrich Müller
2025-08-31  9:54 Ulrich Müller
2025-08-30 21:41 Ulrich Müller
2025-08-30 20:30 Ulrich Müller
2025-08-30 17:14 Arthur Zamarin
2025-04-26  2:56 Sam James
2022-12-18 12:11 Sam James
2022-08-15 23:10 Sam James
2022-04-29  4:49 Sam James
2021-06-09  7:39 Dirkjan Ochtman
2021-06-07 23:10 Sam James
2021-06-07 23:10 Sam James
2021-06-07 15:14 Dirkjan Ochtman
2020-12-22 20:26 Dirkjan Ochtman
2020-12-21 18:26 Sam James
2020-12-21  0:31 Thomas Deutschmann
2020-12-20 19:25 Dirkjan Ochtman
2020-09-24  1:06 Aaron Bauman
2016-11-20  8:43 Dirkjan Ochtman

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