Commit Graph

6467 Commits

Author SHA1 Message Date
ru
bb320bb874 mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:20:31 +00:00
ru
ef3be2b58f mdoc(7) cosmetics.
Submitted by:	sheldonh
2000-12-11 10:18:32 +00:00
ben
f440c10a6d .Nm Config -> .Nm, there is no such program "Config" in FreeBSD.
PR:		23404
Submitted by:	Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2000-12-11 10:14:58 +00:00
ru
3990223468 mdoc(7) police: reapply rev 1.7 lost in previous commit, clean up a bit. 2000-12-11 09:42:00 +00:00
charnier
f360ce304c Remove unused #includes, duplicate $FreeBSD$ and $NetBSD$ definitions.
Reviewed by:	Ruslan Ermilov <ru@FreeBSD.org>
2000-12-10 20:57:23 +00:00
obrien
c2ee1dcc02 Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
nyan
27cc24d530 Moved the snc driver position before the sn driver.
Submitted by:	Tomokazu HARADA <tkhara@osk4.3web.ne.jp>
2000-12-09 04:51:13 +00:00
msmith
c860fb6c1b Update for new location of pcireg.h. 2000-12-09 00:07:46 +00:00
archie
cbb790a99e Fixes to the Aironet driver to clear up some WEP issues.
"Security notes" section to the man page added by me.

PR:		23097
Submitted by:	Doug Ambrisko <ambrisko@whistle.com>
2000-12-08 19:02:35 +00:00
ru
d9cd6875a8 mdoc(7) police: Once again, remove single-space hard sentence breaks. 2000-12-08 12:42:24 +00:00
ru
347fe3018f mdoc(7) police: once again, remove the hard sentence breaks. 2000-12-08 12:25:05 +00:00
jkh
315c51959c Fix bug where minimal dist selection didn't check off the right
menu item.

