[arch-commits] Commit in openntpd/trunk (PKGBUILD)
Vesa Kaihlavirta
vesa at archlinux.org
Fri Jan 9 06:13:07 UTC 2015
Date: Friday, January 9, 2015 @ 07:13:06
Author: vesa
Revision: 125640
Upgrade upstream, remove linux-adjtimex patch, don't remove run directory: it's not there anymore
Modified:
openntpd/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++---------------
1 file changed, 7 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-01-09 04:03:19 UTC (rev 125639)
+++ PKGBUILD 2015-01-09 06:13:06 UTC (rev 125640)
@@ -5,8 +5,8 @@
# Contributor: Alexander Rødseth <rodseth at gmail.com>
pkgname=openntpd
-pkgver=3.9p1
-pkgrel=24
+pkgver=5.7p1
+pkgrel=1
pkgdesc='Free, easy to use implementation of the Network Time Protocol.'
url='http://www.openntpd.org/'
arch=('x86_64' 'i686')
@@ -16,17 +16,12 @@
backup=('etc/ntpd.conf')
install=$pkgname.install
source=("ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/$pkgname-$pkgver.tar.gz"
- 'linux-adjtimex.patch'
'openntpd.tmpfiles'
'openntpd.service')
-sha256sums=('83dd7c1e8ec8b4567afe49af539271b5a73562fb7a3ca51df73eccba89ec8c49'
- '3abcec94c072b5913ef7156a22049d796ff04e19105befe1ea81a66522928fd2'
- 'fe12841110c3c080519e248988c4b6334f54bd9646b015753c7e15de2a9600c5'
- '3239fc6f69d661cd9233233da9e68bebdf7b12888febbc2f2d794742db2d8ed1')
-prepare() {
- patch -Np1 -d $pkgname-$pkgver < linux-adjtimex.patch
-}
+md5sums=('800c5d3ef2b8e3ac403698fdf0c54c2a'
+ 'e363bdf1623401fba396c9486f3a9524'
+ '682c431a66fc42b800844431946d3445')
build() {
cd $pkgname-$pkgver
@@ -45,8 +40,8 @@
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
- install -Dm644 "$srcdir/$pkgname-$pkgver/LICENCE" \
- "$pkgdir/usr/share/licenses/$pkgname/LICENCE"
+ install -Dm644 "$srcdir/$pkgname-$pkgver/COPYING" \
+ "$pkgdir/usr/share/licenses/$pkgname/COPYING"
sed -i 's/\*/0.0.0.0/' "$pkgdir/etc/ntpd.conf"
install -d -o 87 -g 87 "$pkgdir/var/lib/ntp"
@@ -53,9 +48,6 @@
install -Dm644 "$srcdir/openntpd.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/openntpd.conf"
install -Dm644 "$srcdir/openntpd.service" "$pkgdir/usr/lib/systemd/system/openntpd.service"
- # avoid conflict with filesystem>=2012.06
- rm -r "$pkgdir/run"
-
install -dm755 "$pkgdir/usr/lib/systemd/ntp-units.d"
echo "$pkgname.service" > "$pkgdir/usr/lib/systemd/ntp-units.d/$pkgname.list"
}
More information about the arch-commits
mailing list