Commit Graph

801 Commits

Author SHA1 Message Date
Nate Lawson
37efca486e Install new files from examples dir.
Approved by:	re (previously)
2002-11-24 23:57:07 +00:00
Nate Lawson
c38b150ae4 New SCSI target emulator code
This code allows a user program to enable target mode on a SIM and
then emulate any number of devices (disks, tape drives, etc.)  All
decisions about device behavior (UA, CA, inquiry response) are left
to the usermode program and the kernel driver is merely a conduit
for CCBs.  This enables multiple concurrent target emulators, each
using its own backing store and IO model.

Also included is a user program that emulates a disk (RBC) using a
file as a backing store.  This provides functionality similar to
md(4) at the CAM layer.

Code has been tested on ahc(4) and should also work on isp(4) (and
other SIMs that gain target mode support).  It is a complete rewrite
of /sys/cam/scsi_target* and /usr/share/examples/scsi_target.

Design, comments from:	gibbs
Supported by:		Cryptography Research
Approved by:		re
2002-11-22 22:55:51 +00:00
Alfred Perlstein
ac1cc6ee11 Backout "compatibility hack" for __sF.
Requested by: Steve Kargl <sgk@troutmask.apl.washington.edu> (submitter)
2002-11-04 03:23:56 +00:00
Alfred Perlstein
0fc25b925d Provide a hook to make __sF visible outside of libc for commercial apps
if WANT_COMPAT4_STDIO is defined when compiling libc.

Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
2002-11-02 19:47:53 +00:00
Poul-Henning Kamp
f33aca987b Change to match NO_MAKEDEV* -> MAKEDEV*. 2002-10-22 15:02:53 +00:00
Ruslan Ermilov
7206028152 test -h is deprecated; use -L instead.
PR:             bin/40846
2002-10-01 13:29:45 +00:00
Juli Mallett
7cfab3bb92 Allow the shell preference for make(1) to be set in make.conf(5), and hopefully
trick a few people into setting MAKE_SHELL to csh, although that can still
rebuild itself to allow them to heal the wound in their foot.
2002-09-29 00:09:22 +00:00
Hajimu UMEMOTO
b838ab7c19 Mention about how to build sendmail with SASLv2. 2002-09-24 17:07:37 +00:00
Kris Kennaway
0dafadb731 Add support for ev67 and ev45 CPUTYPEs (new in gcc3) 2002-09-07 01:26:11 +00:00
Maxime Henrion
af1ed8d074 List the new athlon CPUs supported by the CPUTYPE make variable.
Submitted by:	kris
2002-09-07 01:19:15 +00:00
Hellmuth Michaelis
866a3fa2bf add support properly displaying and logging incoming telephone numbers (MSNs)
by looking at the "type of number" field and providing configurable hooks
to correct the numbers accordingly. See keywords add-prefix, prefix-national
and prefix-international in isdnd.rc(5).
This feature was implemented by Christian Ullrich <chris@chrullrich.de>
2002-08-12 07:53:55 +00:00
Hellmuth Michaelis
9ed6ae76c7 add experimental support for Data over Voice (DoV) outgoing calls.
based on patches received from Guy Ellis (guy@traverse.com.au),
Chris Collins (xfire@xware.cx) and Phillip Musumeci (phillip@cs.jcu.edu.au).
2002-08-11 15:47:26 +00:00
Ruslan Ermilov
32f8ca450d TARGET_CPUTYPE should exist solely in Makefile.inc1, similar to
TARGET_ARCH and TARGET.  This is problematic when one has the =
(unconditional) type of assigment for CPUTYPE in /etc/make.conf.
(This would override what was set on the command line to "make
buildworld".)

Add a (horrible) kludge to Makefile.inc1 to check the type of
assignment for CPUTYPE (only for those who attempts to set it to
a different value).  Fix an example make.conf.  Fix the kernel's
build-tools target (aicasm only at the moment) to catch up with
bsd.cpu.mk,v 1.15 (BOOTSTRAPPING replaced with NO_CPU_CFLAGS in
Makefile.inc1's BMAKE).

Reviewed by:	jhb
2002-08-02 18:04:22 +00:00
Mark Murray
e830ddcaf2 There is no more UUCP in the base system, so there is no need to
prevent its building.
2002-08-02 10:40:09 +00:00
Mark Murray
418df1e498 Modernise and tidy up. 2002-08-02 10:37:22 +00:00
Hajimu UMEMOTO
68966e0453 include file of SASLv1 was changed to /usr/local/include/sasl1. 2002-07-31 15:06:09 +00:00
Marc Fonvieille
25c911a50a Correct URLs to Handbook & FAQ's pages
MFC after:	1 week
2002-07-30 21:14:15 +00:00
Marc Fonvieille
d46a60ea2e Correct links to Handbook's pages:
http://www.freebsd.org/handbook/mirrors.html is not working anymore,
http://www.freebsd.org/doc/handbook/mirrors.html is the new link

MFC after:	1 week
2002-07-30 14:08:16 +00:00
Ruslan Ermilov
d2893b161b Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by:	bde
2002-07-29 09:40:17 +00:00
Ruslan Ermilov
33c1de7d1f Ignore -C, -p, and -S options of install(1) when used with the -d
option.  Warn about COPY being phased out.  Restore the old method
of always comparing before installing: INSTALL="install -C".

Requested by:	bde
2002-07-29 08:51:04 +00:00
Matt Jacob
b52b9d56d4 Fix Makefiles to actually work. 2002-07-29 04:43:10 +00:00
Ruslan Ermilov
aed191e514 Don't install any old cruft present in the tree, including
editor backups, .orig or .rej files, etc.  Make transition
from SHARED=symlinks to SHARED=copies and vice versa work.

Submitted by:	des, ru
2002-07-19 07:51:58 +00:00
Ruslan Ermilov
d29831440a To force install(1) to always compare files before installing, one
now needs to set COPY=-C as -C is no longer compatible with the -d
option.  It is also likely to be renamed to INSTALL_COPY soon.
Update documentation to reflect this change.

PR:		bin/40724
2002-07-18 12:54:55 +00:00
Ruslan Ermilov
0b87f79976 s/${INSTALL} -c/${INSTALL} ${COPY}/ 2002-07-18 12:07:49 +00:00
Philippe Charnier
8d74f63d1e The .Nm utility 2002-07-14 14:58:11 +00:00
Ruslan Ermilov
11f0b352e0 Update the SUBDIR hacks to work with the current bsd.subdir.mk. 2002-07-11 13:38:05 +00:00
Johan Karlsson
e88001443e 's/rather then/rather than/'
PR:           38096
Submitted by: Chris Pepper <pepper@rockefeller.edu>

While I'm here correct some typos pointed out by ispell.

Approved by:  sheldonh (mentor)
MFC after:    1 week
2002-07-02 14:33:52 +00:00
Maxim Konovalov
fc193c4365 Include 'sshd' to the lists of forbidden users.
Reviewed by:	cvs-committers
2002-06-28 15:46:29 +00:00
Gregory Neil Shapiro
2a1d418ce1 Add a warning regarding the SENDMAIL_*_MC make.conf variable values.
Using /etc/mail/sendmail.mc will create /etc/mail/sendmail.cf during
a buildworld.

PR:		misc/39397
MFC after:	3 days
2002-06-20 04:33:06 +00:00
Doug Barton
b075c273da Per previous discussion, and with Mark's blessing, update the value
of this knob to reflect (-)current reality.
2002-06-09 09:28:02 +00:00
Jens Schweikhardt
21dc7d4f57 Fix typo in the BSD copyright: s/withough/without/
Spotted and suggested by:	des
MFC after:	3 weeks
2002-06-02 20:05:59 +00:00
Tim J. Robbins
7cc8320ab2 Document the ENABLE_SUID_NEWGRP variable.
Requested by:	mike
PR:		36190
2002-05-28 08:04:50 +00:00
Gregory Neil Shapiro
34925ba6f7 Add a new make.conf knob, SENDMAIL_MAP_PERMS, which specifies the
permissions to use for alias and map database files built by
/etc/mail/Makefile.  The default is 0640 to assist users in avoiding
a file locking local denial of service.

MFC after:	1 day
		pending RE approval
2002-05-24 01:46:39 +00:00
Mark Murray
588764aac2 Remove perl hooks.
Pointed out by:		des
2002-05-16 11:27:33 +00:00
Jacques Vidrine
95ba43303b Turn on the set-user-ID bit for k5su if ENABLE_SUID_K5SU is defined. 2002-05-12 03:17:31 +00:00
Dima Dorfman
b90faaf350 sysctl -w -> sysctl 2002-05-11 06:06:11 +00:00
Dima Dorfman
ff8ac0d53c sysctl -w -> sysctl
Approved by:	ume
2002-05-11 05:55:05 +00:00
Maxim Konovalov
a39c855dca Put 'ftp' back.
Requested by:	bmah, jhb
2002-05-08 17:06:40 +00:00
Maxim Konovalov
54d2dd3778 Sync with master.passwd.
PR:		conf/37796
Submitted by:	David Siebo"rger <drs@rucus.ru.ac.za>
MFC after:	3 days
2002-05-07 11:19:22 +00:00
Brian Somers
2df833538e Add smmsp, mailnull and www
PR:		37796
Submitted by:	drs@rucus.ru.ac.za
MFC after:	1 week

Note, I don't usually look after pppd (just ppp), so I haven't
removed the ftp and ingres users as I guess they're there for
a reason....
2002-05-07 09:38:02 +00:00
Gary Jennejohn
85c1d5977c Add the Dynalink IS64PPH+ as a supported card.
Reported by:	znerd
2002-04-28 11:52:53 +00:00
David E. O'Brien
788fcec086 Back out the NO_RCMNDS knob.
1. The committer refused to respond to questions over the commit.
2. The servers rlogind, rshd, rexecd were not wrapped.
3. "rcmnds" as an abbreviation gets an order of magnitude less hits on
    Google than the much more well known "rcmds".
2002-04-23 23:59:51 +00:00
Dag-Erling Smørgrav
d397408818 Usage style sweep: spell "usage" with a small 'u'.
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
2002-04-22 13:44:47 +00:00
Boris Popov
16f87d4c6b s/nwserv/nwfs/
Submitted by:	Victor Sudakov <sudakov@sibptus.tomsk.ru>
MFC after:	1 week
2002-04-20 05:04:21 +00:00
Gregory Neil Shapiro
14d6d7657a Provide a new make.conf knob, SENDMAIL_SUBMIT_MC to allow users to pick
the .mc file used for /etc/mail/submit.cf.  By default,
/etc/mail/freebsd.submit.mc is installed and used.

Requested by:	fenner
Submitted by:	ume
MFC after:	1 week
2002-04-14 19:20:26 +00:00
Julian Elischer
44f9a04673 Change the script a bit to allow the creation of 'brouted' bridges.
To do this you need to have each top-end connected as well.
IP can be routed and other protocols get bridged..
Also useful when bridgeing two networks while merging them as
machines will work with both old and new netmasks. (well mostly).
2002-04-12 04:44:53 +00:00
Bosko Milekic
e5f7f97622 Introduce NO_RCMNDS flag so as to not compile rsh, rlogin, and rcp on will,
and document in share/examples/etc/make.conf

Submitted by: Aleksandar Simic <asimic@dsl.pipex.com>
MFC after: 1 week
2002-04-09 18:25:44 +00:00
Ruslan Ermilov
bd80847a85 Style: don't override `beforeinstall', use FILES. 2002-04-02 07:48:32 +00:00
Hajimu UMEMOTO
f0654170d1 sendmail 8.12 doesn't require _FFR_UNSAFE_SASL anymore.
This is standard feature.

Submitted by:	ru
2002-03-30 18:14:37 +00:00
Hajimu UMEMOTO
40a8850bd7 sendmail 8.12 claims against GroupReadableSASLFile.
Submitted by:	mistral@imasy.or.jp
2002-03-30 17:53:10 +00:00
Hellmuth Michaelis
ad019c021e Update i4b documentation. 2002-03-26 15:14:58 +00:00
Peter Pentchev
10ddeb64d4 Install a sample /usr/share/examples/smbfs/dot.nsmbrc.
PR:		35649
Reported by:	Johann Frisch <jerfa@yahoo.com>
Reviewed by:	bp
Approved by:	bp, silence on -doc
MFC after:	1 week
2002-03-22 09:20:32 +00:00
Ruslan Ermilov
7a43a96ab0 Replaced hacks in sbin/Makefile,v 1.99 and usr.sbin/Makefile,v 1.217
with the NO_IPFILTER make.conf(5) knob.

(So that we can "make the-rest-of-the-world" again.)
2002-03-21 09:15:39 +00:00
Mark Murray
589622caaa Document NO_PERL. 2002-03-16 15:14:41 +00:00
Luigi Rizzo
902e5bd188 Add comments to ME README.BOOTP README.TEMPLATING mentioning that
they contain stale information.
Remove files referring to the old diskless setup to avoid confusion.
2002-03-15 06:47:38 +00:00
Gregory Neil Shapiro
474c81fdd8 Document new build knob, SENDMAIL_SET_USER_ID, which installs sendmail as a
set-user-ID root binary instead of the new method (set-group-ID smmsp).
2002-02-17 22:10:06 +00:00
David E. O'Brien
5af956e9f8 Document NO_CXX and NO_GDB. 2002-02-11 07:09:22 +00:00
Crist J. Clark
76f10508d4 Put a complete set of pppd(8) sample configuration files in
/usr/share/examples/pppd.

Update pppd(8) documentation to reflect this, usr.sbin/pppd/pppd.8.

Remove the out-of-place pppd(8) configuration files in etc/ppp,
ppp.shells.sample and ppp.deny.

Make the appropriate changes to the build process, etc/Makefile and
etc/mtree/BSD.usr.mtree, so it all works.

The files from etc/ppp, ppp.shells.sample and ppp.deny, were moved
with a repo copy. Note it in the logs with a forced commit to these
two.

Submitted by:	Maxim Konovalov <maxim@macomnet.ru> provided the new samples.
2002-01-29 00:23:35 +00:00
Brian Somers
d7937e18b9 Add an example for testing scalability and concurrency 2002-01-10 14:56:47 +00:00
Ruslan Ermilov
3a289cbae7 Document MODULES_OVERRIDE.
PR:		docs/32560
Submitted by:	Maxim Konovalov <maxim@macomnet.ru>
2001-12-24 19:34:33 +00:00
Gary Jennejohn
358969b6dd Update my email address, forgot to do this before.
MFC after:	4 weeks
2001-12-22 10:08:48 +00:00
Gary Jennejohn
a5fad09996 Add the ifpi2 driver. Reminded by hm.
MFC after:	4 weeks
2001-12-22 09:59:56 +00:00
Gary Jennejohn
a7df5f1bd8 Add the AVM Fritz!Card PCI version 2 controller.
MFC after:	4 weeks
2001-12-22 09:47:46 +00:00
Crist J. Clark
fab8f27310 Cleaning up some entries missed on the first sweep. Add a directory in
/var/run to store ppp(8) command sockets.

PR:		bin/29966
MFC after:	4
2001-12-17 22:05:23 +00:00
Michael Lucas
184368159f Add Italian translations to the example for refusing docproj
translations.  This will once again allow docproj trackers to use the
sample out-of-the-box to only download English.

Rapid MFC to avoid the coming freeze.

PR:		32329
Approved by:	bmah
MFC after:	1 day
2001-12-17 15:41:13 +00:00
Ruslan Ermilov
a7aaf57e4a FILES support for bsd.prog.mk. See bsd.README for details.
Stolen from:	NetBSD
2001-12-17 13:59:35 +00:00
Sheldon Hearn
3becbb252c Arrange for the smbfs examples to be installed.
We don't install dot.nsmbrc or smbfs.sh.sample, since we already install
the former as /etc/nsmb.conf and the latter is unnecessary, since
boot-time mounts can be arranged directly within /etc/fstab without fear
of breaking the boot when the smbfs port (now unnecessary is removed).

The MFC reminder below is subject to <re@FreeBSD.org> approval
priod to 4.5-RELEASE.

MFC after:	1 week
2001-12-14 12:17:03 +00:00
John Baldwin
0889b9be41 - Add 'fwrite' and 'fseek' words for writing to and seeking on files.
- Change the 'fopen' keyword to accept a mode parameter.  Note that this
  will break existing 4th scripts that use fopen.  Thus, the loader
  version has been bumped and loader.4th has been changed to check for a
  sufficient version on i386 and alpha.  Be sure that you either do a full
  world build or install or full build and install of sys/boot after this
  since loader.old won't work with the new 4th files and vice versa.

PR:		kern/32389
Submitted by:	Jonathan Mini <mini@haikugeek.com>
Sponsored by:	ClickArray, Inc.
2001-12-11 00:49:34 +00:00
Andrew R. Reiter
853fbff5f7 - Modify to make the generated device driver code work with current.
- Use M_ZERO instead of another call to bzero().

Inspired by: misc/31905
2001-11-13 17:58:14 +00:00
Andrew R. Reiter
a220d00e74 Update the KLD examples so they will work with current.
Reviewed: jhb
2001-11-13 07:42:30 +00:00
Crist J. Clark
7558c91f77 Add a directory in /var/run to store ppp(8) command sockets.
PR:		bin/29966
Approved by:	brian
MFC after:	4
2001-11-01 23:44:12 +00:00
Mark Murray
72ec126774 Back out my last commit. Ruslan (ru) has a better fix. 2001-10-24 07:59:42 +00:00
Mark Murray
f1986f092b Make sure the copies: and symlinks: targets exist in the case of the
empty ".for ..." loop.
2001-10-23 21:28:39 +00:00
John Hay
defe677bdf Back out my previous commit. It is not necessary anymore now that Ruslan
fixed the ipfilter directory with a NOOBJ.
2001-10-22 16:32:44 +00:00
Ruslan Ermilov
d485784216 Clamp down with NOOBJ. 2001-10-22 10:06:25 +00:00
John Hay
fbf68bb932 Unbreak make world by adding .CURDIR here and there.
Submitted by:	Harry Starr <starr3@gccs.com.au>
2001-10-22 08:56:02 +00:00
Hellmuth Michaelis
a8142a86d9 Thanks for postcards ... 2001-10-21 09:39:22 +00:00
Hellmuth Michaelis
85b038fce5 upadate the release notes 2001-10-21 09:30:10 +00:00
Hellmuth Michaelis
676ccc0cd0 Add a driver for the Compaq Microcom 610 ISDN (Compaq series PSB2222I) ISA PnP
card.

Submitted by:   Steve Looman
Reviewed by:    hm
MFC after:      1 month
2001-10-21 09:20:52 +00:00
Darren Reed
2600f5b80b Add the ipfilter subdirectory
PR:		26763
2001-10-20 04:18:13 +00:00
Darren Reed
6de4d5d5a4 Add the IPFilter how-to and other related documents to the base install
so that users gets ipfilter examples without a source install.

PR:		26763
Submitted by:	Cyrille Lefevre <clefevre@poboxes.com>
2001-10-20 04:17:07 +00:00
Hellmuth Michaelis
8f3a90354e Add experimental support for sending keypad facility messages.
MFC after: 2 months
2001-10-18 11:58:49 +00:00
Brian Somers
ae2bac960e Port 139 (NetBIOS session management) is a tcp socket, not udp.
PR:		31215
Submitted by:	Stephane Marzloff <secrer@le-bar.org>
MFC after:	1 week
2001-10-15 16:08:40 +00:00
Kris Kennaway
4412b0f413 Put back NOUUCP for now; cu and rmail are remaining pieces of the UUCP
code which will stay for now.
2001-10-01 08:13:57 +00:00
Kris Kennaway
0264ba41a1 Remove NOUUCP build option 2001-10-01 06:28:30 +00:00
Sheldon Hearn
256ab0ef06 1) Fix change_rules.sh for the case where firewall_type provides the
name of a file containing ipfw rules.

2) Replace the use of a predictable temporary filename with one
   generated by mktemp(1).

