History log of /freebsd-10.1-release/share/examples/
Revision Date Author Comments
272461 03-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


272058 24-Sep-2014 rodrigc

MFC r271447, r271496
- Attach the ISO to an ahci-cd emulated device
- Propagate the error status of /usr/sbin/bhyve

Approved by:re (delphij)


271106 04-Sep-2014 rodrigc

MFC r270512 r270513 r270754
- add comments which describe exit status codes of /usr/sbin/bhyve
- move bhyvectl --destroy outside of the while loop
- Use "file -s" so that we can run vmrun.sh against special devces such as
/dev/md memory files systems or zvols


270922 01-Sep-2014 trasz

MFC r270135:

Remove vestiges of previous autofs.

Discussed with: alfred@
Sponsored by: The FreeBSD Foundation


269928 13-Aug-2014 gavin

Merge r267867 from head:

Remove example cvsup config files.


269879 12-Aug-2014 emaste

MFC cleanup of libusb20 example

r257779 by hselasky:

- Use libusb20_strerror() function instead of custom usb_error() one.
- Rename "aux.[ch]" to "util.[ch]" which is a more common name for
utility functions and allows checkout on some non-FreeBSD systems
where the "aux.*" namespace is reserved.
- Fix some compile warnings while at it.

r257796 by glebius:

Finish r257779.

PR: 183728


269397 01-Aug-2014 jhb

MFC 256657,257423,264837,267559:
Sync vmrun.sh with HEAD:
- Add -e option to vmrun.sh passed to bhyveload(8) to set loader
environment variables.
- Stop passing unused -I option to bhyve(8).
- Reformat the usage to fit in 80 colums and other cleanups.
- Add -C option to specify the console device.
- Add -H option to pass a host path to bhyveload(8).
- Support for multiple disk and tap devices.


269102 25-Jul-2014 ian

MFC r263373, r268402

Add a way to apply CFLAGS only when building the given architecture. This
is useful primarily on a system used for cross-building, when you have a
set of flags to apply to the TARGET_ARCH being cross-built but don't want
those settings applied to building the cross-tools or other components that
run on the build host machine.

Support CXXFLAGS.${MACHINE_ARCH} as well as CFLAGS. This allows different
C++ options for toolchain versus target when cross-building.


268758 16-Jul-2014 gavin

Merge r267865 from head:
Drop example variables for updating over csup. These have not functioned
since r251084


268594 13-Jul-2014 jhb

MFC 267963:
The latest versoin of file/libmagic identifes a filesystem image
is identified as "DOS/MBR boot sector" as opposed to "x86 boot sector".

This trips up vmrun.sh when using the new file(1) and makes it want to boot
into the installer instead.

Fix this by just looking for "boot sector" instead.


264603 17-Apr-2014 jmmv

MFC r263173: Remove unnecessary svn:executable property from source file.


264483 14-Apr-2014 jmmv

MFC refactoring of the *.test.mk files.

- r263161 Make bsd.test.mk the only public mk fragment for the building of tests.
- r263172 Move FreeBSD Test Suite-specific code to a suite.test.mk file.
- r263204 Add some documentation for bsd.test.mk.
- r263217 Document support for TAP-compliant Perl test programs.

This is "make tinderbox" clean.


263882 28-Mar-2014 jkim

MFC: r263435

Add new CPUTYPEs supported by Clang 3.4.


260037 29-Dec-2013 jmmv

Add sample test programs.

This is a MFC of the following into stable/10:
- r258299 Add some sample test programs.
- r258552 Generate plain sh test programs from a source file.

As usual, "make tinderbox" clean on ref10-amd64.


259073 07-Dec-2013 peter

Hoist all the mergeinfo up to the root in preparation for enforcing merges
to the root only. All MFC's were rerecorded to the root.

Going forward, if an MFC includes mergeinfo, it will need to be made to
the root and committed from the root. Merges with --ignore-ancestry
or diff | patch can go anywhere.

The mergeinfo in HEAD is in a bad state from years of neglect and manual
tampering and this was branched into 10.x. This confuses the coalescing
code and prevents it from doing its job.

Approved by: re (gjb, implicit)


257396 30-Oct-2013 neel

MFC r257293.

Add support for PCI-to-ISA LPC bridge emulation. If the LPC bus is attached
to a virtual machine then we implicitly create COM1 and COM2 ISA devices.

Prior to this change the only way of attaching a COM port to the virtual
machine was by presenting it as a PCI device that is mapped at the legacy
I/O address 0x3F8 or 0x2F8.

There were some issues with the original approach:
- It did not work at all with UEFI because UEFI will reprogram the PCI device
BARs and remap the COM1/COM2 ports at non-legacy addresses.
- OpenBSD GENERIC kernel does not create a /dev/console because it expects
the uart device at the legacy 0x3F8/0x2F8 address to be an ISA device.
- It was functional with a FreeBSD guest but caused the console to appear
on /dev/ttyu2 which was not intuitive.

The uart emulation is now independent of the bus on which it resides. Thus it
is possible to have uart devices on the PCI bus in addition to the legacy
COM1/COM2 devices behind the LPC bus.

The command line option to attach ISA COM1/COM2 ports to a virtual machine is
"-s <bus>,lpc -l com1,stdio".

The command line option to create a PCI-attached uart device is:
"-s <bus>,uart[,stdio]"

The command line option to create PCI-attached COM1/COM2 device is:
"-S <bus>,uart[,stdio]". This style of creating COM ports is deprecated.

Approved by: re (glebius)


256381 12-Oct-2013 markm

Merge from project branch via main. Uninteresting commits are trimmed.

Refactor of /dev/random device. Main points include:

* Userland seeding is no longer used. This auto-seeds at boot time
on PC/Desktop setups; this may need some tweeking and intelligence
from those folks setting up embedded boxes, but the work is believed
to be minimal.

* An entropy cache is written to /entropy (even during installation)
and the kernel uses this at next boot.

* An entropy file written to /boot/entropy can be loaded by loader(8)

* Hardware sources such as rdrand are fed into Yarrow, and are no
longer available raw.

------------------------------------------------------------------------
r256240 | des | 2013-10-09 21:14:16 +0100 (Wed, 09 Oct 2013) | 4 lines

Add a RANDOM_RWFILE option and hide the entropy cache code behind it.
Rename YARROW_RNG and FORTUNA_RNG to RANDOM_YARROW and RANDOM_FORTUNA.
Add the RANDOM_* options to LINT.

------------------------------------------------------------------------
r256239 | des | 2013-10-09 21:12:59 +0100 (Wed, 09 Oct 2013) | 2 lines

Define RANDOM_PURE_RNDTEST for rndtest(4).

------------------------------------------------------------------------
r256204 | des | 2013-10-09 18:51:38 +0100 (Wed, 09 Oct 2013) | 2 lines

staticize struct random_hardware_source

------------------------------------------------------------------------
r256203 | markm | 2013-10-09 18:50:36 +0100 (Wed, 09 Oct 2013) | 2 lines

Wrap some policy-rich code in 'if NOTYET' until we can thresh out
what it really needs to do.

------------------------------------------------------------------------
r256184 | des | 2013-10-09 10:13:12 +0100 (Wed, 09 Oct 2013) | 2 lines

Re-add /dev/urandom for compatibility purposes.

------------------------------------------------------------------------
r256182 | des | 2013-10-09 10:11:14 +0100 (Wed, 09 Oct 2013) | 3 lines

Add missing include guards and move the existing ones out of the
implementation namespace.

------------------------------------------------------------------------
r256168 | markm | 2013-10-08 23:14:07 +0100 (Tue, 08 Oct 2013) | 10 lines

Fix some just-noticed problems:

o Allow this to work with "nodevice random" by fixing where the
MALLOC pool is defined.

o Fix the explicit reseed code. This was correct as submitted, but
in the project branch doesn't need to set the "seeded" bit as this
is done correctly in the "unblock" function.

o Remove some debug ifdeffing.

o Adjust comments.

------------------------------------------------------------------------
r256159 | markm | 2013-10-08 19:48:11 +0100 (Tue, 08 Oct 2013) | 6 lines

Time to eat crow for me.

I replaced the sx_* locks that Arthur used with regular mutexes;
this turned out the be the wrong thing to do as the locks need to
be sleepable. Revert this folly.

# Submitted by: Arthur Mesh <arthurmesh@gmail.com> (In original diff)

------------------------------------------------------------------------
r256138 | des | 2013-10-08 12:05:26 +0100 (Tue, 08 Oct 2013) | 10 lines

Add YARROW_RNG and FORTUNA_RNG to sys/conf/options.

Add a SYSINIT that forces a reseed during proc0 setup, which happens
fairly late in the boot process.

Add a RANDOM_DEBUG option which enables some debugging printf()s.

Add a new RANDOM_ATTACH entropy source which harvests entropy from the
get_cyclecount() delta across each call to a device attach method.

------------------------------------------------------------------------
r256135 | markm | 2013-10-08 07:54:52 +0100 (Tue, 08 Oct 2013) | 8 lines

Debugging. My attempt at EVENTHANDLER(multiuser) was a failure; use
EVENTHANDLER(mountroot) instead.

This means we can't count on /var being present, so something will
need to be done about harvesting /var/db/entropy/... .

Some policy now needs to be sorted out, and a pre-sync cache needs
to be written, but apart from that we are now ready to go.

Over to review.

------------------------------------------------------------------------
r256094 | markm | 2013-10-06 23:45:02 +0100 (Sun, 06 Oct 2013) | 8 lines

Snapshot.

Looking pretty good; this mostly works now. New code includes:

* Read cached entropy at startup, both from files and from loader(8)
preloaded entropy. Failures are soft, but announced. Untested.

* Use EVENTHANDLER to do above just before we go multiuser. Untested.

------------------------------------------------------------------------
r256088 | markm | 2013-10-06 14:01:42 +0100 (Sun, 06 Oct 2013) | 2 lines

Fix up the man page for random(4). This mainly removes no-longer-relevant
details about HW RNGs, reseeding explicitly and user-supplied
entropy.

------------------------------------------------------------------------
r256087 | markm | 2013-10-06 13:43:42 +0100 (Sun, 06 Oct 2013) | 6 lines

As userland writing to /dev/random is no more, remove the "better
than nothing" bootstrap mode.

Add SWI harvesting to the mix.

My box seeds Yarrow by itself in a few seconds! YMMV; more to follow.

------------------------------------------------------------------------
r256086 | markm | 2013-10-06 13:40:32 +0100 (Sun, 06 Oct 2013) | 11 lines

Debug run. This now works, except that the "live" sources haven't
been tested. With all sources turned on, this unlocks itself in
a couple of seconds! That is no my box, and there is no guarantee
that this will be the case everywhere.

* Cut debug prints.

* Use the same locks/mutexes all the way through.

* Be a tad more conservative about entropy estimates.

------------------------------------------------------------------------
r256084 | markm | 2013-10-06 13:35:29 +0100 (Sun, 06 Oct 2013) | 5 lines

Don't use the "real" assembler mnemonics; older compilers may not
understand them (like when building CURRENT on 9.x).

# Submitted by: Konstantin Belousov <kostikbel@gmail.com>

------------------------------------------------------------------------
r256081 | markm | 2013-10-06 10:55:28 +0100 (Sun, 06 Oct 2013) | 12 lines

SNAPSHOT.

Simplify the malloc pools; We only need one for this device.

Simplify the harvest queue.

Marginally improve the entropy pool hashing, making it a bit faster
in the process.

Connect up the hardware "live" source harvesting. This is simplistic
for now, and will need to be made rate-adaptive.

All of the above passes a compile test but needs to be debugged.

------------------------------------------------------------------------
r256042 | markm | 2013-10-04 07:55:06 +0100 (Fri, 04 Oct 2013) | 25 lines

Snapshot. This passes the build test, but has not yet been finished or debugged.

Contains:

* Refactor the hardware RNG CPU instruction sources to feed into
the software mixer. This is unfinished. The actual harvesting needs
to be sorted out. Modified by me (see below).

* Remove 'frac' parameter from random_harvest(). This was never
used and adds extra code for no good reason.

* Remove device write entropy harvesting. This provided a weak
attack vector, was not very good at bootstrapping the device. To
follow will be a replacement explicit reseed knob.

* Separate out all the RANDOM_PURE sources into separate harvest
entities. This adds some secuity in the case where more than one
is present.

* Review all the code and fix anything obviously messy or inconsistent.
Address som review concerns while I'm here, like rename the pseudo-rng
to 'dummy'.

# Submitted by: Arthur Mesh <arthurmesh@gmail.com> (the first item)

------------------------------------------------------------------------
r255319 | markm | 2013-09-06 18:51:52 +0100 (Fri, 06 Sep 2013) | 4 lines

Yarrow wants entropy estimations to be conservative; the usual idea
is that if you are certain you have N bits of entropy, you declare
N/2.

------------------------------------------------------------------------
r255075 | markm | 2013-08-30 18:47:53 +0100 (Fri, 30 Aug 2013) | 4 lines

Remove short-lived idea; thread to harvest (eg) RDRAND enropy into the
usual harvest queues. It was a nifty idea, but too heavyweight.

# Submitted by: Arthur Mesh <arthurmesh@gmail.com>

------------------------------------------------------------------------
r255071 | markm | 2013-08-30 12:42:57 +0100 (Fri, 30 Aug 2013) | 4 lines

Separate out the Software RNG entropy harvesting queue and thread
into its own files.

# Submitted by: Arthur Mesh <arthurmesh@gmail.com>

------------------------------------------------------------------------
r254934 | markm | 2013-08-26 20:07:03 +0100 (Mon, 26 Aug 2013) | 2 lines

Remove the short-lived namei experiment.

------------------------------------------------------------------------
r254928 | markm | 2013-08-26 19:35:21 +0100 (Mon, 26 Aug 2013) | 2 lines

Snapshot; Do some running repairs on entropy harvesting. More needs
to follow.

------------------------------------------------------------------------
r254927 | markm | 2013-08-26 19:29:51 +0100 (Mon, 26 Aug 2013) | 15 lines

Snapshot of current work;

1) Clean up namespace; only use "Yarrow" where it is Yarrow-specific
or close enough to the Yarrow algorithm. For the rest use a neutral
name.

2) Tidy up headers; put private stuff in private places. More could
be done here.

3) Streamline the hashing/encryption; no need for a 256-bit counter;
128 bits will last for long enough.

There are bits of debug code lying around; these will be removed
at a later stage.

------------------------------------------------------------------------
r254784 | markm | 2013-08-24 14:54:56 +0100 (Sat, 24 Aug 2013) | 39 lines

1) example (partially humorous random_adaptor, that I call "EXAMPLE")
* It's not meant to be used in a real system, it's there to show how
the basics of how to create interfaces for random_adaptors. Perhaps
it should belong in a manual page

2) Move probe.c's functionality in to random_adaptors.c
* rename random_ident_hardware() to random_adaptor_choose()

3) Introduce a new way to choose (or select) random_adaptors via tunable
"rngs_want" It's a list of comma separated names of adaptors, ordered
by preferences. I.e.:
rngs_want="yarrow,rdrand"

Such setting would cause yarrow to be preferred to rdrand. If neither of
them are available (or registered), then system will default to
something reasonable (currently yarrow). If yarrow is not present, then
we fall back to the adaptor that's first on the list of registered
adaptors.

4) Introduce a way where RNGs can play a role of entropy source. This is
mostly useful for HW rngs.

The way I envision this is that every HW RNG will use this
functionality by default. Functionality to disable this is also present.
I have an example of how to use this in random_adaptor_example.c (see
modload event, and init function)

5) fix kern.random.adaptors from
kern.random.adaptors: yarrowpanicblock
to
kern.random.adaptors: yarrow,panic,block

6) add kern.random.active_adaptor to indicate currently selected
adaptor:
root@freebsd04:~ # sysctl kern.random.active_adaptor
kern.random.active_adaptor: yarrow

# Submitted by: Arthur Mesh <arthurmesh@gmail.com>

Submitted by: Dag-Erling Smørgrav <des@FreeBSD.org>, Arthur Mesh <arthurmesh@gmail.com>
Reviewed by: des@FreeBSD.org
Approved by: re (delphij)
Approved by: secteam (des,delphij)


256366 12-Oct-2013 rpaulo

MFC 256365
Remove most of the ATF tools and the _atf user.

Approved by: re


256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


256176 09-Oct-2013 neel

Parse the memory size parameter using expand_number() to allow specifying
the memory size more intuitively (e.g. 512M, 4G etc).

Submitted by: rodrigc
Reviewed by: grehan
Approved by: re (blanket)


255362 07-Sep-2013 markm

Bring in some behind-the-scenes development, mainly By Arthur Mesh,
the rest by me.

o Namespace cleanup; the Yarrow name is now restricted to where it
really applies; this is in anticipation of being augmented or
replaced by Fortuna in the future. Fortuna is mentioned, but behind
#if logic, and is ignorable for now.

o The harvest queue is pulled out into its own modules.

o Entropy harvesting is emproved, both by being made more conservative,
and by separating (a bit!) the sources. Available entropy crumbs are
marginally improved.

o Selection of sources is made clearer. With recent revelations,
this will receive more work in the weeks and months to come.

Submitted by: Arthur Mesh (partly) <arthurmesh@gmail.com>


255120 01-Sep-2013 mav

Bring legacy CAM target implementation back into API/KPI-coherent and even
functional state. While CTL is much more superior target from all points,
there is no reason why this code should not work.

Tested with ahc(4) as target side HBA.

MFC after: 2 weeks


253750 28-Jul-2013 avg

Revert r253748,253749

This WIP should not have been committed yet.

Pointyhat to: avg


253749 28-Jul-2013 avg

remove needless inclusion of machine/cpu.h in userland

MFC after: 21 days


253421 17-Jul-2013 glebius

Fix typo.

Submitted by: ae


253420 17-Jul-2013 glebius

Improve example, so that it doesn't dump core when example module
isn't loaded.


252356 28-Jun-2013 davide

- Trim an unused and bogus Makefile for mount_smbfs.
- Reconnect with some minor modifications, in particular now selsocket()
internals are adapted to use sbintime units after recent'ish calloutng
switch.


252314 27-Jun-2013 jkim

Add "amdfam10" to the supported CPU types for amd64. This complements
r251691 and 251692.


251692 13-Jun-2013 jkim

Add a missing comma.


251691 13-Jun-2013 jkim

- Document GCC support for AMD Family 10h processors (amdfam10).
- Document Clang support for AMD Jaguar processors (btver2).


250460 10-May-2013 eadler

Fxi a bunch of typos.

PR: misc/174625
Submitted by: Jeremy Chadwick <jdc@koitsu.org>


250012 28-Apr-2013 eadler

Add an alternate version of beastie to the examples directory.

PR: docs/38556
Submitted by: Rahul Siddharthan <rsidd@online.fr>
Submitted on: 25 May 2002 22:49:56 -0000
MFC After: 2 weeks


249952 26-Apr-2013 bdrewery

Fix examples for overriding INSTALL to not suggest hardcoding
'install' since it breaks buildworld after the introduction and
use of 'install -l' in r245752. Overriding INSTALL causes
/usr/bin/install to be used instead of the proper
/usr/src/tools/install.sh which handles the new flag.

Approved by: bapt
MFC after: 2 weeks


248840 28-Mar-2013 neel

Add the "-g <gdport>" option to the vmrun.sh script that enables remote
debugging of the guest via kgdb.

See also: https://wiki.freebsd.org/BHyVe/gdb

Obtained from: NetApp


248617 22-Mar-2013 des

Retire the mislabeled ENABLE_SUID_SSH knob.


248484 19-Mar-2013 neel

Add bhyve to examples.

Requested by: alfred, julian
Obtained from: NetApp


248168 11-Mar-2013 bapt

