Commit Graph

1048 Commits

Author SHA1 Message Date
delphij
16733ea919 Cleanup code to make it WARNS=6 clean:
- ANSIfy prototypes;
 - Add __unused for parameters that is not being currently used;
 - Add a header for subrountines being called from other modules.

Reviewed by:	mjacob
2009-11-04 23:36:23 +00:00
delphij
0dbcd15dd2 Include string.h for prototype of strcmp(). 2009-11-04 21:12:33 +00:00
mjacob
2c994692d5 Tell about the full name we opened, not the unit.
Obtained from:	Sean Bruno
MFC after:	1 month
2009-09-19 20:36:43 +00:00
sbruno
44778f4664 A few enhancements I made while working on the Firewire target (sbp_targ).
Update the error handling in a couple of cases to exit gracefully if
certain mandatory conditions aren't met.

Reduce the maximum number of initiators to 8 for this example code.  While
1024 is more correct, this example code would act like it was stalled out
even though it was merely allocating the needed structures in init_ccbs()

Reviewed by:	scottl@freebsd.org
2009-09-07 23:16:27 +00:00
kensmith
d995bd8a8c Update example for RELENG_8. 2009-08-24 18:43:22 +00:00
pjd
9434014ec0 Where if not in examples we should follow style(9)? 2009-06-03 09:28:58 +00:00
brian
61ac57ee20 Mention the danger of running programs using ``!''.
PR:		112481
MFC after:	1 week
2009-05-26 07:40:32 +00:00
trhodes
888dca1c5f Fix broken URL and use the same base directory as the
example files.

PR:		123035
Submitted by:	Lawrence Mayer <lawmay3@i12.com> (original version)
2009-01-13 12:47:59 +00:00
kib
c725244bd2 Add unistd.h to the getosreldate(3) manpage.
Update referenced example to include unistd.h per manpage.
Update example to be more style(9)-ish, silence warnings and add
FreeBSD id to the source file.
2008-09-30 11:25:55 +00:00
ed
b13cd39d11 Also use dev2unit() in the pseudo-driver example script.
Because I'm planning on MFC'ing my last change to this file, make sure
we use dev2unit() here as well.
2008-09-27 16:52:57 +00:00
ed
6c1702dda9 Make the make_pseudo_driver.sh shellscript work again.
It seems this script was broken because of the SYSINIT changes and a
rather awkward variable initialisation. For some reason the
make_device_driver.sh script is also broken, related to BUS_SETUP_INTR.
I have no experience with FreeBSD's interrupt handling, so I hope
someone else is willing to take a look at that shell script.

PR:		misc/126435
MFC after:	1 month
2008-09-22 16:10:12 +00:00
bz
6bba9b4244 Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE and
parts relied on the now removed NET_NEEDS_GIANT.
Most of I4B has been disconnected from the build
since July 2007 in HEAD/RELENG_7.

This is what was removed:
- configuration in /etc/isdn
- examples
- man pages
- kernel configuration
- sys/i4b (drivers, layers, include files)
- user space tools
- i4b support from ppp
- further documentation

Discussed with: rwatson, re
2008-05-26 10:40:09 +00:00
rwatson
a3623cb733 Remove netatm from HEAD as it is not MPSAFE and relies on the now removed
NET_NEEDS_GIANT.  netatm has been disconnected from the build for ten
months in HEAD/RELENG_7.  Specifics:

- netatm include files
- netatm command line management tools
- libatm
- ATM parts in rescue and sysinstall
- sample configuration files and documents
- kernel support as a module or in NOTES
- netgraph wrapper nodes for netatm
- ctags data for netatm.
- netatm-specific device drivers.

MFC after:	3 weeks
Reviewed by:	bz
Discussed with:	bms, bz, harti
2008-05-25 22:11:40 +00:00
attilio
5f37114b4d Add a new awk script which parses informations returned by the newly
added sysctl debug.witness.graphs and returns all the graphs involving
Giant lock creating an appropriate script in DOT format which can be
plotted immediately.

Submitted by:   Michele Dallachiesa <michele dot dallachiesa at poste dot it>
2008-05-07 21:50:17 +00:00
edwin
b599192a00 Add projects-all collection to cvs-supfile
PR:		misc/121680
Submitted by:	"Philip M. Gollucci" <pgollucci@p6m7g8.com>
Approved by:	grog@ (mentor)
MFC after:	1 week
2008-03-13 22:36:02 +00:00
gabor
6f8c447516 - Add doc/hu_* and doc/mn_* to the refuse examples so that include all
of the currently used languages

PR:		docs/118476 (related)
Submitted by:	Chess Griffin <chess@chessgriffin.com>
MFC after:	3 days
2007-12-07 19:22:34 +00:00
gabor
4acdeffcea - Add doc/hu_* and doc/mn_* to the sample refuse file so that it includes all
of the languages

