From 0a21c2e5aef4f55028a96d1f772e88d4478db698 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Thu, 24 Nov 2016 16:11:48 +0100 Subject: [PATCH] ntp: update to 4.2.8p9 --- srcpkgs/ntp/patches/libressl.patch | 22 ++++++++++++++++++++++ srcpkgs/ntp/template | 6 +++--- 2 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/ntp/patches/libressl.patch diff --git a/srcpkgs/ntp/patches/libressl.patch b/srcpkgs/ntp/patches/libressl.patch new file mode 100644 index 00000000000..8fa439dab7d --- /dev/null +++ b/srcpkgs/ntp/patches/libressl.patch @@ -0,0 +1,22 @@ +--- include/libssl_compat.h.orig 2016-11-21 13:28:40.000000000 +0100 ++++ include/libssl_compat.h 2016-11-24 12:43:14.297426937 +0100 +@@ -25,7 +25,7 @@ + #include "openssl/rsa.h" + + /* ----------------------------------------------------------------- */ +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + /* ----------------------------------------------------------------- */ + + # 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" + + /* ----------------------------------------------------------------- */ +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + /* ----------------------------------------------------------------- */ + + #include "libssl_compat.h" diff --git a/srcpkgs/ntp/template b/srcpkgs/ntp/template index a2050786577..74c8311592d 100644 --- a/srcpkgs/ntp/template +++ b/srcpkgs/ntp/template @@ -1,7 +1,7 @@ # Template file for 'ntp' pkgname=ntp -version=4.2.8p8 -revision=4 +version=4.2.8p9 +revision=1 build_style=gnu-configure configure_args="--with-crypto --enable-linuxcap --enable-ipv6 --enable-ntp-signd --enable-all-clocks ol_cv_pthread_select_yields=yes" @@ -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=2ab3d0b5f0456e6311dda1cc27ab75da108762773a19e46abd938bd9407b97ee +checksum=b724287778e1bac625b447327c9851eedef020517a3545625e9f652a90f30b72 make_dirs="/var/db/ntpd 0755 ntpd ntpd" conf_files="/etc/ntp.conf"