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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D7A1813835A for ; Sat, 17 Apr 2021 19:20:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 00375E07DB; Sat, 17 Apr 2021 19:20:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DC94FE07DB for ; Sat, 17 Apr 2021 19:20:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C81003409EB for ; Sat, 17 Apr 2021 19:20:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 26E8F4A8 for ; Sat, 17 Apr 2021 19:20:28 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1618687163.9541c7d8ceaa1a3d58f756ab6d3479cef427c3d7.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/policyd-weight/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-filter/policyd-weight/policyd-weight-0.1.15.2-r3.ebuild X-VCS-Directories: mail-filter/policyd-weight/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 9541c7d8ceaa1a3d58f756ab6d3479cef427c3d7 X-VCS-Branch: master Date: Sat, 17 Apr 2021 19:20:28 +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: 46e32450-2507-4900-9702-07555930b7d8 X-Archives-Hash: a2dae087a8672f7e23e3b6f808fd84a5 commit: 9541c7d8ceaa1a3d58f756ab6d3479cef427c3d7 Author: Conrad Kostecki gentoo org> AuthorDate: Sat Apr 17 17:26:19 2021 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Apr 17 19:19:23 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9541c7d8 mail-filter/policyd-weight: migrate to glep 81 Closes: https://bugs.gentoo.org/781314 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Conrad Kostecki gentoo.org> .../policyd-weight-0.1.15.2-r3.ebuild | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/mail-filter/policyd-weight/policyd-weight-0.1.15.2-r3.ebuild b/mail-filter/policyd-weight/policyd-weight-0.1.15.2-r3.ebuild new file mode 100644 index 00000000000..ad62cc4de1a --- /dev/null +++ b/mail-filter/policyd-weight/policyd-weight-0.1.15.2-r3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit tmpfiles + +PATCH_VER="1.0" + +DESCRIPTION="Weighted Policy daemon for Postfix" +HOMEPAGE="http://www.policyd-weight.org/" +SRC_URI=" + http://www.policyd-weight.org/releases/${P}.tar.gz + mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz + https://dev.gentoo.org/~whissi/dist/${PN}/${P}-patches-${PATCH_VER}.tar.xz +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 x86" + +RDEPEND=" + acct-group/polw + acct-user/polw + dev-perl/Net-DNS + dev-perl/Net-IP + mail-mta/postfix + virtual/perl-File-Spec + virtual/perl-Sys-Syslog +" + +src_prepare() { + default + eapply "${WORKDIR}"/patches/*.patch +} + +src_compile() { :; } + +src_install() { + exeinto /usr/libexec/postfix + doexe policyd-weight + fowners root:wheel /usr/libexec/postfix/policyd-weight + + doman man/man5/*.5 man/man8/*.8 + dodoc *.txt + + insinto /etc + newins policyd-weight.conf.sample policyd-weight.conf + + newinitd "${FILESDIR}"/policyd-weight.init.d-r2 policyd-weight + + newtmpfiles "${FILESDIR}"/policyd-weight.tmpfile policyd-weight.conf +} + +pkg_postinst() { + tmpfiles_process policyd-weight.conf +}