summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-08-28 02:46:25 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-08-28 02:46:25 +0000
commit83c341ea66da889098fee907da0d1491fb4fb50b (patch)
tree6754e85a7bc686464d29276d2cf2817c5cd80d8f /user
parent3acdda418554ecd64ea33df0f92ef51ba1548c8d (diff)
downloadpackages-83c341ea66da889098fee907da0d1491fb4fb50b.tar.gz
packages-83c341ea66da889098fee907da0d1491fb4fb50b.tar.bz2
packages-83c341ea66da889098fee907da0d1491fb4fb50b.tar.xz
packages-83c341ea66da889098fee907da0d1491fb4fb50b.zip
user/ntpsec: New package
Diffstat (limited to 'user')
-rw-r--r--user/ntpsec/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/user/ntpsec/APKBUILD b/user/ntpsec/APKBUILD
new file mode 100644
index 000000000..f95a7ed3d
--- /dev/null
+++ b/user/ntpsec/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=ntpsec
+pkgver=1.1.9
+pkgrel=0
+pkgdesc="Secure implementation of Network Time Protocol (NTP)"
+url="https://www.ntpsec.org/"
+arch="all"
+options="!check" # No test suite.
+license="NTP AND BSD-2-Clause AND BSD-3-Clause AND MIT"
+depends="python3 py3-psutil"
+makedepends="asciidoctor bison libbsd-dev libexecinfo-dev m4 openssl-dev
+ python3-dev"
+subpackages="$pkgname-doc"
+source="ftp://ftp.ntpsec.org/pub/releases/ntpsec-$pkgver.tar.gz"
+
+build() {
+ python3 waf configure --prefix=/usr
+ python3 waf build
+}
+
+package() {
+ python3 waf install --destdir="$pkgdir"
+}
+
+sha512sums="e04267aa675a5b528f3478d00329a569ecb9bbe2b6ad18697020854d2ee451bc188c4603cd5f420a08a7e3bf047d2db1301416f57f9156df23aceb1f57303b0b ntpsec-1.1.9.tar.gz"