Commit Graph

6660 Commits

Author SHA1 Message Date
ru
c07193f5e6 Obviate the need to set the COMPILER_PATH and LIBRARY_PATH in Makefile.inc1
to pick up the correct cross-tools (the compiler executables and binutils)
and special linker files (crt*.o).  This is now controlled by a single knob,
TOOLS_PREFIX, when building cross-tools.

Fixed regression in Makefile.inc1,v 1.203 (-nostdinc).  This clobbered target
architecture's CFLAGS with building host's CPUTYPE setting in /etc/make.conf,
and had a nice but nasty side effect of exposing some (normally hidden) bugs
in system headers.

(Attempt to move the "-nostdinc -I..." part of CFLAGS into the new CINCLUDES
(modeled after a similar CXXINCLUDES) eventually failed because hard-coding
${WORLDTMP}/usr/include to be the first in the include list does not always
work, e.g. lib/libbind.)

Compensate the -nostdinc removal by making cpp(1) built in the cross-tools
stage to not look for <> header files in the building host's /usr/include
(already committed as gnu/usr.bin/cc/cc_tools/freebsd-native.h, revisions
1.10-1.12, STANDARD_INCLUDE_DIR).

: $ /usr/obj/usr/src/i386/usr/bin/cpp -v /dev/null
:
: Before:
:
: #include <...> search starts here:
:  /usr/obj/usr/src/i386/usr/include
:  /usr/include
: End of search list.
:
: After:
:
: #include <...> search starts here:
:  /usr/obj/usr/src/i386/usr/include
:  /usr/obj/usr/src/i386/usr/include

(Disabling the use of GCC_INCLUDE_DIR in the FREEBSD_NATIVE case would fix
the duplicate above.)

Get rid of the (now unneeded) -I${DESTDIR}/usr/include magic in bsd.prog.mk
and bsd.lib.mk.  Finish the removal of LDDESTDIR in bsd.lib.mk,v 1.55 -- we
no longer have users of it.

The required changes to gcc were already committed as contrib/gcc.295/gcc.c,
revisions 1.23 and 1.24.

Basically, this allows for the changes above plus makes gcc(1) persistent
about path configuration, whether it's configured as a native or a cross
compiler:

: $ /usr/obj/usr/src/i386/usr/bin/cc -print-search-dirs
: install: /usr/obj/usr/src/i386/usr/libexec/(null)
: programs: /usr/obj/usr/src/i386/usr/libexec/elf/:/usr/obj/usr/src/i386/usr/libexec/
: libraries: /usr/obj/usr/src/i386/usr/lib/
:
: $ /usr/obj/alpha/usr/src/i386/usr/bin/cc -print-search-dirs
: install: /usr/obj/alpha/usr/src/i386/usr/libexec/(null)
: programs: /usr/obj/alpha/usr/src/i386/usr/libexec/elf/:/usr/obj/alpha/usr/src/i386/usr/libexec/
: libraries: /usr/obj/alpha/usr/src/i386/usr/lib/

Reviewed by:	bde, obrien
2002-02-21 10:23:41 +00:00
brian
cc848431d5 Document NGM_PPPOE_ACNAME. 2002-02-20 15:55:02 +00:00
cjc
5eebfcea9b There is no reason to demand the administrator set 'natd_interface'
when running natd(8) out of the rc-files. It is perfectly valid for
the interface or alias address to be set in a natd(8) configuration
file, not on the command line. Also, loosen up the restrictions on
identifying an IP address argument in 'natd_interface.'

Fix the documentation, rc.conf(5), to reflect this change.

Take the bogus default for 'natd_interface' out of /etc/defaults/rc.conf.

MFC after:	3 days
2002-02-20 10:31:01 +00:00
phantom
277d84139d Switch national currencies to Euro 2002-02-19 18:38:04 +00:00
sobomax
dc86e4f972 Fix typo.
Approved by:	phk
2002-02-18 16:22:23 +00:00
phk
cf75bd0d98 The DEVFS paper presented at BSDcon-euro 2001 and BSDcon-2002. 2002-02-18 09:48:59 +00:00
luigi
787c99785b Remove a blank line. 2002-02-18 01:59:40 +00:00
luigi
646766ec9d Manpage update: comment existing functionalities and give
more detailed examples on how to use them.
Undocument deprecated functionalities which are going to be
removed soon.
2002-02-18 01:57:56 +00:00
rwatson
22639d6350 Two license updates. 2002-02-18 01:28:01 +00:00
rwatson
083d6205a4 Language clarification: s/an or/a/ 2002-02-18 00:21:05 +00:00
rwatson
036c50779e Clarify word choice: s/those users/users/, since there is no previous
instance of 'users' to refer to.
2002-02-18 00:20:12 +00:00
gshapiro
f9b416a6c3 Add infrastructure for sendmail 8.12. If users are not starting a daemon
at boot (sendmail_enable=NO), a localhost-only daemon may started
(sendmail_submit_enable) as it is needed to accept mail from command line
submissions.  If this isn't desired, see etc/mail/README for more hints.

Optionally (sendmail_msp_queue_enable) start a queue runner for the
submission queue in case a daemon isn't available to accept command line
submitted mail at submission time.

Note that the syslog labels for all of these sendmail processes have been
uniquified for easier log parsing.
2002-02-17 22:19:14 +00:00
gshapiro
d24065825e Document new build knob, SENDMAIL_SET_USER_ID, which installs sendmail as a
set-user-ID root binary instead of the new method (set-group-ID smmsp).
2002-02-17 22:10:06 +00:00
gshapiro
ecfa0fa256 Add two new libraries which are part of sendmail 8.12. libsm is used only
for building sendmail and the associated utilities.  libmilter is a new
mail filtering API for sendmail.
2002-02-17 22:01:40 +00:00
jhay
a6fbc8577e Add the puc (PCI "Universal" Communications) driver. The idea and some of
the structure definitions come from NetBSD to make it easier to share card
definitions. The driver only acts as a shim between the pci bus and the
sio driver. Later pci parallel ports could also be supported through this
driver. Support for most single and multiport pci serial cards should be
as simple as adding its definition to pucdata.c

Tested with the following pci cards:
Moxa Industio CP-114, 4 port RS-232,RS-422/485
Syba Tech Ltd. PCI-4S2P-550-ECP, 4 port RS-232 + 2 parallel ports
Netmos NM9835 PCI-2S-550, 2 port RS-232
2002-02-16 15:12:14 +00:00
luigi
20e1b517e9 new entry for polling manpage
(wonder why the process cannot be made automatic...)
2002-02-15 08:36:06 +00:00
luigi
67258c8655 Add a manpage for DEVICE_POLLING 2002-02-15 08:34:33 +00:00
luigi
0df6a3f7a6 Update manpage to reflect reality. 2002-02-15 07:47:39 +00:00
pdeuskar
59699901cf - Added support for receive in multiple
descriptors. This simplifies code for jumbo frames.
- Cleaned up coding conventions to make code more unix-like.
- Cleaned up code in if_em_fxhw.c and if_em_phy.c.
  Added relevant comments.

MFC after:	1 week
2002-02-13 18:19:27 +00:00
phantom
c34beebab2 Correct comment: mklocale(1) and NLS are absolutely independent 2002-02-13 18:18:13 +00:00
phantom
5c80afff62 Correct NLSOWN and NLSGRP values. 2002-02-13 18:16:34 +00:00
phantom
34c0145ee3 Unbreak nl_BE locales
Found by: tools/diag/localeck
2002-02-12 18:40:57 +00:00
phantom
c8ecb73bb6 Unbreak fr_BE locale
Found by: tools/diag/localeck
2002-02-12 18:23:21 +00:00
phantom
5b9c5786a7 Unbreak it_CH locale
Found by: tools/diag/localeck
2002-02-12 18:04:15 +00:00
phantom
2e1850c463 Unbreak fr_CH locale
Found by: tools/diag/localeck
2002-02-12 17:51:48 +00:00
obrien
63a6430f4a Document NO_CXX and NO_GDB. 2002-02-11 07:09:22 +00:00
dd
b7924cd5f6 The routine is dev_depends(); consistently spell it that way.
PR:		34047
Submitted by:	Maxime Henrion <mux@sneakerz.org>
Pointy hat to:	dd
2002-02-11 01:21:29 +00:00
rwatson
2ed6038a0d Reinforce locking requirement for VOP_REVOKE: the lock must not be held.
Discussed with:	phk
2002-02-10 20:48:22 +00:00
rwatson
223f1b85f2 Revert 1.14: VOP_GETATTR() really does require a vnode lock.
Confirmed by:	mckusick
2002-02-10 19:28:34 +00:00
dd
95edd69eb2 memrange.h is in sys/.
PR:		34460
Submitted by:	Bruce Dang <bruce@research.teamxor.org>, roam
2002-02-10 08:52:25 +00:00
markm
efab01cf5e Don't hardcode paths. This is generally silly, and in this case
breaks custom installworlds.

