Hello community,

here is the log from the commit of package haveged for openSUSE:Factory
checked in at Wed Mar 2 11:42:54 CET 2011.



--------
--- haveged/haveged.changes     2010-12-07 22:26:39.000000000 +0100
+++ /mounts/work_src_done/STABLE/haveged/haveged.changes        2011-03-01 
10:31:24.000000000 +0100
@@ -1,0 +2,21 @@
+Tue Mar  1 10:03:17 CET 2011 - [email protected]
+
+- avoid unnecessary services. bnc#675841
+  also the start should be mediated by YaST or kiwi depending
+  on presence of a virtualization environment, not by the package
+  itself.
+
+-------------------------------------------------------------------
+Tue Jan  4 23:14:52 UTC 2011 - [email protected]
+
+- Update to version 0.9_git201101042303
+  * fix wrong usage of strdupa
+- fix build in older distros that have no XZ
+
+-------------------------------------------------------------------
+Tue Jan  4 17:18:34 UTC 2011 - [email protected]
+
+- Fix build in older distros
+- run spec cleaner 
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  haveged-0.9_git201011252143.tar.xz

New:
----
  haveged-0.9_git201101042303.tar.bz2

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

Other differences:
------------------
++++++ haveged.spec ++++++
--- /var/tmp/diff_new_pack.sdhK3S/_old  2011-03-02 11:42:46.000000000 +0100
+++ /var/tmp/diff_new_pack.sdhK3S/_new  2011-03-02 11:42:46.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package haveged (Version 0.9_git201011252143)
+# spec file for package haveged
 #
-# 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
@@ -18,21 +18,25 @@
 
 
 Name:           haveged
-Version:        0.9_git201011252143
+Version:        0.9_git201101042303
 Release:        1
 License:        GPLv3
-Group:          System/Daemons
 Summary:        Feed entropy into random pool
 Url:            http://www.issihosts.com/haveged/
+Group:          System/Daemons
 # Our sources https://github.com/crrodriguez/haveged
-Source0:        http://www.issihosts.com/haveged/haveged-%{version}.tar.xz
+Source0:        http://www.issihosts.com/haveged/haveged-%{version}.tar.bz2
 Source1:        haveged.init
 Source2:        haveged.service
+BuildRequires:  libcap-ng-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Requires(pre): %insserv_prereq sysvinit(syslog)
+Requires(pre): %insserv_prereq 
+%if 0%{suse_version} >= 1140
+Requires(pre):  sysvinit(syslog)
+%endif
 Requires(post):         grep util-linux
 Enhances:       openssl gpg2 php5 apache2 openvpn smtp_daemon    
-BuildRequires:  libcap-ng-devel lzma
+%{!?_initddir: %global _initddir /etc/init.d} 
 
 %description
 The haveged daemon feeds the linux entropy pool with random
@@ -53,34 +57,19 @@
 make %{?_smp_mflags} check
 
 %install
-make DESTDIR=$RPM_BUILD_ROOT install 
-%{__install} -m0755 %{S:1} %{buildroot}/etc/init.d/haveged
+%makeinstall
+%{__install} -m0755 %{S:1} %{buildroot}%{_initddir}/haveged
 %{__mkdir_p} %{buildroot}%{_sbindir}
 %{__ln_s} -f %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name}
 %{__mkdir_p} %{buildroot}/lib/systemd/system
 %{__install} -m0755 %{S:2} %{buildroot}/lib/systemd/system/haveged.service
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 %post
-## brace for impact...
-%if 0%{?sles_version}
-       if [ -x /usr/bin/lscpu ]; then
-               if /usr/bin/lscpu | grep -q "Virtualization type" ; then
-               ## Is a VM 
-                       %{fillup_and_insserv -fy %{name}}
-               else
-               ## it isnt.
-                       %{fillup_and_insserv -f %{name}}
-               fi
-       else 
-       ##there is no lscpu! shouldnt happend...
-               %{fillup_and_insserv -f %{name}}
-       fi
-%else
-       %{fillup_and_insserv -fy %{name}}
-%endif
+# do not enable on condition here, let YAST, kiwi or the user do it.
+%{fillup_and_insserv -f %{name}}
 
 %postun
 %restart_on_update %{name}
@@ -93,7 +82,7 @@
 %defattr(-,root,root)
 %{_sbindir}/rc%{name}
 /sbin/haveged
-%config /etc/init.d/haveged 
+%config %{_initddir}/haveged
 %{_mandir}/man8/haveged.8.gz
 %dir /lib/systemd
 %dir /lib/systemd/system

++++++ haveged-0.9_git201011252143.tar.xz -> 
haveged-0.9_git201101042303.tar.bz2 ++++++
++++ 9747 lines of diff (skipped)


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



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to