Move all NTP related files to usr.sbin/ntp/ntpd.

This helps with pkgbase by using CONFS to tag these as config files.

Approved by:	allanjude (mentor), ian, cy
Sponsored by:	Essen Hackathon
Differential Revision:	https://reviews.freebsd.org/D16661
This commit is contained in:
Brad Davis 2018-08-11 17:42:42 +00:00
parent 81ea85a884
commit 9488993b1d
5 changed files with 4 additions and 17 deletions

View File

@ -80,10 +80,6 @@ BIN1+= hosts.lpd printcap
BIN1+= ${SRCTOP}/usr.bin/mail/misc/mail.rc BIN1+= ${SRCTOP}/usr.bin/mail/misc/mail.rc
.endif .endif
.if ${MK_NTP} != "no"
BIN1+= ntp.conf
.endif
.if ${MK_OPENSSH} != "no" .if ${MK_OPENSSH} != "no"
SSH= ${SRCTOP}/crypto/openssh/ssh_config \ SSH= ${SRCTOP}/crypto/openssh/ssh_config \
${SRCTOP}/crypto/openssh/sshd_config \ ${SRCTOP}/crypto/openssh/sshd_config \
@ -175,9 +171,6 @@ distribution:
${_+_}cd ${.CURDIR}/gss; ${MAKE} install ${_+_}cd ${.CURDIR}/gss; ${MAKE} install
${_+_}cd ${.CURDIR}/mtree; ${MAKE} install ${_+_}cd ${.CURDIR}/mtree; ${MAKE} install
${_+_}cd ${.CURDIR}/newsyslog.conf.d; ${MAKE} install ${_+_}cd ${.CURDIR}/newsyslog.conf.d; ${MAKE} install
.if ${MK_NTP} != "no"
${_+_}cd ${.CURDIR}/ntp; ${MAKE} install
.endif
${_+_}cd ${SRCTOP}/share/termcap; ${MAKE} etc-termcap ${_+_}cd ${SRCTOP}/share/termcap; ${MAKE} etc-termcap
${_+_}cd ${.CURDIR}/syslog.d; ${MAKE} install ${_+_}cd ${.CURDIR}/syslog.d; ${MAKE} install
${_+_}cd ${SRCTOP}/usr.sbin/rmt; ${MAKE} etc-rmt ${_+_}cd ${SRCTOP}/usr.sbin/rmt; ${MAKE} etc-rmt

View File

@ -1,10 +0,0 @@
# $FreeBSD$
NO_OBJ=
FILES= leap-seconds
FILESDIR= /etc/ntp
FILESMODE= 644
.include <bsd.prog.mk>

View File

@ -7,6 +7,10 @@ MAN=
.PATH: ${SRCTOP}/contrib/ntp/ntpd \ .PATH: ${SRCTOP}/contrib/ntp/ntpd \
${.OBJDIR} ${.OBJDIR}
CONFS= ntp.conf
FILES= leap-seconds
FILESDIR= /etc/ntp
FILESMODE= 644
PROG= ntpd PROG= ntpd
SRCS= cmd_args.c ntp_config.c ntp_control.c ntp_crypto.c ntp_filegen.c \ SRCS= cmd_args.c ntp_config.c ntp_control.c ntp_crypto.c ntp_filegen.c \