Commit Graph

7919 Commits

Author SHA1 Message Date
peter
2ac73d07cc Reactivate sysinstall, it does work on ia64. 2002-04-08 23:08:48 +00:00
obrien
0ce433f418 Sysinstall does not work on ia64 and sparc64 yet. :-) 2002-04-08 20:42:05 +00:00
dougb
4ceb4c68e5 Solve the problem of spuriously comparing files that were created
in the ${TEMPROOT}/usr/obj directory by deleting them first.
2002-04-08 10:30:44 +00:00
dougb
4f409aded1 Document the two new options, pre buildworld mode and
post-mm rc.conf[.local] comparisons.
2002-04-08 09:49:40 +00:00
murray
52f5f76584 GCC 3.1 cleanup - add a break after default: at the end of a switch
statement.
2002-04-07 12:05:05 +00:00
murray
c55f9a8b7a Add comment to supplement my last commit.
Requested by:  obrien
2002-04-07 10:40:31 +00:00
murray
b066b3b4c6 GCC >= 3 and C99 handle zero-length arrays differently than older
versions of GCC.  With this change, sysinstall compiles and works fine
with GCC 3.1 or 2.95.
2002-04-07 10:27:24 +00:00
obrien
244194dd47 Remove some last vestages of _interactiveHack.
Also tie stderr to something for the invocation of pkg_add.

Sponsored by:	FreeBSD Mall, Inc.
2002-04-07 10:08:55 +00:00
gad
c534ebe1cb A variable had been unnecessarily assigned a bogus value because gcc was
"confused" about it being unassigned.  In fact, gcc was right.  Fix the
real problem by setting that variable before break-ing out of a select
statement so gcc is happy, and then remove the unnecessary assignment.

Reported by:	a user wondering why lpd syslog-ed about "compiler confusion"
MFC after:	12 days
2002-04-07 08:12:39 +00:00
gad
162dc5b8ed Rename a variable from 'user' to 'userid' to avoid some compiler warnings.
MFC after:	12 days
2002-04-07 08:01:42 +00:00
gad
888aa7f536 Rearrange all the error returns from sendfile() to make sure the original
input file and any temporary (filter) file are closed upon return, and
that is generally done at the end of the routine.  This should make it
easier for a later update (not yet written) to implement a "resend_copies"
option.

MFC after:	12 days
2002-04-07 07:48:32 +00:00
gad
b658a5a4d9 Re-arrange how output filters (of=) are handled for queues going to
remote machines.  Now they really are handled *exactly* the same as
input filters (if=) for remote queues, except that they are started
with a different set of parameters.  This should fix a few subtle
bugs in output-filter processing on such queues.  It is a pretty
significant re-arranging of sendfile(), moving some of it to a new
execfilter() routine.

PR:		36552
Reviewed by:	no screams from freebsd-audit
MFC after:	12 days
2002-04-07 05:37:27 +00:00
ru
c07d34f06d Don't reinvent the wheel now that ether_ntoa(3) has been fixed
to print leading zeros in libc_net/ether_addr.c,v 1.13.

MFC after:	3 days
2002-04-06 09:01:44 +00:00
des
27938c987a Simplify and optimize. This speeds up 'initattr' enormously for small
attribute sizes (up to two orders of magnitude!)
2002-04-06 05:02:54 +00:00
murray
59474794b1 Add "xf86cfg -textmode" to the list of options for configuring XFree86
4.X.

Suggested by:	many
2002-04-06 02:42:27 +00:00
murray
37483c1689 Teach sysinstall the difference between a command line, and an
executable file, so that we can pass commands with arguments to
configXSetup().
2002-04-06 02:39:27 +00:00
asmodai
e70af8e135 Correct old wording of the arp functionality.
We are long past the stage where we only had ARP working for 10 Mb/s.

