Commit Graph

7129 Commits

Author SHA1 Message Date
Greg Lehey
0b8a2b1978 Initial checkin: 4.4BSD version. These files need to be updated with
current license information and adapted to the FreeBSD build
environment before they will build.

Approved by:    David Taylor <davidt@caldera.com>
2002-05-19 05:49:13 +00:00
Greg Lehey
e1dd6a375f Initial checkin: 4.4BSD version. These files need to be updated with
current license information and adapted to the FreeBSD build
environment before they will build.

Approved by:    David Taylor <davidt@caldera.com>
2002-05-19 05:41:35 +00:00
Greg Lehey
8a1d3e0aaa Remove original license disclaimer.
Add Caldera license.

Approved by:    David Taylor <davidt@caldera.com>

Make roughly buildable under FreeBSD.

The results are not perfect: the original Makefile referred to a refer
file papers/Ind, which doesn't seem to have been kept, so the
references to other publications are missing.
2002-05-19 05:39:56 +00:00
Greg Lehey
2a4a1db342 Initial checkin: 4.4BSD version. These files need to be updated with
current license information and adapted to the FreeBSD build
environment before they will build.

Approved by:    David Taylor <davidt@caldera.com>
2002-05-19 05:31:37 +00:00
Greg Lehey
38e505c3e5 Remove original license disclaimer.
Add Caldera license.

Approved by:    David Taylor <davidt@caldera.com>

Make roughly buildable under FreeBSD.

The results are not perfect: the original Makefile referred to a refer
file papers/Ind, which doesn't seem to have been kept, so the
references to other publications are missing.  In addition, the
pagination is not correct, with the result that some .DS/.DE blocks
leave large amounts of white space empty before them.  Possibly this
could be fixed by putting the (blank) footnotes at the end.

PR:   35345
Requested by:	Tony Finch <fanf@dotat.at>
2002-05-19 05:14:02 +00:00
Greg Lehey
d517fd1c4c Initial checkin: 4.4BSD version. These files need to be updated with
current license information and adapted to the FreeBSD build
environment before they will build.

Approved by:    David Taylor <davidt@caldera.com>
2002-05-19 04:37:39 +00:00
Greg Lehey
0a535cc10b Include 21.troff and 22.trofftut in the build. 2002-05-19 04:21:29 +00:00
Greg Lehey
b20515cb19 Correct build targets. 2002-05-19 04:16:31 +00:00
Greg Lehey
81c4d5981a Remove original license disclaimer.
Add Caldera license.

Approved by:    David Taylor <davidt@caldera.com>
2002-05-19 04:02:29 +00:00
Greg Lehey
a0e812513d Remove original license disclaimer.
Add Caldera license.

Approved by:    David Taylor <davidt@caldera.com>

Add note that the documentation does not describe groff.
2002-05-19 04:01:02 +00:00
Greg Lehey
86d27b3950 Make the documentation build.
This does not use the standard build macros for two reasons:

1.  There's more than one document (paper and appendix).
2.  The standard build macros need revision anyway (we shouldn't need
    to set variables to get PostScript output, it should be a separate
    target).

If anybody feels offended by this breach of style, feel free to fix
it.
2002-05-19 03:57:58 +00:00
Greg Lehey
f61bc47237 Add Caldera license
Make buildable under FreeBSD.

Approved by:    David Taylor <davidt@caldera.com>
2002-05-19 03:37:41 +00:00
Greg Lehey
fa3336171c Initial checkin: 4.4BSD version. These files need to be updated with
current license information and adapted to the FreeBSD build
environment before they will build.

Approved by:    David Taylor <davidt@caldera.com>
2002-05-19 03:33:24 +00:00
Greg Lehey
68e7a217f8 Initial checkin: 4.4BSD version. These files need to be updated with
current license information and adapted to the FreeBSD build
environment before they will build.
2002-05-19 03:30:02 +00:00
Greg Lehey
986d58a9ea Remove comment about encumbered sources. All these sources have now
been released under a BSD-style license by Caldera, the current owner
of the UNIX source code.

Approved by:	David Taylor <davidt@caldera.com>
2002-05-19 03:25:02 +00:00
Ruslan Ermilov
d7d7921566 Keep up with BSD.usr.dist,v 1.260. 2002-05-18 12:32:41 +00:00
Jeroen Ruigrok van der Werven
382682b2a4 Add description for uma_zcreate().
Submitted by:	arr
2002-05-18 11:12:02 +00:00
Andrew Gallatin
52e241083c Remove reference to dead file (style.perl.7).
Pointy hat to: joe
2002-05-16 16:21:39 +00:00
Josef Karthauser
1e4dc2da26 No need to have a perl style if we've not got perl. 2002-05-16 11:48:36 +00:00
Ruslan Ermilov
185bb48343 Catch up with BSD.usr.dist,v 1.259. 2002-05-16 11:40:54 +00:00
Ruslan Ermilov
c50d94b0f3 Removed the vestiges of NO_?PERL and ENABLE_SUIDPERL.
Spotted by:	grep(1)
2002-05-16 11:33:11 +00:00
Mark Murray
588764aac2 Remove perl hooks.
Pointed out by:		des
2002-05-16 11:27:33 +00:00
Mark Murray
57a8d6f538 Remove references to perl, and temporarily remove the running of a perl
script that will be rewritten.
2002-05-16 08:32:21 +00:00
Tom Rhodes
0e85d620bc More file system > filesystem 2002-05-16 05:21:58 +00:00
David E. O'Brien
22e5252fed Default Alpha compiles to ev5.
EV5 binaries will run on EV4[5], but the timing assumptions do pessimize
running on EV4[5].

