Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/postgrey/
Date: Sat, 26 Dec 2020 00:31:48
Message-Id: 1608942702.41c8afc3f6b5af34dfbba3ed07cb3ceca99a4e6e.sam@gentoo
1 commit: 41c8afc3f6b5af34dfbba3ed07cb3ceca99a4e6e
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 26 00:31:37 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 26 00:31:42 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41c8afc3
7
8 mail-filter/postgrey: drop USE=targrey (no available patch)
9
10 There's no patch available right now.
11
12 Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 mail-filter/postgrey/Manifest | 1 -
16 mail-filter/postgrey/metadata.xml | 3 --
17 mail-filter/postgrey/postgrey-1.36-r1.ebuild | 72 ----------------------------
18 3 files changed, 76 deletions(-)
19
20 diff --git a/mail-filter/postgrey/Manifest b/mail-filter/postgrey/Manifest
21 index dbe173a4481..ae58ff0be96 100644
22 --- a/mail-filter/postgrey/Manifest
23 +++ b/mail-filter/postgrey/Manifest
24 @@ -1,3 +1,2 @@
25 -DIST postgrey-1.36.tar.gz 38797 BLAKE2B b8e4dedb28ababc92cdd1d128652a468caeb55eb611ca019148a2e538d3cc0d397cd14889942904b05c9471bb13ed9fa6250e399d47df22241895c109a68315d SHA512 9b2502b873658c1ef8a86bff091d61b8dc8d66f7395bc0a869f9e6ec60b691a317c084ae326f49ce8dd926f0fa2620a58f3ad76c25e1b1c9606557d2802d1395
26 DIST postgrey-1.37.tar.gz 41815 BLAKE2B dd8a1f62f56a614c25863afde089f1882a1567e3a53a24b1d12b6f23994388caf99059f05775853065143f4f953a6fd964625d5c865993e0e679dd545b848c11 SHA512 369968212ea60539efc0d4a7ae84f7c3ce13f5622e6ee070a0089423ef81ca8f7541ebd20289291d0e6a3aec2ca30dbc9c0d9c0a6f0a686adfadb5d0dd7830ca
27 DIST postgrey-1.37_p20190625.tar.gz 124667 BLAKE2B ca2caba51a72198e42d6d4d9c5c7590b62c1bd1589d05bfb4096fb4d95ff62ff96976beac8c1b35136a4a6830af936244485ff7dcdcd46d8558a4bef0bbb123a SHA512 f3caf3c7663bd8784701c7e1ad45d1c577edf6fac14591a6983fda25e7f8a875f2501780a8f97ce72e6a324878404e9ac2a003a07ae07ad4debae61fe734b8d4
28
29 diff --git a/mail-filter/postgrey/metadata.xml b/mail-filter/postgrey/metadata.xml
30 index 53aeb080992..3532fe99da7 100644
31 --- a/mail-filter/postgrey/metadata.xml
32 +++ b/mail-filter/postgrey/metadata.xml
33 @@ -8,9 +8,6 @@
34 <longdescription>
35 Postgrey is a Postfix policy server implementing greylisting developed by David Schweikert at the ISG.EE.
36 </longdescription>
37 - <use>
38 - <flag name="targrey">Enables the targrey patch</flag>
39 - </use>
40 <upstream>
41 <remote-id type="github">schweikert/postgrey</remote-id>
42 </upstream>
43
44 diff --git a/mail-filter/postgrey/postgrey-1.36-r1.ebuild b/mail-filter/postgrey/postgrey-1.36-r1.ebuild
45 deleted file mode 100644
46 index b86f673b999..00000000000
47 --- a/mail-filter/postgrey/postgrey-1.36-r1.ebuild
48 +++ /dev/null
49 @@ -1,72 +0,0 @@
50 -# Copyright 1999-2017 Gentoo Foundation
51 -# Distributed under the terms of the GNU General Public License v2
52 -
53 -EAPI=5
54 -
55 -inherit eutils systemd user
56 -
57 -DESCRIPTION="Postgrey is a Postfix policy server implementing greylisting"
58 -HOMEPAGE="http://postgrey.schweikert.ch/"
59 -SRC_URI="http://postgrey.schweikert.ch/pub/${P}.tar.gz
60 -http://postgrey.schweikert.ch/pub/old/${P}.tar.gz"
61 -
62 -LICENSE="GPL-2"
63 -SLOT="0"
64 -KEYWORDS="amd64 hppa ~ppc ppc64 x86"
65 -IUSE="targrey"
66 -
67 -DEPEND=""
68 -RDEPEND=">=dev-lang/perl-5.6.0
69 - dev-perl/Net-Server
70 - dev-perl/IO-Multiplex
71 - dev-perl/BerkeleyDB
72 - dev-perl/Net-DNS
73 - dev-perl/NetAddr-IP
74 - dev-perl/Net-RBLClient
75 - dev-perl/Parse-Syslog
76 - virtual/perl-Digest-SHA
77 - >=sys-libs/db-4.1"
78 -
79 -pkg_setup() {
80 - enewgroup ${PN}
81 - enewuser ${PN} -1 -1 /dev/null ${PN}
82 -}
83 -
84 -src_prepare() {
85 - if use targrey ; then
86 - epatch "${FILESDIR}"/targrey-0.31-postgrey-1.34.patch
87 - fi
88 - # bug 479400
89 - sed -i 's@#!/usr/bin/perl -T -w@#!/usr/bin/perl -w@' postgrey || die "sed failed"
90 -}
91 -
92 -src_install() {
93 - # postgrey data/DB in /var
94 - diropts -m0770 -o ${PN} -g ${PN}
95 - dodir /var/spool/postfix/${PN}
96 - keepdir /var/spool/postfix/${PN}
97 - fowners postgrey:postgrey /var/spool/postfix/${PN}
98 - fperms 0770 /var/spool/postfix/${PN}
99 -
100 - # postgrey binary
101 - dosbin ${PN}
102 - dosbin contrib/postgreyreport
103 -
104 - # policy-test script
105 - dosbin policy-test
106 -
107 - # postgrey data in /etc/postfix
108 - insinto /etc/postfix
109 - insopts -o root -g ${PN} -m 0640
110 - doins postgrey_whitelist_clients postgrey_whitelist_recipients
111 -
112 - # documentation
113 - dodoc Changes README README.exim
114 -
115 - # init.d + conf.d files
116 - insopts -o root -g root -m 755
117 - newinitd "${FILESDIR}"/${PN}-1.34-r3.rc.new ${PN}
118 - insopts -o root -g root -m 640
119 - newconfd "${FILESDIR}"/${PN}.conf.new ${PN}
120 - systemd_dounit "${FILESDIR}"/postgrey.service
121 -}