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

commit:     5ed1b43da87f58c3c69319d81a81ff71438725ce
Author:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 19 20:50:20 2016 +0000
Commit:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
CommitDate: Sat Nov 19 20:56:43 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ed1b43d

mail-filter/postsrsd: stop ignoring config file options (fixes bug 600152)

Package-Manager: portage-2.3.0

 mail-filter/postsrsd/files/postsrsd.init-r1 | 30 +++++++++++++++++++++++++++++
 mail-filter/postsrsd/postsrsd-1.4-r1.ebuild | 25 ++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/mail-filter/postsrsd/files/postsrsd.init-r1 b/mail-filter/postsrsd/files/postsrsd.init-r1
new file mode 100644
index 00000000..023a968
--- /dev/null
+++ b/mail-filter/postsrsd/files/postsrsd.init-r1
@@ -0,0 +1,30 @@
+#!/sbin/openrc-run
+# Copyright 2015-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+PIDFILE=/var/run/$SVCNAME.pid
+SRS_DOMAIN="${SRS_DOMAIN:-`postconf -h mydomain || true`}"
+SRS_EXCLUDE_DOMAINS="${SRS_EXCLUDE_DOMAINS:-''}"
+
+depend() {
+	need net
+}
+
+start() {
+	ebegin "Starting ${SVCNAME}"
+	start-stop-daemon --start --quiet --pidfile $PIDFILE \
+						--name $SVCNAME \
+						--exec /usr/sbin/postsrsd \
+						-- -f "$SRS_FORWARD_PORT" -r "$SRS_REVERSE_PORT" \
+							-d "$SRS_DOMAIN" -s "$SRS_SECRET" -a "$SRS_SEPARATOR" \
+							-u "$RUN_AS" -p "$PIDFILE" -c "$CHROOT" \
+							-D -X"$SRS_EXCLUDE_DOMAINS"
+	eend $?
+}
+
+stop() {
+	ebegin "Stopping ${SVCNAME}"
+	start-stop-daemon --stop --quiet --pidfile $PIDFILE \
+						--name $SVCNAME
+	eend $?
+}

diff --git a/mail-filter/postsrsd/postsrsd-1.4-r1.ebuild b/mail-filter/postsrsd/postsrsd-1.4-r1.ebuild
new file mode 100644
index 00000000..763685e
--- /dev/null
+++ b/mail-filter/postsrsd/postsrsd-1.4-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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-r1.init" postsrsd
+	newconfd "${BUILD_DIR}/postsrsd.default" postsrsd
+}


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

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/, mail-filter/postsrsd/files/
@ 2022-04-07 14:13 Dirkjan Ochtman
  0 siblings, 0 replies; 5+ messages in thread
