r22440 - in /trunk/libnet-netmask-perl/debian: cdbs/1/rules/copyright-check.mk cdbs/1/rules/upstream-tarball.mk changelog compat control control.in copyright_hints rules

js at users.alioth.debian.org js at users.alioth.debian.org
Sun Jun 29 09:10:52 UTC 2008


Author: js
Date: Sun Jun 29 09:10:52 2008
New Revision: 22440

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=22440
Log:
* 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.

Modified:
    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_hints
    trunk/libnet-netmask-perl/debian/rules

Modified: trunk/libnet-netmask-perl/debian/cdbs/1/rules/copyright-check.mk
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-netmask-perl/debian/cdbs/1/rules/copyright-check.mk?rev=22440&op=diff
==============================================================================
--- trunk/libnet-netmask-perl/debian/cdbs/1/rules/copyright-check.mk (original)
+++ trunk/libnet-netmask-perl/debian/cdbs/1/rules/copyright-check.mk Sun Jun 29 09:10:52 2008
@@ -28,6 +28,9 @@
 
 CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), devscripts (>= 2.10.7)
 
+# Set to yes to fail on changed/new hints are found
+#DEB_COPYRIGHT_CHECK_STRICT := yes
+
 # Single regular expression for files to include or ignore
 DEB_COPYRIGHT_CHECK_REGEX = .*
 DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^(debian/.*|(.*/)?config\.(guess|sub|rpath)(\..*)?)$
@@ -43,6 +46,7 @@
 	licensecheck -c '$(DEB_COPYRIGHT_CHECK_REGEX)' -r --copyright -i '$(DEB_COPYRIGHT_CHECK_IGNORE_REGEX)' * \
 		| LC_ALL=C perl -e \
 	'$$n=0; while (<>) {'\
+	'	s/[^[:print:]]//g;'\
 	'	if (/^([^:\s][^:]+):[\s]+(\S.*?)\s*$$/) {'\
 	'		$$files[$$n]{name}=$$1;'\
 	'		$$files[$$n]{license}=$$2;'\
@@ -65,7 +69,7 @@
 	'			||'\
 	'			$$a cmp $$b'\
 	'		} keys %patternfiles ) {'\
-	'	print "$$pattern: ", join(", ", sort @{ $$patternfiles{$$pattern} }), "\n";'\
+	'	print "$$pattern: ", join("\n\t", sort @{ $$patternfiles{$$pattern} }), "\n";'\
 	'};'\
 		> debian/copyright_newhints
 	@patterncount="`cat debian/copyright_newhints | sed 's/^[^:]*://' | LANG=C sort -u | grep . -c -`"; \
@@ -73,18 +77,18 @@
 	@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 "$(if $(DEB_COPYRIGHT_CHECK_STRICT),ERROR,WARNING): The following new or changed copyright notices discovered:"; \
 			echo; \
 			echo "$$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; \
+			$(if $(DEB_COPYRIGHT_CHECK_STRICT),exit 1,:); \
+		else \
+			echo 'No new copyright notices found - assuming no news is good news...'; \
+			rm -f debian/copyright_newhints; \
 		fi
-	
-	@echo 'No new copyright notices found - assuming no news is good news...'
-	rm -f debian/copyright_newhints
 	touch $@
 
 clean::

Modified: trunk/libnet-netmask-perl/debian/cdbs/1/rules/upstream-tarball.mk
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-netmask-perl/debian/cdbs/1/rules/upstream-tarball.mk?rev=22440&op=diff
==============================================================================
--- trunk/libnet-netmask-perl/debian/cdbs/1/rules/upstream-tarball.mk (original)
+++ trunk/libnet-netmask-perl/debian/cdbs/1/rules/upstream-tarball.mk Sun Jun 29 09:10:52 2008
@@ -77,7 +77,7 @@
 			rm "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" ; \
 		fi ; \
 		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)" ; \
+		wget -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

Modified: trunk/libnet-netmask-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-netmask-perl/debian/changelog?rev=22440&op=diff
==============================================================================
--- trunk/libnet-netmask-perl/debian/changelog (original)
+++ trunk/libnet-netmask-perl/debian/changelog Sun Jun 29 09:10:52 2008
@@ -1,3 +1,21 @@
+libnet-netmask-perl (1.9015-3) UNRELEASED; 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 <dr at jones.dk>  Wed, 19 Mar 2008 03:25:49 +0100
+
 libnet-netmask-perl (1.9015-2) unstable; urgency=low
 
   [ Gunnar Wolf ]

