summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2021-06-07 17:14:27 +0200
committerDirkjan Ochtman <djc@gentoo.org>2021-06-07 17:14:27 +0200
commit1c2210c49a427dd15d93fd3635557ec9e1dbff1e (patch)
tree2b7916f694fdbfac2089da7d61fc5aef840e87f5 /mail-filter
parentdev-lua/lpeg: prefix LUADIR with EPREFIX (diff)
downloadgentoo-1c2210c49a427dd15d93fd3635557ec9e1dbff1e.tar.gz
gentoo-1c2210c49a427dd15d93fd3635557ec9e1dbff1e.tar.bz2
gentoo-1c2210c49a427dd15d93fd3635557ec9e1dbff1e.zip
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@gentoo.org>
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/postsrsd/Manifest1
-rw-r--r--mail-filter/postsrsd/postsrsd-1.11.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/mail-filter/postsrsd/Manifest b/mail-filter/postsrsd/Manifest
index 48f18bff6ea7..62d7a6b3b265 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 000000000000..3252770ad774
--- /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}
+}