Disconnect files removed in r248151


248151 11-Mar-2013 bapt

Ports are no more exported via cvsup, remove cvsup examples and documentation refering to ports

MFC after: 2 days


248097 09-Mar-2013 attilio

Garbage collect NWFS and NCP bits which are now completely disconnected
from the tree since few months.

This patch is not targeted for MFC.


247640 02-Mar-2013 attilio

Garbage collect PORTALFS bits which are now completely disconnected from
the tree since few months.

This patch is not targeted for MFC.


244998 03-Jan-2013 peter

Tone down the encouragement to use cvsup. Add directions to the handbook
pages that cover the more current methods and bring closer to reality.


244122 11-Dec-2012 eadler

Remove 'dangerous' instructions from the example make.conf.
Clarify when and why these might be used and that this isn't a supported
configuration.

PR: docs/144488
Submitted by: amdmi3
Approved by: cperciva (implicit)
MFC after: 2 weeks


244040 08-Dec-2012 eadler

A number of places in the source tree still reference cuad.* after
sio(4) was deprecated by uart(4).

s/cuad/cuau/g/

PR: docs/171533
Reviewed by: imp
Approved by: cperciva (implicit)
MFC after: 3 weeks


243846 04-Dec-2012 jkim

Tidy up bsd.cpu.mk for X86 CPUs:

- Do not limit recent processors to "prescott" class for i386 target. There
is no reason for this hack because clang is default now. On top of that, it
will only grow indefinitely over time.
- Add more CPUTYPEs, i.e., "athlon-fx", "core-avx2", "atom", "penryn", and
"yonah". Note "penryn" and "yonah" are intentionally undocumented because
they are not supported by gcc and marked deprecated by clang.
- Add more CPUTYPE aliases, i.e., "barcelona" (-> amdfam10), "westmere" and
"nehalem" (-> corei7). Note these are intentionally undocumented because
they are not supported by (base) gcc and/or clang. However, LLVM (backend)
seems to "know" the differences. Most likely, they were deprecated with
other vendor code names and clang did not bother implementing them at all.
- Add i686 to MACHINE_CPU for "c3-2" (VIA Nehemiah). Both gcc & clang treat
it like an i686-class processor.
- Add IDT "winchip2" and "winchip-c6" for completeness (undocumented).
- Order processors per make.conf example, i.e., CPU vendors and models.
- Tidy up make.conf example, i.e., remove "by gcc" (because we have aliases)
and remove "prescott" from AMD64 architecture (because it is not correct).


243831 03-Dec-2012 jkim

Remove fictitious support for 80386-class CPUs from bsd.cpu.mk and make(1).
It was removed from head more than 8 years ago (see r137784 and r137785).

Reviewed by: imp, delphij, dim


243315 19-Nov-2012 jkim

Clean up and update comments for CPUTYPE.

Requested by: rdivacky


242647 06-Nov-2012 mav

Decode common state bits in getencstat output.


242638 06-Nov-2012 mav

Add -c option to sesd to make it clear enclosure status after reading it
in case if it is not permanent and was fixed.


242634 05-Nov-2012 mav

Rise priority of the informational messages from LOG_INFO to LOG_NOTICE,
same as used for OK status. Otherwise it looks strange when OK status is
reported, while informational is not.


242621 05-Nov-2012 mav

Fix a minor typo.


241823 22-Oct-2012 marcel

Add ATF to the build. This is may be a bit rought around the egdes,
but committing it helps to get everyone on the same page and makes
sure we make progress.

Tinderbox breakages that are the result of this commit are entirely
the committer's fault -- in other words: buildworld testing on amd64
only.

Credits follow:

Submitted by: Garrett Cooper <yanegomi@gmail.com>
Sponsored by: Isilon Systems
Based on work by: keramida@
Thanks to: gnn@, mdf@, mlaier@, sjg@
Special thanks to: keramida@


241680 18-Oct-2012 attilio

Disconnect non-MPSAFE SMBFS from the build in preparation for dropping
GIANT from VFS. In addition, disconnect also netsmb, which is a base
requirement for SMBFS.

In the while SMBFS regular users can use FUSE interface and smbnetfs
port to work with their SMBFS partitions.

Also, there are ongoing efforts by vendor to support in-kernel smbfs,
so there are good chances that it will get relinked once properly locked.

This is not targeted for MFC.


241629 17-Oct-2012 attilio

Disconnect non-MPSAFE NWFS from the build in preparation for dropping
GIANT from VFS. In addition, disconnect also netncp, which is a base
requirement for NWFS.

In the possibility of a future maintenance of the code and later
readd to the FreeBSD base, maybe we should think about a better location
for netncp. I'm not entirely sure the / top location is actually right,
however I will let network people to comment on that more specifically.

This is not targeted for MFC.


241606 16-Oct-2012 attilio

Disconnect non-MPSAFE PORTALFS from the build in preparation for dropping
GIANT from VFS.

This is not targeted for MFC.


241602 16-Oct-2012 eadler

Add a bunch more example completions.

Submitted by: wblock
Approved by: cperciva (implicit)
MFC after: 3 days


241394 10-Oct-2012 kevlo

Revert previous commit...

Pointyhat to: kevlo (myself)


241370 09-Oct-2012 kevlo

Prefer NULL over 0 for pointers


241115 01-Oct-2012 eadler

Indicate (loudly) that ports csup is going away.

While here clarify some other portions.

Approved by: cperciva (implicit)
MFC after: 3 days


240518 14-Sep-2012 eadler

Correct double "the the"

Approved by: cperciva
MFC after: 3 days


240253 09-Sep-2012 eadler

Minor English grammar fixes.
Specifically document that an incomplete ports tree is not supported.
Remove useless comment about sendmail.

Reviewed by: yuri.pankov@gmail.com
Approved by: cperciva (implicit)
MFC after: 1 week
X-MFC-With: r240252


240252 09-Sep-2012 eadler

Remove documentation and www cvsup files as they are no longer useful
with the switch to subversion.

Approved by: gjb (man pages)
Approved by: cperciva (example files, implicit)
MFC after: 1 week


239130 07-Aug-2012 emaste

Minor style(9) improvement


238603 18-Jul-2012 joerg

Add some examples about how to use FreeBSD's libusb20 in your own
code.


237681 28-Jun-2012 rpaulo

Add the 'inet' keyword after the nat rule to avoid interfering with
IPv6.


237601 26-Jun-2012 ken

Fix an issue that caused the kernel to panic inside CTL when trying
to attach to target capable HBAs that implement the old immediate
notify (XPT_IMMED_NOTIFY) and notify acknowledge (XPT_NOTIFY_ACK)
CCBs. The new API has been in place since SVN change 196008 in
2009.

The solution is two-fold: fix CTL to handle the responses from the
HBAs, and convert the HBA drivers in question to use the new API.

These drivers have not been tested with CTL, so how well they will
interoperate with CTL is unknown.

scsi_target.c: Update the userland target example code to use the
new immediate notify API.

scsi_ctl.c: Detect when an immediate notify CCB is returned
with CAM_REQ_INVALID or CAM_PROVIDE_FAIL status,
and just free it.

Fix a duplicate assignment.

aic79xx.c,
aic79xx_osm.c: Update the aic79xx driver to use the new API.
Target mode is not enabled on for this driver, so
the changes will have no practical effect.

aic7xxx.c,
aic7xxx_osm.c: Update the aic7xxx driver to use the new API.

sbp_targ.c: Update the firewire target code to work with the
new API.

mpt_cam.c: Update the mpt(4) driver to work with the new API.
Target mode is only enabled for Fibre Channel
mpt(4) devices.

MFC after: 3 days


237018 13-Jun-2012 joel

Sync example file with mdoc changes made in rev 235450.


236999 13-Jun-2012 eadler

Include a warning when using the example code as it may not
work in unusual situations.
Also slightly optimize the command.

Submitted by: Jeremy Chadwick jdc@koitsu.org
Approved by: cperciva (implicit)
MFC after: 1 week


236965 12-Jun-2012 des

Finally nuke auth.conf, nine years after it was deprecated. The only
thing it was still used for was to set the "global default" password
hash. Since the stock auth.conf contained nothing but comments, the
global default was actually the first algorithm in crypt(3)'s list,
which happens to be DES; I take the fact that nobody noticed as proof
that it was not used outside of crypt(3).

The only other use in our tree was in the Kerberos support code in
in tinyware's passwd(1). I removed that code in an earlier commit;
it would not have compiled anyway, as it only supported Kerberos IV.

The auth_getval() function is now a stub that always returns NULL,
which has the same effect as a functional auth_getval() with an
empty auth.conf.

MFC after: 3 weeks


235911 24-May-2012 mav

MFprojects/zfsd:
Revamp the CAM enclosure services driver.
This updated driver uses an in-kernel daemon to track state changes and
publishes physical path location information\for disk elements into the
CAM device database.

Sponsored by: Spectra Logic Corporation
Sponsored by: iXsystems, Inc.
Submitted by: gibbs, will, mav


235481 15-May-2012 eadler

Rework sample code which sets SSH_AUTH_SOCK to the user's ssh-agent
socket path if running

PR: 167932
Submitted by: madpilot (pr)
Submitted by: wblock (final patch)
Reviewed by: If someone else reviewed your modification.
Approved by: cperciva (implicit)
MFC after: 3 days


234159 12-Apr-2012 eadler

Sort completions
Add a new one for sysctl

Submitted by: rm (the new completion)
Approved by: cperciva (implicit)
MFC after: 3 days


234135 11-Apr-2012 eadler

Fix typo (add a missing '%/' in sed)

Submitted by: jmallett
Approved by: cperciva (implicit)
MFC after: 3 days


234077 10-Apr-2012 eadler

Update examples with corrections from the author

PR: ports/160689
Submitted by: mickael.maillot@gmail.com
Approved by: cperciva (implicit)
MFC after: 1 days (with r233429)


233437 24-Mar-2012 eadler

Add a few more examples

Submitted by: jmallett
Approved by: cperciva (implicit)
MFC after: 3 days
X-MFC-With: r233429


233429 24-Mar-2012 eadler

- Make the default values for tcsh more user friendly
- Add an examples file with many of the not accepted suggestions from the discussion

PR: conf/160689
Reviewed by: many
Discussed on: current
Approved by: cperciva


233428 24-Mar-2012 eadler

Direct users to csup instead of cvsup in the csup-file boilerplate text.

Reviewed by: maxim, des, swills
Approved by: cperciva
MFC after: 3 days


230306 18-Jan-2012 schweikh

Comment cosmetics: end more sentences with full stops.


229997 12-Jan-2012 ken

Add the CAM Target Layer (CTL).

CTL is a disk and processor device emulation subsystem originally written
for Copan Systems under Linux starting in 2003. It has been shipping in
Copan (now SGI) products since 2005.

It was ported to FreeBSD in 2008, and thanks to an agreement between SGI
(who acquired Copan's assets in 2010) and Spectra Logic in 2010, CTL is
available under a BSD-style license. The intent behind the agreement was
that Spectra would work to get CTL into the FreeBSD tree.

Some CTL features:

- Disk and processor device emulation.
- Tagged queueing
- SCSI task attribute support (ordered, head of queue, simple tags)
- SCSI implicit command ordering support. (e.g. if a read follows a mode
select, the read will be blocked until the mode select completes.)
- Full task management support (abort, LUN reset, target reset, etc.)
- Support for multiple ports
- Support for multiple simultaneous initiators
- Support for multiple simultaneous backing stores
- Persistent reservation support
- Mode sense/select support
- Error injection support
- High Availability support (1)
- All I/O handled in-kernel, no userland context switch overhead.

(1) HA Support is just an API stub, and needs much more to be fully
functional.

ctl.c: The core of CTL. Command handlers and processing,
character driver, and HA support are here.

ctl.h: Basic function declarations and data structures.

ctl_backend.c,
ctl_backend.h: The basic CTL backend API.

ctl_backend_block.c,
ctl_backend_block.h: The block and file backend. This allows for using
a disk or a file as the backing store for a LUN.
Multiple threads are started to do I/O to the
backing device, primarily because the VFS API
requires that to get any concurrency.

ctl_backend_ramdisk.c: A "fake" ramdisk backend. It only allocates a
small amount of memory to act as a source and sink
for reads and writes from an initiator. Therefore
it cannot be used for any real data, but it can be
used to test for throughput. It can also be used
to test initiators' support for extremely large LUNs.

ctl_cmd_table.c: This is a table with all 256 possible SCSI opcodes,
and command handler functions defined for supported
opcodes.

ctl_debug.h: Debugging support.

ctl_error.c,
ctl_error.h: CTL-specific wrappers around the CAM sense building
functions.

ctl_frontend.c,
ctl_frontend.h: These files define the basic CTL frontend port API.

ctl_frontend_cam_sim.c: This is a CTL frontend port that is also a CAM SIM.
This frontend allows for using CTL without any
target-capable hardware. So any LUNs you create in
CTL are visible in CAM via this port.

ctl_frontend_internal.c,
ctl_frontend_internal.h:
This is a frontend port written for Copan to do
some system-specific tasks that required sending
commands into CTL from inside the kernel. This
isn't entirely relevant to FreeBSD in general,
but can perhaps be repurposed.

ctl_ha.h: This is a stubbed-out High Availability API. Much
more is needed for full HA support. See the
comments in the header and the description of what
is needed in the README.ctl.txt file for more
details.

ctl_io.h: This defines most of the core CTL I/O structures.
union ctl_io is conceptually very similar to CAM's
union ccb.

ctl_ioctl.h: This defines all ioctls available through the CTL
character device, and the data structures needed
for those ioctls.

ctl_mem_pool.c,
ctl_mem_pool.h: Generic memory pool implementation used by the
internal frontend.

ctl_private.h: Private data structres (e.g. CTL softc) and
function prototypes. This also includes the SCSI
vendor and product names used by CTL.

ctl_scsi_all.c,
ctl_scsi_all.h: CTL wrappers around CAM sense printing functions.

ctl_ser_table.c: Command serialization table. This defines what
happens when one type of command is followed by
another type of command.

ctl_util.c,
ctl_util.h: CTL utility functions, primarily designed to be
used from userland. See ctladm for the primary
consumer of these functions. These include CDB
building functions.

scsi_ctl.c: CAM target peripheral driver and CTL frontend port.
This is the path into CTL for commands from
target-capable hardware/SIMs.

README.ctl.txt: CTL code features, roadmap, to-do list.

usr.sbin/Makefile: Add ctladm.

ctladm/Makefile,
ctladm/ctladm.8,
ctladm/ctladm.c,
ctladm/ctladm.h,
ctladm/util.c: ctladm(8) is the CTL management utility.
It fills a role similar to camcontrol(8).
It allow configuring LUNs, issuing commands,
injecting errors and various other control
functions.

usr.bin/Makefile: Add ctlstat.

ctlstat/Makefile
ctlstat/ctlstat.8,
ctlstat/ctlstat.c: ctlstat(8) fills a role similar to iostat(8).
It reports I/O statistics for CTL.

sys/conf/files: Add CTL files.

sys/conf/NOTES: Add device ctl.

sys/cam/scsi_all.h: To conform to more recent specs, the inquiry CDB
length field is now 2 bytes long.

Add several mode page definitions for CTL.

sys/cam/scsi_all.c: Handle the new 2 byte inquiry length.

sys/dev/ciss/ciss.c,
sys/dev/ata/atapi-cam.c,
sys/cam/scsi/scsi_targ_bh.c,
scsi_target/scsi_cmds.c,
mlxcontrol/interface.c: Update for 2 byte inquiry length field.

scsi_da.h: Add versions of the format and rigid disk pages
that are in a more reasonable format for CTL.

amd64/conf/GENERIC,
i386/conf/GENERIC,
ia64/conf/GENERIC,
sparc64/conf/GENERIC: Add device ctl.

i386/conf/PAE: The CTL frontend SIM at least does not compile
cleanly on PAE.

Sponsored by: Copan Systems, SGI and Spectra Logic
MFC after: 1 month


229831 09-Jan-2012 eadler

X11BASE has been deprecated for a long time and will die soon

Approved by: x11 (eadler)
Approved by: brucec
MFC after: 1 week


228481 13-Dec-2011 ed

Change targ(4) to use cdevpriv, instead of multiple character devices.

Also update the manpage and the scsi_target example program accordingly.

Discussed on: scsi@
Tested by: Chuck Tuffli <chuck tuffli net>


228462 13-Dec-2011 mav

- Fix different variable types use in different files after r121184,
causing problems on amd64.
- s/%lud/%lu/.

MFC after: 1 month


227844 22-Nov-2011 marius

Update to use DEVMETHOD_END.


225950 03-Oct-2011 ken

Add descriptor sense support to CAM, and honor sense residuals properly in
CAM.

Desriptor sense is a new sense data format that originated in SPC-3. Among
other things, it allows for an 8-byte info field, which is necessary to
pass back block numbers larger than 4 bytes.

This change adds a number of new functions to scsi_all.c (and therefore
libcam) that abstract out most access to sense data.

This includes a bump of CAM_VERSION, because the CCB ABI has changed.
Userland programs that use the CAM pass(4) driver will need to be
recompiled.

camcontrol.c: Change uses of scsi_extract_sense() to use
scsi_extract_sense_len().

Use scsi_get_sks() instead of accessing sense key specific
data directly.

scsi_modes: Update the control mode page to the latest version (SPC-4).

scsi_cmds.c,
scsi_target.c: Change references to struct scsi_sense_data to struct
scsi_sense_data_fixed. This should be changed to allow the
user to specify fixed or descriptor sense, and then use
scsi_set_sense_data() to build the sense data.

ps3cdrom.c: Use scsi_set_sense_data() instead of setting sense data
manually.

cam_periph.c: Use scsi_extract_sense_len() instead of using
scsi_extract_sense() or accessing sense data directly.

cam_ccb.h: Bump the CAM_VERSION from 0x15 to 0x16. The change of
struct scsi_sense_data from 32 to 252 bytes changes the
size of struct ccb_scsiio, but not the size of union ccb.
So the version must be bumped to prevent structure
mis-matches.

scsi_all.h: Lots of updated SCSI sense data and other structures.

Add function prototypes for the new sense data functions.

Take out the inline implementation of scsi_extract_sense().
It is now too large to put in a header file.

Add macros to calculate whether fields are present and
filled in fixed and descriptor sense data

scsi_all.c: In scsi_op_desc(), allow the user to pass in NULL inquiry
data, and we'll assume a direct access device in that case.

Changed the SCSI RESERVED sense key name and description
to COMPLETED, as it is now defined in the spec.

Change the error recovery action for a number of read errors
to prevent lots of retries when the drive has said that the
block isn't accessible. This speeds up reconstruction of
the block by any RAID software running on top of the drive
(e.g. ZFS).

In scsi_sense_desc(), allow for invalid sense key numbers.
This allows calling this routine without checking the input
values first.

Change scsi_error_action() to use scsi_extract_sense_len(),
and handle things when invalid asc/ascq values are
encountered.

Add a new routine, scsi_desc_iterate(), that will call the
supplied function for every descriptor in descriptor format
sense data.

Add scsi_set_sense_data(), and scsi_set_sense_data_va(),
which build descriptor and fixed format sense data. They
currently default to fixed format sense data.

Add a number of scsi_get_*() functions, which get different
types of sense data fields from either fixed or descriptor
format sense data, if the data is present.

Add a number of scsi_*_sbuf() functions, which print
formatted versions of various sense data fields. These
functions work for either fixed or descriptor sense.

Add a number of scsi_sense_*_sbuf() functions, which have a
standard calling interface and print the indicated field.
These functions take descriptors only.

Add scsi_sense_desc_sbuf(), which will print a formatted
version of the given sense descriptor.

Pull out a majority of the scsi_sense_sbuf() function and
put it into scsi_sense_only_sbuf(). This allows callers
that don't use struct ccb_scsiio to easily utilize the
printing routines. Revamp that function to handle
descriptor sense and use the new sense fetching and
printing routines.

Move scsi_extract_sense() into scsi_all.c, and implement it
in terms of the new function, scsi_extract_sense_len().
The _len() version takes a length (which should be the
sense length - residual) and can indicate which fields are
present and valid in the sense data.

Add a couple of new scsi_get_*() routines to get the sense
key, asc, and ascq only.

mly.c: Rename struct scsi_sense_data to struct
scsi_sense_data_fixed.

sbp_targ.c: Use the new sense fetching routines to get sense data
instead of accessing it directly.

sbp.c: Change the firewire/SCSI sense data transformation code to
use struct scsi_sense_data_fixed instead of struct
scsi_sense_data. This should be changed later to use
scsi_set_sense_data().

ciss.c: Calculate the sense residual properly. Use
scsi_get_sense_key() to fetch the sense key.

mps_sas.c,
mpt_cam.c: Set the sense residual properly.

iir.c: Use scsi_set_sense_data() instead of building sense data by
hand.

iscsi_subr.c: Use scsi_extract_sense_len() instead of grabbing sense data
directly.

umass.c: Use scsi_set_sense_data() to build sense data.

Grab the sense key using scsi_get_sense_key().

Calculate the sense residual properly.

isp_freebsd.h: Use scsi_get_*() routines to grab asc, ascq, and sense key
values.

Calculate and set the sense residual.

MFC after: 3 days
Sponsored by: Spectra Logic Corporation


225764 26-Sep-2011 kensmith

Forgot to add "RELENG_8" to list of CVS tags.

Submitted by: Mamontov Roman <mr.xanto at gmail.com>
Approved by: re (implicit)


225757 26-Sep-2011 kensmith

Shift head from 9.0-CURRENT to 10.0-CURRENT in preparation for releasing
it from the 9.0-RELEASE release cycle code freeze.

Approved by: re (implicit)


223148 16-Jun-2011 ru

It's a bit odd, but "make update" in src/ can also update the ports/,
doc/, and now www/ trees, but only using the "cvsup" transport.

When "make update" is run using a tree's makefile, it can also use
"cvs" (except for www/) and "svn" (only src/).

Clean up documentation and code regarding "make update":

- Increase oddness by adding support for WWWSUPFILE and NO_WWWUPDATE to
Makefile.inc1 (analogous to PORTSSUPFILE/NO_PORTSUPDATE and
DOCSUPFILE/NO_DOCUPDATE; WWWSUPFILE already supported by www/Makefile).

- Document all trees that support CVS_UPDATE.

- Document all trees that support SUP_UPDATE.

- Document SVN_UPDATE.

- Document NO_WWWUPDATE.

- make.conf(5) mistakenly said that *SUPFILE* had defaults.

- Add an example entry for WWWSUPFILE.


222339 27-May-2011 mav

Change new constant names to ones used by OpenSolaris.


222338 27-May-2011 mav

Oops, fix typo in r222336.


222337 27-May-2011 mav

Add ses/srcs/eltsub.h to the list of files to be installed.
It is required for user-level SES example tools build.


222336 27-May-2011 mav

Add names for few more SES element types according SES-2 specification.


222179 22-May-2011 uqs

Fix more typos to be a good example.

Found by: codespell


222175 22-May-2011 uqs

Remove typos, tabs-after-spaces and EOL whitespace. Convert to UTF-8.


220256 01-Apr-2011 emaste

Uuencode the sample "binary" firmware image file (instead of explicitly
adding \0 bytes). This is a technique that would be used in an actual
driver and is more suitable as an example.

Reviewed by: mlaier


220233 01-Apr-2011 emaste

Unbreak installworld after r220205.

Noticed by: np
Pointy hat to: emaste


220205 31-Mar-2011 emaste

Avoid having a binary file in our source tree and instead create it at
build time, to avoid possible grief maintaining FreeBSD source in
alternative version control tools.


219858 22-Mar-2011 glebius

Give better URL to the list of available CVSup mirrors.


219376 07-Mar-2011 mm

Add AMD Geode CPU type to bsd.cpu.mk and examples/etc/make.conf
For CPUTYPE=core2 use -march=core2

PR: gnu/155308
MFC after: 2 weeks


219353 06-Mar-2011 dougb

mbone is no longer a physical category

Submitted by: pav


218914 21-Feb-2011 lstewart

Actually install the example Khelp module committed in r218545.

Sponsored by: FreeBSD Foundation
MFC after: 4 weeks
X-MFC with: r218545


218896 20-Feb-2011 mm

Add opteron-sse3, athlon64-sse3 and k8-sse3 cpu types to bsd.cpu.mk.
- add "sse3" to MACHINE_CPU for the new cpu types
- for i386, default to CPUTYPE=prescott for the new cpu types

PR: gnu/154906
Discussed with: kib, kan, dim
MFC after: 2 weeks


218854 19-Feb-2011 brucec

Update the icmp example to show allowing only the safe types.

Suggested by: Tom Judge <tom at tomjudge.com>
MFC after: 3 days


218620 12-Feb-2011 brucec

If the pf.conf(5) example file is copied when setting up a firewall it's
easy to forget about icmp. Update the file to show allowing icmp through
the firewall.

PR: docs/144986
MFC after: 1 month


218545 11-Feb-2011 lstewart

Add an example Khelp module, which will be referenced in the forthcoming Khelp
documentation.

Sponsored by: FreeBSD Foundation
Discussed with: David Hayes <dahayes at swin edu au>
MFC after: 5 weeks
X-MFC with: r216615


217826 25-Jan-2011 sem

Remove DOS-style EOLs

Approved by: kib


217566 19-Jan-2011 mdf

Fix a few more SYSCTL_PROC() that were missing a CTLFLAG type specifier.


216820 30-Dec-2010 marius

- Add CPUTYPE support for sparc64. The net result is that it's now possible
to let the compiler optimize for the famility of UltraSPARC-III CPUs as the
default already was to optimize for UltraSPARC-I/II and generating generic
64-bit V9 is mainly for reference purposes. At least for SPARC64-V CPUs
code optimized for UltraSPARC-I/II still is the most performant one.
Thanks go to Michael Moll for testing SPARC64-V.
- Move a booke MACHINE_CPU bit into the right section.


214309 24-Oct-2010 julian

Add Makefile entry to install two new example files.

MFC after: 2 weeks


214306 24-Oct-2010 julian

Add two scripts that demonstrate how to make and
hook together jails using teh vortual networking feature.

Submitted by: Yavuz Gokirmak
MFC after: 2 weeks


213645 09-Oct-2010 gordon

Remove the manpath.config entry now that it's no longer installed.

Submitted by: b. f.
Approved by: wes (mentor implicit)


212138 02-Sep-2010 maxim

o csup(1) does not have -g flag. Remove it from the example.

PR: conf/150214
Submitted by: Li
MFC after: 1 week


210482 25-Jul-2010 bcr

Add an example to encourage people to have a look at either
make(1) or /usr/ports/ports-mgmt/portconf for port-specific
variables/options to compile a port.

PR: docs/145655
Submitted by: Armin Pirkovitsch (armin at frozen dash zone dot org)
Discussed with: dougb
MFC after: 7 days


209455 23-Jun-2010 kevlo

Fix missing argument for errx().
While here, clean up the code a bit.


209199 15-Jun-2010 kib

Fix the syscall module name after r205320.

Submitted by: Vladislav Movchan <vladislav.movchan gmail com>
MFC after: 1 week


206996 21-Apr-2010 avg

indent.pro example: actually install the sample file


206176 05-Apr-2010 avg

indent.pro example: put all options one per line

This should help with modification tracking.

Discussed with: bde
MFC after: 7 days


206175 05-Apr-2010 avg

indent.pro example: correctly place -ta option

The options are sorted, leading 'n' (for 'off') should be ignored.

Pointed out by: bde
MFC after: 7 days


206103 02-Apr-2010 avg

indent.pro: replace a bunch of -T types with -ta introduced in r205989

Suggested by: bde, Hans Petter Selasky
MFC after: 10 days


206102 02-Apr-2010 avg

add example indent.pro file believed to produce code with minimal differences from KNF

This file is what bde uses!
With addition of some types from queue(3) by hps.
Please note that the output will not be KNF and currently it's not
possible to achieve correct KNF with any combination of options.
indent(1) needs to be made smarter.

Some issues:
o indent produces a space between a queue type macro and opening
parenthesis
o indent produces a tab before __packed and __aligned
o indent produce a space after #define

bde also notes difference in the following options between this profile
and profile in /usr/src/admin/style of 4.4BSD:
-cdb -ei -ip8 -nsob

Also, NetBSD uses -di0 instead of -di8.

Location for the profile is suggested by jh.

Submitted by: Hans Petter Selasky (parts)
Obtained from: bde :-)
MFC after: 10 days
X-ToDo: make indent able to produce proper (perfect) KNF
X-Perhaps-ToDo: make KNF default output


