Commit Graph

750 Commits

Author SHA1 Message Date
pst
f7fca6bd59 Cover 8.6.10 merge conflicts and warnings 1995-02-23 00:46:36 +00:00
pst
c5cee38d7d Add watch(8) 1995-02-23 00:26:49 +00:00
pst
37063bd4ed Sendmail 8.6.10 update for security problems.
Imported on CSRG/V_8_6_10 branch.

Obtained from: CSRG/Allman
1995-02-23 00:20:00 +00:00
pst
da7b8f5925 This commit was generated by cvs2svn to compensate for changes in r6647,
which included commits to RCS files with non-trunk default branches.
1995-02-23 00:20:00 +00:00
pst
cd3d394264 Sendmail 8.6.10 update for security problems.
Imported on CSRG/V_8_6_10 branch.

Obtained from: CSRG/Allman
1995-02-23 00:20:00 +00:00
pst
376cca86d0 Rewrite manual page to use mandoc correctly and fix english grammar. 1995-02-22 23:47:51 +00:00
ats
7351ae2304 Document the mountdtab file in the man page. 1995-02-22 21:42:48 +00:00
jkh
09d09cb934 Make good on my promise to finally clean up the config clobbering.
If you invoke config with the `-n' flag or have NO_CONFIG_CLOBBER in
your environment, config will behave the same way it used to.  This is
now _documented_ as well.  Rip out all the CONFIG_DONT_CLOBBER cruft;
some of it wasn't even correct anyway.
1995-02-22 15:37:32 +00:00
sos
a8582ea049 Next syscons update (given up on numbering :)
Removed screensavers from syscons, they are now LKM's. This makes it
possible to do some really "interesting" screensavers...
Fixed bug that sometimes caused garbage to appear when leaving
"scroll-lock" history.
Reformattet indentation, it got too deep for a normal 80 pos screen.
Split up in syscons.c & syscons.h for use with the saver-lkm's.
Temporarily removed -s option from vidcontrol, savers should now
be loaded with modload.
1995-02-22 13:48:07 +00:00
amurai
9b728823fe The 'set ifilter'/'set ofilter' commands accept a syntax containing
IP addresses and/or protocol+port, but in the case where both are
supplied, it happily accepts the command but ignores the proto+port
It also attempts to handle the case where the second IP address
is omitted, but this doesn't work.

Reviewed by:  amurai@spec.co.jp
Submitted by: Andrew.Gordon@net-tel.co.uk
1995-02-22 06:44:03 +00:00
ache
3060934c59 Use CDPLAY environment variable to not type argument each time
Submitted by: hvd@terry.ping.dk
1995-02-22 01:45:03 +00:00
ache
d867c402f2 mixer added 1995-02-22 01:37:47 +00:00
ache
63e2101da1 Do not close cd after eject, close on each ioctl error instead.
Do not open cd on help and quit commands.
1995-02-22 01:19:06 +00:00
ats
5c36476ca0 Add sgsc to the clean/cleandir targets. 1995-02-21 10:30:41 +00:00
wollman
508504ecff Use POSIX.2 regular expressions, get rid of libcompat. 1995-02-21 04:05:20 +00:00
phk
2ce55aa815 Be more exclusive about cvs-locks. 1995-02-21 02:09:47 +00:00
guido
a5eaebecd0 Implement maxprocperuid and maxfilesperproc. They are tunable
via sysctl(8). The initial value of maxprocperuid is maxproc-1,
that of maxfilesperproc is maxfiles (untill maxfile will disappear)

Now it is at least possible to prohibit one user opening maxfiles

-Guido

Submitted by:
Obtained from:
1995-02-20 19:42:42 +00:00
phk
21582849dd Use absolute path for the "ctm" program. 1995-02-20 19:07:32 +00:00
phk
141f6db26d The new and improved mkCTM. Learning from this experience it has been
improved on a couple of accounts.  Amongst these are "damage control"
more than 100 files removed and it will bail out...
1995-02-20 03:03:02 +00:00
jkh
5f4b7bc92c 1. Get all the nodes in this texinfo document happily pointing in the proper
directions.

2. Drop in a Makefile that properly installs the info files for this.
1995-02-19 09:11:07 +00:00
phk
540b71c23a Some recent small changes. Probably about time I start writing this in C. 1995-02-19 04:51:41 +00:00
bde
476ac66c48 Write setconf() in KNF, in K&R C, and in Standard C.Standard C. 1995-02-18 21:32:19 +00:00
wpaul
09b7a3d45c Do away with 'options SWAP_GENERIC' once and for all: I get ill
just thinking about it.

Two changes need to be made to allow 'config kernel swap generic' to
work properly without requiring any compile-time flags:

/usr/src/usr.sbin/config/mkswapconf.c: we need to define a dummy stub
for the setconf() function to replace the one in swapgeneric.c that
isn't available in non-generic configurations.

/usr/src/sys/i386/i386/autoconf.c: the -a boot flag causes setroot()
to be skipped and lets setconf() prompt the user for a root device.
If you skip setroot() in a non-generic kernel, you could get severely
hosed. To avoid this, we silently ignore the -a flag if rootdev != NODEV.
(rootdev is always initialized to NODEV in swapgeneric.c, so if
we find that rootdev is something other than NODEV, we know we're
not using a generic configuration.)
1995-02-18 18:05:35 +00:00
jkh
6d90dafba0 Remove bogus reference to snp.4. Somebody kinda screwed up their move! :) 1995-02-18 17:10:40 +00:00
ugen
17d7743fc9 Manpage for snoop device itself. 1995-02-17 17:53:52 +00:00
ugen
6ad7ac26ed Add manpage to makefile 1995-02-17 16:41:43 +00:00
ugen
763438f018 Watch fresh-made manpage.. 1995-02-17 16:40:32 +00:00
ugen
d722999cd2 This is watch - programm to work with /dev/snp,
it still lacks manpage-i will commit it today later.
For now to test try: watch [ttyname] :)
1995-02-17 14:36:03 +00:00
jkh
fd8db944d6 Rename TMPDIR to PKG_TMPDIR, just to make Jeff happy.. :-) 1995-02-16 12:43:00 +00:00
jkh
995d7a80c6 Make a link to /etc/rmt when we're installed. 1995-02-16 12:34:35 +00:00
bde
386260138a config.y:
Support slice numbers in device names.  The syntax is `<driver name>
[<unit number>] ['s' <slice number>] [<partition letter>]'.  Only
`['s' <slice number>]' is new here.  The slice number defaults to 0
so that there is no change in the output from config if this new
feature is not used.

Replace some magic disk numbers by `dk' slice and label macros.

