summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2020-03-23 09:10:08 +0100
committerDirkjan Ochtman <djc@gentoo.org>2020-03-29 13:36:47 +0200
commit5d885d35d0aa05452ae3118916ddc6341e334de0 (patch)
tree761df65b13be4229631f3cf63ad3de3940ad0a40 /mail-filter/postsrsd
parentx11-plugins/wmSMPmon: fix build with -fno-common (diff)
downloadgentoo-5d885d35d0aa05452ae3118916ddc6341e334de0.tar.gz
gentoo-5d885d35d0aa05452ae3118916ddc6341e334de0.tar.bz2
gentoo-5d885d35d0aa05452ae3118916ddc6341e334de0.zip
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@gentoo.org>
Diffstat (limited to 'mail-filter/postsrsd')
-rw-r--r--mail-filter/postsrsd/Manifest1
-rw-r--r--mail-filter/postsrsd/postsrsd-1.6.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/mail-filter/postsrsd/Manifest b/mail-filter/postsrsd/Manifest
index 34ee714cde29..ebe08e6a8351 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 000000000000..ec90ac1a91ad
--- /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}
+}