From 14dee6a48c0153ef89a9b5447f4c7259b0120f38 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sun, 4 Nov 2018 22:14:40 -0200 Subject: [PATCH] ntp: rebuild against libressl-2.8 --- srcpkgs/ntp/patches/libressl.patch | 22 ---------------------- srcpkgs/ntp/template | 2 +- 2 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 srcpkgs/ntp/patches/libressl.patch diff --git a/srcpkgs/ntp/patches/libressl.patch b/srcpkgs/ntp/patches/libressl.patch deleted file mode 100644 index dc920881783..00000000000 --- a/srcpkgs/ntp/patches/libressl.patch +++ /dev/null @@ -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 ---- 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" diff --git a/srcpkgs/ntp/template b/srcpkgs/ntp/template index fbe5650e9fd..79f941a47e2 100644 --- a/srcpkgs/ntp/template +++ b/srcpkgs/ntp/template @@ -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"