aboutsummaryrefslogtreecommitdiffstats
path: root/main/openntpd/APKBUILD
diff options
context:
space:
mode:
authorsystmkor <systmkor@gmail.com>2015-06-03 18:15:38 -0700
committerFrancesco Colista <fcolista@alpinelinux.org>2015-06-09 13:04:13 +0000
commit040423f544ac56b6caf4f84ef716d049f4752fab (patch)
treeeee95755de93f4c8c221424b85563208521c4f25 /main/openntpd/APKBUILD
parent6b960b510b70a693cb5c1e88e69d8c23fb3004ec (diff)
downloadaports-040423f544ac56b6caf4f84ef716d049f4752fab.tar.bz2
aports-040423f544ac56b6caf4f84ef716d049f4752fab.tar.xz
main/openntpd: upgrade to 5.7_p4
Diffstat (limited to 'main/openntpd/APKBUILD')
-rw-r--r--main/openntpd/APKBUILD22
1 files changed, 8 insertions, 14 deletions
diff --git a/main/openntpd/APKBUILD b/main/openntpd/APKBUILD
index 70c9a847b3..d2de528464 100644
--- a/main/openntpd/APKBUILD
+++ b/main/openntpd/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=openntpd
-pkgver=5.7_p1
+pkgver=5.7_p4
_myver=${pkgver/_/}
pkgrel=0
pkgdesc="Lightweight NTP server ported from OpenBSD"
@@ -13,12 +13,12 @@ makedepends="openssl-dev linux-headers bsd-compat-headers"
arch="all"
license=BSD
source="
- ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/openntpd-$_myver.tar.gz
- fix-cdecls.patch
- adjtimex.patch
+ http://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/openntpd-$_myver.tar.gz
openntpd.confd
openntpd.initd
"
+#fix-cdecls.patch
+#adjtimex.patch
_builddir="$srcdir"/openntpd-$_myver
prepare() {
@@ -29,7 +29,7 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
- sed -i '/NTPD_USER/s:_ntp:ntp:' ntpd.h || return 1
+ sed -i '/NTPD_USER/s:_ntp:ntp:' src/ntpd.h || return 1
}
build() {
@@ -52,18 +52,12 @@ package() {
install -Dm644 ../openntpd.confd "$pkgdir/etc/conf.d/$pkgname"
}
-md5sums="800c5d3ef2b8e3ac403698fdf0c54c2a openntpd-5.7p1.tar.gz
-4d18d6b30d33ccc1f7edaddef380b50b fix-cdecls.patch
-8b1acd9ba6f9ff71af0bda7111f1d91f adjtimex.patch
+md5sums="9d818a143fbc5d830203fa2f4b4c6a2a openntpd-5.7p4.tar.gz
e3eee9eb2ea092dfdf9d887cd6df5795 openntpd.confd
e7856ad0eef420922f1d501d9ccac117 openntpd.initd"
-sha256sums="071cfdcfc179c481568a2b8262945243a3123abfc7fa8831da1bbff3729b8307 openntpd-5.7p1.tar.gz
-2c218a8ca4bce116136599f8183db4687fed30c7db4428e9b7db62147037cdce fix-cdecls.patch
-f83fc039e99376a2952956ecfa649eb050e621307202166c7636fc2a1ff18391 adjtimex.patch
+sha256sums="a993d95976e375acc0ab1a677fd268f55024477835633c8ae404895046bccb23 openntpd-5.7p4.tar.gz
a1cb9dc8fbbaf6f439d6547bce9d59e86e7e13855b037d33bad1f789fb7050f3 openntpd.confd
42987f19f2fc54455c8aeed0e9bc586ceafae85762cb20e33858139208ab6c79 openntpd.initd"
-sha512sums="2fe6f7daae147eca616bbc76bbcc9d0d2d03cb705f1437a3fa21c98114ce9b78eabbbcbf9ed38d4d7752936a9bf2ee2cabe0a75dfa8f00980088dc2d9f8ac4df openntpd-5.7p1.tar.gz
-123315d157017962c5838ed7dcf227c5e442330a0676fe9a96f099211118b525f8b15d0eaac8f466836bcbfaed3b469b9740966566e96b3dfef2e99f4d93677f fix-cdecls.patch
-1538062645a675cd7b30dbe5be31be7bf06353fe8730dcc45f62d7273b3daf0e90bf377312e7681df3257fd99238cb6fb4d8220c6502179604bded2ea8816d6c adjtimex.patch
+sha512sums="2a185139c915482086069fa19dd3070884a415137d1688059559d2da892928afbbe2fa0a8ade70d474809710265dcc05906abaf261892d7894e70272e2e516ef openntpd-5.7p4.tar.gz
a80de3a07eadebeb67b2a3532713df34f1c2113965001f50bdad90f66df6fe57af08e9fba7afac9c5f0afb52d2318c120cd4eb428255f8bc5ef748cefd7e106a openntpd.confd
0cdead06e4b359ecedb1065c929ddd66ef3bc5d321bd96e462abf1f55ab289c36793ee5e8f4262c0b7ef7e3532f3613fa66ca22e88f742814f357310465b7d99 openntpd.initd"