Commit Graph

995 Commits

Author SHA1 Message Date
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
Bruce Evans
010508647d There was no newline in the error message for kvm_openfiles(). 1995-07-13 15:59:41 +00:00
Poul-Henning Kamp
4b9f7ce616 Forgot this one in the MD5 reshuffle.
Noticed by:	Faried Nawaz <fn@pain.csrv.uidaho.edu>
1995-07-13 15:33:42 +00:00
Bruce Evans
6e13a63dcd Add kbdmap. 1995-07-12 18:43:38 +00:00
Bruce Evans
0a49b28a4f Remove -g from CFLAGS. 1995-07-12 18:35:45 +00:00
Poul-Henning Kamp
15abc19f5d Fix to match new MD5 api. Faster, fixes memory leak. 1995-07-12 09:16:13 +00:00
Poul-Henning Kamp
9010366de8 Fix to match new MD5 api, faster. 1995-07-12 09:15:15 +00:00
Garrett Wollman
b399224dfb Patches to correct endianness bugs in mtrace and a few other little
problems.

Submitted by: bill Fenner <fenner@parc.xerox.com>
1995-07-10 16:13:05 +00:00
Andreas Schulz
f043580d86 Added a CLEANFILES+= y.tab.h to clean out the temporary file from yacc. 1995-07-08 22:36:06 +00:00
Atsushi Murai
60e218e470 1. Clean up log message.
2. Optimize ModemQlen.
3. Sending ProtoReject for Unknow protocol (i.e. IPX)
4. Avoid select looping by reading tun under the high system load.
5. Adding Local version String for maintenance.
6. Just more speak rather silent ignore if you type invalid key words.
1995-07-08 17:46:56 +00:00
Rodney W. Grimes
701a45221e The vnconfig man page needs updating (change vndXX to vnXX).
The -a option description is not very visible.

Submitted by:	Pierre Beyssac <pb@fasterix.freenix.fr>
Obtained from:	PR docs/447
1995-07-08 09:29:51 +00:00
Atsushi Murai
549d663d78 Some implementation of PPP are required that starting a negotiaion by
sending *special* value as my address, even though the standard of PPP
is defined full negotiation based.  (e.g. "0.0.0.0" or Not "0.0.0.0")
1995-07-08 08:28:10 +00:00
Atsushi Murai
215a46965b Clean up mesage log facility stuff accordng to Joradn's question.
Reviewed by:	amurai@spec.co.jp
1995-07-08 06:08:52 +00:00
Atsushi Murai
28303f2747 >Number: 591
>Category:       bin
>Synopsis:       SPAP request REJexted in stead of NAKed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul  5 01:40:01 1995
>Originator:     Dick van den Burg
>Organization:
>Release:        FreeBSD 2.0.5-RELEASE i386
>Environment:
>Description:

When trying to connect with ppp to a Shiva Lanrover (version 3.2) the
authentication fails because the SPAP (Shiva Secure PAP) configuration
request the is sent by Shive is REJected by ppp in stead of NAKed.

Reviewed by:	amurai@spec.c.jp and friends
Submitted by:	burg@is.ge.com
1995-07-08 05:09:57 +00:00
Andrey A. Chernov
03aa8f08c7 Remove LOG_FILE definition, close PR 595
Submitted by: roberto@blaise.ibp.fr
1995-07-06 22:47:30 +00:00
Satoshi Asami
bea0b497a1 "anyone in a world" -> "anyone in the world".
(Yes, I'm just testing my ppp connection :)
1995-07-06 02:58:57 +00:00
Bruce Evans
a7aac2725f Add a dependency on the .x source file and avoid copying it.
bootparam_prot.x was changed for nfsv3 but bootparamd and callbootd
kept using the old version which fortunately failed at build time.
Copying hasn't been necessary since path handling was fixed in
rpcgen/rpc_main.c some time ago.
1995-07-04 08:39:27 +00:00
David Greenman
0fe81aafec Don't convert 0.0.0.0 into 192.0.0.1. I can find no sane reason to do this. 1995-07-04 02:57:11 +00:00
Doug Rabson
f553a3f620 Hang up the modem if the dial or login fails. This ensures that we
will not hold the line open if the other end has a broken modem or server.
This happens to me quite frequently with my ISP.
1995-06-30 19:53:04 +00:00
David Greenman
975f4abc69 Killed TIMEZONE, DST, and HZ keywords. They have generated a config error
for more than a year now. They've been replaced with userland methods for
changing (see adjkerntz).
1995-06-29 07:19:19 +00:00
Garrett Wollman
e93ad7be43 Upgrade to mrouted version 3.6. This includes a substantial clean-up
and ANSIfication of much of the source base.  Thanks, Bill!

Submitted by:	patch from Bill Fenner <fenner@parc.xerox.com>
1995-06-28 17:58:49 +00:00
Doug Rabson
a62dc40654 Changes to support version 3 of the NFS protocol.
The version 2 support has been tested (client+server) against FreeBSD-2.0,
IRIX 5.3 and FreeBSD-current (using a loopback mount).  The version 2 support
is stable AFAIK.
The version 3 support has been tested with a loopback mount and minimally
against an IRIX 5.3 server.  It needs more testing and may have problems.
I have patched amd to support the new variable length filehandles although
it will still only use version 2 of the protocol.

Before booting a kernel with these changes, nfs clients will need to at least
build and install /usr/sbin/mount_nfs.  Servers will need to build and
install /usr/sbin/mountd.

NFS diskless support is untested.

Obtained from: Rick Macklem <rick@snowhite.cis.uoguelph.ca>
1995-06-27 11:07:30 +00:00
Bruce Evans
21bbf8081b pred1' was documented as pred'. The problem was not obvious because
`disable pred' is silently ignored.
1995-06-26 08:04:16 +00:00
Satoshi Asami
575e2e187e Use lstat() instead of access() for checking file existence. It works
for symlinks too, and according to Rod, access() is evil anyway.

Reviewed by:	jkh
1995-06-24 10:12:59 +00:00
Garrett Wollman
bac23a9f14 Bill Fenner points out that mrinfo and mtrace should probably be set-uid
root so that normal users can use them.  The same caveats apply as for
regular traceroute.
1995-06-21 18:30:16 +00:00
Garrett Wollman
e58d47b1ae Fix pruning bug described in PR 524.
Submitted by: Soochon Radee <slr@mitre.org>
1995-06-16 16:57:20 +00:00
Poul-Henning Kamp
4a11bffe6d manupilation -> manipulation. 1995-06-16 07:07:56 +00:00
Garrett Wollman
8137012ce6 Add a little program to test the functionality of RSRR by getting
a vif list and printing it a la netstat -g (but simpler).  This
doesn't get installed, so there's no man page.
1995-06-15 19:23:08 +00:00
Garrett Wollman
783570d79c Correctly calculate length of local-domain socket name for RSRR server. 1995-06-15 18:30:44 +00:00
Garrett Wollman
4db6e5b1cd Correct misspelling of `mrouted'. Shows what I get for not re-building
from the top...
1995-06-14 15:55:07 +00:00
Garrett Wollman
886e832be0 Re-enable mrouted now that it matches the kernel code again. 1995-06-13 18:07:05 +00:00
Garrett Wollman
2897e6fd5f This is mrouted version 3.5, with the route-change notification hook from
mrouted-3.5n.  This is being splatted onto the head rather than properly
imported thanks to the ``delete trailing whitespace'' screw.  This code is
now actively working in an operational environment (the DARTNET) so I
have some confidence that the basic functionality actually works.

Obtained from: Bill Fenner, PARC, and ISI
1995-06-13 18:05:16 +00:00
Garrett Wollman
389544a073 Temporarily disable mrouted. 1995-06-13 17:46:43 +00:00
Garrett Wollman
3589d0dfc6 Make tcpdump a lot smarter about printing IGMP messages. Derived by groveling
about in the mrouted sources and looking at packet traces.
1995-06-13 17:39:23 +00:00
Rodney W. Grimes
d3628763db Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
Rodney W. Grimes
e5370bd7fe Remove trailing whitespace. 1995-05-30 08:29:07 +00:00
Rodney W. Grimes
5ebc7e6281 Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
Jordan K. Hubbard
a2f0036ac4 Whoops! Fix things so that the root.flp also comes over NFS, not just
the distfiles.
1995-05-30 05:50:53 +00:00
Jordan K. Hubbard
e34d8f08ab NFS installation was broken - try to fix it. 1995-05-30 05:13:24 +00:00
Rodney W. Grimes
709e8f9ae1 Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
Bill Paul
236f9a3ab9 This is another bug fix that should have gone into my last commit. I
actually had this done at one point and lost it somewhere along the
line. Again, this is an honest to gosh bug fix only: no functionality
is changed.

- After a child broadcaster process dies or is killed, set its dom_pipe_fds
descriptors to -1 so that the 'READFD > 0' test in the select() loop
does the right thing.

Since descriptor values can be re-used, failure to do this can lead
to a situation where a descriptor for an RPC socket can be mistaken for
a pipe. If this happens, RPC sockets could be incorrectly handed off to
handle_children(), which would then clear the descriptor from the select()
descriptor mask and prevent svc_getreqset() from handling them. The end
result would be that some RPC events would go unserviced. Curiously,
the failures only happen intermittently.
1995-05-29 16:39:52 +00:00
Jordan K. Hubbard
a0ea7d345e Some floating-point trickery to make the gauge come out right. Also
make it a little longer.
1995-05-29 14:38:31 +00:00
Jordan K. Hubbard
f11ff9b1cc 1. Fix a looping bogon in configFstab().
2. Fix the gauge.
3. Don't shut down the media device gratuitously after getting the root
   floppy - it saves work later.
1995-05-29 13:37:43 +00:00
Jordan K. Hubbard
62cdf450b8 A small tweak to layout. 1995-05-29 12:32:41 +00:00
Jordan K. Hubbard
f1a7e35683 Add a bunch of missing help files. 1995-05-29 11:58:16 +00:00
Jordan K. Hubbard
8fdde019ad Sync up my work for the night. This should implement ALL possible
installation methods and provide a fairly robust set of menu options.
This should also fix a few more bugs on Poul-Henning's latest gripe
list.
1995-05-29 11:01:42 +00:00
Poul-Henning Kamp
de42a94e4b Get help files form /stand/help.tgz 1995-05-29 02:13:31 +00:00
Jordan K. Hubbard
1f71f6055b Make the emergency holographic shell (on VTY4) actually work with job
control and signals and such.  Thanks, Gary!

Clean up some miscellaneous bogons for Poul.
1995-05-29 01:43:20 +00:00
Jordan K. Hubbard
fdb4b4b383 Shrink the boot floppy by removing all extraneous stuff. Also increase
number of inodes.

Fix various bugs reported by Poul.  Implement VTY switching.
1995-05-29 00:50:05 +00:00
Jordan K. Hubbard
15671a7ba8 Add various missing seat belts. 1995-05-28 23:12:09 +00:00
Jordan K. Hubbard
0d65268039 Fix bogon I introduced into dist extraction code last night.
Update to Poul's latest gripe list fixes.
1995-05-28 20:28:15 +00:00
Jordan K. Hubbard
34375f5af0 Remove a needless complication - parent directory already has a trailing /. 1995-05-28 09:43:36 +00:00
Jordan K. Hubbard
adc0fd37fc Try again to redirect the console back before rebooting. 1995-05-28 09:36:06 +00:00
Jordan K. Hubbard
87b9e01a01 Sync up with Poul. 1995-05-28 09:31:44 +00:00
Poul-Henning Kamp
e9f7e74946 cdrom.c: try "cdrom/%s" then "cdrom/dists/%s"
dist.c: fix an error message to make more sense.
1995-05-28 07:05:21 +00:00
Jordan K. Hubbard
337bd0b846 Humanize Poul-Henning's code. Status values should be properly
respected now.
1995-05-28 03:05:06 +00:00
Jordan K. Hubbard
ae71ab7fd4 1. Make this compile again after Poul's changes to the get() strategy
routine.

2. Improve the tcpip menu slightly.
1995-05-27 23:52:55 +00:00
Poul-Henning Kamp
25fce75ee4 Major cleanup. Mediaroutines now get asked about a file. All the
multi part stuff centralized.
The final check is backwards or something so it always said it failed,
even it it didn't.
Fixed tcpip address check to not be stupid, 10.0.255.1 is legal.
1995-05-27 23:39:35 +00:00
Jordan K. Hubbard
654587c49c Delete a couple of now-extraneous files.
Noticed by:	ats
1995-05-27 20:05:35 +00:00
Jordan K. Hubbard
8e98d776c0 Commit parts of reorg that were diffs. Substantially re-engineer the
extraction and mediaGetFTP() handshaking to solve some unexpected complexities.
1995-05-27 10:47:44 +00:00
Jordan K. Hubbard
ba5d6a864b Things were getting seriously hard to find. Do a quick reorg pass over
the code and split things into more logical groupings.
1995-05-27 10:39:04 +00:00
Poul-Henning Kamp
3e28322bd6 Add a little more debugging to the lowlevel ftp stuff. 1995-05-27 06:19:59 +00:00
Jordan K. Hubbard
c7c644a181 Change XFree86 dist names to upper case again. 1995-05-26 22:22:20 +00:00
Jordan K. Hubbard
a2e871cc98 Netmask is unused now - we can delete it. 1995-05-26 22:08:59 +00:00
Jordan K. Hubbard
11033b2a7f Don't add the default route in ppp - we'll only add it again later. 1995-05-26 21:37:53 +00:00
Jordan K. Hubbard
c2192cfe88 Fix a few bogons. 1995-05-26 21:16:02 +00:00
Jordan K. Hubbard
24f0a9980d Put the console back on ttyv0 before rebooting. 1995-05-26 21:00:43 +00:00
Jordan K. Hubbard
fea7a60b7b Put out variable names in quotes. 1995-05-26 20:55:11 +00:00
Jordan K. Hubbard
395dda4194 Clean up the variable handling code a little.
Write /etc/hosts in the right place.
1995-05-26 20:45:20 +00:00
Jordan K. Hubbard
a7f54e2e75 Ask name of "other" ftp site in correct place.
Make TIOCCONS redirection for console messages work properly; we no longer
open /dev/console for all I/O - we use the VTYs directly.
1995-05-26 20:31:02 +00:00
Jordan K. Hubbard
2d7d54b2b4 Clean up the configuration stuff a bit more - we should now populate
/etc with good things(tm).

Fire off ppp with all the proper initial options set.
1995-05-26 19:28:06 +00:00
Jordan K. Hubbard
3a1426b521 Some edits suggested by Atsushi. Also remove my name from the bottom;
just because I edited it doesn't mean I should stick myself in the authors
line, even with the qualification I used.
1995-05-26 17:35:54 +00:00
Jordan K. Hubbard
048999e640 Fix the braindamage I somehow inflicted on this file early this morning. 1995-05-26 17:28:00 +00:00
Jordan K. Hubbard
b9643b6695 This should fix the last of the ftp path problems.
It was all a bit more complex than it first looked.
1995-05-26 11:21:53 +00:00
Jordan K. Hubbard
dc38f8c8da This should enable use to find the info files properly over ftp. 1995-05-26 10:58:51 +00:00
Jordan K. Hubbard
f284246288 Swap args to deviceGet(). Whoops! 1995-05-26 10:34:44 +00:00
Jordan K. Hubbard
ad98a5f52b be nice and tell the user when the installation has completed successfully
so they don't just come back to a menu again 2 hours later with no idea
what happened with the operation(s) they had in progress.
1995-05-26 10:32:28 +00:00
Jordan K. Hubbard
5662f32138 Fix a bug in the /etc populating copy.
Change root.flp from a new format CPIO archive to a tar archive.
Unless we're willing to change the main tarballs from tar format to
"newc" (or, even better, "crc") cpio format, we need to use one common
one for all and that's tar for now.  Install will now grab "root floppy"
from an ftp site if that's what you've got set.

Fix even more gripes from Poul's list.

P.S.  As soon as I get the distfiles copied over to freefall tomorrow
morning, those of you wishing to test minimal installs over ftp should
be able to do so by grabbing the boot floppy and nothing else.  Keep
your eyes open for my announcement.
1995-05-26 10:20:47 +00:00
Jordan K. Hubbard
39c1b38efa Make the installation menu loop on the provided package directory (if one
is provided).
1995-05-26 08:59:29 +00:00
Jordan K. Hubbard
3c4d1d3edb Tighten up the TCP/IP dialog a little.
Simply install procedure a bit.
1995-05-26 08:58:35 +00:00
Jordan K. Hubbard
223705ba7e Totally revamp the TCP/IP dialog; now network selection makes a bit more sense.
Root floppy (which actually may be able to go completely away at some point
soon!) is now loadable from ftp/nfs/dos as well as CDROM and (of course)
floppy.

Fix more problems on Poul's Gripe List.
1995-05-26 08:41:52 +00:00