[libnet-dns-perl] 01/23: Imported Debian patch 0.66-2
Ondrej Sury
ondrej at moszumanska.debian.org
Tue Jun 17 13:50:09 UTC 2014
This is an automated email from the git hooks/post-receive script.
ondrej pushed a commit to branch master
in repository libnet-dns-perl.
commit be693524549973b96a0af9bbe3db612b2ad03f13
Author: Florian Hinzmann <fh at debian.org>
Date: Thu Mar 18 10:24:02 2010 +0100
Imported Debian patch 0.66-2
---
debian/README.Debian | 23 ++
debian/changelog | 276 +++++++++++++++++++++
debian/compat | 1 +
debian/control | 19 ++
debian/copyright | 108 ++++++++
debian/dirs | 0
debian/docs | 1 +
debian/patches/dnswalk-readme-note.patch | 16 ++
debian/patches/do-not-fail-make-test-offline.patch | 59 +++++
debian/patches/manpages-typos.patch | 62 +++++
debian/patches/perl-path-examples.patch | 105 ++++++++
debian/patches/series | 4 +
debian/rules | 127 ++++++++++
debian/source/format | 1 +
debian/watch | 13 +
15 files changed, 815 insertions(+)
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..661ca62
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,23 @@
+libnet-dns-perl for DEBIAN
+--------------------------
+
+
+For general information please refer to the upstream README file which can
+be found at /usr/share/doc/libnet-dns-perl/README.gz. Installation is done
+by the Debian package, so you should not have to read that.
+
+For IPv6 support you will need Socket6 and IO::Socket::INET6 which is provided
+by the Debian package libio-socket-inet6-perl. libnet-dns-perl suggests
+this package and might recommend it soon.
+
+
+For information how to use this module read the Net::DNS manual page.
+
+
+There are a few demonstration scripts in the
+/usr/share/doc/libnet-dns-perl/examples/demo/ directory.
+See README there for more information.
+
+Contributed scripts are in the
+/usr/share/doc/libnet-dns-perl/examples/contrib directory,
+see README there for more information.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7cf3208
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,276 @@
+libnet-dns-perl (0.66-2) unstable; urgency=low
+
+ * Change t/01-resolver.t: Do not try to check for private
+ ip address with online tests disabled.
+ "make test" passes that way even without online access.
+
+ -- Florian Hinzmann <fh at debian.org> Thu, 18 Mar 2010 10:24:02 +0100
+
+libnet-dns-perl (0.66-1) unstable; urgency=low
+
+ * New upstream release.
+ * Add ${misc:Depends}.
+ * Add and update Build-Depends, include needed versions of perl modules.
+ * Switch to dpkg-source 3.0 (quilt) format.
+ * Run online test by default, support DEB_BUILD_OPTIONS=nocheck.
+ * Bump standards version to 3.8.4.0.
+
+ -- Florian Hinzmann <fh at debian.org> Mon, 15 Mar 2010 12:42:56 +0100
+
+libnet-dns-perl (0.65-2) unstable; urgency=low
+
+ * Suggest libio-socket-inet6-perl and mention that package in
+ package description and README.Debian.
+
+ -- Florian Hinzmann <fh at debian.org> Sun, 20 Sep 2009 17:28:53 +0200
+
+libnet-dns-perl (0.65-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Florian Hinzmann <fh at debian.org> Mon, 02 Mar 2009 00:00:21 +0100
+
+libnet-dns-perl (0.63-2) unstable; urgency=medium
+
+ * Add differing copyright from netdns.c to debian/copyright file
+ (closes: bug#488829). Thanks to Scott Kitterman.
+ * Add Homepage: to debian/control file.
+ * Bump standards version to 3.8.0.
+ * Bump debhelper compat level to 7.
+
+ -- Florian Hinzmann <fh at debian.org> Wed, 09 Jul 2008 00:23:32 +0200
+
+libnet-dns-perl (0.63-1+b1) unstable; urgency=low
+
+ * Binary-only non-maintainer upload for i386; no source changes.
+ * rebuild against perl5.10
+
+ -- Debian/i386 Build Daemon <buildd_i386-ninsei> Fri, 02 May 2008 10:30:35 -0700
+
+libnet-dns-perl (0.63-1) unstable; urgency=medium
+
+ * New upstream release, which fixes security issue
+ CVE-2007-6341 (closes: bug#457445).
+ * Do not try to delete /usr/share/perl5 while assembling package if
+ it is not there. It is no longer there with MakeMaker from Perl 5.10.
+ Thanks to Damyan Ivanov <dmn at debian.org> for report and fix
+ (closes: bug#463531).
+
+ -- Florian Hinzmann <fh at debian.org> Fri, 15 Feb 2008 01:42:53 +0100
+
+libnet-dns-perl (0.62-1) unstable; urgency=medium
+
+ * New upstream release (closes: bug#458205, #432925).
+ * Corrected small typo in the changelog entry for 0.60-1.
+ * Bumped standards version to 3.7.3, no changes necessary.
+
+ -- Florian Hinzmann <fh at debian.org> Tue, 22 Jan 2008 22:48:24 +0100
+
+libnet-dns-perl (0.60-1) unstable; urgency=medium
+
+ * New upstream release (closes: bug#430871).
+ * Use distclean instead of clean target and do not ignore all make
+ errors there.
+ * Removed now unneeded lintian override file.
+
+ -- Florian Hinzmann <fh at debian.org> Sun, 01 Jul 2007 18:19:34 +0200
+
+libnet-dns-perl (0.59-1) unstable; urgency=low
+
+ * New upstream release (closes: bug#387902).
+ * Slightly edited watch file.
+ * Bumped standards version to 3.7.2.
+
+ -- Florian Hinzmann <fh at debian.org> Wed, 27 Sep 2006 18:11:01 +0200
+
+libnet-dns-perl (0.57-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Florian Hinzmann <fh at debian.org> Fri, 31 Mar 2006 18:51:36 +0200
+
+libnet-dns-perl (0.53-2) unstable; urgency=medium
+
+ * Removed bogus parts about backup files (*~) from
+ debian/patches/40_perl-path_examples.dpatch (does not change created
+ package, only source and build environment).
+ * Added dependency on libnet-ip-perl (closes: bug#333249).
+ * Set installation directory with PREFIX instead of DESTDIR. I am not
+ aware of any important differences, but current perl policy suggests
+ PREFIX and it closes bug#274531.
+ * Added a short note about IPv6 to README.Debian.
+
+ -- Florian Hinzmann <fh at debian.org> Tue, 11 Oct 2005 15:44:49 +0200
+
+libnet-dns-perl (0.53-1) unstable; urgency=low
+
+ * New upstream release (closes: bug#329600).
+ * Bumped Standards-Version to 3.6.2.
+
+ -- Florian Hinzmann <fh at debian.org> Sun, 9 Oct 2005 01:31:25 +0200
+
+libnet-dns-perl (0.48-1) unstable; urgency=low
+
+ * New upstream release
+ * Make copyright file even more verbose (Closes: bug#223928).
+ * Added watch file.
+
+ -- Florian Hinzmann <fh at debian.org> Wed, 18 Aug 2004 23:23:04 +0200
+
+libnet-dns-perl (0.46-2) unstable; urgency=low
+
+ * Added missing build dependency (closes: bug#236425).
+
+ -- Florian Hinzmann <fh at debian.org> Sat, 6 Mar 2004 10:22:00 +0100
+
+libnet-dns-perl (0.46-1) unstable; urgency=low
+
+ * New upstream version (closes: bug#235323).
+ * Convert to use dpatch.
+ * debian/rules supports DEB_BUILD_OPTIONS.
+ * md5sums included.
+
+ -- Florian Hinzmann <fh at debian.org> Wed, 3 Mar 2004 09:48:18 +0100
+
+libnet-dns-perl (0.42-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Florian Hinzmann <fh at debian.org> Fri, 7 Nov 2003 01:05:01 +0100
+
+libnet-dns-perl (0.41-1) unstable; urgency=low
+
+ * New upstream version.
+ * Bumped Standards-Version to 3.6.1.
+ * Make package priority optional.
+
+ -- Florian Hinzmann <fh at debian.org> Mon, 6 Oct 2003 10:00:07 +0200
+
+libnet-dns-perl (0.38-2) unstable; urgency=low
+
+ * debian/rules: Moved block from target binary-indep to binary-arch.
+
+ -- Florian Hinzmann <fh at debian.org> Sat, 19 Jul 2003 00:25:38 +0200
+
+libnet-dns-perl (0.38-1) unstable; urgency=low
+
+ * New upstream version (closes: bug#190234). Upstream fixes:
+ - returns more than only one string in a TXT RR's RDATA section
+ (closes: bug#197890)
+ * Changed architecture to "any", as module contains compiled parts now
+ * Added lintian overrides as .pm files accompany binary parts in
+ /usr/lib
+
+ -- Florian Hinzmann <fh at debian.org> Fri, 18 Jul 2003 10:19:29 +0200
+
+libnet-dns-perl (0.33-1) unstable; urgency=low
+
+ * New upstream version.
+ * Mention existence of /usr/share/perl/copyright in
+ my copyright file (see bug#157614 ).
+ * Use gzip -9 to compress manual pages
+
+ -- Florian Hinzmann <fh at debian.org> Fri, 17 Jan 2003 10:13:19 +0100
+
+libnet-dns-perl (0.31-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Florian Hinzmann <fh at debian.org> Mon, 18 Nov 2002 14:28:30 +0100
+
+libnet-dns-perl (0.30-1) unstable; urgency=low
+
+ * New upstream version (closes: bug#168368).
+
+ -- Florian Hinzmann <fh at debian.org> Sun, 10 Nov 2002 17:25:43 +0100
+
+libnet-dns-perl (0.29-1) unstable; urgency=low
+
+ * New upstream version.
+ * v0.29 fixes divide by zero bug while there is no usable network
+ interface (closes: bug#144179).
+
+ -- Florian Hinzmann <fh at debian.org> Wed, 6 Nov 2002 13:37:22 +0100
+
+libnet-dns-perl (0.23-2) unstable; urgency=low
+
+ * Added depends to libdigest-hmac-perl and libmime-base64-perl (closes: bug#150258).
+
+ -- Florian Hinzmann <fh at debian.org> Sat, 22 Jun 2002 00:48:10 +0200
+
+libnet-dns-perl (0.23-1) unstable; urgency=low
+
+ * New upstream version.
+ * Untaints IP addresses (closes: bug#50476).
+
+ -- Florian Hinzmann <fh at debian.org> Wed, 12 Jun 2002 09:24:58 +0200
+
+libnet-dns-perl (0.22-1) unstable; urgency=low
+
+ * New upstream version.
+ * No "make test" while building package
+ * As no "make test" is done we don't need all that packages as
+ Build-Depends[-Indep]
+
+ -- Florian Hinzmann <fh at debian.org> Mon, 10 Jun 2002 00:38:15 +0200
+
+libnet-dns-perl (0.19-0.1) unstable; urgency=low
+
+ * NMU aknowledged ny maintainer.
+ * This update closes: Bug#131505.
+ * Seems to solve bug#50476 as well, but leaving it open for now...
+
+ -- Jonas Smedegaard <dr at jones.dk> Thu, 7 Mar 2002 16:53:10 +0100
+
+libnet-dns-perl (0.19-0.0.jones2) unstable; urgency=low
+
+ * Add required modules to Depends: as well.
+
+ -- Jonas Smedegaard <dr at jones.dk> Thu, 28 Feb 2002 18:31:34 +0100
+
+libnet-dns-perl (0.19-0.0.jones1) unstable; urgency=low
+
+ * Unofficial build of newer upstream version.
+ * Use INSTALLDIRS=vendor instead of spefifying alot of dirs.
+ * Do a make test as part of the build.
+ * Change Build-depends to Build-depends-indep and add new required
+ modules.
+ * Remove Emacs line from this changelog.
+
+ -- Jonas Smedegaard <dr at jones.dk> Thu, 28 Feb 2002 16:29:06 +0100
+
+libnet-dns-perl (0.12-5) unstable; urgency=low
+
+ * Some cosmetic changes.
+ * Moved Build-Depends from package to source section in file control.
+ * Check for values in array without defined in lib/Net/DNS.pm,
+ closes: Bug#77171.
+
+ -- Florian Hinzmann <fh at debian.org> Fri, 11 Aug 2000 23:44:39 +0200
+
+libnet-dns-perl (0.12-4) unstable; urgency=low
+
+ * Fixed missing dependancy.
+ * In compliance with debian-policy v3.0.1.1 and perl-policy v1.11
+
+ -- Florian Hinzmann <fh at debian.org> Tue, 19 Oct 1999 13:10:56 +0200
+
+libnet-dns-perl (0.12-3) unstable; urgency=low
+
+ * Rebuilt according to perl policy v1.0.
+ * File .packlist is no longer included (fixes Lintian error).
+
+ -- Florian Hinzmann <fh at debian.org> Mon, 5 Jul 1999 11:27:25 +0200
+
+libnet-dns-perl (0.12-2) unstable frozen; urgency=low
+
+ * Now demo/contrib files in doc have correct mode and perl path.
+ * The .pm files are included now. (#29586)
+
+ -- Florian Hinzmann <fh at debian.org> Mon, 28 Sep 1998 23:25:06 +0200
+
+libnet-dns-perl (0.12-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Florian Hinzmann <fh at debian.org> Fri, 18 Sep 1998 11:17:53 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..2ea8ba6
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,19 @@
+Source: libnet-dns-perl
+Homepage: http://www.net-dns.org/
+Section: perl
+Priority: optional
+Maintainer: Florian Hinzmann <fh at debian.org>
+Standards-Version: 3.8.4.0
+Build-Depends: debhelper (>= 7), libdigest-hmac-perl (>= 1),
+ libnet-ip-perl (>= 1.2), perl (>= 5.10.0), quilt (>= 0.46-7)
+
+Package: libnet-dns-perl
+Architecture: any
+Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends},
+ libdigest-hmac-perl (>= 1), libmime-base64-perl, libnet-ip-perl (>= 1.2)
+Suggests: libio-socket-inet6-perl
+Description: Perform DNS queries from a Perl script
+ Net::DNS is a DNS resolver implemented in Perl. It allows the
+ programmer to perform nearly any type of DNS query from a Perl
+ script.
+ With libio-socket-inet6-perl installed it supports IPv6.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..216425c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,108 @@
+This package was debianized by Florian Hinzmann fh at debian.org on
+Fri, 18 Sep 1998 11:17:53 +0200.
+
+It was downloaded from http://www.net-dns.org/
+
+Net::DNS is currently maintained by a group, led by:
+ Chris Reinhardt
+ ctriv at net-dns.org
+
+Net::DNS was created by:
+ Michael Fuhr
+ mike at fuhr.org
+
+
+Changes made to the packages:
+- changed perl path for demo and contrib scripts to /usr/bin/perl
+
+
+Note regarding the copyright:
+
+The copyright of the upstream package refers to the Perl license.
+That is:
+
+ Copyright 1989-2001, Larry Wall All rights reserved.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of either:
+
+ a) the GNU General Public License as published by the Free Software
+ Foundation; either version 1, or (at your option) any later
+ version, or
+
+ b) the "Artistic License" which comes with Perl.
+
+ On Debian GNU/Linux systems, the complete text of the GNU General
+ Public License can be found in /usr/share/common-licenses/GPL' and
+ the Artistic Licence in /usr/share/common-licenses/Artistic'.
+
+
+
+Copyright:
+
+Copyright (c) 1997-2002 Michael Fuhr. All rights reserved. This
+program is free software; you can redistribute it and/or modify it
+under the same terms as Perl itself.
+
+The file netdns.c is licensed under different terms:
+
+/* Portions of this code are
+ * Copyright (c) 1985 Regents of the University of California.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted provided
+ * that: (1) source distributions retain this entire copyright notice and
+ * comment, and (2) distributions including binaries display the following
+ * acknowledgement: ``This product includes software developed by the
+ * University of California, Berkeley and its contributors'' in the
+ * documentation or other materials provided with the distribution and in
+ * all advertising materials mentioning features or use of this software.
+ * Neither the name of the University nor the names of its contributors may
+ * be used to endorse or promote products derived from this software without
+ * specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+/* Portions of this code are
+ * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (c) 1996,1999 by Internet Software Consortium.
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
+ * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+/* Portions of this code are
+ * Copyright (c) 2005 RIPE NCC, Olaf Kolkman
+ *
+ *
+ * All Rights Reserved
+ *
+ * Permission to use, copy, modify, and distribute this software and
+ * its documentation for any purpose and without fee is hereby
+ * granted, provided that the above copyright notice appear in all
+ * copies and that both that copyright notice and this permission
+ * notice appear in supporting documentation, and that the name of the
+ * author not be used in advertising or publicity pertaining to
+ * distribution of the software without specific, written prior
+ * permission.
+ *
+ *
+ * THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+ * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN
+ * NO EVENT SHALL AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+ * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
+ * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+ * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..e69de29
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..a04f8e1
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README TODO
diff --git a/debian/patches/dnswalk-readme-note.patch b/debian/patches/dnswalk-readme-note.patch
new file mode 100644
index 0000000..0e2c5a2
--- /dev/null
+++ b/debian/patches/dnswalk-readme-note.patch
@@ -0,0 +1,16 @@
+Description: Add note to dnswalk.readme about dnswalk being available as a Debian package.
+Forwarded: not-needed
+Author: Florian Hinzmann <fh at debian.org>
+Index: libnet-dns-perl/contrib/dnswalk.README
+===================================================================
+--- libnet-dns-perl.orig/contrib/dnswalk.README 2009-02-28 19:07:52.000000000 +0100
++++ libnet-dns-perl/contrib/dnswalk.README 2010-03-15 10:24:42.000000000 +0100
+@@ -4,3 +4,8 @@
+
+ http://sourceforge.net/projects/dnswalk/
+
++
++NOTE for Debian users:
++ As dnswalk is packaged for Debian you may as well install the
++ Debian package (aptitude install dnswalk).
++ -- Florian Hinzmann <fh at debian.org>
diff --git a/debian/patches/do-not-fail-make-test-offline.patch b/debian/patches/do-not-fail-make-test-offline.patch
new file mode 100644
index 0000000..446df63
--- /dev/null
+++ b/debian/patches/do-not-fail-make-test-offline.patch
@@ -0,0 +1,59 @@
+Description: Make tests succeed without network access
+ make test checks for online connection and disables online tests when there is no connection.
+ One test tried to check for a private IP by opening a socket even without online connection.
+ This patch makes that test check for disabled online tests first and test the ip afterwards.
+Bug: https://rt.cpan.org/Ticket/Display.html?id=55682
+Author: Florian Hinzmann <fh at debian.org>
+Index: libnet-dns-perl/t/01-resolver.t
+===================================================================
+--- libnet-dns-perl.orig/t/01-resolver.t 2010-03-18 09:52:07.000000000 +0100
++++ libnet-dns-perl/t/01-resolver.t 2010-03-18 10:00:02.000000000 +0100
+@@ -63,34 +63,35 @@
+
+
+
+-# Some people try to run these on private address space."
+-
+-use Net::IP;
+-
+-use IO::Socket::INET;
+-
+-my $sock = IO::Socket::INET->new(PeerAddr => '193.0.14.129', # k.root-servers.net.
+- PeerPort => '53',
+- Proto => 'udp');
+-
+-
+-my $ip=Net::IP->new(inet_ntoa($sock->sockaddr));
+
+
+ SKIP: {
++ # Test first, if we want online tests at all.
+ skip 'Online tests disabled.', 3
+ unless -e 't/online.enabled';
+
+ skip 'Online tests disabled.', 3
+ if -e 't/online.disabled';
+
++
++ # Some people try to run these on private address space - test for this case and skip.
++ use Net::IP;
++ use IO::Socket::INET;
++
++ my $sock = IO::Socket::INET->new(PeerAddr => '193.0.14.129', # k.root-servers.net.
++ PeerPort => '53',
++ Proto => 'udp');
++
++ my $ip=Net::IP->new(inet_ntoa($sock->sockaddr));
++
+ skip 'Tests may not run succesful from private IP('.$ip->ip() .')', 3
+ if ($ip->iptype() ne "PUBLIC");
+
++
+ my $res = Net::DNS::Resolver->new;
+
+ $res->nameservers('a.t.net-dns.org');
+- my $ip = ($res->nameservers)[0];
++ $ip = ($res->nameservers)[0];
+ is($ip, '10.0.1.128', 'Nameservers() looks up IP.') or
+ diag ($res->errorstring . $res->print) ;
+
diff --git a/debian/patches/manpages-typos.patch b/debian/patches/manpages-typos.patch
new file mode 100644
index 0000000..3a9e380
--- /dev/null
+++ b/debian/patches/manpages-typos.patch
@@ -0,0 +1,62 @@
+Description: Correct small typos inside manual pages respective POD
+ Lintian found some common spelling errors, which are corrected with this patch.
+Bug: https://rt.cpan.org/Ticket/Display.html?id=55586
+Author: Florian Hinzmann <fh at debian.org>
+
+Index: libnet-dns-perl/lib/Net/DNS/FAQ.pod
+===================================================================
+--- libnet-dns-perl.orig/lib/Net/DNS/FAQ.pod 2010-03-15 12:53:18.000000000 +0100
++++ libnet-dns-perl/lib/Net/DNS/FAQ.pod 2010-03-15 12:53:35.000000000 +0100
+@@ -24,7 +24,7 @@
+
+ =head2 Where can I find Test::More?
+
+-Test::More is part of the Test-Simple packge, by Michael G Schwern.
++Test::More is part of the Test-Simple package, by Michael G Schwern.
+ You should be able to find the distrubution here:
+
+ http://search.cpan.org/dist/Test-Simple/
+Index: libnet-dns-perl/lib/Net/DNS/Nameserver.pm
+===================================================================
+--- libnet-dns-perl.orig/lib/Net/DNS/Nameserver.pm 2010-03-15 12:53:47.000000000 +0100
++++ libnet-dns-perl/lib/Net/DNS/Nameserver.pm 2010-03-15 12:54:23.000000000 +0100
+@@ -567,7 +567,7 @@
+
+ The ReplyHandler subroutine is passed the query name, query class,
+ query type and optionally an argument containing the peerhost, the
+-incoming query, and the name of the incomming socket (sockethost). It
++incoming query, and the name of the incoming socket (sockethost). It
+ must return the response code and references to the answer, authority,
+ and additional sections of the response. Common response codes are:
+
+@@ -714,7 +714,7 @@
+ more than one IP-address (besides localhost - any experience with IPv6
+ complications here, would be nice). If this is a problem for you, a
+ work-around would be to not listen to INADDR_ANY but to specify each
+-address that you want this module to listen on. A seperate set of
++address that you want this module to listen on. A separate set of
+ sockets will then be created for each IP-address.
+
+ =head1 COPYRIGHT
+Index: libnet-dns-perl/lib/Net/DNS/Resolver.pm
+===================================================================
+--- libnet-dns-perl.orig/lib/Net/DNS/Resolver.pm 2010-03-15 12:54:56.000000000 +0100
++++ libnet-dns-perl/lib/Net/DNS/Resolver.pm 2010-03-15 12:55:16.000000000 +0100
+@@ -595,7 +595,7 @@
+
+ Setting calling the dnssec method with a non-zero value will set the
+ UDP packet size to the default value of 2048. If that is to small or
+-to big for your environement you should call the udppacketsize()
++to big for your environment you should call the udppacketsize()
+ method immeditatly after.
+
+ $res->dnssec(1); # turns on DNSSEC and sets udp packetsize to 2048
+@@ -637,7 +637,7 @@
+ $res->udppacketsize(2048);
+
+ udppacketsize will set or get the packet size. If set to a value greater than
+-Net::DNS::PACKETSZ() an EDNS extension will be added indicating suppport for MTU path
++Net::DNS::PACKETSZ() an EDNS extension will be added indicating support for MTU path
+ recovery.
+
+ Default udppacketsize is Net::DNS::PACKETSZ() (512)
diff --git a/debian/patches/perl-path-examples.patch b/debian/patches/perl-path-examples.patch
new file mode 100644
index 0000000..5f826ae
--- /dev/null
+++ b/debian/patches/perl-path-examples.patch
@@ -0,0 +1,105 @@
+Description: Change path of Perl to /usr/bin/perl for contrib/examples.
+ Upstream uses /usr/local/bin/perl, but I like the contrib scripts to be
+ executable with just chmod +x on Debian systems.
+Forwarded: not-needed
+Author: Florian Hinzmann <fh at debian.org
+Index: libnet-dns-perl/contrib/check_zone
+===================================================================
+--- libnet-dns-perl.orig/contrib/check_zone 2007-07-01 17:25:20.000000000 +0200
++++ libnet-dns-perl/contrib/check_zone 2010-03-15 10:28:02.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -w
++#!/usr/bin/perl -w
+ # $Id: check_zone 638 2007-05-15 18:59:26Z olaf $
+
+ =head1 NAME
+Index: libnet-dns-perl/contrib/loc2earth.fcgi
+===================================================================
+--- libnet-dns-perl.orig/contrib/loc2earth.fcgi 2007-07-01 17:25:20.000000000 +0200
++++ libnet-dns-perl/contrib/loc2earth.fcgi 2010-03-15 10:28:02.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -T
++#!/usr/bin/perl -T
+
+ # loc2earth.cgi - generates a redirect to Earth Viewer based on LOC record
+ # [ see <URL: http://www.kei.com/homepages/ckd/dns-loc/ > or RFC 1876 ]
+Index: libnet-dns-perl/demo/axfr
+===================================================================
+--- libnet-dns-perl.orig/demo/axfr 2007-07-01 17:25:20.000000000 +0200
++++ libnet-dns-perl/demo/axfr 2010-03-15 10:28:02.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -w
++#!/usr/bin/perl -w
+ # $Id: axfr 264 2005-04-06 09:16:15Z olaf $
+
+ use strict;
+Index: libnet-dns-perl/demo/check_soa
+===================================================================
+--- libnet-dns-perl.orig/demo/check_soa 2007-07-01 17:25:20.000000000 +0200
++++ libnet-dns-perl/demo/check_soa 2010-03-15 10:28:02.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -w
++#!/usr/bin/perl -w
+ # $Id: check_soa 264 2005-04-06 09:16:15Z olaf $
+
+ =head1 NAME
+Index: libnet-dns-perl/demo/check_zone
+===================================================================
+--- libnet-dns-perl.orig/demo/check_zone 2007-07-01 17:25:20.000000000 +0200
++++ libnet-dns-perl/demo/check_zone 2010-03-15 10:28:02.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -w
++#!/usr/bin/perl -w
+ # $Id: check_zone 264 2005-04-06 09:16:15Z olaf $
+
+ =head1 NAME
+Index: libnet-dns-perl/demo/example_recurse.pl
+===================================================================
+--- libnet-dns-perl.orig/demo/example_recurse.pl 2007-07-01 17:25:20.000000000 +0200
++++ libnet-dns-perl/demo/example_recurse.pl 2010-03-15 10:28:02.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -w
++#!/usr/bin/perl -w
+
+ # Example usage for Net::DNS::Resolver::Recurse
+ # Performs recursion for a query.
+Index: libnet-dns-perl/demo/mresolv
+===================================================================
+--- libnet-dns-perl.orig/demo/mresolv 2007-07-01 17:25:20.000000000 +0200
++++ libnet-dns-perl/demo/mresolv 2010-03-15 10:28:02.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -w
++#!/usr/bin/perl -w
+ # $Id: mresolv 264 2005-04-06 09:16:15Z olaf $
+
+ =head1 NAME
+Index: libnet-dns-perl/demo/mx
+===================================================================
+--- libnet-dns-perl.orig/demo/mx 2007-07-01 17:25:20.000000000 +0200
++++ libnet-dns-perl/demo/mx 2010-03-15 10:28:02.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -w
++#!/usr/bin/perl -w
+ # $Id: mx 264 2005-04-06 09:16:15Z olaf $
+
+ =head1 NAME
+Index: libnet-dns-perl/demo/perldig
+===================================================================
+--- libnet-dns-perl.orig/demo/perldig 2007-07-01 17:25:20.000000000 +0200
++++ libnet-dns-perl/demo/perldig 2010-03-15 10:28:02.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -w
++#!/usr/bin/perl -w
+ # $Id: perldig 264 2005-04-06 09:16:15Z olaf $
+
+ =head1 NAME
+Index: libnet-dns-perl/demo/trace_dns.pl
+===================================================================
+--- libnet-dns-perl.orig/demo/trace_dns.pl 2007-07-01 17:25:20.000000000 +0200
++++ libnet-dns-perl/demo/trace_dns.pl 2010-03-15 10:28:02.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8da5988
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,4 @@
+dnswalk-readme-note.patch
+perl-path-examples.patch
+manpages-typos.patch
+do-not-fail-make-test-offline.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d7070f2
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,127 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+# export DH_COMPAT=3
+# set in debian/compat
+
+ifndef PERL
+ PERL = /usr/bin/perl
+endif
+
+TMP=$(CURDIR)/debian/libnet-dns-perl
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+# dh_strip handles nostrip option. INSTALL_PROGRAMM not used.
+#ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+# INSTALL_PROGRAM += -s
+#endif
+
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+
+
+ touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+ dh_testdir
+
+ # Add here commands to compile the package.
+ #$(MAKE)
+ #/usr/bin/docbook-to-man debian/Net-DNS.sgml > Net-DNS.1
+
+ # activate online-tests in configuration, but do not run them from
+ # debian/rules file (to not bother buildds with them).
+ # Do manually before upload.
+ $(PERL) Makefile.PL INSTALLDIRS=vendor --online-tests --IPv6-tests
+
+ # COMPRESS='gzip -9'
+
+ $(MAKE) OPTIMIZE="$(CFLAGS)"
+
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ $(MAKE) test
+endif
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ [ ! -f Makefile ] || $(MAKE) distclean
+
+ rm -f Makefile.old
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean
+ dh_installdirs
+
+ # Add here commands to install the package into temporary directory.
+ #$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+ $(MAKE) install PREFIX=$(TMP)/usr
+
+ # As this is a architecture dependent package, we are not supposed to install
+ # stuff to /usr/share/perl5. MakeMaker creates the dirs, we delete them from
+ # the deb:
+ [ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
+
+ # add override as .pm files may go to /usr/lib/.. if they accompany binary parts
+ # cp debian/lintian-override $(TMP)/usr/share/lintian/overrides/libnet-dns-perl
+
+# Build architecture-independent files here.
+binary-indep: build install
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+# dh_installdebconf
+ dh_installdocs
+ dh_installexamples contrib demo
+ dh_installmenu
+# dh_installemacsen
+# dh_installpam
+# dh_installinit
+ dh_installcron
+ dh_installman
+ dh_installinfo
+# dh_undocumented
+ dh_installchangelogs Changes
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ # You may want to make some executables suid here.
+# dh_suidregister
+# dh_makeshlibs
+ dh_installdeb
+ dh_perl
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..2cb7a0b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,13 @@
+# format version number, currently 2; this line is compulsory!
+version=3
+# Line continuations are performed with \
+
+# This the format for an FTP site:
+# Full-site-with-pattern [Version [Action]]
+
+# This is one format for an HTTP site, which is the same
+# as the FTP format
+http://www.net-dns.org/download/Net-DNS-([0-9\.]+)\.tar\.gz
+
+# This is a variant HTTP format with more possibilities:
+# Homepage Pattern [Version [Action]]
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-dns-perl.git
More information about the Pkg-perl-cvs-commits
mailing list