aboutsummaryrefslogtreecommitdiffstats
path: root/main/chrony/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2017-10-28 10:19:38 +0300
committerTimo Teräs <timo.teras@iki.fi>2017-10-28 10:24:16 +0300
commitf9681a0da056043513eafde342dbbc78ba57e297 (patch)
tree4746fc687b27e757302a9da580b571fa9f455855 /main/chrony/APKBUILD
parent21bbc56f76863fc86c1e72057371a9edaaf17e4e (diff)
downloadaports-f9681a0da056043513eafde342dbbc78ba57e297.tar.gz
aports-f9681a0da056043513eafde342dbbc78ba57e297.tar.bz2
aports-f9681a0da056043513eafde342dbbc78ba57e297.tar.xz
main/chrony: enable ms-sntp signing, modernize
fixes #8069
Diffstat (limited to 'main/chrony/APKBUILD')
-rw-r--r--main/chrony/APKBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/chrony/APKBUILD b/main/chrony/APKBUILD
index 627e917c50..28ff2d8db3 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=0
+pkgrel=1
_ver=${pkgver/_/-}
pkgdesc="NTP client and server programs"
url="https://chrony.tuxfamily.org/"
@@ -34,7 +34,7 @@ prepare() {
cp "$srcdir"/timepps.h "$builddir"/pps-tools/sys/
# apply patches (if any)
- default_prepare || return 1
+ default_prepare
}
build() {
@@ -47,8 +47,8 @@ build() {
--disable-readline \
--with-user=$pkgname \
--with-sendmail=/usr/sbin/sendmail \
- || return 1
- make all docs || return 1
+ --enable-ntp-signd
+ make all docs
}
package() {
@@ -56,7 +56,7 @@ package() {
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/etc/logrotate.d
- install -Dm644 "$srcdir"/chrony.logrotate "$pkgdir"/etc/logrotate.d/chrony || return 1
+ install -Dm644 "$srcdir"/chrony.logrotate "$pkgdir"/etc/logrotate.d/chrony
mkdir -p "$pkgdir"/usr/share/doc/chrony
install -m644 examples/*.example "$pkgdir"/usr/share/doc/chrony/