Commit Graph

1120 Commits

Author SHA1 Message Date
Jordan K. Hubbard
e998cbfd51 Switch to fds from FILE *'s. Fix a problem with FTP media device
and INDEX file.
1995-10-16 09:25:22 +00:00
Jordan K. Hubbard
884d2ca172 Sync up to today's development snapshot for the other folks working on this. 1995-10-16 07:31:11 +00:00
Jordan K. Hubbard
551cde2d52 Fix the selection routine. 1995-10-15 17:22:24 +00:00
Jordan K. Hubbard
e0e95a6911 Sync. Split into more rational package support functions and clients
of those functions.
1995-10-15 12:41:09 +00:00
Jordan K. Hubbard
5ebaccdf62 Substantially simplify the package install code by running pkg_add in
slave mode.
1995-10-15 04:37:07 +00:00
Jordan K. Hubbard
f1de0e9196 Sync up to today's cleanup work. 1995-10-14 19:13:35 +00:00
Jordan K. Hubbard
9447b0e107 Sync with my development sources, smashing an annoying bug and making
the options editor a little less pathological.
1995-10-14 09:30:53 +00:00
Garrett Wollman
a2029046fd Add a command-line option `-I' to disable logging from UDP.
Document `-d' and `-I'.  Add a BUGS section noting that
logging from UDP is an unauthenticated remote disk-filling service,
and probably should be disabled by default in the absence of some sort
of authentication.
1995-10-12 17:18:39 +00:00
Garrett Wollman
9fe96cbb6d Record PID in /var/run/inetd.pid and document same. 1995-10-12 16:43:27 +00:00
Jordan K. Hubbard
9d163c66d0 Fix a couple of doc or appearance nits.
Remove the ATAPI kernel hack.
Remove the now-unnecessary work-around for booting root off a slice; it
appears to work just fine now and will confuse a lot fewer folks.
1995-10-11 09:57:30 +00:00
Jordan K. Hubbard
8e693cb7b4 Tweak a message to be a bit more clear.
Declare missing fd.
Fix options bug where old text was still weird shades of blue when you came back.
1995-10-11 00:54:01 +00:00
Poul-Henning Kamp
01b722aa84 Minor tweaks to get ethernet working too. 1995-10-10 09:57:47 +00:00
David Greenman
ee812eb286 Correct the "default rate" - it's 256/minute not 1000/minute. 1995-10-09 23:34:07 +00:00
Jordan K. Hubbard
3950ae8dce Syncronize with my current sources. pkg installer not quite in final
form yet, but close.
1995-10-09 11:14:56 +00:00
Atsushi Murai
a9c6b5df9c 1. Add a settable redial timer and logging of the process id in a file.
A settable redial timer helps to avoid the problem where both ends
   of a link want to dial at the same time and the line winds up busy
   for both ends. The process id is logged in /var/run/PPP.system where
   system is the name of the called system.  When both ends of a link
   are running in demand dial mode, you need an easy way to get the pid
   of the ppp on the called end so it can be killed and re-started with
   -direct or pppd started to handle the incoming ppp session.

2. Add secret description for "set timeout" to man.

Reviewed by:	Atsushi Murai <amurai@spec.co.jp>
Submitted by:	John Capo <jc@irbs.com>
1995-10-08 14:57:32 +00:00
Joerg Wunsch
2362d22e48 Make it clear that the printed times are measured in hours.
Submitted by:	mrami@minerva.cis.yale.edu
1995-10-07 12:02:33 +00:00
Jordan K. Hubbard
4db84b4d1e Whole mass of changes from first code review. Eliminate some
long-standing bogons, try to make things more fault tolerant
in general, bring in the first version of my new package installation
menu.
1995-10-07 11:55:37 +00:00
David Greenman
efb0750d1d - mrouted doesn't allow loopback of group-specific queries, thus if a
host sends a leave message for a group that the router is a member of
  that membership gets forgotten until the next general query.
- the second group-specific query generated looks like a general query
  sent to a specific group

Submitted by:	Bill Fenner <fenner@parc.xerox.com>
1995-10-07 03:48:44 +00:00
David Greenman
48d837b22b - mrouted doesn't allow loopback of group-specific queries, thus if a
host sends a leave message for a group that the router is a member of
  that membership gets forgotten until the next general query.
