Commit Graph

295 Commits

Author SHA1 Message Date
obrien
5fcbca2516 Some things don't build for PowerPC yet.
List from:	benno
2003-02-21 02:30:51 +00:00
ru
2dce783e1a Always build kgzip(8); needed to cross-release i386. 2003-02-04 16:04:03 +00:00
imp
2180deee00 pccardd and pccardc are for i386 and pc98 only. Don't build them on
other architectures.

Pointed out by: peter
2003-01-21 08:42:27 +00:00
marcel
8c2352be36 Enable pppctl(8) on ia64. 2003-01-06 01:00:26 +00:00
tmm
9db57e5cdf Build pppctl on sparc64, now that we have libc_r. 2003-01-05 22:38:58 +00:00
simokawa
41352fb7b2 Import FireWire userland utility. 2002-12-30 10:13:16 +00:00
obrien
b09fc872b2 Move elf2aout back to /usr/bin -- it is a general development tool, not
a sysadmin tool.
2002-12-30 10:01:26 +00:00
jake
43abbe6909 Build sysinstall on sparc64. 2002-11-01 15:36:06 +00:00
peter
aca99d41be Un-remove sysinstall for ia64. 2002-10-27 00:22:05 +00:00
phk
6856b7844c Explicitly list architectures supporting sysinstall 2002-10-25 17:04:49 +00:00
rwatson
eedc3508bc Introduce simple command line tools to manage MAC labels on processes and
files.  Basically wrappers for mac_{get,set}_{file,link,pid,proc}(3).
Man pages to be updated shortly.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-23 03:15:24 +00:00
tmm
70f553334a Connect ofwdump to the sparc64 build. 2002-10-18 15:38:39 +00:00
julian
6f7c625264 Pppctl seems to compile again now 2002-09-19 10:32:39 +00:00
peter
773f571480 Add i386 to the list of architectures that libc_r is broken on. This
effectively removes pppctl from the build for now.  It only compiles on
alpha now (now ironic).
2002-09-17 07:32:36 +00:00
phk
5f194761d6 Switch over to the new EA manipulation utilities.
Sponsored by:	DARPA & NAI Labs.
2002-09-02 19:28:59 +00:00
rwatson
2f173ca43e Introduce support for Mandatory Access Control and extensible
kernel access control.

Provide ugidfw, a utility to manage the ruleset provided by
mac_bsdextended.  Similar to ipfw, only for uids/gids and files.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-08-02 07:14:22 +00:00
gordon
61a367a107 Hook nfsd and mountd back into the build in /usr/sbin, where they make more
sense. Since portmap/rpcbind is in /usr/sbin it doesn't make any sense for
nfsd and mountd to be in /sbin.

For the record, NetBSD has them in /usr/sbin while OpenBSD has them in /sbin

PR:		bin/30972
Reviewed by:	jake (mentor)
2002-07-07 22:17:38 +00:00
ume
fd3447185a Don't install obsolete gifconfig(8). Please use ifconfig(8) instead. 2002-06-15 18:04:51 +00:00
ume
788c1c0ad4 Don't install obsolete prefix(8). We now have `ifconfig eui64'. 2002-06-15 15:41:44 +00:00
ru
65861c4bc2 We don't build libc_r on sparc64 for the moment. 2002-05-31 19:59:12 +00:00
peter
8b1c546166 Put on peril sensitive sunglasses and turn C++ stuff back on. 2002-05-29 00:48:14 +00:00
ru
6e02fb8404 Move elf2aout to usr.sbin/.
Approved by:	jake
2002-05-25 13:29:47 +00:00
obrien
5ff5d4c519 Turn off pppctl -- it won't like with an in-tree Gcc 3.1 built libc_r. 2002-05-10 00:48:33 +00:00
jake
eeceda9f1a sysinstall compiles on sparc64. 2002-04-20 15:50:32 +00:00
peter
f61429d77b Reactivate sysinstall, it does work on ia64. 2002-04-08 23:08:48 +00:00
obrien
061cf98cb8 Sysinstall does not work on ia64 and sparc64 yet. :-) 2002-04-08 20:42:05 +00:00
phk
c8c4cb7ccd Send diskpart to the eternal storage device (SMD probably :-) where
it belongs.
2002-04-02 11:02:21 +00:00
ru
dea7dd81b7 Replaced hacks in sbin/Makefile,v 1.99 and usr.sbin/Makefile,v 1.217
with the NO_IPFILTER make.conf(5) knob.

