commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2020-07-01 18:22:15 Comparing /work/SRC/openSUSE:Factory/haveged (Old) and /work/SRC/openSUSE:Factory/.haveged.new.3060 (New) Package is "haveged" Wed Jul 1 18:22:15 2020 rev:56 rq:817818 version:1.9.13 Changes: --- /work/SRC/openSUSE:Factory/haveged/haveged.changes 2020-06-03 20:28:43.080479677 +0200 +++ /work/SRC/openSUSE:Factory/.haveged.new.3060/haveged.changes 2020-07-01 18:22:17.737876155 +0200 @@ -1,0 +2,14 @@ +Tue Jun 30 07:07:57 UTC 2020 - Paolo Stivanin + +- Update to 1.9.13: + * added support for --version [Jirka Hladky] + * updated systemd service file [Jirka Hladky] + * fix a memory leak in havege_destroy [Anakin Zhang] + * updated version reported by program [Jirka Hladky] + * fix ordering cycle with private tmp [Christian Hesse] + * Updated systemd service file [Nicolas Braud-Santoni] + * Bump soname [Nicolas Braud-Santoni] + * Fix crash on shutdown in threaded mode [Sergei Trofimovich] + * Fix compilation with --enable-threads [Lars Wendler] + +--- Old: haveged-1.9.8.tar.gz New: haveged-1.9.13.tar.gz Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.QKPx2F/_old 2020-07-01 18:22:18.533878611 +0200 +++ /var/tmp/diff_new_pack.QKPx2F/_new 2020-07-01 18:22:18.533878611 +0200 @@ -18,7 +18,7 @@ %{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d } Name: haveged -Version:1.9.8 +Version:1.9.13 Release:0 Summary:Daemon for feeding entropy into the random pool License:GPL-3.0-only @@ -60,7 +60,7 @@ %package devel Summary:Haveged development files Group: Development/Libraries/C and C++ -Requires: libhavege1 = %{version} +Requires: libhavege2 = %{version} %description devel Headers and for the haveged library @@ -68,11 +68,11 @@ This package contains the haveged implementation of the HAVEGE algorithm and supporting features. -%package -n libhavege1 +%package -n libhavege2 Summary:Haveged interface library Group: System/Libraries -%description -n libhavege1 +%description -n libhavege2 Shared object for the haveged library. This package contains the haveged implementation of the HAVEGE algorithm and supporting features. @@ -138,8 +138,8 @@ %service_del_preun %{name}.service %service_del_preun %{name}-switch-root.service -%post -n libhavege1 -p /sbin/ldconfig -%postun -n libhavege1 -p /sbin/ldconfig +%post -n libhavege2 -p /sbin/ldconfig +%postun -n libhavege2 -p /sbin/ldconfig %files %license COPYING @@ -162,7 +162,7 @@ %doc contrib/build/havege_sample.c %{_libdir}/*.so -%files -n libhavege1 +%files -n libhavege2 %license COPYING %{_libdir}/*.so.* ++ haveged-1.9.8.tar.gz -> haveged-1.9.13.tar.gz ++ 4483 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/haveged-1.9.8/.github/workflows/ci.yaml new/haveged-1.9.13/.github/workflows/ci.yaml --- old/haveged-1.9.8/.github/workflows/ci.yaml 1970-01-01 01:00:00.0 +0100 +++ new/haveged-1.9.13/.github/workflows/ci.yaml2020-06-28 04:17:52.0 +0200 @@ -0,0 +1,19 @@ +name: Continuous Integration + +on: [push, pull_request] + +jobs: + build: +runs-on: ubuntu-latest +steps: +- uses: actions/checkout@v2 +- name: reconfigure + run: autoreconf -fi +- name: configure + run: ./configure --prefix="/usr" +- name: make + run: make +- name: make check + run: make check +- name: make install + run: sudo make install 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/haveged-1.9.8/ChangeLog new/haveged-1.9.13/ChangeLog --- old/haveged-1.9.8/ChangeLog 2019-09-30 19:38:46.0 +0200 +++ new/haveged-1.9.13/ChangeLog2020-06-28 04:17:52.0 +0200 @@ -1,3 +1,22 @@ +v1.9.13 (Jun 28, 2020) +* added support for --version [Jirka Hladky] +* updated systemd service file [Jirka Hladky] + +v1.9.12 (Jun 18, 2020) +* fix a memory leak in havege_destroy [Anakin Zhang]
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2020-06-03 20:28:33 Comparing /work/SRC/openSUSE:Factory/haveged (Old) and /work/SRC/openSUSE:Factory/.haveged.new.3606 (New) Package is "haveged" Wed Jun 3 20:28:33 2020 rev:55 rq:809687 version:1.9.8 Changes: --- /work/SRC/openSUSE:Factory/haveged/haveged.changes 2019-08-05 10:29:18.431452794 +0200 +++ /work/SRC/openSUSE:Factory/.haveged.new.3606/haveged.changes 2020-06-03 20:28:43.080479677 +0200 @@ -1,0 +2,27 @@ +Tue May 26 10:49:29 UTC 2020 - Martin Pluskal + +- Update to version 1.9.8: + * Fix for Unresolved symbol error_exit in libhavege #20 by pld-gitsync [Jirka Hladky] + * order after systemd-tmpfiles-setup-dev.service (origin/pr/21) [Christian Hesse] + * use systemd security features [Christian Hesse] + * do not run in container [Christian Hesse] + * do not use carriage return in line break [Christian Hesse] + * Fixed invalid UTF-8 codes in ChangeLog [Jirka Hladky] +- Changes for version 1.9.5: + * Added test for /dev/random symlink [Jirka Hladky] + * Update to automake 1.16 [Jirka Hladky] + * Fix segv at start [Andrew] + * Fixed built issue on Cygwin [jbaker6953] + * Fix segfault on arm machines (origin/pr/7) [Natanael Copa] + * init.d/Makefile.am - add missing dependency [Jackie Huang] + * service.redhat - update PIDFile [Pierre-Jean Texier] + * Fix type mismatch in get_poolsize [Andreas Schwab] + * Fixup upstream changelog [Nicolas Braud-Santoni] + * Remove support for CPUID on ia64 (origin/pr/19) [Jeremy Bobbio] + * Output some progress during CUSUM and RANDOM EXCURSION test [Sven Hartge] + * Diagnostics capture mode now works correctly [Ethan Rahn] +- Drop upstream patches: + * f2193587.patch + * get-poolsize.patch + +--- Old: f2193587.patch get-poolsize.patch haveged-1.9.4.tar.gz New: haveged-1.9.8.tar.gz Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.keCOZZ/_old 2020-06-03 20:28:45.028485598 +0200 +++ /var/tmp/diff_new_pack.keCOZZ/_new 2020-06-03 20:28:45.028485598 +0200 @@ -1,7 +1,7 @@ # # spec file for package haveged # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,13 +18,13 @@ %{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d } Name: haveged -Version:1.9.4 +Version:1.9.8 Release:0 Summary:Daemon for feeding entropy into the random pool License:GPL-3.0-only Group: System/Daemons URL:https://github.com/jirka-h/haveged -Source0: https://github.com/jirka-h/haveged/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source0: https://github.com/jirka-h/haveged/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source2:%{name}.service Source3:90-haveged.rules Source4:haveged-dracut.module @@ -34,10 +34,6 @@ Patch1: haveged-conditional-enttest.patch # PATCH-FIX-UPSTREAM: don't write to syslog at startup to avoid deadlocks psim...@suse.com bnc#959237 Patch2: haveged-no-syslog.patch -# PATCH-FIX-GITHUB: Fix segfault on arm machines -Patch3: f2193587.patch -# PATCH-FIX-GITHUB: Fix type mismatch in get_poolsize bsc#047 -Patch4: get-poolsize.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool @@ -82,12 +78,7 @@ algorithm and supporting features. %prep -%setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 +%autosetup -p1 %build autoreconf -fvi @@ -168,7 +159,6 @@ %{_mandir}/man3/libhavege.3%{?ext_man} %dir %{_includedir}/%{name} %{_includedir}/%{name}/havege.h -%{_includedir}/%{name}/havegecmd.h %doc contrib/build/havege_sample.c %{_libdir}/*.so ++ haveged-1.9.4.tar.gz -> haveged-1.9.8.tar.gz ++ 3706 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/haveged-1.9.4/ChangeLog new/haveged-1.9.8/ChangeLog --- old/haveged-1.9.4/ChangeLog 2018-08-11 00:44:19.0 +0200 +++ new/haveged-1.9.8/ChangeLog 2019-09-30 19:38:46.0 +0200 @@ -1,3 +1,26 @@ +v1.9.8 (Sep 30, 2019) +* Fix for Unresolved
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2019-08-05 10:29:14 Comparing /work/SRC/openSUSE:Factory/haveged (Old) and /work/SRC/openSUSE:Factory/.haveged.new.4126 (New) Package is "haveged" Mon Aug 5 10:29:14 2019 rev:54 rq:719793 version:1.9.4 Changes: --- /work/SRC/openSUSE:Factory/haveged/haveged.changes 2019-05-28 09:41:22.601883505 +0200 +++ /work/SRC/openSUSE:Factory/.haveged.new.4126/haveged.changes 2019-08-05 10:29:18.431452794 +0200 @@ -1,0 +2,6 @@ +Tue Jul 30 08:25:59 UTC 2019 - Andreas Schwab + +- get-poolsize.patch: Fix type mismatch in get_poolsize that breaks error + checking (bsc#047) + +--- New: get-poolsize.patch Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.wgXTPU/_old 2019-08-05 10:29:19.211452706 +0200 +++ /var/tmp/diff_new_pack.wgXTPU/_new 2019-08-05 10:29:19.215452706 +0200 @@ -36,6 +36,8 @@ Patch2: haveged-no-syslog.patch # PATCH-FIX-GITHUB: Fix segfault on arm machines Patch3: f2193587.patch +# PATCH-FIX-GITHUB: Fix type mismatch in get_poolsize bsc#047 +Patch4: get-poolsize.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool @@ -85,6 +87,7 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %build autoreconf -fvi ++ get-poolsize.patch ++ >From 6d52229623c296385813bc8178987cd50fa55193 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 25 Jul 2019 11:19:12 +0200 Subject: [PATCH] Fix type mismatch in get_poolsize Make max_bits signed so that error checking works. --- src/haveged.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/haveged.c b/src/haveged.c index 9788bda..543d833 100644 --- a/src/haveged.c +++ b/src/haveged.c @@ -496,7 +496,8 @@ static int get_poolsize( /* RETURN: number of bits */ void) /* IN: nothing */ { FILE *poolsize_fh,*osrel_fh; - unsigned int max_bits,major,minor; + unsigned int major,minor; + int max_bits; poolsize_fh = fopen(params->poolsize, "rb"); if (poolsize_fh) { -- 2.22.0
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2019-05-28 09:41:21 Comparing /work/SRC/openSUSE:Factory/haveged (Old) and /work/SRC/openSUSE:Factory/.haveged.new.5148 (New) Package is "haveged" Tue May 28 09:41:21 2019 rev:53 rq:705285 version:1.9.4 Changes: --- /work/SRC/openSUSE:Factory/haveged/haveged.changes 2018-09-26 14:53:39.575085233 +0200 +++ /work/SRC/openSUSE:Factory/.haveged.new.5148/haveged.changes 2019-05-28 09:41:22.601883505 +0200 @@ -4 +4 @@ -- Add patch f2193587.patch from github pull request +- Add patch f2193587.patch from github pull request (bsc#1134351) Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.Qatx2Z/_old 2019-05-28 09:41:23.209883295 +0200 +++ /var/tmp/diff_new_pack.Qatx2Z/_new 2019-05-28 09:41:23.213883294 +0200 @@ -1,7 +1,7 @@ # # spec file for package haveged # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -34,7 +34,7 @@ Patch1: haveged-conditional-enttest.patch # PATCH-FIX-UPSTREAM: don't write to syslog at startup to avoid deadlocks psim...@suse.com bnc#959237 Patch2: haveged-no-syslog.patch -# PATCH-FIX-GITHUN: Fix segfault on arm machines +# PATCH-FIX-GITHUB: Fix segfault on arm machines Patch3: f2193587.patch BuildRequires: autoconf BuildRequires: automake
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2018-09-26 14:53:36 Comparing /work/SRC/openSUSE:Factory/haveged (Old) and /work/SRC/openSUSE:Factory/.haveged.new (New) Package is "haveged" Wed Sep 26 14:53:36 2018 rev:52 rq:636618 version:1.9.4 Changes: --- /work/SRC/openSUSE:Factory/haveged/haveged.changes 2018-09-18 11:38:32.788218813 +0200 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2018-09-26 14:53:39.575085233 +0200 @@ -1,0 +2,8 @@ +Wed Sep 19 09:27:15 UTC 2018 - Dr. Werner Fink + +- Add patch f2193587.patch from github pull request + * Fix segfault on arm machines which do not eport the cache size +or say it is -1 in sysfs +- Refresh patches + +--- New: f2193587.patch Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.iiJKY9/_old 2018-09-26 14:53:40.659083570 +0200 +++ /var/tmp/diff_new_pack.iiJKY9/_new 2018-09-26 14:53:40.663083564 +0200 @@ -34,6 +34,8 @@ Patch1: haveged-conditional-enttest.patch # PATCH-FIX-UPSTREAM: don't write to syslog at startup to avoid deadlocks psim...@suse.com bnc#959237 Patch2: haveged-no-syslog.patch +# PATCH-FIX-GITHUN: Fix segfault on arm machines +Patch3: f2193587.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool @@ -82,6 +84,7 @@ %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build autoreconf -fvi ++ f2193587.patch ++ >From f2193587e8e51aa42b192c17ad39467931e2d4c2 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 19 Sep 2018 09:51:43 +0200 Subject: [PATCH] Fix segfault on arm machines Some ARM cpus does not report the cache size or say it is -1 in sysfs. It has been observed on xgene and thunderx machines. Fall back to the generic cache size when that happens so we don't segfault. Should fix https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866306 --- src/havegetune.c |2 ++ 1 file changed, 2 insertions(+) --- a/src/havegetune.c +++ b/src/havegetune.c 2018-09-19 09:25:27.016773887 + @@ -795,6 +795,8 @@ static int vfs_configInfoCache( ctype = vfs_configFile(pAnchor, path, vfs_configType); strcpy(path+plen, "size"); size = vfs_configFile(pAnchor, path, vfs_configInt); + if (size == -1) + size = ctype == 'I' ? GENERIC_ICACHE : GENERIC_DCACHE; cfg_cacheAdd(pAnchor, SRC_VFS_INDEX, pArgs[1], level, ctype, size); } } ++ haveged-conditional-enttest.patch ++ --- /var/tmp/diff_new_pack.iiJKY9/_old 2018-09-26 14:53:40.699083509 +0200 +++ /var/tmp/diff_new_pack.iiJKY9/_new 2018-09-26 14:53:40.703083503 +0200 @@ -1,10 +1,10 @@ --- - haveged-1.9.2/configure.ac |7 ++- + haveged-1.9.4/configure.ac |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) haveged-1.9.2/configure.ac -+++ haveged-1.9.2/configure.ac 2018-06-26 08:06:45.195289211 + -@@ -61,6 +61,11 @@ AC_ARG_ENABLE(nistest, +--- haveged-1.9.4/configure.ac haveged-1.9.4/configure.ac 2018-09-19 09:23:58.582379792 + +@@ -62,6 +62,11 @@ AC_ARG_ENABLE(nistest, AS_HELP_STRING([--enable-nistest=[no/yes]],[Run NIST test suite [default=no]]), , enable_nistest="no") @@ -16,7 +16,7 @@ ## Make self test features configurable AC_ARG_ENABLE(olt, AS_HELP_STRING([--enable-olt=[yes/no]],[Enable online tests [default=yes]]), -@@ -228,7 +233,7 @@ AM_CONDITIONAL(ENABLE_SYSV, test "$init_ +@@ -241,7 +246,7 @@ AM_CONDITIONAL(ENABLE_SYSV, test "$init_ AM_CONDITIONAL(ENABLE_SYSTEMD, test "$init_type" = "systemd") AM_CONDITIONAL(ENABLE_SYSTEMD_LOOKUP, test "$enable_initdir" = "?") AM_CONDITIONAL(ENABLE_NOINIT, test "$init_type" = "none") ++ haveged-no-syslog.patch ++ --- /var/tmp/diff_new_pack.iiJKY9/_old 2018-09-26 14:53:40.719083478 +0200 +++ /var/tmp/diff_new_pack.iiJKY9/_new 2018-09-26 14:53:40.719083478 +0200 @@ -1,12 +1,12 @@ Index: haveged-1.9.1/src/haveged.c === --- - haveged-1.9.2/src/haveged.c |6 ++ + haveged-1.9.4/src/haveged.c |6 ++ 1 file changed, 6 insertions(+) haveged-1.9.2/src/haveged.c -+++ haveged-1.9.2/src/haveged.c2018-06-26 08:07:51.430076528 + -@@ -361,8 +361,10 @@ static void daemonize( /* RETURN: no +--- haveged-1.9.4/src/haveged.c haveged-1.9.4/src/haveged.c2018-09-19 09:24:30.741795848 + +@@ -478,8 +478,10 @@ static void daemonize( /* RETURN: no void) /* IN: nothing */ { FILE *fh; @@ -17,7 +17,7 @@ if (daemon(0, 0) == -1) error_exit("Cannot fork into
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2018-09-18 11:38:24 Comparing /work/SRC/openSUSE:Factory/haveged (Old) and /work/SRC/openSUSE:Factory/.haveged.new (New) Package is "haveged" Tue Sep 18 11:38:24 2018 rev:51 rq:635067 version:1.9.4 Changes: --- /work/SRC/openSUSE:Factory/haveged/haveged.changes 2018-07-18 22:36:18.73443 +0200 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2018-09-18 11:38:32.788218813 +0200 @@ -1,0 +2,15 @@ +Tue Sep 11 15:29:33 UTC 2018 - Jan Engelhardt + +- Use noun phrase for summary. Grammar fixes to description. + +--- +Tue Sep 11 11:00:13 UTC 2018 - Martin Pluskal + +- Update to version 1.9.4: + * Avoid misleading message if cmd socket is in use + * Implements a command mode and use it for chroot +- Drop upstreamed patches: + * change-sysroot.patch +- Update project and download url's + +--- Old: change-sysroot.patch haveged-1.9.2.tar.gz New: haveged-1.9.4.tar.gz Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.eCR3hI/_old 2018-09-18 11:38:33.572217984 +0200 +++ /var/tmp/diff_new_pack.eCR3hI/_new 2018-09-18 11:38:33.572217984 +0200 @@ -18,13 +18,13 @@ %{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d } Name: haveged -Version:1.9.2 +Version:1.9.4 Release:0 -Summary:Feed entropy into random pool +Summary:Daemon for feeding entropy into the random pool License:GPL-3.0-only Group: System/Daemons -Url:http://www.issihosts.com/haveged/ -Source0:http://www.issihosts.com/haveged/%{name}-%{version}.tar.gz +URL:https://github.com/jirka-h/haveged +Source0: https://github.com/jirka-h/haveged/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source2:%{name}.service Source3:90-haveged.rules Source4:haveged-dracut.module @@ -34,7 +34,6 @@ Patch1: haveged-conditional-enttest.patch # PATCH-FIX-UPSTREAM: don't write to syslog at startup to avoid deadlocks psim...@suse.com bnc#959237 Patch2: haveged-no-syslog.patch -Patch3: change-sysroot.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool @@ -53,10 +52,10 @@ %{?systemd_requires} %description -The haveged daemon feeds the linux entropy pool with random +The haveged daemon feeds the Linux entropy pool with random numbers generated from hidden processor state. -For more informations see http://www.issihosts.com/haveged/ +For more information, see http://www.issihosts.com/haveged/ . %package devel Summary:Haveged development files @@ -74,7 +73,7 @@ Group: System/Libraries %description -n libhavege1 -Shared object for the haveged library +Shared object for the haveged library. This package contains the haveged implementation of the HAVEGE algorithm and supporting features. @@ -83,7 +82,6 @@ %patch0 -p1 %patch1 -p1 %patch2 -p1 -%patch3 -p0 %build autoreconf -fvi @@ -110,15 +108,17 @@ %install %make_install -install -D -m0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service -install -D -m0644 %{SOURCE3} %{buildroot}%{_udevrulesdir}/90-%{name}.rules -install -D -m0644 %{SOURCE5} %{buildroot}%{_unitdir}/%{name}-switch-root.service +install -Dpm 0644 %{SOURCE2} \ + %{buildroot}%{_unitdir}/%{name}.service +install -Dpm 0644 %{SOURCE3} \ + %{buildroot}%{_udevrulesdir}/90-%{name}.rules +install -Dpm 0644 %{SOURCE5} \ + %{buildroot}%{_unitdir}/%{name}-switch-root.service +install -Dpm 0755 %{SOURCE4} \ + %{buildroot}%{_prefix}/lib/dracut/modules.d/98%{name}/module-setup.sh rm -f %{buildroot}%{_libdir}/libhavege.*a ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} -install -d -m0755 %{buildroot}%{_prefix}/lib/dracut/modules.d/98%{name} -install -m0755 %{SOURCE4} %{buildroot}%{_prefix}/lib/dracut/modules.d/98%{name}/module-setup.sh - %post %{?udev_rules_update:%udev_rules_update} %service_add_post %{name}.service @@ -148,7 +148,7 @@ %license COPYING %{_sbindir}/rc%{name} %{_sbindir}/%{name} -%{_mandir}/man8/%{name}.8%{ext_man} +%{_mandir}/man8/%{name}.8%{?ext_man} %{_unitdir}/%{name}.service %{_unitdir}/%{name}-switch-root.service %{_udevrulesdir}/90-%{name}.rules @@ -159,9 +159,10 @@ %files devel %license COPYING -%{_mandir}/man3/libhavege.3%{ext_man} +%{_mandir}/man3/libhavege.3%{?ext_man} %dir %{_includedir}/%{name} %{_includedir}/%{name}/havege.h +%{_includedir}/%{name}/havegecmd.h %doc contrib/build/havege_sample.c
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2018-07-18 22:36:16 Comparing /work/SRC/openSUSE:Factory/haveged (Old) and /work/SRC/openSUSE:Factory/.haveged.new (New) Package is "haveged" Wed Jul 18 22:36:16 2018 rev:50 rq:622459 version:1.9.2 Changes: --- /work/SRC/openSUSE:Factory/haveged/haveged.changes 2018-03-26 11:58:48.080041796 +0200 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2018-07-18 22:36:18.73443 +0200 @@ -1,0 +2,15 @@ +Mon Jul 2 13:37:19 UTC 2018 - wer...@suse.de + +- Add patch change-sysroot.patch to + move forward to socket communication within private network +- Add haveged-switch-root.service which send the new root location + to running haveged process + +--- +Wed Jun 27 08:51:36 UTC 2018 - wer...@suse.de + +- Make haveged survive switch root within initrd (boo#1075359) + added change-sysroot.patch + haveged-switch-root.service + +--- New: change-sysroot.patch haveged-switch-root.service Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.K6K13p/_old 2018-07-18 22:36:19.610463761 +0200 +++ /var/tmp/diff_new_pack.K6K13p/_new 2018-07-18 22:36:19.618463734 +0200 @@ -28,11 +28,13 @@ Source2:%{name}.service Source3:90-haveged.rules Source4:haveged-dracut.module +Source5:%{name}-switch-root.service 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-UPSTREAM: don't write to syslog at startup to avoid deadlocks psim...@suse.com bnc#959237 -Patch3: haveged-no-syslog.patch +Patch2: haveged-no-syslog.patch +Patch3: change-sysroot.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool @@ -80,11 +82,12 @@ %setup -q %patch0 -p1 %patch1 -p1 -%patch3 -p1 +%patch2 -p1 +%patch3 -p0 %build autoreconf -fvi -export CFLAGS="%{optflags} -fpie" +export CFLAGS="%{optflags} -fpie -D_DEFAULT_SOURCE -D_GNU_SOURCE" export LDFLAGS="-Wl,-z,relro,-z,now -pie" # ENT randomly fails so disable the test %configure \ @@ -109,6 +112,7 @@ %make_install install -D -m0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service install -D -m0644 %{SOURCE3} %{buildroot}%{_udevrulesdir}/90-%{name}.rules +install -D -m0644 %{SOURCE5} %{buildroot}%{_unitdir}/%{name}-switch-root.service rm -f %{buildroot}%{_libdir}/libhavege.*a ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} @@ -118,10 +122,12 @@ %post %{?udev_rules_update:%udev_rules_update} %service_add_post %{name}.service +%service_add_post %{name}-switch-root.service %{?regenerate_initrd_post} %postun %service_del_postun %{name}.service +%service_del_postun %{name}-switch-root.service %{?regenerate_initrd_post} %posttrans @@ -129,9 +135,11 @@ %pre %service_add_pre %{name}.service +%service_add_pre %{name}-switch-root.service %preun %service_del_preun %{name}.service +%service_del_preun %{name}-switch-root.service %post -n libhavege1 -p /sbin/ldconfig %postun -n libhavege1 -p /sbin/ldconfig @@ -142,6 +150,7 @@ %{_sbindir}/%{name} %{_mandir}/man8/%{name}.8%{ext_man} %{_unitdir}/%{name}.service +%{_unitdir}/%{name}-switch-root.service %{_udevrulesdir}/90-%{name}.rules %dir %{_prefix}/lib/dracut %dir %{_prefix}/lib/dracut/modules.d ++ change-sysroot.patch ++ 676 lines (skipped) ++ haveged-conditional-enttest.patch ++ --- /var/tmp/diff_new_pack.K6K13p/_old 2018-07-18 22:36:19.666463575 +0200 +++ /var/tmp/diff_new_pack.K6K13p/_new 2018-07-18 22:36:19.666463575 +0200 @@ -1,7 +1,10 @@ -diff -urN haveged-1.9.1/configure.ac haveged-1.9.1.new/configure.ac haveged-1.9.1/configure.ac 2014-02-11 16:06:58.0 +0100 -+++ haveged-1.9.1.new/configure.ac 2014-05-12 12:57:40.111268914 +0200 -@@ -60,6 +60,11 @@ +--- + haveged-1.9.2/configure.ac |7 ++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +--- haveged-1.9.2/configure.ac haveged-1.9.2/configure.ac 2018-06-26 08:06:45.195289211 + +@@ -61,6 +61,11 @@ AC_ARG_ENABLE(nistest, AS_HELP_STRING([--enable-nistest=[no/yes]],[Run NIST test suite [default=no]]), , enable_nistest="no") @@ -13,7 +16,7 @@ ## Make self test features configurable AC_ARG_ENABLE(olt, AS_HELP_STRING([--enable-olt=[yes/no]],[Enable online tests [default=yes]]), -@@ -225,7 +230,7 @@ +@@ -228,7 +233,7 @@ AM_CONDITIONAL(ENABLE_SYSV, test "$init_ AM_CONDITIONAL(ENABLE_SYSTEMD, test "$init_type" = "systemd")
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2018-03-26 11:57:39 Comparing /work/SRC/openSUSE:Factory/haveged (Old) and /work/SRC/openSUSE:Factory/.haveged.new (New) Package is "haveged" Mon Mar 26 11:57:39 2018 rev:49 rq:588636 version:1.9.2 Changes: --- /work/SRC/openSUSE:Factory/haveged/haveged.changes 2018-02-20 17:53:24.102080073 +0100 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2018-03-26 11:58:48.080041796 +0200 @@ -1,0 +2,5 @@ +Mon Mar 19 15:32:07 CET 2018 - ku...@suse.de + +- Use %license instead of %doc [bsc#1082318] + +--- Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.8ggkHI/_old 2018-03-26 11:58:51.703911056 +0200 +++ /var/tmp/diff_new_pack.8ggkHI/_new 2018-03-26 11:58:51.711910768 +0200 @@ -21,7 +21,7 @@ Version:1.9.2 Release:0 Summary:Feed entropy into random pool -License:GPL-3.0 +License:GPL-3.0-only Group: System/Daemons Url:http://www.issihosts.com/haveged/ Source0:http://www.issihosts.com/haveged/%{name}-%{version}.tar.gz @@ -137,7 +137,7 @@ %postun -n libhavege1 -p /sbin/ldconfig %files -%doc COPYING +%license COPYING %{_sbindir}/rc%{name} %{_sbindir}/%{name} %{_mandir}/man8/%{name}.8%{ext_man} @@ -149,7 +149,7 @@ %{_prefix}/lib/dracut/modules.d/98%{name}/module-setup.sh %files devel -%doc COPYING +%license COPYING %{_mandir}/man3/libhavege.3%{ext_man} %dir %{_includedir}/%{name} %{_includedir}/%{name}/havege.h @@ -157,7 +157,7 @@ %{_libdir}/*.so %files -n libhavege1 -%doc COPYING +%license COPYING %{_libdir}/*.so.* %changelog
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2018-02-20 17:53:17 Comparing /work/SRC/openSUSE:Factory/haveged (Old) and /work/SRC/openSUSE:Factory/.haveged.new (New) Package is "haveged" Tue Feb 20 17:53:17 2018 rev:48 rq:577945 version:1.9.2 Changes: --- /work/SRC/openSUSE:Factory/haveged/haveged.changes 2016-06-29 15:02:33.0 +0200 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2018-02-20 17:53:24.102080073 +0100 @@ -1,0 +2,11 @@ +Sun Feb 18 20:27:41 UTC 2018 - avin...@opensuse.org + +- update to 1.9.2 + * Cross compile fixes + * Limit watermark max to less than pool size to avoid 100% cpu +condition + * Add service.suse init script +- drop fix-enforced-clock-gettime.patch (fixed upstream) +- cleanup with spec-cleaner + +--- Old: fix-enforced-clock-gettime.patch haveged-1.9.1.tar.gz New: haveged-1.9.2.tar.gz Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.AttgBi/_old 2018-02-20 17:53:25.738021166 +0100 +++ /var/tmp/diff_new_pack.AttgBi/_new 2018-02-20 17:53:25.742021022 +0100 @@ -1,7 +1,7 @@ # # spec file for package haveged # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -16,8 +16,9 @@ # +%{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d } Name: haveged -Version:1.9.1 +Version:1.9.2 Release:0 Summary:Feed entropy into random pool License:GPL-3.0 @@ -30,15 +31,16 @@ 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 # PATCH-FIX-UPSTREAM: don't write to syslog at startup to avoid deadlocks psim...@suse.com bnc#959237 Patch3: haveged-no-syslog.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool +BuildRequires: pkgconfig BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(udev) +Requires(post): coreutils +Requires(postun): coreutils Enhances: apache2 Enhances: gpg2 Enhances: openssl @@ -46,11 +48,7 @@ Enhances: php5 Enhances: smtp_daemon Enhances: systemd -BuildRoot: %{_tmppath}/%{name}-%{version}-build %{?systemd_requires} -%{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d } -Requires(post): coreutils -Requires(postun): coreutils %description The haveged daemon feeds the linux entropy pool with random @@ -82,7 +80,6 @@ %setup -q %patch0 -p1 %patch1 -p1 -%patch2 %patch3 -p1 %build @@ -102,21 +99,21 @@ #XXX: nist test is killed by SIGKILL with static int random_pool1[_32MB] on # 32bit. Let change it to _08MB to avoid the test beeing killed, even if I # am not sure allocate of 128M is prohibited -%ifarch %ix86 +%ifarch %{ix86} sed -i 's/\[_32MB\]/[_08MB]/' nist/nist.c %endif make %{?_smp_mflags} check %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install install -D -m0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service -install -D -m0644 %{SOURCE3} %{buildroot}%{_udevrulesdir}/90-haveged.rules +install -D -m0644 %{SOURCE3} %{buildroot}%{_udevrulesdir}/90-%{name}.rules rm -f %{buildroot}%{_libdir}/libhavege.*a ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} -install -d -m0755 %{buildroot}/usr/lib/dracut/modules.d/98haveged -install -m0755 %{SOURCE4} %{buildroot}/usr/lib/dracut/modules.d/98haveged/module-setup.sh +install -d -m0755 %{buildroot}%{_prefix}/lib/dracut/modules.d/98%{name} +install -m0755 %{SOURCE4} %{buildroot}%{_prefix}/lib/dracut/modules.d/98%{name}/module-setup.sh %post %{?udev_rules_update:%udev_rules_update} @@ -137,33 +134,29 @@ %service_del_preun %{name}.service %post -n libhavege1 -p /sbin/ldconfig - %postun -n libhavege1 -p /sbin/ldconfig %files -%defattr(-,root,root) %doc COPYING %{_sbindir}/rc%{name} %{_sbindir}/%{name} -%doc %{_mandir}/man8/%{name}.8* +%{_mandir}/man8/%{name}.8%{ext_man} %{_unitdir}/%{name}.service -%{_udevrulesdir}/90-haveged.rules -%dir /usr/lib/dracut -%dir /usr/lib/dracut/modules.d -%dir /usr/lib/dracut/modules.d/98haveged -/usr/lib/dracut/modules.d/98haveged/module-setup.sh +%{_udevrulesdir}/90-%{name}.rules
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2016-06-29 15:02:31 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-12-18 21:53:04.0 +0100 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2016-06-29 15:02:33.0 +0200 @@ -1,0 +2,22 @@ +Sun Jun 19 13:16:01 UTC 2016 - jeng...@inai.de + +- reset rpm groups + +--- +Fri Jun 17 14:15:05 UTC 2016 - psim...@suse.com + +- Add haveged-no-syslog.patch to remedy the potential for deadlocks + when booting the system: journald reads from /dev/random, which + receives entropy from haveged, which in turn logs to syslog + before providing any. Ideally, haveged would provide a proper + command-line flag to disable use of syslog. Will work with + upstream to resolve this in a cleaner way. (bnc#959237) + +- Remove "After=systemd-random-seed.service" from systemd service + file to avoid the potential for deadlocks when booting the + system: systemd-random-seed needs /var to read its previous + state; mounting /var needs journald; journald needs entropy; and + entropy is provided by haveged, which needs systemd-random-seed. + (bnc#959237) + +--- New: haveged-no-syslog.patch Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.6iJb8j/_old 2016-06-29 15:02:34.0 +0200 +++ /var/tmp/diff_new_pack.6iJb8j/_new 2016-06-29 15:02:34.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package haveged # -# 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 @@ -32,6 +32,8 @@ Patch1: haveged-conditional-enttest.patch # PATCH-FIX-OPENSUSE: ignore clock-gettime enablement on generic architectures Patch2: fix-enforced-clock-gettime.patch +# PATCH-FIX-UPSTREAM: don't write to syslog at startup to avoid deadlocks psim...@suse.com bnc#959237 +Patch3: haveged-no-syslog.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool @@ -58,7 +60,7 @@ %package devel Summary:Haveged development files -Group: Development/Libraries +Group: Development/Libraries/C and C++ Requires: libhavege1 = %{version} %description devel @@ -69,7 +71,7 @@ %package -n libhavege1 Summary:Haveged interface library -Group: Development/Libraries/C and C++ +Group: System/Libraries %description -n libhavege1 Shared object for the haveged library @@ -81,6 +83,7 @@ %patch0 -p1 %patch1 -p1 %patch2 +%patch3 -p1 %build autoreconf -fvi ++ haveged-no-syslog.patch ++ Index: haveged-1.9.1/src/haveged.c === --- haveged-1.9.1.orig/src/haveged.c +++ haveged-1.9.1/src/haveged.c @@ -361,8 +361,10 @@ static void daemonize( /* RETURN: no void) /* IN: nothing */ { FILE *fh; +#if 0 openlog(params->daemon, LOG_CONS, LOG_DAEMON); syslog(LOG_NOTICE, "%s starting up", params->daemon); +#endif if (daemon(0, 0) == -1) error_exit("Cannot fork into the background"); fh = fopen(params->pid_file, "w"); @@ -499,7 +501,9 @@ static void error_exit(/* RETURN: no #ifndef NO_DAEMON if (params->detached!=0) { unlink(params->pid_file); +#if 0 syslog(LOG_INFO, "%s: %s", params->daemon, buffer); +#endif } else #endif @@ -609,11 +613,13 @@ static void print_msg( /* RETURN: no va_list ap; va_start(ap, format); snprintf(buffer, sizeof(buffer), "%s: %s", params->daemon, format); +#if 0 #ifndef NO_DAEMON if (params->detached != 0) vsyslog(LOG_INFO, buffer, ap); else #endif +#endif vfprintf(stderr, buffer, ap); va_end(ap); } ++ haveged.service ++ --- /var/tmp/diff_new_pack.6iJb8j/_old 2016-06-29 15:02:35.0 +0200 +++ /var/tmp/diff_new_pack.6iJb8j/_new 2016-06-29 15:02:35.0 +0200 @@ -4,7 +4,8 @@ DefaultDependencies=no ConditionVirtualization=!container #Conflicts=shutdown.target -After=systemd-random-seed.service +# Don't wait for systemd-random-seed.service, leads to deadlock with fips=1 +#After=systemd-random-seed.service Before=sysinit.target shutdown.target systemd-journald.service [Service]
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2015-12-18 21:53:03 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-10-24 18:55:48.0 +0200 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2015-12-18 21:53:04.0 +0100 @@ -1,0 +2,5 @@ +Thu Dec 10 16:20:27 CET 2015 - ti...@suse.de + +- Fix missing dependency on coreutils for initrd macros (boo#958562) + +--- Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.oWY63T/_old 2015-12-18 21:53:05.0 +0100 +++ /var/tmp/diff_new_pack.oWY63T/_new 2015-12-18 21:53:05.0 +0100 @@ -47,6 +47,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %{?systemd_requires} %{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d } +Requires(post): coreutils +Requires(postun): coreutils %description The haveged daemon feeds the linux entropy pool with random
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2015-10-24 18:55:33 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-10-12 10:00:16.0 +0200 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2015-10-24 18:55:48.0 +0200 @@ -1,0 +2,6 @@ +Fri Oct 9 13:11:27 UTC 2015 - meiss...@suse.com + +- haveged.service: reverted the dependency on systemd-journald.socket + for now, as it causes a dependency loop. bsc#949728 bsc#950857 + +--- Other differences: -- ++ haveged.service ++ --- /var/tmp/diff_new_pack.YTur5l/_old 2015-10-24 18:55:49.0 +0200 +++ /var/tmp/diff_new_pack.YTur5l/_new 2015-10-24 18:55:49.0 +0200 @@ -5,7 +5,7 @@ ConditionVirtualization=!container #Conflicts=shutdown.target After=systemd-random-seed.service -Before=sysinit.target shutdown.target systemd-journald.service systemd-journald.socket +Before=sysinit.target shutdown.target systemd-journald.service [Service] ExecStart=/usr/sbin/haveged -w 1024 -v 0 -F
commit haveged for openSUSE:Factory
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.0 +0100 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2015-10-12 10:00:16.0 +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.0 +0200 +++ /var/tmp/diff_new_pack.jn20Rd/_new 2015-10-12 10:00:17.0 +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.0 +0200 +++ /var/tmp/diff_new_pack.jn20Rd/_new 2015-10-12 10:00:17.0 +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.0 +0200 +++ /var/tmp/diff_new_pack.jn20Rd/_new 2015-10-12 10:00:17.0 +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
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2015-02-20 12:43:01 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 2014-08-31 09:58:49.0 +0200 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2015-02-20 12:43:04.0 +0100 @@ -1,0 +2,9 @@ +Tue Feb 17 12:53:42 UTC 2015 - meiss...@suse.com + +- haveged-dracut.module: include haveged into the initrd for + randomness generation. +- haveged.service: adjust so it is started before journald + and also make sure it is shutdown quite late. +- regenerate initrd on installation. + +--- New: haveged-dracut.module Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.9a4aAZ/_old 2015-02-20 12:43:05.0 +0100 +++ /var/tmp/diff_new_pack.9a4aAZ/_new 2015-02-20 12:43:05.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package haveged # -# 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 @@ -26,6 +26,7 @@ Source0:http://www.issihosts.com/haveged/%{name}-%{version}.tar.gz Source2:%{name}.service Source3:90-haveged.rules +Source4:haveged-dracut.module Patch0: ppc64le.patch # PATCH-FIX-UPSTREAM: ent tests randomly fail so make them conditional tchva...@suse.cz bnc#876674 Patch1: haveged-conditional-enttest.patch @@ -40,6 +41,7 @@ Enhances: openvpn Enhances: php5 Enhances: smtp_daemon +Enhances: systemd BuildRoot: %{_tmppath}/%{name}-%{version}-build %{?systemd_requires} %{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d } @@ -105,12 +107,20 @@ rm -f %{buildroot}%{_libdir}/libhavege.*a 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 + %post %{?udev_rules_update:%udev_rules_update} %service_add_post %{name}.service +%{?regenerate_initrd_post} %postun %service_del_postun %{name}.service +%{?regenerate_initrd_post} + +%posttrans +%{?regenerate_initrd_posttrans} %pre %service_add_pre %{name}.service @@ -130,6 +140,10 @@ %doc %{_mandir}/man8/%{name}.8* %{_unitdir}/%{name}.service %{_udevrulesdir}/90-haveged.rules +%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 %files devel %defattr(-,root,root) ++ haveged-dracut.module ++ #!/bin/bash # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- # ex: ts=8 sw=4 sts=4 et filetype=sh # called by dracut depends() { return 0 } installkernel() { return 0 } # called by dracut install() { inst_multiple -o \ /usr/sbin/haveged \ $systemdsystemunitdir/haveged.service } ++ haveged.service ++ --- /var/tmp/diff_new_pack.9a4aAZ/_old 2015-02-20 12:43:05.0 +0100 +++ /var/tmp/diff_new_pack.9a4aAZ/_new 2015-02-20 12:43:05.0 +0100 @@ -3,9 +3,9 @@ Documentation=man:haveged(8) http://www.issihosts.com/haveged/ DefaultDependencies=no ConditionVirtualization=!container -Conflicts=shutdown.target +#Conflicts=shutdown.target After=systemd-random-seed.service -Before=sysinit.target shutdown.target +Before=sysinit.target shutdown.target systemd-journald.service [Service] ExecStart=/usr/sbin/haveged -w 1024 -v 0 -F -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2014-08-31 09:58:45 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 2014-06-25 06:57:24.0 +0200 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2014-08-31 09:58:49.0 +0200 @@ -1,0 +2,6 @@ +Fri Aug 29 07:23:34 UTC 2014 - tchva...@suse.com + +- Adjust the service to start early enough for all usecases. + Should fix bnc#892096. + +--- Other differences: -- ++ haveged.service ++ --- /var/tmp/diff_new_pack.Pgx9dT/_old 2014-08-31 09:58:50.0 +0200 +++ /var/tmp/diff_new_pack.Pgx9dT/_new 2014-08-31 09:58:50.0 +0200 @@ -1,13 +1,18 @@ [Unit] Description=Entropy Daemon based on the HAVEGE algorithm Documentation=man:haveged(8) http://www.issihosts.com/haveged/ +DefaultDependencies=no ConditionVirtualization=!container +Conflicts=shutdown.target +After=systemd-random-seed.service +Before=sysinit.target shutdown.target [Service] ExecStart=/usr/sbin/haveged -w 1024 -v 0 -F CapabilityBoundingSet=CAP_SYS_ADMIN PrivateNetwork=yes +Restart=always SuccessExitStatus=137 143 [Install] -WantedBy=multi-user.target +WantedBy=sysinit.target -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2014-06-25 06:57:22 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 2014-05-14 10:26:14.0 +0200 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2014-06-25 06:57:24.0 +0200 @@ -1,0 +2,5 @@ +Tue Jun 10 08:27:54 UTC 2014 - tchva...@suse.com + +- Disable haveged service on containers. bnc#881882 + +--- Other differences: -- ++ haveged.service ++ --- /var/tmp/diff_new_pack.eFtOgV/_old 2014-06-25 06:57:25.0 +0200 +++ /var/tmp/diff_new_pack.eFtOgV/_new 2014-06-25 06:57:25.0 +0200 @@ -1,6 +1,7 @@ [Unit] Description=Entropy Daemon based on the HAVEGE algorithm Documentation=man:haveged(8) http://www.issihosts.com/haveged/ +ConditionVirtualization=!container [Service] ExecStart=/usr/sbin/haveged -w 1024 -v 0 -F -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2014-05-14 10:26:09 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 2014-05-10 08:31:57.0 +0200 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2014-05-14 10:26:14.0 +0200 @@ -1,0 +2,34 @@ +Mon May 12 10:55:20 UTC 2014 - tchva...@suse.com + +- Disable randomly failing ENT test bnc#876674 +- Added patches: + * haveged-conditional-enttest.patch + +--- +Mon May 12 10:49:09 UTC 2014 - tchva...@suse.com + +- Threads seem not to fix the random testsuite fail. + +--- +Sat May 10 03:40:03 UTC 2014 - crrodrig...@opensuse.org + +- Fix stop of service, the daemon in foreground actually + exits with a weird exit code. workaround this misbehaviour + in the service file. + +--- +Sat May 10 02:34:26 UTC 2014 - crrodrig...@opensuse.org + +- revert to non-forking service, forking services are racy + and provided by systemd purely for compatibility with old daemons. + see daemon(7) for the rationale. Only simple (default) and + notify services must be used if possible. + +- Also, there is no haveged.conf around, neither such file + is parsed by the daemon at all. + +- Start the daemon as soon as the random device is available with + the help of udev, as starting services while starved of entropy + is no good. + +--- New: 90-haveged.rules haveged-conditional-enttest.patch Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.9bdz5V/_old 2014-05-14 10:26:15.0 +0200 +++ /var/tmp/diff_new_pack.9bdz5V/_new 2014-05-14 10:26:15.0 +0200 @@ -25,11 +25,15 @@ Url:http://www.issihosts.com/haveged/ Source0:http://www.issihosts.com/haveged/%{name}-%{version}.tar.gz Source2:%{name}.service +Source3:90-haveged.rules Patch0: ppc64le.patch +# PATCH-FIX-UPSTREAM: ent tests randomly fail so make them conditional tchva...@suse.cz bnc#876674 +Patch1: haveged-conditional-enttest.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: pkgconfig(systemd) +BuildRequires: pkgconfig(udev) Enhances: apache2 Enhances: gpg2 Enhances: openssl @@ -38,6 +42,7 @@ Enhances: smtp_daemon BuildRoot: %{_tmppath}/%{name}-%{version}-build %{?systemd_requires} +%{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d } %description The haveged daemon feeds the linux entropy pool with random @@ -68,15 +73,16 @@ %prep %setup -q %patch0 -p1 -autoreconf -fvi +%patch1 -p1 %build +autoreconf -fvi export CFLAGS=%{optflags} -fpie export LDFLAGS=-Wl,-z,relro,-z,now -pie -# Threads seem broken +# ENT randomly fails so disable the test %configure \ --disable-static \ ---disable-threads \ +--disable-enttest \ --enable-nistest \ --enable-daemon \ --enable-clock_gettime @@ -95,10 +101,12 @@ %install make DESTDIR=%{buildroot} install %{?_smp_mflags} install -D -m0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service +install -D -m0644 %{SOURCE3} %{buildroot}%{_udevrulesdir}/90-haveged.rules rm -f %{buildroot}%{_libdir}/libhavege.*a ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} %post +%{?udev_rules_update:%udev_rules_update} %service_add_post %{name}.service %postun @@ -121,6 +129,7 @@ %{_sbindir}/%{name} %doc %{_mandir}/man8/%{name}.8* %{_unitdir}/%{name}.service +%{_udevrulesdir}/90-haveged.rules %files devel %defattr(-,root,root) ++ 90-haveged.rules ++ ACTION==add, KERNEL==random , SUBSYSTEM==mem, TAG+=systemd, ENV{SYSTEMD_WANTS}+=haveged.service ++ haveged-conditional-enttest.patch ++ diff -urN haveged-1.9.1/configure.ac haveged-1.9.1.new/configure.ac --- haveged-1.9.1/configure.ac 2014-02-11 16:06:58.0 +0100 +++ haveged-1.9.1.new/configure.ac 2014-05-12 12:57:40.111268914 +0200 @@ -60,6 +60,11 @@ AS_HELP_STRING([--enable-nistest=[no/yes]],[Run NIST test suite [default=no]]), , enable_nistest=no) +## Make ent self-test configurable +AC_ARG_ENABLE(enttest, + AS_HELP_STRING([--enable-enttest=[no/yes]],[Run ENT test suite [default=yes]]), + , enable_enttest=yes) + ## Make self test features configurable AC_ARG_ENABLE(olt,
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2014-03-12 19:07:44 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 2014-02-19 06:56:11.0 +0100 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2014-03-12 19:07:45.0 +0100 @@ -1,0 +2,7 @@ +Tue Mar 11 10:21:46 UTC 2014 - dval...@suse.com + +- Add ppc64le support + +- added patches: + * ppc64le.patch +--- New: ppc64le.patch Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.g0LXRP/_old 2014-03-12 19:07:46.0 +0100 +++ /var/tmp/diff_new_pack.g0LXRP/_new 2014-03-12 19:07:46.0 +0100 @@ -25,6 +25,7 @@ Url:http://www.issihosts.com/haveged/ Source0:http://www.issihosts.com/haveged/%{name}-%{version}.tar.gz Source2:%{name}.service +Patch0: ppc64le.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Enhances: openssl Enhances: gpg2 @@ -65,6 +66,7 @@ %prep %setup -q +%patch0 -p1 %build # mvyskocil: needed because of haveged-ppc.patch ++ ppc64le.patch ++ Index: haveged-1.9.1/configure.ac === --- haveged-1.9.1.orig/configure.ac +++ haveged-1.9.1/configure.ac @@ -156,7 +156,7 @@ case $host in AC_DEFINE(HAVE_ISA_IA64, 1, [Define to 1 for ia64]) ;; - powerpc-*|pcc-*|powerpc64-*|ppc64-*) + powerpc-*|pcc-*|powerpc64*|ppc64*) AC_DEFINE(HAVE_ISA_PPC, 1, [Define to 1 for ppc]) ;; -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2014-02-19 06:56:08 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 2014-01-07 13:54:25.0 +0100 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2014-02-19 06:56:11.0 +0100 @@ -1,0 +2,9 @@ +Tue Feb 18 13:11:01 UTC 2014 - crrodrig...@opensuse.org + +- version 1.9.1 +* test suite improvements +* man page updates +* a few build tweaks +- restore rchaveged link + +--- Old: haveged-1.8.tar.gz New: haveged-1.9.1.tar.gz Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.7M0vRc/_old 2014-02-19 06:56:12.0 +0100 +++ /var/tmp/diff_new_pack.7M0vRc/_new 2014-02-19 06:56:12.0 +0100 @@ -17,7 +17,7 @@ Name: haveged -Version:1.8 +Version:1.9.1 Release:0 Summary:Feed entropy into random pool License:GPL-3.0 @@ -93,6 +93,7 @@ %makeinstall %{__install} -D -m0644 %{S:2} %{buildroot}%{_unitdir}/%{name}.service %{__rm} -f %{buildroot}%{_libdir}/libhavege.*a +ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name} %clean %{?buildroot:%__rm -rf %{buildroot}} @@ -116,13 +117,14 @@ %files %defattr(-,root,root) %doc COPYING +%{_sbindir}/rc%{name} %{_sbindir}/%{name} %doc %{_mandir}/man8/%{name}.8* %{_unitdir}/%{name}.service %files devel -%doc COPYING %defattr(-,root,root) +%doc COPYING %{_mandir}/man3/libhavege.3* %dir %{_includedir}/%{name} %{_includedir}/%{name}/havege.h @@ -130,8 +132,8 @@ %{_libdir}/*.so %files -n libhavege1 -%doc COPYING %defattr(-,root,root) +%doc COPYING %{_libdir}/*.so.* %changelog ++ haveged-1.8.tar.gz - haveged-1.9.1.tar.gz ++ 4527 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2014-01-07 13:54:24 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 2013-06-18 15:13:05.0 +0200 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2014-01-07 13:54:25.0 +0100 @@ -1,0 +2,8 @@ +Mon Jan 6 10:28:03 UTC 2014 - mvysko...@suse.com + +- update to 1.8 + * Fix return code for signalled termination. + * Update init.d/service.fedora - new return code + simple, not forking + * Add --enable_unitdir as DESTDIR for systemd install + +--- Old: haveged-1.7c.tar.gz New: haveged-1.8.tar.gz Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.89KnU0/_old 2014-01-07 13:54:25.0 +0100 +++ /var/tmp/diff_new_pack.89KnU0/_new 2014-01-07 13:54:25.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package haveged # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -17,7 +17,7 @@ Name: haveged -Version:1.7c +Version:1.8 Release:0 Summary:Feed entropy into random pool License:GPL-3.0 ++ haveged-1.7c.tar.gz - haveged-1.8.tar.gz ++ 8378 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/haveged-1.7c/ChangeLog new/haveged-1.8/ChangeLog --- old/haveged-1.7c/ChangeLog 2013-06-08 15:37:00.0 +0200 +++ new/haveged-1.8/ChangeLog 2014-01-02 23:40:24.0 +0100 @@ -1,3 +1,8 @@ +v1.8 (Jan 02, 2014) + * Fix return code for signalled termination. + * Update init.d/service.fedora - new return code + simple, not forking + * Add --enable_unitdir as DESTDIR for systemd install + v1.7c (Jun 08, 2013) * Fix alignment fault on mips in havegetest.c, procedure B. 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/haveged-1.7c/NEWS new/haveged-1.8/NEWS --- old/haveged-1.7c/NEWS 2013-06-08 15:33:39.0 +0200 +++ new/haveged-1.8/NEWS2014-01-02 23:40:09.0 +0100 @@ -1,3 +1,8 @@ +v1.8 (Jan 02, 2014) + Fix return code for signalled termination. Update init.d/service.fedora to use new + return code and simple service type. Add --enable_unitdir as DESTDIR for systemd + install. Cleanup documentation and man file. + v1.7c (Jun 08, 2013) Additional fix for run-time test alignment problems on mips. 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/haveged-1.7c/README new/haveged-1.8/README --- old/haveged-1.7c/README 2013-02-13 21:00:37.0 +0100 +++ new/haveged-1.8/README 2014-01-03 00:09:26.0 +0100 @@ -131,10 +131,11 @@ 2. --enable-daemon (default 'yes' if Linux) 3. --enable-diagnostic (default 'no') 4. --enable-init (type, default 'no') -5. --enable-nistest (default 'no' but recommended) -6. --enable-olt (default 'yes') -7. --enable-threads (experimental) -8. --enable-tune (default 'yes') +5. --enable-initdir (default '' unless enable--init=service.*) +6. --enable-nistest (default 'no' but recommended) +7. --enable-olt (default 'yes') +8. --enable-threads (experimental) +9. --enable-tune (default 'yes') Detailed option information is available by typing ./configure --help. For options xxx that take yes/no arguments, --disable-xxx may be used as the @@ -167,18 +168,20 @@ value can specify a template to be used in the installation of an init method by the build's install target. The default value, 'no', disables the feature. Other values can be used to install a traditional systemv init
commit haveged for openSUSE:Factory
binWEcqMGEEbp.bin Description: Binary data
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2013-05-06 10:09:55 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 2013-05-03 09:17:03.0 +0200 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2013-05-06 10:09:56.0 +0200 @@ -1,0 +2,6 @@ +Sun May 5 18:46:15 UTC 2013 - crrodrig...@opensuse.org + +- Remove PrivateTmp=true here, haveged does not create temporary + files, either directly or indirectly. + +--- Other differences: -- ++ haveged.service ++ --- /var/tmp/diff_new_pack.g8Z50g/_old 2013-05-06 10:09:57.0 +0200 +++ /var/tmp/diff_new_pack.g8Z50g/_new 2013-05-06 10:09:57.0 +0200 @@ -6,6 +6,5 @@ ExecStart=/usr/sbin/haveged -w 1024 -v 0 -F CapabilityBoundingSet=CAP_SYS_ADMIN PrivateNetwork=yes -PrivateTmp=yes [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 haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2013-05-03 09:17:02 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 2013-03-26 16:13:11.0 +0100 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2013-05-03 09:17:03.0 +0200 @@ -1,0 +2,8 @@ +Thu May 2 18:25:33 UTC 2013 - crrodrig...@opensuse.org + +- haveged 1.7a +* Correct VPATH issues and modify check target to support +parallel builds and changes in automake 1.13 test harness. +Updated sample spec file and other documentation changes. + +--- Old: haveged-1.7.tar.gz New: haveged-1.7a.tar.gz Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.GHrTlW/_old 2013-05-03 09:17:05.0 +0200 +++ /var/tmp/diff_new_pack.GHrTlW/_new 2013-05-03 09:17:05.0 +0200 @@ -17,7 +17,7 @@ Name: haveged -Version:1.7 +Version:1.7a Release:0 Summary:Feed entropy into random pool License:GPL-3.0 ++ haveged-1.7.tar.gz - haveged-1.7a.tar.gz ++ 6095 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/haveged-1.7/ChangeLog new/haveged-1.7a/ChangeLog --- old/haveged-1.7/ChangeLog 2013-01-15 15:43:37.0 +0100 +++ new/haveged-1.7a/ChangeLog 2013-02-13 21:01:09.0 +0100 @@ -1,9 +1,15 @@ +v1.7a (Feb 13, 2013) + * Fix parallel build (LDADD fix + VPATH fixes to test programs) + * Fix check target for automake v1.13 and previous (use check-local) + * Add option to suppress tuning code build + * Improve sample spec file for library + v1.7 (Jan 15, 2013) - * Add havege_status_dump() as basis for haveged diagnositics + * Add havege_status_dump() as basis for haveged diagnostics * Provide sample spec to build haveged and haveged-devel * Add contrib/build to provide build support * Modify build to use libtool - * Retname base types to alias stdint.h types to allow 'fixes' if necessary + * Rename base types to alias stdint.h types to allow 'fixes' if necessary * Rename all public functions to follow havege_* naming convention * Sanitize havege.h to be include file for devel package * Add destroy() to havege for library use. 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/haveged-1.7/Makefile.am new/haveged-1.7a/Makefile.am --- old/haveged-1.7/Makefile.am 2013-01-15 15:44:35.0 +0100 +++ new/haveged-1.7a/Makefile.am2013-02-13 20:38:41.0 +0100 @@ -1,22 +1,18 @@ ## Process this file with automake to produce Makefile.in -# checks to perform is a autoconf substitution -check_SCRIPTS = @HA_CHECK@ - # Files to be included in distribution -EXTRA_DIST= ent/test.sh ent/entitle.gif init.d/service.fedora init.d/service.redhat \ -init.d/sysv.lsb init.d/sysv.redhat nist/test.sh nist/template9 \ +EXTRA_DIST= ent/entitle.gif init.d/service.fedora init.d/service.redhat \ +init.d/sysv.lsb init.d/sysv.redhat nist/template9 \ contrib/diags/data_prep.c contrib/diags/bins.p contrib/diags/inc.p \ contrib/diags/lognorm.r contrib/diags/lognorm.sh \ haveged.spec contrib/build/build.sh contrib/build/lib.spec contrib/build/nolib.spec \ contrib/build/havege_sample.c contrib/build/fedora.spec -# Scripts run as check target -EXTRA_SCRIPTS = ent/test.sh nist/test.sh +# programs used in check targets +EXTRA_PROGRAMS = ent/entest nist/nist # Build install script and tests as necessary SUBDIRS = src init.d man ent nist -# Perform all check_SCRIPTS -TESTS = @HA_CHECK@ - +# check entire package +DISTCHECK_CONFIGURE_FLAGS = --enable-nistest 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
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2013-03-26 16:13:09 Comparing /work/SRC/openSUSE:Factory/haveged (Old) and /work/SRC/openSUSE:Factory/.haveged.new (New) Package is haveged, Maintainer is mvysko...@suse.com Changes: --- /work/SRC/openSUSE:Factory/haveged/haveged.changes 2013-02-08 07:09:30.0 +0100 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2013-03-26 16:13:11.0 +0100 @@ -1,0 +2,12 @@ +Tue Mar 26 14:19:46 UTC 2013 - mvysko...@suse.com + +- add autoconf to BuildRequires +- explain the need for autoreconf +- tag haveged-ppc.patch + +--- +Wed Mar 20 23:28:42 UTC 2013 - crrodrig...@opensuse.org + +- Remove all sysvinit compatibility. + +--- Old: haveged.init Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.okx2V3/_old 2013-03-26 16:13:12.0 +0100 +++ /var/tmp/diff_new_pack.okx2V3/_new 2013-03-26 16:13:12.0 +0100 @@ -24,23 +24,15 @@ Group: System/Daemons Url:http://www.issihosts.com/haveged/ Source0:http://www.issihosts.com/haveged/%{name}-%{version}.tar.gz -Source1:%{name}.init Source2:%{name}.service +#PATCH-FIX-OPENSUSE: mvyskocil: sent upstream Patch0: haveged-ppc.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: automake -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 -%{!?_initddir: %global _initddir /etc/init.d} -%if 0%{?suse_version} 1140 -BuildRequires: systemd +BuildRequires: autoconf +BuildRequires: libtool +BuildRequires: pkgconfig(systemd) %{?systemd_requires} -%define have_systemd 1 -%endif %description The haveged daemon feeds the linux entropy pool with random @@ -72,12 +64,11 @@ %patch0 -p1 %build -%if 0%{?suse_version} 1220 +# mvyskocil: needed because of haveged-ppc.patch autoreconf -fiv -%endif export CFLAGS=%optflags -fpie export LDFLAGS=-Wl,-z,relro,-z,now -pie -%configure \ +%configure --disable-static \ --enable-nistest=yes \ --enable-daemon=yes \ --enable-clock_gettime=yes @@ -97,42 +88,23 @@ %install %makeinstall -%{__install} -D -m0755 %{S:1} %{buildroot}%{_initddir}/%{name} -%{__mkdir_p} %{buildroot}%{_sbindir} -%{__ln_s} -f %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name} - -%if 0%{?have_systemd} %{__install} -D -m0644 %{S:2} %{buildroot}%{_unitdir}/%{name}.service -%endif %{__rm} -f %{buildroot}%{_libdir}/libhavege.*a %clean %{?buildroot:%__rm -rf %{buildroot}} %post -# do not enable on condition here, let YAST, kiwi or the user do it. -%{fillup_and_insserv -f %{name}} -%if 0%{?have_systemd} %service_add_post %{name}.service -%endif %postun -%restart_on_update %{name} -%{insserv_cleanup} -%if 0%{?have_systemd} %service_del_postun %{name}.service -%endif %pre -%if 0%{?have_systemd} %service_add_pre %{name}.service -%endif %preun -%stop_on_removal %{name} -%if 0%{?have_systemd} %service_del_preun %{name}.service -%endif %post -n libhavege1 -p /sbin/ldconfig @@ -141,13 +113,9 @@ %files %defattr(-,root,root) %doc COPYING -%{_sbindir}/rc%{name} %{_sbindir}/%{name} -%config %{_initddir}/%{name} %doc %{_mandir}/man8/%{name}.8* -%if 0%{?have_systemd} %{_unitdir}/%{name}.service -%endif %files devel %doc COPYING -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2013-02-08 07:09:29 Comparing /work/SRC/openSUSE:Factory/haveged (Old) and /work/SRC/openSUSE:Factory/.haveged.new (New) Package is haveged, Maintainer is mvysko...@suse.com Changes: --- /work/SRC/openSUSE:Factory/haveged/haveged.changes 2012-12-28 15:01:04.0 +0100 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2013-02-08 07:09:30.0 +0100 @@ -1,0 +2,22 @@ +Mon Jan 21 01:18:16 CET 2013 - r...@suse.de + +- spit off devel package (all new files not present before) +- spit off library package to follow shared library policy +- update to 1.7 + * Add havege_status_dump() as basis for haveged diagnositics + * Provide sample spec to build haveged and haveged-devel + * Add contrib/build to provide build support + * Modify build to use libtool + * Retname base types to alias stdint.h types to allow 'fixes' if necessary + * Rename all public functions to follow havege_* naming convention + * Sanitize havege.h to be include file for devel package + * Add destroy() to havege for library use. + * Move all remaining static vars to allocated memory. + * Rework include file structure to eliminate include sequence errors. + * Fix (rare) segfault in test0 caused by 1.6 alignment fix + +- update to v1.6a + * Fix typo in configure.ac + + +--- Old: haveged-1.6.tar.gz New: haveged-1.7.tar.gz Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.mAXaZt/_old 2013-02-08 07:09:32.0 +0100 +++ /var/tmp/diff_new_pack.mAXaZt/_new 2013-02-08 07:09:32.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package haveged # -# 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 @@ -17,7 +17,7 @@ Name: haveged -Version:1.6 +Version:1.7 Release:0 Summary:Feed entropy into random pool License:GPL-3.0 @@ -48,19 +48,42 @@ For more informations see http://www.issihosts.com/haveged/ +%package devel +Summary:haveged development files +Group: Development/Libraries + +%description devel +Headers and for the haveged library + +This package contains the haveged implementation of the HAVEGE +algorithm and supporting features. + +%package -n libhavege1 +Summary:haveged interface library +Group: Development/Libraries + +%description -n libhavege1 +Shared object for the haveged library +This package contains the haveged implementation of the HAVEGE +algorithm and supporting features. + %prep %setup -q %patch0 -p1 %build +%if 0%{?suse_version} 1220 autoreconf -fiv +%endif export CFLAGS=%optflags -fpie export LDFLAGS=-Wl,-z,relro,-z,now -pie %configure \ --enable-nistest=yes \ --enable-daemon=yes \ --enable-clock_gettime=yes -make %{?_smp_mflags} +# no multiple jobs for now, broken makefile dependencies +#make %{?_smp_mflags} +make %check #XXX: nist test is killed by SIGKILL with static int random_pool1[_32MB] on @@ -81,6 +104,7 @@ %if 0%{?have_systemd} %{__install} -D -m0644 %{S:2} %{buildroot}%{_unitdir}/%{name}.service %endif +%{__rm} -f %{buildroot}%{_libdir}/libhavege.*a %clean %{?buildroot:%__rm -rf %{buildroot}} @@ -110,8 +134,13 @@ %service_del_preun %{name}.service %endif +%post -n libhavege1 -p /sbin/ldconfig + +%postun -n libhavege1 -p /sbin/ldconfig + %files %defattr(-,root,root) +%doc COPYING %{_sbindir}/rc%{name} %{_sbindir}/%{name} %config %{_initddir}/%{name} @@ -120,4 +149,18 @@ %{_unitdir}/%{name}.service %endif +%files devel +%doc COPYING +%defattr(-,root,root) +%{_mandir}/man3/libhavege.3* +%dir %{_includedir}/%{name} +%{_includedir}/%{name}/havege.h +%doc contrib/build/havege_sample.c +%{_libdir}/*.so + +%files -n libhavege1 +%doc COPYING +%defattr(-,root,root) +%{_libdir}/*.so.* + %changelog ++ haveged-1.6.tar.gz - haveged-1.7.tar.gz ++ 38276 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2012-12-28 15:01:00 Comparing /work/SRC/openSUSE:Factory/haveged (Old) and /work/SRC/openSUSE:Factory/.haveged.new (New) Package is haveged, Maintainer is mvysko...@suse.com Changes: --- /work/SRC/openSUSE:Factory/haveged/haveged.changes 2012-11-28 10:35:31.0 +0100 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2012-12-28 15:01:04.0 +0100 @@ -1,0 +2,12 @@ +Fri Dec 21 11:53:16 UTC 2012 - dval...@suse.com + +- fix powerpc detection (haveged-ppc.patch) + +--- +Sun Dec 16 02:11:10 UTC 2012 - pascal.ble...@opensuse.org + +- update to 1.6: + * make clock_gettime a build option and correct dependencies when used + * fix alignment fault on arm64 in procedure A test0 + +--- Old: haveged-1.5.tar.gz New: haveged-1.6.tar.gz haveged-ppc.patch Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.k0JfD8/_old 2012-12-28 15:01:06.0 +0100 +++ /var/tmp/diff_new_pack.k0JfD8/_new 2012-12-28 15:01:06.0 +0100 @@ -17,7 +17,7 @@ Name: haveged -Version:1.5 +Version:1.6 Release:0 Summary:Feed entropy into random pool License:GPL-3.0 @@ -26,6 +26,7 @@ Source0:http://www.issihosts.com/haveged/%{name}-%{version}.tar.gz Source1:%{name}.init Source2:%{name}.service +Patch0: haveged-ppc.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: automake Requires(pre): %insserv_prereq @@ -49,12 +50,16 @@ %prep %setup -q +%patch0 -p1 %build autoreconf -fiv export CFLAGS=%optflags -fpie export LDFLAGS=-Wl,-z,relro,-z,now -pie -%configure --enable-nistest=yes --enable-daemon=yes +%configure \ +--enable-nistest=yes \ +--enable-daemon=yes \ +--enable-clock_gettime=yes make %{?_smp_mflags} %check @@ -110,7 +115,7 @@ %{_sbindir}/rc%{name} %{_sbindir}/%{name} %config %{_initddir}/%{name} -%{_mandir}/man8/%{name}.8.gz +%doc %{_mandir}/man8/%{name}.8* %if 0%{?have_systemd} %{_unitdir}/%{name}.service %endif ++ haveged-1.5.tar.gz - haveged-1.6.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/haveged-1.5/ChangeLog new/haveged-1.6/ChangeLog --- old/haveged-1.5/ChangeLog 2012-08-12 16:34:44.0 +0200 +++ new/haveged-1.6/ChangeLog 2012-12-15 18:13:07.0 +0100 @@ -1,3 +1,8 @@ +v1.6 (Dec 15, 2012) + * Correct makefile encoding and defaults description + * Make clock_gettime a build option and correct dependencies when used. + * Fix alignment fault on arm64 in procedure A test0. + v1.5 (Aug 12, 2012) * Add online tests based on AIS-31 controlled by --enable-olt build option * Add -o option to specify online tests to perform diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/haveged-1.5/README new/haveged-1.6/README --- old/haveged-1.5/README 2012-08-12 16:32:53.0 +0200 +++ new/haveged-1.6/README 2012-10-07 16:15:28.0 +0200 @@ -1,270 +1,278 @@ -Haveged, an entropy source - -INTRODUCTION - -Complete documentation on haveged can be found at http://www.issihosts.com/haveged/ - -Linux provides device interfaces (/dev/random and /dev/urandom) to a pool of -random numbers collected from system interrupt service routines. On some -systems, especially on those systems with high needs or limited user -interaction, the standard collection mechanism cannot meet demand. In those -cases, an adequate supply of random numbers can be maintained by feeding -additional entropy into /dev/random pool via a file system interface. The -haveged daemon was created to fulfill this function using random data generated -by the HAVEGE algorithm. - -The HAVEGE algorithm is based upon the indirect effects of unrelated hardware -events on the instruction timing of a calculation that is sensitive to processor -features such as branch predictors and instruction/data access mechanisms. -Samples from a high-resolution timer are input into the algorithm to -produce a stream of random data in a collection buffer. The contents of this -buffer can be fed into the random device or accessed directly through the file -system. File system access is a useful alternative to those situations where -use of the random device is either inappropriate or not available. - -The HAVEGE mechanism is implemented in C using in-line assembly only where -direct hardware access is needed. On modern compilers, compiler intrinsics are -used to
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2012-11-28 10:35:29 Comparing /work/SRC/openSUSE:Factory/haveged (Old) and /work/SRC/openSUSE:Factory/.haveged.new (New) Package is haveged, Maintainer is mvysko...@suse.com Changes: --- /work/SRC/openSUSE:Factory/haveged/haveged.changes 2012-09-25 10:05:42.0 +0200 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2012-11-28 10:35:31.0 +0100 @@ -1,0 +2,5 @@ +Mon Nov 26 20:59:36 UTC 2012 - crrodrig...@opensuse.org + +- Current version does support ARM, remove the ExcludeArch + +--- Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.g7Jczg/_old 2012-11-28 10:35:32.0 +0100 +++ /var/tmp/diff_new_pack.g7Jczg/_new 2012-11-28 10:35:32.0 +0100 @@ -27,7 +27,6 @@ Source1:%{name}.init Source2:%{name}.service BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExcludeArch:%{arm} BuildRequires: automake Requires(pre): %insserv_prereq %if 0%{suse_version} = 1140 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2012-09-25 10:05:40 Comparing /work/SRC/openSUSE:Factory/haveged (Old) and /work/SRC/openSUSE:Factory/.haveged.new (New) Package is haveged, Maintainer is mvysko...@suse.com Changes: --- /work/SRC/openSUSE:Factory/haveged/haveged.changes 2012-08-14 14:26:32.0 +0200 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2012-09-25 10:05:42.0 +0200 @@ -1,0 +2,6 @@ +Mon Sep 24 19:48:16 UTC 2012 - crrodrig...@opensuse.org + +- Tight up systemd service file, this daemon does not + need network and can use PrivateNetwork=yes + +--- Other differences: -- ++ haveged.service ++ --- /var/tmp/diff_new_pack.pRNe70/_old 2012-09-25 10:05:43.0 +0200 +++ /var/tmp/diff_new_pack.pRNe70/_new 2012-09-25 10:05:43.0 +0200 @@ -5,6 +5,7 @@ Type=simple ExecStart=/usr/sbin/haveged -w 1024 -v 0 -F CapabilityBoundingSet=CAP_SYS_ADMIN - +PrivateNetwork=yes +PrivateTmp=yes [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 haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2012-08-14 14:26:30 Comparing /work/SRC/openSUSE:Factory/haveged (Old) and /work/SRC/openSUSE:Factory/.haveged.new (New) Package is haveged, Maintainer is mvysko...@suse.com Changes: --- /work/SRC/openSUSE:Factory/haveged/haveged.changes 2012-01-04 07:24:02.0 +0100 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2012-08-14 14:26:32.0 +0200 @@ -1,0 +2,32 @@ +Mon Aug 13 13:15:15 UTC 2012 - mvysko...@suse.cz + +- Update to 1.5 + * Add online tests based on AIS-31 + * Add -p option to specify the pid location. + * Fix -F option to not take argument - i.e. now a switch + * Factor diagnostic methods for capture and inject for better performance + * Fix install target, move to bin and eliminate script if not daemon, now use sysv and systemd templates +- use -F with no arguments in haveged.service +- work-around nist check on i586 by decreasing the size of static array in a test + +--- +Fri May 15 22:46:03 UTC 2012 - a...@opensuse.org + +- Update to version 1.4 + * Add s390 architecture. Thanks to Dan Horak and Jiri Hladky + * Add generic architecture with clock_gettime() timer. + * Rewrite collection loop to support multiple instances and new diagnostics + * Rewrite tuning mechanism to add virtual file system mining and correct cpuid bugs + * Add prototype multi-thread collection option + * Reduce collection buffer size to .5MB + * Improve/correct build and install + * Add new invocation options to support new features. + +- init script additions $remote_fs added + +--- +Thu Feb 9 21:20:37 UTC 2012 - crrodrig...@opensuse.org + +- build with -fpie + +--- Old: haveged-1.3a.tar.gz haveged-otherarch.patch haveged-ppc64.patch New: haveged-1.5.tar.gz Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.UFxdN2/_old 2012-08-14 14:26:34.0 +0200 +++ /var/tmp/diff_new_pack.UFxdN2/_new 2012-08-14 14:26:34.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package haveged # -# 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 @@ -16,20 +16,16 @@ # -%define extra_ver a - Name: haveged -Version:1.3 +Version:1.5 Release:0 -License:GPL-3.0 Summary:Feed entropy into random pool -Url:http://www.issihosts.com/haveged/ +License:GPL-3.0 Group: System/Daemons -Source0: http://www.issihosts.com/haveged/%{name}-%{version}%{extra_ver}.tar.gz +Url:http://www.issihosts.com/haveged/ +Source0:http://www.issihosts.com/haveged/%{name}-%{version}.tar.gz Source1:%{name}.init Source2:%{name}.service -Patch1: %{name}-ppc64.patch -Patch2: %{name}-otherarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build ExcludeArch:%{arm} BuildRequires: automake @@ -54,16 +50,22 @@ %prep %setup -q -%patch1 -%patch2 %build autoreconf -fiv -export LDFLAGS=-Wl,-z,relro,-z,now +export CFLAGS=%optflags -fpie +export LDFLAGS=-Wl,-z,relro,-z,now -pie %configure --enable-nistest=yes --enable-daemon=yes make %{?_smp_mflags} %check +#XXX: nist test is killed by SIGKILL with static int random_pool1[_32MB] on +# 32bit. Let change it to _08MB to avoid the test beeing killed, even if I +# am not sure allocate of 128M is prohibited +%ifarch %{ix86} +sed -i 's/\[_32MB\]/[_08MB]/' nist/nist.c +%endif + make %{?_smp_mflags} check %install ++ haveged-1.3a.tar.gz - haveged-1.5.tar.gz ++ 8863 lines of diff (skipped) ++ haveged.init ++ --- /var/tmp/diff_new_pack.UFxdN2/_old 2012-08-14 14:26:34.0 +0200 +++ /var/tmp/diff_new_pack.UFxdN2/_new 2012-08-14 14:26:34.0 +0200 @@ -2,8 +2,8 @@ ### BEGIN INIT INFO # Provides: haveged -# Required-Start:$syslog $local_fs -# Required-Stop: $syslog $local_fs +# Required-Start:$syslog $local_fs $remote_fs +# Required-Stop: $syslog $local_fs $remote_fs # Default-Start: 2 3 5 # Default-Stop: # Short-Description: Daemon to feed entropy into /dev/urandom ++ haveged.service ++ --- /var/tmp/diff_new_pack.UFxdN2/_old 2012-08-14 14:26:34.0 +0200 +++ /var/tmp/diff_new_pack.UFxdN2/_new 2012-08-14
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2012-01-04 07:24:00 Comparing /work/SRC/openSUSE:Factory/haveged (Old) and /work/SRC/openSUSE:Factory/.haveged.new (New) Package is haveged, Maintainer is mvysko...@suse.com Changes: --- /work/SRC/openSUSE:Factory/haveged/haveged.changes 2011-12-15 16:06:23.0 +0100 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2012-01-04 07:24:02.0 +0100 @@ -1,0 +2,5 @@ +Sat Dec 31 05:09:38 UTC 2011 - crrodrig...@opensuse.org + +- Put the haveged binary back in /usr/sbin not in /sbin + +--- Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.3MGhiD/_old 2012-01-04 07:24:03.0 +0100 +++ /var/tmp/diff_new_pack.3MGhiD/_new 2012-01-04 07:24:03.0 +0100 @@ -60,7 +60,7 @@ %build autoreconf -fiv export LDFLAGS=-Wl,-z,relro,-z,now -%configure --sbindir=/sbin --enable-nistest=yes --enable-daemon=yes +%configure --enable-nistest=yes --enable-daemon=yes make %{?_smp_mflags} %check @@ -107,7 +107,7 @@ %files %defattr(-,root,root) %{_sbindir}/rc%{name} -/sbin/%{name} +%{_sbindir}/%{name} %config %{_initddir}/%{name} %{_mandir}/man8/%{name}.8.gz %if 0%{?have_systemd} ++ haveged.init ++ --- /var/tmp/diff_new_pack.3MGhiD/_old 2012-01-04 07:24:03.0 +0100 +++ /var/tmp/diff_new_pack.3MGhiD/_new 2012-01-04 07:24:03.0 +0100 @@ -11,8 +11,8 @@ #to generate random numbers that are fed into the random pool. ### END INIT INFO -HAVEGED_BIN=/sbin/haveged -HAVEGED_PARAMS=-w 1024 -v 1 +HAVEGED_BIN=/usr/sbin/haveged +HAVEGED_PARAMS=-w 1024 -v 0 # Shell functions sourced from /etc/rc.status: # rc_check check and set local and overall rc status ++ haveged.service ++ --- /var/tmp/diff_new_pack.3MGhiD/_old 2012-01-04 07:24:03.0 +0100 +++ /var/tmp/diff_new_pack.3MGhiD/_new 2012-01-04 07:24:03.0 +0100 @@ -3,7 +3,7 @@ [Service] Type=simple -ExecStart=/sbin/haveged -F 1 -w 1024 -v 0 +ExecStart=/usr/sbin/haveged -F 1 -w 1024 -v 0 CapabilityBoundingSet=CAP_SYS_ADMIN [Install] -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2011-12-08 11:28:11 Comparing /work/SRC/openSUSE:Factory/haveged (Old) and /work/SRC/openSUSE:Factory/.haveged.new (New) Package is haveged, Maintainer is mvysko...@suse.com Changes: --- /work/SRC/openSUSE:Factory/haveged/haveged.changes 2011-11-29 12:52:18.0 +0100 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2011-12-08 11:28:13.0 +0100 @@ -1,0 +2,5 @@ +Fri Dec 2 07:26:32 UTC 2011 - co...@suse.com + +- add automake as buildrequire to avoid implicit dependency + +--- @@ -10,0 +16,5 @@ + +--- +Tue Nov 1 17:46:35 CET 2011 - r...@suse.de + +- fix build on ia64, s390, s390x New: haveged-otherarch.patch Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.djX9Db/_old 2011-12-08 11:28:16.0 +0100 +++ /var/tmp/diff_new_pack.djX9Db/_new 2011-12-08 11:28:16.0 +0100 @@ -15,12 +15,10 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - Name: haveged Version:1.3 -Release:2 -License:GPLv3 +Release:0 +License:GPL-3.0 Summary:Feed entropy into random pool Url:http://www.issihosts.com/haveged/ Group: System/Daemons @@ -28,8 +26,10 @@ Source1:%{name}.init Source2:%{name}.service Patch1: %{name}-ppc64.patch +Patch2: %{name}-otherarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build ExcludeArch:%{arm} +BuildRequires: automake Requires(pre): %insserv_prereq %if 0%{suse_version} = 1140 Requires(pre): sysvinit(syslog) @@ -52,6 +52,7 @@ %prep %setup -q %patch1 +%patch2 %build autoreconf -fiv ++ haveged-otherarch.patch ++ --- configure.ac +++ configure.ac @@ -81,6 +81,14 @@ HA_CPPFLAGS=-DHAVE_ISA_IA64 ;; + s390-*) +HA_CPPFLAGS=-DHAVE_ISA_S390 + ;; + + s390x-*) +HA_CPPFLAGS=-DHAVE_ISA_S390X + ;; + powerpc*|pcc-*|powerpc64|ppc64) HA_CPPFLAGS=-DHAVE_ISA_PPC ;; --- src/havegecollect.h +++ src/havegecollect.h @@ -124,12 +124,25 @@ #ifdef HAVE_ISA_IA64 #define ARCH ia64 -#define CPUID(op,reg) ASM(mov %0=cpuid[%1]\ +/* commented out, does not compile, ro 2011-11-01 +hash define CPUID(op,reg) ASM(mov %0=cpuid[%1]\ : =r (value)\ : r (reg)) +hash define HASCPUID(x) x=1 + */ #define HARDCLOCK(x) ASM(mov %0=ar.itc : =r(x)) -#define HASCPUID(x) x=1 #endif + +#ifdef HAVE_ISA_S390 +#define ARCH s390 +#define HARDCLOCK(x) { unsigned long long cycles ; __asm__(stck 0(%0) : : a ((cycles)) : memory, cc); x = cycles; } +#endif + +#ifdef HAVE_ISA_S390X +#define ARCH s390x +#define HARDCLOCK(x) { unsigned long long cycles ; __asm__(stck 0(%0) : : a ((cycles)) : memory, cc); x = cycles; } +#endif + #endif /** * Use the extension to calculate the LOOP_PT -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2011-11-29 12:52:17 Comparing /work/SRC/openSUSE:Factory/haveged (Old) and /work/SRC/openSUSE:Factory/.haveged.new (New) Package is haveged, Maintainer is mvysko...@suse.com Changes: --- /work/SRC/openSUSE:Factory/haveged/haveged.changes 2011-11-23 19:34:44.0 +0100 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2011-11-29 12:52:18.0 +0100 @@ -1,0 +2,6 @@ +Tue Nov 29 03:21:09 UTC 2011 - crrodrig...@opensuse.org + +- Use proper systemd macros +- reduce verbosity level to the minimum + +--- Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.j0JH7h/_old 2011-11-29 12:52:19.0 +0100 +++ /var/tmp/diff_new_pack.j0JH7h/_new 2011-11-29 12:52:19.0 +0100 @@ -24,10 +24,10 @@ Summary:Feed entropy into random pool Url:http://www.issihosts.com/haveged/ Group: System/Daemons -Source0:http://www.issihosts.com/haveged/haveged-%{version}.tar.gz -Source1:haveged.init -Source2:haveged.service -Patch1: haveged-ppc64.patch +Source0:http://www.issihosts.com/haveged/%{name}-%{version}.tar.gz +Source1:%{name}.init +Source2:%{name}.service +Patch1: %{name}-ppc64.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build ExcludeArch:%{arm} Requires(pre): %insserv_prereq @@ -37,6 +37,11 @@ Requires(post): grep util-linux Enhances: openssl gpg2 php5 apache2 openvpn smtp_daemon %{!?_initddir: %global _initddir /etc/init.d} +%if 0%{?suse_version} 1140 +BuildRequires: systemd +%{?systemd_requires} +%define have_systemd 1 +%endif %description The haveged daemon feeds the linux entropy pool with random @@ -59,10 +64,13 @@ %install %makeinstall -%{__install} -D -m0755 %{S:1} %{buildroot}%{_initddir}/haveged +%{__install} -D -m0755 %{S:1} %{buildroot}%{_initddir}/%{name} %{__mkdir_p} %{buildroot}%{_sbindir} %{__ln_s} -f %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name} -%{__install} -D -m0755 %{S:2} %{buildroot}/lib/systemd/system/haveged.service + +%if 0%{?have_systemd} +%{__install} -D -m0644 %{S:2} %{buildroot}%{_unitdir}/%{name}.service +%endif %clean %{?buildroot:%__rm -rf %{buildroot}} @@ -70,22 +78,36 @@ %post # do not enable on condition here, let YAST, kiwi or the user do it. %{fillup_and_insserv -f %{name}} +%if 0%{?have_systemd} +%service_add_post %{name}.service +%endif %postun %restart_on_update %{name} %{insserv_cleanup} +%if 0%{?have_systemd} +%service_del_postun %{name}.service +%endif + +%pre +%if 0%{?have_systemd} +%service_add_pre %{name}.service +%endif %preun %stop_on_removal %{name} +%if 0%{?have_systemd} +%service_del_preun %{name}.service +%endif %files %defattr(-,root,root) %{_sbindir}/rc%{name} -/sbin/haveged -%config %{_initddir}/haveged -%{_mandir}/man8/haveged.8.gz -%dir /lib/systemd -%dir /lib/systemd/system -/lib/systemd/system/haveged.service +/sbin/%{name} +%config %{_initddir}/%{name} +%{_mandir}/man8/%{name}.8.gz +%if 0%{?have_systemd} +%{_unitdir}/%{name}.service +%endif %changelog ++ haveged.service ++ --- /var/tmp/diff_new_pack.j0JH7h/_old 2011-11-29 12:52:19.0 +0100 +++ /var/tmp/diff_new_pack.j0JH7h/_new 2011-11-29 12:52:19.0 +0100 @@ -4,7 +4,7 @@ [Service] Type=simple -ExecStart=/sbin/haveged -F 1 -w 1024 -v 1 +ExecStart=/sbin/haveged -F 1 -w 1024 -v 0 [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 haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at 2011-11-23 19:34:41 Comparing /work/SRC/openSUSE:Factory/haveged (Old) and /work/SRC/openSUSE:Factory/.haveged.new (New) Package is haveged, Maintainer is mvysko...@suse.com Changes: --- /work/SRC/openSUSE:Factory/haveged/haveged.changes 2011-10-02 10:12:47.0 +0200 +++ /work/SRC/openSUSE:Factory/.haveged.new/haveged.changes 2011-11-23 19:34:44.0 +0100 @@ -1,0 +2,14 @@ +Tue Nov 22 14:24:33 UTC 2011 - crrodrig...@opensuse.org + +- Use Service type simple in systemd unit + +--- +Tue Oct 25 08:37:28 UTC 2011 - pascal.ble...@opensuse.org + +- update to 1.3: + * reorganized to allow its collection mechanism to be better accessed +directly through the file system: includes the option to suppress the +daemon interface in the build for circumstances where /dev/random is +unavailable or its use is inappropriate + +--- Old: haveged-1.2.tar.gz New: haveged-1.3.tar.gz Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.fxUNKy/_old 2011-11-23 19:34:53.0 +0100 +++ /var/tmp/diff_new_pack.fxUNKy/_new 2011-11-23 19:34:53.0 +0100 @@ -18,7 +18,7 @@ Name: haveged -Version:1.2 +Version:1.3 Release:2 License:GPLv3 Summary:Feed entropy into random pool @@ -51,7 +51,7 @@ %build autoreconf -fiv export LDFLAGS=-Wl,-z,relro,-z,now -%configure --with-libcap-ng=yes --sbindir=/sbin --enable-nistest=yes +%configure --with-libcap-ng=yes --sbindir=/sbin --enable-nistest=yes --enable-daemon=yes make %{?_smp_mflags} %check @@ -59,14 +59,13 @@ %install %makeinstall -%{__install} -m0755 %{S:1} %{buildroot}%{_initddir}/haveged +%{__install} -D -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 +%{__install} -D -m0755 %{S:2} %{buildroot}/lib/systemd/system/haveged.service %clean -rm -rf %{buildroot} +%{?buildroot:%__rm -rf %{buildroot}} %post # do not enable on condition here, let YAST, kiwi or the user do it. ++ haveged-1.2.tar.gz - haveged-1.3.tar.gz ++ 3119 lines of diff (skipped) ++ haveged.service ++ --- /var/tmp/diff_new_pack.fxUNKy/_old 2011-11-23 19:34:53.0 +0100 +++ /var/tmp/diff_new_pack.fxUNKy/_new 2011-11-23 19:34:53.0 +0100 @@ -3,9 +3,8 @@ After= local-fs.target syslog.target [Service] -Type=forking -ExecStart=/sbin/haveged -w 1024 -v 1 -PIDFile=/var/run/haveged.pid +Type=simple +ExecStart=/sbin/haveged -F 1 -w 1024 -v 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 haveged for openSUSE:Factory
Hello community, here is the log from the commit of package haveged for openSUSE:Factory checked in at Mon May 9 10:22:16 CEST 2011. --- haveged/haveged.changes 2011-03-01 10:31:24.0 +0100 +++ /mounts/work_src_done/STABLE/haveged/haveged.changes2011-05-07 22:07:56.0 +0200 @@ -1,0 +2,6 @@ +Sat May 7 20:06:23 UTC 2011 - crrodrig...@opensuse.org + +- Update to version 1.1, upstream version where the bugs + present in old versions have been fixed in different ways. + +--- calling whatdependson for head-i586 Old: haveged-0.9_git201101042303.tar.bz2 New: haveged-1.1.tar.bz2 Other differences: -- ++ haveged.spec ++ --- /var/tmp/diff_new_pack.ykrWy6/_old 2011-05-09 10:18:47.0 +0200 +++ /var/tmp/diff_new_pack.ykrWy6/_new 2011-05-09 10:18:47.0 +0200 @@ -18,17 +18,15 @@ Name: haveged -Version:0.9_git201101042303 +Version:1.1 Release:1 License:GPLv3 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.bz2 Source1:haveged.init Source2:haveged.service -BuildRequires: libcap-ng-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires(pre): %insserv_prereq %if 0%{suse_version} = 1140 ++ haveged-0.9_git201101042303.tar.bz2 - haveged-1.1.tar.bz2 ++ 16211 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