Commit Graph

561 Commits

Author SHA1 Message Date
Ruslan Ermilov
22f7d1021a mount_portal -> mount_portalfs. 2001-05-24 13:15:49 +00:00
Ruslan Ermilov
f3bb47cca0 Add NO_I4B to avoid building/installing isdn4bsd package.
Prompted by:	Alexandr Listopad <laa@laa.zp.ua>
MFC after:	3 days
2001-05-23 13:32:32 +00:00
Ruslan Ermilov
5b5df07ddc Grab headers from /usr/include. 2001-05-18 13:58:08 +00:00
Ruslan Ermilov
59ca51df49 Removed unneeded stuff. 2001-05-18 13:56:29 +00:00
Assar Westerlund
eba4f69287 clarify comment about MAKE_KERBEROS5. noticed by Peter Pentchev
<roam@orbitel.bg>
2001-05-12 14:38:00 +00:00
Brian Somers
3a51f88a27 Be a little clearer all characters after a # are ignored unless the
# is escaped or quoted.  Add an example of # characters as part of
a phone number.

PR:		26605
2001-05-08 08:58:57 +00:00
Jens Schweikhardt
ec09ef4ff8 pseudo-device -> device in kernel config lines. Removed whitespace at EOL.
Reviewed by:	joerg, dd
2001-05-01 09:15:30 +00:00
Matthew Dillon
1561f90e65 Remove a real FQDN host reference from the example
Add $FreeBSD tag
2001-04-30 20:19:22 +00:00
Dima Dorfman
47a3012123 Clarify a little: the mandatory argument is an event number.
PR:		26905
Submitted by:	AMAKAWA Shuhei <sa264@cam.ac.uk>
2001-04-29 03:54:48 +00:00
Ruslan Ermilov
c59eb7cfb5 Removed reference to withdrawn secure-supfile. 2001-04-27 12:15:15 +00:00
Ruslan Ermilov
c47d12ea1c stable-supfile now covers 4.x-stable. 2001-04-27 12:08:34 +00:00
Ruslan Ermilov
7928b68539 MFS: revision 1.19.2.4
Correct comments to fit current realities of exporting crypto.
2001-04-27 12:00:35 +00:00
Jim Mock
20affa347a Document XFREE86_VERSION. 2001-04-25 19:27:39 +00:00
Ruslan Ermilov
9fdcafcf45 The semantics of the .Os call has been changed. For CURRENT,
this currently implies the default argument of "FreeBSD 5.0".
2001-04-23 15:15:49 +00:00
Maxim Sobolev
bcc11eec02 Add missed and update existing MASTER_SITE_*. 2001-04-22 19:01:44 +00:00
Satoshi Asami
b5f997102e Add ports-picobsd. 2001-04-22 16:51:49 +00:00
Ruslan Ermilov
1837dd5db5 mdoc.samples(7) is superseded by mdoc(7). 2001-04-17 12:49:42 +00:00
Luigi Rizzo
047073a13a New script to help creation of shared readonly diskless partition.
It also has some instructions on how to setup the client and
the server. I have been using this code for over 2 years
on RELENG_3 and later RELENG_4. Have not tried on CURRENT, but
in case there are any issues these are in /etc/rc and
/etc/rc.diskless{12}
2001-04-16 06:37:03 +00:00
Brian Somers
11027719c4 Suggest that kernels are built with ``cd /usr/src; make buildkernel''
Add a comment saying that our softc is automatically allocated by the
parent bus.
Fix lots of spellings
2001-04-14 18:51:39 +00:00
Mike Pritchard
0a0869f618 We don't use the "pseudo-device" configuration option any longer,
so update the example to use the correct definition.

Add an example for documenting kernel compile options, along with
a small example of how to reference them in the main text of the
man page (I.e. the .Dv macro).

Inspired-by:  a brief exchange I saw in in the commit messages mail
2001-04-05 09:37:55 +00:00
Dima Dorfman
25d0cc3b4d Make it clear that commands within labels must be indented to be
recognized.

PR:		26293
Reviewed by:	brian
2001-04-05 01:25:42 +00:00
David E. O'Brien
5aa865141c Use -r rather than -R to get "reasonable permissions and ownership". 2001-03-31 18:38:05 +00:00
Jeroen Ruigrok van der Werven
d8edf8110a Change NO_MAKEDEV to a finer granularity method:
NO_MAKEDEV_INSTALL and NO_MAKEDEV_RUN.  The former implying the latter.
The names imply what they do.  The last commit by DES based on a PR defeated
the original idea behind NO_MAKEDEV, which was not to run MAKEDEV, but to do
the installation of MAKEDEV.  This should satisfy both parties on the MAKEDEV
challenge.
2001-03-29 14:03:07 +00:00
Satoshi Asami
b44318d3c2 Add new categories science and ukrainian. 2001-03-24 21:52:25 +00:00
Murray Stokely
5e30415625 Add a commented out entry for compat4x
PR:		25196
Submitted by:	Chris Knight <chris@aims.com.au>
2001-03-14 11:30:57 +00:00
Kris Kennaway
5ca7924a91 Use CPUTYPE to add appropriate compiler flags to COPTFLAGS for kernel
builds.  This may be disabled using the NO_CPU_COPTFLAGS variable.

Reviewed by:	arch
2001-03-12 07:47:09 +00:00
Bill Fumerola
02aa3ed484 fix spelling errors, clarify comment, add $FreeBSD$ 2001-03-10 05:28:46 +00:00
Gregory Neil Shapiro
332ca08080 Use the correct path to the SASL .h files as installed by the SASL port.
MFC candidate.

Submitted by:	jeh
2001-03-10 00:31:07 +00:00
Gregory Neil Shapiro
6b81e27f98 Use a different example to avoid confusion 2001-03-06 02:06:02 +00:00
Assar Westerlund
7a00c25671 remove warning of experimental nature of heimdal. it's now the same
version as the one in ports (and the latest at that), except that not
all programs that are in the port get built
2001-03-05 18:54:27 +00:00
Poul-Henning Kamp
c6827cd5d0 Give the shoe-laces a distinct color so they don't disappear on b/w
daemons.
2001-03-04 09:13:17 +00:00
Kris Kennaway
6a251185af Correct the comment above MAKE_IDEA to be less confusing now that we
only have one patented algorithm in make.conf.
2001-03-04 03:14:27 +00:00
Matt Jacob
633252a4e2 include paths.h for _PATH_DEV 2001-03-03 21:23:31 +00:00
Kris Kennaway
181b6941c7 Add definitions and support for the AMD k6-2, Pentium MMX (i586/MMX),
and Pentium II, III and IV processors (p2, p3, p4), as well as 'mmx' and
'3dnow' MACHINE_CPU tags as appropriate.  In the near future this will
be used to control various ports which have MMX/3dNow optimizations,
instead of the ad-hoc methods currently used.

Reviewed by:    peter
2001-02-27 11:21:47 +00:00
Jeroen Ruigrok van der Werven
f9eec60e72 Short lived fame for -Wundef.
Second thoughts by:	bde
2001-02-27 10:16:56 +00:00
Jeroen Ruigrok van der Werven
e18f542dc0 Add -Wundef to BDECFLAGS:
Warn if an undefined identifier is evaluated in an `#if' directive.

Not objected to by:	bde
2001-02-27 09:03:55 +00:00
Ruslan Ermilov
588a200ce1 .St -ansiC -> .St -isoC 2001-02-26 13:23:47 +00:00
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