Commit Graph

2796 Commits

Author SHA1 Message Date
Jeroen Ruigrok van der Werven
f9eec60e72 Short lived fame for -Wundef.
Second thoughts by:	bde
2001-02-27 10:16:56 +00:00
Jeroen Ruigrok van der Werven
e18f542dc0 Add -Wundef to BDECFLAGS:
Warn if an undefined identifier is evaluated in an `#if' directive.

Not objected to by:	bde
2001-02-27 09:03:55 +00:00
Mike Smith
671468e752 Add the 'mly' device nodes. 2001-02-25 22:52:55 +00:00
Kris Kennaway
247b759d92 Update the list of OpenSSL manpages (now contains many more describing
libssl, for example), and hide it behind a make.conf option,
WANT_OPENSSL_MANPAGES, instead of having it commented out.  We still can't
install these by default because of clobbering of a number of system
manpages with the same name, but they're there for people who want them.
2001-02-25 21:42:12 +00:00
Dag-Erling Smørgrav
7a6ac3e087 Fix references to Chapman & Zwicky and Cheswick & Bellowin.
PR:		24652
Submitted by:	jjreynold@home.com
2001-02-25 11:44:51 +00:00
Seigo Tanimura
283ea61c54 I thought it was a new CPU :)
s/i585/i586/
2001-02-24 02:59:32 +00:00
Peter Wemm
e0f332edab Remove the camcontrol rescan $device insert events for the aic driver,
which does it itself now.  Although CAM should do the rescan itself
if the initial boot-time rescan has already been done.
2001-02-23 02:45:15 +00:00
Brian Somers
98d7002b19 Change the 120 second timeout to 180 seconds to reflect the real default 2001-02-22 23:28:12 +00:00
Gregory Neil Shapiro
e6c77250ef Need one additional make.conf knob, SENDMAIL_ADDITIONAL_MC to satisfy bug
report.  It allows building multiple .cf files at build time.

PR:		bin/19897
2001-02-22 19:44:16 +00:00
Gregory Neil Shapiro
d1885c41cc Add a note indicating that SENDMAIL_MC should include the path. This is
necessary if you expect to be able to use this setting in both /etc/mail
and etc/sendmail.
2001-02-22 19:34:13 +00:00
Kris Kennaway
62d90fb793 Overhaul the MACHINE_CPU behaviour:
* Rip out MACHINE_CPU stuff from sys.mk and include a new <bsd.cpu.mk>
  after we pull in /etc/make.conf.  We need to do it afterwards so we can
  react to the user setting of the:

* CPUTYPE variable, which contains the CPU type which the user wants to
  optimize for.  For example, if you want your binaries to only run on an
  i686-class machine (or higher), set this to i686.  If you want to support
  running binaries on a variety of CPU generations, set this to the lowest
  common denominator.  Supported values are listed in make.conf.

* bsd.cpu.mk does the expansion of CPUTYPE into MACHINE_CPU using the
  (hopefully) correct unordered list of CPU types which should be used on
  that CPU.  For example, an AMD k6 CPU wants any of the following:
    k6 k5 i586 i486 i386
  This is still an unordered list so the client makefile logic is simple -
  client makefiles need to test for the various elements of the set in
  decreasing order of priority using ${MACHINE_CPU:M<foo>}, as before.
  The various MACHINE_CPU lists are believed to be correct, but should be
  checked.

* If NO_CPU_CFLAGS is not defined, add relevant gcc compiler optimization
  settings by default (e.g. -karch=k6 for CPUTYPE=k6, etc).  Release
  builders and developers of third-party software need to make sure not to
  enable CPU-specific optimization when generating code intended to be
  portable.  We probably need to move to an /etc/world.conf to allow the
  optimization stuff to be applied separately to world/kernel and external
  compilations, but it's not any worse a problem than it was before.

* Add coverage for the ia64/itanium MACHINE_ARCH/CPUTYPE.

* Add CPUTYPE support for all of the CPU types supported by FreeBSD and gcc
  (only i386, alpha and ia64 first, since those are the minimally-working
  ports.  Other architecture porters, please feel free to add the relevant
  gunk for your platform).

Reviewed by:    jhb, obrien
2001-02-22 11:14:25 +00:00
Gregory Neil Shapiro
f2e560e181 Revamp /etc/mail/Makefile:
+ Add support for the new SENDMAIL_MC make.conf knob
+ Add the ability to build .cf files from .mc files
+ Generalize map rebuilding
+ Add the ability to rebuild the aliases file
+ Add the ability to stop, start, and restart sendmail

PR:		bin/13759, bin/19897, bin/24397
2001-02-22 04:17:33 +00:00
Gregory Neil Shapiro
25219d25e6 Add a new make knob, SENDMAIL_MC, which is meant to replace SENDMAIL_CF as
users should be configuring via m4 now.  If set, use m4 to create the .cf
file.  Also, if either SENDMAIL_MC or SENDMAIL_CF is set, 'make install' or
'make distribution' in src/etc/sendmail/ will install the appropriate .cf as
/etc/mail/sendmail.cf.  This fixes some mergemaster problems.

PR:		conf/13016
2001-02-22 04:11:52 +00:00
Gregory Neil Shapiro
e10536edc1 Install freebsd.mc and freebsd.cf in /etc/mail so users have the base files
for creating their own configuration.
2001-02-22 04:01:16 +00:00
Gregory Neil Shapiro
e4e1027a2e Move creation of the sendmail statistics file from the usr.sbin/sendmail
Makefile to the etc/sendmail Makefile to be consistent with all of the
other /var file creations.  In doing so, change the Makefile target from
etc-sendmail.cf to distribution as it installs more than just the sendmail.cf.
2001-02-22 03:55:08 +00:00
Gregory Neil Shapiro
7f010cfc3d Clean up freebsd.mc to make it easier for users to read and modify.
The freebsd.cf from this new freebsd.mc is functionally equivalent.
2001-02-22 03:41:14 +00:00
Nik Clayton
d8d11df0a1 Add com1-4 as finger friendly shortcuts for /dev/cuaa0-3. Specify a default
baud rate of 9600.

Reviewed by:    arch
2001-02-21 19:45:47 +00:00
Nick Sayer
5b9c7d3e5b Fix some glaring insecurities in the prototype firewall configurations.
pass udp from any 53 to ${oip}

allows an attacker to access ANY local port by simply binding his local
side to 53. The state keeping mechanism is the correct way to allow DNS
replies to go back to their source.
2001-02-20 19:54:31 +00:00
Ruslan Ermilov
619ab04511 Add missing .../cat?/alpha directories. 2001-02-19 15:30:11 +00:00
Ruslan Ermilov
54ecfa0813 Create directory infrastructure required to format, display
and store preformatted /usr/share/man manual pages in 8-bit
iso-8859-1 charset for all *_*.ISO_8859-1 locales.

Requested by:	des
Input from:	ache
2001-02-19 13:08:14 +00:00
Andrey A. Chernov
fa94f1388d Add 500.queuerun 2001-02-19 07:12:37 +00:00
Kris Kennaway
0937df81ca Introduce support for using OpenSSL ASM optimizations. This is done
through the use of a new build directive, MACHINE_CPU, which contains a
list of the CPU generations/features for which optimizations are desired.
This feature will be extended to cover the ports tree in the future.

Currently OpenSSL provides optimizations for i386, i586 and i686-class
CPUs. Currently it has not been tested on an i386 or i486.

Teach make(1) to provide sensible defaults for MACHINE_CPU if it is not
defined (namely, the lowest common denominator CPU we support for each
architecture).  Currently this is i386 for the i386 architecture and ev4
for the alpha.  sys.mk also sets the variable as a last resort for
consistency with MACHINE_ARCH and bootstrapping from very old versions of
make.

Benchmarks show a significant speed increase even in the i386 case, with
additional improvements for i586 and i686 systems.  For maximum performance
define MACHINE_CPU=i686 i586 i386 in /etc/make.conf.

Based on a patch submitted by:  Mike Silbersack <silby@silby.com>
Reviewed by:    current
2001-02-19 03:59:05 +00:00
Peter Wemm
6edba32695 Move the sendmail -q from cron to periodic, as suggested by a few people.
This has the benefit of adding a random start time element as daily
processing takes a different amount of time on different machines.
2001-02-19 02:47:42 +00:00
Poul-Henning Kamp
2f1ac13b0a Duh! forgot to add BSD_daemon to the mtree files.
Submitted by:	"Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk>
2001-02-18 08:18:44 +00:00
Kris Kennaway
83ac420321 120 seconds is not 3 minutes 2001-02-18 02:11:37 +00:00
Poul-Henning Kamp
960cada9b8 Log the console output to "/var/log/console.log", not "/var/log/console"
(MFC candidate)
2001-02-17 20:27:58 +00:00
Ruslan Ermilov
2f397f6b6c Apparently, people do not listen for a plea to look into the
README file before making changes here.  Fix them once again.
2001-02-15 12:25:48 +00:00
Ruslan Ermilov
97424e48a0 Fixed the fatal (missing "..").
Pointy hat to:	asmodai
2001-02-15 10:34:43 +00:00
Peter Wemm
3bb02cdb6f Manually run /usr/sbin/sendmail -q once a day. Folks seem to be too
trigger happy and turn off sendmail_enable entirely (instead of setting
sendmail_flags to -q30m instead).  I have seen boxes with things like daily
run reports that have sat in mailq for 5 months.  Since /usr/sbin/sendmail
is actually mailwrapper, this should be safe for the other plugins that
provide the sendmail calling interface.
2001-02-15 01:34:37 +00:00
Toshihiko ARAI
3fd6657490 Added the KME SCSI-CARD-001 of a SCSI card (accessory of
Hewlett Packard M820e CD-writer).

Pointed out by:	mitchy@er.ams.eng.osaka-u.ac.jp
Submitted by:	Stacy Millions <stacy@millions.ca>
2001-02-12 07:32:04 +00:00
Gregory Neil Shapiro
712401bee7 Give some additional DNS black hole possibilities as comments.
Submitted by:	clive
2001-02-12 05:26:11 +00:00
Jeroen Ruigrok van der Werven
531f27501e Add en_NZ.ISO_8859-1. 2001-02-10 13:46:59 +00:00
Jeroen Ruigrok van der Werven
536133b760 Add af_ZA.ISO_8859-1
Submitted by:	ache
2001-02-09 21:58:31 +00:00
Brian Somers
5a5bb7591b Show denied secondary bind transfer attempts
Submitted by:		inTEXT Communications <glenn@intextonline.com>
Ok'd by:		imp, kris
Not objected to by:	freebsd-audit
2001-02-08 20:31:21 +00:00
Robert Watson
d6828be55f o Introduce automated log rotation for /var/log/console, the
default syslog target for console messages (when enabled in
  syslog.conf).  Use the same rotation defaults as with
  /var/log/messages -- every 100kb of log, compress back logs,
  and keep five rotated logs.
o Note: phk also thought it would be useful to force rotation
  each boot.  This commit does not introduce such a rotation.

Reviewed by:	phk
2001-02-06 06:07:00 +00:00
Doug Barton
385a585a4b Introduce the option of running fsck -y if the initial preen fails.
Defaults to off.

Obtained from:	Yahoo!
2001-02-05 04:54:42 +00:00
Brian Somers
a567cf6dd6 Don't specify root:wheel for tun*, it's the default.
Pointed out by:	bde
2001-02-03 23:31:31 +00:00
Robert Watson
6a56450bfb o Reinstate Kerberos IV support for sshd when MAKE_KERBEROS4 is
compiled in.  This involves a commented out sshd line to match the
  remainder of the commented out pam_kerberosIV.so entries.  This
  doesn't quite restore the correct behavior, as ticket files are
  not managed properly, but it's an improvement.

Forgotten by: green
2001-02-03 02:09:20 +00:00
Brian Somers
38fb35db09 Pick up all messages* files less than two days old rather than
just messages{,.0*} when looking for login failures and refused
connections.

PR: 23415
Mostly submitted by: phk

Convert a few "  "s to tabs while I'm here - for consistency.
2001-02-03 01:28:46 +00:00
Brian Somers
e0cd22b7b4 Change the permissions on /dev/tun* to 0600 root:wheel 2001-02-03 00:32:17 +00:00
Brian Somers
afcf65b56b Allow the output of /etc/security to be logged or mailed to different
users in line with ${daily,weekly,monthly}_output using a new
$daily_status_security_output variable.

PR:	24643
2001-01-30 10:24:18 +00:00
Brian Somers
12e0a85bba Run purgedir (a local function) on /var/run instead of rm /var/run/*
PR:		24612
Submitted by:	David Drum <david@mu.org>
2001-01-30 10:07:03 +00:00
Sheldon Hearn
de29595584 Replace the full path to sysinstall with a standard manual page
reference.  The sysinstall binary is now in root's standard PATH,
so there's no need for explicit pathing, and there's some value
in a manual page reference.
2001-01-29 08:22:21 +00:00
Coleman Kane
283028861e D'oh! Forgot to link to /dev/voodoo. 2001-01-26 01:13:29 +00:00
Hajimu UMEMOTO
aa5faffa26 - Don't try to send RA to lo0, gifN and faithN.
- ipv6_network_interfaces has all available interfaces to work for
  static configuration even if the host is end host.  When rtsol is
  invoked, singleness of interface is checked.
2001-01-25 13:18:26 +00:00
Hajimu UMEMOTO
360351268a Mention about rtadvd_interfaces. It should be specified if you want
use rtadvd.
2001-01-25 13:05:50 +00:00
Doug Barton
f8c1282a0b Add the options of which cron program to run, and specifying flags
to it.

PR:		conf/24358
Submitted by:	Gerhard Sittig <Gerhard.Sittig@gmx.net>
2001-01-21 20:57:38 +00:00
John Baldwin
0652b882c8 Tell users to run /usr/sbin/sysinstall now instead of /stand/sysinstall.
Reminded by:	jkh
2001-01-17 19:29:53 +00:00
Andrey A. Chernov
9073168b1b Add el_GR.ISO_8859-7 2001-01-17 13:15:46 +00:00
Ben Smithurst
2300f00f4c FreeBSD doesn't run named in a sandbox by default, so change a comment so it
doesn't imply we do.
2001-01-16 20:57:18 +00:00
Dag-Erling Smørgrav
ffefd50ada Add a sysvipc_enable variable that causes the SysV IPC modules to be loaded.
Reviewed by:	dougb
2001-01-16 20:05:05 +00:00
Doug Barton
e61b54647e Fix this to be more consistent with similar constructions elsewhere 2001-01-14 09:29:57 +00:00
MIHIRA Sanpei Yoshiro
8b4e190cc8 add new PC-Card entry, Melco/Buffalo LPC2-CLT
ed1 at port 0x300-0x31f irq 3 slot 0 on pccard0
ed1: address 00:40:26:xx:xx:xx, type NE2000 (16 bit)

Submitted by:	[FreeBSD-users-jp 58182]
		YANAGAWA Kazuhisa <kjana@os.xaxon.ne.jp>
2001-01-14 08:40:20 +00:00
Doug Barton
10fe5181ec Move the process of storing entropy from /dev/random and reseeding with
it at boot time closer to the way we want it to be in the final version.

* Move the default directory to /var/db/entropy
* Run the entropy saving cron job every 11 minutes. This seems
  to be a better default, although still bikeshed material.
* Feed /dev/random some cheesy "entropy" from various commands
  and files before the disks are mounted. This gives /dev/random
  a better chance of running without blocking early.
* Move the reseeding with previously stored entropy to the point
  immediately after the disks are mounted.
* Make the harvesting script a little safer in regards to the
  possibility of accidentally overwriting something other
  than a regular file.
2001-01-14 07:18:31 +00:00
Doug Barton
5ed4160254 Fix a small typo 2001-01-11 13:02:29 +00:00
Doug Barton
27a803d631 Add a system to save entropy from /dev/random periodically so that
it can be used to reseed at boot time. This will greatly increase
the chances that there will be sufficient entropy available at
boot time to prevent long delays.

For /etc/rc, remove the vmstat and iostat runs from the attempt
to provide some cheesy randomness if the files fail, since
those programs are dynamically linked, and ldd seems to want
some randomness to do its magic.

Guidance and parameters for this project were provided by
Mark Murray, based on the requirements of the Yarrow
algorithm. Some helpful suggestions for implementation
(including the tip about iostat and vmstat) were provided
by Sheldon Hearn. All blame for problems or mistakes is
mine of course.
2001-01-11 13:01:20 +00:00
Brian S. Dean
15b27f3bba Add portmap as a dependency for NIS client and server.
Requested by:	gallatin
2001-01-11 02:11:14 +00:00
Hellmuth Michaelis
e0a5f7c99e update the makefile to install all files from this directory to /etc/isdn 2001-01-10 12:42:57 +00:00
Hellmuth Michaelis
1550673ff6 Update: allow a list of numbers to be ignored and display the line on
which the call was received.
2001-01-10 12:41:55 +00:00
Hellmuth Michaelis
0ec58b35cb correct two horrible spelling errors 2001-01-10 12:24:40 +00:00
Hellmuth Michaelis
e2906e01cb add a the missing (german) holidays file 2001-01-10 12:21:58 +00:00
Archie Cobbs
64ca32560d Add these key bindings for tcsh users in interactive mode:
bindkey "^W" backward-delete-word
    bindkey -k up history-search-backward
    bindkey -k down history-search-forward

Reviewed by:	-current
2001-01-10 02:37:16 +00:00
John Baldwin
dbbd9a3121 Move the syscons configuration to a machine independent rc.syscons. The
syscons sh code was identical on both platforms except for whitespace
differences.
2001-01-09 22:28:17 +00:00
Ben Smithurst
aa83155bd5 Remove empty directories.
PR:		23769, 23772, 23868
Submitted by:	Rich Morin <rdm@cfcl.com>
2001-01-09 00:52:31 +00:00
Peter Wemm
0b06558520 Move MD <machine/if_wavelan_ieee.h> to MI <dev/wi/if_wavelan_ieee.h> 2001-01-09 00:50:45 +00:00
Nick Hibma
958210ab0d Give the USB devices sensible default permissions.
Suggested by:  Kaltashkin Eugene <zhecka@klondike.ru>
2001-01-07 18:43:31 +00:00
John Baldwin
a2ef1c8726 Don't announce that rc.${MACHINE_ARCH} is doing the syscons configuration
as the previous line already tells us we are in rc.${MACHINE_ARCH}.  This
also allows more syscons configuration messages during startup to fit on
one line.

Reviewed by:	dougb
2001-01-07 01:11:44 +00:00
MIHIRA Sanpei Yoshiro
c10c040070 add new PC-Card entry, COREGA FEther PCC-TXD
ed1 at port 0x300-0x31f iomem 0xd0000-0xd0fff irq 3 slot 0 on pccard0
ed1: address 00:90:99:xx:xx:xx, type NE2000 (16 bit)
2001-01-03 08:42:08 +00:00
Brian Somers
542e394c1c Cope with ports that have multiple versions *and* have embedded ``-''s
in their name.
2001-01-02 15:17:59 +00:00
Brian Somers
7d9e9f8884 Understand ``multiple versions'' lines emitted from pkg_version. 2001-01-02 13:28:47 +00:00
Andrey A. Chernov
30055cc993 ru_SU -> ru_RU for nls too 2001-01-01 02:19:59 +00:00
Poul-Henning Kamp
aaf7f598ae ... and ru_RU.KOI8-R.
Remove ru_SU

Forgotten by:	phantom on 2000/12/29 14:58:01
2000-12-31 15:08:14 +00:00
Poul-Henning Kamp
7566bcb0b7 Add ru_RU.ISO_8859-5 also. 2000-12-31 15:06:08 +00:00
Poul-Henning Kamp
284f963cf5 Add forgotten entry for ru_RU.CP866 to try to make make release work. 2000-12-31 12:02:55 +00:00
Alexey Zelkin
f5ad3be5c6 Get rid of deprecated ru_SU.* locales. ru_RU.* will be used instead. 2000-12-29 14:58:35 +00:00
Toshihiko ARAI
b799efd8af Fixed my mistake (rev: 1.169).
Submitted by:	sanpei
2000-12-29 09:57:17 +00:00
Poul-Henning Kamp
cbc62991e0 Add the "mdctl" device under the "std" stanza. 2000-12-28 20:59:19 +00:00
Peter Wemm
9886bcdf93 Merge into a single US-exportable libcrypt, which only provides
one-way hash functions for authentication purposes.  There is no more
"set the libcrypt->libXXXcrypt" nightmare.
- Undo the libmd.so hack, use -D to hide the md5c.c internals.
- Remove the symlink hacks in release/Makefile
- the algorthm is set by set_crypt_format() as before.  If this is
  not called, it tries to heuristically figure out the hash format, and
  if all else fails, it uses the optional auth.conf entry to chose the
  overall default hash.
- Since source has non-hidden crypto in it there may be some issues with
  having the source it in some countries, so preserve the "secure/*"
  division.  You can still build a des-free libcrypt library if you want
  to badly enough.  This should not be a problem in the US or exporting
  from the US as freebsd.org had notified BXA some time ago.  That makes
  this stuff re-exportable by anyone.
- For consistancy, the default in absence of any other clues is md5.  This
  is to try and minimize POLA across buildworld where folk may suddenly
  be activating des-crypt()-hash support.  Since the des hash may not
  always be present, it seemed sensible to make the stronger md5 algorithm
  the default.
All things being equal, no functionality is lost.

Reviewed-by: jkh

(flame-proof suit on)
2000-12-28 10:32:02 +00:00
Doug Barton
d3ee161f8b Fix a quoting problem I introduced.
Fix a tiny style problem while I'm here.

Submitted by:	knu
2000-12-26 20:55:18 +00:00
MIHIRA Sanpei Yoshiro
04ef3c0301 add PC-Card entry, ELECOM Laneed LD-CDL/TX
ed1 at port 0x240-0x25f irq 3 slot 0 on pccard0
ed1: address 00:90:fe:xx:xx:xx, type Linksys (16 bit)

Submitted by:   taguchi@tohoku.iij.ad.jp
2000-12-26 00:59:34 +00:00
Toshihiko ARAI
6b91b72b72 Add support for PC-card router configuration. (MFPAO)
o Add the removable_interfaces variable for list of removable network
  interfaces (PC-card ethernet, wireless network and USB ethernet etc).
o ifconfig_<ifn>_alias0, static_routes_<ifn>, removable_route_flush,
  /etc/start_if.<ifn> and /etc/stop_if.<ifn> are support.
o removable_route_flush variable is set to "NO" if you want to use the
  machine as gateway using two or more removable network cards. If
  static routing is needed use static_routes_<ifn> instead of
  static_routes or defaultrouter.
o The optional static_routes_<ifn> variable is likely static_routes.
o /etc/start_if.<ifn> and /etc/stop_if.<ifn> are shell script to be
  specified that are called when a card is inserted or removed.
2000-12-25 09:21:18 +00:00
Toshihiko ARAI
86667ae749 o Almost all the config line changed to `auto', except for
multifunction cards and I recieved reports that the card does not
  workd by `config auto'. (MFPAO)
o Remove static assign of the IRQ number.
o Remove two duplicated entries.
o Join some entries using regex and fixed matching order problem.

These changes for boot.flp.

Suggested by: sanpei
2000-12-24 15:38:38 +00:00
Brian Somers
f02b264114 Handle multiple words in $daily_clean_disks_files
PR:			23805
Submitted mostly by:	Norbert Papke <npapke@telus.net>
2000-12-24 03:22:45 +00:00
MIHIRA Sanpei Yoshiro
88f811c937 use ``config auto'' for ACCTON EN2216-PCMCIA-ETHERNET
Submitted by:	taguchi@tohoku.iij.ad.jp
2000-12-23 16:11:50 +00:00
MIHIRA Sanpei Yoshiro
80e25880d4 use ``config auto'' for IBM PCMCIA Ethernet I/II
Submitted by:	WAKABAYAI Susumu <susumu@wakabaya.net>
2000-12-23 16:01:16 +00:00
MIHIRA Sanpei Yoshiro
945c0389f4 fix MELCO LPC3-TX config
use ``config auto''
	add ether line

Submitted by:   bsd-nomads mailing list
		14954: Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>
		14967: Yoichi Nakayama <yoichi@eken.phys.nagoya-u.ac.jp>
		14971: WAKABAYAI Susumu <susumu@wakabaya.net>
2000-12-23 15:27:54 +00:00
MIHIRA Sanpei Yoshiro
230cd61f4e use ``config auto "sio" ?'' for Xircom CreditCard Modem CM-56T
PR:	conf/23068
Submitted by:	Matt <kienow@infinet.com>
2000-12-23 13:07:48 +00:00
Poul-Henning Kamp
d9f8912333 Add commented out entry showing use of console.info feature. 2000-12-20 22:26:33 +00:00
Toshihiko ARAI
4868575138 Join tree entries for Linksys PCMPC100 series as follows:
"Linksys" "EtherFast 10/100 PC Card (PCMPC100)"
 "Linksys" "Etherfast 10/100 PC Card (PCMPC100 V2)"
 "Linksys" "EtherFast 10/100 PC Card (PCMPC100 V3)"
2000-12-20 17:13:09 +00:00
Robert Watson
d6719cfbe1 o Back out 1.39, it was a bad idea. There was, and should be, a
distinction between the OS copyright message and the message displayed
  gratuitously to each user at login.  Because, well, they may be
  different, among other things, and boy can a copyright message each
  login consume some screen space.  If people really want to do this,
  they can copy /COPYRIGHT to /etc/COPYRIGHT.

Submitted by:	Anders Andersson <anders@codefactory.se>
2000-12-19 14:12:46 +00:00
Poul-Henning Kamp
b60d5d2f6d Add if=/etc/issue to the default getty entry.
This does nothing if you don't have an /etc/issue file.

PR:		22331
Submitted by:	Rick C. Petty <rick@kiwi-computer.com>
2000-12-18 20:56:10 +00:00
Toshihiko ARAI
d556784aa3 Linksys Fast Ethernet PCCARD cards supported by the ed driver now
require the addition of flag 0x80000 to their config line in
pccard.conf(5).  This flag is not optional.  These Linksys cards will
not be recognized without it.

Reviewed by:    imp, iwasaki
2000-12-18 15:28:53 +00:00
Doug Barton
8f38f3b2e6 * Add an eval so that ipnat_flags=">/dev/null" works, per the PR
* Do some line length and specify full path cleanups while I'm here

PR:				conf/22937
Submitted by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
2000-12-17 22:14:49 +00:00
Robert Watson
85744dbb39 o /etc/COPYRIGHT -> /COPYRIGHT, since that's where it's installed.
Submitted by:	Anders Andersson <anders@sanyusan.se>
2000-12-17 18:55:14 +00:00
Doug Barton
fcc66fcfa9 In addition to:
Apply a more consistent style to the echo statements in /etc/ scripts.
* Put quotes around each line
* Single quotes for lines with no variable interpolation
* Double quotes if there is
* Capitalize each word that begins a line
* Make echo -n 'Doing foo:' ... echo '.' more of a standard

Also:
* Use rm -f on /var/run/dev.db so if it's not there (devfs) it doesn't error
* Shorten the ldconfig messages so that the default fits on one line
* Test whether /var/msgs/bounds is a link before overwriting it
* Generally futz around with whitespace
2000-12-17 08:24:49 +00:00
Doug Barton
e14563a3f3 Apply a more consistent style to the echo statements in /etc/ scripts.
* Put quotes around each line
* Single quotes for lines with no variable interpolation
* Double quotes if there is
* Capitalize each word that begins a line
* Make echo -n 'Doing foo:' ... echo '.' more of a standard

No functionality changes
2000-12-17 08:16:06 +00:00
Poul-Henning Kamp
ae1abfb706 Create the vn%d.ctl devices.
In a few days I will commit a patch which changes vn(4) to use the
disk-minilayer.  This will make vn(4) fully DEVFS friendly but have
the side effect that vnconfig needs the vn%d.ctl devices to be able
to configure vn(4).

Please remake your /dev/vn entries with this revision of MAKEDEV if
you don't rung DEVFS already.
2000-12-16 18:46:45 +00:00
Dag-Erling Smørgrav
ec0ef121a8 Run rc.pccard from netstart so it works for us laptop users as well. 2000-12-16 02:48:14 +00:00
Brian S. Dean
3306abc459 Flesh out a simple framework for dependency checking rc.conf enabled
services.  Simple YES/NO style *_enable services are supported.

Reviewed by:	obrien
2000-12-13 19:17:54 +00:00
Noriaki Mitsunaga
3990bb57d1 -Change manufacture ID for REX-5535AC, REX-5535X, REX-9835X, and REX-9835Z
from "PCMCIA SCSI MBH1040" to "PCMCIA SCSI MBH10401" "01". They are
 based on the spc driver.
 This will fix the conflicts of entry with REX-5536AM, REX-9836A,
 and ICM PSC-2401 ("MBH10404" ones) which are based on stg driver.
 The problem was pointed out in bsd-nomads several times since PAO2 days.

-Comment out the entry for "MBH10401" ones. The spc driver is
 not supported yet.

-Add more comment about cards which has broken CIS
 (some cards which has tuple of "PCMCIA SCSI MBH10404" "01").

Reported by:	takachan@running-dog.net, y-nakaga@nwsl.mesh.ad.jp,
		yuki@dayo.ne.jp
Obtained from:	discussion in bsd-nomads mailing list
2000-12-13 13:29:16 +00:00
Brian S. Dean
5d24b61a76 If portmap is started as a dependancy, echo a notice during boot.
Approved by:	obrien
2000-12-13 00:43:10 +00:00
Daniel Harris
4662e878aa Typofix: Configration -> Configuration.
Submitted by:	Rich Morin <rdm@cfcl.com>
2000-12-12 22:43:02 +00:00
David E. O'Brien
0a8b5f7590 Set portmap_enable if Amd or running as an NFS server is enabled.
This bites too many systems upgrading from our change in defaults.
2000-12-11 22:47:50 +00:00
Warner Losh
e53e32e307 Add comments just before each config for the awi cards.
Add ZoomAir card.
Change a couple default to auto.  Also change a couple awi entires to auto
from 0x1.
2000-12-11 19:16:21 +00:00
Nick Sayer
616027041a Add MAKEDEV support for jogdial device, the first cut of which will be
committed shortly.
2000-12-11 19:10:40 +00:00
David E. O'Brien
773c6e3ca0 Revert back to rev 1.24 as we have not come to a consensus if is is OK
for a hung `daily' run to keep a `weekly' run from happening.
Same for `monthly'.  We have always run `weekly' and `monthly' reguardless
of the execution status of `daily'.  Until there is some consensus we should
not change the behavior.
2000-12-11 18:38:49 +00:00
Dag-Erling Smørgrav
ef54189fc9 Run all three maintenance script in succession, making sure they always
run on the right day but never overlap.

Submitted by:	Giorgos Keramidas <keramida@ceid.upatras.gr>
2000-12-11 17:31:44 +00:00
Dag-Erling Smørgrav
7892746ed4 Add a reference to the fetch(3) man page. 2000-12-10 13:24:41 +00:00
Dag-Erling Smørgrav
5af1702a8f On Sundays through Fridays, run daily at 03:01 am.
On Saturdays, run daily and weekly sequentially, starting at 03:01 am.

This prevents daily and weekly from overlapping, while running weekly as
early as possible  (i.e. as soon as daily finishes) to give it time to
finish before monthly starts at 05:30 am.

It's probably possible to do something similar with monthly, making it
run as soon as daily (and possibly weekly, if the first of the month
is a Saturday) finishes, but this is left as an exercise for the reader.
2000-12-10 12:54:34 +00:00
David E. O'Brien
50f822d553 Run weekly a little bit later to give more time for daily to complete
(since it starts later now).
2000-12-08 10:55:33 +00:00
Ruslan Ermilov
ef90734a7f Added directories needed for Groff 1.16.1 distribution. 2000-12-05 19:18:45 +00:00
Brian Feldman
94193b581b Update for OpenSSH 2.3.0. 2000-12-05 03:01:33 +00:00
Sheldon Hearn
6bbbd64fc4 The osf1 utility has not been installed since rev 1.5 of
src/sys/modules/osf1/Makefile, so don't use it here!
2000-11-30 08:20:42 +00:00
Gregory Neil Shapiro
b6f094a043 Add commentary about shared SASL files versus sendmail compilation.
Submitted by:	Scot W. Hetzel <hetzels@westbend.net>
2000-11-30 05:34:53 +00:00
Robert Watson
9766e32c01 o Add a PATH statement to the beginning of make-localhost, making it
work right when the administrator has modified their runtime environment
  in a manner not anticipated by our script.

Requested by:	Tom Maher <tardis@ece.cmu.edu>
2000-11-29 19:19:06 +00:00
Mike Smith
660cef19da Add the 'amr' control device. 2000-11-28 21:53:42 +00:00
MIHIRA Sanpei Yoshiro
088a7127ec use ``config auto "wi" ?'' for MELCO/WLI-PCM-L11
Submitted by:	susumu.wakabayashi@ntt.com
2000-11-28 14:11:49 +00:00
Doug Barton
7039987dc4 Add the remaining pseudo-users as aliases to root
PR:		conf/23105
Submitted by:	Matthew West, mwest@uct.ac.za
2000-11-26 05:28:22 +00:00
David E. O'Brien
5e514c64f7 Remove "NODESCRYPTLINKS" it has been superseeded by "passwd_format"
in /etc/login.conf.
2000-11-22 20:37:40 +00:00
Ben Smithurst
8057e004aa Add a note asking committers to update make.conf.5 when they update this. 2000-11-22 14:11:21 +00:00
David E. O'Brien
34e76f1b46 Add `password_format=md5' to the default settings. I've had this locally
for a while, but a recent email to -stable suggests it should be spelled
out as the documentation of "password_format" is sparse.