From: Dirkjan Ochtman @ 2022-04-07 14:13 UTC (permalink / raw
  To: gentoo-commits

commit:     69853414eda033b50db1931eede45b520ab1de0d
Author:     nic <nic <AT> boet <DOT> cc>
AuthorDate: Wed Mar 30 15:55:50 2022 +0000
Commit:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
CommitDate: Thu Apr  7 14:12:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69853414

mail-filter/postsrsd fixes initd

pass SRS_HASHLENGTH, SRS_HASHMIN, SRS_LISTEN_ADDR vars from confd into
initd
remove old unused init
EAPI 8 the new ebuild

Closes: https://bugs.gentoo.org/836390
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Nic Boet <nic <AT> boet.cc>
Signed-off-by: Dirkjan Ochtman <djc <AT> gentoo.org>

 .../files/{postsrsd.init => postsrsd.init-r2}      |  7 +++--
 mail-filter/postsrsd/postsrsd-1.11-r1.ebuild       | 35 ++++++++++++++++++++++
 2 files changed, 39 insertions(+), 3 deletions(-)

diff --git a/mail-filter/postsrsd/files/postsrsd.init b/mail-filter/postsrsd/files/postsrsd.init-r2
similarity index 74%
rename from mail-filter/postsrsd/files/postsrsd.init
rename to mail-filter/postsrsd/files/postsrsd.init-r2
index acc00232be5b..e1b21218899e 100644
--- a/mail-filter/postsrsd/files/postsrsd.init
+++ b/mail-filter/postsrsd/files/postsrsd.init-r2
@@ -1,10 +1,10 @@
 #!/sbin/openrc-run
-# Copyright 2015 Gentoo Foundation
+# Copyright 2015-2022 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 PIDFILE=/var/run/$SVCNAME.pid
-SRS_DOMAIN=`postconf -h mydomain || true`
-SRS_EXCLUDE_DOMAINS=
+SRS_DOMAIN="${SRS_DOMAIN:-`postconf -h mydomain || true`}"
+SRS_EXCLUDE_DOMAINS="${SRS_EXCLUDE_DOMAINS:-''}"
 
 depend() {
 	need net
@@ -18,6 +18,7 @@ start() {
 						-- -f "$SRS_FORWARD_PORT" -r "$SRS_REVERSE_PORT" \
 							-d "$SRS_DOMAIN" -s "$SRS_SECRET" -a "$SRS_SEPARATOR" \
 							-u "$RUN_AS" -p "$PIDFILE" -c "$CHROOT" \
+							-n "$SRS_HASHLENGTH" -N "$SRS_HASHMIN" -l "$SRS_LISTEN_ADDR" \
 							-D -X"$SRS_EXCLUDE_DOMAINS"
 	eend $?
 }

diff --git a/mail-filter/postsrsd/postsrsd-1.11-r1.ebuild b/mail-filter/postsrsd/postsrsd-1.11-r1.ebuild
new file mode 100644
index 000000000000..25a52f452d8a
--- /dev/null
+++ b/mail-filter/postsrsd/postsrsd-1.11-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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-r2" postsrsd
+	newconfd "${BUILD_DIR}/postsrsd.default" postsrsd
+	keepdir ${CHROOT_DIR}
+}


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

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/, mail-filter/postsrsd/files/
@ 2022-12-20 22:51 Andreas Sturmlechner
  0 siblings, 0 replies; 5+ messages in thread
From: Andreas Sturmlechner @ 2022-12-20 22:51 UTC (permalink / raw
  To: gentoo-commits

commit:     8b4a728c07bbdd3827d98a836690aa3f86215090
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 20 21:11:44 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Dec 20 22:30:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b4a728c

mail-filter/postsrsd: drop 1.11, 1.11-r1

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 mail-filter/postsrsd/Manifest                |  1 -
 mail-filter/postsrsd/files/postsrsd.init-r1  | 30 ------------------------
 mail-filter/postsrsd/postsrsd-1.11-r1.ebuild | 35 ----------------------------
 mail-filter/postsrsd/postsrsd-1.11.ebuild    | 35 ----------------------------
 4 files changed, 101 deletions(-)

diff --git a/mail-filter/postsrsd/Manifest b/mail-filter/postsrsd/Manifest
index 22ae61126d30..80dd3901dc52 100644
--- a/mail-filter/postsrsd/Manifest
+++ b/mail-filter/postsrsd/Manifest
@@ -1,2 +1 @@
-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/files/postsrsd.init-r1 b/mail-filter/postsrsd/files/postsrsd.init-r1
deleted file mode 100644
index 023a96897085..000000000000
--- a/mail-filter/postsrsd/files/postsrsd.init-r1
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2015-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-PIDFILE=/var/run/$SVCNAME.pid
-SRS_DOMAIN="${SRS_DOMAIN:-`postconf -h mydomain || true`}"
-SRS_EXCLUDE_DOMAINS="${SRS_EXCLUDE_DOMAINS:-''}"
-
-depend() {
-	need net
-}
-
-start() {
-	ebegin "Starting ${SVCNAME}"
-	start-stop-daemon --start --quiet --pidfile $PIDFILE \
-						--name $SVCNAME \
-						--exec /usr/sbin/postsrsd \
-						-- -f "$SRS_FORWARD_PORT" -r "$SRS_REVERSE_PORT" \
-							-d "$SRS_DOMAIN" -s "$SRS_SECRET" -a "$SRS_SEPARATOR" \
-							-u "$RUN_AS" -p "$PIDFILE" -c "$CHROOT" \
-							-D -X"$SRS_EXCLUDE_DOMAINS"
-	eend $?
-}
-
-stop() {
-	ebegin "Stopping ${SVCNAME}"
-	start-stop-daemon --stop --quiet --pidfile $PIDFILE \
-						--name $SVCNAME
-	eend $?
-}

diff --git a/mail-filter/postsrsd/postsrsd-1.11-r1.ebuild b/mail-filter/postsrsd/postsrsd-1.11-r1.ebuild
deleted file mode 100644
index 25a52f452d8a..000000000000
--- a/mail-filter/postsrsd/postsrsd-1.11-r1.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-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-r2" postsrsd
-	newconfd "${BUILD_DIR}/postsrsd.default" postsrsd
-	keepdir ${CHROOT_DIR}
-}

diff --git a/mail-filter/postsrsd/postsrsd-1.11.ebuild b/mail-filter/postsrsd/postsrsd-1.11.ebuild
deleted file mode 100644
index b787d3ab26a2..000000000000
--- a/mail-filter/postsrsd/postsrsd-1.11.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# 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] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/, mail-filter/postsrsd/files/
@ 2025-06-26 11:55 Ulrich Müller
  0 siblings, 0 replies; 5+ messages in thread
From: Ulrich Müller @ 2025-06-26 11:55 UTC (permalink / raw
  To: gentoo-commits

commit:     227444f15e293af9cf85c31c89169aff33c58551
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 26 11:35:02 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Jun 26 11:51:40 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=227444f1

mail-filter/postsrsd: New OpenRC init file for version 2.x

Many changes in version 2.x. Most configuration options no longer work
from the command line but must be set in postsrsd.conf. Therefore, the
init.d file must be rewritten from scratch.

Install the example config file to /etc where users expect it to be.

Install CHANGELOG.rst. Add README.gentoo.

Closes: https://bugs.gentoo.org/959104
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 mail-filter/postsrsd/files/postsrsd-2.0.11.confd |  6 ++
 mail-filter/postsrsd/files/postsrsd-2.0.11.initd | 14 ++++
 mail-filter/postsrsd/postsrsd-2.0.11-r1.ebuild   | 85 ++++++++++++++++++++++++
 3 files changed, 105 insertions(+)

diff --git a/mail-filter/postsrsd/files/postsrsd-2.0.11.confd b/mail-filter/postsrsd/files/postsrsd-2.0.11.confd
new file mode 100644
index 000000000000..99bebd427a14
--- /dev/null
+++ b/mail-filter/postsrsd/files/postsrsd-2.0.11.confd
@@ -0,0 +1,6 @@
+# Default settings for PostSRSd
+
+# From the postsrsd-2.0.11 README file:
+# "Most configuration options can no longer be configured with command
+# line arguments, so you will have to set them in /etc/postsrsd.conf."
+#POSTSRSD_OPTS=""

diff --git a/mail-filter/postsrsd/files/postsrsd-2.0.11.initd b/mail-filter/postsrsd/files/postsrsd-2.0.11.initd
new file mode 100644
index 000000000000..d394202e3bf1
--- /dev/null
+++ b/mail-filter/postsrsd/files/postsrsd-2.0.11.initd
@@ -0,0 +1,14 @@
+#!/sbin/openrc-run
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the modified BSD license
+
+description="Sender Rewriting Scheme daemon for Postfix"
+
+supervisor=supervise-daemon
+command=/usr/sbin/postsrsd
+command_args=${POSTSRSD_OPTS}
+
+depend() {
+    need net
+    before postfix
+}

diff --git a/mail-filter/postsrsd/postsrsd-2.0.11-r1.ebuild b/mail-filter/postsrsd/postsrsd-2.0.11-r1.ebuild
new file mode 100644
index 000000000000..bb695c72f474
--- /dev/null
+++ b/mail-filter/postsrsd/postsrsd-2.0.11-r1.ebuild
@@ -0,0 +1,85 @@
+# 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-docdir.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}"
+
+	# Move the example config file to /etc
+	mv "${ED}/usr/share/doc/${PF}/${PN}.conf" "${ED}/etc/" || die
+
+	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] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/, mail-filter/postsrsd/files/
@ 2025-06-27  8:43 Ulrich Müller
  0 siblings, 0 replies; 5+ messages in thread
From: Ulrich Müller @ 2025-06-27  8:43 UTC (permalink / raw
  To: gentoo-commits

commit:     55aa0b5270e821b39da59f950d0f2a631df7b55e
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 27 08:40:00 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Jun 27 08:40:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55aa0b52

mail-filter/postsrsd: drop 2.0.11

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

 .../postsrsd/files/postsrsd-2.0.11-docdir.patch    | 13 -----
 mail-filter/postsrsd/postsrsd-2.0.11.ebuild        | 62 ----------------------
 2 files changed, 75 deletions(-)

diff --git a/mail-filter/postsrsd/files/postsrsd-2.0.11-docdir.patch b/mail-filter/postsrsd/files/postsrsd-2.0.11-docdir.patch
deleted file mode 100644
index 4640cdd1dfbe..000000000000
--- a/mail-filter/postsrsd/files/postsrsd-2.0.11-docdir.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 218ae66..c319dce 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -362,7 +362,7 @@ configure_file(
- 
- install(TARGETS postsrsd RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR})
- install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.conf"
--        DESTINATION "${CMAKE_INSTALL_DATADIR}/doc/${PROJECT_NAME}"
-+        DESTINATION "${CMAKE_INSTALL_DOCDIR}"
- )
- if(INSTALL_SYSTEMD_SERVICE)
-     install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.service"

diff --git a/mail-filter/postsrsd/postsrsd-2.0.11.ebuild b/mail-filter/postsrsd/postsrsd-2.0.11.ebuild
deleted file mode 100644
index 0dbb5ecfd0d9..000000000000
--- a/mail-filter/postsrsd/postsrsd-2.0.11.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2025 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"
-
-# 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-docdir.patch
-)
-
-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.init-r2 postsrsd
-	newconfd "${FILESDIR}"/postsrsd.confd postsrsd
-	keepdir "${CHROOT_DIR}"
-}


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

end of thread, other threads:[~2025-06-27  8:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-19 20:56 [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/, mail-filter/postsrsd/files/ Dirkjan Ochtman
  -- strict thread matches above, loose matches on Subject: below --
2022-04-07 14:13 Dirkjan Ochtman
2022-12-20 22:51 Andreas Sturmlechner
2025-06-26 11:55 Ulrich Müller
2025-06-27  8:43 Ulrich Müller

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