PR:		docs/118476
Submitted by:	Chess Griffin <chess@chessgriffin.com>
MFC after:	3 days
2007-12-07 18:48:57 +00:00
mlaier
439399edf8 Update pf examples from OpenBSD to catch up with new stateful defaults and
other syntax changes.  Move pf.conf from /etc to examples, too.
2007-11-11 01:16:51 +00:00
kensmith
c80a7cd238 To honor the birth of RELENG_7 bump HEAD to 8.0-CURRENT.
Approved by:	re (implicit)
2007-10-11 04:28:08 +00:00
gabor
636f6b05b3 - Remove info about the consumed space in base dir. This info is not
relevant any more.

PR:		docs/115335
Submitted by:	Wayne Sierke <ws@au.dyndns.ws>
Reviewed by:	keramida
Approved by:	re (bmah)
MFC after:	3 days
2007-09-07 22:01:19 +00:00
kevlo
413e0853c2 Include the <sys/sysproto.h> header which includes the prerequisite header
for AUE_NULL.

Approved by: re (kensmith)
2007-07-22 06:48:34 +00:00
rwatson
ea4d9ac0d1 Disconnect netatm from the build as it is not MPSAFE and relies on
NET_NEEDS_GIANT, which will shortly be removed.  This is done in a
away that it may be easily reattached to the build before 7.1 if
appropriate locking is added.  Specifics:

- Don't install netatm include files
- Disconnect netatm command line management tools
- Don't build libatm
- Don't include ATM parts in rescue or sysinstall
- Don't install sample configuration files and documents
- Don't build kernel support as a module or in NOTES
- Don't build netgraph wrapper nodes for netatm

This removes the last remaining consumer of NET_NEEDS_GIANT.

Reviewed by:	harti
Discussed with:	bz, bms
Approved by:	re (kensmith)
2007-07-14 21:49:24 +00:00
bz
88f7f9d4f1 I4B header files are now installed in include/i4b/ and no longer
in include/machine/.

Adapt #include paths.

Approved by:	re (kensmith)
2007-07-06 07:21:56 +00:00
flz
9e72cd22f4 Add new x11-drivers category.
MFC after:	3 days
2007-05-19 21:29:26 +00:00
emax
ffd5021ec7 Retire /usr/share/examples/netgraph/bluetooth/rc.bluetooth.
MFC after:	1 week
2007-04-24 16:58:54 +00:00
ru
3f5535c193 Add ports-net-im, ports-net-p2p and ports-ports-mgmt collections. 2007-04-14 12:54:38 +00:00
ru
9fe3c63603 Add src-cddl and src-rescue. 2007-04-14 12:53:37 +00:00
pav
3bd3bcc779 - Add ports-ports-mgmt collection 2007-01-31 14:35:05 +00:00
des
ef3eb6c935 On i386, make "prescott" an alias for "nocona" (instead of the other way
around), and introduce "core", along with the alias "core2".  All of these
enable SSE3.

On amd64, add "core2" (enables SSE3).

MFC after:	3 weeks
2007-01-17 12:43:06 +00:00
imp
1e39c38726 Remove references to pccard.conf, it is no longer used. 2006-10-19 05:19:00 +00:00
danger
1584e18eed Revert my previous change as it does not seem to be entirely correct and
popular.
2006-09-27 21:28:44 +00:00
mjacob
de5522a7f2 Bump MAX_INITIATORS to 1024- the LSI-Logic can go even higher than
this for 'initiator id'- this is a stopgap until a sparse map is
added.

Make compat defines for offset format (FreeBSD 5 or less).

Add no-asyncio flag. There's some breakage with ASYNC I/O that every
now and then drops us into an infinite loop. This also then does
a fallback to no-asyncio if the AIO option isn't loaded/compiled into
the kernel.

A number of other chanes to try and track some breakage.
2006-09-27 15:38:13 +00:00
pjd
e2d5d5e15d - Use existing functions mtx_lock() and mtx_unlock().
- Change variable name to 'error', as this is what is mostly used for
  functions that return an error.
- Add mutex(9) to the SEE ALSO section.
- Bump the date.

I don't really like the example code. I'd prefer symmetry where possible, eg.

	mtx_lock(&example_lock);
	error = example(NULL, EXAMPLE_ONE);
	mtx_unlock(&example_lock);
	if (error != 0)
		return (error);

But I'll leave it as it is for now.

Reviewed by:	simon
2006-09-27 08:39:00 +00:00
danger
990490fa5f Remove second person from the sentece and rephrase a bit.
Approved by: trhodes (mentor), keramida (mentor)
2006-09-26 19:59:52 +00:00
ru
90595a0fc9 Fix wording to what I intended originally. 2006-09-18 15:18:54 +00:00
ru
033894c029 - Avoid using second person.
- Demonstrate how .Nm can be used without the side effect of causing
  a line break in the SYNOPSIS section.
2006-09-18 11:56:51 +00:00
ru
33d6440a5a - Change the example CFLAGS entry to match our default in sys.mk.
- Document that -fno-strict-aliasing is required for -O2.

Prodded by:	users of stable@
2006-09-13 10:20:56 +00:00
rik
96cc09dde6 Fix path for source file in files.FOO. 2006-08-23 23:51:29 +00:00
rik
af3c9f2dc2 - Added ability to provide (optional) path to the kernel sources
- Added check of dirs used by example generator
- Fixed path for ${s}/conf/files.FOO and include it via files
  directive from config file
