Commit Graph

8333 Commits

Author SHA1 Message Date
Murray Stokely
2a295fdf9d Add information about setting up media to use the multi-volume support
in sysinstall.

Reviewed by:	ru
2002-06-05 00:34:58 +00:00
David E. O'Brien
b47f7d2f16 Grammar nit.
Submitted by:	keramida
2002-06-04 20:01:53 +00:00
Garance A Drosehn
5e127035e4 Change some "process id" variables from 'int' to 'pid_t', renaming some
of them to keep better track of which-is-which (multiple variables were
named 'pid').  Moved a global pid-variable into the only routine that
used it.  Net result: fixes two compile-time warnings...

MFC after:	2 weeks
2002-06-04 03:40:24 +00:00
Garance A Drosehn
0dcfaee0af Cosmetic improvements to some of the syslog() calls in here (in some cases
simply getting the indentation right when the statement wraps).

MFC after:	2 weeks
2002-06-04 02:48:12 +00:00
Garance A Drosehn
609614565f Fix all the 'return' statements in here to follow style(9).
MFC after:	2 weeks
2002-06-04 01:28:15 +00:00
Garance A Drosehn
4a13c4d9ee Avoid checking WIFEXITED and WTERMSIG in some error situations where the
value in wstatus is not related to the process that we care about.

MFC after:	2 weeks
2002-06-04 01:16:13 +00:00
John Baldwin
30c00e6c41 Backout revision 1.2 since it didn't work and replace it with a fix that
actually does work.  Ignore errors from kldload(2) if the errno value is
EEXIST.  It would help if this return value were documented in the
kldload(2) manual page.
2002-06-03 22:36:52 +00:00
Brian Somers
7b5e6f62fb Add a missing ``a''. 2002-06-03 21:36:20 +00:00
Garance A Drosehn
0760287064 Stop using the depreciated 'union wait' definitions, moving to a more
standard handling of wait()-related routines.

Submitted by:	mike
MFC after:	2 weeks
2002-06-03 20:47:01 +00:00
John Baldwin
e364f0da42 Fix handling of the 'noError' variable. According to the code comments,
one can set the 'noError' variable to ignore any errors that occur for the
next command.  However, the code was only unsetting 'noError' when an error
actually occurred, so if you set 'noError', the next command completed ok,
and the command after that failed, the second command's failure would be
ignored.  This fixes this by performing the 'noError' check earlier and
then unsetting 'noError' after every command that is run.

Sponsored by:	The Weather Channel
2002-06-03 19:42:49 +00:00
John Baldwin
77218da374 Add a 'mediaClose' script command to close the open media. An example use
would be to unmount the CD you installed from and prompt the user to
eject it before rebooting the machine.

Sponsored by:	The Weather Channel
2002-06-03 19:39:28 +00:00
Jens Schweikhardt
21dc7d4f57 Fix typo in the BSD copyright: s/withough/without/
Spotted and suggested by:	des
MFC after:	3 weeks
2002-06-02 20:05:59 +00:00
Brian Somers
aadbb4eab1 Don't send a RAD_NAS_IP_ADDRESS attribute as RAD_NAS_IDENTIFIER is
sufficient.

In fact, using both breaks the radiator RADIUS daemon when used with
a db as it maps both attributes to the same field value and then
fails the insert.

I decided to remove RAD_NAS_IP_ADDRESS on the basis that rfc2138 says:

      An Access-Request MUST contain a User-Name attribute.  It SHOULD
      contain either a NAS-IP-Address attribute or NAS-Identifier
      attribute (or both, although that is not recommended).  It MUST

