Commit Graph

5793 Commits

Author SHA1 Message Date
dirk
9fbad51d2a Fix .Xr sd -> da. 2001-03-25 11:57:25 +00:00
asami
9a4702fb59 Add new categories science and ukrainian. 2001-03-24 21:52:25 +00:00
alex
465f853f3d Sort includes and remove bogus typedef of modeventhand_t, since this
isn't used in the example any more.

Pointed out by:		bde
2001-03-24 12:18:45 +00:00
alex
058bb29044 - DECLARE_MODULE needs SYSINIT -> include sys/kernel.h
- modeventhand_t declares a pointer to a function, so it can't be
  used as a forward declaration (d'oh!)

Submitted by:	Harti Brandt <brandt@fokus.gmd.de>
2001-03-23 14:05:05 +00:00
ache
c77faf44be Since ctime compatibility restrictions removed, use more natural date formats 2001-03-22 11:39:11 +00:00
ache
9dca49adf4 Add padding for some short names to make their length the same to not
break colums
2001-03-21 23:24:41 +00:00
ache
3000cdc34b Remove fixed length restrictions and padding 2001-03-21 22:54:44 +00:00
ache
d53420a159 Replace %y with %Y 2001-03-21 13:55:09 +00:00
kris
4c4460ea2d Pentium II's do not support SSE, that came in with the PIII
Submitted by:	sf
2001-03-21 08:29:39 +00:00
des
2ce61f7c6b List libfetch.
Submitted by:	bde
2001-03-20 20:21:08 +00:00
ru
644a2f5459 If the MANSECT variable is specified, it will override the default
manual section.  If, for example, MANSECT is set to 8, the default
MAN1=${PROG}.1 feature of bsd.prog.mk becomes MAN8=${PROG}.8.
Useful for games, libexec, sbin and usr.sbin subtrees.

Reviewed by:	bde
2001-03-20 18:06:09 +00:00
jedgar
3635402b38 Add LIBPOSIX1E 2001-03-20 02:52:56 +00:00
des
097a9d6bae Axe TCP_RESTRICT_RST. It was never a particularly good idea except for a few
very specific scenarios, and now that we have had net.inet.tcp.blackhole for
quite some time there is really no reason to use it any more.

(second of three commits)
2001-03-19 22:07:32 +00:00
rwatson
5a276e4bc8 o Rename "namespace" argument to "attrnamespace" as namespace is a C++
reserved word

Submitted by:	jkh
Obtained from:	TrustedBSD Project
2001-03-19 05:53:39 +00:00
alex
267099bf5a Fix typo: s/DRIVERMODULE/DRIVER_MODULE/
PR:		25901
Submitted by:	Maxime Henrion <mux@qualys.com>
2001-03-18 16:54:39 +00:00
ache
3ddba0be30 Convert to new locale format with md_order and without E[Ff]_fmt
Add ampm_fmt to all locales
2001-03-18 12:17:46 +00:00
ache
fb0aecad73 Don't link et_EE with 8859-1 2001-03-17 21:02:17 +00:00
rwatson
6235bd69f9 o The revenge of the mdoc(7) police:
- These pages abused Ar macro (they should have used Fa).
   - NULL and other numeric constants should be marked with Dv.
   - VOP_* in the ERRORS section for the EOPNOTSUPP entry should be marked
     with Fn.

Submitted by:	ru
2001-03-16 17:42:38 +00:00
rwatson
d69289c4bf o The mdoc(7) police strike with avengance:
- These pages abused Ar macro (they should have used Fa).
   - NULL constant should be marked with Dv.
   - VOP_* in the ERRORS section for the EOPNOTSUPP entry should be marked
     with Fn.

Submitted by:	ru
2001-03-16 15:02:30 +00:00
ru
dfe904214e mdoc(7) police: empty lines outside displays cause warnings in -mdocNG. 2001-03-16 13:50:50 +00:00
ru
d724309cca mdoc(7) police: apply formatting fixes to rev 1.14. 2001-03-16 13:38:49 +00:00
ache
99816e10f7 Add et_EE 2001-03-16 12:33:50 +00:00
ache
2053b3434b Make empty unused am/pm 2001-03-16 12:29:09 +00:00
ache
f93abd609e Add et_EE
PR:		25495
Submitted by:	Vallo Kallaste <vallo@matti.ee>
2001-03-16 12:27:20 +00:00
ache
860ac811f8 Add et_EE
PR:		25495
Submitted by:	Vallo Kallaste <vallo@matti.ee>
2001-03-16 12:21:11 +00:00
ache
c00f76621e Add et_EE
PR:		25495
Submitted by:	Vallo Kallaste <vallo@matti.ee>
2001-03-16 12:11:30 +00:00
ache
31636be375 Part of DIS_8859-15 -> ISO_8859-15 rename 2001-03-16 07:36:53 +00:00
ache
d5d29ffc42 DIS_8859-15 -> ISO_8859-15 rename 2001-03-16 07:31:55 +00:00
dd
e1f64013d1 /modules -> /boot/kernel
PR:		25053
Approved by:	nik
2001-03-16 02:26:48 +00:00
sos
469ebe3b82 Remove the ATA_ENABLE_ATAPI_DMA, ATA_ENABLE_WC and ATA_ENABLE_TAGS
options, add the tuneables for this purpose.
2001-03-15 15:38:57 +00:00
rwatson
29d9568ff2 o Update some of the kernel man pages associated with extended attributes
to reflect EA API change to explicit namespacing.

Obtained from:	TrustedBSD Project
2001-03-15 03:13:58 +00:00
dd
97642444ac Remove the last remnants of circle queues.
PR:		25184
Submitted by:	Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
Approved by:	nik
2001-03-15 02:08:44 +00:00
dd
3519f71ec0 /devs -> /dev
PR:		25252
Submitted by:	Christian Weisgerber <naddy@mips.inka.de>
Approved by:	nik, phk (via nik)
2001-03-15 02:06:44 +00:00
murray
045a83cd92 Add a commented out entry for compat4x
PR:		25196
Submitted by:	Chris Knight <chris@aims.com.au>
2001-03-14 11:30:57 +00:00
mjacob
a0b58bfe93 update this to be marginally closer to reality 2001-03-14 04:31:36 +00:00
ru
34101a084a .St macro cleanup:
- spell the abbreviation of 1003.1 as ``POSIX.1''
- fixed the description of -p1003.1-90; it was sold as ISO/IEC 9945-1:1990
- removed -p1003.1b; it only existed as 1003.1b-1993 (-p1003.1b-93), and
  is part of 1003.1 since 1003.1-1996.
- replaced -p1003.1g (project) with -p1003.1g-2000 (approved draft)
- changed abbreviation of -isoC from ``ISO C'' to ``ISO C89''
- removed -iso9899 alias for -isoC
- IEC was missing from some names
- added abbreviation for -susv2 (``SUSv2'')
2001-03-12 17:19:38 +00:00
ru
2833cfc211 mdoc(7) police:
removed hard sentence breaks, use Ft for function return type.
2001-03-12 10:15:03 +00:00
ru
eae0e490e3 Fixed typo. 2001-03-12 10:07:33 +00:00
ru
7b764c6a0e mdoc(7) police: misc formatting fixes. 2001-03-12 09:33:07 +00:00
ru
d3a3cdbcc9 mdoc(7) police: misc formatting fixes. 2001-03-12 09:26:32 +00:00
ru
9994a61e4a mdoc(7) police:
o  Update document date.
o  Remove hard sentence break.
o  Sort xrefs.
2001-03-12 09:14:22 +00:00
ru
8debd4d8a0 mdoc(7) police: misc formatting fixes. 2001-03-12 09:05:59 +00:00
ru
e6ec102c95 mdoc(7) police: mark C types with Vt macro. 2001-03-12 08:54:49 +00:00
kris
b38db8f922 Use CPUTYPE to add appropriate compiler flags to COPTFLAGS for kernel
builds.  This may be disabled using the NO_CPU_COPTFLAGS variable.

Reviewed by:	arch
2001-03-12 07:47:09 +00:00
assar
e79905605f change the default mode from adhoc to bss (infrastructure)
Reviewed by:	Brooks Davis <brooks@one-eyed-alien.net>
2001-03-12 06:13:39 +00:00
bp
68e03855ac Apply some grammar fixes.
Submitted by:	asmodai
2001-03-12 05:18:37 +00:00
assar
06f90766a4 change default from adhoc mode to BSS (infrastructure) 2001-03-12 04:49:50 +00:00
ache
096f4f1395 Shift+Ins - paste buffer
Shift+PrintScr - prev. screen
2001-03-11 23:41:19 +00:00
mjacob
49ab6df486 Document the make_dev_alias function. 2001-03-11 20:10:45 +00:00
alex
085bf061f4 Add a manpage for the DEV_MODULE kernel macro. 2001-03-11 17:30:08 +00:00
alex
7620114ca9 Use type of modeventhand_t for the event handler (defined in module.h).
Add a reference to module(9) for more info about the event handler.
2001-03-11 17:07:20 +00:00
alex
93f23e8292 Fix brain damage: s/CDEV_MODULE/DEV_MODULE/ 2001-03-11 16:52:17 +00:00
alex
6610a558f7 Add MODULE_DEPEND.9 and MODULE_VERSION.9 2001-03-11 14:42:38 +00:00
alex
fc8e179d62 Add a manpage for the MODULE_DEPEND macro. 2001-03-11 14:33:34 +00:00
alex
227b97706e Add a manpage for the MODULE_VERSION macro. 2001-03-11 14:33:15 +00:00
alex
22925ff281 Add calls to MODULE_VERSION and MODULE_DEPEND to the EXAMPLE. 2001-03-11 14:18:23 +00:00
alex
a8d215e3c1 Cross references between the DEVICE_*(9) manual pages. 2001-03-10 19:53:38 +00:00
alex
369d42d428 Add references to the various DEVICE_*(9) manpages, otherwise people
don't even know about these.
2001-03-10 19:42:26 +00:00
alex
af8db25151 Add DEVICE_IDENTIFY.9 2001-03-10 19:37:27 +00:00
alex
68ca2c53a3 Add a manpage for the last of the driver's functions, the identify
routine.

PR:		18654
Submitted by:	myself (reworked today)
2001-03-10 19:34:42 +00:00
alex
11a9fa5bfe Two mdoc fixes:
- .Os is used without "FreeBSD" nowadays.
- remove hard sentence breaks.
2001-03-10 19:12:46 +00:00
markm
ca954435e8 Update for /dev/random improvements. 2001-03-10 16:08:04 +00:00
sobomax
3bc6fead11 AMD K6/K6-2/Duron/Athlon CPUs support MMX too.
Missed by:	kris
2001-03-10 11:49:05 +00:00
okazaki
2d1e8b393b Fix typo.
Approved by:	tanimura
2001-03-10 10:19:38 +00:00
bp
e9b6e3c42c Add documentation for mchain API.
Reviewed by:	asmodai, ru (mbchain.9)
2001-03-10 06:10:48 +00:00
billf
7093344718 fix spelling errors, clarify comment, add $FreeBSD$ 2001-03-10 05:28:46 +00:00
gshapiro
abe73c9b5e Use the correct path to the SASL .h files as installed by the SASL port.
MFC candidate.

Submitted by:	jeh
2001-03-10 00:31:07 +00:00
phk
553d1d6989 Make md(4) and mdconfig(8) take over the role of vn(4) and vnconfig(8)
entirely as previously advertised.

md(4) adopted all assets of vn(4) some time back and has proper devfs
support and cloning abilities to boot.
2001-03-09 20:09:28 +00:00
phk
54384d998a Make md(4) more in line with reality.
NB: probably contains mdoc mistakes, feel free to fix.
2001-03-09 20:07:37 +00:00
ru
5f61f8e47f mdoc(7) police: in mdocNG, -offset and -width values without scaling
indicator are treated as strings, so "-offset 0" will set the offset
to the width of the string "0", as opposed to "no offset".

TIP: if offset is not needed, the -offset clause may be omitted.
2001-03-09 16:22:37 +00:00
alex
8080165a1b Add module.9 and DECLARE_MODULE.9 2001-03-09 14:16:46 +00:00
alex
4b52e64a12 Add a general manpage about kernel modules, similar to driver(9).
Reviewed by:	dfr, ru
2001-03-09 14:12:43 +00:00
alex
06c771f80f Add a manpage for the kernel macro DECLARE_MODULE.
Reviewed by:	dfr, ru
2001-03-09 14:11:56 +00:00
ru
5639e86bdd Make it possible to use IP_TTL and IP_TOS setsockopt(2) options
on certain types of SOCK_RAW sockets.  Also, use the ip.ttl MIB
variable instead of MAXTTL constant as the default time-to-live
value for outgoing IP packets all over the place, as we already
do this for TCP and UDP.

Reviewed by:	wollman
2001-03-09 12:22:51 +00:00
jhb
12430ff9ce Document how to compile KTR into the kernel, tweak its behavior, and
examine the event logs in ddb(4).
2001-03-09 03:43:18 +00:00
jhb
61d1517c16 Document the ithread_* API used to manage interrupt threads and their
list of handlers.
2001-03-09 03:30:20 +00:00
jhb
b1aac95920 Add 2001 to copyright. 2001-03-09 03:17:18 +00:00
jhb
4664d7c8cc - Add 2001 to copyright.
- Kthread functions return an error status, they don't set errno to an
  error status.
- Remove the BUGS section as all the bugs listed have been fixed now.
2001-03-09 03:09:30 +00:00
jhb
3d99a7c133 The 'gdb' command works on the alpha as well as the i386. 2001-03-09 03:07:53 +00:00
ru
4a425f9481 MFS: update HISTORY, synch dates. 2001-03-07 12:52:53 +00:00
ru
9178a8a38c Replace custom type of comments here too. 2001-03-07 09:26:18 +00:00
sos
bfd72934ab Update woith latest chipsets and options 2001-03-07 08:12:24 +00:00
markm
58f4338eb4 Grammar police. 2001-03-06 10:19:12 +00:00
markm
f0fcbd1ff4 Fix markup.
Submitted by:	ru
2001-03-06 10:08:36 +00:00
ru
f42631d99b mdoc(7) police: Use Vt for variable types. 2001-03-06 08:22:10 +00:00
gshapiro
9962fbbba0 Use a different example to avoid confusion 2001-03-06 02:06:02 +00:00
gshapiro
5f1f5e2203 Do not change the directory permissions for the source area, just the
install area.

Noticed by:	msmith
2001-03-06 02:01:57 +00:00
jhb
72b9c05ef5 Adjust swi.9 MLINKS to catch up to the new swi API. 2001-03-05 23:48:38 +00:00
jhb
1e5bfa2386 Catch up to the new swi API. 2001-03-05 23:47:34 +00:00
jasone
cd006e6a5c Implement shared/exclusive locks.
Reviewed by:	bmilekic, jake, jhb
2001-03-05 19:59:41 +00:00
assar
4c2aa2014d remove warning of experimental nature of heimdal. it's now the same
version as the one in ports (and the latest at that), except that not
all programs that are in the port get built
2001-03-05 18:54:27 +00:00
ru
cc0c5115b3 Fixed typo. 2001-03-05 15:37:03 +00:00
ru
252905667c mdoc(7) police: misc fixes. 2001-03-05 14:25:41 +00:00
ru
23b112e09e mdoc(7) police: markup/spelling fixes. 2001-03-05 10:03:03 +00:00
phk
ea99eb04e5 Give the shoe-laces a distinct color so they don't disappear on b/w
daemons.
2001-03-04 09:13:17 +00:00
assar
c78c138f0f implement OCRNL, ONOCR, and ONLRET
Obtained from:	NetBSD
2001-03-04 06:04:50 +00:00
kris
e85d61bbf0 Correct the comment above MAKE_IDEA to be less confusing now that we
only have one patented algorithm in make.conf.
2001-03-04 03:14:27 +00:00
cokane
f2faec1441 Small style fix, remove highlight from second list in FILES section. 2001-03-03 22:54:00 +00:00
cokane
b9ca784e5a Added a man page for the tdfx 3Dfx Voodoo I/II device driver 2001-03-03 22:47:19 +00:00
mjacob
ea5e297c85 include paths.h for _PATH_DEV 2001-03-03 21:23:31 +00:00
markm
a09585039a Minor fixes. ManPolice stuff, and a clarification of interrupt
harvesting.
2001-03-03 14:21:58 +00:00
markm
4ad8ae0ca1 Extra MLINKS to reflect expansion of BUS_SETUP_INTR(9) manpage. 2001-03-03 14:19:39 +00:00
markm
272222aea8 Add a whole lot of extra info. Lots was gained from reading code
or comments, and some is as a result of simply documenting the
entropy harvester.

This still needs work: could a newbus guru pleazse follow up
and fix.extend my (no doubt) obvious mistakes!
2001-03-03 14:13:53 +00:00
ache
ac92f859da Clear am and pm fields, add empty ampm_fmt for locales I know is not AM/PM 2001-03-02 22:27:27 +00:00
ru
a031347b2f mdoc(7) police: fix markup. 2001-03-02 09:59:58 +00:00
ru
df8b1abba5 mdoc(7) police: in -offset clause, spell the ``indent'' correctly. 2001-03-02 09:38:50 +00:00
ru
2d4d97b177 Fix the rest of formatting. 2001-03-02 08:09:19 +00:00
imp
105d968610 Add link for resource_query_unit, now documented in the
resource_query_string man page.
2001-03-02 04:32:50 +00:00
imp
fa03534383 Flesh out this man page a bit more. Add information about
resource_query_unit and improve the descriptions of the parameters
passed to these functions.

Plus a couple minor formatting/markup changes:
o Quote -1 as \-1.
o .Dq hints to match resource_int_value().
2001-03-02 04:30:16 +00:00
ru
492c46ef17 Update the BUGS section.
The first bug is fixed in tmac.doc, revision 1.21.
The second bug fixed in doc-common, revision 1.33.
2001-03-01 12:58:54 +00:00
asmodai
20155d87d9 Correct English used. 2001-03-01 09:37:38 +00:00
ru
028bd93906 Numerous formatting/content fixes. 2001-03-01 09:11:16 +00:00
asmodai
d202e7235d Hook Warner's resource_* manpages to the build.
This includes appropriate MLINKS for the other functions contained
within them.
2001-03-01 09:06:57 +00:00
asmodai
65a378a0df Remove leading . from .Nd description. 2001-03-01 09:02:01 +00:00
asmodai
ad9a725f7e Fix typo: the the -> to the. 2001-03-01 09:01:43 +00:00
imp
b3f8c9cab9 Document the resource_*_value and resource_query_string families of
functions.  These man pages likely need some markup work, so I've
specifically not added them to the Makefile yet.
2001-03-01 04:28:40 +00:00
ru
f4325cbb8b Eliminate mdocNG warnings caused by misplaced or extraneous macro calls. 2001-02-28 17:38:53 +00:00
ru
e7ebccfa37 Prepare for mdocNG. 2001-02-28 13:18:04 +00:00
mjacob
2143eb8428 update man page wrt hints usage 2001-02-27 23:33:17 +00:00
kris
23b79b16b0 Add definitions and support for the AMD k6-2, Pentium MMX (i586/MMX),
and Pentium II, III and IV processors (p2, p3, p4), as well as 'mmx' and
'3dnow' MACHINE_CPU tags as appropriate.  In the near future this will
be used to control various ports which have MMX/3dNow optimizations,
instead of the ad-hoc methods currently used.

Reviewed by:    peter
2001-02-27 11:21:47 +00:00
asmodai
3b5bbecd16 Short lived fame for -Wundef.
Second thoughts by:	bde
2001-02-27 10:16:56 +00:00
asmodai
cfac8ceef1 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
ru
c69ef19c3a mdoc(7) police: utilize .St macro. 2001-02-26 16:02:53 +00:00
ru
703a07cec6 mdoc(7) police: utilize .St. 2001-02-26 15:57:37 +00:00
ru
ba42cfc998 Use ``.St -p1003.1-96''. 2001-02-26 15:16:43 +00:00
ru
ec147c6b0d /^\.St/ s/-iso9945-1/-p1003.1-96/ 2001-02-26 14:48:38 +00:00
ru
3ff23f918d .St -ansiC -> .St -isoC 2001-02-26 13:23:47 +00:00
kris
2e1d246fb0 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
tanimura
1c89ea7f7f I thought it was a new CPU :)
s/i585/i586/
2001-02-24 02:59:32 +00:00
imp
4b6751a611 Force TERM to be dumb when building termcap. ex in batch mode seems
to care about the terminal setting.  In emacs, make buildworld was
broken because it sets TERM to emacs, which caused ex to fail.
2001-02-24 00:02:55 +00:00
julian
575ee59b1c Shuffle sysctls a bit (thankyou whoever made them dynamic for modules)
and add a sysctl to pppoe to activate non standard ethertypes
so that idiot ISPs (apparently in France) who use
equipment from idiot suppliers (rumour says 3com)
who use nonstandard ethertypes can still connect.

 "yep, sure we do pppoe, we use a different identifier to that dictated in
 the standard, but sure it's pppoe!"

