Commit Graph

624 Commits

Author SHA1 Message Date
Kris Kennaway
247b759d92 Update the list of OpenSSL manpages (now contains many more describing
libssl, for example), and hide it behind a make.conf option,
WANT_OPENSSL_MANPAGES, instead of having it commented out.  We still can't
install these by default because of clobbering of a number of system
manpages with the same name, but they're there for people who want them.
2001-02-25 21:42:12 +00:00
Seigo Tanimura
283ea61c54 I thought it was a new CPU :)
s/i585/i586/
2001-02-24 02:59:32 +00:00
Gregory Neil Shapiro
e6c77250ef Need one additional make.conf knob, SENDMAIL_ADDITIONAL_MC to satisfy bug
report.  It allows building multiple .cf files at build time.

PR:		bin/19897
2001-02-22 19:44:16 +00:00
Gregory Neil Shapiro
d1885c41cc Add a note indicating that SENDMAIL_MC should include the path. This is
necessary if you expect to be able to use this setting in both /etc/mail
and etc/sendmail.
2001-02-22 19:34:13 +00:00
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
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
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
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
Andrzej Bialecki
04d949605c Unbreak by syncing with changes in <sys/sysctl.h> macros. 2001-02-10 22:36:05 +00:00
Ruslan Ermilov
d0353b836e mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
Warner Losh
6715fca911 o Add cardbus support (use pci attachment for now)
<bde>
o Add comments in some places to clarify some points.
o Don't typedef sc_p.  This isn't usually done in the drivers and may
  cause problems in teh future if C goes the C++ route of requiring
  one and only one definition for each and every type.  Instead use
  the current convetion of expanding struct ${1}_softc * inline needed.
o change some comments to be more style(9)-like.
o Define and use DEV2SOFTC to encapsulate storing/getting softc from a
  dev_t.  This also takes care of the missing cast from the examples.
o Define and use DEVICE2SOFTC, similar to DEV2SOFTC for getting the
  softc from a device_t.
</bde>

We still should have this generate foo_{isa,pci,pccard,cardbus,eisa}.c
and foovar.h from templates of some sort, but I was too lazy to do
that in this commit.  I did document it in the comments, however.

Note: bde-like corrections made with the help of my my portable
plastic bde icon.  Results with the real bde may vary with use.
2000-12-18 21:08:53 +00:00
Ruslan Ermilov
ed40311694 mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
Dag-Erling Smørgrav
7892746ed4 Add a reference to the fetch(3) man page. 2000-12-10 13:24:41 +00:00
David E. O'Brien
1a37aa566b Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
Brian Somers
81bb1040b1 Add more comments, fix a typo, mention how to do PPPoUDP using encryption
to create a VPN.
2000-12-01 11:52:22 +00:00
Brian Somers
88cd46c4d3 Get rid of that damned ``i4b-L4-i4b_l4_setup_timeout: 975625189: ERROR:
idletime[900]+earlyhup[5] > unitlength[60]!'' message.
2000-11-30 23:08:36 +00:00
Brian Somers
9f361a4b13 Add some comments and $FreeBSD$ 2000-11-30 22:24:51 +00:00
Brian Somers
35ccfc58d8 Update some misleading comments, empty ``set logout'', and add a
comment describing how to take advantage of telcos that give
free phone calls at certain times.
2000-11-30 22:22:09 +00:00
Gregory Neil Shapiro
b6f094a043 Add commentary about shared SASL files versus sendmail compilation.
Submitted by:	Scot W. Hetzel <hetzels@westbend.net>
2000-11-30 05:34:53 +00:00
David E. O'Brien
5e514c64f7 Remove "NODESCRYPTLINKS" it has been superseeded by "passwd_format"
in /etc/login.conf.
2000-11-22 20:37:40 +00:00
Ruslan Ermilov
b92a189eb9 mdoc(7) police: Er macro usage cleanup. 2000-11-22 16:11:48 +00:00
Ben Smithurst
8057e004aa Add a note asking committers to update make.conf.5 when they update this. 2000-11-22 14:11:21 +00:00
Ruslan Ermilov
7c7fb079b9 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 16:52:27 +00:00
Doug Barton
09980f4348 Standardize spelling of "optimization" in comments
PR:		conf/22622
Submitted by:	knu
2000-11-19 20:12:06 +00:00
Julian Elischer
99fcf9836a Slight cleanups after comments from John Hay (Thanks!)
Also add more comments.
2000-11-15 12:05:21 +00:00
Brian Feldman
087815f8bc Disable /usr/bin/ssh being setuid root by default. Let the variable
ENABLE_SUID_SSH being defined reenable it for those that want it.

