blob: f506a90735146dc7ba45400debc93793e85eb702 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Contributor:
# Maintainer:
pkgname=ntpsec
pkgver=1.1.0
pkgrel=0
pkgdesc="NTP reference implementation, refactored for security"
url="https://www.ntpsec.org/"
arch="all"
license="BSD-2-Clause"
depends="python3"
makedepends="python3-dev bison asciidoc libressl-dev linux-headers"
subpackages="$pkgname-doc"
source="https://ftp.ntpsec.org/pub/releases/$pkgname-$pkgver.tar.gz
python-to-python3.patch"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./waf configure \
--prefix=/usr \
--python=/usr/bin/python3 \
--enable-leap-smear \
--enable-mssntp \
--refclock=all
./waf build --verbose
}
check() {
cd "$builddir"
./waf check --verbose
}
package() {
cd "$builddir"
./waf install --destdir="$pkgdir"
}
sha512sums="5c57f693e4d5681119f67a2d4e64edeb15d440a28e988c29ea3785bdc973cdf4e0849a96db95f72573f800702d7cfe5d7ed93e1966a161e7b646070df6162230 ntpsec-1.1.0.tar.gz
27053715fd6d3dbeeaf851faf502df380733826f02542ba73a36bf9129f00d710740f3702b36a7a950f4445e747f52f090c863a1a67680cc389810b117e4603a python-to-python3.patch"
|