SHA256
1
0
forked from pool/haveged

Accepting request 860091 from home:polslinux:branches:security

- Update to 1.9.14:
  * made enttest configurable
  * havegecmd.c - new command added to close the communication socket
- Drop haveged-conditional-enttest.patch

OBS-URL: https://build.opensuse.org/request/show/860091
OBS-URL: https://build.opensuse.org/package/show/security/haveged?expand=0&rev=133
This commit is contained in:
Marcus Meissner 2021-01-04 11:49:19 +00:00 committed by Git OBS Bridge
parent 3e09c9b278
commit 44d6b1b2af
5 changed files with 13 additions and 36 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d17bd22fa1745daca5ac72e014ed3b0fe5720da4c115953124b1bf2a0aa2b04b
size 495737

3
haveged-1.9.14.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:938cb494bcad7e4f24e61eb50fab4aa0acbc3240c80f3ad5c6cf7e6e922618c3
size 496346

View File

@ -1,29 +0,0 @@
---
haveged-1.9.4/configure.ac | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Index: haveged-1.9.8/configure.ac
===================================================================
--- haveged-1.9.8.orig/configure.ac
+++ haveged-1.9.8/configure.ac
@@ -62,6 +62,11 @@ AC_ARG_ENABLE(nistest,
AS_HELP_STRING([--enable-nistest=[no/yes]],[Run NIST test suite [default=no]]),
, enable_nistest="no")
+## Make ent self-test configurable
+AC_ARG_ENABLE(enttest,
+ AS_HELP_STRING([--enable-enttest=[no/yes]],[Run ENT test suite [default=yes]]),
+ , enable_enttest="yes")
+
## Make self test features configurable
AC_ARG_ENABLE(olt,
AS_HELP_STRING([--enable-olt=[yes/no]],[Enable online tests [default=yes]]),
@@ -241,7 +246,7 @@ AM_CONDITIONAL(ENABLE_SYSV, test "$init_
AM_CONDITIONAL(ENABLE_SYSTEMD, test "$init_type" = "systemd")
AM_CONDITIONAL(ENABLE_SYSTEMD_LOOKUP, test "$enable_initdir" = "?")
AM_CONDITIONAL(ENABLE_NOINIT, test "$init_type" = "none")
-AM_CONDITIONAL(ENABLE_ENT_TEST, test "yes" = "yes")
+AM_CONDITIONAL(ENABLE_ENT_TEST, test "$enable_enttest" = "yes")
AM_CONDITIONAL(ENABLE_NIST_TEST, test "$enable_nistest" = "yes")
## Set hardware dependent define for the build

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Jan 4 08:28:40 UTC 2021 - Paolo Stivanin <info@paolostivanin.com>
- Update to 1.9.14:
* made enttest configurable
* havegecmd.c - new command added to close the communication socket
- Drop haveged-conditional-enttest.patch
-------------------------------------------------------------------
Tue Jun 30 07:07:57 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package haveged
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# 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.13
Version: 1.9.14
Release: 0
Summary: Daemon for feeding entropy into the random pool
License: GPL-3.0-only
@ -30,8 +30,6 @@ Source3: 90-haveged.rules
Source4: haveged-dracut.module
Source5: %{name}-switch-root.service
Patch0: ppc64le.patch
# PATCH-FIX-UPSTREAM: ent tests randomly fail so make them conditional tchvatal@suse.cz bnc#876674
Patch1: haveged-conditional-enttest.patch
# PATCH-FIX-UPSTREAM: don't write to syslog at startup to avoid deadlocks psimons@suse.com bnc#959237
Patch2: haveged-no-syslog.patch
BuildRequires: autoconf