This follows discussion favoring the change from September.  It
is not usually necessary to be setuid root, possibly less safe,
and less convenient (cannot use $HOSTALIASES, for example).

Submitted by:	jedgar
2000-11-14 04:42:25 +00:00
Julian Elischer
7dd17df71d Share one devclass between ISA and PCI sections
This will ensure unit numbers will co-ordinate between them
2000-11-12 10:46:38 +00:00
Julian Elischer
e904636ad4 Add basic PCI capability
Not sure how unit numbers are carried across between
PCI and ISA though.. maybe there should be only one devclass between the two?
2000-11-11 09:49:49 +00:00
Ruslan Ermilov
25214d26b5 Fixed typo in description of ENABLE_SUIDPERL. 2000-11-10 10:46:11 +00:00
Julian Elischer
4a3a6ee4c8 Add more sample code having read the daemnnews article (August 2000) 2000-11-09 18:55:44 +00:00
Julian Elischer
87e78fdf4c Having figured out a bit more of the new-bus puzzle
I have added support for finding non-PNP devices to this
sample loadable ISA driver.
PCI support will come later.

If someone with a clue about newbus were to look it over it would be
really cool.
2000-11-08 21:54:28 +00:00
Jordan K. Hubbard
8b4c822db0 Add commented-out entries for FTP_PROXY and HTTP_PROXY so those behind
firewalls have examples to work from.

Requested by:	chein
2000-11-08 07:30:27 +00:00
Paul Saab
9193b12844 MF4: Add LOADER_TFTP_SUPPORT make.conf flag. 2000-11-04 08:43:13 +00:00
David E. O'Brien
a450541bfc State that using optimization level above -O for kernel builds isn't smart. 2000-11-02 22:14:59 +00:00
Hellmuth Michaelis
4ad3090e49 Ooops, forgot to add the originator for the last FAQ entry 2000-11-01 14:08:58 +00:00
Hellmuth Michaelis
2345588750 Add entry to the FAQ 2000-11-01 14:06:46 +00:00
Ralf S. Engelschall
aad65d1ca2 Don't use the old URL to the GNU ftp location any more:
ftp://prep.ai.mit.edu/pub/gnu/ -> ftp://ftp.gnu.org/gnu/
2000-11-01 10:24:08 +00:00
Julian Elischer
96305e8f3e Add copyright to skeleton. 2000-10-26 21:53:37 +00:00
Julian Elischer
45ddd9af7d some more cleanups
still need to handle non-PNP devices properly.
2000-10-26 21:37:38 +00:00
Julian Elischer
d1d3a97409 Slowly add more functionality as I learn more about newbus etc. 2000-10-25 15:08:11 +00:00
Julian Elischer
45b4f5af9e First effort at bringing these up-to-date.
This creates a skeleton ISA device driver.
I don't pretend that it's fully correct or even opitimal
but it at least creates (and compiles) a 'clean' ISA driver.

Hopefully PCI/PCCARD/etc. support will be added when I understand it.
Unlike the old version this just creates a module. The old one tried to
create a new kernel with the driver to be tested.
2000-10-24 16:45:58 +00:00
Akinori MUSHA
82494980f2 Add MASTER_SITE_MOZILLA and MASTER_SITE_XEMACS. 2000-10-24 12:37:52 +00:00
Akinori MUSHA
241d880ebb It is bsd.sites.mk one should look for a full list of default sites,
not bsd.port.mk anymore.

Add MASTER_SITE_XFREE, MASTER_SITE_RINGSERVER, MASTER_SITE_TCLTK and
MASTER_SITE_RUBY.