3) Only exit with a zero exit status if the rules were updated.

4) Use a pager to view the new rules, not an editor.

I was told by dcs that this script's original author is no longer
interested in FreeBSD and would not wish to review this patch.
2001-09-30 14:30:55 +00:00
Ruslan Ermilov
db4de7c98c Add ports/french and ports/ukrainian to the list of foreign-language ports.
PR:		docs/30687
Submitted by:	Rob Simmons <rsimmons@mail.wlcg.com>
2001-09-20 16:00:24 +00:00
Ruslan Ermilov
6370be088b Correct comments to fit current realities of exporting crypto.
MFC after:	3 days
2001-09-20 06:45:44 +00:00
Ruslan Ermilov
2fb2e1897d Style. 2001-09-18 12:28:22 +00:00
Ruslan Ermilov
6990ffd8a9 Style. 2001-09-18 12:03:42 +00:00
Alexander Langer
d33a962d07 Move /etc/defaults/make.conf to /usr/share/examples/etc/make.conf as
discussed on the arch@ mailinglist (after repo-copy).

sys.mk will .error if it finds /etc/defaults/make.conf but include
it anyways (this is the same behaviour as with the make.conf.local
removal).

/usr/share/examples/etc/make.conf has BDEFLAGS commented out now,
since it's only an example file.