mkswapconf.c:
Improve the output formatting:
Generate <> style includes.
Print minor numbers in hex so that slice numbers are easy to see and edit.
Print the rootdev and dumpdev names in comments like the swapdev names.
1995-02-16 12:17:30 +00:00
bde
38bd7314f4 Always return null-terminated identifiers from yylex(). 1995-02-16 11:52:11 +00:00
wpaul
2d9bdef553 ypbind jumbo patch :)
The existing ypbind exhibits some truly anti-social behavior. After
initially establishing a binding with an NIS server, the following events
take place:

- ypbind waits for 60 seconds before trying to broadcast a ping again
- after the 60 seconds expires, ypbind sends out broadcasts every 5 seconds
  come hell or high water.

These broadcasts travel far and wide, even to NIS servers in other domains
which dutifully log the packets even though they don't respond to them.
This leads to lots of unnecessary traffic and bloated log files.

This behavior has been fixed/changed. Here's what happens now:

- We still broadcast every 5 seconds at startup, just like before.

- Once bound, we send out packets once every 60 seconds to the server
  we're bound to AND NO ONE ELSE.

- If we fail to receive a reply from our server within FAIL_THRESHOLD
  seconds, we assume our server has croaked and go back to broadcasting
  everywhere every 5 seconds again until somebody answers. FAIL_THRESHOLD
  is currently set to 20 seconds.

Other fixes/improvements:

- ypbind now logs 'server not responding' and 'server OK' messages where
  appropriate.

Thanks to Thomas Graichen <graichen@omega.physik.fu-berlin.de> for
reporting the problem and guilt-tripping me into fixing it. :)
1995-02-16 01:21:44 +00:00
wollman
b561709c87 Allow the user access to net.inet.igmp, even though there's nothing
sysctl(8) can interpret there.  (Someday there might be.)
1995-02-16 00:28:42 +00:00
ache
2b346ee394 pkg_manage added 1995-02-15 20:52:52 +00:00
ache
3a865efa2b This commit was generated by cvs2svn to compensate for changes in r6462,
which included commits to RCS files with non-trunk default branches.
1995-02-15 20:47:56 +00:00
ache
85e70fdb05 pkg_manage utility, using file selector 1995-02-15 20:47:56 +00:00
phk
c89046c555 Various nitpicking from Stephen.
Reviewed by:	phk
Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
1995-02-15 19:41:38 +00:00
ache
fc072de9a3 Add more verbosity for status, if standalone 1995-02-15 17:43:12 +00:00
ache
2cb7ba94ef This commit was generated by cvs2svn to compensate for changes in r6448,
which included commits to RCS files with non-trunk default branches.
1995-02-15 17:33:04 +00:00
ache
48179f425a non-X mixer, useful into rc.local 1995-02-15 17:33:04 +00:00
jkh
865c4a7d98 Make pkg_install use /var/tmp instead of /tmp
Suggested by:	hsu
1995-02-15 03:48:13 +00:00
jkh
783d0964f6 I've found two bugs in manctl(8). There are two spurious ";" after a "then"
in the script. The result is the following :

203 [23:47] root@keltia:/build/cvs-1.4A2# manctl
/usr/sbin/manctl: 165: Syntax error: ";" unexpected

Here is the fix :
Submitted by:	Ollivier Robert <Ollivier.Robert@keltia.frmug.fr.net>
1995-02-15 00:07:59 +00:00
wpaul
0800cc9478 Added three line hack to nfs_ops.c to add support for the 'resvport'
mount option: you need this little bugger in environments with facsist
SunOS NFS servers (like mine :).
1995-02-13 01:56:22 +00:00
jkh
5eb65213a5 Updated this to be more FreeBSD-like; there was a lot of bipartisan cruft
in here that just made it a heck of a lot more confusing to maintain.
Somebody like Joerg can reality-check this at some point, when they have more
time.  For now, it works.
1995-02-12 01:51:34 +00:00
ats
d046e3a758 Fix a little typo. Change the "race record" to a "trace record" :-). 1995-02-10 22:07:42 +00:00
phk
3b11b18c58 Clean up some details, to make it clear to gcc that we do not try to do
something stupid.
1995-02-10 05:25:00 +00:00
wollman
f56d4ade79 mtree * MD5 = better security
Idea from: Dr. John T. Wroclawski
1995-02-10 03:12:42 +00:00
wollman
df7354d684 Implement TCP MIB variables. 1995-02-09 23:16:17 +00:00
bde
2daabec736 Add ctm and sgsc. ctm is has proved useful and sgsc seems to have been
forgotten.
1995-02-09 15:36:08 +00:00
bde
5548cacc82 Restore the field widths that were clobbered by the previous commit so that
the columns in ioconf.c line up if there are no long names.
1995-02-08 18:42:58 +00:00
dima
ae6eee4ee5 Fixed usage() (cosmetic changes. "(string)" looks much better
than "(string" :-)
1995-02-08 01:07:16 +00:00
sos
a22b375b05 Added new choises of cursors. 1995-02-07 11:56:21 +00:00
phk
f1b2dcf633 Stephen lost a -D, now it's back. 1995-02-06 02:22:29 +00:00
phk
58be14ac2d Removed the name length limitations on the device-driver names entirely.
Now device-names can be more than 3 chars.
1995-02-05 21:15:21 +00:00
jkh
839ad52739 PCVT userland utilities.
Submitted by:	hm
1995-02-05 13:49:25 +00:00
jkh
8a338bacd9 This commit was generated by cvs2svn to compensate for changes in r6199,
which included commits to RCS files with non-trunk default branches.
1995-02-05 13:49:25 +00:00
phk
873b076b61 Added final '\n' 1995-02-04 20:02:01 +00:00
phk
47e4dbe85e A couple of sensible changes from down under...
Reviewed by:	phk
Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
1995-02-04 19:20:49 +00:00
se
4564ae83e7 Moved "#include <pci/pcivar.h>" from "usr.sbin/lsdev/i386.c"
to "/sys/i386/include/devconf.h", where it really belongs.
1995-02-04 12:47:19 +00:00
bde
79321cab65 Include ncr.c from where it is now. 1995-02-03 20:49:10 +00:00
se
0cdba524c9 Add #include <pci/pcivar.h> for definition of PCI_EXTERNAL_LEN.
Reviewed by:
Submitted by:
Obtained from:
1995-02-03 20:26:50 +00:00
jkh
7b026c1466 Cosmetic fix.
Submitted by:	Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
1995-02-02 03:36:51 +00:00
amurai
e45d42c64c PPP does not find config files (Wrong path name not a /etc/ppp)
Submitted by:	Michael Reifenberger <root@rz-wb.fh-sw.de>
1995-02-02 01:54:27 +00:00
phk
27ca9d3bb5 CTM email tools.
Reviewed by:	phk
Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
1995-01-31 19:12:53 +00:00
amurai
c2417479c7 Adding "ppp" entry for a user process PPP (aka iijppp) 1995-01-31 07:57:09 +00:00
amurai
f8a63aa3da This commit was generated by cvs2svn to compensate for changes in r6059,
which included commits to RCS files with non-trunk default branches.
1995-01-31 06:29:58 +00:00
amurai
d1e35feace 1995-01-31 06:29:58 +00:00
amurai
21ef2761fd 1995-01-31 06:29:58 +00:00
sos
97c71acd6f Added 80x30 & 80x60 experimental modes officially. 1995-01-30 21:44:07 +00:00
sos
56d38939c8 Added h option for setting the historysize.
fixed problem with Both n&C flags.
1995-01-30 21:41:14 +00:00
dfr
4ae95525d6 Add support for kerberised NQNFS. 1995-01-30 18:56:06 +00:00
sos
46c57c8d60 Third round in syscons update.
Display update method changed, now allways write in memory buffer,
  then periodically update physical display.
Speed improvements (now > 5 times faster than the old syscons).
History now circular buffer, with changeable size.
History scroll by up/down line, up/down page, home and end.
Backtab proberly implemented.
Now space for 96 function keys, 63 allocated standard, default now
  SCO/SYSV compat again as in the old days.