Document and add MASTER_SORT_REGEX.
2000-10-22 12:09:16 +00:00
Hellmuth Michaelis
933d8a8e74 update i4b version to 0.96.00 2000-10-10 14:16:55 +00:00
David E. O'Brien
dc2e4f165a Removed the FreeBSD ID I was forced to add in rev 1.9. 2000-10-10 08:53:27 +00:00
Hellmuth Michaelis
7925558e0a update to i4b version 0.95.04
This commit adds the ReleaseNotes file which contains a list of major i4b
changes happened since the last version comitted to FreeBSD (0.90.01).
2000-10-09 16:01:36 +00:00
Poul-Henning Kamp
00d25f512c Initiate deorbit burn sequence for <machine/console.h>.
Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>.
This is also the appropriate fix for exo-tree sources.

Put warnings in <machine/console.h> to discourage use.
November 15th 2000 the warnings will be converted to errors.
January 15th 2001 the <machine/console.h> files will be removed.
2000-10-08 21:34:00 +00:00
David E. O'Brien
82861c11a9 Use <space> not <tab> before VCS ID. 2000-10-08 19:15:49 +00:00
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
Alexey Zelkin
0d2332f2d1 Suggest to use .Lb macro in 2nd/3rd section manpages. 2000-04-23 14:47:26 +00:00
Hellmuth Michaelis
0111d08629 removed some obsolete information and dead links.
Noticed by: Alexander Werner Skwar
2000-04-20 13:37:12 +00:00
David E. O'Brien
b6c2891d91 Document NO_TCSH knob. 2000-04-17 20:45:20 +00:00
Sheldon Hearn
d5a93a1538 Add an example refuse file.
PR:		17972
Submitted by:	Michael Lucas <mwlucas@blackhelicopters.org>
2000-04-13 14:40:39 +00:00
Brian Somers
9cf306dfe6 Show an example of not letting NetBIOS traffic keep the link up
PR:		17865
Submitted by: Glenn Johnson <glennpj@bayouhome.net>
2000-04-11 17:17:28 +00:00
Jeroen Ruigrok van der Werven
3a722ade2b Document NO_BIND toggle flag.
PR:		17710
Submitted by:	Mark Huizer <xaa+sendpr@dohd.cx>
2000-04-10 18:51:41 +00:00
David E. O'Brien
0e8d7e82a4 Add an example of how to tweak CXXFLAGS in a make.conf file.
This is in responce to several people breaking their world builds by
incorrectly assigning to CXXFLAGS.
2000-04-04 09:27:59 +00:00
Mitsuru IWASAKI
ece27d97a4 Enable etc/defaults/pccard.conf which is default configuration file
for pccardd.
Please install /etc/defaults/pccard.conf and update /etc/defaults/rc.conf
as well.
Note that old pccard.conf.sample still remains for while but
no longer to be maintained.

Reviewed by:	imp, -mobile ML and nomads ML in Japan.
2000-04-03 19:24:25 +00:00
Sheldon Hearn
4e2edaf244 Add a NO_MAILWRAPPER knob to make.conf and wrap it around
mailwrapper(8) for folks who find it annoying to have their development
version of sendmail blown away by ``make world''.

PR:		17394
2000-03-31 09:23:54 +00:00
Kris Kennaway
68d2e26c25 Update CFLAGS documentation 2000-03-27 02:48:12 +00:00
Brian Somers
b10e6acec4 resolf.conf -> resolv.conf; charnier 2000-03-26 18:33:08 +00:00
Bill Fumerola
1bdc538765 Remove evidence proving that I just copied these files from standard-supfile
and put some more specific examples in www-supfile.

PR:		docs/17600
Discovered by:	Denis Mittsev <dm@dmhome.orsk.ru>
2000-03-26 09:50:01 +00:00
Nik Clayton
ec29d1783a Add the DOC_LANG variable, and associated documentary comments. 2000-03-22 00:49:20 +00:00
David E. O'Brien
f555eeb897 Add a knob to turn off the mostly static docs (src/share/doc/).
On a K6-2/450 with fairly fast SCSI disks, building+installing src/share/
takes 2m51.3s, where src/share/doc/ is 1m9.9s of that.

However on a slow Alpha (233MHz) the times are 7m39.3s and 4m58.3s
respectively.

This commit allows one to speed up their build time, without not getting
any important and required changes if one used "NOSHARE".
2000-03-21 09:24:09 +00:00
Dan Moschuk
874294bac3 Document NOUUCP switch 2000-03-20 17:08:30 +00:00
Kris Kennaway
0a76f6e834 Add and document a NO_X knob to force disabling of X support in doscmd
Requested by:	sysop@silver.komanda.com.ua
2000-03-19 09:49:03 +00:00
Daniel C. Sobral
3f688d5afb RELENG_4 cvsup files. I'm betting these names are going to be changed,
but by virtue of no one else getting to do this after I mentioned it,
they get to be named this for now.
2000-03-13 17:31:44 +00:00
John Polstra
b6c38091e5 Add src-kerberos5 to example supfiles. 2000-03-05 18:52:44 +00:00
Kris Kennaway
eaf79dd01e Document NO_OBJC for disabling Objective C support 2000-03-05 10:53:24 +00:00
Kris Kennaway
1fc9b825aa Document NODESCRYPTLINKS 2000-02-29 06:17:33 +00:00
Matt Jacob
daf1cffce2 Update SES userland examples to something out of the toy stage.
Approved: jkh
2000-02-29 05:44:19 +00:00
Kris Kennaway
c8c372542e Update the description of NOCRYPT and NOSECURE to match reality. 2000-02-28 07:07:26 +00:00
Kris Kennaway
9ed4542b62 Document the following buildworld knobs:
NO_FORTRAN NOCRYPT NOGAMES NOINFO NOLIBC_R NOSECURE NOSHARE
2000-02-27 22:56:27 +00:00
Kris Kennaway
a15bd756d8 Document NOPERL for disabling building of PERL altogether. 2000-02-27 22:44:46 +00:00
Yoshinobu Inoue
80d21dc41b Add IPv6 related docs.
Reviewed by: phantom
2000-02-26 19:44:12 +00:00
Mark Murray
0d854656e9 Add userland tweakables for OpenSSH and OpenSSL. 2000-02-24 23:08:19 +00:00
Robert Watson
f5749a8265 Intoduce a new make.conf entry, NO_MAKEDEV, and modifications to
/etc/Makefile so that if it is defined, MAKEDEV all is not called
during a make distribution.  This helps clean up the messy userland
in jail(), by reducing the number of devices exposed in jail.
Modifications to jail(2) to follow.

Approved by:	jkh-arius
2000-02-09 04:08:18 +00:00
Søren Schmidt
f0bf98d1dc Dont confuse our users with this, the ata driver uses burncd. 2000-01-29 15:47:46 +00:00
Archie Cobbs
1177ed6f29 Add another netgraph example. This one shows how to set up a simple
UDP tunnel between two subnets.
2000-01-28 00:44:30 +00:00
Brian Somers
a4ee552aa4 Add some practical filter examples. 2000-01-27 23:57:43 +00:00
Munechika SUMIKAWA
476a9a96b4 Remove 'USE_INET6' define. Now we check IPv6 ability by 'OSVERSION'
Suggested by:	asami
2000-01-27 19:17:33 +00:00
Mark Murray
6f5a240646 Add a (commented out) macro that will, when uncommented, cause Kerberos5
(AKA Heimdal) to be built. Suitable admonishments about the experimental
state of this code are included.

SEROUS HACKERS ONLY!!
2000-01-24 20:16:41 +00:00
Matt Jacob
60f2f4e3df Add a minimal example set of how to use the SES ioctls to monitor
SES/SAF-TE devices. It's usable enough (in chpmon) to be alerted as you'd
like to be if a powersupply goes south.
2000-01-15 22:47:17 +00:00
Jeroen Ruigrok van der Werven
672e38de91 Change the /usr/src mention to /usr/doc, since it is a doc supfile.
PR:		15974
Submitted by:	Vivek Khera <khera@kciLink.com>
2000-01-11 10:48:47 +00:00
Alexey Zelkin
e6e1461faa Remove binary files from source tree 2000-01-09 12:57:41 +00:00
Munechika SUMIKAWA
b94165f8be Add new define USE_INET6, which enbale IPv6 support on certain
packages.

