--- libnetaddr-ip-perl-4.007+dfsg.orig/IP.pm +++ libnetaddr-ip-perl-4.007+dfsg/IP.pm @@ -1695,7 +1695,7 @@ =head1 AUTHORS -Luis E. Muñoz Eluismunoz@cpan.orgE, +Luis E. MuEoz Eluismunoz@cpan.orgE, Michael Robinton Emichael@bizsystems.comE =head1 WARRANTY @@ -1705,7 +1705,7 @@ =head1 LICENSE -This software is (c) Luis E. Muñoz, 1999 - 2007, and (c) Michael +This software is (c) Luis E. MuEoz, 1999 - 2007, and (c) Michael Robinton, 2006 - 2007. It can be used under the terms of the Perl artistic license provided that proper credit for the work of the authors is preserved in the form of this copyright notice and license --- libnetaddr-ip-perl-4.007+dfsg.orig/Lite/Lite.pm +++ libnetaddr-ip-perl-4.007+dfsg/Lite/Lite.pm @@ -1037,7 +1037,7 @@ =head1 AUTHOR -Luis E. Muñoz Eluismunoz@cpan.orgE, +Luis E. MuEoz Eluismunoz@cpan.orgE, Michael Robinton Emichael@bizsystems.comE =head1 WARRANTY @@ -1047,7 +1047,7 @@ =head1 LICENSE -This software is (c) Luis E. Muñoz, 1999 - 2005, and (c) Michael Robinton, 2006. +This software is (c) Luis E. MuEoz, 1999 - 2005, and (c) Michael Robinton, 2006. It can be used under the terms of the perl artistic license provided that proper credit for the work of the author is preserved in the form of this copyright notice and license for this module. --- libnetaddr-ip-perl-4.007+dfsg.orig/Lite/README +++ libnetaddr-ip-perl-4.007+dfsg/Lite/README @@ -344,7 +344,7 @@ :old_nth AUTHOR - Luis E. Muñoz , Michael Robinton + Luis E. Muñoz , Michael Robinton WARRANTY @@ -352,7 +352,7 @@ by using it you accept any and all the liability. LICENSE - This software is (c) Luis E. Muñoz, 1999 - 2005, and (c) Michael + This software is (c) Luis E. Muñoz, 1999 - 2005, and (c) Michael Robinton, 2006. It can be used under the terms of the perl artistic license provided that proper credit for the work of the author is preserved in the form of this copyright notice and license for this --- libnetaddr-ip-perl-4.007+dfsg.orig/debian/rules +++ libnetaddr-ip-perl-4.007+dfsg/debian/rules @@ -0,0 +1,97 @@ +#!/usr/bin/make -f +# This debian/rules file is provided as a template for normal perl +# packages. It was created by Marc Brockschmidt for +# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may +# be used freely wherever it is useful. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# If set to a true value then MakeMaker's prompt function will +# always return the default without waiting for user input. +export PERL_MM_USE_DEFAULT=1 + +PACKAGE=$(shell dh_listpackages) + +ifndef PERL +PERL = /usr/bin/perl +endif + +TMP = $(CURDIR)/debian/$(PACKAGE) + +# Allow disabling build optimation by setting noopt in +# $DEB_BUILD_OPTIONS +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +build: build-stamp +build-stamp: + dh_testdir + + # Add commands to compile the package here + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH="" + + touch build-stamp + +clean: + dh_testdir + dh_testroot + + # Add commands to clean up after the build process here + [ ! -f Makefile ] || $(MAKE) realclean + + dh_clean build-stamp install-stamp + +install: build install-stamp +install-stamp: + dh_testdir + dh_testroot + dh_clean -k + + # Add commands to install the package into debian/$PACKAGE_NAME here + $(MAKE) test + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + + # As this is a architecture dependent package, we are not + # supposed to install stuff to /usr/share. MakeMaker creates + # the dirs, we delete them from the deb: + rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5 + + touch install-stamp + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs README + cp Lite/README $(TMP)/usr/share/doc/$(PACKAGE)/README.NetAddr-IP-Lite + cp Lite/Util/README $(TMP)/usr/share/doc/$(PACKAGE)/README.NetAddr-IP-Lite-Util + dh_installman + dh_installchangelogs Changes + cp Lite/Changes $(TMP)/usr/share/doc/$(PACKAGE)/changelog.Lite + cp Lite/Util/Changes $(TMP)/usr/share/doc/$(PACKAGE)/changelog.Util + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary --- libnetaddr-ip-perl-4.007+dfsg.orig/debian/README.Debian +++ libnetaddr-ip-perl-4.007+dfsg/debian/README.Debian @@ -0,0 +1,20 @@ +====================================================================== +W A R N I N G - Please do read below if you have legacy code +====================================================================== + +Versions 3.21 and above of NetAddr::IP, include hooks for the Storable +class that are incompatible with the old (automatic) method of storing +data. To regain backwards compatibility, the module must be use()d as + + use NetAddr::IP ':old_storable'; + +Which will disable the new hooks and revert back to the old ways. + +If you do not use Storable along NetAddr::IP or just don't know what +this all means, most likely you're safe to go along. + +Versions before 3.25 recognized by default IP addresses as returned by +inet_aton. This is no longer the default. To enable this behaviour +again, the module must be use()d as + + use NetAddr::IP ':aton'; --- libnetaddr-ip-perl-4.007+dfsg.orig/debian/copyright +++ libnetaddr-ip-perl-4.007+dfsg/debian/copyright @@ -0,0 +1,21 @@ +This is the debian package for the NetAddr::IP module. +It was created by Elie Rosenblum using dh-make-perl. +As of June 2007, it is now maintained by the Debian Perl Group + + +It was downloaded from http://www.cpan.org/modules/by-module/NetAddr/ + +The upstream authors are: + Luis E. Muñoz + Michael A. Robinton + +This software is (c) Luis E. Muñoz and Michael A. Robinton. It can be used +under the terms of the perl artistic license provided that proper credit for +the work of the authors is preserved in the form of this copyright notice and +license for this module. + +No warranty of any kind is expressed or implied. This code might make your +computer go up in a puff of black smoke. + +The perl artistic license can be found locally on a Debian system as: + /usr/share/common-licenses/Artistic --- libnetaddr-ip-perl-4.007+dfsg.orig/debian/control +++ libnetaddr-ip-perl-4.007+dfsg/debian/control @@ -0,0 +1,26 @@ +Source: libnetaddr-ip-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5), perl (>= 5.6.0-17), libtest-pod-perl +Maintainer: Debian Perl Group +Uploaders: Julian Mehnle , Gunnar Wolf +Standards-Version: 3.7.2 +XS-Vcs-Svn: svn://svn.debian.org/pkg-perl/packages/libnetaddr-ip-perl/trunk/ + +Package: libnetaddr-ip-perl +Architecture: any +Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends} +Conflicts: libnetaddr-ip-lite-perl +Description: Manipulate IP Addresses easily + This module provides an object-oriented abstraction on top of IP addresses + or IP subnets, that allows for easy manipulations. + . + The internal representation of all IP objects is in 128 bit IPv6 notation. + IPv4 and IPv6 objects may be freely mixed. + . + The following operations are supported: + Basic IP conversion, netmask manipulation, subnet interpretation, bitwise + mask generation, full mask generation, subnet manipulation, expansion, and + range operations, sub/supernet tests, data type determination, and more + complex operations such as expansion of netblocks into arrays of smaller + blocks of arbitrary size, and CIDR block aggregation --- libnetaddr-ip-perl-4.007+dfsg.orig/debian/changelog +++ libnetaddr-ip-perl-4.007+dfsg/debian/changelog @@ -0,0 +1,79 @@ +libnetaddr-ip-perl (4.007+dfsg-1) unstable; urgency=low + + * Repackaged upstream sources without including the non-free RFC 1884 + (Closes: #431090) + * Included README.Debian warning about requiring an API compatibility + mode when using with legacy (<3.21) code (taken straight from + Makefile.PL's output) + + -- Gunnar Wolf Tue, 03 Jul 2007 10:45:18 -0500 + +libnetaddr-ip-perl (4.007-1) unstable; urgency=low + + [ Julian Mehnle ] + * New upstream release (closes: #329644). + * Architecture: any (was: all), as this package now includes XS code. + * Standards-Version: 3.7.2 + * Build-Depends: libtest-pod-perl + * Build-Depends: debhelper (was: Build-Depends-Indep:) + * Raised debhelper compatibility level to 5, adjusted Build-Depends. + * Updated debian/rules to latest dh-make-perl template. + * Run tests during package building. + * Generate perlapi and libc6 dependencies using dh_shlibdeps. + * Conflicts: libnetaddr-ip-lite-perl, as NetAddr::IP::Lite is now included + in this package. + * Updated package description. + * Updated debian/copyright with additional upstream author and new warranty + statement. + * Install all upstream README files and changelogs. + * Added debian/{compat,watch} files. + * Minor changes to NetAddr::IP{,::Lite} POD code to correctly represent the + author names in the generated man-pages. + + [ Gunnar Wolf ] + * Hijacking module on behalf of the Debian Pkg-perl group (previous + maintainer MIA) + + -- Gunnar Wolf Thu, 28 Jun 2007 11:28:58 -0500 + +libnetaddr-ip-perl (3.14-2) unstable; urgency=low + + * Changed section to 'perl' + + -- Elie Rosenblum Tue, 26 Aug 2003 14:48:25 -0400 + +libnetaddr-ip-perl (3.14-1) unstable; urgency=low + + * New upstream version + * Fixed build to happen in binary-indep rather than binary-arch + + -- Elie Rosenblum Tue, 26 Aug 2003 07:49:49 -0400 + +libnetaddr-ip-perl (3.11-1) unstable; urgency=low + + * Included all changes from patch by Ivan Kohler + * Build binary-indep, not binary-arch (closes: #157491) + * New upstream version (closes: #142576, #161625) + * Added maint name to copyright file (closes: #157522) + + -- Elie Rosenblum Sun, 22 Sep 2002 13:27:17 -0400 + +libnetaddr-ip-perl (3.07-1) unstable; urgency=low + + * New upstream version (fixes #142576) + + -- Elie Rosenblum Mon, 15 Apr 2002 12:46:09 -0400 + +libnetaddr-ip-perl (2.24-1) unstable; urgency=low + + * New upstream release fixes potential license problem and adds requested + functionality. + + -- Elie Rosenblum Mon, 27 Aug 2001 20:42:55 -0400 + +libnetaddr-ip-perl (2.23-1) unstable; urgency=low + + * Initial Release. + + -- Elie Rosenblum Fri, 24 Aug 2001 10:01:14 -0400 + --- libnetaddr-ip-perl-4.007+dfsg.orig/debian/compat +++ libnetaddr-ip-perl-4.007+dfsg/debian/compat @@ -0,0 +1 @@ +5 --- libnetaddr-ip-perl-4.007+dfsg.orig/debian/watch +++ libnetaddr-ip-perl-4.007+dfsg/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://mirrors.kernel.org/cpan/modules/by-module/NetAddr/NetAddr-IP-([\d\.]+)\.tar\.gz