Tested by:	ticso
2002-05-15 18:16:43 +00:00
Hajimu UMEMOTO
138465e0d6 correct wording.
Pointed out by:	brian
2002-05-15 16:37:26 +00:00
Ruslan Ermilov
5d86203733 Rename includes' to buildincludes'.
Rename `incsinstall' to `installincludes'.
Make `includes' a -j safe shortcut for `buildincludes' + `installincludes'.
`buildincludes' and `installincludes' are SUBDIR friendly, if run directly.
2002-05-15 16:19:54 +00:00
Sheldon Hearn
837f98303f Regen:
* Hart:		rev 298 of pcidevs.txt (2002-05-10)
* Boemler:	vendors.txt (2002-05-07)
2002-05-14 14:31:15 +00:00
Giorgos Keramidas
7f86e53da7 Grammar fix: cause -> causes.
PR:		docs/38059
Submitted by:	Chris Pepper <pepper@rockefeller.edu>
2002-05-14 14:30:48 +00:00
Ruslan Ermilov
ff85b6e3eb Split release.2 into two stages. release.2 now install the base
dist, while release.3 makes and installs crypto, krb4, and krb5
dists.  This makes release.3 restartable (with "make rerelease").
2002-05-14 13:59:33 +00:00
Hajimu UMEMOTO
210b1d8a55 Sync with reality.
IPV6CTL_MAPPED_ADDR was obsoleted by IPV6CTL_V6ONLY.

MFC after:	2 days
		and approved by re
2002-05-14 05:32:23 +00:00
Ruslan Ermilov
12e0852a7a CLEANFILES are too long for libc. 2002-05-13 15:23:56 +00:00
Ruslan Ermilov
8f08b6b2ee Ensure manpages are built with the all-man in the
NOMANCOMPRESS && !MANFILTER && !MANBUILDCAT case.

PR:		bin/37360
Prodded by:	cjc
2002-05-13 13:04:46 +00:00
Ruslan Ermilov
2a53f3fb35 Major cleanup of bsd.lib.mk.
Get rid of the INTERNALSTATICLIB knob and just use plain INTERNALLIB.
INTERNALLIB now means to build static library only and don't install
anything.  Added a NOINSTALLLIB knob for libpam/modules.  To not
build any library at all, just do not set LIB.
2002-05-13 10:53:24 +00:00
Ruslan Ermilov
c7b111cba8 Added new bsd.incs.mk which handles installing of header files
via INCS.  Implemented INCSLINKS (equivalent to SYMLINKS) to
handle symlinking include files.  Allow for multiple groups of
include files to be installed, with the powerful INCSGROUPS knob.
Documentation to follow.