204585 02-Mar-2010 uqs

Always assign WARNS using ?=

- fix some nearby style bugs
- include Makefile.inc where it makes sense and reduces duplication

Approved by: ed (co-mentor)


204076 18-Feb-2010 pjd

Please welcome HAST - Highly Avalable Storage.

HAST allows to transparently store data on two physically separated machines
connected over the TCP/IP network. HAST works in Primary-Secondary
(Master-Backup, Master-Slave) configuration, which means that only one of the
cluster nodes can be active at any given time. Only Primary node is able to
handle I/O requests to HAST-managed devices. Currently HAST is limited to two
cluster nodes in total.

HAST operates on block level - it provides disk-like devices in /dev/hast/
directory for use by file systems and/or applications. Working on block level
makes it transparent for file systems and applications. There in no difference
between using HAST-provided device and raw disk, partition, etc. All of them
are just regular GEOM providers in FreeBSD.

For more information please consult hastd(8), hastctl(8) and hast.conf(5)
manual pages, as well as http://wiki.FreeBSD.org/HAST.

Sponsored by: FreeBSD Foundation
Sponsored by: OMCnet Internet Service GmbH
Sponsored by: TransIP BV


203349 01-Feb-2010 wkoszek

Conform style.Makefile(5) and replace = and += with ?=, which lets you to
override WARNS.

Reported by: <marius@nuenneri.ch> and uqs@


202603 18-Jan-2010 wkoszek

Include unistd.h for read(), write() and stdlib.h for exit().
Bump WARNS to 5 while being here.


202602 18-Jan-2010 wkoszek

Small cleanup while being here:
- sort includes
- remove usage(), since it seems to come from older version
of the KLD
- remove unnecessary variable
- mark argc/argv as unused

Bring WARNS = 5 to the Makefile.


202601 18-Jan-2010 wkoszek

Include stdlib.h for exit(3) and unistd.h for syscall(2). This makes
this program to compile cleanly.


202600 18-Jan-2010 wkoszek

Small fix for making this KLD to compile.


201213 29-Dec-2009 trasz

Remove examples for pppd and SLIP-related stuff.


200771 21-Dec-2009 ru

Removed one more Alpha leftover.


200440 12-Dec-2009 antoine

Install firmware(9) examples.

MFC after: 1 month


198934 04-Nov-2009 delphij

Cleanup code to make it WARNS=6 clean:

- ANSIfy prototypes;
- Add __unused for parameters that is not being currently used;
- Add a header for subrountines being called from other modules.

Reviewed by: mjacob


198929 04-Nov-2009 delphij

Include string.h for prototype of strcmp().


197333 19-Sep-2009 mjacob

Tell about the full name we opened, not the unit.

Obtained from: Sean Bruno
MFC after: 1 month


196955 07-Sep-2009 sbruno

A few enhancements I made while working on the Firewire target (sbp_targ).

Update the error handling in a couple of cases to exit gracefully if
certain mandatory conditions aren't met.

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

Reviewed by: scottl@freebsd.org


196515 24-Aug-2009 kensmith

Update example for RELENG_8.


193374 03-Jun-2009 pjd

Where if not in examples we should follow style(9)?


192799 26-May-2009 brian

Mention the danger of running programs using ``!''.

PR: 112481
MFC after: 1 week


187146 13-Jan-2009 trhodes

Fix broken URL and use the same base directory as the
example files.

PR: 123035
Submitted by: Lawrence Mayer <lawmay3@i12.com> (original version)


183495 30-Sep-2008 kib

Add unistd.h to the getosreldate(3) manpage.
Update referenced example to include unistd.h per manpage.
Update example to be more style(9)-ish, silence warnings and add
FreeBSD id to the source file.


183416 27-Sep-2008 ed

Also use dev2unit() in the pseudo-driver example script.

Because I'm planning on MFC'ing my last change to this file, make sure
we use dev2unit() here as well.


183272 22-Sep-2008 ed

Make the make_pseudo_driver.sh shellscript work again.

It seems this script was broken because of the SYSINIT changes and a
rather awkward variable initialisation. For some reason the
make_device_driver.sh script is also broken, related to BUS_SETUP_INTR.
I have no experience with FreeBSD's interrupt handling, so I hope
someone else is willing to take a look at that shell script.

PR: misc/126435
MFC after: 1 month


180208 03-Jul-2008 peter

Set magic fbsd:nokeywords property that allows files to bypass
keyword expansion. (file-specific replacement for CVSROOT/exclude)


180207 03-Jul-2008 peter

Set magic property that allows files to bypass keyword expansion.
Test commit to make sure it isn't exported to cvs.


179315 26-May-2008 bz

Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE and
parts relied on the now removed NET_NEEDS_GIANT.
Most of I4B has been disconnected from the build
since July 2007 in HEAD/RELENG_7.

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

Discussed with: rwatson, re


179308 25-May-2008 rwatson

Remove netatm from HEAD as it is not MPSAFE and relies on the now removed
NET_NEEDS_GIANT. netatm has been disconnected from the build for ten
months in HEAD/RELENG_7. Specifics:

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

MFC after: 3 weeks
Reviewed by: bz
Discussed with: bms, bz, harti


178842 07-May-2008 attilio

Add a new awk script which parses informations returned by the newly
added sysctl debug.witness.graphs and returns all the graphs involving
Giant lock creating an appropriate script in DOT format which can be
plotted immediately.

Submitted by: Michele Dallachiesa <michele dot dallachiesa at poste dot it>


177158 13-Mar-2008 edwin

Add projects-all collection to cvs-supfile

PR: misc/121680
Submitted by: "Philip M. Gollucci" <pgollucci@p6m7g8.com>
Approved by: grog@ (mentor)
MFC after: 1 week


174414 07-Dec-2007 gabor

- Add doc/hu_* and doc/mn_* to the refuse examples so that include all
of the currently used languages

PR: docs/118476 (related)
Submitted by: Chess Griffin <chess@chessgriffin.com>
MFC after: 3 days


174413 07-Dec-2007 gabor

- Add doc/hu_* and doc/mn_* to the sample refuse file so that it includes all
of the languages

PR: docs/118476
Submitted by: Chess Griffin <chess@chessgriffin.com>
MFC after: 3 days


173536 11-Nov-2007 mlaier

Update pf examples from OpenBSD to catch up with new stateful defaults and
other syntax changes. Move pf.conf from /etc to examples, too.


172531 11-Oct-2007 kensmith

To honor the birth of RELENG_7 bump HEAD to 8.0-CURRENT.

Approved by: re (implicit)


172083 07-Sep-2007 gabor

- Remove info about the consumed space in base dir. This info is not
relevant any more.

PR: docs/115335
Submitted by: Wayne Sierke <ws@au.dyndns.ws>
Reviewed by: keramida
Approved by: re (bmah)
MFC after: 3 days


171536 22-Jul-2007 kevlo

Include the <sys/sysproto.h> header which includes the prerequisite header
for AUE_NULL.

Approved by: re (kensmith)


171453 14-Jul-2007 rwatson

Disconnect netatm from the build as it is not MPSAFE and relies on
NET_NEEDS_GIANT, which will shortly be removed. This is done in a
away that it may be easily reattached to the build before 7.1 if
appropriate locking is added. Specifics:

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

This removes the last remaining consumer of NET_NEEDS_GIANT.

Reviewed by: harti
Discussed with: bz, bms
Approved by: re (kensmith)


171272 06-Jul-2007 bz

I4B header files are now installed in include/i4b/ and no longer
in include/machine/.

Adapt #include paths.

Approved by: re (kensmith)


169782 19-May-2007 flz

Add new x11-drivers category.

MFC after: 3 days


169026 24-Apr-2007 emax

Retire /usr/share/examples/netgraph/bluetooth/rc.bluetooth.

MFC after: 1 week


168717 14-Apr-2007 ru

Add ports-net-im, ports-net-p2p and ports-ports-mgmt collections.


168716 14-Apr-2007 ru

Add src-cddl and src-rescue.


166369 31-Jan-2007 pav

- Add ports-ports-mgmt collection


166069 17-Jan-2007 des

On i386, make "prescott" an alias for "nocona" (instead of the other way
around), and introduce "core", along with the alias "core2". All of these
enable SSE3.

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

MFC after: 3 weeks


163495 19-Oct-2006 imp

Remove references to pccard.conf, it is no longer used.


162712 27-Sep-2006 danger

Revert my previous change as it does not seem to be entirely correct and
popular.


162704 27-Sep-2006 mjacob

Bump MAX_INITIATORS to 1024- the LSI-Logic can go even higher than
this for 'initiator id'- this is a stopgap until a sparse map is
added.

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

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

A number of other chanes to try and track some breakage.


162692 27-Sep-2006 pjd

- Use existing functions mtx_lock() and mtx_unlock().
- Change variable name to 'error', as this is what is mostly used for
functions that return an error.
- Add mutex(9) to the SEE ALSO section.
- Bump the date.

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

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

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

Reviewed by: simon


162670 26-Sep-2006 danger

Remove second person from the sentece and rephrase a bit.

Approved by: trhodes (mentor), keramida (mentor)


162403 18-Sep-2006 ru

Fix wording to what I intended originally.


162396 18-Sep-2006 ru

- Avoid using second person.
- Demonstrate how .Nm can be used without the side effect of causing
a line break in the SYNOPSIS section.


162276 13-Sep-2006 ru

- Change the example CFLAGS entry to match our default in sys.mk.
- Document that -fno-strict-aliasing is required for -O2.

Prodded by: users of stable@


161559 23-Aug-2006 rik

Fix path for source file in files.FOO.


161139 09-Aug-2006 rik

- Added ability to provide (optional) path to the kernel sources
- Added check of dirs used by example generator
- Fixed path for ${s}/conf/files.FOO and include it via files
directive from config file
- Changed kernel configuration example with the driver: it is
not produced by copying Generic but by including it
- KDB is added to config (for DDB)
- Added module building instead and fixed kernel building

Reviewed by: julian@


161137 09-Aug-2006 rik

Added copyright templete
Fixed compilation

Reviewed by: julian@


161118 09-Aug-2006 rik

- Added 'files "files.FOO"' to config for inclusion of user specific files.
- Added KDB option to config file (for DDB).
- Added ability to compile custom kernel.

Discussed with: julian@


161023 06-Aug-2006 rik

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

Reviewed by: julian@


161022 06-Aug-2006 rik

Fix compilation.

Reviewed by: julian@


160497 19-Jul-2006 des

Add CPUTYPE support for Via C3 and C3-2 processors.

MFC after: 2 weeks


159175 02-Jun-2006 motoyuki

doc fix: option MFS is obsolete. use MD_ROOT instead.

PR: conf/93878


158763 20-May-2006 brueffer

Make this example more real world usable: When the manpage first appeared
is not interesting, when the driver appeared is. Most people who use this
example leave the manpage appearance date in and the driver date out.

