r15322 - in /trunk/libnet-netmask-perl/debian: ./ cdbs/ cdbs/1/ cdbs/1/rules/

js at users.alioth.debian.org js at users.alioth.debian.org
Thu Feb 21 00:31:15 UTC 2008


Author: js
Date: Thu Feb 21 00:31:14 2008
New Revision: 15322

URL: http://svn.debian.org/wsvn/?sc=1&rev=15322
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    trunk/libnet-netmask-perl/debian/
    trunk/libnet-netmask-perl/debian/README.cdbs-tweaks
    trunk/libnet-netmask-perl/debian/cdbs/
    trunk/libnet-netmask-perl/debian/cdbs/1/
    trunk/libnet-netmask-perl/debian/cdbs/1/rules/
    trunk/libnet-netmask-perl/debian/cdbs/1/rules/buildcore.mk
    trunk/libnet-netmask-perl/debian/cdbs/1/rules/buildinfo.mk
    trunk/libnet-netmask-perl/debian/cdbs/1/rules/copyright-check.mk
    trunk/libnet-netmask-perl/debian/cdbs/1/rules/upstream-tarball.mk
    trunk/libnet-netmask-perl/debian/changelog
    trunk/libnet-netmask-perl/debian/compat
    trunk/libnet-netmask-perl/debian/control
    trunk/libnet-netmask-perl/debian/control.in
    trunk/libnet-netmask-perl/debian/copyright
    trunk/libnet-netmask-perl/debian/copyright_hints
    trunk/libnet-netmask-perl/debian/rules   (with props)
    trunk/libnet-netmask-perl/debian/watch

