--- libnet-subnets-perl-0.21.orig/debian/control +++ libnet-subnets-perl-0.21/debian/control @@ -0,0 +1,21 @@ +Source: libnet-subnets-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5) +Build-Depends-Indep: perl (>= 5.8.0) +Maintainer: Debian Perl Group +Uploaders: Ernesto Hernández-Novich (USB) +Homepage: http://search.cpan.org/dist/Net-Subnets/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libnet-subnets-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-subnets-perl/ +Standards-Version: 3.7.3 + +Package: libnet-subnets-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, +Description: A Perl library for subnet calculations + Net::Subnets provides very fast operations for: + . + - Matching a list of IP addresses against one or more CIDR subnets. + . + - Calculation of IP address ranges. --- libnet-subnets-perl-0.21.orig/debian/compat +++ libnet-subnets-perl-0.21/debian/compat @@ -0,0 +1 @@ +5 --- libnet-subnets-perl-0.21.orig/debian/watch +++ libnet-subnets-perl-0.21/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.cpan.org/modules/by-module/Net/Net-Subnets-([\d\.]+)\.(?:tar\.gz|tar|tgz) --- libnet-subnets-perl-0.21.orig/debian/changelog +++ libnet-subnets-perl-0.21/debian/changelog @@ -0,0 +1,41 @@ +libnet-subnets-perl (0.21-3) unstable; urgency=low + + [ Stephen Gran ] + * Lowered debhelper compatibility level to 5 (Be kind to backporters day) + + [ Gunnar Wolf ] + * Fixed homepage in debian/control (was refering to a specific version) + + [ gregor herrmann ] + * debian/rules: delete /usr/lib/perl5 only if it exists (Closes: #467871). + * debian/control: Changed: Maintainer set to Debian Perl Group (was: Debian Perl Project + ). + + [ Ernesto Hernández-Novich (USB) ] + * Upgraded to debhelper 6 + + -- Ernesto Hernández-Novich (USB) Mon, 14 Jan 2008 10:51:13 -0430 + +libnet-subnets-perl (0.21-2) unstable; urgency=low + + [ Ernesto Hernández-Novich (USB) ] + * Moved package into Pkg Perl Project SVN. + * Update Standards Version. + * Cleanup debian/rules. + * Fixed watch file. + * Fixed copyright and control file with a better URL. + * Fixed Maintainer field in control file. + + [ Gunnar Wolf ] + * Translated debian/copyright into UTF-8 + * Bumped up standards-version to 3.7.3 (no changes needed) + + -- Gunnar Wolf Sun, 23 Dec 2007 11:55:16 -0600 + +libnet-subnets-perl (0.21-1) unstable; urgency=low + + * Initial Release. + + -- Ernesto Hernández-Novich Wed, 6 Sep 2006 15:15:05 -0400 + --- libnet-subnets-perl-0.21.orig/debian/copyright +++ libnet-subnets-perl-0.21/debian/copyright @@ -0,0 +1,23 @@ +This package was debianized by Ernesto Hernández-Novich +on Wed, 06 Sep 2006 15:27:24 -0400 + +It was downloaded from http://search.cpan.org/dist/Net-Subnets/ + +Upstream Authors: + +Sebastian Riedel +Juergen Peters + +Copyright: + +Copyright (c) 2003 Sebastian Riedel & Juergen Peters. All rights reserved. + +This library is free software; you can redistribute it and/or modify it +under the same terms as Perl itself. + +Perl is distributed under your choice of the GNU General Public License or +the Artistic License. + +The complete text of the GNU General Public License can be found in +/usr/share/common-licenses/GPL and the Artistic License can be found +in /usr/share/common-licenses/Artistic. --- libnet-subnets-perl-0.21.orig/debian/rules +++ libnet-subnets-perl-0.21/debian/rules @@ -0,0 +1,65 @@ +#!/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) + +build: build-stamp +build-stamp: + dh_testdir + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) + $(MAKE) test + touch build-stamp + +clean: + dh_testdir + dh_testroot + dh_clean build-stamp install-stamp + [ ! -f Makefile ] || $(MAKE) realclean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5 + touch install-stamp + +binary-arch: +# We have nothing to do by default. + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs README + dh_installchangelogs Changes + dh_perl + dh_compress + dh_fixperms + dh_installdeb + 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