MFC after: 3 days


158751 19-May-2006 sobomax

We don't have d_maj field in cdevsw structure anymore.


158657 16-May-2006 matteo

Close a "(" I left open.


158604 15-May-2006 matteo

Update README.examples according to the current state of the examples/etc directory

PR: conf/97232


157670 11-Apr-2006 mjacob

If we end up with a CTIO completing with CAM_REQUEUE_REQ,
be obliging and just redo the request instead of squawking
and dying.


157356 01-Apr-2006 brueffer

Add a standard boilerplate to the SYNOPSIS section that mentions how
to load a kernel module.

MFC after: 3 days


157129 25-Mar-2006 mjacob

Move the check for non-ATIO_CMD ahead of the cache chech so that
completion for unsupported commands doesn't abort.

Reviewed by: nate
MFC after: 2 weeks


157009 22-Mar-2006 mjacob

Make scsi_target actually compile after a structure member
change.

Obtained from: Either Scott, Nate, Ken or A. Nagy


156981 22-Mar-2006 mjacob

At least respond to REPORT LUNS with an ILLEGAL COMMAND response.

This keeps us from dumping core when modern OS' like Windows and Linux
see us.


156941 21-Mar-2006 ru

Remove mentions of old compat options from here; equivalents are
now provided in src.conf(5).


156887 19-Mar-2006 mux

Also refer to csup in the example SUP setting.


156813 17-Mar-2006 ru

Reimplementation of world/kernel build options. For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

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

Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)


156733 15-Mar-2006 ru

Style.


156313 05-Mar-2006 schweikh

- Correct grammos in comments and end them with full stops.
- Use "if !" instead of empty true branches.
- Don't hardcode script name in usage message, use $0 instead.
- Cleanup some whitespace.


156190 01-Mar-2006 ru

Remove NO_OBJ now that this makefile builds something.

Noticed by: Andrzej Tobola


156083 27-Feb-2006 ru

Fix a botched commit that broke world.


156061 27-Feb-2006 darrenr

Add a man page for mkfilters(1) and put the corrected perl script in the
ipfilter usr/share directory

PR: docs/26879


155893 22-Feb-2006 ume

Mention NO_NLS_CATALOGS.


155703 14-Feb-2006 sam

Change default build of wpa_supplicant to include EAPOL support;
ENABLE_WPA_SUPPLICANT_EAPOL is no more, now use NO_WPA_SUPPLICANT_EAPOL
to build with only WPA-PSK support.

Reviewed by: ru, bsdimp (basic approach)
MFC after: 1 week


155585 12-Feb-2006 brueffer

Document NO_AUDIT.

Obtained from: TrustedBSD Project


154974 29-Jan-2006 mlaier

firmware(9) is a subsystem to load binary data into the kernel via a
specially crafted module. There are several handrolled sollutions to this
problem in the tree already which will be replaced with this. They include
iwi(4), ipw(4), ispfw(4) and digi(4).

No objection from: arch
MFC after: 2 weeks
X-MFC after: some drivers have been converted


154951 28-Jan-2006 pav

- Add ports-net-p2p collection


153430 15-Dec-2005 iedowse

Remove usbd(8) and all references to it. It is no longer necessary
since devd(8) now provides the same functionality.

Submitted by: Anish Mistry


153291 10-Dec-2005 ru

Adopt for modern FreeBSD.

Requested by: az


152852 27-Nov-2005 keramida

Clarify a comment to make it clear that it is NO_NIS that "If it is set"
refers to and add extra '#' comment characters at the beginning of two
lines that started with TABs, to avoid warnings like:

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

PR: misc/89423
Submitted by: Scot W. Hetzel


152229 09-Nov-2005 pav

Add new ports-net-im collection.


151702 26-Oct-2005 jhb

Spell 'argument' correctly.

Submitted by: Andre Guibert de Bruet andy at siliconlandmark dot com


151592 23-Oct-2005 maxim

s/RADUIS/RADIUS/

Submitted by: jisakiel@yahoo.es
MFC after: 1 week


151552 22-Oct-2005 trhodes

A better, more correct explination of NO_SHARED. This could probably
use a quick touch up, but at least it's correct.

Requested by: ru


151421 17-Oct-2005 bz

Document that changes to nsswitch.conf might be needed when
compiling with NO_NIS.
[ also see make.conf(5) and nsswitch.conf(5) ]

Reviewed by: ru
Requested by: dougb (and bin/87221)
MFC: 22 days


151327 14-Oct-2005 ru

Remove redundant (in FreeBSD) include.


150034 12-Sep-2005 kensmith

Update for RELENG_6.

Pointed out by: Many on current@.
MFC after: 1 day


149813 06-Sep-2005 obrien

Remove WANT_FORCE_OPTIMIZATION_DOWNGRADE and out dated warnings about
libalias(3) exposing compiler bugs.


147840 08-Jul-2005 sam

document ENABLE_WPA_SUPPLICANT_EAPOL

Approved by: re (scottl)


147069 07-Jun-2005 maxim

Finish adding _dhcp user.


146001 08-May-2005 des

The Nocona may be AMD64 compatible, but it is still an Intel part.

Pointy hat to: trhodes
MFC after: 1 week


145982 07-May-2005 brueffer

Join two lines.


145964 06-May-2005 pjd

Document 'pentium-m' CPUTYPE.


145256 19-Apr-2005 jkoshy

Bring a working snapshot of hwpmc(4), its associated libraries, userland utilities
and documentation into -CURRENT.

Bump FreeBSD_version.

Reviewed by: alc, jhb (kernel changes)


145210 17-Apr-2005 iedowse

Correct a comment about which parallel port pin is used to drive
the RS signal.

PR: misc/20139


145003 13-Apr-2005 phk

Add NO_DICT handle. Saves almost 3.5 MB installed.


143943 21-Mar-2005 le

Typo.


143636 15-Mar-2005 maxim

o Add missed language doc subdirectories, sort.

PR: docs/78859
Submitted by: skv


143320 09-Mar-2005 stefanf

Device counts are gone.


143316 09-Mar-2005 stefanf

__FUNCTION__ -> __func__


142973 02-Mar-2005 trhodes

Add NO_RCMDS to the list.


142499 25-Feb-2005 trhodes

Resort the CPU list with regards to recently added CPUs.

Prodded by: glewis


142279 23-Feb-2005 trhodes

Fix up previous commit by adding prescott and itanium2 CPUs.

Submitted by: marcel


142274 23-Feb-2005 trhodes

Add 'nocona' to the list of Intel ia64 CPUs and k8 to the AMD CPUs.

Replace -fmemoize-lookups -fsave-memoized with a working example,
-fconserve-space. To quote part of the GCC docs on this option:

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

MFC after: 2 days
Submitted by: Daniel Gerzo <danger@rulez.sk> (original version)


141580 09-Feb-2005 ru

Fixed the misplaced $FreeBSD$.


141404 06-Feb-2005 phk

Document NO_GPIB


141395 06-Feb-2005 delphij

Document NO_NETCAT.


140561 21-Jan-2005 ru

Sort sections.


140546 21-Jan-2005 wes

Document the shiny new WITHOUT_MODULES knob in make.conf.

PR: kern/76225
Prodded by: ru@, brueffer@
MFC after: 2 weeks


140363 16-Jan-2005 ru

Added the EXIT STATUS section.


140302 15-Jan-2005 jkoshy

Move the LOCKING section to before the EXAMPLES section.
Make example locking calls in the EXAMPLES section.

Reviewed by: keramida


140139 12-Jan-2005 keramida

A few more mdoc fixes I missed in the suggestions of Ruslan.


140135 12-Jan-2005 keramida

Cross-reference the newly added example.9


140134 12-Jan-2005 keramida

Link mdoc/example.9 to the build.


140133 12-Jan-2005 keramida

Add a sample manpage for section 9.

Suggested by: simon
Reviewed by: ru


139992 10-Jan-2005 ru

Forgot to submit a fixed version of this script to Simon.


139989 10-Jan-2005 simon

Add support files for using text from the POSIX specification in
FreeBSD manual pages:

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

Real work to make this happen by: nectar, ru


139970 10-Jan-2005 ru

Unbreak the install.


139945 09-Jan-2005 trhodes

Remove the meteor helper files, imp removed the driver and manual page
over a year ago.


139125 21-Dec-2004 ru

NOIPSEC -> TRACEROUTE_NO_IPSEC


139120 21-Dec-2004 ru

NOSHARE -> NO_SHARE


139118 21-Dec-2004 ru

Overhaul ppp(8) build options so they are safe to use in
/etc/make.conf:

NOALIAS -> retired (support provided by PPP_NO_NAT)
NOATM -> PPP_NO_ATM (also subject to NO_ATM global)
NODES -> PPP_NO_DES (support was broken, now recovered)
NOI4B -> PPP_NO_I4B (also subject to NO_I4B global)
NOKLDLOAD -> PPP_NO_KLDLOAD
NONAT -> PPP_NO_NAT
NONETGRAPH -> PPP_NO_NETGRAPH
NOPAM -> PPP_NO_PAM (will be subject to NO_PAM global)
NORADIUS -> PPP_NO_RADIUS
NOSUID -> retired (support provided by PPP_NO_SUID)
PPP_NOSUID -> PPP_NO_SUID


139115 21-Dec-2004 ru

NOINET6 -> NO_INET6


139114 21-Dec-2004 ru

NOGAMES -> NO_GAMES


139113 21-Dec-2004 ru

NOCRYPT -> NO_CRYPT


139112 21-Dec-2004 ru

NOSHARED -> NO_SHARED


139106 21-Dec-2004 ru

NODOCCOMPRESS -> NO_DOCCOMPRESS
NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE


139105 21-Dec-2004 ru

NOATM -> NO_ATM


139104 21-Dec-2004 ru

NOLIBC_R -> NO_LIBC_R
NOLIBPTHREAD -> NO_LIBPTHREAD
NOLIBTHR -> NO_LIBTHR


139103 21-Dec-2004 ru

Start the dreaded NOFOO -> NO_FOO conversion.

OK'ed by: core


139028 19-Dec-2004 brueffer

Nuke ports-picobsd, it was thrown out a while ago.

Approved by: linimon
MFC after: 3 days


138896 15-Dec-2004 trhodes

Commit patch from ru which groups the ppp(8) options together and
kills my sorting.

Submitted by: ru
Discussed with: imp


138875 15-Dec-2004 trhodes

Add a few options with regards to ppp(8) and traceroute.
Sort the list, please keep this list sorted.

PR: 48569


138815 13-Dec-2004 brian

Add ``enable echo''.


137892 19-Nov-2004 obrien

Catch up with PHK's sio(4) cuaa->cuad rework [sys/dev/sio/sio.c rev. 1.456].


137882 19-Nov-2004 obrien

Catch up with PHK's sio(4) cuaa->cuad rework [sys/dev/sio/sio.c rev. 1.456].


137675 13-Nov-2004 bz

Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.
If turned on no NIS support and related programs will be built.

Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il>
PR: bin/68303
No objections: des, gshapiro, nectar
Reviewed by: ru
Approved by: rwatson (mentor)
MFC after: 2 weeks


137201 04-Nov-2004 phk

Remove references to NO_VINUM


137134 02-Nov-2004 emax

Serial devices now called /dev/cuadXX not /dev/cuaaXX


136914 24-Oct-2004 ru

For variables that are only checked with defined(), don't provide
any fake value.


136910 24-Oct-2004 ru

For variables that are only checked with defined(), don't provide
any fake value.


136908 24-Oct-2004 ru

There's no such knob as WERROR.


136859 24-Oct-2004 scottl

Update for 5-STABLE.


136608 17-Oct-2004 obrien

Catch up with share/mk/bsd.cpu.mk revision 1.43.


136551 15-Oct-2004 ru

Overdue removal of COMPAT* knobs.


136242 08-Oct-2004 dougb

1. Incorporate most of Ruslan's improvements to where and how the
/etc/namedb symlink is created.

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

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

4. Update make.conf(5) with the new stuff, and correct a few paths
that have changed since I last updated it.


135851 27-Sep-2004 dougb

1. Add much finer granularity to the NO_BIND knobs with the addition of:
NO_BIND_DNSSEC, NO_BIND_ETC, NO_BIND_NAMED, and NO_BIND_UTILS.

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

Reviewed by: ru, des


135814 26-Sep-2004 ru

Get rid of obsolete MAN[0-9] syntax.


135752 24-Sep-2004 dougb

Fix the WANT_BIND_LIBS knob by correctly spelling it as WITH_BIND_LIBS
to match how similar syntax is used in the ports system. Thanks to kris
for pointing out my mistake here.

Install the lwres library unless the user defines NO_BIND, or the new
knob, NO_BIND_LIBS_LWRES. There is at least one potential customer
for this library in the wings. Thanks to nectar for the reminder.


135740 24-Sep-2004 dougb

Break the NO_BIND knob out from the pack, and begin documenting
the finer granularity for the various BIND features.


135639 23-Sep-2004 brooks

Backout the hack to install mtree, newsyslog, and touch in the cloned
root in the previous commit. We'll fix /etc/rc.d/var directly (someday).


135620 23-Sep-2004 brooks

Hack around the fact that the current diskless scripts require some
binaries in /usr before /usr is mounted by copying those files to the
root.

Stop making devices. devfs is manditory.


135184 14-Sep-2004 mlaier

Bring in some examples (and create space for future work here):
- Add OpenBSD example rulesets as advertised in etc/pf.conf and pf.conf(5)
- Tweak the pointer to fit the FreeBSD default location share/examples/pf
- Account for the new directory in BSD.usr.dist (no hier(7) change required
as share/examples is an opaque item there).

Obtained from: OpenBSD
Reminded by: Thomas T. Veldhouse
PR: docs/71691
MFC after: 2 days


134969 09-Sep-2004 alfred

Plug an fd leak by using autoh_freeall(3).
Refuse to run unless root.
Check in /etc, /usr/local/etc and ./ for the "autotab" configuration
file.
Add more debug statements.


134940 08-Sep-2004 alfred

sync with private code:

fix a 5.x'ism that 4.x needs protection from.
make this code compile standalone.


134753 04-Sep-2004 brueffer

Document a couple of build knobs

PR: misc/71032 (partly)
Submitted by: Divacky Roman <xdivac02@stud.fit.vutbr.cz>
Reviewed by: ru
MFC after: 3 days


134576 31-Aug-2004 alfred

Enter the autofs.


134520 30-Aug-2004 pjd

According to module(9), when command is unrecognized, the module should
return EOPNOTSUPP.


134007 19-Aug-2004 des

Add a NO_BOOT knob to prevent building the boot blocks and loader.

Reviewed by: ru
MFC after: 3 days


133944 18-Aug-2004 simon

Add a HARDWARE section to the example section 4 manual page.

Reviewed by: ru
MFC after: 3 days


133769 15-Aug-2004 marius

Shorten the description of NO_OPENSSL, which was split into two lines by a
patch of mine in revision 1.216, a bit so it fits in a single line again.


133651 13-Aug-2004 ru

Removed COPTS with equivalent CFLAGS.
While here, fixed setting of BINDIR.


133476 11-Aug-2004 harti

Document the correct use of MAKEOBJDIRPREFIX and MAKEOBJDIR.

Requested by: kris


132878 30-Jul-2004 ru

Update to the 2004 Edition of POSIX.


132830 29-Jul-2004 ru

Removed remnants of ports-related knobs from here.


132247 16-Jul-2004 tjr

Update for struct cdevsw and dev_t -> struct cdev * changes, plus one
64-bit portability fix.


132211 15-Jul-2004 scottl

Move references to the recently removed worm directory.


132183 15-Jul-2004 murray

Remove Walnut Creek CDROM script that Jordan wrote in the 90s.
This functionality is largely in src/release/${ARCH}/mkisofs.sh now.

PR: docs/43569


131751 07-Jul-2004 ru

Bumped document date for the recent changes here.
Fixed bad example of how to start a new sentence.
Added missing punctuation.
Fixed cut-n-paste error in the STANDARDS section.
Mention modern POSIX and C standards.


131530 03-Jul-2004 ru

Mechanically kill hard sentence breaks and double whitespaces.


131522 03-Jul-2004 des

The -O2 bugs are in libalias(3), not ppp(8).


131472 02-Jul-2004 ru

Removed trailing whitespace.


131467 02-Jul-2004 des

Explain that -O2 is supported, but known to expose bugs in ppp(8).


131343 30-Jun-2004 maxim

Add user _pflogd.


131153 26-Jun-2004 pjd

Typo.


130787 20-Jun-2004 mpp

Spelling fixes.


130786 20-Jun-2004 mpp

Spelling fixes.


130785 20-Jun-2004 mpp

Spelling fix and add $ FreeBSD $ tag


130784 20-Jun-2004 mpp

Grr. Fixup markup on my last commit. Sorry, I'm a little out of practice :)


130783 20-Jun-2004 mpp

Sync up ERRORS section with errno.h.


130276 09-Jun-2004 maxim

Style.


130272 09-Jun-2004 le

Remove duplicate #include.

PR: misc/67748
Submitted by: bugghy <bugghy@phenix.rootshell.be>


129642 24-May-2004 cjc

/usr is not really the ideal place for a ports application to store
a frequently updated database. /var/db is a much more reasonable place
for this kind of thing. Set a good example.

Reviewed by: -arch


129158 12-May-2004 josef

Fix typo.

Submitted by: Michel Lavondès <fox@vader.aacc.cc.md.us>
PR: docs/66536


129101 10-May-2004 simon

Fix typos.

PR: docs/66481
Submitted by: Michel Lavondès <fox@vader.aacc.cc.md.us>


128927 04-May-2004 josef

Add some lines to note that 'www' is available as an option
to get the www tree.


127384 24-Mar-2004 des

Remove mention of doscmd.


127234 20-Mar-2004 maxim

o Add user proxy.


126756 08-Mar-2004 mlaier

Link pf to the build and install:
This adds the former ports registered groups: proxy and authpf as well as
the proxy user. Make sure to run mergemaster -p in oder to complete make
installworld without errors.

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

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

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

Approved by: bms(mentor)


126171 23-Feb-2004 marcus

Add ports-net-mgmt to the relevant supfiles.

MFC after: 4 days


125500 05-Feb-2004 ru

Added missing DPADD.


125429 04-Feb-2004 ru

Fixed static build.


125392 03-Feb-2004 des

Document NO_VINUM, which is already listed in the man page.


125151 28-Jan-2004 obrien

Always build ext2fs module. There is no written policy preventing the
building of GPL'ed modules.


125123 28-Jan-2004 emax

Add NO_BLUETOOTH knob to the build process

Requested by: phk
Reviewed by: imp (mentor), ru


124762 20-Jan-2004 marcus

Add ports-accessibility and ports-x11-themes to the example supfiles.


124694 18-Jan-2004 obrien

Remove verbage about -O2 producing bad code on Alpha. By all accounts
GCC 3.3 -O2 produces correct code on Alpha. However, note that FreeBSD
has alias bugs that make -O2 produce bad code on all(most?) platforms.
Also don't tell people we don't want -O2 related bug reports, we do -- if
they contain patches.


124676 18-Jan-2004 nyan

Sync with sys/boot/forth/frames.4th revision 1.2 (PC98 support).

Suggested by: matusita


124309 09-Jan-2004 njl

Note that REPORT_LUNS should be implemented to work better with Linux
and Windows as initiators.


124308 09-Jan-2004 njl

Enable autosense by default. This shouldn't hurt SPI and is required
for FC.


124307 09-Jan-2004 njl

Bump the max number of initiators to 256 from 16. This is appropriate for
fibre channel and shouldn't hurt SPI.


123288 08-Dec-2003 obrien

