Accepting request 120742 from home:aboe76:branches:security
version bump from source: 1.3a to 1.4 no need to patch the source. OBS-URL: https://build.opensuse.org/request/show/120742 OBS-URL: https://build.opensuse.org/package/show/security/haveged?expand=0&rev=59
This commit is contained in:
parent
237c8afc68
commit
78c4aec20f
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0430cbeffd0dea31dbe300f7b88c532a2d046e336c7d0ce5e1ef84858179595b
|
|
||||||
size 212072
|
|
3
haveged-1.4.tar.gz
Normal file
3
haveged-1.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d4be23e678194631e3d13b0ced92b3bf2f4c5d7d881ad975e3c206ad79728397
|
||||||
|
size 227301
|
@ -1,47 +0,0 @@
|
|||||||
--- 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
|
|
@ -1,11 +0,0 @@
|
|||||||
--- configure.ac.orig 2011-06-06 13:32:49.000000000 +0200
|
|
||||||
+++ configure.ac 2011-06-06 13:33:02.000000000 +0200
|
|
||||||
@@ -33,7 +33,7 @@
|
|
||||||
HA_CPPFLAGS="-DHAVE_ISA_IA64"
|
|
||||||
;;
|
|
||||||
|
|
||||||
- powerpc-*|pcc-*|powerpc64|ppc64)
|
|
||||||
+ powerpc*|pcc-*|powerpc64|ppc64)
|
|
||||||
HA_CPPFLAGS="-DHAVE_ISA_PPC"
|
|
||||||
;;
|
|
||||||
|
|
@ -1,3 +1,17 @@
|
|||||||
|
Fri May 15 22:46:03 UTC 2012 - aboe@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 - crrodriguez@opensuse.org
|
Thu Feb 9 21:20:37 UTC 2012 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
### BEGIN INIT INFO
|
### BEGIN INIT INFO
|
||||||
# Provides: haveged
|
# Provides: haveged
|
||||||
# Required-Start: $syslog $local_fs
|
# Required-Start: $syslog $local_fs $remote_fs
|
||||||
# Required-Stop: $syslog $local_fs
|
# Required-Stop: $syslog $local_fs $remote_fs
|
||||||
# Default-Start: 2 3 5
|
# Default-Start: 2 3 5
|
||||||
# Default-Stop:
|
# Default-Stop:
|
||||||
# Short-Description: Daemon to feed entropy into /dev/urandom
|
# Short-Description: Daemon to feed entropy into /dev/urandom
|
||||||
|
12
haveged.spec
12
haveged.spec
@ -16,20 +16,16 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define extra_ver a
|
|
||||||
|
|
||||||
Name: haveged
|
Name: haveged
|
||||||
Version: 1.3
|
Version: 1.4
|
||||||
Release: 0
|
Release: 1
|
||||||
Summary: Feed entropy into random pool
|
Summary: Feed entropy into random pool
|
||||||
License: GPL-3.0
|
License: GPL-3.0
|
||||||
Group: System/Daemons
|
Group: System/Daemons
|
||||||
Url: http://www.issihosts.com/haveged/
|
Url: http://www.issihosts.com/haveged/
|
||||||
Source0: http://www.issihosts.com/haveged/%{name}-%{version}%{extra_ver}.tar.gz
|
Source0: http://www.issihosts.com/haveged/%{name}-%{version}.tar.gz
|
||||||
Source1: %{name}.init
|
Source1: %{name}.init
|
||||||
Source2: %{name}.service
|
Source2: %{name}.service
|
||||||
Patch1: %{name}-ppc64.patch
|
|
||||||
Patch2: %{name}-otherarch.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
ExcludeArch: %{arm}
|
ExcludeArch: %{arm}
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -54,8 +50,6 @@ For more informations see http://www.issihosts.com/haveged/
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1
|
|
||||||
%patch2
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
|
Loading…
x
Reference in New Issue
Block a user