r2356 - in packages/libmodule-signature-perl/trunk: . debian lib/Module t

Krzysztof Krzyzaniak eloy at costa.debian.org
Wed Mar 15 16:14:52 UTC 2006


Author: eloy
Date: 2006-03-15 16:14:51 +0000 (Wed, 15 Mar 2006)
New Revision: 2356

Added:
   packages/libmodule-signature-perl/trunk/debian/
   packages/libmodule-signature-perl/trunk/debian/changelog
   packages/libmodule-signature-perl/trunk/debian/control
   packages/libmodule-signature-perl/trunk/debian/copyright
   packages/libmodule-signature-perl/trunk/debian/rules
   packages/libmodule-signature-perl/trunk/debian/watch
Modified:
   packages/libmodule-signature-perl/trunk/Makefile.PL
   packages/libmodule-signature-perl/trunk/lib/Module/Signature.pm
   packages/libmodule-signature-perl/trunk/t/0-signature.t
Log:
Load libmodule-signature-perl-0.44 into
packages/libmodule-signature-perl/trunk.


Modified: packages/libmodule-signature-perl/trunk/Makefile.PL
===================================================================
--- packages/libmodule-signature-perl/trunk/Makefile.PL	2006-03-15 16:14:31 UTC (rev 2355)
+++ packages/libmodule-signature-perl/trunk/Makefile.PL	2006-03-15 16:14:51 UTC (rev 2356)
@@ -10,6 +10,8 @@
 license         ('perl');
 install_script	('script/cpansign');
 
+=for Non-Debian
+
 requires( perl => 5.005 );
 requires( can_cc() ? 'Digest::SHA' : 'Digest::SHA::PurePerl' )
     unless eval { require Digest::SHA1; 1 }
@@ -60,6 +62,8 @@
 auto_include_deps();
 auto_install( -default => 0 );
 
+=cut
+
 &WriteAll( sign => 1 );
 
 my $make = eval { require Config; $Config{make} } || 'make';

