aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-05-20 21:01:55 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-05-20 21:05:31 +0200
commitb6b34d216eee16327877194ef19ef9ab61123ae9 (patch)
treeff6cfc664fecd2b27071f69cde40da23ce92f5a2 /community
parent650df8711848204f3b569e4be76d6820941f8c69 (diff)
downloadaports-b6b34d216eee16327877194ef19ef9ab61123ae9.tar.bz2
aports-b6b34d216eee16327877194ef19ef9ab61123ae9.tar.xz
community/rng-tools: upgrade to 6.2 (new upstream)
Diffstat (limited to 'community')
-rw-r--r--community/rng-tools/APKBUILD23
1 files changed, 17 insertions, 6 deletions
diff --git a/community/rng-tools/APKBUILD b/community/rng-tools/APKBUILD
index 0169a9a95c..648cf7f20c 100644
--- a/community/rng-tools/APKBUILD
+++ b/community/rng-tools/APKBUILD
@@ -1,30 +1,41 @@
# Contributor: Dennis Przytarski <dennis@przytarski.com>
# Maintainer: ScrumpyJack <scrumypjack@st.ilet.to>
pkgname=rng-tools
-pkgver=5
-pkgrel=3
+pkgver=6.2
+pkgrel=0
pkgdesc="A random number generator daemon"
url="https://sourceforge.net/projects/gkernel/"
arch="all"
license="GPL-2.0-or-later"
-makedepends="argp-standalone linux-headers"
+makedepends="argp-standalone autoconf automake linux-headers libtool sysfsutils-dev"
subpackages="$pkgname-doc"
-source="http://downloads.sourceforge.net/project/gkernel/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/nhorman/$pkgname/archive/v$pkgver.tar.gz
fix-textrels-on-PIC-x86.patch
rngd.confd
rngd.initd
"
builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ default_prepare
+ ./autogen.sh
+}
+
build() {
cd "$builddir"
export LIBS="-largp"
+
+ # NOTE: nistbeacon depends on libxml2 and libcurl, so it would
+ # significantly increase rng-tools' total size.
+ # Likewise for libgcrypt.
./configure \
--prefix=/usr \
--libexecdir=/usr/lib/rng-tools \
--sysconfdir=/etc \
- --disable-silent-rules
+ --disable-silent-rules \
+ --without-libgcrypt \
+ --without-nistbeacon
make
}
@@ -37,7 +48,7 @@ package() {
install -m 755 -D "$srcdir"/rngd.initd "$pkgdir"/etc/init.d/rngd
}
-sha512sums="58047c37cad4f5f1210b696e4dba122878f78e57d05d9cb822f79234240ecce31efd2d39061fea1eb5b2e81d48d8c3bf6b92d06451f1ce5d5db7117704e89c50 rng-tools-5.tar.gz
+sha512sums="ffd8be5b232f092f8bcfdb6281580ce9053ec8bb87ff6bcae76585c38e3e91b9e464a9544a33ecd9814a9f244a89bac973d15c9bd3560d1164559685c720d174 rng-tools-6.2.tar.gz
5c8196c3e70c093215fc0720cd3f58f339f74293a7eb35d95b914591d783472119dcc34fb27ab6a4c3ce5359e050b4987d1e7ddf213a7445fc0b70d9fae5eae5 fix-textrels-on-PIC-x86.patch
ce82f583ab06580f038f17d4ecc84655cfc001abf344f9a50d12b8c1a5a6c4b74c386fbbc8b130201e4c34a7d99da75a4e64bcc41b2aebd381e74a352b5531c4 rngd.confd
46abb31d575854a51fc5ee1d31eb436e153cf969435d5b835d6fb44f4bdce549378ca9abcd81142abeb650312bd62133552eed2bec4eb9035f9456f739f1a3b7 rngd.initd"