2016-02-24 01:27:23 +01:00
|
|
|
# Description: Daemon that generates an unpredictable stream of random numbers and feeds the /dev/random
|
2017-01-31 02:35:21 +01:00
|
|
|
# URL: http://www.issihosts.com/haveged/
|
|
|
|
# Packager: milisarge
|
|
|
|
# Depends on:
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
name=haveged
|
|
|
|
version=1.9.1
|
|
|
|
release=1
|
|
|
|
source=(http://downloads.sourceforge.net/project/haveged/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build () {
|
|
|
|
|
|
|
|
cd $name-$version
|
2017-01-31 02:35:21 +01:00
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
source /etc/blfs-bootscripts
|
|
|
|
wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
|
2017-01-31 02:35:21 +01:00
|
|
|
tar xvf $scripts-$scriptsversion.tar.bz2
|
|
|
|
|
|
|
|
./configure --prefix=/usr
|
2016-02-24 01:27:23 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
cd $scripts-$scriptsversion
|
|
|
|
make DESTDIR=$PKG install-haveged
|
2017-01-31 02:35:21 +01:00
|
|
|
|
|
|
|
mkdir -pv $PKG/usr/share/doc/haveged-1.9.1
|
2016-02-24 01:27:23 +01:00
|
|
|
cp -v README $PKG/usr/share/doc/haveged-1.9.1
|
|
|
|
|
|
|
|
}
|