Commit Graph

3097 Commits

Author SHA1 Message Date
Warner Losh
69e4f572e4 Add:
Accton airDirect WN3301
	Melco WLI-CF-S11G
	GeoWave GW-NS11S

Submitted by: Shigeru Ishida-san on bsd-nomads (16142,16143,16144)
2002-01-18 03:49:03 +00:00
Joerg Wunsch
3d7abf4c86 Re-add a call to "camcontrol rescan" after insertion of an aic pccard.
We now do it as a "camcontrol rescan all" which is something ken
promised to implement; for the time being it's not worse than the old
"camcontrol rescan $device" which ended up in something like
"camcontrol rescan aic1".  Currently, camcontrol misinterprets the
third non-numeric arg as number 0, and rescans bus 0, which is about
the best we could get at this time.

Approved by:	imp
MFC after:	1 week
2002-01-17 20:38:04 +00:00
Robert Watson
012ccf288b o Improve the line-wrapping of additional comments, some of which appeared
to be wrapped around 60, others around 40 columns.
2002-01-17 00:10:28 +00:00
Robert Watson
4420bc6773 o Remove a somewhat less comprehensible comment about modifying /etc/rc.
o Improve line-wrapping of another comment for consistency.
2002-01-17 00:08:44 +00:00
Bruce Evans
e9f83ca347 Added this makefile. This is not attached to the build yet. I often
install parts of /etc manually and it helps to have a makefile for
each subdir even if the main makefile doesn't invoke it.
2002-01-16 12:18:22 +00:00
Ruslan Ermilov
30843b9337 Do not install man(1) setuid ``man''.
The catpaging and setuidness features of man(1) combined make
it vulnerable to a number of security attacks.  Specifically,
it was possible to overwrite system catpages with arbitrarily
contents by either setting up a symlink to a directory holding
system catpages, or by writing custom -mdoc or -man groff(1)
macro packages and setting up GROFF_TMAC_PATH in environment
to point to them.  (See PR below for details).

This means man(1) can no longer create system catpages on a
regular user's behalf.  (It is still able to if the user has
write permissions to the directory holding catpages, e.g.,
user's own manpages, or if the running user is ``root''.)

To create and install catpages during ``make world'', please
set MANBUILDCAT=YES in /etc/make.conf.  To rebuild catpages
on a weekly basis, please set weekly_catman_enable="YES" in
/etc/periodic.conf.

PR:		bin/32791
2002-01-15 14:11:05 +00:00
Dag-Erling Smørgrav
a5f5cfdaf2 Everybody (for suitable values of "everybody") seems to think pam.conf should
be removed outright.

Sponsored by:	DARPA, NAI Labs
2002-01-14 17:15:53 +00:00
Dag-Erling Smørgrav
56ad504867 Re-add pam.conf so it will get installed so people who don't know about
pam.d will find out about it by reading pam.conf.

Sponsored by:	DARPA, NAI Labs
2002-01-14 16:30:22 +00:00
Dag-Erling Smørgrav
ddee80ac95 Point people towards /etc/pam.d/README. 2002-01-14 15:08:02 +00:00
Dag-Erling Smørgrav
4e8b159f5e Unmunge the version preservation code and obfuscate it so CVS won't munge
it all over again.
2002-01-12 23:08:59 +00:00
Dag-Erling Smørgrav
f89a116468 Back out previous commit, which erroneously removed essential comments. I
definitely need coffee.

Apologies to:	ache
2002-01-12 14:22:22 +00:00
Dag-Erling Smørgrav
ca90ed6b1c Update copyright 2002-01-12 14:17:19 +00:00
Dag-Erling Smørgrav
0703287104 Switch over to /etc/pam.d/.
Sponsored by:	DARPA / NAI Labs
2002-01-12 14:03:12 +00:00
Dag-Erling Smørgrav
84437855b4 Sync with pam.conf revision 1.25. 2002-01-12 13:50:33 +00:00
Dag-Erling Smørgrav
1c6246992a Preserve FreeBSD version strings in target files. 2002-01-12 13:50:08 +00:00
Warner Losh
8128d1f555 Correct Corega KK Wireless entry 2002-01-12 07:01:51 +00:00
Alexey Zelkin
7f751a854f Sort entries and clarify comments 2002-01-11 15:51:56 +00:00
Warner Losh
ec68b202e5 o Add T-POWER flash
Submitted by: Michael Johansson <micke@nevermind.net>

o Sony PCWA-C100 WaveLAN card
Submitted by: "Jeremiah Gowdy" <jgowdy@home.com>

o Corega KK Wireless LAN PCCA-11 (version b?)
Submitted by: Masahide *MAC* Noda <mac@clave.gr.jp>
2002-01-10 18:53:00 +00:00
Joerg Wunsch
cd85c8e853 Add a commented-out alternative for the ether line of a DIGITIAL
DEPCM-BA card, as found on my rev. C01 card.

