debian/0000755000000000000000000000000011733615453007176 5ustar debian/control0000644000000000000000000000245011733615547010606 0ustar Source: libnet-netmask-perl Section: perl Priority: optional Build-Depends: devscripts, cdbs (>= 0.4.73~), perl, debhelper, dh-buildinfo Maintainer: Debian Perl Group Uploaders: Dominic Hargreaves , Jonas Smedegaard Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/pkg-perl/packages/libnet-netmask-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libnet-netmask-perl.git Homepage: http://search.cpan.org/dist/Net-Netmask/ Package: libnet-netmask-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends} Description: parse, manipulate and lookup IP network blocks Net::Netmask parses and understands IPv4 CIDR blocks. It's built with an object-oriented interface. Nearly all functions are methods that operate on a Net::Netmask object. . There are methods that provide the nearly all bits of information about a network block that you might want. . There are also functions to put a network block into a table and then later lookup network blocks by IP address in that table. There are functions to turn an IP address range into a list of CIDR blocks. There are functions to turn a list of CIDR blocks into a list of IP addresses. . There is a function for sorting by text IP address. debian/source/0000755000000000000000000000000011733610424010467 5ustar debian/source/format0000644000000000000000000000001411733610424011675 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000002212511733615214011045 0ustar libnet-netmask-perl (1.9016-1) unstable; urgency=low * New upstream release. [ Jotam Jr. Trejo ] * Update copyright file: + Update copyright holders [ Ansgar Burchardt ] * Update Vcs-fields: Packaging moved to Git. [ Jonas Smedegaard ] * Modernize CDBS usage: + Drop local snippets: All included upstream now. + Include perl-makemaker.mk (not deprecated perlmodule.mk). + Document in README.source (not README.cdbs-tweaks). * Use dpkg source format 3.0 (quilt), and stop including patchsys-quilt.mk. * Ease building with git-buildpackage: + Git-ignore quilt .pc dir. + Add config enabling pristin-tar and tag-signing. * Drop patch to avoid int(): Applied upstream. * Add proper licensing header to rules file. * Update copyright file: + Drop copyright on Debian packaging added (originally) by me: not claimed by contributor. + Rewrite using machine-readable format 1.0. * Update package relations: + Stop build-depending on quilt: Not (directly) used with dpkg source format 3.0 (quilt). + Tighten build-dependency on cdbs: Needed for perl-makemaker.mk. + Relax build-depend unversioned on debhelper and devscripts: Needed versions satisfied even in oldstable. * Bump standards-version to 3.9.3. * Sort and newline-delimit Uploaders field. -- Jonas Smedegaard Sun, 25 Mar 2012 15:15:51 +0200 libnet-netmask-perl (1.9015-4) unstable; urgency=low [ gregor herrmann ] * debian/control: Changed: Switched Vcs-Browser field to ViewSVN (source stanza). [ Salvatore Bonaccorso ] * debian/control: Changed: Replace versioned (build-)dependency on perl (>= 5.6.0-{12,16}) with an unversioned dependency on perl (as permitted by Debian Policy 3.8.3). [ Dominic Hargreaves ] * Add quilt * Add uselongdouble.patch: use POSIX::floor rather than int to avoid a rounding error when used with a perl configured with -Duselongdouble (Closes: #578847) * Fix dependency on debhelper to match debian/compat * Update Standards-Version (no changes) -- Dominic Hargreaves Sun, 02 May 2010 22:33:10 +0100 libnet-netmask-perl (1.9015-3) unstable; urgency=medium * Update Vcs-* fields in debian/control(.in) to point to Perl group. * Update local cdbs tweaks: + Strip non-printable chars from copyright-check.mk output. + Relax copyright-check.mk to only warn by default. This fixes a potential FTBFS. + Fix update-tarball.mk wget options to work with recent wget. + Simplify dependency cleanup slightly (quilt isn't in use here). * Update debian/copyright-hints. * Bump debhelper compatibility level to 6. * Depend on ${misc:Depends}. * Semi-auto-update debian/control to update build-dependencies: DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean * Set urgency=medium due to potential FTBFS bugfix. -- Jonas Smedegaard Sun, 29 jun 2008 11:11:04 +0200 libnet-netmask-perl (1.9015-2) unstable; urgency=low [ Gunnar Wolf ] * Fixed typo in long description (Closes: #300016) [ Jonas Smedegaard ] * Pass over maintenance of the package to the Perl group: Change Maintainer, and add myself to Uploaders. * Rewrite debian/copyright: + Conform to proposed new format at http://wiki.debian.org/Proposals/CopyrightFormat . + Extend upstream copyright years to 2006. + Debian Perl Team holds copyright for Debian packaging in 2008. * Add Vcs-Svn and Vcs-Browser fields to debian/control. * Move Homepage to own field (from pseudo-field in long description). * Bump debhelper compat level and build-dependency to version 5. * Update debian/watch: + Use svn-upgrade (not uupdate). + Use by-dist upstream URL. * Bump up standards-version to 3.7.3 (no changes needed). * Update local cdbs snippets: + Major improvements to update-tarball (but none of them affecting this current packaging). + Major improvements to copyright-check, including new versioned build-dependency on devscripts. Update debian/copyright_hints. + Drop buildcore.mk override. Set DEB_AUTO_UPDATE_DEBIAN_CONTROL directly instead when needed. + Update debian/README.cdbs-tweaks to no longer mention buildcore.mk override. * Semi-auto-update debian/control to apply changes contained in the above: DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean -- Jonas Smedegaard Wed, 19 Mar 2008 03:00:53 +0100 libnet-netmask-perl (1.9015-1) unstable; urgency=low * New upstream release. * Update local cdbs snippets: + Add upstream-tarball.mk adding get-orig-source rule and more. + Overload buildcore.mk (instead of separate auto-update.mk). + Check copyrights in prebuild (in clean it may choke on not yet cleaned stuff), and make sure it runs only once. + List non-binary files affected if discovering new copyrights. + Add documentation to source as debian/README.cdbs-tweaks. * Improve watch file + Bump to syntax version 3. + Only use paratheses around version in regex. * Use Build-depends (not -indep). Thanks to lintian. -- Jonas Smedegaard Mon, 23 Apr 2007 23:49:02 +0200 libnet-netmask-perl (1.9012-2) unstable; urgency=low * Bump standards-version to 3.7.2 (no changes needed). * Advertise search.cpan.org as Homepage in long description. * Add local cdbs snippet copyright-check.mk. * Move cdbs auto-update feature to local snippet auto-update.mk. * Update local cdbs snippet buildinfo.mk to use correct namespace. -- Jonas Smedegaard Sun, 16 Jul 2006 22:11:50 +0200 libnet-netmask-perl (1.9012-1) unstable; urgency=low * New upstream release. * Use local cdbs snippet to invoke dh-buildinfo. * Enable cdbs debian/control auto-update. -- Jonas Smedegaard Thu, 26 May 2005 16:05:54 +0200 libnet-netmask-perl (1.9011-1) unstable; urgency=low * New upstream release. * Rewrite watch file: + Add note on usage. + Use more generic regex. -- Jonas Smedegaard Mon, 6 Sep 2004 17:50:49 +0200 libnet-netmask-perl (1.9009-1) unstable; urgency=low * New upstream release. * Standards-Version: 3.6.1 * debian/copyright changed slightly to include "GNU" when mentioning Debian. -- Jonas Smedegaard Tue, 4 May 2004 17:08:12 +0200 libnet-netmask-perl (1.9007-1) unstable; urgency=low * New upstream release. * Rewrite debian/copyright: + Mention upstream package name. + Drop Debian-related info also in debian/changelog. + Rephrase location of upstream source. + Update copyright (newer years added). * Use (and build-depend on) dh_buildinfo. -- Jonas Smedegaard Mon, 26 Jan 2004 18:17:04 +0100 libnet-netmask-perl (1.9006-1) unstable; urgency=low * New upstream release. -- Jonas Smedegaard Sat, 20 Dec 2003 03:12:04 +0100 libnet-netmask-perl (1.9004-2) unstable; urgency=low * Rebuild using newer cdbs (Closes: Bug#203618 - no need to tighten build-dependencies, as cdbs has not yet been included in any official release of Debian). * Standards-version 3.6.0. -- Jonas Smedegaard Thu, 31 Jul 2003 14:36:12 +0200 libnet-netmask-perl (1.9004-1) unstable; urgency=low * New upstream release. * Switch from cbs to cdbs. * Standards-Version 3.5.10 (no changes needed). * Build-depend on cdbs, tighten build-dependency on debhelper, and use debian/compat = 4. * Switch section to perl. * Lower build-dependency on perl a bit to match policy. * Remove parantheses from debian/copyright to please lintian. -- Jonas Smedegaard Fri, 30 May 2003 14:15:50 +0200 libnet-netmask-perl (1.9002-3) unstable; urgency=low * Build the package using binary-indep build-target (closes: #157492). * Debian/copyright *IS* copied verbatim (closes: #157492). -- Jonas Smedegaard Thu, 29 Aug 2002 07:18:01 +0200 libnet-netmask-perl (1.9002-2) unstable; urgency=low * Change source URL to use cpan.org. -- Jonas Smedegaard Mon, 19 Aug 2002 22:35:55 +0200 libnet-netmask-perl (1.9002-1) unstable; urgency=low * Newer upstream version (only change is the improved license now officially included). * Removed the now obsolete mail_from_muir. -- Jonas Smedegaard Mon, 12 Nov 2001 20:51:31 +0100 libnet-netmask-perl (1.9001-2) unstable; urgency=low * Changed license after discussion with upstream author, and added the final mail from him (mail_from_muir) permitting to change the licence. * Build with -sa to include source with upload, as the above should now (hopefully) allow the package into Debian (Closes: #118151). -- Jonas Smedegaard Wed, 7 Nov 2001 13:24:20 +0100 libnet-netmask-perl (1.9001-1) unstable; urgency=low * Released officially (Closes: #118151). * Newer upsream source. * Repackaged using newest dh-make-perl. -- Jonas Smedegaard Sat, 3 Nov 2001 13:15:09 +0100 libnet-netmask-perl (1.8-0.1) unstable; urgency=low * Initial unofficial release. -- Jonas Smedegaard Wed, 3 May 2000 17:45:17 +0200 Local variables: mode: debian-changelog End: debian/README.source0000644000000000000000000000361311733610424011351 0ustar Building this package for Debian -------------------------------- This source package need no special handling for normal package builds. Developing this package for Debian ---------------------------------- The source of this package is developed using git and the helper tool git-buildpackage, with all official releases tagged and signed and binary diffs of tarballs stored using pristine-tar. This is documented below /usr/share/doc/git-buildpackage/manual-html/ . A custom build target shows current upstream and packaging versions: debian/rules print-version Current upstream tarball can be prepared using this other build target: debian/rules get-orig-source To switch to newer upstream source, first add a dummy changelog entry and comment out DEB_UPSTREAM_TARBALL_MD5 before getting the source: dch -v ${new_upstream_version}-1 "Dummy changelog entry" sed -i -e 's/^\(DEB_UPSTREAM_TARBALL_MD5\b\)/#\1/' debian/rules debian/rules get-orig-source Store new md5sum to help ensure identical source is received later. Setting DEB_MAINTAINER_MODE=1 enables additional build routines helpful during development of the package, but unfit for normal builds. This typically includes the CDBS feature of auto-updating debian/control with CDBS-related build-dependencies, which is forbidden by Debian Policy as build environment must not change during automated builds. Maintaining packaging build routines ------------------------------------ This source package wraps debhelper commands and other tedious parts of the build routines using the CDBS framework. Please refer to the actual makefile snippets included from debian/rules for details on their purpose and ways to override defaults. Additionally, makefile snippets included from below /usr/share/cdbs may also be documented in /usr/share/doc/cdbs/cdbs-doc.pdf.gz . -- Jonas Smedegaard Thu, 26 Feb 2009 21:28:29 +0100 debian/compat0000644000000000000000000000000211733610424010365 0ustar 6 debian/watch0000644000000000000000000000022511733610424010217 0ustar # Run the "uscan" command to check for upstream updates and more. version=3 http://search.cpan.org/dist/Net-Netmask/ \ .*/Net-Netmask-(\d.+).tar.gz debian/copyright_hints0000644000000000000000000000141411733612540012330 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: FIXME Upstream-Contact: FIXME Source: FIXME Disclaimer: Autogenerated by CDBS Files: CHANGELOG MANIFEST META.yml Makefile.PL debian/README.source debian/compat debian/control debian/control.in debian/gbp.conf debian/source/format debian/watch t/badnets.t t/netmasks.t t/sortspeed-blocks.t t/sortspeed-ip.t Copyright: *No copyright* License: UNKNOWN FIXME Files: Netmask.pod README Copyright: 1998-2006, David Muir Sharnoff 2011, Google, Inc License: UNKNOWN FIXME Files: debian/rules Copyright: 2000-2008, 2012, Jonas Smedegaard License: GPL-2+ FIXME Files: Netmask.pm Copyright: 1998-2006, David Muir Sharnoff License: UNKNOWN FIXME debian/copyright0000644000000000000000000000315111733613256011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Net::Netmask Upstream-Contact: David Muir Sharnoff Source: http://search.cpan.org/dist/Net-Netmask/ Files: * Copyright: 1998-2006, David Muir Sharnoff 2011, Google, Inc. License: Artistic or GPL-1+ This module may be used, modified and redistributed on the same terms as Perl itself. Comment: Perl is licensed under either the 'Artistic License' or the 'GNU General Public License' version 1 or later. Files: debian/rules Copyright: 2000-2008, 2012, Jonas Smedegaard License: GPL-2+ License: Artistic Comment: On Debian systems the 'Artistic License' is located in '/usr/share/common-licenses/Artistic'. License: GPL-1+ Comment: On Debian systems the 'GNU General Public License' version 1 is located in '/usr/share/common-licenses/GPL-1'. License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Comment: On Debian systems the 'GNU General Public License' version 2 is located in '/usr/share/common-licenses/GPL-2'. . You should have received a copy of the GNU General Public License along with this program. If not, see . debian/gbp.conf0000644000000000000000000000014611733610424010607 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/rules0000755000000000000000000000235511733613520010254 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2000-2008, 2012, Jonas Smedegaard # Description: Main Debian packaging script for Net::Netmask # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/perl-makemaker.mk include /usr/share/cdbs/1/rules/debhelper.mk DEB_UPSTREAM_PACKAGE = Net-Netmask DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/Net DEB_UPSTREAM_TARBALL_VERSION := $(shell echo '$(DEB_UPSTREAM_VERSION)' | awk -F. '{print $$1"."$$2$$3$$4$$5}') DEB_UPSTREAM_TARBALL_MD5 = 174606b568f8545b8968aecf50ba7a37 debian/control.in0000644000000000000000000000235611733615433011212 0ustar Source: libnet-netmask-perl Section: perl Priority: optional Build-Depends: @cdbs@ Maintainer: Debian Perl Group Uploaders: Dominic Hargreaves , Jonas Smedegaard Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/pkg-perl/packages/libnet-netmask-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libnet-netmask-perl.git Homepage: http://search.cpan.org/dist/Net-Netmask/ Package: libnet-netmask-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends} Description: parse, manipulate and lookup IP network blocks Net::Netmask parses and understands IPv4 CIDR blocks. It's built with an object-oriented interface. Nearly all functions are methods that operate on a Net::Netmask object. . There are methods that provide the nearly all bits of information about a network block that you might want. . There are also functions to put a network block into a table and then later lookup network blocks by IP address in that table. There are functions to turn an IP address range into a list of CIDR blocks. There are functions to turn a list of CIDR blocks into a list of IP addresses. . There is a function for sorting by text IP address.