1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
Commit Graph

571 Commits

Author SHA1 Message Date
Poul-Henning Kamp
b8faa34ddb More abs paths nuked 1994-11-21 01:52:36 +00:00
Poul-Henning Kamp
c4bff2faf4 And another absolute path -I :-< 1994-11-20 22:42:16 +00:00
Andreas Schulz
dc0b56513d 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
Andreas Schulz
ef1520b343 Add the missing subdirs cdplay and spkrtest into the clean/cleandir targets. 1994-11-19 17:34:12 +00:00
Jordan K. Hubbard
db85ed15df 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
Andreas Schulz
ee2b9e6b02 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
Andreas Schulz
85c08d3263 More updates to the manual pages. Used also the unknown macro. 1994-11-19 13:41:26 +00:00
Andreas Schulz
3ea78182f0 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
Andreas Schulz
1957afa609 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
Jordan K. Hubbard
40851014d5 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
Justin T. Gibbs
80785c507b 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
Jordan K. Hubbard
07b5b56eba Don't create packages with bogus @name lines. 1994-11-17 10:54:11 +00:00
Jordan K. Hubbard
3e78200fd8 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
Jordan K. Hubbard
d08bdbd3d1 Add a new basename_of() function. 1994-11-17 10:51:51 +00:00
Jordan K. Hubbard
eead05e797 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
Andrey A. Chernov
3f6dabb23b strncmp use wrong utmp name size
Submitted by: rlz@zeus.id.net
1994-11-14 20:26:52 +00:00
Bruce Evans
ba9c09688c Add missing define of DPADD. Remove uneccessary define SRCS. Reorder
defines.
1994-11-14 08:02:40 +00:00
Bruce Evans
99fb10656e 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
Bruce Evans
2f1d65aabc 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 Fredriksen
5d07694903 Delete duplicate pppd entry. Also move pppstats in the right spot lexically. 1994-11-12 22:24:17 +00:00
Lars Fredriksen
ab0f6b123c 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 Fredriksen
665583d21a pppd was missing from the SUBDIRS. 1994-11-12 19:15:01 +00:00
Andrey A. Chernov
8e3327c9e3 Use CDIOCALLOW before CDIOCEJECT 1994-11-12 18:25:03 +00:00
Andrey A. Chernov
a4d451dbae cdplay added 1994-11-12 16:05:43 +00:00
Andrey A. Chernov
cc35e837fa Very simple non-X CD player for testing purposes,
better than nothing
1994-11-12 16:03:14 +00:00
Lars Fredriksen
f147a7b270 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 Fredriksen
1b4d00dd27 pppstats from ppp-2.1.2 1994-11-12 06:07:15 +00:00
Jordan K. Hubbard
3aa40eb0ac Add pppd to the Makefile. It seems to work.. 1994-11-11 23:47:32 +00:00
Andrey A. Chernov
936d754a6c Fix printout bug
Submitted by: fredriks@mcs.com
1994-11-10 13:39:01 +00:00
Garrett Wollman
e0a7da508f Treat formfeeds like any other whitespace. 1994-11-07 19:57:20 +00:00
Scott Mace
6831597a60 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
Jordan K. Hubbard
fb59d6ab65 __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
David Greenman
b2ed7c74c7 Don't include map.h - it's been obsoleted. 1994-11-03 15:34:24 +00:00
Andrey A. Chernov
5a3391bf7f Fix for 'pstat -t' works on vtys
Submitted by: jhay@mikom.csir.co.za
1994-11-03 11:41:34 +00:00
Jordan K. Hubbard
e0115bffa0 Whoops - one two many zeros in the initializer. This should have everybody
enabled by default now.
1994-11-03 05:37:53 +00:00
Jordan K. Hubbard
afbf5b2156 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
Stefan Eßer
b3ad637c18 Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
Added PCI support code.
1994-11-02 23:27:36 +00:00
Andrey A. Chernov
a3d3b73b53 Restore back -i for adjkerntz 1994-11-02 09:43:38 +00:00
Poul-Henning Kamp
0d2cd3b7e9 make the right link to "zzz" 1994-11-02 07:20:58 +00:00
Poul-Henning Kamp
c4b01b57f6 Remove a relic from the old "equiv" kludge 1994-11-02 04:55:15 +00:00
Poul-Henning Kamp
86f39ea7e0 Fixed a #include to point to machine/apm_bios.h 1994-11-02 04:54:30 +00:00
Andrey A. Chernov
07e01ef0c9 Remove -i option from adjkerntz 1994-11-02 00:00:17 +00:00
Garrett Wollman
3fa88dec7f 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
Poul-Henning Kamp
19a41dfcbd 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 Wunsch
5bbd5762d9 Included the fdcontrol subdir. 1994-10-31 21:51:25 +00:00
Andreas Schulz
6d59e80597 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 Wunsch
e9e8f7b79d 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 Wunsch
3023486ce7 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
Jordan K. Hubbard
794559559f 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
Stefan Eßer
03c90f359f Fix typo in #if which prevented use of getbootfile() under FreeBSD-2.0. 1994-10-26 19:23:02 +00:00
Jordan K. Hubbard
e1f89fd7bc 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
Jordan K. Hubbard
bf9e2e599f 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
Steven Wallace
be0856f8c8 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
Bruce Evans
22ab7c8472 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
Garrett Wollman
a365d1180c Added lsdev. 1994-10-24 22:22:44 +00:00
Garrett Wollman
9332379174 When -v not given, display longer state' and no parent'. 1994-10-24 22:21:51 +00:00
Poul-Henning Kamp
8962635a7b 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
Garrett Wollman
7a880ea190 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
Jordan K. Hubbard
31895db09f Add xten. 1994-10-22 14:59:35 +00:00
Doug Rabson
18269b5553 Change to use the correct lock file directory. 1994-10-22 14:40:48 +00:00
Jordan K. Hubbard
3200ea201e X-10 stuff from 1.1.5.1. 1994-10-22 09:55:43 +00:00
Andrey A. Chernov
6dde05f573 spkrtest added 1994-10-22 02:16:04 +00:00
Andrey A. Chernov
485752ff47 Speaker driver test script
Obtained from: FreeBSD 1.1.5.1
1994-10-22 02:09:06 +00:00
Garrett Wollman
5b36462392 Change `on'' to `at'' globally. 1994-10-18 22:01:58 +00:00
Poul-Henning Kamp
28c94285c2 Added a slot in the swap-dev-table for NFS-diskless to abuse. 1994-10-18 08:16:29 +00:00
Andrey A. Chernov
27e3c1f843 Remove machdep.color_display 1994-10-18 03:41:16 +00:00
Garrett Wollman
cc52ab733a First bugfix: isa devices print as at isa?' rather than on isa0'. 1994-10-17 23:29:15 +00:00
Garrett Wollman
0ed1ac8d35 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
Andrey A. Chernov
5a66307202 Document new machdep variables, pointed by Rod 1994-10-17 18:55:21 +00:00
Gary Palmer
d377a7bd10 Change references from /386bsd' to /kernel' 1994-10-17 06:50:29 +00:00
David Greenman
0477ab473a Added slstat. 1994-10-17 06:06:45 +00:00
David Greenman
1cf7789777 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
Garrett Wollman
379bb2d779 New way of getting disk drive names. 1994-10-16 04:04:56 +00:00
Poul-Henning Kamp
eab1c60e10 Stop "make install" from falling over if DESTDIR is defined. 1994-10-15 07:45:45 +00:00
Stefan Eßer
a494b3b537 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
Gary Palmer
8dc10afa87 Move `ncrcontrol' into machine-dependant section. 1994-10-14 23:55:50 +00:00
Joerg Wunsch
b365f23675 #include'ing mysterious stuff from ${DESTDIR}/sys/<somewhere> is no longer
necessary.
Requested by: phk
1994-10-14 16:03:33 +00:00
Jordan K. Hubbard
cfa2a10c70 Sigh. NOW it's ok! :-) 1994-10-14 05:57:49 +00:00
Jordan K. Hubbard
1593f21e50 Print a better verbose message when creating packages. 1994-10-14 05:56:15 +00:00
Jordan K. Hubbard
69bb95d933 This should do it - I forgot about pkg_info. 1994-10-14 05:55:57 +00:00
Jordan K. Hubbard
9b98d77e09 Whoops - variable was in wrong scope. Correct. 1994-10-14 05:43:41 +00:00
Jordan K. Hubbard
ae38c11f2d 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
Jordan K. Hubbard
5da4a65126 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
Stefan Eßer
1dc73d350b Added ncrcontrol (display and configure NCR 53c810 SCSI parameters). 1994-10-13 18:10:40 +00:00
Stefan Eßer
176416ca2e Added call to getbootfile() and removed reference to ncr.imask. 1994-10-13 18:01:32 +00:00
Stefan Eßer
7d44d0e3cf ncrcontrol will be installed SETGID kmem in /usr/sbin. 1994-10-13 17:45:40 +00:00
Stefan Eßer
35321ba474 Moved into correct MAN section ... 1994-10-13 17:43:51 +00:00
Stefan Eßer
a9db861824 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
David Greenman
e96c54247f Clean up after last commit: get rid of some unused variables. 1994-10-10 05:19:11 +00:00
David Greenman
1cb2c62684 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
Rodney W. Grimes
4ac2ef542b 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
David Greenman
ceff08fff5 Modified to use swaplist instead of swapmap. 1994-10-09 07:45:58 +00:00
David Greenman
8d7547c27e #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
Jordan K. Hubbard
90c00ca832 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
David Greenman
29568da84a 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
David Greenman
5f7daa9621 Changes to buf.h now require that param.h be included. 1994-10-05 09:57:49 +00:00
Garrett Wollman
66f9b7d2d7 Correctly interpret the code field of IGMP membership queries. 1994-10-04 22:47:11 +00:00
Garrett Wollman
7ce1918123 Print out SNAP frames reasonably, including Apple's bogus Ethertalk
pseudo-SNAP encapsulation.  Still needs some work, by someone who
has a listing of 802.2 LSAPs.
1994-10-04 22:31:44 +00:00
Jordan K. Hubbard
46f5c7be76 Add the ability to verify that a package won't extract in the space
available.  Thanks to Michael Elbel for pushing me in the right direction.
1994-10-04 16:07:50 +00:00
Jordan K. Hubbard
92fdc4d3b4 My last commit to bsd.port.mk made me think - `pkg_create -p ...' should
override the PLIST file's own first @cwd.  Make this so.
1994-10-04 15:54:39 +00:00
Andrey A. Chernov
ac17aebe43 -lcompat removed from libs 1994-10-04 14:06:13 +00:00
Poul-Henning Kamp
b3760f248a Same as last one, use "sh -e" for these to make them catch pathological
conditions.
1994-10-03 23:51:34 +00:00
Poul-Henning Kamp
92248d4c46 Make sure mkskel.sh bails out if it finds trouble. Use "sh -e" to run it. 1994-10-03 23:34:03 +00:00
Andreas Schulz
69bf516655 Submitted by: gibbs@uclink.berkeley.edu
Fixed the missing blank in tzsetupvipw.
1994-10-03 11:21:47 +00:00
Garrett Wollman
8788f5888b Allow multicast NTP. 1994-10-02 18:05:48 +00:00
Poul-Henning Kamp
c9421aa7c4 Removed a lot of stuff which has no raison d`etre now that the kernel-driver
works correctly.
1994-10-02 17:18:12 +00:00
David Greenman
7216391e49 "idle priority" support. Based on code from Henrik Vestergaard Draboel,
but substantially rewritten by me.
1994-10-02 04:48:21 +00:00
Gary Palmer
723ff3e087 Move apm, apmconf, fdformat, fdwrite, kbdcontrol, lptcontrol, rtprio and
vidcontrol out of machine-independance into the I386 & clean
dependant sections. Also move 'timed' out of machine-dependace into
machine-independance

Reviewed by:	rgrimes
1994-10-02 03:42:40 +00:00
David Greenman
4ada351cf2 Added apm and apmconf. NOTE: This makefile is wrong in a variety of ways.
For one thing, the handling of arch-specific utilities is broken, and
things like apm and apmconf (and fdformat, kbdcontrol, vidcontrol, etc)
shouldn't be built for all arch's.
1994-10-01 03:44:05 +00:00
David Greenman
140cffd349 Laptop Advanced Power Management support (userland end) by HOSOKAWA Tatsumi.
Submitted by:	HOSOKAWA Tatsumi
1994-10-01 03:23:33 +00:00
Paul Traina
ad0e3007f6 Move bootp & related stuff 1994-09-30 05:48:52 +00:00
Andrey A. Chernov
60ef79be3f Sorry, wrong previous commit backed out, HAVE_GETBOOTFILE
defined in another place
1994-09-30 04:07:03 +00:00
Andrey A. Chernov
5ab21027d8 Forget to define HAVE_GETBOOTFILE 1994-09-30 03:43:28 +00:00
Andrey A. Chernov
c019533a0b Use getbootfile() properly, old code cause reboots somethimes 1994-09-30 02:20:25 +00:00
Garrett Wollman
0593f8e412 Make it compile under 2.0. 1994-09-30 00:34:21 +00:00
Garrett Wollman
6b6d0b46c4 Merged changes from the vendor branch. NB: this will NOT compile until
after the NEXT commit.
1994-09-29 23:44:43 +00:00
Garrett Wollman
db68bea3b9 This commit was generated by cvs2svn to compensate for changes in r3215,
which included commits to RCS files with non-trunk default branches.
1994-09-29 23:04:24 +00:00
Garrett Wollman
daa35edbd0 xntp 3.4e from Dave Mills @ UDel 1994-09-29 23:04:24 +00:00
Jordan K. Hubbard
61f402e0c8 Don't let pkg_delete remove the recorded location until everything has
absolutely, positively been successfully removed.
Reviewed by:
Submitted by:
Obtained from:
1994-09-29 13:19:43 +00:00
Paul Traina
8fcecfd6f9 Fix conflicts from import 1994-09-29 09:36:16 +00:00
Paul Traina
33e6aad96b Portmap 3.0 from win.tue.nl 1994-09-29 09:32:22 +00:00
Paul Traina
ba2fac6c4b getbootfile() not invoked 1994-09-28 06:37:41 +00:00
Paul Traina
45fe7a082a xntpd(8) doesn't know about /kernel (do it right, use get_bootfile()). 1994-09-27 18:30:26 +00:00
Paul Traina
5517824990 Enable new bind utilities. 1994-09-26 23:14:33 +00:00
David Greenman
78eb91b47f Fix comment: we have cron. 1994-09-26 22:20:19 +00:00
David Greenman
ff9c3a3239 ac(8) utility, brought over from FreeBSD 1.1.5. 1994-09-26 22:12:27 +00:00
David Greenman
90c5321f61 ac(8) utility, brought over from 1.1.5. 1994-09-26 21:56:38 +00:00
David Greenman
27f8e9694d Added sa. 1994-09-26 21:45:01 +00:00
David Greenman
6b5da6e295 Local changes - manual page extension, and minor man page changes 1994-09-26 21:41:06 +00:00
David Greenman
4b3a999186 This commit was generated by cvs2svn to compensate for changes in r3125,
which included commits to RCS files with non-trunk default branches.
1994-09-26 21:22:57 +00:00
David Greenman
b1069b52ff Process accounting utility by Chris Demetriou.
Obtained from:	NetBSD
1994-09-26 21:22:57 +00:00
Andrey A. Chernov
d28fc953f2 usage help: uncomment -d option, add -x option 1994-09-26 20:20:44 +00:00
Andrey A. Chernov
20f22c0990 Document -d and -x options 1994-09-26 19:58:07 +00:00
Poul-Henning Kamp
af813416c3 A couple of nit-picks. 1994-09-26 06:01:01 +00:00
Paul Traina
77b01811b4 Remove talk about trailers from arp(8) manual page
Obtained from: NetBSD bin/487
1994-09-26 04:32:57 +00:00
Poul-Henning Kamp
e96613d352 Added a '-c' option: This will warn you if any file in the directory-tree
you run it on are unsuitable food for diff/patch.  Can you use it as it
is now Rod ?
1994-09-25 20:45:55 +00:00
Joerg Wunsch
9a89db44b8 Transfer speed definitions are now also found in <machine/ioctl_fd.h>.
Remove the old include file, since it used to be in a non-public place.
1994-09-25 18:44:26 +00:00
Jordan K. Hubbard
29bc33539c Clean up typos in this manpage. 1994-09-25 11:22:12 +00:00
Garrett Wollman
d8269a163d Most of the ``modified'' files really aren't. This is my (simple)
port of pppd.
1994-09-25 02:32:18 +00:00
Garrett Wollman
0b06d15f3a Initial import of pppd from ppp2.1.2 package. Will follow with port commit. 1994-09-25 02:11:29 +00:00
Garrett Wollman
08a0aca6e2 Initial revision 1994-09-25 02:11:26 +00:00
David Greenman
89f81043d0 Fixed bug caused by missing set of paranthesis when checking the modification
time. This caused differences in the nanosecond portion of the time to
screwup the logic and made mtree think it should compare  the modtime even
though "time" wasn't specified. The end result is that mtree couldn't deal
with procfs because procfs sets the mtime with high accuracy via microtime().
1994-09-24 16:52:42 +00:00
Garrett Wollman
4be4929c2b Get rid of _PATH_UNIX completely; use getbootfile(3) instead.
DANGER WILL ROBINSON!
_PATH_UNIX is currently defined as the literal string "don't use this".
I am of two minds about this myself, but wanted to get something into the
tree as quickly as possible.
1994-09-24 00:08:43 +00:00
Garrett Wollman
8e3847b2b9 Document more MIB variables. 1994-09-23 19:04:02 +00:00
David Greenman
c0ba84e4a3 Don't return the address of a stack variable. 1994-09-23 10:25:38 +00:00
David Greenman
25738fbcc5 groups[] is of type gid_t. 1994-09-23 10:02:21 +00:00
Garrett Wollman
d599144d24 Automatically load NFS and a bevy of other filesystems. 1994-09-22 22:17:02 +00:00
Paul Traina
1546342f02 Port nslookup to FreeBSD 1994-09-22 21:50:41 +00:00
Paul Traina
835ce5a154 This commit was generated by cvs2svn to compensate for changes in r2990,
which included commits to RCS files with non-trunk default branches.
1994-09-22 21:36:02 +00:00
Paul Traina
ab9d9cc096 nslookup(8) from BIND 4.9.3BETA9pl1 1994-09-22 21:36:02 +00:00
Paul Traina
52d4aac42c Port BIND to FreeBSD. 1994-09-22 20:45:34 +00:00
Paul Traina
735b43167c NAMED from BIND 4.9.3 BETA9 pl1 (no local changes) 1994-09-22 19:46:15 +00:00
Paul Traina
1b263d8ab3 This commit was generated by cvs2svn to compensate for changes in r2980,
which included commits to RCS files with non-trunk default branches.
1994-09-22 19:46:15 +00:00
Poul-Henning Kamp
b7e9accbaa Various cleanup and fixes. 1994-09-22 02:49:24 +00:00
Andrey A. Chernov
b3673749c7 Add BINDIR=/usr/sbin for install, fails in other case 1994-09-21 18:12:10 +00:00
Andrey A. Chernov
3724878728 Add BINDIR=/usr/sbin for install, fails in other case
Remove -g from CFLAGS
1994-09-21 18:11:56 +00:00
Poul-Henning Kamp
caabd87d0a The next batch of refinements. Now it no longer needs to call on ed(1) to
fix our files, it has a builtin "diff -n" editor.
1994-09-21 04:38:48 +00:00
Garrett Wollman
ab5f8d28a4 Fix security hole in YP password support, which wouldmake +user entries
act like + entries in some cases.  Requires support in libc from next
commit.
1994-09-20 21:40:12 +00:00
Poul-Henning Kamp
fa63aa6464 A bunch of improvements. Still far to go. 1994-09-20 07:13:39 +00:00
Garrett Wollman
28ca30918a Maintain pw_fields, and output same to password database.
!!!!!!!!
NB
!!!!!!!!
You MUST pwd_mkdb /etc/master.passwd before attempting to use the new
libc, or things may go wrong.  (I doubt anything actually /will/ go
wrong, but the actual behavior is undefined.  YOU HAVE BEEN WARNED.)
The database format is, however, backwards-compatible, so old executables
will still work.
1994-09-20 01:15:08 +00:00
Doug Rabson
541758b1c6 Added support for MSDOS file systems. 1994-09-19 18:47:12 +00:00
Andrey A. Chernov
0a7f0f3504 bugfix: change gidset[] type from int to gid_t 1994-09-19 13:52:38 +00:00
Poul-Henning Kamp
ec5d3c392a This is the present state of CTM version 2. Please do not ask for
subscriptions yet.  Wait for the announcement.

CTM is my humble attempt to get -current out to people beyond TCP/IP 
connections.  This is for people with dial-up connections and such.

CTM can make a delta from one version to another of a source-tree, in 
a efficient and verified way.  Even if there are binary files in the
tree.  It will even try to make the delta as small as possible.

It is OK with me if you yell "Bloating!" but I'll just forward your email
to some of the happy customers from CTM version 1, and let them tell you
what they think.

I will not put ctm into "make world" yet.  For now it is just the logical
way to get the sources out to people who helps me test this.

Poul-Henning
1994-09-19 07:32:24 +00:00
Rodney W. Grimes
5104ed9c4a My optimization to eliminate /set records was a little too aggressive, it
optimized away the first one :-(.
1994-09-19 01:32:57 +00:00
Rodney W. Grimes
10c4c64eb7 1. Remove commented out CFLAGS+=-DDEBUG from Makefile
2.  Clean up code so it compiles -Wall (except for sccsid's and copyright).
    This included fixing several printf formats that where not correct,
    and changing the data types of a few things.

3.  Implement new option -i that produces indented mtree output files.

4.  Implement new option -n that turns off directory comments.

5.  Only emit /set records if something has changed since the last one.
1994-09-18 21:17:40 +00:00
Andrey A. Chernov
65c3bb832a Add 'rm -f /etc/localtime' before cp to /etc/localtime,
I have a link here and got strange results without 'rm'
1994-09-18 18:27:30 +00:00
Poul-Henning Kamp
13ae5a03ea added fdwrite -> usr.sbin/fdwrite 1994-09-18 07:48:40 +00:00
Poul-Henning Kamp
cb3131379f Added a missing ${DESTDIR}. The real problem is that stuff related to
floppy formatting is in /sys/i386/isa/fdreg.h, it should be in /usr/include
somewhere ??
1994-09-18 07:42:11 +00:00
Poul-Henning Kamp
b5173cbeea A small program, which can take a file of any size, format, write and verify
it onto a bunch of floppies in a semi-intelligent way.

Useful for things like:  tar cf - . | gzip -9 | fdwrite -d /dev/rfd0.1720 -v

Where it will keep asking for floppies until tar is done.
1994-09-18 07:39:19 +00:00
David Greenman
f38ec702f9 Fix include path. 1994-09-17 17:55:03 +00:00
David Greenman
d4f61326ba Added fdformat utility from 1.1.5. 1994-09-17 17:08:31 +00:00
Bruce Evans
6b91cbecf1 Fix library dependencies. The clockstuff directory isn't used but I
fixed the Makefile before I knew that.
1994-09-15 20:55:44 +00:00
Søren Schmidt
3644e2839b Added support for some of the new video modes in syscons.
Reviewed by:
Submitted by:
Obtained from:
1994-09-15 07:28:06 +00:00
Garrett Wollman
36156bf4fe Add tzsetup. 1994-09-13 23:03:19 +00:00
Garrett Wollman
e7d3fe3100 A little script to help users in setting up their timezone. (Try it!) 1994-09-13 23:01:59 +00:00
Jordan K. Hubbard
e6da2877bd Delete obsoleted *dist targets. 1994-09-13 10:20:37 +00:00
Jordan K. Hubbard
74650bd888 Make this stop trying to go into /usr/local and inherit the settings
from above instead.
1994-09-13 10:20:02 +00:00
Jordan K. Hubbard
87de5a959b Add pkg_install to SUBDIR. 1994-09-13 07:39:59 +00:00
Garrett Wollman
bd46ac9af7 Add zic' and zdump'. 1994-09-13 03:52:20 +00:00
Garrett Wollman
d787e2bcd4 FreeBSD port of timezone code. 1994-09-13 03:36:16 +00:00
Garrett Wollman
38d6a6908d This commit was generated by cvs2svn to compensate for changes in r2702,
which included commits to RCS files with non-trunk default branches.
1994-09-13 03:29:24 +00:00
Garrett Wollman
8211a3a80c The latest and greatest timezone code from Arthur David Olson, part 1.
This import comprises the `zic' and `zdump' programs.

