mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
mail-filter/postgrey: drop old
Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST postgrey-1.34.tar.gz 36399 BLAKE2B 45ec66c06a68813d61b5e31e8547441d4947a7c29102a4f8904ecbb8794e5f853cd753389c5daf6f4e5319e5334af05952eb67628be9b2dbf82903df6bc531b2 SHA512 df6cf0c3bf6835591aad00bde13330ee4030b965c90a01a27dfafb5eac1f008dcfb9001dbfcf70a6209b91af7a571b38392b69db2212f112d888a565e9b703cb
|
||||
DIST postgrey-1.35.tar.gz 36610 BLAKE2B e5c5113590d43a7b4d117fdc7127e9f7a7f4abc4b73564c673062340997ae82502befcfa58122c9cec6abf9ef25c30996b362d72bfb730cba8b8f982e54fac13 SHA512 fa9844f6ca7395c02cbc1f234d0efbeafb80ebbebc763966d375bb32e7768d9c987d8c95d1e8dc9da933832feb9948b4086cf5a31f24d3764e9678333abe6c8f
|
||||
DIST postgrey-1.36.tar.gz 38797 BLAKE2B b8e4dedb28ababc92cdd1d128652a468caeb55eb611ca019148a2e538d3cc0d397cd14889942904b05c9471bb13ed9fa6250e399d47df22241895c109a68315d SHA512 9b2502b873658c1ef8a86bff091d61b8dc8d66f7395bc0a869f9e6ec60b691a317c084ae326f49ce8dd926f0fa2620a58f3ad76c25e1b1c9606557d2802d1395
|
||||
DIST postgrey-1.37.tar.gz 41815 BLAKE2B dd8a1f62f56a614c25863afde089f1882a1567e3a53a24b1d12b6f23994388caf99059f05775853065143f4f953a6fd964625d5c865993e0e679dd545b848c11 SHA512 369968212ea60539efc0d4a7ae84f7c3ce13f5622e6ee070a0089423ef81ca8f7541ebd20289291d0e6a3aec2ca30dbc9c0d9c0a6f0a686adfadb5d0dd7830ca
|
||||
|
||||
@@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Postgrey is a Postfix policy server implementing greylisting"
|
||||
HOMEPAGE="http://postgrey.schweikert.ch/"
|
||||
SRC_URI="http://postgrey.schweikert.ch/pub/${P}.tar.gz
|
||||
http://postgrey.schweikert.ch/pub/old/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 hppa ~ppc ppc64 x86"
|
||||
IUSE="targrey"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=dev-lang/perl-5.6.0
|
||||
dev-perl/Net-Server
|
||||
dev-perl/IO-Multiplex
|
||||
dev-perl/BerkeleyDB
|
||||
dev-perl/Net-DNS
|
||||
dev-perl/Parse-Syslog
|
||||
dev-perl/Net-RBLClient
|
||||
>=sys-libs/db-4.1"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 /dev/null ${PN}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use targrey ; then
|
||||
epatch "${FILESDIR}"/targrey-0.31-postgrey-1.34.patch
|
||||
fi
|
||||
epatch "${FILESDIR}"/${P}-perl-5.18.patch
|
||||
# bug 479400
|
||||
sed -i 's@#!/usr/bin/perl -T -w@#!/usr/bin/perl -w@' postgrey || die "sed failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# postgrey data/DB in /var
|
||||
diropts -m0770 -o ${PN} -g ${PN}
|
||||
dodir /var/spool/postfix/${PN}
|
||||
keepdir /var/spool/postfix/${PN}
|
||||
fowners postgrey:postgrey /var/spool/postfix/${PN}
|
||||
fperms 0770 /var/spool/postfix/${PN}
|
||||
|
||||
# postgrey binary
|
||||
dosbin ${PN}
|
||||
dosbin contrib/postgreyreport
|
||||
|
||||
# policy-test script
|
||||
dosbin policy-test
|
||||
|
||||
# postgrey data in /etc/postfix
|
||||
insinto /etc/postfix
|
||||
insopts -o root -g ${PN} -m 0640
|
||||
doins postgrey_whitelist_clients postgrey_whitelist_recipients
|
||||
|
||||
# documentation
|
||||
dodoc Changes README
|
||||
|
||||
# init.d + conf.d files
|
||||
insopts -o root -g root -m 755
|
||||
newinitd "${FILESDIR}"/${PF}.rc.new ${PN}
|
||||
insopts -o root -g root -m 640
|
||||
newconfd "${FILESDIR}"/${PN}.conf.new ${PN}
|
||||
}
|
||||
@@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils systemd user
|
||||
|
||||
DESCRIPTION="Postgrey is a Postfix policy server implementing greylisting"
|
||||
HOMEPAGE="http://postgrey.schweikert.ch/"
|
||||
SRC_URI="http://postgrey.schweikert.ch/pub/${P}.tar.gz
|
||||
http://postgrey.schweikert.ch/pub/old/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
||||
IUSE="targrey"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=dev-lang/perl-5.6.0
|
||||
dev-perl/Net-Server
|
||||
dev-perl/IO-Multiplex
|
||||
dev-perl/BerkeleyDB
|
||||
dev-perl/Net-DNS
|
||||
dev-perl/Parse-Syslog
|
||||
dev-perl/Net-RBLClient
|
||||
virtual/perl-Digest-SHA
|
||||
>=sys-libs/db-4.1"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 /dev/null ${PN}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use targrey ; then
|
||||
epatch "${FILESDIR}"/targrey-0.31-postgrey-1.34.patch
|
||||
fi
|
||||
# bug 479400
|
||||
sed -i 's@#!/usr/bin/perl -T -w@#!/usr/bin/perl -w@' postgrey || die "sed failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# postgrey data/DB in /var
|
||||
diropts -m0770 -o ${PN} -g ${PN}
|
||||
dodir /var/spool/postfix/${PN}
|
||||
keepdir /var/spool/postfix/${PN}
|
||||
fowners postgrey:postgrey /var/spool/postfix/${PN}
|
||||
fperms 0770 /var/spool/postfix/${PN}
|
||||
|
||||
# postgrey binary
|
||||
dosbin ${PN}
|
||||
dosbin contrib/postgreyreport
|
||||
|
||||
# policy-test script
|
||||
dosbin policy-test
|
||||
|
||||
# postgrey data in /etc/postfix
|
||||
insinto /etc/postfix
|
||||
insopts -o root -g ${PN} -m 0640
|
||||
doins postgrey_whitelist_clients postgrey_whitelist_recipients
|
||||
|
||||
# documentation
|
||||
dodoc Changes README README.exim
|
||||
|
||||
# init.d + conf.d files
|
||||
insopts -o root -g root -m 755
|
||||
newinitd "${FILESDIR}"/${PN}-1.34-r3.rc.new ${PN}
|
||||
insopts -o root -g root -m 640
|
||||
newconfd "${FILESDIR}"/${PN}.conf.new ${PN}
|
||||
systemd_dounit "${FILESDIR}"/postgrey.service
|
||||
}
|
||||
Reference in New Issue
Block a user