Approved by:	asami
Reviewed by:	billf
2000-01-08 12:23:57 +00:00
Brian Somers
24870fab24 Add protocol to ``nat port'' examples - it's mandatory.
Suggested by:	Mark Knight <markk@knigma.org>
2000-01-05 02:59:28 +00:00
Brian Somers
0a97e07c93 The '-' character in chat scripts should only be escaped
twice (since the parsing routines were fixed).
1999-12-29 22:32:11 +00:00
Bill Fumerola
652bd4068e Add DOCSUPFILE, like PORTSSUPFILE. (ie 'make update' in /usr/doc)
PR:		docs/15439
Submitted by:	Christian Weisgerber <naddy@mips.rhein-neckar.de>
Obtained from:	ports/Makefile
1999-12-16 02:22:17 +00:00
Hellmuth Michaelis
af0f298122 update to isdn4bsd beta release 0.90 1999-12-14 21:14:28 +00:00
Bill Fumerola
21d19cbd64 Use the traditional bmake magic.
Reviewed/approved by:	sos
1999-12-14 08:47:59 +00:00
Bill Fumerola
e1455d251d -Wall.
Reviewed/approved by:	sos
1999-12-14 08:47:42 +00:00
Matthew Dillon
c7ba5d0b3e Make the cvs-supfile cover the entire repository - add the doc hierarchy.
Approved by: jkh
1999-12-12 16:44:26 +00:00
Marcel Moolenaar
15f3c66cd2 Revert previous commit.
Requested by: bde
1999-12-09 09:35:36 +00:00
Mike Pritchard
ed0bfbe5c7 Make share/examples/mdoc and share/misc/mdoc.template internally
consistent, and consistent with mdoc(7) and mdoc.samples(7).

PR:		doc/15352, doc/15353
1999-12-08 22:15:09 +00:00
Marcel Moolenaar
02cca88299 Remove support for symlinks instead of copies. This also avoids
using mtree. Space is being saved by other means.
1999-12-08 13:47:30 +00:00
Archie Cobbs
f8307e1233 Add two new generic control messages, NGM_ASCII2BINARY and
NGM_BINARY2ASCII, which convert control messages to ASCII and back.
This allows control messages to be sent and received in ASCII form
using ngctl(8), which makes ngctl a lot more useful.

This also allows all the type-specific debugging code in libnetgraph
to go away -- instead, we just ask the node itself to do the ASCII
translation for us.

Currently, all generic control messages are supported, as well as
messages associated with the following node types: async, cisco,
ksocket, and ppp.

See /usr/share/examples/netgraph/ngctl for an example of using this.

Also give ngctl(8) the ability to print out incoming data and
control messages at any time.  Eventually nghook(8) may be subsumed.

Several other misc. bug fixes.

Reviewed by:	julian
1999-11-30 02:45:32 +00:00
Brian Somers
a7a9b4714d An example of how to configure PPPoE. 1999-11-21 23:40:38 +00:00
Julian Elischer
a5fad8dbcb Add an example of how to run raw IP across a sync port. 1999-11-19 07:04:36 +00:00
Julian Elischer
35e509f197 Add an example of how to set up a frame relay link using netgraph and
the 'sr' sync card.
1999-11-19 06:56:34 +00:00
Josef Karthauser
0ddd2cfc7c Added $FreeBSD$ idents. 1999-11-16 17:27:07 +00:00
Kazutaka YOKOTA
5acf51ea02 - This is the new version of libvgl jointly developed by sos and I.
It adds new functions and extend some structures and can handle
  VESA modes.
- Update the man page.
- Bump the library version number.

