diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-28 03:27:16 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-28 03:27:16 +0000 |
commit | 462391357aa5e749dc9908c15f3baa0b4416f3d8 (patch) | |
tree | 11d4d3f054aae9ffd869adc634054f64a16d83b8 /social/haveged | |
parent | 748e32a3a886569b58a27003e85b76be5746153d (diff) |
Tue Jan 28 03:22:21 UTC 2014
Diffstat (limited to 'social/haveged')
-rw-r--r-- | social/haveged/PKGBUILD | 28 | ||||
-rw-r--r-- | social/haveged/haveged | 44 |
2 files changed, 0 insertions, 72 deletions
diff --git a/social/haveged/PKGBUILD b/social/haveged/PKGBUILD deleted file mode 100644 index b5f2e680a..000000000 --- a/social/haveged/PKGBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Maintainer: kfgz <kfgz at interia dot pl> -# Contributor: pootzko <pootzko at gmail dot com> - -pkgname=haveged -pkgver=1.1 -pkgrel=1 -pkgdesc="A simple entropy daemon." -arch=('i686' 'x86_64') -url="http://www.issihosts.com/haveged" -license="GPL" -source=(${url}/${pkgname}-${pkgver}.tar.gz - haveged) -md5sums=('f7752f0355a0e89d8f196658db5f6884' - '264b725be5271288b40f363d7cfc6b68') - -build() { - cd ${srcdir}/${pkgname}-${pkgver} - ./configure --prefix=/usr - make -} - -package() { - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir} install - rm -rf ${pkgdir}/etc/init.d - cd ${srcdir} - install -D -m755 haveged ${pkgdir}/etc/rc.d/haveged -} diff --git a/social/haveged/haveged b/social/haveged/haveged deleted file mode 100644 index c0e13b40d..000000000 --- a/social/haveged/haveged +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash -## -# chkconfig: 2345 75 25 -# description: havege entropy daemon -# -# source function library -. /etc/rc.conf -. /etc/rc.d/functions - -RETVAL=0 -prog="haveged" - -case "$1" in -start) - stat_busy $"Starting $prog" - /usr/sbin/$prog -w 1024 -v 1 - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon $prog - stat_done - fi - ;; - -stop) - stat_busy $"Stopping $prog" - kill `cat /var/run/$prog.pid` - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon $prog - stat_done - rm -f /var/lock/$prog - fi - ;; - -restart) - $0 stop - $0 start - ;; - -*) - echo "usage: $prog [start|stop|restart]" -esac |