Pointed out by:	bde
2002-02-08 21:28:07 +00:00
sheldonh
24237a3039 Regen. 2002-02-08 11:04:50 +00:00
green
498f9c3a6e Correct copyright. 2002-02-07 19:07:36 +00:00
markm
caff7678a7 Allow local tweaks when messing with manpages. 2002-02-06 21:58:30 +00:00
markm
d383aa9b57 CURRENT-tyyle updates. This document was (is?) in the dark ages. 2002-02-06 21:42:58 +00:00
markm
2dc342bfcc Document entropy device bits. 2002-02-06 21:38:20 +00:00
ru
1dfb704dfa Neither .depend nor ${DEPENDFILE} depend on _SUBDIR.
(One step closer to _SUBDIR <-> _SUBDIRUSE merge.)
2002-02-06 18:08:31 +00:00
ru
47024dbb64 Back out revision 1.23 (SUBDIR_CHANGE).
Not objected to by:	bde, eivind
2002-02-06 18:05:53 +00:00
joe
39b59a2a20 Update the physio man page to better reflect reality.
PR:		docs/30603
Reviewed by:	phk
MFC after:	3 days
2002-02-05 21:32:57 +00:00
green
9eaa74ab48 Add a manpage for VOP_REVOKE(9).
Sponsored by:	DARPA, NAI Labs
2002-02-05 16:08:49 +00:00
green
3817bdcf3d Document that VOP_GETATTR(9) does not actually expect to hold an
exclusive lock on entry.

Sponsored by:	DARPA, NAI Labs
2002-02-05 15:26:28 +00:00
wollman
fab0366152 Two updates from ISO 639-2/RA Change Notice, dated 2001-08-13 and
2001-09-24.

Obtained from:	ISO 639-2/RA, <http://lcweb.loc.gov/standards/iso639-2/>
MFC after:	1 day
2002-02-04 17:35:33 +00:00
wollman
06c0eb5809 Update alpha-3 code for Romania.
PR:		34608
Submitted by:	Laurent Wacrenier <lwa@victor.teaser.fr>
Obtained from:	ISO 3166/MA Newsletter V-3
MFC after:	1 day
2002-02-04 17:29:14 +00:00
imp
821a3b87a6 Note new status of __P. Don't use it.
Reviewed by: arch@, mckusick (in principle)
2002-02-01 01:26:24 +00:00
obrien
c8e982cc6f There is no need to wrap vendor id bits with '#if 0' if they come pre-wrapped. 2002-02-01 01:17:22 +00:00
bde
d705353edb Modified the rules for vendor ids:
- explictly say not to edit infrastructure for vendor ids (not just the
  ids).
- say to enclose vendor ids and their infrastucture in ``#if 0'', and
  partly explain why.
- don't set a bad example by mangling the Berkeley id infrastructure from
  ``static char sccsid[] ...'' to ``__RCSID(...)''.
- show a blank line between the vendor id cruft and the FreeeBSD if cruft
  in the example.
- relaxed the rule about adding "From: " to say that "From: " is actually
  useful if the file has been renamed.
- minor English improvements.

Discussed with:	obrien
2002-01-31 13:26:29 +00:00
joe
6a04ef4062 Update some release dates.
PR:		misc/34432
2002-01-30 13:23:16 +00:00
cjc
b3b56d609a Put a complete set of pppd(8) sample configuration files in
/usr/share/examples/pppd.

Update pppd(8) documentation to reflect this, usr.sbin/pppd/pppd.8.

Remove the out-of-place pppd(8) configuration files in etc/ppp,
ppp.shells.sample and ppp.deny.

Make the appropriate changes to the build process, etc/Makefile and
etc/mtree/BSD.usr.mtree, so it all works.

The files from etc/ppp, ppp.shells.sample and ppp.deny, were moved
with a repo copy. Note it in the logs with a forced commit to these
two.

Submitted by:	Maxim Konovalov <maxim@macomnet.ru> provided the new samples.
2002-01-29 00:23:35 +00:00
grog
05ab079c69 Remove references to raw devices.
Submitted by:	mbr
Approved by:	re
2002-01-28 04:26:29 +00:00
joe
3311f87be6 Merge from NetBSD.
uhub.c:     revision 1.37
    usb.4:      revision 1.30
    usb.c:      revision 1.38
    usb.h:      revision 1.40
    usb_port.h: revision 1.21
    usb_subr.c: revision 1.65
    usbdi.h:    revision 1.40

Split the attach/detach events up into device, driver and controller
attach and detach events.

The commit message from NetBSD was:
        date: 2000/02/02 07:34:00;  author: augustss;  state: Exp;
        Change the USB event mechanism to include more information
        about devices and drivers.  Partly from FreeBSD.

Also rework usbd to take these new event types into account.
2002-01-28 01:03:19 +00:00