Added standard `includes' and `incsinstall' targets, use them
in Makefile.inc1.  Headers from the following makefiles were
not installed before (during `includes' in Makefile.inc1):

	kerberos5/lib/libtelnet/Makefile
	lib/libbz2/Makefile
	lib/libdevinfo/Makefile
	lib/libform/Makefile
	lib/libisc/Makefile
	lib/libmenu/Makefile
	lib/libmilter/Makefile
	lib/libpanel/Makefile

Replaced all `beforeinstall' targets for installing includes
with the INCS stuff.

Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS,
and for compatibility with NetBSD.  Similarly for INCOWN, INCGRP,
and INCMODE.

Consistently use INCLUDEDIR instead of /usr/include.

gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes
were only lightly tested due to the missing contrib/libstdc++-v3.
I fully tested the pre-WIP_GCC31 version of this patch with the
contrib/libstdc++.295 stuff.

These changes have been tested on i386 with the -DNO_WERROR "make
world" and "make release".
2002-05-12 16:01:00 +00:00
David E. O'Brien
5aa237561f Back out rev 1.118. 2002-05-12 13:48:53 +00:00
Jacques Vidrine
95ba43303b Turn on the set-user-ID bit for k5su if ENABLE_SUID_K5SU is defined. 2002-05-12 03:17:31 +00:00
David E. O'Brien
ab4448f3e4 Add pointers to GCC's allowable values for -march, and restore structure
of rev 1.7 until someone can sit down and think thru all the GCC 3.1
related changes.
2002-05-11 20:18:54 +00:00
Wilko Bulte
88d564040b Explicitely note ATEN UC-232A is supported. Sort list entries
while we are here.
2002-05-11 20:10:38 +00:00
David E. O'Brien
2c0b3c611a With GCC 3.1, we can now treat AMD Athlon and an Athlon.
Submitted by:	Steven G. Kargl <kargl@troutmask.apl.washington.edu>
2002-05-11 20:05:17 +00:00
Dima Dorfman
b90faaf350 sysctl -w -> sysctl 2002-05-11 06:06:11 +00:00
Dima Dorfman
ff8ac0d53c sysctl -w -> sysctl
Approved by:	ume
2002-05-11 05:55:05 +00:00
David E. O'Brien
e20b0b7333 [Ab]use LDFLAGS rather than CFLAGS.
BDE tells me POSIX pretends `ld' as a directly callable entity does not exist.
2002-05-10 09:32:39 +00:00
David E. O'Brien
b0b7c2164c Gcc 3.1 has different -Wx flags. 2002-05-10 01:58:16 +00:00
David E. O'Brien
a25fa515ee Add the beginnings of Sparc64 support. 2002-05-10 01:31:40 +00:00
David E. O'Brien
bea805383e Pass CFLAGS to {CC} when using it as an `ld' replacement. 2002-05-10 01:30:34 +00:00
David E. O'Brien
63279f12c9 mklocale has bad juju for Sparc64. 2002-05-10 00:57:14 +00:00
David E. O'Brien
d23aa1ef0f Pay attention to LDFLAGS when linking. 2002-05-09 16:43:07 +00:00
Josef Karthauser
1063e12617 Replace /kernel with /boot/kernel/kernel.
PR:		docs/37757
Submitted by:	Hiten Pandya <hiten@uk.FreeBSD.org>
2002-05-09 11:47:42 +00:00
David E. O'Brien
8500d819cc Get rid of the INTERNALSTATICLIB knob and just use plain INTERNALLIB.
INTERNALLIB now implies NOPROFILE, NOMAN, and don't install anything.
Add a NOLIB knob.
2002-05-09 00:44:13 +00:00
Maxim Konovalov
a39c855dca Put 'ftp' back.
Requested by:	bmah, jhb
2002-05-08 17:06:40 +00:00
Ruslan Ermilov
afeaaa846c Added internal, non-recursive (SUBDIR) versions of the `all-man'
and `maninstall' targets.  This fixes the issue where each subdir
was descended into twice during "make all", and also resurrects
the standardization of `maninstall'.

Urged by:	bde
2002-05-07 15:42:56 +00:00
Ruslan Ermilov
8782938772 Install PROG before SCRIPTS and FILES, but make sure
LINKS are still processed last.  This backs out part
of the backout in previous revision.

Install the manpages before descending into SUBDIRs.
2002-05-07 15:30:49 +00:00
Ruslan Ermilov
b90dab70f1 Install the manpages before descending into SUBDIRs. 2002-05-07 15:27:56 +00:00
Makoto Matsushita
61bf970ef8 Document CVSCMDARGS variable.
Suggested by:	murray
Reviewed by:	ru
MFC after:	3 days
		(if re@ allows)
2002-05-07 14:57:22 +00:00
Maxim Konovalov
54d2dd3778 Sync with master.passwd.
PR:		conf/37796
Submitted by:	David Siebo"rger <drs@rucus.ru.ac.za>
MFC after:	3 days
2002-05-07 11:19:22 +00:00
Brian Somers
2df833538e Add smmsp, mailnull and www
PR:		37796
Submitted by:	drs@rucus.ru.ac.za
MFC after:	1 week

Note, I don't usually look after pppd (just ppp), so I haven't
removed the ftp and ingres users as I guess they're there for
a reason....
2002-05-07 09:38:02 +00:00
Bruce Evans
732757a74c Fixed missing quotes in the default for MKDEPCMD in the CC != cc case.
"CC='cc -Dfoo' make depend" was very broken.
2002-05-07 00:15:53 +00:00
Sheldon Hearn
07636c8cd5 Regen:
* Hart:		rev 295 of pcidevs.txt (2002-04-27)
* Boemler:	vendors.txt (2002-04-30)
2002-05-06 10:13:17 +00:00
Dima Dorfman
065c12dd5f PC98 still uses wd#, so resurrect the wd# entry and mark is "pc98 only".
Noticed by:	bde (four months ago)
2002-05-06 07:48:36 +00:00
Chris Costello
cae2a33cf0 Begin to turn some of the code in this man page into documentation.
Move the code that I have not yet finished documenting into the
`IMPLEMENTATION NOTES' section.

Sponsored by:	DARPA, NAI Labs
Obtained from:	TrustedBSD Project
2002-05-05 22:09:12 +00:00
David E. O'Brien
856f29cf94 Use -ffreestanding for kernel bits unconditionally. 2002-05-04 20:07:33 +00:00
Warner Losh
ad1e033e00 Try to de-confuse ad-hoc, demo ad-hoc and ibss:
o Don't ever refer to ad-hoc mode in the raw.  Instead, refer to it as
  demo ad-hoc mode or lucent legacy demo ad-hoc or some variation on this
  theme.
o Talk about point-to-point modes rather than ad-hoc modes.  Use ibss where
  appropriate.
o Fix type IBBS -> IBSS
2002-05-04 04:59:20 +00:00
Robert Watson
cc0e549485 Various updates to VOP_ATTRIB(9): mention locks being shared/exclusive
for VOP_GETATTR() and VOP_SETATTR(), reference VOP_NULL() to suggest
clearing all of *vap with it before setting specific values.  Cross
reference VFS(9).  Indicate that failure modes are possible from
VOP_GETATTR() and that an errno value is returned.

Submitted by:	Hiten Pandya <hiten@uk.FreeBSD.org>
2002-05-03 20:28:38 +00:00
Warner Losh
0801cb6b0e Minor tweaks:
o go ahead and document ibss-master and ibss modes, since there are
	  patches in the pipeline to support them.
	o Note that they aren't implemented yet.
	o Note that different regulatory domains have different default
	  channels.
	o Note that Lucent cards prior to firmware 6.0.4 do not support
	  ibss mode, and only support the older demo ad-hoc mode.
	o Note that PRISM2 chipsets do not support WDS mode of operation
	  (the mysterious -p 2 option).
2002-05-03 18:11:17 +00:00
Warner Losh
a4b3d9067b Remove Apple Airport card, since it seems to be mac-only.
Change date to today.
Add socket low power WLAN CF card
Add SMC 2602W which I use all the time
Comment out the create-ibss example.  FreeBSD doesn't yet have that
media option.  Also change it to master-ibss since that's what OpenBSD
really uses (and that is a change in their man page too)
2002-05-03 05:47:38 +00:00
Warner Losh
57190641c0 Additional patches from OpenBSD. Mostly grammar fixes and the like,
however I'm adding the Dlink DWL520 as supported from OpenBSD.  Also
adding Dlink DWL650 since I have one in my hot little hands and it
works great.

# I suspect that OpenBSD needs this too :-)
2002-05-03 05:39:16 +00:00
Warner Losh
07c8bcee12 Bring the wi man page into the 21st centry. This man page is based
heavily on OpenBSD's wi man page, with OpenBSDisms replaced by
FreeBSDisms.  I also added a note about where the man page came from.
I hope that I've not broken anything that ru cleaned up.  We now run
this through tbl, but that appears to be automatic.

Obtained From:  OpenBSD
2002-05-02 22:51:40 +00:00
Murray Stokely
086a8bbc13 The fourth field of drivers.conf is no longer reserved. Document its
usage.
2002-05-01 05:02:56 +00:00
Prafulla Deuskar
e4fe103d73 Modified the man page to reflect support for
82540EM based cards.

MFC after:	1 day
2002-04-30 17:14:51 +00:00
Jeroen Ruigrok van der Werven
acff84fb0e Chase the sources and document the change of wait to flags, which are
the normal malloc(9) flags.

Submitted by:	arr
2002-04-30 16:30:19 +00:00
Jeroen Ruigrok van der Werven
5540755955 Remove references to zinit() which does not exist anymore. 2002-04-30 15:04:41 +00:00
Jeroen Ruigrok van der Werven
9a79558313 Document the zone allocator is now a slab allocator.
Show Jeff's work and your's truly manual page updates.
2002-04-30 14:56:44 +00:00
Jeroen Ruigrok van der Werven
1437c79a4a Document uma_zalloc() behaviour. 2002-04-30 14:26:22 +00:00
Ruslan Ermilov
25923b9799 Document how to "make release" for a different arch.
Obtained from:	build(7)
2002-04-30 13:50:04 +00:00
Jeroen Ruigrok van der Werven
f1de92e633 Update function arguments to what is current used. 2002-04-30 13:03:28 +00:00
Jeroen Ruigrok van der Werven
7c32182e06 Prefix the remaining functions with uma_ as is now the case in UMA. 2002-04-30 12:45:31 +00:00
Jeroen Ruigrok van der Werven
2f91527664 zinit() does not exist anymore. 2002-04-30 12:29:59 +00:00
Jeroen Ruigrok van der Werven
77776e8c7a Remove references to zbootinit() and zinitna(). 2002-04-30 09:47:50 +00:00
Jeroen Ruigrok van der Werven
9daecfc462 Add a MLINKS to uma.9 from zone.9. 2002-04-30 09:41:25 +00:00
Jeroen Ruigrok van der Werven
008080bd8b Do not use a contraction, aren't -> are not. 2002-04-30 09:38:52 +00:00
Jeroen Ruigrok van der Werven
268c1b9c75 Remove MLINKS to zinitna, it does not exist anymore. 2002-04-30 09:38:06 +00:00
Jeroen Ruigrok van der Werven
c25d2ac8cb Remove MLINKS to zbootinit. This has been gone for a while now. 2002-04-30 09:36:02 +00:00
Jeroen Ruigrok van der Werven
3a347a6e4e Remove wrong include, one is supposed to include vm/uma.h instead of
vm_zone.h.
2002-04-30 08:51:42 +00:00
Mike Barcroft
aabc5d3d44 Add links for bswap16.9, bswap32.9, and bswap64.9. 2002-04-29 17:04:23 +00:00
Mike Barcroft
3f4655de4b Document bswap16(), bswap32(), and bswap64(). Change the included
header to reflect the new prototype location.
2002-04-29 17:02:51 +00:00
Ruslan Ermilov
9e84c09c36 Splitting "realinstall" into parts was a (failed) part of the work
in progress, and should not have been committed in revision 1.114.
This broke gnu/usr.bin/binutils/strip and usr.bin/strip makefiles;
they were now attempting to install and strip "strip" from objdir.

Pointed out by:	bde

This has nothing to do with PR misc/37516.
2002-04-29 16:00:30 +00:00
Gary Jennejohn
85c1d5977c Add the Dynalink IS64PPH+ as a supported card.
Reported by:	znerd
2002-04-28 11:52:53 +00:00
Ruslan Ermilov
6bde859f40 Milestone #1 in cross-arch make releases.
Do not install games and profiled libraries to the ${CHROOTDIR}
with the initial installworld.

Eliminate the need in the second installworld.  For that, make sure
_everything_ is built in the "world" environment, using the right
tool chain.

Added SUBDIR_OVERRIDE helper stuff to Makefile.inc1.  Split the
buildworld process into stages, and skip some stages when
SUBDIR_OVERRIDE is set (used to build crypto, krb4, and krb5
dists).

Added NO_MAKEDB_RUN knob to Makefile.inc1 to avoid running
makewhatis(1) at the end of installworld (used when making crypto,
krb4, and krb5 dists).

In release/scripts/doFS.sh, ensure that the correct boot blocks are
used.

Moved the creation of the "crypto" dist from release.5 to
release.2.

In release.3 and doMFSKERN, build kernels in the "world"
environment.  KERNELS now means "additional" kernels, GENERIC is
always built.

Ensure we build crunched binaries in the "world" environment.
Obfuscate release/Makefile some more (WMAKEENV) to achieve this.

Inline createBOOTMFS target.

Use already built GENERIC kernel modules to augment mfsfd's
/stand/modules.  GC doMODULES as such.

Assorted fixes:

Get rid of the "afterdistribute" target by moving the single use
of it from sys/Makefile to etc/Makefile's "distribute".

Makefile.inc1: apparently "etc" no longer needs to be last for
"distribute" to succeed.

gnu/usr.bin/perl/library/Makefile.inc: do not override the
"install" and "distribute" targets, do it the "canonical" way.

release/scripts/{man,cat}pages-make.sh: make sure Perl manpages and
catpages appear in the right dists.  Note that because Perl does
not respect the MANBUILDCAT (and NOMAN), this results in a loss of
/usr/share/perl/man/cat* empty directories.  This will be fixed
soon.

Turn MAKE_KERBEROS4 into a plain boolean variable (if it is set it
means "make KerberosIV"), as documented in the make.conf(5)
manpage.  Most of the userland makefiles did not test it for "YES"
anyway.

XXX Should specialized kerberized libpam versions be included into
the krb4 and krb5 dists?  (libpam.a would be incorrect anyway if
both krb4 and krb5 dists were choosen.)

Make sure "games" dist is made before "catpages", otherwise games
catpages settle in the wrong dist.

Fast build machine provided by: Igor Kucherenko <kivvy@sunbay.com>
2002-04-26 17:55:27 +00:00
Hellmuth Michaelis
a83df5a981 Add termcap entries to be able to switch to line drawing character
set for the pcvt driver.
2002-04-26 11:17:46 +00:00
Semen Ustimenko
37f044d650 Implement true multicast filtering.
Inspired by:	dc(4)

MFC after:	1 week
2002-04-25 18:16:15 +00:00
Ruslan Ermilov
d859ba5620 GC bsd.docb.mk. It has never apparently been used. 2002-04-24 13:48:45 +00:00
Ruslan Ermilov
c5234b56b6 Abuse bsd.obj.mk for defining default distribute target. 2002-04-24 13:29:34 +00:00
Ruslan Ermilov
37bd5c8386 GC bsd.sgml.mk. Nothing in the src/ tree uses it, and two doc/
instances that still use it are unconnected from the build and
have corresponding DocBook replacements.
2002-04-24 13:03:44 +00:00
Ruslan Ermilov
2cbc81ffe4 The install.debug and reinstall.debug targets are needed solely
to build kernel and kernel modules so stop supporting them in
bsd.subdir.mk and reimplement them in kern.post.mk and kmod.mk
as special versions of the install and reinstall targets, and
only define them if DEBUG is also defined (when debug versions
are really built).

Prompted by:	bde
2002-04-24 11:26:19 +00:00
David E. O'Brien
788fcec086 Back out the NO_RCMNDS knob.
1. The committer refused to respond to questions over the commit.
2. The servers rlogind, rshd, rexecd were not wrapped.
3. "rcmnds" as an abbreviation gets an order of magnitude less hits on
    Google than the much more well known "rcmds".
2002-04-23 23:59:51 +00:00
David E. O'Brien
01df2ec328 Change the name of the 'bin' distribution to 'base'.
This is done since it contains much more than /bin, and also gets in the
way when making a combined install+fixit CD.

OK'ed by:	jkh
2002-04-23 22:16:41 +00:00
Ruslan Ermilov
b25a566d47 Merge bsd.obj.mk's version of the _SUBDIR target with bsd.subdir.mk.
Ensure all standard targets honor SUBDIR.  Now `make obj' descends into
SUBDIRs even if NOOBJ is set (some descendants may still need an object
directory, but we do not have such precedents).  Now `make install' in
non-bsd.subdir.mk makefiles runs `afterinstall' target _after_ `install'
in SUBDIRs, like we do in bsd.subdir.mk.  Nothing depended on the wrong
order anyway.

Fixed `distribute' targets (except for the bsd.subdir.mk version) so that
they do not depend on _SUBDIR; `distribute' calls `install' which already
depends on _SUBDIR.

De-standardize `maninstall', otherwise manpages would be installed twice.
(To be revised later.)
2002-04-23 09:03:56 +00:00
Ruslan Ermilov
92ab402302 Provide the real `distribute' target so that NLS catalogs are
installed with `make release'.
2002-04-23 06:15:44 +00:00
Tom Rhodes
0f30ec08f7 Remove my change to the synopsis field
Requested by:	bde
pointy hat to:	myself ;)
2002-04-22 15:18:51 +00:00
Dag-Erling Smørgrav
d397408818 Usage style sweep: spell "usage" with a small 'u'.
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
2002-04-22 13:44:47 +00:00
Ruslan Ermilov
5ffdf3618e Prohibit the direct inclusion of bsd.dep.mk. 2002-04-22 10:04:41 +00:00
Ruslan Ermilov
939a04b915 Fixed _SUBDIR.
Obtained from:	bsd.subdir.mk
2002-04-22 09:12:18 +00:00
Ruslan Ermilov
72d5490744 Make .asm transformation rules synonyms to the .s rules. 2002-04-22 08:56:34 +00:00
Gregory Neil Shapiro
3bf762b7f6 Non-sendmail users use the FreeBSD sendmail startup functionality to start
alternative MTAs.  Therefore, always install rc.sendmail, regardless of
NO_SENDMAIL make.conf setting.  Users can still set mta_start_script to a
different script.

This commit is after a repo-copy of src/etc/sendmail/rc.sendmail to
src/etc/rc.sendmail.

Noticed by:	Calvin NG <calvinng@brel.com>
MFC after:	3 days
2002-04-21 20:32:28 +00:00
Bill Fenner
fedda4fff3 mdoc police: Use Em ("emphasis") to get italics/underlining, instead of
Sm Pa (a syntax error, and an assertion that the arguments are path
 names, which is a little far from true).
2002-04-21 18:33:57 +00:00
Mark Murray
2738ffebcc Style. Fix long lines and a <tab> indent that should be 4 spaces. 2002-04-21 17:26:16 +00:00
Luigi Rizzo
73f2cd104c Add 'rl' to the list of supported drivers. 2002-04-21 15:47:59 +00:00
Nicolas Souchu
640984ba48 Fix controller in SW mode and See also + first appeared in 4.5. 2002-04-20 09:12:09 +00:00
David E. O'Brien
3b9a798ffc reorg a little. 2002-04-20 08:41:55 +00:00
Boris Popov
16f87d4c6b s/nwserv/nwfs/
Submitted by:	Victor Sudakov <sudakov@sibptus.tomsk.ru>
MFC after:	1 week
2002-04-20 05:04:21 +00:00
Boris Popov
91a2bd2558 Describe situation where manual 'ifconfig xx0 up' required.
Submitted by:	Victor Sudakov <sudakov@sibptus.tomsk.ru>
2002-04-20 05:00:48 +00:00
Tom Rhodes
bfe7ad2431 Add the previously committed usb(4) manual pages to the build.
PR:		27919
MFC after:	3 days
2002-04-19 18:24:03 +00:00
Tom Rhodes
8b97f3548e Add usb(4) manual pages.
PR:		27919
Obtained from:	NetBSD
MFC after:	3 days
2002-04-19 18:18:11 +00:00
David E. O'Brien
e517d11e8d Add .asm as an alias for .s. .asm is common in contribed sources.
Helps with:	gcc31 build.
2002-04-19 18:01:03 +00:00
Ruslan Ermilov
139df6553c Style. 2002-04-19 07:43:50 +00:00
Ruslan Ermilov
503b871c4d Fix the type of .include. 2002-04-19 07:42:41 +00:00
Ruslan Ermilov
abd41f7d17 Fix the bsd.port.mk breakage caused by sys.mk,v 1.60 commit.
Submitted by:	fenner
2002-04-19 07:40:34 +00:00
Ruslan Ermilov
cf80b5b504 Optimize for i486 better (-m486 is just another deprecated
synonym for -mcpu=i486).

PR:		i386/37212
Submitted by:	Matthias Andree <matthias.andree@web.de>
MFC after:	3 days
2002-04-18 09:37:15 +00:00
Ruslan Ermilov
6106f3b274 Install bsd.init.mk.
Submitted by:	"Peter S. Housel" <housel@acm.org>
2002-04-18 07:10:39 +00:00
Ruslan Ermilov
96f1512e70 INFODIR is defined in bsd.own.mk but sys.mk no longer includes
bsd.own.mk as of share/mk/sys.mk,v 1.60.

I did not notice this because I tested with DESTDIR=/foo/5.0,
and the "exists(/foo/5.0)" test apparently succeeded.

Reported by:	fenner
2002-04-18 06:55:32 +00:00
Ruslan Ermilov
07b10385f0 In rare cases, we might want to include bsd.own.mk directly.
So protect it from being included twice.
2002-04-18 06:37:48 +00:00
Mike Barcroft
7aad98ac48 Remove an extraneous .El call.
Submitted by:	fenner
2002-04-17 23:07:58 +00:00
Bill Fenner
7aa632bcc2 mdoc police: get rid of blank line at end of file. 2002-04-17 21:39:59 +00:00
Bill Fenner
04df644c95 mdoc police: turn .PP back into .Pp 2002-04-17 21:26:43 +00:00
Ruslan Ermilov
4367bda680 ${INSTALLFLAGS} aren't suitable for installing ${SCRIPTS} and ${FILES}. 2002-04-17 16:29:02 +00:00
Ruslan Ermilov
2bdaf7e81c Don't include bsd.own.mk from sys.mk, this makes it impossible
to use ``.if defined()'' inside bsd.own.mk to test for defines
in individual makefiles.  For example, setting DEBUG_FLAGS in
Makefile didn't take the desired effect on the STRIP assignment.

Added bsd.init.mk (like in NetBSD) that handles the inclusion
of ../Makefile.inc and bsd.own.mk from all bsd.*.mk files that
"build something".

Back out bsd.own.mk,v 1.15: moved OBJFORMAT initialization back
to sys.mk (several source tree makefiles want to check it early)
and removed MACHINE_ARCH initialization (it's hard to see from
looking at the commitlogs what the problem was at the time, but
now it serves no purpose).

Prohibit the direct inclusion of bsd.man.mk and bsd.libnames.mk.

Protect bsd.obj.mk from repetitive inclusion.  Prohibiting the
direct inclusion of bsd.obj.mk might be a good idea too.
2002-04-17 13:49:29 +00:00
Thomas Moestl
d57e28adb2 Document STAILQ_CONCAT and TAILQ_CONCAT.
PR:		20024
Submitted by:	Tony Finch <dot@dotat.at> (TAILQ_CONCAT, slightly changed
		by me)
Reviewed by:	ru (earlier version)
2002-04-17 13:48:14 +00:00
Ruslan Ermilov
bda79b63d6 Fixed mdoc(7) warnings visible in troff mode only.
Spotted by:	Rich Morin <rdm@cfcl.com>
2002-04-17 07:37:42 +00:00
Ruslan Ermilov
d0a19329c7 Revert to the ordinary :' dependency operator for mainstall'.
Revision 1.7 had "maninstall::" inside a loop.  Revision 1.36
unrolled the loop.

Reviewed by:	bde
2002-04-17 05:53:57 +00:00
Ruslan Ermilov
70e82473a4 Doh, previous revision made .depend to be almost always out of date.
Spotted by:	bde

Fortunately, we have a powerful make(1).  Apply some black magic to
make it DTRT.  (Better viewed as diff to revision 1.30.)
2002-04-17 05:42:18 +00:00
Tom Rhodes
28395f9543 Add more information to SYNOPSIS of ed.4
PR:		36467
MFC after:	3 days
2002-04-16 22:52:01 +00:00
Yaroslav Tykhiy
60af6add19 Describe possible values for net.inet.tcp.log_in_vain
and their effects.

PR:		docs/35932
Submitted by:	Alex Semenyaka <alexs@ratmir.ru>
MFC after:	1 week
2002-04-16 13:19:33 +00:00
Ruslan Ermilov
0cfacc8666 Don't spawn extra make(1) process to execute _EXTRADEPEND. 2002-04-16 12:27:07 +00:00
Jun Kuriyama
aad76ee7dd Change reference path/URL.
Submitted by:	Olivier Tharan <olivier.tharan@idealx.com>
PR:		docs/37094
MFC after:	1 week
2002-04-16 01:21:06 +00:00
Ruslan Ermilov
e16529d335 Only pass our idea of `CC' down to mkdep(1) if it's non-default. 2002-04-15 15:23:45 +00:00
Ruslan Ermilov
a5772968f0 Fix all-man to look into the SUBDIR subdirs as well. 2002-04-15 10:17:35 +00:00
Ruslan Ermilov
9bda5a5789 Added glue for the all-man and maninstall targets. 2002-04-15 10:16:26 +00:00
Tom Rhodes
f9d32093a6 Removed 2 lines from the cd(9) manual page.
PR:		35944
2002-04-15 06:02:58 +00:00
Dag-Erling Smørgrav
c3ec83e170 Add a dependency on libypclnt to libpam, in preperation for making pam_unix
use it to update NIS passwords.
2002-04-15 02:32:54 +00:00
Tom Rhodes
537b182320 a.out.5 states that nobody seems to agree on what bss stands for. This is
incorrect, however, as Dennis Ritchie states ``Actually the acronym is "block
started by symbol."  It was a pseudo-op in FAP (Fortran Assembly Program), an
assembler for the IBM <models> machines.  It identified its label and set
aside space for a given number of words.''

PR:		34088
Submitted by:	Martin Faxer <gmh003532@brfmasthugget.se>
MFC after:	2 days
2002-04-15 02:05:06 +00:00
Jeroen Ruigrok van der Werven
50c1e22e2e Correct two syntax mistakes.
Fix overflowing right side, so that the && operator fits on the same line.
2002-04-14 19:52:42 +00:00
Jeroen Ruigrok van der Werven
d172142dc6 Remove extraneous newline. 2002-04-14 19:33:07 +00:00
Gregory Neil Shapiro
14d6d7657a Provide a new make.conf knob, SENDMAIL_SUBMIT_MC to allow users to pick
the .mc file used for /etc/mail/submit.cf.  By default,
/etc/mail/freebsd.submit.mc is installed and used.

Requested by:	fenner
Submitted by:	ume
MFC after:	1 week
2002-04-14 19:20:26 +00:00
Dima Dorfman
146b8183bc ${BDECFLAGS} gets added to CFLAGS, not CXFLAGS.
PR:		37032
Submitted by:	Joshua Goodall <joshua@roughtrade.net>
2002-04-13 09:07:22 +00:00
Dag-Erling Smørgrav
533e4c33b3 Add libypclnt. 2002-04-13 07:23:25 +00:00
Tom Rhodes
cb9c48832e Make a few content fixes/additions to tap(4) manual page.
PR:		36985
Submitted by:	Hiten Pandya <hiten@uk.FreeBSD.org>
MFC after:	4 days
2002-04-12 22:06:16 +00:00
Chad David
623fded8d6 Remove a duplicate description of the type parameter for mtx_init.
Noticed by: scottl
2002-04-12 16:32:38 +00:00
Ruslan Ermilov
5d68012a54 Back out second part of the previous change. While this was
indeed a good change, I shouldn't have made it after testing
with the -DNOCLEAN buildworld.  There are far too many users
of this misfeature under sys/boot/.  I will reapply the change
after I fix these.

This change has been tested with the clean buildworld.
2002-04-12 16:25:13 +00:00
Ruslan Ermilov
d8d5898fff Fixed the fatal breakage I introduced in the last commit.
Make the defined(SRCS) case similar to the !defined(SRCS)
case - only define ${PROG}: ${OBJS} if the ${PROG} target
does not exist.  This has only one precedence in the entire
source tree, usr.bin/doscmd, and its Makefile is horribly
broken.  I will temporarily unconnect it from build until
I'm working on the fix.
2002-04-12 11:21:09 +00:00
Ruslan Ermilov
f8ba15551d Don't add -lstdc++ to LDADD, just let c++(1) link C++ programs.
Record the dependency on ${LIBSTDCPLUSPLUS} similar to ${LIBC}.

Suggested by:	imp, obrien, peter
2002-04-12 08:17:24 +00:00
Chad David
468f8a27bb Add entries for selrecord.9. 2002-04-12 06:19:34 +00:00
Chad David
307ce5fea9 Add a new man page that documents selrecord and selwakeup.
Thanks to: alfred
2002-04-12 06:19:12 +00:00
Chad David
4edac09c3e Update the prototype for maybe_resched to take a thread not a ksegrp.
Remove need_resched as it no longer exists.
Cleanup the text for other functions that have changed out from under
their descriptions.

This page needs to be reviewed again after things settle down a bit.

Reviewed by: jhb
2002-04-12 06:03:47 +00:00
Chad David
57cf955171 Add text describing the new type parameter, and rename description
to name as that is what it is called in mutex.h.
2002-04-12 05:55:17 +00:00
Chad David
e6f97cc401 Add sys/types.h to the list of required includes. 2002-04-12 05:23:16 +00:00
Chad David
234b7100a1 Update the prototype for read_random to reflect that the count parameter
is an int not an unsigned int, and that it returns an int not an unsigned
int.
2002-04-12 05:19:12 +00:00
Chad David
c4a7ba6e34 Update the prototype for lockinit to reflect that wmesg is a const char *. 2002-04-12 05:16:27 +00:00
Chad David
f972f99474 Fix the prototypes for cpu_critical_exit and cpu_critical_enter and update
the text to reflect the changes.

Update the header files list.
2002-04-12 05:06:38 +00:00
Scott Long
6a00ed1536 Document the lock type argument of mtx_init(). 2002-04-12 05:05:19 +00:00
Julian Elischer
44f9a04673 Change the script a bit to allow the creation of 'brouted' bridges.
To do this you need to have each top-end connected as well.
IP can be routed and other protocols get bridged..
Also useful when bridgeing two networks while merging them as
machines will work with both old and new netmasks. (well mostly).
2002-04-12 04:44:53 +00:00
Chad David
94552cece2 Document the new size parameter. 2002-04-12 04:26:15 +00:00
Chad David
ac05f75438 Document the new flags parameter.
Add vget(9) to the SEE ALSO list.
Minor formatting change.
2002-04-12 04:23:22 +00:00
Chad David
55d04e913a Update the .Fn line for SX_SYSINIT to include the parameter types. 2002-04-12 03:55:43 +00:00
Chad David
37bc3d021d Update the .Fn line for MTX_SYSINIT to include the parameter types. 2002-04-12 03:54:44 +00:00
Ruslan Ermilov
47bf8a5c3b Implement PROG_CXX for <bsd.prog.mk>.
Obtained from:	NetBSD (with some mods)
Reviewed by:	peter
2002-04-11 10:44:30 +00:00
Ruslan Ermilov
de0d6977f9 Really finish the removal of ${LDDESTDIR} in bsd.lib.mk,v 1.55.
bsd.lib.mk,v 1.101 only did that partly.
2002-04-11 08:54:21 +00:00
Mike Silbersack
102b06f844 Update documentation relating to sysctls in a post-syncache
world.  Goodbye tcp.tcp_lq_overflow and tcp.strict_rfc1948,
hello tcp.syncookies.

MFC after:	3 days
2002-04-10 19:52:21 +00:00
Maxim Konovalov
23c2b90cba Document NO_RCMNDS flag introduced in rev. 1.20 src/bin/Makefile.
Approved by:	ru
MFC after:	1 week
2002-04-10 09:23:38 +00:00
Gregory Neil Shapiro
14a349d554 Update mail queue related periodic scripts to account for sendmail 8.12's
clientmqueue (submit mail queue).

The new mailq display is only active if both the old
daily_status_mailq_enable is set to "YES" and the new
daily_status_include_submit_mailq is set to "YES" so people who disabled
440.status-mailq won't have any surprises.

Likewise, the new queue run is only active if both the old
daily_queuerun_enable is set to "YES" and the new daily_submit_queuerun
is set to "YES" so people who disabled 500.queuerun won't have any
surprises.

While I am here, remove the [ ! -d /var/spool/mqueue ] checks from
both scripts as the queue directory isn't always /var/spool/mqueue for
the main daemon -- it can be set to anything in the sendmail.cf file.

MFC after:	1 week
2002-04-10 03:58:40 +00:00
David E. O'Brien
89d1cbc7aa Add WARNS levels 5 and 6:
5 gives us -Wuninitialized rather than -Wno-uninitialized
6 gives us full BDECFLAGS
2002-04-10 02:45:22 +00:00
Julian Elischer
b1f2c84336 Slight correction to ng_etf man page and add it to the list
of man pages to install.
2002-04-09 21:34:33 +00:00
Tom Rhodes
a8f838798e intro(8) is lacking a command status explanation, added.
PR:	36448
No objections from:	ru
MFC after:	3 days
2002-04-09 21:05:18 +00:00
Bosko Milekic
e5f7f97622 Introduce NO_RCMNDS flag so as to not compile rsh, rlogin, and rcp on will,
and document in share/examples/etc/make.conf

Submitted by: Aleksandar Simic <asimic@dsl.pipex.com>
MFC after: 1 week
2002-04-09 18:25:44 +00:00
Mike Silbersack
74c0361a9d Update ip(4) manpage to reflect recent ephemeral port range
change.

Noticed by:	ru
MFC after:	1 day
2002-04-09 18:03:18 +00:00
Ruslan Ermilov
d3b39427f5 Fixed broken dependency in lib/libpam/modules/pam_krb5. 2002-04-09 13:19:09 +00:00
Jeroen Ruigrok van der Werven
eb8f9028fb Add the Euro symbol mapping to the UK keyboard keymap.
PR:		33956
Submitted by:	Andrew McKay <andy@openirc.co.uk>
MFC after:	3 weeks
2002-04-08 19:16:01 +00:00
John Baldwin
2acffa072b Update /usr/libdata/perl subdirectory to the Perl 5.6.1. 2002-04-08 18:41:33 +00:00
Andrey A. Chernov
f9209c6234 Back out ASCII compatibility and let people face the problems themself
Cejka Rudolf <cejkar@fit.vutbr.cz> tells that it was in strong violation with
national standard.
2002-04-08 09:40:52 +00:00
Andrey A. Chernov
b298203bd4 Reword compatibility note 2002-04-08 09:28:22 +00:00
Ruslan Ermilov
7cf143f761 FreeBSD prior to 4.5-RELEASE and older versions of 5.0-CURRENT do not
have the __FBSDID() macro in <sys/cdefs.h>.  Fix this once and for all
for tools that need to be bootstrapped.

PR:		bin/36747
MFC after:	3 days
Prodded by:	obrien
2002-04-07 17:03:06 +00:00
Ruslan Ermilov
88505e11bc Fixed the nasty bug where .depend file that exists somewhere in
the .PATH (but not in the ${.OBJDIR}) would result in a leak of
the ${OBJS}: ${SRCS:M*.h} dependency hint.

Spotted by:	fixing the broken gnu/usr.bin/cc/cc1obj build
MFC after:	1 day
2002-04-07 14:58:12 +00:00
Andrey A. Chernov
b2f4082444 Add warning about collating order 2002-04-07 03:15:51 +00:00
Andrey A. Chernov
f59de9ec72 Fix this table, it was completely out of reasonable order 2002-04-07 02:52:11 +00:00
Gregory Neil Shapiro
1bff600f6e Add some additional sendmail related directories
MFC after:	3 days
2002-04-06 17:19:09 +00:00
Murray Stokely
33c8be7e3e * Correct a typo.
* Add an entry for /etc/pam.d.
* Update /usr/libdata/stallion description.
2002-04-06 11:50:23 +00:00
Mike Barcroft
995f177eac Remove types(5). It is of little use to have a manual with only the
contents of a header.  It is of even less use when its contents are
stale.
2002-04-06 07:18:46 +00:00
Mike Barcroft
3bede0fb51 Fix misordered list. 2002-04-06 07:10:15 +00:00
Mike Barcroft
a2a4431989 Add stdint(7), a manual which describes some of the integer types
available in the <stdint.h> header.
2002-04-06 07:05:42 +00:00
Alexey Zelkin
20762f714b Unbreak ja_JP.SJIS locale by adding following associations:
LC_NUMERIC:     ja_JP.eucJP -> ja_JP.SJIS
        LC_MONETARY:    ja_JP.eucJP -> ja_JP.SJIS
        LC_MESSAGES:    en_GB.ISO8859-1 -> ja_JP.SJIS

2Japansese folks: Feel free to fix as you desire correct.
2002-04-05 15:39:16 +00:00
Alexey Zelkin
3ac0118b8c Link tr_TR.ISO8859-9's LC_CTYPE to UA-ASCII's. It's not completely correct,
but better than nothing.
2002-04-05 15:27:36 +00:00
Alexey Zelkin
f218cb8431 la_LN.ISO8859-2 depends on map.ISO8859-2. Reflect it in dependence rules 2002-04-05 15:24:04 +00:00
Alexey Zelkin
196e098229 Associate tr_TR.ISO8859-9's LC_COLLATE with US-ASCII's one 2002-04-05 15:19:17 +00:00
Alexey Zelkin
8118280958 Add pt_BR.ISO8859-1 (Brazilian Portuguese) locale
Submitted (partly) by:	dcs
2002-04-05 15:03:13 +00:00
Chad David
8d7cbc2dea Fix typo and change Fn to Xr. 2002-04-05 08:05:11 +00:00
Gregory Neil Shapiro
619b80c4e6 Quoting Peter Wemm, "At great personal risk, touch the sendmail startup
again."

As an alternative to sendmail_enable=NONE, solve the boot time problem
for non-sendmail users completely by moving all of the sendmail startup
code from /etc/rc to /etc/rc.sendmail.  The source for that script will
be kept in src/etc/sendmail/rc.sendmail so make.conf's NO_SENDMAIL will
prevent it from being installed.  A new rc.conf variable,
mta_start_script specifies the script to run to start the user's
preferred MTA.  For backward compatibility, it will default to
/etc/rc.sendmail.  The specified script is called out of /etc/rc after
checking to make sure it exists.  A new rc.sendmail.8 man page has also
been added which now houses the sendmail_* variable descriptions
formerly in rc.conf.5.

Use /etc/rc.sendmail in /etc/mail/Makefile to reduce code duplication.

Reviewed by:	-current, -stable, obrien, peter, ru
MFC after:	1 week
2002-04-05 02:30:49 +00:00
Garrett Wollman
b19a67b074 Merge from vendor branch. 2002-04-04 18:16:19 +00:00
Ruslan Ermilov
d912b3a824 Complete the fix in revision 1.13 -- don't even depend on termcap(5)
database to be present.

PR:		misc/31225
2002-04-04 07:30:46 +00:00
Sheldon Hearn
2514186c3b Regen.
This restores rev 1.12 (spammed by rev 1.13), as the Cenatek Rocket
Drive is now included in at least the Hart list.
2002-04-03 17:03:09 +00:00
Andrew R. Reiter
80cc42da6b - Add notes about SX_SYSINIT and MTX_SYSINIT in order to document the
recent additions of these macros.
- Add in a MLINK to create SX_SYSINIT.9 and MTX_SYSINIT.9.
2002-04-02 17:21:00 +00:00