Commit graph

83 commits

Author SHA1 Message Date
agc
30b55df38e Convert all occurrences (353 by my count) of
MASTER_SITES= 	site1 \
			site2

style continuation lines to be simple repeated

	MASTER_SITES+= site1
	MASTER_SITES+= site2

lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint
accordingly.
2017-01-19 18:52:01 +00:00
wiz
8e714c823a Updated p5-Net-DNS to 1.07.
**** 1.07 December 29, 2016

Fix rt.cpan.org #118598/#108908

	Serious Makefile.PL issues
	"make install" now suppressed if pre-1.01 version detected

Fix rt.cpan.org #115558

	Net::DNS::Nameserver does not allow EDNS replies

Fix rt.cpan.org #114917

	Net::DNS::ZoneFile fails to parse mixed case mnemonics

Fix rt.cpan.org #114876

	Use of uninitialized value in lc at MSWin32.pm line 77

Fix rt.cpan.org #114819

	Net::DNS fails to compile with taint checks enabled
2017-01-01 14:04:23 +00:00
wiz
86a78fce2e Bump PKGREVISION for perl-5.24. 2016-06-08 19:22:13 +00:00
wiz
a202501bee Updated p5-Net-DNS to 1.06.
**** 1.06 May 27, 2016

Fix rt.cpan.org #114351

	Case sensitive compression breaks resolver->nameservers()

Fix rt.cpan.org #113579

	Net::DNS::Resolver dies on scoped IPv6 nameserver address

Fix rt.cpan.org #113020

	Resolve::Recurse Hangs

Fix rt.cpan.org #112860

	improperly terminated AXFR at t/08-IPv4.t line 446.
2016-05-29 07:46:08 +00:00
wiz
f11c774a29 Update to p5-Net-DNS to 1.05:
**** 1.05 March 7, 2016

Fix rt.cpan.org #111559

	1.04: TSIG not working anymore (TSIG.pm)

Fix rt.cpan.org #108908

	Installing recent version gets shadowed by old version.
	Warnings added to Makefile.PL and t/00-version.t.

Fix rt.cpan.org #66900

	Net::DNS::Async unable to retry truncated UDP using TCP because
	of limitations in Net::DNS.
2016-03-09 11:31:27 +00:00
wiz
d63a82d5d7 Update p5-Net-DNS to 1.04:
**** 1.04 December 8, 2015

Fix rt.cpan.org #109183

	Semantics of "retry" and "retrans" options has changed with 1.03

Fix rt.cpan.org #109152

	Deprecated method make_query_packet breaks calling code

Fix rt.cpan.org #109135

	Resolver behaves differently with long and short IPv6 address format

Fix rt.cpan.org #108745

	Net::DNS::Resolver bgsend
2015-12-09 19:55:00 +00:00
wiz
d948ee6330 Update p5-Net-DNS to 1.03:
**** 1.03 November 6, 2015

Fix rt.cpan.org #107897

	t/10-recurse.t freezes, never completes

Fix rt.cpan.org #101978

	Update Net::DNS to use IO::Socket::IP

Fix rt.cpan.org #84375

	Timeout doesn't work with bgsend/bgread

Fix rt.cpan.org #47050

	persistent sockets for Resolver::bg(send|read|isready)

Fix rt.cpan.org #15515

	bgsend on TCP
