Make inetd optional via MK_INETD

This commit is contained in:
Enji Cooper 2014-11-25 08:39:46 +00:00
parent 8bbfb3bbe9
commit 05bc3dd6c0
6 changed files with 24 additions and 3 deletions

View File

@ -25,7 +25,6 @@ BIN1= auto_master \
hosts \
hosts.allow \
hosts.equiv \
inetd.conf \
libalias.conf \
libmap.conf \
login.access \
@ -95,6 +94,10 @@ BIN1+= snmpd.config
BIN1+= freebsd-update.conf
.endif
.if ${MK_INETD} != "no"
BIN1+= inetd.conf
.endif
.if ${MK_LOCATE} != "no"
BIN1+= ${.CURDIR}/../usr.bin/locate/locate/locate.rc
.endif

View File

@ -56,7 +56,7 @@ FILES= DAEMON \
hostid \
hostid_save \
hostname \
inetd \
${_inetd} \
ip6addrctl \
ipfilter \
ipfs \
@ -175,6 +175,10 @@ _ubthidhci= ubthidhci
_casperd= casperd
.endif
.if ${MK_INETD} != "no"
_inetd= inetd
.endif
.if ${MK_NS_CACHING} != "no"
_nscd= nscd
.endif

View File

@ -95,6 +95,7 @@ __DEFAULT_YES_OPTIONS = \
ICONV \
INET \
INET6 \
INETD \
IPFILTER \
IPFW \
JAIL \

View File

@ -2013,6 +2013,13 @@ OLD_FILES+=usr/share/man/man8/traceroute6.8.gz
OLD_FILES+=rescue/ping6
.endif
.if ${MK_INETD} == no
OLD_FILES+=etc/rc.d/inetd
OLD_FILES+=usr/sbin/inetd
OLD_FILES+=usr/share/man/man5/inetd.conf.5.gz
OLD_FILES+=usr/share/man/man8/inetd.8.gz
.endif
.if ${MK_INFO} == no
OLD_FILES+=usr/bin/info
OLD_FILES+=usr/bin/infokey

View File

@ -0,0 +1,3 @@
.\" $FreeBSD$
Set to not build
.Xr inetd 8 .

View File

@ -34,7 +34,6 @@ SUBDIR= adduser \
gstat \
i2c \
ifmcstat \
inetd \
iostat \
iscsid \
kldxref \
@ -175,6 +174,10 @@ SUBDIR+= rtsold
SUBDIR+= traceroute6
.endif
.if ${MK_INETD} != "no"
SUBDIR+= inetd
.endif
.if ${MK_IPFW} != "no"
SUBDIR+= ipfwpcap
.endif