packages: add package for NTP

Reviewed by: imp, manu
Pull Request: https://github.com/freebsd/freebsd-src/pull/1193
This commit is contained in:
Lexi Winter 2024-05-04 07:41:46 -06:00 committed by Warner Losh
parent 3c1be0b261
commit 2f9966ff63
22 changed files with 30 additions and 4 deletions

View File

@ -67,7 +67,6 @@ CONFS= DAEMON \
nfsuserd \
nisdomain \
${_nscd} \
ntpdate \
${_opensm} \
os-release \
pf \
@ -283,7 +282,10 @@ _nscd= nscd
.endif
.if ${MK_NTP} != "no"
CONFS+= ntpd
CONFGROUPS+= NTP
NTP+= ntpd \
ntpdate
NTPPACKAGE= ntp
.endif
.if ${MK_OFED} != "no"

View File

@ -120,6 +120,8 @@ newsyslog_COMMENT= Newsyslog Utility
newsyslog_DESC= Newsyslog Utility
nfs_COMMENT= NFS Utilities
nfs_DESC= NFS Utilities
ntp_COMMENT= Network Time Protocol server and client
ntp_DESC= Network Time Protocol server and client
nuageinit_COMMENT= CloudInit support scripts
nuageinit_DESC= CloudInit support scripts
nvme-tools_COMMENT= NVME Utilities

View File

@ -1,6 +1,7 @@
.include <src.opts.mk>
PACKAGE=ntp
SUBDIR= drivers hints icons pic scripts
FILESDIR= ${SHAREDIR}/doc/ntp

View File

@ -1,6 +1,7 @@
.include <src.opts.mk>
PACKAGE= ntp
SUBDIR= icons scripts
FILESDIR= ${SHAREDIR}/doc/ntp/drivers

View File

@ -1,6 +1,7 @@
.include <src.opts.mk>
PACKAGE= ntp
FILESDIR= ${SHAREDIR}/doc/ntp/drivers/icons
.if ${MK_HTML} != "no"

View File

@ -1,6 +1,7 @@
.include <src.opts.mk>
PACKAGE= ntp
FILESDIR= ${SHAREDIR}/doc/ntp/drivers/scripts
.if ${MK_HTML} != "no"

View File

@ -1,6 +1,7 @@
.include <src.opts.mk>
PACKAGE= ntp
FILESDIR= ${SHAREDIR}/doc/ntp/hints
.if ${MK_HTML} != "no"

View File

@ -1,6 +1,7 @@
.include <src.opts.mk>
PACKAGE= ntp
FILESDIR= ${SHAREDIR}/doc/ntp/icons
.if ${MK_HTML} != "no"

View File

@ -1,6 +1,7 @@
.include <src.opts.mk>
PACKAGE= ntp
FILESDIR= ${SHAREDIR}/doc/ntp/pic
.if ${MK_HTML} != "no"

View File

@ -1,6 +1,7 @@
.include <src.opts.mk>
PACKAGE= ntp
FILESDIR= ${SHAREDIR}/doc/ntp/scripts
.if ${MK_HTML} != "no"

View File

@ -5,6 +5,7 @@
${SRCTOP}/contrib/ntp/libntp/lib/isc/pthreads \
${SRCTOP}/contrib/ntp/libntp/lib/isc/unix \
PACKAGE= ntp
LIB= ntp
INTERNALLIB=

View File

@ -3,6 +3,7 @@
.PATH: ${SRCTOP}/contrib/libevent
PACKAGE= ntp
LIB= ntpevent
INTERNALLIB=

View File

@ -1,6 +1,7 @@
.PATH: ${SRCTOP}/contrib/ntp/sntp/libopts
PACKAGE=ntp
LIB= opts
INTERNALLIB=

View File

@ -1,6 +1,7 @@
.PATH: ${SRCTOP}/contrib/ntp/libparse
PACKAGE=ntp
LIB= parse
INTERNALLIB=

View File

@ -6,6 +6,7 @@ MAN=
.PATH: ${SRCTOP}/contrib/ntp/util \
${SRCTOP}/contrib/ntp/ntpd
PACKAGE=ntp
PROG= ntp-keygen
SRCS= ntp-keygen.c ntp-keygen-opts.c

View File

@ -6,6 +6,7 @@ MAN=
.PATH: ${SRCTOP}/contrib/ntp/ntpd \
${.OBJDIR}
PACKAGE= ntp
DIRS= ETC_NTP
ETC_NTP= /etc/ntp
ETC_NTP_MODE= 0700

View File

@ -3,6 +3,7 @@
.PATH: ${SRCTOP}/contrib/ntp/ntpdate
PACKAGE=ntp
PROG= ntpdate
MAN=
SRCS= ntpdate.c version.c

View File

@ -5,6 +5,7 @@ MAN=
.PATH: ${SRCTOP}/contrib/ntp/ntpdc
PACKAGE=ntp
PROG= ntpdc
SRCS= ntpdc.c ntpdc_ops.c ntpdc-opts.c version.c

View File

@ -7,6 +7,7 @@ MAN=
BINDIR= /usr/bin
PACKAGE=ntp
PROG= ntpq
SRCS= ntpq.c ntpq-opts.c ntpq-subs.c version.c

View File

@ -1,6 +1,7 @@
.PATH: ${SRCTOP}/contrib/ntp/util
PACKAGE=ntp
PROG= ntptime
MAN=

View File

@ -3,6 +3,7 @@
.PATH: ${SRCTOP}/contrib/ntp/sntp
PACKAGE=ntp
PROG= sntp
MAN=
SRCS= crypto.c kod_management.c log.c main.c networking.c \

View File

@ -44,8 +44,11 @@ CONFS+= 130.clean-msgs
.endif
.if ${MK_NTP} != "no"
CONFS+= 480.status-ntpd \
480.leapfile-ntpd
CONFGROUPS+= NTP
NTP+= 480.status-ntpd \
480.leapfile-ntpd
NTPMODE= ${BINMODE}
NTPPACKAGE= ntp
.endif
.if ${MK_SENDMAIL} != "no"