2015-11-12 16:30:36 +00:00
agc
203292f73e Add SHA512 digests for distfiles for net category
Problems found with existing digests:
	Package haproxy distfile haproxy-1.5.14.tar.gz
	159f5beb8fdc6b8059ae51b53dc935d91c0fb51f [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package bsddip: missing distfile bsddip-1.02.tar.Z
	Package citrix_ica: missing distfile citrix_ica-10.6.115659/en.linuxx86.tar.gz
	Package djbdns: missing distfile djbdns-1.05-test25.diff.bz2
	Package djbdns: missing distfile djbdns-cachestats.patch
	Package djbdns: missing distfile 0002-dnscache-cache-soa-records.patch
	Package gated: missing distfile gated-3-5-11.tar.gz
	Package owncloudclient: missing distfile owncloudclient-2.0.2.tar.xz
	Package poink: missing distfile poink-1.6.tar.gz
	Package ra-rtsp-proxy: missing distfile rtspd-src-1.0.0.0.tar.gz
	Package ucspi-ssl: missing distfile ucspi-ssl-0.70-ucspitls-0.1.patch
	Package waste: missing distfile waste-source.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 00:34:51 +00:00
wiz
1bc046c3ac Update to 1.02:
**** 1.02 September 16, 2015

Fix rt.cpan.org #107052

 	suppress messages: Can't locate Net/DNS/Resolver/linux.pm

Fix rt.cpan.org #106916

	Dependency on MIME::Base32 makes Net::DNS not installable on MSWin32

Fix rt.cpan.org #106565

	Net::DNS::Resolver::Recurse and IPv6 Reverse DNS

Fix rt.cpan.org #105808

	Version test for Pod::Test is broken
2015-09-30 19:15:44 +00:00
wiz
40bbad7ac6 Comment out dependencies of the style
{perl>=5.16.6,p5-ExtUtils-ParseXS>=3.15}:../../devel/p5-ExtUtils-ParseXS
since pkgsrc enforces the newest perl version anyway, so they
should always pick perl, but sometimes (pkg_add) don't due to the
design of the {,} syntax.

No effective change for the above reason.

Ok joerg
2015-07-12 18:56:06 +00:00
wiz
916ea3df61 Update to 1.01:
**** 1.01 Jul 6, 2015

Feature
	The RRs previously only available with Net::DNS::SEC are now
	integrated with Net::DNS.  Net::DNS::SEC needs to be installed
	to enable the signature generation and verification functions.

Fix rt.cpan.org #105491

	Can't call method "zclass" on an undefined value at ... Net/DNS/Packet.pm line 474

Fix rt.cpan.org #105421

	Dead link in Net::DNS::FAQ

Fix rt.cpan.org #104657

	Wrong split on Cygwin

Fix rt.cpan.org #102810

	Dynamic update: rr_add overrides ttl of zero

Fix rt.cpan.org #102809

	CAA broken
2015-07-08 06:41:35 +00:00
wiz
0982effce2 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:48:20 +00:00
wiz
cc6d7a50d8 Update to 0.83:
**** 0.83 Feb 26, 2015

Fix rt.cpan.org #101798

	AUTOLOAD error confusing w/o reference to object class

Fix rt.cpan.org #101709

	Provide separate control of IPv6 tests

Fix rt.cpan.org #101675

	MX record with 0 preference fails to parse

Fix rt.cpan.org #101405

	Install tests fail for v0.81 on Perl 5.21.7
2015-03-01 11:42:34 +00:00
wiz
8581e04353 Update to 0.82:
**** 0.82 Jan 20, 2015

Fix rt.cpan.org #100385

	Support for IPv6 link-local addresses with scope_id
2015-01-21 21:42:21 +00:00
wiz
e75dd74410 Update to 0.81:
**** 0.81 Oct 29, 2014

Fix rt.cpan.org #99571

	AXFR BADSIG failures

Fix rt.cpan.org #99531

	Resolver doc error - when is a 'bug' a 'bug'? [TSIG verification]

Fix rt.cpan.org #99528

	TSIG::create fails with some filenames

Fix rt.cpan.org #99527

	Random errors... [declaration with statement modifier]

Fix rt.cpan.org #99429

	Infinite recursion in Net::DNS::Resolver::Recurse::send when
	following certain delegations with empty-non terminals.

Fix rt.cpan.org #99320

	Net::DNS::ZoneFile bug in "$ORIGIN ."
2014-11-02 17:31:48 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
wiz
e8647fedbb Remove SVR4_PKGNAME, per discussion on tech-pkg. 2014-10-09 13:44:32 +00:00
wiz
915f940ed7 Update to 0.80:
**** 0.80 Sep 22, 2014

Removal of Win32::IPHelper support with cygwin

	Resolvers on Cygwin can get their DNS configuration from the
	registry directly via the /proc filesystem.  Getting rid of
	the other method reduces dependencies and makes installations
	less error prone.

Rework rt.cpan.org #96119

	"Too late to run INIT block" warning for require Net::DNS
2014-10-01 10:43:12 +00:00
wiz
e063dd176e Update to 0.79:
**** 0.79 Aug 22, 2014

Feature rt.cpan.org #98149

	Add support for Android platform.

Fix rt.cpan.org #97736

	Net::DNS::Resolver->new mistakenly copies supplied arguments
	into default configuration on first instantiation.

Fix rt.cpan.org #97502

	Net::DNS::Resolver->retrans does not accept a value of 1 (uses 2 instead)

Fix rt.cpan.org #83642

	Configure CD flag in Net::DNS::Resolver->new

Fix rt.cpan.org #81760

	Reverted workaround for TXT issue preventing propagation of
	rule updates for SpamAssassin versions earlier than 3.4.0

Fix rt.cpan.org #16630

	Net::DNS::Resolver::Recurse issues lots of IMHO unnecessary DNS requests.


**** 0.78 Jul 10, 2014

Fix rt.cpan.org #97036

	Nameserver identification on Cygwin

Fix rt.cpan.org #96814

	Trailing comments not stripped in /etc/resolv.conf

Fix rt.cpan.org #96812

	Net::DNS::Resolver->new() hangs if nameserver :: exists

Fix rt.cpan.org #96755

	RFC 3597 (hex) parsing mistake

Fix rt.cpan.org #96708

	String treated as boolean in TXT

Fix rt.cpan.org #96608

	"Insecure dependency in connect" with Net::DNS::Resolver over TCP

Fix rt.cpan.org #96535

	Net::DNS::Resolver warns "Use of uninitialized value in length"

Fix rt.cpan.org #96531

	Calling $resolver->nameservers multiple times returns an
	increasingly-long list (on some perl installations)

Fix rt.cpan.org #96439

	Uninitialised decoding object when printing packet


**** 0.77 Jun 13, 2014

Fix rt.cpan.org #96151

	Unlocalised $_ modified when reading config file

Fix rt.cpan.org #96135

	Deep recursion problem on Cygwin

Fix rt.cpan.org #96119

	"Too late to run INIT block" warning for require Net::DNS

Fix rt.cpan.org #96035

	Insert missing plan 'no-plan' in 10-recurse.t

Fix inefficient Net::DNS::SEC compatibility code


**** 0.76 May 23, 2014

Fix rt.cpan.org #95738

	Test failure with IPv6 address in resolver.conf but without
	prerequisite IO::Socket::INET6 package installed.

Fix rt.cpan.org #95596

	Incorrect parsing of nameserver lines in resolv.conf

Feature rt.cpan.org #79568

	Implement prefer_v6 resolver configuration attribute.

Fix rt.cpan.org #67602

	Set resolver configuration defaults at first instantiation
	instead of module load time.


**** 0.75 May 8, 2014

Fix rt.cpan.org #94069

	Compile-time constant in Domain.pm/Text.pm cannot be used to
	store pointer to encoding object when using perlcc compiler.
	Thanks are due to Reini Urban for testing the revised code.

Fix rt.cpan.org #93764

	Resolver gives unhelpful errorstring when attempting to use
	IPv6-only nameserver without INET6 and Socket6 installed.

Fix rt.cpan.org #92626

	Clarify documentation surrounding SRV RR sorting

Feature

	Implement TSIG verified zone transfer.

Fix rt.cpan.org #92433 & #91241

	TSIG: implement sign/verify for multi-packet message.

Fix rt.cpan.org #79569

	Iterate nameservers in AXFR


**** 0.74 Jan 16, 2014

Fix rt.cpan.org #91306

	Nameserver crashes on malformed UDP query.

Fix rt.cpan.org #91241

	TSIG: Fix incorrectly generated %algbyval table.

Feature

	Add CAA, EUI48 and EUI64 RR implementation.


**** 0.73 Nov 29, 2013

Fix rt.cpan.org #88778

	$update->unique_push() does not work as advertised.

Fix rt.cpan.org #88744

	Nameserver crashes on malformed TCP query.

Fix rt.cpan.org #84601/#81942

	Fix memory leak on packet cleanup. Indirect self-reference via
	header prevented garbage collector from deallocating packet.

Feature rt.cpan.org #84468

	TSIG: add support for HMAC-SHA1 .. HMAC-SHA512

Fix rt.cpan.org #84110

	Incorrect parsing of PTR records in zonefile.

Fix rt.cpan.org #83755

	Erroneous attempt to invoke Net::LibIDN package in Domain.pm.

Fix rt.cpan.org #83078

	Can't locate Net/DNS/Resolver/linux.pm in @INC
	Conjecture:  eval{ ... };  if ($@) { ... };  broken by threads.

Fix rt.cpan.org #83075

	ZoneFile.pm wrongly rejects $TTL 0 directive.

Fix rt.cpan.org #82621

	Error string empty after failed TCP query.

Fix rt.cpan.org #82296

	IPv6 with embedded IPv4 address not mapped to ip6.arpa.

Fix rt.cpan.org #82294

	Perl taint inadvertently removed in Domain and Text objects.

Feature rt.cpan.org #53610

	add TSIG validation support
2014-09-06 12:14:33 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
obache
9b57b4605a Fix/Update DEPENDS paterns for perl CORE modules, with some trivial fixes.
Bump PKGREVISION for runtime dependency pattern changed packages.
2013-12-09 14:17:41 +00:00
wiz
4d5af757fe Update to 0.72:
**** 0.72 Dec 28, 2012

Fix rt.cpan.org #82148

	nxrrset fails to ignore RDATA.

Fix rt.cpan.org #82134

	TSIG key and algorithm names not downcased in digest.
	Class not forced to ANY.

Fix rt.cpan.org #82063

	yxrrset, nxrrset and rr_del functions should force zero TTL.

Fix rt.cpan.org #82047

	Clarify documentation to indicate that header counts may
	differ from the number of RRs present if a packet is corrupt.

Fix rt.cpan.org #81941

	Clarify documentation to make clear that bgread will not switch to
	TCP when a truncated packet is received.

**** 0.71 Dec 15, 2012

Temporary workaround rt.cpan.org #81760

	The rdatastr method for TXT RRs will return unconditionally
	quoted rdata fields to work around an issue with updating
	SpamAssassin rules.  This workaround will be reverted after
	release of a version of SpamAssassin which resolves the issue.

Fix rt.cpan.org #81942

	Fix memory leak on packet cleanup. The back-reference via the
	header attribute (with xbody) caused the garbage collector not
	to clean a packet. Header is now explicitly cleaned via
	Net::DNS::Packet::DESTROY.

Fix TSIG initialization

	Uninitialised algorithm attribute caused signature generation
	to fail silently when creating a TSIG signed packet.

Fix rt.cpan.org #81869

	The rr_del auxilliary function broken by a conflicting change
	in the RR.pm string parser. Note the ambiguous use of ANY,
	which may stand for CLASS255 or TYPE255 depending upon the
	argument string presented.

Fix rt.cpan.org #81756

	Test failures on Perl 5.8.5 .. 5.8.8.
	lc(), uc() and case insensitive regex matching broken for UTF8.
	Thanks are due to Paul Howarth for patient work with perl -d.

Fix rt.cpan.org #81787

	NXDOMAIN no longer reported by $resolver->errorstring.

Fix rt.cpan.org #81814

	Allow zero in format, tag and algorithm fields of CERT RR.

Fix rt.cpan.org #81786

	Substitute last owner for leading spaces in multiline zonefile RR.

Fix rt.cpan.org #77444

	Make use of new extended header modus operandi for OPT records
	also in the resolver. Preventing a warning.

**** 0.70 Dec 6, 2012

Feature added support for NID L32 L64 LP, RFC6742.
2013-09-05 19:31:18 +00:00
joerg
f7b9e1e149 Don't try to build and use netdns.a. It would result in duplicate
declarations during linking with clang. Thanks to uwe@ for the help.
2013-08-15 16:36:11 +00:00
he
ede6f799ac Add a patch allowing the caller to tweak the qdcount, ancount,
nscount and arcount header fields, so that fpdns can be allowed to
craft particular packets.
2013-07-31 09:47:52 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
tron
19fd9a3b46 Reset maintainer to "pkgsrc-users@NetBSD.org". 2013-03-02 10:44:33 +00:00
wen
d65ddc042a Update to 0.69
Upstream changes:
**** 0.69 Dec 5, 2012

Feature added support for NID L32 L64 LP, RFC6742.

Feature rt.cpan.org #62030

	Parsing of BIND zone files implemented in Net::DNS::ZoneFile.
	This replaces and is backward compatible with the CPAN module
	of the same name.

Enhancement to simplify RR subtype template and recode packages.

Enhancement rt.cpan.org #75185

	Packet decoder returns index to end of decoded data.

	Added packet->reply() method.

Fix rt.cpan.org #79569

	AXFR not setting packet->answer_from.

Enhancement rt.cpan.org #18819

	Added support for Unicode and non-ASCII character encoding.

Feature integrate OPT as a header extension

	Treat extended rcodes and the DO flag like they are part of
	the packet header.

Fix rt.cpan.org #77444

	Support escaped characters according to RFC1035 in TXT rdata.

Fix rt.cpan.org #77304

	Fix resolver searchlist from registry setup on Win32.

Enhancement rt.cpan.org #67570

	Make wire2presentation two till eighteen times faster.
	A contribution from Matthew Horsfall

Fix rt.cpan.org #73366

	Remove existing TSIG when resigning with a new TSIG and give warning.

Fix rt.cpan.org #75330

	Also try nameserver without glue (as a last resort) when recursing.

Fix rt.cpan.org #74493

	Read correct resolver configuration in OS/2.
2012-12-06 13:09:04 +00:00
asau
e059e7e469 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 17:18:07 +00:00
wiz
46f3308031 Update to 0.68:
**** 0.68 Jan 30, 2012

Fix rt.cpan.org #72314

	Let a Net::DNS::Nameserver bind on Net::DNS::Nameserver::DEFAULT_ADDR
	as a last resort.

Fix to suppress false warnings about subroutine profiles on ancient
	versions of perl.

Fix to avoid constants with value undef which prevents unwanted code from being
	optimized away on ancient versions of perl.

Fix code error in PTR.pm, canonical RDATA not downcased.

Enhancement to clarify the function of parse and data methods, by renaming them
	to decode and encode respectively.

Feature IDN query support.

	Question.pm modified to use the recently introduced DomainName.pm
	module to represent DNS names.  Queries for domain names containing
	non-ASCII characters are now possible on Unicode platforms with CPAN
	Net::LibIDN installed.

Introduction of Mailbox.pm module that will be used in the future to represent
	RDATA components containing DNS coded RFC822 mailbox addresses.

Introduction of Text.pm module that will be used in the future to represent
	RDATA components containing text.


**** 0.67 Nov 4, 2011

Enhancement rt.cpan.org #60726

        On Cygwin Net::DNS now builds without Win32::IPHelper, unless a
        previous version is updated that did use it.
        The choice may also be set by the --iphelper or --noiphelper option
        to Makefile.PL.

Fix to suppress IO::Socket::INET(6)::peerhost usage with TCP. On some systems
        it doesn't work after receiving data.

Enhancement rt.cpan.org #43142

        Allow ReplyHandlers to indicate that no answer should be returned
        by the Net::DNS::Nameserver.

Fix rt.cpan.org #71796

	Prevent TCP accepts from blocking on unfinished 3-way handshakes.

Fix rt.cpan.org #65607

	Make 64bits windows work by depending on Win32::IPHelper version 0.07
	Thanks to Lian Wan Situ.

Fix rt.cpan.org #66470

	Named nameserver should be reachable by IPv6 too.

Fix to make tests work in jailed environments where a reply might come
	from a different address than that of the loopback interface.

Feature to use a class method ReplyHandler for classes inheriting from
	Net::DNS::Nameserver.

	A contribution from Rob Brown.

Fix rt.cpan.org #71062

	Replace the usage of the obsolete Win32::Registry module by
	Win32::TieRegistry module.

Fix rt.cpan.org #68731

	Fix linking of the C compiled parts of the library on Mac OS X

New improved version of the check_soa script in the contrib section.

	A contribution from Dick Franks.

Fix rt.cpan.org #70830

	Make t/08-online.t handle NXDOMAIN hijacking that return more then one
	answer.

Fix rt.cpan.org #24525

	Removed dependency on Net::IP

Fix online tests to use the library as documented and not use knowledge of the
	internal workings of the classes that should be hidden.

	A contribution from Dick Franks

Fix rt.cpan.org #55682
	Make online tests non-fatal by default.
	All interactive prompts are removed from Makefile.PL.
	Online tests may still be made a requisite by using the --online-tests
	option.

Major rework of Net::DNS::Domain.pm and the addition of Net::DNS::DomainName.pm

	Which paves the way towards handling of character encodings and IDN.
	A contribution from Dick Franks.

Fix rt.cpan.org #69174

	Typo that prevented TCP traffic from being replied from the same
	socket as it was received on.

Fix rt.cpan.org #68338

	Suppress warnings of the deprecated use of qw as parentheses in
	perl 5.14.

Enhancement rt.cpan.org #67418

	A contribution from Wolfsage to perform presentation to wire format
	conversion more efficiently.

Fix rt.cpan.org #67133

	Gracefully handle corrupted incoming packets in Net::DNS::Nameserver.

Feature to manage serial numbers in SOA records in a modular and extensible way.

	Three modules are provided. Strictly sequential, Date Encoded and
	Time Encoded.  A contribution from Dick Franks.

Fix rt.cpan.org #53325

	Make Net::DNS::Resolver load even if /etc/resolv.conf is unreadable.

Fix rt.cpan.org #63486

	Make t/08-online.t fail gracefully in stead of crash on failures.

Fix rt.cpan.org #55586

	Various typo fixes.

Fix rt.cpan.org #55682

	Really do not use networking functions when online tests are disabled.

Fix rt.cpan.org #64562

	Replace TSIG key with the signature of the whole packet when signing
	a packet, even when the TSIG key is not the first in the additional
	section.

Fix rt.cpan.org #56181 and #47265

	Assembly of segmented TCP traffic.

Feature rt.cpan.org #57289

	Provide a configurable IdleTimeout for Net::DNS::Namserver.

Fix rt.cpan.org #53595

	Fix documentation to reflect code behaviour where on successful packet
	creation, the error should be ignored.

Fix rt.cpan.org #58914

	Fix spelling of "algorithm"

Fix rt.cpan.org #61725

	Include default domain in the search list on Win32.
	Thanks Mark Rallen.

Fix rt.cpan.org #63321

	A Net::DNS::Nameserver without a NotifyHandler now responds NOTIMP
 	to NOTIFY requests.

Fix rt.cpan.org #53595

	Documentation now reflects Net::DNS::Packet construction behaviour.
2012-10-21 22:12:09 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
obache
3b0f2f4d0e Revision bump after updating perl5 to 5.14.1. 2011-08-14 14:14:40 +00:00
seb
c3f1e700ad Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
2010-08-21 16:32:42 +00:00
wiz
d4a9dbf9c9 Update to 0.66:
**** 0.66 Dec 30, 2009

Feature Truncation for Nameserver
    fixes rt.cpan.org #33547 and #42744

    TAKE CARE:
    this feature may cause unexpected behavior for your nameservers
    and can be turned off by setting Truncate to 0 during the creation
    of the nameserver.
    my $ns = Net::DNS::Nameserver->new(
		Truncate => 0,

    );


    Net::DNS::Packet::truncate is a new method that is called from
    within Net::DNS::Nameserver that truncates a packet according to
    the rules of RFC2181 section 9.

    Acknowledgement Aaron Crane for an elegant test and for
    inspiration for a direction.


Feature: Added Net::DNS::Domain
    Net::DNS::Domain is an attemt to consistently approach the various
    ways we interface with what RFC 1035 calls <domain-name>.

    The class and its test script t/02-domain.t are included to be
    exposed to various architectures.

    The class and its methods may be subject to change, both in terms of
    naming and functionality.

    A contribution by Dick Franks

Fix improved fuzzy matching of CLASS and TYPE in the Question
    constructor method.

    A contribution by Dick Franks.

Fix rt.cpan.org #43770

    Update->rr_del() was reported broken for AAAA after 0.65.
    The same bug also occured in HINFO RR.


Fix rt.cpan.org #43765

    Code inconsistent with documentation for loop_once.

    Note: Keeping timeout undefined in loop_once will now block until
    something arrived on the socket.

Fix rt.cpan.org #47050

    Fixed logic error in bgsend socket acquisition code.

Fix rt.cpan.org #47265 (partial)

    Frequently Net:DNS under Windows XP has a UDP problem which is
    caused by a buggy implementation of SOCKS under Windows.

    One liner added to not continue UDP processing when that happens.

Feature KX RR

    Added support for the KX RR, RFC2230
    The implementation is trivial since the KX inherets almost all of
    its functionality by inheritance from the MX RR.


Fix NSAP RR string representation

    RFC1706 specifies the masterfile format to have a leading "0x" and
    optional dot. This was not how the RR was represented with the
    rdatastr method (and hence string and print).

Fix rt.cpan.org #52307 AAAA v4compat parsing bug
    Acknowledgement: BLBLACK

Fix AAAA dynamic update

    Dynamic update of AAAA caused FORMERR on the prerequisite caused
    by AAAA creating rdata even when an address whas never specified.
    This fix may cause difference in behavior for people who expect a

    NULL address ("::") when creating a AAAA without an address
    specified.


Feature HIP RR

    Added support for the HIP RR, RFC5205
    perldoc Net::DNS::RR::HIP for more information.


Feature DHCID RR
    Added rudimentary support for the DHCID RR.


Fix rt.cpan.org #50883
    This is basically #11931 but for cygwin.

    Codepath in Cygwin and Win32 are now the same. This adds a
    dependency in cygwin.
    Acknowledgements "mikaraento"

Fix rt.cpan.org #45407 and #43190
    Fixed escaping of semicolon.

    Note a change in behavior:
    For TXT and SPF the rdatastr method (and therefore the
    print, and string method) returns the escaped format while the
    chr_str_list method will return unescaped format.


Fix rt.cpan.org #43393
    Typo in 01-resolver.t

Fix rt.cpan.org #43273
    Added check for unitialized opcode in headermask in
    Nameserver.pm

Fix rt.cpan.org #46635
    Minor documentation error in opt.pm

Fix rt.cpan.org #51009
     Fixed handling of empty string in Net::DNS::stripdot.
     Elegant one-liner supplied by JMEHNLE.

Fix rt.cpan.org #49035

    Comment parsing fixed: Semicolon in character string blocks (such
    as in TXT and NPTR) were only recognized when escaped.
    Also fixed the NAPTR regular expression to not interpret
    "bla' 'foo" as two strings bla and foo, but as one: bla' 'foo

Fix cd flag settings

    Resolver bug and fix reported by Jon Haidu.
2010-01-20 14:45:38 +00:00
heinz
f6eb5e6f2a Set or updated LICENSE 2010-01-16 19:27:17 +00:00
seb
93d99aad85 Bump PKGREVISION to 1.
Change dependency on the soon to be removed net/p5-INET6 to
the identical net/p5-IO-Socket-INET6
2009-03-07 15:34:40 +00:00
wiz
8fa9f358d8 Update to 0.65:
**** 0.65 January 26, 2009

Fix rt.cpan.org #41076

    When the AAAA object was constructed with new_from_hash with an
    address containing the "::" shorthand notation normalization was
    not done properly.

Fix rt.cpan.org #42375

    Typo in Win32.pm Registry root.



**** 0.64 December 30, 2008

Feature rt.cpan.org #36656

    Added support for the APL record (RFC 3123)
    The module consists of a list of Address Prefix Item objects
    as defined in the Net::DNS::RR::APL::ApItem class.
    NOTE: Class and its interface may be subject to change.


Fix rt.cpan.org #11931 Wrong nameserver list handling in
                       Net::DNS::Resolver::Win32


    The init method has been rewritten to be based on WIN32::IPhelper for
    the selection of the domain and the IP addresses. This is believed to
    be more portable than trying to fetch the data from the registry.
    We still trying to get the searchlist from the registry.

    WARNING: If you use Perl under WIN32 (eg ActivePerl or Strawberry Perl)
    then your module dependency graph has changed drastically

Fix IPv6 modules
    When IO::Socket::INET6 was available but Socket6 was not the code would
    recurse to infinity.

Fix rt.cpan.org #21757 and Feature: Connectivity during test
    Addition of --no-IPv6-tests and --IPv6-tests option in Makefile.PL.
    Note: This causes two questions to be asked when building the
    Makefile instead of one.

    Besides the test suites are constructed so that all the connectivity testing
    happen in 001-connectivity.t and inavailability of connectivity over a certain
    transport is signalled over files t/online.disabled and t/IPv6.disabled respectivly.
    Both files are removed by t/99-cleanup

Fix rt.cpan.org #34511
    Priming query logic contained unneeded recursion.
    Now also fals back to hardcoded hints if there are no nameservers whatsoever.

Fix rt.cpan.org #38390 and 37089
    Added CD and AD bit control to the resolver.

    The CD flag defaults to being unset and the AD flags is set by default
    whenever DNSSEC is available.
    Both flags default to unset in absence of DNSSEC.


Fix rt.cpan.org #37282
   Improved error reporting during client disconnect from the nameserver

NOTE rt.cpan.org # 40249

   Release 0.62 introduced a feature to parse data inside a packet only
   when needed. This can the following to happen:

   Eception: corrupt or incomplete data at
                     /usr/lib/perl5/Net/DNS/RR.pm line 510.
   caught at -e line 1

   This may happen when you have undefined your packet data before all the
   sections have been fully parsed. Such as in:

   $packet = Net::DNS::Packet->new(\$data);
   undef($data);

   The workaround is to force parcing by calling the methods that
   parse the data. e.g.

   $packet = Net::DNS::Packet->new(\$data);
   $packet->answer; $packet->additional; $packet->authority;
   undef ($data)


Fix rt.cpan.org # 41076 and # 41071

  Net::DNS::RR->new_from_hash function would not normalize the content
  of the data so that a method getting a string representation would
  get inconsistent results depending on whether a RR was created from
  a string of from a hash.

Fix rt.cpan.org # 41296

  Compression buggy for large packets. Fix by Kim Minh.


Fix rt.cpan.org # 35752

  Perl 5.10.0 gave a number of issues on several platforms, prefering
  XSLoader over Dynaloader seemed to fix those.


Bug rt.cpan.org #34510
  Buggy setting of "Recursion too deep, aborted" corrected.

Feature (rt.cpan.org #39284)

  The ReplyHandler now also receives a variable with an annonymous has with the connection details. Variables
  supplied to the Reply handler are:  $qname, $qclass, $qtype, $peerhost, $query, $conn
  The hash referenced by $conn contains the following buckets: sockhost, sockport,  peerhost, and peerport.



Feature t/08-online.t and t/10-recurse.t

  In particular environments a query for a.t. will resolve and or
  middleboxes will replace DNS packet content for queries to the root.
  A bunch of test is skipped when this (broken) environment is
  detected.



Feature/Bug rt.cpan.org #22019

  The initial fix for rt 22019 was to strip a trailing dot from all
  attributes that where povided as argument for the
  Net::DNS::RR::new_from_hash function.  We have introduced
  Net::DNS::stripdot, a function that will strip the dots of domain
  names, taking into account possible escapes (e.g. labels like
  foo\\\..).  As a side effect the new_from_string method will now
  convert possible spaces that are not trapped by some of the
  new_from_string functions and convert them to \032 escapes.

  For information: The internal storage of domain names is using
  presentation format without trailing dots.



Bug
  @EXPORT and @EXPORT_OK moved to a BEGIN block so that Net::DNS::SEC
  can make use of exported functions


Feature/Bug

  The Notify handler introduced in 0.63 did not set the OPCODE on the
  reply appropriately. This has been solved generically by allowing the
  "Headermask" that is returned as 4th element by the reply or notify
  handler in the nameserver also allows for the opcode to be set.
  e.g. as in return ("NXDOMAIN",[],[],[],{ opcode => "NS_NOTIFY_OP" }
  );
2009-02-22 16:38:46 +00:00
he
b021813da0 Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
2008-10-19 19:17:40 +00:00
tron
3fbd4350e3 Update "p5-Net-DNS" package to version 0.63.
Changes since version 0.62:
===========================
*** 0.63, 8 Feb 2008

This version contains a Security Fix.

Feature NotifyHandler in Nameserver

  The NotifyHandler is a new attribute to the nameserver used in the
  same way as the ReplyHandler except that it is executed when the
  opcode is NS_NOTIFY (RFC1996). It takes the same arguments as the
  reply handler (i.e. $qname, $qclass, $qtype, $peerhost, and $query).
  Corrections made in the documentation.

Fix rt.cpan.org #32937: 5.11 introduces new warning on uc(undef)

  The patch supplied fixes for methods where undefined arguments were
  likely. For methods where undefined arguments don't make the warning
  will be printed.


Fix rt.cpan.org #32147: Default LocalAddr broken in Net::DNS::Nameserver 0.62

  Listen on the default address if LocalAddr not defined.


Fix rt.cpan.org #30316  Security issue with Net::DNS Resolver.

  Net/DNS/RR/A.pm in Net::DNS 0.60 build 654 allows remote attackers
  to cause a denial of service (program "croak") via a crafted DNS
  response (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-6341). Packet
  parsing routines are now enclosed in eval blocks to trap exception
  and avoid premature termination of user program.

Bug: mbox-dname and txt-dname were not allowed to be empty in the RP RR.
   Fix by Peter Koch
2008-03-15 12:10:21 +00:00
heinz
c3df777e65 Updated to version 0.62.
Pkgsrc changes:
  - A C compiler is necessary.

Changes since version 0.61:
===========================
*** 0.62, 28 December 2007
Features: Move of some functionality out of the Packet to the Question
   and RR classes; parsing of elements in the packet is now performed
   by calling the appropriate subclasses.

   New methods were introduced:
   * Net::DNS::Packet->parse()
   * Net::DNS::RR->parse()
   * Net::DNS::Question->parse()

   The Packet class now defers parsing of authority/additional until
   their content is really needed. This should cause a bit of
   performance improvement.

   Dick Franks is acknowledged for this Good Work (TM).

Feature: the Net::DNS::Packet's answersize() method will from now on
    ignore its arguments and just return the size of the packet.

Feature: The Net::DNS::RR->new() method used to call
    Net::DNS::RR->new_from_data() whenever called with the appropriate
    combination of arguments. That (undocumented) behavior has been deprecated.
    Use Net::DNS::RR->new_from_data() directly if you depended on that.

Feature: Net::DNS::Packets unique_push now ignores the TTL in
    comparison of uniqueness, this is closer to the intend of
    RFC2181, but not yet fully compliant.

Fix rt.cpan.org #29816
    Acquiring the IP address for the Resolver under Cygwin is made
    more resilient.

Fix rt.cpan.org #31425
    Empty question section in Base.pm search method detected

Fix rt.cpan.org #31042
    Makefile corrected to add a library target.

Fix rt.cpan.org #29818
    10-recurse.t used to fail in very specific environment (where a query for
    qname="." and qtype="NS" would return with an empty additional section).
    Fixed by adding the hints explicitly; this also forces the tests to take
    place under the root served by a-m.root-servers.net

Fix rt.cpan.org #29877
    Made 00-version.t recognize a "GIT" environment.

Fix rt.cpan.org #29878
   SPF.pm did not evaluate as true. Thanks Bjorn Hansen.

Fix rt.cpan.org #21398
   answersize() and answerfrom() set for persistent sockets

Fix rt.cpan.org #29883
   Fix various tests only available through SVN, so they are
   more robust (Acknowledgements Bjoern Hansen)

Fix rt.cpan.org #24343
   Resolver's nameserver() method would do silly things with undefined
   arguments.

Fix rt.cpan.org #29531
   Nameserver.pm, Packet.pm and Question.pm modified to avoid erroneous PTR
   lookup in response to mischievous query packet containing an IP address.

Fix rt.cpan.org #27970 better netdns.o
    Marek Rouchal provided two minor improvements for linking the C
    code sniplets

Fix rt.cpan 28345
    A fix in Test::Simple revealed an off by 1 error in the testplan
    for 05-rr-rrsort.t. The fix is to remove a test, creating a dependency
    on Test::Simple 0.71 seemed overkill.
2008-01-08 19:29:45 +00:00
jlam
56ba4d2690 Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mk
can handle packages having no PLIST files.
2007-10-25 16:54:26 +00:00
heinz
7379109c0b Updated to version 0.61.
Pkgsrc changes:
  - none

Changes since version 0.60:
===========================
*** 0.61, 1 August 2007

Fix rt.cpan.org #28106, 28198, and 28590
    Modification of $_ in various places.

Fix
    t/11-inet6 assumed lowercase domain names.
2007-08-24 19:28:16 +00:00
taca
660a48c1a9 Update p5-Net-DNS package to 0.60.
Changes are more than 100 lines, but it fixes these security problem.

	http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-3377
	http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-3409
2007-07-03 14:53:20 +00:00
heinz
3b9fd51eef Updated to version 0.59.
Pkgsrc changes:
  - Removed patch-ac for t/11-inet6.t, this got integrated by the software
    maintainer.

Changes since version 0.58:
===========================
*** 0.59 September 18, 2006
Fix rt.cpan.org 20836, 20857, 20994, and 21402

    These tickets all revolved around proper reverse mapping of IPv6
    addresses.
    Note that directly calling Question->new() withouth arguments will
    cause the qclass,qtype to be IN, A instead of ANY, ANY.
    Net::DNS::Resolver's search() method would always gracefully
    interpret a qname in the form of an IPv4 address. It would go out
    and do a PTR query in the reverse address tree. This behavior has
    also been applied to IPv6 addresses in their many shapes and
    forms.
    This change did two things, 1) root zone not implicitly added to
    search list when looking up short name, 2) default domain appended
    to short name if DEFNAMES and not DNSRCH.

