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 <jeng...@inai.de>
+
+- 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.000000000 +0100
+++ new/sha3sum-1.1.5/common.c  2019-02-11 19:05:34.000000000 +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 @@
  * @return            An appropriate exit value
  */
 static int
-hash(const char *restrict filename, const libkeccak_spec_t *restrict spec,
-     long squeezes, const char *restrict suffix, int hex)
+hash(const char *restrict filename, const struct libkeccak_spec *restrict spec,
+     long int squeezes, const char *restrict suffix, int hex)
 {
        static size_t length = 0;
-       libkeccak_state_t state;
+       struct libkeccak_state state;
        int fd;
 
        if (!length) {
@@ -248,7 +248,7 @@
  * @return                An appropriate exit value
  */
 static int
-check(const libkeccak_spec_t *restrict spec, long squeezes, const char 
*restrict suffix,
+check(const struct libkeccak_spec *restrict spec, long int squeezes, const 
char *restrict suffix,
       int hex, const char *restrict filename, const char *restrict 
correct_hash)
 {
        size_t length = (size_t)((spec->output + 7) / 8);
@@ -281,8 +281,8 @@
  * @return            An appropriate exit value
  */
 static int
-check_checksums(const char *restrict filename, const libkeccak_spec_t 
*restrict spec,
-                long squeezes, const char *restrict suffix, enum 
representation style, int hex)
+check_checksums(const char *restrict filename, const struct libkeccak_spec 
*restrict spec,
+                long int squeezes, const char *restrict suffix, enum 
representation style, int hex)
 {
        struct stat attr;
        size_t blksize = 4096;
@@ -395,8 +395,8 @@
  * @return            An appropriate exit value
  */
 static int
-print_checksum(const char *restrict filename, const libkeccak_spec_t *restrict 
spec,
-               long squeezes, const char *restrict suffix, enum representation 
style, int hex)
+print_checksum(const char *restrict filename, const struct libkeccak_spec 
*restrict spec,
+               long int squeezes, const char *restrict suffix, enum 
representation style, int hex)
 {
        size_t p = 0, n = (size_t)((spec->output + 7) / 8);
        ssize_t w;
@@ -415,7 +415,7 @@
        } else {
                fflush(stdout);
                for (; p < n; p += (size_t)w)
-                       if ((w = write(STDOUT_FILENO, &hashsum[p], n - p)) < 0)
+                       if ((w = write(STDOUT_FILENO, &((unsigned char 
*)hashsum)[p], n - p)) < 0)
                                eperror();
        }
 
@@ -433,16 +433,16 @@
  * @return          An appropriate exit value
  */
 int
-run(int argc, char *argv[], libkeccak_generalised_spec_t *restrict gspec, 
const char *restrict suffix)
+run(int argc, char *argv[], struct libkeccak_generalised_spec *restrict gspec, 
const char *restrict suffix)
 {
        enum representation style = REPRESENTATION_UPPER_CASE;
        int verbose = 0;
        int hex = 0;
        int check = 0;
        long int squeezes = 1;
-       int (*fun)(const char *restrict filename, const libkeccak_spec_t 
*restrict spec,
-                  long squeezes, const char *restrict suffix, enum 
representation style, int hex);
-       libkeccak_spec_t spec;
+       int (*fun)(const char *restrict filename, const struct libkeccak_spec 
*restrict spec,
+                  long int squeezes, const char *restrict suffix, enum 
representation style, int hex);
+       struct libkeccak_spec spec;
        int r = 0;
 
        ARGBEGIN {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sha3sum-1.1.4/common.h new/sha3sum-1.1.5/common.h
--- old/sha3sum-1.1.4/common.h  2017-11-18 16:28:47.000000000 +0100
+++ new/sha3sum-1.1.5/common.h  2019-02-11 19:05:34.000000000 +0100
@@ -4,19 +4,19 @@
 
 #define COMMON_MAIN(CONFIGURATION, SUFFIX)\
        int main(int argc, char *argv[]) {\
-               libkeccak_generalised_spec_t spec;\
+               struct libkeccak_generalised_spec spec;\
                libkeccak_generalised_spec_initialise(&spec);\
                CONFIGURATION;\
                return run(argc, argv, &spec, SUFFIX);\
        }
 #define KECCAK_MAIN(N)\
-       COMMON_MAIN(libkeccak_spec_sha3((libkeccak_spec_t *)&spec, N), "")
+       COMMON_MAIN(libkeccak_spec_sha3((struct libkeccak_spec *)&spec, N), "")
 #define SHA3_MAIN(N)\
-       COMMON_MAIN(libkeccak_spec_sha3((libkeccak_spec_t *)&spec, N), 
LIBKECCAK_SHA3_SUFFIX)
+       COMMON_MAIN(libkeccak_spec_sha3((struct libkeccak_spec *)&spec, N), 
LIBKECCAK_SHA3_SUFFIX)
 #define RAWSHAKE_MAIN(N)\
-       COMMON_MAIN(libkeccak_spec_rawshake((libkeccak_spec_t *)&spec, N, N), 
LIBKECCAK_RAWSHAKE_SUFFIX)
+       COMMON_MAIN(libkeccak_spec_rawshake((struct libkeccak_spec *)&spec, N, 
N), LIBKECCAK_RAWSHAKE_SUFFIX)
 #define SHAKE_MAIN(N)\
-       COMMON_MAIN(libkeccak_spec_shake((libkeccak_spec_t *)&spec, N, N), 
LIBKECCAK_SHAKE_SUFFIX)
+       COMMON_MAIN(libkeccak_spec_shake((struct libkeccak_spec *)&spec, N, N), 
LIBKECCAK_SHAKE_SUFFIX)
 
 
 /**
@@ -49,4 +49,4 @@
  * @param   suffix  Message suffix
  * @return          An appropriate exit value
  */
-int run(int argc, char *argv[], libkeccak_generalised_spec_t *restrict gspec, 
const char *restrict suffix);
+int run(int argc, char *argv[], struct libkeccak_generalised_spec *restrict 
gspec, const char *restrict suffix);


Reply via email to