summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJirka Hladky <jhladky@redhat.com>2020-06-28 17:36:25 +0200
committerJirka Hladky <jhladky@redhat.com>2020-06-28 17:36:25 +0200
commit94edc082e09aa8f70ae544573c6e8f1067a144f1 (patch)
tree48813e9bb0c42580d8b2a6f75b2a734933a4fa15
parentFixed spelling (diff)
downloadhaveged-94edc082e09aa8f70ae544573c6e8f1067a144f1.tar.xz
haveged-94edc082e09aa8f70ae544573c6e8f1067a144f1.zip
Removed haveged.spec - RPM spec files are stored in contrib/build directory
-rw-r--r--haveged.spec111
1 files changed, 0 insertions, 111 deletions
diff --git a/haveged.spec b/haveged.spec
deleted file mode 100644
index 0a34ebf..0000000
--- a/haveged.spec
+++ /dev/null
@@ -1,111 +0,0 @@
-Summary: A Linux entropy source using the HAVEGE algorithm
-Name: haveged
-Version: 1.9.6
-Release: 1
-License: GPL v3+
-Group: Daemons
-Source0: https://github.com/jirka-h/haveged/archive/v%{version}.tar.gz
-# Source0-md5: 445ebbe0ecce01de06847689e9822efd
-Patch0: %{name}-link.patch
-URL: http://www.irisa.fr/caps/projects/hipsor/
-BuildRequires: autoconf >= 2.59
-BuildRequires: automake
-BuildRequires: libtool
-BuildRequires: rpmbuild(macros) >= 1.644
-BuildRequires: systemd-devel
-Requires(post,preun,postun): systemd-units >= 38
-Requires: systemd-units >= 38
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-A Linux entropy source using the HAVEGE algorithm
-
-Haveged is a user space entropy daemon which is not dependent upon the
-standard mechanisms for harvesting randomness for the system entropy
-pool. This is important in systems with high entropy needs or limited
-user interaction (e.g. headless servers).
-
-Haveged uses HAVEGE (HArdware Volatile Entropy Gathering and
-Expansion) to maintain a 1M pool of random bytes used to fill
-/dev/random whenever the supply of random bits in /dev/random falls
-below the low water mark of the device. The principle inputs to
-haveged are the sizes of the processor instruction and data caches
-used to setup the HAVEGE collector. The haveged default is a 4kb data
-cache and a 16kb instruction cache. On machines with a cpuid
-instruction, haveged will attempt to select appropriate values from
-internal tables.
-
-%package libs
-Summary: Shared libraries for HAVEGE algorithm
-Group: Libraries
-
-%description libs
-Shared libraries for HAVEGE algorithm.
-
-%package devel
-Summary: Headers and shared development libraries for HAVEGE algorithm
-Group: Development/Libraries
-Requires: %{name}-devel = %{version}-%{release}
-
-%description devel
-Headers and shared object symbolic links for the HAVEGE algorithm
-
-%prep
-%setup -q
-%patch0 -p1
-
-%build
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-%configure \
- --disable-static \
- --enable-init=service.fedora
-# SMP build is not working
-%{__make} -j1
-
-%install
-rm -rf $RPM_BUILD_ROOT
-%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
-
-install -d $RPM_BUILD_ROOT%{systemdunitdir}
-#cp -p %{SOURCE1} $RPM_BUILD_ROOT%{systemdunitdir}/haveged.service
-
-# We don't ship .la files.
-rm $RPM_BUILD_ROOT%{_libdir}/libhavege.la
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%post libs -p /sbin/ldconfig
-%postun libs -p /sbin/ldconfig
-
-%post
-%systemd_post haveged.service
-
-%preun
-%systemd_preun haveged.service
-
-%postun
-%systemd_reload
-
-%files
-%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README contrib/build/havege_sample.c
-%attr(755,root,root) %{_sbindir}/haveged
-%{_mandir}/man8/haveged.8*
-%{systemdunitdir}/haveged.service
-
-%files libs
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libhavege.so.*.*.*
-%ghost %{_libdir}/libhavege.so.1
-
-%files devel
-%defattr(644,root,root,755)
-%{_includedir}/%{name}
-%{_libdir}/libhavege.so
-%{_mandir}/man3/libhavege.3*