Fix rt.cpan.org 18113
   Minor error due to unapplied part of patch fixed.

Feature: Experimental NSEC3 hooks.
   Added hook for future support of (experimental) NSEC3 suppport
   (NSEC3 having an experimental type code).
2007-03-24 18:43:40 +00:00
joerg
aa48c98240 DESTDIR support. 2006-11-05 17:31:09 +00:00
heinz
3b22836adc Updated to version 0.58.
Pkgsrc changes:
  - Added patch-ac to change the number of skipped online tests (still
    incorrect).

Changes since version 0.57:
===========================
Feature: hooks for DLV support in Net::DNS::SEC
   added hooks for DLV support which is/will be available in
   Net::DNS::SEC as of subversion version 592 (Tests are done agains
   the subversion number, not against the perl release version)
   Net::DNS::SEC version 0.15 will have DLV support.

Partly Fixed rt.cpan.org 18940
   djhale noticed a number of error conditions under which de
   udp_connection in Nameserver dies. We now print a warning instead
   of dying.

Fix rt.cpan.org 18958
   Fixed typebyname croak for SIGZERO. Acknowledgements to djhale.

Optimize rt.cpan.org 11931
   Hanno Stock optimized the method to get the list of available
   interfaces in Win32.  I have only done very rudimentary tests on
   my Windows XP system.