Modified: trunk/libnet-netmask-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-netmask-perl/debian/compat?rev=22440&op=diff
==============================================================================
--- trunk/libnet-netmask-perl/debian/compat (original)
+++ trunk/libnet-netmask-perl/debian/compat Sun Jun 29 09:10:52 2008
@@ -1,1 +1,1 @@
-5
+6

Modified: trunk/libnet-netmask-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-netmask-perl/debian/control?rev=22440&op=diff
==============================================================================
--- trunk/libnet-netmask-perl/debian/control (original)
+++ trunk/libnet-netmask-perl/debian/control Sun Jun 29 09:10:52 2008
@@ -1,17 +1,17 @@
 Source: libnet-netmask-perl
 Section: perl
 Priority: optional
-Build-Depends: cdbs (>= 0.4.39), devscripts (>= 2.10.7), dh-buildinfo, debhelper (>= 5), perl (>= 5.6.0-16)
+Build-Depends: cdbs (>= 0.4.39), devscripts (>= 2.10.7), dh-buildinfo, debhelper (>= 5.0.44), perl (>= 5.6.0-16)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Jonas Smedegaard <dr at jones.dk>
 Standards-Version: 3.7.3
-Vcs-Svn: svn://svn.debian.org/collab-maint/deb-maint/libnet-netmask-perl/trunk
-Vcs-Browser: http://svn.debian.org/wsvn/collab-maint/deb-maint/libnet-netmask-perl/trunk
+Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libnet-netmask-perl/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-netmask-perl/
 Homepage: http://search.cpan.org/dist/Net-Netmask/
 
 Package: libnet-netmask-perl
 Architecture: all
-Depends: ${perl:Depends}
+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

Modified: trunk/libnet-netmask-perl/debian/control.in
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-netmask-perl/debian/control.in?rev=22440&op=diff
==============================================================================
--- trunk/libnet-netmask-perl/debian/control.in (original)
+++ trunk/libnet-netmask-perl/debian/control.in Sun Jun 29 09:10:52 2008
@@ -5,13 +5,13 @@
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Jonas Smedegaard <dr at jones.dk>
 Standards-Version: 3.7.3
-Vcs-Svn: svn://svn.debian.org/collab-maint/deb-maint/libnet-netmask-perl/trunk
-Vcs-Browser: http://svn.debian.org/wsvn/collab-maint/deb-maint/libnet-netmask-perl/trunk
+Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libnet-netmask-perl/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-netmask-perl/
 Homepage: http://search.cpan.org/dist/Net-Netmask/
 
 Package: libnet-netmask-perl
 Architecture: all
-Depends: ${perl:Depends}
+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

Modified: trunk/libnet-netmask-perl/debian/copyright_hints
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-netmask-perl/debian/copyright_hints?rev=22440&op=diff
==============================================================================
--- trunk/libnet-netmask-perl/debian/copyright_hints (original)
+++ trunk/libnet-netmask-perl/debian/copyright_hints Sun Jun 29 09:10:52 2008
@@ -1,2 +1,11 @@
-*No copyright* UNKNOWN []: CHANGELOG, MANIFEST, META.yml, Makefile.PL, Netmask.pod, README, t/badnets.t, t/netmasks.t, t/sortspeed-blocks.t, t/sortspeed-ip.t
+*No copyright* UNKNOWN []: CHANGELOG
+	MANIFEST
+	META.yml
+	Makefile.PL
+	Netmask.pod
+	README
+	t/badnets.t
+	t/netmasks.t
+	t/sortspeed-blocks.t
+	t/sortspeed-ip.t
 UNKNOWN [1998-2006, David Muir Sharnoff <muir at idiom.com>]: Netmask.pm

Modified: trunk/libnet-netmask-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-netmask-perl/debian/rules?rev=22440&op=diff
==============================================================================
--- trunk/libnet-netmask-perl/debian/rules (original)
+++ trunk/libnet-netmask-perl/debian/rules Sun Jun 29 09:10:52 2008
@@ -16,4 +16,4 @@
 DEB_UPSTREAM_TARBALL_MD5 = 90298105cd17a5c2a4059297e09f1546
 
 # Fix double cdbs build-dependencies
-CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bcdbs (>= 0.4.39)/ s/ *,* *\bcdbs (>= \(0.4.23-1.1\|0.4.27-1\)) *,* */, /g' -e 's/^ *, *//' -e 's/ *, *$$//')
+CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bcdbs (>= 0.4.39)/ s/ *,* *\bcdbs (>= \(0.4.23-1.1\)) *,* */, /g' -e 's/^ *, *//' -e 's/ *, *$$//')




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