despite the fact that this not recommended bit was removed from the
updated rfc.
2002-06-02 14:27:02 +00:00
Jens Schweikhardt
148aadf8bc Fix spelling errors: minumum, overriden, inheritted
MFC after:	3 weeks
2002-06-02 10:41:43 +00:00
Tim J. Robbins
dcafd7c96a Don't exit immediately if an error occurs, continue but exit non-zero. 2002-06-02 09:32:39 +00:00
Hajimu UMEMOTO
c7aec5cc57 Skip duplicated prefixes in get_prefix().
Obtained from:	KAME
2002-06-01 19:16:13 +00:00
Hajimu UMEMOTO
99a92b2c8a KNF
Obtained from:	KAME
2002-06-01 17:28:12 +00:00
Hajimu UMEMOTO
bc89a11710 sprintf -> snprintf
Obtained from:	KAME
2002-06-01 16:50:21 +00:00
Makoto Matsushita
29233a2d8a Brush up descriptions of sendmail menu last added.
Submitted by:	gshapiro
2002-06-01 15:47:49 +00:00
Makoto Matsushita
b1e41adda4 Add 'Sendmail' menu to set sendmail_enable variable.
Reviewed by:	bmah (description only)
2002-06-01 14:50:14 +00:00
John Baldwin
fa82904a90 Don't load a module from /stand/modules in the MFS root if it is already in
the kernel.
2002-05-31 20:06:24 +00:00
Ruslan Ermilov
2d80eecc97 We don't build libc_r on sparc64 for the moment. 2002-05-31 19:59:12 +00:00
Pierre Beyssac
81f5d1fac0 Fix integer overflow causing disk/partition size display wrapping
above 4GB.
2002-05-31 17:03:01 +00:00
Bruce A. Mah
ca8f81dd24 pkg_version was incorrectly claiming that 1.5 == 1.5.0.1, because
we weren't properly checking for the case that the two version strings
being compared had different numbers of components.  This has been
fixed.

Pointed out by:	sobomax
Reviewed by:	silence on -ports
2002-05-31 15:45:48 +00:00
John Baldwin
4f3624a441 - Document the new `diskInteractive' variable.
- Document the tcpMenuSelect command.

Sponsored by:	The Weather Channel
2002-05-31 14:32:03 +00:00
John Baldwin
dc1024256c If 'netInteractive' is set to true in an installation script, then
temporarily turn off the nonInteractive variable around the DHCP and IPv6
Yes/No questions in a network device setup so that those questions are
asked.
2002-05-31 13:39:55 +00:00
John Baldwin
df349781bf Add a 'diskInteractive' variable that can be set to interactively partition
and label a disk from a sysinstall script.
2002-05-31 13:38:17 +00:00
Chris D. Faulhaber
5f6da00d2e Remove DESTDIR which is already included in DOCDIR.
Submitted by:	jhay
2002-05-31 10:37:22 +00:00
Giorgos Keramidas
f1c746bb3f Typo fix: syste -> system 2002-05-31 01:46:26 +00:00
Garrett Wollman
c706ddb0fc Fix syntax error (label with no statement). 2002-05-30 21:49:15 +00:00
Garrett Wollman
f70bb54433 Fix conflict with <paths.h> by renaming _PATH_LOGIN to _PATH_SLIP_LOGIN,
and likewise LOGOUT for consistency.  Fix a few nearby style bugs.
2002-05-30 21:26:49 +00:00
Garrett Wollman
0bc013b1a6 Fix preprocessor directive syntax (text after #else).
This program is not likely to compile if DEBUG is ever defined.
2002-05-30 21:21:23 +00:00
Ruslan Ermilov
4e71fd98ee mdoc(7) police: Make this look like an average manpage. 2002-05-30 14:26:02 +00:00
Ruslan Ermilov
24caa840be mdoc(7) police: markup nits. 2002-05-30 08:24:52 +00:00
Ruslan Ermilov
893ca9faea mdoc(7) police: make SYNOPSIS really match usage(). 2002-05-30 08:20:35 +00:00
Ruslan Ermilov
7a9946fe4f mdoc(7) police: markup nits. 2002-05-30 08:10:32 +00:00
Ruslan Ermilov
04a5445099 mdoc(7) police: don't use .Pq with plain text, this breaks hyphenation. 2002-05-30 07:53:53 +00:00
Ruslan Ermilov
3d8d000653 mdoc(7) police: markup nit. 2002-05-30 07:51:22 +00:00
Ruslan Ermilov
a37bec1d74 mdoc(7) police: removed an extra .Op call. 2002-05-30 07:48:01 +00:00
Ruslan Ermilov
b3ecef214c mdoc(7) police: tidy up the markup. 2002-05-30 07:34:10 +00:00
Chris D. Faulhaber
37f42622ba Use the predefined DOCDIR instead of hard-coding /usr/share/doc/bind,
add support for DESTDIR.
2002-05-29 21:49:37 +00:00
Ruslan Ermilov
10cb9bd3d8 mdoc(7) police: nits. 2002-05-29 16:47:55 +00:00
Peter Wemm
0367ff7599 Put on peril sensitive sunglasses and turn C++ stuff back on. 2002-05-29 00:48:14 +00:00
Alfred Perlstein
38fe48f520 Comment out comments trailing #endif directives 2002-05-28 21:52:10 +00:00
Garance A Drosehn
afad6c6529 Have this use 'static const char rcsid' instead of __RCSID()
Discussed with:	bde, obrien
MFC after:	10 days
2002-05-28 20:37:00 +00:00
Alfred Perlstein
16d8455dcc Assume __STDC__, remove non-__STDC__ code. 2002-05-28 19:23:47 +00:00
Maxim Sobolev
027d0ad454 MFS: two more testcases highlighting recently discovered problem with version
comparison routine.
2002-05-28 18:00:44 +00:00
Ian Dowse
90432ad793 Remove references to the update/noupdate flag from the description
and examples of the "-s" option, since these two features operate
completely independently of each other.

Reviewed by:	obrien
2002-05-28 17:53:52 +00:00
Doug Barton
aaa8b7ff8c Actually accept the default argument to SCREEN_WIDTH.
Submitted by:	brian
2002-05-28 07:25:44 +00:00
Dag-Erling Smørgrav
5f9ab4b001 If unable to retrive maxfiles / openfiles, fail rather than print garbage.
Gratuitously rename a couple of variables.
Remove unused macros.
Add NAI copyright.

Sponsored by:	DARPA, NAI Labs
2002-05-28 06:52:21 +00:00
Dag-Erling Smørgrav
182a90e4ec Remove the code that was disabled in a recent commit; it is of very limited
use and has been broken in -CURRENT for a long time.
Clean up unneeded entries in the nlist array.
Implement kvm-backed ttymode (which we never had before).  Incomplete as we
do not (yet?) print the correct device, sid or pgid.

Sponsored by:	DARPA, NAI Labs
2002-05-28 06:37:27 +00:00
Dag-Erling Smørgrav
bf94613dfc Oops, don't print /dev/ twice. 2002-05-28 05:45:56 +00:00
Dag-Erling Smørgrav
333eaaeda9 struct tty -> struct xtty. Reenable some previously disable code, but
temporarily disable some rarely-used code that needs more work.

Sponsored by:	DARPA, NAI Labs
2002-05-28 05:42:32 +00:00
Brian Somers
42df3c252e Coerce pid_t to long rather than int for better portability.
Suggested by: Theo de Raadt <deraadt@openbsd.org>
2002-05-27 23:19:53 +00:00
Murray Stokely
7a78ea3582 The ports collection now contains over 7000 applications and consumes
about 165MB of space when first installed.

Submitted by:  rpratt
2002-05-27 19:31:02 +00:00
David Malone
cc2a301d78 As far as I can tell, the maximum packet size for 802.11b is 2346,
which means that the valid range for the RTS threshold is 0-2347.
The default is definitely 2347.
2002-05-27 13:39:01 +00:00
David Malone
64c88e4219 Remove a stray "t" in the usage message.
PR:		38605
Submitted by:	KOIE Hidetaka <hide@koie.org>
MFC after:	1 week
2002-05-27 13:33:46 +00:00
John W. De Boskey
24aaa74c83 Log invalid config entries. Make the -d option actually log to
the terminal(-d fix from dwmalone).

Approved by:	dwmalone
MFC after:	2 weeks
2002-05-26 04:43:26 +00:00
Ruslan Ermilov
1c3fc710e2 Make it work for a different endianness binary.
(This version is still limited to ELF64.)

Reviewed by:	jake
2002-05-25 13:43:16 +00:00
Ruslan Ermilov
a2acc41379 Get all the fruit from makefile. 2002-05-25 13:39:20 +00:00
Ruslan Ermilov
02c0301fa7 Move elf2aout to usr.sbin/.
Approved by:	jake
2002-05-25 13:29:47 +00:00
David E. O'Brien
12b51ad055 The man page is VERY WRONG about using "-o noupdate" with -s.
So fix it, and add an example using -s.
2002-05-25 01:46:44 +00:00
Ruslan Ermilov
ccde2810d9 Removed dead code. 2002-05-24 06:30:07 +00:00
Ruslan Ermilov
d8d9770881 Handle endianness. This completes cross-support for sparc64. 2002-05-24 06:24:40 +00:00
Dag-Erling Smørgrav
4418dbbd1a Un-kmemize. Portions of the tty mode code have been temporarily disabled;
everything else, including dead kernel support, works just like before.

Sponsored by:	DARPA, NAI Labs
2002-05-23 15:09:49 +00:00
Dag-Erling Smørgrav
d88b2458a5 Nits in previous commits.
Sponsored by:	DARPA, NAI Labs
2002-05-23 14:58:07 +00:00
Dag-Erling Smørgrav
0cbfd1a525 Cull large amounts of dead code (deprecated since 1997)
Sponsored by:	DARPA, NAI Labs
2002-05-23 14:53:04 +00:00
Dag-Erling Smørgrav
c9624363a8 ANSIfy.
Sponsored by:	DARPA, NAI Labs
2002-05-23 14:48:25 +00:00
Dag-Erling Smørgrav
1dcc9c32aa Staticize.
Sponsored by:	DARPA, NAI Labs
2002-05-23 14:44:23 +00:00
Dag-Erling Smørgrav
d4a0c7a6b5 Whitespace cleanup.
Sponsored by:	DARPA, NAI Labs
2002-05-23 14:42:17 +00:00
Dag-Erling Smørgrav
09941f75bd Unbreak tty mode (cons was renamed to constty a while ago)
Sponsored by:	DARPA, NAI Labs
2002-05-23 14:41:52 +00:00
Ollivier Robert
bb817201ed load_env(), the function that attempts to parse a crontab
line as an environment variable assignment, is broken
and not conformant to its description in the manual page.

I think it is worthwhile to have that fix in 4.6.

PR:             bin/38374
Submitted by:   Thomas Quinot <thomas@cuivre.fr.eu.org>
MFC after:      2 days
2002-05-23 13:16:30 +00:00
Ruslan Ermilov
576c87ab62 This manpage is for Alpha only. 2002-05-23 07:38:51 +00:00
Brian Somers
d4ff125fc1 Increase the maximum FSM option length to 50 2002-05-22 21:17:13 +00:00
Brian Somers
b08bf2de64 Add some missing #includes that weren't required due to namespace polution
in our headers.

Submitted by: bde
2002-05-22 21:08:58 +00:00
Maxim Sobolev
6950a26a50 Eliminate free'ing already freed chunks.
MFC after:	1 week
2002-05-22 10:33:25 +00:00
Ruslan Ermilov
66c795d4f4 Added support for ia64 and sparc64. 2002-05-21 15:36:29 +00:00
Brian Somers
3eaa768da0 Mention our support of the authentication side of rfc2548 2002-05-21 10:54:07 +00:00
Ollivier Robert
9a1cd8e5a2 Add two FTP mirrors in France:
- ftp7 in Paris (ftp.club-internet.fr)
- ftp8 in Stransbourg (ftp.u-strasbg.fr)

MFC after:	1 day
2002-05-20 17:08:00 +00:00
Ruslan Ermilov
b501b9b5c1 Bootstrap elf2aout(1) for sparc64; used to build sys/boot/sparc64/boot1. 2002-05-20 14:42:48 +00:00
Maxim Sobolev
62553a3cbf MFS: silence compiler warnings. 2002-05-20 09:55:41 +00:00
Ruslan Ermilov
fa7e3ca68a Kill the stray #include line. 2002-05-20 08:05:58 +00:00
Ruslan Ermilov
8aa98dece2 s/u_int/u_int32_t/ 2002-05-20 07:56:40 +00:00
Dima Dorfman
a0cfa93972 Fix IP address typo.
PR:		38313
Submitted by:	Jeff Ito <jeffi@rcn.com>
2002-05-20 07:29:25 +00:00
Akinori MUSHA
8f810e50da Work around a code generation bug of GCC 3.1 by replacing
`/2' with `>>1'.  In the context `>>1' is more appropriate
because it looks like the division is used to restore a
shifted value.

GCC GNATS PR:	c/6677

This fixes a problem where wheel-up movement is taken as wheel-down
in the sysmouse protocol.

Do not assume the plain char's are signed; use `signed char' where
char's need to be signed.

