svn commit: r355245 - in head/mail/postfix-policyd-weight: . files

Olli Hauer ohauer at FreeBSD.org
Sun May 25 13:39:44 UTC 2014


Author: ohauer
Date: Sun May 25 13:39:43 2014
New Revision: 355245
URL: http://svnweb.freebsd.org/changeset/ports/355245
QAT: https://qat.redports.org/buildarchive/r355245/

Log:
  - fix for new Net::DNS>=0.72
  - bump required Net::DNS to >=0.72
  - bump PORTREVISION

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	Sun May 25 13:39:16 2014	(r355244)
+++ head/mail/postfix-policyd-weight/Makefile	Sun May 25 13:39:43 2014	(r355245)
@@ -3,7 +3,7 @@
 
 PORTNAME=	policyd-weight
 PORTVERSION=	0.1.15.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mail
 MASTER_SITES=	http://www.policyd-weight.org/releases/ \
 		LOCAL/ohauer
@@ -14,7 +14,7 @@ COMMENT=	Weighted policy daemon for post
 
 LICENSE=	GPLv2
 
-RUN_DEPENDS=	p5-Net-DNS>=0.52:${PORTSDIR}/dns/p5-Net-DNS \
+RUN_DEPENDS=	p5-Net-DNS>=0.72:${PORTSDIR}/dns/p5-Net-DNS \
 		p5-Net-IP>0:${PORTSDIR}/net-mgmt/p5-Net-IP
 
 SUB_FILES=	pkg-message

Modified: head/mail/postfix-policyd-weight/files/patch-policyd-weight
==============================================================================
--- head/mail/postfix-policyd-weight/files/patch-policyd-weight	Sun May 25 13:39:16 2014	(r355244)
+++ head/mail/postfix-policyd-weight/files/patch-policyd-weight	Sun May 25 13:39:43 2014	(r355245)
@@ -1,14 +1,5 @@
 --- ./policyd-weight.orig	2011-09-03 15:55:02.000000000 +0200
-+++ ./policyd-weight	2014-05-24 07:46:02.000000000 +0200
-@@ -69,7 +69,7 @@
- use Sys::Syslog qw(:DEFAULT setlogsock);
- use Net::DNS;
- use Net::IP;
--use Net::DNS::Packet qw(dn_expand);
-+use Net::DNS::Packet qw(netdns_dn_expand);
- use IO::Socket::INET;
- use IO::Socket::UNIX;
- use IO::Select;
++++ ./policyd-weight	2014-05-25 14:34:09.000000000 +0200
 @@ -320,7 +320,7 @@
  
  my $DEBUG        = 0;               # 1 or 0 - don't comment
@@ -147,7 +138,7 @@
              unpack('n   n    n    n     n     n     a*', $buf);
  
 -            my ($dn, $offset) = dn_expand(\$qb, 0);
-+            my ($dn, $offset) = netdns_dn_expand(\$qb, 0);
++            my ($dn, $offset) = Net::DNS::Packet::dn_expand(\$qb, 0);
  
              if(($id && $anc) && ($id == $oid) && ($query eq $dn))
              {


More information about the svn-ports-all mailing list