openntpd: update to 6.8p1
This commit is contained in:
parent
73b1ce4a95
commit
885a87f11c
3 changed files with 7 additions and 34 deletions
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
[ -r conf ] && . ./conf
|
[ -r conf ] && . ./conf
|
||||||
exec openntpd -d ${OPTS:=-s} 2>&1
|
exec openntpd -d ${OPTS} 2>&1
|
||||||
|
|
|
@ -1,26 +0,0 @@
|
||||||
--- a/src/ntpd.h
|
|
||||||
+++ b/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
|
|
||||||
--- a/src/log.c
|
|
||||||
+++ b/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;
|
|
|
@ -1,9 +1,9 @@
|
||||||
# Template file for 'openntpd'
|
# Template file for 'openntpd'
|
||||||
pkgname=openntpd
|
pkgname=openntpd
|
||||||
version=6.2p3
|
version=6.8p1
|
||||||
revision=9
|
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=openntpd --with-cacert=/etc/ssl/certs.pem"
|
||||||
hostmakedepends="automake libtool"
|
hostmakedepends="automake libtool"
|
||||||
makedepends="libtls-devel"
|
makedepends="libtls-devel"
|
||||||
depends="ca-certificates"
|
depends="ca-certificates"
|
||||||
|
@ -11,8 +11,8 @@ short_desc="FREE, easy to use implementation of the Network Time Protocol"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="ISC"
|
license="ISC"
|
||||||
homepage="http://openntpd.org/"
|
homepage="http://openntpd.org/"
|
||||||
distfiles="http://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/${pkgname}-${version}.tar.gz"
|
distfiles="https://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/${pkgname}-${version}.tar.gz"
|
||||||
checksum=7b02691524197e01ba6b1b4b7595b33956e657ba6d5c4cf2fc20ea3f4914c13a
|
checksum=8582db838a399153d4a17f2a76518b638cc3020f58028575bf54127518f55a46
|
||||||
|
|
||||||
conf_files="/etc/ntpd.conf"
|
conf_files="/etc/ntpd.conf"
|
||||||
provides="ntp-daemon-0_1"
|
provides="ntp-daemon-0_1"
|
||||||
|
@ -22,11 +22,10 @@ alternatives="
|
||||||
ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
|
ntpd:ntpd.8:/usr/share/man/man8/openntpd.8
|
||||||
ntpd:ntpd:/etc/sv/openntpd"
|
ntpd:ntpd:/etc/sv/openntpd"
|
||||||
|
|
||||||
CFLAGS="-fcommon"
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# Rename files for alternatives.
|
# Rename files for alternatives.
|
||||||
mv ${DESTDIR}/usr/bin/{ntpd,$pkgname}
|
mv ${DESTDIR}/usr/bin/{ntpd,$pkgname}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue