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.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rng-tools.new/rng-tools.changes 2014-09-26 11:21:25.000000000 +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.000000000 +0200 +++ /var/tmp/diff_new_pack.J316CY/_new 2014-09-26 11:21:26.000000000 +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