- the second group-specific query generated looks like a general query
  sent to a specific group
1995-10-07 03:47:44 +00:00
Bruce Evans
3f69295415 Document SESS, fix PGRP (now PGID), and document some more STATE flags.
Submitted by:	clemc@locus.com and edited by me.
1995-10-06 20:58:24 +00:00
Torsten Blum
10e1798df5 st_size in struct stat has type off_t (long long) and not unsigned long
change strtoul() to strtoq()
1995-10-06 16:25:10 +00:00
Jordan K. Hubbard
50f5714bab Properly repaint an option in reverse video after changing its value. 1995-10-06 11:14:43 +00:00
Jordan K. Hubbard
2139a13026 Make descriptions stand-out a bit more. 1995-10-06 08:47:40 +00:00
Jordan K. Hubbard
a936507ae9 Don't put up bogus confirmation dialog. 1995-10-06 02:46:23 +00:00
Jordan K. Hubbard
edab52dda7 Fix a longstanding bug in `lpr -r'. I used alloca() instead of
malloc(), but the change is fundamentally Chris's.
Submitted by:	Chris Stenton <jacs@gnome.co.uk>
1995-10-05 22:41:02 +00:00
Jordan K. Hubbard
83bd9af30f General cleanup - sanitize use of variables.
Do more rational things in a number of other instances.
1995-10-04 12:08:27 +00:00
Jordan K. Hubbard
5b8015dad2 o Search much more aggressively for distributions in all extraction
methods.  This should make the process rather more robust in the face
  of entropy.
o Let tape cpio extract guess type of tape format.
o Hide cursor better in options screen.
1995-10-04 10:34:08 +00:00
Jordan K. Hubbard
9040e32d5e Make the release name to load a configurable parameter.
Don't gratuitously shutdown network after NFS or FTP install.
Centralize release version string to one location included by everyone.
Bring in new options screen.
1995-10-04 07:55:05 +00:00
Joerg Wunsch
7c4f0a18ff Finally applied the fix from PR # 701 for the broken prxyarp option of
pppd(8).

Reviewed by:	several people on -hackers, and me
Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
1995-10-03 10:50:42 +00:00
Peter Wemm
b3c66dae6f Cosmetic fix: The usage message was wrong.. One of the commands (mstate)
was listed as taking no args, when in fact it needs a port.
1995-10-01 03:13:33 +00:00
Bruce Evans
8f160768d6 Fix CLEANFILES. Some temporary files were missing. 1995-09-28 18:24:54 +00:00
Bruce Evans
691cda9ce1 Fix SRCS so that `make depend' works. There were some .l's and some .y's.
The filenames in SRCS must have one of the extensions .s, .S, .c, or .cc
if they are to be handled by bsd.dep.mk.  Lex and yacc files must be
converted to C files and kept around for everything to work.  This is
handled fairly automatically if the names of the generated C files are
put in SRCS.  Unfortunately these names must be put in CLEANFILES too.

pcvt Makefiles:
Fix DPADD.  It was missing.

Fix CLEANFILES.  Some temporary files were missing.

Fix CFLAGS.  There were some `-I dir' options.

There must be no whitespace separating -I and -D options from the
corresponding args if these options are to be handled by bsd.dep.mk.
1995-09-28 18:23:44 +00:00
Garrett Wollman
04887fe7f0 Correctly determine the local timezone, by looking at the tm_gmtoff result
from localtime() rather than the bogus struct tz filled in by gettimeofday.
1995-09-28 15:28:40 +00:00
Andrey A. Chernov
ae29078d97 Change unknown IOT to known ABRT (signal names) 1995-09-27 20:13:28 +00:00
Andrey A. Chernov
7da123bf7c Reset LANG and LC_CTYPE to not use national date representation 1995-09-27 19:39:22 +00:00
Andrey A. Chernov
3a8d54d21e Reset LANG & LC_CTYPE, or national date representation will be used
in binary/logs.
1995-09-27 19:36:33 +00:00
Peter Wemm
a383627cf3 Rewrite the sicontrol man page to something remotely useful.
I couldn't use the original, as it had unusable copyrights.
1995-09-26 18:18:49 +00:00
Nate Williams
aca3622c3f Completely re-wrote the man-page using -mandoc macros. More cleanups in
sentence structure to include more articles, plus fix some mis-spellings
and typos.

Reviewed by:	gpalmer (Gary Paler)
1995-09-24 18:15:14 +00:00
Peter Wemm
0c4276b066 missing \ causes -DDEBUG compile failure..
closes PR 696
Submitted by:	me@freebsd.org
1995-09-23 17:32:30 +00:00
Peter Wemm
a9aa8c37da Add support for the "si" Specialix driver in "pstat -t"
The si driver is different to the others in that the _si_tty symbol
is a pointer, not the base of an array.
1995-09-22 20:01:34 +00:00
Garrett Wollman
ce8bb77296 Print EtherTalk packets correctly; closes PR 649.
Document `-T' option in manual page.

