ntp: update to 4.2.8p9

This commit is contained in:
Alessio Sergi 2016-11-24 16:11:48 +01:00
parent 9c261bf72e
commit 0a21c2e5ae
2 changed files with 25 additions and 3 deletions

View file

@ -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 <openssl/objects.h>
--- 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"

View file

@ -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 <xtraeme@voidlinux.eu>"
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"