Added: packages/libmodule-signature-perl/trunk/debian/changelog
===================================================================
--- packages/libmodule-signature-perl/trunk/debian/changelog	2006-03-15 16:14:31 UTC (rev 2355)
+++ packages/libmodule-signature-perl/trunk/debian/changelog	2006-03-15 16:14:51 UTC (rev 2356)
@@ -0,0 +1,44 @@
+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 <chip at debian.org>  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 <chip at debian.org>  Fri,  8 Apr 2005 17:42:20 -0400
+
+libmodule-signature-perl (0.44-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Chip Salzenberg <chip at debian.org>  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 <chip at debian.org>  Sun,  5 Oct 2003 21:45:16 -0400
+
+libmodule-signature-perl (0.35-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Chip Salzenberg <chip at debian.org>  Fri,  3 Oct 2003 19:30:47 -0400
+
+libmodule-signature-perl (0.26-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Chip Salzenberg <chip at debian.org>  Thu, 24 Jul 2003 18:12:17 -0400
+
+libmodule-signature-perl (0.21-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Chip Salzenberg <chip at debian.org>  Sat, 15 Feb 2003 15:18:20 -0500
+

Added: packages/libmodule-signature-perl/trunk/debian/control
===================================================================
--- packages/libmodule-signature-perl/trunk/debian/control	2006-03-15 16:14:31 UTC (rev 2355)
+++ packages/libmodule-signature-perl/trunk/debian/control	2006-03-15 16:14:51 UTC (rev 2356)
@@ -0,0 +1,15 @@
+Source: libmodule-signature-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 3.0.5), libtest-simple-perl, libdigest-sha1-perl
+Build-Depends-Indep: perl (>= 5.8.0-7)
+Maintainer: Chip Salzenberg <chip at debian.org>
+Standards-Version: 3.5.1
+
+Package: libmodule-signature-perl
+Architecture: all
+Depends: perl (>= 5.8.0-7), libdigest-sha1-perl
+Recommends: gnupg
+Description:  Module signature file manipulation
+ Module::Signature adds cryptographic authentications to CPAN
+ distributions, via the special SIGNATURE file.

Added: packages/libmodule-signature-perl/trunk/debian/copyright
===================================================================
--- packages/libmodule-signature-perl/trunk/debian/copyright	2006-03-15 16:14:31 UTC (rev 2355)
+++ packages/libmodule-signature-perl/trunk/debian/copyright	2006-03-15 16:14:51 UTC (rev 2356)
@@ -0,0 +1,15 @@
+This is the debian package for the Module::Signature module.
+It was created by Chip Salzenberg <chip at debian.org> using dh-make-perl.
+
+Chip Salzenberg <chip at debian.org> created this Debian package using
+original module sources, as found on the Comprehensive Perl Archive
+Network (CPAN) <URL:http://cpan.org/>.  The Debian Perl packaging tool
+"dh-make-perl" was of great help.
+
+The upstream author is Autrijus Tang <autrijus at autrijus.org>.
+
+libmodule-signature-perl may be redistributed under your choice of the
+GNU General Public License or the Artistic License.  On Debian
+GNU/Linux systems, the complete text of the GNU General Public License
+can be found in `/usr/share/common-licenses/GPL' and the Artistic
+Licence in `/usr/share/common-licenses/Artistic'.

Added: packages/libmodule-signature-perl/trunk/debian/rules
===================================================================
--- packages/libmodule-signature-perl/trunk/debian/rules	2006-03-15 16:14:31 UTC (rev 2355)
+++ packages/libmodule-signature-perl/trunk/debian/rules	2006-03-15 16:14:51 UTC (rev 2356)
@@ -0,0 +1,87 @@
+#!/usr/bin/make -f
+#-*- makefile -*-
+# Made with the aid of dh_make, by Craig Small
+# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
+# Some lines taken from debmake, by Christoph Lameter.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+export DH_COMPAT=3
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+ifndef DESTDIR
+DESTDIR=..
+endif
+TMP     =`pwd`/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE) OPTIMIZE="-O2 -g -Wall"
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) realclean
+
+	dh_clean
+
+install: 
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp.
+	#$(MAKE) install DESTDIR=`pwd`/debian/tmp
+	$(MAKE) install PREFIX=$(TMP)/usr
+
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# We have nothing to do by default.
+
+# Build architecture-independent files here.
+binary-indep: build install
+#	dh_testversion
+	dh_testdir
+	dh_testroot
+	dh_installdocs TODO README
+	dh_installexamples
+	dh_installmenu
+#	dh_installemacsen
+#	dh_installinit
+	dh_installcron
+	dh_installman
+#	dh_undocumented
+	dh_installchangelogs Changes
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_makeshlibs
+	dh_installdeb
+	dh_perl 
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb --destdir="$(DESTDIR)"
+
+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


Property changes on: packages/libmodule-signature-perl/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/libmodule-signature-perl/trunk/debian/watch
===================================================================
--- packages/libmodule-signature-perl/trunk/debian/watch	2006-03-15 16:14:31 UTC (rev 2355)
+++ packages/libmodule-signature-perl/trunk/debian/watch	2006-03-15 16:14:51 UTC (rev 2356)
@@ -0,0 +1,2 @@
+version=3
+http://mirrors.kernel.org/cpan/modules/by-module/Module/Module-Signature-([\d\.]+)\.tar\.gz

Modified: packages/libmodule-signature-perl/trunk/lib/Module/Signature.pm
===================================================================
--- packages/libmodule-signature-perl/trunk/lib/Module/Signature.pm	2006-03-15 16:14:31 UTC (rev 2355)
+++ packages/libmodule-signature-perl/trunk/lib/Module/Signature.pm	2006-03-15 16:14:51 UTC (rev 2356)
@@ -26,7 +26,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		= 'SHA1';
 $Preamble	= << ".";
@@ -109,7 +109,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";
     }
     else {

Modified: packages/libmodule-signature-perl/trunk/t/0-signature.t
===================================================================
--- packages/libmodule-signature-perl/trunk/t/0-signature.t	2006-03-15 16:14:31 UTC (rev 2355)
+++ packages/libmodule-signature-perl/trunk/t/0-signature.t	2006-03-15 16:14:51 UTC (rev 2356)
@@ -14,7 +14,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";
 }




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