Fix dependency on "CC" rt.cpan.org 19352
   The Makefile.PL depended on availabliltity of "cc" and would bail
   out on systems where gcc is exclusivly available. Thanks to Rob
   Windsor for noticing and patching.

Fix compressed dnames in NAPTR/SRV
    Clayton O'Neill noted that the the domain names in in the NAPTR
    and SRV RRs rdata were subject to name compression which is not
    conform the specs. Also see RFC 2782 and 2915.

Fix rt.cpan.org 18897
   Zero-length rdata in TXT fixed (Acknowledgements to Roy Arends)

Fix rt.cpan.org 18785
   SPF would not work unless the TXT RR was not loaded first. No
   wonder, SPF fully inherits TXT and loading of TXT.pm is therefore a
   prerequisit.

Fix rt.cpan.org 18713
    Net::DNS::Resolver now deals gracefully with persistent sockets
    that got disconnected. It will first try to connect again to the
    socket and if that fails it will try to connect to the next
    available nameserver. tcp_timeout() is the parameter that
    determines how long to wait during a reconnect.

Fix rt.cpan.org 18268
     Added reference to RFC in croak message for label length > 63 in
     dn_comp().

Fix rt.cpan.org  18113
    The inet6 tests contained another bug when online-tests were disabled.
    Klaus Heinz discovered and provided a patch.
