Commit Graph

1175 Commits

Author SHA1 Message Date
Jordan K. Hubbard
adfab64be5 Some rethinks on the way the attribute interface worked (now that
I'm really, truly using it).  Allow distribution fetch to get .info
files from the root.flp OR the distribution in question, allowing us
to add flexibility to the scheme.  At some point, perhaps soon, the
cached copy should probably go away entirely!
1995-10-18 05:02:02 +00:00
Jordan K. Hubbard
3b9d53b13a Almost snapshot time..
Merge today's work.

Now support an attributes file loaded at startup (true front-loaded install).
Add fuller debugging support to all device I/O routines.
Lots-o-bug fixes.
1995-10-18 00:12:55 +00:00
Jordan K. Hubbard
c8cd425122 Sync with me in prep for snapshot. 1995-10-17 02:57:11 +00:00
Jordan K. Hubbard
34fea4ae3c Sync to my current development srcs. I'm about to go off the air here for
awhile wwhile they work on my phone lines.
1995-10-16 23:02:35 +00:00
Jordan K. Hubbard
3cc7679dca Fix many more bogons, add some stuff to make the docs folk happy. 1995-10-16 15:14:28 +00:00
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
Joerg Wunsch
b21c8dbe0e Remove the comment about the broken getopts(1) in our /bin/sh. 1995-08-06 19:39:38 +00:00
Bruce Evans
48cfb668fc Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.

Previously I missed dozens of Makefiles that skip the install after
using `cmp -s' to decide that the install isn't necessary.
1995-08-06 12:24:38 +00:00
Jordan K. Hubbard
5da01a55fc Make "out of space in ${PKG_TMPDIR}" handling a bit more robust.
Print the right thing, do the right thing.  Back to you, Satoshi!
1995-08-06 03:21:04 +00:00
Bruce Evans
7231767144 Don't attempt to install rtprio.2 from here. It has moved to lib/libc/sys. 1995-08-06 00:58:52 +00:00
Jordan K. Hubbard
ae68fdb0f7 Close:
>Number:         656
>Category:       docs
>Synopsis:       -v is not fully documented in portmap.8
Submitted by:	Mike Grupenhoff <kashmir@umiacs.umd.edu>
1995-08-05 23:25:52 +00:00
Garrett Wollman
f8791190ac Update timezone compiler and dumper to understand the new EC rules. 1995-08-05 20:28:48 +00:00
Andrey A. Chernov
8a9c356059 Add missing ospeed initialization 1995-08-04 07:17:24 +00:00
Jordan K. Hubbard
ba508869ca Remove useless -lftp arguments from Makefiles.
Suggested by: ache
1995-08-04 07:14:08 +00:00
Jordan K. Hubbard
95319e1733 Make arp command actually behave as documented with the addition of a -f
flag.  The getopt handling in here is actually pretty bogus (not Phil's
fault - it's original sin) but the general approach is working so I'm not
going to break it.  Some small tweaks of my own to add error checking to what
was originally submitted.  Strange how nobody noticed that the flag was
documented but completely missing from the code before! [jkh].
Submitted by:	Phil Taylor <phil@zipmail.co.uk>
1995-08-03 03:56:48 +00:00
Jordan K. Hubbard
156547674a Round this out. Now seems to transfer packages properly over ftp
as it was supposed to.  PKG_PATH more sorely needed than ever now..
Hmmmm.
1995-08-01 09:49:27 +00:00
Jordan K. Hubbard
118e410749 Argh! I hate my life! I can't seem to do anything right here today.
This should restore functionality to the pkg_install suite.
1995-08-01 07:16:51 +00:00
Bill Paul
cca80d1fd8 The other day someone brought me an old Apple Laserwriter II with a serial
interface set at 57600 baud, and I found out the hard way that lpd doesn't
know about speeds greater than 38400, even though <sys/ttydev.h> also
permits 57600 and 115200 baud. Fix this by adding B57600 and B115200 to the
'bauds' table. (The Apple printer worked properly once I did this, BTW. :)
1995-07-31 13:59:45 +00:00
Satoshi Asami
e7a7980c25 Sync this up with ftp.c. 1995-07-31 04:00:01 +00:00
Jordan K. Hubbard
d5285ad858 Remove dependency on sysinstall. 1995-07-31 02:27:58 +00:00
Jordan K. Hubbard
103ccee575 Add ftp.c to makefile - that might make it work better. Sheesh! 1995-07-31 01:26:58 +00:00
Gary Palmer
4545963cd1 Typo in log message : errros -> errors 1995-07-30 15:18:29 +00:00
Jordan K. Hubbard
70ad39a5d4 Change the environment variable this looks for from FTP_PASSIVE to
FTP_PASSIVE_MODE.  It would be really nice if we could standardise on
this name so that all tools (like ncftp) that offer passive/active
ftp selection would work seamlessly with one user environment variable
setting.
1995-07-30 09:41:21 +00:00
Jordan K. Hubbard
a2d09e69b2 Document how to get pkg_add to use PASSIVE MODE ftp in such transfers. 1995-07-30 09:37:31 +00:00
Jordan K. Hubbard
4366f12ca2 Totally eliminate the dependency on libftp (which will be removed from the
FreeBSD source tree) and switch to the internal ftp routines developed
by Poul-Henning and used in sysinstall.
1995-07-30 09:33:31 +00:00
Jordan K. Hubbard
d8003c2a59 o Fix PR# bin/643 - always set "where_to" properly.
o Nuke dependence on libftp - it's about to die!
1995-07-30 09:11:20 +00:00
Satoshi Asami
86e0f980c9 The default for temporary directory is /var/tmp, not /tmp. 1995-07-30 05:25:35 +00:00
Andrey A. Chernov
96d5140413 You can run pkg_info everywhere expect /var/db/pkg directory :-)
Running there you got any kind of strange errors from tar caused
by treating directories as tar files!
Fix it by adding new isfile(name) (check for reg. files) to simple fexists(name) calls.
1995-07-30 01:44:45 +00:00
Andrey A. Chernov
573999ad8a If some files lost in /var/db/pkg/<port>/ after system crash f.e.,
pkg_manage silently dumps core, pkg_info claims about them to
stderr, which makes very difficult to find what directory cause it via
tons of pkg_info -a output. I found solution which covers both variants,
now pkg_info claims about missing files to stdout among valid output
with ERROR: prefix. It heals pkg_manage to not dump core and makes
easy to find errors in pkg_info -a output by simple /ERROR 'more' command.
1995-07-30 01:08:34 +00:00
Andrey A. Chernov
31bdd9d999 Fix coredump for -v flag
Submitted by: Thomas Gellekum <thomas@ghpc8.ihf.rwth-aachen.de>
Obtained from:
1995-07-28 01:50:35 +00:00
Bill Paul
3ad4ec7c21 main.c:
- use daemon() to daemonify ourselves
- the 'Usage' printf() was missing an argument
- remove declaration of rindex and #include <string.h> instead

bootparam.c:
- get rid of local declarations of YP functions and include headers
from /usr/include/rpcsvc instead.
1995-07-25 22:44:14 +00:00
Bruce Evans
9c0dc173cc Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00
Bruce Evans
c2471061b8 Change install' to ${INSTALL}' as usual.
Nuke potential for mkdir'ing /usr/lib.

Don't move the the target to a backup file before installing it.  This will
defeat `install -C'.
1995-07-25 00:17:05 +00:00
Bruce Evans
c611424791 Delete the recently introduced NOOBJ. The obj directory will soon be
used to hold gzipped man pages.
1995-07-24 23:02:03 +00:00
Bruce Evans
6f4640cac6 Use p->fts_level instead of unsuccessfully trying to keep track of the
level ourself.  We failed for unreadable directories.  E.g.,
`mtree -d -f /etc/mtree/BSD.usr.dist -p /usr' run by `nobody' was
confused after it couldn't descend into /usr/games/hide.  It looked
for /usr/include and subsequent directories in /usr/games.

Don't search for `extra' files when the spec depth is less than the
fts level.  The spec depth isn't incremented for leaf nodes because
that would give a NULL level pointer and make it inconvenient to go
back to the parent level.  Leaf nodes are built for directories that
are empty in the spec.  Since they are empty in the spec, all files
in them are extra.  The search looked for files one spec level
too high, so for `mtree -d -f /etc/mtree/BSD.usr.dist -p /usr',
obj/sbin matched ./sbin and wasn't considered extra, so it was
descended into and lots of bogus extra things in it were found.
This was harmful for `mtree -U' (as reported in pr623) and worse
for `mtree -r'.

Use rmdir(), not unlink(), to remove `extra' directories.  unlink()
succeeds for root but unlinking directories normally damages the
file system.

Report `fts_errno' instead of `errno' when the former applies.
1995-07-24 02:52:42 +00:00
Bruce Evans
03aec1f65b Report fts_errno' instead of errno' when the former applies. 1995-07-24 02:50:50 +00:00
Andrey A. Chernov
61820e8839 Better version of spkrtest using perl and dialog
Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-07-23 01:46:55 +00:00
Andrey A. Chernov
0606a87217 bugfix: traceroute hangs forever, if another ICMP traffics exists and
timeout occurse, close PR 612
Submitted by: Bill Fenner <fenner@parc.xerox.com>
1995-07-23 01:25:33 +00:00
Bruce Evans
283fecc144 Document new tty states TS_CONNECTED, TS_SO_OLOWAT, TS_SO_OCOMPLETE,
TS_CAR_OFLOW, TS_CTS_OFLOW, TS_DSR_OFLOW and TS_ZOMBIE.

Document old tty states TS_ASLEEP and TS_TTSTOP more completely.

Document old tty states TS_ASYNC and TS_TBLOCK.

Document not so old tty states TS_CAN_BYPASS_L_RINT and TS_SNOOP.

Don't document nonexistent state TS_HUPCL.

Document the current line disciplines instead of prehistoric ones.
1995-07-21 17:03:34 +00:00
Bruce Evans
24f769b024 Support cy driver. All tty drivers require namelist stuff here or they
won't get reported.  The pcvt, cx and iitty drivers aren't supported.

Report new tty states TS_CONNECTED, TS_SO_OLOWAT, TS_SO_OCOMPLETE,
TS_CAR_OFLOW, TS_CTS_OFLOW, TS_DSR_OFLOW and TS_ZOMBIE if they are
defined.

Report old tty states TS_WOPEN and TS_ASLEEP only if they are defined.

Report not so old tty states TS_CAN_BYPASS_L_RINT and TS_SNOOP only
if they are defined (instead of if __FreeBSD__ is defined).
1995-07-21 17:02:29 +00:00
Jordan K. Hubbard
dd77c4bc54 Support for the Boeder DCF77 Receiver
Submitted by: Vincenzo Capuano <VCAPUANO@VMPROFS.ESOC.ESA.DE>
1995-07-21 13:04:07 +00:00
Bill Paul
a974cefe6e Add a -S option to ypbind that allows the following:
-S domainname,server1,server2,server3,...
           The -S flag allows the system administrator to lock ypbind to a
           particular domain and group of NIS servers. Up to ten servers can
           be specified.  There must not be any spaces between the commas in
           the domain/server specification. This option is used to insure that
           that the system binds only to one domain and only to one of the
           specified servers, which is useful for systems that are both NIS
           servers and NIS clients: it provides a way to restrict what ma-
           chines the system can bind to without the need for specifying the
           -ypset or -ypsetme options, which are often considered to be secu-
           rity holes. The specified servers must have valid entries in the
           local /etc/hosts file. IP addresses may be specified in place of
           hostnames. If ypbind can't make sense ouf of the arguments, it will
           ignore the -S flag and continue running normally.

           Note that ypbind will consider the domainname specified with the -S
           flag to be the system default domain.

(According to what Garrett showed me, OSF/1 actually only allows 4 servers
to be specified. Ten seemed to be a bit more reasonable to me.)

Suggested by: G. Wollman
Idea lifted from: OSF/1
1995-07-20 22:33:02 +00:00
Bill Paul
cef6b9bc3e Use daemon() to deamonify ourselves. 1995-07-18 21:35:32 +00:00
Justin T. Gibbs
f7ad28d790 Add missing quote to yyerror call. 1995-07-18 06:11:34 +00:00
Justin T. Gibbs
31acd246c0 Allow the specification of the controller bus when wiring down scsi buses.
This is performed by using a line similar to:

controller scbus0 at ahc0 bus 1

to wire scbus0 to the second bus on an adaptec 2742T controller.

Reviewed by: Peter Dufault(dufault@hda.com), Rod Grimes(rgrimes@FreeBSD.org)
1995-07-17 23:38:16 +00:00
Torsten Blum
e162d528d0 lpr uses access(2) to determine if the parent directory of the file
is writeable (by the real uid). if it is, lpr assumes that the file
can be unlinked. lpr does not check for directories with S_ISVTX set

Reviewed by:	dima
1995-07-17 21:19:09 +00:00
Jordan K. Hubbard
43395b3be7 The LINKS variable was being improperly specified as non-relative to
${DESTDIR}.
1995-07-17 14:43:06 +00:00
Jordan K. Hubbard
667e132052 Take hardcoded /usr/sbin out of the install target. 1995-07-17 14:39:09 +00:00
Peter Wemm
6689ae4b04 pac had a grudge against usernames starting with 't', because of a typo.
Reviewed by:
Submitted by:	Kenji Tomita
Obtained from:
1995-07-17 13:14:01 +00:00
Bill Paul
1ede0846a7 Some small signal handling tweaks: be sure to keep wait3()ing until all
children are reaped and make sure to block SIGCHLD delivery during handler
execution when installing SIGCHLD handler with sigaction().
1995-07-15 23:27:49 +00:00
Andrey A. Chernov
dfb8a7e1eb Add missing ../ to secure path, close PR 615
Submitted by: gordon@sheaky.lonestar.org
1995-07-15 00:09:30 +00:00