Submitted by:	Toshihiro Kanda <candy@fct.kgc.co.jp> (first fix only)
1995-09-22 17:24:51 +00:00
Andrey A. Chernov
3b4ab8716f Additionly parse /etc/sliphome/slip.slparms* to set keepalive,
outfill and slunit.
Make it more POSIXed.
Describe undocumented stuff.
1995-09-22 10:04:33 +00:00
Rodney W. Grimes
52834df1e7 Remove private beforeinstall: target that incorrectly attempted to make
the /usr/share/man/man8 directory no matter what DESTDIR was set to.
1995-09-21 19:33:55 +00:00
Bruce Evans
0b73305bdd Put declarations in a header file ("ioconf.h")
Generate prototypes for SCSI functions and function pointers.

Fix redundant declarations of interrupt handlers.

Generate 4.4-style includes (<> instead of "").

Clean up formatting of both the source and the output a bit.
1995-09-19 16:37:34 +00:00
Poul-Henning Kamp
6c287c8905 Now pccard modems work to some minimal extent. 1995-09-19 12:40:06 +00:00
Peter Wemm
5326bef3de This mega-commit brings in Jordan's latest sysinstall version..
This looks like it was developed offline, and is being spammed over the
top of the existing.  "That's fine by me!  I dont really care how you do
it, just get it in there..." said Jordan in a conversation a short while
ago...
1995-09-18 16:53:06 +00:00
Bruce Evans
68d2b4d6a9 Fix a comment that became wrong when it was moved in rev. 1.7. Fix nearby
indentation.  Cosmetic.
1995-09-18 12:41:52 +00:00
Atsushi Murai
f18846503d 1. All fragments (except the first one) of a fragmented packet were
dropped - devet@adv.IAEhv.nl (Arjan de Vet)
2. Will not read data from telnet connection - John Capo <jc@irbs.com>
3. Using LQM option could be drop the link due to LcpLayerDown() doesn't
   stop LQR timer. -  Brian <brian@awfulhak.demon.co.uk>
4. Allow to describe a syntax of filters that is not only port number
   but also by name in /etc/service. -  Rich Murphey <rich@lamprey.utmb.edu>

Reviewed by:	Atsushi Murai <amurai@spec.co.jp>
Submitted by:	devet@adv.IAEhv.nl, jc@irbs.com, brian@awfulhak.demon.co.uk,
		rich@lamprey.utmb.edu
1995-09-17 16:14:49 +00:00
Stefan Eßer
f0ce89c63f Improve usage message and document "-u" option to select one of multiple
NCR controller cards.
1995-09-14 18:14:28 +00:00
Paul Richards
df1e48c2bb Remove unconditional unlink at startup and conditionalised the unlink at exit
so that it only unlinks the file if syslogd knows it created it.

If the path specified for the socket already exists then syslogd
will now exit with an "address already in use" error which is more
sensible than blindly unlinking the existing filename.  This stops
syslogd -d foo/bar from unlinking foo/bar if it's a real file.
1995-09-11 13:55:11 +00:00
Joerg Wunsch
86ed6de3b2 Fix a bug that prevented %'s and \'s from being passed to the program
invoked.