Adjust all textes that talk about make.conf or defaults/make.conf to
match the new situation.
2001-08-30 22:44:51 +00:00
Alexander Langer
ff6ea8bb9d Document defaults/periodic.conf. 2001-08-29 19:45:27 +00:00
Alexander Langer
2d68fd8741 RIP all ports options, as discussed on arch@. 2001-08-29 19:38:17 +00:00
Jim Mock
c412ee3a28 Add doc/sr and doc/sr_* to the sample refuse file.
PR:		29935
Submitted by:	Rob Simmons <rsimmons@mail.wlcg.com>
2001-08-22 00:38:59 +00:00
David E. O'Brien
d549989694 Add the `WANT_FORCE_OPTIMIZATION_DOWNGRADE' knob. If set to an integer
value, it forces GCC to not optimize above this level.  For intance, GCC
made with "WANT_FORCE_OPTIMIZATION_DOWNGRADE=1" is a good setting for the
Alpha platform when building ports.
2001-08-16 06:05:18 +00:00
Ruslan Ermilov
8af1452cf8 Removed duplicate VCS ID tags, as per style(9). 2001-08-13 14:06:34 +00:00
Mark Murray
37ee76af52 Remove the WANT_INSECURE_OPIE option - it is now a default. This is not
nearly as ominous as it sounds, and it allows OPIE to be used over SSH
and on xterms.

Requested by:	ache
Discussed on:	-security
2001-08-12 18:47:56 +00:00
Akinori MUSHA
f418fdfb89 Chagne MASTER_SITE_FREEBSD to MASTER_SITE_FREEBSD_ORG, because
MASTER_SITE_FREEBSD is already used in bsd.port.mk for some different
purpose.
2001-08-12 17:22:41 +00:00
Akinori MUSHA
000d8e5b75 Fix MASTER_SITE_RUBY. The listed master site is obsolete. 2001-08-12 17:09:19 +00:00
Akinori MUSHA
81030c6ed5 Add MASTER_SITE_FREEBSD. 2001-08-12 16:32:05 +00:00
Ruslan Ermilov
29760d1162 mdoc(7) police: markup nits. 2001-08-08 09:16:47 +00:00
Poul-Henning Kamp
8e4359286c Improve the example FreeBSD/Beastie poster a bit:
Move Kirks copyright up above the bottom banner.
	Use the right font in the bottom banner.
	Move the bottom banner up so inkjet printers can print it.
2001-08-07 22:09:47 +00:00
Nik Clayton
ba139b3c03 Note that the doc collection is not branched. 2001-08-06 06:52:24 +00:00
David E. O'Brien
81c6395691 It appears we really shouldn't be following this example man page -- one
should not use a `%' in examples.

