Commit a715a805 authored by AlmAck's avatar AlmAck
Browse files

added haveged to speedup entropy generation

parent 3b671f86
# Arch Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
pkgname=haveged
pkgver=1.9.1
pkgrel=1
pkgdesc='Entropy harvesting daemon using CPU timings'
arch=('x86_64')
url='http://www.issihosts.com/haveged'
license=('GPL')
depends=('glibc')
validpgpkeys=('4CFBA9F06A360837CE23919DA24EDC651E265688') # Gary Wuertz <gary@issiweb.com>
source=("$url/$pkgname-$pkgver.tar.gz"
"$pkgname-$pkgver.tar.gz.sig::$url/verify/$pkgname-$pkgver.sig"
'service')
md5sums=('015ff58cd10607db0e0de60aeca2f5f8'
'SKIP'
'5b1afbd842300ff8dba0dfccef76514b')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin
make
}
package() {
make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
install -Dm644 service "$pkgdir"/usr/lib/systemd/system/haveged.service
}
[Unit]
Description=Entropy Harvesting Daemon
Documentation=man:haveged(8)
[Service]
ExecStart=/usr/bin/haveged -F -w 1024 -v 1
SuccessExitStatus=143
[Install]
WantedBy=multi-user.target
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment