Commit Graph

4363 Commits

Author SHA1 Message Date
jkh
0fecea8e90 Add a lot of additional keymaps to the appropriate menu.
Submitted by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1999-02-04 13:47:54 +00:00
markm
b4e45ec0cb Fix the handling of certain devices.
Previously the foolowing lines would have broken:
controller      fdc0 at isa? disable port ? bio
controller      fdc0 at isa? disable port 0x100 bio

While this would work:
controller      fdc0 at isa? disable port "IO_FD1" bio

The first of the three lines is useful for making placeholder devices
for PCMCIA-floppies, and the second is useful for non-standard hardware.
The failure is a "(null)" string in ioconf.c that the compiler pukes on.

Thanks to:	Bruce Evans (bde@freebsd.org)
1999-02-04 10:24:45 +00:00
jkh
f370421fcf Add compat22 distribution in anticipation of its appearance. 1999-02-04 03:30:34 +00:00
brian
c558a14bef Encode & Decode the PROTOCOMP fields correctly.
When NAKing the peer, get as close as we can to what
he REQd.
When the peer NAKs us, get as close as we can to what
they NAKd with on our next REQ.
1999-02-02 20:27:12 +00:00
wollman
5220122de0 Add a `default' feature to tzsetup for use in script-driven installation
(if someone writes the other half).  Also rewrite the man page in a more
appropriate (formal) style.
1999-02-02 20:26:31 +00:00
jkh
2b52fd3db8 List palm pilot category. 1999-02-02 16:57:55 +00:00
jkh
837fe74e53 Show dependencies in package menu.
PR:		7454
Submitted by:	Stefan Eggers <seggers@semyam.dinoco.de>
1999-02-02 15:57:14 +00:00
brian
5a7d7e6a55 Don't allow root to specify non-existent labels on
the command line.
Revise the error diagnostics so that invalid labels
are reported immediately.
1999-02-02 09:35:30 +00:00
brian
581489ab05 Reimplement the previous fix (no response to PAP requests)
at the authentication layer rather than at the PAP layer
so that it also applies to CHAP (no response to CHAP
challenges).
1999-02-02 09:35:17 +00:00
wollman
685910fb0d Sigh. Fix capitalization bogon. Who had the pointy hat? 1999-02-02 01:04:51 +00:00
wosch
bad9b39556 Added xref to nologin(5). 1999-02-01 21:02:38 +00:00
wosch
c961b41e49 Added xref to nologin(8). 1999-02-01 21:00:24 +00:00
wollman
bb8ca5dbac Observe -U flag again, and use it in preference to getlogin(), if
the user is privileged.

I believe this should address both concerns in PR 9729, and may also
provide the desired behavior from PR 9485.
1999-02-01 19:53:08 +00:00
jkh
ceefa08839 Man, was I ever smoking crack when I wrote this. Don't free()
values I'm going to use again. :-}
1999-02-01 16:35:40 +00:00
brian
c7af6961e6 If we receive no answer from the server when sending PAP
requests, give up (don't sit there indefinitely).
1999-02-01 13:42:25 +00:00
billf
a16f548fb3 (1) Make usage() and SYNOPSIS agree with each other.
(2) Use 'device' instead of 'device name', there seems to be a precedent in
    /usr/share/man/man1

Prompted By:	bde
1999-01-31 15:30:21 +00:00
brian
271cecddfc Mention the error when we fail to connect(). 1999-01-31 12:24:29 +00:00
billf
6c588d74d7 Consistantly use 'devicename' instead of varying between 'discname' and
'devicename'.
1999-01-31 03:35:17 +00:00
jkh
a76d70640d 1. Install /boot/loader correctly on boot.flp
2. Back up old rc.conf.site if it exists.
1999-01-30 22:15:36 +00:00
brian
18976a511d o Send a CHAP challenge of 16 random digits when RADIUS is
configured.  This isn't strictly necessary according to the
  rfc, but it's suggested there....
o Don't forget to include our authname when sending a
  CHAP challenge when RADIUS is configured.
o Don't supply the ``16'' representing the chap answer
  length to radius_Authenticate() - libradius does this
  for us.
o When we successfully authenticate via radius_Authenticate(),
  continue with datalink_AuthOk() as expected.

Sponsored by: Internet Business Solutions Ltd., Switzerland
1999-01-29 22:46:31 +00:00
jkh
928901c13d More support for Alpha installs.
Submitted by:	dfr
1999-01-29 11:39:04 +00:00
billf
0a1f1cb6d7 Reflect syslog(8)'s acceptance of either tabs or spaces.
PR:		docs/9660
Submitted by:	Kris Kennaway <kkennawa@physics.adelaide.edu.au>
1999-01-28 22:55:08 +00:00
billf
c70be77f79 Fix nasty bug where getpackagesite() will return an integer if it doesn't
know what revision of FreeBSD is being run. This case should never happen,
but just in case.
1999-01-28 20:17:32 +00:00
wollman
b682f9e12e jkoshy forgot up update the heading date on the man page. 1999-01-28 19:56:05 +00:00
brian
6cb4991ef8 MAINTAINER=brian@FreeBSD.org 1999-01-28 15:16:38 +00:00
brian
21f4ca12b9 Version 2.0 > 2.1 to reflection RADIUS additions. 1999-01-28 09:40:15 +00:00
brian
346d7ad3fe Initial RADIUS support (using libradius). See the man page for
details.  Compiling with -DNORADIUS (the default for `release')
removes support.

