r8840 - in /branches/upstream/libdigest-crc-perl/current: Changes README lib/Digest/CRC.pm t/crc.t

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sun Nov 4 17:10:41 UTC 2007


Author: gregoa-guest
Date: Sun Nov  4 17:10:40 2007
New Revision: 8840

URL: http://svn.debian.org/wsvn/?sc=1&rev=8840
Log:
[svn-upgrade] Integrating new upstream version, libdigest-crc-perl (0.13)

Modified:
    branches/upstream/libdigest-crc-perl/current/Changes
    branches/upstream/libdigest-crc-perl/current/README
    branches/upstream/libdigest-crc-perl/current/lib/Digest/CRC.pm
    branches/upstream/libdigest-crc-perl/current/t/crc.t

Modified: branches/upstream/libdigest-crc-perl/current/Changes
URL: http://svn.debian.org/wsvn/branches/upstream/libdigest-crc-perl/current/Changes?rev=8840&op=diff
==============================================================================
--- branches/upstream/libdigest-crc-perl/current/Changes (original)
+++ branches/upstream/libdigest-crc-perl/current/Changes Sun Nov  4 17:10:40 2007
@@ -34,3 +34,6 @@
 0.12  Sat Nov  3 10:11:42 2007
         - Debug output removed
 
+0.13  Sun Nov  4 11:22:54 2007
+        - fixed tests
+

Modified: branches/upstream/libdigest-crc-perl/current/README
URL: http://svn.debian.org/wsvn/branches/upstream/libdigest-crc-perl/current/README?rev=8840&op=diff
==============================================================================
--- branches/upstream/libdigest-crc-perl/current/README (original)
+++ branches/upstream/libdigest-crc-perl/current/README Sun Nov  4 17:10:40 2007
@@ -1,4 +1,4 @@
-Digest::CRC version 0.12
+Digest::CRC version 0.13
 ========================
 
 NAME
@@ -41,9 +41,3 @@
    make test
    make install
 
-COPYRIGHT AND LICENCE
-   CRC algorithm code taken from "A PAINLESS GUIDE TO CRC ERROR DETECTION
-   ALGORITHMS".
-
-   The author of this package disclaims all copyrights and releases it
-   into the public domain.

Modified: branches/upstream/libdigest-crc-perl/current/lib/Digest/CRC.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libdigest-crc-perl/current/lib/Digest/CRC.pm?rev=8840&op=diff
==============================================================================
--- branches/upstream/libdigest-crc-perl/current/lib/Digest/CRC.pm (original)
+++ branches/upstream/libdigest-crc-perl/current/lib/Digest/CRC.pm Sun Nov  4 17:10:40 2007
@@ -16,7 +16,7 @@
  crc32_hex crc32_base64
 );
 
-$VERSION    = '0.12';
+$VERSION    = '0.13';
 $XS_VERSION = $VERSION;
 $VERSION    = eval $VERSION;
 

Modified: branches/upstream/libdigest-crc-perl/current/t/crc.t
URL: http://svn.debian.org/wsvn/branches/upstream/libdigest-crc-perl/current/t/crc.t?rev=8840&op=diff
==============================================================================
--- branches/upstream/libdigest-crc-perl/current/t/crc.t (original)
+++ branches/upstream/libdigest-crc-perl/current/t/crc.t Sun Nov  4 17:10:40 2007
@@ -45,17 +45,17 @@
 $ctx->addfile(F);
 close(F);
 my $y = $ctx->digest;
-ok($y == 1468974098, 'OO crc32 with addfile '.$y); 
+ok($y == 1413438101, 'OO crc32 with addfile '.$y); 
 
 # start at offset >0 with previous checksum result
-$ctx = Digest::CRC->new(type=>"crc32",cont=>1,init=>2583869373); 
+$ctx = Digest::CRC->new(type=>"crc32",cont=>1,init=>1413438101); 
 open(F,"<README")||die "Cannot open README";
 use Fcntl qw(:seek);
 seek(F,989,Fcntl::SEEK_SET);
 $ctx->addfile(F);
 close(F);
 $y = $ctx->digest;
-ok($y == 1468974098, 'OO crc32 with addfile '.$y); 
+ok($y == 1413438101, 'OO crc32 with init and addfile '.$y); 
 
 $ctx = Digest::CRC->new(type=>"crcccitt"); 
 $ctx->add($input);




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