aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/haveged/APKBUILD48
1 files changed, 16 insertions, 32 deletions
diff --git a/testing/haveged/APKBUILD b/testing/haveged/APKBUILD
index e3548c7a04..135dc37faa 100644
--- a/testing/haveged/APKBUILD
+++ b/testing/haveged/APKBUILD
@@ -1,51 +1,35 @@
+# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Danilo Godec <danilo.godec@agenda.si>
-# Maintainer:
+
pkgname=haveged
-pkgver=1.2
+pkgver=1.6
pkgrel=1
-pkgdesc="haveged is a daemon that feeds the /dev/random pool on Linux"
+pkgdesc='Entropy harvesting daemon using CPU timings'
url="http://www.issihosts.com/haveged/"
arch="all"
license="GPL"
-depends=""
-depends_dev=""
-makedepends="$depends_dev"
-install=""
subpackages="$pkgname-doc"
source="http://www.issihosts.com/haveged/haveged-$pkgver.tar.gz
- haveged.initd haveged.confd"
+ haveged.initd haveged.confd"
_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
build() {
- cd "$_builddir"
- ./configure --prefix /usr --sysconfdir /etc
- make || return 1
- make check || return 1
+ cd "$_builddir"
+ ./configure --prefix /usr --sysconfdir /etc || return 1
+ make || return 1
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install
- install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
- install -Dm644 AUTHORS "$pkgdir"/usr/share/doc/$pkgname/AUTHORS
- install -Dm644 ChangeLog "$pkgdir"/usr/share/doc/$pkgname/ChangeLog
- install -Dm644 INSTALL "$pkgdir"/usr/share/doc/$pkgname/INSTALL
- install -Dm644 NEWS "$pkgdir"/usr/share/doc/$pkgname/NEWS
- install -Dm644 README "$pkgdir"/usr/share/doc/$pkgname/README
- install -Dm755 "$srcdir"/haveged.initd "$pkgdir"/etc/init.d/haveged
- install -Dm644 "$srcdir"/haveged.confd "$pkgdir"/etc/conf.d/haveged
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+
+ install -Dm755 "$srcdir"/haveged.initd \
+ "$pkgdir"/etc/init.d/haveged || return 1
+ install -Dm644 "$srcdir"/haveged.confd \
+ "$pkgdir"/etc/conf.d/haveged || return 1
}
-md5sums="dc961f36c065239f2ddeeb840ddf9ec0 haveged-1.2.tar.gz
+md5sums="5a386a530e89bfbc6c8d22717b16e2a8 haveged-1.6.tar.gz
0718d29f820b878a311e939b3682935c haveged.initd
242300ea7948a16018d1b0f77fb5ec96 haveged.confd"