Also add a `des_users' entry.
Submitted by:	Sean O'Connell <sean@stat.Duke.EDU>
2000-11-21 23:25:39 +00:00
MIHIRA Sanpei Yoshiro
d0edec5ce3 add Linksts EtherFast 10/100 PC Card (PCMPC100 V2)
Submitted by:	Ben Lutgens <blutgens@usinternet.com>
2000-11-21 07:01:24 +00:00
Doug Barton
4c6250e510 Do a better job of preserving the value rc is called with
in the face of possible corruption by rc.diskless*.

PR:		misc/21904
Submitted by:	Anton Voronin, anton@urc.ac.ru
2000-11-21 04:21:54 +00:00
Sheldon Hearn
54c7f1620a Connect the new man4.alpha to the build. 2000-11-20 13:16:44 +00:00
Doug Barton
09980f4348 Standardize spelling of "optimization" in comments
PR:		conf/22622
Submitted by:	knu
2000-11-19 20:12:06 +00:00
Doug Barton
927af2dc65 When to run the periodic/daily event has had several rounds of discussion
over the past couple years. The most recent came to the general consensus
that this was the best time, but no one actually made the change, so I'll
don my asbestos undies and dive in.

Please note that this time was chosen with input from people in various
countries with various methods and schedules for switching to and from DST.
There is no perfect time to schedule this job that works for everyone, but
this time both A) Works for more people, and B) Causes problems for fewer
people. And, ultimately, you can always change it if you need to.
2000-11-19 18:16:46 +00:00
Kris Kennaway
8502f3408c Correct typo 2000-11-19 13:09:36 +00:00
Hajimu UMEMOTO
9c2fe1b866 Don't install route for fec0::/10. It was wrongly replaced from
ff02::/16 by me.

PR:		22715
2000-11-14 15:49:31 +00:00
Brian Feldman
087815f8bc Disable /usr/bin/ssh being setuid root by default. Let the variable
ENABLE_SUID_SSH being defined reenable it for those that want it.

This follows discussion favoring the change from September.  It
is not usually necessary to be setuid root, possibly less safe,
and less convenient (cannot use $HOSTALIASES, for example).

Submitted by:	jedgar
2000-11-14 04:42:25 +00:00
Ben Smithurst
77befa2a87 fix typo; loppgin -> login
PR:		22823
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-13 20:47:18 +00:00
MIHIRA Sanpei Yoshiro
d144b9d240 add SII MC-P200
Submitted by:	Shigeru Ishida <ishida@isl.intec.co.jp>
		bsd-nomads:14801
2000-11-13 03:16:58 +00:00
Warner Losh
6166282719 Add webgear aviator card 2000-11-12 22:14:22 +00:00
MIHIRA Sanpei Yoshiro
906b64d5b6 add Melco WLI-PCM 2000-11-10 13:02:38 +00:00
MIHIRA Sanpei Yoshiro
7782a74560 add Nokia Card Phone 2.0 (gsm900/dcs1800 HSCSD terminal)
and this PC-Card has function ID as modem, pccard.conf entry
is not needed.

Submitted by:	(Roger Hardiman <roger@freebsd.org>)
2000-11-10 12:43:49 +00:00
Ruslan Ermilov
25214d26b5 Fixed typo in description of ENABLE_SUIDPERL. 2000-11-10 10:46:11 +00:00
Jordan K. Hubbard
8b4c822db0 Add commented-out entries for FTP_PROXY and HTTP_PROXY so those behind
firewalls have examples to work from.

Requested by:	chein
2000-11-08 07:30:27 +00:00
Don Lewis
e1a8c6b64e Back out change to prepend /sbin:/bin to $PATH, just overwrite $PATH
with these in the normal case.

Set MAKEDEVPATH in sysinstall to include the /mnt2 stuff before starting
the fixit shell.
2000-11-05 17:59:29 +00:00
Don Lewis
d777543987 Change MAKEDEV so that it prepends /sbin:/bin to $PATH instead of totally
overwriting $PATH, and find mknod $PATH instead of hardcoding /sbin so
that the copy of MAKEDEV on the fixit floppy is usable, since mknod and
expr live in /mnt2/stand when the fixit floppy is running.

Get rid of the sed invokation in release/Makefile that attempts to
delete the PATH setting stuff from MAKEDEV on the fixit floppy.  This
hasn't worked since a long ago change to MAKEDEV caused the sed
expression to no longer match.

PR:		misc/21241
2000-11-05 15:34:58 +00:00
Paul Saab
9193b12844 MF4: Add LOADER_TFTP_SUPPORT make.conf flag. 2000-11-04 08:43:13 +00:00
MIHIRA Sanpei Yoshiro
af6f98bd10 use ``config auto "ata" ?'' for DHU Mobile Media CD-ROM
Submitted by:	Motonobu KOBAYASHI <kobayashimo@nttdocomo.co.jp>
		[bsd-nomads:14777]
2000-11-04 08:10:12 +00:00
Gregory Neil Shapiro
e3f84e3e02 Grammar fix
Submitted by:	asmodai
2000-11-04 03:49:13 +00:00
John Baldwin
4b0ac46336 Stick the Xircom 10/100 Network PC Card adapter entry in the right sort
order.

Requested by:	sanpei
2000-11-03 01:54:11 +00:00
Dirk Froemberg
477c71bd3f /etc/mail/sendmail.cw is /etc/mail/local-host-names, now.
PR:		misc/22261
Submitted by:	Michael Bryan <fbsd-security@ursine.com>
2000-11-02 23:40:40 +00:00
Dirk Froemberg
3d75a18bb6 /etc/mail/sendmail.cw is /etc/mail/local-host-names, now.
PR:		misc/22262
Submitted by:	Michael Bryan <fbsd-security@ursine.com>
2000-11-02 23:32:31 +00:00
David E. O'Brien
a450541bfc State that using optimization level above -O for kernel builds isn't smart. 2000-11-02 22:14:59 +00:00
MIHIRA Sanpei Yoshiro
7826c24645 use ``config auto'' for COREGA Ether PCC-T 2000-11-02 06:52:37 +00:00
Andreas Klemm
2a77f569ef fixes:
a) the configured default printer entry might turn out to become a security hole
   Although lpd isn't enabled by default in FreeBSD 4 and later versions
   bad things might happen because of a simple copy and paste failure:
	- fill up root-fs, if /dev/lpt0 doesn't exist
	- fill up the spool dir (either root-fs or var-fs) if machine hadn't been
	  designed as print server
   Therefore best decision: if people want printing, then configure both
	1. /etc/rc.conf
	2. /etc/printcap
   the default entry wouldn't have served well all tastes and needs anyway...
   design of most of our config files is, to have commented out suggestions
   if a service is not active.
b) [Garance]
   fix old and wrong documentation:
	input filters are possible even if you print to a remote printer
   this makes FreeBSDs implementation of lpd currently the best without
   having to switch to port monster LPRng ...
c) fix pointer to wrong handbook section for a longer time .. so I doesn't fix the number
   I'm only referring to the printing section, otherwise this would have to be fixed several
   times, if the chapters should be reordered again ...
d) typo: chose -> choose

Submitted by:	me and some suggestions by Garance
Approved by:	Eivind and Garance A Drosihn <drosih@rpi.edu> in private e-mail
2000-11-01 13:30:24 +00:00
Toshihiko ARAI
70b4e5befc Add BUFFALO LPC3-CLX
Submitted by:   Takashi Ikeda <ccikeda@moon.aichi-u.ac.jp>

Add TOSHIBA Ethernet Card LABCTA00A.
Submitted by:   "minoru kurata" <minoru.kurata@toshiba.co.jp>
Obtained from:	PAO3
2000-11-01 10:30:53 +00:00
Ralf S. Engelschall
aad65d1ca2 Don't use the old URL to the GNU ftp location any more:
ftp://prep.ai.mit.edu/pub/gnu/ -> ftp://ftp.gnu.org/gnu/
2000-11-01 10:24:08 +00:00
Hellmuth Michaelis
ba72024c93 Add missing redirection to /dev/null to prevent disturbing
of fullscreen display.
2000-10-31 10:00:51 +00:00
MIHIRA Sanpei Yoshiro
cda33ccbd5 remove duplicated item.
"Laneed Wireless card" is "ELECOM *Laneed*
Air@Hawk/LD-WL11/PCC Wireless card" which
was already committed.
2000-10-31 06:19:58 +00:00
Mike Smith
f704b43d99 Move 'tw*' after 'twe*' so that it's possible to create the control device
for the 'twe' driver.  This is an expedient solution for an
actually-manifesting symptom of a major problem with MAKEDEV.  Roll on
DEVFS.
2000-10-31 00:21:41 +00:00
John Baldwin
4ce9d25de4 Add an entry for the Xircom 10/100 Network PC Card adapter. 2000-10-30 23:34:44 +00:00
MIHIRA Sanpei Yoshiro
6def71ec31 MFS:
cosmetic changes

	use /etc/pccard_ether for Xircom CreditCard Netwave
	and 3Com Corporation" "3C562" (BUT NOT SUPPORTED).

	fix `card line' of RATOC REX-5572 (as SCSI only)

	use `config auto' for RATOC REX-5536AM, REX-9836A,
	ICM PSC-2401 SCSI
2000-10-30 14:26:52 +00:00
Hajimu UMEMOTO
24fdf62c36 install rc.firewall6. 2000-10-30 07:12:21 +00:00
Hajimu UMEMOTO
e726be510b - ipv6_prefix_* and ipv6_ifconfig_* work for end node
- rtsol should be work for only one interface
- new variable ipv6_defaultrouter is added
- option name of rtadvd in comment are corrected
- ipv6_firewall_enable, ipv6_firewall_type, ipv6_firewall_script,
  ipv6_firewall_logging are added to introduce rc.firewall6.

IPv6 firewall rule is just starting point and should be brushed up.
This commit includes PR18621, PR21694, PR22051.

PR:		conf/18621, conf/21694, conf/22051
Reviewed by:	asmodai
2000-10-29 19:59:05 +00:00
Nick Hibma
b3096d8884 Entry for umodem0 devices, 124. 2000-10-29 14:06:12 +00:00
Doug Barton
9fc9ecb643 Finish the job of conditionalizing UUCP by preventing files in /etc/uucp
from being installed, and make rmail conditional on neither of
NO_SENDMAIL and NOUUCP.

PR:		bin/21321
Submitted by:	Me
2000-10-29 06:57:59 +00:00
Noriaki Mitsunaga
82fdce0977 Change flags of ncv and nsp driver. Both were conflicted with the flags
used in lower layer (scsi_low.c).

The flag of ncv for KME KXLC004 was chaged from 0x1 to 0x100.
The flag of nsp for PIO mode was chaged from 0x1 to 0x100.
2000-10-29 06:54:32 +00:00
Josef Karthauser
78ba546662 Fix a blatant bug when running '/etc/pccard_ether device stop'.
I wasn't dropping the interface correctly, but not noticing because
the interface was going away when the card was ejected.

Submitted by:	Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
2000-10-28 14:31:40 +00:00
MIHIRA Sanpei Yoshiro
33eb563d67 add PC-Card melody beep(PC Card bus, kludge version)
Original idea from:	PAO3
2000-10-28 13:35:34 +00:00
Noriaki Mitsunaga
d206554f40 Comment out the entry for Workbit Ninja SCSI series in PIO mode.
This confilcted with the entry of non PIO mode.

If you want to use them in PIO mode comment out entry of the non PIO mode
and uncommnet the PIO mode entry.
2000-10-27 13:59:16 +00:00
Tatsumi Hosokawa
21079021da Added "minimum3": spare room for multilingual installer and driver floppy.
The size is 3 x 1.44MB.
2000-10-26 16:00:27 +00:00
Noriaki Mitsunaga
302bbfaac9 Uncommnet entries for PC-Cards which are supposed work with ncv, nsp,
and stg drivers. Also all config indexes for these cards are changed
to auto.

Note, still if you would like to use cards which has a comment;
# (Do not put this entry under Bustoaster)
you need some quick hack. Uncomment the entry above.

Reviewed by:	sanpei@FreeBSD.org
2000-10-26 11:25:10 +00:00
Nick Hibma
2fd84f56d5 The USB scanner driver. To be used together with SANE. 2000-10-25 10:34:38 +00:00
Archie Cobbs
c06992e558 Build the ISC library as libisc. This library comes as part of the
bind distribution, but until now was not being built as a separate
entity. For documentation, see these man pages:

assertions(3), eventlib(3), heap(3), logging(3), memcluster(3), tree(3).

Reviewed by:	jdp
2000-10-24 20:10:25 +00:00
Søren Schmidt
31873471da Oops better ad the ar device to the all target, people might want to
install on these...
2000-10-24 15:40:20 +00:00
Søren Schmidt
cf1127945b Add the ATA RAID (ar) device 2000-10-24 14:31:24 +00:00
Akinori MUSHA
82494980f2 Add MASTER_SITE_MOZILLA and MASTER_SITE_XEMACS. 2000-10-24 12:37:52 +00:00
Poul-Henning Kamp
175c38cf60 On DEVFS machines, the device name database is no use. 2000-10-22 19:10:13 +00:00
Akinori MUSHA
241d880ebb It is bsd.sites.mk one should look for a full list of default sites,
not bsd.port.mk anymore.

Add MASTER_SITE_XFREE, MASTER_SITE_RINGSERVER, MASTER_SITE_TCLTK and
MASTER_SITE_RUBY.

Document and add MASTER_SORT_REGEX.
2000-10-22 12:09:16 +00:00
MIHIRA Sanpei Yoshiro
58a544be91 add TDK Grey Cell GCS2000 Ethernet Card
PR:		22184
2000-10-21 15:09:27 +00:00
Andrey A. Chernov
7e290fd42a Back out increasing entropy file size workaround and wait for real fix instead.
Requested by: markm
2000-10-20 20:26:05 +00:00
Josef Karthauser
cce1cd64ed Fix a typo in the last commit; should be 'remove' not 'insert'.
Noticed by:	sanpei
2000-10-20 20:02:31 +00:00
Jordan K. Hubbard
1d745d28e0 Redirect the stderr of dd to /dev/null so the user doesn't see rather
weird dd output on bootup as /dev/random is being reseeded.  Also,
can't this happen in the background since /dev/random blocks?
2000-10-20 17:41:46 +00:00
Andrey A. Chernov
2af8bc5b22 Increase entropy file size from 4096 to 16384 because 4096 actually is not
enough to cause reseeding
2000-10-20 16:32:05 +00:00
Nick Hibma
fd947b09e2 Kill the correct dhclient on detach of the ethernet device.
Submitted by:	Josef Karthauser <joe@freebsd.org>
Submitted by:	Chris Dillon <cdillon@wolves.k12.mo.us>
2000-10-20 00:42:05 +00:00
Josef Karthauser
fb2a416f3b Fixup a couple of ether card entries to use the new pccard_ether
calling convention.
2000-10-20 00:31:48 +00:00
John W. De Boskey
b082b24f98 Use dd to better block the data being sent to /dev/random.
Note: I am not redirecting stdout so that the amount of
      data being transferred can be seen (22k and 576k currently).
2000-10-18 05:29:26 +00:00
Warner Losh
c33f14430f Move auto doesn't work comment closer to config line 2000-10-18 03:14:37 +00:00
Warner Losh
a0951dd59e Add a bunch of wireless cards from Japan. Shigeru YAMAMOTO-san
brought them to BSDcon and gratiously allowed me to test each one with
the wireless setup here.  In addition, support another CF card which
YAMAMOTO-san also brought.

Also add a Lexar CF card which didn't work with auto on many laptops.
2000-10-17 22:31:27 +00:00
MIHIRA Sanpei Yoshiro
cf673267d3 use ``config auto'' for NCR WaveLAN/IEEE 2000-10-17 06:20:21 +00:00
Josef Karthauser
69d1f468bf Add an optional start/stop argument to pccard_ether, and migrate
the 'ifconfig ifN delete' into pccard_ether under the 'stop'
function.

In addition start dhclient with a pid file based on the interface
name, e.g. /var/run/dhclient.ep0.pid, and kill the correct dhclient
(or dhcpc) process when the card is removed.
2000-10-16 19:11:11 +00:00
Josef Karthauser
3b7c548b4b Avoid passing the optional ifconfig arguments to dhcpc as well as ifconfig.
This bug has been here since revision 1.8.
2000-10-16 19:03:48 +00:00
Nick Hibma
8df2823bfe Merge from stable: Update of comments 2000-10-16 16:38:04 +00:00
John W. De Boskey
991c4ad814 Style fix only.
init 6 vs. /sbin/reboot problem still exists (pr 14829)

Submitted by:	Doug Barton <DougB@gorean.org>
2000-10-16 06:16:44 +00:00
John W. De Boskey
3fc79ca179 Set new default: entropy_file="/entropy"
with /var/db/entropy being a hardcoded backup.

Submitted by:	Doug Barton <DougB@gorean.org>
Approved by:	markm
2000-10-16 04:45:47 +00:00
John W. De Boskey
bfb80de42d Having played with this commit request for a few hours, I've
convinced myself that it's better then what we have, but still
not perfect.

/etc/rc  : Attempt to seed /dev/random with multiple backoffs.

/etc/rc.shutdown : Attempt to write the entropy_file.

In debugging the above changes, I've run into some
inconsistancies... rc.shutdown is run via 'init 6', but
does not appear to be run via '/sbin/reboot'. Thus, this
set of changes improves life depending on the mechanism
used to shut the system down.

Submitted by:	Doug Barton <DougB@gorean.org>
Approved by:	markm
2000-10-16 04:44:35 +00:00
Brian Somers
dd903d321f Add /usr/include/netnatm/ 2000-10-15 00:43:06 +00:00
Mark Murray
318cc4ad59 Reseed the random device as early as possible to prevent hangs,
and provide some form of entropy in case there is no seed file
to prevent a reboot from hanging unnecessarily.
2000-10-14 12:56:08 +00:00
Andrey A. Chernov
88820203d4 "fix" savecore by moving dev_mkdb before it to allow device name sensing 2000-10-12 21:40:04 +00:00
Ruslan Ermilov
35c8e6411c Fixed the reporting of ip_portrange_{first|last}. 2000-10-12 11:25:57 +00:00
Ruslan Ermilov
9667076c85 Turn the verbose mode on for dumpon(8). 2000-10-12 10:34:59 +00:00
Ruslan Ermilov
6f1214d918 Removed broken PAM support from rshd(8) and rlogind(8). rshd does
not allocate a pty(4) so it is not suitable at all for interactive
PAM modules.  rlogind calls login(1) which is already PAM enabled.

Approved by:	markm
2000-10-12 07:18:20 +00:00
Gregory Neil Shapiro
9d64dea9fa Disable the SMTP EXPN and VRFY commands by default to prevent information
leakage.

Submitted by:	Maxime Henrion <mux@qualys.com>
2000-10-10 18:10:38 +00:00
Gregory Neil Shapiro
31923af7ce Install the sendmail cf building tools (contrib/sendmail/cf) in
/usr/share/sendmail/cf.

PR:		19790
2000-10-10 18:08:19 +00:00
MIHIRA Sanpei Yoshiro
f7a26d1939 add new version of ELECOM Air@Hawk/LD-WL11/PCC
(Yasuhiro Magara <gama@rose.zero.ad.jp> in [bsd-nomads:14588])

add "wi" cards into HARDWARE.TXT and RELNOTES.TXT
2000-10-10 14:27:30 +00:00
David E. O'Brien
a1c43e3fbb Add copyright notices. Other systems have been barrowing our /etc files
w/o giving any credit.
2000-10-08 19:20:36 +00:00
MIHIRA Sanpei Yoshiro
7300b57eb3 add COREGA FEther PCC-TXF
(MITA Yoshio <mita@ee.t.u-tokyo.ac.jp> in [bsd-nomads:14572])
2000-10-08 07:42:52 +00:00
Gregory Neil Shapiro
e16befd944 Forgot to remove the directory from mtree for the obsolete sendmail
documentation.
2000-10-07 22:46:42 +00:00
Alexander Langer
6f39ae3b66 Fix typo: kereros -> kerberos
PR:		21468
Submitted by:	"Giorgos Keramidas" <keramida@westgate.gr>
2000-10-06 17:36:05 +00:00
Darren Reed
7a76642f3c This brings support for IP Filter into rc.network and rc.conf with
the appropriate documentation added to rc.conf(5).  If all goes well
with this over the next few weeks, the PR will be closed with the
pullup of patches back to 4-STABLE.

PR:		20202
Submitted by:	Gerhard Sittig <Gerhard.Sittig@gmx.net>
Reviewed by:	Darren Reed <darrenr@freebsd.org>
Approved by:	Darren Reed <darrenr@freebsd.org>
Obtained from:	Gerhard Sittig <Gerhard.Sittig@gmx.net>
2000-10-06 12:24:45 +00:00
Toshihiko ARAI
13a4d01290 Fix typo and change from ifconfig ...' to /sbin/ifconfig ...' 2000-10-05 19:37:00 +00:00
Toshihiko ARAI
a16ec435c6 Fix some remove method. 2000-10-05 19:28:00 +00:00
Toshihiko ARAI
58ab6a5d30 Add TDK LAK-CD031.
Submitted by:	Tsuyoshi Hatakenaka <tsuyoshi@wni.co.jp>
2000-10-05 19:20:35 +00:00
Sheldon Hearn
cf86636803 Add James Housley's official IANA assigned numbers for healthd.
Requested by:	jeh
2000-10-05 07:36:59 +00:00
Brian Somers
944fae23f3 Add a unaligned_print option (alpha only)
Document osf1_enable

Submitted by:	Eric D. Futch <efutch@nyct.net>
PR:		21649
2000-10-04 18:58:46 +00:00
Kris Kennaway
fecb6ab363 Disable rsh and rlogin by default. ssh and telnet are still available for
remote access on default installations.
2000-10-04 07:56:16 +00:00
Jordan K. Hubbard
da701298c0 Turn fingerd OFF by default. Comparative essentials like telnetd
are bad enough, but finger is hardly a critical system service and
it's traditionally been vulnerable to a variety of attacks; anybody
remember RTFM and his worm?
2000-10-03 00:08:15 +00:00
Brian Somers
0655ee8d72 Case is irrelevant when sorting mail redirects
PR:		21600
Submitted by:	David Wolfskill <dhw@whistle.com>
2000-10-02 21:54:38 +00:00
MIHIRA Sanpei Yoshiro
8072a67c79 use ``config auto''
- Melco LPC-T (PIO mode)
	- AR-P500 ethernet card
	- Accton EN2226/Fast EtherCard (16-bit verison)
2000-10-02 14:41:09 +00:00
MIHIRA Sanpei Yoshiro
7ee33f7a53 use ``config auto'' for COREGA EtherII PCC-T. 2000-10-01 05:50:18 +00:00
Brian Somers
cd63d8618f Use su -m instead of just su to avoid reading the users login profile 2000-09-28 05:43:44 +00:00
MIHIRA Sanpei Yoshiro
397afc3dfb add Cisco Systems Aironet 342 Series 11Mbps 802.11 wireless NIC
same cis as Aironet 340

PR:		21447
2000-09-26 06:39:47 +00:00
MIHIRA Sanpei Yoshiro
3af9501ad5 add Cisco Systems Aironet 340 Series 11Mbps 802.11 wireless NIC
PR:		20777
2000-09-26 06:29:40 +00:00
Jeroen Ruigrok van der Werven
0698add9a5 Do IANA update maintenance: list synched up to the latest version.
Document that 254 (divert) is not IANA assigned.
2000-09-24 11:20:27 +00:00
Alexander Langer
a237895d7e Print "Enable PC-card." before anything else is done with
PC-card stuff.  Also print a NEWLINE (!!) after that.

I'm driving mad each time when I see messages related to pccard before
"Enable PC-card." and particulary when I see
"Doing initial network setup". on the same line w/o a break.
2000-09-23 17:09:04 +00:00
Brian Somers
ca60fa1ad6 Remove a forgotten line
Submitted by:	Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
2000-09-22 06:54:28 +00:00
Ruslan Ermilov
8df6e02eef The final entry should be required', not sufficient'. 2000-09-21 07:47:36 +00:00
Brian Somers
48a7635f95 Sort the output of mount
Requested by: des

Remove a redundant sed
2000-09-18 18:35:07 +00:00
Gregory Neil Shapiro
cf1fec423a Give users a way to alter the sendmail (and related utilities) build
environment so they can enable functionality such as SASL, LDAP, Hesiod.
2000-09-17 00:41:33 +00:00
Andrey A. Chernov
14a9c12153 Add tr_TR.ISO_8859-9 to nls 2000-09-16 22:25:37 +00:00
Andrey A. Chernov
d50a91535f Add tr_TR.ISO_8859-9 2000-09-16 22:17:35 +00:00
Andrey A. Chernov
5901f438f4 Comment out MTREE_FOLLOWS_SYMLINKS by default, since it picked before mtree is
builded (on the clean machine without /etc/make.conf)

Submitted by:	imp
2000-09-16 22:08:24 +00:00
Poul-Henning Kamp
6d6b1b8f4d Add missing tr_TR.ISO_8859-9 directory. 2000-09-16 21:53:06 +00:00
Andrey A. Chernov
a938a1fcf8 Add/use MTREE_FOLLOWS_SYMLINKS make.conf option
This is part of whole subsystem fixing

Reviewed by:	imp
2000-09-15 08:07:05 +00:00
Mark Murray
fb90f7b3aa Make the [u]random device's permissions match those in the matching
make_dev() call.

At the moment, it is an error for anyone but root to write to this
device (EPERM), and the permissions don't suggest that. Soon, however,
anyone will be able to write here, but only root will cause an implicit
reseed.
2000-09-14 17:48:47 +00:00
Brian Somers
9ed55d1192 Another overhaul of the periodic stuff.
All periodic sub-scripts <larf> now have their return codes interpreted
by periodic(8).  Output may be masked based on variable values in
periodic.conf.

It's also now possible to email periodic output to arbitrary addresses,
or to send it to a log file, examples of which can be found in
newsyslog.conf.

The upshot of it all should be no discernable changes to the default
behaviour of periodic(8).

PR:	21250
2000-09-14 17:19:15 +00:00
MIHIRA Sanpei Yoshiro
2e9cc0ee8f "fe" driver was newbus'ify and bus_space'ify by nyan.
comment-in "XXX NOT SUPPORTED YET" cards
which was supported by "fe" driver.
2000-09-14 16:20:52 +00:00
Mike Smith
170871defe Teach MAKEDEV about 'aac'. 2000-09-13 05:03:02 +00:00
Hajimu UMEMOTO
31a054d673 Make default interface work.
Obtained from:	KAME
2000-09-10 18:18:10 +00:00
Kris Kennaway
690a362571 Nuke RSAREF support from orbit.
It's the only way to be sure.
2000-09-10 00:09:37 +00:00
Hajimu UMEMOTO
025ada8856 Make sure to accept RA. Some laptops run /etc/pccard_ether before
/etc/rc.network6.

PR:		bin/21062
2000-09-07 03:06:06 +00:00
Kris Kennaway
e1f99b045c ``Anyone is now free to rub two primes together for their own gratification''
-- Unknown

Now that the RSA algorithm is released into the public domain, build
librsaintl by default unless NO_RSAINTL is set in make.conf.

The native OpenSSL implementation of RSA is much faster, doesn't have
an artificial keysize limitation, has 30% fewer calories and tastes great!
2000-09-06 23:46:50 +00:00
Jacques Vidrine
248aee623c Add nsswitch support. By creating an /etc/nsswitch.conf file, you can
configure FreeBSD so that various databases such as passwd and group can be
looked up using flat files, NIS, or Hesiod.

= Hesiod has been added to libc (see hesiod(3)).

= A library routine for parsing nsswitch.conf and invoking callback
  functions as specified has been added to libc (see nsdispatch(3)).

= The following C library functions have been modified to use nsdispatch:
    . getgrent, getgrnam, getgrgid
    . getpwent, getpwnam, getpwuid
    . getusershell
    . getaddrinfo
    . gethostbyname, gethostbyname2, gethostbyaddr
    . getnetbyname, getnetbyaddr
    . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr

= host.conf has been removed from src/etc.  rc.network has been modified
  to warn that host.conf is no longer used at boot time.  In addition, if
  there is a host.conf but no nsswitch.conf, the latter is created at boot
  time from the former.

Obtained from:	NetBSD
2000-09-06 18:16:48 +00:00
Andrey A. Chernov
d9102f5b2a Add /boot/kernel/ 2000-09-06 15:34:58 +00:00
David E. O'Brien
aada671ef0 The default is for 3rd party kernel modules to live in /boot/modules
rather than /modules.
2000-09-06 10:27:26 +00:00
Hajimu UMEMOTO
dce3f9e7cd Avoid doing rtsol to psuedo interface.
PR:		bin/21062
2000-09-06 07:39:55 +00:00
Sheldon Hearn
82f257b197 Add acap, as per IANA.
PR:		20990
Submitted by:	Lyndon Nerenberg <lyndon@orthanc.ab.ca>
2000-09-05 08:24:01 +00:00
David E. O'Brien
5bd200c177 Move NOPROFILE' and NOPERL' to be with the reset of their "NO" brethren. 2000-09-02 22:46:04 +00:00
David E. O'Brien
3a77147b94 Move the kernel's "cflags" to be next to the world ones. 2000-09-02 22:43:18 +00:00
David E. O'Brien
7d2e5717e7 Remove our override on the default time that a looked up name remains
cached when not in use.  This changes the FreeBSD default from 30 minutes
to 5 minutes.  JKH was the one that added the override to amd_flags, but
there was no reason given other to serve as an example of what could be
done.
2000-09-01 01:08:52 +00:00
Ruslan Ermilov
890fc9495b Only install `divert natd' rule for predefined firewall types,
not when ${firewall_type} is set to a filename, as we know
nothing about user's script specifics.