Added: trunk/libnet-netmask-perl/debian/README.cdbs-tweaks
URL: http://svn.debian.org/wsvn/trunk/libnet-netmask-perl/debian/README.cdbs-tweaks?rev=15322&op=file
==============================================================================
--- trunk/libnet-netmask-perl/debian/README.cdbs-tweaks (added)
+++ trunk/libnet-netmask-perl/debian/README.cdbs-tweaks Thu Feb 21 00:31:14 2008
@@ -1,0 +1,106 @@
+CDBS tweak
+==========
+
+CDBS is great. In some corner cases, however, some parts of CDBS
+sometimes needs a few tweaks to work optimally.
+
+This is a collection of such tweaks. The goal is for these tweaks to be
+absorbed into upstream CDBS. We just haven't found time yet to discuss
+them at the CDBS developers' mailinglist. And possible we do not all
+agree that the tweaks are so great - therefore this "staging area".
+
+If you found this file below debian/ subdir in a source package, most
+probably only a subset of the below mentioned tweaks are relevant and
+have been shipped with the package. The repository of all these tweaks
+is here: svn://svn.debian.org/build-common/people/js/overlay/
+
+Web access: http://svn.debian.org/wsvn/build-common/people/js/overlay/
+
+
+
+Improved support for cdbs-autoupdate
+------------------------------------
+
+CDBS invented a cool way to help keep build-dependencies up-to-date.
+
+It is disabled by default, as messing with debian/rules at build time
+violates Debian Policy: A build must not change conditions for building.
+
+Some consider this CDBS feature evil.
+
+Some enable the feature within a package, and gets smacked by ftp-master
+or others (there's even a lintian check to complain about it now).
+
+This tweak enables the feature when the build environment contains the
+non-default hint "cdbs-autoupdate" in the DEB_BUILD_OPTIONS variable.
+
+
+
+New buildinfo rule
+------------------
+
+See package description for "buildinfo" for more info.
+
+
+
+Improved support for multiple compilations
+------------------------------------------
+
+Create and clean builddir _after_ resolving per-package DEB_BUILDDIR.
+
+Honour per-package DEB_BUILDDIR in makefile class.
+
+
+
+Various improvements to python-distutils class
+----------------------------------------------
+
+Use full path to python interpreter (Python Policy section 1.3.2).
+
+Add CDBS_BUILD_DEPENDS to old policy method.
+
+Fix CDBS_BUILD_DEPENDS in new policy methods to only depend on debhelper
+when actually used.
+
+Fix DEB_PYTHON_SIMPLE_PACKAGES sometimes installed twice (and only one
+of them honouring DEB_PYTHON_COMPILE_VERSION).
+
+Unify install path using new DEB_PYTHON_DESTDIR.
+
+Quote install path.
+
+
+
+New copyright-check rule
+------------------------
+
+Refuse to build if the source is found to contain different copyright
+info than earlier builds.
+
+
+
+New kernelpatches rule
+----------------------
+
+Small wrapper around dh-kpatches, taking care of build-dependencies too.
+
+
+
+New routines for handling upstream tarball
+------------------------------------------
+
+Rules and variables to help downloading, validating and repackaging
+upstream tarball.
+
+Implements the rules print-version and get-orig-source commonly used
+for group-maintained packages with Debian-specific patches maintained in
+SVN or some other VCS, and automated fetching virgin upstream tarball
+(possibly massaged after download e.g. to strip non-DFSG material).
+
+
+
+Support for custom BTS info
+---------------------------
+
+Include BTS control info found in debian/*.bts files, or alternatively
+redirect bug reports to the email address defined in DEB_BTS_EMAIL.

Added: trunk/libnet-netmask-perl/debian/cdbs/1/rules/buildcore.mk
URL: http://svn.debian.org/wsvn/trunk/libnet-netmask-perl/debian/cdbs/1/rules/buildcore.mk?rev=15322&op=file
==============================================================================
--- trunk/libnet-netmask-perl/debian/cdbs/1/rules/buildcore.mk (added)
+++ trunk/libnet-netmask-perl/debian/cdbs/1/rules/buildcore.mk Thu Feb 21 00:31:14 2008
@@ -1,0 +1,30 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2006 Jonas Smedegaard <dr at jones.dk>
+# Description: Check for cdbs-autoupdate in DEB_BUILD_OPTIONS
+#
+# 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+include $(_cdbs_rules_path)/buildvars.mk$(_cdbs_makefile_suffix)
+
+ifneq (,$(findstring cdbs-autoupdate,$(DEB_BUILD_OPTIONS)))
+DEB_AUTO_UPDATE_DEBIAN_CONTROL = yes
+endif
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)

Added: trunk/libnet-netmask-perl/debian/cdbs/1/rules/buildinfo.mk
URL: http://svn.debian.org/wsvn/trunk/libnet-netmask-perl/debian/cdbs/1/rules/buildinfo.mk?rev=15322&op=file
==============================================================================
--- trunk/libnet-netmask-perl/debian/cdbs/1/rules/buildinfo.mk (added)
+++ trunk/libnet-netmask-perl/debian/cdbs/1/rules/buildinfo.mk Thu Feb 21 00:31:14 2008
@@ -1,0 +1,40 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2004-2006 Jonas Smedegaard <dr at jones.dk>
+# Description: Generate and include build information
+#
+# 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_rules_buildinfo
+_cdbs_rules_buildinfo = 1
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), dh-buildinfo
+
+common-install-arch common-install-indep:: debian/stamp-buildinfo
+
+debian/stamp-buildinfo:
+	dh_buildinfo
+	touch debian/stamp-buildinfo
+
+clean::
+	rm -f debian/stamp-buildinfo
+
+endif

Added: trunk/libnet-netmask-perl/debian/cdbs/1/rules/copyright-check.mk
URL: http://svn.debian.org/wsvn/trunk/libnet-netmask-perl/debian/cdbs/1/rules/copyright-check.mk?rev=15322&op=file
==============================================================================
--- trunk/libnet-netmask-perl/debian/cdbs/1/rules/copyright-check.mk (added)
+++ trunk/libnet-netmask-perl/debian/cdbs/1/rules/copyright-check.mk Thu Feb 21 00:31:14 2008
@@ -1,0 +1,69 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2005-2007 Jonas Smedegaard <dr at jones.dk>
+# Description: Check for changes to copyright notices in source
+#
+# 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+# TODO: Save scan as "file: match" (needs rewrite of main loop in perl)
+
+# TODO: Save scan as "file (license): match" (needs /usr/bin/licensecheck from kdesdk-scripts)
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_rules_copyright-check
+_cdbs_rules_copyright-check := 1
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+cdbs_copyright-check_find_opts := -not -regex 'debian/.*' -not -regex '\(.*/\)?config\.\(guess\|sub\|rpath\)\(\..*\)?'
+cdbs_copyright-check_egrep_opts := --text -rih '(copyright|\(c\) ).*[0-9]{4}'
+
+pre-build:: debian/stamp-copyright-check
+
+debian/stamp-copyright-check:
+	@echo 'Scanning upstream source for new/changed copyright notices (except debian subdir!)...'
+	find * -type f $(cdbs_copyright-check_find_opts) -exec cat '{}' ';' \
+		| tr '\r' '\n' \
+		| LC_ALL=C sed -e 's/[^[:print:]]//g' \
+		| egrep $(cdbs_copyright-check_egrep_opts) \
+		| sed -e 's/^[[:space:]*#]*//' -e 's/[[:space:]]*$$//' \
+		| LC_ALL=C sort -u \
+		> debian/copyright_newhints
+	@if [ ! -f debian/copyright_hints ]; then touch debian/copyright_hints; fi
+	@newstrings=`diff -u debian/copyright_hints debian/copyright_newhints | sed '1,2d' | egrep '^\+' | sed 's/^\+//'`; \
+		if [ -n "$$newstrings" ]; then \
+			echo "Error: The following new or changed copyright notices discovered:"; \
+			echo "$$newstrings"; \
+			echo "Trying to locate the files containing the new/changed copyright notices..."; \
+			echo "(Strings part of binary data you need to resolve yourself)"; \
+			find * -type f $(cdbs_copyright-check_find_opts) -exec grep -F -l -e "$$newstrings" '{}' ';'; \
+			echo; \
+			echo "To fix the situation please do the following:"; \
+			echo "  1) Investigate the above changes and update debian/copyright as needed"; \
+			echo "  2) Replace debian/copyright_hints with debian/copyright_newhints"; \
+			exit 1; \
+		fi
+	
+	@echo 'No new copyright notices found - assuming no news is good news...'
+	rm -f debian/copyright_newhints
+	touch $@
+
+clean::
+	rm -f debian/stamp-copyright-check
+
+endif