New keyboard definition files ~share/syscons/keymaps/*
Misc fixes for old "hacks" that broke SCO/SYSV compat.
More that I forgot before writing this...
1995-01-28 22:18:05 +00:00
ache
b7612583e7 Fix configurations in which mail route depends of the name
of sender host.
Submitted by: vak@cronyx.msk.su
1995-01-28 04:09:05 +00:00
dg
7e03208067 Be sure to properly fail if there are not enough fields. Problem
reported by MARC Giannoni <marc@cmc.eng.comsat.com>, this fix is by me.
1995-01-27 22:30:03 +00:00
dg
d8ba1dd95a from Matt Day <mday@artisoft.com>:
> So, the problem is hostnamebyanyaddr() assumes that _res is already
> initialized to proper values, but this is no longer true as of BIND
> 4.9.3.  Here is a patch for sendmail 8.6.9 which changes
> hostnamebyanyaddr() to make sure res_init() has been called before using
> _res.retry.

Submitted by:	Matt Day <mday@artisoft.com> via Terry Lambert
1995-01-27 22:14:38 +00:00
ache
236229be67 Add missing ${.CURDIR} 1995-01-24 08:30:13 +00:00
joerg
5eddfb68a1 Implementing the "lp" command.
This command is required to exist in terms of compatibility with the
Posix 1003.2 specification.  It actually invokes the lpr service with
the proper options.
1995-01-23 19:22:43 +00:00
joerg
574153b9bc Add "lp" to list of subdirs. 1995-01-23 19:17:22 +00:00
wollman
837a5d2f5b Allow NIS maps, noconn mounts .
Sumbitted by: Boyd Faulkner <faulkner@mpd.tandem.com>
1995-01-20 20:58:54 +00:00
bde
8838d36fa5 Enable iostat on i386's. 1995-01-19 16:29:30 +00:00
jkh
f02202acd5 Make Makefile take a relative path for CFLAGS.
Submitted by:	Remy Card <Remy.Card@masi.ibp.fr>
1995-01-17 15:07:13 +00:00
wollman
ad9893838a Fix Sharnoff complaint #121 (cross-reference to config.new which does not
exist on the i386 platform).
1995-01-14 20:25:02 +00:00
sos
44bbcce705 First round in syscons update. Several new features has been added:
No kernel config options anymore besides keyboard language layout.
Virtual consoles are now dynamically allocated, no NCONS anymore.
Software cursor blinking/nonblinking.
Visual bell for laptops (don't beep at meetings :-).
Cursor/bell default type setable via config "flags" instead of as defines.
Cursor/bell type setable via ioctl's.
New video modes 80x30 80x60 for some laptops, and those with multisync monitors.
Scroll-lock history (length currently fixed at 100 lines).
Lots of cleanups, some only commented out for now (will goaway soon).
Support for new features in vidcontrol/kbdcontrol.
Updated manpages.
1995-01-12 11:47:05 +00:00
phk
a7c5c4d132 Speed kvm_mkdb up by a factor 5 or thereabout. Rewrote all the fseek/fread
nonsense to use a mmap'ed file instead and told the DB/hash what we are up to.

dev_mkdb could maybe benefit from the same treatment.
1995-01-10 18:37:12 +00:00
ache
47bbf47f3c Updates from jmz and me 1995-01-10 18:35:23 +00:00
jkh
99804c7d49 Correct some of the english. 1995-01-09 11:32:01 +00:00
jkh
0cf90bc747 Wolfram Schneider <wosch@cs.tu-berlin.de>:
o manpage
	o save configuration in /etc/adduser.conf
	o send message file (/etc/adduser.message)
Submitted by:	woschcs.tu-berlin.de
1995-01-09 11:26:31 +00:00
joerg
3fcd556a98 Use the "-F" option to /bin/pr now that we have it (thanks to Posix).
This helps for printers that tend to get out of sync.  (For the
cautious folks: we used to have it in 1.1.5, too.  But GNU pr used
"-f" for it.)
1995-01-08 18:01:11 +00:00
jkh
6a8333301f sgsc - utility to control the Genius GS-4500 scanner.
Submitted by:	gusw@fub46.zedat.fu-berlin.de
1995-01-07 14:17:22 +00:00
jkh
021c17e419 This commit was generated by cvs2svn to compensate for changes in r5425,
which included commits to RCS files with non-trunk default branches.
1995-01-07 14:17:22 +00:00
jkh
f8d21a60a1 Whoops! How embarassing. Just now noticed that I forget to update the .Os
lines.  Done.
1995-01-05 10:37:13 +00:00
jkh
b0f37a24cb Fix a bad formatting directive. 1995-01-05 10:31:42 +00:00
jkh
85c85b8011 Fix misleading typo in description of @unexec. 1995-01-05 10:22:51 +00:00
swallace
fa156e55d6 Added new function show_index() which does a 'smart' display of the index file.
Index descriptions are limited to MAXINDEXSIZE (60) chars.  Any description
beyond that is truncated.  Also, only the first line is displayed as well.
This allows pkg_info -a -I to be formated in two columns with one line
per package for easy reading.

Reviewed by:	jkh
1995-01-05 01:10:13 +00:00
ats
eef17cc760 Submitted by: Ollivier ROBERT
Wrong description where the printer socket lives. Changed from /dev/printer
to /var/run/printer. Bug report submitted by Ollivier ROBERT.
1995-01-04 22:55:00 +00:00
jkh
3b3d4a8c7e Updates from Peter da Silva to match the recent syslogd changes.
Submitted by:	pds
1995-01-04 00:40:38 +00:00
jkh
aec1675e97 Update adduser to version by Wolfram Schneider. Sorry, Gary, but his
adduser is a Cadillac to your Volkswagen.. :-)
Submitted by:	wosch@cs.tu-berlin.de
1995-01-03 09:46:14 +00:00
gibbs
be8b9344b8 Allow config to fully handle the aic7770 driver dependancies. 1994-12-31 19:23:10 +00:00
ache
40c7031e22 Change ${COPY} to -c, always needed here 1994-12-31 11:13:52 +00:00
ache
866cb66ce4 Change ${COPY} to -c, always needed here
Remove manpage reference to BSD adduser, add pwd_mkdb reference
1994-12-31 11:12:35 +00:00
jkh
d3e71d8754 Fix:
>Number:         86
>Category:       misc
>Synopsis:       fixit.conf missing srcdir
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    core (FreeBSD core team)

From John Capo.
Submitted by:	jcapo
1994-12-31 05:36:40 +00:00
ache
25a5fb9862 Remove unneded kbdcontrol from SUBDIRS
Submitted by: roberto@blaise.ibp.fr
1994-12-30 15:44:32 +00:00
ache
89c1ceb605 Cleanup. 1994-12-30 15:40:11 +00:00
ache
d9a91dd43f Remove extra targets per Bruce suggestion.
Use more macros instead of hardcoded things
1994-12-30 15:38:04 +00:00
ache
247b0f64fa Change man section 1994-12-30 12:15:39 +00:00
ache
a308868ddc Oops, rename adduser.sh to adduser.perl
Add empty clean and obj targets.
1994-12-30 12:13:08 +00:00
ache
df40a2211f Yet one cleanup 1994-12-30 12:03:48 +00:00
bde
963bf79873 Fix everything. 1994-12-30 07:18:23 +00:00
wollman
bd143034a7 Extend syslogd to allow selection of log destinations by program.
Use getbootfile() to determine the kernel name.

Submitted by: Peter da Silva
1994-12-29 22:02:25 +00:00
gclarkii
b80f2f4fc2 Changed my copyright back. Too many problems with new one. 1994-12-28 17:27:21 +00:00
ache
a120a7d833 adduser added 1994-12-28 14:00:11 +00:00
ache
f75a0b305c Fix configfile path 1994-12-28 13:49:55 +00:00
ache
51b1e14e46 Move conf files to src/etc 1994-12-28 13:47:31 +00:00
gclarkii
46e9ddaf12 Add makefile for adduser.
Would a makefile guru please look this over to make sure I did this right?
1994-12-28 07:35:09 +00:00
gclarkii
09e953fa34 Add Id strings 1994-12-28 07:11:29 +00:00
gclarkii
9389a0f8ab This commit was generated by cvs2svn to compensate for changes in r5262,
which included commits to RCS files with non-trunk default branches.
1994-12-28 06:55:42 +00:00
gclarkii
a839cfdbd5 Adding my adduser command. I only have to add a makefile for it to
be compleate.
1994-12-28 06:55:42 +00:00
ats
38aef23768 Submitted by: John Capo
Bogus pstat usage message from pstat:
usage: pstat -Tfnstv [system] [-M core] [-N system]

[system] is not mentioned in the man page and I don't
see where it is used in the code either.
Added also a [] around the first options to show them as optional, ATS.
1994-12-28 00:47:03 +00:00
wollman
d067a90a1c Disable UDP service looping attack. 1994-12-21 19:08:45 +00:00
ache
bf3a1964a9 Now crontab works not only for vi editor, i.e. refers to
file name not to file fd
1994-12-21 11:06:08 +00:00
ats
a7b72cfd84 Changed two occurrences of tcpdump(l) to tcpdump(1). 1994-12-12 00:41:04 +00:00
ats
989811f35b Change a SLSTAT 1 to SLSTAT 8 . 1994-12-12 00:38:01 +00:00
ats
77a04e8154 Changed a PPSTATS 1 to PPPSTATS 8 . 1994-12-12 00:36:41 +00:00
ats
654c71c01b Changed an LSDEV 1 to LSDEV 8 . 1994-12-12 00:35:01 +00:00
ats
b17be21abe Changed a ACCTON 1 to a ACCTON 8 . 1994-12-12 00:32:36 +00:00
ats
6051697fc2 Fixed a typo: /usr/sbin/lpd* to /usr/sbin/lpd as the name of the daemon. 1994-12-11 00:02:22 +00:00
phk
270f02056c Update to current reality. 1994-12-08 21:46:04 +00:00
bde
fd5f3a269c Finish removing `#ifdef STATCLOCK'. Not removing it properly here
probably broke (only) the association of interrupts with strings
in vmstat output.
1994-12-06 22:01:16 +00:00
jkh
46ecb27be8 More changes from John T. Kohl. Man pages, mostly.
Submitted by:	jtkohl
1994-12-06 01:04:17 +00:00
jkh
773a5f451d Many of John T. Kohl's patches from NetBSD. Thanks, John!
Submitted by:	jkohl
1994-12-06 00:51:50 +00:00
phk
267256d1f5 The vnconfig program. 1994-12-04 20:12:26 +00:00
phk
4efcdc441e Added the vnconfig program. 1994-12-04 20:11:50 +00:00
phk
40b3f41ba4 Cannot use rmdir() for 'FR' because mkCTM doesn't sort the directories
in -depth order for us.  cvs-cur.0018.gz is a good example.
1994-12-04 04:47:31 +00:00
phk
e3931eff1e Fix this to work under 2.0 also. 1994-12-03 22:54:04 +00:00
nate
d856190a55 Kernel name is now kernel and not 386bsd. 1994-12-02 06:19:37 +00:00
wollman
17bb48fa11 Change obnoxious ``Not root dir'' error message into one which actually
tells you what's wrong.
1994-12-02 02:58:56 +00:00
phk
3e9d62e475 Fixed a typo. Poited out by Bruce & Phillipe. 1994-12-01 21:05:28 +00:00
ache
c88ae84584 BSD 4.4 compatibility fix
Submitted by: Ollivier Robert
1994-11-29 01:05:37 +00:00
ats
1d17aa50e6 Add the automatically generated crunched_skel.c file to the CLEANFILES. 1994-11-28 11:46:37 +00:00
bde
8718fcc421 Remove ifdef for STATCLOCK. STATCLOCK is standard. 1994-11-27 16:16:35 +00:00
bde
29fef64681 Apply an even number of ntohl's to icmp_otime. This fixes
`timedc clockdiff ...'.
1994-11-27 16:06:31 +00:00
bde
d8f82d9164 Fix syntax errors (0 = foo()). 1994-11-27 16:01:29 +00:00
phk
ef554cb312 Stefan Esser proved that I couldn't program, and Ollivier Robert that I
couldn't spell :-)
Submitted by:	Stefan Esser, Ollivier Robert
1994-11-26 08:57:42 +00:00
wollman
95e1d8c3a6 Don't core on ``root on qq0 and fx0 and yy0'' specifications; just
take the first one and ignore all the rest, giving a warning message.
Fixes PR #3.
1994-11-23 20:36:08 +00:00
ache
1c05db4474 Make edquota works with other then vi editors,
i.e.check file by name, not by fd
1994-11-22 18:52:58 +00:00
phk
baa81b0c85 abs path to /sys 1994-11-21 02:21:07 +00:00
phk
481dcdac75 once more 1994-11-21 01:54:55 +00:00
phk
5b87052f84 More abs paths nuked 1994-11-21 01:52:36 +00:00
phk
fd2550d3d3 And another absolute path -I :-< 1994-11-20 22:42:16 +00:00
ats
c2cf3fbd35 Put a simple algorithmus in there that checks the last generated prototype
for ioconf.c with the current and suppress the generation if they are
equal. This now prevents all the warnings from the c-compiler about
sio or snd or two adaptecs. This works only if the sio lines are grouped
together in the config files, but it is better than nothing.
1994-11-20 13:39:07 +00:00
ats
0e3fe6fd27 Add the missing subdirs cdplay and spkrtest into the clean/cleandir targets. 1994-11-19 17:34:12 +00:00
jkh
c49122881a Some miscellaneous bug fixes inspired by Adam Glass's work. Adam's
work is actually more comprehensive, but I just took what was needed
for now given our compressed time schedules.  Thanks, Adam!
Submitted by:	glass
1994-11-19 13:57:21 +00:00
ats
33879b3599 More updates to the manual pages. Used also the unknown macro.
Also install the named-xfer manual page, when we have it in the source.
1994-11-19 13:42:06 +00:00
ats
d6edf24771 More updates to the manual pages. Used also the unknown macro. 1994-11-19 13:41:26 +00:00
ats
39b1dfca20 Correct the nslookup manpage that has some macros in it, that our man system
doesn't understand.
1994-11-19 13:16:52 +00:00
ats
e32cc240b5 Correct the named manpage that has some macros in it, that our man system
doesn't understand.
1994-11-19 13:14:54 +00:00
jkh
3a0631427d From: "Jonathan M. Bresler" <jmb@kryten.Atinc.COM>
in getting mirror-2.3 to work with FreeBSD, i found that timelocal.pl has
a bug.  a patch is included below.  this needs to be applied to both
src/gnu/usr.bin/perl/lib/timelocal.pl and
src/usr.sbin/xntpd/scripts/monitoring/timelocal.pl

Reviewed by:
Submitted by:
Obtained from:
1994-11-18 02:55:21 +00:00
gibbs
8aa7a37cce Add new keywords to config. The options availible in file.i386 are now:
/*
         * filename     [ standard | optional ] [ config-dependent ]
         *      [ dev* | profiling-routine ] [ device-driver] [ no-obj ]
         *      [ compile-with "compile rule" [no-implicit-rule] ]
         *                     [ dependancy "dependancy-list"]
         */

