1995-06-13 18:07:05 +00:00
|
|
|
# From: @(#)Makefile 5.20 (Berkeley) 6/12/93
|
1999-08-28 01:35:59 +00:00
|
|
|
# $FreeBSD$
|
1994-05-26 05:23:31 +00:00
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1994-09-26 22:20:19 +00:00
|
|
|
# XXX MISSING: mkproto
|
2008-09-21 22:02:26 +00:00
|
|
|
SUBDIR= ${_ac} \
|
|
|
|
${_accton} \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_acpi} \
|
1998-08-30 20:58:16 +00:00
|
|
|
adduser \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_amd} \
|
|
|
|
${_ancontrol} \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_apm} \
|
|
|
|
${_apmd} \
|
1998-08-30 20:58:16 +00:00
|
|
|
arp \
|
2006-10-05 12:18:15 +00:00
|
|
|
${_asf} \
|
|
|
|
${_atm} \
|
2006-02-18 16:40:31 +00:00
|
|
|
${_audit} \
|
|
|
|
${_auditd} \
|
|
|
|
${_auditreduce} \
|
2004-03-08 22:03:29 +00:00
|
|
|
${_authpf} \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_bluetooth} \
|
|
|
|
${_boot0cfg} \
|
|
|
|
${_boot98cfg} \
|
1998-08-30 20:58:16 +00:00
|
|
|
bootparamd \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_bsnmpd} \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_btxld} \
|
2000-01-06 22:52:20 +00:00
|
|
|
burncd \
|
1998-08-30 20:58:16 +00:00
|
|
|
cdcontrol \
|
|
|
|
chkgrp \
|
|
|
|
chown \
|
|
|
|
chroot \
|
|
|
|
ckdist \
|
2008-03-26 15:23:12 +00:00
|
|
|
clear_locks \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_config} \
|
2008-08-08 16:26:53 +00:00
|
|
|
${_cpucontrol} \
|
2008-08-05 20:41:46 +00:00
|
|
|
crashinfo \
|
1998-08-30 20:58:16 +00:00
|
|
|
cron \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_crunch} \
|
|
|
|
${_ctm} \
|
2001-08-30 04:48:02 +00:00
|
|
|
daemon \
|
2003-10-24 15:44:10 +00:00
|
|
|
dconschat \
|
2001-04-21 00:13:57 +00:00
|
|
|
devinfo \
|
2001-05-02 01:08:09 +00:00
|
|
|
digictl \
|
2003-04-09 10:52:10 +00:00
|
|
|
diskinfo \
|
2004-09-21 19:01:48 +00:00
|
|
|
${_dnssec-keygen} \
|
|
|
|
${_dnssec-signzone} \
|
2008-11-17 22:19:19 +00:00
|
|
|
dumpcis \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_editmap} \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_edquota} \
|
2004-05-22 17:03:52 +00:00
|
|
|
${_eeprom} \
|
2002-09-02 19:28:59 +00:00
|
|
|
extattr \
|
2000-04-15 05:14:39 +00:00
|
|
|
extattrctl \
|
2006-11-15 14:57:05 +00:00
|
|
|
${_faithd} \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_fdcontrol} \
|
|
|
|
${_fdformat} \
|
|
|
|
${_fdread} \
|
|
|
|
${_fdwrite} \
|
2008-03-10 12:53:41 +00:00
|
|
|
fifolog \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_flowctl} \
|
|
|
|
${_freebsd-update} \
|
2007-07-03 12:46:08 +00:00
|
|
|
${_ftp-proxy} \
|
2002-12-30 10:13:16 +00:00
|
|
|
fwcontrol \
|
2002-10-23 03:15:24 +00:00
|
|
|
getfmac \
|
|
|
|
getpmac \
|
2003-03-20 20:48:41 +00:00
|
|
|
gstat \
|
Implement support for RPCSEC_GSS authentication to both the NFS client
and server. This replaces the RPC implementation of the NFS client and
server with the newer RPC implementation originally developed
(actually ported from the userland sunrpc code) to support the NFS
Lock Manager. I have tested this code extensively and I believe it is
stable and that performance is at least equal to the legacy RPC
implementation.
The NFS code currently contains support for both the new RPC
implementation and the older legacy implementation inherited from the
original NFS codebase. The default is to use the new implementation -
add the NFS_LEGACYRPC option to fall back to the old code. When I
merge this support back to RELENG_7, I will probably change this so
that users have to 'opt in' to get the new code.
To use RPCSEC_GSS on either client or server, you must build a kernel
which includes the KGSSAPI option and the crypto device. On the
userland side, you must build at least a new libc, mountd, mount_nfs
and gssd. You must install new versions of /etc/rc.d/gssd and
/etc/rc.d/nfsd and add 'gssd_enable=YES' to /etc/rc.conf.
As long as gssd is running, you should be able to mount an NFS
filesystem from a server that requires RPCSEC_GSS authentication. The
mount itself can happen without any kerberos credentials but all
access to the filesystem will be denied unless the accessing user has
a valid ticket file in the standard place (/tmp/krb5cc_<uid>). There
is currently no support for situations where the ticket file is in a
different place, such as when the user logged in via SSH and has
delegated credentials from that login. This restriction is also
present in Solaris and Linux. In theory, we could improve this in
future, possibly using Brooks Davis' implementation of variant
symlinks.
Supporting RPCSEC_GSS on a server is nearly as simple. You must create
service creds for the server in the form 'nfs/<fqdn>@<REALM>' and
install them in /etc/krb5.keytab. The standard heimdal utility ktutil
makes this fairly easy. After the service creds have been created, you
can add a '-sec=krb5' option to /etc/exports and restart both mountd
and nfsd.
The only other difference an administrator should notice is that nfsd
doesn't fork to create service threads any more. In normal operation,
there will be two nfsd processes, one in userland waiting for TCP
connections and one in the kernel handling requests. The latter
process will create as many kthreads as required - these should be
visible via 'top -H'. The code has some support for varying the number
of service threads according to load but initially at least, nfsd uses
a fixed number of threads according to the value supplied to its '-n'
option.
Sponsored by: Isilon Systems
MFC after: 1 month
2008-11-03 10:38:00 +00:00
|
|
|
${_gssd} \
|
2009-01-26 14:00:50 +00:00
|
|
|
i2c \
|
1999-12-29 07:11:50 +00:00
|
|
|
ifmcstat \
|
1998-08-30 20:58:16 +00:00
|
|
|
inetd \
|
1998-11-09 23:39:02 +00:00
|
|
|
iostat \
|
2006-07-27 15:39:29 +00:00
|
|
|
${_ip6addrctl} \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_ipfwpcap} \
|
2006-03-20 14:24:58 +00:00
|
|
|
${_IPXrouted} \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_jail} \
|
|
|
|
${_jexec} \
|
|
|
|
${_jls} \
|
|
|
|
${_kbdcontrol} \
|
|
|
|
${_kbdmap} \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_keyserv} \
|
|
|
|
${_kgmon} \
|
|
|
|
${_kgzip} \
|
2001-09-11 01:13:15 +00:00
|
|
|
kldxref \
|
2000-11-14 17:49:38 +00:00
|
|
|
lastlogin \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_lmcconfig} \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_lpr} \
|
|
|
|
${_lptcontrol} \
|
|
|
|
${_mailstats} \
|
2001-08-18 03:36:26 +00:00
|
|
|
mailwrapper \
|
2008-12-19 23:10:55 +00:00
|
|
|
makefs \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_makemap} \
|
1998-08-30 20:58:16 +00:00
|
|
|
manctl \
|
1999-04-07 04:12:02 +00:00
|
|
|
memcontrol \
|
1999-10-20 07:33:09 +00:00
|
|
|
mergemaster \
|
1999-11-13 18:34:22 +00:00
|
|
|
mixer \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_mld6query} \
|
2000-04-11 03:02:37 +00:00
|
|
|
mlxcontrol \
|
2002-07-07 22:17:38 +00:00
|
|
|
mountd \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_mount_nwfs} \
|
|
|
|
mount_portalfs \
|
|
|
|
${_mount_smbfs} \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_moused} \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_mptable} \
|
1998-08-30 20:58:16 +00:00
|
|
|
mtest \
|
|
|
|
mtree \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_named} \
|
2004-09-21 19:01:48 +00:00
|
|
|
${_named-checkconf} \
|
|
|
|
${_named-checkzone} \
|
2005-09-28 07:20:46 +00:00
|
|
|
${_named.reload} \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_ndiscvt} \
|
2006-07-27 15:28:22 +00:00
|
|
|
${_ndp} \
|
1998-08-30 20:58:16 +00:00
|
|
|
newsyslog \
|
2002-07-07 22:17:38 +00:00
|
|
|
nfsd \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_ngctl} \
|
|
|
|
${_nghook} \
|
2004-03-13 11:02:37 +00:00
|
|
|
nologin \
|
2007-09-28 10:38:08 +00:00
|
|
|
${_nscd} \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_ntp} \
|
2006-08-01 22:19:01 +00:00
|
|
|
${_nvram} \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_ofwdump} \
|
1998-08-30 20:58:16 +00:00
|
|
|
pciconf \
|
|
|
|
periodic \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_pkg_install} \
|
2008-11-26 21:44:57 +00:00
|
|
|
${_pmcannotate} \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_pmccontrol} \
|
|
|
|
${_pmcstat} \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_pnpinfo} \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_portsnap} \
|
2005-02-26 21:18:20 +00:00
|
|
|
powerd \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_ppp} \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_pppctl} \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_pppd} \
|
|
|
|
${_pppstats} \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_praliases} \
|
2006-02-18 16:40:31 +00:00
|
|
|
${_praudit} \
|
1998-08-30 20:58:16 +00:00
|
|
|
procctl \
|
|
|
|
pstat \
|
|
|
|
pw \
|
|
|
|
pwd_mkdb \
|
|
|
|
quot \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_quotaon} \
|
1998-08-30 20:58:16 +00:00
|
|
|
rarpd \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_raycontrol} \
|
|
|
|
${_repquota} \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_rip6query} \
|
1998-08-30 20:58:16 +00:00
|
|
|
rmt \
|
2004-09-21 19:01:48 +00:00
|
|
|
${_rndc} \
|
|
|
|
${_rndc-confgen} \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_route6d} \
|
Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and
associated changes that had to happen to make this possible as well as
bugs fixed along the way.
Bring in required TLI library routines to support this.
Since we don't support TLI we've essentially copied what NetBSD
has done, adding a thin layer to emulate direct the TLI calls
into BSD socket calls.
This is mostly from Sun's tirpc release that was made in 1994,
however some fixes were backported from the 1999 release (supposedly
only made available after this porting effort was underway).
The submitter has agreed to continue on and bring us up to the
1999 release.
Several key features are introduced with this update:
Client calls are thread safe. (1999 code has server side thread
safe)
Updated, a more modern interface.
Many userland updates were done to bring the code up to par with
the recent RPC API.
There is an update to the pthreads library, a function
pthread_main_np() was added to emulate a function of Sun's threads
library.
While we're at it, bring in NetBSD's lockd, it's been far too
long of a wait.
New rpcbind(8) replaces portmap(8) (supporting communication over
an authenticated Unix-domain socket, and by default only allowing
set and unset requests over that channel). It's much more secure
than the old portmapper.
Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded
to support TI-RPC and to support IPV6.
Umount(8) is also fixed to unmount pathnames longer than 80 chars,
which are currently truncated by the Kernel statfs structure.
Submitted by: Martin Blapp <mb@imp.ch>
Manpage review: ru
Secure RPC implemented by: wpaul
2001-03-19 12:50:13 +00:00
|
|
|
rpcbind \
|
1998-08-30 20:58:16 +00:00
|
|
|
rpc.lockd \
|
|
|
|
rpc.statd \
|
1999-11-21 08:06:00 +00:00
|
|
|
rpc.umntall \
|
2004-11-13 20:40:32 +00:00
|
|
|
${_rpc.yppasswdd} \
|
|
|
|
${_rpc.ypupdated} \
|
|
|
|
${_rpc.ypxfrd} \
|
2006-07-27 15:28:22 +00:00
|
|
|
${_rrenumd} \
|
|
|
|
${_rtadvd} \
|
1998-11-09 23:39:02 +00:00
|
|
|
rtprio \
|
2006-07-27 15:28:22 +00:00
|
|
|
${_rtsold} \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_rwhod} \
|
|
|
|
${_sa} \
|
2008-07-19 18:21:52 +00:00
|
|
|
${_sade} \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_sendmail} \
|
2008-05-10 00:43:13 +00:00
|
|
|
setfib \
|
2002-10-23 03:15:24 +00:00
|
|
|
setfmac \
|
|
|
|
setpmac \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_sicontrol} \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_sliplogin} \
|
|
|
|
${_slstat} \
|
2004-05-17 10:57:03 +00:00
|
|
|
smbmsg \
|
2005-07-20 22:53:57 +00:00
|
|
|
snapinfo \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_spkrtest} \
|
1998-08-30 20:58:16 +00:00
|
|
|
spray \
|
2003-02-21 02:30:51 +00:00
|
|
|
${_sysinstall} \
|
1998-08-30 20:58:16 +00:00
|
|
|
syslogd \
|
1999-03-14 18:02:14 +00:00
|
|
|
tcpdchk \
|
|
|
|
tcpdmatch \
|
2005-02-06 10:47:12 +00:00
|
|
|
tcpdrop \
|
1999-04-28 08:00:50 +00:00
|
|
|
tcpdump \
|
1998-08-30 20:58:16 +00:00
|
|
|
timed \
|
|
|
|
traceroute \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_traceroute6} \
|
1998-08-30 20:58:16 +00:00
|
|
|
trpt \
|
|
|
|
tzsetup \
|
2002-08-02 07:14:22 +00:00
|
|
|
ugidfw \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_usbdevs} \
|
2008-11-19 08:56:35 +00:00
|
|
|
${_usbconfig} \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_vidcontrol} \
|
1998-08-30 20:58:16 +00:00
|
|
|
vipw \
|
|
|
|
watch \
|
2003-06-26 09:50:52 +00:00
|
|
|
watchdogd \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_wlandebug} \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_wlconfig} \
|
2008-09-21 22:02:26 +00:00
|
|
|
${_wpa} \
|
2004-11-13 20:40:32 +00:00
|
|
|
${_ypbind} \
|
|
|
|
${_yp_mkdb} \
|
|
|
|
${_yppoll} \
|
|
|
|
${_yppush} \
|
|
|
|
${_ypserv} \
|
|
|
|
${_ypset} \
|
2004-01-16 15:23:19 +00:00
|
|
|
zic \
|
|
|
|
${_zzz}
|
|
|
|
|
2008-09-21 22:02:26 +00:00
|
|
|
# NB: keep these sorted by MK_* knobs
|
|
|
|
|
|
|
|
.if ${MK_ACCT} != "no"
|
|
|
|
_ac= ac
|
|
|
|
_accton= accton
|
|
|
|
_sa= sa
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MK_AMD} != "no"
|
|
|
|
_amd= amd
|
2004-01-16 15:23:19 +00:00
|
|
|
.endif
|
1998-03-21 13:53:18 +00:00
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_AUDIT} != "no"
|
2008-10-05 14:15:22 +00:00
|
|
|
_audit= audit
|
2006-02-18 16:40:31 +00:00
|
|
|
_auditd= auditd
|
|
|
|
_auditreduce= auditreduce
|
|
|
|
_praudit= praudit
|
|
|
|
.endif
|
|
|
|
|
2008-09-21 22:02:26 +00:00
|
|
|
.if ${MK_AUTHPF} != "no"
|
|
|
|
_authpf= authpf
|
|
|
|
.endif
|
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no"
|
2004-09-22 12:13:58 +00:00
|
|
|
_dnssec-keygen= dnssec-keygen
|
|
|
|
_dnssec-signzone= dnssec-signzone
|
|
|
|
.endif
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_BIND_NAMED} != "no"
|
2004-09-21 19:01:48 +00:00
|
|
|
_named= named
|
|
|
|
_named-checkconf= named-checkconf
|
|
|
|
_named-checkzone= named-checkzone
|
2005-09-28 07:20:46 +00:00
|
|
|
_named.reload= named.reload
|
2004-09-21 19:01:48 +00:00
|
|
|
_rndc= rndc
|
|
|
|
_rndc-confgen= rndc-confgen
|
2003-08-27 19:59:49 +00:00
|
|
|
.endif
|
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_BLUETOOTH} != "no"
|
2004-07-07 22:48:30 +00:00
|
|
|
_bluetooth= bluetooth
|
|
|
|
.endif
|
|
|
|
|
2008-09-21 22:02:26 +00:00
|
|
|
.if ${MK_BSNMP} != "no"
|
|
|
|
_bsnmpd= bsnmpd
|
2002-03-21 09:15:39 +00:00
|
|
|
.endif
|
|
|
|
|
2008-09-21 22:02:26 +00:00
|
|
|
.if ${MK_CTM} != "no"
|
|
|
|
_ctm= ctm
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MK_FLOPPY} != "no"
|
|
|
|
_fdcontrol= fdcontrol
|
|
|
|
_fdformat= fdformat
|
|
|
|
_fdread= fdread
|
|
|
|
_fdwrite= fdwrite
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MK_FREEBSD_UPDATE} != "no"
|
|
|
|
_freebsd-update= freebsd-update
|
2007-07-03 12:46:08 +00:00
|
|
|
.endif
|
|
|
|
|
Implement support for RPCSEC_GSS authentication to both the NFS client
and server. This replaces the RPC implementation of the NFS client and
server with the newer RPC implementation originally developed
(actually ported from the userland sunrpc code) to support the NFS
Lock Manager. I have tested this code extensively and I believe it is
stable and that performance is at least equal to the legacy RPC
implementation.
The NFS code currently contains support for both the new RPC
implementation and the older legacy implementation inherited from the
original NFS codebase. The default is to use the new implementation -
add the NFS_LEGACYRPC option to fall back to the old code. When I
merge this support back to RELENG_7, I will probably change this so
that users have to 'opt in' to get the new code.
To use RPCSEC_GSS on either client or server, you must build a kernel
which includes the KGSSAPI option and the crypto device. On the
userland side, you must build at least a new libc, mountd, mount_nfs
and gssd. You must install new versions of /etc/rc.d/gssd and
/etc/rc.d/nfsd and add 'gssd_enable=YES' to /etc/rc.conf.
As long as gssd is running, you should be able to mount an NFS
filesystem from a server that requires RPCSEC_GSS authentication. The
mount itself can happen without any kerberos credentials but all
access to the filesystem will be denied unless the accessing user has
a valid ticket file in the standard place (/tmp/krb5cc_<uid>). There
is currently no support for situations where the ticket file is in a
different place, such as when the user logged in via SSH and has
delegated credentials from that login. This restriction is also
present in Solaris and Linux. In theory, we could improve this in
future, possibly using Brooks Davis' implementation of variant
symlinks.
Supporting RPCSEC_GSS on a server is nearly as simple. You must create
service creds for the server in the form 'nfs/<fqdn>@<REALM>' and
install them in /etc/krb5.keytab. The standard heimdal utility ktutil
makes this fairly easy. After the service creds have been created, you
can add a '-sec=krb5' option to /etc/exports and restart both mountd
and nfsd.
The only other difference an administrator should notice is that nfsd
doesn't fork to create service threads any more. In normal operation,
there will be two nfsd processes, one in userland waiting for TCP
connections and one in the kernel handling requests. The latter
process will create as many kthreads as required - these should be
visible via 'top -H'. The code has some support for varying the number
of service threads according to load but initially at least, nfsd uses
a fixed number of threads according to the value supplied to its '-n'
option.
Sponsored by: Isilon Systems
MFC after: 1 month
2008-11-03 10:38:00 +00:00
|
|
|
.if ${MK_GSSAPI} != no
|
|
|
|
_gssd= gssd
|
|
|
|
.endif
|
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_INET6} != "no"
|
2006-11-15 14:57:05 +00:00
|
|
|
_faithd= faithd
|
2006-07-27 15:39:29 +00:00
|
|
|
_ip6addrctl= ip6addrctl
|
2004-01-16 15:23:19 +00:00
|
|
|
_mld6query= mld6query
|
2006-07-27 15:28:22 +00:00
|
|
|
_ndp= ndp
|
2004-01-16 15:23:19 +00:00
|
|
|
_rip6query= rip6query
|
|
|
|
_route6d= route6d
|
2006-07-27 15:28:22 +00:00
|
|
|
_rrenumd= rrenumd
|
|
|
|
_rtadvd= rtadvd
|
|
|
|
_rtsold= rtsold
|
2004-01-16 15:23:19 +00:00
|
|
|
_traceroute6= traceroute6
|
2003-08-29 10:35:01 +00:00
|
|
|
.endif
|
2004-01-16 15:23:19 +00:00
|
|
|
|
2008-09-21 22:02:26 +00:00
|
|
|
.if ${MK_IPFW} != "no"
|
|
|
|
_ipfwpcap= ipfwpcap
|
|
|
|
.endif
|
|
|
|
|
2006-03-20 14:24:58 +00:00
|
|
|
.if ${MK_IPX} != "no"
|
|
|
|
_IPXrouted= IPXrouted
|
|
|
|
.endif
|
|
|
|
|
2008-09-21 22:02:26 +00:00
|
|
|
.if ${MK_JAIL} != "no"
|
|
|
|
_jail= jail
|
2008-09-27 22:24:50 +00:00
|
|
|
_jexec= jexec
|
2008-09-21 22:02:26 +00:00
|
|
|
_jls= jls
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# XXX MK_SYSCONS
|
|
|
|
# XXX is moused w/ usb useful?
|
|
|
|
.if ${MK_LEGACY_CONSOLE} != "no"
|
|
|
|
_kbdcontrol= kbdcontrol
|
|
|
|
_kbdmap= kbdmap
|
|
|
|
_moused= moused
|
|
|
|
_vidcontrol= vidcontrol
|
|
|
|
.endif
|
|
|
|
|
2008-10-27 15:15:08 +00:00
|
|
|
.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
|
2008-09-21 22:02:26 +00:00
|
|
|
.if ${MK_PPP} != "no"
|
|
|
|
_pppctl= pppctl
|
|
|
|
.endif
|
|
|
|
.if ${MK_NS_CACHING} != "no"
|
|
|
|
_nscd= nscd
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MK_LPR} != "no"
|
|
|
|
_lpr= lpr
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MK_NETGRAPH} != "no"
|
|
|
|
_flowctl= flowctl
|
|
|
|
_lmcconfig= lmcconfig
|
|
|
|
_ngctl= ngctl
|
|
|
|
_nghook= nghook
|
|
|
|
.endif
|
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_NIS} != "no"
|
2004-11-13 20:40:32 +00:00
|
|
|
_rpc.yppasswdd= rpc.yppasswdd
|
|
|
|
_rpc.ypupdated= rpc.ypupdated
|
|
|
|
_rpc.ypxfrd= rpc.ypxfrd
|
|
|
|
_ypbind= ypbind
|
|
|
|
_yp_mkdb= yp_mkdb
|
|
|
|
_yppoll= yppoll
|
|
|
|
_yppush= yppush
|
|
|
|
_ypserv= ypserv
|
|
|
|
_ypset= ypset
|
|
|
|
.endif
|
|
|
|
|
2008-09-21 22:02:26 +00:00
|
|
|
.if ${MK_NTP} != "no"
|
|
|
|
_ntp= ntp
|
2004-03-08 22:03:29 +00:00
|
|
|
.endif
|
|
|
|
|
2008-09-21 22:02:26 +00:00
|
|
|
.if ${MK_OPENSSL} != "no"
|
|
|
|
_keyserv= keyserv
|
2007-10-01 18:22:32 +00:00
|
|
|
.endif
|
|
|
|
|
2008-09-21 22:02:26 +00:00
|
|
|
.if ${MK_PF} != "no"
|
|
|
|
_ftp-proxy= ftp-proxy
|
2000-05-31 21:45:15 +00:00
|
|
|
.endif
|
|
|
|
|
2008-09-21 22:02:26 +00:00
|
|
|
.if ${MK_PKGTOOLS} != "no"
|
|
|
|
_pkg_install= pkg_install
|
2006-11-26 14:36:34 +00:00
|
|
|
.endif
|
2008-09-21 22:02:26 +00:00
|
|
|
|
|
|
|
# XXX MK_TOOLCHAIN?
|
|
|
|
.if ${MK_PMC} != "no"
|
2008-11-26 21:44:57 +00:00
|
|
|
_pmcannotate= pmcannotate
|
2008-09-21 22:02:26 +00:00
|
|
|
_pmccontrol= pmccontrol
|
|
|
|
_pmcstat= pmcstat
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MK_PORTSNAP} != "no"
|
|
|
|
_portsnap= portsnap
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MK_PPP} != "no"
|
2008-09-27 22:24:50 +00:00
|
|
|
_ppp= ppp
|
2008-09-21 22:02:26 +00:00
|
|
|
#_pppctl handled below
|
2008-09-27 22:24:50 +00:00
|
|
|
_pppd= pppd
|
|
|
|
_pppstats= pppstats
|
2008-09-21 22:02:26 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MK_QUOTAS} != "no"
|
|
|
|
_edquota= edquota
|
|
|
|
_quotaon= quotaon
|
|
|
|
_repquota= repquota
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MK_RCMDS} != "no"
|
|
|
|
_rwhod= rwhod
|
2006-11-26 14:36:34 +00:00
|
|
|
.endif
|
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_SENDMAIL} != "no"
|
2004-01-16 15:23:19 +00:00
|
|
|
_editmap= editmap
|
|
|
|
_mailstats= mailstats
|
|
|
|
_makemap= makemap
|
|
|
|
_praliases= praliases
|
|
|
|
_sendmail= sendmail
|
1998-04-15 16:37:42 +00:00
|
|
|
.endif
|
|
|
|
|
2008-09-21 22:02:26 +00:00
|
|
|
.if ${MK_SLIP} != "no"
|
2008-09-27 22:24:50 +00:00
|
|
|
_sliplogin= sliplogin
|
|
|
|
_slstat= slstat
|
2008-09-21 22:02:26 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MK_SYSINSTALL} != "no"
|
2008-10-05 14:15:22 +00:00
|
|
|
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
|
|
|
|
${MACHINE_ARCH} == "sparc64"
|
2008-09-21 22:02:26 +00:00
|
|
|
_sade= sade
|
2008-09-26 18:28:54 +00:00
|
|
|
.endif
|
2008-09-21 22:02:26 +00:00
|
|
|
.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
|
|
|
|
_sysinstall= sysinstall
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MK_TOOLCHAIN} != "no"
|
|
|
|
_config= config
|
|
|
|
_crunch= crunch
|
|
|
|
.endif
|
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_USB} != "no"
|
2009-02-23 18:16:17 +00:00
|
|
|
#_usbdevs= usbdevs
|
2008-11-19 08:56:35 +00:00
|
|
|
_usbconfig= usbconfig
|
1999-07-28 20:16:49 +00:00
|
|
|
.endif
|
|
|
|
|
2008-09-21 22:02:26 +00:00
|
|
|
.if ${MK_WIRELESS} != "no"
|
|
|
|
_ancontrol= ancontrol
|
|
|
|
_raycontrol= raycontrol
|
|
|
|
_wlandebug= wlandebug
|
|
|
|
_wpa= wpa
|
|
|
|
.endif
|
|
|
|
|
2004-09-23 23:06:29 +00:00
|
|
|
.if ${MACHINE_ARCH} == "arm"
|
|
|
|
_kgmon= kgmon
|
|
|
|
.endif
|
|
|
|
|
1998-03-13 19:43:12 +00:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
2008-09-21 22:02:26 +00:00
|
|
|
.if ${MK_APM} != "no"
|
2004-01-16 15:23:19 +00:00
|
|
|
_apm= apm
|
|
|
|
_apmd= apmd
|
2008-09-21 22:02:26 +00:00
|
|
|
.endif
|
2004-01-16 15:23:19 +00:00
|
|
|
_asf= asf
|
2008-09-21 22:02:26 +00:00
|
|
|
.if ${MK_TOOLCHAIN} != "no"
|
2004-01-16 15:23:19 +00:00
|
|
|
_btxld= btxld
|
2008-09-21 22:02:26 +00:00
|
|
|
.endif
|
2008-08-08 16:26:53 +00:00
|
|
|
_cpucontrol= cpucontrol
|
2004-01-16 15:23:19 +00:00
|
|
|
_kgmon= kgmon
|
|
|
|
_kgzip= kgzip
|
|
|
|
_lptcontrol= lptcontrol
|
2006-03-20 14:24:58 +00:00
|
|
|
.if ${MK_NCP} != "no"
|
2004-01-16 15:23:19 +00:00
|
|
|
_mount_nwfs= mount_nwfs
|
2006-03-20 14:24:58 +00:00
|
|
|
.endif
|
2004-01-16 15:23:19 +00:00
|
|
|
_mount_smbfs= mount_smbfs
|
|
|
|
_mptable= mptable
|
2008-09-21 22:02:26 +00:00
|
|
|
.if ${MK_NDIS} != "no"
|
2004-01-16 15:23:19 +00:00
|
|
|
_ndiscvt= ndiscvt
|
2008-09-21 22:02:26 +00:00
|
|
|
.endif
|
2004-01-16 15:23:19 +00:00
|
|
|
_pnpinfo= pnpinfo
|
2004-10-02 18:51:37 +00:00
|
|
|
_sicontrol= sicontrol
|
2004-01-16 15:23:19 +00:00
|
|
|
_spkrtest= spkrtest
|
2005-04-01 01:45:03 +00:00
|
|
|
_zzz= zzz
|
2008-10-05 14:15:22 +00:00
|
|
|
.if ${MACHINE} == "i386"
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_ACPI} != "no"
|
2005-04-01 01:45:03 +00:00
|
|
|
_acpi= acpi
|
|
|
|
.endif
|
|
|
|
_boot0cfg= boot0cfg
|
2008-09-21 22:02:26 +00:00
|
|
|
.if ${MK_WIRELESS} != "no"
|
2004-01-16 15:23:19 +00:00
|
|
|
_wlconfig= wlconfig
|
2008-09-21 22:02:26 +00:00
|
|
|
.endif
|
2005-04-01 01:45:03 +00:00
|
|
|
.elif ${MACHINE} == "pc98"
|
|
|
|
_boot98cfg= boot98cfg
|
2005-04-01 00:57:22 +00:00
|
|
|
.endif
|
1998-09-16 09:33:23 +00:00
|
|
|
.endif
|
|
|
|
|
2003-07-24 01:41:34 +00:00
|
|
|
# kgzip: builds, but missing support files
|
|
|
|
# mptable: broken (not 64 bit clean)
|
|
|
|
# pnpinfo: crashes (not really useful anyway)
|
2003-06-03 01:38:16 +00:00
|
|
|
.if ${MACHINE_ARCH} == "amd64"
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_ACPI} != "no"
|
2004-01-16 15:23:19 +00:00
|
|
|
_acpi= acpi
|
2003-06-03 01:38:16 +00:00
|
|
|
.endif
|
2004-01-16 15:23:19 +00:00
|
|
|
_asf= asf
|
|
|
|
_boot0cfg= boot0cfg
|
2008-09-21 22:02:26 +00:00
|
|
|
.if ${MK_TOOLCHAIN} != "no"
|
2004-01-16 15:23:19 +00:00
|
|
|
_btxld= btxld
|
2008-09-21 22:02:26 +00:00
|
|
|
.endif
|
2008-08-08 16:26:53 +00:00
|
|
|
_cpucontrol= cpucontrol
|
2004-05-23 18:30:08 +00:00
|
|
|
_kgmon= kgmon
|
2004-01-16 15:23:19 +00:00
|
|
|
_lptcontrol= lptcontrol
|
2006-03-20 14:24:58 +00:00
|
|
|
.if ${MK_NCP} != "no"
|
2004-01-16 15:23:19 +00:00
|
|
|
_mount_nwfs= mount_nwfs
|
2006-03-20 14:24:58 +00:00
|
|
|
.endif
|
2004-01-16 15:23:19 +00:00
|
|
|
_mount_smbfs= mount_smbfs
|
|
|
|
_mptable= mptable
|
2008-09-21 22:02:26 +00:00
|
|
|
.if ${MK_NDIS} != "no"
|
2005-03-30 02:44:46 +00:00
|
|
|
_ndiscvt= ndiscvt
|
2008-09-21 22:02:26 +00:00
|
|
|
.endif
|
2004-10-02 18:51:37 +00:00
|
|
|
_sicontrol= sicontrol
|
2004-01-16 15:23:19 +00:00
|
|
|
_spkrtest= spkrtest
|
|
|
|
_zzz= zzz
|
2000-09-10 15:33:07 +00:00
|
|
|
.endif
|
|
|
|
|
2004-01-16 15:23:19 +00:00
|
|
|
.if ${MACHINE_ARCH} == "ia64"
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_ACPI} != "no"
|
2004-01-16 15:23:19 +00:00
|
|
|
_acpi= acpi
|
2000-08-02 10:11:08 +00:00
|
|
|
.endif
|
2004-08-30 02:59:11 +00:00
|
|
|
_kgmon= kgmon
|
2006-08-22 03:31:24 +00:00
|
|
|
_mount_smbfs= mount_smbfs
|
2004-01-16 15:23:19 +00:00
|
|
|
_zzz= zzz
|
2002-10-18 15:38:39 +00:00
|
|
|
.endif
|
|
|
|
|
2005-09-19 08:13:43 +00:00
|
|
|
.if ${MACHINE_ARCH} == "powerpc"
|
|
|
|
_mount_smbfs= mount_smbfs
|
2006-08-01 22:19:01 +00:00
|
|
|
_nvram= nvram
|
2008-01-31 01:57:33 +00:00
|
|
|
_ofwdump= ofwdump
|
2005-09-19 08:13:43 +00:00
|
|
|
.endif
|
|
|
|
|
2004-01-16 15:23:19 +00:00
|
|
|
.if ${MACHINE_ARCH} == "sparc64"
|
2004-05-22 17:03:52 +00:00
|
|
|
_eeprom= eeprom
|
2004-01-16 15:23:19 +00:00
|
|
|
_ofwdump= ofwdump
|
2001-08-02 15:47:03 +00:00
|
|
|
.endif
|
|
|
|
|
1994-05-26 05:23:31 +00:00
|
|
|
.include <bsd.subdir.mk>
|