Added: trunk/libnet-netmask-perl/debian/cdbs/1/rules/upstream-tarball.mk
URL: http://svn.debian.org/wsvn/trunk/libnet-netmask-perl/debian/cdbs/1/rules/upstream-tarball.mk?rev=15322&op=file
==============================================================================
--- trunk/libnet-netmask-perl/debian/cdbs/1/rules/upstream-tarball.mk (added)
+++ trunk/libnet-netmask-perl/debian/cdbs/1/rules/upstream-tarball.mk Thu Feb 21 00:31:14 2008
@@ -1,0 +1,107 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2007 Jonas Smedegaard <dr at jones.dk>
+# Description: Convenience rules for dealing with upstream tarballs
+#
+# 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_rules_upstream_tarball
+_cdbs_rules_upstream_tarball := 1
+
+# Prefix for upstream location of all upstream tarballs (mandatory!)
+#DEB_UPSTREAM_URL = 
+DEB_UPSTREAM_PACKAGE = $(DEB_SOURCE_PACKAGE)
+DEB_UPSTREAM_TARBALL_VERSION = $(if $(strip $(DEB_UPSTREAM_REPACKAGE_EXCLUDE)),$(shell basename '$(DEB_UPSTREAM_VERSION)' '.$(DEB_UPSTREAM_REPACKAGE_TAG)'),$(DEB_UPSTREAM_VERSION))
+DEB_UPSTREAM_TARBALL_EXTENSION = tar.gz
+# Checksum to ensure integrity of downloadeds using get-orig-source (optional)
+#DEB_UPSTREAM_TARBALL_MD5 = 
+
+DEB_UPSTREAM_WORKDIR = ../tarballs
+
+# Base directory within tarball
+DEB_UPSTREAM_TARBALL_SRCDIR = $(DEB_UPSTREAM_PACKAGE)-$(DEB_UPSTREAM_TARBALL_VERSION)
+
+# Space-delimited list of directories and files to strip (optional)
+#DEB_UPSTREAM_REPACKAGE_EXCLUDE = CVS .cvsignore doc/rfc*.txt doc/draft*.txt
+DEB_UPSTREAM_REPACKAGE_TAG = dfsg
+
+cdbs_upstream_tarball = $(DEB_UPSTREAM_PACKAGE)-$(DEB_UPSTREAM_TARBALL_VERSION).$(DEB_UPSTREAM_TARBALL_EXTENSION)
+cdbs_upstream_uncompressed_tarball = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar
+cdbs_upstream_local_tarball = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.$(if $(findstring $(DEB_UPSTREAM_TARBALL_EXTENSION),tgz),tar.gz,$(DEB_UPSTREAM_TARBALL_EXTENSION))
+cdbs_upstream_repackaged_tarball = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).$(DEB_UPSTREAM_REPACKAGE_TAG).orig.tar.gz
+
+# # These variables are deprecated
+_cdbs_deprecated_vars += DEB_UPSTREAM_TARBALL DEB_UPSTREAM_LOCAL_TARBALL DEB_UPSTREAM_REPACKAGE_TARBALL
+_cdbs_deprecated_vars += DEB_UPSTREAM_REPACKAGE_EXCLUDES
+DEB_UPSTREAM_REPACKAGE_EXCLUDE += $(DEB_UPSTREAM_REPACKAGE_EXCLUDES)
+
+print-version:
+	@@echo "Debian version:          $(DEB_VERSION)"
+	@@echo "Upstream version:        $(DEB_UPSTREAM_TARBALL_VERSION)"
+
+get-orig-source:
+	@@dh_testdir
+	@@mkdir -p "$(DEB_UPSTREAM_WORKDIR)"
+
+	@if [ ! -f "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" ] ; then \
+		echo "Downloading $(cdbs_upstream_local_tarball) from $(DEB_UPSTREAM_URL)/$(cdbs_upstream_tarball) ..." ; \
+		wget -N -nv -T10 -t3 -O "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" "$(DEB_UPSTREAM_URL)/$(cdbs_upstream_tarball)" ; \
+	else \
+		echo "Upstream source tarball have been already downloaded: $(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" ; \
+	fi
+
+	@md5current=`md5sum "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" | sed -e 's/ .*//'`; \
+	if [ -n "$(DEB_UPSTREAM_TARBALL_MD5)" ] ; then \
+		if [ "$$md5current" != "$(DEB_UPSTREAM_TARBALL_MD5)" ] ; then \
+			echo "Expecting upstream tarball md5sum $(DEB_UPSTREAM_TARBALL_MD5), but $$md5current found" ; \
+			echo "Upstream tarball md5sum is NOT trusted! Possible upstream tarball forge!" ; \
+			echo "Purging downloaded file. Try new download." ; \
+			rm -f "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" ; \
+			false ; \
+		else \
+			echo "Upstream tarball is trusted!" ; \
+		fi; \
+	else \
+		echo "Upstream tarball NOT trusted (current md5sum is $$md5current)!" ; \
+	fi
+
+	@case "$(cdbs_upstream_local_tarball)" in \
+	    *.tar.gz)  unpack="gunzip -c";; \
+	    *.tar.bz2) unpack="bunzip2 -c";    uncompress="bunzip2";; \
+	    *.tar.Z)   unpack="uncompress -c"; uncompress="uncompress";; \
+	    *.tar)     unpack="cat";           uncompress="true";; \
+	    *) echo "Unknown extension for upstream tarball $(cdbs_upstream_local_tarball)"; false;; \
+	esac && \
+	if [ -n "$(strip $(DEB_UPSTREAM_REPACKAGE_EXCLUDE))" ]; then \
+		echo "Repackaging tarball ..." && \
+		mkdir -p "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" && \
+		$$unpack "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" \
+			| tar -x -C "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" $(patsubst %,--exclude='%',$(DEB_UPSTREAM_REPACKAGE_EXCLUDE)) && \
+		GZIP=-9 tar -b1 -czf "$(cdbs_upstream_repackaged_tarball)" -C "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" $(DEB_UPSTREAM_TARBALL_SRCDIR) && \
+		echo "Cleaning up" && \
+		rm -rf "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)"; \
+	elif [ -n "$$uncompress" ]; then \
+		echo "Recompressing tarball ..." && \
+		$$uncompress "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)"; \
+		bzip -9 "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_uncompressed_tarball)"; \
+	fi
+
+DEB_PHONY_RULES += print-version get-orig-source
+
+endif