I don't know if this is the consensus of doc@, or just a unilateral decision
of committer that corrected my following of this example.  Maybe a docs
person could review these files and see if they still show current guidelines.
2001-08-01 04:27:48 +00:00
Andrey A. Chernov
a1ff8bfdb3 Since we remove skey... 2001-07-30 16:05:03 +00:00
Peter Wemm
791da841a1 Take -Wconversion out of BDECFLAGS. It is not particularly useful for
us anyway because it doesn't work right on the x86 and alpha.  On
K&R code, small ints would be promoted to int.  ANSI-C doesn't require
this and the small ints can be passed taking 8 or 16 bits of stack
space.  However, the x86 abi that we use *does* promote to 32 bit,
and the alpha ABI passes them in 64 bit registers so we dont have
that aspect of the problem here.  Losing float precision by having it
cast down to int because the funtion prototype specifies int is the
least of our problems.  -Wmissing-prototypes helps here anyway.
2001-07-27 16:23:53 +00:00
Brian Somers
68fe945a06 Remove redundant mtu/mru/speed settings
MFC after: 6 days
2001-07-24 13:11:57 +00:00
Gregory Neil Shapiro
f4843be999 New make knob, SENDMAIL_M4_FLAGS, modifies the flags passed to m4 when
building a .cf file from a .mc file.

