Commit Graph

6636 Commits

Author SHA1 Message Date
Ruslan Ermilov
ea5c0da93b 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 Somers
637612f07a Document NGM_PPPOE_ACNAME. 2002-02-20 15:55:02 +00:00
Crist J. Clark
29c0f078e2 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
Alexey Zelkin
4064e3c5b3 Switch national currencies to Euro 2002-02-19 18:38:04 +00:00
Maxim Sobolev
90a5520170 Fix typo.
Approved by:	phk
2002-02-18 16:22:23 +00:00
Poul-Henning Kamp
f8fc629c0f The DEVFS paper presented at BSDcon-euro 2001 and BSDcon-2002. 2002-02-18 09:48:59 +00:00
Luigi Rizzo
caacfd9a33 Remove a blank line. 2002-02-18 01:59:40 +00:00
Luigi Rizzo
c90e28a7a1 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
Robert Watson
aa5ff764fa Two license updates. 2002-02-18 01:28:01 +00:00
Robert Watson
2f2f40f261 Language clarification: s/an or/a/ 2002-02-18 00:21:05 +00:00
Robert Watson
992e463887 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
Gregory Neil Shapiro
feb15b97ab 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
Gregory Neil Shapiro
474c81fdd8 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
Gregory Neil Shapiro
850dab1773 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
John Hay
9c564b6c92 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 Rizzo
235b52974f new entry for polling manpage
(wonder why the process cannot be made automatic...)
2002-02-15 08:36:06 +00:00
Luigi Rizzo
2b930ff963 Add a manpage for DEVICE_POLLING 2002-02-15 08:34:33 +00:00
Luigi Rizzo
af33f26465 Update manpage to reflect reality. 2002-02-15 07:47:39 +00:00
Prafulla Deuskar
a59716d2d8 - 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
Alexey Zelkin
8e748d82e4 Correct comment: mklocale(1) and NLS are absolutely independent 2002-02-13 18:18:13 +00:00
Alexey Zelkin
7778ad4917 Correct NLSOWN and NLSGRP values. 2002-02-13 18:16:34 +00:00
Alexey Zelkin
0b5791ef26 Unbreak nl_BE locales
Found by: tools/diag/localeck
2002-02-12 18:40:57 +00:00
Alexey Zelkin
9fa950f1b5 Unbreak fr_BE locale
Found by: tools/diag/localeck
2002-02-12 18:23:21 +00:00
Alexey Zelkin
391140a1b7 Unbreak it_CH locale
Found by: tools/diag/localeck
2002-02-12 18:04:15 +00:00
Alexey Zelkin
02ccbdf67a Unbreak fr_CH locale
Found by: tools/diag/localeck
2002-02-12 17:51:48 +00:00
David E. O'Brien
5af956e9f8 Document NO_CXX and NO_GDB. 2002-02-11 07:09:22 +00:00
Dima Dorfman
44c63b6447 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
Robert Watson
8466e2ba43 Reinforce locking requirement for VOP_REVOKE: the lock must not be held.
Discussed with:	phk
2002-02-10 20:48:22 +00:00
Robert Watson
b3b414b604 Revert 1.14: VOP_GETATTR() really does require a vnode lock.
Confirmed by:	mckusick
2002-02-10 19:28:34 +00:00
Dima Dorfman
2f47d083f2 memrange.h is in sys/.
PR:		34460
Submitted by:	Bruce Dang <bruce@research.teamxor.org>, roam
2002-02-10 08:52:25 +00:00
Mark Murray
2bbc414f52 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
Sheldon Hearn
7363ab54c1 Regen. 2002-02-08 11:04:50 +00:00
Brian Feldman
c3c2d89da9 Correct copyright. 2002-02-07 19:07:36 +00:00
Mark Murray
de29c3cfb5 Allow local tweaks when messing with manpages. 2002-02-06 21:58:30 +00:00
Mark Murray
04e3890675 CURRENT-tyyle updates. This document was (is?) in the dark ages. 2002-02-06 21:42:58 +00:00
Mark Murray
be6b96ea0b Document entropy device bits. 2002-02-06 21:38:20 +00:00
Ruslan Ermilov
539eb783d3 Neither .depend nor ${DEPENDFILE} depend on _SUBDIR.
(One step closer to _SUBDIR <-> _SUBDIRUSE merge.)
2002-02-06 18:08:31 +00:00
Ruslan Ermilov
115a409ec8 Back out revision 1.23 (SUBDIR_CHANGE).
Not objected to by:	bde, eivind
2002-02-06 18:05:53 +00:00
Josef Karthauser
e105123179 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
Brian Feldman
a15fa068ab Add a manpage for VOP_REVOKE(9).
Sponsored by:	DARPA, NAI Labs
2002-02-05 16:08:49 +00:00
Brian Feldman
6dad2ea974 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
Garrett Wollman
155d7b1529 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
Garrett Wollman
607252e1de 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
Warner Losh
3bd49456b1 Note new status of __P. Don't use it.
Reviewed by: arch@, mckusick (in principle)
2002-02-01 01:26:24 +00:00
David E. O'Brien
1bb7d81107 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
Bruce Evans
96cb532cb8 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
Josef Karthauser
3fa2337c41 Update some release dates.
PR:		misc/34432
2002-01-30 13:23:16 +00:00
Crist J. Clark
76f10508d4 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
Greg Lehey
984d1cc755 Remove references to raw devices.
Submitted by:	mbr
Approved by:	re
2002-01-28 04:26:29 +00:00
Josef Karthauser
a07e9d4af3 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