Reported by:	Bernhard Valenti <bernhard.valenti@gmx.net>
2000-08-30 13:14:32 +00:00
Mitsuru IWASAKI
e4a4123b1d Add /dev/acpi for ACPI. 2000-08-29 20:20:54 +00:00
John Baldwin
02e07fcda7 - Break the acd track devices out into a seperate target acdXt[Y]. The
X field is treated the same as the unit number for acdX.  The optional
  Y parameter specifies the number of track devices to create starting at
  track 1.  If Y is not specified, it defaults to 100.
- Add the acd0t target to the all target to preserve previous behavior.
- Don't add the acd0t target to the fixit target, thus keeping the fixit
  floppy from running out of i-nodes.
2000-08-28 23:14:44 +00:00
Satoshi Asami
b7823d1fde Add BSD.x11-4.dist to list of mtree files to install (d'oh!).
Submitted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
2000-08-28 20:22:25 +00:00
MIHIRA Sanpei Yoshiro
6a8fb6a382 add ELECOM Air@Hark/LD-WL11/PCC card
add NEC Wireless Card CMZ-RT-WP card

Obtained from:	[bsd-nomads:13988] by YAMAMOTO Shigeru <shigeru@iij.ad.jp>

sort Farallon Skyline 11Mbps Wireless entory
2000-08-28 14:15:24 +00:00
Brian Somers
bf9263a3e2 Correct variable spelling
PR: 20841
2000-08-25 18:50:54 +00:00
Satoshi Asami
fce618cca3 Update BSD.x11-4.dist to XFree86-4 after repo copy. I believe this is
correct but I won't know for sure until bento's cluster comes back up.
2000-08-25 10:07:21 +00:00
Andrey A. Chernov
c4bf9c2485 Sync with main 2000-08-25 08:56:28 +00:00