aboutsummaryrefslogtreecommitdiff
path: root/mail/postfix-policyd-weight
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2015-12-11 21:14:27 +0000
committerKurt Jaeger <pi@FreeBSD.org>2015-12-11 21:14:27 +0000
commit5673a4498d2e67dc5a52a88a5f13c10a3d5d2e07 (patch)
treebf8be67f5fa19fd36dc287ea57dde960d17dd970 /mail/postfix-policyd-weight
parent83837b3d0ea0a0a0b2592cc9f6a93d1870c2f7dc (diff)
downloadports-5673a4498d2e67dc5a52a88a5f13c10a3d5d2e07.tar.gz
ports-5673a4498d2e67dc5a52a88a5f13c10a3d5d2e07.zip
mail/postfix-policyd-weight: Fix with new Net::DNS version
- Fix bug that re-appeared after Net::DNS was updated to most recent version PR: 201753, 205253 Submitted by: Herbert J. Skuhra <h.skuhra@gmail.com>
Notes
Notes: svn path=/head/; revision=403560
Diffstat (limited to 'mail/postfix-policyd-weight')
-rw-r--r--mail/postfix-policyd-weight/Makefile2
-rw-r--r--mail/postfix-policyd-weight/files/patch-policyd-weight11
2 files changed, 7 insertions, 6 deletions
diff --git a/mail/postfix-policyd-weight/Makefile b/mail/postfix-policyd-weight/Makefile
index 256d48d58e1b..a39082651db2 100644
--- a/mail/postfix-policyd-weight/Makefile
+++ b/mail/postfix-policyd-weight/Makefile
@@ -3,7 +3,7 @@
PORTNAME= policyd-weight
PORTVERSION= 0.1.15.2
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= mail
MASTER_SITES= http://www.policyd-weight.org/releases/ \
LOCAL/ohauer
diff --git a/mail/postfix-policyd-weight/files/patch-policyd-weight b/mail/postfix-policyd-weight/files/patch-policyd-weight
index f12916cf1e5f..c96e2f549823 100644
--- a/mail/postfix-policyd-weight/files/patch-policyd-weight
+++ b/mail/postfix-policyd-weight/files/patch-policyd-weight
@@ -1,5 +1,5 @@
---- policyd-weight.orig 2015-09-27 11:41:56 UTC
-+++ policyd-weight
+--- policyd-weight.orig 2015-12-11 21:05:56.398519000 +0100
++++ policyd-weight 2015-12-11 21:12:51.190810000 +0100
@@ -320,7 +320,7 @@ $SIG{__DIE__} = sub {
my $DEBUG = 0; # 1 or 0 - don't comment
@@ -134,16 +134,17 @@
{
mylog(warning=>"cache: couldn't change GID to user $GROUP: $!");
}
-@@ -3588,7 +3586,7 @@ sub rbl_lookup
+@@ -3588,7 +3586,8 @@ sub rbl_lookup
my ($id, $bf, $qc, $anc, $nsc, $arc, $qb) =
unpack('n n n n n n a*', $buf);
- my ($dn, $offset) = dn_expand(\$qb, 0);
-+ my ($dn, $offset) = decode Net::DNS::DomainName(\$qb, 0);
++ my ($decoded, $offset) = decode Net::DNS::DomainName(\$qb);
++ my $dn = $decoded->name;
if(($id && $anc) && ($id == $oid) && ($query eq $dn))
{
-@@ -3842,7 +3840,7 @@ sub squared_helo
+@@ -3842,7 +3841,7 @@ sub squared_helo
my $helo = shift;
my $ip = shift;