(So that we can "make the-rest-of-the-world" again.)
2002-03-21 09:15:39 +00:00
obrien
07b985e508 Remove ipftest until the committer can actually test his changes. 2002-03-20 01:57:52 +00:00
des
fdd4d414b4 Revert previous revision; sysinstall should build fine now even when cross-
building, plus ru says the previous revision didn't actually achieve what
it was meant to achieve.
2002-03-15 18:48:20 +00:00
des
42c25f9773 Don't try to cross-build sysinstall. 2002-03-12 18:55:53 +00:00
gshapiro
1e52eaa830 Add editmap, a new utility which comes with sendmail 8.12 for editing maps in
place.
2002-02-17 22:02:59 +00:00
obrien
bb7fed4b1f Revert rev 1.211, kernel building assistants should live in /sys 2002-02-11 23:04:56 +00:00
obrien
72eca98ca3 Turn on makeobjops. 2002-02-11 22:09:20 +00:00
peter
27968acc29 Exclude pppctl on ia64 due to libc_r. I had been building with
-DNOLIBC_R, but this is a little safer.
2001-11-04 06:15:28 +00:00
peter
a8761e579c ia64 support: move pnpinfo to i386 and alpha sections for now. i386 has
native inb/outb etc, and alpha has libio.  ia64 doesn't have any yet.

move pppctl to the NOLIBC_R section (libc_r is not possible on ia64 in
its present form due to assumptions about setjmp/longjmp magic)
2001-10-23 10:16:04 +00:00
peter
2975fbf1b3 Add kldxref(8), for maintaining the linker.hints file for translating
module->pathname.ko.  It supports only ELF for now.

Submitted by:   bp  (with some minor tweaks)
2001-09-11 01:13:15 +00:00
mike
6fa2f09167 Add a new utility that runs an executable detached from the
controlling terminal.

