summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2021-05-13 10:30:12 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2021-05-13 10:30:12 -0700
commit379984d1b3db338e1afeb42dfc22e4cc64876852 (patch)
treee998995b9d2eae8135085273a90685b06623f609
parentUpdated to 4.0 (diff)
downloadchrony-379984d1b3db338e1afeb42dfc22e4cc64876852.tar.xz
Updated ot 0.9.1
Add flag for cross-compiling
-rw-r--r--PKGBUILD17
1 files changed, 10 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1417d23..3cd917c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,9 +12,9 @@
# Arch version is not configured for openrc
# Arch version uses /etc/chrony.conf instead of /etc/chrony/chrony.conf
-
+_cross=0
pkgname=chrony
-pkgver=4.0
+pkgver=4.1
pkgrel=1
pkgdesc='Lightweight NTP client and server'
url='https://chrony.tuxfamily.org/'
@@ -29,12 +29,14 @@ source=(https://download.tuxfamily.org/chrony/${pkgname}-${pkgver}.tar.gz
${pkgname}-${pkgver}.tar.gz.asc::https://download.tuxfamily.org/chrony/${pkgname}-${pkgver}-tar-gz-asc.txt
chrony.sysusers
chrony.tmpfiles)
-b2sums=('1d4035977be3603b34024c5c1c2aa5f2b4aca03fe7dc1eb41be2e9aeefa06e20a5f74776c50bdadaffba10ae25e7980bcbd9cf2b999bd73087728afe7a80253e'
+b2sums=('f9c4b44c521ee592c109b8a3d500b9cb3ea4fbf0d7dce9d8754498ad41ce2ac87c913cf72a38557ce5f28208672163b21b067307f723fd91cc91d71f69e739ef'
'SKIP'
'e310a05f95d84741f7ddbbc496c52a9f603bb79afc47e57d291a92ae02efb630a357fda378ab5a11875c3997d073e05019d88dce7bbf4377a0228f328ba78fec'
'e709df2f97b523ef1c7a9dae3232ccbd235ac8f025eba866165272f8ba0372a0aba965d3aae1402395e43331bd629b9d8f3fbffd75fc254f4a7e5ecd47f73130')
-validpgpkeys=('8B1F4A9ADA73D401E3085A0B5FF06F29BA1E013B') # Miroslav Lichvar <mlichvar@redhat.com> has a dsa1024 key *in the wild*
-
+# https://chrony.tuxfamily.org/gpgkey-8F375C7E8D0EE125A3D3BD51537E2B76F7680DAC.asc
+validpgpkeys=(
+ '8F375C7E8D0EE125A3D3BD51537E2B76F7680DAC' # Miroslav Lichvar <mlichvar@redhat.com>
+ )
prepare() {
cd ${pkgname}-${pkgver}
sed -i \
@@ -52,7 +54,6 @@ build() {
export LDFLAGS="$LDFLAGS,-pie"
./configure \
--prefix=/usr \
- --enable-readline \
--enable-scfilter \
--enable-ntp-signd \
--with-user=chrony \
@@ -63,7 +64,9 @@ build() {
make
}
-if [ "$_cross" != "1" ]; then
+# tests are target architecture specific
+# Disable for cross compiling
+if [ "${_cross}" == "0" ]; then
check() {
cd ${pkgname}-${pkgver}
make check