commit rng-tools for openSUSE:Factory

2020-09-14 Thread root
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.0 +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 
+
+-  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 ++

commit rng-tools for openSUSE:Factory

2016-02-11 Thread h_root
Hello community,

here is the log from the commit of package rng-tools for openSUSE:Factory 
checked in at 2016-02-11 12:37:33

Comparing /work/SRC/openSUSE:Factory/rng-tools (Old)
 and  /work/SRC/openSUSE:Factory/.rng-tools.new (New)


Package is "rng-tools"

Changes:

--- /work/SRC/openSUSE:Factory/rng-tools/rng-tools.changes  2015-10-20 
00:08:52.0 +0200
+++ /work/SRC/openSUSE:Factory/.rng-tools.new/rng-tools.changes 2016-02-11 
12:37:35.0 +0100
@@ -1,0 +2,7 @@
+Sat Feb  6 17:06:48 UTC 2016 - crrodrig...@opensuse.org
+
+- 90-hwrng.rules: Improve udev rule, autostart rngd only
+  when there are hwrng drivers available and one is actually
+  bound to the device.
+
+---



Other differences:
--
++ rng-tools.spec ++
--- /var/tmp/diff_new_pack.L0xmT2/_old  2016-02-11 12:37:36.0 +0100
+++ /var/tmp/diff_new_pack.L0xmT2/_new  2016-02-11 12:37:36.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rng-tools
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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

++ 90-hwrng.rules ++
--- /var/tmp/diff_new_pack.L0xmT2/_old  2016-02-11 12:37:36.0 +0100
+++ /var/tmp/diff_new_pack.L0xmT2/_new  2016-02-11 12:37:36.0 +0100
@@ -1,2 +1,2 @@
-ACTION=="add", KERNEL=="hwrng|hw_random", SUBSYSTEM=="misc", TAG+="systemd", 
ENV{SYSTEMD_WANTS}+="rng-tools.service"
+ACTION=="add", KERNEL=="hwrng|hw_random", SUBSYSTEM=="misc", 
ATTR{rng_available}=="?*", ATTR{rng_current}!="none", TAG+="systemd", 
ENV{SYSTEMD_WANTS}+="rng-tools.service"
 




commit rng-tools for openSUSE:Factory

2015-10-19 Thread h_root
Hello community,

here is the log from the commit of package rng-tools for openSUSE:Factory 
checked in at 2015-10-19 22:53:49

Comparing /work/SRC/openSUSE:Factory/rng-tools (Old)
 and  /work/SRC/openSUSE:Factory/.rng-tools.new (New)


Package is "rng-tools"

Changes:

--- /work/SRC/openSUSE:Factory/rng-tools/rng-tools.changes  2014-09-26 
11:21:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.rng-tools.new/rng-tools.changes 2015-10-20 
00:08:52.0 +0200
@@ -1,0 +2,11 @@
+Mon Oct 19 08:07:13 UTC 2015 - dmuel...@suse.com
+
+- enable aarch64 as well
+
+---
+Sat Oct 17 23:19:36 UTC 2015 - dval...@suse.com
+
+- Enable Power64 architecture. Starting with Power7+ we have in 
+  CPU random number generator 
+
+---



Other differences:
--
++ rng-tools.spec ++
--- /var/tmp/diff_new_pack.DUqEgL/_old  2015-10-20 00:08:53.0 +0200
+++ /var/tmp/diff_new_pack.DUqEgL/_new  2015-10-20 00:08:53.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rng-tools
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -66,7 +66,7 @@
 Supplements:modalias(pci:v8086d27B9sv*sd*bc*sc*i*)
 Supplements:modalias(pci:v8086d27BDsv*sd*bc*sc*i*)
 Supplements:modalias(virtio:d0004v*)
-ExclusiveArch:  %ix86 ia64 x86_64 %{arm}
+ExclusiveArch:  aarch64 %ix86 ia64 x86_64 %{arm} ppc64 ppc64le
 %{?systemd_requires}
 %{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir 
udev)/rules.d }
 




commit rng-tools for openSUSE:Factory

2014-09-26 Thread h_root
Hello community,

here is the log from the commit of package rng-tools for openSUSE:Factory 
checked in at 2014-09-26 10:52:04

Comparing /work/SRC/openSUSE:Factory/rng-tools (Old)
 and  /work/SRC/openSUSE:Factory/.rng-tools.new (New)


Package is rng-tools

Changes:

