openntpd: update to 6.1p1.

This commit is contained in:
Duncaen 2017-08-12 17:59:13 +02:00
parent f5adbfe38b
commit 495c0fe83e
2 changed files with 29 additions and 3 deletions

View File

@ -0,0 +1,26 @@
--- src/ntpd.h.orig
+++ src/ntpd.h
@@ -33,6 +33,10 @@
#include "ntp.h"
+#if !defined(HAVE_ATTRIBUTE__DEAD) && !defined(__dead)
+#define __dead __attribute__((__noreturn__))
+#endif
+
#define MAXIMUM(a, b) ((a) > (b) ? (a) : (b))
#ifndef NTPD_USER
--- src/log.c.orig
+++ src/log.c
@@ -24,6 +24,10 @@
#include <errno.h>
#include <time.h>
+#if !defined(HAVE_ATTRIBUTE__DEAD) && !defined(__dead)
+#define __dead __attribute__((__noreturn__))
+#endif
+
static int debug;
static int verbose;
const char *log_procname;

View File

@ -1,7 +1,7 @@
# Template file for 'openntpd' # Template file for 'openntpd'
pkgname=openntpd pkgname=openntpd
version=6.0p1 version=6.1p1
revision=3 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-privsep-user=$pkgname --with-cacert=/etc/ssl/certs.pem" configure_args="--with-privsep-user=$pkgname --with-cacert=/etc/ssl/certs.pem"
hostmakedepends="automake libtool" hostmakedepends="automake libtool"
@ -12,7 +12,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD" license="BSD"
homepage="http://openntpd.org/" homepage="http://openntpd.org/"
distfiles="http://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/${pkgname}-${version}.tar.gz" distfiles="http://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/${pkgname}-${version}.tar.gz"
checksum=b1ab80094788912adb12b33cb1f251cc58db39294c1b5c6376972f5f7ba577e8 checksum=c845d357b931db7e11727517ada3755e77ca846ea497792029b54c73d44b7dfa
conf_files="/etc/ntpd.conf" conf_files="/etc/ntpd.conf"
provides="ntp-daemon-0_1" provides="ntp-daemon-0_1"