commit sha3sum for openSUSE:Factory

2019-03-26 Thread root
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 

commit sha3sum for openSUSE:Factory

2018-10-22 Thread root
Hello community,

here is the log from the commit of package sha3sum for openSUSE:Factory checked 
in at 2018-10-22 11:24:38

Comparing /work/SRC/openSUSE:Factory/sha3sum (Old)
 and  /work/SRC/openSUSE:Factory/.sha3sum.new (New)


Package is "sha3sum"

Mon Oct 22 11:24:38 2018 rev:2 rq:643244 version:1.1.4

Changes:

--- /work/SRC/openSUSE:Factory/sha3sum/sha3sum.changes  2018-07-28 
12:40:39.792455842 +0200
+++ /work/SRC/openSUSE:Factory/.sha3sum.new/sha3sum.changes 2018-10-22 
11:24:59.919056831 +0200
@@ -1,0 +2,5 @@
+Fri Oct 19 13:28:00 UTC 2018 - astie...@suse.com
+
+- conflict with perl-Digest-SHA3 also providing /usr/bin/sha3sum
+
+---



Other differences:
--
++ sha3sum.spec ++
--- /var/tmp/diff_new_pack.BgcAvI/_old  2018-10-22 11:25:00.899055861 +0200
+++ /var/tmp/diff_new_pack.BgcAvI/_new  2018-10-22 11:25:00.907055853 +0200
@@ -25,6 +25,7 @@
 URL:https://github.com/maandree/sha3sum
 Source: 
https://github.com/maandree/sha3sum/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  libkeccak-devel
+Conflicts:  perl-Digest-SHA3
 
 %description
 sha3sum contains command line utilities for the Keccak, SHA-3, SHAKE, and




commit sha3sum for openSUSE:Factory

2018-07-28 Thread root
Hello community,

here is the log from the commit of package sha3sum for openSUSE:Factory checked 
in at 2018-07-28 12:40:38

Comparing /work/SRC/openSUSE:Factory/sha3sum (Old)
 and  /work/SRC/openSUSE:Factory/.sha3sum.new (New)


Package is "sha3sum"

Sat Jul 28 12:40:38 2018 rev:1 rq:624281 version:1.1.4

Changes:

New Changes file:

--- /dev/null   2018-07-14 11:19:38.193360615 +0200
+++ /work/SRC/openSUSE:Factory/.sha3sum.new/sha3sum.changes 2018-07-28 
12:40:39.792455842 +0200
@@ -0,0 +1,4 @@
+---
+Mon Jul  9 17:55:40 UTC 2018 - astie...@suse.com
+
+- initial package (1.1.4)

New:

  sha3sum-1.1.4.tar.gz
  sha3sum.changes
  sha3sum.spec



Other differences:
--
++ sha3sum.spec ++
#
# spec file for package sha3sum
#
# Copyright (c) 2018 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#


Name:   sha3sum
Version:1.1.4
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

%description
sha3sum contains command line utilities for the Keccak, SHA-3, SHAKE, and
RawSHAKE checksum utilities

A subset of Keccak was specified by NIST as SHA-3 (Secure Hash Algorithm 3).

%prep
%setup -q

%build
make %{?_smp_mflags} CFLAGS="%{optflags}"

%install
%make_install PREFIX=%{_prefix}
# packaged via macro
rm -rvf %{buildroot}%{_datadir}/licenses/%{name}

%check
make %{?_smp_mflags} check

%files
%license LICENSE
%doc README
%{_bindir}/*
%{_mandir}/man1/*.1%{?ext_man}

%changelog