summaryrefslogtreecommitdiff
path: root/community/openntpd
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-09 03:58:56 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-09 03:58:56 +0000
commitebfbe6aa4a09806147654dd9e8d512cd68921e0d (patch)
tree645198602e94164a4130285756f401ae0b0756fd /community/openntpd
parent3092fe0e20f490a5f9b8b9602ffc039a22be60c0 (diff)
Thu Jan 9 03:54:24 UTC 2014
Diffstat (limited to 'community/openntpd')
-rw-r--r--community/openntpd/PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/community/openntpd/PKGBUILD b/community/openntpd/PKGBUILD
index 4eafda56d..3e7145661 100644
--- a/community/openntpd/PKGBUILD
+++ b/community/openntpd/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 91455 2013-05-22 23:28:35Z seblu $
+# $Id: PKGBUILD 103646 2014-01-08 18:14:53Z bgyorgy $
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
# Contributor: Mark Rosenstand <mark@borkware.net>
# Contributor: Giorgio Lando <patroclo7@gmail.com> (adjtimex patch)
@@ -6,7 +6,7 @@
pkgname=openntpd
pkgver=3.9p1
-pkgrel=22
+pkgrel=23
pkgdesc='Free, easy to use implementation of the Network Time Protocol.'
url='http://www.openntpd.org/'
arch=('x86_64' 'i686')
@@ -47,8 +47,9 @@ package() {
make DESTDIR="$pkgdir" install
install -Dm644 "$srcdir/$pkgname-$pkgver/LICENCE" \
"$pkgdir/usr/share/licenses/$pkgname/LICENCE"
- sed -i 's/\*/0.0.0.0/' $pkgdir/etc/ntpd.conf
+ sed -i 's/\*/0.0.0.0/' "$pkgdir/etc/ntpd.conf"
+ install -d -o 87 "pkgdir/var/lib/ntp"
install -Dm644 "$srcdir/openntpd.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/openntpd.conf"
install -Dm644 "$srcdir/openntpd.service" "$pkgdir/usr/lib/systemd/system/openntpd.service"