Move the bktr(4) <arch>/include/ioctl_{bt848,meteor}.h files to dev/bktr
as these ioctl's aren't MD. This also means they are installed in
/usr/include/dev/bktr now. Also provide compatability wrappers for
where these headers lived in 4.x.


122805 16-Nov-2003 ceri

Add the ports/arabic category to the examples.

MFC After: 4 days


122758 15-Nov-2003 harti

Replace all uses of the old netgraph constants NG_*LEN by the new
constants NG_*SIZ that include the trailing NUL byte. This change
is mostly mechanical except for the replacement of a couple of snprintf()
and sprintf() calls with strlcpy.


122311 08-Nov-2003 gshapiro

People are blindly coping this example refuse file. Doing so breaks
buildworld as src/etc/sendmail/freebsd.mc is missing. That example
was added 3 years ago, before the /etc/mail/ infrastructure was in
place for customized configurations. It is time to remove this example.

Noticed by: Robert Gray <bob@boulderlabs.com> in freebsd-stable
MFC after: 1 day


121580 26-Oct-2003 emax

Connect /etc/bluetooth and /usr/share/examples/netgraph/bluetooth to the build.

Reviewed by: imp, simon
Approved by: imp (mentor)


121184 18-Oct-2003 simokawa

- Enable 16byte commands.
- Fix printf warnings on 64bit architectures.
- Accept 'k', 'm' and etc. for -s option.

Reviewed by: njl


120708 03-Oct-2003 dds

Style fixes: shell script indentation, if/then style, plus a lot
of comments in C code (capitalized, end with full stop).

Submitted by: schweikh


120707 03-Oct-2003 dds

Create a driver that will compile without warnings on -CURRENT
More changes are probably needed to create a correct driver.

Reviewed by: markm
Approved by: schweikh (mentor)


120612 30-Sep-2003 julian

fix typos in comments.
Submitted by: Vincent Jardin <vjardin@wanadoo.fr>


120428 25-Sep-2003 simokawa

* scsi_cmds.c
- Fill in autosense data.
- Add compatibility for RELENG_4.

* scsi_target.c
- Raw device support
- Set correct value in c_descr->offset for CAM_DIR_NONE case.
- Support for CTIO abort.


120397 24-Sep-2003 gshapiro

Turn SENDMAIL_CF_DIR into an officially supported make.conf variable
and use it in src/etc/sendmail/Makefile in case the user wants to use
a different path to the sendmail m4 sources (e.g., sendmail port users).

Submitted by: dinoex
MFC after: 21 days
X-MFC after: RELENG_4 code freeze ends


120190 18-Sep-2003 eivind

Update comment about compression to refer to CPU limitations instead of T1s


120094 15-Sep-2003 nectar

Remove nsswitch.conf from the list of examples, because there is no
such example.

Reported by: blackend


120054 14-Sep-2003 ru

Get rid of duplicates.


120005 12-Sep-2003 ceri

Using prefix=/usr will put these files in /usr/gnats, not /usr/ports.


120002 12-Sep-2003 ceri

Add the ports/dns and ports/polish categories.


119893 08-Sep-2003 ru

mdoc(7): Use the new feature of the .In macro.


119833 07-Sep-2003 jmg

make sure we really don't have a tty when installing rules. This prevents
a flush command from asking a question (you can't see):
If there is no tty associated with the process, this is implied.

MFC after: 1 day


118576 07-Aug-2003 imp

getopt returns -1 not EOF at the end of args. Compare against that.


118385 03-Aug-2003 mbr

Fix the cdev kld example.

PR: 52954
Submitted by: Priit Piipuu <priit.piipuu@mail.ee>
Reviewed by: phk


117290 06-Jul-2003 gshapiro

Thanks to Ruslan's src/etc/sendmail/Makefile patch, it is now safe
(though probably not a good idea in general) to set the various
SENDMAIL_*_MC variables to /etc/mail/sendmail.mc or /etc/mail/submit.mc.

MFC after: 5 days


115219 21-May-2003 ru

Unbreak world build if NO_OPENSSL is defined but NO_KERBEROS is not.

Submitted by: Marius Strobl <marius@alchemy.franken.de>
Approved by: re (jhb)


115157 19-May-2003 des

Retire the useless NOSECURE knob.

Approved by: re (scottl)


114880 10-May-2003 julian

This file just didn't want to commit in the last batch of bluetooth files.
Approved by: re@


114782 06-May-2003 obrien

Consistentify our NO_KERBEROS documentation.

Approved by: re(bmah)


114709 05-May-2003 markm

Turn MAKE_KERBEROS5 into NO_KERBEROS by negating the logic. Some extra
cleanups were necessary in release/Makefile, and the tinderbox code
was syntax checked, not run checked.


114157 28-Apr-2003 maxim

xten has gone.


113346 10-Apr-2003 keramida

Quote authname and authkey. Some ISPs allow (or even require)
non-alphanumeric characters in these and this will be a hint to the
users that quotes can and should be used in such cases.

PR: docs/42292
Submitted by: Matthias Andree <matthias.andree@web.de>
MFC after: 1 week


112651 26-Mar-2003 keramida

Add missing Danish (doc/da_*) language doc subdirectory

PR: docs/50290
Submitted by: Sergei Kolobov <sergei@kolobov.com>


112612 25-Mar-2003 brueffer

Remove reference to MAKEDEV


111989 08-Mar-2003 markm

KerberosIV deorbit sequence: MAKE_KERBEROS4 is no longer a valid option.


111875 04-Mar-2003 peter

Add cvsroot-all to the example


110882 14-Feb-2003 trhodes

Move NOMAN down the section without underscore characters.
Add a forgotten `=' sign.

Thanks to: ru, bde


110792 13-Feb-2003 brueffer

Various spelling and grammar fixes

PR: 44312
Submitted by: Chris Pepper <pepper@rockefeller.edu>
MFC after: 3 days


110724 11-Feb-2003 trhodes

Add NOMAN here also.


110655 10-Feb-2003 nectar

Install the OpenSSL man pages in /usr/share/openssl/man
and remove the WANT_OPENSSL_MANPAGES knob.


110407 05-Feb-2003 alex

Remove MAKEDEV quirks, now obsolete.


110198 01-Feb-2003 schweikh

Catch up with new categories and note that ports-base is essential without
ports-all.

PR: 47774
Submitted by: Sergei Kolobov <sergei@kolobov.com>
MFC after: 3 days


110197 01-Feb-2003 schweikh

Add new categories hungarian and portuguese.

PR: 47772
Submitted by: Sergei Kolobov <sergei@kolobov.com>
MFC after: 3 days


110026 29-Jan-2003 obrien

Document WANT_EXT2FS_MODULE.


109345 16-Jan-2003 njl

kernel:
* Fix a bug where devices weren't cleaned up on close(): CAM_REQ_CMP != 0

user:
* Increase timeout in usermode to CAM_TIME_INFINITY. The initiator is in
charge of timeouts and the value was in ms, not seconds.
* Bring two debugging printfs under the debug flag
* Clean up man page to show increased testing on isp(4)

Submitted by: gibbs (bugfixes)


109161 13-Jan-2003 njl

Add check for AIO support before starting up.


108827 06-Jan-2003 trhodes

Major update to the refuse file.

PR: 44164
Submitted by: Sergei Kolobov <sergei@kolobov.com>


108533 01-Jan-2003 schweikh

Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
especially in troff files.


108470 30-Dec-2002 schweikh

Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.


108317 27-Dec-2002 schweikh

english(4) police.


108106 19-Dec-2002 trhodes

Fix some grammar nits. Mainly the use of `a' or `an' where the opposite
is required.

PR: 33559
Submitted by: Marc Olzheim <marcolz@ilse.nl>


107781 12-Dec-2002 ru

mdoc(7) police: markup overhaul.

Approved by: re


107744 11-Dec-2002 ru

mdoc(7) police: Added the missing .Os call; it's not strictly
necessary nowadays, but is documented as "required", and may
become so again in the future.

Approved by: re


107691 09-Dec-2002 lioux

Add finance, hungarian, multimedia [1] and portuguese collections

PR: 45835 [1]
Submitted by: Morten Rodal <morten@rodal.no> [1]
Approved by: re (murray)
MFC after: 1 week


107323 27-Nov-2002 obrien

As warned on freebsd-current@, remove the perl wrapper from /usr/src.
The /usr/bin/perl wrapper isn't solving many of the problems it was
imported to deal with. There are limitations to it that don't have a
clear "fix".

Reviewed by: markm, kris
Extorted approval from: re(jhb)


107318 27-Nov-2002 ru

Removed the vestiges of modems(5).

Approved by: re


107241 25-Nov-2002 njl

Add a DPADD section to fix 'make checkdpadd'

Submitted by: ru
Approved by: re (previously)


107215 24-Nov-2002 njl

Install new files from examples dir.

Approved by: re (previously)


107178 22-Nov-2002 njl

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


106396 04-Nov-2002 alfred

Backout "compatibility hack" for __sF.

Requested by: Steve Kargl <sgk@troutmask.apl.washington.edu> (submitter)


106352 02-Nov-2002 alfred

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>


105703 22-Oct-2002 phk

Change to match NO_MAKEDEV* -> MAKEDEV*.


104288 01-Oct-2002 ru

test -h is deprecated; use -L instead.

PR: bin/40846


104124 29-Sep-2002 jmallett

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.


103898 24-Sep-2002 ume

Mention about how to build sendmail with SASLv2.


103048 07-Sep-2002 kris

Add support for ev67 and ev45 CPUTYPEs (new in gcc3)


103046 07-Sep-2002 mux

List the new athlon CPUs supported by the CPUTYPE make variable.

Submitted by: kris


101716 12-Aug-2002 hm

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>


101689 11-Aug-2002 hm

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).


101232 02-Aug-2002 ru

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


101215 02-Aug-2002 markm

There is no more UUCP in the base system, so there is no need to
prevent its building.


101214 02-Aug-2002 markm

Modernise and tidy up.


101065 31-Jul-2002 ume

include file of SASLv1 was changed to /usr/local/include/sasl1.


100977 30-Jul-2002 blackend

Correct URLs to Handbook & FAQ's pages

MFC after: 1 week


100945 30-Jul-2002 blackend

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


100872 29-Jul-2002 ru

Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by: bde


100870 29-Jul-2002 ru

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


100859 29-Jul-2002 mjacob

Fix Makefiles to actually work.


100346 19-Jul-2002 ru

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


100320 18-Jul-2002 ru

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


100313 18-Jul-2002 ru

s/${INSTALL} -c/${INSTALL} ${COPY}/


99969 14-Jul-2002 charnier

The .Nm utility


99771 11-Jul-2002 ru

Update the SUBDIR hacks to work with the current bsd.subdir.mk.


99260 02-Jul-2002 johan

'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


98978 28-Jun-2002 maxim

Include 'sshd' to the lists of forbidden users.

Reviewed by: cvs-committers


98462 20-Jun-2002 gshapiro

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


98064 09-Jun-2002 dougb

Per previous discussion, and with Mark's blessing, update the value
of this knob to reflect (-)current reality.


97748 02-Jun-2002 schweikh

Fix typo in the BSD copyright: s/withough/without/

Spotted and suggested by: des
MFC after: 3 weeks


97387 28-May-2002 tjr

Document the ENABLE_SUID_NEWGRP variable.

Requested by: mike
PR: 36190


97200 24-May-2002 gshapiro

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


96725 16-May-2002 markm

Remove perl hooks.

Pointed out by: des


96436 12-May-2002 nectar

Turn on the set-user-ID bit for k5su if ENABLE_SUID_K5SU is defined.


96398 11-May-2002 dd

sysctl -w -> sysctl


96397 11-May-2002 dd

sysctl -w -> sysctl

Approved by: ume


96225 08-May-2002 maxim

Put 'ftp' back.

Requested by: bmah, jhb


96158 07-May-2002 maxim

Sync with master.passwd.

PR: conf/37796
Submitted by: David Siebo"rger <drs@rucus.ru.ac.za>
MFC after: 3 days


96151 07-May-2002 brian

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....


95628 28-Apr-2002 gj

Add the Dynalink IS64PPH+ as a supported card.

Reported by: znerd


95332 23-Apr-2002 obrien

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".


95258 22-Apr-2002 des

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}/.


95107 20-Apr-2002 bp

s/nwserv/nwfs/

Submitted by: Victor Sudakov <sudakov@sibptus.tomsk.ru>
MFC after: 1 week


94676 14-Apr-2002 gshapiro

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


94477 12-Apr-2002 julian

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).


94297 09-Apr-2002 bmilekic

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


93629 02-Apr-2002 ru

Style: don't override `beforeinstall', use FILES.


93449 30-Mar-2002 ume

sendmail 8.12 doesn't require _FFR_UNSAFE_SASL anymore.
This is standard feature.

Submitted by: ru


93446 30-Mar-2002 ume

sendmail 8.12 claims against GroupReadableSASLFile.

Submitted by: mistral@imasy.or.jp


93227 26-Mar-2002 hm

Update i4b documentation.


92940 22-Mar-2002 roam

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


92868 21-Mar-2002 ru

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.)


92412 16-Mar-2002 markm

Document NO_PERL.


92302 15-Mar-2002 luigi

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.


90803 17-Feb-2002 gshapiro

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).


90522 11-Feb-2002 obrien

Document NO_CXX and NO_GDB.


89936 29-Jan-2002 cjc

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.


89211 10-Jan-2002 brian

Add an example for testing scalability and concurrency


88461 24-Dec-2001 ru

Document MODULES_OVERRIDE.

PR: docs/32560
Submitted by: Maxim Konovalov <maxim@macomnet.ru>


88410 22-Dec-2001 gj

Update my email address, forgot to do this before.

MFC after: 4 weeks


88409 22-Dec-2001 gj

Add the ifpi2 driver. Reminded by hm.

MFC after: 4 weeks


88408 22-Dec-2001 gj

Add the AVM Fritz!Card PCI version 2 controller.

MFC after: 4 weeks


88078 17-Dec-2001 cjc

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


88060 17-Dec-2001 mwlucas

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


88055 17-Dec-2001 ru

FILES support for bsd.prog.mk. See bsd.README for details.

Stolen from: NetBSD


87878 14-Dec-2001 sheldonh

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


87636 11-Dec-2001 jhb

- 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.


86327 13-Nov-2001 arr

- Modify to make the generated device driver code work with current.
- Use M_ZERO instead of another call to bzero().

Inspired by: misc/31905


86316 13-Nov-2001 arr

Update the KLD examples so they will work with current.

Reviewed: jhb


85848 01-Nov-2001 cjc

Add a directory in /var/run to store ppp(8) command sockets.

PR: bin/29966
Approved by: brian
MFC after: 4


85400 24-Oct-2001 markm

Back out my last commit. Ruslan (ru) has a better fix.


85381 23-Oct-2001 markm

Make sure the copies: and symlinks: targets exist in the case of the
empty ".for ..." loop.


85321 22-Oct-2001 jhay

Back out my previous commit. It is not necessary anymore now that Ruslan
fixed the ipfilter directory with a NOOBJ.


85310 22-Oct-2001 ru

Clamp down with NOOBJ.


85307 22-Oct-2001 jhay

Unbreak make world by adding .CURDIR here and there.

Submitted by: Harry Starr <starr3@gccs.com.au>


85281 21-Oct-2001 hm

Thanks for postcards ...


85280 21-Oct-2001 hm

upadate the release notes


85278 21-Oct-2001 hm

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


85214 20-Oct-2001 darrenr

Add the ipfilter subdirectory

PR: 26763


85213 20-Oct-2001 darrenr

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>


85103 18-Oct-2001 hm

Add experimental support for sending keypad facility messages.
MFC after: 2 months


84999 15-Oct-2001 brian

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


84256 01-Oct-2001 kris

Put back NOUUCP for now; cu and rmail are remaining pieces of the UUCP
code which will stay for now.


84254 01-Oct-2001 kris

Remove NOUUCP build option


84165 30-Sep-2001 sheldonh

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.


83731 20-Sep-2001 ru

Add ports/french and ports/ukrainian to the list of foreign-language ports.

PR: docs/30687
Submitted by: Rob Simmons <rsimmons@mail.wlcg.com>


83706 20-Sep-2001 ru

Correct comments to fit current realities of exporting crypto.

MFC after: 3 days


83609 18-Sep-2001 ru

Style.


83608 18-Sep-2001 ru

Style.


82604 30-Aug-2001 alex

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.


82520 29-Aug-2001 alex

Document defaults/periodic.conf.


82519 29-Aug-2001 alex

RIP all ports options, as discussed on arch@.


82120 22-Aug-2001 jim

Add doc/sr and doc/sr_* to the sample refuse file.

PR: 29935
Submitted by: Rob Simmons <rsimmons@mail.wlcg.com>


81749 16-Aug-2001 obrien

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.


81586 13-Aug-2001 ru

Removed duplicate VCS ID tags, as per style(9).


81557 12-Aug-2001 markm

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


81554 12-Aug-2001 knu

Chagne MASTER_SITE_FREEBSD to MASTER_SITE_FREEBSD_ORG, because
MASTER_SITE_FREEBSD is already used in bsd.port.mk for some different
purpose.


81553 12-Aug-2001 knu

Fix MASTER_SITE_RUBY. The listed master site is obsolete.


81552 12-Aug-2001 knu

Add MASTER_SITE_FREEBSD.


81277 08-Aug-2001 ru

mdoc(7) police: markup nits.


81262 07-Aug-2001 phk

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.


81194 06-Aug-2001 nik

Note that the doc collection is not branched.


80807 01-Aug-2001 obrien

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.


80642 30-Jul-2001 ache

Since we remove skey...


80452 27-Jul-2001 peter

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.


80282 24-Jul-2001 brian

Remove redundant mtu/mru/speed settings

MFC after: 6 days


80175 23-Jul-2001 gshapiro

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


80083 21-Jul-2001 hm

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>


80082 21-Jul-2001 hm

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).


80080 21-Jul-2001 hm

update ReleaseNotes for isdnd keyword maxconnecttime


79857 18-Jul-2001 ru

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.


79852 18-Jul-2001 sheldonh

Remove an example of bad sentence breaking style.


79757 15-Jul-2001 dd

Remove whitespace at EOL.


79548 10-Jul-2001 markm

Provide a hint for the OPIE 'insecure' mode.


79452 09-Jul-2001 brian

Fix the type of the NULL arg to execl()

Idea from: Theo de Raadt <deraadt@openbsd.org>


79366 06-Jul-2001 ru

mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).


79086 02-Jul-2001 brian

Fix some typos.

Submitted by: Jimmy Olgeni <olgeni@uli.it>
MFC after: 1 week


79035 30-Jun-2001 dd

Correct a brain-o in the stats output.

PR: 24839
Submitted by: AMAKAWA Shuhei <amakawa@sf.t.u-tokyo.ac.jp>


78862 27-Jun-2001 gshapiro

Typo fix (modifes -> modifies)


78408 18-Jun-2001 ru

Make this really work.


78265 15-Jun-2001 nik

Include a mention of WRKDIRPREFIX, useful when mounting /usr/ports readonly
from another host.


78064 11-Jun-2001 ume

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


78038 11-Jun-2001 ache

ISO_ -> ISO in comment


78035 11-Jun-2001 ache

ISO_ -> ISO in DOC_LANG


78012 10-Jun-2001 ume

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


77829 06-Jun-2001 dcs

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 :)


77815 06-Jun-2001 dcs

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


77630 02-Jun-2001 hm

added Sergio de Souza Prallon (prallon@tmp.com.br), the author of
the itjc hardware driver.


77629 02-Jun-2001 hm

update the isdn4bsd general documentation


77628 02-Jun-2001 hm

bring the roadmap to isdn4bsd up to date.


77627 02-Jun-2001 hm

update the postcard list


77520 31-May-2001 markm