MFC after:	1 week
2002-01-08 22:32:00 +00:00
Andrey A. Chernov
0fd0b9d205 Add forgotten alias for ru_SU.ISO8859-5 2002-01-08 19:07:03 +00:00
Alexey Zelkin
3b9da4da83 Add ru_SU locale aliases for nls area also 2002-01-08 17:23:03 +00:00
Alexey Zelkin
e223285d41 Actually make aliases for ru_SU locales. 2002-01-08 15:30:56 +00:00
Andrey A. Chernov
ac6739777e Add ro_RO
PR:		33343
Submitted by:	Adrian Penisoara <ady@warpnet.ro>
2002-01-08 15:06:42 +00:00
Andrey A. Chernov
71cf7468b2 ISO 8859-1 -> ISO 8859-5 for ru_* 2002-01-08 15:01:48 +00:00
Alexey Zelkin
688a6139bd Correctly handle cases of deprecated locales which are supposed
to have backward compatibility symbolic links.

This code should check existence of deprecated locales and
fix them using following scheme:

. if new locale directory exisists and is a symlink -- remove it
. if old locale directory exists and not a symlink -- rename it to
  its new name

This should allow to mtree(1) and existing locale aliases make(1)
rules to setup locale dirs correctly (avoid self-referenced symlinks)

BTW, this commit brings in backward compatibility support for ru_SU
locales (aliased to appropriate ru_RU ones).
2002-01-08 13:42:52 +00:00
John Baldwin
64798412f9 Populate etc.sparc64:
- The disktab was taken from etc.alpha.
 - rc.sparc64 doesn't do anything right now.
 - The ttys file has all the vty's commented out since we don't know how
   those will work yet.  Also, an entry is added for the Openfirmware
   console device.

Submitted by:	jake (partially)
2002-01-07 23:53:34 +00:00
Sheldon Hearn
0604ab3465 Comment out an example that was missed on first import.
Reported by:	Jeroen Ruigrok <asmodai@wxs.nl>
2002-01-07 08:41:55 +00:00
Sheldon Hearn
b50e990dde Install nsmb.conf with mode 0600, since it may be modified to include
passwords for remote shares.

Reported by:	Andre Albsmeier <andre@albsmeier.net>
2002-01-04 13:02:51 +00:00
Andrey A. Chernov
283004853b Improve pam_unix/opie related ftpd comment even more 2002-01-02 09:51:33 +00:00
Andrey A. Chernov
2ac0b4865e Clarify comment about pam_unix fallback for ftpd 2002-01-01 13:38:01 +00:00
Andrey A. Chernov
e0d2c39d84 Turn on pam_opie.so for ftpd by default
It not affect non-OPIE users
2002-01-01 13:27:11 +00:00
Doug Ambrisko
0d6fcb5c0e Fix bugs in the structure for rx_frame by making gap length one byte and
a packed array so sizeof work.  This broke RFMON mode and passing
up 802.11 packets.

The Linux emulation code was derived from the open source Linux driver to
maintain compatibility.

LEAP support is added, hints from Richard Johnson.  I've verified this
locally with PC350v42510.img firmware.  More bug fixing from Marco to
fix long passwords.

Change DELAYs in flash part of driver to FLASH_DELAY which uses tsleep
so it doesn't look like your system died during a flash update.

Install header files in /usr/include/dev/an

Cleanup some ifmedia bugs add "Home" key mode to ifmedia and ancontrol.
This way you can manage 2 keys a little easier.  Map the home mode into
key 5.  Enhance ifconfig to dump the various configured SSIDs.  I use
a bunch of different ones and roam between them.  Use the syntax similar
to the WEP keys to deal with setting difference SSIDs.

Bump up up the Card capabilities RID since they added 2 bytes to it
in the latest firmware.  Thankfully we changed it from a terminal
failure so the card still worked but the driver whined.

Some cleanup patches from Marco Molteni.

Submitted by:	Richard Johnson <raj@cisco.com>
		Marco Molteni <molter@tin.it>
		and myself
Various checks: David Wolfskill <david@catwhisker.org>
Reviewed by:	Brooks Davis <brooks@freebsd.org>
		Warner Losh <imp@freebsd.org>
Approved by:	Brooks Davis <brooks@freebsd.org>
		Warner Losh <imp@freebsd.org>
Obtained from:	Linux emulation API's from Aironet driver.
2001-12-31 22:01:44 +00:00
Gregory Neil Shapiro
e3437797cc Grammar fix for comment 2001-12-30 04:40:18 +00:00
Sheldon Hearn
4a8eeedbb1 Don't require operators to override the list of network filesystem
types (networkfs_types) with a version that includes the original
list.

This increases the scope for user error and also means that systems with
networkfs_types set in /etc/rc.conf will not benefit from changes to the
list in /etc/defaults/rc.conf on upgrade.

Instead, store the default list in /etc/rc itself and allow the operator
to append to that list by specifying her own list in networkfs_types.