sysctl -w net.graph.stupid_isp=1 enables the changeover.
2001-02-23 16:34:22 +00:00
ru
c6eb25402d Make ``groff -man'' work again for both man(7) and mdoc(7) manpages.
The new Groff release will support this feature.

Requested by:	peter
2001-02-23 09:35:33 +00:00
green
028498d58b Typo: "interrupt" -> "harvest_interrupt" 2001-02-23 01:12:44 +00:00
gshapiro
ed410f8195 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
gshapiro
1d44916580 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
julian
e658f358fd Add a 'splitter' node to separate a bidirectional
packet flow into two unidirectional flows.

Part of a suite of nodes developed for packet flow control.
More to follow as I have time to port them to 5.x or
as others do so. The ipfw node will be the hardest..

Submitted by:	"Vitaly V. Belekhov" <vitaly@riss-telecom.ru>
2001-02-22 17:14:36 +00:00
ru
4134c447cb Only descend into ${MACHINE_ARCH} subdir. 2001-02-22 15:28:57 +00:00
ru
9162338459 mdoc(7) police: fixed misc formatting bugs. 2001-02-22 12:07:28 +00:00
kris
b7d8207daf 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:22:46 +00:00
kris
a1e08c4bce 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
wosch
31ead84953 Added upcoming FreeBSD 4.3 2001-02-22 11:09:50 +00:00
nik
1e23c23d2c Add quota.user(5) and quota.group(5) man pages.
PR:		docs/25124
2001-02-22 11:06:54 +00:00
ru
9177fc64e9 Document that the IPFW messages are logged via syslogd(8). 2001-02-22 09:12:44 +00:00
gshapiro
a299914603 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
ben
c2f1a1810b Expand
if ((foo = bar()) != 0)

