debian/0000755000000000000000000000000011617506054007173 5ustar debian/watch0000644000000000000000000000016711617506054010230 0ustar version=3 http://search.cpan.org/dist/Crypt-HCE_SHA/ .*/Crypt-HCE_SHA-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/rules0000755000000000000000000000003611617506054010252 0ustar #!/usr/bin/make -f %: dh $@ debian/source/0000755000000000000000000000000011617506054010473 5ustar debian/source/format0000644000000000000000000000001411617506054011701 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211617506054010371 0ustar 8 debian/copyright0000644000000000000000000000202211617506054011122 0ustar This is the debian package for the Crypt::HCE_SHA module. It was created by Ivan Kohler using dh-make-perl. It was downloaded from http://search.cpan.org/~eestabroo The original module from CPAN contains no copyright statement. The author clarified the licensing in email: Eric Estabrooks wrote: > I'll certainly upload a new one with license information (might be a > while though), but what you have listed was my intention (Perl's artistic). > > Copyright (c) 2002 Eric Estabrooks > All Rights Reserved > This module is free software; you can redistribute it and/or modify it > under the same terms as Perl itself. > > So please feel free to include it in the debian distribution. > > Eric Perl is distributed 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'. debian/patches/0000755000000000000000000000000011617506054010622 5ustar debian/patches/series0000644000000000000000000000002511617506054012034 0ustar use-Digest-SHA.patch debian/patches/use-Digest-SHA.patch0000644000000000000000000000335211617506054014270 0ustar 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} ); debian/changelog0000644000000000000000000000336111617506054011050 0ustar 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 * fixed typo in package description * fixed Make clean in debian/control -- Jonas Genannt Wed, 24 Sept 2008 19:44:01 +0200 libcrypt-hcesha-perl (0.70-1.1) unstable; urgency=low * Non-maintainer upload. * Fix FTBFS with Perl 5.10. Closes: #467687 -- Mark Hymers Sat, 05 Apr 2008 21:08:52 +0100 libcrypt-hcesha-perl (0.70-1) unstable; urgency=low * New upstream release * New Maintainer (Closes: #271429) * bumped to new policy version * debian/control: new standards version * debian/control: changed section to perl * debian/control: moved to Build-Depend-Indep * debian/rules: cleaned up * added libdigest-sha1-perl as build depend * added debian/examples * debian/copyright: added upstream homepage -- Jonas Genannt Wed, 14 Dec 2005 20:51:23 +0200 libcrypt-hcesha-perl (0.60-2) unstable; urgency=low * debian/copyright pedantry (closes: Bug#153327, Bug#153371) * binary-arch vs. binary-indep (closes: Bug#153347) -- Ivan Kohler Sat, 7 Sep 2002 04:36:28 -0700 libcrypt-hcesha-perl (0.60-1) unstable; urgency=low * Initial Release (closes: Bug#144322). -- Ivan Kohler Tue, 23 Apr 2002 21:16:43 -0700 debian/examples0000644000000000000000000000007211617506054010733 0ustar examples/Client.pm examples/HOW_TO_USE examples/Server.pm debian/control0000644000000000000000000000223111617506054010574 0ustar Source: libcrypt-hcesha-perl Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: perl Maintainer: Jonas Genannt Standards-Version: 3.9.2 Homepage: http://search.cpan.org/dist/Crypt-HCE_SHA/ Package: libcrypt-hcesha-perl Architecture: all 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 described in Applied Cryptography. . Two interfaces are provided in the module. The first is straight block encryption/decryption the second does base64 mime encoding/decoding of the encrypted/decrypted blocks. . The idea is that the two sides have a shared secret that supplies one of the keys and a randomly generated block of bytes provides the second key. The random key is passed in cleartext between the two sides. . An example client and server are packaged as modules with this module. They are used in the tests. They can be found in the examples directory.