aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2021-07-20 12:32:48 -0300
committerLeo <thinkabit.ukim@gmail.com>2021-07-20 12:34:04 -0300
commit3d272bb700c3ba6c7b47e18fee3af1133cf9ce5b (patch)
tree78d24cfb743f4bcc505565fdaba5a37678c3be2c
parent18a73b446c28978d51f79a187320802bfdf0bb16 (diff)
downloadaports-3d272bb700c3ba6c7b47e18fee3af1133cf9ce5b.tar.gz
aports-3d272bb700c3ba6c7b47e18fee3af1133cf9ce5b.tar.bz2
aports-3d272bb700c3ba6c7b47e18fee3af1133cf9ce5b.tar.xz
community/ntpsec: upgrade to 1.2.1
-rw-r--r--community/ntpsec/APKBUILD15
-rw-r--r--community/ntpsec/fix-py-install-path.patch24
2 files changed, 8 insertions, 31 deletions
diff --git a/community/ntpsec/APKBUILD b/community/ntpsec/APKBUILD
index 9da4a83afb..93a8ce286f 100644
--- a/community/ntpsec/APKBUILD
+++ b/community/ntpsec/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: tcely <ntpsec+aports@tcely.33mail.com>
# Maintainer:
pkgname=ntpsec
-pkgver=1.2.0
-pkgrel=2
+pkgver=1.2.1
+pkgrel=0
pkgdesc="NTP reference implementation, refactored for security"
url="https://www.ntpsec.org/"
arch="all"
@@ -10,11 +10,11 @@ license="BSD-2-Clause"
depends="bash busybox python3 py3-gpsd"
makedepends="python3-dev bison asciidoc openssl-dev linux-headers"
subpackages="$pkgname-doc $pkgname-dev"
-source="https://ftp.ntpsec.org/pub/releases/ntpsec-$pkgver.tar.gz
- fix-py-install-path.patch
- "
+source="https://ftp.ntpsec.org/pub/releases/ntpsec-$pkgver.tar.gz"
# secfixes:
+# 1.2.1-r0:
+# - CVE-2021-22212
# 1.1.3-r0:
# - CVE-2019-6442
# - CVE-2019-6443
@@ -48,5 +48,6 @@ package() {
./waf install --destdir="$pkgdir"
}
-sha512sums="9e18b3ca2f786a1ea323ba2384b51cff3d862115cea1ae576fc98172c476ac5e7d0d0fc873e47be0b19b050204ea9ed49669d94e66eb94525068dd1b08a8ae71 ntpsec-1.2.0.tar.gz
-7a469b021aa1953ec229633d6796d8d39a073959f4d9af4d08e6a07eeb18dcad590cfb6df534624b78b1196aaab2ddf147bc6fb90e41ff49ab6cbdfb1b75bac5 fix-py-install-path.patch"
+sha512sums="
+0b8b0bda52d3025f6e9a06c00b1e0c25c595ada72b87ed0e5d3d6f77a034f557745156bc6d9a263c9876c041efffa38d42fa93ba8bfda31f67efbd842a726277 ntpsec-1.2.1.tar.gz
+"
diff --git a/community/ntpsec/fix-py-install-path.patch b/community/ntpsec/fix-py-install-path.patch
deleted file mode 100644
index 3b0d515938..0000000000
--- a/community/ntpsec/fix-py-install-path.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 2c81d1cba0ccf59593d2c154a099fa1e766838ac Mon Sep 17 00:00:00 2001
-From: James Browning <jamesb.fe80@gmail.com>
-Date: Wed, 14 Oct 2020 11:06:19 -0700
-Subject: [PATCH 01/18] FFI: Fix the libntpc install path.
-
----
- libntp/wscript | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/libntp/wscript b/libntp/wscript
-index 34d84f68b..6f7659997 100644
---- a/libntp/wscript
-+++ b/libntp/wscript
-@@ -53,7 +53,6 @@ def build(ctx):
- # Loadable FFI stub
- ctx(
- features="c cshlib",
-- install_path='${LIBDIR}/ntp',
- includes=[ctx.bldnode.parent.abspath(), "../include"],
- source=["ntp_c.c", "pymodule-mac.c"] + libntp_source_sharable,
- target="../pylib/ntpc", # Put the output in the pylib directory
---
-2.29.2
-