- Changed kernel configuration example with the driver: it is
  not produced by copying Generic but by including it
- KDB is added to config (for DDB)
- Added module building instead and fixed kernel building

Reviewed by:	julian@
2006-08-09 21:23:42 +00:00
rik
7d2b35a635 Added copyright templete
Fixed compilation

Reviewed by:	julian@
2006-08-09 20:57:24 +00:00
rik
e4e9eb23de - Added 'files "files.FOO"' to config for inclusion of user specific files.
- Added KDB option to config file (for DDB).
- Added ability to compile custom kernel.

Discussed with:	julian@
2006-08-09 10:53:26 +00:00
rik
83dd0fc853 - Added ability to provide (optional) path to the kernel sources
- Fixed path for ${s}/conf/files.FOO and a note that it should be merged into
corresponding file to be able to compile the kernel
- Changed kernel configuration example with the driver: it is not produced by
copying Generic but by including it
- Changed from automatic module building to asking an user if it whants to

Reviewed by:    julian@
2006-08-06 11:06:35 +00:00
rik
8f0d634936 Fix compilation.
Reviewed by:	julian@
2006-08-06 11:04:22 +00:00
des
3ba8214f48 Add CPUTYPE support for Via C3 and C3-2 processors.
MFC after:	2 weeks
2006-07-19 11:27:19 +00:00
motoyuki
ee159d095f doc fix: option MFS is obsolete. use MD_ROOT instead.
PR:	conf/93878
2006-06-02 15:01:11 +00:00
brueffer
efe16a4faf Make this example more real world usable: When the manpage first appeared
is not interesting, when the driver appeared is.  Most people who use this
example leave the manpage appearance date in and the driver date out.

MFC after:	3 days
2006-05-20 09:49:05 +00:00
sobomax
ef5a765dcc We don't have d_maj field in cdevsw structure anymore. 2006-05-19 20:02:44 +00:00
matteo
434ba872a4 Close a "(" I left open. 2006-05-16 17:10:16 +00:00
matteo
497e9819df Update README.examples according to the current state of the examples/etc directory
PR:	conf/97232
2006-05-15 17:43:51 +00:00
mjacob
8ecd1bb434 If we end up with a CTIO completing with CAM_REQUEUE_REQ,
be obliging and just redo the request instead of squawking
and dying.
2006-04-11 21:36:43 +00:00
brueffer
7426a2a8f4 Add a standard boilerplate to the SYNOPSIS section that mentions how
to load a kernel module.

MFC after:	3 days
2006-04-01 10:10:36 +00:00
mjacob
851b87ce3b Move the check for non-ATIO_CMD ahead of the cache chech so that
completion for unsupported commands doesn't abort.

Reviewed by:	nate
MFC after:	2 weeks
2006-03-25 18:18:26 +00:00
mjacob
c44d0b867f Make scsi_target actually compile after a structure member
change.

Obtained from:	Either Scott, Nate, Ken or A. Nagy
2006-03-22 17:00:14 +00:00
mjacob
ae57ffa860 At least respond to REPORT LUNS with an ILLEGAL COMMAND response.
This keeps us from dumping core when modern OS' like Windows and Linux
see us.
2006-03-22 01:30:07 +00:00
ru
5788f4caf7 Remove mentions of old compat options from here; equivalents are
now provided in src.conf(5).
2006-03-21 09:49:05 +00:00
mux
b20083fef6 Also refer to csup in the example SUP setting. 2006-03-19 15:54:45 +00:00
ru
388e590f95 Reimplementation of world/kernel build options. For details, see:
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)
2006-03-17 18:54:44 +00:00
ru
bc07d46c76 Style. 2006-03-15 10:40:01 +00:00
schweikh
ffede784ae - Correct grammos in comments and end them with full stops.
- Use "if !" instead of empty true branches.
- Don't hardcode script name in usage message, use $0 instead.
- Cleanup some whitespace.
2006-03-05 15:53:07 +00:00
ru
64dd56c81d Remove NO_OBJ now that this makefile builds something.
Noticed by:	Andrzej Tobola
2006-03-01 22:59:00 +00:00
ru
93d94aae2e Fix a botched commit that broke world. 2006-02-27 20:26:10 +00:00
darrenr
aacbf565b5 Add a man page for mkfilters(1) and put the corrected perl script in the
ipfilter usr/share directory

PR:     docs/26879
2006-02-27 11:22:20 +00:00
ume
0cce18db1a Mention NO_NLS_CATALOGS. 2006-02-22 03:42:56 +00:00
sam
ff95a0e1eb Change default build of wpa_supplicant to include EAPOL support;
ENABLE_WPA_SUPPLICANT_EAPOL is no more, now use NO_WPA_SUPPLICANT_EAPOL
to build with only WPA-PSK support.

