|
From: Heiko Z. <smi...@us...> - 2016-10-01 13:18:27
|
Update of /cvsroot/devil-linux/build/scripts In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv11824/scripts Added Files: haveged Log Message: added haveged updated openssl updated openssh --- NEW FILE: haveged --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/haveged,v $ # $Revision: 1.1 $ # $Date: 2016/10/01 13:18:25 $ # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 # get the directoryname of the script MYDIR=${0%/*} # source functions and config source $MYDIR/settings MYNAME=HAVEGED case $1 in build ) ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --enable-clock_gettime=yes --enable-daemon=yes --enable-olt=yes || exit 1 make $PMAKE all || exit 1 ;; install ) rm -rf $TMPDIR || exit 1 mkdir -p $TMPDIR/usr/sbin || exit 1 make install DESTDIR=$TMPDIR || exit 1 copy_docs $TMPDIR rm -rf $TMPDIR/usr/include || exit 1 rm -rf $TMPDIR/usr/lib/*a || exit 1 rm -rf $TMPDIR/usr/share || exit 1 cp -dvpR $TMPDIR/usr $CDDIR/ || exit 1 rm -rf $TMPDIR || exit 1 cp -v $MYDIR/scripts/haveged $ETCDIR/etc/init.d/ || exit 1 echo "# start the haveged entropy generation daemon?" >> $CONFIGFILE echo "START_$MYNAME=no" >> $CONFIGFILE echo >> $CONFIGFILE echo "${MYNAME}_PARAM=\"-w 1024 -v 1\"" >> $CONFIGFILE echo >> $CONFIGFILE ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac |