diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-08-24 11:56:53 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-08-24 11:56:53 +0000 |
commit | 7b01fd486c85eee5c5a3c9438fdc879063061af5 (patch) | |
tree | b5c56bac1cb4f55b585b6e7456951470fcc315d7 /main/chrony/APKBUILD | |
parent | 96fe7d3661d0ea57b367d6daad2ea61f82ebeb94 (diff) | |
download | aports-7b01fd486c85eee5c5a3c9438fdc879063061af5.tar.bz2 aports-7b01fd486c85eee5c5a3c9438fdc879063061af5.tar.xz |
main/chrony: upgrade to 1.26
Diffstat (limited to 'main/chrony/APKBUILD')
-rw-r--r-- | main/chrony/APKBUILD | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/main/chrony/APKBUILD b/main/chrony/APKBUILD index bfe76062b..32a74e00f 100644 --- a/main/chrony/APKBUILD +++ b/main/chrony/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=chrony -pkgver=1.23 -pkgrel=8 +pkgver=1.26 +pkgrel=0 pkgdesc="NTP client and server programs" url="http://chrony.tuxfamily.org/" arch="all" @@ -10,11 +10,6 @@ depends="logrotate" makedepends="texinfo" subpackages="$pkgname-doc" source="http://download.tuxfamily.org/chrony/$pkgname-$pkgver.tar.gz - $pkgname-1.20-conf.c-gentoo.diff - $pkgname-1.20-chrony.conf.example-gentoo.diff - $pkgname-1.21-makefile.diff - $pkgname-1.23-sources.diff - $pkgname-1.23-reply-ip.diff chronyd.confd chronyd.initd chrony.logrotate @@ -26,9 +21,10 @@ prepare() { local i cd "$_builddir" - for i in ../*.diff; do - msg "Applying $i" - patch -p1 < $i || return 1 + for i in $source; do + case $i in + *.diff|*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1 + esac done sed -i "s:/etc/chrony:/etc/chrony/chrony:g" \ chrony*.[158] faq.txt chrony.texi || die "sed failed" @@ -48,7 +44,6 @@ package() { cd "$_builddir" make DESTDIR="$pkgdir" install - mv "$pkgdir"/usr/doc "$pkgdir"/usr/share/ install -D -m644 examples/*.example "$pkgdir"/usr/share/doc/chrony/ install -m755 -D "$srcdir"/chronyd.initd "$pkgdir"/etc/init.d/chronyd @@ -59,12 +54,7 @@ package() { touch "$pkgdir"/etc/chrony/chrony.drift install -m644 "$srcdir"/chrony.conf "$pkgdir"/etc/chrony/chrony.conf } -md5sums="ffce77695e55d8efda19ab0b78309c23 chrony-1.23.tar.gz -bd6bd57363865d3ed0c3187d0c9f7151 chrony-1.20-conf.c-gentoo.diff -b2a23e02f7af50bebdd5d18bccdedbf0 chrony-1.20-chrony.conf.example-gentoo.diff -d47015a34b6b2f9eebca77ef939cec72 chrony-1.21-makefile.diff -39cbce9f66638b67623e1ee6bb0f943f chrony-1.23-sources.diff -caa6589a1a1cd56f64957e312d1ef84c chrony-1.23-reply-ip.diff +md5sums="ad6dd619ff1986e4ff780363c64e2246 chrony-1.26.tar.gz d62521b4c8837e15262c47ac88359307 chronyd.confd f0c73948224cc1706cf9c94e4d2d7b69 chronyd.initd 468eaf2b5465d60b3ee021ce3f948ab1 chrony.logrotate |