[libnet-dns-perl] 02/23: Imported Debian patch 0.68-1.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 6ae43480db8b6a7b7eec308c1ba1a21ffe41b913
Merge: be69352 1eee798
Author: Nicolas Dandrimont <olasd at debian.org>
Date:   Wed Sep 4 20:09:39 2013 +0200

    Imported Debian patch 0.68-1.2

 Changes                                            | 221 ++++-
 MANIFEST                                           |  12 +-
 META.yml                                           |   9 +-
 Makefile.PL                                        | 333 +++++---
 README                                             |  16 +-
 contrib/check_soa                                  | 494 ++++++-----
 debian/README.Debian                               |   5 +-
 debian/changelog                                   |  42 +
 debian/compat                                      |   2 +-
 debian/control                                     |  20 +-
 debian/patches/do-not-fail-make-test-offline.patch |  59 --
 debian/patches/manpages-typos.patch                |  62 --
 debian/patches/series                              |   2 -
 debian/rules                                       |  32 +-
 lib/Net/DNS.pm                                     | 385 ++++-----
 lib/Net/DNS/Domain.pm                              | 423 +++++-----
 lib/Net/DNS/DomainName.pm                          | 278 +++++++
 lib/Net/DNS/FAQ.pod                                |   4 +-
 lib/Net/DNS/Header.pm                              | 335 ++++----
 lib/Net/DNS/Mailbox.pm                             | 136 +++
 lib/Net/DNS/Nameserver.pm                          | 907 +++++++++++----------
 lib/Net/DNS/Packet.pm                              | 413 +++++-----
 lib/Net/DNS/Question.pm                            | 300 ++++---
 lib/Net/DNS/RR.pm                                  | 323 ++++----
 lib/Net/DNS/RR/A.pm                                |  10 +-
 lib/Net/DNS/RR/AAAA.pm                             |  22 +-
 lib/Net/DNS/RR/AFSDB.pm                            |  10 +-
 lib/Net/DNS/RR/APL.pm                              |  18 +-
 lib/Net/DNS/RR/APL/ApItem.pm                       |  24 +-
 lib/Net/DNS/RR/CERT.pm                             |  52 +-
 lib/Net/DNS/RR/CNAME.pm                            |  12 +-
 lib/Net/DNS/RR/DHCID.pm                            |  18 +-
 lib/Net/DNS/RR/DNAME.pm                            |  10 +-
 lib/Net/DNS/RR/EID.pm                              |  10 +-
 lib/Net/DNS/RR/HINFO.pm                            |  22 +-
 lib/Net/DNS/RR/HIP.pm                              |  33 +-
 lib/Net/DNS/RR/IPSECKEY.pm                         |  34 +-
 lib/Net/DNS/RR/ISDN.pm                             |  10 +-
 lib/Net/DNS/RR/KX.pm                               |   2 +-
 lib/Net/DNS/RR/LOC.pm                              |  36 +-
 lib/Net/DNS/RR/MB.pm                               |  10 +-
 lib/Net/DNS/RR/MG.pm                               |  12 +-
 lib/Net/DNS/RR/MINFO.pm                            |  10 +-
 lib/Net/DNS/RR/MR.pm                               |  10 +-
 lib/Net/DNS/RR/MX.pm                               |  16 +-
 lib/Net/DNS/RR/NAPTR.pm                            |  22 +-
 lib/Net/DNS/RR/NIMLOC.pm                           |  10 +-
 lib/Net/DNS/RR/NS.pm                               |  10 +-
 lib/Net/DNS/RR/NSAP.pm                             |  30 +-
 lib/Net/DNS/RR/NULL.pm                             |  10 +-
 lib/Net/DNS/RR/OPT.pm                              |  60 +-
 lib/Net/DNS/RR/PTR.pm                              |  14 +-
 lib/Net/DNS/RR/PX.pm                               |  10 +-
 lib/Net/DNS/RR/RP.pm                               |  12 +-
 lib/Net/DNS/RR/RT.pm                               |  12 +-
 lib/Net/DNS/RR/SOA.pm                              | 102 ++-
 lib/Net/DNS/RR/SPF.pm                              |   8 +-
 lib/Net/DNS/RR/SRV.pm                              |  14 +-
 lib/Net/DNS/RR/SSHFP.pm                            |  64 +-
 lib/Net/DNS/RR/TKEY.pm                             |   8 +-
 lib/Net/DNS/RR/TSIG.pm                             |  34 +-
 lib/Net/DNS/RR/TXT.pm                              |  53 +-
 lib/Net/DNS/RR/Unknown.pm                          |  22 +-
 lib/Net/DNS/RR/X25.pm                              |  10 +-
 lib/Net/DNS/Resolver.pm                            |  70 +-
 lib/Net/DNS/Resolver/Base.pm                       | 381 +++++----
 lib/Net/DNS/Resolver/Cygwin.pm                     |  37 +-
 lib/Net/DNS/Resolver/Recurse.pm                    |  62 +-
 lib/Net/DNS/Resolver/UNIX.pm                       |  20 +-
 lib/Net/DNS/Resolver/Win32.pm                      |  59 +-
 lib/Net/DNS/Text.pm                                | 308 +++++++
 lib/Net/DNS/Update.pm                              | 175 ++--
 netdns.h                                           |   2 +-
 t/00-load.t                                        |  75 +-
 t/00-version.t                                     |  16 +-
 t/001-connection-checks.t                          | 162 ----
 t/01-resolver.t                                    |  62 +-
 t/02-domain.t                                      | 204 ++---
 t/02-domainname.t                                  | 191 +++++
 t/02-mailbox.t                                     |  95 +++
 t/02-text.t                                        | 157 ++++
 t/{02-header.t => 03-header.t}                     |  36 +-
 t/03-question.t                                    | 238 +++---
 t/04-packet.t                                      |  40 +-
 t/05-apl.t                                         |   6 +-
 t/05-rr-txt.t                                      |   8 +-
 t/05-rr-unknown.t                                  |  34 +-
 t/05-rr-various.t                                  |   4 +-
 ...acket-unique-push.t => 06-packet-unique-push.t} |  38 +-
 t/06-update.t                                      |  17 +-
 t/08-online.t                                      | 101 ++-
 t/10-recurse.t                                     |  20 +-
 t/11-escapedchars.t                                |  12 +-
 t/13-udp-trunc.t                                   |  10 +-
 t/NonFatal.pm                                      |  46 ++
 95 files changed, 4955 insertions(+), 3430 deletions(-)

