1 |
commit: 9541c7d8ceaa1a3d58f756ab6d3479cef427c3d7 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 17 17:26:19 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 17 19:19:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9541c7d8 |
7 |
|
8 |
mail-filter/policyd-weight: migrate to glep 81 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/781314 |
11 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
12 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
13 |
|
14 |
.../policyd-weight-0.1.15.2-r3.ebuild | 57 ++++++++++++++++++++++ |
15 |
1 file changed, 57 insertions(+) |
16 |
|
17 |
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 |
18 |
new file mode 100644 |
19 |
index 00000000000..ad62cc4de1a |
20 |
--- /dev/null |
21 |
+++ b/mail-filter/policyd-weight/policyd-weight-0.1.15.2-r3.ebuild |
22 |
@@ -0,0 +1,57 @@ |
23 |
+# Copyright 1999-2021 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+ |
28 |
+inherit tmpfiles |
29 |
+ |
30 |
+PATCH_VER="1.0" |
31 |
+ |
32 |
+DESCRIPTION="Weighted Policy daemon for Postfix" |
33 |
+HOMEPAGE="http://www.policyd-weight.org/" |
34 |
+SRC_URI=" |
35 |
+ http://www.policyd-weight.org/releases/${P}.tar.gz |
36 |
+ mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz |
37 |
+ https://dev.gentoo.org/~whissi/dist/${PN}/${P}-patches-${PATCH_VER}.tar.xz |
38 |
+" |
39 |
+ |
40 |
+LICENSE="GPL-2" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~alpha amd64 x86" |
43 |
+ |
44 |
+RDEPEND=" |
45 |
+ acct-group/polw |
46 |
+ acct-user/polw |
47 |
+ dev-perl/Net-DNS |
48 |
+ dev-perl/Net-IP |
49 |
+ mail-mta/postfix |
50 |
+ virtual/perl-File-Spec |
51 |
+ virtual/perl-Sys-Syslog |
52 |
+" |
53 |
+ |
54 |
+src_prepare() { |
55 |
+ default |
56 |
+ eapply "${WORKDIR}"/patches/*.patch |
57 |
+} |
58 |
+ |
59 |
+src_compile() { :; } |
60 |
+ |
61 |
+src_install() { |
62 |
+ exeinto /usr/libexec/postfix |
63 |
+ doexe policyd-weight |
64 |
+ fowners root:wheel /usr/libexec/postfix/policyd-weight |
65 |
+ |
66 |
+ doman man/man5/*.5 man/man8/*.8 |
67 |
+ dodoc *.txt |
68 |
+ |
69 |
+ insinto /etc |
70 |
+ newins policyd-weight.conf.sample policyd-weight.conf |
71 |
+ |
72 |
+ newinitd "${FILESDIR}"/policyd-weight.init.d-r2 policyd-weight |
73 |
+ |
74 |
+ newtmpfiles "${FILESDIR}"/policyd-weight.tmpfile policyd-weight.conf |
75 |
+} |
76 |
+ |
77 |
+pkg_postinst() { |
78 |
+ tmpfiles_process policyd-weight.conf |
79 |
+} |