Obtained from: Arthur David Olson, ftp://elsie.nci.nih.gov/pub/tzcode94g
1994-09-13 03:29:24 +00:00
Geoff Rehmet
96a4f68bd4 add rtmsg.c.
Submitted by:	problem pointed out by Gary Palmer
1994-09-12 07:48:33 +00:00
Geoff Rehmet
bee39b42f3 - increase TOOMANY, in line with 1.x
- add logging option from 1.x
1994-09-11 11:16:32 +00:00
Geoff Rehmet
55b91f3ab6 Bring in handling of RPC services from 1.x
(Guess who forgot to replace his inetd until today ;-)
1994-09-11 10:48:02 +00:00
Geoff Rehmet
702cdbc097 add bootpd, bootpef, bootpgw, bootptest 1994-09-10 15:21:27 +00:00
Geoff Rehmet
80a612871f Small code tidy up 1994-09-10 15:13:28 +00:00
Geoff Rehmet
6382c5b7fe Changes for bootpd to work on FreeBSD 2.0:
- Makefile changes (manual installation)
- (hwaddr.c rtmsg.c) Do setting of arp cache entries by writing to
  routing socket, rather than by calling arp(8).
1994-09-10 15:00:08 +00:00
Geoff Rehmet
cc7d8003bf Bootpd 2.4.0 (and associated utils)
Obtained from:NetBSD
1994-09-10 14:44:56 +00:00
Geoff Rehmet
fe96225463 This commit was generated by cvs2svn to compensate for changes in r2639,
which included commits to RCS files with non-trunk default branches.
1994-09-10 14:44:56 +00:00
Rodney W. Grimes
3cc583b113 Correct the .conf files now that halt is gone and reboot is used in it's
place.

