ntp: security update to 4.2.8p10

This commit is contained in:
Alessio Sergi 2017-03-23 15:05:33 +01:00
parent b63a43e137
commit 55fe90279d
2 changed files with 8 additions and 8 deletions

View file

@ -9,14 +9,14 @@
/* ----------------------------------------------------------------- */
# 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"
--- 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"

View file

@ -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 <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=b724287778e1bac625b447327c9851eedef020517a3545625e9f652a90f30b72
checksum=ddd2366e64219b9efa0f7438e06800d0db394ac5c88e13c17b70d0dcdf99b99f
make_dirs="/var/db/ntpd 0755 ntpd ntpd"
conf_files="/etc/ntp.conf"