(The old version will be added to compat3x.)
1999-11-08 11:37:46 +00:00
Boris Popov
98403914e5 Add examples for a mount_nwfs command. 1999-11-03 12:06:13 +00:00
Brian Somers
4085cc2dee 5 minutes == 300 seconds, not 600 !
Submitted by:	Robert Inder <R.Inder@ed.ac.uk>
1999-10-06 15:07:15 +00:00
Ruslan Ermilov
6589cfd259 Recommend "secure-stable-supfile" instead of "secure-supfile". 1999-10-04 17:38:57 +00:00
Brian Somers
20e5b092e0 Set the i4b bandwidth - i4b doesn't report it via tcgetattr.
Suggested by:	Joe Karthauser <joe@uk.FreeBSD.org>
1999-10-03 02:15:55 +00:00
Daniel C. Sobral
bce2576f49 Fixes a silly bug that somehow escaped my notice all these months. 1999-09-29 04:46:01 +00:00
Brian Somers
889c1efb8d Show an example of ``set cd off'' 1999-09-26 23:18:54 +00:00
Søren Schmidt
620a20ca28 Update so that only whole blocks are written to disk, the system
has dislearned how to handle != blocksize request to the raw/char
device.
1999-09-21 20:05:54 +00:00
Brian Somers
848f4ae4fb Suggest using just finrst in the dial filter, and not syn.
Submitted by:	Ruslan Ermilov <ru@FreeBSD.org>
1999-09-16 18:52:46 +00:00
Peter Wemm
77dec3a0c7 Add a hook for disabling cvs and collect a few similar options together.
(We do this on freefall as we use a tweaked /usr/bin/cvs wrapper)
1999-09-15 03:52:17 +00:00
Brian Somers
28eb42e11f Show how to prioritize UDP packets 1999-09-07 07:58:17 +00:00
Brian Somers
73cf919a66 alias -> nat 1999-09-07 07:56:54 +00:00
Mark Murray
37103b14af Knob for Perl thread support. 1999-09-04 10:03:27 +00:00
John Polstra
ad49df8e02 Add ports-irc, ports-java, and ports-x11-servers. For some reason
these made it into the RELENG_3 branch but not into -current.
1999-08-31 18:06:53 +00:00
John Polstra
b2e5ee7600 Adjust the examples to reflect the new "src-sys-crypto" collection.
Add back "src-eBones" to "cvs-supfile" and "secure-cvs-supfile".
Even though the eBones tree is disused, it still has files in the
repository.  People fetching the repository might want them.
1999-08-31 17:26:21 +00:00
Mike Pritchard
7dc5a4da76 Add $FreeBSD$ lines to these example man pages, along with a note
that says all man pages should contain a FreeBSD revision control
id to make it easier for translation teams.
1999-08-28 23:32:12 +00:00
Peter Wemm
7f3dea244c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Peter Wemm
9b7a44a60e $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Brian Somers
ff3bb91ab4 Decrease the isdn recovery time to 1 second and mention that it
should always be less than ppps redial timeout.
1999-08-22 23:18:42 +00:00
Brian Somers
14bbfc5ddc Add a second arg to ``set timeout'' as an example of a minimum idle
period.
1999-08-17 19:23:49 +00:00
Brian Somers
be76e834d7 Use ``set openmode passive'' in the ssh VPN example 1999-08-17 15:00:15 +00:00
Justin T. Gibbs
8760939718 Add a cleanup handler called "atexit" to make sure we free up target
mode instances.

Print out exception information passed out from the kernel target mode
driver to this userland daemon.
1999-08-16 22:52:17 +00:00
Sheldon Hearn
49b046bdf4 Don't force compression in SUPFLAGS, since that effectively negates
the functionality of the compression option in the supfile.

Reported by:	Ben Rosengart <ben@skunk.org>
1999-08-14 14:05:40 +00:00
Brian Somers
2567bca06a Add an example of an isdnd.rc that works with ppp. 1999-08-09 22:58:55 +00:00
Brian Somers
a10b3ee0d4 Add an example of an isdn profile. 1999-08-09 22:57:47 +00:00
Hellmuth Michaelis
0df6adec74 updating isdn4bsd to beta version 0.83 1999-08-06 14:05:10 +00:00
Satoshi Asami
8a0f4c9b7a Add ports-ftp. 1999-08-02 11:31:04 +00:00
Nik Clayton
f3fd3a0091 Explicitly list the i/o addresses of the serial ports.
Prompted by docs/12343, in which people seemed to get a little confused.
The original text in the file said:

[...]
# By default we use COM1 as our serial console port *if* we're going to use
# a serial port as our console at all.  (0x3E8 = COM2)
#
#BOOT_COMCONSOLE_PORT= 0x3F8
[...]

From what I can make out, some people have assumed that means that if
they just uncomment the BOOT_COMCONSOLE_PORT then it will use COM2:
These same people then assume that "0x3F8" on that line is a typo for
"0x3E8".

What it actually means is that if you uncomment the line then the default
stays as "Ox3F8" (COM1:), and that you have to uncomment the line, *and*
change the value of the variable in order to use COM2:.

So I've made that a little bit clearer.  I've also listed the hex values
for COM1: thru COM4:, snarfed from sys/isa/isareg.h.