Discussed on:	-hackers
Obtained from:	BSD/OS
2001-08-30 04:48:02 +00:00
obrien
296dcc7cda Remove `diskcheckd'. It is now in ports/sysutils.
Consensus on:	freebsd-current.
2001-08-28 23:21:28 +00:00
peter
77c5965e95 Correct path (../crypto, not ../../crypto) 2001-08-18 03:36:26 +00:00
sobomax
b4222d1bf2 Fix a cryptoless world by disconnecting libmp from the build when there is no
crypto bits installed and/or NOCRYPTO/NO_OPENSSL is defined. This unfortunately
meants that usr.bin/chkey, usr.bin/newkey and usr.sbin/keyserv have also to
be disconnected.

IMO it is merely a workaround, the proper solution is to move libmp to
src/crypto where it belongs and use libgmp for the cryptoless builds instead.

Missed by:	dd
2001-08-02 15:47:03 +00:00
phk
eaecb3dfd4 Add diskcheck-daemon.
With a small disk being 20GB these days, chances are pretty good that
an ailing sector will not be read while still being recoverable by
the drive.

Diskcheck daemon will read disks in the background at a low rate and
that way give the diskdrive a chance to detect and correct soft read
errors before they become hard errors.

Idea by:	phk
Written by:     ben
2001-06-03 20:02:03 +00:00
ume
2dd555017d Remove pim6[ds]d from the tree. The software had a restrictive license
than we can handle.  pim6[ds]d are available as ports instead.
2001-06-03 18:16:39 +00:00
ru
196fd7759f Add NO_I4B to avoid building/installing isdn4bsd package.
Prompted by:	Alexandr Listopad <laa@laa.zp.ua>
MFC after:	3 days
2001-05-23 13:32:32 +00:00
joerg
a4894456f1 Include fdread(1) into the parent Makefile. 2001-05-14 21:00:14 +00:00
brian
d56c2badd6 Add a ``digi'' driver.
This driver supports PCI Xr-based and ISA Xem Digiboard cards.
dgm will go away soon if there are no problems reported.  For now,
configuring dgm into your kernel warns that you should be using
digi.  This driver is probably close to supporting Xi, Xe and Xeve
cards, but I wouldn't expect them to work properly (hardware
donations welcome).

The digi_* pseudo-drivers are not drivers themselves but contain
the BIOS and FEP/OS binaries for various digiboard cards and are
auto-loaded and auto-unloaded by the digi driver at initialisation
time.  They *may* be configured into the kernel, but waste a lot
of space if they are.  They're intended to be left as modules.

The digictl program is (mainly) used to re-initialise cards that
have external port modules attached such as the PC/Xem.
2001-05-02 01:08:09 +00:00
msmith
4afc893059 Turn on devinfo(8) 2001-04-21 00:13:57 +00:00
alfred
f67e4a8fc7 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
peter
bd1101e8cf Move wicontrol from i386 to MI section. (yes, it compiles on alpha, where
theoretically NEWCARD might work one day).  if_wi.c is in the MI config
section already.
2001-02-03 08:56:52 +00:00
jhb
867b744b87 Activate sysinstall. 2001-01-17 03:32:19 +00:00
ru
4e5cd1b9b8 Added the lastlogin utility.
Obtained from:	NetBSD
2000-11-14 17:49:38 +00:00
imp
1a82ffa8cf Add raycontrol to the build. 2000-11-12 21:55:21 +00:00
kato
df75e73d46 Moved boot0cfg into IBM-PC only section (MACHINE=="i386").
Pointed out by:	nyan
2000-09-10 15:33:07 +00:00
iwasaki
2bbee59fc9 Activate acpi. 2000-08-31 15:12:23 +00:00
kato
afafe94c65 Added PC-98 boot manager installation and configuration utility. 2000-08-02 10:11:08 +00:00
ume
6ca9b7fd46 Activate mld6query. 2000-07-10 17:00:26 +00:00
markm
8e9e494b0d As rndcontrol is no longer needed, punt it to the attic. 2000-06-25 10:46:24 +00:00
hoek
1e9a6591b3 Add a NO_LPR option. Useful for people who want to use LPRng.
PR:	bin/18787 (David Gilbert <dgilbert@velocet.ca>)
2000-05-31 21:45:15 +00:00
rwatson
ea8dac9966 Code compiles and installs 100% better if included in the Makefile.
Suggested by:	Voices in my head.
2000-04-16 23:57:02 +00:00
rwatson
f2310ef109 Introduced /usr/sbin/extattrctl, a utility for managing UFS/FFS extended
attributes (recently committed).  Using extattrctl, the extended attribute
service may be started and stopped for specific file systems; specific
attributes may be enabled or disabled, and the backing file for each
attribute configured.  Also, backing files may be initialized.

Reviewed by:    adrian, bp, freebsd-fs, the unthanked masses
Obtained from:  TrustedBSD
2000-04-15 05:14:39 +00:00
msmith
01b742ff32 Add mlxcontrol. 2000-04-11 03:02:37 +00:00
sheldonh
b0b54e3d8b Add a NO_MAILWRAPPER knob to make.conf and wrap it around
mailwrapper(8) for folks who find it annoying to have their development
version of sendmail blown away by ``make world''.

PR:		17394
2000-03-31 09:23:54 +00:00
shin
417b54f8df IPv6 multicast routing.
kernel IPv6 multicast routing support.
  pim6 dense mode daemon
  pim6 sparse mode daemon
  netstat support of IPv6 multicast routing statistics

  Merging to the current and testing with other existing multicast routers
  is done by Tatsuya Jinmei <jinmei@kame.net>, who writes and maintainances
  the base code in KAME distribution.

  Make world check and kernel build check was also successful.
2000-01-28 05:10:56 +00:00
shin
ce15efb7c0 another tcp apps IPv6 updates.(should be make world safe)
ftp, telnet, ftpd, faithd
  also telnet related sync with crypto, secure, kerberosIV

Obtained from: KAME project
2000-01-27 09:28:38 +00:00
asmodai
027d4f1384 Stop apmconf from being build.
green integrated apmconf into apm and we should use that instead.

Suggested by:	msmith
2000-01-23 09:50:10 +00:00
wpaul
1e2a8041d0 Add driver support for the Aironet 4500/4800 series wireless 802.11
NICs. (Finally!) The PCMCIA, ISA and PCI varieties are all supported,
though only the ISA and PCI ones will work on the alpha for now.
PCCARD, ISA and PCI attachments are all provided. Also provided an
ancontrol(8) utility for configuring the NIC, man pages, and updated
pccard.conf.sample. ISA cards are supported in both ISA PnP and hard-wired
mode, although you must configure the kernel explicitly to support the
hardwired mode since you have to know the I/O address and port ahead
of time.

Special thanks to Doug Ambrisko for doing the initial newbus hackery
and getting it to work in infrastructure mode.
2000-01-14 20:41:03 +00:00
sos
fb24515fa7 Add burncd to and remove wormcontrol from the targets. 2000-01-06 22:52:20 +00:00
shin
9b5932fc47 libipsec and IPsec related apps. (and some KAME related man pages)
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
2000-01-06 12:40:54 +00:00
peter
d0ab3e3cee Add mailwrapper. It redirects to sendmail by default, but you can
point /usr/sbin/sendmail to any mailer of your choice with the
/etc/mail/mailer.conf config file.
1999-12-29 18:44:06 +00:00
shin
c1f6209fd4 Sorry, ndp command is not exist yet.
Specified by: Anders Andersson <anders@sanyusan.se>
1999-12-29 12:53:21 +00:00
shin
763bfae4f8 Forgot to add newly added udp and raw IPv6 apps to usr.sbin SUBDIR.
They are confirmed to be buildable and seems to be working.
1999-12-29 07:11:50 +00:00
peter
7db4aa0748 Zap kvm_mkdb, it was for kvm_nlist's benefit, but now it goes direct
to the in-kernel hashed symbol tables (including modules).
1999-12-27 07:27:50 +00:00
shin
50ba589c66 IPSEC support in the kernel.
pr_input() routines prototype is also changed to support IPSEC and IPV6
chained protocol headers.

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
1999-12-22 19:13:38 +00:00
roberto
b03622e07d Bye bye xntpd, enter ntp.
Reviewed by:	phk
1999-12-16 12:42:09 +00:00
guido
72d1e2ab21 Move basic ifilter utils to sbin where they shold have been committed by
me in the first place. While we're at it: add MAINTAINER line
1999-12-06 20:50:04 +00:00
peter
d937d04078 Reactivate bind (named and tools) 1999-11-30 06:22:22 +00:00
peter
dc618593bd Move named and associated tools into a seperate makefile section and
disable them pending an import and cleanup of bind 8.2.2.p5.
1999-11-30 02:18:13 +00:00
phk
a3e4a9264f Remove bad144 program. 1999-11-27 14:35:22 +00:00
guido
d88b9852b5 rewire userland ipfilter programs 1999-11-23 21:57:29 +00:00
dillon
c94bd717ba Add rpc.umntall utility, to be used by startup and shutdown scripts
to replace (broken) umntall signal code previously in mountd.

Submitted by:	Martin Blapp <mb@imp.ch>
1999-11-21 08:06:00 +00:00
dfr
b49d81918c Enable mixer on alpha. 1999-11-13 18:34:22 +00:00
julian
c5c63975d5 Whistle's Netgraph link-layer (sometimes more) networking infrastructure.
Been in production for 3 years now. Gives Instant Frame relay to if_sr
and if_ar drivers, and PPPOE support soon. See:
ftp://ftp.whistle.com/pub/archie/netgraph/index.html
for on-line manual pages.

Reviewed by: Doug Rabson (dfr@freebsd.org)
Obtained from:  Whistle CVS tree
1999-10-21 09:06:11 +00:00
billf
ec7bf4a432 mergemaster bmake glue. 1999-10-20 07:33:09 +00:00
peter
76c8e9b267 Nuke the old antique copy of ipfilter from the tree. This is old enough
to be dangerous.  It will better serve us as a port building a KLD,
ala SKIP.
1999-10-10 15:08:38 +00:00
peter
efabb9ccb1 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
mjacob
2cfab0c1d9 Some floppy related commands (fdformat, fdwrite, fdcontrol) need not be
restricted to i386.
1999-08-10 01:04:11 +00:00
se
c1498b784a Activate building of elf2exe for MACHINE_ARCH==alpha. 1999-07-28 20:16:49 +00:00
rnordier
33ee2a3294 Activate kgzip. 1999-07-19 20:22:44 +00:00
iwasaki
669be26799 Activate apmd. 1999-07-10 17:44:02 +00:00
dfr
0ff387396e Port pnpinfo to alpha. 1999-05-22 17:35:48 +00:00
obrien
f2521ffec6 Move sysctl/ to src/sbin/ where it now belongs.
Repository copied by:	Peter
1999-05-10 10:17:22 +00:00
wpaul
fd47563fe4 Add device driver support for the Lucent WaveLAN/IEEE 802.11 PCMCIA
adapter (and some workalikes). Also add man pages and a wicontrol
utility to manipulate some of the card parameters.

This driver was written using information gleaned from the Lucent HCF Light
library, though it does not use any of the HCF Light code itself, mainly
because it's contaminated by the GPL (but also because it's pretty gross).
The HCF Light lacks certain featurs from the full (but proprietary) HCF
library, including 802.11 frame encapsulation support, however it has
just enough register information about the Hermes chip to allow someone
with enough spare time and energy to implement a proper driver. (I would
have prefered getting my hands on the Hermes manual, but that's proprietary
too. For those who are wondering, the Linux driver uses the proprietary
HCF library, but it's provided in object code form only.)

Note that I do not have access to a WavePOINT access point, so I have
only been able to test ad-hoc mode. The wicontrol utility can turn on
BSS mode, but I don't know for certain that the NIC will associate with
an access point correctly. Testers are encouraged to send their results
to me so that I can find out if I screwed up or not.
1999-05-05 07:37:11 +00:00
phk
ca21a25f17 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
obrien
e3ff2d4586 \begin{bdemode}
sort tcpd* entries
\end{bdemode}
1999-04-28 08:00:50 +00:00
msmith
365b0a04ef Build memcontrol too. 1999-04-07 04:12:02 +00:00
markm
147edf2497 Build tcp_wrappers' userland. I am not building tcpd, because in a day
or two, inetd will gain the necessary functionality. At that stage,
I'll make wrapping the default for sendmail and portmapper as well.
1999-03-14 18:02:14 +00:00
brian
6eaebd4ffe src/usr.sbin/natd -> src/sbin/natd (after a repo-copy by jdp) 1999-03-12 15:38:55 +00:00
rnordier
16fb6ab9d7 Activate boot0cfg. 1999-02-21 21:30:13 +00:00
msmith
eff743f51a Back out 1.146 - usbd is already enabled. 1999-01-11 18:03:54 +00:00
msmith
54c6b274b9 Add usbd to the build 1999-01-11 08:06:04 +00:00