Include -D_FFR_TLS_O_T to enable tls policy control since the sendmail binary
build enables that FFR as well.

PR:		conf/28361
MFC after:	1 week
2001-07-23 01:33:54 +00:00
Hellmuth Michaelis
fae7473ba4 Add a patch from the isdn mailinglist, Juha writes:
ppp in 4.x apparently does a close(2) after opening the tun device;
 i4brunppp starts up with only file descriptors 0 and 1 open (to the rbch
 device) -> tun gets opened as 2 -> tun gets closed -> later use results
 in EBADF. A quick fix to i4brunppp.c makes the thing work (I know, this
 is ugly, but I needed it up quick...):

Submitted by:	Juha-Matti Liukkonen <jml@cubical.fi>
2001-07-21 11:52:31 +00:00
Hellmuth Michaelis
868080172d Add the i4brunppp utility to the example section. This utility is one way
of taking incoming calls with i4b in conjunction with userland ppp(8).
2001-07-21 11:49:28 +00:00
Hellmuth Michaelis
346c9818d5 update ReleaseNotes for isdnd keyword maxconnecttime 2001-07-21 11:30:38 +00:00
Ruslan Ermilov
d72ca9ddd1 Removed the comment that required all FreeBSD manpages
to have the $FreeBSD$ keyword, as this is now enforced
by the CVSROOT/commit_prep.pl script.

