ntp: rebuild against libressl-2.8

This commit is contained in:
maxice8 2018-11-04 22:14:40 -02:00
parent 117bcb0479
commit 14dee6a48c
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
2 changed files with 1 additions and 23 deletions

View File

@ -1,22 +0,0 @@
--- 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 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 defined(OPENSSL) && OPENSSL_VERSION_NUMBER < 0x10100000L
+#if defined(OPENSSL) && (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.8p12
revision=1
revision=2
build_style=gnu-configure
configure_args="--with-crypto --enable-linuxcap --enable-ipv6 --enable-ntp-signd
--enable-all-clocks ol_cv_pthread_select_yields=yes"