pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/postgrey mail/postgrey: Update to 1.37



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dfdf273d738e
branches:  trunk
changeset: 768357:dfdf273d738e
user:      tm <tm%pkgsrc.org@localhost>
date:      Wed Oct 20 16:15:52 2021 +0000

description:
mail/postgrey: Update to 1.37

* 2016-09-22: version 1.37
   - added initial test suite
   - testing using travis-ci (https://travis-ci.org/schweikert/postgrey)
   - removed IP pool-detection code for --lookup-by-net, because it matched
     also the naming of some big hosters like facebook (#32, Michal Petrucha,
     Andrew Ayer, Jon Sailor)
   - fix early logging of errors and warnings to syslog
   - simplified IP matching code
   - added support for IPv6 whitelists with netmask
   - add network-range based whitelist for Office 365 (Holger Stember)
   - updated whitelist

diffstat:

 mail/postgrey/Makefile               |   5 ++---
 mail/postgrey/distinfo               |  15 +++++++--------
 mail/postgrey/options.mk             |   8 ++++----
 mail/postgrey/patches/patch-postgrey |  19 -------------------
 4 files changed, 13 insertions(+), 34 deletions(-)

diffs (77 lines):

diff -r c690c78503e7 -r dfdf273d738e mail/postgrey/Makefile
--- a/mail/postgrey/Makefile    Wed Oct 20 14:05:26 2021 +0000
+++ b/mail/postgrey/Makefile    Wed Oct 20 16:15:52 2021 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.54 2021/05/24 19:52:52 wiz Exp $
+# $NetBSD: Makefile,v 1.55 2021/10/20 16:15:52 tm Exp $
 
-DISTNAME=      postgrey-1.36
-PKGREVISION=   8
+DISTNAME=      postgrey-1.37
 CATEGORIES=    mail
 MASTER_SITES=  http://postgrey.schweikert.ch/pub/
 
diff -r c690c78503e7 -r dfdf273d738e mail/postgrey/distinfo
--- a/mail/postgrey/distinfo    Wed Oct 20 14:05:26 2021 +0000
+++ b/mail/postgrey/distinfo    Wed Oct 20 16:15:52 2021 +0000
@@ -1,9 +1,8 @@
-$NetBSD: distinfo,v 1.18 2021/10/07 14:25:39 nia Exp $
+$NetBSD: distinfo,v 1.19 2021/10/20 16:15:52 tm Exp $
 
-RMD160 (postgrey-1.36.tar.gz) = db87cb17774bb40df3200307c682e0083df87158
-SHA512 (postgrey-1.36.tar.gz) = 9b2502b873658c1ef8a86bff091d61b8dc8d66f7395bc0a869f9e6ec60b691a317c084ae326f49ce8dd926f0fa2620a58f3ad76c25e1b1c9606557d2802d1395
-Size (postgrey-1.36.tar.gz) = 38797 bytes
-RMD160 (targrey-0.31-postgrey-1.34.patch) = 19d4b54da630445c3c26a4dcfdc65643780cae45
-SHA512 (targrey-0.31-postgrey-1.34.patch) = af4433f08120ae6ab07179f1adb88ca8c86c142b68727657555cef04d84105912e8e67c969c860ea000930196c6046b7b2bef2647f04b202ceecaf163d8515d5
-Size (targrey-0.31-postgrey-1.34.patch) = 8555 bytes
-SHA1 (patch-postgrey) = cf53c987d6b5db70a242b7b3411645467ed0a663
+RMD160 (postgrey-1.37.tar.gz) = ec148e96d3d70e26d25f12f8fdf842f8c7444e60
+SHA512 (postgrey-1.37.tar.gz) = 369968212ea60539efc0d4a7ae84f7c3ce13f5622e6ee070a0089423ef81ca8f7541ebd20289291d0e6a3aec2ca30dbc9c0d9c0a6f0a686adfadb5d0dd7830ca
+Size (postgrey-1.37.tar.gz) = 41815 bytes
+RMD160 (targrey-0.31-postgrey-1.37.patch) = fa5c93cc1167834efe27ff71a88bdc758951c5ed
+SHA512 (targrey-0.31-postgrey-1.37.patch) = 4b993028df6217713a8ce9a054f1b9cd43099ef396cad0b3355647149c41c6564f633992aac9dc3eb8eb276975dae822195031ab06514824b8e6ce4b1258d539
+Size (targrey-0.31-postgrey-1.37.patch) = 8574 bytes
diff -r c690c78503e7 -r dfdf273d738e mail/postgrey/options.mk
--- a/mail/postgrey/options.mk  Wed Oct 20 14:05:26 2021 +0000
+++ b/mail/postgrey/options.mk  Wed Oct 20 16:15:52 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2015/10/12 11:10:34 fhajny Exp $
+# $NetBSD: options.mk,v 1.3 2021/10/20 16:15:52 tm Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.postgrey
 PKG_SUPPORTED_OPTIONS= postgrey-targrey
@@ -6,8 +6,8 @@
 .include "../../mk/bsd.options.mk"
 
 .if !empty(PKG_OPTIONS:Mpostgrey-targrey)
-# See http://k2net.hakuba.jp/targrey/index.en.html
-PATCHFILES+=           targrey-0.31-postgrey-1.34.patch
-PATCH_SITES=           http://k2net.hakuba.jp/pub/
+ See http://k2net.hakuba.jp/targrey/index.en.html
+PATCHFILES+=           targrey-0.31-postgrey-1.37.patch
+PATCH_SITES=           ${MASTER_SITE_LOCAL}
 PATCH_DIST_STRIP=      -p0
 .endif
diff -r c690c78503e7 -r dfdf273d738e mail/postgrey/patches/patch-postgrey
--- a/mail/postgrey/patches/patch-postgrey      Wed Oct 20 14:05:26 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-postgrey,v 1.4 2019/09/06 09:58:26 jperkin Exp $
-
-Backport https://github.com/schweikert/postgrey/pull/34
-
---- postgrey.orig      2019-09-06 09:53:38.119350175 +0000
-+++ postgrey
-@@ -185,12 +185,6 @@ sub do_client_substitutions($$$)
-     my $ipaddr;
-     if($ip =~ /\./) {
-         # IPv4
--        my @ip=split(/\./, $ip);
--        return ($ip, undef) unless defined $ip[3];
--        # skip if it contains the last two IP numbers in the hostname
--        # (we assume it is a pool of dialup addresses of a provider)
--        return ($ip, undef) if $revdns =~ /$ip[2]/ and $revdns =~ /$ip[3]/;
--
-         $ipaddr = NetAddr::IP->new($ip, $self->{postgrey}{ipv4cidr});
-     }
-     elsif($ip =~ /:/) {



Home | Main Index | Thread Index | Old Index