aboutsummaryrefslogtreecommitdiffstats
path: root/main/chrony/APKBUILD
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2017-01-19 22:20:56 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2017-01-19 22:20:56 +0100
commit9e1ef2361cf887aff02163bbd9b6375c69f97e68 (patch)
treeb8ff2bf060a4e5223b0df52f77daf7db6a360ab2 /main/chrony/APKBUILD
parent1b8ff05ca535047dbe32fc2242b7de54bbdeda27 (diff)
downloadaports-9e1ef2361cf887aff02163bbd9b6375c69f97e68.tar.gz
aports-9e1ef2361cf887aff02163bbd9b6375c69f97e68.tar.bz2
aports-9e1ef2361cf887aff02163bbd9b6375c69f97e68.tar.xz
main/chrony: upgrade to 3.0
Diffstat (limited to 'main/chrony/APKBUILD')
-rw-r--r--main/chrony/APKBUILD20
1 files changed, 10 insertions, 10 deletions
diff --git a/main/chrony/APKBUILD b/main/chrony/APKBUILD
index 566a7395f3..91a110235e 100644
--- a/main/chrony/APKBUILD
+++ b/main/chrony/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=chrony
-pkgver=2.4.1
+pkgver=3.0
pkgrel=0
_ver=${pkgver/_/-}
pkgdesc="NTP client and server programs"
@@ -13,7 +13,7 @@ arch="all"
license="GPL2"
install="$pkgname.pre-install $pkgname.pre-upgrade"
depends=""
-makedepends="libcap-dev texinfo"
+makedepends="libcap-dev texinfo asciidoctor"
subpackages="$pkgname-doc"
source="https://download.tuxfamily.org/$pkgname/$pkgname-$_ver.tar.gz
max_resolve_interval.patch
@@ -24,21 +24,21 @@ source="https://download.tuxfamily.org/$pkgname/$pkgname-$_ver.tar.gz
timepps.h
"
-_builddir="$srcdir"/$pkgname-$_ver
+builddir="$srcdir"/$pkgname-$_ver
prepare() {
- cd "$_builddir"
+ cd "$builddir"
# We copy timepps.h to the local build directory instead of
# creating a pps-tools-dev package for ppstime.h
# (See https://github.com/ago/pps-tools)
mkdir -p pps-tools/sys
- cp "$srcdir"/timepps.h "$_builddir"/pps-tools/sys/
+ cp "$srcdir"/timepps.h "$builddir"/pps-tools/sys/
# apply patches (if any)
default_prepare || return 1
}
build() {
- cd "$_builddir"
+ cd "$builddir"
CPPFLAGS="$CPPFLAGS -I./pps-tools/" ./configure \
--prefix=/usr \
--infodir=/usr/share/info \
@@ -52,7 +52,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/etc/logrotate.d
@@ -76,21 +76,21 @@ package() {
touch "$pkgdir"/var/lib/chrony/chrony.drift
}
-md5sums="d08dd5a7d79a89891d119adcccb4397d chrony-2.4.1.tar.gz
+md5sums="09d99dfc6620d584e7c44b9d112601a0 chrony-3.0.tar.gz
a756428186bb27884d157a9f2c9732c6 max_resolve_interval.patch
d62521b4c8837e15262c47ac88359307 chronyd.confd
93642fa5d3eed62c15a183f72023ec6f chronyd.initd
455da71ae961667dc7823300f3cf8ab4 chrony.logrotate
15fd3724c7e171c3e75a29d217e707b2 chrony.conf
28f6835098a216f4a620f9218d15b5b8 timepps.h"
-sha256sums="0fd59e0ef625b4459e3a9c7f221c52f56596582bce31abfae5f7369702edb6e0 chrony-2.4.1.tar.gz
+sha256sums="a0387b91a20f047856a56d6541a1cf920c91b53b32f74c123bcb70f1a5d2cd6d chrony-3.0.tar.gz
61528337a48ac82f0c393547b78a972c57fb3727ff75407c4335c9b014eb8db5 max_resolve_interval.patch
29040502f86c419dbfbc7e2627cc658a8df82b37da21b3d1fce2eed9136d8f99 chronyd.confd
a621ef2c5694c635e982de525357dff518562a3400378948e216a43dcf00ace6 chronyd.initd
4c4f95b03f7e2e240ad26943da44591b300862e328c97ef5690f5a9a66c97650 chrony.logrotate
d50a474d654ff4a1b742e712bbfc2d9e6c75e04b28ec9b86ee2054bdaf830fc0 chrony.conf
ab4f459ee9d1037d7fa962a66ea652b08935539a4f443dc216e82b5717d8bb22 timepps.h"
-sha512sums="7772065103ad95706f80374d88ba452b76cf8e29689abf22b38e7eb5ad2fcc491593e11702400daa8bf908218614df21b08ff15ab2d3d2347876119cd80abc4d chrony-2.4.1.tar.gz
+sha512sums="253361219e4699815dad703cf5ebfba5902aeb331650c4f0caa0278388312dcfbbf3423c0f3a4a5849c135eeb02dbd93776fbff602160e0dcf98857c1b6f7f67 chrony-3.0.tar.gz
19faf017e4502947a9b549b8165bf31bf11b814f2bf7b013a1ac11460afa654287d58de341cfa1f10b6a34334ed7d1d34e58b350c3c68bf6336530712d4db13c max_resolve_interval.patch
6919c7bddce2a8f81c0f2759c7c58506e97f89102bfeb7b5c19c6da5ed4cbd9070faddd4f3fb411bb4c653fffbdcc93a7f7dc810f38b199f038b1d4072f57640 chronyd.confd
9a18c9744d7b78d9b9be3f0ae0b43cb988b294c342764802e0d5df835d450e748584c0b345f7161f14d84e15c8bbd491514ee9dc45e4a65f1276c52124d2e312 chronyd.initd