Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sha3sum for openSUSE:Factory checked 
in at 2026-05-20 15:26:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sha3sum (Old)
 and      /work/SRC/openSUSE:Factory/.sha3sum.new.1966 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sha3sum"

Wed May 20 15:26:42 2026 rev:8 rq:1354229 version:1.2.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/sha3sum/sha3sum.changes  2026-05-05 
15:18:17.950359799 +0200
+++ /work/SRC/openSUSE:Factory/.sha3sum.new.1966/sha3sum.changes        
2026-05-20 15:27:25.865333002 +0200
@@ -1,0 +2,6 @@
+Wed May 20 06:52:31 UTC 2026 - Jan Engelhardt <[email protected]>
+
+- Update to release 1.2.5
+  * Keep going in -c mode on error
+
+-------------------------------------------------------------------

Old:
----
  1.2.4.tar.gz

New:
----
  1.2.5.tar.gz
  _scmsync.obsinfo
  build.specials.obscpio

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sha3sum.spec ++++++
--- /var/tmp/diff_new_pack.6n5Bid/_old  2026-05-20 15:27:26.365353599 +0200
+++ /var/tmp/diff_new_pack.6n5Bid/_new  2026-05-20 15:27:26.373353929 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           sha3sum
-Version:        1.2.4
+Version:        1.2.5
 Release:        0
 Summary:        SHA-3 and Keccak checksum utility
 License:        ISC

++++++ 0001-build-repair-wrong-order-of-link-arguments.patch ++++++
--- /var/tmp/diff_new_pack.6n5Bid/_old  2026-05-20 15:27:26.401355082 +0200
+++ /var/tmp/diff_new_pack.6n5Bid/_new  2026-05-20 15:27:26.409355411 +0200
@@ -1,8 +1,9 @@
-From 839aed0b45b47462b2e319b016153bdff91b125f Mon Sep 17 00:00:00 2001
+From 08b187d4746baecd7509942c85f69541ce7454e7 Mon Sep 17 00:00:00 2001
 From: Jan Engelhardt <[email protected]>
 Date: Fri, 12 Apr 2024 13:35:43 +0200
 Subject: [PATCH] build: repair wrong order of link arguments
-References: https://codeberg.org/jengelh/sha3sum
+References: https://codeberg.org/maandree/sha3sum/issues/2
+Upstream: unwilling to care about portability
 
 GNU Make gives *pattern rules* a higher precedence over *suffix
 rules*. It does not track whether rule commands came from built-in
@@ -27,8 +28,8 @@
 Fixes: #2, #3.
 ---
  Makefile  | 4 ++--
- config.mk | 2 +-
- 2 files changed, 3 insertions(+), 3 deletions(-)
+ config.mk | 3 ++-
+ 2 files changed, 4 insertions(+), 3 deletions(-)
 
 diff --git a/Makefile b/Makefile
 index bcd7f66..b8ea851 100644
@@ -53,16 +54,17 @@
  check: $(BIN)
        ./test
 diff --git a/config.mk b/config.mk
-index 62cbae7..da9de58 100644
+index 0a1f45a..9bd657b 100644
 --- a/config.mk
 +++ b/config.mk
-@@ -6,4 +6,4 @@ CC = c99
+@@ -12,4 +12,5 @@ GCC_SANITIZE    = -O1 $(COMMON_SANITIZE)
  
  CPPFLAGS =
- CFLAGS   =
--LDFLAGS  = -lkeccak
+ CFLAGS   = $(SANITIZE)
+-LDFLAGS  = $(SANITIZE) -lkeccak
++LDFLAGS  = $(SANITIZE)
 +LDLIBS   = -lkeccak
 -- 
-2.44.0
+2.54.0
 
 

++++++ 1.2.4.tar.gz -> 1.2.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sha3sum/common.c new/sha3sum/common.c
--- old/sha3sum/common.c        2026-02-23 12:00:52.000000000 +0100
+++ new/sha3sum/common.c        2026-05-18 22:57:00.000000000 +0200
@@ -219,12 +219,12 @@
        if (fd < 0) {
                if (errno == ENOENT)
                        return 1;
-               eperror();
+               goto error;
        }
 
        if ((hex ? generalised_sum_fd_hex : libkeccak_generalised_sum_fd)
            (fd, &state, spec, suffix, squeezes > 1 ? NULL : hashsum))
-               eperror();
+               goto error;
        close(fd);
 
        if (squeezes > 2)
@@ -234,6 +234,10 @@
        libkeccak_state_fast_destroy(&state);
 
        return 0;
+
+error:
+       fprintf(stderr, "%s: %s: %s\n", argv0, filename, strerror(errno));
+       return 2;
 }
 
 
@@ -254,10 +258,12 @@
       int hex, const char *restrict filename, const char *restrict 
correct_hash)
 {
        size_t length = (size_t)((spec->output + 7) / 8);
+       int ret;
 
-       if (access(filename, F_OK) || hash(filename, spec, squeezes, suffix, 
hex)) {
+       ret = hash(filename, spec, squeezes, suffix, hex);
+       if (ret) {
                printf("%s: Missing\n", filename);
-               return 1;
+               return ret;
        }
 
        libkeccak_unhex(hexsum, correct_hash);
@@ -399,7 +405,7 @@
                user_error("file is malformated");
 
        free(buf);
-       return ret;
+       return ret > 2 ? 2 : ret;
 
        (void) style;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sha3sum/config.mk new/sha3sum/config.mk
--- old/sha3sum/config.mk       2026-02-23 12:00:52.000000000 +0100
+++ new/sha3sum/config.mk       2026-05-18 22:57:00.000000000 +0200
@@ -4,6 +4,12 @@
 
 CC = c99
 
+COMMON_SANITIZE = 
-fsanitize=alignment,shift,signed-integer-overflow,object-size,null,undefined,bounds,address
+CLANG_SANITIZE  = -O1 $(COMMON_SANITIZE),cfi -flto -fvisibility=hidden 
-fno-sanitize-trap=cfi
+GCC_SANITIZE    = -O1 $(COMMON_SANITIZE)
+#SANITIZE        = $(CLANG_SANITIZE)
+#SANITIZE        = $(GCC_SANITIZE)
+
 CPPFLAGS =
-CFLAGS   =
-LDFLAGS  = -lkeccak
+CFLAGS   = $(SANITIZE)
+LDFLAGS  = $(SANITIZE) -lkeccak

++++++ _scmsync.obsinfo ++++++
mtime: 1779277145
commit: 4752c25a9e122e11b756984b2f687cae958ac1d8c1bd0c188d3e2bc5a03171e5
url: https://src.opensuse.org/jengelh/sha3sum
revision: master

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-05-20 13:39:05.000000000 +0200
@@ -0,0 +1,4 @@
+*.obscpio
+*.osc
+_build.*
+.pbuild

Reply via email to