diff options
Diffstat (limited to 'community/haveged')
-rw-r--r-- | community/haveged/PKGBUILD | 15 | ||||
-rw-r--r-- | community/haveged/haveged-1.7-build.patch | 13 | ||||
-rw-r--r-- | community/haveged/service | 2 |
3 files changed, 9 insertions, 21 deletions
diff --git a/community/haveged/PKGBUILD b/community/haveged/PKGBUILD index a0ebc3229..8992e61ee 100644 --- a/community/haveged/PKGBUILD +++ b/community/haveged/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 86268 2013-03-14 14:36:13Z bpiotrowski $ +# $Id: PKGBUILD 90384 2013-05-12 06:27:41Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com> # Contributor: kfgz <kfgz at interia dot pl> # Contributor: pootzko <pootzko at gmail dot com> @@ -6,26 +6,27 @@ pkgname=haveged pkgver=1.7.a _pkgver=${pkgver/.a/a} -pkgrel=1 +pkgrel=2 pkgdesc='Entropy harvesting daemon using CPU timings' arch=('i686' 'x86_64' 'mips64el') url='http://www.issihosts.com/haveged' license=('GPL') depends=('glibc') +options=('!libtool') source=($url/$pkgname-$_pkgver.tar.gz service) sha256sums=('8e7b0779bd8a4b9b73769ddaf626918355e2a542d3ac35e5ec31b74a58b9b051' - '85aed005b7d0d0bae74f7fc0ca70907a6f67ddbcb2df77ca004f9a919028564a') + 'badf8ceb5484d45888a089fabdfba5f44f6ec2930bca203c50200051a4d83e12') build() { - cd $srcdir/$pkgname-$_pkgver - ./configure --prefix=/usr + cd $pkgname-$_pkgver + ./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin make } package() { - cd $srcdir/$pkgname-$_pkgver - make DESTDIR=$pkgdir install + cd $pkgname-$_pkgver + make DESTDIR="$pkgdir" install rm -rf $pkgdir/etc/init.d install -D -m644 $srcdir/service $pkgdir/usr/lib/systemd/system/haveged.service diff --git a/community/haveged/haveged-1.7-build.patch b/community/haveged/haveged-1.7-build.patch deleted file mode 100644 index c32d1927e..000000000 --- a/community/haveged/haveged-1.7-build.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: haveged-1.7/src/Makefile.am -=================================================================== ---- haveged-1.7.orig/src/Makefile.am -+++ haveged-1.7/src/Makefile.am -@@ -27,7 +27,7 @@ pkginclude_HEADERS = havege.h - - haveged_SOURCES = haveged.c haveged.h - --haveged_LDADD = @HA_LDFLAGS@ $(top_builddir)/src/libhavege.la -+haveged_LDADD = @HA_LDFLAGS@ libhavege.la - ##libtool_end## - - MAINTAINERCLEANFILES = Makefile.in diff --git a/community/haveged/service b/community/haveged/service index 6803a0dec..676fb1893 100644 --- a/community/haveged/service +++ b/community/haveged/service @@ -4,7 +4,7 @@ Documentation=man:haveged(8) [Service] Type=forking -ExecStart=/usr/sbin/haveged -w 1024 -v 1 +ExecStart=/usr/bin/haveged -w 1024 -v 1 PIDFile=/var/run/haveged.pid [Install] |