--- /work/SRC/openSUSE:Factory/rng-tools/rng-tools.changes  2014-09-06 
12:18:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.rng-tools.new/rng-tools.changes 2014-09-26 
11:21:25.0 +0200
@@ -1,0 +2,6 @@
+Fri Sep 19 00:28:16 CEST 2014 - r...@suse.de
+
+- add patch: rng-tools-check_signals.patch (bnc#897335)
+  check for signals in all loops to react to SIGINT/SIGTERM
+
+---

New:

  rng-tools-check_signals.patch



Other differences:
--
++ rng-tools.spec ++
--- /var/tmp/diff_new_pack.J316CY/_old  2014-09-26 11:21:26.0 +0200
+++ /var/tmp/diff_new_pack.J316CY/_new  2014-09-26 11:21:26.0 +0200
@@ -26,6 +26,7 @@
 Source: 
http://sourceforge.net/projects/gkernel/files/%{name}/%{version}/%{name}-%{version}.tar.gz
 Source2:%{name}.service
 Source3:90-hwrng.rules
+Patch0: rng-tools-check_signals.patch
 BuildRequires:  libgcrypt-devel
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(systemd)
@@ -76,6 +77,7 @@
 
 %prep
 %setup -q
+%patch0
 
 %build
 %configure

++ rng-tools-check_signals.patch ++
--- rngd.c
+++ rngd.c
@@ -218,6 +218,8 @@
 
for (p = buf; p + random_step = buf[FIPS_RNG_BUFFER_SIZE];
 p += random_step) {
+   if (!server_running)
+   return 0;
random_add_entropy(p, random_step);
random_sleep();
}
@@ -239,10 +241,10 @@
{
int rc;
 
+   retry_same:
if (!server_running)
return;
 
-   retry_same:
if (iter-disabled)
continue;   /* failed, no work */
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rng-tools for openSUSE:Factory

2014-09-06 Thread h_root
Hello community,

here is the log from the commit of package rng-tools for openSUSE:Factory 
checked in at 2014-09-06 12:18:23

Comparing /work/SRC/openSUSE:Factory/rng-tools (Old)
 and  /work/SRC/openSUSE:Factory/.rng-tools.new (New)


Package is rng-tools

Changes:

--- /work/SRC/openSUSE:Factory/rng-tools/rng-tools.changes  2014-08-27 
07:46:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.rng-tools.new/rng-tools.changes 2014-09-06 
12:18:33.0 +0200
@@ -1,0 +2,6 @@
+Wed Sep  3 10:18:46 UTC 2014 - idon...@suse.com
+
+- Apparently --fill-watermark expects a number between 0 and 4096
+  now. So we now set it to 3700 which is ~90% of 4096.
+
+---



Other differences:
--
++ rng-tools.service ++
--- /var/tmp/diff_new_pack.aaPJKu/_old  2014-09-06 12:18:34.0 +0200
+++ /var/tmp/diff_new_pack.aaPJKu/_new  2014-09-06 12:18:34.0 +0200
@@ -5,7 +5,7 @@
 
 [Service]
 CapabilityBoundingSet=CAP_SYS_ADMIN
-ExecStart=/usr/sbin/rngd --foreground --fill-watermark=90%
+ExecStart=/usr/sbin/rngd --foreground --fill-watermark=3700
 
 [Install]
 WantedBy=multi-user.target

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rng-tools for openSUSE:Factory

2014-08-26 Thread h_root
Hello community,

here is the log from the commit of package rng-tools for openSUSE:Factory 
checked in at 2014-08-27 07:46:16

Comparing /work/SRC/openSUSE:Factory/rng-tools (Old)
 and  /work/SRC/openSUSE:Factory/.rng-tools.new (New)


Package is rng-tools

Changes:

--- /work/SRC/openSUSE:Factory/rng-tools/rng-tools.changes  2014-06-25 
11:47:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.rng-tools.new/rng-tools.changes 2014-08-27 
07:46:36.0 +0200
@@ -1,0 +2,20 @@
+Mon Aug 25 10:13:40 UTC 2014 - idon...@suse.com
+
+- Update to version 5
+  * Support RDRAND capable systems that don't have AES-NI
+  * Man page spelling fixes
+  * Don't use fixed AES key for data reduction
+  * Platform: Support x32. x86-64 micro-optimizations.
+  * Fix RDRAND data reduction
+  * Enable RDSEED instruction
+- Add libgcrypt dependency needed for RDRAND
+- Add back --fill-watermark=90% to the service file
+- Package NEWS file
+- Spec cleanup
+
+---
+Fri Aug 22 16:49:41 UTC 2014 - crrodrig...@opensuse.org
+
+- package is needed on %arm (raspberry pi at least).
+
+---

Old:

  rng-tools-4.tar.bz2

New:

  rng-tools-5.tar.gz



Other differences:
--
++ rng-tools.spec ++
--- /var/tmp/diff_new_pack.iPqSRq/_old  2014-08-27 07:46:38.0 +0200
+++ /var/tmp/diff_new_pack.iPqSRq/_new  2014-08-27 07:46:38.0 +0200
@@ -17,56 +17,56 @@
 
 
 Name:   rng-tools
-BuildRequires:  pkgconfig
-BuildRequires:  pkgconfig(systemd)
-BuildRequires:  pkgconfig(udev)
-ExclusiveArch:  %ix86 ia64 x86_64
+Version:5
+Release:0
 Summary:Support daemon for hardware random device
 License:GPL-3.0+
 Group:  System/Kernel
-Version:4
-Release:0
 Url:http://sourceforge.net/projects/gkernel/
-Source: %{name}-%{version}.tar.bz2 
+Source: 
http://sourceforge.net/projects/gkernel/files/%{name}/%{version}/%{name}-%{version}.tar.gz
 Source2:%{name}.service
 Source3:90-hwrng.rules
-Supplements:modalias(pci:v1022d746Bsv*sd*bc*sc*i*)
+BuildRequires:  libgcrypt-devel
+BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(systemd)
+BuildRequires:  pkgconfig(udev)
 Supplements:modalias(pci:v1022d7443sv*sd*bc*sc*i*)
+Supplements:modalias(pci:v1022d746Bsv*sd*bc*sc*i*)
+Supplements:modalias(pci:v8086d2410sv*sd*bc*sc*i*)
+Supplements:modalias(pci:v8086d2420sv*sd*bc*sc*i*)
+Supplements:modalias(pci:v8086d2440sv*sd*bc*sc*i*)
+Supplements:modalias(pci:v8086d244Csv*sd*bc*sc*i*)
 Supplements:modalias(pci:v8086d2450sv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d27B8sv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d267Fsv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d267Esv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d267Dsv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d267Csv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d267Bsv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d267Asv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d2679sv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d2678sv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d2677sv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d2676sv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d2675sv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d2674sv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d2673sv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d2672sv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d2671sv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d2670sv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d2640sv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d25A1sv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d24D0sv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d24C0sv*sd*bc*sc*i*)
 Supplements:modalias(pci:v8086d2480sv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d2440sv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d27BDsv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d27B9sv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d2641sv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d24CCsv*sd*bc*sc*i*)
 Supplements:modalias(pci:v8086d248Csv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d244Csv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d2420sv*sd*bc*sc*i*)
-Supplements:modalias(pci:v8086d2410sv*sd*bc*sc*i*)

commit rng-tools for openSUSE:Factory

2014-06-25 Thread h_root
Hello community,

here is the log from the commit of package rng-tools for openSUSE:Factory 
checked in at 2014-06-25 11:47:28

Comparing /work/SRC/openSUSE:Factory/rng-tools (Old)
 and  /work/SRC/openSUSE:Factory/.rng-tools.new (New)


Package is rng-tools

Changes:

--- /work/SRC/openSUSE:Factory/rng-tools/rng-tools.changes  2014-05-06 
14:02:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.rng-tools.new/rng-tools.changes 2014-06-25 
11:47:40.0 +0200
@@ -1,0 +2,8 @@
+Tue Jun 24 18:05:29 UTC 2014 - crrodrig...@opensuse.org
+
+- systemd: Do not start in containers, in that case 
+  entropy comes from the host
+- systemd: Conflict with haveged, only one entropy daemon
+  must be running.
+
+---



Other differences:
--
++ rng-tools.service ++
--- /var/tmp/diff_new_pack.OZwjpS/_old  2014-06-25 11:47:41.0 +0200
+++ /var/tmp/diff_new_pack.OZwjpS/_new  2014-06-25 11:47:41.0 +0200
@@ -1,5 +1,7 @@
 [Unit]
 Description=Start the rngd daemon
+ConditionVirtualization=!container
+Conflicts=haveged.service
 
 [Service]
 CapabilityBoundingSet=CAP_SYS_ADMIN

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rng-tools for openSUSE:Factory

2013-12-30 Thread h_root
Hello community,

here is the log from the commit of package rng-tools for openSUSE:Factory 
checked in at 2013-12-30 10:39:41

Comparing /work/SRC/openSUSE:Factory/rng-tools (Old)
 and  /work/SRC/openSUSE:Factory/.rng-tools.new (New)


Package is rng-tools

Changes:

--- /work/SRC/openSUSE:Factory/rng-tools/rng-tools.changes  2013-11-25 
16:04:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.rng-tools.new/rng-tools.changes 2013-12-30 
10:39:42.0 +0100
@@ -1,0 +2,5 @@
+Fri Dec 27 20:16:37 UTC 2013 - crrodrig...@opensuse.org
+
+- udev does not like rules without a new line 
+
+---



Other differences:
--
++ 90-hwrng.rules ++
--- /var/tmp/diff_new_pack.B9YVWI/_old  2013-12-30 10:39:42.0 +0100
+++ /var/tmp/diff_new_pack.B9YVWI/_new  2013-12-30 10:39:42.0 +0100
@@ -1 +1 @@
-ACTION==add, KERNEL==hwrng, SUBSYSTEM==misc, TAG+=systemd, 
ENV{SYSTEMD_WANTS}+=rng-tools.service
\ No newline at end of file
+ACTION==add, KERNEL==hwrng, SUBSYSTEM==misc, TAG+=systemd, 
ENV{SYSTEMD_WANTS}+=rng-tools.service

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rng-tools for openSUSE:Factory

2013-11-25 Thread h_root
Hello community,

here is the log from the commit of package rng-tools for openSUSE:Factory 
checked in at 2013-11-25 16:04:00

Comparing /work/SRC/openSUSE:Factory/rng-tools (Old)
 and  /work/SRC/openSUSE:Factory/.rng-tools.new (New)


Package is rng-tools

Changes:

--- /work/SRC/openSUSE:Factory/rng-tools/rng-tools.changes  2013-10-30 
15:51:37.0 +0100
+++ /work/SRC/openSUSE:Factory/.rng-tools.new/rng-tools.changes 2013-11-25 
16:04:01.0 +0100
@@ -1,0 +2,7 @@
+Sun Nov 24 04:23:56 UTC 2013 - crrodrig...@opensuse.org
+
+- there is no trousers-devel requirement anymore 
+- define _udevrulesdir only if not already defined
+- run %udev_rules_update, if defined.
+
+---



Other differences:
--
++ rng-tools.spec ++
--- /var/tmp/diff_new_pack.eJr0KA/_old  2013-11-25 16:04:02.0 +0100
+++ /var/tmp/diff_new_pack.eJr0KA/_new  2013-11-25 16:04:02.0 +0100
@@ -18,7 +18,6 @@
 
 Name:   rng-tools
 BuildRequires:  pkgconfig
-BuildRequires:  trousers-devel
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(udev)
 ExclusiveArch:  %ix86 ia64 x86_64
@@ -67,7 +66,8 @@
 Supplements:modalias(pci:v8086d2410sv*sd*bc*sc*i*)
 Supplements:modalias(virtio:d0004v*)
 %{?systemd_requires}
-%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
+
+%{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir 
udev)/rules.d }
 
 %description
 This  daemon  feeds data from a random number generator to the kernel's
@@ -91,6 +91,7 @@
 %service_add_pre %{name}.service
 
 %post
+%{?udev_rules_update:%udev_rules_update}
 %service_add_post %{name}.service
 
 %preun

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rng-tools for openSUSE:Factory

2013-10-30 Thread h_root
Hello community,

here is the log from the commit of package rng-tools for openSUSE:Factory 
checked in at 2013-10-30 15:51:35

Comparing /work/SRC/openSUSE:Factory/rng-tools (Old)
 and  /work/SRC/openSUSE:Factory/.rng-tools.new (New)


Package is rng-tools

Changes:

--- /work/SRC/openSUSE:Factory/rng-tools/rng-tools.changes  2013-09-02 
16:50:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.rng-tools.new/rng-tools.changes 2013-10-30 
15:51:37.0 +0100
@@ -1,0 +2,7 @@
+Wed Oct 23 14:45:37 UTC 2013 - p.drou...@gmail.com
+
+- Drop old sysvinit stuff; none of distribution targets use it anymore
+- Remove redundant %clean section
+- Remove useless automake BuildRequires, CFLAGS export and autoreconf call
+  
+---

Old:

  rng-tools.init



Other differences:
--
++ rng-tools.spec ++
--- /var/tmp/diff_new_pack.c6s0fi/_old  2013-10-30 15:51:39.0 +0100
+++ /var/tmp/diff_new_pack.c6s0fi/_new  2013-10-30 15:51:39.0 +0100
@@ -17,7 +17,6 @@
 
 
 Name:   rng-tools
-BuildRequires:  automake
 BuildRequires:  pkgconfig
 BuildRequires:  trousers-devel
 BuildRequires:  pkgconfig(systemd)
@@ -28,13 +27,10 @@
 Group:  System/Kernel
 Version:4
 Release:0
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Url:http://sourceforge.net/projects/gkernel/
 Source: %{name}-%{version}.tar.bz2 
-Source1:%name.init
 Source2:%{name}.service
 Source3:90-hwrng.rules
-PreReq: %fillup_prereq
 Supplements:modalias(pci:v1022d746Bsv*sd*bc*sc*i*)
 Supplements:modalias(pci:v1022d7443sv*sd*bc*sc*i*)
 Supplements:modalias(pci:v8086d2450sv*sd*bc*sc*i*)
@@ -70,9 +66,6 @@
 Supplements:modalias(pci:v8086d2420sv*sd*bc*sc*i*)
 Supplements:modalias(pci:v8086d2410sv*sd*bc*sc*i*)
 Supplements:modalias(virtio:d0004v*)
-%if %suse_version  1130
-PreReq: sysvinit(syslog)
-%endif
 %{?systemd_requires}
 %define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
 
@@ -85,46 +78,34 @@
 %setup -q
 
 %build
-autoreconf --force --install
-export CFLAGS=%optflags
 %configure
 make %{?_smp_mflags}
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/etc/init.d
-install -m 0755 %{SOURCE1} $RPM_BUILD_ROOT/etc/init.d/%name
-%{__ln_s} -f %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name}
 install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service
 install -D -m 0644 %{SOURCE3} %{buildroot}%{_udevrulesdir}/90-hwrng.rules
+ln -sf /sbin/service %{buildroot}/usr/sbin/rc%{name}
 
 %pre
 %service_add_pre %{name}.service
 
 %post
-%{fillup_and_insserv -n rng-tools rng-tools}
 %service_add_post %{name}.service
 
 %preun
-%stop_on_removal rng-tools
 %service_del_preun %{name}.service
 
 %postun
-%restart_on_update rng-tools
-%insserv_cleanup
 %service_del_postun %{name}.service
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root)
 %{_bindir}/rngtest
 %{_sbindir}/rngd
-%{_sbindir}/rc%{name}
 %{_mandir}/man?/*.*.gz
-%config /etc/init.d/%name
 %{_unitdir}/%{name}.service
+%{_sbindir}/rc%{name}
 %{_udevrulesdir}/90-hwrng.rules
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rng-tools for openSUSE:Factory

2013-09-02 Thread h_root
Hello community,

here is the log from the commit of package rng-tools for openSUSE:Factory 
checked in at 2013-09-02 16:50:13

Comparing /work/SRC/openSUSE:Factory/rng-tools (Old)
 and  /work/SRC/openSUSE:Factory/.rng-tools.new (New)


Package is rng-tools

Changes:

--- /work/SRC/openSUSE:Factory/rng-tools/rng-tools.changes  2013-05-16 
18:20:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.rng-tools.new/rng-tools.changes 2013-09-02 
16:50:15.0 +0200
@@ -1,0 +2,8 @@
+Mon Sep  2 02:07:59 UTC 2013 - crrodrig...@opensuse.org
+
+- in a previous change I removed WantedBy=multi-user.target
+  from the systemd service file because the service can get
+  automatically started by udev, however there are usecases
+  on which manual start is desirable, restore that.
+
+---



Other differences:
--
++ rng-tools.service ++
--- /var/tmp/diff_new_pack.a3fSkU/_old  2013-09-02 16:50:15.0 +0200
+++ /var/tmp/diff_new_pack.a3fSkU/_new  2013-09-02 16:50:15.0 +0200
@@ -6,4 +6,5 @@
 ExecStart=/usr/sbin/rngd --foreground --fill-watermark=90%
 
 [Install]
+WantedBy=multi-user.target
 Alias=rngd.service

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rng-tools for openSUSE:Factory

2013-04-12 Thread h_root
Hello community,

here is the log from the commit of package rng-tools for openSUSE:Factory 
checked in at 2013-04-12 20:37:18

Comparing /work/SRC/openSUSE:Factory/rng-tools (Old)
 and  /work/SRC/openSUSE:Factory/.rng-tools.new (New)


Package is rng-tools, Maintainer is r...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/rng-tools/rng-tools.changes  2012-10-06 
18:43:06.0 +0200
+++ /work/SRC/openSUSE:Factory/.rng-tools.new/rng-tools.changes 2013-04-12 
20:37:19.0 +0200
@@ -1,0 +2,14 @@
+Thu Apr 11 02:42:07 UTC 2013 - crrodrig...@opensuse.org
+
+- Just to be in the safe side, put udev rules later into
+  the mix 50-hwrng.rules -- 90-hwrng.rules
+
+---
+Tue Apr  9 01:03:51 UTC 2013 - crrodrig...@opensuse.org
+
+- 50-hwrng.rules + rng-tools.service, use activation by systemd+udev
+  combo, the service will come up automatically when the kernel
+  registers a /dev/hwrng device, service no longer requires
+  manual intervention to work at all.
+
+---

New:

  90-hwrng.rules



Other differences:
--
++ rng-tools.spec ++
--- /var/tmp/diff_new_pack.TcLnp1/_old  2013-04-12 20:37:20.0 +0200
+++ /var/tmp/diff_new_pack.TcLnp1/_new  2013-04-12 20:37:20.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rng-tools
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,8 +18,10 @@
 
 Name:   rng-tools
 BuildRequires:  automake
-BuildRequires:  systemd
+BuildRequires:  pkgconfig
 BuildRequires:  trousers-devel
+BuildRequires:  pkgconfig(systemd)
+BuildRequires:  pkgconfig(udev)
 ExclusiveArch:  %ix86 ia64 x86_64
 Summary:Support daemon for hardware random device
 License:GPL-3.0+
@@ -31,6 +33,7 @@
 Source: %{name}-%{version}.tar.bz2 
 Source1:%name.init
 Source2:%{name}.service
+Source3:90-hwrng.rules
 PreReq: %fillup_prereq
 Supplements:modalias(pci:v1022d746Bsv*sd*bc*sc*i*)
 Supplements:modalias(pci:v1022d7443sv*sd*bc*sc*i*)
@@ -71,6 +74,7 @@
 PreReq: sysvinit(syslog)
 %endif
 %{?systemd_requires}
+%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
 
 %description
 This  daemon  feeds data from a random number generator to the kernel's
@@ -82,9 +86,9 @@
 
 %build
 autoreconf --force --install
-export CFLAGS=%optflags -pthread
+export CFLAGS=%optflags
 %configure
-make
+make %{?_smp_mflags}
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
@@ -92,6 +96,7 @@
 install -m 0755 %{SOURCE1} $RPM_BUILD_ROOT/etc/init.d/%name
 %{__ln_s} -f %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name}
 install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service
+install -D -m 0644 %{SOURCE3} %{buildroot}%{_udevrulesdir}/90-hwrng.rules
 
 %pre
 %service_add_pre %{name}.service
@@ -120,5 +125,6 @@
 %{_mandir}/man?/*.*.gz
 %config /etc/init.d/%name
 %{_unitdir}/%{name}.service
+%{_udevrulesdir}/90-hwrng.rules
 
 %changelog

++ 90-hwrng.rules ++
ACTION==add, KERNEL==hwrng, SUBSYSTEM==misc, TAG+=systemd, 
ENV{SYSTEMD_WANTS}+=rng-tools.service++ rng-tools.service ++
--- /var/tmp/diff_new_pack.TcLnp1/_old  2013-04-12 20:37:20.0 +0200
+++ /var/tmp/diff_new_pack.TcLnp1/_new  2013-04-12 20:37:20.0 +0200
@@ -1,10 +1,9 @@
 [Unit]
 Description=Start the rngd daemon
-ConditionPathExists=/dev/hwrng
 
 [Service]
 CapabilityBoundingSet=CAP_SYS_ADMIN
 ExecStart=/usr/sbin/rngd --foreground --fill-watermark=90% --feed-interval=1 
 
 [Install]
-WantedBy=multi-user.target
\ No newline at end of file
+Alias=rngd.service
\ No newline at end of file

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rng-tools for openSUSE:Factory

2012-10-06 Thread h_root
Hello community,

here is the log from the commit of package rng-tools for openSUSE:Factory 
checked in at 2012-10-05 13:47:46

Comparing /work/SRC/openSUSE:Factory/rng-tools (Old)
 and  /work/SRC/openSUSE:Factory/.rng-tools.new (New)


Package is rng-tools, Maintainer is r...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/rng-tools/rng-tools.changes  2012-01-31 
10:22:07.0 +0100
+++ /work/SRC/openSUSE:Factory/.rng-tools.new/rng-tools.changes 2012-10-06 
18:43:06.0 +0200
@@ -1,0 +2,14 @@
+Thu Oct  4 14:31:13 UTC 2012 - l...@linux-schulserver.de
+
+- update to version 4:
+  * Add RDRAND instruction support
+  * Add -q and -v options for quiet and verbose output
+  * Add -p option for specifying PID file (text file containing daemon's PID)
+  * Disable entropy source if facing continued failures, but be
+tolerant of the occasional fault.
+  * Default device is now the preferred /dev/hwrng
+  * Do not use TPM device for RNG access, if /dev/hwrng is present
+(TPM RNG is exported via the kernel, in newer kernels)
+- require $remote_fs in init script as binaries are below /usr
+
+---

Old:

  rng-tools-3.tar.bz2

New:

  rng-tools-4.tar.bz2



Other differences:
--
++ rng-tools.spec ++
--- /var/tmp/diff_new_pack.9n1iz4/_old  2012-10-06 18:43:07.0 +0200
+++ /var/tmp/diff_new_pack.9n1iz4/_new  2012-10-06 18:43:07.0 +0200
@@ -16,20 +16,19 @@
 #
 
 
-
 Name:   rng-tools
 BuildRequires:  automake
-BuildRequires:  trousers-devel
 BuildRequires:  systemd
-License:GPL-3.0+
-Group:  System/Kernel
+BuildRequires:  trousers-devel
 ExclusiveArch:  %ix86 ia64 x86_64
 Summary:Support daemon for hardware random device
-Version:3
+License:GPL-3.0+
+Group:  System/Kernel
+Version:4
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Url:http://sourceforge.net/projects/gkernel/
-Source: rng-tools-3.tar.bz2 
+Source: %{name}-%{version}.tar.bz2 
 Source1:%name.init
 Source2:%{name}.service
 PreReq: %fillup_prereq
@@ -75,19 +74,11 @@
 
 %description
 This  daemon  feeds data from a random number generator to the kernel's
- random  number  entropy  pool,  after first checking the data to
+random  number  entropy  pool,  after  first checking the data to
 ensure that it is properly random.
 
-
-
-Authors:
-
-Philipp Rumpf pru...@mandrakesoft.com
-Jeff Garzik jgar...@mandrakesoft.com
-Matt Sottek
-
 %prep
-%setup -q -n rng-tools-3
+%setup -q
 
 %build
 autoreconf --force --install

++ rng-tools-3.tar.bz2 - rng-tools-4.tar.bz2 ++
 6055 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/rng-tools-3/Makefile.am new/rng-tools-4/Makefile.am
--- old/rng-tools-3/Makefile.am 2009-12-24 07:47:24.0 +0100
+++ new/rng-tools-4/Makefile.am 2012-08-02 06:18:37.0 +0200
@@ -10,7 +10,8 @@
 noinst_LIBRARIES = librngd.a
 
 rngd_SOURCES   = rngd.h rngd.c rngd_entsource.h rngd_entsource.c   \
- rngd_linux.h rngd_linux.c
+ rngd_linux.h rngd_linux.c util.c  \
+ rngd_rdrand.c rdrand_asm.S
 rngd_LDADD = librngd.a
 
 rngtest_SOURCES= exits.h stats.h stats.c rngtest.c
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/rng-tools-3/NEWS new/rng-tools-4/NEWS
--- old/rng-tools-3/NEWS2010-07-04 04:54:07.0 +0200
+++ new/rng-tools-4/NEWS2012-08-02 21:01:16.0 +0200
@@ -1,4 +1,14 @@
 
+Version 4 (August 2, 2012):
+* Add RDRAND instruction support
+* Add -q and -v options for quiet and verbose output
+* Add -p option for specifying PID file (text file containing daemon's PID)
+* Disable entropy source if facing continued failures, but be
+  tolerant of the occasional fault.
+* Default device is now the preferred /dev/hwrng
+* Do not use TPM device for RNG access, if /dev/hwrng is present
+  (TPM RNG is exported via the kernel, in newer kernels)
+
 Version 3 (July 3, 2010):
 
 * add rngtest program
diff -urN '--exclude=CVS' '--exclude=.cvsignore' 

commit rng-tools for openSUSE:Factory

2012-01-31 Thread h_root
Hello community,

here is the log from the commit of package rng-tools for openSUSE:Factory 
checked in at 2012-01-31 10:22:06

Comparing /work/SRC/openSUSE:Factory/rng-tools (Old)
 and  /work/SRC/openSUSE:Factory/.rng-tools.new (New)


Package is rng-tools, Maintainer is r...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/rng-tools/rng-tools.changes  2012-01-04 
07:31:25.0 +0100
+++ /work/SRC/openSUSE:Factory/.rng-tools.new/rng-tools.changes 2012-01-31 
10:22:07.0 +0100
@@ -1,0 +2,9 @@
+Sun Jan 29 02:57:13 UTC 2012 - tabra...@novell.com
+
+- Update to version 3
+  * add rngteswt program
+  * support TPM chip's hardware RNG (and thus, a framework for
+supporting multiple entropy sources)
+  * change default hardware RNG device name to /dev/hw_random
+
+---

Old:

  rng-tools_2-unofficial-mt.14.orig.tar.bz2

New:

  rng-tools-3.tar.bz2



Other differences:
--
++ rng-tools.spec ++
--- /var/tmp/diff_new_pack.vAUORq/_old  2012-01-31 10:22:08.0 +0100
+++ /var/tmp/diff_new_pack.vAUORq/_new  2012-01-31 10:22:08.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rng-tools
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,11 +25,11 @@
 Group:  System/Kernel
 ExclusiveArch:  %ix86 ia64 x86_64
 Summary:Support daemon for hardware random device
-Version:2
+Version:3
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Url:http://sourceforge.net/projects/gkernel/
-Source: rng-tools_2-unofficial-mt.14.orig.tar.bz2 
+Source: rng-tools-3.tar.bz2 
 Source1:%name.init
 Source2:%{name}.service
 PreReq: %fillup_prereq
@@ -87,7 +87,7 @@
 Matt Sottek
 
 %prep
-%setup -q -n rng-tools-2-unofficial-mt.14
+%setup -q -n rng-tools-3
 
 %build
 autoreconf --force --install

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rng-tools for openSUSE:Factory

2012-01-03 Thread h_root
Hello community,

here is the log from the commit of package rng-tools for openSUSE:Factory 
checked in at 2012-01-04 07:31:17

Comparing /work/SRC/openSUSE:Factory/rng-tools (Old)
 and  /work/SRC/openSUSE:Factory/.rng-tools.new (New)


Package is rng-tools, Maintainer is r...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/rng-tools/rng-tools.changes  2011-12-25 
17:41:03.0 +0100
+++ /work/SRC/openSUSE:Factory/.rng-tools.new/rng-tools.changes 2012-01-04 
07:31:25.0 +0100
@@ -1,0 +2,5 @@
+Sat Dec 31 05:34:54 UTC 2011 - crrodrig...@opensuse.org
+
+- Put rngd back into %{_sbindir} /usr is mounted in the initrd now.
+
+---



Other differences:
--
++ rng-tools.spec ++
--- /var/tmp/diff_new_pack.R4Vcvz/_old  2012-01-04 07:31:26.0 +0100
+++ /var/tmp/diff_new_pack.R4Vcvz/_new  2012-01-04 07:31:26.0 +0100
@@ -97,8 +97,6 @@
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/sbin
-mv $RPM_BUILD_ROOT/%{_sbindir}/rngd $RPM_BUILD_ROOT/sbin/rngd
 mkdir -p $RPM_BUILD_ROOT/etc/init.d
 install -m 0755 %{SOURCE1} $RPM_BUILD_ROOT/etc/init.d/%name
 %{__ln_s} -f %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name}
@@ -126,7 +124,7 @@
 %files
 %defattr(-,root,root)
 %{_bindir}/rngtest
-/sbin/rngd
+%{_sbindir}/rngd
 %{_sbindir}/rc%{name}
 %{_mandir}/man?/*.*.gz
 %config /etc/init.d/%name

++ rng-tools.init ++
--- /var/tmp/diff_new_pack.R4Vcvz/_old  2012-01-04 07:31:26.0 +0100
+++ /var/tmp/diff_new_pack.R4Vcvz/_new  2012-01-04 07:31:26.0 +0100
@@ -13,7 +13,7 @@
 # X-UnitedLinux-Default-Enabled: yes
 ### END INIT INFO
 
-RNGD_BIN=/sbin/rngd
+RNGD_BIN=/usr/sbin/rngd
 HWRNG_DEV=/dev/hwrng
 MODPROBE=/sbin/modprobe
 RNGD_PARAMS=-r $HWRNG_DEV --fill-watermark=90% --feed-interval=1

++ rng-tools.service ++
--- /var/tmp/diff_new_pack.R4Vcvz/_old  2012-01-04 07:31:26.0 +0100
+++ /var/tmp/diff_new_pack.R4Vcvz/_new  2012-01-04 07:31:26.0 +0100
@@ -4,7 +4,7 @@
 
 [Service]
 CapabilityBoundingSet=CAP_SYS_ADMIN
-ExecStart=/sbin/rngd --foreground --fill-watermark=90% --feed-interval=1 
+ExecStart=/usr/sbin/rngd --foreground --fill-watermark=90% --feed-interval=1 
 
 [Install]
 WantedBy=multi-user.target
\ No newline at end of file

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rng-tools for openSUSE:Factory

2011-12-25 Thread h_root
Hello community,

here is the log from the commit of package rng-tools for openSUSE:Factory 
checked in at 2011-12-25 17:41:02

Comparing /work/SRC/openSUSE:Factory/rng-tools (Old)
 and  /work/SRC/openSUSE:Factory/.rng-tools.new (New)


Package is rng-tools, Maintainer is r...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/rng-tools/rng-tools.changes  2011-09-23 
12:44:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.rng-tools.new/rng-tools.changes 2011-12-25 
17:41:03.0 +0100
@@ -1,0 +2,10 @@
+Fri Dec 16 02:21:55 UTC 2011 - crrodrig...@opensuse.org
+
+- Support systemd. 
+
+---
+Thu Dec  1 15:58:15 UTC 2011 - co...@suse.com
+
+- add automake as buildrequire to avoid implicit dependency
+
+---

New:

  rng-tools.service



Other differences:
--
++ rng-tools.spec ++
--- /var/tmp/diff_new_pack.ptDXQz/_old  2011-12-25 17:41:04.0 +0100
+++ /var/tmp/diff_new_pack.ptDXQz/_new  2011-12-25 17:41:04.0 +0100
@@ -18,18 +18,20 @@
 
 
 Name:   rng-tools
+BuildRequires:  automake
 BuildRequires:  trousers-devel
-License:GPLv3+
+BuildRequires:  systemd
+License:GPL-3.0+
 Group:  System/Kernel
-AutoReqProv:on
 ExclusiveArch:  %ix86 ia64 x86_64
 Summary:Support daemon for hardware random device
 Version:2
-Release:152
+Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Url:http://sourceforge.net/projects/gkernel/
 Source: rng-tools_2-unofficial-mt.14.orig.tar.bz2 
 Source1:%name.init
+Source2:%{name}.service
 PreReq: %fillup_prereq
 Supplements:modalias(pci:v1022d746Bsv*sd*bc*sc*i*)
 Supplements:modalias(pci:v1022d7443sv*sd*bc*sc*i*)
@@ -69,6 +71,7 @@
 %if %suse_version  1130
 PreReq: sysvinit(syslog)
 %endif
+%{?systemd_requires}
 
 %description
 This  daemon  feeds data from a random number generator to the kernel's
@@ -99,16 +102,23 @@
 mkdir -p $RPM_BUILD_ROOT/etc/init.d
 install -m 0755 %{SOURCE1} $RPM_BUILD_ROOT/etc/init.d/%name
 %{__ln_s} -f %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name}
+install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service
+
+%pre
+%service_add_pre %{name}.service
 
 %post
 %{fillup_and_insserv -n rng-tools rng-tools}
+%service_add_post %{name}.service
 
 %preun
 %stop_on_removal rng-tools
+%service_del_preun %{name}.service
 
 %postun
 %restart_on_update rng-tools
 %insserv_cleanup
+%service_del_postun %{name}.service
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -120,5 +130,6 @@
 %{_sbindir}/rc%{name}
 %{_mandir}/man?/*.*.gz
 %config /etc/init.d/%name
+%{_unitdir}/%{name}.service
 
 %changelog

++ rng-tools.service ++
[Unit]
Description=Start the rngd daemon
ConditionPathExists=/dev/hwrng

[Service]
CapabilityBoundingSet=CAP_SYS_ADMIN
ExecStart=/sbin/rngd --foreground --fill-watermark=90% --feed-interval=1 

[Install]
WantedBy=multi-user.target--
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rng-tools for openSUSE:Factory

2011-08-11 Thread h_root

Hello community,

here is the log from the commit of package rng-tools for openSUSE:Factory
checked in at Thu Aug 11 10:13:21 CEST 2011.




--- rng-tools/rng-tools.changes 2011-03-09 14:18:20.0 +0100
+++ /mounts/work_src_done/STABLE/rng-tools/rng-tools.changes2011-08-10 
06:43:47.0 +0200
@@ -1,0 +2,8 @@
+Wed Aug 10 04:40:10 UTC 2011 - crrodrig...@opensuse.org
+
+- Work around VIA Nano xstore bug
+- Add support for Linux 3.0
+- Enable large file support
+- Enable VIA PadLock support on x86_64
+
+---

calling whatdependson for head-i586


Old:

  rng-tools_2-unofficial-mt.12-1ubuntu3.diff.gz
  rng-tools_2-unofficial-mt.12.orig.tar.bz2

New:

  rng-tools_2-unofficial-mt.14.orig.tar.bz2



Other differences:
--
++ rng-tools.spec ++
--- /var/tmp/diff_new_pack.q0fm0b/_old  2011-08-11 10:12:35.0 +0200
+++ /var/tmp/diff_new_pack.q0fm0b/_new  2011-08-11 10:12:35.0 +0200
@@ -25,11 +25,10 @@
 ExclusiveArch:  %ix86 ia64 x86_64
 Summary:Support daemon for hardware random device
 Version:2
-Release:151
+Release:152
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Url:http://sourceforge.net/projects/gkernel/
-Source: rng-tools_2-unofficial-mt.12.orig.tar.bz2 
-Patch:  rng-tools_2-unofficial-mt.12-1ubuntu3.diff.gz
+Source: rng-tools_2-unofficial-mt.14.orig.tar.bz2 
 Source1:%name.init
 PreReq: %fillup_prereq
 Supplements:modalias(pci:v1022d746Bsv*sd*bc*sc*i*)
@@ -85,11 +84,11 @@
 Matt Sottek
 
 %prep
-%setup -q -n rng-tools-2-unofficial-mt.11
-%patch -p1
+%setup -q -n rng-tools-2-unofficial-mt.14
 
 %build
 autoreconf --force --install
+export CFLAGS=%optflags -pthread
 %configure
 make
 
@@ -106,7 +105,6 @@
 
 %preun
 %stop_on_removal rng-tools
-true   # ignore errors
 
 %postun
 %restart_on_update rng-tools

++ rng-tools_2-unofficial-mt.12.orig.tar.bz2 - 
rng-tools_2-unofficial-mt.14.orig.tar.bz2 ++
 12359 lines of diff (skipped)






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rng-tools for openSUSE:Factory

2011-03-10 Thread h_root

Hello community,

here is the log from the commit of package rng-tools for openSUSE:Factory
checked in at Thu Mar 10 12:24:08 CET 2011.




--- rng-tools/rng-tools.changes 2010-11-22 01:23:33.0 +0100
+++ /mounts/work_src_done/STABLE/rng-tools/rng-tools.changes2011-03-09 
14:18:20.0 +0100
@@ -1,0 +2,5 @@
+Wed Mar  9 13:18:09 UTC 2011 - co...@novell.com
+
+- prereq sysvinit services
+
+---

calling whatdependson for head-i586




Other differences:
--
++ rng-tools.spec ++
--- /var/tmp/diff_new_pack.Y7PtI7/_old  2011-03-10 12:22:57.0 +0100
+++ /var/tmp/diff_new_pack.Y7PtI7/_new  2011-03-10 12:22:57.0 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package rng-tools (Version 2)
+# spec file for package rng-tools
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,7 @@
 ExclusiveArch:  %ix86 ia64 x86_64
 Summary:Support daemon for hardware random device
 Version:2
-Release:145
+Release:151
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Url:http://sourceforge.net/projects/gkernel/
 Source: rng-tools_2-unofficial-mt.12.orig.tar.bz2 
@@ -67,6 +67,9 @@
 Supplements:modalias(pci:v8086d2420sv*sd*bc*sc*i*)
 Supplements:modalias(pci:v8086d2410sv*sd*bc*sc*i*)
 Supplements:modalias(virtio:d0004v*)
+%if %suse_version  1130
+PreReq: sysvinit(syslog)
+%endif
 
 %description
 This  daemon  feeds data from a random number generator to the kernel's






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org