Fold multi-word macro arguments into a single argument
by putting the surrounding double quotes - this speeds
up the -mdoc processing drastically (of course if used
systematically).

Use the new features of -mdoc: exact -width specifiers,
.In macro as an ``.Fd #include'' replacement.
2001-07-18 10:04:34 +00:00
Sheldon Hearn
03e563d7dc Remove an example of bad sentence breaking style. 2001-07-18 08:51:04 +00:00
Dima Dorfman
02c4d9cff7 Remove whitespace at EOL. 2001-07-15 08:21:37 +00:00
Mark Murray
b4248e7919 Provide a hint for the OPIE 'insecure' mode. 2001-07-10 17:11:02 +00:00
Brian Somers
7bc6d0158f Fix the type of the NULL arg to execl()
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
Ruslan Ermilov
5521ff5a4d mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2). 2001-07-06 16:46:48 +00:00
Brian Somers
8e18db5a52 Fix some typos.
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
MFC after:	1 week
2001-07-02 12:23:28 +00:00
Dima Dorfman
232edd1c88 Correct a brain-o in the stats output.
PR:		24839
Submitted by:	AMAKAWA Shuhei <amakawa@sf.t.u-tokyo.ac.jp>
2001-06-30 21:39:31 +00:00
Gregory Neil Shapiro
f87b85b2f0 Typo fix (modifes -> modifies) 2001-06-27 01:48:02 +00:00
Ruslan Ermilov
29d19e86ae Make this really work. 2001-06-18 12:35:14 +00:00
Nik Clayton
4ed950ad98 Include a mention of WRKDIRPREFIX, useful when mounting /usr/ports readonly
from another host.
2001-06-15 08:35:57 +00:00
Hajimu UMEMOTO
3384154590 Sync with recent KAME.
This work was based on kame-20010528-freebsd43-snap.tgz and some
critical problem after the snap was out were fixed.
There are many many changes since last KAME merge.

