summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2020-12-20 20:25:13 +0100
committerDirkjan Ochtman <djc@gentoo.org>2020-12-20 20:25:38 +0100
commita91026aa9742129fd7d2fddfa491a11fb6dad2fb (patch)
tree066a8cb93da1accb9ff16d4388c20c390c96cf1e /mail-filter/postsrsd
parentapp-admin/graylog: bump to 3.3.9 (diff)
downloadgentoo-a91026aa9742129fd7d2fddfa491a11fb6dad2fb.tar.gz
gentoo-a91026aa9742129fd7d2fddfa491a11fb6dad2fb.tar.bz2
gentoo-a91026aa9742129fd7d2fddfa491a11fb6dad2fb.zip
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@gentoo.org>
Diffstat (limited to 'mail-filter/postsrsd')
-rw-r--r--mail-filter/postsrsd/Manifest1
-rw-r--r--mail-filter/postsrsd/postsrsd-1.10.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/mail-filter/postsrsd/Manifest b/mail-filter/postsrsd/Manifest
index fd02a04e05a9..e393a3a0931f 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 000000000000..6e2930ed6f8d
--- /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}
+}