TODO: The functionality in libradius::rad_send_request() needs
      to be supplied as a set of routines so that ppp doesn't
      have to wait indefinitely for the radius server(s).  Instead,
      we need to get a descriptor back, select() on the descriptor,
      and ask libradius to service it when necessary.
      For now, ppp blocks SIGALRM while in rad_send_request(), so
      it misses PAP/CHAP retries & timeouts if they occur.

      Only PAP is functional.  When CHAP is attempted, libradius
      complains that no User-Password has been specified... rfc2138
      says that it *mustn't* be used for CHAP :-(

Sponsored by: Internet Business Solutions Ltd., Switzerland
1999-01-28 01:56:34 +00:00
jkoshy
41d64226d7 Note that the 'owner.group' field is optional in the config file.
PR:		docs/9602
Submitted by:	Kazuo Horikawa <horikawa@jp.freebsd.org>
1999-01-27 04:27:49 +00:00
jkh
cba5742bc6 Write changes out to /etc/rc.conf.site now rather than mucking with
rc.conf.  There were many different ways I could have done this, some of
them "cleaner", but this represented the lowest impact.
1999-01-27 02:32:47 +00:00
billf
9b630e289f typo - "a follows" -> "as follows"
PR:		docs/9708
Submitted by:	jp-man project
1999-01-26 22:45:51 +00:00
billf
fb2b915494 Numbering typo, missed a '0'
Submitted by:	Brian Feldman
1999-01-26 22:31:23 +00:00
peter
33561b6885 Automatically load the vn module if it isn't already in the kernel. 1999-01-26 04:53:09 +00:00
billf
4eef3937a9 Update pkg_add's remote package feature to reflect the new structure of
wcarchive. This needs to be updated when:

(a) The directory structure changes on wcarchive
(b) getosreldate() has a new significance
	(ie. get ELF packages/get a.out packages)
(c) Branches are changed around

As we stand right now, 3.0-postELFday and 4.0-x all point to the same
directory, but when 4.0 starts to have its own packages, this file will
need to be changed.
1999-01-25 21:08:13 +00:00
brian
0c34d1b7cc Don't SEGV when ``set proctitle'' is used in the default
section.
Submitted by:	Dan Lukes <dan@obluda.cz>
PR:		9669
1999-01-25 10:19:03 +00:00
dfr
bb2f8b2776 Back out a couple of i386 conditionals which aren't needed with the new
syscons and fix a few printfs.