I added

no-obj -  This entry does not create anything linkable to the kernel.
dependancy - Add additional dependancy rules to a target.
no-implicit-rule - Don't assume .c -> .o type rules.  Config is really
             dumb in this area and assumes that everything is a .c file
	     irregarless of extention.  This was the best choice really
	     since there may even be .c file that you don't want to follow
	     the standard rules.

This was all done so that the building to the aic7770 assembler and using
the aic7770 assembler in the building of the aic7770 driver could be config
dependant.  I can now have an entry like this for the driver:

aic7770                         optional        ahc     device-driver   \
        compile-with    "${CC} $> -o $@"                                \
        dependancy      "$S/gnu/misc/aic7770/aic7770.c"                 \
        no-obj no-implicit-rule
aic7770_seq.h                   optional        ahc     device-driver          \
        compile-with "${.CURDIR}/aic7770 -o $@ $S/gnu/misc/aic7770/aic7770.seq"\
        dependancy "$S/gnu/misc/aic7770/aic7770.seq aic7770"                   \
        no-obj no-implicit-rule
i386/isa/aic7770.c              optional        ahc     device-driver   \
        dependancy "aic7770_seq.h"

I also added '\' escaping to newlines so that this doesn't look as gross as
it could have.

Reviewed by: jkh
1994-11-17 20:30:01 +00:00
jkh
316a159f85 Don't create packages with bogus @name lines. 1994-11-17 10:54:11 +00:00
jkh
7778f5380f Protect against old packages with bogus @name fields. Use basename_of()
on the name before recording it in /var/db/pkg.  Sorry, Kaleb, you
were right after all!  It was my fault! :)
1994-11-17 10:53:21 +00:00
jkh
f0f266b384 Add a new basename_of() function. 1994-11-17 10:51:51 +00:00
jkh
5d00f60140 Remove the QUERY_* functions. I don't think they're as good an
idea as I apparently once did.
1994-11-17 10:35:04 +00:00
ache
48765f90e3 strncmp use wrong utmp name size
Submitted by: rlz@zeus.id.net
1994-11-14 20:26:52 +00:00
bde
4333a0959b Add missing define of DPADD. Remove uneccessary define SRCS. Reorder
defines.
1994-11-14 08:02:40 +00:00
bde
a5b37c90d5 Don't follow a null pointer for the reporting error if kvm_openfiles() fails.
Don't ever pretend that the program is named "." and has no args.
1994-11-14 07:54:06 +00:00
bde
3c1db6da25 Don't build an unused array of kernel names when HAVE_GETBOOTFILE is
defined.

Don't use the newfangled C features to waste time building the array
at runtime when HAVE_GETBOOTFILE is not defined.
1994-11-14 07:51:11 +00:00
lars
01ed7fba28 Delete duplicate pppd entry. Also move pppstats in the right spot lexically. 1994-11-12 22:24:17 +00:00
lars
71c125fd69 Obtained from: ppp-2.1.2
More correct use of __FreeBSD__ and BSD4_4 ifdefs. Fixed kvm_openfile()
call based upon suggestion from Bruce Evans.
1994-11-12 19:33:41 +00:00
lars
01ba00a426 pppd was missing from the SUBDIRS. 1994-11-12 19:15:01 +00:00
ache
edc9bb1c76 Use CDIOCALLOW before CDIOCEJECT 1994-11-12 18:25:03 +00:00
ache
07b3f43db1 cdplay added 1994-11-12 16:05:43 +00:00
ache
ea9399104e This commit was generated by cvs2svn to compensate for changes in r4392,
which included commits to RCS files with non-trunk default branches.
1994-11-12 16:03:14 +00:00
ache
1cf7809d91 Very simple non-X CD player for testing purposes,
better than nothing
1994-11-12 16:03:14 +00:00
lars
264b12c9b0 This commit was generated by cvs2svn to compensate for changes in r4381,
which included commits to RCS files with non-trunk default branches.
1994-11-12 06:07:15 +00:00
lars
b50536d92e pppstats from ppp-2.1.2 1994-11-12 06:07:15 +00:00
jkh
5ba4b165e8 Add pppd to the Makefile. It seems to work.. 1994-11-11 23:47:32 +00:00
ache
065c79ba58 Fix printout bug
Submitted by: fredriks@mcs.com
1994-11-10 13:39:01 +00:00
wollman
85b4fbc713 Treat formfeeds like any other whitespace. 1994-11-07 19:57:20 +00:00
smace
ef18154140 Make /usr/bin/crontab install setuid root. (doesn't work otherwise)
The distributed makefile in the package installs it setuid root..
Reviewed by:	jkh
1994-11-06 01:13:59 +00:00
jkh
e78f90a463 __386BSD__ -> __FreeBSD__
I know that many of these entries are bogus and need to be revisited,
but let's get the tree working again for now and then do a pass through
looking at all the __FreeBSD__ entries, shall we?
1994-11-04 02:14:13 +00:00
dg
4eb4e538ef Don't include map.h - it's been obsoleted. 1994-11-03 15:34:24 +00:00
ache
fcbce98373 Fix for 'pstat -t' works on vtys
Submitted by: jhay@mikom.csir.co.za
1994-11-03 11:41:34 +00:00
jkh
2ef8552dd5 Whoops - one two many zeros in the initializer. This should have everybody
enabled by default now.
1994-11-03 05:37:53 +00:00
jkh
223182a427 Changes to initialize the id_enabled flag to 1.
Also initialize some fields that were never initialized before, and
simply defaulted to 0.  I've never looked at this code before, now
I know why.  Config needs to die.  Horribly.
1994-11-03 04:30:01 +00:00
se
9fc13e23e8 Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
Added PCI support code.
1994-11-02 23:27:36 +00:00
ache
e61515fa64 Restore back -i for adjkerntz 1994-11-02 09:43:38 +00:00
phk
d39ebc09c3 make the right link to "zzz" 1994-11-02 07:20:58 +00:00
phk
0869125001 Remove a relic from the old "equiv" kludge 1994-11-02 04:55:15 +00:00
phk
76d6e07a93 Fixed a #include to point to machine/apm_bios.h 1994-11-02 04:54:30 +00:00
ache
db7efc2628 Remove -i option from adjkerntz 1994-11-02 00:00:17 +00:00
wollman
f22ba017a0 Add support for filesystem-specific `-o' options, and re-implement the
most common cd9660 and nfs options like God intended them.  (It is now
possible to say

	mount -o ro,soft,bg,intr there:/foo/bar /foo/bar

again.)  This whole getmntopt() business is an incredible botch;
it never should have been anything more than a wrapper around
getsubopt(3).  Because if the way the current hackaround is implemented,
options which take arguments (like the old `rsize' and `wsize') are still
unavailable, and must be accessed the new, broken way.

