Commit Graph

426 Commits

Author SHA1 Message Date
Maxim Sobolev
7320fd3a30 Fix cdev kld example after it has been broken for year or so. Also extend list
of supported operations by example read() and write() operations.

Inspired by:    http://www.daemonnews.org/200010/blueprints.html
PR:             16173
Submitted by:   sobomax
2000-10-02 14:14:07 +00:00
Archie Cobbs
beb75ced97 Script showing how to setup Ethernet bridging using ng_bridge(4). 2000-10-01 21:14:14 +00:00
Jeroen Ruigrok van der Werven
51fe46a87f This is a very obsolete example file for wormcontrol, which is no
longer present in the tree.

PR:		21005
Submitted by:	Michael Harnois <mdharnois@home.com>
2000-09-22 15:05:04 +00:00
Satoshi Asami
51d9facd3b Add ports-french. 2000-09-22 06:30:38 +00:00
Gregory Neil Shapiro
cf1fec423a Give users a way to alter the sendmail (and related utilities) build
environment so they can enable functionality such as SASL, LDAP, Hesiod.
2000-09-17 00:41:33 +00:00
Andrey A. Chernov
5901f438f4 Comment out MTREE_FOLLOWS_SYMLINKS by default, since it picked before mtree is
builded (on the clean machine without /etc/make.conf)

Submitted by:	imp
2000-09-16 22:08:24 +00:00
Andrey A. Chernov
a938a1fcf8 Add/use MTREE_FOLLOWS_SYMLINKS make.conf option
This is part of whole subsystem fixing

Reviewed by:	imp
2000-09-15 08:07:05 +00:00
Kris Kennaway
690a362571 Nuke RSAREF support from orbit.
It's the only way to be sure.
2000-09-10 00:09:37 +00:00
Kris Kennaway
e1f99b045c ``Anyone is now free to rub two primes together for their own gratification''
-- Unknown

Now that the RSA algorithm is released into the public domain, build
librsaintl by default unless NO_RSAINTL is set in make.conf.

The native OpenSSL implementation of RSA is much faster, doesn't have
an artificial keysize limitation, has 30% fewer calories and tastes great!
2000-09-06 23:46:50 +00:00
Jacques Vidrine
248aee623c Add nsswitch support. By creating an /etc/nsswitch.conf file, you can
configure FreeBSD so that various databases such as passwd and group can be
looked up using flat files, NIS, or Hesiod.

= Hesiod has been added to libc (see hesiod(3)).

= A library routine for parsing nsswitch.conf and invoking callback
  functions as specified has been added to libc (see nsdispatch(3)).

= The following C library functions have been modified to use nsdispatch:
    . getgrent, getgrnam, getgrgid
    . getpwent, getpwnam, getpwuid
    . getusershell
    . getaddrinfo
    . gethostbyname, gethostbyname2, gethostbyaddr
    . getnetbyname, getnetbyaddr
    . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr

= host.conf has been removed from src/etc.  rc.network has been modified
  to warn that host.conf is no longer used at boot time.  In addition, if
  there is a host.conf but no nsswitch.conf, the latter is created at boot
  time from the former.

Obtained from:	NetBSD
2000-09-06 18:16:48 +00:00
Daniel C. Sobral
8ac94f5119 Good thing about these examples is that no one uses them, so they can
stay broken for months without anyone noticing.