TODO:
  - The definitions of SADB_* in sys/net/pfkeyv2.h are still different
    from RFC2407/IANA assignment because of binary compatibility
    issue.  It should be fixed under 5-CURRENT.
  - ip6po_m member of struct ip6_pktopts is no longer used.  But, it
    is still there because of binary compatibility issue.  It should
    be removed under 5-CURRENT.

Reviewed by:	itojun
Obtained from:	KAME
MFC after:	3 weeks
2001-06-11 12:39:29 +00:00
Andrey A. Chernov
ce4bd508ed ISO_ -> ISO in comment 2001-06-11 01:32:33 +00:00
Andrey A. Chernov
fe6f7d3ab4 ISO_ -> ISO in DOC_LANG 2001-06-11 01:26:52 +00:00
Hajimu UMEMOTO
ce6282db3b Implement EDNS0 support, as EDNS0 support will be made mandatory for
IPv6 transport-ready resolvers/DNS servers.  Need careful configuration
when enable it. (default config is not affected).
See manpage for details.

XXX visible symbol __res_opt() is added, however, it is not supposed to be
called from outside, libc minor is not bumped.

Obtained from:	KAME/NetBSD
2001-06-10 20:25:24 +00:00
Daniel C. Sobral
db97c662cf Use ${EDITOR} as claimed.
Source rc.conf and use ${firewall_script} instead of rc.firewall.