PERL_THREADED is too experimental at this stage. Remove.


77264 27-May-2001 hm

Add an example of a kernel configuration file fragment for ISDN.


77262 27-May-2001 sheldonh

The PERL_THREADED knob is causing too many people too many problems.
Add a dire warning about the experimental nature of threaded Perl.


77177 25-May-2001 hm

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.


77175 25-May-2001 hm

Submitted by: phk
Add the V.21 modem emulator code written by phk from the old i4b tarball.


77173 25-May-2001 alex

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


77172 25-May-2001 hm

update isdn4bsd related information.


77171 25-May-2001 brian

Mention that ppp.conf.isdn isn't appropriate for external TAs
Add a section to ppp.conf.sample that is.

MFC after: 3 weeks


77129 24-May-2001 ru

mount_portal -> mount_portalfs.


77041 23-May-2001 ru

Add NO_I4B to avoid building/installing isdn4bsd package.

Prompted by: Alexandr Listopad <laa@laa.zp.ua>
MFC after: 3 days


76815 18-May-2001 ru

Grab headers from /usr/include.


76814 18-May-2001 ru

Removed unneeded stuff.


76518 12-May-2001 assar

clarify comment about MAKE_KERBEROS5. noticed by Peter Pentchev
<roam@orbitel.bg>


76363 08-May-2001 brian

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


76175 01-May-2001 schweikh

pseudo-device -> device in kernel config lines. Removed whitespace at EOL.
Reviewed by: joerg, dd


76157 30-Apr-2001 dillon

Remove a real FQDN host reference from the example

Add $FreeBSD tag


76122 29-Apr-2001 dd

Clarify a little: the mandatory argument is an event number.

PR: 26905
Submitted by: AMAKAWA Shuhei <sa264@cam.ac.uk>


76073 27-Apr-2001 ru

Removed reference to withdrawn secure-supfile.


76072 27-Apr-2001 ru

stable-supfile now covers 4.x-stable.


76071 27-Apr-2001 ru

MFS: revision 1.19.2.4
Correct comments to fit current realities of exporting crypto.


75982 25-Apr-2001 jim

Document XFREE86_VERSION.


75869 23-Apr-2001 ru

The semantics of the .Os call has been changed. For CURRENT,
this currently implies the default argument of "FreeBSD 5.0".


75839 22-Apr-2001 sobomax

Add missed and update existing MASTER_SITE_*.


75825 22-Apr-2001 asami

Add ports-picobsd.


75595 17-Apr-2001 ru

mdoc.samples(7) is superseded by mdoc(7).


75537 16-Apr-2001 luigi

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}


75517 14-Apr-2001 brian

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


75228 05-Apr-2001 mpp

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


75207 05-Apr-2001 dd

Make it clear that commands within labels must be indented to be
recognized.

PR: 26293
Reviewed by: brian


75044 31-Mar-2001 obrien

Use -r rather than -R to get "reasonable permissions and ownership".


74990 29-Mar-2001 asmodai

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.


74756 24-Mar-2001 asami

Add new categories science and ukrainian.


74247 14-Mar-2001 murray

Add a commented out entry for compat4x

PR: 25196
Submitted by: Chris Knight <chris@aims.com.au>


74146 12-Mar-2001 kris

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


74061 10-Mar-2001 billf

fix spelling errors, clarify comment, add $FreeBSD$


74055 10-Mar-2001 gshapiro

Use the correct path to the SASL .h files as installed by the SASL port.

MFC candidate.

Submitted by: jeh


73836 06-Mar-2001 gshapiro

Use a different example to avoid confusion


73779 05-Mar-2001 assar

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


73489 04-Mar-2001 phk

Give the shoe-laces a distinct color so they don't disappear on b/w
daemons.


73401 04-Mar-2001 kris

Correct the comment above MAKE_IDEA to be less confusing now that we
only have one patented algorithm in make.conf.


73388 03-Mar-2001 mjacob

include paths.h for _PATH_DEV


73145 27-Feb-2001 kris

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


73141 27-Feb-2001 asmodai

Short lived fame for -Wundef.

Second thoughts by: bde


73136 27-Feb-2001 asmodai

Add -Wundef to BDECFLAGS:

Warn if an undefined identifier is evaluated in an `#if' directive.

Not objected to by: bde


73088 26-Feb-2001 ru

.St -ansiC -> .St -isoC


73043 25-Feb-2001 kris

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.


72971 24-Feb-2001 tanimura

I thought it was a new CPU :)

s/i585/i586/


72918 22-Feb-2001 gshapiro

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


72916 22-Feb-2001 gshapiro

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.


72878 22-Feb-2001 kris

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


72846 22-Feb-2001 gshapiro

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


72679 19-Feb-2001 kris

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


72575 17-Feb-2001 phk

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.


72336 10-Feb-2001 abial

Unbreak by syncing with changes in <sys/sysctl.h> macros.


71895 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


70165 18-Dec-2000 imp

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.


70015 14-Dec-2000 ru

mdoc(7) police: removed history info from the .Os FreeBSD call.


69820 10-Dec-2000 des

Add a reference to the fetch(3) man page.


69793 09-Dec-2000 obrien

Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.


69470 01-Dec-2000 brian

Add more comments, fix a typo, mention how to do PPPoUDP using encryption
to create a VPN.


69425 30-Nov-2000 brian

Get rid of that damned ``i4b-L4-i4b_l4_setup_timeout: 975625189: ERROR:
idletime[900]+earlyhup[5] > unitlength[60]!'' message.


69419 30-Nov-2000 brian

Add some comments and $FreeBSD$


69417 30-Nov-2000 brian

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.


69380 30-Nov-2000 gshapiro

Add commentary about shared SASL files versus sendmail compilation.

Submitted by: Scot W. Hetzel <hetzels@westbend.net>


69063 22-Nov-2000 obrien

Remove "NODESCRYPTLINKS" it has been superseeded by "passwd_format"
in /etc/login.conf.


69052 22-Nov-2000 ru

mdoc(7) police: Er macro usage cleanup.


69040 22-Nov-2000 ben

Add a note asking committers to update make.conf.5 when they update this.


68960 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


68917 19-Nov-2000 dougb

Standardize spelling of "optimization" in comments

PR: conf/22622
Submitted by: knu


68748 15-Nov-2000 julian

Slight cleanups after comments from John Hay (Thanks!)
Also add more comments.


68705 14-Nov-2000 green

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


68630 12-Nov-2000 julian

Share one devclass between ISA and PCI sections
This will ensure unit numbers will co-ordinate between them


68606 11-Nov-2000 julian

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?


68559 10-Nov-2000 ru

Fixed typo in description of ENABLE_SUIDPERL.


68533 09-Nov-2000 julian

Add more sample code having read the daemnnews article (August 2000)


68506 08-Nov-2000 julian

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.


68481 08-Nov-2000 jkh

Add commented-out entries for FTP_PROXY and HTTP_PROXY so those behind
firewalls have examples to work from.

Requested by: chein


68310 04-Nov-2000 ps

MF4: Add LOADER_TFTP_SUPPORT make.conf flag.


68263 02-Nov-2000 obrien

State that using optimization level above -O for kernel builds isn't smart.


68173 01-Nov-2000 hm

Ooops, forgot to add the originator for the last FAQ entry


68172 01-Nov-2000 hm

Add entry to the FAQ


68164 01-Nov-2000 rse

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/


67657 26-Oct-2000 julian

Add copyright to skeleton.


67653 26-Oct-2000 julian

some more cleanups
still need to handle non-PNP devices properly.


67568 25-Oct-2000 julian

Slowly add more functionality as I learn more about newbus etc.


67505 24-Oct-2000 julian

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.


67491 24-Oct-2000 knu

Add MASTER_SITE_MOZILLA and MASTER_SITE_XEMACS.


67431 22-Oct-2000 knu

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.


66932 10-Oct-2000 hm

update i4b version to 0.96.00


66917 10-Oct-2000 obrien

Removed the FreeBSD ID I was forced to add in rev 1.9.


66885 09-Oct-2000 hm

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).


66834 08-Oct-2000 phk

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.


66828 08-Oct-2000 obrien

Use <space> not <tab> before VCS ID.


66549 02-Oct-2000 sobomax

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


66512 01-Oct-2000 archie

Script showing how to setup Ethernet bridging using ng_bridge(4).


66257 22-Sep-2000 asmodai

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>


66213 22-Sep-2000 asami

Add ports-french.


65970 17-Sep-2000 gshapiro

Give users a way to alter the sendmail (and related utilities) build
environment so they can enable functionality such as SASL, LDAP, Hesiod.


65957 16-Sep-2000 ache

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


65884 15-Sep-2000 ache

Add/use MTREE_FOLLOWS_SYMLINKS make.conf option
This is part of whole subsystem fixing

Reviewed by: imp


65653 10-Sep-2000 kris

Nuke RSAREF support from orbit.

It's the only way to be sure.


65551 06-Sep-2000 kris

``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!


65532 06-Sep-2000 nectar

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


65480 05-Sep-2000 dcs

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).


65381 02-Sep-2000 obrien

Move `NOPROFILE' and `NOPERL' to be with the reset of their "NO" brethren.


65380 02-Sep-2000 obrien

Move the kernel's "cflags" to be next to the world ones.


64803 18-Aug-2000 brian

Add a PPP_NOSUID hook


64783 17-Aug-2000 brian

Use an MRU of 1504 with 1500 byte MRRUs


64782 17-Aug-2000 brian

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)


64679 15-Aug-2000 brian

Make the pppoe-in config entry a bit more useful (and verbose)


64606 13-Aug-2000 joe

MFS4: The stable branch is now RELENG_4 not RELENG_3. Alex changed this
in RELENG_4, but not in HEAD.


64605 13-Aug-2000 joe

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.


64576 13-Aug-2000 imp

Change BUILD_SUIDPERL to ENABLE_SUIDPERL, with changed note as to what
it does.


64515 10-Aug-2000 imp

Change NOSUIDPERL to BUILD_SUIDPERL. One must now explicitly enable
building suidperl.


64285 05-Aug-2000 ben

Mention the non-English docs as well as ports.


64258 04-Aug-2000 jim

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


64253 04-Aug-2000 jdp

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.


64039 31-Jul-2000 ache

Add #ports/hebrew


64036 31-Jul-2000 asami

Add ports-hebrew.


63375 18-Jul-2000 mjacob

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.


63290 17-Jul-2000 mjacob

Clean up after oneself on exit.


63277 16-Jul-2000 ben

Clarify that CVSup doesn't understand comments in refuse files.

PR: 19949
Submitted by: Jun Ushida <ushida@msa.biglobe.ne.jp>


63212 15-Jul-2000 abial

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


63186 14-Jul-2000 mjacob

Whoops- more changes in last checkin than TARGIODEBUG-
some additional TARGIOCCLEAREXCEPTION ioctls added as
needed.

Obtained from: gibbs@freebsd.org


63185 14-Jul-2000 mjacob

Make use of the new TARGIODEBUG ioctl (i.e., add an option for it's use).


63123 14-Jul-2000 peter

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>


62851 09-Jul-2000 markm

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


62680 06-Jul-2000 brian

Add various system usernames (even though I try to avoid pppd!!!)

PR: 19717
Submitted by: Tony Finch <dot@dotat.at>


62482 03-Jul-2000 peter

Delete the RSAREF=YES example from make.conf - it is not used at all.
Add knobs for the optional crypto parts with some notes.


62247 29-Jun-2000 peter

Include the src-crypto-rsa collection by default for internat users.


62246 29-Jun-2000 peter

List src-secure-rsa and clarify that cvs-crypto does not have it.


62136 26-Jun-2000 obrien

Add BDECFLAGS so people can use them easily in /etc/make.conf.


61744 17-Jun-2000 obrien

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.


61139 31-May-2000 hoek

Add a NO_LPR option. Useful for people who want to use LPRng.

PR: bin/18787 (David Gilbert <dgilbert@velocet.ca>)


61097 30-May-2000 brian

Mention that some PPPoE servers cache MAC addresses


60930 25-May-2000 dirk

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


60540 14-May-2000 kris

Add /bin/tcsh for completeness

Submitted by: knu


60068 06-May-2000 kris

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.


59897 02-May-2000 joe

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


59884 02-May-2000 chuckr

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.


59712 27-Apr-2000 n_hibma

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>


59711 27-Apr-2000 n_hibma

Remove a warning


59650 26-Apr-2000 obrien

"r" devices are on their way out.


59541 23-Apr-2000 phantom

Suggest to use .Lb macro in 2nd/3rd section manpages.


59439 20-Apr-2000 hm

removed some obsolete information and dead links.
Noticed by: Alexander Werner Skwar


59338 17-Apr-2000 obrien

Document NO_TCSH knob.


59203 13-Apr-2000 sheldonh

Add an example refuse file.

PR: 17972
Submitted by: Michael Lucas <mwlucas@blackhelicopters.org>


59152 11-Apr-2000 brian

Show an example of not letting NetBIOS traffic keep the link up

PR: 17865
Submitted by: Glenn Johnson <glennpj@bayouhome.net>


59124 10-Apr-2000 asmodai

Document NO_BIND toggle flag.

PR: 17710
Submitted by: Mark Huizer <xaa+sendpr@dohd.cx>


59006 04-Apr-2000 obrien

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.


58979 03-Apr-2000 iwasaki

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.


58859 31-Mar-2000 sheldonh

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


58648 27-Mar-2000 kris

Update CFLAGS documentation


58636 26-Mar-2000 brian

resolf.conf -> resolv.conf; charnier


58591 26-Mar-2000 billf

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>


58449 22-Mar-2000 nik

Add the DOC_LANG variable, and associated documentary comments.


58418 21-Mar-2000 obrien

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".


58390 20-Mar-2000 dan

Document NOUUCP switch


58280 19-Mar-2000 kris

Add and document a NO_X knob to force disabling of X support in doscmd

Requested by: sysop@silver.komanda.com.ua


58001 13-Mar-2000 dcs

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.


57772 05-Mar-2000 jdp

Add src-kerberos5 to example supfiles.


57764 05-Mar-2000 kris

Document NO_OBJC for disabling Objective C support


57603 29-Feb-2000 kris

Document NODESCRYPTLINKS


57580 29-Feb-2000 mjacob

Update SES userland examples to something out of the toy stage.
Approved: jkh


57553 28-Feb-2000 kris

Update the description of NOCRYPT and NOSECURE to match reality.


57542 27-Feb-2000 kris

Document the following buildworld knobs:

NO_FORTRAN NOCRYPT NOGAMES NOINFO NOLIBC_R NOSECURE NOSHARE


57541 27-Feb-2000 kris

Document NOPERL for disabling building of PERL altogether.


57522 26-Feb-2000 shin

Add IPv6 related docs.

Reviewed by: phantom


57458 24-Feb-2000 markm

Add userland tweakables for OpenSSH and OpenSSL.


57071 09-Feb-2000 rwatson

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


56840 29-Jan-2000 sos

Dont confuse our users with this, the ata driver uses burncd.


56706 28-Jan-2000 archie

Add another netgraph example. This one shows how to set up a simple
UDP tunnel between two subnets.


56704 27-Jan-2000 brian

Add some practical filter examples.


56687 27-Jan-2000 sumikawa

Remove 'USE_INET6' define. Now we check IPv6 ability by 'OSVERSION'

Suggested by: asami


56553 24-Jan-2000 markm

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!!


56072 15-Jan-2000 mjacob

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.


55805 11-Jan-2000 asmodai

Change the /usr/src mention to /usr/doc, since it is a doc supfile.

PR: 15974
Submitted by: Vivek Khera <khera@kciLink.com>


55660 09-Jan-2000 phantom

Remove binary files from source tree


55600 08-Jan-2000 sumikawa

Add new define USE_INET6, which enbale IPv6 support on certain
packages.

Approved by: asami
Reviewed by: billf


55427 05-Jan-2000 brian

Add protocol to ``nat port'' examples - it's mandatory.

Suggested by: Mark Knight <markk@knigma.org>


55247 29-Dec-1999 brian

The '-' character in chat scripts should only be escaped
twice (since the parsing routines were fixed).


54670 16-Dec-1999 billf

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


54611 14-Dec-1999 hm

update to isdn4bsd beta release 0.90


54593 14-Dec-1999 billf

Use the traditional bmake magic.

Reviewed/approved by: sos


54592 14-Dec-1999 billf

-Wall.

Reviewed/approved by: sos


54500 12-Dec-1999 dillon

Make the cvs-supfile cover the entire repository - add the doc hierarchy.

Approved by: jkh


54351 09-Dec-1999 marcel

Revert previous commit.

Requested by: bde


54340 08-Dec-1999 mpp

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


54312 08-Dec-1999 marcel

Remove support for symlinks instead of copies. This also avoids
using mtree. Space is being saved by other means.


53913 30-Nov-1999 archie

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


53540 21-Nov-1999 brian

An example of how to configure PPPoE.


53411 19-Nov-1999 julian

Add an example of how to run raw IP across a sync port.


53410 19-Nov-1999 julian

Add an example of how to set up a frame relay link using netgraph and
the 'sr' sync card.


53229 16-Nov-1999 joe

Added $FreeBSD$ idents.


53013 08-Nov-1999 yokota

- 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.)


52839 03-Nov-1999 bp

Add examples for a mount_nwfs command.


51967 06-Oct-1999 brian

5 minutes == 300 seconds, not 600 !

Submitted by: Robert Inder <R.Inder@ed.ac.uk>


51939 04-Oct-1999 ru

Recommend "secure-stable-supfile" instead of "secure-supfile".


51894 03-Oct-1999 brian

Set the i4b bandwidth - i4b doesn't report it via tcgetattr.

Suggested by: Joe Karthauser <joe@uk.FreeBSD.org>


51787 29-Sep-1999 dcs

Fixes a silly bug that somehow escaped my notice all these months.


51700 26-Sep-1999 brian

Show an example of ``set cd off''


51521 21-Sep-1999 sos

Update so that only whole blocks are written to disk, the system
has dislearned how to handle != blocksize request to the raw/char
device.


51334 16-Sep-1999 brian

Suggest using just finrst in the dial filter, and not syn.

Submitted by: Ruslan Ermilov <ru@FreeBSD.org>


51299 15-Sep-1999 peter

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)


51050 07-Sep-1999 brian

Show how to prioritize UDP packets


51049 07-Sep-1999 brian

alias -> nat


50883 04-Sep-1999 markm

Knob for Perl thread support.


50710 31-Aug-1999 jdp

Add ports-irc, ports-java, and ports-x11-servers. For some reason
these made it into the RELENG_3 branch but not into -current.


50708 31-Aug-1999 jdp

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.


50535 28-Aug-1999 mpp

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.


50476 28-Aug-1999 peter

$Id$ -> $FreeBSD$


50472 27-Aug-1999 peter

$Id$ -> $FreeBSD$


50192 22-Aug-1999 brian

Decrease the isdn recovery time to 1 second and mention that it
should always be less than ppps redial timeout.


49981 17-Aug-1999 brian

Add a second arg to ``set timeout'' as an example of a minimum idle
period.


49977 17-Aug-1999 brian

Use ``set openmode passive'' in the ssh VPN example


49935 16-Aug-1999 gibbs

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.


49777 14-Aug-1999 sheldonh

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>


49584 09-Aug-1999 brian

Add an example of an isdnd.rc that works with ppp.


49583 09-Aug-1999 brian

Add an example of an isdn profile.


49460 06-Aug-1999 hm

updating isdn4bsd to beta version 0.83


49369 02-Aug-1999 asami

Add ports-ftp.


49190 28-Jul-1999 nik

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>


49141 27-Jul-1999 brian

Show how to use the new filter capabilities

Mostly submitted by: Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>


48277 27-Jun-1999 sheldonh

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