PR:		35604
Submitted by:	Gary W. Swearingen <swear@blarg.net>
Additional comments by:	Mike DeGraw-Bertsch <mbertsch@radioactivedata.org>
2002-04-05 21:59:13 +00:00
sos
addf4f9865 Dont quit prematurely when writing from stdin... 2002-04-05 19:35:41 +00:00
dd
02899bedf3 In the words of the submitter:
This patch explains -F for usershow and groupshow.  Because "groupmod
 ... -F" doesn't do anything, the patch also drops that from groupmod's
 command line args.

PR:		35955
Submitted by:	Mike DeGraw-Bertsch <mbertsch@radioactivedata.org>
2002-04-05 08:39:31 +00:00
dd
e1313b2dc5 Document the -7 option for usershow.
PR:		36735
Submitted by:	Mike DeGraw-Bertsch <mbertsch@radioactivedata.org>
2002-04-05 08:31:17 +00:00
gshapiro
ddf4a316ca Add the missing hoststat and purgestat commands. These are normally
symlinks to the sendmail binary but in FreeBSD's case, they are
symlinks to mailwrapper.

Submitted by:	tisco
MFC after:	4 days
2002-04-05 04:25:14 +00:00
hosokawa
0b13c129c3 Get tun P2P address from the local pool if RADIUS server returned
255.255.255.254 as client ipaddr.

Reviewed-By:	freebsd-net mailing list
2002-04-04 08:43:00 +00:00
imp
6a06551e31 Integrate airtools. This adds a number of parameters, which I've not
documented yet, the most interesting one is -l, which lists all the
access points available.
2002-04-04 07:04:29 +00:00
obrien
69293f7203 Switch to using XFree86 version 4. We do this thru installing the package,
so know we have proper PKG registration and dependency information.

This is a WIP for 5.0 DP #1, so it is still rough around the edges and
does not GC the old XFree86 3.3.6 handling stuff that should be GC'ed.
Sponsored by:	FreeBSD Mall, Inc.
2002-04-02 20:42:54 +00:00
murray
687d76284f DTRT for packages read from STDIN:
$ cat pkg.tgz | pkg_add -

The above command line will fail on -CURRENT or -STABLE, and
therefore, so will sysinstall if you try to install additional
packages through the network (FTP) from a multiuser system.  Because
of the different environment during installation (wrt the playpen),
this bug does not manifest itself during initial installs, and users
may install packages from the network just fine at that time.

This bug was fixed in OpenBSD 4 years ago.

----------------------------
revision 1.4
date: 1998/04/07 05:56:13;  author: marc;  state: Exp;  lines: +13 -8
fix package input from standard input -- the program tried to process
stdin twice.  Note: it assumes stdin is a compressed tar file.
----------------------------

PR:		conf/36606
Obtained from:	OpenBSD
MFC after:	2 weeks
2002-04-02 12:47:10 +00:00
cjc
4c0790446d Produce a different error message for mktime(3) failure than for bad
newsyslog.conf syntax.

PR:		bin/36641
2002-04-02 12:03:16 +00:00
phk
3b155b910c Send diskpart to the eternal storage device (SMD probably :-) where
it belongs.
2002-04-02 11:02:21 +00:00
sheldonh
8f80ed9ef8 Various fixes, mostly for problems introduced by my mdoc transcription,
rather than problems that existed in the original HTML "source".