(It's unimaginable how Berkeley managed to screw up one of the few things
about NFS that Sun actually got right to begin with!)
1994-11-01 23:51:53 +00:00
phk
7874667561 The latest user-land changes from the author. I added a big warning to the
apm.4 man-page.  I also hope the Makefiles make sense now.

Submitted by:	HOSOKAWA Tatsumi
1994-11-01 22:46:40 +00:00
joerg
6cb1f43d67 Included the fdcontrol subdir. 1994-10-31 21:51:25 +00:00
ats
6993957f05 Deleted the private clean/cleandir targets in the Makefile. Delete
a hardcoded reference to the "obj" dir. So this makefile should now
work with and without an obj dir and deletes the obj dir with a
normal cleandir.
1994-10-31 01:17:24 +00:00
joerg
1142874b61 This commit was generated by cvs2svn to compensate for changes in r4007,
which included commits to RCS files with non-trunk default branches.
1994-10-30 18:52:01 +00:00
joerg
5d1a6c44a1 Import the fdcontrol command. It has been in 1.1.5, but obviously has been lost on its way to 2.0.
This program uses the FD_DEBUG ioctl, which will have to be commited yet.
1994-10-30 18:52:01 +00:00
joerg
1a6f66b178 Corrected the xref to the driver man page to be fdc(4) now that
we have one (instead of fd(4)).
1994-10-28 17:07:32 +00:00
jkh
a5797b5674 Remove eeprom from the default list of subdirs. It gets added properly
in the sparc case anyway.  Next step will be to move some of the i386
specific things, like fdformat and fdwrite, into an i386 .if clause.
1994-10-28 04:35:13 +00:00
se
7169429ec5 Fix typo in #if which prevented use of getbootfile() under FreeBSD-2.0. 1994-10-26 19:23:02 +00:00
jkh
927adb8ecc From: Michael Reifenberger <root@rz-wb.fh-sw.de>
Could you please commit this patch to usr.sbin/crunch/examples ?
This should make fixit.conf compilable again.
VI needs some hacks.

[Note:  I'm not sure how relevant this example is anymore, but then it's only
an example]
Submitted by:	mr
1994-10-26 14:52:43 +00:00
jkh
740cbc15e6 From: John Hay <jhay@mikom.csir.co.za>
Make swapinfo use libc functions for obtaining device information.

Note:  swapinfo should actually be deprecated, not fixed.  pstat -s performs
the same function.
Submitted by:	jhay
1994-10-26 14:49:07 +00:00
swallace
24c2aab328 Applied patch009. Also added appropriate #include <string.h> which
would have detected that memset was not being passed a pointer in the first
place.

Submitted by:	Gene Stark (?) - 1.1.5.1 patch009
1994-10-25 20:50:41 +00:00
bde
e98634582e Define DKBAD_MAGIC the same as in 1.1.5 (as 0x4321 instead of 0). 0 is
a poor value for a magic number, and we need to be compatible.
1994-10-25 17:33:25 +00:00
wollman
f77f6cd044 Added lsdev. 1994-10-24 22:22:44 +00:00
wollman
a20115b916 When -v not given, display longer state' and no parent'. 1994-10-24 22:21:51 +00:00
phk
7c68a5ca07 These patches fix some lesser problems:
1) malloc.h doesn't exits in 2.0.
2) Makefile.inc wasn't picked up so one of the build steps (install?)
failed.
3) LIBMD wasn't depended on.
4) "ctm foo" dumped core because "foo" doesn't have a '.' in it.

Bruce

I updated the mkCTM stuff while I was at it anyway.  /phk

