- update p5-Net-DNS to 0.75
- fix a regession, only the last nameserver line in /etc/resolv.conf was used
This commit is contained in:
parent
ea3f05829d
commit
1fd5339a87
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.45 2014/04/25 23:41:03 bluhm Exp $
|
||||
# $OpenBSD: Makefile,v 1.46 2014/05/12 23:09:27 bluhm Exp $
|
||||
|
||||
SHARED_ONLY = Yes
|
||||
|
||||
COMMENT = module to interface the DNS resolver
|
||||
|
||||
DISTNAME = Net-DNS-0.74
|
||||
DISTNAME = Net-DNS-0.75
|
||||
|
||||
CATEGORIES = net
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (Net-DNS-0.74.tar.gz) = 72SvUC6U8tDgpnKrlR2Eb9FAZUTspZaoaUO8jy2hnDI=
|
||||
SIZE (Net-DNS-0.74.tar.gz) = 200829
|
||||
SHA256 (Net-DNS-0.75.tar.gz) = EqQ5lLv/7xQCTnVRetoFp4mGpm9pUQ1cbNCCdJQJ3VY=
|
||||
SIZE (Net-DNS-0.75.tar.gz) = 197418
|
||||
|
22
net/p5-Net-DNS/patches/patch-lib_Net_DNS_Resolver_Base_pm
Normal file
22
net/p5-Net-DNS/patches/patch-lib_Net_DNS_Resolver_Base_pm
Normal file
@ -0,0 +1,22 @@
|
||||
$OpenBSD: patch-lib_Net_DNS_Resolver_Base_pm,v 1.1 2014/05/12 23:09:27 bluhm Exp $
|
||||
https://rt.cpan.org/Public/Bug/Display.html?id=95596
|
||||
|
||||
--- lib/Net/DNS/Resolver/Base.pm.orig Thu May 8 10:12:03 2014
|
||||
+++ lib/Net/DNS/Resolver/Base.pm Tue May 13 00:35:14 2014
|
||||
@@ -242,12 +242,14 @@ sub read_config_file {
|
||||
};
|
||||
|
||||
/^search/ && do {
|
||||
- ( $keyword, @searchlist ) = split;
|
||||
+ ( $keyword, my @list ) = split;
|
||||
+ push @searchlist, @list;
|
||||
next;
|
||||
};
|
||||
|
||||
/^nameserver/ && do {
|
||||
- ( $keyword, @ns ) = split;
|
||||
+ ( $keyword, my @list ) = split;
|
||||
+ push @ns, @list;
|
||||
foreach my $ns (@ns) {
|
||||
$ns = '0.0.0.0' if $ns eq '0';
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.21 2014/04/25 08:55:13 bluhm Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.22 2014/05/12 23:09:27 bluhm Exp $
|
||||
${P5ARCH}/
|
||||
${P5ARCH}/Net/
|
||||
${P5ARCH}/Net/DNS/
|
||||
@ -23,7 +23,6 @@ ${P5ARCH}/Net/DNS/RR/CERT.pm
|
||||
${P5ARCH}/Net/DNS/RR/CNAME.pm
|
||||
${P5ARCH}/Net/DNS/RR/DHCID.pm
|
||||
${P5ARCH}/Net/DNS/RR/DNAME.pm
|
||||
${P5ARCH}/Net/DNS/RR/EID.pm
|
||||
${P5ARCH}/Net/DNS/RR/EUI48.pm
|
||||
${P5ARCH}/Net/DNS/RR/EUI64.pm
|
||||
${P5ARCH}/Net/DNS/RR/GPOS.pm
|
||||
@ -43,9 +42,7 @@ ${P5ARCH}/Net/DNS/RR/MR.pm
|
||||
${P5ARCH}/Net/DNS/RR/MX.pm
|
||||
${P5ARCH}/Net/DNS/RR/NAPTR.pm
|
||||
${P5ARCH}/Net/DNS/RR/NID.pm
|
||||
${P5ARCH}/Net/DNS/RR/NIMLOC.pm
|
||||
${P5ARCH}/Net/DNS/RR/NS.pm
|
||||
${P5ARCH}/Net/DNS/RR/NSAP.pm
|
||||
${P5ARCH}/Net/DNS/RR/NULL.pm
|
||||
${P5ARCH}/Net/DNS/RR/OPT.pm
|
||||
${P5ARCH}/Net/DNS/RR/PTR.pm
|
||||
@ -97,7 +94,6 @@ ${P5ARCH}/auto/Net/DNS/DNS.so
|
||||
@man man/man3p/Net::DNS::RR::CNAME.3p
|
||||
@man man/man3p/Net::DNS::RR::DHCID.3p
|
||||
@man man/man3p/Net::DNS::RR::DNAME.3p
|
||||
@man man/man3p/Net::DNS::RR::EID.3p
|
||||
@man man/man3p/Net::DNS::RR::EUI48.3p
|
||||
@man man/man3p/Net::DNS::RR::EUI64.3p
|
||||
@man man/man3p/Net::DNS::RR::GPOS.3p
|
||||
@ -117,9 +113,7 @@ ${P5ARCH}/auto/Net/DNS/DNS.so
|
||||
@man man/man3p/Net::DNS::RR::MX.3p
|
||||
@man man/man3p/Net::DNS::RR::NAPTR.3p
|
||||
@man man/man3p/Net::DNS::RR::NID.3p
|
||||
@man man/man3p/Net::DNS::RR::NIMLOC.3p
|
||||
@man man/man3p/Net::DNS::RR::NS.3p
|
||||
@man man/man3p/Net::DNS::RR::NSAP.3p
|
||||
@man man/man3p/Net::DNS::RR::NULL.3p
|
||||
@man man/man3p/Net::DNS::RR::OPT.3p
|
||||
@man man/man3p/Net::DNS::RR::PTR.3p
|
||||
|
Loading…
Reference in New Issue
Block a user