PR:		docs/33585
Submitted:	Norihiro Kumagai <kumagai@attbi.com>
2002-04-02 08:55:49 +00:00
sheldonh
4219bd47a4 There are 4 key formats, not 3.
PR:		33586
Submitted by:	Norihiro Kumagai <kuma@12-225-156-18.client.attbi.com>
2002-04-02 08:47:56 +00:00
obrien
bec3c543e9 Our persistent-state, large temporary file dir is /VAR/tmp, not /USR/tmp. 2002-04-01 21:35:24 +00:00
mike
4726fef171 Include <string.h> for some prototypes, rather than depending on
pollution from <strings.h>.
2002-04-01 21:13:17 +00:00
obrien
fc6f980540 Fix SCM ID's. 2002-04-01 09:39:07 +00:00
brian
a8096c2fc1 Fix a typo 2002-03-31 01:57:06 +00:00
brian
30329767a3 Add a missing ``#ifndef NONETGRAPH'' 2002-03-31 01:56:34 +00:00
brian
5ab4845ef7 Remove some extraneous whitespace 2002-03-31 01:51:15 +00:00
brian
2b1bc34c1b Include arpa/inet.h 2002-03-31 01:36:08 +00:00
ru
8935c7c5aa Fix CLEANFILES. 2002-03-30 17:57:51 +00:00
matusita
0deaff5483 Fix /dev/acdNc minor device number. This bug prevents installing FreeBSD
from CD-ROM in 4-stable.  Note that in 5-current, we use devfs so this
change (hopefully) shouldn't change anything.

I'll MFC to 4-stable later.

Tested with: FreeBSD/i386, 4.5-STABLE-20020330-JPSNAP
2002-03-30 16:59:06 +00:00
luigi
3d32810cda Add a "special progname lib xxx ..." command to crunchgen
so the .lo files can be partially linked against libraries
which redefine symbols in the standard libs, or which reference
symbols in the objects.

Submitted by: Sam Leffler
MFC After: 3 days
2002-03-30 16:48:30 +00:00
brian
ca7cd8bdd2 Add a sprinkling of mp_Down() calls to ensure that we don't think that
the multi-link NCP is up when it isn't.
2002-03-30 12:52:55 +00:00
brian
6bd04774e0 Don't use the RTF_GATEWAY flag and pass the RTA_GATEWAY address when updating
routes.
2002-03-30 12:50:49 +00:00
brian
8745116f44 Add a missing break 2002-03-30 12:47:29 +00:00
brian
6ea791d31e Merge the NETGRAPH branch into HEAD. tty devices now use netgraph's line
discipline to do the async escaping, but no other benefits are available yet.

Change ``ifdef HAVE_DES'' to ``ifndef NODES'' for consistency.

Make the Makefile a little more sane WRT RELEASE_CRUNCH.
2002-03-30 12:30:09 +00:00
murray
c65b06dde4 Only build and link the pccard module on architectures that support it (and
that have room for pccardd on mfsroot.flp).
2002-03-29 23:03:17 +00:00
ume
97ef289868 typo. netbsd PR 16055
Obtained from:	KAME
MFC after:	1 week
2002-03-29 04:43:07 +00:00
murray
7c36b5eae4 Mention the fact that you must burn an ISO image to your CDR (created
by mkisofs(8) or similar), if you actually intend to mount the data CD
created by burncd.

PR:		bin/35524
Approved by:	sos
MFC after:	3 days
2002-03-28 11:03:42 +00:00
ru
e3611a63cb Tidy up CLEANFILES. 2002-03-28 10:02:00 +00:00
ru
92083f38cb Teach sysinstall(8) how to read boot managers out of /boot
instead of hardcoding them into the binary.  This replaces
the work-around in usr.sbin/sysinstall/Makefile,v 1.121.

Suggested by:	jhb
MFC in:		1 week
2002-03-28 08:23:33 +00:00
obrien
e7324d8249 Utility to create a.out [kernels] from an ELF one.
This is needed on sparc64 (and maybe all OpenFirmware based machines) as
most [all?] OpenBoot PROM's require either an a.out or FCode boot image.

Submitted by:	jake
2002-03-28 02:17:27 +00:00
rwatson
a8a8e88dc5 Update kgmon.8 to refer to /boot/kernel/kernel on -CURRENT, rather than
/kernel.  kgmon actually appears to use getbootfile(), and the man page
might need to be updated to reflect that.

Reported by:	Hiten Pandya <hiten@uk.FreeBSD.org>
2002-03-28 00:16:49 +00:00