Move all devfs related files to sbin/devfs/

This is related to pkgbase as it uses CONFS to properly tag these as config
files.

Approved by:	will (mentor)
Differential Revision:	https://reviews.freebsd.org/D16785
This commit is contained in:
Brad Davis 2018-08-22 15:55:23 +00:00
parent f54d801ae5
commit 39cec25ba7
6 changed files with 4 additions and 27 deletions

View File

@ -13,7 +13,6 @@ SUBDIR+=sendmail
.endif
BIN1= crontab \
devfs.conf \
dhclient.conf \
disktab \
fbtab \
@ -142,7 +141,6 @@ distribution:
echo "./var/db/services.db type=file mode=0644 uname=root gname=wheel"; \
) | ${METALOG.add}
.endif
${_+_}cd ${.CURDIR}/defaults; ${MAKE} install
${_+_}cd ${.CURDIR}/gss; ${MAKE} install
${_+_}cd ${.CURDIR}/mtree; ${MAKE} install
${_+_}cd ${SRCTOP}/share/termcap; ${MAKE} etc-termcap
@ -281,16 +279,11 @@ distrib-dirs: ${MTREES:N/*} distrib-cleanup .PHONY
done
.endif
etc-examples-install: ${META_DEPS}
etc-examples: ${META_DEPS}
cd ${.CURDIR}; ${INSTALL} ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 \
${BIN1} ${BIN2} nsmb.conf opieaccess \
${DESTDIR}${SHAREDIR}/examples/etc
etc-examples: etc-examples-install
${_+_}cd ${.CURDIR}/defaults; \
${MAKE} ${${MK_STAGING} == "yes":?all:install} \
DESTDIR=${DESTDIR}${SHAREDIR}/examples
.include <bsd.prog.mk>
.if ${MK_INSTALL_AS_USER} == "yes" && ${_uid} != 0

View File

@ -1,8 +0,0 @@
# $FreeBSD$
.include <src.opts.mk>
FILES= devfs.rules
FILESDIR= /etc/defaults
.include <bsd.prog.mk>

View File

@ -1,11 +0,0 @@
# $FreeBSD$
# Autogenerated - do NOT edit!
DIRDEPS = \
.include <dirdeps.mk>
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
# local dependencies - needed for -jN in clean tree
.endif

View File

@ -1,5 +1,8 @@
# $FreeBSD$
CONFS= devfs.conf devfs.rules
CONFSDIR_devfs.rules= /etc/defaults
CONFSMODE_devfs.rules= 600
PACKAGE=runtime
PROG= devfs
SRCS= devfs.c rule.c