Commit Graph

3766 Commits

Author SHA1 Message Date
gshapiro
41d5f8e778 Turn SENDMAIL_CF_DIR into an officially supported make.conf variable
and use it in src/etc/sendmail/Makefile in case the user wants to use
a different path to the sendmail m4 sources (e.g., sendmail port users).

Submitted by:	dinoex
MFC after:	21 days
X-MFC after:	RELENG_4 code freeze ends
2003-09-24 04:19:26 +00:00
imp
f5c1115af9 A new proxim harmony oem card spotted in the field.
Submitted by: Jeremy Bingham
2003-09-20 05:21:58 +00:00
markm
1259c058f5 Remove excess paranoia. There is no need to chech for the crypto/ dir
any more, and this check has been removed elsewhere.
2003-09-18 16:35:43 +00:00
dougb
0b6b93aa39 Add a default setting of NO for the gbde auto attach script, and
document the options.
2003-09-18 09:59:37 +00:00
dougb
a70f10cc43 Fix typo, tdp -> tcp
PR:		conf/56939
Submitted by:	Alain Kalker <miki@dds.nl>
2003-09-18 09:21:09 +00:00
obrien
6b63ecb645 Microsoft Remote Desktop Protocol uses 3389/tcp. 2003-09-16 23:17:43 +00:00
mbr
47ee1f2b25 Get rid of a nasty error message that tells us
dhclient couldn't get killed.

If we execute 'dhclient -r', dhclient gets already
killed, so there is no need to do it twice. Only do
this if we really have to release some leases.

