Commit graph

5482 commits

Author SHA1 Message Date
Ruslan Ermilov 9863ddda64 mdoc(7) police: fixed misc formatting bugs. 2001-02-22 12:07:28 +00:00
Kris Kennaway 14d4db66bf 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 Kennaway 62d90fb793 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
Wolfram Schneider afbf465152 Added upcoming FreeBSD 4.3 2001-02-22 11:09:50 +00:00
Nik Clayton 38ecd2625d Add quota.user(5) and quota.group(5) man pages.
PR:		docs/25124
2001-02-22 11:06:54 +00:00
Ruslan Ermilov dc60ef4a4e Document that the IPFW messages are logged via syslogd(8). 2001-02-22 09:12:44 +00:00
Gregory Neil Shapiro 25219d25e6 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 Smithurst 31e230ad42 Expand
if ((foo = bar()) != 0)

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

Submitted by:	phk
2001-02-21 20:43:55 +00:00
Ben Smithurst 06c8ab0c3c 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
Ruslan Ermilov 4c574bfd68 These pages are not i386-specific. 2001-02-20 12:13:29 +00:00
Ruslan Ermilov e7b433ef19 Remove the MD part from the document title.
Forgotten by:	obrien
2001-02-20 11:07:27 +00:00
Kris Kennaway dd76c70387 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 Kennaway 9cd5532f9c 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 Kennaway 4183193e52 Remove bogus setting of MACHINE_CPU here. There is no need for it.
Submitted by:	bde
2001-02-19 23:33:13 +00:00
Mark Murray ae16c71482 Cosmetic and spelling fixes. Includes some MDOC policework.
Submitted by:	ru (mostly)
2001-02-19 20:08:01 +00:00
Alexey Zelkin 828be7c337 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
Alexey Zelkin 2928f042f7 . 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
Ruslan Ermilov 6d256eaa6e Remove (now unnecessary) MLINKS. 2001-02-19 15:52:38 +00:00
Ruslan Ermilov 28f2bdd8cc mdoc(7) police: well-known section name is EXAMPLES, not EXAMPLE. 2001-02-19 10:49:15 +00:00
Archie Cobbs 30f6482c54 Slight improvement to previous checkin. 2001-02-19 04:06:30 +00:00
Archie Cobbs 78c8722845 Add an example showing how to configure a node from the command line. 2001-02-19 04:00:52 +00:00
Kris Kennaway 0937df81ca 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 Wemm 6edba32695 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
Mark Murray 09c114bad3 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 Kennaway ffa3e13653 Zap LIBTCL, it's been superfluous for several years. 2001-02-18 11:58:54 +00:00
Andrzej Bialecki 9b8e7fe6cf Add yesstr/nostr. 2001-02-18 11:17:41 +00:00
Jeroen Ruigrok van der Werven 7c63796828 Preceed/preceeding are not english words. Use precede or preceding. 2001-02-18 10:25:42 +00:00
Jeroen Ruigrok van der Werven d2a2c8cac9 Preceed/preceeding are not english words. Use precede or preceding.
Add $FreeBSD$.
2001-02-18 10:25:31 +00:00
Andrey A. Chernov 96fc0cb8f8 Add hu_HU
Submitted by:	Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>
2001-02-18 06:51:01 +00:00
Poul-Henning Kamp 3903274f02 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
Jing-Tang Keith Jang 3a0690fde3 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
Andrey A. Chernov cb2565a976 Add uk_UA
Submitted by:	Alexander Matey <matey@cis.ohio-state.edu>
2001-02-17 08:35:14 +00:00
Ruslan Ermilov 0b39b3ff10 mdoc(7) police: sanitize previous revision changes. 2001-02-16 09:05:48 +00:00
Bosko Milekic 328c0bbcf7 Document recently-implemented m_getm(). 2001-02-16 03:23:04 +00:00
Bruce Evans 2c9ba841c6 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
Bruce Evans 802cdd5fb2 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
Bruce Evans 206402b24d Fixed bitrot in synopsis (some const poisoning had not reached here). 2001-02-15 12:27:11 +00:00
Bruce Evans a10f4352b9 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
Bruce Evans 6c613605bc 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
Bruce Evans 2ba5bb1ff5 Fixed missing and/or wrong and/or extra includes in synopsis. 2001-02-15 11:47:31 +00:00
Andrey A. Chernov feef629c6b Add {yes,no}str translations
Submitted by:	Panagiotis Astithas <past@netmode.ntua.gr>
2001-02-14 23:34:44 +00:00
Andrey A. Chernov 22e8db4774 Add {yes,no}str translation
Submitted by:	Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
2001-02-14 12:17:10 +00:00
Andrey A. Chernov cd8148eeb6 Add yesstr/nostr translations 2001-02-13 23:36:15 +00:00
Ruslan Ermilov 60f958afb7 mdoc(7) police: ... and uncompact the list. 2001-02-13 09:26:45 +00:00
Ruslan Ermilov b65c9756d9 mdoc(7) police: replace ``.It No'' with .Pp. 2001-02-13 09:22:15 +00:00
Ruslan Ermilov 51b37a2355 mdoc(7) cleanup. 2001-02-12 10:56:50 +00:00
Bosko Milekic 6f08f8297c Catch up to mutex API changes. 2001-02-12 03:14:57 +00:00
Archie Cobbs dd121c1ebe Note that packets read as outgoing have invalid IP header checksums. 2001-02-12 02:03:28 +00:00
Akinori MUSHA af989ec5ea Add ja_JP.EUC locale support for LC_MESSAGES, LC_MONETARY, and LC_NUMERIC. 2001-02-11 16:19:43 +00:00
Jeroen Ruigrok van der Werven b37eee8d45 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