PR:             docs/12343
Submitted by:   Bill Grunfelder <wjgrun@dippy.cyberwar.com>
1999-07-28 20:28:54 +00:00
Brian Somers
4f65166ad5 Show how to use the new filter capabilities
Mostly submitted by:  Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>
1999-07-27 23:44:29 +00:00
Sheldon Hearn
6bef9f10bb Do nothing for the etc-examples target when SHARED=symlinks, since we'll
end up trying to install into the source directory.

Reported by:	bde
1999-06-27 16:42:25 +00:00
Doug Rabson
0f2a20dfd7 * Tidy up a few things and fix some more warnings.
* Change the devsw declaration to standard form and add missing fields
* Change the filename from cdev_mod.ko to cdev.ko
1999-06-27 12:44:44 +00:00
Doug Rabson
e523e96f26 Make this sample build again. 1999-06-25 07:50:26 +00:00
Sheldon Hearn
5aae9955b7 Actually install the virgin copies of the /etc files that we so proudly
claim to install in /usr/share/examples/etc/README.examples .

PR:	5207
Reported by:	"Wayne M. Barnes" <wayne@barnes1.wustl.edu>
1999-06-24 09:45:30 +00:00
Brian Somers
c6f660d19f Add a rather complicated but impressive example of how
to implement multi-link ppp over more than one ISP with
the ability to lose ISPs without loss of connectivity.

It *requires* that you either have administrative access
to a machine that's already connected to the 'net or at
least know a really nice person that does.
1999-06-09 12:32:55 +00:00
Bill Fumerola
b10573bf3a sunsite is now metalab. 1999-06-04 03:17:04 +00:00
Bill Fumerola
03a6bd91f3 'make update' in the ports directory. 1999-06-01 02:55:44 +00:00
Bill Fumerola
7cb30d6da3 procedure, not proceedure. 1999-05-30 21:31:18 +00:00
John Polstra
ed0c12b595 Remove references to the obsolete src-eBones collection.
PR:		conf/11873
1999-05-25 05:38:27 +00:00
David E. O'Brien
c2fc637349 Get case right in "COMPAT3X".
Submitted by:	Kevin Street <street@iname.com>
1999-05-23 17:57:23 +00:00
Hellmuth Michaelis
80037d6e9e upgrade isdn4bsd from version 0.71 to the just released version 0.81 1999-05-20 10:14:57 +00:00
David E. O'Brien
85ec0e9444 Add a commented out COMPAT22 and COMPAT3x, since we have the others. 1999-05-19 02:05:50 +00:00
Daniel C. Sobral
01d33617c4 Rewording. 1999-05-14 19:07:59 +00:00
Daniel C. Sobral
b2b94bb502 Slight not-exactly-bug-but-useful-as-example-code fix. 1999-05-14 19:00:38 +00:00
Daniel C. Sobral
3a91f98cb8 Add a menu example making use of loader.4th(8) facilities.
Merge candidate, as it is just an example...
1999-05-14 18:06:27 +00:00
Bill Fumerola
d8bd93842e Add doc-supfile and www-supfile, for those who'd like to track those
repositories.

On a side note, I think www should be called www-all, like all of our
other collections.

Requested By:	jesusr
No Problems:	jdp
1999-05-12 20:01:10 +00:00
David E. O'Brien
4e9dcab844 Remove NOPERL. Seems to cause too many problems, as those that try don't
understand the implications and don't think to undo it when they get experience
trouble.  (wonder about some of the people running -CURRENT sometimes)
1999-05-02 00:18:02 +00:00
Brian Somers
24de4f3b19 Specify the ssh command to use for a VPN inline. 1999-04-27 00:25:22 +00:00
Peter Wemm
f3696a0364 Zap lkm examples, they don't do anything anymore. 1999-04-24 21:00:29 +00:00
Hellmuth Michaelis
4b3cd41c63 Make sending the postcard optional (as suggested by phk). 1999-04-13 12:24:33 +00:00
Satoshi Asami
e8b4c53d73 Remove ports-plan9, add ports-palm.
PR:		11019
Submitted by:	mharo@area51.fremont.ca.us (ports-supfile only)
1999-04-08 08:06:30 +00:00
Brian Somers
f357451701 Increase the timeout and wait for ``PPP'' in the compuserve
example.

Submitted by: MALCOLM BOFF <Malcolm_Boff@compuserve.com>
1999-03-28 00:22:44 +00:00