Submitted by:	fenner@parc.xerox.com (Bill Fenner)
1995-09-10 13:02:56 +00:00
Joerg Wunsch
85c59f05aa Be gentle and allow both magic's (the own one and the other side's
one) as a valid answer to an echo request.  This makes the log less
noisy when connecting to Trumpet Winsock or FreeBSD 2.0.5's pppd. :)

Submitted by:	melvin@zytek.com (Stephen Melvin)
1995-09-09 13:23:53 +00:00
Paul Traina
d814fe83bd Recode mask logic to use inet_ntoa() so host routes are valid. 1995-09-06 16:33:40 +00:00
Andreas Schulz
758f725332 Correct the manpage for the -o flag. Formerly it was a single flag, now
it requires a version number for the flag. Also correct the manpage to
tell the user ntpdate now uses version 3 as default.
1995-09-03 20:09:00 +00:00
Mike Pritchard
b406e662aa Initialize the group list so that any filter programs that are
run by lpd are not run with root's groups.
1995-09-02 17:53:14 +00:00
Atsushi Murai
c3899f8d3c 1. Do not log the password itself to ppp.log ( Mr. Rich Murphey )
2. Add ability to execute shell commands and suspend back into
   invoking shell (Mr. J Wunsch)

Reviewed by:	amurai@spec.co.jp
Submitted by:	joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
		Rich Murphey <rich@lamprey.utmb.edu>
1995-09-02 17:20:54 +00:00
Garrett Wollman
b52d94c100 Add support for printking Kerberos v4 packets (file I forgot to add)
Obtained from:	John Hawkinson <jhawk@mit.edu> by way of comp.protocols.kerberos
1995-08-29 19:50:18 +00:00
Garrett Wollman
8f548d4466 Add support for printing Kerberos v4 packets. 1995-08-29 19:48:11 +00:00
Poul-Henning Kamp
359f7ce862 Wash hands and datastructures before transplanting drivers in the kernel.
Now pseudo-quasi-semi-works with my modem.
1995-08-29 14:06:16 +00:00
Mike Pritchard
ae532ecb79 Check for expired passwords before allowing access to the system. 1995-08-28 21:30:59 +00:00
Jordan K. Hubbard
5ceffd88de Don't be needlessly verbose in the pkg_create. 1995-08-28 14:47:30 +00:00
Poul-Henning Kamp
41c9aa4fae A bunch of small bug-fixes, doesn't quite work yet, but I'm getting closer.
At least it doesn't core-dump now.
1995-08-28 10:30:47 +00:00
Jordan K. Hubbard
58ab1c7453 Make the play-pen searching routine even more agile in trying
to create a /usr/tmp dir if it makes sense to do so.
1995-08-26 18:36:27 +00:00
David Greenman
87414cb81d Fixed bug with decoding RIP packets - removed unnecessary ntohs()'s for
the sa_family.
1995-08-26 12:40:05 +00:00
Jordan K. Hubbard
a50f9f1dfc Use size_t properly in all fs size ops. This kills a bug
encountered by someone who had his /tmp on a partition with 3.7GB of
free space!
Spotted by:	Francisco Rosich Viana <rosich@power.ci.uv.es>
1995-08-26 10:15:18 +00:00
Poul-Henning Kamp
f64c9758b0 Shut a bunch of warnings. 1995-08-25 09:46:01 +00:00
Poul-Henning Kamp
907886f9e0 Add a couple of makefiles. 1995-08-25 09:45:05 +00:00
Doug Rabson
21ff364166 Add code to work around FreeBSD's nfs symlink cache.
Obtained from: amd-upl102
1995-08-24 10:22:25 +00:00
Poul-Henning Kamp
f2b46629be The userland part of Andrew McRae's PCMCIA/PCCARD code.
This is not quite finished yet, and therefore I have not added it to the
usr.sbin/Makefile yet.
I collected a bunch of Andrews small programs into one: pccardc /phk