Added: trunk/libnet-netmask-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libnet-netmask-perl/debian/changelog?rev=15322&op=file
==============================================================================
--- trunk/libnet-netmask-perl/debian/changelog (added)
+++ trunk/libnet-netmask-perl/debian/changelog Thu Feb 21 00:31:14 2008
@@ -1,0 +1,141 @@
+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 <dr at jones.dk>  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 <dr at jones.dk>  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 <dr at jones.dk>  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 <dr at jones.dk>  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 <dr at jones.dk>  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 <dr at jones.dk>  Mon, 26 Jan 2004 18:17:04 +0100
+
+libnet-netmask-perl (1.9006-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Jonas Smedegaard <dr at jones.dk>  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 <dr at jones.dk>  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 <dr at jones.dk>  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 <dr at jones.dk>  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 <dr at jones.dk>  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 <dr at jones.dk>  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 <dr at jones.dk>  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 <dr at jones.dk>  Sat,  3 Nov 2001 13:15:09 +0100
+
+libnet-netmask-perl (1.8-0.1) unstable; urgency=low
+
+  * Initial unofficial release.
+
+ -- Jonas Smedegaard <dr at jones.dk>  Wed,  3 May 2000 17:45:17 +0200
+
+Local variables:
+mode: debian-changelog
+End:

Added: trunk/libnet-netmask-perl/debian/compat
URL: http://svn.debian.org/wsvn/trunk/libnet-netmask-perl/debian/compat?rev=15322&op=file
==============================================================================
--- trunk/libnet-netmask-perl/debian/compat (added)
+++ trunk/libnet-netmask-perl/debian/compat Thu Feb 21 00:31:14 2008
@@ -1,0 +1,1 @@
+4

Added: trunk/libnet-netmask-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libnet-netmask-perl/debian/control?rev=15322&op=file
==============================================================================
--- trunk/libnet-netmask-perl/debian/control (added)
+++ trunk/libnet-netmask-perl/debian/control Thu Feb 21 00:31:14 2008
@@ -1,0 +1,26 @@
+Source: libnet-netmask-perl
+Section: perl
+Priority: optional
+Maintainer: Jonas Smedegaard <dr at jones.dk>
+Build-Depends: , cdbs (>= 0.4.23-1.1), debhelper (>= 4.2.0), dh-buildinfo, perl (>= 5.6.0-16)
+Standards-Version: 3.7.2
+
+Package: libnet-netmask-perl
+Architecture: all
+Depends: ${perl: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 a 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.
+ .
+  Homepage: http://search.cpan.org/dist/Net-Netmask/

Added: trunk/libnet-netmask-perl/debian/control.in
URL: http://svn.debian.org/wsvn/trunk/libnet-netmask-perl/debian/control.in?rev=15322&op=file
==============================================================================
--- trunk/libnet-netmask-perl/debian/control.in (added)
+++ trunk/libnet-netmask-perl/debian/control.in Thu Feb 21 00:31:14 2008
@@ -1,0 +1,26 @@
+Source: libnet-netmask-perl
+Section: perl
+Priority: optional
+Maintainer: Jonas Smedegaard <dr at jones.dk>
+Build-Depends: @cdbs@
+Standards-Version: 3.7.2
+
+Package: libnet-netmask-perl
+Architecture: all
+Depends: ${perl: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 a 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.
+ .
+  Homepage: http://search.cpan.org/dist/Net-Netmask/

Added: trunk/libnet-netmask-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libnet-netmask-perl/debian/copyright?rev=15322&op=file
==============================================================================
--- trunk/libnet-netmask-perl/debian/copyright (added)
+++ trunk/libnet-netmask-perl/debian/copyright Thu Feb 21 00:31:14 2008
@@ -1,0 +1,11 @@
+This is Net::Netmask packaged for Debian GNU systems.
+
+Upstream source: http://www.cpan.org/modules/by-module/Net/
+
+Upstream Author: David Muir Sharnoff <muir at idiom.com>.
+
+Copyright and license:
+
+Copyright (C) 1998-2003 David Muir Sharnoff.  License hereby
+granted for anyone to use, modify or redistribute this module at 
+their own risk.  Please feed useful changes back to muir at idiom.com.

Added: trunk/libnet-netmask-perl/debian/copyright_hints
URL: http://svn.debian.org/wsvn/trunk/libnet-netmask-perl/debian/copyright_hints?rev=15322&op=file
==============================================================================
--- trunk/libnet-netmask-perl/debian/copyright_hints (added)
+++ trunk/libnet-netmask-perl/debian/copyright_hints Thu Feb 21 00:31:14 2008
@@ -1,0 +1,3 @@
+Copyright (C) 1998-2006 David Muir Sharnoff.  License hereby
+Copyright (C) 1998-2006 David Muir Sharnoff. License hereby granted for
+Copyright (C) 1998-2006, David Muir Sharnoff <muir at idiom.com>

Added: trunk/libnet-netmask-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libnet-netmask-perl/debian/rules?rev=15322&op=file
==============================================================================
--- trunk/libnet-netmask-perl/debian/rules (added)
+++ trunk/libnet-netmask-perl/debian/rules Thu Feb 21 00:31:14 2008
@@ -1,0 +1,17 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003-2007 Jonas Smedegaard <dr at jones.dk>
+
+# See debian/README.cdbs-tweaks for info on local overrides
+include debian/cdbs/1/rules/buildcore.mk
+include debian/cdbs/1/rules/upstream-tarball.mk
+include debian/cdbs/1/rules/copyright-check.mk
+include debian/cdbs/1/rules/buildinfo.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+# Put perlmodule.mk after debhelper.mk to dh_clean temp files not in MANIFEST
+include /usr/share/cdbs/1/class/perlmodule.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 = 90298105cd17a5c2a4059297e09f1546

Propchange: trunk/libnet-netmask-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libnet-netmask-perl/debian/watch
URL: http://svn.debian.org/wsvn/trunk/libnet-netmask-perl/debian/watch?rev=15322&op=file
==============================================================================
--- trunk/libnet-netmask-perl/debian/watch (added)
+++ trunk/libnet-netmask-perl/debian/watch Thu Feb 21 00:31:14 2008
@@ -1,0 +1,3 @@
+# Run the "uscan" command to check for upstream updates and more.
+version=3
+http://www.cpan.org/modules/by-module/Net/Net-Netmask-([\d+\.]+|\d+)\.tar\.gz debian uupdate




More information about the Pkg-perl-cvs-commits mailing list