mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- fix for new Net::DNS>=0.72
- bump required Net::DNS to >=0.72 - bump PORTREVISION
This commit is contained in:
parent
645a02ffca
commit
d1bbb3f475
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355245
@ -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
|
||||
|
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user