Reviewed by:	phk
Submitted by:	Andrew McRae <andrew@mega.com.au>
1995-08-24 09:03:04 +00:00
Paul Traina
abdd03a364 Clean up compilation warning. 1995-08-23 05:26:21 +00:00
Paul Traina
881f591647 Clean up compilation warnings. 1995-08-23 05:19:00 +00:00
Paul Traina
d9edc66fba Fix up warning about const being lost. 1995-08-23 04:54:49 +00:00
Peter Wemm
9d33b1ab70 Recognize a new debug option.. "optim" - for watching the L_RINT bypass
and hotchar selection.
1995-08-22 00:41:05 +00:00
Peter Wemm
d221165f30 Typo.. SIOGIFCONF -> SIOCGIFCONF 1995-08-21 16:44:02 +00:00
Peter Wemm
781063905f Sigh.. The patches to make ndc read /etc/sysconfig to find the correct
arguments to named got lost somewhere..
1995-08-21 03:21:38 +00:00
Peter Wemm
ec422cab2c This commit was generated by cvs2svn to compensate for changes in r10145,
which included commits to RCS files with non-trunk default branches.
1995-08-20 23:00:31 +00:00
Peter Wemm
4f33dfabd5 Import the missing man page for the new command "ndc" to finish the
import of 4.9.3.  This man page was produced by sed from the real version
before import, but I didn't have much choice..  This is needed to enable
the ndc target to complete a "make install"
1995-08-20 23:00:31 +00:00
Peter Wemm
6bc227b405 Update the DNS tools from 4.9.3-b9 -> 4.9.3-b24 1995-08-20 22:32:57 +00:00
Peter Wemm
5307efb797 Update 4.9.3.beta9p1 -> 4.9.3-beta24 1995-08-20 22:22:38 +00:00
Peter Wemm
2c5c94781c This commit was generated by cvs2svn to compensate for changes in r10142,
which included commits to RCS files with non-trunk default branches.
1995-08-20 22:22:38 +00:00
Peter Wemm
d3fb489402 Update bind 4.9.3-beta9p1 to bind 4.9.3-beta24 1995-08-20 21:49:40 +00:00
Peter Wemm
fb48e70c05 Update 4.9.3.beta9p1 -> 4.9.3-beta24 1995-08-20 21:46:36 +00:00
Peter Wemm
6b32ec19e9 Update 4.9.3.b9p1 tools to 4.9.3.b24
Note: new program, "ndc", similar to gated's gdc.  This provides a superset
of named.reload and named.restart.
1995-08-20 21:43:53 +00:00
Peter Wemm
cdfd15f0e4 Update 4.9.3.beta9p1 -> 4.9.3-beta24 1995-08-20 21:32:49 +00:00
Peter Wemm
f6dd8ec266 This commit was generated by cvs2svn to compensate for changes in r10137,
which included commits to RCS files with non-trunk default branches.
1995-08-20 21:32:49 +00:00
Peter Wemm
ac8318a368 Merge in delta from 4.9.3.b9 -> 4.9.3.b24.
Much of the "-j" merge was clean, except for $Id$ and other trivial changes.
1995-08-20 21:19:18 +00:00
Peter Wemm
935d0975b6 Import of Bind-4.9.3-beta24
Yes, there will be conflicts on just about every file.  There is a
significant mainline after the initial import, and the "-j" merge conflicts
on the $Id$ lines...  Yuck!  (These comments apply to the rest of the
imports)

