aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/haveged/README21
-rw-r--r--system/haveged/haveged.SlackBuild12
-rw-r--r--system/haveged/haveged.info6
3 files changed, 20 insertions, 19 deletions
diff --git a/system/haveged/README b/system/haveged/README
index dee52968a6f60..187b3bdda997d 100644
--- a/system/haveged/README
+++ b/system/haveged/README
@@ -2,17 +2,18 @@ haveged (a simple entropy-gathering daemon)
The haveged project is an attempt to provide an easy-to-use, unpredictable
random number generator based upon an adaptation of the HAVEGE algorithm.
-Haveged was created to remedy low-entropy conditions in the Linux random device
-that can occur under some workloads, especially on headless servers.
+Haveged was created to remedy low-entropy conditions in the Linux random
+device that can occur under some workloads, especially on headless servers.
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.
+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.
+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.
Add the following snippet to your /etc/rc.d/rc.M to start up haveged at boot:
@@ -21,6 +22,6 @@ if [ -x /etc/rc.d/rc.haveged ]; then
/etc/rc.d/rc.haveged start
fi
-You can see how many bits of entropy are available to the system by reading the
-/proc/sys/kernel/random/entropy_avail file, and check the size of your entropy
-pool at /proc/sys/kernel/random/poolsize.
+You can see how many bits of entropy are available to the system by reading
+the /proc/sys/kernel/random/entropy_avail file, and check the size of your
+entropy pool at /proc/sys/kernel/random/poolsize.
diff --git a/system/haveged/haveged.SlackBuild b/system/haveged/haveged.SlackBuild
index d72ad7e356b13..765ab2eb9f128 100644
--- a/system/haveged/haveged.SlackBuild
+++ b/system/haveged/haveged.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for haveged
-# Copyright 2012 Erik Falor, West Valley City, Utah, USA
+# Copyright 2013 Erik Falor, West Valley City, Utah, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=haveged
-VERSION=${VERSION:-1.5}
+VERSION=${VERSION:-1.7c}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,10 +64,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
diff --git a/system/haveged/haveged.info b/system/haveged/haveged.info
index 82876c0ac9130..cb51f211de7bf 100644
--- a/system/haveged/haveged.info
+++ b/system/haveged/haveged.info
@@ -1,8 +1,8 @@
PRGNAM="haveged"
-VERSION="1.5"
+VERSION="1.7c"
HOMEPAGE="http://www.issihosts.com/haveged/index.html"
-DOWNLOAD="http://www.issihosts.com/haveged/haveged-1.5.tar.gz"
-MD5SUM="c1f34be00c3f438ec83862e90e192e4b"
+DOWNLOAD="http://www.issihosts.com/haveged/haveged-1.7c.tar.gz"
+MD5SUM="036760389b1827a2532e248dd3cc46d3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""