aboutsummaryrefslogtreecommitdiffstats
path: root/main/chrony/APKBUILD
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2017-11-29 11:42:06 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2017-12-01 08:57:42 +0100
commit17382a0a54de0c97cf8c6056b1a1efff1a68d38b (patch)
tree9b760c962429cd18fdc09de6c249f4aaa6baf208 /main/chrony/APKBUILD
parent304320d9f274487a190f71ec9b43b4a632cc414d (diff)
downloadaports-17382a0a54de0c97cf8c6056b1a1efff1a68d38b.tar.gz
aports-17382a0a54de0c97cf8c6056b1a1efff1a68d38b.tar.bz2
aports-17382a0a54de0c97cf8c6056b1a1efff1a68d38b.tar.xz
main/chrony: add check
Diffstat (limited to 'main/chrony/APKBUILD')
-rw-r--r--main/chrony/APKBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/main/chrony/APKBUILD b/main/chrony/APKBUILD
index 28ff2d8db3..0cf797dd92 100644
--- a/main/chrony/APKBUILD
+++ b/main/chrony/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=chrony
pkgver=3.2
-pkgrel=1
+pkgrel=2
_ver=${pkgver/_/-}
pkgdesc="NTP client and server programs"
url="https://chrony.tuxfamily.org/"
@@ -14,8 +14,10 @@ license="GPL2"
install="$pkgname.pre-install $pkgname.pre-upgrade"
depends=""
makedepends="libcap-dev texinfo asciidoctor"
+checkdepends="bash"
subpackages="$pkgname-doc"
source="https://download.tuxfamily.org/$pkgname/$pkgname-$_ver.tar.gz
+ fix-tests.patch
max_resolve_interval.patch
chronyd.confd
chronyd.initd
@@ -51,6 +53,11 @@ build() {
make all docs
}
+check() {
+ cd "$builddir"
+ make check
+}
+
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
@@ -78,6 +85,7 @@ package() {
}
sha512sums="496af5bed91600f268c1a0fa577bb8c7785e485f78598b666829c674e94770c16548cec4289a2ae9d0a51191d2705eda00886cb6cccae3828aa201a49d4783a4 chrony-3.2.tar.gz
+067d47224a8c075ec8f63ffc58e65b030fdf228a72c4f03d50a2f2c17414da65bb5d27c7c2e4ba99e909f452041db83eaebe3c9e34c0c8fce18e05ebb489735e fix-tests.patch
19faf017e4502947a9b549b8165bf31bf11b814f2bf7b013a1ac11460afa654287d58de341cfa1f10b6a34334ed7d1d34e58b350c3c68bf6336530712d4db13c max_resolve_interval.patch
6919c7bddce2a8f81c0f2759c7c58506e97f89102bfeb7b5c19c6da5ed4cbd9070faddd4f3fb411bb4c653fffbdcc93a7f7dc810f38b199f038b1d4072f57640 chronyd.confd
9a18c9744d7b78d9b9be3f0ae0b43cb988b294c342764802e0d5df835d450e748584c0b345f7161f14d84e15c8bbd491514ee9dc45e4a65f1276c52124d2e312 chronyd.initd