The boot-conf command was changed as to reproduce the behavior of builtin
loader words precisely. As a result, it now always need an argument, possibly
0 indicating that no other arguments are being passed. This broke in a
non-deterministic way (ie, it could go on working as if everything was fine).
2000-09-05 16:30:09 +00:00
David E. O'Brien
5bd200c177 Move NOPROFILE' and NOPERL' to be with the reset of their "NO" brethren. 2000-09-02 22:46:04 +00:00
David E. O'Brien
3a77147b94 Move the kernel's "cflags" to be next to the world ones. 2000-09-02 22:43:18 +00:00
Brian Somers
f8853f21dc Add a PPP_NOSUID hook 2000-08-18 00:09:46 +00:00
Brian Somers
5e57afbe99 Use an MRU of 1504 with 1500 byte MRRUs 2000-08-17 14:40:42 +00:00
Brian Somers
a494f9e1be Make this file look prettier
Bump the MRU by 4 bytes to make room for the MP header
Down the autoload threshold to a practical value
Don't specify the ISDN bandwidth as 65536 (ahem!)
Don't specifiy a carrier period (the default of 6 seconds is fine)
2000-08-17 14:39:24 +00:00
Brian Somers
e9ea8480b3 Make the pppoe-in config entry a bit more useful (and verbose) 2000-08-15 15:13:16 +00:00
Josef Karthauser
b6ac9d91b5 MFS4: The stable branch is now RELENG_4 not RELENG_3. Alex changed this
in RELENG_4, but not in HEAD.
2000-08-13 14:14:41 +00:00
Josef Karthauser
6fd0f27267 Define SUPHOST. If this is set a '-h ${SUPHOST}' is added to the
SUPFLAGS when a 'make update' is run.  This means that the supfile
doesn't need to be edited because the -h will override the
CHANGE_THIS.FreeBSD.org host.
2000-08-13 12:36:40 +00:00
Warner Losh
3ae2dea296 Change BUILD_SUIDPERL to ENABLE_SUIDPERL, with changed note as to what
it does.
2000-08-13 01:41:35 +00:00
Warner Losh
dd8cf673d9 Change NOSUIDPERL to BUILD_SUIDPERL. One must now explicitly enable
building suidperl.
2000-08-10 22:55:58 +00:00
Ben Smithurst
033eea8b5c Mention the non-English docs as well as ports. 2000-08-05 18:34:17 +00:00
Jim Mock
33f720a511 Explain that in order to track -STABLE, you should leave the src-all
collection uncommented.

PR:		20398
Submitted by:	Jeff Blaine <jeffblaine@mediaone.net>
Reviewed by:	jhb
2000-08-04 22:29:52 +00:00
John Polstra
fe68fc545c Remove everything resembling a comment from "refuse" and put the
explanations into a new file "refuse.README".  Some users are simply
copying these files and expecting them to work -- without even
reading them.  I don't want to spend any more time closing bogus
PRs from that.

Also correct an error or two in the patterns.
2000-08-04 21:32:52 +00:00
Andrey A. Chernov
f1bbdb9aec Add #ports/hebrew 2000-07-31 04:14:52 +00:00
Satoshi Asami
d6824ddabc Add ports-hebrew. 2000-07-31 00:13:44 +00:00
Matt Jacob
785b6ccaec Don't get stuck in a loop calling exit from an atexit routine. Clean
up cam_fill_ctio usage to passed atio flags. Clear periph_priv area
of new ctio so if the kernel is dumb enough to look at them (this is
a SECURITY hole) the panic will be obvious instead of subtle.
2000-07-18 04:39:36 +00:00
Matt Jacob
e2dc1289d2 Clean up after oneself on exit. 2000-07-17 02:05:45 +00:00
Ben Smithurst
e63d1b73d3 Clarify that CVSup doesn't understand comments in refuse files.
PR:		19949
Submitted by:	Jun Ushida <ushida@msa.biglobe.ne.jp>
2000-07-16 20:34:54 +00:00
Andrzej Bialecki
bd3cdc3105 These patches implement dynamic sysctls. It's possible now to add
and remove sysctl oids at will during runtime - they don't rely on
linker sets. Also, the node oids can be referenced by more than
one kernel user, which means that it's possible to create partially
overlapping trees.

Add sysctl contexts to help programmers manage multiple dynamic
oids in convenient way.

Please see the manpages for detailed discussion, and example module
for typical use.

This work is based on ideas and code snippets coming from many
people, among them:  Arun Sharma, Jonathan Lemon, Doug Rabson,
Brian Feldman, Kelly Yancey, Poul-Henning Kamp and others. I'd like
to specially thank Brian Feldman for detailed review and style
fixes.

PR:		kern/16928
Reviewed by:	dfr, green, phk
2000-07-15 10:26:04 +00:00
Matt Jacob
bf43e4b847 Whoops- more changes in last checkin than TARGIODEBUG-
some additional TARGIOCCLEAREXCEPTION ioctls added as
needed.