48275 27-Jun-1999 dfr

* 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


48212 25-Jun-1999 dfr

Make this sample build again.


48185 24-Jun-1999 sheldonh

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>


47857 09-Jun-1999 brian

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.


47726 04-Jun-1999 billf

sunsite is now metalab.


47651 01-Jun-1999 billf

'make update' in the ports directory.


47634 30-May-1999 billf

procedure, not proceedure.


47480 25-May-1999 jdp

Remove references to the obsolete src-eBones collection.

PR: conf/11873


47430 23-May-1999 obrien

Get case right in "COMPAT3X".

Submitted by: Kevin Street <street@iname.com>


47338 20-May-1999 hm

upgrade isdn4bsd from version 0.71 to the just released version 0.81


47318 19-May-1999 obrien

Add a commented out COMPAT22 and COMPAT3x, since we have the others.


47200 14-May-1999 dcs

Rewording.


47199 14-May-1999 dcs

Slight not-exactly-bug-but-useful-as-example-code fix.


47195 14-May-1999 dcs

Add a menu example making use of loader.4th(8) facilities.

Merge candidate, as it is just an example...


47078 12-May-1999 billf

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


46242 02-May-1999 obrien

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)


46103 27-Apr-1999 brian

Specify the ssh command to use for a VPN inline.


46030 24-Apr-1999 peter

Zap lkm examples, they don't do anything anymore.


45648 13-Apr-1999 hm

Make sending the postcard optional (as suggested by phk).


45460 08-Apr-1999 asami

Remove ports-plan9, add ports-palm.

PR: 11019
Submitted by: mharo@area51.fremont.ca.us (ports-supfile only)


45070 28-Mar-1999 brian

Increase the timeout and wait for ``PPP'' in the compuserve
example.

Submitted by: MALCOLM BOFF <Malcolm_Boff@compuserve.com>


44877 19-Mar-1999 msmith

more $d -> %d fixes


44876 19-Mar-1999 msmith

Fix some $d -> %d mistakes.

Submitted by: crb@crbowman.erols.com


44755 14-Mar-1999 markm

Bitrot. Remove objlink as it is not pleasant to be downwind.

PR: 8071
Reviewed by: Sheldon Hearn <sheldonh@iafrica.com>


44748 14-Mar-1999 billf

Bring in some MASTER_SITE_{AFTERSTEP,WINDOWMAKER} from bsd.port.mk


44555 07-Mar-1999 hm

update misc i4b documentation to i4b release 0.71.00


44498 05-Mar-1999 gibbs

Allocate a target mode instance to handle our target mode session, clean
it up on exit. The address for attaching the emulator (path, target id,
lun) is now specified on the command line. Some attempt at cathing
signals and cleaning up target mode instances is now made.


43948 13-Feb-1999 brian

Add some examples of how to throw a window up on your display when
the peer demands authentication, and add some more detail to the
example configurations.

This is the first time I've written any TCL, so I'd appreciate it
if someone eyeballed the *-auth stuff and fixed any glaring problems.


43907 11-Feb-1999 jdp

Use the fictional server "CHANGE_THIS.FreeBSD.org". Add comments
telling the user to (duh) change it.


43906 11-Feb-1999 jdp

RELENG_3 is now "the" stable branch.


43905 11-Feb-1999 jdp

Replace the out-of-date list of mirror sites with a reference to the
list in the FreeBSD Handbook.


43902 11-Feb-1999 brian

Add ppp example files.


43808 09-Feb-1999 dillon

Update diskless and templated booting examples


43653 05-Feb-1999 jkh

Indicate that LKMs are obsolete, just to prevent confusion.


43570 03-Feb-1999 asami

Remove commented out definition of FTP_PASSIVE_MODE, it is (and has always
been) an environment variable and doesn't belong here.

Pointed out by: cnh@ems.mindspring.net, sanpei@yy.cs.keio.ac.jp


43435 30-Jan-1999 jdp

Remove the SVR4 examples. Folks, no binaries are allowed in the
repository. Also no uuencoded files should be added.


43422 30-Jan-1999 newton

Added examples for svr4 /compat trees.


43336 28-Jan-1999 jkh

Update example to match new builtin behavior.

Submitted by: Daniel C. Sobral <dcs@newsguy.com>
PR: 9744


43247 26-Jan-1999 dillon

Clarify documentation of 'ME' softlink.


43240 26-Jan-1999 dillon

Diskless and templating configuration examples


43107 23-Jan-1999 rnordier

Fix wrong exit code.
PR: 9321
Submitted by: Bob Van Valzah <Bob@whitebarn.com>


42876 20-Jan-1999 asami

Change MASTER_SITE_BACKUP to point to new dir on wcarchive. Merge some
MASTER_SITE_* macros from latest bsd.port.mk.


42802 18-Jan-1999 hm

Add ISDN (i4b) documentation and examples


42525 11-Jan-1999 peter

Remove the example for setting KERNFORMAT=elf; it is the default already.


42436 09-Jan-1999 dfr

Use modstat(2) to get the syscall number.


42434 09-Jan-1999 dfr

Replace the misc example with a simpler syscall example using the new
module registration hooks for syscalls.

Submitted by: Assar Westerlund <assar@sics.se>


42325 06-Jan-1999 obrien

make comments more consistant


42210 31-Dec-1998 abial

Add timeout to boot menu.

Submitted by: W Gerald Hicks <wghicks@bellsouth.net>


42004 22-Dec-1998 abial

Add examples how to use the terminal emulation code in /boot/loader to
create nice startup menus. Improvements are warmly welcome. :-)


41829 15-Dec-1998 dillon

Add portal example

PR: misc/8796


41690 11-Dec-1998 phk

Add working client and server sample applications.

Submitted by: Mike Spengler <mks@circe.networkcs.com>


41681 11-Dec-1998 dfr

Sample modules for KLD.

PR: misc/8621
Submitted by: Rajesh Vaidheeswarran <rv@fore.com>


41643 10-Dec-1998 gibbs

Remove debugging printfs.


41604 08-Dec-1998 billf

Use quotes around the first_line variable so C comments and other things
that are misinterpreted by echo(1) aren't.

PR: docs/8757
Submitted By: Takeshi OHASHI <ohashi@mickey.ai.kyutech.ac.jp>
Sergei Laskavy <laskavy@gambit.msk.su>


40592 22-Oct-1998 bde

FIxed a bogus comment.


40591 22-Oct-1998 bde

Removed all `vector xxxintr' specifications. Interrupt handlers are now
configured in drivers.

Attempted to update the generated interrupt handler attachment to the
current "temporary" method. Not tested. To test it, someone would first
have to fix the bitrot in the ioctl command arg type.


40430 16-Oct-1998 peter

Commented out example of changing the default kernel format with warning.


39232 15-Sep-1998 phk

Add new files for HARP3

Host ATM Research Platform (HARP), Network Computing Services, Inc.
This software was developed with the support of the Defense Advanced
Research Projects Agency (DARPA).


39215 15-Sep-1998 gibbs

SCSI Target userland process example. Provides/Dumps the data related to
RECEIVE/SEND processor target requests to the "targ" sample target mode
driver.


39096 12-Sep-1998 sos

Two little examples for use with the new atapi CD-R/RW driver
Use to burn data & audio CD's


38738 02-Sep-1998 brian

Add Id keywords


38616 29-Aug-1998 phk

fix a typo


38613 29-Aug-1998 dillon

make.conf.local test/include removed from make.conf, to be put in sys.mk
instead.


38565 26-Aug-1998 dillon

Reviewed by: asami@freebsd.org (Satoshi Asami)

Give make.conf a make.conf.local capability similar to rc.conf's
rc.conf.local capability. Eases large-site administration.


38206 09-Aug-1998 asami

Oops, forgot my source tree is at RELENG_2_2...MF22. (Add new
categories ports-deskutils, ports-x11-{clocks,fm,fonts,toolkits,wm}.)


38192 08-Aug-1998 alex

Typo fix. The PR suggested that "save are for old callslot entry" should
be "slot area for old callslot entry", but I think "save area for old
callslot entry" is what was intended.

PR: 7526


38190 08-Aug-1998 alex

cince --> since

PR: 7525
Submitted by: ziggy@ryan.org


38003 01-Aug-1998 dima

Introduce KRB5_HOME variable.


37164 26-Jun-1998 jkh

MF22: doc pointer.


37162 26-Jun-1998 jkh

MF22: die sup die.


36263 20-May-1998 jkh

Back out locale change until it's better understood by all just
what it is we're trying to do here. :)
OK'd by: asami


36188 19-May-1998 thepish

PR: misc/6031

Patch applied as per PR - enables preferential fetch from local mirrors


35849 08-May-1998 phk

Add a crucial missing _ in NO_SENDMAIL

PR: 6545
Reviewed by: phk
Submitted by: Jos Backus <jbackus@plex.nl>


35332 20-Apr-1998 jb

Add an example supfile for the gnats database.

Submitted by: A Joseph Koshy <koshy@india.hp.com>


35222 16-Apr-1998 ache

Add commented out common INSTALL and FORCE_PKG_REGISTER knobs


35221 16-Apr-1998 ache

Add missing commented out MOTIF_STATIC example


35206 15-Apr-1998 phk

In light of the fact that several widespread sendmail alternatives exists
is reason enough to make the compilation & installation of sendmail an
make.conf option. I know that you hate negative options Bruce.

PR: 6284
Reviewed by: phk
Submitted by: Adrian Colley <aecolley@world.std.com>


34984 01-Apr-1998 charnier

.Sh AUTHOR -> .Sh AUTHORS.


34890 26-Mar-1998 dima

Don't build sperl if you don't want to.


34654 18-Mar-1998 jkh

style tweak.


34651 18-Mar-1998 jkh

Document NOPERL


34113 06-Mar-1998 jkh

MF22: add ports-biology


33980 02-Mar-1998 jkh

syntax error in /usr/share/examples/sliplogin/slip.hosts
PR: 5873
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>


33880 27-Feb-1998 fenner

Convert ${MASTER_SITE_SUBDIR} to %SUBDIR% as in bsd.port.mk rev 1.257


33878 27-Feb-1998 asami

Fix path in commented-out sample of MASTER_SITE_TEX_CTAN.

PR: 5861
Submitted by: kuriyama@opt.phys.waseda.ac.jp


32529 15-Jan-1998 cracauer

Fix typo


32468 12-Jan-1998 julian

Add code to the example 'driver-o-matic' to support being an LKM
This may not quite work yet but should head the user in the right
direction.


32185 02-Jan-1998 msmith

Sample program using the ppi(4) interface to control LCD modules.
Currently supports the (very common) Hitachi HD44780, but can be
easily modified to add other chipsets.


32119 30-Dec-1997 bde

Remove `retval' from syscall functions here too.


32111 30-Dec-1997 julian

The example drivers should use 'poll' now that it has replaced select.


30465 16-Oct-1997 sos

Add a little example on libvgl usage.


30229 08-Oct-1997 jkh

Back out my last commit - the trailing / should stay and fetch(1) should
stop puking on null directory components.


30226 08-Oct-1997 jkh

Remove trailing slash from MASTER_SITE_BACKUP example since it
can lead to two trailing /'s, which is in turn an invalid URL (just
bit me :-).


30069 03-Oct-1997 jkh

Correct typo.
PR: 4681
Submitted by: Masahiro Sekiguchi <seki@sysrap.cs.fujitsu.co.jp>


30047 02-Oct-1997 jkh

src-contrib-crypto is now just src-crypto (unless the user wants to see
tons of stuff in an Attic).


29949 28-Sep-1997 jkh

Document the ever decreasingly popular USA_RESIDENT variable.


29931 28-Sep-1997 markm

Final commit for KTH KerberosIV.
-DMAKE_EBONES -> -DMAKE_KERBEROS4


29763 24-Sep-1997 jdp

Add the "src-kerberosIV" collection.


29281 10-Sep-1997 jkh

By popular request, change the default suggested value for CFLAGS
and also note that COPTFLAGS is _just_ for the kernel and CFLAGS just
for userland.


29209 07-Sep-1997 joerg

src/share/doc -> doc


29125 05-Sep-1997 jdp

Add cvsup.ca.FreeBSD.org.


29079 03-Sep-1997 jdp

"Stable" now means RELENG_2_2.


28336 18-Aug-1997 jdp

Agnus Dei, qui tollis peccata mundi, dona eis requiem sempiternam.


28323 17-Aug-1997 jdp

Add new CVSup mirror sites.


27948 07-Aug-1997 jdp

Add cvsup2.ua.freebsd.org.
Rename the MIT mirror to cvsup3.freebsd.org.


27792 31-Jul-1997 asami

Add new ports-german collection.


27776 31-Jul-1997 jdp

Add cvsup.uk.freebsd.org.


27771 30-Jul-1997 jdp

Update the list of CVSup mirror sites.


27597 22-Jul-1997 jdp

Add a warning about how to add ports collections to this cvsupfile
(and how NOT to add them).


27085 29-Jun-1997 bde

Implemented `-c command'.

Fixed bitrot (__dead went away; EOF is now wrong for the getopt failure
value).

Moved sleep command to the end of the main loop to avoid mismatch between
main loop and the report loop. There is an extra iteration that could be
used to calibrate the loop overhead, but was used to report wrong results.

Fixed usage message.


26705 18-Jun-1997 alex

Typo police.


26522 09-Jun-1997 bde

Updated serial console options.


25937 19-May-1997 jmz

The 'wormcontrol select' command no more exists.


25933 19-May-1997 jdp

Include the new "src-contrib-crypto" collection.


25813 14-May-1997 jkh

mkisofs.new -> mkisofs (whoops! just noticed this)


25424 03-May-1997 andreas

synchronize with bsd.doc.mk (long outstanding fix)
PR: closes docs/3479


25183 27-Apr-1997 asami

Add ports-converters and ports-textproc targets.


24973 16-Apr-1997 danny

Suggested by: David Nugent
Change the name of ppp.disabled to ppp.deny for consistency with
at.deny and friends.


24951 15-Apr-1997 asami

Add comments about overridable MASTER_SITE_* variables.

Suggested by: Narvi <narvi@haldjas.folklore.ee>


24944 15-Apr-1997 danny

List of users who may not use pppd in system password logins, and a
sample list of acceptable shells.


24867 13-Apr-1997 bde

Removed bogus unused #include.


24866 13-Apr-1997 bde

Removed bogus unused #include.


24865 13-Apr-1997 bde

Updated to use new MOD_SYSCALL() and MOD_DISPATCH() macros.

Removed bogus unused #include and unused #includes.


24860 13-Apr-1997 jkh

Add a -b option to make the resulting CDROM image bootable
(requires new mkisofs 1.10 port).


24674 06-Apr-1997 dufault

Make MOD_* macros almost consistent:

Use the name argument almost the same in all LKM types. Maintain
the current behavior for the external (e.g., modstat) name for DEV,
EXEC, and MISC types being #name ## "_mod" and SYCALL and VFS only
#name. This is a candidate for change and I vote just the name without
the "_mod".

Change the DISPATCH macro to MOD_DISPATCH for consistency with the
other macros.

Add an LKM_ANON #define to eliminate the magic -1 and associated
signed/unsigned warnings.

Add MOD_PRIVATE to support wcd.c's poking around in the lkm structure.

Change source in tree to use the new interface.

Reviewed by: Bruce Evans


24565 03-Apr-1997 jmg

arg... add back the "stray" `-' (it is used by indent)


24544 02-Apr-1997 jmg

remove a stray `-'


24525 02-Apr-1997 mpp

Remove some garbage text.


24430 31-Mar-1997 scrappy

Remove MAKEFLAGS example from /etc/make.conf...

Bruce points out that it breaks things if someone doesn't do a 'make depend',
but I just found out that it breaks 'make depend' itself :(


24422 30-Mar-1997 scrappy

Add/document MAKEFLAGS into /etc/make.conf, using -j3 as example


24225 25-Mar-1997 joerg

top(1) has a tunable parameter for the hash size to hash the user
entries. Mention it in make.conf.


24066 20-Mar-1997 mpp

Use the .An macro in the AUTHOR section.


24056 19-Mar-1997 mpp

Update to use the .Rv macro now that I know it exists :-).


23425 06-Mar-1997 asami

Add ports-korean.


23424 06-Mar-1997 asami

Add ports-korean.


23199 28-Feb-1997 bde

Synced with the C example copyright. Cosmetic except for removing
clause 3, which was removed on 1996/08/03 in the C example.


23198 28-Feb-1997 bde

Show where the version control id should go.


23197 28-Feb-1997 bde

Changed the example copyright to be closer to the ones that we actually
use:
- don't put [your name] on a a separate line. Most authors have shorter
names than "The Regents of the University of California".
- don't repeat [your name].


23130 26-Feb-1997 mpp

Remove the -lrpclib, since it causes the build of these examples
to fail.

Closes PR# 2359

Submitted by: Pedro A M Vazquez <vazquez@IQM.Unicamp.BR>


23037 23-Feb-1997 peter

Revert $FreeBSD$ to $Id$


22988 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


22853 17-Feb-1997 mpp

These will appear in 2.2, not 3.0.

Pointed out by: wosch


22808 16-Feb-1997 bde

Select between the generic math functions and the i387-specific ones
at runtime.

etc/make.conf:
Nuked HAVE_FPU option.

lib/msun/Makefile:
Always build the i387 objects. Copy the i387 source files at build
time so that the i387 objects have different names. This is simpler
than renaming the files in the cvs repository or repeating half of
bsd.lib.mk to add explicit rules.

lib/msun/src/*.c:
Renamed all functions that have an i387-specific version by adding
`__generic_' to their names.

lib/msun/src/get_hw_float.c:
New file for getting machdep.hw_float from the kernel.

sys/i386/include/asmacros.h:
Abuse the ENTRY() macro to generate jump vectors and associated code.
This works much like PIC PLT dynamic initialization. The PIC case is
messy. The old i387 entry points are renamed. Renaming is easier
here because the names are given by macro expansions.


22698 14-Feb-1997 jmg

some stylistic changes... "you name here" and "you name" to "your name"

2.2 Candidate


22638 13-Feb-1997 jkh

Document FTP_PASSIVE_MODE in the place where I usually set it.


22197 02-Feb-1997 julian

Description of what the files in this directory do..
(create sample device drivers on request)


22195 02-Feb-1997 julian

These two shell scripts will
create a skeleton device driver.
one for a real device and the other for a pseudo device.
they each take one argument which is the name (prefix) for the driver.

they add the new file to the /sys tree and add appropriate config files
etc for a build.