Discussed on:	audit
Pointed out by:	bde
2002-05-19 06:53:20 +00:00
Brian Somers
d5caaf02c1 Document RAD_MICROSOFT_MS_CHAP2_SUCCESS. 2002-05-18 23:58:15 +00:00
Jake Burkholder
fa5fb2ec22 Get byte swapping primitives from sys/endian.h now that they are exported
to userland.  This makes elf2aout work as a cross tool.
2002-05-17 15:46:08 +00:00
Brian Somers
27a0cd1ccf MFS: Extend a buffer size so that packages with particularily deep dependency
lists install properly.
2002-05-17 09:46:46 +00:00
Juli Mallett
2244ec0163 Stop this program's abuse of malloc(3). Its return value doesn't need these
ugly explicit casts, and its argument doesn't need explicitly cast to u_int,
especially if sizeof() is being used.
2002-05-17 05:27:52 +00:00
Brian Somers
5bc74cd68f Put back <string.h> 2002-05-17 00:44:54 +00:00
Andrew R. Reiter
1effc132ba - Convert a bunch of macros to the actual function they're calling. These
include:

          UM_ALLOC        -> calloc, malloc
          UM_FREE         -> free
          UM_COPY         -> bcopy
          UM_ZERO         -> bzero

    This is the first step towards removing these macros.
