Hello community, here is the log from the commit of package rng-tools for openSUSE:Factory checked in at 2020-09-14 12:29:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rng-tools (Old) and /work/SRC/openSUSE:Factory/.rng-tools.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rng-tools" Mon Sep 14 12:29:29 2020 rev:44 rq:833996 version:6.10 Changes: -------- --- /work/SRC/openSUSE:Factory/rng-tools/rng-tools.changes 2016-02-11 12:37:35.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rng-tools.new.4249/rng-tools.changes 2020-09-14 12:30:36.277185746 +0200 @@ -1,0 +2,63 @@ +Sat Sep 12 13:06:07 UTC 2020 - Dirk Mueller <[email protected]> + +- update to 6.10: + * Conversion of all entropy sources to use openssl instead of gcrypt, eliminating the need for the gcrypt library + * updated nist beacon entropy source to conform to version 2 of the + * Added rtlsdr radio entropy source + * Fixed arm host_cpu name, fixing a build break + * Fixed selection of default pkcs11 engine, based on target arch + * Moved closing jitter entropy source printouts to be LOG_DEBUG + * Typo fixes from codespell + * Fix a build break with power darn entropy sourceaa + * Improve interlock between main rngd thread, and jitterentropy threads during startup/shutdown to avoid deadlock/unneeded latency + * Avoid writing to write_wakeup_threshold when no specific threshold is set (allowing for separate services to preform this task without warnings from rngd) + * Enhance logging to more clearly indicate which entropy source is issuing a given log message + * Daemonize earlier, thereby avoiding early thread exit, which in turn leads to additional latency on shutdown + * Allow for immediate thread shutdown in jitter - By using sigsetjmp/siglongjmp, threads can exit, even when blocking in the jitter library + * Fixed texrels on on rdrand_asm.S for pic compilation + * allow use of libargp if libc lacks argp parsing + * explicitly link against -lcrypto, fixing build in pkcs11 entropy source + * replace pthread_yield with posix compliant sched_yield + * bias rngd to use faster sources of entropy when available, falling back to slower sources when needed + * Fix a shutdown delay resulting from a thread exit race + * Fix a few minor compilation warnings + * Fix make distcheck make target + * Minor typo fixes/cleanups + * Misc typo fixes + * Fixed build break on ppc + * Fixed bug in which getaffinity returns error on virt systems for jitterentropy + * Fixed low watermark sizing for kernel entropy pool + * Add a test mode, allowing entropy production rates to be measured + * Added jitter library as an entropy source + * Added short names to entropy sources (rather than just index numbers), for use in identifying sources to exclude/include/set options on + * Deprecated tpm entropy source, as all modern tpm2 hardware in the kernel exports entropy via /dev/hwrng (the hwrng entropy source) + * Deprecated use of indexs in exclude/include/option setting + * Introduced the concept of slow entropy sources, that produce entropy at rates slow enough that would otherwise cause them to get disabled as being broken + * Defaulted rdrand entropy source to not use aes, as it creates a significant performance increase + * Update of jitterentropy-library version + * Addition of -O flag to allow per-entropy-source option setting (documented in man page) + * Misc jitterentropy bugfixes + * Fixing of debug messages and quiet behavior + * Enable runtime disablement of AES in rdrand entropy if no AES method is available + * Make jitterentropy thread count/buffer sizes configurable + * Make AES use in rdrand and darn entropy sources configurable + * Fixes a few logic errors in the use of jitterentropy + * Fixes a build issue in which make check fails + * Some source typo fixes + * Add caching to jitterentropy + * Free some leaked memory on exit + * limit nistbeacon random data based on freq and timestamp + * Document nistbeacon more + * improved exit code reporting + * ability to suppress failure messages when not wanted + * correction of nistbeacon fields on non 64 bit arches + * proper exiting on SIGTERM/SIGINT when polling in update_kernel_random + * Fixed a drng build issue based on a missing extern symbol + * minor code formatting cleanup + * ensure darn rng asm code is volatile to prevent getting optimized out + * improve darn runtime hardware support check + * man page fixes + * fixed bug in which rngd takes control of the terminal +- drop rng-tools-check_signals.patch (obsolete) + +------------------------------------------------------------------- Old: ---- rng-tools-5.tar.gz rng-tools-check_signals.patch New: ---- v6.10.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rng-tools.spec ++++++ --- /var/tmp/diff_new_pack.2XduoK/_old 2020-09-14 12:30:37.781186705 +0200 +++ /var/tmp/diff_new_pack.2XduoK/_new 2020-09-14 12:30:37.781186705 +0200 @@ -1,7 +1,7 @@ # # spec file for package rng-tools # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,25 +12,31 @@ # 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/ # +%{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d } Name: rng-tools -Version: 5 +Version: 6.10 Release: 0 Summary: Support daemon for hardware random device -License: GPL-3.0+ +License: GPL-3.0-or-later Group: System/Kernel -Url: http://sourceforge.net/projects/gkernel/ -Source: http://sourceforge.net/projects/gkernel/files/%{name}/%{version}/%{name}-%{version}.tar.gz +URL: https://github.com/nhorman/rng-tools +Source: https://github.com/nhorman/rng-tools/archive/v%{version}.tar.gz Source2: %{name}.service Source3: 90-hwrng.rules -Patch0: rng-tools-check_signals.patch -BuildRequires: libgcrypt-devel +BuildRequires: automake +BuildRequires: libcurl-devel +BuildRequires: libjansson-devel +BuildRequires: libp11-devel +BuildRequires: libxml2-devel BuildRequires: pkgconfig +BuildRequires: sysfsutils-devel BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(udev) +Requires: opensc Supplements: modalias(pci:v00001022d00007443sv*sd*bc*sc*i*) Supplements: modalias(pci:v00001022d0000746Bsv*sd*bc*sc*i*) Supplements: modalias(pci:v00008086d00002410sv*sd*bc*sc*i*) @@ -66,9 +72,8 @@ Supplements: modalias(pci:v00008086d000027B9sv*sd*bc*sc*i*) Supplements: modalias(pci:v00008086d000027BDsv*sd*bc*sc*i*) Supplements: modalias(virtio:d00000004v*) -ExclusiveArch: aarch64 %ix86 ia64 x86_64 %{arm} ppc64 ppc64le +ExclusiveArch: aarch64 %{ix86} ia64 x86_64 %{arm} ppc64 ppc64le %{?systemd_requires} -%{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d } %description This daemon feeds data from a random number generator to the kernel's @@ -77,14 +82,14 @@ %prep %setup -q -%patch0 %build -%configure -make %{?_smp_mflags} +./autogen.sh +%configure --without-rtlsdr +%make_build %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service install -D -m 0644 %{SOURCE3} %{buildroot}%{_udevrulesdir}/90-hwrng.rules ln -sf /sbin/service %{buildroot}%{_sbindir}/rc%{name} @@ -93,7 +98,7 @@ %service_add_pre %{name}.service %post -%{?udev_rules_update:%{udev_rules_update}} +%{?udev_rules_update:%udev_rules_update} %service_add_post %{name}.service %preun @@ -103,8 +108,8 @@ %service_del_postun %{name}.service %files -%defattr(-,root,root) -%doc NEWS +%doc NEWS README +%license COPYING %{_bindir}/rngtest %{_sbindir}/rngd %{_mandir}/man?/*.*.gz
