summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Swanson2017-03-23 00:52:05 -0700
committerMike Swanson2017-03-23 00:52:05 -0700
commitec56e9fd240e72d027d251663b96a492e412d480 (patch)
treea88b231844ae99df7334aba074b89124d3461f22
parentc23d607da6e0504cf207cc38b70be0c3bf6dbff1 (diff)
downloadaur-ec56e9fd240e72d027d251663b96a492e412d480.tar.gz
Update for 0.9.7
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD23
2 files changed, 13 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b400a3cafc3..013834549a3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sat Jan 7 12:44:37 UTC 2017
+# Thu Mar 23 07:50:01 UTC 2017
pkgbase = ntpsec-git
pkgdesc = Security-hardened Network Time Protocol implementation (Git HEAD)
- pkgver = 0.9.6.r146.36adfe859
+ pkgver = 0.9.7.r10.d72507311
pkgrel = 1
url = https://www.ntpsec.org/
arch = i686
@@ -13,7 +13,6 @@ pkgbase = ntpsec-git
makedepends = pps-tools
makedepends = w3m
depends = avahi
- depends = libevent
depends = libseccomp
depends = python
optdepends = gnuplot: for ntpviz
@@ -24,8 +23,8 @@ pkgbase = ntpsec-git
provides = ntpsec
conflicts = ntp
conflicts = ntpsec
- source = git+https://gitlab.com/NTPsec/ntpsec
- sha256sums = SKIP
+ source = git+https://gitlab.com/NTPsec/ntpsec.git
+ sha512sums = SKIP
pkgname = ntpsec-git
diff --git a/PKGBUILD b/PKGBUILD
index 79d202e0ec0..8f4b9e3d834 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
# Maintainer: Mike Swanson <mikeonthecomputer@gmail.com>
pkgname=ntpsec-git
-pkgver=0.9.6.r146.36adfe859
+pkgver=0.9.7.r10.d72507311
pkgrel=1
pkgdesc="Security-hardened Network Time Protocol implementation (Git HEAD)"
arch=('i686' 'x86_64')
url="https://www.ntpsec.org/"
license=('custom')
-depends=('avahi' 'libevent' 'libseccomp' 'python')
+depends=('avahi' 'libseccomp' 'python')
makedepends=('asciidoc' 'git' 'pps-tools' 'w3m')
optdepends=('gnuplot: for ntpviz'
'libevent: for ntpdig'
@@ -15,8 +15,8 @@ optdepends=('gnuplot: for ntpviz'
'ttf-liberation: Improves font quality in ntpviz renderings')
provides=('ntp' 'ntpsec')
conflicts=('ntp' 'ntpsec')
-source=("git+https://gitlab.com/NTPsec/ntpsec")
-sha256sums=('SKIP')
+source=("git+https://gitlab.com/NTPsec/ntpsec.git")
+sha512sums=('SKIP')
validpgpkeys=('DA3FDF774CC70FA64729EC4505D9B371477C7528')
pkgver() {
@@ -34,15 +34,13 @@ prepare() {
patch -p1 -i "$patch"
fi
done
-
- sed -i -e 's/sbin/bin/g' "etc/ntpd.service"
}
build() {
cd "${pkgname%%-git}"
- ./waf configure --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib \
+ ./waf configure --prefix=/usr --sbindir=/usr/bin \
--enable-debug-gdb --enable-seccomp --refclock=all \
- --sbindir=/usr/bin --enable-doc --htmldir=/usr/share/doc/${pkgname}
+ --enable-doc --htmldir=/usr/share/doc/${pkgname}
./waf build
a2x -f text docs/copyright.txt
}
@@ -56,12 +54,9 @@ package() {
cd "${pkgname%%-git}"
./waf install --destdir="$pkgdir/"
- install -d "$pkgdir/etc/logrotate.d"
- install -d "$pkgdir/usr/lib/systemd/system"
- install -d "$pkgdir/usr/share/licenses/${pkgname}"
- install -m 644 etc/logrotate-config.ntpd "$pkgdir/etc/logrotate.d/ntpd"
- install -m 644 etc/ntpd.service "$pkgdir/usr/lib/systemd/system/ntpd.service"
- install -m 644 docs/copyright.text "$pkgdir/usr/share/licenses/${pkgname}/COPYING"
+ install -Dm 644 etc/logrotate-config.ntpd "$pkgdir/etc/logrotate.d/ntpd"
+ install -Dm 644 etc/ntpd.service "$pkgdir/usr/lib/systemd/system/ntpd.service"
+ install -Dm 644 docs/copyright.text "$pkgdir/usr/share/licenses/${pkgname}/COPYING"
# --mandir, it does nothing!
mv "$pkgdir/usr/man" "$pkgdir/usr/share/man"