Rename networkfs_types to extra_netfs_types accordingly, as the new name
better describes the purpose of the variable.  Default the value to
'NO'.
2001-12-29 19:42:55 +00:00
Warner Losh
3b3ef3700a "10/100Base FastEthernet PC CARD" (LNA-100) from Billionton Systems Inc.
Submitted by: "Torfinn Ingolfsen" <torfinn.ingolfsen@oslo.online.no>
2001-12-29 02:15:46 +00:00
Warner Losh
73ad7cef4c Novac DVD/CD Station(Portable DVD/CD-ROM player
Submitted by: moment@pluto.dti.ne.jp
2001-12-28 03:42:41 +00:00
Warner Losh
90005a9c29 Xircom RealPort RE-10
Submitted by: Willem van Engen <wvengen@stack.nl>
2001-12-28 03:39:13 +00:00
Warner Losh
9b5032e906 Add Proxim Harmony card (from Bob)
Also fix a minor disordering of a wi card while I'm here.

Submitted by: bob bobing <this_is_my_act@yahoo.com>
2001-12-28 03:34:05 +00:00
Crist J. Clark
726acc787d Fix some leftover stray characters from expr(1)-to-$(()) sweeps.
PR:		bin/33158
Submitted by:	Adrian Filipi-Martin <adrian@ubergeeks.com>
MFC after:	1 day
2001-12-27 22:41:35 +00:00
Joerg Wunsch
9e62ce2036 Remove nonstandard floppy device nodes. Only keep the base device node,
plus the symbolic links to the fake BSD partitions.

Also remove the rfd* devices, they are neither necessary nor documented
anymore.
2001-12-27 15:03:25 +00:00
Sheldon Hearn
d7fb353a43 Re-introduce the fix that delays mounting of network filesystems until
the network is initialized.  This was first implemented in rev 1.268
of src/etc/rc, but was backed out at wollman's request.

The objection was that the right place for the fix is in mount(8).
Having looked at that problem, I find it hard to believe that
the hoops one would have to jump through can be justified by the
desire for purity alone.

Note that there are reported issues surrounding nfsclient kernel
support and mount_nfs(8), which currently make NFS an ugly exception
to the general case.

With this change, systems with non-NFS network filesystems configured
for mounting on startup in /etc/fstab are no longer guaranteed to
fail on startup.
2001-12-27 13:41:27 +00:00
Luigi Rizzo
8029d085df Remove a stale entry related to passing ARP with bridging and ipfw.
This feature has been removed since 4.1 times and it is only a source
of confusion.

Same needs to be done on -stable.

MFC after: 1 day
2001-12-27 05:40:09 +00:00
Warner Losh
76751379cc Longshire LCS-8634TB
Submitted by: "Frank W. Josellis" <josellis@dynamics.claranet.de>
2001-12-27 03:59:21 +00:00
Warner Losh
68b54634bd Some new cards:
o uncommnent joy stuff (me)
	o Add BONDWELL B236 joystick card (me)
	o Add Buffalo WLI-CF-S11G wi card (me)
	o CNF CD-m (submitted by gda)

Submitted by: Dmitry A Goncharov <gda@sani.ru>
2001-12-27 02:12:32 +00:00
Robert Watson
22e5e135e1 o Add a comment indicating that if /tmp==/var/tmp in rc.diskless2, the
md device and file system creation occurs *after* mtree is run, and
  as such an /var/tmp/* or /tmp/* entries will be under the mountpoint
  (or fail) rather than appearing in the md filesystems.  This prevents
  the creation of vi.recover, and might affect other localizations that
  rely on the mtree calls affecting these directories.
2001-12-26 17:18:39 +00:00
Robert Watson
6bbc26ef9f Remove incorrect comments about the population of /etc: no attempt is
made to copy the NFS-mounted on to /tmp/etc, instead, it is populated
entirely from /conf/default, then overriden from /conf/IP.
2001-12-26 17:00:55 +00:00
Sheldon Hearn
0e2b10ac7f Now that smbfs is fully integrated into the base system, create
/dev/nsmb* device nodes, which used to be done by the port installation.

PR:		33068
Submitted by:	Dimitry Andric <dim@xs4all.nl>
2001-12-26 15:44:06 +00:00
Alexey Zelkin
0388ec7cac Back out recent replacement of LC_MESSAGES file with directory.
Requested by:   ache
2001-12-24 11:49:49 +00:00
Alexey Zelkin
be9546c713 add LC_MESSAGES directory for uk_UA.ISO8859-5 locale 2001-12-22 06:56:12 +00:00
Alexey Zelkin
709eed76bd Slightly re-work locale messages storage scheme. Before this commit
LC_MESSAGES related data was installed to <locale>/LC_MESSAGES file.
Now it go to <locale>/LC_MESSAGES/SYS_LC_MESSAGES file. LC_MESSAGES
directory is supposed to be storage of message catalogs of userland tools.
This should allow us to avoid many potential problems with future
libintl related functionality introduction.

Thanks for useful suggestions about correct way how to replace plain
files with directories at installworld stage to: Ruslan Ermilov <ru>
2001-12-21 13:14:02 +00:00