hopefully others will build on this so that we get
1/ these drivers improved and the shell scripts
improved in how/where that hook the new code in.
2/ similar tools for providing skeletons for other
modules (I'm tempted to do a VFS filesystem skeleton :)

please take a look and fix anything that maybe should be added.
they compile and link fine,
but I think I wouldn't trust them, as faar as RUNNING yet :)
(well they really wouldn't do very much being skeletons..

we need to add PCI and EISA skeletons as well
followed by a SCSI driver skeleton.


22174 01-Feb-1997 jdp

Update the list of CVSup mirror sites.


21786 16-Jan-1997 alex

Sweep through the tree fixing mmap() usage:

- Use MAP_FAILED instead of the constant -1 to indicate
failure (required by POSIX).
- Removed flag arguments of '0' (required by POSIX).
- Fixed code which expected an error return of 0.
- Fixed code which thought any address with the high bit set
was an error.
- Check for failure where no checks were present.

Discussed with: bde


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


21453 09-Jan-1997 mpp

Update the copyright notices to match our bsd-copyright example.


21449 09-Jan-1997 mpp

Add some real example diagnostics to example.[14]

Add all of the possible errno's to example.3.

Show examples of the .Bx (BSD) and .At (AT&T UNIX) macros
in the various HISTORY sections.

Add some .Rs/.Re (used for referencing things other
than man pages) in the SEE ALSO sections.

Suggested by: wollman


21240 02-Jan-1997 wosch

printing examples, automatically generated from
src/share/doc/handbook/printing.sgml with src/tools/tools/epfe/epfe.pl


21239 02-Jan-1997 mpp

Correct one minor style point.


21235 02-Jan-1997 mpp

Moved these from /usr/share/misc/mdoc to /usr/share/examples/mdoc,
since it seemed like a better place, and the makefiles for
/usr/share/examples didn't need to be fussed with.

The old stuff can be removed from the Attic.


21159 01-Jan-1997 bde

Use -C instead of -c for installing non-header source files.


20989 28-Dec-1996 mpp

Fix typo.


20986 28-Dec-1996 wosch

a README


20942 27-Dec-1996 jdp

Add src-release and src-tools collections.

Inspired by: ache


20904 25-Dec-1996 ache

Add missing src-release and src-tools to individual targets list


20847 23-Dec-1996 peter

Add commented out samples on how to activate the compat libs during build.
Note that nothing is stopping somebody from cd'ing to src/lib/compat/<dist>
and doing a 'make all install' there by hand.


20545 16-Dec-1996 ache

cvsup client moved from sbin to bin

2.2 candidate


20488 15-Dec-1996 jdp

Update the sample cvsupfiles to take advantage of the new "*default"
feature in CVSup-14.0. You no longer need a 200-column window to look
at them.

Also did some general cleanups, and corrected some errors.

2.2 candidate. These should be brought directly into 2.2 if at all
possible, since they correspond with the CVSup release whose port is
going to go into 2.2.


20150 05-Dec-1996 asami

Add ports-vietnamese, delete ports-distfiles.


19834 17-Nov-1996 wosch

removeuser moved from /usr/share/examples/removeuser to /usr/sbin/rmuser


19619 10-Nov-1996 jdp

Correct many errors of commission and omission in the example
CVSupfiles.


19496 07-Nov-1996 asami

Add ports-chinese and ports-mbone.


19458 06-Nov-1996 jkh

Amend the README to mention "dummy" feature. Nobody will read the
README, but at least I can say it's doc'd. :)


19457 06-Nov-1996 jkh

Since Joerg reminded me, make a small change to this file in
order to allow the user to also say:
burncd mybigimage dummy

To enable a dummy burn. Saves on blanks during testing. :)


19453 06-Nov-1996 joerg

Minor bugfix in the cdburn example (one rtprio was missing).


19316 01-Nov-1996 ache

Add -z to CVSupflags, it iz safe because it is done by zlib,
not by extra gzip child


19153 24-Oct-1996 asami

Add ports-astro.


18928 14-Oct-1996 pst

catch a mismatch after final review...


18927 14-Oct-1996 pst

Expose the control mechanism for serial console boot so that the default
shipped with freebsd can be changed without modifying the Makefiles directly.

Creates: BOOT_FORCE_COMCONSOLE
BOOT_PROBE_KEYBOARD
BOOT_PROBE_KEYBOARD_LOCK
BOOT_COMCONSOLE (port value for console)


18853 10-Oct-1996 jkh

Whups, do what I really intended for the copyright string argument here
(that's why there's all those shifts! :).


18724 06-Oct-1996 max

A necessary space was missing.
(Sorry for the needless commits.)


18723 06-Oct-1996 max

Back out my previous change.
Pointed Out By: rgrimes


18721 06-Oct-1996 max

Changed prefix=/usr to prefix=/usr/ports in the collection ports-all,
just as other collections.


18717 05-Oct-1996 ache

Use full path for cvsup


18716 05-Oct-1996 ache

Add CVSup block (commented out)


18680 04-Oct-1996 jkh

Relax the argument checking - it caused it to fail in the perfectly
legitimate cd-to-worm copy case.


18555 29-Sep-1996 markm

fix up the secure-* files for cvsup.internat.freebsd.org, and add one for
the crypto CVS tree.

(Does this mean...? Yes! Yes! The International Crypto Site is serving
CVSUP! Yay! Give the man a Nobel Prize!)


18442 21-Sep-1996 peter

Remove SHARED_LIBCC_INT sample, it's gone and has been a do-nothing option
since the cc1/cc1plus backends were linked static some time ago.


18284 14-Sep-1996 asami

Add ports-chinese.


18074 06-Sep-1996 jkh

Do the right thing even if the source tree is a bunch of symlinks, say
lndir'd to a CDROM.
Submitted-By: Richard Wackerbarth <rkw@shrimp.dataplex.net>


17886 29-Aug-1996 asami

Change prefix of ports-all from "/usr/ports" to "/usr", so that the
ports collection won't end up in "/usr/ports/ports".

Verified by: Steve Passe <smp@csn.net>


17878 28-Aug-1996 ache

Back out src-tools addition, src-etc target must be fixed instead


17869 28-Aug-1996 ache

Add missing src-tools


17857 28-Aug-1996 ache

Add missing src-tools


17741 21-Aug-1996 jkh

Add cvsup.nl.freebsd.org


17729 21-Aug-1996 jkh

Whups! Forgot to do my edits for sup.FreeBSD.org -> cvsup.FreeBSD.org
before doing the commit.


17728 21-Aug-1996 jkh

Clean up some of the example docs, add a set of example files for cvsup
now that we're actively promoting that service.


17512 11-Aug-1996 wosch

delete rule 3 (advertising) from copyright

resolve symlinks before removing user's home directory
with /bin/rm -rf <home dir>

Submitted by: Guy Helmer <ghelmer@alpha.dsu.edu>


17410 03-Aug-1996 jkh

Sync copyright notices.
Noticed-By: jfieber


17399 03-Aug-1996 nate

Changes to the SLIP support files to show how to do proxy ARP.


17074 10-Jul-1996 wosch

This commit was generated by cvs2svn to compensate for changes in r17073,
which included commits to RCS files with non-trunk default branches.


16751 26-Jun-1996 phk

Add the contrib collection to supfiles.
(SUP-mirrors take notice !)


16668 24-Jun-1996 nate

Add the (commented out) OBJLINK hook.


16629 23-Jun-1996 jkh

Add some examples on burning CDRs - I figured it was about time to
document it! :-)


16445 17-Jun-1996 ache

Remove advertising actions requirement, they are too bothering for anyone


15628 04-May-1996 jkh

Update the comments at the top of these things to fit reality. Sup hasn't
been a package which you need to add on for awhile now. :-) Also mention
hooks in /etc/make.conf for `make update' fans.


15476 30-Apr-1996 asami

Add ports-all and comment out individual ports-*. Add commented out
ports-distfiles to ports-supfile. Add explanations.


15334 21-Apr-1996 asami

Take out quotes around MOTIFLIB. Clarify comments a bit, most users
don't have to touch neither X11BASE nor MOTIFLIB.

Reported by: kmitch@phantasma.bevc.blacksburg.va.us


15324 20-Apr-1996 dima

Added sup5.freebsd.org (burka.rdy.com)
Obtained from: DNS :-)


15272 16-Apr-1996 ache

Back out my MOTIF_STATIC change, it is unnecessary


15224 13-Apr-1996 ache

Document MOTIF_STATIC


15212 12-Apr-1996 asami

Add commented-out definitions of HAVE_MOTIF and MOTIFLIB.


14896 28-Mar-1996 wollman

This commit was generated by cvs2svn to compensate for changes in r14895,
which included commits to RCS files with non-trunk default branches.


14585 12-Mar-1996 ache

Increment network byte order properly
Reviewed by: wollman


14403 06-Mar-1996 asami

Add NOPORTDOCS, similar to NOMANCOMPRESS. It prohibits additional
port documentation (which can be things like postscript manuals
describing every single of the 65,536 options) from being installed
into ${PREFIX}/share/doc.


14129 17-Feb-1996 ache

-u unit-command example


14102 15-Feb-1996 adam

improve the comment for BOOTWAIT


13925 05-Feb-1996 ache

Be more specific about Europe servers


13920 05-Feb-1996 mpp

Added a little more verbage to the top of this document and
added sup2.au.freebsd.org.


13910 04-Feb-1996 ache

Alternative SUP servers list (correct me, if I forgot smth)


13537 21-Jan-1996 bde

Use `make' loops instead of shell loops to install things. This fixes
the verbose output for `make -s install' and gives nicer output for
`make install' and `make -n install'. This method should be used more.

Install meteor and startslip. In fact, install all subdirectories
except CVS. This method should be used more so that SUBDIR lists don't
have to be changed so often (special cases could be handled by short
exclusion lists).


13261 05-Jan-1996 ache

Remove -fno-strength-reduce, gcc bug fixed recently


13122 30-Dec-1995 peter

recording cvs-1.6 file death


13011 25-Dec-1995 bde

Updated lkm examples to work with prototype-related changes to the
MOD_MISC() and DISPATCH() macros.

Renamed new_syscall module as new_syscall_mod. It seems to be standard
to have module names ending with _mod, and this may be forced when
MOD_SYSCALL() and MOD_VFS() are updated to match MOD_MISC().

Cleaned up lkm examples a little.


12944 21-Dec-1995 ache

Back out my prev commit, I didn't fully update some things on my machine :-(


12943 21-Dec-1995 ache

Fix collection names to reflect reality


12765 11-Dec-1995 peter

Dive in the deep end and change the examples installation method.. :-/
the 'rm -rf' and cpio was bugging me because rdist used to get false hits
and also it installs the files with the wrong uid.
I've tried this by running a find .. -exec ${INSTALL} ...; instead...


12735 10-Dec-1995 gibbs

Fix spelling errors.

Submitted by: Faried Nawaz <fn@pain.csrv.uidaho.edu>


12716 10-Dec-1995 markm

Modify the supfile collection target names in accordance with Freefall's
convention. My international site has been fixed!


12715 10-Dec-1995 asami

Add ports-www.


12714 10-Dec-1995 gibbs

Official CVS supfile in preparation for opening of our tree.


12711 10-Dec-1995 gibbs

Seeing as I was elected without nomination to being SUP meister, update
these files a bit. The entries for the International secure collections
don't match Freefall's naming conventions, but hopefully MarkM will fix that
soon. Each file now has an extensive header describing what it is, how
to use it, and how you may want to customize it for a particular system.


12686 09-Dec-1995 ache

Yet one conf example


12615 04-Dec-1995 nate

Added support for the slip.hosts options 'normal', 'compress', 'noicmp',
and 'autocmp'.

Obtained from: (mostly) slattach and (slightly) 1.X


12547 30-Nov-1995 ache

Remove ports-utils


12544 30-Nov-1995 asami

Add ports-misc and ports-www.


11095 30-Sep-1995 ache

Refle


11094 30-Sep-1995 jfieber

Add sup.


11091 30-Sep-1995 jfieber

Move supfile examples from share/FAQ/extras to share/examples/sup


11047 28-Sep-1995 ache

Change SUPFILEx order, secure first, ports second to make base system update first
All stuff commented out


10967 22-Sep-1995 peter

Fix typo.
The skeleton still had one reference to "THE REGENTS" instead of "[your name]"


10804 15-Sep-1995 ache

Update to reflect new options


10796 15-Sep-1995 ache

Reflect new LINE env variable addition


10759 15-Sep-1995 ache

Add -fno-strength-reduce to -O2 optimization, all stuff commented out


10758 15-Sep-1995 ache

Add commented out entries for SUP update, 3 standard supfiles handled:
standard/ports/secure


10752 14-Sep-1995 ache

Add startslip example


10390 28-Aug-1995 jkh

Bring in example files for Mark Tinguely and Jim Lowe's Matrox Meteor driver.
Submitted by: Mark Tinguely <tinguely@plains.nodak.edu> and Jim Lowe <james>


10058 14-Aug-1995 wollman

Added a copy of my little program to find the IP address of the outgoing
interface for a particular remote host.

Requested by: Joerg Wunsch <j@uriah.heep.sax.de>


10037 12-Aug-1995 joerg

Make this example actually compile again. Rename the module so that
it will get a unique .o file name, and convert the module's Makefile
to use <bsd.mod.mk>.


10036 12-Aug-1995 joerg

Do not omit the Makefiles when installing the examples; they are part
of them. Also correct the omission of CVS files by abusing the find
syntax instead of grepping.

Closes PR #bin/636.


9732 27-Jul-1995 joerg

Make this bugger actually compile and work again:

o a couple of header files have been missing

o convert the LKM Makefile to use <bsd.kmod.mk>

o rename the module to ``misc_mod'' (as opposed to ``miscmod''), so
the module name can be made identical to the module's file name,
avoiding the clash with one of the component's .o file names

o modstat(1/8) has been moved meanwhile


9509 13-Jul-1995 rgrimes

[I cvs admin -o the last one of these you saw, it was commited on
the wrong branch :-(]

Eliminate incorrect double negative logic Bruce has been gripping
about for a year now. Change = no_way to = true.

Submitted by: bde (sort of, patch by me :-))


9506 13-Jul-1995 rgrimes

Remove CCFPU, it is no longer used any place in the source tree.
Submitted by: Thomas Graichen <graichen@sirius.physik.fu-berlin.de>


8875 30-May-1995 rgrimes

Remove trailing whitespace.


8024 23-Apr-1995 jkh

Document COPTFLAGS in addition to CFLAGS.


7478 30-Mar-1995 ache

Remove syscons example


7210 21-Mar-1995 phk

make.conf doesn't postulate anything about libm now.


7198 20-Mar-1995 jkh

Take out obsolete KERBEROS_IV build variable. Just eBones now.
Submitted by: Mark Murray <mark@grondar.za>


6877 04-Mar-1995 dima

"vidcontrol -s" -> "modload"


6870 03-Mar-1995 ache

Remap Grey Delete to ESC[~


6833 02-Mar-1995 jkh

Add this file here so I finally have something to point people at as a
prototype.
Obtained from: U.C. Regents standard copyright.


5929 26-Jan-1995 ache

Remove Delete remapping, unneccesary now


5522 11-Jan-1995 wollman

Delete VFS example since it doesn't apply and there are ten perfectly
good examples elsewhere in the tree. (The MISC example should probably
go, too, but it should still compile so I'm leaving it for now.)


5310 31-Dec-1994 ache

Remove direct keypad 5 to \E[E remapping, unnecessary now


4330 10-Nov-1994 phk

Now that the default for the shared gcc-internal lib changed, make this match.


4292 08-Nov-1994 phk

Don't install Makefile


4257 08-Nov-1994 phk

Make installs better, install the FAQ stuff, don't install CVS-dirs.


4224 07-Nov-1994 phk

Update make.conf and sys.mk to reflect the most recent advances in
civilization: Use -O2 and MSUN as default, and X11 is in /usr/X11R6


3830 24-Oct-1994 sos

added ibcs2 directory.


3812 23-Oct-1994 sos

A little COFF program (uuencoded) + README. Just do we can show
that iBCS2 support is working (that was a cheap one :-)


3699 18-Oct-1994 guido

Put skey.acccess in usr/share/examples/etc


3241 30-Sep-1994 csgr

mention MAKE_EBONES and MAKE_KERBEROS


3076 25-Sep-1994 ache

Add syscons to DIRS list, pointed by wollman


3074 25-Sep-1994 ache

Update with new names


3026 23-Sep-1994 rgrimes

Fixed typo that caused make install to fall if SHARED=copies.


3025 23-Sep-1994 rgrimes

Revert to installing /etc/files from src/etc.


3023 23-Sep-1994 rgrimes

fbtab: Pulled down from Attic, fixed spaces to tabs.

make.conf: Pulled in the following changes that had been commited
to share/examples/etc:
----------------------------
revision 1.6
date: 1994/09/20 22:30:33; author: adam; state: Exp; lines: +3 -3
BOOTWAIT example converted to milliseconds calibration
----------------------------
revision 1.4
date: 1994/09/19 21:35:28; author: wollman; state: Exp; lines: +7 -1
Document NO_SHARED_LIBCC_INT.
----------------------------
revision 1.3
date: 1994/09/19 21:28:11; author: wollman; state: Exp; lines: +12 -17
Install /etc from the same source as /usr/share/examples/etc (mostly).
----------------------------
revision 1.2
date: 1994/09/19 02:05:08; author: ache; state: Exp; lines: +1 -11
Remove STARTUP_LOCALE, obsoleted now
----------------------------
revision 1.1
date: 1994/09/08 19:08:59; author: jkh; state: Exp;
Add a sample make.conf. Also document the new X11BASE variable, and
expand some of the documentation for other entries.
Submitted by: jkh
----------------------------

manpath.config: Pulled down from Attic, and merged share/examples/etc
changes.

rc: Pulled in the following change from share/examples/etc:
----------------------------
revision 1.2
date: 1994/09/19 23:13:37; author: ache; state: Exp; lines: +1 -2
Remove warning about adjkerntz /var/run file
----------------------------


2911 19-Sep-1994 ache

Remove warning about adjkerntz /var/run file


2905 19-Sep-1994 wollman

Install /etc from the same source as /usr/share/examples/etc (mostly).


2902 19-Sep-1994 adam

More reasonable example of BOOTWAIT parameter
Added comment about multiplication factor


2880 19-Sep-1994 ache

Remove STARTUP_LOCALE reference, obsoleted


2699 13-Sep-1994 wollman

Don't be so aggressive when installing examples. We still delete the
directories or links before we install the new things, but now we don't
delete /usr/share/examples itself, so other examples installed from
other places in the tree will not be touched.


2694 12-Sep-1994 ache

Added example of vidcontrol/kbdcontrol usage (russian screen/keyboard setup)


2595 08-Sep-1994 jkh

Sample manpath.config.
Submitted by: jkh


2365 28-Aug-1994 bde

Define NOOBJ so that install doesn't try to get the sources from the
wrong place.

Use ${ECHO} instead of `echo' so that `make -s' is fairly quiet.


2249 23-Aug-1994 guido

Move fbtab file to share/examples/etc per Garrett's request.
Reviewed by:
Submitted by:


2136 19-Aug-1994 wollman

Actually install LKM examples.


2128 19-Aug-1994 dg

Terry Lambert's loadable kernel module support - example modules.


2006 10-Aug-1994 wollman

Added example of how to tell various FreeBSD versions apart.


1987 09-Aug-1994 wollman

Make examples install into /usr/share/examples. Like with includes, you
have a choice between SHARED=copies and SHARED=symlinks. The default
is to copy.

I have also added a /usr/share/examples/etc directory, where I hope to
have all sample configuration files which in real use go into /etc installed.
(This way, if the user really screws the real one up, they can always go
back to a known-working distribution copy, even if they don't have sources.)


1906 07-Aug-1994 wollman

This commit was generated by cvs2svn to compensate for changes in r1905,
which included commits to RCS files with non-trunk default branches.


1749 16-Jun-1994 ache

Add commented out STARTUP_LOCALE with explanation


1740 15-Jun-1994 adam

Changed MDEC_OPT=BOOTWAIT= to BOOTWAIT=


1733 15-Jun-1994 adam

added comments for how to use CCFPU and MDEC_OPT


1719 14-Jun-1994 ache

Remove CXXFLAGS from here, handled in another place


1697 09-Jun-1994 ache

Add commented out PRINTER=ps entry for easy choose
system documentation format


1696 09-Jun-1994 ache

Add commented out CXXFLAGS entry similar to CFLAGS entry


1684 05-Jun-1994 csgr

Add mention of WANT_MSUN, HAVE_FPU and NOMANCOMPRESS
(NOMANCOMPRESS works together with the new bsd.man.mk to turn off
compression of manual pages - manual pages are installed compressed
by default now.)


1664 01-Jun-1994 phk

added make.conf template, which does nothing.


1554 26-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1553,
which included commits to RCS files with non-trunk default branches.