Reviewed by:	ru, bsdimp (basic approach)
MFC after:	1 week
2006-02-14 23:51:21 +00:00
brueffer
2e6b71e9d7 Document NO_AUDIT.
Obtained from:	TrustedBSD Project
2006-02-12 19:56:01 +00:00
mlaier
719dd1ebed firmware(9) is a subsystem to load binary data into the kernel via a
specially crafted module.  There are several handrolled sollutions to this
problem in the tree already which will be replaced with this.  They include
iwi(4), ipw(4), ispfw(4) and digi(4).

No objection from:	arch
MFC after:		2 weeks
X-MFC after:		some drivers have been converted
2006-01-29 02:52:42 +00:00
pav
9a16f30d45 - Add ports-net-p2p collection 2006-01-28 11:08:47 +00:00
iedowse
0b71e714c9 Remove usbd(8) and all references to it. It is no longer necessary
since devd(8) now provides the same functionality.

Submitted by:	Anish Mistry
2005-12-15 01:04:51 +00:00
ru
b7b8dddecb Adopt for modern FreeBSD.
Requested by:	az
2005-12-10 12:09:54 +00:00
keramida
48d1341ff9 Clarify a comment to make it clear that it is NO_NIS that "If it is set"
refers to and add extra '#' comment characters at the beginning of two
lines that started with TABs, to avoid warnings like:

"/etc/make.conf", line 128: Unassociated shell command "# If set, you might need to adopt your"
"/etc/make.conf", line 129: Unassociated shell command "# nsswitch.conf(5) and remove `nis' entries."

PR:		misc/89423
Submitted by:	Scot W. Hetzel
2005-11-27 07:30:21 +00:00
pav
11e7032f17 Add new ports-net-im collection. 2005-11-09 10:16:26 +00:00
jhb
dd0b138f18 Spell 'argument' correctly.
Submitted by:	Andre Guibert de Bruet andy at siliconlandmark dot com
2005-10-26 17:39:35 +00:00
maxim
5f05cfc690 s/RADUIS/RADIUS/
Submitted by:	jisakiel@yahoo.es
MFC after:	1 week
2005-10-23 19:37:55 +00:00
trhodes
636736a403 A better, more correct explination of NO_SHARED. This could probably
use a quick touch up, but at least it's correct.

Requested by:	ru
2005-10-22 10:24:53 +00:00
bz
73e73ab95a Document that changes to nsswitch.conf might be needed when
compiling with NO_NIS.
[ also see make.conf(5) and nsswitch.conf(5) ]

Reviewed by:    ru
Requested by:   dougb (and bin/87221)
MFC:            22 days
2005-10-17 17:01:54 +00:00
ru
9b58b9148d Remove redundant (in FreeBSD) include. 2005-10-14 15:45:38 +00:00
kensmith
61c7b121b1 Update for RELENG_6.
Pointed out by:	Many on current@.
MFC after:	1 day
2005-09-12 13:31:33 +00:00
obrien
2f7d56428c Remove WANT_FORCE_OPTIMIZATION_DOWNGRADE and out dated warnings about
libalias(3) exposing compiler bugs.
2005-09-06 09:01:18 +00:00
sam
1ebd39b5ef document ENABLE_WPA_SUPPLICANT_EAPOL
Approved by:	re (scottl)
2005-07-08 19:26:55 +00:00
maxim
d1e4c87cf9 Finish adding _dhcp user. 2005-06-07 03:41:20 +00:00
des
b83c9772e3 The Nocona may be AMD64 compatible, but it is still an Intel part.
Pointy hat to:	trhodes
MFC after:	1 week
2005-05-08 10:11:33 +00:00
brueffer
817f64ce9c Join two lines. 2005-05-07 11:02:34 +00:00
pjd
3700f7565b Document 'pentium-m' CPUTYPE. 2005-05-06 13:14:48 +00:00
jkoshy
dc3444cd91 Bring a working snapshot of hwpmc(4), its associated libraries, userland utilities
and documentation into -CURRENT.

Bump FreeBSD_version.

Reviewed by:	alc, jhb (kernel changes)
2005-04-19 04:01:25 +00:00
iedowse
4df820c333 Correct a comment about which parallel port pin is used to drive
the RS signal.

PR:		misc/20139
2005-04-17 21:55:00 +00:00
phk
82691535ee Add NO_DICT handle. Saves almost 3.5 MB installed. 2005-04-13 10:02:58 +00:00
le
78bbe1ac6e Typo. 2005-03-21 22:22:13 +00:00
maxim
aa4d5cb803 o Add missed language doc subdirectories, sort.
PR:		docs/78859
Submitted by:	skv
2005-03-15 12:21:44 +00:00
stefanf
f7bcb7fdc8 Device counts are gone. 2005-03-09 12:29:07 +00:00
stefanf
b8a6e62fcc __FUNCTION__ -> __func__ 2005-03-09 11:28:46 +00:00
trhodes
256f3d19f8 Add NO_RCMDS to the list. 2005-03-02 03:49:02 +00:00
trhodes
8f01899557 Resort the CPU list with regards to recently added CPUs.
Prodded by:	glewis
2005-02-25 19:32:51 +00:00
trhodes
1255ec392f Fix up previous commit by adding prescott and itanium2 CPUs.
Submitted by:	marcel
2005-02-23 03:28:14 +00:00
trhodes
40f7cb9700 Add 'nocona' to the list of Intel ia64 CPUs and k8 to the AMD CPUs.
Replace -fmemoize-lookups -fsave-memoized with a working example,
-fconserve-space.  To quote part of the GCC docs on this option:

"Put uninitialized or runtime-initialized global variables into the
common segment, as C does."

MFC after:	2 days
Submitted by:	Daniel Gerzo <danger@rulez.sk> (original version)
2005-02-23 01:10:28 +00:00
ru
114ea39c76 Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
phk
1af887fe98 Document NO_GPIB 2005-02-06 16:46:49 +00:00
delphij
3dd08ed15f Document NO_NETCAT. 2005-02-06 14:59:03 +00:00
ru
7a3e657c56 Sort sections. 2005-01-21 08:36:40 +00:00
wes
353c32f9f8 Document the shiny new WITHOUT_MODULES knob in make.conf.
PR:		kern/76225
Prodded by:	ru@, brueffer@
MFC after:	2 weeks
2005-01-21 03:51:07 +00:00
ru
f4ba20999d Added the EXIT STATUS section. 2005-01-16 22:22:28 +00:00
jkoshy
e2a9113a2b Move the LOCKING section to before the EXAMPLES section.
Make example locking calls in the EXAMPLES section.

Reviewed by:	keramida
2005-01-15 16:01:19 +00:00
keramida
4b344b0b27 A few more mdoc fixes I missed in the suggestions of Ruslan. 2005-01-12 21:43:09 +00:00
keramida
a80074d407 Cross-reference the newly added example.9 2005-01-12 20:56:15 +00:00
keramida
4264f66616 Link mdoc/example.9 to the build. 2005-01-12 20:55:01 +00:00
keramida
aebf880d1a Add a sample manpage for section 9.
Suggested by:	simon
Reviewed by:	ru
2005-01-12 20:49:25 +00:00
ru
cae75ee299 Forgot to submit a fixed version of this script to Simon. 2005-01-10 18:54:55 +00:00
simon
7dc1b0c123 Add support files for using text from the POSIX specification in
FreeBSD manual pages:

- POSIX-copyright contains copyright text to be used in manual pages
  which has POSIX text inserted.
- deshallify.sh is a shell script which removes many of the ``shall''
  statements from the POSIX text and therefore making the text more
  readable.

Real work to make this happen by:	nectar, ru
2005-01-10 18:09:17 +00:00
ru
8466f09c0d Unbreak the install. 2005-01-10 09:04:13 +00:00
trhodes
32dbe1c9e7 Remove the meteor helper files, imp removed the driver and manual page
over a year ago.
2005-01-09 21:21:25 +00:00
ru
0f51b4223f NOIPSEC -> TRACEROUTE_NO_IPSEC 2004-12-21 12:44:20 +00:00
ru
68c5efb791 NOSHARE -> NO_SHARE 2004-12-21 12:13:23 +00:00
ru
b74e87102d Overhaul ppp(8) build options so they are safe to use in
/etc/make.conf:

NOALIAS -> retired (support provided by PPP_NO_NAT)
NOATM -> PPP_NO_ATM (also subject to NO_ATM global)
NODES -> PPP_NO_DES (support was broken, now recovered)
NOI4B -> PPP_NO_I4B (also subject to NO_I4B global)
NOKLDLOAD -> PPP_NO_KLDLOAD
NONAT -> PPP_NO_NAT
NONETGRAPH -> PPP_NO_NETGRAPH
NOPAM -> PPP_NO_PAM (will be subject to NO_PAM global)
NORADIUS -> PPP_NO_RADIUS
NOSUID -> retired (support provided by PPP_NO_SUID)
PPP_NOSUID -> PPP_NO_SUID
2004-12-21 12:01:15 +00:00
ru
5c04306fea NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
ru
f6f8222630 NOGAMES -> NO_GAMES 2004-12-21 10:36:54 +00:00
ru
f4c44b761b NOCRYPT -> NO_CRYPT 2004-12-21 10:16:04 +00:00
ru
c1a820195c NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00
ru
74176cc161 NODOCCOMPRESS -> NO_DOCCOMPRESS
NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE
2004-12-21 09:33:47 +00:00
ru
3b01b84505 NOATM -> NO_ATM 2004-12-21 09:08:06 +00:00
ru
ba3655c74f NOLIBC_R -> NO_LIBC_R
NOLIBPTHREAD -> NO_LIBPTHREAD
NOLIBTHR -> NO_LIBTHR
2004-12-21 09:00:26 +00:00
ru
cec60429bb Start the dreaded NOFOO -> NO_FOO conversion.
OK'ed by:	core
2004-12-21 08:47:35 +00:00
brueffer
8d0a2a10ef Nuke ports-picobsd, it was thrown out a while ago.
Approved by:	linimon
MFC after:	3 days
2004-12-19 02:31:45 +00:00
trhodes
b9999a1836 Commit patch from ru which groups the ppp(8) options together and
kills my sorting.

