diff options
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 13 insertions, 19 deletions
@@ -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 @@ -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" |