Textwidth formatting of comments and text.

PR:
Submitted by:	Maxim <maxim@news1.macomnet.ru>

(sorry if I got name/email/committer status wrong :)
2001-06-06 19:34:02 +00:00
Daniel C. Sobral
7b4d3c72cc Introduce an example script of safe changing of ipfw(8) rules.
I'm sure this can be much improved, but this works fairly well.

PR:		27887
Submitted by:	Alexandre Peixoto <alexandref@tcoip.com.br>
MFC after:	1 week
2001-06-06 15:45:04 +00:00
Hellmuth Michaelis
789ffddeae added Sergio de Souza Prallon (prallon@tmp.com.br), the author of
the itjc hardware driver.
2001-06-02 12:27:37 +00:00
Hellmuth Michaelis
0b44e3e96c update the isdn4bsd general documentation 2001-06-02 12:21:16 +00:00
Hellmuth Michaelis
afbbd405df bring the roadmap to isdn4bsd up to date. 2001-06-02 11:48:50 +00:00
Hellmuth Michaelis
12aeb68f9d update the postcard list 2001-06-02 11:31:33 +00:00
Mark Murray
7ed3b855bb PERL_THREADED is too experimental at this stage. Remove. 2001-05-31 11:19:00 +00:00
Hellmuth Michaelis
58e7e3b406 Add an example of a kernel configuration file fragment for ISDN. 2001-05-27 11:34:15 +00:00
Sheldon Hearn
68933300c9 The PERL_THREADED knob is causing too many people too many problems.
Add a dire warning about the experimental nature of threaded Perl.
2001-05-27 11:23:31 +00:00
Hellmuth Michaelis
9210280057 Add the contributed directory from the i4b tarball and the files from it
which would be nice to have.
Move isdnd_acct and isdnctl to the contrib directory where they belong to.
2001-05-25 13:25:59 +00:00
Hellmuth Michaelis
698c326a2e Submitted by: phk
Add the V.21 modem emulator code written by phk from the old i4b tarball.
2001-05-25 13:04:58 +00:00
Alexander Langer
5bfc2e1909 This script can control the state of your ISDN line. It counts
how many scripts/users currently use the ISDN line and uses
"ifconfig down" if noone uses it any more.

Not objected by:	hm
2001-05-25 12:27:00 +00:00
Hellmuth Michaelis
53a601f0e1 update isdn4bsd related information. 2001-05-25 12:18:47 +00:00
Brian Somers
fa8c1aaabc Mention that ppp.conf.isdn isn't appropriate for external TAs
Add a section to ppp.conf.sample that is.

MFC after: 3 weeks
2001-05-25 12:11:02 +00:00
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