diff --cc debian/README.Debian
index 661ca62,0000000..2b14ba8
mode 100644,000000..100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@@ -1,23 -1,0 +1,22 @@@
 +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.
++Since version 0.66-3 this package depends on libio-socket-inet6-perl,
++making the IPv6 support work.
 +
 +
 +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 --cc debian/changelog
index 7cf3208,0000000..6d26db9
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,276 -1,0 +1,318 @@@
++libnet-dns-perl (0.68-1.2) unstable; urgency=high
++
++  * Non-maintainer upload.
++  * Disable online tests as buildds can be firewalled (Closes: #721423)
++
++ -- Nicolas Dandrimont <olasd at debian.org>  Wed, 04 Sep 2013 20:09:39 +0200
++
++libnet-dns-perl (0.68-1.1) unstable; urgency=low
++
++  * Non-maintainer upload.
++  * Add missing Build-Depends on netbase.
++    Add Build-Depends on netbase, so that /etc/protocols is guaranteed to be
++    available when we run the testsuite. Resolves FTBFS.
++    Thanks to Adam Conrad <adconrad at debian.org> for the report and patch.
++    (Closes: #682602)
++
++ -- Salvatore Bonaccorso <carnil at debian.org>  Wed, 22 Aug 2012 20:36:07 +0200
++
++libnet-dns-perl (0.68-1) unstable; urgency=low
++
++  * New upstream release (closes: #667716).
++  * Build-depend and depend on libio-socket-inet6-perl. This makes
++    build time checks respective makes the package work in IPv6 
++    only environments (closes: #545563, #615281).
++    Thanks to Dominic Hargreaves for his input on this issue.
++    And all your patience.
++  * Remove patches that have been applied upstream:
++    - Corrections about online tests at build time. 
++      https://rt.cpan.org/Public/Bug/Display.html?id=55682
++    - Typos within manual pages respective POD. 
++      https://rt.cpan.org/Public/Bug/Display.html?id=55586
++  * Changed maintainer: Florian Roscher. Same person, but married.
++  * Switch to dephelper compat level 9 and 
++    build-depend on version 9.20120312.
++  * Export variables set by dpkg-buildflags (closes: #666767).
++  * Switch to new standard version 3.9.3.0 . 
++  * Provide build-arch and build-indep.
++  * Do not set CFLAGS, debhelper and dpkg-buildflags do this for me.
++
++
++ -- Florian Roscher <fh at debian.org>  Sat, 30 Jun 2012 17:11:59 +0200
++
 +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 --cc debian/compat
index 7f8f011,0000000..ec63514
mode 100644,000000..100644
--- a/debian/compat
+++ b/debian/compat
@@@ -1,1 -1,0 +1,1 @@@
- 7
++9
diff --cc debian/control
index 2ea8ba6,0000000..db12d4a
mode 100644,000000..100644
--- a/debian/control
+++ b/debian/control
@@@ -1,19 -1,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)
++Maintainer: Florian Roscher <fh at debian.org>
++Standards-Version: 3.9.3.0
++Build-Depends: debhelper (>= 9.20120312), libdigest-hmac-perl (>= 1),
++ libnet-ip-perl (>= 1.2), perl (>= 5.10.0), quilt (>= 0.46-7),
++ libio-socket-inet6-perl, dpkg-dev (>= 1.16.1~), netbase
 +
 +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
++ libdigest-hmac-perl (>= 1), libmime-base64-perl, libnet-ip-perl (>= 1.2),
++ 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.
++ Net::DNS is a DNS resolver implemented in Perl supporting IPv6.
++ It allows the  programmer to perform nearly any type of DNS query
++ from a Perl script.
diff --cc debian/patches/series
index 8da5988,0000000..b2e1872
mode 100644,000000..100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@@ -1,4 -1,0 +1,2 @@@
 +dnswalk-readme-note.patch
 +perl-path-examples.patch
- manpages-typos.patch
- do-not-fail-make-test-offline.patch
diff --cc debian/rules
index d7070f2,0000000..5a76ac0
mode 100755,000000..100755
--- a/debian/rules
+++ b/debian/rules
@@@ -1,127 -1,0 +1,119 @@@
 +#!/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
++DPKG_EXPORT_BUILDFLAGS = 1
++include /usr/share/dpkg/buildflags.mk
 +
 +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: build-arch build-indep
++build-arch: build-stamp configure-stamp
++build-indep: 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
++	$(PERL) Makefile.PL INSTALLDIRS=vendor --noonline-tests
++		# --online-tests --IPv6-tests
 +
 +	# COMPRESS='gzip -9'
 +
- 	$(MAKE) OPTIMIZE="$(CFLAGS)"
++	$(MAKE) OPTIMIZE="$(CFLAGS)" OTHERLDFLAGS="$(LDFLAGS)"
++		# CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
++		# 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
++	$(MAKE) install DESTDIR=$(TMP)
 +
 +	# 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
++.PHONY: build clean binary-indep binary-arch binary install build-arch build-indep

-- 
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