Add knob, MK_MAC_SUPPORT for building items with mac(9) support, like
libugidfw, ugidfw, etc
This commit is contained in:
parent
f9e4bda433
commit
c8c7f0b0e0
@ -38,7 +38,6 @@ BIN1= crontab \
|
||||
profile \
|
||||
protocols \
|
||||
rc \
|
||||
rc.bsdextended \
|
||||
rc.initdiskless \
|
||||
rc.shutdown \
|
||||
rc.subr \
|
||||
@ -114,6 +113,10 @@ BIN1+= libmap32.conf
|
||||
BIN1+= hosts.lpd printcap
|
||||
.endif
|
||||
|
||||
.if ${MK_MAC_SUPPORT} != "no"
|
||||
BIN1+= rc.bsdextended
|
||||
.endif
|
||||
|
||||
.if ${MK_MAIL} != "no"
|
||||
BIN1+= ${.CURDIR}/../usr.bin/mail/misc/mail.rc
|
||||
.endif
|
||||
|
@ -93,7 +93,6 @@ FILES= DAEMON \
|
||||
syslogd \
|
||||
tmp \
|
||||
${_ubthidhci} \
|
||||
ugidfw \
|
||||
${_unbound} \
|
||||
${_utx} \
|
||||
var \
|
||||
@ -223,6 +222,10 @@ FILES+= syscons
|
||||
FILES+= lpd
|
||||
.endif
|
||||
|
||||
.if ${MK_MAC_SUPPORT} != "no"
|
||||
FILES+= ugidfw
|
||||
.endif
|
||||
|
||||
.if ${MK_NS_CACHING} != "no"
|
||||
_nscd= nscd
|
||||
.endif
|
||||
|
@ -101,7 +101,7 @@ SUBDIR= ${SUBDIR_ORDERED} \
|
||||
libthread_db \
|
||||
libucl \
|
||||
libufs \
|
||||
libugidfw \
|
||||
${_libugidfw} \
|
||||
libulog \
|
||||
${_libunbound} \
|
||||
${_libusbhid} \
|
||||
@ -236,6 +236,10 @@ _libcplusplus= libc++
|
||||
_libthr= libthr
|
||||
.endif
|
||||
|
||||
.if ${MK_MAC_SUPPORT} != "no"
|
||||
_libugidfw= libugidfw
|
||||
.endif
|
||||
|
||||
.if ${MK_NAND} != "no"
|
||||
_libnandfs= libnandfs
|
||||
.endif
|
||||
|
@ -23,7 +23,7 @@ MODULES += pam_opie
|
||||
MODULES += pam_opieaccess
|
||||
MODULES += pam_passwdqc
|
||||
MODULES += pam_permit
|
||||
.if ${MK_RADIUS_SUPPORT} != "no
|
||||
.if ${MK_RADIUS_SUPPORT} != "no"
|
||||
MODULES += pam_radius
|
||||
.endif
|
||||
MODULES += pam_rhosts
|
||||
|
@ -121,6 +121,7 @@ __DEFAULT_YES_OPTIONS = \
|
||||
LPR \
|
||||
LS_COLORS \
|
||||
LZMA_SUPPORT \
|
||||
MAC_SUPPORT \
|
||||
MAIL \
|
||||
MAILWRAPPER \
|
||||
MAKE \
|
||||
|
@ -4055,6 +4055,36 @@ OLD_FILES+=usr/share/man/man8/lpd.8.gz
|
||||
OLD_FILES+=usr/share/man/man8/pac.8.gz
|
||||
.endif
|
||||
|
||||
.if ${MK_MAC_SUPPORT} == no
|
||||
OLD_FILES+=etc/rc.d/ugidfw
|
||||
OLD_FILES+=usr/include/ugidfw.h
|
||||
OLD_FILES+=usr/lib/libugidfw.a
|
||||
OLD_LIBS+=usr/lib/libugidfw.so.4
|
||||
OLD_FILES+=usr/lib/libugidfw_p.a
|
||||
OLD_FILES+=usr/sbin/getfmac
|
||||
OLD_FILES+=usr/sbin/getpmac
|
||||
OLD_FILES+=usr/sbin/setfmac
|
||||
OLD_FILES+=usr/sbin/setfsmac
|
||||
OLD_FILES+=usr/sbin/setpmac
|
||||
OLD_FILES+=usr/sbin/ugidfw
|
||||
OLD_FILES+=usr/share/man/man3/bsde_add_rule.3.gz
|
||||
OLD_FILES+=usr/share/man/man3/bsde_delete_rule.3.gz
|
||||
OLD_FILES+=usr/share/man/man3/bsde_get_rule.3.gz
|
||||
OLD_FILES+=usr/share/man/man3/bsde_get_rule_count.3.gz
|
||||
OLD_FILES+=usr/share/man/man3/bsde_get_rule_slots.3.gz
|
||||
OLD_FILES+=usr/share/man/man3/bsde_parse_rule.3.gz
|
||||
OLD_FILES+=usr/share/man/man3/bsde_parse_rule_string.3.gz
|
||||
OLD_FILES+=usr/share/man/man3/bsde_rule_to_string.3.gz
|
||||
OLD_FILES+=usr/share/man/man3/bsde_set_rule.3.gz
|
||||
OLD_FILES+=usr/share/man/man3/libugidfw.3.gz
|
||||
OLD_FILES+=usr/share/man/man8/getfmac.8.gz
|
||||
OLD_FILES+=usr/share/man/man8/getpmac.8.gz
|
||||
OLD_FILES+=usr/share/man/man8/setfmac.8.gz
|
||||
OLD_FILES+=usr/share/man/man8/setfsmac.8.gz
|
||||
OLD_FILES+=usr/share/man/man8/setpmac.8.gz
|
||||
OLD_FILES+=usr/share/man/man8/ugidfw.8.gz
|
||||
.endif
|
||||
|
||||
.if ${MK_MAIL} == no
|
||||
OLD_FILES+=etc/pam.d/imap
|
||||
OLD_FILES+=etc/pam.d/pop3
|
||||
|
6
tools/build/options/WITHOUT_MAC_SUPPORT
Normal file
6
tools/build/options/WITHOUT_MAC_SUPPORT
Normal file
@ -0,0 +1,6 @@
|
||||
.\" $FreeBSD$
|
||||
Set to build libraries, programs, and kernel modules without
|
||||
.Xr mac 9
|
||||
support. Also, do not compile
|
||||
.Xr libugidfw 8
|
||||
and associated applications.
|
@ -26,8 +26,6 @@ SUBDIR= adduser \
|
||||
extattrctl \
|
||||
fifolog \
|
||||
fwcontrol \
|
||||
getfmac \
|
||||
getpmac \
|
||||
gstat \
|
||||
i2c \
|
||||
ifmcstat \
|
||||
@ -65,8 +63,6 @@ SUBDIR= adduser \
|
||||
service \
|
||||
services_mkdb \
|
||||
setfib \
|
||||
setfmac \
|
||||
setpmac \
|
||||
smbmsg \
|
||||
snapinfo \
|
||||
spray \
|
||||
@ -76,7 +72,6 @@ SUBDIR= adduser \
|
||||
traceroute \
|
||||
trpt \
|
||||
tzsetup \
|
||||
ugidfw \
|
||||
vipw \
|
||||
wake \
|
||||
watch \
|
||||
@ -216,6 +211,14 @@ SUBDIR+= nscd
|
||||
.if ${MK_LPR} != "no"
|
||||
SUBDIR+= lpr
|
||||
.endif
|
||||
|
||||
.if ${MK_MAC_SUPPORT} != "no"
|
||||
SUBDIR+= getfmac
|
||||
SUBDIR+= getpmac
|
||||
SUBDIR+= setfmac
|
||||
SUBDIR+= setpmac
|
||||
SUBDIR+= ugidfw
|
||||
.endif
|
||||
|
||||
.if ${MK_MAN_UTILS} != "no"
|
||||
SUBDIR+= manctl
|
||||
|
Loading…
Reference in New Issue
Block a user