mail-filter/postsrsd: bump to version 1.6 and EAPI=7
authorDirkjan Ochtman <djc@gentoo.org>
Mon, 23 Mar 2020 08:10:08 +0000 (09:10 +0100)
committerDirkjan Ochtman <djc@gentoo.org>
Sun, 29 Mar 2020 11:36:47 +0000 (13:36 +0200)
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Dirkjan Ochtman <djc@gentoo.org>
mail-filter/postsrsd/Manifest
mail-filter/postsrsd/postsrsd-1.6.ebuild [new file with mode: 0644]

index 34ee714cde298ec17aeed05c9771c12849cf46a2..ebe08e6a835117e61d9a513df86ff5fd893becc8 100644 (file)
@@ -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 (file)
index 0000000..ec90ac1
--- /dev/null
@@ -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}
+}