--- libmodule-signature-perl-0.55.orig/debian/control +++ libmodule-signature-perl-0.55/debian/control @@ -0,0 +1,19 @@ +Source: libmodule-signature-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5.0), quilt +Build-Depends-Indep: perl (>= 5.8.0-7), libtest-simple-perl, libdigest-sha1-perl, libdigest-sha-perl, libpar-dist-perl, gnupg +Maintainer: Debian Perl Group +Uploaders: Krzysztof Krzyzaniak (eloy) , gregor herrmann +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/Module-Signature/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmodule-signature-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-signature-perl/ + +Package: libmodule-signature-perl +Architecture: all +Depends: perl (>= 5.8.0-7), libdigest-sha1-perl, libdigest-sha-perl, libpar-dist-perl +Recommends: gnupg +Description: Module signature file manipulation + Module::Signature adds cryptographic authentications to CPAN + distributions, via the special SIGNATURE file. --- libmodule-signature-perl-0.55.orig/debian/patches/series +++ libmodule-signature-perl-0.55/debian/patches/series @@ -0,0 +1 @@ +keyserver.patch --- libmodule-signature-perl-0.55.orig/debian/patches/keyserver.patch +++ libmodule-signature-perl-0.55/debian/patches/keyserver.patch @@ -0,0 +1,31 @@ +--- libmodule-signature-perl.orig/t/0-signature.t ++++ libmodule-signature-perl/t/0-signature.t +@@ -18,7 +18,7 @@ + elsif ( -s 'SIGNATURE' == 0 ) { + plan skip_all => "SIGNATURE file empty"; + } +-elsif (!eval { require Socket; Socket::inet_aton('pgp.mit.edu') }) { ++elsif (!eval { require Socket; Socket::inet_aton('subkeys.pgp.net') }) { + plan skip_all => "Cannot connect to the keyserver to check module ". + "signature"; + } +--- libmodule-signature-perl.orig/lib/Module/Signature.pm ++++ libmodule-signature-perl/lib/Module/Signature.pm +@@ -29,7 +29,7 @@ + $SIGNATURE = 'SIGNATURE'; + $Timeout = $ENV{MODULE_SIGNATURE_TIMEOUT} || 3; + $Verbose = $ENV{MODULE_SIGNATURE_VERBOSE} || 0; +-$KeyServer = $ENV{MODULE_SIGNATURE_KEYSERVER} || 'pgp.mit.edu'; ++$KeyServer = $ENV{MODULE_SIGNATURE_KEYSERVER} || 'subkeys.pgp.net'; + $KeyServerPort = $ENV{MODULE_SIGNATURE_KEYSERVERPORT} || '11371'; + $Cipher = $ENV{MODULE_SIGNATURE_CIPHER} || 'SHA1'; + $Preamble = << "."; +@@ -826,7 +826,7 @@ + "Next time around, consider install Module::Signature, ", + "so you can verify the integrity of this distribution.\n"; + } +- elsif (!eval { require Socket; Socket::inet_aton('pgp.mit.edu') }) { ++ elsif (!eval { require Socket; Socket::inet_aton('subkeys.pgp.net') }) { + print "ok 1 # skip ", + "Cannot connect to the keyserver\n"; + } --- libmodule-signature-perl-0.55.orig/debian/rules +++ libmodule-signature-perl-0.55/debian/rules @@ -0,0 +1,72 @@ +#!/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 + +include /usr/share/quilt/quilt.make + +# 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: $(QUILT_STAMPFN) + dh_testdir + + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) + $(MAKE) test + + touch $@ + +clean: unpatch + 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 $@ + +binary-arch: +# We have nothing to do here for an architecture-independent package + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + 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 install --- libmodule-signature-perl-0.55.orig/debian/watch +++ libmodule-signature-perl-0.55/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/Module-Signature/ .*/Module-Signature-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) --- libmodule-signature-perl-0.55.orig/debian/copyright +++ libmodule-signature-perl-0.55/debian/copyright @@ -0,0 +1,28 @@ +This is the debian package for the Module::Signature module. +It was created by Chip Salzenberg using dh-make-perl. + +Chip Salzenberg created this Debian package using +original module sources, as found on the Comprehensive Perl Archive +Network (CPAN) . The Debian Perl packaging tool +"dh-make-perl" was of great help. + +Upstream source location: http://search.cpan.org/dist/Module-Signature/ + +Copyright 2002-2006 by Audrey Tang . + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is fur- +nished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- +NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X +CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --- libmodule-signature-perl-0.55.orig/debian/compat +++ libmodule-signature-perl-0.55/debian/compat @@ -0,0 +1 @@ +5 --- libmodule-signature-perl-0.55.orig/debian/changelog +++ libmodule-signature-perl-0.55/debian/changelog @@ -0,0 +1,99 @@ +libmodule-signature-perl (0.55-2) unstable; urgency=low + + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). Removed: XS- + Vcs-Svn fields. + * debian/rules: + - delete /usr/lib/perl5 only if it exists (closes: #467870) + - update based on dh-make-perl's templates + - don't install README any more (no additional information) + * debian/watch: use dist-based URL. + * Set Standards-Version to 3.7.3 (no changes). + * Add debian/compat instead of setting DH_COMPAT in debian/rules. + * debian/copyright: add download URL and copy copyright/license terms + verbatim from README to match reality. + * Split the changes regarding the default keyserver (cf. #293080) out to + keyserver.patch; and don't change the keyserver only in the test (which + isn't actually run because it would fail due to the patch -- d'oh) but + also in the module (and it's documentation) itself, which was the + intention of the bug submitter ... Add quilt framework. + + -- gregor herrmann Sun, 09 Mar 2008 00:16:07 +0100 + +libmodule-signature-perl (0.55-1) unstable; urgency=low + + * New upstream release + * debian/control: + + Standards-Version: increased to 3.7.2.1 + + -- Krzysztof Krzyzaniak (eloy) Wed, 2 Aug 2006 16:13:43 +0200 + +libmodule-signature-perl (0.54-1) unstable; urgency=low + + * New upstream release. + * Standard-Version upgraded to 3.7.2 (no changes needed). + * Debhelper compatibility level upgraded to 5. + * Move several dependencies to Build-Depends-Indep, as required by Policy. + * Remove empty /usr/lib/perl5 directory from package. + + -- gregor herrmann Sun, 14 May 2006 01:45:03 +0200 + +libmodule-signature-perl (0.53-1) unstable; urgency=low + + * New upstream release, taking package for Perl Group + (closes: #329595) (closes: #357075) + * debian/watch - added + * debian/control: + - Standards-Version: upgraded to 3.6.2 + - Uploaders: added me + - Maintainer: set to Debian Perl Group + - libdigest-sha-perl added to dependencies + * debian/rules: + - compat increased to 4 + - added PERL_MM_USE_DEFAULT=1 + + -- Krzysztof Krzyzaniak (eloy) Wed, 15 Mar 2006 17:18:22 +0100 + +libmodule-signature-perl (0.44-3) unstable; urgency=low + + * Re-upload with full source, as the 0.44-1 upload was borked so the + 0.44-2 upload was refused. + + -- Chip Salzenberg Fri, 8 Apr 2005 18:28:23 -0400 + +libmodule-signature-perl (0.44-2) unstable; urgency=low + + * Default to 'subkeys.pgp.net', not 'pgp.mit.edu'. (closes: #293080) + * Clean up dependencies. + + -- Chip Salzenberg Fri, 8 Apr 2005 17:42:20 -0400 + +libmodule-signature-perl (0.44-1) unstable; urgency=medium + + * New upstream release. + + -- Chip Salzenberg Tue, 8 Mar 2005 12:43:12 -0500 + +libmodule-signature-perl (0.35-2) unstable; urgency=high + + * Fix Build-Depends by deleting my hacked dpkg-source. + + -- Chip Salzenberg Sun, 5 Oct 2003 21:45:16 -0400 + +libmodule-signature-perl (0.35-1) unstable; urgency=low + + * New upstream release. + + -- Chip Salzenberg Fri, 3 Oct 2003 19:30:47 -0400 + +libmodule-signature-perl (0.26-1) unstable; urgency=low + + * New upstream release. + + -- Chip Salzenberg Thu, 24 Jul 2003 18:12:17 -0400 + +libmodule-signature-perl (0.21-1) unstable; urgency=low + + * Initial Release. + + -- Chip Salzenberg Sat, 15 Feb 2003 15:18:20 -0500