From 65658725d5187e11fee6c2f2fcc68c8aa62e7853 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Fri, 19 Oct 2018 12:41:19 +0200 Subject: main/chrony: upgrade to 3.4 --- .../0001-hash-include-util.h-for-MIN-macro.patch | 23 ++++++++++++++++++++++ main/chrony/APKBUILD | 9 ++++++--- 2 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 main/chrony/0001-hash-include-util.h-for-MIN-macro.patch (limited to 'main') diff --git a/main/chrony/0001-hash-include-util.h-for-MIN-macro.patch b/main/chrony/0001-hash-include-util.h-for-MIN-macro.patch new file mode 100644 index 0000000000..bdba5eb80e --- /dev/null +++ b/main/chrony/0001-hash-include-util.h-for-MIN-macro.patch @@ -0,0 +1,23 @@ +From 948ecf84314f78da82e0e2b07b6570ca9cff86c8 Mon Sep 17 00:00:00 2001 +From: Miroslav Lichvar +Date: Thu, 20 Sep 2018 15:01:16 +0200 +Subject: [PATCH] hash: include util.h for MIN macro + +The hash_intmd5.c file inadvertently relied on the system headers to +provide the MIN macro, but it is missing with some libc implementations. +--- + hash_intmd5.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/hash_intmd5.c b/hash_intmd5.c +index 0b60f9b..49da1cf 100644 +--- a/hash_intmd5.c ++++ b/hash_intmd5.c +@@ -29,6 +29,7 @@ + #include "sysincl.h" + #include "hash.h" + #include "memory.h" ++#include "util.h" + + #include "md5.c" + diff --git a/main/chrony/APKBUILD b/main/chrony/APKBUILD index b99ddcf45d..f4de854658 100644 --- a/main/chrony/APKBUILD +++ b/main/chrony/APKBUILD @@ -2,8 +2,8 @@ # Contributor: Sören Tempel # Maintainer: Natanael Copa pkgname=chrony -pkgver=3.3 -pkgrel=1 +pkgver=3.4 +pkgrel=0 _ver=${pkgver/_/-} pkgdesc="NTP client and server programs" url="https://chrony.tuxfamily.org" @@ -17,8 +17,10 @@ makedepends="asciidoctor libcap-dev texinfo" checkdepends="bash" subpackages="$pkgname-doc" source="https://download.tuxfamily.org/$pkgname/$pkgname-$_ver.tar.gz + 0001-hash-include-util.h-for-MIN-macro.patch fix-tests.patch max_resolve_interval.patch + chronyd.confd chronyd.initd chrony.logrotate @@ -81,7 +83,8 @@ package() { touch "$pkgdir"/var/lib/chrony/chrony.drift } -sha512sums="36975d863599141e8e5b071d35cf67326b27f5b0da7ec942dbb4530377d10472b0729eea632e0702718b515cb2d5fd41a7eba158e6dade7f05adfb1bdffa5df0 chrony-3.3.tar.gz +sha512sums="4fbb0311c8d363a87edd6f5d1be3d8554da169f260ba23c1ad9e8c567808258c6fd7513ba630d6fa27453ecfd81f0ece0e26d5ee2f98ca47fbc9887181a36918 chrony-3.4.tar.gz +47767eaec7be0dfd41b3bf8bf733cbabbc949a8ab6987a655336b54789649c43df6d79f96712c71535ef1df11e2e9f9ef02f7e380e1a201cc3d2b7b4dbfc3026 0001-hash-include-util.h-for-MIN-macro.patch 067d47224a8c075ec8f63ffc58e65b030fdf228a72c4f03d50a2f2c17414da65bb5d27c7c2e4ba99e909f452041db83eaebe3c9e34c0c8fce18e05ebb489735e fix-tests.patch b26581ed32680585edea5b8163a0062a87f648394c0f363c77a7d01a36608fcf4d005d9e6ab179ed2827b8a08f598f7bad4801bb5e135cad5107eb77fb19b247 max_resolve_interval.patch 0490770cc214b4ccf76470420e0b33e6c41ad16344d6503973a28346b002e2cee441e9ae982be1a8f21696da26f436f2ce36a5201e9628becb83bad3487d9170 chronyd.confd -- cgit v1.2.3