Obtained from: Paul Vixie <paul@vix.com>
1995-08-20 20:55:55 +00:00
Peter Wemm
548ca616c8 This commit was generated by cvs2svn to compensate for changes in r10134,
which included commits to RCS files with non-trunk default branches.
1995-08-20 20:55:55 +00:00
Jordan K. Hubbard
eae0c0a88b Add the cdcontrol program by Serge Vakulenko. It's my understanding
that this is a superset of cdplay, and perhaps it's time to send cdplay
into the bit bucket if this works well.  According to the docs, it has
a friendlier command structure, command line interface etc.
Submitted by:	Serge Vakulenko <vak@cronyx.ru>
1995-08-18 11:41:32 +00:00
Peter Wemm
9566ef5108 Merge in the remaining differences from 8.6.11 to 8.6.12.
Note that conf.c, although there was an import conflict, it did not
require intervention, as it was the $Id$ tag. It would have become
rev 1.8 on checkout so there's no point changing it from 1.7 to
1.1.1.3 as the "-j" option wanted to do.. Trust me.. :-)
1995-08-17 04:57:21 +00:00
Peter Wemm
7791ac4067 Import Sendmail v8.6.12, onto the CSRG(!) branch.
A seperate commit to fix the conflicts wil follow.
1995-08-17 04:39:13 +00:00
Jordan K. Hubbard
84f8341ef7 Here are patches to add full multicast support to rwhod, and an updated man
page.  I tried all three modes (rwhod, rwhod -m, rwhod -m 32) on a machine
with 2 ethernet interfaces and they all worked.
Submitted by:	Bill Fenner <fenner@parc.xerox.com>
1995-08-17 00:51:40 +00:00
Jordan K. Hubbard
3122afe4bd Some fixes to make this "TMPDIR agile".
Submitted by:	jmacd + some of my own fixes.
1995-08-17 00:36:06 +00:00
Peter Wemm
b0b86ca14f Add skeleton manpage, so that make world works......
Correct the naming of the thing.. it's sicontrol, not siconfig as I'm used
to..
1995-08-14 01:56:17 +00:00
Bill Paul
d877befa37 Small NIS tweak: frob pw_error() a little so that it can say either
'NIS information unchanged' or '/etc/master.passwd unchanged'
depending on which was is being modified (conditional on -DYP).

This is to save me the trouble of writing a whole other error
routine (nis_error()?) for the upcoming changes to passwd and
chpass.
1995-08-13 16:05:06 +00:00
Peter Wemm
99dc33eb71 Add sicontrol.. I hope this is the right way.. 1995-08-13 15:28:18 +00:00
Peter Wemm
e184d9c43e Bring in first cut of the user-mode control program for the Specialix driver.
Note that this is pretty light at the moment.. It's been gutted to remove
references to older features no longer in the driver.
Curses-based port monitoring is intended for the future.. :-)
Obtained from: Andy Rutter, <andy@acronym.co.uk>
1995-08-13 15:24:23 +00:00
David Greenman
d219a12e16 Do the mountlist traversal the way it was done in 4.4-Lite2. 1995-08-11 23:40:31 +00:00
Jordan K. Hubbard
4cdd3a4069 Since the mountlist is now a circular queue, adjust the names of the
queue members used and also add a check to see when we've wrapped
around again.
1995-08-11 20:49:26 +00:00
Bill Paul
1e890b056a Just when you thought it was safe...
- getnetgrent.c: address some NIS compatibility problems. We really need
to use the netgroup.byuser and netgroup.byhost maps to speed up innetgr()
when using NIS. Also, change the NIS interaction in the following way:

If /etc/netgroup does not exist or is empty (or contains only the
NIS '+' token), we now use NIS exclusively. This lets us use the
'reverse netgroup' maps and is more or less the behavior of other
platforms.

If /etc/netgroup exists and contains local netgroup data (but no '+').
we use only lthe local stuff and ignore NIS.

If /etc/netgroup exists and contains both local data and the '+',
we use the local data nd the netgroup map as a single combined
database (which, unfortunately, can be slow when the netgroup
database is large). This is what we have been doing up until now.

Head off a potential NULL pointer dereference in the old innetgr()
matching code.

Also fix the way the NIS netgroup map is incorporated into things:
adding the '+' is supposed to make it seem as though the netgroup
database is 'inserted' wherever the '+' is placed. We didn't quite
do it that way before.

(The NetBSD people apparently use a real, honest-to-gosh, netgroup.db
database that works just like the password database. This is
actually a neat idea since netgroups is the sort of thing that
can really benefit from having multi-key search capability,
particularly since reverse lookups require more than a trivial
amount of processing. Should we do something like this too?)

- netgroup.5: document all this stuff.

- rcmd.c: some sleuthing with some test programs linked with my own
version of innetgr() has revealed that SunOS always passes the NIS
domain name to innetgr() in the 'domain' argument. We might as well
do the same (if YP is defined).

- ether_addr.c: also fix the NIS interaction so that placing the
'+' token in the /etc/ethers file makes it seem like the NIS
ethers data is 'inserted' at that point. (Chances are nobody will
notice the effect of this change, which is just te way I like it. :)
1995-08-07 03:42:14 +00:00