Noticed by:	Dan "Sheepdip" Langille <dan@freebsddiary.org>
2000-12-07 20:04:35 +00:00
obrien
d2fca12323 put localdir first 2000-12-07 16:35:21 +00:00
msmith
1a43f5bf1c Update to improve handling of verbose PCI vendor/device information.
- Read the database from /usr/share/misc (or wherever else we're pointed)
   rather than compiling it in.
 - Decode the class/subclass fields if requested.
 - Print things in a slightly longer but more readable format.
2000-12-07 10:52:59 +00:00
jkh
d59144ac98 Enable the same path deduction as for ftp install (great for snapshot tests)
Allow user to change proxy server
Allow user to change ftp path

Submitted by:	pho
2000-12-06 00:47:54 +00:00
obrien
10e390cb2e Change the spelling of .' to .' from .OBJDIR since `.' really is where
generated files land.  Also give precedence to generated files.
2000-12-05 22:10:43 +00:00
sobomax
580d412c4d Alphabetically reorder options in `.Op Fl' macro to be consistent with the
rest of the code.
2000-12-05 16:40:14 +00:00
dwmalone
1144f3ac9a Add a -F option to the builtin ident service, which allows .fakeid files
to contain the name of other valid users.

PR:		22837
Submitted by:	Andreas Gerstenberg <andy@andy.de>
Reviewed by:	green
Reviewed by:	sheldonh
2000-12-05 13:56:01 +00:00
sobomax
25d6961779 - Add missed `-s' option into usage printout;
- sort options alphabetically.
2000-12-05 11:02:19 +00:00
ume
bb34593642 Wait DAD complete after ifconfig up. 2000-12-04 18:06:49 +00:00
hm
592552d751 Add controller number to unknown incoming call log message. 2000-12-03 16:23:12 +00:00
dwmalone
ce16361e19 Tidy up some prototypes:
make sure there is exactly one prototype for each function,
        use K&R style definitions everywhere to match dominant style,
        make flag_signal take an int to avoid problems if we have
                ANSI prototypes and K&R definitions.
2000-12-03 11:32:26 +00:00
green
990b31ea80 Make some style changes to the ident_stream() code.
Partially submitted by:	alfred
Reviewed by:	alfred
2000-12-02 21:18:11 +00:00
phk
fe5dbadbbc Make labels mandatory for vn(4). 2000-12-01 22:27:40 +00:00
jedgar
24771a5a3c Properly check malloc(3) return values
Approved by:	ken
2000-12-01 12:02:16 +00:00
obrien
cafb2a0daa The GCC 2.96 snapshots have slightly different rules for finding include
files.  Mostly -I${.CURDIR} was needed -- especially for YACC generated
files as the new cpp does not look in the ultimate source file
(ie, the .y file)'s directory as told by the "#line" directive.  Some were
misspellings of "-I${.CURDIR}" as "-I.".
2000-12-01 09:39:28 +00:00
ru
08eda6b2ec mdoc(7) police: fixed errors from the previous revision, keep
the synopsis in a nice form, and a few more cosmetic changes.
2000-12-01 08:17:15 +00:00
brian
03d643bc43 Mention the MTU in ``show iface''. 2000-12-01 03:22:18 +00:00
luigi
ddef5da232 Make crunchgen aware of obj directories. Formerly it had
/usr/obj hardwired in the code, now you can override it
with a command line option or MAKEOBJDIRPREFIX env. variable.
The above is useful to build picobsd-specific objects in some other
place than /usr/obj

While at it, fix documentation and change a few sprintf -> snprintf.
2000-11-30 21:14:54 +00:00
dannyboy
1eedb5d634 Lose an extra paragraph break.
PR:		23179
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-29 21:44:46 +00:00
brian
86225cdcaf Call MSCHAP CHAP80 in ``show lcp'' so that it's consistent with CHAP81. 2000-11-29 15:47:35 +00:00
brian
d36784b716 Use only the bit after the ``\'' when hashing the challenge in
MSChapv2

Submitted by: Ustimenko Semen <semen@iclub.nsu.ru>
2000-11-28 22:50:40 +00:00
charnier
8982775723 -Wall cleaning 2000-11-28 18:18:56 +00:00
charnier
963cc312d0 Make enumerated list for flags. Spelling. 2000-11-28 18:11:06 +00:00
charnier
46ed81751f -Wall cleaning. Use getopt(3). 2000-11-28 18:09:08 +00:00
brian
36c3bc9fdd Add ``enable/disable tcpmssfixup'', defaulting to enabled.
Suggested by:	julian
Hijacked from:	ru (ports/net/tcpmssd)
2000-11-28 13:18:35 +00:00
ben
288e8299bb various typo and minor punctuation changes.
PR:		23111
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-28 11:35:14 +00:00
ume
5e6c6dce08 - do not check/advertise cloned routes, nor dynamic routes
- cast size_t on printing (be friendly with alpha)

Obtained from:	KAME
2000-11-27 17:44:53 +00:00
hosokawa
9d14204cac Filename of install help file is "INSTALL.TXT", not "install.hlp".
Typing [F1] did not popup install help file window on main menu, and so on.
2000-11-27 13:35:11 +00:00
kris
75f6720a4f Constify 2000-11-27 08:18:58 +00:00
kris
608224f4ac Fix format string warnings 2000-11-27 07:57:44 +00:00
brian
bad4a365fe Change interactive mode so that a monitor thread keeps an eye on the
ppp descriptor and signals the terminal thread when there's something
to read on that descriptor.

This means that the main loop doesn't have to alarm() itself into
dropping out of el_gets() frequently to check the descriptor.  This
dropping out was disturbing syscons (via ioctl()s from libedit) enough
to reset the screensaver timeout every .5 of a second.

PR:	20345
2000-11-27 02:31:25 +00:00
dannyboy
a7e1babad9 compatability -> compatibility
PR:		23114
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-26 23:51:07 +00:00
kris
638b5b2282 Correct definition of MAXHOSTNAMELEN in ifdef'ed out code 2000-11-26 22:21:39 +00:00
kris
05c00631fc Properly fix the temporary file creation in the case of multiple
command-line arguments.

Noticed by:	dynamo <dynamo@ime.net>
2000-11-26 03:37:34 +00:00
phk
bf5f996644 Add the "LOG_CONSOLE" facility and tell syslogd to not log it on
console devices.
2000-11-25 21:00:58 +00:00
green
661b686de8 Security fix: correctly set groups according to the user. Previously,
root's groups' permissions were being used, so a user could read up to
16 (excluding initial whitespace) bytes of e.g. a wheel-accessible file.

Also, don't allow blocking on the opening of ~/.fakeid, so replace a fopen()
with open() and fdopen().  I knew I'd be going to hell for using C file
streams instead of POSIX syscalls...
2000-11-25 04:13:05 +00:00
peter
87f2317296 Make the xxxFILES= list generation generic. This makes it easier to add
things like MFILES= or CONFFILES= without having to modify config code.
2000-11-25 03:25:34 +00:00
ben
79334d735a Fix a layout problem (.It Li -> .Fx)
PR:		23055
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-24 11:17:28 +00:00
ru
a3ee97c4c1 Eliminate groff(1) warnings.
Obtained from:	NetBSD
2000-11-23 10:15:50 +00:00
kuriyama
3c81a4fab0 Remove extra ")". 2000-11-23 08:09:45 +00:00
jkh
4d12edec9a Finish the job of conditionalizing the PC98 stuff. 2000-11-22 22:28:34 +00:00
ru
e75ab20d6b mdoc(7) police: Er macro usage cleanup. 2000-11-22 16:11:48 +00:00
ru
835a46c9c2 mdoc(7) police: do not split author names in the AUTHORS section. 2000-11-22 09:35:58 +00:00
imp
ae30fcfec8 Fix buffer overflows in filenames. If you had a path > 80 characters
for your /usr/obj/path/to/my/files path to the kernel, then weird
things happened.  make buildkernel would fail because config was
dumping core or generating bad file names (depending on the lenght of
the path).

While I was here, also use strlcpy, strlcat and snprintf (or asprintf)
as necessary.  Minor format policing for the snprintf calls as well.
2000-11-21 19:58:55 +00:00
dougb
f39cd3c47c If a user is in the database, rmuser ought to be able to remove them.
Address this by using getpwnam(), thus killing several birds with
the same stone. My fix is slightly more aggressive than the
originators. :)

PR:		misc/22278
2000-11-21 05:52:35 +00:00
jkh
5ba11f0e01 Update source description to note that everything is now included.
Submitted by:	Chris Faulhaber <jedgar@fxp.org>
2000-11-21 02:22:31 +00:00
rnordier
4b4faecef9 Wrap over-long line; drop superfluous include. 2000-11-20 20:35:35 +00:00
ru
71e2293ad4 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
jkh
bb7634eb85 finish conditionalizing the PC98 specific options off the PC98
compilation variable.
2000-11-20 19:44:17 +00:00
ru
ea31070695 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 16:52:27 +00:00
sheldonh
3af0413c0e Fix broken (sectionless) cross-reference in ref 1.10. 2000-11-20 16:09:47 +00:00
brian
62b4102957 Some gratuitous whitespace changes. 2000-11-19 16:58:59 +00:00
brian
98b7a7276f Describe how to tunnel properly.
Requested by: Greg Quinlan <greg@macquarrie.com.au>
2000-11-19 16:54:57 +00:00
brian
34eecfebb0 Accept MSCHAPv2 by default.
Enable and accept MPPE by default.
2000-11-19 16:53:50 +00:00
kris
3cafbeab6d Format string paranoia 2000-11-19 13:30:36 +00:00
kris
993abb53dc Format string error in warn() 2000-11-19 13:29:43 +00:00
ru
c9e9d26430 mdoc(7) police: fix errors uncovered by the new feature of the Nm macro. 2000-11-18 15:50:46 +00:00
ru
eb8c554f56 mdoc(7) police: use certified section headers wherever possible. 2000-11-17 11:44:16 +00:00
brian
2607c6601d Go back to populating data_len in struct ngpppoe_init_data. 2000-11-16 23:15:42 +00:00
brian
732fe3d144 Be a bit more precise about what ``nat deny_incoming yes'' does. 2000-11-16 21:50:50 +00:00
ru
a620406064 mdoc(7)ify. 2000-11-16 13:21:17 +00:00
ben
5eea8e98aa remove trailing periods from SEE ALSO. 2000-11-15 17:27:54 +00:00
ben
bd94b89a9a more removal of trailing periods from SEE ALSO. 2000-11-15 16:44:24 +00:00
joe
05dff2fbdf Add and document a new configuration command: buildopts.
This allows global make options to be specified within the crunch
configuration file.
2000-11-15 14:33:29 +00:00
gad
ece5848868 Eliminate two compile-time warnings. 2000-11-15 06:17:52 +00:00
gad
4867b0ded4 Fix the '-d' option (turns on socket-debugging). Improve startup msgs.
PR:		17178
Submitted by:	Richard <satherrl@dssrg.curtin.edu.au>
2000-11-15 06:00:42 +00:00
gad
2885965ea9 Make sure a few strings will have terminating null characters.
(most of the PR 16186 was already applied, except for these 2 lines)

PR:		16186
Submitted by:	Przemyslaw Frasunek <venglin@lubi.FreeBSD.lublin.pl>
2000-11-15 04:57:22 +00:00
gad
69af93ca7c Reset the seteuid in a few obscure error situations. 2000-11-15 04:10:59 +00:00
gad
711d79517d Just some style-related improvements. 2000-11-15 03:35:09 +00:00
gad
cd19ed3052 Minor style improvements. 2000-11-14 22:08:52 +00:00
gad
2d8684a1c5 Fix (style) some variable initializations. 2000-11-14 22:03:59 +00:00
gad
4614ebebe6 Change 'count' to a more descriptive 'jobcount', and fix the stupid
comments which claim this counter is counting "files", which it is not.
2000-11-14 21:44:47 +00:00
gad
703de2fc19 Get rid of 'exit(-1)' calls. Exit codes are limited to 8 bits under most
Unixes, so -1 becomes 0xFF for 2's complement and 0xFE (?) for 1's
complement.

Reviewed by:	bde@FreeBSD.org
2000-11-14 21:32:52 +00:00
jkh
f66b7adc24 Really turn off srcs for upgrades. 2000-11-14 21:21:53 +00:00
ru
4e5cd1b9b8 Added the lastlogin utility.
Obtained from:	NetBSD
2000-11-14 17:49:38 +00:00
ru
3b7dc88538 Spell the des's name correctly. 2000-11-14 13:19:26 +00:00
ru
d8cd612c43 Spell the sos's name correctly. 2000-11-14 13:09:12 +00:00
ru
7d99729431 Use Fx macro wherever possible. 2000-11-14 11:20:58 +00:00
jkh
387a80f11b Replace GNOME + Afterstep choice with GNOME + sawfish. This is a more
popular configuration now.
2000-11-14 00:03:52 +00:00
wpaul
85c836b2c0 Close PR# 21843 and PR# 21864. This adds support for WEP and updates some
of the data structures to include new members that weren't defined in the
manual I have.

I opted to use Doug Ambrisko's WEP patches since David Cornejo's patches
did not include the necessary changes to ancontrol(8) to actually enable
and use WEP.

NOTE: I don't currently have access to an Aironet card, so I can't test
any of this. Everything compiles and close scrutiny doesn't reveal any
obvious problems, but Murphy's Law applies. This means I will probably
leave these changes in -current for a bit longer than usual until I'm
sure they work right.
2000-11-13 23:04:16 +00:00
gad
2a13934a92 My previous commit removed a line it wasn't supposed to. Add it back. 2000-11-13 16:21:24 +00:00
msmith
df7eda4f94 Add support for decoding the PCI vendor and device ID registers. Add a
database of about 1400 vendors and 2700 devices courtesy of
www.yourvote.com/pci.  We still need to add some more, but this is a good
start.
2000-11-13 12:08:29 +00:00
gad
ceb40d49a7 Replace call to mktemp() with mkstemp. Also move where that call is
done, so the correct directory is being checked.  The mkstemp() call
is meant to create a temp file for stderrs when running filters.  This
update also fixes log-file processing for remote (rm=) queues which
specify an input filter (if=).  Before, filter-errs were thrown away.
Now they'll be copied to the queue's logfile (lf=).

Reviewed by:	(a little) audit@FreeBSD.ORG & freebsd-print@bostonradio.org
2000-11-13 05:44:50 +00:00
imp
1a82ffa8cf Add raycontrol to the build. 2000-11-12 21:55:21 +00:00
imp
043e9f51c1 Control program for raylan cards.
This is based on wicontrol.  Duncan updated it for raylan.  I've
updated this to the latest wicontrol.  In addition, to make it kinda
compatible with ifconfig, you can give the interface name w/o the -i.

Submitted by: duncan barclay
2000-11-12 21:53:40 +00:00
nik
8b434b8934 Be a little clearer about the relationship between these two.
PR:		    docs/20067
Submitted by:	    Takayuki Hagihara
2000-11-12 16:29:52 +00:00
rse
29b491343c Add missing "delta" argument to description headline of "apm" -r option
to be consistent with descriptions of other options which take arguments.
2000-11-12 15:40:41 +00:00
n_hibma
cf9f174823 Check the return value of strdup
Submitted by:	Chris Faulhaber <jedgar@fxp.org>
2000-11-12 10:55:35 +00:00
kuriyama
112e7300f8 Minimal distribution now gets cropto binaries.
This can avoid waring about "no sshd" at booting after installation.

Approved by:	jkh
2000-11-11 02:09:18 +00:00