Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Dec 2015 21:14:27 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403560 - in head/mail/postfix-policyd-weight: . files
Message-ID:  <201512112114.tBBLERv6007775@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Fri Dec 11 21:14:27 2015
New Revision: 403560
URL: https://svnweb.freebsd.org/changeset/ports/403560

Log:
  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>

Modified:
  head/mail/postfix-policyd-weight/Makefile
  head/mail/postfix-policyd-weight/files/patch-policyd-weight

Modified: head/mail/postfix-policyd-weight/Makefile
==============================================================================
--- head/mail/postfix-policyd-weight/Makefile	Fri Dec 11 20:39:55 2015	(r403559)
+++ head/mail/postfix-policyd-weight/Makefile	Fri Dec 11 21:14:27 2015	(r403560)
@@ -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

Modified: head/mail/postfix-policyd-weight/files/patch-policyd-weight
==============================================================================
--- head/mail/postfix-policyd-weight/files/patch-policyd-weight	Fri Dec 11 20:39:55 2015	(r403559)
+++ head/mail/postfix-policyd-weight/files/patch-policyd-weight	Fri Dec 11 21:14:27 2015	(r403560)
@@ -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;
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512112114.tBBLERv6007775>