Submitted by:	ru
Discussed with:	imp
2004-12-15 19:42:35 +00:00
trhodes
638e766377 Add a few options with regards to ppp(8) and traceroute.
Sort the list, please keep this list sorted.

PR:		48569
2004-12-15 02:10:50 +00:00
brian
075ae398bb Add ``enable echo''. 2004-12-13 17:54:30 +00:00
obrien
6c9183a0b3 Catch up with PHK's sio(4) cuaa->cuad rework [sys/dev/sio/sio.c rev. 1.456]. 2004-11-19 17:31:31 +00:00
obrien
07115bc66a Catch up with PHK's sio(4) cuaa->cuad rework [sys/dev/sio/sio.c rev. 1.456]. 2004-11-19 03:51:12 +00:00
bz
4b83c5852a Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.
If turned on  no NIS support and related programs will be built.

Lost parts rediscovered by:	Danny Braniss <danny at cs.huji.ac.il>
PR:		bin/68303
No objections:	des, gshapiro, nectar
Reviewed by:	ru
Approved by:	rwatson (mentor)
MFC after:	2 weeks
2004-11-13 20:40:32 +00:00
phk
86fa6da853 Remove references to NO_VINUM 2004-11-04 12:57:40 +00:00
emax
ec2d4a4b05 Serial devices now called /dev/cuadXX not /dev/cuaaXX 2004-11-02 20:06:33 +00:00
ru
ba0070b0b2 For variables that are only checked with defined(), don't provide
any fake value.
2004-10-24 16:20:59 +00:00
ru
5db2b9d5b3 For variables that are only checked with defined(), don't provide
any fake value.
2004-10-24 15:33:08 +00:00
ru
de65dd6742 There's no such knob as WERROR. 2004-10-24 14:55:35 +00:00
scottl
6543442a82 Update for 5-STABLE. 2004-10-24 09:07:06 +00:00
obrien
b8173ab1f9 Catch up with share/mk/bsd.cpu.mk revision 1.43. 2004-10-17 05:36:20 +00:00
ru
78c4b704e2 Overdue removal of COMPAT* knobs. 2004-10-15 08:51:12 +00:00
dougb
e83c5bbcc5 1. Incorporate most of Ruslan's improvements to where and how the
/etc/namedb symlink is created.

2. Incorporate Brian's suggestion to make the link relative. This
is necessary to handle situations (such as mergemaster) where the
user is building a tree in a seperate environment. This will also
fix the problem with the way DESTDIR is set in 'make release'.

3. Add a new knob, NO_BIND_MTREE, as suggested by the folks who
already have stuff in /var/named that they don't want me to mess with.

4. Update make.conf(5) with the new stuff, and correct a few paths
that have changed since I last updated it.
2004-10-08 00:14:28 +00:00
dougb
fc66d174a3 1. Add much finer granularity to the NO_BIND knobs with the addition of:
NO_BIND_DNSSEC, NO_BIND_ETC, NO_BIND_NAMED, and NO_BIND_UTILS.

2. Make creation of directories in /usr/include that are only needed
in the WITH_BIND_LIBS case conditional.

Reviewed by:	ru, des
2004-09-27 08:23:43 +00:00
ru
63fa21b0ae Get rid of obsolete MAN[0-9] syntax. 2004-09-26 09:25:03 +00:00
dougb
389acf125b Fix the WANT_BIND_LIBS knob by correctly spelling it as WITH_BIND_LIBS
to match how similar syntax is used in the ports system. Thanks to kris
for pointing out my mistake here.

Install the lwres library unless the user defines NO_BIND, or the new
knob, NO_BIND_LIBS_LWRES. There is at least one potential customer
for this library in the wings. Thanks to nectar for the reminder.
2004-09-24 18:42:05 +00:00
dougb
f0da78ba22 Break the NO_BIND knob out from the pack, and begin documenting
the finer granularity for the various BIND features.
2004-09-24 13:51:31 +00:00
brooks
78ea3f4710 Backout the hack to install mtree, newsyslog, and touch in the cloned
root in the previous commit.  We'll fix /etc/rc.d/var directly (someday).
2004-09-23 21:17:31 +00:00
brooks
bb7a8c6ea2 Hack around the fact that the current diskless scripts require some
binaries in /usr before /usr is mounted by copying those files to the
root.

Stop making devices.  devfs is manditory.
2004-09-23 15:52:42 +00:00
mlaier
61e73d53e0 Bring in some examples (and create space for future work here):
- Add OpenBSD example rulesets as advertised in etc/pf.conf and pf.conf(5)
- Tweak the pointer to fit the FreeBSD default location share/examples/pf
- Account for the new directory in BSD.usr.dist (no hier(7) change required
  as share/examples is an opaque item there).

Obtained from:	OpenBSD
Reminded by:	Thomas T. Veldhouse
PR:		docs/71691
MFC after:	2 days
2004-09-14 01:07:19 +00:00
alfred
a581fa78d9 Plug an fd leak by using autoh_freeall(3).
Refuse to run unless root.
Check in /etc, /usr/local/etc and ./ for the "autotab" configuration
file.
Add more debug statements.
2004-09-09 01:26:11 +00:00
alfred
8337118014 sync with private code:
fix a 5.x'ism that 4.x needs protection from.
make this code compile standalone.
2004-09-08 08:44:14 +00:00
brueffer
5ea74407db Document a couple of build knobs
PR:		misc/71032 (partly)
Submitted by:	Divacky Roman <xdivac02@stud.fit.vutbr.cz>
Reviewed by:	ru
MFC after:	3 days
2004-09-04 10:05:17 +00:00
alfred
e39e879ede Enter the autofs. 2004-08-31 16:26:01 +00:00
pjd
9833028211 According to module(9), when command is unrecognized, the module should
return EOPNOTSUPP.
2004-08-30 09:49:59 +00:00
des
a43cf2f4f6 Add a NO_BOOT knob to prevent building the boot blocks and loader.
Reviewed by:	ru
MFC after:	3 days
2004-08-19 09:54:28 +00:00
simon
ae25ac2907 Add a HARDWARE section to the example section 4 manual page.
Reviewed by:	ru
MFC after:	3 days
2004-08-18 07:05:35 +00:00
marius
88969e81e2 Shorten the description of NO_OPENSSL, which was split into two lines by a
patch of mine in revision 1.216, a bit so it fits in a single line again.
2004-08-15 20:32:06 +00:00
ru
bab4dcbeed Removed COPTS with equivalent CFLAGS.
While here, fixed setting of BINDIR.
2004-08-13 14:19:12 +00:00
harti
94d7642285 Document the correct use of MAKEOBJDIRPREFIX and MAKEOBJDIR.
Requested by: kris
2004-08-11 07:14:11 +00:00
ru
f6f4f5a17b Update to the 2004 Edition of POSIX. 2004-07-30 08:31:29 +00:00
ru
0b69ed438f Removed remnants of ports-related knobs from here. 2004-07-29 08:43:33 +00:00
tjr
643584db6c Update for struct cdevsw and dev_t -> struct cdev * changes, plus one
64-bit portability fix.
2004-07-16 06:55:34 +00:00
scottl
d38217cbdf Move references to the recently removed worm directory. 2004-07-15 15:37:56 +00:00
murray
5844c201ac Remove Walnut Creek CDROM script that Jordan wrote in the 90s.
This functionality is largely in src/release/${ARCH}/mkisofs.sh now.

PR:	docs/43569
2004-07-15 05:04:39 +00:00
ru
e318fd8a91 Bumped document date for the recent changes here.
Fixed bad example of how to start a new sentence.
Added missing punctuation.
Fixed cut-n-paste error in the STANDARDS section.
Mention modern POSIX and C standards.
2004-07-07 18:59:33 +00:00
ru
1cf1598667 Mechanically kill hard sentence breaks and double whitespaces. 2004-07-03 18:29:24 +00:00
des
158b00dfc0 The -O2 bugs are in libalias(3), not ppp(8). 2004-07-03 09:41:58 +00:00
ru
4b39413aeb Removed trailing whitespace. 2004-07-02 19:07:33 +00:00
des
711ff21aae Explain that -O2 is supported, but known to expose bugs in ppp(8). 2004-07-02 17:08:39 +00:00
maxim
7dde49bc61 Add user _pflogd. 2004-06-30 16:47:08 +00:00
pjd
cecd534f43 Typo. 2004-06-26 19:35:30 +00:00
mpp
ece4a2cdf8 Spelling fixes. 2004-06-20 13:33:35 +00:00
mpp
b643febdc2 Spelling fixes. 2004-06-20 13:17:37 +00:00
mpp
e9e34a132d Spelling fix and add $ FreeBSD $ tag 2004-06-20 13:07:25 +00:00
mpp
320404766f Grr. Fixup markup on my last commit. Sorry, I'm a little out of practice :) 2004-06-20 12:51:23 +00:00
mpp
7b08e91e2d Sync up ERRORS section with errno.h. 2004-06-20 12:44:42 +00:00
maxim
0a027ed49a Style. 2004-06-09 17:10:41 +00:00
le
c4569c02e5 Remove duplicate #include.
PR:             misc/67748
Submitted by:   bugghy <bugghy@phenix.rootshell.be>
2004-06-09 15:40:00 +00:00
cjc
dbca8d97f6 /usr is not really the ideal place for a ports application to store
a frequently updated database. /var/db is a much more reasonable place
for this kind of thing. Set a good example.

Reviewed by:	-arch
2004-05-24 06:23:15 +00:00
josef
6e1c180a6f Fix typo.
Submitted by:	Michel Lavondès <fox@vader.aacc.cc.md.us>
PR:		docs/66536
2004-05-12 20:33:25 +00:00
simon
95d16c325a Fix typos.
PR:		docs/66481
Submitted by:	Michel Lavondès <fox@vader.aacc.cc.md.us>
2004-05-10 20:39:32 +00:00
josef
4784e0360d Add some lines to note that 'www' is available as an option
to get the www tree.
2004-05-04 20:03:50 +00:00
des
b786792a02 Remove mention of doscmd. 2004-03-24 20:19:57 +00:00
maxim
ed9eabcb8c o Add user proxy. 2004-03-20 19:13:06 +00:00
mlaier
6be47b725d Link pf to the build and install:
This adds the former ports registered groups: proxy and authpf as well as
the proxy user. Make sure to run mergemaster -p in oder to complete make
installworld without errors.

This also provides the passive OS fingerprints from OpenBSD (pf.os) and an
example pf.conf.

For those who want to go without pf; it provides a NO_PF knob to make.conf.

__FreeBSD_version will be bumped soon to reflect this and to be able to
change ports accordingly.

Approved by:	bms(mentor)
2004-03-08 22:03:29 +00:00
marcus
5bae68c9e4 Add ports-net-mgmt to the relevant supfiles.
MFC after:	4 days
2004-02-23 19:07:47 +00:00
ru
b6bc039460 Added missing DPADD. 2004-02-05 22:01:28 +00:00
ru
91b23005eb Fixed static build. 2004-02-04 10:15:26 +00:00
des
e972c8e647 Document NO_VINUM, which is already listed in the man page. 2004-02-03 13:57:56 +00:00
obrien
ad8cf9f476 Always build ext2fs module. There is no written policy preventing the
building of GPL'ed modules.
2004-01-28 17:20:08 +00:00
emax
3f0b112d3c Add NO_BLUETOOTH knob to the build process
Requested by:	phk
Reviewed by:	imp (mentor), ru
2004-01-28 00:42:51 +00:00
marcus
d23b7bb7fd Add ports-accessibility and ports-x11-themes to the example supfiles. 2004-01-20 22:39:57 +00:00
obrien
a8e980826f Remove verbage about -O2 producing bad code on Alpha. By all accounts
GCC 3.3 -O2 produces correct code on Alpha.  However, note that FreeBSD
has alias bugs that make -O2 produce bad code on all(most?) platforms.
Also don't tell people we don't want -O2 related bug reports, we do -- if
they contain patches.
2004-01-18 22:14:23 +00:00
nyan
2d2beb20ce Sync with sys/boot/forth/frames.4th revision 1.2 (PC98 support).
Suggested by:	matusita
2004-01-18 15:16:12 +00:00
njl
0b27ef2c40 Note that REPORT_LUNS should be implemented to work better with Linux
and Windows as initiators.
2004-01-09 19:33:21 +00:00
njl
6203d89e01 Enable autosense by default. This shouldn't hurt SPI and is required
for FC.
2004-01-09 19:27:18 +00:00
njl
470f844116 Bump the max number of initiators to 256 from 16. This is appropriate for
fibre channel and shouldn't hurt SPI.
2004-01-09 19:26:30 +00:00
obrien
4867d63660 Move the bktr(4) <arch>/include/ioctl_{bt848,meteor}.h files to dev/bktr
as these ioctl's aren't MD.  This also means they are installed in
/usr/include/dev/bktr now.  Also provide compatability wrappers for
where these headers lived in 4.x.
2003-12-08 07:22:42 +00:00
ceri
461e563b77 Add the ports/arabic category to the examples.
MFC After:	4 days
2003-11-16 17:55:54 +00:00
harti
91fb8e3f9c Replace all uses of the old netgraph constants NG_*LEN by the new
constants NG_*SIZ that include the trailing NUL byte. This change
is mostly mechanical except for the replacement of a couple of snprintf()
and sprintf() calls with strlcpy.
2003-11-15 15:26:35 +00:00
gshapiro
da1521e658 People are blindly coping this example refuse file. Doing so breaks
buildworld as src/etc/sendmail/freebsd.mc is missing.  That example
was added 3 years ago, before the /etc/mail/ infrastructure was in
place for customized configurations.  It is time to remove this example.

Noticed by:	Robert Gray <bob@boulderlabs.com> in freebsd-stable
MFC after:	1 day
2003-11-08 17:19:50 +00:00
emax
7ea3304435 Connect /etc/bluetooth and /usr/share/examples/netgraph/bluetooth to the build.
Reviewed by: imp, simon
Approved by: imp (mentor)
2003-10-26 19:09:12 +00:00
simokawa
40e3b17753 - Enable 16byte commands.
- Fix printf warnings on 64bit architectures.
- Accept 'k', 'm' and etc. for -s option.

Reviewed by: njl
2003-10-18 04:54:08 +00:00
dds
b954c1afc8 Style fixes: shell script indentation, if/then style, plus a lot
of comments in C code (capitalized, end with full stop).

Submitted by:	schweikh
2003-10-03 19:31:55 +00:00
dds
fdcf60fd8d Create a driver that will compile without warnings on -CURRENT
More changes are probably needed to create a correct driver.

Reviewed by:	markm
Approved by:	schweikh (mentor)
2003-10-03 19:15:07 +00:00
julian
12a28a5774 fix typos in comments.
Submitted by: Vincent Jardin <vjardin@wanadoo.fr>
2003-09-30 22:39:22 +00:00