Reviewed by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1999-01-25 08:48:49 +00:00
jkoshy
87b02953c4 Correct a typo and an unparseable sentence.
PR:		docs/9659
Submitted by:	Kazuo Horikawa <horikawa@jp.freebsd.org>
1999-01-25 06:22:31 +00:00
peter
ac27933ca6 Support 'O MaxHeaderLines=' to override the default header count and line
length limits.  The configuration keyword is: confMAX_HEADER_LINES
1999-01-24 07:54:30 +00:00
markm
1f2774d15a Add the texinfo'ed docs to the build/install. 1999-01-23 21:24:49 +00:00
dfr
d48a160cf3 Remove a workaround for the alpha port using an outdated version of syscons. 1999-01-23 17:04:13 +00:00
wollman
15566e2961 A slight bit of code and doco cleanup, but mostly:
Add the much-needed and long-desired ability to force the log rotation
to take place on a specific day or time, and document same.  This works
by extending the syntax of the `when' field to allow a restricted
ISO 8601 time specification, and performing the log rotation if newsyslog
is run during the same hour as is specified.
1999-01-22 19:38:39 +00:00
dillon
69560742ae Fix formatting bug with [NFS swap] vs /dev/DEVNAME 1999-01-22 10:57:22 +00:00
dillon
edecc779e5 Make pstat use new kvm_getswapinfo() libkvm call. 1999-01-22 10:36:48 +00:00
wollman
69b1c2cebc I don't know how this happened since I know I compiled this on my machine.
Fix braino oflag -> uflag (or perhaps I should have gone the other way).
1999-01-21 21:09:56 +00:00
wollman
6fa37f3926 Merge changes from vendor branch (tzcode1999a), plus the following additional
changes:

- Finish migrating zic to its own private.h.
- Fix zic.8 so that it really is written in -mdoc.
- Add four new flags to zic (&document):
	-D	don't create directories
	-u	change ownership of newly-created files to user
	-g	change ownership of newly-created files to group
	-m	change mode of newly-created files to modespec
  These, once proven, can be used to clean up the installation.

Obtained from: ftp://elsie.nci.nih.gov/pub/tzcode1999a.tar.gz (partially)
1999-01-21 17:46:19 +00:00
wollman
13f0980f23 This commit was generated by cvs2svn to compensate for changes in r42994,
which included commits to RCS files with non-trunk default branches.
1999-01-21 17:33:32 +00:00
wollman
6f5f352092 First stage in giving zic/zdump its own version of private.h so that they
are decoupled somewhat from libc/stdtime's version.
1999-01-21 17:33:32 +00:00
wollman
a54bfe7d42 Remove two files replaced with HTML by vendor. 1999-01-21 17:32:37 +00:00
wollman
15f9f04768 Updated timezone compiler from Arthur Olson.
Obtained from: ftp://elsie.nci.nih.gov/pub/tzcode1999a.tar.gz
1999-01-21 17:31:43 +00:00
wollman
219a59f9c2 This commit was generated by cvs2svn to compensate for changes in r42991,
which included commits to RCS files with non-trunk default branches.
1999-01-21 17:31:43 +00:00
dillon
3892997fee Update pstat -s to handle both old and new swapper.
Add pstat -ss to dump new swapper's radix tree.
1999-01-21 08:08:55 +00:00
fenner
faecaa83af Fix raw timestamps (zero-pad usecs)
Print 4-digit years in TIMESTAMP_PARSEABLE mode after '99.

PR:		bin/9507
1999-01-20 18:33:13 +00:00
brian
8ba111225b Recurse when we've switched state via LoginDone(). If we've
got an open link, we want it to be select()d on - otherwise
we get a freeze when ``openmode'' is passive.
1999-01-20 18:06:52 +00:00
jkh
554d705752 Replace old SAVE_USERCONFIG code with a customized version of Andrzej's
kget code.  Also collapse a redundant case in cdrom code.
1999-01-20 12:31:43 +00:00
jkh
7eaf680c7a Remove obsolete dset code. It's an ELF/3-stage boot world now and there
are cleaner ways of doing this that don't involve stomping on kernel
binaries directly.
1999-01-20 11:56:42 +00:00
fenner
718e729d4f Merge conflicts from 3.9-beta3+IOS12. The conflicts were huge; cvs's
merge algorithm failed on several files, and the translation of the
mrouted man page to mdoc didn't help...
1999-01-20 07:55:57 +00:00
fenner
695d04de81 This commit was generated by cvs2svn to compensate for changes in r42888,
which included commits to RCS files with non-trunk default branches.
1999-01-20 07:44:18 +00:00
fenner
02ab90b3fd Import mrouted version 3.9-beta3+IOS12 . This is a version of 3.9-beta3
with minor changes to work around a bug in Cisco's IOS version 12.0 .
3.9-beta3 is much improved over 3.8, and is only labelled "beta" because
of missing features, as opposed to instability or known bugs.
1999-01-20 07:44:18 +00:00
fenner
57da08e828 Resolve conflicts. 1999-01-20 05:13:42 +00:00
fenner
00447b724d Import mtrace release 5.2
ftp://ftp.parc.xerox.com/pub/net-research/ipmulti/mtrace-5.2.tar.gz
1999-01-20 05:11:48 +00:00
fenner
b0e862cf68 This commit was generated by cvs2svn to compensate for changes in r42881,
which included commits to RCS files with non-trunk default branches.
1999-01-20 05:11:48 +00:00
brian
64f042af7d Change the maximum number of filters from 20 to 40.
Increase requested by: "Clement T. Cole" <clemc@echo.ccc.com>
1999-01-19 22:16:02 +00:00
brian
e31242758b Suggest that ``set proctitle'' is used in ppp.linkup when
USER is expected to be expanded.
1999-01-19 22:15:41 +00:00
brian
d1349ae967 Send the peer-decided PSTN address with the CBCP Ack,
otherwise windows clients will keep resending the
response :-/
It'd be nice if M$ would document this sort of thing !
Problem reported by: Andrzej Tobola <san@tmp.iem.pw.edu.pl>
1999-01-19 22:15:25 +00:00
danny
09c6c69fe7 Use 4 digit year in log file, rather than 2. 1999-01-19 11:52:57 +00:00
jkoshy
4601663402 Move to a uniform '\ooo' (VIS_OCTAL) encoding for special characters.
The previous commit broke mtree(8) when file names using certain 8-bit
characters ended up being encoded with '/', '*', and other shell
metacharacters.

PR:			bin/9538
Submitted by:		"Eugene M. Kim" <astralblue@usa.net>
Reviewed by:		jkoshy
Bug-missed-last-time-by: jkoshy
1999-01-18 06:58:25 +00:00
billf
1638903742 Style police, inline ifs.
Submitted by:	 Brian Feldman <green@unixhelp.org>
1999-01-18 03:54:17 +00:00
jseger
d42ae52668 enviornment -> environment
PR:		docs/9534
Submitted by:	rv@fore.com
1999-01-17 15:08:09 +00:00
billf
38c1ca5080 Add a new option for pkg_add, -r.
The remote option allows for automatic package fetching and installation
using the package repository found on wcarchive. Naturally, this site
can be overridden with a enviornment variable.

This code uses getobjformat() and getosreldate(). This means when some event
causes the package to be fetched to change (such as e-day) the logic also
needs to be changed.

Sorta reviewed by:	jkh
Code suggestions:	peter, jkh, eivind, msmith
1999-01-17 01:22:55 +00:00
danny
2588667e29 y2k nit: print 4 digit years correctly.
PR:		9506
Submitted by:	Peter Jeremy <peter.jeremy@alcatel.com.au>
1999-01-16 01:51:03 +00:00
danny
b2dcb18965 Print yyyy/mm/dd in /var/log/adduser, instead of yy/mm/dd
Submitted by:	Peter Jeremy <peter.jeremy@alcatel.com.au>
1999-01-15 10:26:59 +00:00
imp
2376276a7e Use 69 pivot kludge from date(1) to make it consistant. Also honor
is_delta and only apply date kludge when it isn't a delta time.
1999-01-15 07:37:00 +00:00
imp
d284f489b0 Y2K nit:
Make two digit years specified on the command line represent
	the century that the computer currently resides.  So 99 means
	1999 this year, but 2099 next year.

Pointed out by: Peter Jeremy <peter.jeremy@auss2.alcatel.com.au>
1999-01-15 05:46:28 +00:00
obrien
9326e63803 Updated version string to 6.0-release. 1999-01-13 19:33:02 +00:00
simokawa
8cac8fab19 Add '-fno-builtin' to CFLAGS for alpha.
Builtin memcpy is not align-aware.

Approved by: jkh
1999-01-13 10:27:00 +00:00
mjacob
14e52605b2 Fix for compiling on alpha.
Obtained from:yokota@zodiac.mech.utsunomiya-u.ac.jp
1999-01-12 23:06:29 +00:00
mjacob
04c4c867c3 fix for compiling on alpha 1999-01-12 23:05:45 +00:00
brian
407419ff82 If we've configured CBCP *and* another not-so-important
CALLBACK protocol and end up agreeing CBCP, DTRT and go
into CBCP phase rather than mistakenly terminating as
if CBCP wasn't agreed.
Problem reported by: Alexander Dubinin <alex@nstl.nnov.ru>
1999-01-12 21:50:20 +00:00
danny
c98cf2061d Fix leap year comments. 2000 is a leap year, so code without a century-test
still works until 2100.
1999-01-12 19:38:55 +00:00
danny
34a90c5f57 Fix leap year calculations, including 2000. The code was broken for all
years!
Reviewed by:	<thepish@freebsd.org>, <ishisone@sra.co.jp>
1999-01-12 19:37:32 +00:00
asami
f3868ac8c6 Oops, I missed a few more /etc/nologin references yesterday. It appears
my check of the tree was incomplete.  Sorry guys.

Reported by:	Ben Smithurst <ben@scientia.demon.co.uk>
1999-01-12 14:09:23 +00:00
peter
212b6f0a6c Update for 8.9.2 (new file, control.c)
Also, turn on support for the MaxMimeHeaderLength option in sendmail.cf.
1999-01-12 12:47:54 +00:00
jkoshy
d738d8245f Teach mtree(8) to handle whitespace in filenames. Uses strvis(3).
PR:		bin/3246
Submitted by:	Eugene M. Kim <astralblue@usa.net>
Reviewed by:	jkoshy, wollman
1999-01-12 02:58:23 +00:00
msmith
8a6bc539a4 Back out 1.146 - usbd is already enabled. 1999-01-11 18:03:54 +00:00
brian
e60fce0637 Correct some formatting errors (one is a groff bug)
Noted & partially submitted by: Peter Jeremy <peter.jeremy@auss2.alcatel.com.au>
PR:				9432
1999-01-11 15:05:39 +00:00
asami
63b2c3caae Merge recent changes from doc/handbook/porting.sgml and www/en/ports/categories. 1999-01-11 12:45:18 +00:00
msmith
fc5d6bb37c Add usbd to the build 1999-01-11 08:06:04 +00:00
steve
5c0ae1dd6f Implement the -l commandline option which turns off broadcast of
information, but still allows you to monitor other machines.

PR:		9301
Submitted by:	Matthew Fuller <fullermd@futuresouth.com>
1999-01-11 05:27:37 +00:00
yokota
5f886c8604 The first stage of console driver reorganization: activate new
keyboard and video card drivers.
1999-01-11 03:20:32 +00:00
n_hibma
25e3d52e85 Added usbd and usbdevs 1999-01-10 21:57:55 +00:00
sada
92ae89d604 Typo: /etc/ppp/ppp.conf.example -> ppp.conf.sample
Submitted by:	Sugiura Shiro <ssugiura@duo.co.jp>
1999-01-10 17:23:10 +00:00
guido
43498d2a0f When resuming with 2 identical cards in 2 slots, the initialisation
of the second card fails. This fixes that.
1999-01-10 13:00:09 +00:00
nsouch
871e5dfef0 Major ppbus commit with:
+ ECP parallel port chipset FIFO detection
	+ DMA+FIFO parallel I/O handled as chipset specific
	+ nlpt updated in order to use the above enhanced parallel I/O.
	  Use 'lptcontrol -e' to use enhanced I/O
	+ Various options documented in LINT
	+ Full IEEE1284 NIBBLE and BYTE modes support. See ppbus(4) for
	  an overview of the IEEE1284 standard
	+ Detection of PnP parallel devices at boot
	+ Read capability added to nlpt driver to get IEEE1284 compliant
	  printer status with a simple 'cat /dev/lpt0'
	+ IEEE1284 peripheral emulation added to BYTE mode. Two computers
	  may dialog according to IEEE1284 signaling method.
	  See PERIPH_1284 option and /sys/dev/ppbus/ppi.c

All this code is supposed to provide basic functions for IEEE1284 programming.
ppi.c and nlpt.c may act as examples.
1999-01-10 12:04:56 +00:00
des
9db669b835 Clean up option handling a little.
Add an option for showing sysctl descriptions instead of their values.
1999-01-10 02:10:08 +00:00
brian
a88d59f6e0 Only call isatty() when we open our descriptor, and remember
the answer.

If we later get a descriptor exception from select(), we know
that it's a tty (isatty() returns 0 after the exception on a
tty) and remember to call modem_LogicalClose().

The upshot of it all is that descriptor exceptions dont leave
the tty locked any more.
1999-01-10 01:26:30 +00:00
wpaul
55c6eb788f Add driver support (and man page) for PCI fast ethernet cards based
on the ASIX AX88140A chip. Update /sys/conf/files, RELNOTES.TXT,
/sys/i388/i386/userconfig.c, sysinstall/devices.c, GENERIC and LINT
accordingly.

For now, the only board that I know of that uses this chip is the
Alfa Inc. GFC2204. (Its predecessor, the GFC2202, was a DEC tulip card.)
Thanks again to Ulf for obtaining the board for me. If anyone runs
across another, please feel free to update the man page and/or the
release notes. (The same applies for the other drivers.)

FreeBSD should now have support for all of the DEC tulip workalike
chipsets currently on the market (Macronix, Lite-On, Winbond, ASIX).
And unless I'm mistaken, it should also have support for all PCI fast
ethernet chipsets in general (except maybe the SMC FEAST chip, which
nobody seems to ever use, including SMC). Now if only we could convince
3Com, Intel or whoever to cough up some documentation for gigabit
ethernet hardware.

Also updated RELNOTEX.TXT to mention that the SVEC PN102TX is supported
by the Macronix driver (assuming you actually have an SVEC PN102TX with
a Macronix chip on it; I tried to order a PN102TX once and got a box
labeled 'Hawking Technology PN102TX' that had a VIA Rhine board inside
it).
1999-01-09 18:12:08 +00:00
davidn
7f23232c65 Remove bogus file locking in main(). 1999-01-08 10:52:38 +00:00
jkh
6459b71543 close doc race. 1999-01-08 09:13:00 +00:00
brian
82fde6296b Don't use the next phone number after the ``|'' if the
dial & login are successful.
Submitted by:   Toshiomi Moriki <Toshiomi.Moriki@ma1.seikyou.ne.jp>
PR:             9382
1999-01-08 09:04:58 +00:00
jkh
bcc10fc6f1 Adapt sysinstall more fully to the alpha (deal with proper boot signatures,
don't present label editor, etc).

Submitted by:	dfr
1999-01-08 00:14:22 +00:00
peter
51df12557f Remove some remaining references to LKM's. Snaps were trying to unpack
slkm* etc, among other things.
1999-01-06 13:55:14 +00:00