Hello community,

here is the log from the commit of package haveged for openSUSE:Factory checked 
in at 2015-10-12 10:00:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/haveged (Old)
 and      /work/SRC/openSUSE:Factory/.haveged.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "haveged"

Changes:
--------
--- /work/SRC/openSUSE:Factory/haveged/haveged.changes  2015-02-20 
12:43:04.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes     2015-10-12 
10:00:16.000000000 +0200
@@ -1,0 +2,14 @@
+Wed Sep 30 12:15:14 UTC 2015 - meiss...@suse.com
+
+- modules-setup.sh should be module-setup.sh in dracut, also 755
+- add dependency on systemd-journald.socket to make haveged
+  really start before journald in the initrd. bsc#898669
+
+-------------------------------------------------------------------
+Tue Sep 29 12:30:21 UTC 2015 - dmuel...@suse.com
+
+- add fix-enforced-clock-gettime.patch to fix build on generic
+  platforms like e.g. aarch64, which is only needed due to
+  our (non-recommended choice) of using gettime (fate#318370)
+
+-------------------------------------------------------------------
@@ -5 +19 @@
-  randomness generation.
+  randomness generation. bsc#898669
@@ -7,2 +21,2 @@
-  and also make sure it is shutdown quite late.
-- regenerate initrd on installation.
+  and also make sure it is shutdown quite late. bsc#898669
+- regenerate initrd on installation. bsc#898669

New:
----
  fix-enforced-clock-gettime.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ haveged.spec ++++++
--- /var/tmp/diff_new_pack.jn20Rd/_old  2015-10-12 10:00:17.000000000 +0200
+++ /var/tmp/diff_new_pack.jn20Rd/_new  2015-10-12 10:00:17.000000000 +0200
@@ -30,6 +30,8 @@
 Patch0:         ppc64le.patch
 # PATCH-FIX-UPSTREAM: ent tests randomly fail so make them conditional 
tchva...@suse.cz bnc#876674
 Patch1:         haveged-conditional-enttest.patch
+# PATCH-FIX-OPENSUSE: ignore clock-gettime enablement on generic architectures
+Patch2:         fix-enforced-clock-gettime.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
@@ -76,6 +78,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2
 
 %build
 autoreconf -fvi
@@ -108,7 +111,7 @@
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
 
 install -d -m0755 %{buildroot}/usr/lib/dracut/modules.d/98haveged
-install -m0644 %{SOURCE4} 
%{buildroot}/usr/lib/dracut/modules.d/98haveged/modules-setup.sh
+install -m0755 %{SOURCE4} 
%{buildroot}/usr/lib/dracut/modules.d/98haveged/module-setup.sh
 
 %post
 %{?udev_rules_update:%udev_rules_update}
@@ -143,7 +146,7 @@
 %dir /usr/lib/dracut
 %dir /usr/lib/dracut/modules.d
 %dir /usr/lib/dracut/modules.d/98haveged
-/usr/lib/dracut/modules.d/98haveged/modules-setup.sh
+/usr/lib/dracut/modules.d/98haveged/module-setup.sh
 
 %files devel
 %defattr(-,root,root)

++++++ fix-enforced-clock-gettime.patch ++++++
--- configure.ac
+++ configure.ac
@@ -173,7 +173,7 @@
  ;;
 
  *)
-    if test "x$enable_clock_gettime" = "xx"; then
+    if test "x$enable_clock_gettime" = "xx" -o "x$enable_clock_gettime" = 
"xyes"; then
       enable_clock_gettime="yes"
     else
       AC_MSG_ERROR([no timer source for host :"$host".])
++++++ haveged-dracut.module ++++++
--- /var/tmp/diff_new_pack.jn20Rd/_old  2015-10-12 10:00:17.000000000 +0200
+++ /var/tmp/diff_new_pack.jn20Rd/_new  2015-10-12 10:00:17.000000000 +0200
@@ -16,4 +16,6 @@
     inst_multiple -o \
         /usr/sbin/haveged \
         $systemdsystemunitdir/haveged.service
+    mkdir "$initdir/$systemdsystemunitdir/systemd-journald.service.wants"
+    ln_r "$systemdsystemunitdir/haveged.service" 
"$systemdsystemunitdir/systemd-journald.service.wants/haveged.service"
 }

++++++ haveged.service ++++++
--- /var/tmp/diff_new_pack.jn20Rd/_old  2015-10-12 10:00:17.000000000 +0200
+++ /var/tmp/diff_new_pack.jn20Rd/_new  2015-10-12 10:00:17.000000000 +0200
@@ -5,7 +5,7 @@
 ConditionVirtualization=!container
 #Conflicts=shutdown.target
 After=systemd-random-seed.service
-Before=sysinit.target shutdown.target systemd-journald.service
+Before=sysinit.target shutdown.target systemd-journald.service 
systemd-journald.socket
 
 [Service]
 ExecStart=/usr/sbin/haveged -w 1024 -v 0 -F


Reply via email to