diff -Nru libcrypt-hcesha-perl-0.70/debian/changelog libcrypt-hcesha-perl-0.70/debian/changelog --- libcrypt-hcesha-perl-0.70/debian/changelog 2011-10-17 13:14:59.000000000 +0000 +++ libcrypt-hcesha-perl-0.70/debian/changelog 2011-08-07 12:59:24.000000000 +0000 @@ -1,3 +1,16 @@ +libcrypt-hcesha-perl (0.70-3) unstable; urgency=low + + * added d/watch + * reduced d/rules + * d/control: added Homepage link + * bumped dephelper compat level + * Switch to dpkg-source 3.0 (quilt) format + * bumped standards version + * added patch for Digest::SHA translation (Closes: #635178) + * d/control: removed version dep of perl + + -- Jonas Genannt Thu, 04 Aug 2011 19:19:21 +0200 + libcrypt-hcesha-perl (0.70-2) unstable; urgency=low * new standards version diff -Nru libcrypt-hcesha-perl-0.70/debian/compat libcrypt-hcesha-perl-0.70/debian/compat --- libcrypt-hcesha-perl-0.70/debian/compat 2011-10-17 13:14:59.000000000 +0000 +++ libcrypt-hcesha-perl-0.70/debian/compat 2011-08-07 12:59:24.000000000 +0000 @@ -1 +1 @@ -4 +8 diff -Nru libcrypt-hcesha-perl-0.70/debian/control libcrypt-hcesha-perl-0.70/debian/control --- libcrypt-hcesha-perl-0.70/debian/control 2011-10-17 13:14:59.000000000 +0000 +++ libcrypt-hcesha-perl-0.70/debian/control 2011-08-07 12:59:24.000000000 +0000 @@ -1,14 +1,15 @@ Source: libcrypt-hcesha-perl Section: perl Priority: optional -Build-Depends: debhelper (>= 4.0.0) -Build-Depends-Indep: perl (>= 5.6.0-17), libdigest-sha1-perl +Build-Depends: debhelper (>= 8) +Build-Depends-Indep: perl Maintainer: Jonas Genannt -Standards-Version: 3.8.0 +Standards-Version: 3.9.2 +Homepage: http://search.cpan.org/dist/Crypt-HCE_SHA/ Package: libcrypt-hcesha-perl Architecture: all -Depends: ${perl:Depends}, libdigest-sha1-perl, libmime-base64-perl +Depends: ${perl:Depends}, ${misc:Depends}, libmime-base64-perl Description: Perl extension for one way hash chaining encryption using SHA This module implements a chaining block cipher using a one way hash. This method of encryption is the same that is used by radius (RFC2138) and is also diff -Nru libcrypt-hcesha-perl-0.70/debian/patches/series libcrypt-hcesha-perl-0.70/debian/patches/series --- libcrypt-hcesha-perl-0.70/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ libcrypt-hcesha-perl-0.70/debian/patches/series 2011-08-07 12:59:24.000000000 +0000 @@ -0,0 +1 @@ +use-Digest-SHA.patch diff -Nru libcrypt-hcesha-perl-0.70/debian/patches/use-Digest-SHA.patch libcrypt-hcesha-perl-0.70/debian/patches/use-Digest-SHA.patch --- libcrypt-hcesha-perl-0.70/debian/patches/use-Digest-SHA.patch 1970-01-01 00:00:00.000000000 +0000 +++ libcrypt-hcesha-perl-0.70/debian/patches/use-Digest-SHA.patch 2011-08-07 12:59:24.000000000 +0000 @@ -0,0 +1,48 @@ +Author: Salvatore Bonaccorso +Description: digest-sha-perl-transition (Closes: #635178) +Bug: https://rt.cpan.org/Public/Bug/Display.html?id=67841 + +diff -urN libcrypt-hcesha-perl-0.70.orig//HCE_SHA.pm libcrypt-hcesha-perl-0.70/HCE_SHA.pm +--- libcrypt-hcesha-perl-0.70.orig//HCE_SHA.pm 2004-03-26 16:27:58.000000000 +0100 ++++ libcrypt-hcesha-perl-0.70/HCE_SHA.pm 2011-04-29 20:42:11.309252526 +0200 +@@ -10,7 +10,7 @@ + use strict; + use vars qw($VERSION @ISA @EXPORT @EXPORT_OK); + +-use Digest::SHA1; ++use Digest::SHA; + use MIME::Base64; + use Carp; + +@@ -46,7 +46,7 @@ + my $self = shift; + my ($rnd) = @_; + +- my $context = new Digest::SHA1; ++ my $context = new Digest::SHA; + $context->add($self->{SKEY}, $rnd); + my $digest = $context->digest(); + my @e_block = unpack('C*', $digest); +diff -urN libcrypt-hcesha-perl-0.70.orig//META.yml libcrypt-hcesha-perl-0.70/META.yml +--- libcrypt-hcesha-perl-0.70.orig//META.yml 2004-03-26 16:28:13.000000000 +0100 ++++ libcrypt-hcesha-perl-0.70/META.yml 2011-04-29 20:42:17.622499154 +0200 +@@ -5,7 +5,7 @@ + version_from: HCE_SHA.pm + installdirs: site + requires: +- Digest::SHA1: 0 ++ Digest::SHA: 0 + MIME::Base64: 2 + + distribution_type: module +diff -urN libcrypt-hcesha-perl-0.70.orig//Makefile.PL libcrypt-hcesha-perl-0.70/Makefile.PL +--- libcrypt-hcesha-perl-0.70.orig//Makefile.PL 2003-11-13 00:24:46.000000000 +0100 ++++ libcrypt-hcesha-perl-0.70/Makefile.PL 2011-04-29 20:42:25.417251532 +0200 +@@ -4,6 +4,6 @@ + WriteMakefile( + 'NAME' => 'Crypt::HCE_SHA', + 'VERSION_FROM' => 'HCE_SHA.pm', # finds $VERSION +- 'PREREQ_PM' => {'Digest::SHA1' => 0, ++ 'PREREQ_PM' => {'Digest::SHA' => 0, + 'MIME::Base64' => 2} + ); diff -Nru libcrypt-hcesha-perl-0.70/debian/rules libcrypt-hcesha-perl-0.70/debian/rules --- libcrypt-hcesha-perl-0.70/debian/rules 2011-10-17 13:14:59.000000000 +0000 +++ libcrypt-hcesha-perl-0.70/debian/rules 2011-08-07 12:59:24.000000000 +0000 @@ -1,60 +1,4 @@ #!/usr/bin/make -f -#-*- makefile -*- -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -PACKAGE=$(shell dh_listpackages) - -ifndef PERL -PERL = /usr/bin/perl -endif - -ifndef DESTDIR -DESTDIR=.. -endif -TMP =$(CURDIR)/debian/$(PACKAGE) - -build: build-stamp -build-stamp: - dh_testdir - $(PERL) Makefile.PL INSTALLDIRS=vendor - $(MAKE) OPTIMIZE="-O2 -g -Wall" - touch build-stamp - -clean: - dh_testdir - dh_testroot - rm -f build-stamp - [ ! -f Makefile ] || $(MAKE) realclean - dh_clean - -install: - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - $(MAKE) install PREFIX=$(TMP)/usr - [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5 - -# 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_testdir - dh_testroot - dh_installdocs README - dh_installexamples - dh_installchangelogs Changes - dh_compress - dh_fixperms - dh_installdeb - dh_perl - dh_gencontrol - dh_md5sums - dh_builddeb --destdir=$(DESTDIR) - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary +%: + dh $@ diff -Nru libcrypt-hcesha-perl-0.70/debian/source/format libcrypt-hcesha-perl-0.70/debian/source/format --- libcrypt-hcesha-perl-0.70/debian/source/format 1970-01-01 00:00:00.000000000 +0000 +++ libcrypt-hcesha-perl-0.70/debian/source/format 2011-10-17 13:15:00.000000000 +0000 @@ -0,0 +1 @@ +3.0 (quilt) diff -Nru libcrypt-hcesha-perl-0.70/debian/watch libcrypt-hcesha-perl-0.70/debian/watch --- libcrypt-hcesha-perl-0.70/debian/watch 1970-01-01 00:00:00.000000000 +0000 +++ libcrypt-hcesha-perl-0.70/debian/watch 2011-08-07 12:59:24.000000000 +0000 @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/Crypt-HCE_SHA/ .*/Crypt-HCE_SHA-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$