mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
mail-filter/postsrsd: add 1.12
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST postsrsd-1.11.tar.gz 36309 BLAKE2B 352894d82cf0bc16f711433b83282f31f94dc6358fcdda1362c00834bf41d70ea9f543c45428fca19d9798888a6a3b7c1676b8e3b35e4f21e8e27b707f986592 SHA512 cc041bbbd0277dd416a19e427d63eace3489dc518ebe3a61a022b3e2e159bcb09731a0eb5547eb85bd55887821726b66e828326c109c2ebe26b27dbd062a8d89
|
||||
DIST postsrsd-1.12.tar.gz 36860 BLAKE2B 9f760e010c791d993df83d1f55bd02f2f42fe336e4aef9aae87e62aab2ef86354d99ff1b9be2b2a24d33006fe0461887224dad11a03139e7ce24ab23a775d3ad SHA512 9b83d89f8ac26ba0477998c495b0566295e16ae62a661a9edaef430cbc2eea592fe178b3686d0ad0578a808d13c13d526ac44a2360fd6e715d701887086fa51a
|
||||
|
||||
40
mail-filter/postsrsd/postsrsd-1.12.ebuild
Normal file
40
mail-filter/postsrsd/postsrsd-1.12.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2022 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"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
BDEPEND="sys-apps/help2man"
|
||||
|
||||
CHROOT_DIR="${EPREFIX}/var/lib/postsrsd"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCHROOT_DIR="${CHROOT_DIR}"
|
||||
|
||||
# This doesn't affect functionality on OpenRC, it just
|
||||
# forces the build system to install the systemd units.
|
||||
-DINIT_FLAVOR="systemd"
|
||||
-DSYSD_UNIT_DIR="$(systemd_get_systemunitdir)"
|
||||
|
||||
-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}"
|
||||
}
|
||||
Reference in New Issue
Block a user