From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C5789158095 for ; Mon, 15 Aug 2022 23:10:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA82DE0EE3; Mon, 15 Aug 2022 23:10:34 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B156FE0AFD for ; Mon, 15 Aug 2022 23:10:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 71AF43410B2 for ; Mon, 15 Aug 2022 23:10:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B79D34FA for ; Mon, 15 Aug 2022 23:10:31 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1660604445.aed1a61d6f82c8237eed41fb9825bbf9510c92d6.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/postsrsd/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-filter/postsrsd/Manifest mail-filter/postsrsd/postsrsd-1.12.ebuild X-VCS-Directories: mail-filter/postsrsd/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: aed1a61d6f82c8237eed41fb9825bbf9510c92d6 X-VCS-Branch: master Date: Mon, 15 Aug 2022 23:10:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6140b0cb-9668-4213-ba20-0769298ab9dd X-Archives-Hash: f10c3e90d2a0cad8f66888820cfa261f commit: aed1a61d6f82c8237eed41fb9825bbf9510c92d6 Author: Sam James gentoo org> AuthorDate: Mon Aug 15 23:00:45 2022 +0000 Commit: Sam James gentoo org> CommitDate: Mon Aug 15 23:00:45 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aed1a61d mail-filter/postsrsd: add 1.12 Signed-off-by: Sam James gentoo.org> mail-filter/postsrsd/Manifest | 1 + mail-filter/postsrsd/postsrsd-1.12.ebuild | 40 +++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/mail-filter/postsrsd/Manifest b/mail-filter/postsrsd/Manifest index d130791c8881..22ae61126d30 100644 --- a/mail-filter/postsrsd/Manifest +++ b/mail-filter/postsrsd/Manifest @@ -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 diff --git a/mail-filter/postsrsd/postsrsd-1.12.ebuild b/mail-filter/postsrsd/postsrsd-1.12.ebuild new file mode 100644 index 000000000000..f0e2b1145da9 --- /dev/null +++ b/mail-filter/postsrsd/postsrsd-1.12.ebuild @@ -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}" +}