diff options
author | ohauer <ohauer@FreeBSD.org> | 2014-05-25 21:39:43 +0800 |
---|---|---|
committer | ohauer <ohauer@FreeBSD.org> | 2014-05-25 21:39:43 +0800 |
commit | 634d5454b281ce08edb927bcf83bb8d6bb1ec03b (patch) | |
tree | 61c776e84ee09460da2302218c71e0e06b80a488 /mail | |
parent | e7a208c1d57155abce8e7c8bb621ca88e432607f (diff) | |
download | freebsd-ports-gnome-634d5454b281ce08edb927bcf83bb8d6bb1ec03b.tar.gz freebsd-ports-gnome-634d5454b281ce08edb927bcf83bb8d6bb1ec03b.tar.zst freebsd-ports-gnome-634d5454b281ce08edb927bcf83bb8d6bb1ec03b.zip |
- fix for new Net::DNS>=0.72
- bump required Net::DNS to >=0.72
- bump PORTREVISION
Diffstat (limited to 'mail')
-rw-r--r-- | mail/postfix-policyd-weight/Makefile | 4 | ||||
-rw-r--r-- | mail/postfix-policyd-weight/files/patch-policyd-weight | 13 |
2 files changed, 4 insertions, 13 deletions
diff --git a/mail/postfix-policyd-weight/Makefile b/mail/postfix-policyd-weight/Makefile index 87e4325008dc..447d8a63bb00 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= 1 +PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= http://www.policyd-weight.org/releases/ \ LOCAL/ohauer @@ -14,7 +14,7 @@ COMMENT= Weighted policy daemon for postfix 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 diff --git a/mail/postfix-policyd-weight/files/patch-policyd-weight b/mail/postfix-policyd-weight/files/patch-policyd-weight index 0a3b4cc74195..9b46d2270b4c 100644 --- a/mail/postfix-policyd-weight/files/patch-policyd-weight +++ b/mail/postfix-policyd-weight/files/patch-policyd-weight @@ -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)) { |