pkgsrc/net/ntp4/options.mk
taca 0078f33824 net/ntp4: update to 4.2.8p14
Updaet ntp4 to 4.2.8p14.

pkgsrc changes:
* Incorporate several changes from NetBSD base.
* few pkglint fixes.


Quote from release announce:

NTP 4.2.8p14 (Harlan Stenn <stenn@ntp.org>, 2020 Mar 03)

Focus: Security, Bug fixes, enhancements.

Severity: MEDIUM

This release fixes three vulnerabilities: a bug that causes causes an ntpd
instance that is explicitly configured to override the default and allow
ntpdc (mode 7) connections to be made to a server to read some uninitialized
memory; fixes the case where an unmonitored ntpd using an unauthenticated
association to its servers may be susceptible to a forged packet DoS attack;
and fixes an attack against a client instance that uses a single
unauthenticated time source.  It also fixes 46 other bugs and addresses
4 other issues.
2020-06-21 15:10:47 +00:00

29 lines
635 B
Makefile

# $NetBSD: options.mk,v 1.4 2020/06/21 15:10:47 taca Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ntp4
PKG_SUPPORTED_OPTIONS= inet6 snmp
PKG_SUGGESTED_OPTIONS=
PLIST_VARS+= ntpsnmpd
.if empty(MISSING_FEATURES:Minet6)
PKG_SUGGESTED_OPTIONS+= inet6
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
.if !empty(PKG_OPTIONS:Msnmp)
CONFIGURE_ARGS+= --with-ntpsnmpd
PLIST.ntpsnmpd= yes
USE_TOOLS+= perl
. include "../../net/net-snmp/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-ntpsnmpd
CONFIGURE_ARGS+= --with-net-snmp-config=false
.endif