Obtained from:	gibbs@freebsd.org
2000-07-14 20:30:28 +00:00
Matt Jacob
97188b54ce Make use of the new TARGIODEBUG ioctl (i.e., add an option for it's use). 2000-07-14 20:26:59 +00:00
Peter Wemm
97e8e70bd1 Be consistant about WITH_ vs MAKE_ flags. We have a precedent of using
MAKE_foo for things like MAKE_KERBEROS etc.  Use that.  I managed to
confuse myself last time and made make.conf different to the code. ;-(

Reported by:  Jun Kuriyama <kuriyama@FreeBSD.org>
2000-07-14 09:18:21 +00:00
Mark Murray
f700468d0a The World Order has changed. We no longer need separate "secure"
collections for crypto code; these are merged into cvs-all and
src-all.
OKed by:	jdp
2000-07-09 16:03:53 +00:00
Brian Somers
15ed7d0b16 Add various system usernames (even though I try to avoid pppd!!!)
PR:		19717
Submitted by:	Tony Finch <dot@dotat.at>
2000-07-06 19:05:43 +00:00
Peter Wemm
85a0c81531 Delete the RSAREF=YES example from make.conf - it is not used at all.
Add knobs for the optional crypto parts with some notes.
2000-07-03 20:52:01 +00:00
Peter Wemm
33f644c41f Include the src-crypto-rsa collection by default for internat users. 2000-06-29 09:03:59 +00:00
Peter Wemm
65e941047c List src-secure-rsa and clarify that cvs-crypto does not have it. 2000-06-29 09:00:23 +00:00
David E. O'Brien
c5225ad92f Add BDECFLAGS so people can use them easily in /etc/make.conf. 2000-06-26 21:43:19 +00:00
David E. O'Brien
f94a3783cf If "MODULES_WITH_WORLD" is defined, sys/modules will be built with the
world as was our old way, rather than when building a kernel.

Some people do not like the new way, and the release building still assumes
modules are built with the world.
2000-06-17 10:51:56 +00:00
Tim Vanderhoek
8c0e8d96d2 Add a NO_LPR option. Useful for people who want to use LPRng.
PR:	bin/18787 (David Gilbert <dgilbert@velocet.ca>)
2000-05-31 21:45:15 +00:00
Brian Somers
794e74c1d2 Mention that some PPPoE servers cache MAC addresses 2000-05-30 17:06:55 +00:00
Dirk Froemberg
8b2f7124cf Remove -a from mkisofs' argument list. It's the default for version 1.12.1
and up and causes mkisofs to fail if present.

Add $FreeBSD$ while I'm here.

Ok'ed by:	jkh
2000-05-25 20:12:10 +00:00
Kris Kennaway
d5865fe838 Add /bin/tcsh for completeness
Submitted by:	knu
2000-05-14 10:21:18 +00:00
Kris Kennaway
c1488d0756 Note that ports-base is a mandatory collection and your ports will not
build correctly if it is not kept up to date.

Hopefully this will help with the flood of ".tar.gz" questions we've
been seeing everywhere lately.
2000-05-06 03:45:56 +00:00
Josef Karthauser
a04f2acdec Disconnect libm from the build tree. It's broken, not being
maintained, and has been replaced by msun.  The libm sources
shouldn't be removed just yet as there are parts that should be
merged into msun first.

PR:		misc/17848
Discussed with:	phk & bde
2000-05-02 14:16:19 +00:00
Chuck Robey
10ae1068e5 Cause modules to build with the kernel build. Modules are removed
from the sys Makefile's SUBDIRs.  This is conditioned in make.conf by the
NO_MODULES variable and the existence of the modules directory.  The
actual location of the modules is not modified.  Changes in Makefiles
only, this does not affect Peter's recent changes.

Reviewed by:	Peter Wemm, who warned me I would get some flack, and
		he had the good idea for the NO_MODULES variable.
2000-05-02 02:26:04 +00:00
Nick Hibma
7fe1aaca86 make the example compile again.
The makefile contains a reference to /sys/dev/ppbus. What really should
be done is copy the header files to /usr/include/sys/dev/ppbus.

PR:	            kern/16767
Submitted by:	   Jin Guojun (FTG staff) <jin@gracie.lbl.gov>
2000-04-27 21:08:24 +00:00
Nick Hibma
a343b08831 Remove a warning 2000-04-27 21:04:17 +00:00
David E. O'Brien
88dd5f4188 "r" devices are on their way out. 2000-04-26 11:38:10 +00:00