Reviewed by:	silence on freebsd-rc@yahoogroups.com
2003-09-16 02:56:13 +00:00
mbr
ffbff2b152 Release a previous lease if there is any, instead of
just killing dhclient. Needed my some broken dhcpd
implementations to be able to get a lease again.
2003-09-15 18:27:38 +00:00
nectar
0fac9a8fc2 Add `-C 60' to the default flags for inetd, so that it is less
vulnerable to run-of-the-mill DoS attacks in the default installation.
2003-09-15 16:44:24 +00:00
jake
eb915f6350 Changed the ttyd entries to ttyu, which correspond to the device nodes
created by uart(4).
2003-09-11 00:14:17 +00:00
imp
836a2d2de9 add ELSA Vianect WLAN (Marco Wertejuk)
benq awl100 (David Leemans)

ObTerminalRoomCommit: done!
2003-09-10 01:14:07 +00:00
wpaul
8726ff9142 Add a device driver for the Broadcom BCM4401 ethernet controller,
written by Stuart Walsh and Duncan Barclay (with some kibbitzing by
me). I'm checking it in on Stuart's behalf.

The BCM4401 is built into several x86 laptop and desktop systems. For the
moment, I have only enabled it in the x86 kernel config because although
it's a PCI device, I haven't heard of any standalone NICs that use it. If
somebody knows of one, we can easily add it to the other arches.

This driver uses register/structure data gleaned from the Linux
driver released by Broadcom, but does not contain any of the code
from the Linux driver itself. It uses busdma.
2003-09-09 18:17:23 +00:00
yar
71999691a2 Update the explanation of parity capabilities
to bring it into accord with the present getty(8) code.

PR:		bin/56325
MFC after:	3 days
2003-09-09 15:37:19 +00:00
wpaul
6e83fdfd29 Fix PATH: directive in sys/modules/re/Makefile, and add the re(4) driver to
devd.conf.

Pointed out by: Larry Rosenman
2003-09-08 03:24:29 +00:00
marcel
8803f744ed Replace the ttyd[0-3] entries with ttyu[0-3]. The former are the
device special files created by sio(4). The latter are the device
special files created by uart(4). As of this moment sio(4) is not
supported on ia64... by me, that is :-)
2003-09-07 06:02:36 +00:00
gshapiro
1d4c1e93ca Build the submit.cf file instead of installing the version that ships
with the vendor sendmail distribution.  By doing so, we avoid mergemaster
warnings after every 'make' in /etc/mail/.

Reported by:	Jeremy Chadwick <koitsu@parodius.com>
MFC after:	3 days
X-MFC after:	and re approval
2003-09-01 03:40:33 +00:00
mtm
9d5c2d8941 Remove deprecated files no longer neccesary as part of rc.d. Include
a note in UPDATING about removing them from current installations.
2003-08-29 13:25:08 +00:00
mtm
692dbba592 Enhance the jail start/stop script.
o The following additional configuration attributes of a jail can be
  controlled from rc.conf:
	- mounting devfs(5)
	- mounting fdescfs(5)
	- mounting procfs(5)
	- custom devfs(8) ruleset
	  If no ruleset is specified, the default jail ruleset is used.

o The output of executing /etc/rc in the jail is now redirected
  to /dev/null. Instead, the hostname of the jail is echoed if
  the jail(8) command exited successfully. If the output is wanted
  it can probably be redirected to a file (/var/run/$jail maybe)
  instead of /dev/null.

Submitted by:	Scot W. Hetzel <hetzels@westbend.net>
		with modifications by Jens Rehsack <rehsack@liwing.de>
		and me.
2003-08-24 06:29:32 +00:00
mtm
7570796bf4 o Do not keep a separate list of src/etc/defaults files in
the src/etc makefile. This list was used to manually
  install the files from src/etc. Instead, simply change
  directory and 'make install'.
o There is no reason for the files in src/etc/defaults to
  be installed as writeable.

Reviewed by:	ru
2003-08-24 03:24:54 +00:00
imp
132ab7696d Remove workaround that I had in place. devd didn't use to be able to
handle the empty section, but it has been able to do so for some time
now.
2003-08-22 02:18:01 +00:00
mtm
c55b7f0fea o Reduce rc(8) startup clutter by turning the informational messages
off by default.
o Apparently the routine displaying the informational messages wasn't
  checking its knob in rc.conf, so fix that as well.

Requested by:	obrien
2003-08-20 06:50:34 +00:00
mtm
efaedfde92 Add a general mechanism for creating and applying
devfs(8) rules in rc(8). It is most useful for applying
rules to devfs(5) mount points in /dev or inside jails.
The following line of script is sufficient to
mount a relatively useful+secure devfs(5) in a jail:

	devfs_mount_jail /some/jail/dev

Some new shell routines available to scripts that source
rc.subr(5):
	o devfs_link		- Makes it a little easier to create symlinks
	o devfs_init_rulesets	- Create devfs(8) rulesets from devfs.rules
	o devfs_set_ruleset	- Set a ruleset to a devfs(5) mount
	o devfs_apply_ruleset	- Apply a ruleset to a devfs(5) mount
	o devfs_domount		- Mount devfs(5) and apply some ruleset
	o devfs_mount_jail	- Mount devfs(5) and apply a ruleset
				  appropriate to jails.

Additional rulesets can be specified in /etc/devfs.rules.
If the devfs_system_ruleset variable is defined in rc.conf
and it contains the name of a ruleset defined in /etc/defaults/devfs.rules
or user supplied rulesets in /etc/devfs.rules then that ruleset will
be applied to /dev at startup by the /etc/rc.d/devfs script. It can
also be applied post-startup:

	/etc/rc.d/devfs start

This is a more flexible mechanism than the previous method of using
/etc/devfs.conf. However, that method is still available.

Note: since devfs(8) doesn't provide any way for creating symlinks
as part of a ruleset, anyone wishing to create symlinks in a devfs(5)
as part of the bootup sequence will still have to rely on /etc/devfs.conf.
2003-08-20 06:15:18 +00:00
kuriyama
32e7b39603 Quote $jail_exec with double-quote to avoid "[: unexpected operator". 2003-08-19 03:49:30 +00:00
obrien
8e1b5e2f68 include <bsd.own.mk> to get BIN{OWN,GRP} 2003-08-18 15:33:08 +00:00
obrien
45ff602e39 Don't hardcode owner 'root' and group 'wheel'.
Submitted by:	Ulrich Spoerlein <q@uni.de>
2003-08-18 00:36:31 +00:00
gordon
71d884aea9 Prepend /lib to the search order for libraries. 2003-08-17 07:49:11 +00:00
gordon
13bc1e87a6 Add /lib and /libexec directories. These are part of the dynamic root
support.
2003-08-17 07:48:09 +00:00
harti
4ce5e11b13 Now that routes for IP over ATM may look much more complex than before,
use the atmconfig(8) utility instead of route(8) to install those routes.
For this we need a new rc.conf variable natm_static_routes that works
just like static_routes except that the referenced routes use the syntax
of atmconfig(8).

Okay'ed by:	mtm
2003-08-14 15:27:32 +00:00
mbr
1c212393d2 Move the stop_dhcp in start_dhcp again before the
delay. It seems that dhclient really needs the time
to get killed.
2003-08-12 22:44:48 +00:00
mbr
52eb7192f0 Remove the dhclient.${interface}.pid defines. They are now
obsolete. A working dhclient with OMAPI will also not need
this.
2003-08-12 22:27:08 +00:00
mbr
bf109acf47 Make this working with two or more pccards and with more than
one internal device. Don't call the startup procedure again if
we already use start.

Support a manually started dhclient and keep its configured
interfaces after pccard removal.

Make pccard_ether working in single-user mode without /usr mounted.
2003-08-12 20:22:44 +00:00
mbr
6d49b37ca6 Fix typo 2003-08-12 15:15:34 +00:00
harti
73f3c9e057 Create a directory for ATM documentation and help files. 2003-08-12 14:26:57 +00:00
mbr
49004ce670 Improve the handling dhcp handling of pccard_ether.
There are now many configurations which have a NIC on board, and
pccard slots. If a dhclient is running on the internal nic, the
Improve the handling dhcp handling of pccard_ether.

Improve the dhcp handling of pccard_ether.

There are now many configurations which have a NIC on board and
Improve the dhcp handling of pccard_ether.

There are now many configurations which have a NIC on board and
cardbus slots too. If a dhclient was already running on the internal
NIC, the user was forced to kill a running dhclient manually.

If now a pccard is included at startup time, /etc/rc.d/dhclient
start does include it into the startup list for dhcp devices.
That means you can now do dhcp on the internal and the pccard devices
at the same time. If the card is plugged in later, a running dhclient
(working for the internal interface only) is killed, and restarted,
but the interface name of the new pccard is added to the internal
name. After removal, /etc/rc.d/dhclient is started again. This
script does nothing if there are no devices in /etc/rc.conf

This is only a workaround for a well known problem. After we have
a dhcp client which handles device adding and removal, it will go
away.
2003-08-11 20:32:00 +00:00
gshapiro
feeb50cd62 Revert revision 1.25 now that mergemaster does a 'make all' to build
the required .cf file(s).

Submitted by:	ru
X-MFC after:	mergemaster MFC
2003-08-10 20:48:59 +00:00
ume
503b6d63cf add rtsol_flags.
MFC after:	1 week
2003-08-08 17:43:58 +00:00
ache
fe01f02bf4 Add ko_KR.CP949 locale
PR:             55341
submitted by:   Hye-Shik Chang <perky@freebsd.org>
2003-08-08 13:43:49 +00:00
fjoe
a4a02409fe Correct typo in Matt's name. 2003-08-07 21:06:32 +00:00
fjoe
72dbcd633e Fix typo in comments:
/etc/syslogd.conf -> /etc/syslog.conf

MFC after:	3 days
2003-08-07 21:04:40 +00:00
imp
e192817f2b Add entries for NETGEAR MA401RA, IO DATA PCET10CL and Panasonic KXL-CB10AN.
Appologies to: those that submitted these to me.
2003-08-07 04:38:01 +00:00
dcs
13910dd2d8 RFC 3561 (ad-hoc on-demand distance vector routing) was ratified
and the ports assigned by IANA.

PR:		conf/55125
Submitted by:	Bruce M Simpson <bms@spc.org>
MFC after:	2 days
2003-08-06 18:15:10 +00:00
mtm
1f447404af Rename localdaemons to localpkg.
The original name was really a mistake since
/usr/local/etc/rc.d scripts can (and usually do) start
more than just daemons. Even the output in the script
uses 'local packages.' Also, the term 'local daemons' is
used by rc.d/local, which was etc/rc.local of rcOG fame.
No repo-copy because there isn't much history to save.
I will remove localdaemons shortly with all the other
files that don't belong in rc.d anymore.

Discussed with:	dougb, freebsd-rc@yahoogroups.com
2003-08-06 00:35:13 +00:00
mtm
b572ce03ff Support for the Amharic locale. 2003-08-05 05:42:08 +00:00
mtm
d470695abd Apply some sort of order to the FILES list. 2003-07-30 20:05:20 +00:00
mtm
cc05365975 Add two files (early.sh and gbde) that previously were not
hooked up to the build.
2003-07-30 19:53:40 +00:00
mtm
d5fa743afb tty whacking should occur early, but not so early that the
required commands are not on a mounted file system.

Noticed by: bde
2003-07-30 18:53:59 +00:00
ache
3ba64ffc26 Add GB18030 dirs
PR:             51729
Submitted by:   Kang Liu <liukang@bjpu.edu.cn>
2003-07-29 08:02:26 +00:00
harti
b943fbe285 Convert the atm{2,3}.sh rc scripts to normal rc.d scripts. Add support
for the harp(4) pseudo driver and for loadable native HARP drivers
(like hfa_pci).

To use harp(4) the rc variable natm_interfaces must be set to the
list of NATM interfaces to be used for HARP. These interfaces
will be brought up with ifconfig and the harp(4) will be loaded.

To use loadable native HARP drivers atm_load must be set to
the list of drivers to load.

Reviewed by:	mtm, gordon (partly)
2003-07-28 13:30:42 +00:00
mbr
66c81cf73b Change the default for background_dhclient back to NO. It can
cause to much troubles with applications.
2003-07-28 13:09:00 +00:00
mbr
94903d4253 Always start dhclient in the background.
Reviewed by:	mtm
2003-07-28 08:15:52 +00:00