to
	foo = bar();
	if (foo != 0)

Submitted by:	phk
2001-02-21 20:43:55 +00:00
ben
855f3f1d18 Don't suggest
if (error = function(a1, a2))

since it causes a warning with -Wall.  Change it so it has an explicit test
against zero,

	if ((error = function(a1, a2)) != 0)
2001-02-21 12:10:19 +00:00
ru
3f4541558a These pages are not i386-specific. 2001-02-20 12:13:29 +00:00
ru
6d1e67599e Remove the MD part from the document title.
Forgotten by:	obrien
2001-02-20 11:07:27 +00:00
kris
42c3bc11f7 Typo fixes: prefered -> preferred
There are some others in contributed/external code I haven't touched.
2001-02-20 10:30:22 +00:00
kris
5028a2dad3 Turns out we do need to do bootstrapping of MACHINE_CPU here: make(1) won't
set the variable until you rebuild it, and the alternative is to be stuck
playing games with ``.if defined(MACHINE_CPU) && ... '' for all eternity.
We now set up the reasonable default for i386 and alpha here -- given this
it probably makes sense to remove the corresponding code from make(1).
2001-02-20 08:37:51 +00:00
kris
5ffc1ada61 Remove bogus setting of MACHINE_CPU here. There is no need for it.
Submitted by:	bde
2001-02-19 23:33:13 +00:00
markm
ddf672d032 Cosmetic and spelling fixes. Includes some MDOC policework.
Submitted by:	ru (mostly)
2001-02-19 20:08:01 +00:00
phantom
aa6ca61ecf add LC_MONETARY, LC_MESSAGES and LC_NUMERIC definitions for ru_RU.CP866 and
ru_RU.ISO_8859-5 locales
2001-02-19 20:05:22 +00:00
phantom
1642dbf1c2 . add comment that 4 character of int_curr_symbol should be SPACE
. fix chinese locales to meet this requirement
2001-02-19 18:55:34 +00:00
ru
4cbf75ec11 Remove (now unnecessary) MLINKS. 2001-02-19 15:52:38 +00:00
ru
149aaaf619 mdoc(7) police: well-known section name is EXAMPLES, not EXAMPLE. 2001-02-19 10:49:15 +00:00
archie
36f2d71cec Slight improvement to previous checkin. 2001-02-19 04:06:30 +00:00
archie
2baf820df6 Add an example showing how to configure a node from the command line. 2001-02-19 04:00:52 +00:00
kris
337d7ba539 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
336d5fa6f8 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
markm
5eeb5f7b26 Document the entropy device.
If you want to know how to harvest network traffic and interrupts,
READ HERE!
2001-02-18 18:08:43 +00:00
kris
e3ae1d8f12 Zap LIBTCL, it's been superfluous for several years. 2001-02-18 11:58:54 +00:00
abial
13207d0110 Add yesstr/nostr. 2001-02-18 11:17:41 +00:00
asmodai
0f00927ea0 Preceed/preceeding are not english words. Use precede or preceding. 2001-02-18 10:25:42 +00:00
asmodai
26cc3fc3c9 Preceed/preceeding are not english words. Use precede or preceding.
Add $FreeBSD$.
2001-02-18 10:25:31 +00:00
ache
749008ef4d Add hu_HU
Submitted by:	Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>
2001-02-18 06:51:01 +00:00
phk
e5bed7640f Add some FreeBSD logo material to the tree:
"FreeBSD.pfa" - the (postscript) font used to write "FreeBSD".
  "beastie.fig" - a 4.3 BSD style Daemon in vector graphic.
  "beastie.eps" - same converted to encapsulated postscript.
  "poster.sh" - an example how to use this stuff.
  "README" - the full story.