2002-05-16 23:57:37 +00:00
Andrew R. Reiter
d58f1bc48b - Convert a bunch of macros to the actual function they're calling. These
include:

	UM_ALLOC 	-> calloc, malloc
	UM_FREE		-> free
	UM_COPY		-> bcopy
	UM_ZERO		-> bzero

  This is the first step towards removing these macros.
2002-05-16 23:28:40 +00:00
Eric Melville
595d77f913 Remove cross reference to pkg_update(1).
Submitted by:	dd
2002-05-16 22:46:53 +00:00
Mark Murray
d99142426b Replace the perl script version of this with a sh(1) script.
Submitted by:	Riccardo "VIC" Torrini <riccardo@torrini.org>
2002-05-16 18:51:57 +00:00
Hajimu UMEMOTO
9b1222a712 Don't install scriptdump which is written in Perl. This is
corresponding to removal of Perl from base system.
2002-05-16 15:44:08 +00:00
Brian Somers
52c555907f Add some OpenBSD includes 2002-05-16 14:47:19 +00:00
Brian Somers
6573c25286 Fix a mis-placed #else/#endif 2002-05-16 14:28:32 +00:00
Brian Somers
a16061b236 Handle MS-CHAPv2 authentication correctly via the RADIUS server (if it's
configured).
Handle internal failures in radius_Authenticate() correctly.
Bump the ppp version number.

This doesn't yet work with MPPE.  More will follow.

Sponsored by: Mozoon
2002-05-16 13:34:20 +00:00
Tom Rhodes
3468b317cb more file system > filesystem 2002-05-16 04:10:46 +00:00
Tom Rhodes
67c8020f12 Consistancy check: s/file system/filesystem/g 2002-05-16 02:28:39 +00:00