2006-09-03 16:55:15 +00:00
heinz
5b28e71cee Updated to version 0.57.
Pkgsrc changes:
  none

Relevant changes since version 0.55:
=====================================
Fix rt.cpan.org 17783
    The inet6 tests do not skip enough tests when ipv6 is not available.
    I did not catch this in my setup since IPv6 is available on all my
    machines.

Feature Implemented SPF (typecode 99).

Feature added rrsort() function.
   See Net::DNS and Net::DNS::RR documentation for details.

Fix rt.cpan.org 14653 and 14049
   TCP fallback after V6 socket failure
2006-03-12 00:10:16 +00:00
heinz
d01d93f3dd Updated to version 0.55.
Pkgsrc changes:
  - Removed hacks.mk. Net::DNS should work on Mac OS 10.4 withouth this
    workaround.
  - The package has two options now: "inet6" and "online-tests".
  - p5-Net-DNS requires an additional package, p5-Net-IP.

Relevant changes since version 0.49:
====================================
- many bug fixes (see Changes and rt.cpan.org)

Feature Net::DNS::Nameserver loop_once()
   Uncommented the documentation of the loop_once() function and introduced
   get_open_tcp() that reports if there are any open TCP sockets (useful
   when using loop_once().

   loop_once() itself was introduced in version 0.53_02

Feature async nameserver behaviour.

Fix IPv6 on AIX
    Binding to the local interface did not work when local address was
    specified as "0" instead of "::". The problem was identified,
    reported and fixed by Achim Adam.

Feature
    Net::DNS::RR::OPT

    added the the size(), do(),set_do() and clear_do() methods.

Feature:
      Added "ignqrid" as an attribute to the Resolver.

      use as:
      ok (my $res=Net::DNS::Resolver->new(nameservers => ['127.0.0.1'],
				    port => 5354,
				    recurse => 0,
				    igntc => 1,
				    ignqrid => 1,
				    ),

      When the attribute is set to a non-zero value replies with the
      qr bit clear and replies with non-matching query ids are
      happily accepted. This opens the possibility to accept spoofed
      answers. YOU CAN BURN YOURSELF WITH THIS FEATURE.

      It is set to 0 per default and remains, except for this changes file
      an undocumented feature.

Fix: Makefile.PL: Minor tweak to recognize Mac OS X 10.4 not so relevant
    since netdnslib is distributed with the code.

Feature: Calling the Net::DNS::Resolver::dnssec method with a non-zero
    argument will set the udppacketsize to 2048. The method will
    also carp a warning if you pass a non-zero argument when
    Net::DNS::SEC is not installed.

Feature: IPv6 transport support
     IPv6 transport has been added to the resolver and to the
     nameserver code.

     To use IPv6 please make sure that you have IO::Socket::INET6 version
     2.01 or later installed.

     If IPv6 transport is available Net::DNS::Resolver::Recurse will make
     use of it (picking randomly between IPv4 and IPv6 transport) use
     the force_v4() method to only force IPv4.

Feature: Binary characters in labels
     RFC 1035 3.1:

       Domain names in messages are expressed in terms of a sequence of
       labels.  Each label is represented as a one octet length field
       followed by that number of octets.  Since every domain name ends
       with the null label of the root, a domain name is terminated by a
       length byte of zero.  The high order two bits of every length octet
       must be zero, and the remaining six bits of the length field limit
       the label to 63 octets or less.

     Unfortunatelly dname attributes are stored strings throughout
     Net::DNS.  (With hindsight dnames should have had their own class
     in which one could have preserved the wire format.).

     To be able to represent all octets that are allowed in domain
     names I took the approach to use the "presentation format" for
     the attributes. This presentation format is defined in RFC 1035
     5.1.

     I added code to parse presentation format domain names that has
     escpaped data such as \ddd and \X (where X is not a number) to
     wireformat and vice verse. In the conversion from wire format to
     presentation format the characters that have special meaning in a
     zone file are escaped (so that they can be cut-n-pasted without
     pain).

     These are " (0x22), $ (0x24), (0x28), ) (0x29), . (0x2e) , ;
     (0x3b), @ (ox40) and \ (0x5c). The number between brackets
     representing the ascii code in hex.

     Note that wherever a name occurs as a string in Net::DNS it is
     now in presentation format.

     For those that dealth with 'hostnames' (subset of all possible
     domain names) this will be a completely transparent change.

     Details:

     I added netdnslib wich contains Net::DNS's own dn_expand. Its
     implemented in C and the source is a hodgepodge of Berkeley based
     code and sniplets from ISC's bind9 distribution. The behavior, in
     terms of which chars are escaped, is similare to bind9.

     There are some functions added to DNS.pm that do conversion from
     presentation and wire format and back. They should only be used
     internally (although they live in EXPORT_OK.)

     For esotheric test cases see t/11-escapedchars.t.
2006-02-09 21:35:46 +00:00
schmonz
8e7a8c797a Fix build on OS X with BIND9 system resolver by defining BIND_8_COMPAT.
(This needs to be fixed more generally across pkgsrc post-freeze.)

Reviewed by wiz.
2005-09-17 20:58:59 +00:00
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00