2001-02-17 19:14:42 +00:00
keith
11f67bfc4a Add LC_MESSAGES, LC_MONETARY, and LC_NUMERIC supports to
both zh_TW.Big5 and zh_CN.EUC locales.

Approved by:	ache
2001-02-17 18:45:08 +00:00
ache
d58e575220 Add uk_UA
Submitted by:	Alexander Matey <matey@cis.ohio-state.edu>
2001-02-17 08:35:14 +00:00
ru
b69ecef78b mdoc(7) police: sanitize previous revision changes. 2001-02-16 09:05:48 +00:00
bmilekic
778f80298c Document recently-implemented m_getm(). 2001-02-16 03:23:04 +00:00
bde
5655168b87 Fixed bitrot in synopsis. The Lite2 change from int to u_long for ioctl
command numbers had not reached here.
2001-02-15 12:54:34 +00:00
bde
c68f867ba3 Fixed rotted-as-committed pseudo-prototype for VFS_CHECKXP(). It had not
caught up with the changes to avoid storing socket addresses in mbufs,
although the VFS_CHECKEXP() code had to since it was committed 2 years
after those changes.

Fixed formatting in this prototype.
2001-02-15 12:41:44 +00:00
bde
38a7348ede Fixed bitrot in synopsis (some const poisoning had not reached here). 2001-02-15 12:27:11 +00:00
bde
f8f709338a Fixed missing and wrong includes in synopsis. The prerequisites for
using bus_alloc_resource(), etc., are especially unobvious, but were
especially wrong (<sys/resource.h> has nothing to do with the resources
documented here...).  Order and format the includes as correctly as
possible (a layering violation makes <machine/bus.h> a prerequisite for
<sys/rman.h>).
2001-02-15 12:21:44 +00:00
bde
096a6c0dc7 Fixed missing include in synopsis.
Added evil #define of ACCEPT_FILTER_MODULE to synopsis.  Some of
the functions defined in this man page aren't declared unless
ACCEPT_FILTER_MOD is defined before including <sys/socketvar.h>.
2001-02-15 11:58:38 +00:00
bde
4cfcac144d Fixed missing and/or wrong and/or extra includes in synopsis. 2001-02-15 11:47:31 +00:00
ache
75fbeb249e Add {yes,no}str translations
Submitted by:	Panagiotis Astithas <past@netmode.ntua.gr>
2001-02-14 23:34:44 +00:00
ache
d70e6ef88c Add {yes,no}str translation
Submitted by:	Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
2001-02-14 12:17:10 +00:00
ache
1bd9c94cf7 Add yesstr/nostr translations 2001-02-13 23:36:15 +00:00
ru
3ff2537c68 mdoc(7) police: ... and uncompact the list. 2001-02-13 09:26:45 +00:00
ru
fde4c2c7f5 mdoc(7) police: replace ``.It No'' with .Pp. 2001-02-13 09:22:15 +00:00
ru
de1cfc6d8f mdoc(7) cleanup. 2001-02-12 10:56:50 +00:00
bmilekic
0f9122defa Catch up to mutex API changes. 2001-02-12 03:14:57 +00:00
archie
69b63ea579 Note that packets read as outgoing have invalid IP header checksums. 2001-02-12 02:03:28 +00:00
knu
c7a6772202 Add ja_JP.EUC locale support for LC_MESSAGES, LC_MONETARY, and LC_NUMERIC. 2001-02-11 16:19:43 +00:00
asmodai
494891cf61 Add ko_KR.EUC locale support for LC_MESSAGES, LC_MONETARY, and LC_NUMERIC.
Submitted by:	CHOI Junho <cjh@kr.FreeBSD.org>
2001-02-11 15:40:01 +00:00
ache
3250f9fb77 Add missing 4-th space at the end of int_curr_symbol 2001-02-10 23:07:05 +00:00
abial
5ee0814345 Add Polish locale. 2001-02-10 22:44:31 +00:00
abial
e2f846b9d7 Unbreak by syncing with changes in <sys/sysctl.h> macros. 2001-02-10 22:36:05 +00:00
ache
c6a14de213 Back out my "3;3" -> something change. While technikally the same, it only
leads to confusion.

