public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/postgrey/
Date: Sat, 19 Dec 2020 21:20:43 +0000 (UTC)	[thread overview]
Message-ID: <1608412840.5bf8e004a33a63cd08fe33bed71f95b727e1bf68.sam@gentoo> (raw)

commit:     5bf8e004a33a63cd08fe33bed71f95b727e1bf68
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 19 21:18:54 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 19 21:20:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bf8e004

mail-filter/postgrey: bump to 1.37_p20190625

This gets us some better defaults wrt new whitelists.

I've taken the opportunity to port to GLEP 81 too.

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 mail-filter/postgrey/Manifest                      |  1 +
 .../postgrey/postgrey-1.37_p20190625.ebuild        | 71 ++++++++++++++++++++++
 2 files changed, 72 insertions(+)

diff --git a/mail-filter/postgrey/Manifest b/mail-filter/postgrey/Manifest
index b445413d792..dbe173a4481 100644
--- a/mail-filter/postgrey/Manifest
+++ b/mail-filter/postgrey/Manifest
@@ -1,2 +1,3 @@
 DIST postgrey-1.36.tar.gz 38797 BLAKE2B b8e4dedb28ababc92cdd1d128652a468caeb55eb611ca019148a2e538d3cc0d397cd14889942904b05c9471bb13ed9fa6250e399d47df22241895c109a68315d SHA512 9b2502b873658c1ef8a86bff091d61b8dc8d66f7395bc0a869f9e6ec60b691a317c084ae326f49ce8dd926f0fa2620a58f3ad76c25e1b1c9606557d2802d1395
 DIST postgrey-1.37.tar.gz 41815 BLAKE2B dd8a1f62f56a614c25863afde089f1882a1567e3a53a24b1d12b6f23994388caf99059f05775853065143f4f953a6fd964625d5c865993e0e679dd545b848c11 SHA512 369968212ea60539efc0d4a7ae84f7c3ce13f5622e6ee070a0089423ef81ca8f7541ebd20289291d0e6a3aec2ca30dbc9c0d9c0a6f0a686adfadb5d0dd7830ca
+DIST postgrey-1.37_p20190625.tar.gz 124667 BLAKE2B ca2caba51a72198e42d6d4d9c5c7590b62c1bd1589d05bfb4096fb4d95ff62ff96976beac8c1b35136a4a6830af936244485ff7dcdcd46d8558a4bef0bbb123a SHA512 f3caf3c7663bd8784701c7e1ad45d1c577edf6fac14591a6983fda25e7f8a875f2501780a8f97ce72e6a324878404e9ac2a003a07ae07ad4debae61fe734b8d4

diff --git a/mail-filter/postgrey/postgrey-1.37_p20190625.ebuild b/mail-filter/postgrey/postgrey-1.37_p20190625.ebuild
new file mode 100644
index 00000000000..6df09de0792
--- /dev/null
+++ b/mail-filter/postgrey/postgrey-1.37_p20190625.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+COMMIT="eb420c5dee57dd54e6f63bad5d74e85f5cc9535d"
+DESCRIPTION="Postgrey is a Postfix policy server implementing greylisting"
+HOMEPAGE="http://postgrey.schweikert.ch/"
+SRC_URI="https://github.com/schweikert/postgrey/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
+
+DEPEND="
+	acct-group/postgrey
+	acct-user/postgrey
+"
+RDEPEND="
+	>=dev-lang/perl-5.6.0
+	dev-perl/Net-Server
+	dev-perl/IO-Multiplex
+	dev-perl/BerkeleyDB
+	dev-perl/Net-DNS
+	dev-perl/NetAddr-IP
+	dev-perl/Net-RBLClient
+	dev-perl/Parse-Syslog
+	virtual/perl-Digest-SHA
+	>=sys-libs/db-4.1
+"
+
+src_prepare() {
+	default
+	# bug 479400
+	sed -i 's@#!/usr/bin/perl -T -w@#!/usr/bin/perl -w@' postgrey || die "sed failed"
+	sed -i -e '/git/d' Makefile || die
+}
+
+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
+}


             reply	other threads:[~2020-12-19 21:20 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-19 21:20 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-16 19:16 [gentoo-commits] repo/gentoo:master commit in: mail-filter/postgrey/ Arthur Zamarin
2023-10-27  3:25 Sam James
2023-06-28  7:19 Sam James
2022-03-22 11:26 Agostino Sarubbo
2022-03-22  9:27 Jakov Smolić
2022-03-22  9:27 Jakov Smolić
2022-02-20  0:31 Sam James
2021-09-07  1:36 Sam James
2021-04-25  5:19 Sam James
2021-03-23  4:53 Sam James
2021-02-05 10:37 Sam James
2021-01-22  2:12 Sam James
2021-01-22  1:49 Sam James
2021-01-20  1:20 Sam James
2021-01-20  0:02 Sam James
2020-12-26  0:31 Sam James
2020-12-21  9:41 Sergei Trofimovich
2020-12-20 18:24 Sam James
2020-12-20 16:30 Thomas Deutschmann
2020-12-20  2:45 Sam James
2020-12-19 21:20 Sam James
2020-12-19 19:53 Sam James
2020-09-24  1:06 Aaron Bauman
2017-11-26 23:02 David Seifert
2017-03-18  6:38 Michael Palimaka
2017-02-03 20:01 Jeroen Roovers
2016-12-29 17:46 Göktürk Yüksek
2016-12-21 21:34 Thomas Deutschmann
2016-12-21  9:40 Tobias Klausmann
2016-05-29 20:21 Alexander Vershilov
2016-03-09 20:48 Andreas Hüttel
2016-01-28 15:28 Richard Farina
2015-10-03  9:34 Ian Delaney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1608412840.5bf8e004a33a63cd08fe33bed71f95b727e1bf68.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox