diff --git a/srcpkgs/ntp/patches/libressl.patch b/srcpkgs/ntp/patches/libressl.patch index 8fa439dab7d..dc920881783 100644 --- a/srcpkgs/ntp/patches/libressl.patch +++ b/srcpkgs/ntp/patches/libressl.patch @@ -9,14 +9,14 @@ /* ----------------------------------------------------------------- */ # include ---- libntp/libssl_compat.c.orig 2016-11-21 13:28:40.000000000 +0100 -+++ libntp/libssl_compat.c 2016-11-24 12:43:34.507174281 +0100 -@@ -23,7 +23,7 @@ - #include "ntp_types.h" +--- libntp/libssl_compat.c.orig 2017-02-01 10:47:13.000000000 +0100 ++++ libntp/libssl_compat.c 2017-03-23 13:03:13.569465673 +0100 +@@ -26,7 +26,7 @@ + /* ----------------------------------------------------------------- */ /* ----------------------------------------------------------------- */ --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) +-#if defined(OPENSSL) && OPENSSL_VERSION_NUMBER < 0x10100000L ++#if defined(OPENSSL) && (OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)) /* ----------------------------------------------------------------- */ #include "libssl_compat.h" diff --git a/srcpkgs/ntp/template b/srcpkgs/ntp/template index 74c8311592d..92b7765acbf 100644 --- a/srcpkgs/ntp/template +++ b/srcpkgs/ntp/template @@ -1,6 +1,6 @@ # Template file for 'ntp' pkgname=ntp -version=4.2.8p9 +version=4.2.8p10 revision=1 build_style=gnu-configure configure_args="--with-crypto --enable-linuxcap --enable-ipv6 --enable-ntp-signd @@ -12,7 +12,7 @@ license="2-clause-BSD" maintainer="Juan RP " homepage="http://www.ntp.org/" distfiles="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${version}.tar.gz" -checksum=b724287778e1bac625b447327c9851eedef020517a3545625e9f652a90f30b72 +checksum=ddd2366e64219b9efa0f7438e06800d0db394ac5c88e13c17b70d0dcdf99b99f make_dirs="/var/db/ntpd 0755 ntpd ntpd" conf_files="/etc/ntp.conf"