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.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rng-tools.new/rng-tools.changes 2013-04-12 20:37:19.000000000 +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.000000000 +0200 +++ /var/tmp/diff_new_pack.TcLnp1/_new 2013-04-12 20:37:20.000000000 +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:v00001022d0000746Bsv*sd*bc*sc*i*) Supplements: modalias(pci:v00001022d00007443sv*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.000000000 +0200 +++ /var/tmp/diff_new_pack.TcLnp1/_new 2013-04-12 20:37:20.000000000 +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