Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2026-05-05 15:14:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/haveged (Old) and /work/SRC/openSUSE:Factory/.haveged.new.30200 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "haveged" Tue May 5 15:14:36 2026 rev:68 rq:1350794 version:1.9.20 Changes: -------- --- /work/SRC/openSUSE:Factory/haveged/haveged.changes 2024-10-31 16:09:45.948068888 +0100 +++ /work/SRC/openSUSE:Factory/.haveged.new.30200/haveged.changes 2026-05-05 15:14:45.113648997 +0200 @@ -1,0 +2,7 @@ +Mon May 4 16:28:24 UTC 2026 - Dirk Müller <[email protected]> + +- update to 1.9.20: + * Only warn when creating of named semaphore fails + * Fixed several typos + +------------------------------------------------------------------- Old: ---- haveged-1.9.19.tar.gz New: ---- haveged-1.9.20.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ haveged.spec ++++++ --- /var/tmp/diff_new_pack.lhvYIy/_old 2026-05-05 15:14:47.209735795 +0200 +++ /var/tmp/diff_new_pack.lhvYIy/_new 2026-05-05 15:14:47.233736788 +0200 @@ -1,7 +1,7 @@ # # spec file for package haveged # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d } Name: haveged -Version: 1.9.19 +Version: 1.9.20 Release: 0 Summary: Daemon for feeding entropy into the random pool License: GPL-3.0-only ++++++ haveged-1.9.19.tar.gz -> haveged-1.9.20.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/haveged-1.9.19/ChangeLog new/haveged-1.9.20/ChangeLog --- old/haveged-1.9.19/ChangeLog 2024-10-02 20:55:28.000000000 +0200 +++ new/haveged-1.9.20/ChangeLog 2026-04-29 22:46:55.000000000 +0200 @@ -1,3 +1,7 @@ +v1.9.20 (Apr 29, 2026) [Jirka Hladky] +* Only warn when creating of named semaphore fails +* Fixed several typos + v1.9.19 (Oct 02, 2024) [Jirka Hladky] * Added --time_interval N to add entropy unconditionally every N seconds diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/haveged-1.9.19/configure new/haveged-1.9.20/configure --- old/haveged-1.9.19/configure 2024-10-02 20:55:28.000000000 +0200 +++ new/haveged-1.9.20/configure 2026-04-29 22:46:55.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for haveged 1.9.19. +# Generated by GNU Autoconf 2.71 for haveged 1.9.20. # # # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, @@ -618,8 +618,8 @@ # Identity of this package. PACKAGE_NAME='haveged' PACKAGE_TARNAME='haveged' -PACKAGE_VERSION='1.9.19' -PACKAGE_STRING='haveged 1.9.19' +PACKAGE_VERSION='1.9.20' +PACKAGE_STRING='haveged 1.9.20' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1355,7 +1355,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures haveged 1.9.19 to adapt to many kinds of systems. +\`configure' configures haveged 1.9.20 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1426,7 +1426,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of haveged 1.9.19:";; + short | recursive ) echo "Configuration of haveged 1.9.20:";; esac cat <<\_ACEOF @@ -1544,7 +1544,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -haveged configure 1.9.19 +haveged configure 1.9.20 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -1857,7 +1857,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by haveged $as_me 1.9.19, which was +It was created by haveged $as_me 1.9.20, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -4361,7 +4361,7 @@ # Define the identity of the package. PACKAGE='haveged' - VERSION='1.9.19' + VERSION='1.9.20' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -14775,7 +14775,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by haveged $as_me 1.9.19, which was +This file was extended by haveged $as_me 1.9.20, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -14843,7 +14843,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -haveged config.status 1.9.19 +haveged config.status 1.9.20 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/haveged-1.9.19/configure.ac new/haveged-1.9.20/configure.ac --- old/haveged-1.9.19/configure.ac 2024-10-02 20:55:28.000000000 +0200 +++ new/haveged-1.9.20/configure.ac 2026-04-29 22:46:55.000000000 +0200 @@ -3,7 +3,7 @@ ## Minimum Autoconf version AC_PREREQ([2.59]) -AC_INIT([haveged],[1.9.19]) +AC_INIT([haveged],[1.9.20]) AC_CONFIG_AUX_DIR(config) AC_USE_SYSTEM_EXTENSIONS AC_CONFIG_HEADER([config.h]) @@ -72,7 +72,7 @@ AS_HELP_STRING([--enable-threads=[no/yes]],[Enable threads [default=no]]), , enable_threads="no") if test "x$enable_threads" = "xyes"; then - AC_DEFINE(NUMBER_CORES, 4, [Define maxium number of collection threads]) + AC_DEFINE(NUMBER_CORES, 4, [Define maximum number of collection threads]) else AC_DEFINE(NUMBER_CORES, 1, [Define to single collection thread]) fi @@ -87,7 +87,7 @@ elif test "x$enable_tune" = "xcpuid"; then AC_DEFINE(TUNING_CPUID_ENABLE, 1, [Define to 1 to tune with host cpuid]) elif test "x$enable_tune" = "xvfs"; then - AC_DEFINE(TUNING_VFS_ENABLE, 1, [Define to 1 to tune wiht host vfs]) + AC_DEFINE(TUNING_VFS_ENABLE, 1, [Define to 1 to tune with host vfs]) fi ## Checks for programs. @@ -152,7 +152,7 @@ daemon_type="none" ;; esac -fi +fi ## Match host to havegedef macros case "$host" in diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/haveged-1.9.19/contrib/build/havege_sample.c new/haveged-1.9.20/contrib/build/havege_sample.c --- old/haveged-1.9.19/contrib/build/havege_sample.c 2024-10-02 20:55:28.000000000 +0200 +++ new/haveged-1.9.20/contrib/build/havege_sample.c 2026-04-29 22:46:55.000000000 +0200 @@ -59,7 +59,7 @@ fprintf(stderr, "ERROR: havege_create: unrecognized test setup: %s", havege_parameters.testSpec); else fprintf(stderr, "ERROR: havege_create has returned %d\n",rc); if (H_NOHANDLE!=rc) - havege_destroy(havage_state); + havege_destroy(havege_state); return 1; } rc = havege_run(havege_state); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/haveged-1.9.19/ent/chisq.c new/haveged-1.9.20/ent/chisq.c --- old/haveged-1.9.19/ent/chisq.c 2024-10-02 20:55:28.000000000 +0200 +++ new/haveged-1.9.20/ent/chisq.c 2026-04-29 22:46:55.000000000 +0200 @@ -1,11 +1,11 @@ /* Compute probability of measured Chi Square value. - + This code was developed by Gary Perlman of the Wang Institute (full citation below) and has been minimally modified for use in this program. - + */ #include <math.h> @@ -79,7 +79,7 @@ #define BIGX 20.0 /* max value to represent exp (x) */ #define ex(x) (((x) < -BIGX) ? 0.0 : exp(x)) -/*FUNCTION pochisq: probability of chi sqaure value */ +/*FUNCTION pochisq: probability of chi square value */ /*ALGORITHM Compute probability of chi square value. Adapted from: Hill, I. D. and Pike, M. C. Algorithm 299 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/haveged-1.9.19/src/havege.c new/haveged-1.9.20/src/havege.c --- old/haveged-1.9.19/src/havege.c 2024-10-02 20:55:28.000000000 +0200 +++ new/haveged-1.9.20/src/havege.c 2026-04-29 22:46:55.000000000 +0200 @@ -20,7 +20,7 @@ ** */ /** - * This compile unit implements the havege algorithm as an inteface to + * This compile unit implements the havege algorithm as an interface to * either a single collector in the calling process or an interface to * multiple collector processes (experimental). */ @@ -36,7 +36,7 @@ * The library version interface results in a pair of version definitions * which must agree yet must also be string literals. No foolproof build * mechanism could be devised to ensure this, so a run-time check was added - * instead - if the two definitions do not agree, the interface is diabled. + * instead - if the two definitions do not agree, the interface is disabled. */ #define INTERFACE_DISABLED() strcmp(PACKAGE_VERSION,HAVEGE_PREP_VERSION) @@ -96,7 +96,7 @@ static void havege_mute(const char *format, ...); /** * Initialize the environment based upon the tuning survey. This includes, - * allocation the output buffer (in shared memory if mult-threaded) and + * allocation the output buffer (in shared memory if multi-threaded) and * fitting the collection code to the tuning inputs. */ H_PTR havege_create( /* RETURN: app state */ @@ -240,7 +240,7 @@ { #if NUMBER_CORES>1 H_THREAD *t = (H_THREAD *) h->threads; - + t->count = sz; t->out = buffer; if (0!=sem_post(&t->flags[t->last])) @@ -403,7 +403,7 @@ * returns the definition of HAVEGE_PREP_VERSION used to build the library. Calling * with HAVEGE_PREP_VERSION as the version checks if this headers definition is * compatible with that of the library, returning NULL if the input is incompatible - * with the library. + * with the library. */ const char *havege_version(const char *version) { @@ -417,7 +417,7 @@ if (version) { H_UINT l_interface=0, l_revision=0, l_age=0; H_UINT p, p_interface, p_revision, p_patch; - + #ifdef HAVEGE_LIB_VERSION sscanf(HAVEGE_LIB_VERSION, "%u:%u:%u", &l_interface, &l_revision, &l_age); #endif @@ -454,7 +454,7 @@ H_THREAD *t = (H_THREAD *)h_ptr->threads; pid_t p; H_UINT i; - + if (0 == t) return 0; /* Must be main thread */ t->fatal = H_EXIT; @@ -484,7 +484,7 @@ { void *m; H_THREAD *t; - H_UINT m_sz; + H_UINT m_sz; int i; if (n > NUMBER_CORES) { @@ -517,7 +517,7 @@ * If task fails after start, H_THREAD::fatal will be set to the reason and a completion * will be posted to prevent the main thread from hanging waiting for a response. */ -static int havege_rngChild(/* RETURN: none */ +static int havege_rngChild(/* RETURN: none */ H_PTR h_ptr, /* IN: app state */ H_UINT cNumber) /* IN: collector index */ { @@ -543,7 +543,7 @@ thds->last = cNumber; r = h_ctxt->havege_szFill - h_ctxt->havege_nptr; if (thds->count < r) - r = thds->count; + r = thds->count; for(i=0;i<r;i++) thds->out[i] = havege_ndread(h_ctxt); thds->fatal = h_ctxt->havege_err; @@ -591,7 +591,7 @@ #ifdef ONLINE_TESTS_ENABLE /** * Interpret options string as settings. The option string consists of terms - * like "[t|c][a[1-8][w]|b[w]]". + * like "[t|c][a[1-8][w]|b[w]]". */ static int testsConfigure( /* RETURN: non-zero on error */ H_UINT *tot, /* OUT: tot test options */ @@ -658,7 +658,7 @@ procInst *p; char *dst = tot; H_UINT i, j, k, m; - + *dst = *tot = 0; p = tps->totTests; for(i=0;i<2;i++,p = tps->runTests, dst = prod) { @@ -696,7 +696,7 @@ H_PTR h_ptr = (H_PTR)(h_ctxt->havege_app); onlineTests *context = (onlineTests *) h_ctxt->havege_tests; char *result; - + switch(state) { case TEST_DONE: result = "success"; break; case TEST_RETRY: result = "retry"; break; @@ -726,7 +726,7 @@ H_UINT ran[6],sum[6]; H_UINT ct, i, j, k; - + for (i=0;i<6;i++) ran[i] = sum[i] = 0; for(i=0;i<p->testRun;i++){ @@ -792,4 +792,3 @@ } } #endif - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/haveged-1.9.19/src/havege.h new/haveged-1.9.20/src/havege.h --- old/haveged-1.9.19/src/havege.h 2024-10-02 20:55:28.000000000 +0200 +++ new/haveged-1.9.20/src/havege.h 2026-04-29 22:46:55.000000000 +0200 @@ -1,7 +1,7 @@ /** ** Simple entropy harvester based upon the havege RNG ** - ** Copyright 2018-2022 Jirka Hladky hladky DOT jiri AT gmail DOT com + ** Copyright 2018-2026 Jirka Hladky hladky DOT jiri AT gmail DOT com ** Copyright 2009-2014 Gary Wuertz [email protected] ** Copyright 2011-2012 BenEleventh Consulting [email protected] ** @@ -31,7 +31,7 @@ * header/package version as a numeric major, minor, patch triple. See havege_version() * below for usage. */ -#define HAVEGE_PREP_VERSION "1.9.19" +#define HAVEGE_PREP_VERSION "1.9.20" /** * Basic types */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/haveged-1.9.19/src/havegecollect.c new/haveged-1.9.20/src/havegecollect.c --- old/haveged-1.9.19/src/havegecollect.c 2024-10-02 20:55:28.000000000 +0200 +++ new/haveged-1.9.20/src/havegecollect.c 2026-04-29 22:46:55.000000000 +0200 @@ -174,7 +174,7 @@ h_ctxt->havege_tests = 0; h_ctxt->havege_extra = 0; h_ctxt->havege_tics = p+szBuffer; - + /** An intermediate walk table twice the size of the L1 cache is allocated ** for use in permuting time stamp readings. The is meant to exercise ** processor TLBs. @@ -193,7 +193,7 @@ #endif { H_UINT t0=0; - + (void)havege_gather(h_ctxt); /* first sample */ t0 = HTICK1; for(i=1;i<MININITRAND;i++) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/haveged-1.9.19/src/haveged.c new/haveged-1.9.20/src/haveged.c --- old/haveged-1.9.19/src/haveged.c 2024-10-02 20:55:28.000000000 +0200 +++ new/haveged-1.9.20/src/haveged.c 2026-04-29 22:46:55.000000000 +0200 @@ -1,7 +1,7 @@ /** ** Simple entropy harvester based upon the havege RNG ** - ** Copyright 2018-2024 Jirka Hladky hladky DOT jiri AT gmail DOT com + ** Copyright 2018-2026 Jirka Hladky hladky DOT jiri AT gmail DOT com ** Copyright 2009-2014 Gary Wuertz [email protected] ** Copyright 2011-2012 BenEleventh Consulting [email protected] ** @@ -61,7 +61,7 @@ // {{{ VERSION_TEXT static const char* VERSION_TEXT = "haveged %s\n\n" - "Copyright (C) 2018-2024 Jirka Hladky <[email protected]>\n" + "Copyright (C) 2018-2026 Jirka Hladky <[email protected]>\n" "Copyright (C) 2009-2014 Gary Wuertz <[email protected]>\n" "Copyright (C) 2011-2012 BenEleventh Consulting <[email protected]>\n\n" "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.\n" @@ -489,10 +489,17 @@ fprintf(stderr, "%s: disabling command mode for this instance\n", params->daemon); } } - /* Initilize named semaphore to synchronize command isntances */ + /* Initialize named semaphore to synchronize command instances */ + if (mkdir("/dev/shm", 0755) != 0) { + if (errno != EEXIST) { + error_exit("Couldn't create /dev/shm directory: %s", strerror(errno)); + } + } + sem = sem_open(SEM_NAME, O_CREAT, 0644, 1); if (sem == NULL) { - error_exit("Couldn't create nammed semaphore " SEM_NAME" error: %s", strerror(errno)); + fprintf(stderr, "Warning: Couldn't create named semaphore " SEM_NAME" error: %s", strerror(errno)); + fprintf(stderr, " %s: disabling command mode for this instance\n", params->daemon); } } #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/haveged-1.9.19/src/haveged.h new/haveged-1.9.20/src/haveged.h --- old/haveged-1.9.19/src/haveged.h 2024-10-02 20:55:28.000000000 +0200 +++ new/haveged-1.9.20/src/haveged.h 2026-04-29 22:46:55.000000000 +0200 @@ -1,7 +1,7 @@ /** ** Simple entropy harvester based upon the havege RNG ** - ** Copyright 2018-2024 Jirka Hladky hladky DOT jiri AT gmail DOT com + ** Copyright 2018-2026 Jirka Hladky hladky DOT jiri AT gmail DOT com ** Copyright 2009-2014 Gary Wuertz [email protected] ** ** This program is free software: you can redistribute it and/or modify