Reviewed by:	phk
Submitted by:	bde
1994-10-24 20:09:39 +00:00
wollman
171476dff7 Updated to latest kernel code. Also provided a friendlier output format,
which is enabled by default (use `-c' to get the old format).  The new
format looks like this (only the values are correct; this was taken on my
machine with a slightly old kernel):

Device     St Parent     Description
---------- -- ---------- --------------------------------------------------
isa0       NC -
sc0        NC isa0       Parallel printer adapter
ed0        NC isa0       SMC8216/SMC8216C
sio0       NC isa0       RS-232 serial port
sio1       NC isa0       RS-232 serial port
fdc0       NC isa0       floppy disk/tape controller
fd0        NC fdc0       floppy disk
wdc0       NC isa0       ST506/ESDI/IDE disk controller
wd0        NC wdc0       ST506/ESDI/IDE disk
npx0       NC isa0       Floating-point unit

Note that many of these fields could be made more informative; I tried to make
my changes as unintrusive as possible.  See the `mcd' driver for an example
of one which actually does something with the `state' field.
1994-10-23 21:33:57 +00:00
jkh
8b298247f8 Add xten. 1994-10-22 14:59:35 +00:00
dfr
c816f711b3 Change to use the correct lock file directory. 1994-10-22 14:40:48 +00:00
jkh
84c5c7c4ab X-10 stuff from 1.1.5.1. 1994-10-22 09:55:43 +00:00
jkh
c37ec63784 This commit was generated by cvs2svn to compensate for changes in r3782,
which included commits to RCS files with non-trunk default branches.
1994-10-22 09:55:43 +00:00
jkh
9e260f7e45 X-10 stuff from 1.1.5.1. 1994-10-22 09:55:43 +00:00
ache
7d5bdbbd33 spkrtest added 1994-10-22 02:16:04 +00:00
ache
4498f3f753 This commit was generated by cvs2svn to compensate for changes in r3762,
which included commits to RCS files with non-trunk default branches.
1994-10-22 02:09:06 +00:00
ache
a262e6cddb Speaker driver test script
Obtained from: FreeBSD 1.1.5.1
1994-10-22 02:09:06 +00:00
wollman
9461adca3b Change `on'' to `at'' globally. 1994-10-18 22:01:58 +00:00
phk
5ea26df221 Added a slot in the swap-dev-table for NFS-diskless to abuse. 1994-10-18 08:16:29 +00:00
ache
a6d5d66fc2 Remove machdep.color_display 1994-10-18 03:41:16 +00:00
wollman
02d5912769 First bugfix: isa devices print as at isa?' rather than on isa0'. 1994-10-17 23:29:15 +00:00
wollman
fada9f45ad This commit was generated by cvs2svn to compensate for changes in r3673,
which included commits to RCS files with non-trunk default branches.
1994-10-17 23:26:10 +00:00
wollman
8f8aac0e4e lsdev(8), a user-land utility to query the device configuration database
managed by kern_devconf.c.  A useful feature is that the following
script generates almost well-formed config-file lines for all ISA devices
in the system:

lsdev -t isa | awk '{ print "device $0" }'
lsdev -t disk | awk '{ print "disk $0" }'
1994-10-17 23:26:10 +00:00
ache
254d81b240 Document new machdep variables, pointed by Rod 1994-10-17 18:55:21 +00:00
gpalmer
637fae7456 Change references from /386bsd' to /kernel' 1994-10-17 06:50:29 +00:00
dg
8a5eacfccf Added slstat. 1994-10-17 06:06:45 +00:00
dg
1d409b9b7b slstats for FBSD 2.0. Copied in the repository from 1.1.5, and then applied
patches from John Hay.

Submitted by:	John Hay
1994-10-17 06:05:32 +00:00
wollman
efe252383a New way of getting disk drive names. 1994-10-16 04:04:56 +00:00
phk
19619a7bef Stop "make install" from falling over if DESTDIR is defined. 1994-10-15 07:45:45 +00:00
se
b8364ce31c Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
Make -s option set parameters for all targets by default.
1994-10-15 00:03:32 +00:00
gpalmer
9658a5a2d0 Move `ncrcontrol' into machine-dependant section. 1994-10-14 23:55:50 +00:00
joerg
0cc1383e69 #include'ing mysterious stuff from ${DESTDIR}/sys/<somewhere> is no longer
necessary.
Requested by: phk
1994-10-14 16:03:33 +00:00
jkh
47d2d53b0b Sigh. NOW it's ok! :-) 1994-10-14 05:57:49 +00:00
jkh
eef0ef01be Print a better verbose message when creating packages. 1994-10-14 05:56:15 +00:00
jkh
2cf39cacf3 This should do it - I forgot about pkg_info. 1994-10-14 05:55:57 +00:00
jkh
d5a2450087 Whoops - variable was in wrong scope. Correct. 1994-10-14 05:43:41 +00:00
jkh
56f1e635f2 Fix bug in home directory calculation that I introduced with the free space
checking code.  Fix the free space checking code, while I'm at it! ;)
Thanks to Garrett for spotting the home dir problem.
1994-10-14 05:42:24 +00:00
jkh
b1ba6ab286 Fix bug in home directory calculation that I introduced with the free space
checking code.  Fix the free space checking code, while I'm at it! ;)
Thanks to Garrett for spotting the home dir problem.
1994-10-14 05:34:04 +00:00
se
3ef70ee2aa Added ncrcontrol (display and configure NCR 53c810 SCSI parameters). 1994-10-13 18:10:40 +00:00
se
7e54e93862 Added call to getbootfile() and removed reference to ncr.imask. 1994-10-13 18:01:32 +00:00
se
4dbb4feac6 ncrcontrol will be installed SETGID kmem in /usr/sbin. 1994-10-13 17:45:40 +00:00
se
dd756ca8bd Moved into correct MAN section ... 1994-10-13 17:43:51 +00:00
se
0c7d9bd365 This commit was generated by cvs2svn to compensate for changes in r3545,
which included commits to RCS files with non-trunk default branches.
1994-10-12 12:02:52 +00:00
se
1ce5915213 Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
Config and statuts display utility for the NCR PCI SCSI driver.
1994-10-12 12:02:52 +00:00
dg
6134378e43 Clean up after last commit: get rid of some unused variables. 1994-10-10 05:19:11 +00:00
dg
bb711c92ba Rewrote swap code to work with our swap layout. Much of the code stolen
from swapinfo.c.
1994-10-10 02:33:50 +00:00
rgrimes
162fb0a314 Add -U option which does the same things as -u except exits with 0
instead of 2 on MISMATCH.
1994-10-09 20:28:31 +00:00
dg
54e9286d06 Modified to use swaplist instead of swapmap. 1994-10-09 07:45:58 +00:00
dg
ba264d2489 #if 0'd out the meat of the swap code until I get a chance to rewrite it. 1994-10-09 07:42:32 +00:00
jkh
34751162a4 Be optionally verbose about free-space checking. I need this to ascertian
whether or not this always works.
1994-10-08 23:55:36 +00:00
dg
82fae818f5 After a comment from Rod Grimes about buf.h, I went back and looked at this
and found that swapinfo doesn't need that include file and five others (!).
Sheesh.
1994-10-05 10:20:17 +00:00