Hello community,
here is the log from the commit of package sha3sum for openSUSE:Factory checked
in at 2019-03-26 15:42:11
Comparing /work/SRC/openSUSE:Factory/sha3sum (Old)
and /work/SRC/openSUSE:Factory/.sha3sum.new.25356 (New)
Package is "sha3sum"
Tue Mar 26 15:42:11 2019 rev:3 rq:685303 version:1.1.5
Changes:
--- /work/SRC/openSUSE:Factory/sha3sum/sha3sum.changes 2018-10-22
11:24:59.919056831 +0200
+++ /work/SRC/openSUSE:Factory/.sha3sum.new.25356/sha3sum.changes
2019-03-26 15:43:03.696221994 +0100
@@ -1,0 +2,6 @@
+Fri Mar 15 10:02:02 UTC 2019 - Jan Engelhardt
+
+- Update to new upstream release 1.1.5
+ * No changelog was provided
+
+---
Old:
sha3sum-1.1.4.tar.gz
New:
1.1.5.tar.gz
Other differences:
--
++ sha3sum.spec ++
--- /var/tmp/diff_new_pack.YTWhj0/_old 2019-03-26 15:43:04.444221566 +0100
+++ /var/tmp/diff_new_pack.YTWhj0/_new 2019-03-26 15:43:04.448221564 +0100
@@ -1,7 +1,7 @@
#
# spec file for package sha3sum
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,19 +12,19 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: sha3sum
-Version:1.1.4
+Version:1.1.5
Release:0
Summary:SHA-3 and Keccak checksum utility
License:ISC
Group: Productivity/Security
URL:https://github.com/maandree/sha3sum
-Source:
https://github.com/maandree/sha3sum/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
-BuildRequires: libkeccak-devel
+Source: https://github.com/maandree/sha3sum/archive/%version.tar.gz
+BuildRequires: libkeccak-devel >= 1.2
Conflicts: perl-Digest-SHA3
%description
++ sha3sum-1.1.4.tar.gz -> 1.1.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sha3sum-1.1.4/common.c new/sha3sum-1.1.5/common.c
--- old/sha3sum-1.1.4/common.c 2017-11-18 16:28:47.0 +0100
+++ new/sha3sum-1.1.5/common.c 2019-02-11 19:05:34.0 +0100
@@ -17,7 +17,7 @@
/**
* Storage for binary hash
*/
-static char *restrict hashsum = NULL;
+static void *restrict hashsum = NULL;
/**
* Storage for hexadecimal hash
@@ -77,13 +77,13 @@
/**
- * Convert `libkeccak_generalised_spec_t` to `libkeccak_spec_t` and check for
errors
+ * Convert `struct libkeccak_generalised_spec` to `struct libkeccak_spec` and
check for errors
*
* @param gspec See libkeccak_degeneralise_spec(3)
* @param spec See libkeccak_degeneralise_spec(3)
*/
static void
-make_spec(libkeccak_generalised_spec_t *restrict gspec, libkeccak_spec_t
*restrict spec)
+make_spec(struct libkeccak_generalised_spec *restrict gspec, struct
libkeccak_spec *restrict spec)
{
#define case /* fall through */ case
#define default /* fall through */ default
@@ -142,15 +142,15 @@
* @return Zero on success, -1 on error
*/
static int
-generalised_sum_fd_hex(int fd, libkeccak_state_t *restrict state,
- const libkeccak_spec_t *restrict spec,
- const char *restrict suffix, char *restrict hash)
+generalised_sum_fd_hex(int fd, struct libkeccak_state *restrict state,
+ const struct libkeccak_spec *restrict spec,
+ const char *restrict suffix, void *restrict hash)
{
ssize_t got;
struct stat attr;
size_t blksize = 4096, r, w;
- char *restrict chunk;
- char even = 1, buf = 0, c;
+ unsigned char *restrict chunk;
+ unsigned char even = 1, buf = 0, c;
if (libkeccak_state_initialise(state, spec) < 0)
return -1;
@@ -170,7 +170,7 @@
while (r < (size_t)got) {
c = chunk[r++];
if (isxdigit(c)) {
- buf = (buf << 4) | ((c & 15) + (c > '9' ? 9 :
0));
+ buf = (unsigned char)((buf << 4) | ((c & 15) +
(c > '9' ? 9 : 0)));
if ((even ^= 1))
chunk[w++] = buf;
} else if (!isspace(c)) {
@@ -199,11 +199,11 @@
* @returnAn appropriate exit value
*/
static int
-hash(const char *restrict filename, const libkeccak_spec_t