Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Digest-CRC for openSUSE:Factory
checked in at 2021-04-22 18:04:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Digest-CRC (Old)
and /work/SRC/openSUSE:Factory/.perl-Digest-CRC.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Digest-CRC"
Thu Apr 22 18:04:50 2021 rev:15 rq:887847 version:0.23
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Digest-CRC/perl-Digest-CRC.changes
2021-01-20 18:28:42.659588490 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Digest-CRC.new.12324/perl-Digest-CRC.changes
2021-04-22 18:06:28.534745425 +0200
@@ -1,0 +2,10 @@
+Fri Apr 16 03:06:48 UTC 2021 - Tina M??ller <[email protected]>
+
+- updated to 0.23
+ see /usr/share/doc/packages/perl-Digest-CRC/Changes
+
+
+ 0.23 Thu Apr 15 13:02:04 2021
+ - added wrapper for CRC-SAE-J1850
+
+-------------------------------------------------------------------
Old:
----
Digest-CRC-0.22.2.tar.gz
New:
----
Digest-CRC-0.23.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Digest-CRC.spec ++++++
--- /var/tmp/diff_new_pack.3T0fri/_old 2021-04-22 18:06:28.986746173 +0200
+++ /var/tmp/diff_new_pack.3T0fri/_new 2021-04-22 18:06:28.990746180 +0200
@@ -18,7 +18,7 @@
%define cpan_name Digest-CRC
Name: perl-Digest-CRC
-Version: 0.22.2
+Version: 0.23
Release: 0
#Upstream: CRC algorithm code taken from "A PAINLESS GUIDE TO CRC ERROR
DETECTION ALGORITHMS". the public domain.
Summary: Generic CRC functions
@@ -36,7 +36,7 @@
and CRC-64, as well as the CRC used in OpenPGP's ASCII-armored checksum.
%prep
-%autosetup -n %{cpan_name}-0.22
+%autosetup -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
++++++ Digest-CRC-0.22.2.tar.gz -> Digest-CRC-0.23.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Digest-CRC-0.22/Changes new/Digest-CRC-0.23/Changes
--- old/Digest-CRC-0.22/Changes 2017-02-18 17:46:10.000000000 +0100
+++ new/Digest-CRC-0.23/Changes 2021-04-15 13:44:34.000000000 +0200
@@ -71,3 +71,6 @@
0.22 Sat Feb 18 17:45:31 2017
- added padding for hex encoded digests
+
+0.23 Thu Apr 15 13:02:04 2021
+ - added wrapper for CRC-SAE-J1850
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Digest-CRC-0.22/META.yml new/Digest-CRC-0.23/META.yml
--- old/Digest-CRC-0.22/META.yml 2017-02-18 17:53:46.000000000 +0100
+++ new/Digest-CRC-0.23/META.yml 2021-04-15 13:28:19.000000000 +0200
@@ -1,7 +1,7 @@
# http://module-build.sourceforge.net/META-spec.html
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
name: Digest-CRC
-version: 0.22
+version: 0.23
version_from: lib/Digest/CRC.pm
installdirs: site
requires:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Digest-CRC-0.22/README new/Digest-CRC-0.23/README
--- old/Digest-CRC-0.22/README 2017-02-18 17:45:09.000000000 +0100
+++ new/Digest-CRC-0.23/README 2021-04-15 13:28:09.000000000 +0200
@@ -1,4 +1,4 @@
-Digest::CRC version 0.22
+Digest::CRC version 0.23
========================
NAME
@@ -6,8 +6,8 @@
DESCRIPTION
The Digest::CRC module calculates CRC sums of all sorts. It contains
- wrapper functions with the correct parameters for CRC-CCITT, CRC-16 and
- CRC-32.
+ wrapper functions with the correct parameters for CRC-SAE-J1850, CRC-CCITT,
+ CRC-16 and CRC-32.
SYNOPSIS
# Functional style
@@ -16,6 +16,7 @@
$crc = crc32("123456789");
$crc = crc16("123456789");
$crc = crcccitt("123456789");
+ $crc = crcsaej1850("123456789");
$crc = crc($input,$width,$init,$xorout,$poly,$refin,$refout);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Digest-CRC-0.22/lib/Digest/CRC.pm
new/Digest-CRC-0.23/lib/Digest/CRC.pm
--- old/Digest-CRC-0.22/lib/Digest/CRC.pm 2017-02-18 18:02:53.000000000
+0100
+++ new/Digest-CRC-0.23/lib/Digest/CRC.pm 2021-04-15 13:32:28.000000000
+0200
@@ -8,7 +8,7 @@
@ISA = qw(Exporter);
@EXPORT_OK = qw(
- crc8 crcccitt crc16 crcopenpgparmor crc32 crc64 crc
+ crc8 crcsaej1850 crcccitt crc16 crcopenpgparmor crc32 crc64 crc
crc_hex crc_base64
crcccitt_hex crcccitt_base64
crc8_hex crc8_base64
@@ -18,7 +18,7 @@
crc64_hex crc64_base64
);
-$VERSION = '0.22';
+$VERSION = '0.23';
$XS_VERSION = $VERSION;
#$VERSION = eval $VERSION;
@@ -125,6 +125,7 @@
%_typedef = (
# name, [width,init,xorout,refout,poly,refin,cont);
crc8 => [8,0,0,0,0x07,0,0],
+ crcsaej1850 => [8,0xff,0xff,0,0x1D,0,0],
crcccitt => [16,0xffff,0,0,0x1021,0,0],
crc16 => [16,0,0,1,0x8005,1,0],
crcopenpgparmor => [24,0xB704CE,0,0,0x864CFB,0,0],
@@ -286,6 +287,11 @@
sub crc8 { _cont($_[0],$_[1],@{$_typedef{crc8}}) }
+# CRC-SAE-J1850 standard
+# poly: 1D, width: 8, init: ff, refin: no, refout: no, xorout: FF
+
+sub crcsaej1850 { _cont($_[0],$_[1],@{$_typedef{crcsaej1850}}) }
+
# CRC-CCITT standard
# poly: 1021, width: 16, init: ffff, refin: no, refout: no, xorout: no
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Digest-CRC-0.22/t/crc.t new/Digest-CRC-0.23/t/crc.t
--- old/Digest-CRC-0.22/t/crc.t 2017-02-19 18:19:45.000000000 +0100
+++ new/Digest-CRC-0.23/t/crc.t 2021-04-15 13:38:39.000000000 +0200
@@ -1,5 +1,5 @@
BEGIN {
- $tests = 31;
+ $tests = 32;
if ($ENV{'WITH_CRC64'}) {
$tests=$tests+2;
}
@@ -22,11 +22,11 @@
}
use Digest::CRC qw(crc64 crc32 crc16 crcccitt crc8 crcopenpgparmor
- crc64_hex crc32_hex crc16_hex crcccitt_hex crc8_hex
crcopenpgparmor_hex);
+ crc64_hex crc32_hex crc16_hex crcsaej1850 crcccitt_hex
crc8_hex crcopenpgparmor_hex);
ok(1, 'use');
my $input = "123456789";
-my ($crc32,$crc16,$crcccitt,$crc8) =
(crc32($input),crc16($input),crcccitt($input),crc8($input));
+my ($crc32,$crc16,$crcsaej1850,$crcccitt,$crc8) =
(crc32($input),crc16($input),crcsaej1850($input),crcccitt($input),crc8($input));
if ($ENV{'WITH_CRC64'}) {
my $crc64 = crc64($input);
@@ -42,6 +42,7 @@
ok(crc32($input.join('',
map {chr(($crc32>>(8*$_))&0xff)} (0,1,2,3))) == 0xffffffff,
'crc32 Nulltest');
+ok($crcsaej1850 == 75, 'crcsaej1850');
ok($crcccitt == 10673, 'crcccitt');
ok($crc16 == 47933, 'crc16');
ok($crc8 == 244, 'crc8');
@@ -58,7 +59,7 @@
$ctx->addfile(F);
close(F);
my $y = $ctx->digest;
-ok($y == 4009136024, 'OO crc32 with addfile '.$y);
+ok($y == 2682625271, 'OO crc32 with addfile '.$y);
# start at offset >0 with previous checksum result
$ctx = Digest::CRC->new(type=>"crc32",cont=>1,init=>460478609);
@@ -68,7 +69,7 @@
$ctx->addfile(F);
close(F);
$y = $ctx->digest;
-ok($y == 2371909219, 'OO crc32 with init and addfile '.$y);
+ok($y == 2316035660, 'OO crc32 with init and addfile '.$y);
$ctx = Digest::CRC->new(type=>"crcccitt");
$ctx->add($input);