el_GR: change "0;0" to "-1".
"0" is repeater for previous number, not no grouping
2001-02-10 19:06:32 +00:00
ache
63fa6b1604 Back out my "3;3" -> something changes. While technikally the same, it only
leads to confusion.
2001-02-10 18:51:51 +00:00
phantom
512c73411e activate cs_CZ.ISO_8859-2 and el_GR.ISO_8859-7 2001-02-10 13:35:30 +00:00
phantom
1aa1981806 add LC_NUMERIC, LC_MESSAGES and LC_MONETARY for cs_CZ.ISO_8859-2
PR:		misc/24970
Submitted by:	Rudolf Cejka <cejkar@dcse.fee.vutbr.cz>
2001-02-10 13:31:36 +00:00
phantom
afdc01850e Add LC_NUMERIC, LC_MESSAGES and LC_MONETARY for el_GR.ISO_8859-7
Submitted by:	Panagiotis Astithas <past@netmode.ntua.gr> via -i18n
2001-02-10 13:28:23 +00:00
ache
42a3debfe3 Use -1 for CHAR_MAX instead of empty string as recommended by POSIX
Still not parsed in localeconv() in anycase
2001-02-10 03:20:27 +00:00
ache
3f674e1b6a I change my mind a bit: assuming last \0 is contrproductive since will cause
user confusion, so specify it directly, i.e.  change "3" to "3;0".

In this style "3;" or "3" must not cause repeating
(converted to \3, CHAR_MAX, \0)
Still not implemented and broken in localeconv()
2001-02-10 02:55:42 +00:00
ache
0ee6f8129f I change my mind a bit: assuming last \0 is contrproductive since will cause
user confusion, so specify it directly, i.e. change "3" to "3;0".
In this style "3;" must not cause repeating (converted to \3, CHAR_MAX, \0)
NOTE: still no proper conversion done in localeconv()
2001-02-10 02:51:20 +00:00
ache
a9173afcb1 Replace "3;3" with "3". This is cosmetique, all integer before \0 (i.e. \3)
repeated forever according to SUSv2

Remove "0;0" - \0 means not "no grouping" but repeat forever previous char,
and added automatically. Empty string could be parsed later into CHAR_MAX
(real "no grouping") by localeconv()
2001-02-10 02:31:14 +00:00
ache
efcbded137 Change "3;3" in mon_grouping to "3". This is cosmetique, last \0 will cause
previous \3 repeat forever, according to SUSv2
Add comment about mon_grouping separator
NOTE: mon_grouping localeconv() parsing still broken.
2001-02-10 02:17:49 +00:00