Removed mount_pcfs until we have a replacement.

Removed fdisk until it is ported and/or replaced.

Now have to include many more libraries due to /bin/sh changes.
1994-09-09 16:02:04 +00:00
Jordan K. Hubbard
f844bfba3c Make this silly thing use _PATH_UNIX first. Remove some of the more
bogus alternate kernel names.
Submitted by:	jkh
1994-09-08 19:25:09 +00:00
Rodney W. Grimes
4e0fff210e You need the freefall.mc file to build the release /etc/sendmail.cf file from. 1994-09-08 09:41:01 +00:00
Jordan K. Hubbard
5464bfda4b Undo the damage done to my previous changes. Whoever added the
conditional did it backwards, thus flipping the behavior back off
again by default (and only re-enableable through a very counter-intuitive
option setting!).  I'm glad I caught this and would merely like to state
again for the record that if you're going to go and modify my changes then
you should at least:

	1. Do it correctly, since to do otherwise is kind of a slap in the
	   face.

	2. TELL me.

This is not me just being compulsive, this is simple courtesy.
I'm speaking just of my own preferences here, not necessarily trying
to impose my standards on the group at large (e.g. some other folks might
not even care).
Submitted by:	jkh
1994-09-08 06:38:55 +00:00
Garrett Wollman
4aa83b0b3c Add mrouted. 1994-09-08 02:53:07 +00:00
Garrett Wollman
bb49371b5d Make it compile and (except for mrouted which is untested as yet) run.
Some of these ``modified'' files aren't really modified at all, but CVS
isn't smart enough to know the difference.
1994-09-08 02:51:37 +00:00
Garrett Wollman
7c680644c9 Print out more useful information about IGMP packets. (Someday, this should
include a full DVMRP parser.)
1994-09-08 02:29:12 +00:00
Garrett Wollman
3ce94772cc This commit was generated by cvs2svn to compensate for changes in r2555,
which included commits to RCS files with non-trunk default branches.
1994-09-08 00:26:13 +00:00
Garrett Wollman
15fe6b8712 mrouted from multicast 3.3 distribution 1994-09-08 00:26:13 +00:00
Gary Palmer
fb0e6acc6f Added the -d <directory> functionality to allow construction of the
password databases somewhere other than /etc.
1994-09-07 22:54:00 +00:00
Garrett Wollman
c33f35354b Revert back to old config behavior if compiled with -DCONFIG_DONT_CLOBBER. 1994-09-06 20:04:39 +00:00
Jordan K. Hubbard
28178404af Add crunch and manctl, bring back xntpd.
Submitted by:	jkh
1994-09-04 03:32:45 +00:00
Geoff Rehmet
12365022c0 Make it possible to run lptcontrol on a printer port which does not
actually have a printer connected or online:
- MAKEDEV:		remove all signs of lpa
			add lpctl? devices (minor # = unit + 128)
- usr.sbin/Makefile	add lptcontrol
- sys/i386/isa/lpt.c	implement the LP_BYPASS flag: when a unit is
			opened with this flag set, the printer is
			not primed, and no check is made to see that
			the printer is online.  This can only be used
			to pass ioctls.  (giving us /dev/lpctl?)
- lptcontrol.c		use /dev/lpctl? (LP_BYPASS)
			-f flag removed, -u flag added
- lptcontrol.8		document changes in lptcontrol
			rewrite using mandoc macros
Submitted by:	Geoff.
1994-09-03 22:47:08 +00:00
Jordan K. Hubbard
2f7b926abd Eradicate my #1 (ok, maybe #2) peeve by making config now blow away
and recreate any previous ../../compile/<blah> directory before laying
down new files.  The depends just aren't smart enough to save
us from the grief that config's old behavior has always caused.
Submitted by:	jkh
1994-09-03 21:23:36 +00:00
Adam David
c4f265d4e6 fixed typos
Reviewed by:
Submitted by:
1994-09-03 13:20:05 +00:00
Geoff Rehmet
6dc3c6f768 Bring in lptcontrol from 1.1.5.1
Submitted by:	Geoff
1994-09-03 13:10:09 +00:00
David Greenman
21e95ddd51 rtprio(1) utility to modify realtime priority of a process.
Submitted by:	Henrik Vestergaard Draboel
1994-09-01 12:05:14 +00:00
Jordan K. Hubbard
504d7e78e6 Remove xntpd for now until it works.
Submitted by:	jkh
1994-08-30 10:06:53 +00:00
Jordan K. Hubbard
760365067e Use LDDESTDIR and DPADD more consistently with what Bruce suggests..
Submitted by:	jkh
1994-08-29 18:42:12 +00:00
David Greenman
59df70ee2f Changed output formatting to correctly represent the precision - it's
not cool to truncate trailing zeros..
1994-08-29 17:45:43 +00:00
Adam David
d70574cd96 Allow creation of absolute package names
typo index() --> rindex()  in order to split correct suffix
Fix @srcdir so it actually works
Submitted by:	adam
1994-08-29 16:31:38 +00:00
Jordan K. Hubbard
ab0f611dff Make the LDADD stuff work properly with obj dirs. Whoops.
Submitted by:	jkh
1994-08-29 07:22:41 +00:00
Bruce Evans
2577a8acef Add dependencies on libraries to DPADD. Someday this should be done
automagically.  -lfoo has to be right to work, but ${LIBFO0} is too
easy to forget or misspell; nothing checks it and it should be
different for shared libraries.
1994-08-28 18:49:06 +00:00
Bruce Evans
52f2a972ba Add swapinfo to SUBDIR. It's been working for a long time. 1994-08-28 17:12:24 +00:00
Bruce Evans
8ef65b13d1 Latest flex requires yywrap() function to avoid -ll. 1994-08-28 16:35:58 +00:00
Jordan K. Hubbard
2566293698 Add @srcdir option for customizing creation of packages.
Submitted by:	jkh
1994-08-28 14:15:30 +00:00
Jordan K. Hubbard
688b53ece4 Prevent installation.
Submitted by:	jkh
1994-08-28 13:05:23 +00:00
Jordan K. Hubbard
9af842aebd Set proper destination directory for cron.
Submitted by:	jkh
1994-08-28 13:05:14 +00:00
Jordan K. Hubbard
eedc655846 Add cron.
Submitted by:	jkh
1994-08-28 06:19:10 +00:00
Jordan K. Hubbard
84f33dea62 Paul Vixie's cron, version 3.0. Munged into bmake format. If this goes
well, expect our two seperate directories for cron and crontab to go away
shortly.
Submitted by:	jkh
1994-08-27 13:43:04 +00:00
Jordan K. Hubbard
60c59b30c6 Add lex lib to LDADD.
Submitted by:	jkh
1994-08-26 22:45:49 +00:00
Jordan K. Hubbard
747b04037f Remove duplicate declaration of sys_errlist[].
Submitted by:	jkh
1994-08-26 06:09:21 +00:00
Jordan K. Hubbard
8a82af45f1 xntp and tcpdump targets added.
Reviewed by:
Submitted by:
1994-08-26 05:55:13 +00:00
Jordan K. Hubbard
4871b210e9 Add -ll to link flags to link with the lex library.
Submitted by:	jkh
1994-08-26 05:44:06 +00:00
Jordan K. Hubbard
ad9e0170dc Changes to adapt to 2.0.
Submitted by:	jkh
1994-08-23 11:17:55 +00:00
Jordan K. Hubbard
1042688020 Bring over dbsym from 1.1.5.1
Submitted by:	jkh
1994-08-23 11:15:45 +00:00
David Greenman
c62cd43c2b Oops...forgot to list the changes....
/usr/src/usr.sbin.config:
	o -DSTATCLOCK gives kludges to support the rtc non-device as well as
	  old kludges to support the clk non-device.

/usr/src/usr.sbin/config.8:
	o Document the trivialness of the new vector.h.

/usr/src/usr.sbin/mkglue.c:
	o Only print DEVICE_NAMES and NR_DEVICES in vector.h.  These are
	  only required to support vmstat.  The vmstat interface will need
	  to be improved for dynamic loading.

/usr/src/usr.sbin/mkioconf.c:
	o Print device ids to be used as indexes into DEVICE_NAMES.
	o Print secondary interrupt handler entry points (xxxintr()) instead
	  of primary ones (VdevU()).  Primary ones are now XintrI() and
	  XfastintrI() and are independent of the config so they are not
	  handled here.
	o Minor cleanups.

Submitted by:	Bruce Evans
1994-08-18 05:15:26 +00:00
David Greenman
5ced58e474 Support for Bruce Evans' new dynamic interrupt support.
Submitted by:	Bruce Evans
1994-08-18 05:11:32 +00:00
Søren Schmidt
1062753e25 Added kbdcontrol & vidcontrol utils (from 1.1.5.1+)
Reviewed by:
Submitted by:
1994-08-17 09:01:52 +00:00
Søren Schmidt
7363955db6 Added vidcontrol util from 1.1.5.1+
Reviewed by:
Submitted by:
1994-08-17 09:00:13 +00:00
Søren Schmidt
08bddad1f6 Added kbdcontrol util from 1.1.5.1+
Reviewed by:
Submitted by:
1994-08-17 08:59:37 +00:00
Garrett Wollman
d966229d00 Don't bother with XNSrouted and trsp, nobody uses either. If anybody
decides they want to, they can change the Makefile.
1994-08-15 03:19:25 +00:00
Garrett Wollman
99ca219150 Generate vector.h line for statclock. (See next commit for details.) 1994-08-15 03:09:29 +00:00
David Greenman
555edc2c99 Took out junk to save the old value of BLOCKSIZE as it is unnecessary.
Remove CFLAGS=-g from Makefile.
1994-08-12 10:26:27 +00:00
David Greenman
f66e339c33 Implement -k flag. 1994-08-12 02:02:22 +00:00
David Greenman
e6692375a2 swapinfo(1) command from 1.1.5. This version has been modified to work
with the new libkvm interfaces.
1994-08-12 01:49:30 +00:00
David Greenman
6aab3b5a6d Use nulls to pad proctitle rather than spaces...makes ps(1) output more
readable.
1994-08-11 13:40:58 +00:00
Jordan K. Hubbard
2399a1589e Correct and add proper man page extents.
Submitted by:	jkh
1994-08-11 01:46:41 +00:00
David Greenman
ce7ece3713 Now that the timezone specification is no longer allowed, don't issue a
warning that it is missing.
1994-08-09 08:52:53 +00:00
Guido van Rooij
5d2d59d9aa 1. Correct invalid setsid and ioctl return value checks.
2. set some seteuid calls to allow sliplogin to be run by users from the
   commandline in stead of from login inlo.

Submitted by:	guido
1994-08-08 17:14:46 +00:00
Garrett Wollman
ebe06549fd Suppress irritating extra newline after kern.boottime. 1994-08-08 15:37:35 +00:00
Garrett Wollman
021ce2d62e Disallow timezone specification, but still allow it to be present
if it is zero (so that we can parse old config files).
1994-08-08 15:09:40 +00:00
Garrett Wollman
d832d69165 Added YP section 8 programs from 1.1.5. (Obligatory notice that this
code was originally written by Th. de Raadt, although this particular
organization is mine.)
1994-08-08 01:10:28 +00:00
Garrett Wollman
dd784d3e70 Copying YP programs over from 1.1.5, with a slightly different directory
structure than before.
1994-08-08 01:03:58 +00:00
Garrett Wollman
76c72a54c2 Delete obsolete references to librpc.a. 1994-08-08 00:09:22 +00:00
Garrett Wollman
003a0dd6e4 Delete reference to obsolete librpc.a. 1994-08-08 00:04:21 +00:00
Garrett Wollman
84e59eb50d Get rid of update. Make man page installation work with our scheme
(and rename a few in the process).
1994-08-05 16:31:05 +00:00
David Greenman
b3bfc7199e Converted 'vmunix' to 'kernel'. 1994-08-05 09:14:37 +00:00
Garrett Wollman
404c1a5fc1 Convert to our man installation style. Also fixed long-standing bug
in `fastboot'/`fasthalt' in which the interpreter would hang around
after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
1994-08-05 02:42:42 +00:00
Andreas Schulz
11b0eb5f0b Reviewed by:
Submitted by:
Added a accton man page. Changed the Makefile to install the man page
as accton.8.
1994-07-30 17:16:22 +00:00