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
|
|
|
|
1994-09-26 22:20:19 +00:00
|
|
|
# XXX MISSING: mkproto
|
2004-01-20 08:55:06 +00:00
|
|
|
SUBDIR= ac \
|
1998-08-30 20:58:16 +00:00
|
|
|
accton \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_acpi} \
|
1998-08-30 20:58:16 +00:00
|
|
|
adduser \
|
|
|
|
amd \
|
2000-01-14 20:41:03 +00:00
|
|
|
ancontrol \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_apm} \
|
|
|
|
${_apmd} \
|
1998-08-30 20:58:16 +00:00
|
|
|
arp \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_asf} \
|
|
|
|
${_atm} \
|
|
|
|
${_bluetooth} \
|
|
|
|
${_boot0cfg} \
|
|
|
|
${_boot98cfg} \
|
1998-08-30 20:58:16 +00:00
|
|
|
bootparamd \
|
2003-11-10 09:23:09 +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 \
|
|
|
|
config \
|
|
|
|
cron \
|
1998-11-10 12:29:04 +00:00
|
|
|
crunch \
|
1998-08-30 20:58:16 +00:00
|
|
|
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-01-16 15:23:19 +00:00
|
|
|
${_editmap} \
|
1998-08-30 20:58:16 +00:00
|
|
|
edquota \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_elf2exe} \
|
2002-09-02 19:28:59 +00:00
|
|
|
extattr \
|
2000-04-15 05:14:39 +00:00
|
|
|
extattrctl \
|
2000-01-27 09:28:38 +00:00
|
|
|
faithd \
|
1999-08-10 01:04:11 +00:00
|
|
|
fdcontrol \
|
|
|
|
fdformat \
|
2001-05-14 21:00:14 +00:00
|
|
|
fdread \
|
1999-08-10 01:04:11 +00:00
|
|
|
fdwrite \
|
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 \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_i4b} \
|
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 \
|
2003-10-30 17:46:40 +00:00
|
|
|
ip6addrctl \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_ipftest} \
|
|
|
|
${_ipresend} \
|
|
|
|
${_ipsend} \
|
|
|
|
${_iptest} \
|
2004-01-20 08:55:06 +00:00
|
|
|
IPXrouted \
|
This Implements the mumbled about "Jail" feature.
This is a seriously beefed up chroot kind of thing. The process
is jailed along the same lines as a chroot does it, but with
additional tough restrictions imposed on what the superuser can do.
For all I know, it is safe to hand over the root bit inside a
prison to the customer living in that prison, this is what
it was developed for in fact: "real virtual servers".
Each prison has an ip number associated with it, which all IP
communications will be coerced to use and each prison has its own
hostname.
Needless to say, you need more RAM this way, but the advantage is
that each customer can run their own particular version of apache
and not stomp on the toes of their neighbors.
It generally does what one would expect, but setting up a jail
still takes a little knowledge.
A few notes:
I have no scripts for setting up a jail, don't ask me for them.
The IP number should be an alias on one of the interfaces.
mount a /proc in each jail, it will make ps more useable.
/proc/<pid>/status tells the hostname of the prison for
jailed processes.
Quotas are only sensible if you have a mountpoint per prison.
There are no privisions for stopping resource-hogging.
Some "#ifdef INET" and similar may be missing (send patches!)
If somebody wants to take it from here and develop it into
more of a "virtual machine" they should be most welcome!
Tools, comments, patches & documentation most welcome.
Have fun...
Sponsored by: http://www.rndassociates.com/
Run for almost a year by: http://www.servetheweb.com/
1999-04-28 11:38:52 +00:00
|
|
|
jail \
|
2003-04-09 03:04:12 +00:00
|
|
|
jexec \
|
|
|
|
jls \
|
1998-11-09 23:39:02 +00:00
|
|
|
kbdcontrol \
|
|
|
|
kbdmap \
|
1998-08-30 20:58:16 +00:00
|
|
|
kernbb \
|
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 \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_lpr} \
|
|
|
|
${_lptcontrol} \
|
|
|
|
${_mailstats} \
|
2001-08-18 03:36:26 +00:00
|
|
|
mailwrapper \
|
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} \
|
1998-11-09 23:39:02 +00:00
|
|
|
moused \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_mptable} \
|
1998-08-30 20:58:16 +00:00
|
|
|
mrouted \
|
|
|
|
mtest \
|
|
|
|
mtree \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_named} \
|
|
|
|
${_named.reload} \
|
|
|
|
${_named.restart} \
|
|
|
|
${_ndc} \
|
|
|
|
${_ndiscvt} \
|
2000-01-06 12:40:54 +00:00
|
|
|
ndp \
|
1998-08-30 20:58:16 +00:00
|
|
|
newsyslog \
|
2002-07-07 22:17:38 +00:00
|
|
|
nfsd \
|
1999-10-21 09:06:11 +00:00
|
|
|
ngctl \
|
|
|
|
nghook \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_nslookup} \
|
|
|
|
${_nsupdate} \
|
|
|
|
ntp \
|
|
|
|
${_ofwdump} \
|
|
|
|
${_pccard} \
|
1998-08-30 20:58:16 +00:00
|
|
|
pciconf \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_pcvt/ispcvt} \
|
|
|
|
${_pcvt} \
|
1998-08-30 20:58:16 +00:00
|
|
|
periodic \
|
|
|
|
pkg_install \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_pnpinfo} \
|
2003-05-25 07:39:06 +00:00
|
|
|
ppp \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_pppctl} \
|
2003-05-12 18:51:31 +00:00
|
|
|
pppd \
|
1998-08-30 20:58:16 +00:00
|
|
|
pppstats \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_praliases} \
|
1998-08-30 20:58:16 +00:00
|
|
|
procctl \
|
|
|
|
pstat \
|
|
|
|
pw \
|
|
|
|
pwd_mkdb \
|
|
|
|
quot \
|
|
|
|
quotaon \
|
|
|
|
rarpd \
|
2000-11-12 21:55:21 +00:00
|
|
|
raycontrol \
|
1998-08-30 20:58:16 +00:00
|
|
|
repquota \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_rip6query} \
|
1998-08-30 20:58:16 +00:00
|
|
|
rmt \
|
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 \
|
1998-08-30 20:58:16 +00:00
|
|
|
rpc.yppasswdd \
|
|
|
|
rpc.ypupdated \
|
1998-11-10 12:29:04 +00:00
|
|
|
rpc.ypxfrd \
|
2000-01-06 12:40:54 +00:00
|
|
|
rrenumd \
|
|
|
|
rtadvd \
|
1998-11-09 23:39:02 +00:00
|
|
|
rtprio \
|
1999-12-29 07:11:50 +00:00
|
|
|
rtsold \
|
1998-08-30 20:58:16 +00:00
|
|
|
rwhod \
|
|
|
|
sa \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_sendmail} \
|
2002-10-23 03:15:24 +00:00
|
|
|
setfmac \
|
2000-01-06 12:40:54 +00:00
|
|
|
setkey \
|
2002-10-23 03:15:24 +00:00
|
|
|
setpmac \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_sgsc} \
|
|
|
|
${_sicontrol} \
|
1998-08-30 20:58:16 +00:00
|
|
|
sliplogin \
|
|
|
|
slstat \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_spkrtest} \
|
1998-08-30 20:58:16 +00:00
|
|
|
spray \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_stallion} \
|
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 \
|
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
|
|
|
${_usbd} \
|
|
|
|
${_usbdevs} \
|
1998-11-09 23:39:02 +00:00
|
|
|
vidcontrol \
|
1998-08-30 20:58:16 +00:00
|
|
|
vipw \
|
|
|
|
vnconfig \
|
|
|
|
watch \
|
2003-06-26 09:50:52 +00:00
|
|
|
watchdogd \
|
2001-02-03 08:56:52 +00:00
|
|
|
wicontrol \
|
2004-01-16 15:23:19 +00:00
|
|
|
${_wlconfig} \
|
1998-11-10 12:29:04 +00:00
|
|
|
ypbind \
|
2004-01-16 15:23:19 +00:00
|
|
|
yp_mkdb \
|
1998-08-30 20:58:16 +00:00
|
|
|
yppoll \
|
|
|
|
yppush \
|
|
|
|
ypserv \
|
1998-11-10 12:29:04 +00:00
|
|
|
ypset \
|
2004-01-16 15:23:19 +00:00
|
|
|
zic \
|
|
|
|
${_zzz}
|
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} != "powerpc"
|
|
|
|
_sysinstall= sysinstall
|
|
|
|
.endif
|
1998-03-21 13:53:18 +00:00
|
|
|
|
2003-08-27 19:59:49 +00:00
|
|
|
.if !defined(NOATM)
|
2004-01-16 15:23:19 +00:00
|
|
|
_atm= atm
|
2003-08-27 19:59:49 +00:00
|
|
|
.endif
|
|
|
|
|
2004-01-16 15:23:19 +00:00
|
|
|
.if !defined(NO_BIND)
|
|
|
|
_named= named
|
|
|
|
_named.reload= named.reload
|
|
|
|
_named.restart= named.restart
|
|
|
|
_ndc= ndc
|
|
|
|
_nslookup= nslookup
|
|
|
|
_nsupdate= nsupdate
|
2003-08-27 19:59:49 +00:00
|
|
|
.endif
|
|
|
|
|
2004-01-16 15:23:19 +00:00
|
|
|
.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
|
|
|
_keyserv= keyserv
|
2002-03-21 09:15:39 +00:00
|
|
|
.endif
|
|
|
|
|
2004-01-16 15:23:19 +00:00
|
|
|
.if !defined(NOINET6)
|
|
|
|
_mld6query= mld6query
|
|
|
|
_rip6query= rip6query
|
|
|
|
_route6d= route6d
|
|
|
|
_traceroute6= traceroute6
|
2003-08-29 10:35:01 +00:00
|
|
|
.endif
|
2004-01-16 15:23:19 +00:00
|
|
|
|
|
|
|
.if !defined(NO_IPFILTER)
|
|
|
|
_ipftest= ipftest
|
|
|
|
_ipresend= ipresend
|
|
|
|
_ipsend= ipsend
|
|
|
|
_iptest= iptest
|
2001-10-23 10:16:04 +00:00
|
|
|
.endif
|
|
|
|
|
2000-05-31 21:45:15 +00:00
|
|
|
.if !defined(NO_LPR)
|
2004-01-16 15:23:19 +00:00
|
|
|
_lpr= lpr
|
2000-05-31 21:45:15 +00:00
|
|
|
.endif
|
|
|
|
|
1998-04-15 16:37:42 +00:00
|
|
|
.if !defined(NO_SENDMAIL)
|
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
|
|
|
|
|
2004-01-16 15:23:19 +00:00
|
|
|
.if !defined(NO_USB)
|
|
|
|
_usbd= usbd
|
|
|
|
_usbdevs= usbdevs
|
1999-07-28 20:16:49 +00:00
|
|
|
.endif
|
|
|
|
|
1998-03-13 19:43:12 +00:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
2003-08-29 10:35:01 +00:00
|
|
|
.if !defined(NO_ACPI)
|
2004-01-16 15:23:19 +00:00
|
|
|
_acpi= acpi
|
2003-08-29 10:35:01 +00:00
|
|
|
.endif
|
2004-01-16 15:23:19 +00:00
|
|
|
_apm= apm
|
|
|
|
_apmd= apmd
|
|
|
|
_asf= asf
|
2004-01-28 00:42:51 +00:00
|
|
|
.if !defined(NO_BLUETOOTH)
|
2004-01-16 15:23:19 +00:00
|
|
|
_bluetooth= bluetooth
|
2004-01-28 00:42:51 +00:00
|
|
|
.endif
|
2004-01-16 15:23:19 +00:00
|
|
|
.if ${MACHINE} == "i386"
|
|
|
|
_boot0cfg= boot0cfg
|
|
|
|
.endif
|
|
|
|
.if ${MACHINE} == "pc98"
|
|
|
|
_boot98cfg= boot98cfg
|
|
|
|
.endif
|
|
|
|
_btxld= btxld
|
2001-05-23 13:32:32 +00:00
|
|
|
.if !defined(NO_I4B)
|
2004-01-16 15:23:19 +00:00
|
|
|
_i4b= i4b
|
2001-05-23 13:32:32 +00:00
|
|
|
.endif
|
2004-01-16 15:23:19 +00:00
|
|
|
_kgmon= kgmon
|
|
|
|
_kgzip= kgzip
|
|
|
|
_lptcontrol= lptcontrol
|
|
|
|
_mount_nwfs= mount_nwfs
|
|
|
|
_mount_smbfs= mount_smbfs
|
|
|
|
_mptable= mptable
|
|
|
|
_ndiscvt= ndiscvt
|
|
|
|
_pccard= pccard
|
|
|
|
_pcvt= pcvt
|
|
|
|
_pnpinfo= pnpinfo
|
2004-01-31 22:18:09 +00:00
|
|
|
.if !defined(NOLIBPTHREAD)
|
|
|
|
_pppctl= pppctl
|
|
|
|
.endif
|
2004-01-16 15:23:19 +00:00
|
|
|
_sgsc= sgsc
|
|
|
|
_sicontrol= sicontrol
|
|
|
|
_spkrtest= spkrtest
|
|
|
|
_stallion= stallion
|
|
|
|
_wlconfig= wlconfig
|
|
|
|
_zzz= zzz
|
1998-09-16 09:33:23 +00:00
|
|
|
.endif
|
|
|
|
|
2004-01-16 15:23:19 +00:00
|
|
|
.if ${MACHINE_ARCH} == "alpha"
|
|
|
|
_elf2exe= elf2exe
|
|
|
|
_pnpinfo= pnpinfo
|
2004-01-31 22:18:09 +00:00
|
|
|
.if !defined(NOLIBC_R)
|
|
|
|
_pppctl= pppctl
|
|
|
|
.endif
|
2003-09-16 21:25:42 +00:00
|
|
|
.endif
|
|
|
|
|
2003-07-24 01:41:34 +00:00
|
|
|
# kgmon: builds, but no kernel profiling
|
|
|
|
# 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"
|
2004-01-16 15:23:19 +00:00
|
|
|
.if !defined(NO_ACPI)
|
|
|
|
_acpi= acpi
|
2003-06-03 01:38:16 +00:00
|
|
|
.endif
|
2004-01-16 15:23:19 +00:00
|
|
|
_asf= asf
|
|
|
|
_boot0cfg= boot0cfg
|
|
|
|
_btxld= btxld
|
|
|
|
_lptcontrol= lptcontrol
|
|
|
|
_mount_nwfs= mount_nwfs
|
|
|
|
_mount_smbfs= mount_smbfs
|
|
|
|
_mptable= mptable
|
|
|
|
_pcvt/ispcvt= pcvt/ispcvt
|
2004-01-31 22:18:09 +00:00
|
|
|
.if !defined(NOLIBPTHREAD)
|
|
|
|
_pppctl= pppctl
|
|
|
|
.endif
|
2004-01-16 15:23:19 +00:00
|
|
|
_sicontrol= sicontrol
|
|
|
|
_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"
|
|
|
|
.if !defined(NO_ACPI)
|
|
|
|
_acpi= acpi
|
2000-08-02 10:11:08 +00:00
|
|
|
.endif
|
2004-01-31 22:18:09 +00:00
|
|
|
.if !defined(NOLIBPTHREAD)
|
|
|
|
_pppctl= pppctl
|
|
|
|
.endif
|
2004-01-16 15:23:19 +00:00
|
|
|
_zzz= zzz
|
2002-10-18 15:38:39 +00:00
|
|
|
.endif
|
|
|
|
|
2004-01-16 15:23:19 +00:00
|
|
|
.if ${MACHINE_ARCH} == "sparc64"
|
|
|
|
_ofwdump= ofwdump
|
2004-01-31 22:18:09 +00:00
|
|
|
.if !defined(NOLIBC_R)
|
|
|
|
_pppctl= pppctl
|
|
|
|
.endif
|
2001-08-02 15:47:03 +00:00
|
|
|
.endif
|
|
|
|
|
1994-05-26 05:23:31 +00:00
|
|
|
.include <bsd.subdir.mk>
|