History log of /freebsd-current/usr.sbin/Makefile
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 8a7b6120 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

usr.sbin: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


# 5b9f08db 05-Oct-2023 Baptiste Daroussin <bapt@FreeBSD.org>

bsdconfig: always build and install

it does not depend on dialog(1) anymore


# 773606fc 02-Oct-2023 Mitchell Horne <mhorne@FreeBSD.org>

ofwdump: install dependent on MK_FDT

The utility depends on the presence of the openfirm(4) pseudo-device,
which is gated by the FDT kernel option. The MK_FDT knob is correctly
set to "yes" for FDT/OFW-enabled platforms (powerpc* included); use it
to install the utility and eliminate the arch-specific Makefile logic.

No functional change intended.

Reviewed by: emaste, pkubaj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D41977


# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# d198b877 25-Apr-2023 Emmanuel Vadot <manu@FreeBSD.org>

fwget: Introduce new utility

This script's goal is to check the system for peripherals that needs
firmware and install the needed packages for them.
For now it only support pci subsystem and only video classes for AMD
and Intel GPUs.

Reviewed by: bapt
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D39825


# 1808b557 26-Apr-2023 Johannes Totz <jo@bruelltuete.com>

Add efiwake tool

Reviewed by: kib
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D36714


# df53ae0f 22-Apr-2023 Colin Percival <cperciva@FreeBSD.org>

Remove portsnap(8)

Rather than having a tool in the FreeBSD base system for obtaining
the FreeBSD ports tree, users are encouraged to `pkg install git`
and then `git clone https://git.FreeBSD.org/ports.git /usr/ports`.

The portsnap servers will continue operating until FreeBSD 13 reaches
its End-of-Life, and portsnap is available from the ports tree as
ports-mgmt/portsnap.

Requested by: portmgr
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D39563
X-MFC: no


# f051d723 01-Feb-2023 Warner Losh <imp@FreeBSD.org>

hyperv: Build and install where supported

Remove the hard-coded dependency on HYPERV being only x86. Instead, 100%
rely on MK_HYPERV. It's always right (since it's marked BROKEN (so set
to "no") on architectures we don't support).

Sponsored by: Netflix
Reviewed by: bz
Differential Revision: https://reviews.freebsd.org/D38306


# bc421551 10-Jan-2023 Dag-Erling Smørgrav <des@FreeBSD.org>

Bring our tzcode up to date.

* Replay 2010[acflm] which had been merged but not recorded.
* Merge 2010n.
* Reorganize (unsplit) the code to match the upstream layout.
* Merge 2022[cdefg].

MFC after: 1 week
Sponsored by: Klara, Inc.


# 657729a8 02-Dec-2022 Gleb Smirnoff <glebius@FreeBSD.org>

Retire trpt(8).

trpt(8) was utility to pull TCP debugging data from the kernel
originating back from 4.2BSD. It is not used nowadays by TCP
developers. We have more powerful debugging facilities, e.g.
the Dtrace probing, the TCP black box logging and siftr.

Discussed with: rscheff, tuexen, rrs, jtl and others

# 13ec1e31 05-Feb-2021 Mitchell Horne <mhorne@FreeBSD.org>

boottrace(8): small wrapper utility

This is a small program that when invoked will create start and stop
boottrace entries via sysctl, and execute the desired command. Having
this as an executable -- as opposed to some shell script invoking
sysctl(8) -- allows the total resource usage recorded by the trace
entries to include the child process.

Reviewed by: 0mp, trasz (older version)
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D31929

# d73d40c1 09-Feb-2022 Michael Tuexen <tuexen@FreeBSD.org>

usr.sbin: add tcpsso to Makefile

# 8b487b82 12-Jul-2021 Jessica Clarke <jrtc27@FreeBSD.org>

Fix bsd.subdir.mk-related issues after 0a0f7486413c

Since bsd.prog.mk includes bsd.obj.mk, and thus bsd.subdir.mk, we must
ensure all our bsd.subdir.mk-affecting variables are set before
including bsd.prog.mk. Since sbin's various Makefile.arch files add to
SUBDIR this results in those not taking effect, and presumably we also
end up not having buildworld as parallel as it should be due to the fact
that SUBDIR_PARALLEL was not being set before including bsd.prog.mk.

MFC with: 0a0f7486413c147d56808b38055c40c64cff61f5
Reviewed by: olivier
Differential Revision: https://reviews.freebsd.org/D31125

# 24f398e7 01-Jul-2021 Pavel Balaev <pavel.balaev@3mdeb.com>

Add efitable(8), a userspace tool to fetch and parse EFI tables

Only ESRT and PROP tables are handled at the moment.

Submitted by: Pavel Balaev <pavel.balaev@3mdeb.com>
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D30104

# 0a0f7486 08-Jun-2021 Fernando Apesteguía <fernape@FreeBSD.org>

man: Build manpages for all architectures

Building and installing architecture-specific man pages only raises a number of
problems:

* The https://www.freebsd.org/cgi/man.cgi is incomplete. As an
example, it does not show results for pae(4). The reason for this is
that the cgi interface runs on FreeBSD amd64.

* In FreeBSD amd64 some manual pages have broken X-refs. See hptrr(4)
for an example.

* Also, we have broken links in our Release Notes. This is a
consequence of the first point. See
https://www.freebsd.org/releases/13.0R/hardware/#proc-i386.

Make MAN_ARCH default to 'all' so we build all the man pages for all the
architectures. The difference in disk space is negligible. Also link
architecture-specific man pages to their own section while keeping their own
namespace.

PR: 212290
Reported by: mj@bsdops.com
Approved by: ceri@, wosch@
MFC after: 4 weeks

# c42e9af5 19-Jun-2021 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Move ctld/ctladm to iscsi package

While here only compile both of them if WITH_ISCSI is set (this is the default).

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D30755
Sponsored by: Diablotin Systems

# d865da5e 07-Jun-2021 Emmanuel Vadot <manu@FreeBSD.org>

ancontrol: Remove an(4) utility

Last an(4) devices have been End Of Life and End Of Sale in 2007.
Time to remove this driver.

Differential Revision: https://reviews.freebsd.org/D30680
Reviewed by: imp (earlier version), emaste (earlier version)
Sponsored by: Diablotin Systems

# e4d63c5d 02-Mar-2021 Kyle Evans <kevans@FreeBSD.org>

Remove fmtree(8)

fmtree(8) deprecation was announced on February 12, 2021, and no longer
built by default as of that date. The deprecation notice was merged
back to stable/12 and stable/13 + releng/13.0.

Continue with the plan by finishing the removal.

Relnotes: yes

# b9cbc85d 18-Feb-2021 Rick Macklem <rmacklem@FreeBSD.org>

nfs-over-tls: add user space daemons rpc.tlsclntd and rpc.tlsservd

The kernel changes needed for nfs-over-tls have been committed to main.
However, nfs-over-tls requires user space daemons to handle the
TLS handshake and other non-application data TLS records.
There is one daemon (rpc.tlsclntd) for the client side and one daemon
(rpc.tlsservd) for the server side, although they share a fair amount
of code found in rpc.tlscommon.c and rpc.tlscommon.h.
They use a KTLS enabled OpenSSL to perform the actual work and, as such,
are only built when MK_OPENSSL_KTLS is set.
Communication with the kernel is done via upcall RPCs done on AF_LOCAL
sockets and the custom system call rpctls_syscall.

Reviewed by: gbe (man pages only), jhb (usr.sbin/Makefile only)
Comments by: jhb
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D28430
Relnotes: yes

# 123ae304 20-Jan-2021 Kyle Evans <kevans@FreeBSD.org>

build: remove LIBPTHREAD/LIBTHR build options

WITHOUT_LIBTHR has been broken for a little over five years now, since the
xz 5.2.0 update introduced a hard liblzma dependency on libthr, and building
a useful system without threading support is becoming increasingly more
difficult.

Additionally, in the five plus years that it's been broken more reverse
dependencies have cropped up in libzstd, libsqlite3, and libcrypto (among
others) that make it more and more difficult to reconcile the effort needed
to fix these options.

Remove the broken options.

PR: 252760
Reviewed by: brooks, emaste, kib
Differential Revision: https://reviews.freebsd.org/D28263

# db4b5a16 20-Jan-2021 Alex Richardson <arichardson@FreeBSD.org>

Minor simplification of MK_PMC case in usr.sbin/Makefile

MK_PMC is already guarded by MK_CXX in src.opts.mk, so we can actually
merge it with the following SUBDIR statement after c1a3d7f20696.

Suggested By: jrtc27

# c1a3d7f2 19-Jan-2021 Alex Richardson <arichardson@FreeBSD.org>

Remove remaining uses of ${COMPILER_FEATURES:Mc++11}

All supported compilers have C++11 support so these checks can be replaced
with MK_CXX guards.
See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252759

PR: 252759
Reviewed By: emaste
Differential Revision: https://reviews.freebsd.org/D28234

# 420306c3 13-Jul-2020 Adrian Chadd <adrian@FreeBSD.org>

[pmc] whoops, remove spurious #'s

pointed out by gonzo@, thanks!

# f8e66eb1 13-Jul-2020 Adrian Chadd <adrian@FreeBSD.org>

[hwpmc] Compile 'pmc' only if we have C++11.

I noticed when compiling with ye olde gcc-6.3.0 on mips that it tripped over
a lack of C++11 bits. This allows it to compile fine.

# 13f7dbe8 09-Mar-2020 Ed Maste <emaste@FreeBSD.org>

retire amd(8)

autofs was introduced with FreeBSD 10.1 and is the supported method for
automounting filesystems. As of r296194 the amd man page claimed that it
is deprecated. Remove it from base now; the sysutils/am-utils port is
still available if necessary.

Discussed with: cy
Relnotes: Yes
Sponsored by: The FreeBSD Foundation

# 504613f2 04-Feb-2020 Kyle Evans <kevans@FreeBSD.org>

Remove simple_httpd

simple_httpd was granted a reprieve from the picobsd removal based on having
some reported user; it turns out this user isn't actually using the version
in base and merging their changes would be difficult at this point, so the
version in base will simply continue to rot. Retire it now, it may make a
comeback to ports with the improved version.

No notice issued because its current visibility has only been for ~3
months, and a notice has been previously issued about picobsd removal.

# c7c78055 31-Oct-2019 Vincenzo Maffione <vmaffione@FreeBSD.org>

add valectl to the system commands

The valectl(4) program is used to manage vale(4) switches.
Add it to the system commands so that it can be used right away.
This program was previously called vale-ctl, and stored in
tools/tools/netmap

Reviewed by: hrs, bcr, lwhsu, kevans
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D22146

# ccdcb388 01-Oct-2019 Kyle Evans <kevans@FreeBSD.org>

[2/3] Add certctl(8)

This is a simple utility to hash all trusted on the system into
/etc/ssl/certs. It also allows the user to blacklist certificates they do
not trust.

This work was done primarily by allanjude@, with minor contributions by
myself.

No objection from: secteam
Differential Revision: https://reviews.freebsd.org/D16857

# 546d30b9 01-Oct-2019 Kyle Evans <kevans@FreeBSD.org>

Move httpd to simple_httpd...

This avoids PATH conflicts with a real httpd, as a user will likely almost
always prefer the more fully-featured httpd. This also lines up with the
historical name of the program.

# 2d0a92c9 01-Oct-2019 Kyle Evans <kevans@FreeBSD.org>

Move simple_httpd out of picobsd, add HTTPD option (default OFF)

picobsd/tinyware has had this compact HTTPD server for a long time, and some
people do use it. Move it out into usr.sbin well in advance of any action
being taken on picobsd.

This has been gated behind an HTTPD option defaulted to *off*, primarily for
two reasons:
1.) This code likely needs a good audit, as it's been living off in picobsd
land for a long time, and
2.) We don't currently ship an httpd and this may not be a welcome surprise.

Reviewed by: eugen
Differential Revision: https://reviews.freebsd.org/D21724

# 59e50df3 03-Sep-2019 Kris Moore <kmoore@FreeBSD.org>

- Retire pc-sysinstall(8)

https://reviews.freebsd.org/D21094

Submitted by: kmoore@FreeBSD.org
Approved by: imp@FreeBSD.org

# f5a95d9a 24-Jun-2019 Warner Losh <imp@FreeBSD.org>

Remove NAND and NANDFS support

NANDFS has been broken for years. Remove it. The NAND drivers that
remain are for ancient parts that are no longer relevant. They are
polled, have terrible performance and just for ancient arm
hardware. NAND parts have evolved significantly from this early work
and little to none of it would be relevant should someone need to
update to support raw nand. This code has been off by default for
years and has violated the vnode protocol leading to panics since it
was committed.

Numerous posts to arch@ and other locations have found no actual users
for this software.

Relnotes: Yes
No Objection From: arch@
Differential Revision: https://reviews.freebsd.org/D20745

# 2b5691ee 17-Jan-2019 Eugene Grosbein <eugen@FreeBSD.org>

Re-add new small tool trim(8) to delete contents for blocks
on devices using wear-leveling algorithms as a few weeks passed
after review and discussion of trim(8) ceased and
we still have no utility to perform the job.

Reviewed by: hackers@
MFC after: 2 weeks

# 53fc043d 15-Dec-2018 George V. Neville-Neil <gnn@FreeBSD.org>

Remove, the now very outdated, timed.

Submitted by: Kyle Spiers ksspiers at gmail
Reviewed by: bcr,brooks,bz,sbruno
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D18505

# 385e9808 15-Dec-2018 Stefan Eßer <se@FreeBSD.org>

Remove CTM from 13-CURRENT after the release of FreeBSD-12.0.

The removal (and creation of a port) has been pre-announced in UPDATING
1 month ago. Packages are available for all supported FreeBSD vesions.

I did not think that another entry in UPDATING is required to note the
actual removal.

No MFC is planned - CTM shall be kept in base for all releases up to 12.x.

Reviewed by: rgrimes
Approved by: imp, bcr (manpages)
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D17935

# 9312900f 12-Dec-2018 Emmanuel Vadot <manu@FreeBSD.org>

Add a pwm subsystem so we can configure pwm controller from kernel and userland.

The pwm subsystem consist of API for PWM controllers, pwmbus to register them
and a pwm(8) utility to talk to them from userland.

Reviewed by: oshgobo (capsicum), bcr (manpage), 0mp (manpage)
Differential Revision: https://reviews.freebsd.org/D17938

# e0d16695 30-Nov-2018 Eugene Grosbein <eugen@FreeBSD.org>

Remove trim(8) by multiple demands.

# fcd7ccb2 29-Nov-2018 Eugene Grosbein <eugen@FreeBSD.org>

Move trim(1) from usr.bin to usr.sbin to become trim(8).

Requested by: se
MFC after: 1 month

# bc82609a 04-Nov-2018 Kyle Evans <kevans@FreeBSD.org>

Move pmc* bits behind MK_PMC to fix WITHOUT_PMC build

No objection from: mmacy
MFC after: 3 days

# 3b915697 13-Sep-2018 Matt Macy <mmacy@FreeBSD.org>

re-enable pmcstat, pmccontrol, and pmcannotate for gcc4 builds

I had disabled building of the aforementioned targets due to warnings breaking
tinderbox. This silences the warning and restores them to the build.

Reported by: jhibbits
Reviewed by: jhibbits
Approved by: re (gjb)

# 66660095 21-Jun-2018 Ian Lepore <ian@FreeBSD.org>

Add spi(8), a utility for communicating with a device on a SPI bus from
userland, conceptually similar to what i2c(8) provides for i2c devices.

Submitted by: Bob Frazier
Differential Revision: https://reviews.freebsd.org/D15029

# 01cebb69 19-Jun-2018 Sean Bruno <sbruno@FreeBSD.org>

MK_EFI - Add uefisign and friends to this knob and ensure that we don't
try to build them if MK_OPENSSL is unset.

Reviewed by: emaste imp kevans
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D15211

# a520a7cf 15-Jun-2018 Rick Macklem <rmacklem@FreeBSD.org>

Add a command that copies or migrates a data file from one DS to another.

This command can be used by a sysadmin to either copy or migrate a data
file on one DS to another DS.
Its main use is to recover data files onto a mirrored DS after the DS has
been repaired and brought back online.

# 6cb9ec3c 15-Jun-2018 Rick Macklem <rmacklem@FreeBSD.org>

Add a command the displays and modifies the pNFS server's extended attribute.

This command allows a sysadmin to display or modify the pnfsd.dsfile extended
attribute used by the pNFS MDS server in various ways.
Its main use is to set a DS's IP address to 0.0.0.0 when that DS has failed,
so that it will not be used for the file when brought back online after
being repaired.

# 725f388b 15-Jun-2018 Rick Macklem <rmacklem@FreeBSD.org>

Add an entry into the Makefile for pnfsdskill.

pnfsdskill was added by r335192. This commit adds an entry for it to the
Makefile.

# 456eeabe 08-Jun-2018 Matt Macy <mmacy@FreeBSD.org>

pmc: fix logic in skipping riscv

# 6159b91c 08-Jun-2018 Matt Macy <mmacy@FreeBSD.org>

pmc: don't build on riscv where there's no kmod support

# f992dd4b 06-Jun-2018 Matt Macy <mmacy@FreeBSD.org>

pmc: convert native to jsonl and track TSC value of samples

- add '-j' options to filter to enable converting native pmc
log format to json lines format to enable the use of scripts
and external tooling

% pmc filter -j pmc.log pmc.jsonl

- Record the tsc value in sampling interrupts as opposed to
recording nanotime when the sample is copied to a global log
in hardclock - potentially many milliseconds later.

- At initialize record the tsc_freq and the time of day to give
us an offset for translating the tsc values in callchain records

# ebfaf69c 04-Jun-2018 Matt Macy <mmacy@FreeBSD.org>

hwpmc: log name->pid, name->tid mappings

By logging all threads and processes 'pmc filter'
can now filter on process or thread name, relieving
the user of the burden of determining which tid or
pid was which when the sample was taken.

% pmc filter -T if_io_tqg -P nginx pmc.log pmc-iflib.log

% pmc filter -x -T idle pmc.log pmc-noidle.log

# 3554f22e 29-May-2018 Matt Macy <mmacy@FreeBSD.org>

pmc: Add new sub-command structured "pmc" utility

This will manage pmc functionality with a more
manageable structure of subcommands rather than the
gradually accreted spaghetti logic of overlapping flags
that exists in pmcstat.

This is intended to ultimately have all the same functionality
as pmcannotate+pmccontrol+pmcstat. Currently it just has
"stat" and "system-stat" - counters for the process itself and counters
for the system as a whole respectively (i.e. system-stat includes kernel
threads). Note that the rusage results (page faults/context switches/
user/sys) for stat-system will not account for the system as a whole -
only for the child process specified on the command line.

Implementing stat was suggested by mjg@ and the output is based on that
from Linux's "perf stat".

% pmc stat -- make -j32 buildkernel -DNO_MODULES -ss > /dev/null
9598393 page faults # 0.674 M/sec
387085 voluntary csw # 0.027 M/sec
106989 involuntary csw # 0.008 M/sec
2763965982317 cycles
2542953049760 instructions # 0.920 inst/cycle
511562750157 branches
12917006881 branch-misses # 2.525%
17944429878 cache-references # 0.007 refs/inst
2205119560 cache-misses # 12.289%
43.74 real # 2019.72% cpu
795.09 user # 1817.72% cpu
88.35 sys # 202.00% cpu

% make -j32 buildkernel -DNO_MODULES -ss > /dev/null &
% sudo pmc stat-system cat
^C 103 page faults # 0.811 M/sec
4 voluntary csw # 0.031 M/sec
0 involuntary csw # 0.000 M/sec
2843639070514 cycles
2606171217438 instructions # 0.916 inst/cycle
522450422783 branches
13092862839 branch-misses # 2.506%
18592101113 cache-references # 0.007 refs/inst
2562878667 cache-misses # 13.785%
44.85 real # 0.00% cpu
0.00 user # 0.00% cpu
0.00 sys # 0.00% cpu

# 4fa99856 15-May-2018 Ed Maste <emaste@FreeBSD.org>

Sort mlx5tool correctly in usr.sbin/Makefile

# e6a376d1 01-May-2018 Ed Maste <emaste@FreeBSD.org>

Retire lmc(4)

This driver supports legacy, 32-bit PCI devices, and had an ambiguous
license. Supported devices were already reported to be rare in 2003
(when an earlier version of the driver was removed in r123201).

Reviewed by: rgrimes
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D15245

# e808190a 08-Mar-2018 Hans Petter Selasky <hselasky@FreeBSD.org>

Add kernel and userspace code to dump the firmware state of supported
ConnectX-4/5 devices in mlx5core.

The dump is obtained by reading a predefined register map from the
non-destructive crspace, accessible by the vendor-specific PCIe
capability (VSC). The dump is stored in preallocated kernel memory and
managed by the mlx5tool(8), which communicates with the driver using a
character device node.

The utility allows to store the dump in format
<address> <value>
into a file, to reset the dump content, and to manually initiate the
dump.

A call to mlx5_fwdump() should be added at the places where a dump
must be fetched automatically. The most likely place is right before a
firmware reset request.

Submitted by: kib@
MFC after: 1 week
Sponsored by: Mellanox Technologies

# 590682b6 12-Feb-2018 Warner Losh <imp@FreeBSD.org>

Move devmatch to sbin from usr/sbin.

Since we want to use devmatch in context before a split /,/usr system
has mounted /usr, move devmatch to /sbin.

Sponsored by: Netflix

# bdd31a52 10-Jan-2018 Warner Losh <imp@FreeBSD.org>

Remove vestiges of digi(4) driver, first attempted in r305235 with
more in r317426. There's nothing in the tree that references digiio.h
(apart from digictl(8)), so no driver implements it. Since digictl(8)
was only used to control digi(4) devices, it too should go.

# 4f7afd4f 25-Dec-2017 Warner Losh <imp@FreeBSD.org>

Doh! Never test in one tree and commit from another:

Fix typo: devmath -> devmatch

Sponsored by: Krampus! Carting off naughty committers for millennia

# d9aed21ce 25-Dec-2017 Warner Losh <imp@FreeBSD.org>

Match unattached devices on the system to potential kernel modules.

devmatch(8) matchs up devices in the system device tree with drivers
that may match them. For each unattached device in the system, it
tries to find matching PNP info in the linker hints and prints modules
to load to claim the devices.

In --unbound mode, devmatch can look for drivers that have attached to
devices in the device tree and have plug and play information, but for
which no PNP info exists. This helps find drivers that haven't been
converted yet that are in use on this system.

In addition, the ability to dump out linker.hints is provided.

Future commits will add hooks to devd.conf and rc.d to fully automate
using this information.

# 1285bcc8 08-Dec-2017 Warner Losh <imp@FreeBSD.org>

Import Netflix's efibootmgr to help manage UEFI boot variables

efibootmgr manages the UEFI BootXXXX variables that implement the UEFI
Boot Manager protocol defined in the UEFI standards. It is modeled
after the Linux program of the same name with a mostly compatible set
of command line options. Since there's a fair amount of OS specifioc
code due to differeing names and methods of doing things, the
compatibility isn't 100%.

Basic functionality is implemented, though the more advanced next boot
functionality that's been defined elsewhere is unimplemented.

Submitted by: Matt Williams (with unix / efi path xlate by me)
Sponsored by: Netflix

# c1d0ef84 09-Nov-2017 Warner Losh <imp@FreeBSD.org>

Remove useless .if. The whole point of SUBDIR.yes was so that we
didn't need this construct.

Sponsored by: Netflix

# cfcabed6 26-Sep-2017 Mateusz Guzik <mjg@FreeBSD.org>

Whack procctl(8)

It was supposed to provide a recovery mechanism against bugs in procfs's
long deprecated tracing capabilities.

Remove the tool as a prerequisite to axing the kernel side.

The tracing facility to use is ptrace(2).

MFC after: 2 weeks

# ac0ced90 08-Aug-2017 Jeremie Le Hen <jlh@FreeBSD.org>

rwho/ruptime/rwhod shouldn't be gated by RCMDS.

As peter@ points out in pr/220953:
"rwho, rwhod and ruptime are not part of the remote login suite (rsh, rlogin
etc).

They should *not* be in the rcmds package which is disabled by default. We
rely on rwho/rwhod/ruptime in the freebsd.org cluster."

This commit is a re-commit of r322029 and r322031 with a better commit log, as
pointed out by ngie@.

This also includes the necesary changes to OptionalObsoleteFiles.inc, as
requested by jhb@.

PR: 220953
Reported by: peter@, jhb@
Differential Revision: https://reviews.freebsd.org/D11743

# eba789dc 08-Aug-2017 Jeremie Le Hen <jlh@FreeBSD.org>

Revert r322029 and r322031 so as to recommit them with a better commit log.

PR: 220953
Reported by: ngie@

# 881d286b 03-Aug-2017 Jeremie Le Hen <jlh@FreeBSD.org>

rwho/ruptime/rwhod shouldn't be gated by RCMDS.

PR: 220953
Reported by: peter@
Differential Revision: https://reviews.freebsd.org/D11743

# 01df7d10 05-Jul-2017 Enji Cooper <ngie@FreeBSD.org>

Remove SUBDIR ordering/uniquifying in *bin/Makefile

After the addition of SUBDIR.yes, uniquifying/ordering the SUBDIRs doesn't
make a whole lot of sense, and it's in effect a half measure.

Ordering SUBDIR (after adding SUBDIR.yes to it) in bsd.subdir.mk is a
separate change that warrants more discussion/testing, because while
the SUBDIR_PARALLEL work largely fixed dependency ordering for SUBDIRs,
there might be downstream FreeBSD consumers that rely on the SUBDIR
ordering.

MFC after: 2 months
Reviewed by: bdrewery
Differential Revision: D11398

# 2bcbcb59 08-Mar-2017 Warner Losh <imp@FreeBSD.org>

efidp manipulates UEFI Device Paths in various ways. At the moment, it
formats and parses UEFI standard Device Paths. In the future it will
also translate between FreeBSD driver names and UEFI Device Paths.

Sponsored by: Netflix

# 54912308 02-Mar-2017 Navdeep Parhar <np@FreeBSD.org>

Add cxgbetool(8) to the base system.

Move cxgbetool from tools/tools to usr.sbin. Compile and install it on
platforms where cxgbe(4) is built by default. Knobs (WITH_CXGBETOOL and
WITHOUT_CXGBETOOL) have been added so that the user can override the
default setting.

Reviewed by: ngie@, gnn@, bdrewery@
MFC after: 1 month
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D9854

# de44cbc2 21-Dec-2016 Ed Schouten <ed@FreeBSD.org>

Add a Prometheus exporter for sysctl values.

Now that we have our sysctl tree annotated with aggregation labels,
let's go ahead and provide a very simple utility for exporting the
sysctl tree in Prometheus' format. It can either be used in conjunction
with the Prometheus node exporter or run through inetd(8).

The reason why I'm opting for having it in the base system is because it
has a pretty strong integration with some of sysctl's innards, such as
access to iterators, name lookups, metadata and type information. As I
am investigating whether we can add histograms as native types to sysctl
as well, this integration will only get stronger as we go along. That's
why it would be safer to oversee the development of this exporter
ourselves, as opposed to having it as an external project.

This exporter is remarkably compact, especially when compared to the
official Linux binary of the Prometheus node exporter (16 KB vs 12 MB).
I guess this could be an interesting aspect for monitoring embedded
FreeBSD-based systems.

Differential Revision: https://reviews.freebsd.org/D8792

# 4fe54d42 22-Oct-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Fix build of tzsetup when WITHOUT_DIALOG is set

Hide dialog specific code behind HAVE_DIALOG. It allows to build a stripped
down version (missing the dialog UI) but perfectly function tzsetup when
world is built WITHOUT_DIALOG

Reorganise a bit the code to limit the number of blocks under HAVE_DIALOG

Reviewed by: emaste
Sponsored by: https://reviews.freebsd.org/D8325

# b2a7ac48 13-Oct-2016 Warner Losh <imp@FreeBSD.org>

Fix building on i386 and arm. But 'public domain' headers on the files
with no creative content. Include "lost" changes from git:
o Use /dev/efi instead of /dev/efidev
o Remove redundant NULL checks.

Submitted by: kib@, dim@, zbb@, emaste@

# 4d6fa884 12-Oct-2016 Ed Maste <emaste@FreeBSD.org>

Temporarily disconnect efivar to fix arm and i386 builds

# 4b844f8d 11-Oct-2016 Warner Losh <imp@FreeBSD.org>

Add efivar(1) to manipulate EFI variables. It uses a similar command
line interface to the Linux program, as well as adding a number of
useful features to make using it in shell scripts easier (since we
don't have a filesystem to fall back on interacting with).

Differential Revision: https://reviews.freebsd.org/D8128
Reviewed by: kib@, wblock@, Ganael Laplanche

# f987297f 27-Sep-2016 Ed Maste <emaste@FreeBSD.org>

Add a WITHOUT_DIALOG src.conf(5) knob

It also turns off dependencies (bsdinstall, bsdconfig, dpv, tzsetup).

Reviewed by: dteske
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D7969

# f5e96fb5 05-Aug-2016 Baptiste Daroussin <bapt@FreeBSD.org>

always install etcupdate

Now that etcupdate does not depend on rcs anymore there is no need to
conditionnally install it

# d849978d 27-Jul-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Reconnect pmcstudy, lost in r291021

Reported by: pluknet
MFC after: 3 days
Sponsored by: EMC / Isilon Storage Division

# c0759dac 07-Jun-2016 Kurt Lidl <lidl@FreeBSD.org>

Separate BLACKLIST vs BLACKLIST_SUPPORT properly

Sponsored by: The FreeBSD Foundation

# 95856e14 02-Jun-2016 Kurt Lidl <lidl@FreeBSD.org>

Add basic blacklist build support

Reviewed by: rpaulo
Approved by: rpaulo
Relnotes: YES
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D5913

# 9a6844d5 19-May-2016 Kenneth D. Merry <ken@FreeBSD.org>

Add support for managing Shingled Magnetic Recording (SMR) drives.

This change includes support for SCSI SMR drives (which conform to the
Zoned Block Commands or ZBC spec) and ATA SMR drives (which conform to
the Zoned ATA Command Set or ZAC spec) behind SAS expanders.

This includes full management support through the GEOM BIO interface, and
through a new userland utility, zonectl(8), and through camcontrol(8).

This is now ready for filesystems to use to detect and manage zoned drives.
(There is no work in progress that I know of to use this for ZFS or UFS, if
anyone is interested, let me know and I may have some suggestions.)

Also, improve ATA command passthrough and dispatch support, both via ATA
and ATA passthrough over SCSI.

Also, add support to camcontrol(8) for the ATA Extended Power Conditions
feature set. You can now manage ATA device power states, and set various
idle time thresholds for a drive to enter lower power states.

Note that this change cannot be MFCed in full, because it depends on
changes to the struct bio API that break compatilibity. In order to
avoid breaking the stable API, only changes that don't touch or depend on
the struct bio changes can be merged. For example, the camcontrol(8)
changes don't depend on the new bio API, but zonectl(8) and the probe
changes to the da(4) and ada(4) drivers do depend on it.

Also note that the SMR changes have not yet been tested with an actual
SCSI ZBC device, or a SCSI to ATA translation layer (SAT) that supports
ZBC to ZAC translation. I have not yet gotten a suitable drive or SAT
layer, so any testing help would be appreciated. These changes have been
tested with Seagate Host Aware SATA drives attached to both SAS and SATA
controllers. Also, I do not have any SATA Host Managed devices, and I
suspect that it may take additional (hopefully minor) changes to support
them.

Thanks to Seagate for supplying the test hardware and answering questions.

sbin/camcontrol/Makefile:
Add epc.c and zone.c.

sbin/camcontrol/camcontrol.8:
Document the zone and epc subcommands.

sbin/camcontrol/camcontrol.c:
Add the zone and epc subcommands.

Add auxiliary register support to build_ata_cmd(). Make sure to
set the CAM_ATAIO_NEEDRESULT, CAM_ATAIO_DMA, and CAM_ATAIO_FPDMA
flags as appropriate for ATA commands.

Add a new get_ata_status() function to parse ATA result from SCSI
sense descriptors (for ATA passthrough over SCSI) and ATA I/O
requests.

sbin/camcontrol/camcontrol.h:
Update the build_ata_cmd() prototype

Add get_ata_status(), zone(), and epc().

sbin/camcontrol/epc.c:
Support for ATA Extended Power Conditions features. This includes
support for all features documented in the ACS-4 Revision 12
specification from t13.org (dated February 18, 2016).

The EPC feature set allows putting a drive into a power power mode
immediately, or setting timeouts so that the drive will
automatically enter progressively lower power states after various
idle times.

sbin/camcontrol/fwdownload.c:
Update the firmware download code for the new build_ata_cmd()
arguments.

sbin/camcontrol/zone.c:
Implement support for Shingled Magnetic Recording (SMR) drives
via SCSI Zoned Block Commands (ZBC) and ATA Zoned Device ATA
Command Set (ZAC).

These specs were developed in concert, and are functionally
identical. The primary differences are due to SCSI and ATA
differences. (SCSI is big endian, ATA is little endian, for
example.)

This includes support for all commands defined in the ZBC and
ZAC specs.

sys/cam/ata/ata_all.c:
Decode a number of additional ATA command names in ata_op_string().

Add a new CCB building function, ata_read_log().

Add ata_zac_mgmt_in() and ata_zac_mgmt_out() CCB building
functions. These support both DMA and NCQ encapsulation.

sys/cam/ata/ata_all.h:
Add prototypes for ata_read_log(), ata_zac_mgmt_out(), and
ata_zac_mgmt_in().

sys/cam/ata/ata_da.c:
Revamp the ada(4) driver to support zoned devices.

Add four new probe states to gather information needed for zone
support.

Add a new adasetflags() function to avoid duplication of large
blocks of flag setting between the async handler and register
functions.

Add new sysctl variables that describe zone support and paramters.

Add support for the new BIO_ZONE bio, and all of its subcommands:
DISK_ZONE_OPEN, DISK_ZONE_CLOSE, DISK_ZONE_FINISH, DISK_ZONE_RWP,
DISK_ZONE_REPORT_ZONES, and DISK_ZONE_GET_PARAMS.

sys/cam/scsi/scsi_all.c:
Add command descriptions for the ZBC IN/OUT commands.

Add descriptions for ZBC Host Managed devices.

Add a new function, scsi_ata_pass() to do ATA passthrough over
SCSI. This will eventually replace scsi_ata_pass_16() -- it
can create the 12, 16, and 32-byte variants of the ATA
PASS-THROUGH command, and supports setting all of the
registers defined as of SAT-4, Revision 5 (March 11, 2016).

Change scsi_ata_identify() to use scsi_ata_pass() instead of
scsi_ata_pass_16().

Add a new scsi_ata_read_log() function to facilitate reading
ATA logs via SCSI.

sys/cam/scsi/scsi_all.h:
Add the new ATA PASS-THROUGH(32) command CDB. Add extended and
variable CDB opcodes.

Add Zoned Block Device Characteristics VPD page.

Add ATA Return SCSI sense descriptor.

Add prototypes for scsi_ata_read_log() and scsi_ata_pass().

sys/cam/scsi/scsi_da.c:
Revamp the da(4) driver to support zoned devices.

Add five new probe states, four of which are needed for ATA
devices.

Add five new sysctl variables that describe zone support and
parameters.

The da(4) driver supports SCSI ZBC devices, as well as ATA ZAC
devices when they are attached via a SCSI to ATA Translation (SAT)
layer. Since ZBC -> ZAC translation is a new feature in the T10
SAT-4 spec, most SATA drives will be supported via ATA commands
sent via the SCSI ATA PASS-THROUGH command. The da(4) driver will
prefer the ZBC interface, if it is available, for performance
reasons, but will use the ATA PASS-THROUGH interface to the ZAC
command set if the SAT layer doesn't support translation yet.
As I mentioned above, ZBC command support is untested.

Add support for the new BIO_ZONE bio, and all of its subcommands:
DISK_ZONE_OPEN, DISK_ZONE_CLOSE, DISK_ZONE_FINISH, DISK_ZONE_RWP,
DISK_ZONE_REPORT_ZONES, and DISK_ZONE_GET_PARAMS.

Add scsi_zbc_in() and scsi_zbc_out() CCB building functions.

Add scsi_ata_zac_mgmt_out() and scsi_ata_zac_mgmt_in() CCB/CDB
building functions. Note that these have return values, unlike
almost all other CCB building functions in CAM. The reason is
that they can fail, depending upon the particular combination
of input parameters. The primary failure case is if the user
wants NCQ, but fails to specify additional CDB storage. NCQ
requires using the 32-byte version of the SCSI ATA PASS-THROUGH
command, and the current CAM CDB size is 16 bytes.

sys/cam/scsi/scsi_da.h:
Add ZBC IN and ZBC OUT CDBs and opcodes.

Add SCSI Report Zones data structures.

Add scsi_zbc_in(), scsi_zbc_out(), scsi_ata_zac_mgmt_out(), and
scsi_ata_zac_mgmt_in() prototypes.

sys/dev/ahci/ahci.c:
Fix SEND / RECEIVE FPDMA QUEUED in the ahci(4) driver.

ahci_setup_fis() previously set the top bits of the sector count
register in the FIS to 0 for FPDMA commands. This is okay for
read and write, because the PRIO field is in the only thing in
those bits, and we don't implement that further up the stack.

But, for SEND and RECEIVE FPDMA QUEUED, the subcommand is in that
byte, so it needs to be transmitted to the drive.

In ahci_setup_fis(), always set the the top 8 bits of the
sector count register. We need it in both the standard
and NCQ / FPDMA cases.

sys/geom/eli/g_eli.c:
Pass BIO_ZONE commands through the GELI class.

sys/geom/geom.h:
Add g_io_zonecmd() prototype.

sys/geom/geom_dev.c:
Add new DIOCZONECMD ioctl, which allows sending zone commands to
disks.

sys/geom/geom_disk.c:
Add support for BIO_ZONE commands.

sys/geom/geom_disk.h:
Add a new flag, DISKFLAG_CANZONE, that indicates that a given
GEOM disk client can handle BIO_ZONE commands.

sys/geom/geom_io.c:
Add a new function, g_io_zonecmd(), that handles execution of
BIO_ZONE commands.

Add permissions check for BIO_ZONE commands.

Add command decoding for BIO_ZONE commands.

sys/geom/geom_subr.c:
Add DDB command decoding for BIO_ZONE commands.

sys/kern/subr_devstat.c:
Record statistics for REPORT ZONES commands. Note that the
number of bytes transferred for REPORT ZONES won't quite match
what is received from the harware. This is because we're
necessarily counting bytes coming from the da(4) / ada(4) drivers,
which are using the disk_zone.h interface to communicate up
the stack. The structure sizes it uses are slightly different
than the SCSI and ATA structure sizes.

sys/sys/ata.h:
Add many bit and structure definitions for ZAC, NCQ, and EPC
command support.

sys/sys/bio.h:
Convert the bio_cmd field to a straight enumeration. This will
yield more space for additional commands in the future. After
change r297955 and other related changes, this is now possible.
Converting to an enumeration will also prevent use as a bitmask
in the future.

sys/sys/disk.h:
Define the DIOCZONECMD ioctl.

sys/sys/disk_zone.h:
Add a new API for managing zoned disks. This is very close to
the SCSI ZBC and ATA ZAC standards, but uses integers in native
byte order instead of big endian (SCSI) or little endian (ATA)
byte arrays.

This is intended to offer to the complete feature set of the ZBC
and ZAC disk management without requiring the application developer
to include SCSI or ATA headers. We also use one set of headers
for ioctl consumers and kernel bio-level consumers.

sys/sys/param.h:
Bump __FreeBSD_version for sys/bio.h command changes, and inclusion
of SMR support.

usr.sbin/Makefile:
Add the zonectl utility.

usr.sbin/diskinfo/diskinfo.c
Add disk zoning capability to the 'diskinfo -v' output.

usr.sbin/zonectl/Makefile:
Add zonectl makefile.

usr.sbin/zonectl/zonectl.8
zonectl(8) man page.

usr.sbin/zonectl/zonectl.c
The zonectl(8) utility. This allows managing SCSI or ATA zoned
disks via the disk_zone.h API. You can report zones, reset write
pointers, get parameters, etc.

Sponsored by: Spectra Logic
Differential Revision: https://reviews.freebsd.org/D6147
Reviewed by: wblock (documentation)

# 486607d0 14-Mar-2016 Warner Losh <imp@FreeBSD.org>

Just install ar5523.bin into /usr/share/firmware and stop compiling it
in.

Differential Review: https://reviews.freebsd.org/D5639

# 8f9bf0d6 26-Jan-2016 Ruslan Bukin <br@FreeBSD.org>

Remove uathload from build due to issue with GCC 5.2.0:
"ld: --relax and -r may not be used together."
Requires fixing ld command line arguments and testing.

# 91ee3463 21-Dec-2015 Ian Lepore <ian@FreeBSD.org>

Make the building of libsmb and mount_smbfs unconditional, now that r292552
has eliminated alignment and endian problems that were making it fail on
some platforms.

PR: 180438
PR: 189415

# a9934668 03-Dec-2015 Kenneth D. Merry <ken@FreeBSD.org>

Add asynchronous command support to the pass(4) driver, and the new
camdd(8) utility.

CCBs may be queued to the driver via the new CAMIOQUEUE ioctl, and
completed CCBs may be retrieved via the CAMIOGET ioctl. User
processes can use poll(2) or kevent(2) to get notification when
I/O has completed.

While the existing CAMIOCOMMAND blocking ioctl interface only
supports user virtual data pointers in a CCB (generally only
one per CCB), the new CAMIOQUEUE ioctl supports user virtual and
physical address pointers, as well as user virtual and physical
scatter/gather lists. This allows user applications to have more
flexibility in their data handling operations.

Kernel memory for data transferred via the queued interface is
allocated from the zone allocator in MAXPHYS sized chunks, and user
data is copied in and out. This is likely faster than the
vmapbuf()/vunmapbuf() method used by the CAMIOCOMMAND ioctl in
configurations with many processors (there are more TLB shootdowns
caused by the mapping/unmapping operation) but may not be as fast
as running with unmapped I/O.

The new memory handling model for user requests also allows
applications to send CCBs with request sizes that are larger than
MAXPHYS. The pass(4) driver now limits queued requests to the I/O
size listed by the SIM driver in the maxio field in the Path
Inquiry (XPT_PATH_INQ) CCB.

There are some things things would be good to add:

1. Come up with a way to do unmapped I/O on multiple buffers.
Currently the unmapped I/O interface operates on a struct bio,
which includes only one address and length. It would be nice
to be able to send an unmapped scatter/gather list down to
busdma. This would allow eliminating the copy we currently do
for data.

2. Add an ioctl to list currently outstanding CCBs in the various
queues.

3. Add an ioctl to cancel a request, or use the XPT_ABORT CCB to do
that.

4. Test physical address support. Virtual pointers and scatter
gather lists have been tested, but I have not yet tested
physical addresses or scatter/gather lists.

5. Investigate multiple queue support. At the moment there is one
queue of commands per pass(4) device. If multiple processes
open the device, they will submit I/O into the same queue and
get events for the same completions. This is probably the right
model for most applications, but it is something that could be
changed later on.

Also, add a new utility, camdd(8) that uses the asynchronous pass(4)
driver interface.

This utility is intended to be a basic data transfer/copy utility,
a simple benchmark utility, and an example of how to use the
asynchronous pass(4) interface.

It can copy data to and from pass(4) devices using any target queue
depth, starting offset and blocksize for the input and ouptut devices.
It currently only supports SCSI devices, but could be easily extended
to support ATA devices.

It can also copy data to and from regular files, block devices, tape
devices, pipes, stdin, and stdout. It does not support queueing
multiple commands to any of those targets, since it uses the standard
read(2)/write(2)/writev(2)/readv(2) system calls.

The I/O is done by two threads, one for the reader and one for the
writer. The reader thread sends completed read requests to the
writer thread in strictly sequential order, even if they complete
out of order. That could be modified later on for random I/O patterns
or slightly out of order I/O.

camdd(8) uses kqueue(2)/kevent(2) to get I/O completion events from
the pass(4) driver and also to send request notifications internally.

For pass(4) devcies, camdd(8) uses a single buffer (CAM_DATA_VADDR)
per CAM CCB on the reading side, and a scatter/gather list
(CAM_DATA_SG) on the writing side. In addition to testing both
interfaces, this makes any potential reblocking of I/O easier. No
data is copied between the reader and the writer, but rather the
reader's buffers are split into multiple I/O requests or combined
into a single I/O request depending on the input and output blocksize.

For the file I/O path, camdd(8) also uses a single buffer (read(2),
write(2), pread(2) or pwrite(2)) on reads, and a scatter/gather list
(readv(2), writev(2), preadv(2), pwritev(2)) on writes.

Things that would be nice to do for camdd(8) eventually:

1. Add support for I/O pattern generation. Patterns like all
zeros, all ones, LBA-based patterns, random patterns, etc. Right
Now you can always use /dev/zero, /dev/random, etc.

2. Add support for a "sink" mode, so we do only reads with no
writes. Right now, you can use /dev/null.

3. Add support for automatic queue depth probing, so that we can
figure out the right queue depth on the input and output side
for maximum throughput. At the moment it defaults to 6.

4. Add support for SATA device passthrough I/O.

5. Add support for random LBAs and/or lengths on the input and
output sides.

6. Track average per-I/O latency and busy time. The busy time
and latency could also feed in to the automatic queue depth
determination.

sys/cam/scsi/scsi_pass.h:
Define two new ioctls, CAMIOQUEUE and CAMIOGET, that queue
and fetch asynchronous CAM CCBs respectively.

Although these ioctls do not have a declared argument, they
both take a union ccb pointer. If we declare a size here,
the ioctl code in sys/kern/sys_generic.c will malloc and free
a buffer for either the CCB or the CCB pointer (depending on
how it is declared). Since we have to keep a copy of the
CCB (which is fairly large) anyway, having the ioctl malloc
and free a CCB for each call is wasteful.

sys/cam/scsi/scsi_pass.c:
Add asynchronous CCB support.

Add two new ioctls, CAMIOQUEUE and CAMIOGET.

CAMIOQUEUE adds a CCB to the incoming queue. The CCB is
executed immediately (and moved to the active queue) if it
is an immediate CCB, but otherwise it will be executed
in passstart() when a CCB is available from the transport layer.

When CCBs are completed (because they are immediate or
passdone() if they are queued), they are put on the done
queue.

If we get the final close on the device before all pending
I/O is complete, all active I/O is moved to the abandoned
queue and we increment the peripheral reference count so
that the peripheral driver instance doesn't go away before
all pending I/O is done.

The new passcreatezone() function is called on the first
call to the CAMIOQUEUE ioctl on a given device to allocate
the UMA zones for I/O requests and S/G list buffers. This
may be good to move off to a taskqueue at some point.
The new passmemsetup() function allocates memory and
scatter/gather lists to hold the user's data, and copies
in any data that needs to be written. For virtual pointers
(CAM_DATA_VADDR), the kernel buffer is malloced from the
new pass(4) driver malloc bucket. For virtual
scatter/gather lists (CAM_DATA_SG), buffers are allocated
from a new per-pass(9) UMA zone in MAXPHYS-sized chunks.
Physical pointers are passed in unchanged. We have support
for up to 16 scatter/gather segments (for the user and
kernel S/G lists) in the default struct pass_io_req, so
requests with longer S/G lists require an extra kernel malloc.

The new passcopysglist() function copies a user scatter/gather
list to a kernel scatter/gather list. The number of elements
in each list may be different, but (obviously) the amount of data
stored has to be identical.

The new passmemdone() function copies data out for the
CAM_DATA_VADDR and CAM_DATA_SG cases.

The new passiocleanup() function restores data pointers in
user CCBs and frees memory.

Add new functions to support kqueue(2)/kevent(2):

passreadfilt() tells kevent whether or not the done
queue is empty.

passkqfilter() adds a knote to our list.

passreadfiltdetach() removes a knote from our list.

Add a new function, passpoll(), for poll(2)/select(2)
to use.

Add devstat(9) support for the queued CCB path.

sys/cam/ata/ata_da.c:
Add support for the BIO_VLIST bio type.

sys/cam/cam_ccb.h:
Add a new enumeration for the xflags field in the CCB header.
(This doesn't change the CCB header, just adds an enumeration to
use.)

sys/cam/cam_xpt.c:
Add a new function, xpt_setup_ccb_flags(), that allows specifying
CCB flags.

sys/cam/cam_xpt.h:
Add a prototype for xpt_setup_ccb_flags().

sys/cam/scsi/scsi_da.c:
Add support for BIO_VLIST.

sys/dev/md/md.c:
Add BIO_VLIST support to md(4).

sys/geom/geom_disk.c:
Add BIO_VLIST support to the GEOM disk class. Re-factor the I/O size
limiting code in g_disk_start() a bit.

sys/kern/subr_bus_dma.c:
Change _bus_dmamap_load_vlist() to take a starting offset and
length.

Add a new function, _bus_dmamap_load_pages(), that will load a list
of physical pages starting at an offset.

Update _bus_dmamap_load_bio() to allow loading BIO_VLIST bios.
Allow unmapped I/O to start at an offset.

sys/kern/subr_uio.c:
Add two new functions, physcopyin_vlist() and physcopyout_vlist().

sys/pc98/include/bus.h:
Guard kernel-only parts of the pc98 machine/bus.h header with
#ifdef _KERNEL.

This allows userland programs to include <machine/bus.h> to get the
definition of bus_addr_t and bus_size_t.

sys/sys/bio.h:
Add a new bio flag, BIO_VLIST.

sys/sys/uio.h:
Add prototypes for physcopyin_vlist() and physcopyout_vlist().

share/man/man4/pass.4:
Document the CAMIOQUEUE and CAMIOGET ioctls.

usr.sbin/Makefile:
Add camdd.

usr.sbin/camdd/Makefile:
Add a makefile for camdd(8).

usr.sbin/camdd/camdd.8:
Man page for camdd(8).

usr.sbin/camdd/camdd.c:
The new camdd(8) utility.

Sponsored by: Spectra Logic
MFC after: 1 week

# 98db8f80 23-Nov-2015 Marcelo Araujo <araujo@FreeBSD.org>

Connect ypldap(8) to the build.

Approved by: bapt (mentor)

# 6f42d16f 18-Nov-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Convert to SUBDIR.yes format.

Reviewed by: imp
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D4182

# 5111694c 09-Nov-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Rename usr.sbin/mtree to usr.sbin/fmtree since it is not what /usr/sbin/mtree
actually is (which is usr.sbin/nmtree).

This has tricked me numerous times.

# c94fbe26 27-Oct-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Connect mpsutil(8) to the build

Sponsored by: Gandi.net

# 5a1af1a0 26-Sep-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Revert r288268. Wrong change committed.

# 3c9e00f3 26-Sep-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Hookup mkcsmapper_static and mkesdb_static for all but install.

These are only handled as 'build-tools' in Makefile.inc1. This causes
'make clean' from the top of the tree to not clean the directories. It also
effectively has kept them disconnected and risks them bitrotting. The
buildworld process never cleans them either.

Connect them so they will always be built, cleaned, etc, but never installed.

Discussed with: imp (briefly)
Sponsored by: EMC / Isilon Storage Division

# cddcb259 04-Sep-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Add a new sesutil(8) utility

This is an utility for managing SCSI Enclosure Services (SES) device.

For now only one command is supported "locate" which will change the test of the
external LED associated to a given disk.

Usage if the following:
sesutil locate disk [on|off]

Disk can be a device name: "da12" or a special keyword: "all".

Reviewed by: mav
MFC after: 1 month
Relnotes: yes
Sponsored by: gandi.net
Differential Revision: https://reviews.freebsd.org/D3544

# 1905e4a3 28-Feb-2015 Ryan Stone <rstone@FreeBSD.org>

Add main() for iovctl and hook iovctl into build

Differential Revision: https://reviews.freebsd.org/D87
Reviewed by: jhb
MFC after: 1 month
Sponsored by: Sandvine Inc.

# 8625a33e 28-Feb-2015 Ryan Stone <rstone@FreeBSD.org>

Revert r279454. The new directory didn't get added to svn properly.

Pointy hat to: rstone

# b431478e 28-Feb-2015 Ryan Stone <rstone@FreeBSD.org>

Add main() for iovctl and hook iovctl into build

Differential Revision: https://reviews.freebsd.org/D87
Reviewed by: jhb
MFC after: 1 month
Sponsored by: Sandvine Inc.

# e595e65b 26-Feb-2015 Edward Tomasz Napierala <trasz@FreeBSD.org>

Add uefisign(8), UEFI Secure Boot signing utility.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation

# b1499feb 19-Feb-2015 Gleb Smirnoff <glebius@FreeBSD.org>

Now that IGMP and MLD sysctls provide a clean API structures that do not
leak kernel internal stuff, reconnect ifmcstat(1) back to build. However,
disable kvm(3) support in it, since it requires uncovering tons of _KERNEL
defined declarations, which can be achieved either uncovering them globally
or providing dirty hacks such as _WANT_IFADDR. If anyone demands an
ifmcstat-like kvm-based tool, please take the code out of usr.sbin/ifmstat
and create a tool in src/tools/tools.

# 57e8e48f 19-Feb-2015 Enji Cooper <ngie@FreeBSD.org>

Unbreak freshly installed worlds by properly "commenting" out ifmcstat

Pointyhat to: glebius

# 53d3d92f 18-Feb-2015 Gleb Smirnoff <glebius@FreeBSD.org>

Temporarily disconnect ifmcstat(8) from build, to make world buildable
ifmcstat(8) noses in kernel memory too much, and thus is very tentative
to any changes in kernel.

I will rewrite it to use some API instead of libkvm(3) and connect back
to build.

# 64de8019 06-Feb-2015 John Baldwin <jhb@FreeBSD.org>

Add a new device control utility for new-bus devices called devctl. This
allows the user to request administrative changes to individual devices
such as attach or detaching drivers or disabling and re-enabling devices.
- Add a new /dev/devctl2 character device which uses ioctls for device
requests. The ioctls use a common 'struct devreq' which is somewhat
similar to 'struct ifreq'.
- The ioctls identify the device to operate on via a string. This
string can either by the device's name, or it can be a bus-specific
address. (For unattached devices, a bus address is the only way to
locate a device.) Bus drivers register an eventhandler to claim
unrecognized device names that the driver recognizes as a valid address.
Two buses currently support addresses: ACPI recognizes any device
in the ACPI namespace via its full path starting with "\" and
the PCI bus driver recognizes an address specification of
'pci[<domain>:]<bus>:<slot>:<func>' (identical to the PCI selector
strings supported by pciconf).
- To make it easier to cut and paste, change the PnP location string
in the PCI bus driver to output a full PCI selector string rather
than 'slot=<slot> function=<func>'.
- Add a devctl(3) interface in libdevctl which provides a wrapper around
the ioctls and is the preferred interface for other userland code.
- Add a devctl(8) program which is a simple wrapper around the requests
supported by devctl(3).
- Add a device_is_suspended() function to check DF_SUSPENDED.
- Add a resource_unset_value() function that can be used to remove a
hint from the kernel environment. This is used to clear a
hint.<driver>.<unit>.disabled hint when re-enabling a boot-time
disabled device.

Reviewed by: imp (parts)
Requested by: imp (changing PCI location string)
Relnotes: yes

# 11981695 04-Feb-2015 Enji Cooper <ngie@FreeBSD.org>

Add the following options to enable/disable several features in the base system

WITHOUT_BOOTPARAMD - bootparamd
WITHOUT_BOOTPD - bootpd
WITHOUT_FINGER - finger, fingerd
WITHOUT_FTP - ftp, ftpd
WITHOUT_INETD - inetd
WITHOUT_RBOOTD - rbootd
WITHOUT_TCP_WRAPPERS - tcpd, et al
WITHOUT_TFTP - tftp, tftp-server
WITHOUT_TIMED - timed

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division

# b3590423 26-Jan-2015 Enji Cooper <ngie@FreeBSD.org>

Add MK_AUTOFS knob for building and installing autofs(4), et al

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division

# e45b569c 24-Jan-2015 Enji Cooper <ngie@FreeBSD.org>

Add MK_BSDINSTALL knob for building and installing bsdinstall

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division

# b29d6977 24-Jan-2015 Enji Cooper <ngie@FreeBSD.org>

Add MK_ISCSI knob for building the iscsi initiator, iscsi daemon, kernel
modules, etc

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division

# d95b3509 13-Jan-2015 Randall Stewart <rrs@FreeBSD.org>

Update the hwpmc driver to have the new type HASWELL_XEON. Also
go back through HASWELL, IVY_BRIDGE, IVY_BRIDGE_XEON and SANDY_BRIDGE
to straighten out all the missing PMCs. We also add a new pmc tool
pmcstudy, this allows one to run the various formulas from
the documents "Using Intel Vtune Amplifier XE on XXX Generation platforms" for
IB/SB and Haswell. The tool also allows one to postulate your own
formulas with any of the various PMC's. At some point I will enahance
this to work with Brendan Gregg's flame-graphs so we can flamegraph
various PMC interactions. Note the manual page also needs some
work (lots of work) but gnn has committed to help me with that ;-)
Reviewed by: gnn
MFC after:1 month
Sponsored by: Netflix Inc.

# 17a2c536 14-Dec-2014 Dag-Erling Smørgrav <des@FreeBSD.org>

Add a vigr(8) utility which does for /etc/group what vipw(8) does for
/etc/master.passwd.

# be3a49ee 10-Dec-2014 Edward Tomasz Napierala <trasz@FreeBSD.org>

Add fstyp(8). This utility, named after its SVR4 counterpart, detects
filesystems. It differs from file(1) in that it gives machine-parseable
output, it outputs filesystem labels, doesn't get confused by other
formats metadata, and runs in Capsicum sandbox.

Differential Revision: https://reviews.freebsd.org/D1255
Relnotes: yes
Sponsored by: The FreeBSD Foundation

# 603eaf79 09-Nov-2014 Alexander V. Chernikov <melifaro@FreeBSD.org>

Renove faith(4) and faithd(8) from base. It looks like industry
have chosen different (and more traditional) stateless/statuful
NAT64 as translation mechanism. Last non-trivial commits to both
faith(4) and faithd(8) happened more than 12 years ago, so I assume
it is time to drop RFC3142 in FreeBSD.

No objections from: net@

# cec2add4 10-Sep-2014 Alan Somers <asomers@FreeBSD.org>

Conditionalize build of etcupdate(8) on MK_RCS. Since etcupdate calls
merge(1), which is part of the RCS package, it must not be installed if
WITHOUT_RCS update is set. Otherwise, it will produce confusing errors.

CR: https://reviews.freebsd.org/D691
MFC after: 1 week
Sponsored by: Spectra Logic

# 3914ddf8 17-Aug-2014 Edward Tomasz Napierala <trasz@FreeBSD.org>

Bring in the new automounter, similar to what's provided in most other
UNIX systems, eg. MacOS X and Solaris. It uses Sun-compatible map format,
has proper kernel support, and LDAP integration.

There are still a few outstanding problems; they will be fixed shortly.

Reviewed by: allanjude@, emaste@, kib@, wblock@ (earlier versions)
Phabric: D523
MFC after: 2 weeks
Relnotes: yes
Sponsored by: The FreeBSD Foundation

# c6063d0d 05-May-2014 Warner Losh <imp@FreeBSD.org>

Use src.opts.mk in preference to bsd.own.mk except where we need stuff
from the latter.

# 6d756449 08-Apr-2014 Sean Bruno <sbruno@FreeBSD.org>

Add Stacey Son's binary activation patches that allow remapping of
execution to a emumation program via parsing of ELF header information.

With this kernel module and userland tool, poudriere is able to build
ports packages via the QEMU userland tools (or another emulator program)
in a different architecture chroot, e.g. TARGET=mips TARGET_ARCH=mips

I'm not connecting this to GENERIC for obvious reasons, but this should
allow the kernel module to be built by default and enable the building
of the userland tool (which automatically loads the kernel module).

Submitted by: sson@
Reviewed by: jhb@

# 54ff5d73 26-Mar-2014 Dimitry Andric <dim@FreeBSD.org>

Add a SUBDIR_PARALLEL option to bsd.subdir.mk, to allow make to process
all the SUBDIR entries in parallel, instead of serially. Apply this
option to a selected number of Makefiles, which can greatly speed up the
build on multi-core machines, when using make -j.

This can be extended to more Makefiles later on, whenever they are
verified to work correctly with parallel building.

I tested this on a 24-core machine, with make -j48 buildworld (N = 6):

before stddev after stddev
======= ====== ======= ======
real time 1741.1 16.5 959.8 2.7
user time 12468.7 16.4 14393.0 16.8
sys time 1825.0 54.8 2110.6 22.8

(user+sys)/real 8.2 17.1

E.g. the build was approximately 45% faster in real time. On machines
with less cores, or with lower -j settings, the speedup will not be as
impressive. But at least you can now almost max out a machine with
buildworld!

Submitted by: jilles
MFC after: 2 weeks

# d14afb2a 15-Mar-2014 Julio Merino <jmmv@FreeBSD.org>

Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout.

This change was originally going to only migrate the usr.sbin tests but, as
it turns out, the usr.sbin/sa/ tests require files from usr.bin/lastcomm/
so it's better to just also migrate the latter at the same time. The other
usr.bin tests will be moved separately.

To make these tests work within the test suite, some of them have required
changes to prevent modifying the source directory and instead just rely on
the current directory for file manipulation.

# 2c284d93 13-Mar-2014 Gleb Smirnoff <glebius@FreeBSD.org>

Remove IPX support.

IPX was a network transport protocol in Novell's NetWare network operating
system from late 80s and then 90s. The NetWare itself switched to TCP/IP
as default transport in 1998. Later, in this century the Novell Open
Enterprise Server became successor of Novell NetWare. The last release
that claimed to still support IPX was OES 2 in 2007. Routing equipment
vendors (e.g. Cisco) discontinued support for IPX in 2011.

Thus, IPX won't be supported in FreeBSD 11.0-RELEASE.

# 8f26887d 30-Jan-2014 Brooks Davis <brooks@FreeBSD.org>

Merge from CheriBSD:
commit 2d581e8caf79d7a0f5a24590eccd06da90cccb74
Author: Brooks Davis <brooks@one-eyed-alien.net>
Date: Mon Jan 27 22:57:51 2014 +0000

Add WITHOUT_FMTREE to disable building fmtree.

MFC after: 4 weeks
Sponsored by: DARPA, AFRL

# c92d635a 31-Oct-2013 Baptiste Daroussin <bapt@FreeBSD.org>

After around 20 years of duty it is time for pkg_install to retire

# a33ce322 21-Oct-2013 Brooks Davis <brooks@FreeBSD.org>

Remove the isf(4) driver. It was created by accident and is subset of
the cfi(4) driver. It remained in the tree longer than would be ideal
due to the time required to bring cfi(4) to feature parity.

Sponsored by: DARPA/AFRL
MFC after: 3 days

# 56b72efe 30-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove BIND.

Approved by: re (gjb)

# 8f8790cd 15-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Build and install the Unbound caching DNS resolver daemon.

Approved by: re (blanket)

# 009ea47e 14-Sep-2013 Edward Tomasz Napierala <trasz@FreeBSD.org>

Bring in the new iSCSI target and initiator.

Reviewed by: ken (parts)
Approved by: re (delphij)
Sponsored by: FreeBSD Foundation

# 08e6ea97 22-Aug-2013 Erwin Lansing <erwin@FreeBSD.org>

Update Bind to 9.9.3-P2

Notable new features:

* Elliptic Curve Digital Signature Algorithm keys and signatures in
DNSSEC are now supported per RFC 6605. [RT #21918]

* Introduces a new tool "dnssec-verify" that validates a signed zone,
checking for the correctness of signatures and NSEC/NSEC3 chains.
[RT #23673]

* BIND now recognizes the TLSA resource record type, created to
support IETF DANE (DNS-based Authentication of Named Entities)
[RT #28989]

* The new "inline-signing" option, in combination with the
"auto-dnssec" option that was introduced in BIND 9.7, allows
named to sign zones completely transparently.

Approved by: delphij (mentor)
MFC after: 3 days
Sponsored by: DK Hostmaster A/S


# 94bc33c1 05-Jul-2013 Devin Teske <dteske@FreeBSD.org>

Take the training-wheels off, after nearly 30 months of development. MFC to
stable/9 planned after MFC 3-day period. The MFC to stable/9 is desired for
the next release to get some much-needed time:
+ Living side-by-side with sysinstall for compare/contrast/transition
+ Living side-by-side with bsdinstall for integration/transition
+ Additional feedback/testing before eventual 10.0-R to make it even better

MFC after: 3 days

# 256cb4aa 04-Apr-2013 Alexander Motin <mav@FreeBSD.org>

Remove usr.sbin/burncd, useless after legacy ATA stack removal.

# 0ebbdcbe 23-Jan-2013 Brooks Davis <brooks@FreeBSD.org>

manctl is conditionally added to SUBDIRS later on. Don't unconditionally
include in the main list.

# 38d90616 18-Jan-2013 Eitan Adler <eadler@FreeBSD.org>

Add option to make pc-sysinstall optional

Approved by: cperciva

# c6ec7d31 21-Dec-2012 Brooks Davis <brooks@FreeBSD.org>

Add NetBSD's mtree to the tree and install it as nmtree as the first step
towards replacing our mtree.

Sponsored by: DARPA, AFRL
Thanks to: cristos@NetBSD for reviewing and committing my patches
wiz@NetBSD for fixing typos in my patches


# 16648b4f 01-Dec-2012 Robert Watson <rwatson@FreeBSD.org>

Merge a number of changes required to hook up OpenBSM 1.2-alpha2's
auditdistd (distributed audit daemon) to the build:

- Manual cross references
- Makefile for auditdistd
- rc.d script, rc.conf entrie
- New group and user for auditdistd; associated aliases, etc.

The audit trail distribution daemon provides reliable,
cryptographically protected (and sandboxed) delivery of audit tails
from live clients to audit server hosts in order to both allow
centralised analysis, and improve resilience in the event of client
compromises: clients are not permitted to change trail contents
after submission.

Submitted by: pjd
Sponsored by: The FreeBSD Foundation (auditdistd)

# 55793cdc 16-Oct-2012 Attilio Rao <attilio@FreeBSD.org>

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

This is not targeted for MFC.

# 2a357efa 02-Oct-2012 Devin Teske <dteske@FreeBSD.org>

Import sysutils/sysrc from the ports tree (current version 5.1). Importing
disconnected under the WITH_BSDCONFIG flag (a good idea since this version of
sysrc(8) indeed requires the `sysrc.subr' module installed by bsdconfig(8)).

Multiple reasons sysrc should not simply continue to live in ports. The most
important being that it is tightly coupled with the base.

Approved by: adrian (co-mentor)

# 087d3173 25-Aug-2012 Brooks Davis <brooks@FreeBSD.org>

Add isf(4), a driver for the Intel StrataFlash family of NOR flash parts.

The driver attempts to support all documented parts, but has only been
tested with the 512Mbit part on the Terasic DE4 FPGA board. It should be
trivial to adapt the driver's attach routine to other embedded boards
using with any parts in the family.

Also import isfctl(8) which can be used to erase sections of the flash.

Sponsored by: DARPA, AFRL

# 641a6cfb 13-Jul-2012 Devin Teske <dteske@FreeBSD.org>

Import bsdconfig(8) as a replacement for the post-install abilities of
deprecated sysinstall(8). NOTE: WITH_BSDCONFIG is currently required.

Submitted by: Devin Teske (dteske), Ron McDowell <rcm@fuzzwad.org>
Reviewed by: Ron McDowell <rcm@fuzzwad.org>
Approved by: Ed Maste (emaste)

# 6f9cd2a9 13-Jul-2012 John Baldwin <jhb@FreeBSD.org>

The etcupdate utility is a tool for managing updates to files that are
not updated as part of `make installworld' such as files in /etc. It
manages updates by doing a three-way merge of changes made to these files
against the local versions. It is also designed to minimize the amount
of user intervention with the goal of simplifying upgrades for clusters
of machines.

The primary difference from mergemaster is that etcupdate requires less
manual work. The primary difference from etcmerge is that etcupdate
updates files in-place similar to mergemaster rather than building a
separate /etc tree.

Requested by: obrien, kib, theraven, joeld (among others)

# f2ed2848 02-Jul-2012 Gleb Smirnoff <glebius@FreeBSD.org>

Fix build after r237997.

# 2f3a9ba5 02-Jul-2012 Baptiste Daroussin <bapt@FreeBSD.org>

New build KNOB: WITHOUT_PKGBOOTSTRAP to condition building of usr.sbin/pkg
Do not condition usr.sbin/pkg building on WITHOUT_PKGTOOLS anymore, so that users can
remove the old pkg_* tools without removing the pkgng boostrap

Approved by: des (mentor)
MFC after: 1 month

# 7f725bcd 17-May-2012 Grzegorz Bernacki <gber@FreeBSD.org>

Import work done under project/nand (@235533) into head.

The NAND Flash environment consists of several distinct components:
- NAND framework (drivers harness for NAND controllers and NAND chips)
- NAND simulator (NANDsim)
- NAND file system (NAND FS)
- Companion tools and utilities
- Documentation (manual pages)

This work is still experimental. Please use with caution.

Obtained from: Semihalf
Supported by: FreeBSD Foundation, Juniper Networks

# 3aa4b42a 15-Apr-2012 Baptiste Daroussin <bapt@FreeBSD.org>

add usr.sbin/pkg which is a bootstrap tool for pkgng.
it respects PACKAGESITE, PACKAGEROOT, and a new environment variable ABI (if a user want to use a different API from the base one for its packages)
it has no man page on purpose to avoid hidding the pkg(8) man page from the pkgng package.
for now uses pkgbeta.FreeBSD.org as default mirror to find its package
it respects MK_PKGTOOLS

Approved by: des (mentor)

# 71d8432f 11-Feb-2012 Ed Schouten <ed@FreeBSD.org>

Replace utxrm(8) by utx(8).

At first, I added a utility called utxrm(8) to remove stale entries from
the user accounting database. It seems there are cases in which we need
to perform different operations on the database as well. Simply rename
utxrm(8) to utx(8) and place the old code under the "rm" command.

In addition to "rm", this tool supports "boot" and "shutdown", which are
going to be used by an rc-script which I am going to commit separately.

# 130f4520 11-Jan-2012 Kenneth D. Merry <ken@FreeBSD.org>

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

# e59e2d8e 03-Oct-2011 Nathan Whitehorn <nwhitehorn@FreeBSD.org>

Farewall, sysinstall! You served us well for many years, but 10.0 is one
digit beyond your time.

Various sysinstall dependencies (e.g. libftpio, libdisk, libodialog, etc.)
will be cleaned up in coming days. Some will take longer than others due to
a few other consumers (tzsetup and sade).

# 6d489ccd 18-Jul-2011 Doug Barton <dougb@FreeBSD.org>

The named.reload script is no longer useful in the age of rc.d

# 37241896 17-Jul-2011 Hiroki Sato <hrs@FreeBSD.org>

- Improve interface list handling. The rtadvd(8) now supports dynamically-
added/removed interfaces in a more consistent manner and reloading the
configuration file.

- Implement burst unsolicited RA sending into the internal RA timer framework
when AdvSendAdvertisements and/or configuration entries are changed as
described in RFC 4861 6.2.4. This fixes issues that make termination of the
rtadvd(8) daemon take very long time.

An interface now has three internal states, UNCONFIGURED, TRANSITIVE, or
CONFIGURED, and the burst unsolicited sending happens in TRANSITIVE.
See rtadvd.h for the details.

- rtadvd(8) now accepts non-existent interfaces as well in the command line.

- Add control socket support and rtadvctl(8) utility to show the RA information
in rtadvd(8). Dumping by SIGUSR1 has been removed in favor of it.

# 25630ba7 16-Jul-2011 Doug Barton <dougb@FreeBSD.org>

bmake and other updates necessary for the BIND 9.8.x upgrade.

This includes a structural change regarding atomic ops. Previously they
were enabled on all platforms unless we had knowledge that they did not
work. However both work performed by marius@ on sparc64 and the fact that
the 9.8.x branch is fussier in this area has demonstrated that this is
not a safe approach. So I've modified a patch provided by marius to
enable them for i386, amd64, and ia64 only.

# 9f0c9022 17-Jun-2011 Ed Schouten <ed@FreeBSD.org>

Add WITHOUT_UTMPX switch to the build system.

This knob removes the tools that are exclusively used to view and
maintain the databases maintained by utmpx, namely last, users, who,
wtmpcvt, ac, lastlogin and utxrm.

The tool w is not in this list, because it has some other functionality
which is unrelated to utmpx; it is hardlinked to the uptime tool.

# f1c344b2 17-Jun-2011 Ed Schouten <ed@FreeBSD.org>

Don't omit ac(8) as part of WITHOUT_ACCT.

The WITHOUT_ACCT switch is supposed to omit tools related to process
accounting, namely accton and sa. ac(8) is just a simple tool that
prints statistics based on data in the utx.log database. It has nothing
to do with the former.

# 9e7abe05 03-Apr-2011 Hans Petter Selasky <hselasky@FreeBSD.org>

- Include usbdump into default build.

MFC after: 7 days
Approved by: thompsa (mentor)

# b30bfd43 19-Feb-2011 Ed Schouten <ed@FreeBSD.org>

Add a utility, utxrm(8).

Most of the ports I broke when I imported utmpx, were simple management
utilities for the utmp database, allowing you to add/remove entries
manually.

Add a small tool called utxrm(8), which allows you to remove an entry
from the utmpx database by hand. This is useful when a login daemon
crashes or fails to remove the entry during shutdown.

# 2118f387 18-Feb-2011 Nathan Whitehorn <nwhitehorn@FreeBSD.org>

Import bsdinstall. This is meant to be (eventually in conjunction with
pc-sysinstall) a replacement for sysinstall in the 9.0 release and beyond.
Currently supported platforms are sparc64, pc98, i386, amd64, powerpc, and
powerpc64. Integration into the build system will occur in the coming
weeks.

Merging with pc-sysinstall will use this code as a frontend, while
temporarily retaining the interactive partition editor here. This work
will be done in parallel with improvements on this code and release
integration.

Thanks to all who have provided testing and comments!

# 5241f8b7 06-Nov-2010 Ulrich Spörlein <uqs@FreeBSD.org>

Put string in quotes, like is done everywhere.

# eef93d2f 05-Oct-2010 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

- Introduce WITH_GPIO knob and disable building gpioctl
by default. Most systems do not need it.

# 8d8bfa7f 03-Oct-2010 Antoine Brodin <antoine@FreeBSD.org>

Reconnect uathload to the build.

# 968ec6a6 27-Sep-2010 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add gpioctl(8). Utility for configuring/accessing GPIO pins

# 519b7ecc 12-Sep-2010 Warner Losh <imp@FreeBSD.org>

Merge from tbemd: use Makefile.arch to control building.

Reviewed by: arch@ (many times, no objection)

# 3a1d56f9 26-Aug-2010 Warner Losh <imp@FreeBSD.org>

Make sure TARGET_ABI is defined. TARGET_ABI will die a horrible death
after we get all of TBEMD merged back into head, and make mips64 imply
n64, so don't bother to make this 100% pretty. You'll have to settle
for only 64% pretty.

# b86e178f 25-Aug-2010 Warner Losh <imp@FreeBSD.org>

Ugly kludge to paper over some kind of ld bug and/or misuse: don't
build uathload on mips n64 either.

# e3b09b5c 20-Jul-2010 Nathan Whitehorn <nwhitehorn@FreeBSD.org>

Build some powerpc-specific utilities on powerpc64 as well.

Submitted by: Andreas Tobler

# 4bbc5bd8 24-Jun-2010 Warner Losh <imp@FreeBSD.org>

Bring in Kris Moore's pc-sysinstall shell script from PC-BSD. This
shell script is the back end logic necessary for an installer. It
contains both query routines to allow a front-end installer to present
reasonable choices to the user and also action routines which allow
the front end installer to put a FreeBSD distribution onto a disk. It
supports installing onto the usual suspects, as well as advanced
features like Mirroring, ZFS, Encryprion and GPT labels.

While this is only the back-end of the installer, it can do unattended
scripted installations. In PC-BSD's world view, all installations are
scripted and all the front-end does is write the script. As such, it
is useful in its own right.

This has been extensively tested over the past several releases of
PC-BSD. However, differences between that environment and FreeBSD
suggest there will be a period of shake-out while those differences
are discovered and corrected.

A text-based front-end is in the works. For the GUI-based front-end,
you can use the PC-BSD distribution.

Kris' BSDcan paper on pc-sysinstall is linked off his talk on the
BSDcan site:
http://www.bsdcan.org/2010/schedule/events/173.en.html

The man page is written by Josh Paetzel, and I wrote the Makefiles for
the FreeBSD integration. Kris wrote the rest.

This represents version r7010 in the PC-BSD repo.
http://svn.pcbsd.org/pcbsd/current/pc-sysinstall

Submitted by: kris@
Sponsored by: iX Systems

# f13753b3 13-Jun-2010 Rafal Jaworowski <raj@FreeBSD.org>

Enable ofwdump(8) on ARM as this is a useful tool to inspect a flattened
device tree.

# 07e547fe 19-May-2010 Jung-uk Kim <jkim@FreeBSD.org>

Add a new build option, MAN_UTILS. This option lets you control building
utilities and related support files for manual pages, which were previously
controlled by MAN. For POLA, the default depends on MAN, i.e., WITHOUT_MAN
implies WITHOUT_MAN_UTILS and WITH_MAN implies WITH_MAN_UTILS. This patch
is slightly improved by me from:

PR: misc/145212

# 0b25da7e 04-Apr-2010 Hajimu UMEMOTO <ume@FreeBSD.org>

services_mkdb; generate db file from services(5) to increase
speed of getserv*()

Obtained from: NetBSD
MFC after: 2 weeks

# 136ca0d1 01-Apr-2010 Warner Losh <imp@FreeBSD.org>

We don't need to note that mkproto is missing anymore. It is
definitely OBE in a number of ways, and likely should have been
removed in 2000, not 2010.

# 515b1868 04-Mar-2010 Warner Losh <imp@FreeBSD.org>

moused is useful even without usb, so remove comment asking if it is.

# 69618fcf 25-Jan-2010 Pyun YongHyeon <yongari@FreeBSD.org>

Connect smbfs related libraries and tool on sparc64.

Reviewed by: marius

# 941e2863 12-Jan-2010 Andrew Thompson <thompsa@FreeBSD.org>

Add a driver by Fredrik Lindberg for Option HSDPA USB devices. These differ
from standard 3G wireless units by supplying a raw IP/IPv6 endpoint rather than
using PPP over serial. uhsoctl(1) is used to initiate and close the WAN
connection.

Obtained from: Fredrik Lindberg <fli@shapeshifter.se>

# 3d482827 19-Dec-2009 Doug Barton <dougb@FreeBSD.org>

The service command is an easy interface to the rc.d system.
Its primary purpose is to start and stop services provided by
the rc.d scripts, however it can also be used to list the scripts
using various criteria.

# 71f99e63 27-Sep-2009 Jung-uk Kim <jkim@FreeBSD.org>

Copy apm(4) emulation from sys/i386/acpica/acpi_machdep.c and
install apm(8) and apm_bios.h on amd64.

# fc58801c 14-Aug-2009 Scott Long <scottl@FreeBSD.org>

Add mptutil, a basic utility for managing MPT SCSI/SATA/SAS controllers.
Drive and controller status can be reported, basic attributes changed,
and arrays and spares can be created and deleted.

Approved by: re
Obtained from: Yahoo! Inc.

# 763fae79 13-Aug-2009 Scott Long <scottl@FreeBSD.org>

ntroduce mfiutil, a basic utility for managing LSI SAS-RAID & Dell PERC5/6
controllers. Controller, array, and drive status can be checked, basic
attributes can be changed, and arrays and spares can be created and deleted.
Controller firmware can also be flashed.

This does not replace MegaCLI, found in ports, as that is officially sanctioned
and supported by LSI and includes vastly more functionality. However, mfiutil
is open source and guaranteed to provide basic functionality, which can be
especially useful if you have a problem and can't get MegaCLI to work.

Approved by: re
Obtained from: Yahoo! Inc.

# 58c6a70a 30-Jun-2009 Martin Blapp <mbr@FreeBSD.org>

Add wake, a tool to send Wake on LAN frames to hosts on a local Ethernet network

Submitted by: Marc Balmer <marc@msys.ch>
Reviewed by: rwatson
Approved by: re

M usr.sbin/Makefile
A usr.sbin/wake
AM usr.sbin/wake/wake.c
AM usr.sbin/wake/Makefile
AM usr.sbin/wake/wake.8

# 6318052d 30-May-2009 Doug Barton <dougb@FreeBSD.org>

Update BIND to version 9.6.1rc1. This version has better performance and
lots of new features compared to 9.4.x, including:

Full NSEC3 support
Automatic zone re-signing
New update-policy methods tcp-self and 6to4-self
DHCID support.
More detailed statistics counters including those supported in BIND 8.
Faster ACL processing.
Efficient LRU cache-cleaning mechanism.
NSID support.


# 03914b0b 26-May-2009 Rick Macklem <rmacklem@FreeBSD.org>

Add two new utilities and two new daemons to /usr/src/usr.sbin that
are specifically used by the experimental nfsv4 subsystem.
nfscbd - The NFSv4 client callback daemon.
nfsuserd - The NFSv4 daemon that maps between user and group name
and their corresponding uid/gid numbers.
nfsdumpstate - A utility that dumps out the NFSv4 Open/Lock state.
nfsrevoke - Administratively revokes an NFSv4 client, releasing all
NFSv4 Open/Lock state it holds on the server.

Approved by: kib (mentor)

# 4081b7da 16-Apr-2009 Robert Watson <rwatson@FreeBSD.org>

Garbage collect raycontrol(8), as ray(4) has been removed.

Pointed out by: pluknet at gmail.com

# 9596b6de 08-Apr-2009 Ruslan Ermilov <ru@FreeBSD.org>

Removed more vestiges of if_sl(4).

# fe41f260 07-Apr-2009 Weongyo Jeong <weongyo@FreeBSD.org>

block build of uathload on ia64 temporarily because binutils expects
machine-specific flags to match but ar5523.bin doesn't have.

Pointed by: marcel

# f561843c 06-Apr-2009 Weongyo Jeong <weongyo@FreeBSD.org>

Hook uathload up to the build. It's used for loading the firmware for
uath(4).

# d2a0bb08 05-Apr-2009 Ed Schouten <ed@FreeBSD.org>

Remove if_ppp(4) and if_sl(4).

Not only did these two drivers depend on IFF_NEEDSGIANT, they were
broken 7 months ago during the MPSAFE TTY import. if_ppp(4) has been
replaced by ppp(8). There is no replacement for if_sl(4).

If we see regressions in for example the ports tree, we should just use
__FreeBSD_version 800045 to check whether if_ppp(4) and if_sl(4) are
present. Version 800045 is used to denote the import of MPSAFE TTY.

Discussed with: rwatson, but also rwatson's IFF_NEEDSGIANT emails on the
lists.

# 3975e3a1 23-Feb-2009 Andrew Thompson <thompsa@FreeBSD.org>

Move usb to a graveyard location under sys/legacy/dev, it is intended that the
new USB2 stack will fully replace this for 8.0.

Remove kernel modules, a subsequent commit will update conf/files. Unhook
usbdevs from the build.

# 477f656b 26-Jan-2009 Rafal Jaworowski <raj@FreeBSD.org>

Introduce the I2C diagnostic utility. It let's discover and inspect slave
devices on the bus.

Reviewed by: bms, stas
Obtained from: Semihalf

# efc06131 19-Dec-2008 Sam Leffler <sam@FreeBSD.org>

add makefs to the base system; FreeBSD_version bumped just in case

Reviewed by: imp

# 1b4822a4 26-Nov-2008 Attilio Rao <attilio@FreeBSD.org>

Import an initial revision of the pmcannotate tool.
For further explanations please check this e-mail on freebsd-arch@:
http://lists.freebsd.org/pipermail/freebsd-arch/2008-November/008698.html

Tested by: gnn
Sponsored by: Nokia

# 6f0e1ffd 19-Nov-2008 Alfred Perlstein <alfred@FreeBSD.org>

src/sys/dev/usb2/controller/uss820dci_pccard.c
src/sys/dev/usb2/core/usbdevs
src/sys/dev/usb2/include/urio2_ioctl.h
src/sys/dev/usb2/storage/ustorage2_fs.h

These files are not used any more.

src/usr.sbin/Makefile
src/etc/mtree/BSD.include.dist
src/include/Makefile
src/lib/Makefile
src/share/man/man7/hier.7
src/share/mk/bsd.libnames.mk
src/etc/mtree/BSD.include.dist

Make "usbconfig" and "libusb20" a part of the default build.

src/sys/dev/usb/rio500_usb.h
src/sys/dev/usb2/storage/urio2.c

Use common include file.

src/sys/dev/usb2/bluetooth/ng_ubt2.c

Make USB bluetooth depend on "ng_hci" module.

src/sys/dev/usb2/controller/ehci2.c
src/sys/dev/usb2/controller/ehci2.h

Patches for Marvell EHCI.

src/sys/dev/usb2/core/usb2_busdma.c

Bugfix for 64-bit platforms. Need to unload the previously loaded DMA
map and some cleanup regarding some corner cases.

src/sys/dev/usb2/core/usb2_core.h
src/sys/dev/usb2/core/usb2_dev.c
src/sys/dev/usb2/core/usb2_dev.h

Bugfix for libusb filesystem interface.

New feature: Add support for filtering device data at the expense of the
userland process.

Add some more comments.

Some minor code styling.

Remove unused function, usb2_fifo_get_data_next().

Fix an issue about "fifo_index" being used instead of "ep_index".

src/sys/dev/usb2/core/usb2_device.c
src/sys/dev/usb2/core/usb2_generic.c

Bugfix for Linux USB compat layer. Do not free non-generic FIFOs when
doing an alternate setting.

Cleanup USB IOCTL and USB reference handling.
Fix a corner case where USB-FS was left initialised after
setting a new configuration or alternate setting.

src/sys/dev/usb2/core/usb2_hub.c

Improvement: Check all USB HUB ports by default at least one time.

src/sys/dev/usb2/core/usb2_request.c

Bugfix: Make sure destination ASCII string is properly zero terminated
in all cases.

Improvement: Skip invalid characters instead of replacing with a dot.

src/sys/dev/usb2/core/usb2_util.c
src/sys/dev/usb2/image/uscanner2.c

Spelling.

src/sys/dev/usb2/include/Makefile

Share "usbdevs" with the old USB stack.

src/sys/dev/usb2/include/usb2_devid.h
src/sys/dev/usb2/include/usb2_devtable.h

Regenerate files.

Alfred: Please fix the RCS tag at the top.

src/sys/dev/usb2/include/usb2_ioctl.h

Fix compilation of "kdump".

src/sys/dev/usb2/serial/ubsa2.c
src/sys/dev/usb2/serial/ugensa2.c

Remove device ID's which will end up in a new 3G driver.

src/sys/dev/usb2/sound/uaudio2.c

Correct a debug printout.

src/sys/dev/usb2/storage/umass2.c

Sync with old USB stack.

src/lib/libusb20/libusb20.3

Add more documentation.

src/lib/libusb20/libusb20.c

Various bugfixes and improvements.

src/usr.sbin/usbconfig/dump.c
src/usr.sbin/usbconfig/usbconfig.c

New commands for dumping strings and doing custom USB requests from
the command line.

Remove keyword requirements from generated files:
"head/sys/dev/usb2/include/usb2_devid.h"
"head/sys/dev/usb2/include/usb2_devtable.h"

# 0738c00e 17-Nov-2008 Warner Losh <imp@FreeBSD.org>

Move dumpcis to its own directory, start to decouple from the
pccardc/pccardd history.

# a9148abd 03-Nov-2008 Doug Rabson <dfr@FreeBSD.org>

Implement support for RPCSEC_GSS authentication to both the NFS client
and server. This replaces the RPC implementation of the NFS client and
server with the newer RPC implementation originally developed
(actually ported from the userland sunrpc code) to support the NFS
Lock Manager. I have tested this code extensively and I believe it is
stable and that performance is at least equal to the legacy RPC
implementation.

The NFS code currently contains support for both the new RPC
implementation and the older legacy implementation inherited from the
original NFS codebase. The default is to use the new implementation -
add the NFS_LEGACYRPC option to fall back to the old code. When I
merge this support back to RELENG_7, I will probably change this so
that users have to 'opt in' to get the new code.

To use RPCSEC_GSS on either client or server, you must build a kernel
which includes the KGSSAPI option and the crypto device. On the
userland side, you must build at least a new libc, mountd, mount_nfs
and gssd. You must install new versions of /etc/rc.d/gssd and
/etc/rc.d/nfsd and add 'gssd_enable=YES' to /etc/rc.conf.

As long as gssd is running, you should be able to mount an NFS
filesystem from a server that requires RPCSEC_GSS authentication. The
mount itself can happen without any kerberos credentials but all
access to the filesystem will be denied unless the accessing user has
a valid ticket file in the standard place (/tmp/krb5cc_<uid>). There
is currently no support for situations where the ticket file is in a
different place, such as when the user logged in via SSH and has
delegated credentials from that login. This restriction is also
present in Solaris and Linux. In theory, we could improve this in
future, possibly using Brooks Davis' implementation of variant
symlinks.

Supporting RPCSEC_GSS on a server is nearly as simple. You must create
service creds for the server in the form 'nfs/<fqdn>@<REALM>' and
install them in /etc/krb5.keytab. The standard heimdal utility ktutil
makes this fairly easy. After the service creds have been created, you
can add a '-sec=krb5' option to /etc/exports and restart both mountd
and nfsd.

The only other difference an administrator should notice is that nfsd
doesn't fork to create service threads any more. In normal operation,
there will be two nfsd processes, one in userland waiting for TCP
connections and one in the kernel handling requests. The latter
process will create as many kthreads as required - these should be
visible via 'top -H'. The code has some support for varying the number
of service threads according to load but initially at least, nfsd uses
a fixed number of threads according to the value supplied to its '-n'
option.

Sponsored by: Isilon Systems
MFC after: 1 month

# 1272ddb2 27-Oct-2008 Bjoern A. Zeeb <bz@FreeBSD.org>

We do not have a libkse anymore and Mk/bsd.* does not know
about LIBKSE anymore, so s,MK_LIBKSE,MK_LIBPTHREAD,.

# 2110f388 05-Oct-2008 Marius Strobl <marius@FreeBSD.org>

- Revert to the pre-r183242 behavior of building sade(8) on sparc64.
- Fix whitespace.

# 68c870ab 27-Sep-2008 Antoine Brodin <antoine@FreeBSD.org>

- Build jexec (1) and slstat.
- style.Makefile
Noticed by: Marius (1)

# 0d44ba5d 26-Sep-2008 Marcel Moolenaar <marcel@FreeBSD.org>

The previous commit re-introduced sade on platforms
where it doesn't work. Re-limit sade to amd64 and
i386.

# 690f477d 21-Sep-2008 Sam Leffler <sam@FreeBSD.org>

add new build knobs and jigger some existing controls to improve
control over the result of buildworld and installworld; this especially
helps packaging systems such as nanobsd

Reviewed by: various (posted to arch)
MFC after: 1 month

# a470aba3 19-Sep-2008 Warner Losh <imp@FreeBSD.org>

crunchgen doesn't work yet on mips. So sysinstall can't be built there.
omit it like we do for arm.

# b9b2ce9a 22-Aug-2008 Ollivier Robert <roberto@FreeBSD.org>

Hook back ntp to the build now that I fixed it.

Pointy hat to: me

# 4cb3914f 22-Aug-2008 Bjoern A. Zeeb <bz@FreeBSD.org>

Temporary unhook ntp from the build until the missing net/libopts/Makefile
is in place. The TB is too busy sending mails.

# e085f869 08-Aug-2008 Stanislav Sedov <stas@FreeBSD.org>

- Add cpuctl(4) pseudo-device driver to provide access to some low-level
features of CPUs like reading/writing machine-specific registers,
retrieving cpuid data, and updating microcode.
- Add cpucontrol(8) utility, that provides userland access to
the features of cpuctl(4).
- Add subsequent manpages.

The cpuctl(4) device operates as follows. The pseudo-device node cpuctlX
is created for each cpu present in the systems. The pseudo-device minor
number corresponds to the cpu number in the system. The cpuctl(4) pseudo-
device allows a number of ioctl to be preformed, namely RDMSR/WRMSR/CPUID
and UPDATE. The first pair alows the caller to read/write machine-specific
registers from the correspondent CPU. cpuid data could be retrieved using
the CPUID call, and microcode updates are applied via UPDATE.

The permissions are inforced based on the pseudo-device file permissions.
RDMSR/CPUID will be allowed when the caller has read access to the device
node, while WRMSR/UPDATE will be granted only when the node is opened
for writing. There're also a number of priv(9) checks.

The cpucontrol(8) utility is intened to provide userland access to
the cpuctl(4) device features. The utility also allows one to apply
cpu microcode updates.

Currently only Intel and AMD cpus are supported and were tested.

Approved by: kib
Reviewed by: rpaulo, cokane, Peter Jeremy
MFC after: 1 month

# a37f9716 05-Aug-2008 John Baldwin <jhb@FreeBSD.org>

Add a script to perform simple analysis of a crash dump (either a full
dump or minidump). When the script is run, it generates a text file
containing the output of several commands run againt the core dump such
as kgdb (stack trace), ps, netstat, vmstat, iostat, dmesg, and fstat.

Obtained from: Yahoo!
MFC after: 2 weeks

# 42f17e8c 19-Jul-2008 Marcel Moolenaar <marcel@FreeBSD.org>

Remove sade(8) on the following platforms:
o arm, mips & powerpc: libdisk is non-functional.
o ia64: libdisk is insufficient.

# 94f923b6 04-Jul-2008 John Baldwin <jhb@FreeBSD.org>

Remove the arl(4) driver. It is reported to not work on 6.x or later
even though the driver hasn't changed since 4.x (last known working
release).

# 2e598474 26-May-2008 Bjoern A. Zeeb <bz@FreeBSD.org>

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

# e4372ceb 25-May-2008 Robert Watson <rwatson@FreeBSD.org>

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

# 108e8dd9 09-May-2008 Julian Elischer <julian@FreeBSD.org>

allow setfib to be compiled.

# dbdb679c 29-Mar-2008 Ruslan Ermilov <ru@FreeBSD.org>

Remove options MK_LIBKSE and DEFAULT_THREAD_LIB now that we no longer
build libkse. This should fix WITHOUT_LIBTHR builds as a side effect.

# dfdcada3 26-Mar-2008 Doug Rabson <dfr@FreeBSD.org>

Add the new kernel-mode NFS Lock Manager. To use it instead of the
user-mode lock manager, build a kernel with the NFSLOCKD option and
add '-k' to 'rpc_lockd_flags' in rc.conf.

Highlights include:

* Thread-safe kernel RPC client - many threads can use the same RPC
client handle safely with replies being de-multiplexed at the socket
upcall (typically driven directly by the NIC interrupt) and handed
off to whichever thread matches the reply. For UDP sockets, many RPC
clients can share the same socket. This allows the use of a single
privileged UDP port number to talk to an arbitrary number of remote
hosts.

* Single-threaded kernel RPC server. Adding support for multi-threaded
server would be relatively straightforward and would follow
approximately the Solaris KPI. A single thread should be sufficient
for the NLM since it should rarely block in normal operation.

* Kernel mode NLM server supporting cancel requests and granted
callbacks. I've tested the NLM server reasonably extensively - it
passes both my own tests and the NFS Connectathon locking tests
running on Solaris, Mac OS X and Ubuntu Linux.

* Userland NLM client supported. While the NLM server doesn't have
support for the local NFS client's locking needs, it does have to
field async replies and granted callbacks from remote NLMs that the
local client has contacted. We relay these replies to the userland
rpc.lockd over a local domain RPC socket.

* Robust deadlock detection for the local lock manager. In particular
it will detect deadlocks caused by a lock request that covers more
than one blocking request. As required by the NLM protocol, all
deadlock detection happens synchronously - a user is guaranteed that
if a lock request isn't rejected immediately, the lock will
eventually be granted. The old system allowed for a 'deferred
deadlock' condition where a blocked lock request could wake up and
find that some other deadlock-causing lock owner had beaten them to
the lock.

* Since both local and remote locks are managed by the same kernel
locking code, local and remote processes can safely use file locks
for mutual exclusion. Local processes have no fairness advantage
compared to remote processes when contending to lock a region that
has just been unlocked - the local lock manager enforces a strict
first-come first-served model for both local and remote lockers.

Sponsored by: Isilon Systems
PR: 95247 107555 115524 116679
MFC after: 2 weeks

# 7825a6bd 09-Mar-2008 Poul-Henning Kamp <phk@FreeBSD.org>

Hook fifolog tools up to the build.

To the extent make universe works, it hasn't found any fault with this.

# 104954fe 30-Jan-2008 Peter Grehan <grehan@FreeBSD.org>

Enable ofwdump on powerpc (finally). Tested on G3 & G4 machines.

Submitted by: Dan Stekloff <dsteklof at c i s c o dot com>
Discussed with: marcel

# 77454fb4 05-Dec-2007 David E. O'Brien <obrien@FreeBSD.org>

Reenable the Amd build. 'make world' passed on my amd64 8-CURRENT system.

# 04e1a115 05-Dec-2007 David E. O'Brien <obrien@FreeBSD.org>

Temporarily disable amd for import.

# 8a35283b 15-Oct-2007 Max Laier <mlaier@FreeBSD.org>

Some left over from the sensors framework.

# f4dda8a0 14-Oct-2007 Ruslan Ermilov <ru@FreeBSD.org>

Sort.

# 99f6b270 14-Oct-2007 Alexander Leidinger <netchild@FreeBSD.org>

Import OpenBSD's sysctl hardware sensors framework.

This commit includes the following core components:

* sample configuration file for sensorsd
* rc(8) script and glue code for sensorsd(8)
* sysctl(3) doc fixes for CTL_HW tree
* sysctl(3) documentation for hardware sensors
* sysctl(8) documentation for hardware sensors
* support for the sensor structure for sysctl(8)
* rc.conf(5) documentation for starting sensorsd(8)
* sensor_attach(9) et al documentation
* /sys/kern/kern_sensors.c
o sensor_attach(9) API for drivers to register ksensors
o sensor_task_register(9) API for the update task
o sysctl(3) glue code
o hw.sensors shadow tree for sysctl(8) internal magic
* <sys/sensors.h>
* HW_SENSORS definition for <sys/sysctl.h>
* sensors display for systat(1), including documentation
* sensorsd(8) and all applicable documentation

The userland part of the framework is entirely source-code
compatible with OpenBSD 4.1, 4.2 and -current as of today.

All sensor readings can be viewed with `sysctl hw.sensors`,
monitored in semi-realtime with `systat -sensors` and also
logged with `sensorsd`.

Submitted by: Constantine A. Murenin <cnst@FreeBSD.org>
Sponsored by: Google Summer of Code 2007 (GSoC2007/cnst-sensors)
Mentored by: syrinx
Tested by: many
OKed by: kensmith
Obtained from: OpenBSD (parts)

# 946367b8 09-Oct-2007 David E. O'Brien <obrien@FreeBSD.org>

Tweak the handling of "WITHOUT_LIBPTHREAD". Also remove the accidental
treatment of 'LIBKSE' as an "old style" knob.

Submitted by: ru
Approved by: re(kensmith)

# 65c045e9 09-Oct-2007 David E. O'Brien <obrien@FreeBSD.org>

Repo copy libpthreads to libkse.
This introduces the WITHOUT_LIBKSE nob,
and changes WITHOUT_LIBPTHREADS to mean with neither threading libs.
Approved by: re(kensmith)

# 152f2a4a 01-Oct-2007 Ruslan Ermilov <ru@FreeBSD.org>

Always install libpthread.* symlinks if at least one of
the threading libraries is built. This simplifies the
logic in makefiles that need to check if the pthreads
support is present. It also fixes a bug where we would
build a threading library that we shouldn't have built:
for example, building with WITHOUT_LIBTHR and the default
value of DEFAULT_THREADING_LIB (libthr) would mistakenly
build the libthr library, but not install it.

Approved by: re (kensmith)

# c97fe77d 28-Sep-2007 Michael Bushkov <bushman@FreeBSD.org>

Finishing renaming of cached into nscd. etc/rc.d and usr.sbin/Makefile
updated. Note added to UPDATING.

Approved by: re (kensmith, bmah), brooks (mentor)

# 9143cbe8 27-Jul-2007 Andrew Thompson <thompsa@FreeBSD.org>

Hook wlandebug up to the build.

This tool allows fine grained enabling of the debugging output in net80211 and
its useful to have it available to everyone to diagnose wifi issues.

Approved by: re (rwatson)

# 2b851aeb 14-Jul-2007 Robert Watson <rwatson@FreeBSD.org>

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)

# 60ee3847 02-Jul-2007 Max Laier <mlaier@FreeBSD.org>

Link pf 4.1 to the build:
- move ftp-proxy from libexec to usr.sbin
- add tftp-proxy
- new altq mtag link

Approved by: re (kensmith)

# 069441f7 01-Jul-2007 Andrew Thompson <thompsa@FreeBSD.org>

Remove wicontrol(8) from the base system. Using wicontrol to configure an
interface has been deprecated since 5.1, wi(4) wireless interfaces are managed
via the net80211 stack and ifconfig.

Approved by: re (rwatson)

# da7f7d4b 28-Jan-2007 Poul-Henning Kamp <phk@FreeBSD.org>

Long overdue removal of vnconfig(8)

mdconfig(8) took over the job back when GEOM happened.

PR: 108360
Submitted by: Alex Kozlov<spam@rm-rf.kiev.ua>

# 968ed7ee 27-Nov-2006 Ruslan Ermilov <ru@FreeBSD.org>

Push the detection of threading libs support down to ngctl/Makefile
as the latter can be built without threading (with the loss of line
editing functionality).

Pointed by: glebius

# 8af480ae 26-Nov-2006 Ruslan Ermilov <ru@FreeBSD.org>

- When building world WITHOUT_LIBPTHREAD, link libthr to libpthread.
- Don't build ngctl(8) and cached(8) if threading libs aren't built.
- Fix various issues in a cached(8) makefile.

# c42d8ce5 15-Nov-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Building faithd(8) has no sense if WITHOUT_INET6 is set.

PR: bin/100805 (audit-trail)
Noticed by: Alex Kozlov

# a8a3bce9 18-Oct-2006 Warner Losh <imp@FreeBSD.org>

Always build pccardc.

# I should remove the oldcard vestages from it...

# c0f20e27 04-Oct-2006 Ruslan Ermilov <ru@FreeBSD.org>

Sort SUBDIR.

# 13b3ebf1 29-Sep-2006 Bruce M Simpson <bms@FreeBSD.org>

Remove mrouted and its utilities from the base system.
They may now be obtained from ports.

Discussed with: fenner, net@

# 48ffe56a 31-Aug-2006 Colin Percival <cperciva@FreeBSD.org>

Add FreeBSD Update 2.0 client code. The build code is in the projects
repository.

Sponsored by: FreeBSD security development fundraiser

# a1800335 21-Aug-2006 Marcel Moolenaar <marcel@FreeBSD.org>

Build mount_smbfs on ia64.

# 98a746cf 09-Aug-2006 Alexander Leidinger <netchild@FreeBSD.org>

Readd sade, the problem should be fixed.

# fdffd7ed 08-Aug-2006 Sam Leffler <sam@FreeBSD.org>

disconnect sade until someone fixes tinderbox builds

# 41ae1d1e 07-Aug-2006 Alexander Leidinger <netchild@FreeBSD.org>

Connect sade to the build.

# d73f8b66 02-Aug-2006 Marcel Moolenaar <marcel@FreeBSD.org>

Remove remnants of Alpha.

# e5d34218 01-Aug-2006 Maxim Sobolev <sobomax@FreeBSD.org>

Add device to access and modify Open Firmware NVRAM settings in
PowerPC-based Apple's machines and small utility to do it from
userland modelled after the similar utility in Darwin/OSX.

Only tested on 1.25GHz G4 Mac Mini.

MFC after: 1 month

# ad4c6857 27-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

ip6addrctl belongs to under MK_INET6, it is of no use w/o IPv6
in the system.

# bc34ace3 27-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

ndp, rrenumd, rtadvd, and rtsold are IPv6-only tools,
they belong to under MK_INET6 with their friends.

# f6ce2a64 17-May-2006 Poul-Henning Kamp <phk@FreeBSD.org>

Send the pcvt(4) driver off to retirement.

# 06a99fe3 27-Apr-2006 Hajimu UMEMOTO <ume@FreeBSD.org>

- Extend the nsswitch to support Services, Protocols and Rpc
databases.
- Make nsswitch support caching.

Submitted by: Michael Bushkov <bushman__at__rsu.ru>
Sponsored by: Google Summer of Code 2005

# 295c5dea 12-Apr-2006 Ruslan Ermilov <ru@FreeBSD.org>

libc_r is no longer provided, and on alpha and sparc64, libthr
is (sym)linked to libpthread. Account for this change and
check for MK_LIBTHR instead of MK_LIBC_R where appropriate.

# cea557ad 20-Mar-2006 Ruslan Ermilov <ru@FreeBSD.org>

Extend coverage of the MK_IPX build option to the following:

- <netipx> headers [1]
- IPX library (libipx)
- IPX support in ifconfig(8)
- IPXrouted(8)
- new MK_NCP option

New MK_NCP build option controls:

- <netncp> and <fs/nwfs> headers
- NCP library (libncp)
- ncplist(1) and ncplogin(1)
- mount_nwfs(8)
- ncp and nwfs kernel modules

User knobs: WITHOUT_IPX, WITHOUT_IPX_SUPPORT, WITHOUT_NCP.

[1] <netsmb/netbios.h> unconditionally uses <netipx> headers
so they are still installed. This needs to be dealt with.

# e1fe3dba 17-Mar-2006 Ruslan Ermilov <ru@FreeBSD.org>

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)

# 73fd2d1e 27-Feb-2006 Hartmut Brandt <harti@FreeBSD.org>

Reconnect bsnmpd to the build. It was temporarily disable because of a
mis-import. Thanks for fixing this to markm@.

# 6470320f 18-Feb-2006 Robert Watson <rwatson@FreeBSD.org>

Build audit command line tools only if NO_AUDIT isn't defined.

Submitted by: brueffer
Obtained from: TrustedBSD Project

# 67403c2b 14-Feb-2006 Hartmut Brandt <harti@FreeBSD.org>

Disconnect bsnmp from the build until the breakage is sorted out.

# e97cfaad 02-Feb-2006 Robert Watson <rwatson@FreeBSD.org>

Remove reference to auditon(8), this tool has been superseded by
auditd(8), and was committed in error.

Obtained from: TrustedBSD Project

# 8d87990e 02-Feb-2006 Robert Watson <rwatson@FreeBSD.org>

Enable building of OpenBSM command line tools:

- audit(8) - audit subsystem management tool
- auditd(8) - audit trail and subsystem management daemon
- auditreduce(1) - audit trail reduction tool
- praudit(1) - audit trail printing tool

Could probably use a NO_AUDIT make.conf flag.

Obtained from: TrustedBSD Project

# 2e46a159 14-Dec-2005 Ian Dowse <iedowse@FreeBSD.org>

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

# 179e20ab 17-Oct-2005 Poul-Henning Kamp <phk@FreeBSD.org>

Hook ipfwpcap into the build tree.

# a0b8a85f 12-Oct-2005 Pawel Jakub Dawidek <pjd@FreeBSD.org>

setkey(8) was repo-copied from usr.sbin/ to sbin/.
This will allow for NFS mount of /usr over IPsec.

Discussed on: arch@

# 6fa40729 03-Oct-2005 Scott Long <scottl@FreeBSD.org>

Add the lmcconfig tool for controlling the lmc driver. Add man pages and
glue.

Submitted by: David Boggs

# 161a5ba8 28-Sep-2005 Ruslan Ermilov <ru@FreeBSD.org>

Sort SUBDIR.

# 59fa7082 19-Sep-2005 R. Imura <imura@FreeBSD.org>

Connect smbfs build on powerpc.

# 6fb01948 08-Aug-2005 Colin Percival <cperciva@FreeBSD.org>

Add portsnap to the base system. This is a secure, easy to use,
fast, lightweight, and generally good way for users to keep their
ports trees up to date.

This is version 0.9.4 from the ports tree (sysutils/portsnap) with
the following changes:
1. The experimental pipelined http code is enabled. No seatbelts
in -CURRENT. (^_^)
2. The working directory has moved from /usr/local/portsnap to
/var/db/portsnap (as discussed on -arch two days ago).
3. Portsnap now fetches a list of mirrors (distributed as DNS SRV
records) and selects one randomly. This should help to avoid the
uneven loading which plagues the cvsup mirror network.
4. The license is now 2-clause BSD instead of 3-clause BSD.
5. Various incidental changes to make portsnap fit into the base
system's build mechanics.

X-MFC-After: 6.0-RELEASE
X-MFC-Before: 5.5-RELEASE
X-MFC-To: RELENG_6, RELENG_5, ports
discussed on: -arch and several other places
"yes please" from: simon, remko, flz, Diane Bruce
thinks this is a great idea: bsdimp
Hopes he didn't forget any files: cperciva

# 4b0a1b8b 03-Aug-2005 Poul-Henning Kamp <phk@FreeBSD.org>

Add NO_PCVT

# 8f61cf9c 20-Jul-2005 Mark Santcroos <marks@FreeBSD.org>

Connect snapinfo to the build.

# f67f6dd2 05-Jun-2005 Sam Leffler <sam@FreeBSD.org>

hookup wpa tools to the build

# a8697306 25-Apr-2005 Darren Reed <darrenr@FreeBSD.org>

all the ipfilter tools are now built from sbin/Makefile, so remove them from
this Makefile.

# cf7152ab 20-Apr-2005 Marcel Moolenaar <marcel@FreeBSD.org>

Build pmccontrol(8) and pmcstat(8) on all architectures (FWIW :-)

Ok'd by: jkoshy@

# 84a5e458 19-Apr-2005 Joseph Koshy <jkoshy@FreeBSD.org>

Unbreak tinderbox builds for ${MACHINE_ARCH} != "i386" or "amd64".

Pointed out by: ru.

# ebccf1e3 18-Apr-2005 Joseph Koshy <jkoshy@FreeBSD.org>

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)

# f8eecc08 31-Mar-2005 Warner Losh <imp@FreeBSD.org>

Since there are now more than a couple exceptions to the i386 rule,
group them better.

# 4358d229 31-Mar-2005 Warner Losh <imp@FreeBSD.org>

There's no wl cards for PC98. These are ISA only, and no cbus
versions exist, much less having support for it in the wl driver.
Therefore, don't build wlconfig.

# 587017fb 31-Mar-2005 Warner Losh <imp@FreeBSD.org>

pcvt doesn't exist on pc98, so don't build pcvt routines that have no
value.

# 841ed6bb 31-Mar-2005 Warner Losh <imp@FreeBSD.org>

There's no acpi in pc98 machines, nor do we build it into the kernel.
Therefore, don't build the acpi userland binaries either.

OK'd by: nate

# 4e012474 29-Mar-2005 Bill Paul <wpaul@FreeBSD.org>

Attach ndiscvt(8) to the amd64 build.

# c3c5f9cd 26-Feb-2005 Nate Lawson <njl@FreeBSD.org>

Hook powerd up to the build.

# 212a79b0 06-Feb-2005 Maxim Konovalov <maxim@FreeBSD.org>

o Implement net.inet.tcp.drop sysctl and userland part, tcpdrop(8)
utility:

The tcpdrop command drops the TCP connection specified by the
local address laddr, port lport and the foreign address faddr,
port fport.

Obtained from: OpenBSD
Reviewed by: rwatson (locking), ru (man page), -current
MFC after: 1 month

# 731db6a4 21-Dec-2004 Ruslan Ermilov <ru@FreeBSD.org>

NOINET6 -> NO_INET6

# a2161735 21-Dec-2004 Ruslan Ermilov <ru@FreeBSD.org>

NOCRYPT -> NO_CRYPT

# 07736e20 21-Dec-2004 Ruslan Ermilov <ru@FreeBSD.org>

NOATM -> NO_ATM

# f1f6253f 21-Dec-2004 Ruslan Ermilov <ru@FreeBSD.org>

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

# 6c58990d 13-Nov-2004 Bjoern A. Zeeb <bz@FreeBSD.org>

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

# 79e295e8 02-Oct-2004 Poul-Henning Kamp <phk@FreeBSD.org>

Get debugging macros from sivar.h

Disable some code which magics minor numbers into card/port numbers.
I think we will have to parse this from the device name in the future,
but I need to confer with peter@ about this.

Put sicontrol back in the build.

Troublespotter: dwhite

# 77f2cf5c 02-Oct-2004 Poul-Henning Kamp <phk@FreeBSD.org>

Augh!

Disconnect sicontrol(8) from the build while I sort out the trouble
I created.

# 2a614447 27-Sep-2004 Doug Barton <dougb@FreeBSD.org>

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

# acb4f782 25-Sep-2004 Ruslan Ermilov <ru@FreeBSD.org>

Revert to always descending into the "bsnmp" subdir -- gensnmptree
and bsnmpd should not be controlled by the NOATM knob.

# 0ddb9d7a 24-Sep-2004 Tom Rhodes <trhodes@FreeBSD.org>

Uncomment bsnmpd so it can build.

Noticed by: dougb

# 619baffc 24-Sep-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

More remnants of BIND 8; these live in usr.sbin now.

# 57628e38 23-Sep-2004 Olivier Houchard <cognet@FreeBSD.org>

kgmon works on arm, so make it parts of the build for arm as well.

# f0d1f5bb 23-Sep-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Style fix.

Submitted by: ru@

# 11d9d041 21-Sep-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Clean up and comment config.mk. Centralize more stuff. Bitch if
POSIX threads libraries are not available. Add crypto support if
the crypto libraries are available. Build dnssec-{keygen,signzone}
if crypto is available.

Submitted by: (in part) dougb@

# cd3ee173 21-Sep-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Switch from BIND 8 to BIND 9.

Submitted by: (in part) dougb@, trhodes@
Reviewed by: dougb@, trhodes@, re@
MFC after: 5 days

# 5f99200f 16-Sep-2004 Gleb Smirnoff <glebius@FreeBSD.org>

Userland control utility for ng_netflow.

Approved by: julian (mentor)

# fb35b471 29-Aug-2004 Marcel Moolenaar <marcel@FreeBSD.org>

Build kgmon(8) on ia64.

# 64349aaa 28-Jul-2004 Alexander Kabaev <kan@FreeBSD.org>

Temporarily disable kernbb utility. It has to learn about new gcov data
format first.

# 23d1e148 07-Jul-2004 Maksim Yevmenkin <emax@FreeBSD.org>

Make bluetooth compile on all platforms

Reviewed by: imp, ru

# a5663451 01-Jun-2004 Max Khon <fjoe@FreeBSD.org>

Finish repo move arlconfig -> arlcontrol.

# be8282ba 23-May-2004 Bruce Evans <bde@FreeBSD.org>

Build kgmon for amd64.

# 156e1dec 22-May-2004 Marius Strobl <marius@FreeBSD.org>

Hook eeprom(8) up to the FreeBSD/sparc64 build.

# 80cdf39a 17-May-2004 Joerg Wunsch <joerg@FreeBSD.org>

Wire smbmsg(8) into the build.

# 7a08579a 14-May-2004 Peter Grehan <grehan@FreeBSD.org>

Hook sysinstall to the build for powerpc.

# c7730c31 14-May-2004 Olivier Houchard <cognet@FreeBSD.org>

Do not build sysintall for arm.

# d67e2df2 17-Mar-2004 Yoshihiro Takahashi <nyan@FreeBSD.org>

Move the _arlconfig define in the existing i386 section.

Suggested by: ru

# b6e2fc37 15-Mar-2004 Yoshihiro Takahashi <nyan@FreeBSD.org>

The arlconfig is needed on i386 only.

# 798f0e16 15-Mar-2004 Max Khon <fjoe@FreeBSD.org>

Add arl(4): driver for Aironet Arlan 655 wireless adapters.

MFC after: 2 weeks

# 2c87f688 14-Mar-2004 Warner Losh <imp@FreeBSD.org>

The gsc driver has been retired, so retire its control program.

# f1e5dca6 13-Mar-2004 Warner Losh <imp@FreeBSD.org>

These go along with the stl and stli drivers, recently removed.

# f8325b42 13-Mar-2004 Peter Wemm <peter@FreeBSD.org>

Re-kill ispcvt on amd64 - rc.d/syscons was fixed ages ago.

# 5de697a6 13-Mar-2004 Colin Percival <cperciva@FreeBSD.org>

Don peril-sensitive glasses and throw the switch to move nologin(8) from
/sbin to /usr/sbin. A symlink from /sbin/nologin -> /usr/sbin/nologin
is created for compatibility purposes.

This will probably not cause any problems, but anyone who is doing
anything particularly unusual with nologin(8) or shells in general might
be well advised to check that everything still works.

Bikesheds on: cvs-all, current

# 8d69c48b 08-Mar-2004 Max Laier <mlaier@FreeBSD.org>

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)

# 4543f32e 31-Jan-2004 Daniel Eischen <deischen@FreeBSD.org>

Move the checks for whether or not to build pppctl to
the architecture-dependent sections of the Makefile.

Submitted by: ru

# 82e90399 31-Jan-2004 Daniel Eischen <deischen@FreeBSD.org>

Add some logic so that pppctl isn't built if the correct threading library
is not present.

Noticed by: ru

# 18d948ad 27-Jan-2004 Maksim Yevmenkin <emax@FreeBSD.org>

Add NO_BLUETOOTH knob to the build process

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

# 93970e26 20-Jan-2004 Ruslan Ermilov <ru@FreeBSD.org>

Also sort ignoring case -- makes finding things by browsing easier.

# d10a8d6c 16-Jan-2004 Ruslan Ermilov <ru@FreeBSD.org>

- Build things in pure dictionary order (see sort(1)).

- Unify the conditional assignments section so that architectural
exclusions come first, then options and !options, sorted by the
option name, also in directory order, then architecture specific
sections, sorted by the architecture name, with i386 being a
traditional exception.

Prodded by: bde

# 0d27d140 11-Dec-2003 Bill Paul <wpaul@FreeBSD.org>

Commit the first cut of Project Evil, also known as the NDISulator.

Yes, it's what you think it is. Yes, you should run away now.

This is a special compatibility module for allowing Windows NDIS
miniport network drivers to be used with FreeBSD/x86. This provides
_binary_ NDIS compatibility (not source): you can run NDIS driver
code, but you can't build it. There are three main parts:

sys/compat/ndis: the NDIS compat API, which provides binary
compatibility functions for many routines in NDIS.SYS, HAL.dll
and ntoskrnl.exe in Windows (these are the three modules that
most NDIS miniport drivers use). The compat module also contains
a small PE relocator/dynalinker which relocates the Windows .SYS
image and then patches in our native routines.

sys/dev/if_ndis: the if_ndis driver wrapper. This module makes
use of the ndis compat API and can be compiled with a specially
prepared binary image file (ndis_driver_data.h) containing the
Windows .SYS image and registry key information parsed out of the
accompanying .INF file. Once if_ndis.ko is built, it can be loaded
and unloaded just like a native FreeBSD kenrel module.

usr.sbin/ndiscvt: a special utility that converts foo.sys and foo.inf
into an ndis_driver_data.h file that can be compiled into if_ndis.o.
Contains an .inf file parser graciously provided by Matt Dodd (and
mercilessly hacked upon by me) that strips out device ID info and
registry key info from a .INF file and packages it up with a binary
image array. The ndiscvt(8) utility also does some manipulation of
the segments within the .sys file to make life easier for the kernel
loader. (Doing the manipulation here saves the kernel code from having
to move things around later, which would waste memory.)

ndiscvt is only built for the i386 arch. Only files.i386 has been
updated, and none of this is turned on in GENERIC. It should probably
work on pc98. I have no idea about amd64 or ia64 at this point.

This is still a work in progress. I estimate it's about %85 done, but
I want it under CVS control so I can track subsequent changes. It has
been tested with exactly three drivers: the LinkSys LNE100TX v4 driver
(Lne100v4.sys), the sample Intel 82559 driver from the Windows DDK
(e100bex.sys) and the Broadcom BCM43xx wireless driver (bcmwl5.sys). It
still needs to have a net80211 stuff added to it. To use it, you would
do something like this:

# cd /sys/modules/ndis
# make; make load
# cd /sys/modules/if_ndis
# ndiscvt -i /path/to/foo.inf -s /path/to/foo.sys -o ndis_driver_data.h
# make; make load
# sysctl -a | grep ndis

All registry keys are mapped to sysctl nodes. Sometimes drivers refer
to registry keys that aren't mentioned in foo.inf. If this happens,
the NDIS API module creates sysctl nodes for these keys on the fly so
you can tweak them.

An example usage of the Broadcom wireless driver would be:

# sysctl hw.ndis0.EnableAutoConnect=1
# sysctl hw.ndis0.SSID="MY_SSID"
# sysctl hw.ndis0.NetworkType=0 (0 for bss, 1 for adhoc)
# ifconfig ndis0 <my ipaddr> netmask 0xffffff00 up

Things to be done:

- get rid of debug messages
- add in ndis80211 support
- defer transmissions until after a status update with
NDIS_STATUS_CONNECTED occurs
- Create smarter lookaside list support
- Split off if_ndis_pci.c and if_ndis_pccard.c attachments
- Make sure PCMCIA support works
- Fix ndiscvt to properly parse PCMCIA device IDs from INF files
- write ndisapi.9 man page

PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:

# 70005bdb 09-Dec-2003 David E. O'Brien <obrien@FreeBSD.org>

Add just enough of i386/include/pcvt_ioctl.h to amd64/include/pcvt_ioctl.h
such that 'ispcvt' can build. Unforunately 'ispcvt' is needed in order for
/etc/rc.d/syscons to run. This fixes the bug where I could not get my
keymap effective at boot.

# bf164734 02-Dec-2003 Brooks Davis <brooks@FreeBSD.org>

Reconnect ipfstat, ipnat, and ipftest to the build now that if_xname
support is enabled.

Approved by: re (scottl)

# 5597389c 10-Nov-2003 Hartmut Brandt <harti@FreeBSD.org>

Link the SNMP daemon for NgATM to the build.

# cb3e210e 02-Nov-2003 Marcel Moolenaar <marcel@FreeBSD.org>

Build zzz(8) on ia64. It first checks ACPI before it checks for APM.
It will therefore always suspend using ACPI.

# cd30ca94 31-Oct-2003 Brooks Davis <brooks@FreeBSD.org>

Temporarily disconnect ipfstat, ipnat, and ipftest to unbreak world.

Pointy hat to: brooks

# f71d0e11 30-Oct-2003 Hajimu UMEMOTO <ume@FreeBSD.org>

add ip6addrctl(8) which is a command to configure address
selection policy for IPv6 and IPv4 described in RFC3484.
source address selection part of RFC3484 is not merged
from KAME, yet.

Obtained from: KAME

# 869093b1 24-Oct-2003 Hidetoshi Shimokawa <simokawa@FreeBSD.org>

Add dumb console driver and related bits.

dcons(4): very simple console and gdb port driver
dcons_crom(4): FireWire attachment
dconschat(8): User interface to dcons

Tested with: i386, i386-PAE, and sparc64.

# 0986ab12 12-Oct-2003 Maksim Yevmenkin <emax@FreeBSD.org>

Update Bluetooth code.

Reviewed by: M. Warner Losh <imp@bsdimp.com>; John Hay <jhay@freebsd.org>
Approved by: M. Warner Losh <imp@bsdimp.com> (mentor)

# 9afe34c1 29-Sep-2003 Peter Wemm <peter@FreeBSD.org>

Add asf for amd64

# 40255f22 29-Sep-2003 Peter Wemm <peter@FreeBSD.org>

Add mptable

# 0346a1de 16-Sep-2003 Marcel Moolenaar <marcel@FreeBSD.org>

Add acpi to the build on ia64. The support for ACPI 2.0x has gotten
to a point where we don't map the wrong (ie 32-bit) addresses. We
don't always dump the right values yet, but that's not critical.

Ok'd: njl

# 3bc2f9a8 29-Aug-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Introduce more knobs to slim down FreeBSD userland

NO_TOOLCHAIN skips Compilers and Binutils
NO_USB skips USB stuff
NO_VINUM skips Vinum stuff
NO_ACPI skips ACPI stuff

# 403a9c73 29-Aug-2003 Greg Lehey <grog@FreeBSD.org>

Add asf to i386 build. This will probably work on other platforms
too, but I don't have time to test it, and I'm not sure it will help
much.

# dd0b8d3c 27-Aug-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Make build of atm, mld6query, rip6query, route6d and traceroute6
depend on existing NOATM and NOINET6 conditionals.

# 1c327ba7 12-Aug-2003 David E. O'Brien <obrien@FreeBSD.org>

Imply NOLIBC_R for PowerPC.

# 16f56401 25-Jul-2003 Peter Wemm <peter@FreeBSD.org>

Fix amd64 build by deleting trailing whitespace. Doh!

# ebb9f0ef 24-Jul-2003 Mark Murray <markm@FreeBSD.org>

Don't check for the existance of src/crypto/ for building items that
may contain crypto. The days of ITAR paranoia are over, and the simple
macro tests that remain are sufficient.

# 92c3d427 23-Jul-2003 Peter Wemm <peter@FreeBSD.org>

Add mount_nwfs/mount_smbfs to the build for amd64.

# 19f2b0e8 23-Jul-2003 Peter Wemm <peter@FreeBSD.org>

Attach acpi, boot0cfg, lptcontrol, sicontrol, spkrtest, zzz for amd64.

# 3b18f47d 14-Jul-2003 Nate Lawson <njl@FreeBSD.org>

Hook zzz up to the build.

# d928e581 02-Jul-2003 Gordon Tetlow <gordon@FreeBSD.org>

Move mount_portalfs, mount_smbfs, and mount_nwfs from sbin to usr.sbin.
They don't have alot of reason to be in sbin and contribute to library
bloat in the dynamic case. If you are using any of these filesystem
type to hold your /usr, please seek professional help.

The actual code was repo-copied by joe.

# 370c3cb5 26-Jun-2003 Sean Kelly <smkelly@FreeBSD.org>

- Add a software watchdog facility.

This commit has two pieces. One half is the watchdog kernel code which lives
primarily in hardclock() in sys/kern/kern_clock.c. The other half is a userland
daemon which, when run, will keep the watchdog from firing while the userland
is intact and functioning.

Approved by: jeff (mentor)

# 14823ba8 24-Jun-2003 Julian Elischer <julian@FreeBSD.org>

Temporarily re-remove the bluetooth tools..
there are problems with their Makefiles I wasn't aware of..

Pointed out by: ru@

# 8590c016 24-Jun-2003 Julian Elischer <julian@FreeBSD.org>

Connect bluetooth tools for i386 only.
These are probably machine independent, but
there is no way for the developers to test them other than on x86.

They will become MD as testing becomes possible.

# abe6d58e 20-Jun-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Remove dev_mkdb(8). The kernel answers these questions.

# a6f4ec06 02-Jun-2003 Peter Wemm <peter@FreeBSD.org>

Turn on btxld for amd64.

# 3aefe094 02-Jun-2003 Peter Wemm <peter@FreeBSD.org>

Port libc_r to amd64, and turn it back on for amd64. It passes all of
the same src/lib/libc_r/test/* tests that the other platforms pass.

# 7dd68385 25-May-2003 Peter Wemm <peter@FreeBSD.org>

Add a pretty cheesy hack to avoid a gcc-3.2.2 ICE (internal compiler
error) on amd64 when doing pointer subtraction. This bug is already
fixed in gcc-3.3 (waiting for after the branch), and the hack will be
backed out at the first opportunity. This is in the ipv6 code path.

Approved by: re (scottl)

# 14682d7e 24-May-2003 Peter Wemm <peter@FreeBSD.org>

no libc_r on amd64 yet -> no pppctl.

Approved by: re (safe amd64 changes)

# ec480a97 12-May-2003 Peter Wemm <peter@FreeBSD.org>

Add __amd64__ to an ifdef set so that pppd compiles. Reactivate on amd64.

Approved by: re (amd64 "safe" ifdefs etc)

# bd16ce64 09-May-2003 Peter Wemm <peter@FreeBSD.org>

Turn off ppp (ICE) and pppd (cc objects to a varargs decl) on amd64.

# 32660658 26-Apr-2003 Warner Losh <imp@FreeBSD.org>

These are no longer needed after tw is gone.

Approved by: re@ (scottl)

# a362eb63 09-Apr-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Diskinfo is a small program to access the basic properties of a disk device:
sectorsize, mediasize etc.

It also contains a small and naïve benchmark which reports on seek
and transfer performance.

# ebf5d9bc 08-Apr-2003 Mike Barcroft <mike@FreeBSD.org>

o Add jls(8) for listing active jails.
o Add jexec(8) to execute a command in an existing jail.
o Add -j option for killall(1) to kill all processes in a specified
jail.
o Add -i option to jail(8) to output jail ID of newly created jail.

# 54a8adab 20-Mar-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Add a rudimentary gstat(8) to the system.

This is a small curses based program which shows the diskactivity
inside GEOM.

# 59aca3e4 11-Mar-2003 Ruslan Ermilov <ru@FreeBSD.org>

Revert rev. 1.244 change -- only build kgzip(8) on i386.
(The cross-release needs will be satisfied another way.)

# 0bc81187 20-Feb-2003 David E. O'Brien <obrien@FreeBSD.org>

Some things don't build for PowerPC yet.

List from: benno

# 69ceaabd 04-Feb-2003 Ruslan Ermilov <ru@FreeBSD.org>

Always build kgzip(8); needed to cross-release i386.

# 1326e03f 21-Jan-2003 Warner Losh <imp@FreeBSD.org>

pccardd and pccardc are for i386 and pc98 only. Don't build them on
other architectures.

Pointed out by: peter

# d8851469 05-Jan-2003 Marcel Moolenaar <marcel@FreeBSD.org>

Enable pppctl(8) on ia64.

# 26bb0633 05-Jan-2003 Thomas Moestl <tmm@FreeBSD.org>

Build pppctl on sparc64, now that we have libc_r.

# a7a73b95 30-Dec-2002 Hidetoshi Shimokawa <simokawa@FreeBSD.org>

Import FireWire userland utility.

# cbb66355 30-Dec-2002 David E. O'Brien <obrien@FreeBSD.org>

Move elf2aout back to /usr/bin -- it is a general development tool, not
a sysadmin tool.

# a959270a 01-Nov-2002 Jake Burkholder <jake@FreeBSD.org>

Build sysinstall on sparc64.

# 52fe5948 26-Oct-2002 Peter Wemm <peter@FreeBSD.org>

Un-remove sysinstall for ia64.

# c295abba 25-Oct-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Explicitly list architectures supporting sysinstall

# 5b38a427 22-Oct-2002 Robert Watson <rwatson@FreeBSD.org>

Introduce simple command line tools to manage MAC labels on processes and
files. Basically wrappers for mac_{get,set}_{file,link,pid,proc}(3).
Man pages to be updated shortly.

Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

# 6f6ede92 18-Oct-2002 Thomas Moestl <tmm@FreeBSD.org>

Connect ofwdump to the sparc64 build.

# 039f96db 19-Sep-2002 Julian Elischer <julian@FreeBSD.org>

Pppctl seems to compile again now

# 8da4b356 17-Sep-2002 Peter Wemm <peter@FreeBSD.org>

Add i386 to the list of architectures that libc_r is broken on. This
effectively removes pppctl from the build for now. It only compiles on
alpha now (now ironic).

# caefa400 02-Sep-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Switch over to the new EA manipulation utilities.

Sponsored by: DARPA & NAI Labs.

# 34d26f04 02-Aug-2002 Robert Watson <rwatson@FreeBSD.org>

Introduce support for Mandatory Access Control and extensible
kernel access control.

Provide ugidfw, a utility to manage the ruleset provided by
mac_bsdextended. Similar to ipfw, only for uids/gids and files.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs

# 8f40768a 07-Jul-2002 Gordon Tetlow <gordon@FreeBSD.org>

Hook nfsd and mountd back into the build in /usr/sbin, where they make more
sense. Since portmap/rpcbind is in /usr/sbin it doesn't make any sense for
nfsd and mountd to be in /sbin.

For the record, NetBSD has them in /usr/sbin while OpenBSD has them in /sbin

PR: bin/30972
Reviewed by: jake (mentor)

# 3b46313d 15-Jun-2002 Hajimu UMEMOTO <ume@FreeBSD.org>

Don't install obsolete gifconfig(8). Please use ifconfig(8) instead.

# 23d84069 15-Jun-2002 Hajimu UMEMOTO <ume@FreeBSD.org>

Don't install obsolete prefix(8). We now have `ifconfig eui64'.

# 2d80eecc 31-May-2002 Ruslan Ermilov <ru@FreeBSD.org>

We don't build libc_r on sparc64 for the moment.

# 0367ff75 28-May-2002 Peter Wemm <peter@FreeBSD.org>

Put on peril sensitive sunglasses and turn C++ stuff back on.

# 02c0301f 25-May-2002 Ruslan Ermilov <ru@FreeBSD.org>

Move elf2aout to usr.sbin/.

Approved by: jake

# 67b831cc 09-May-2002 David E. O'Brien <obrien@FreeBSD.org>

Turn off pppctl -- it won't like with an in-tree Gcc 3.1 built libc_r.

# 47006c28 20-Apr-2002 Jake Burkholder <jake@FreeBSD.org>

sysinstall compiles on sparc64.

# 09201d1c 08-Apr-2002 Peter Wemm <peter@FreeBSD.org>

Reactivate sysinstall, it does work on ia64.

# 7a1f3f7f 08-Apr-2002 David E. O'Brien <obrien@FreeBSD.org>

Sysinstall does not work on ia64 and sparc64 yet. :-)

# 0bd6af07 02-Apr-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Send diskpart to the eternal storage device (SMD probably :-) where
it belongs.

# 7a43a96a 21-Mar-2002 Ruslan Ermilov <ru@FreeBSD.org>

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

# a3a263e3 19-Mar-2002 David E. O'Brien <obrien@FreeBSD.org>

Remove ipftest until the committer can actually test his changes.

# 0d61ca69 15-Mar-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Revert previous revision; sysinstall should build fine now even when cross-
building, plus ru says the previous revision didn't actually achieve what
it was meant to achieve.

# 8580fd6b 12-Mar-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Don't try to cross-build sysinstall.

# 40b36f54 17-Feb-2002 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Add editmap, a new utility which comes with sendmail 8.12 for editing maps in
place.

# a4dc000e 11-Feb-2002 David E. O'Brien <obrien@FreeBSD.org>

Revert rev 1.211, kernel building assistants should live in /sys

# eda20719 11-Feb-2002 David E. O'Brien <obrien@FreeBSD.org>

Turn on makeobjops.

# 9fe9bee4 03-Nov-2001 Peter Wemm <peter@FreeBSD.org>

Exclude pppctl on ia64 due to libc_r. I had been building with
-DNOLIBC_R, but this is a little safer.

# ab5e5d7b 23-Oct-2001 Peter Wemm <peter@FreeBSD.org>

ia64 support: move pnpinfo to i386 and alpha sections for now. i386 has
native inb/outb etc, and alpha has libio. ia64 doesn't have any yet.

move pppctl to the NOLIBC_R section (libc_r is not possible on ia64 in
its present form due to assumptions about setjmp/longjmp magic)

# 9c6f9240 10-Sep-2001 Peter Wemm <peter@FreeBSD.org>

Add kldxref(8), for maintaining the linker.hints file for translating
module->pathname.ko. It supports only ELF for now.

Submitted by: bp (with some minor tweaks)

# bd06a3ec 29-Aug-2001 Mike Barcroft <mike@FreeBSD.org>

Add a new utility that runs an executable detached from the
controlling terminal.

Discussed on: -hackers
Obtained from: BSD/OS

# 96b7a6e4 28-Aug-2001 David E. O'Brien <obrien@FreeBSD.org>

Remove `diskcheckd'. It is now in ports/sysutils.

Consensus on: freebsd-current.

# cccce27a 17-Aug-2001 Peter Wemm <peter@FreeBSD.org>

Correct path (../crypto, not ../../crypto)

# a8ec1b48 02-Aug-2001 Maxim Sobolev <sobomax@FreeBSD.org>

Fix a cryptoless world by disconnecting libmp from the build when there is no
crypto bits installed and/or NOCRYPTO/NO_OPENSSL is defined. This unfortunately
meants that usr.bin/chkey, usr.bin/newkey and usr.sbin/keyserv have also to
be disconnected.

IMO it is merely a workaround, the proper solution is to move libmp to
src/crypto where it belongs and use libgmp for the cryptoless builds instead.

Missed by: dd

# 849f35cf 03-Jun-2001 Poul-Henning Kamp <phk@FreeBSD.org>

Add diskcheck-daemon.

With a small disk being 20GB these days, chances are pretty good that
an ailing sector will not be read while still being recoverable by
the drive.

Diskcheck daemon will read disks in the background at a low rate and
that way give the diskdrive a chance to detect and correct soft read
errors before they become hard errors.

Idea by: phk
Written by: ben

# 2d754db7 03-Jun-2001 Hajimu UMEMOTO <ume@FreeBSD.org>

Remove pim6[ds]d from the tree. The software had a restrictive license
than we can handle. pim6[ds]d are available as ports instead.

# f3bb47cc 23-May-2001 Ruslan Ermilov <ru@FreeBSD.org>

Add NO_I4B to avoid building/installing isdn4bsd package.

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

# 146e5df7 14-May-2001 Joerg Wunsch <joerg@FreeBSD.org>

Include fdread(1) into the parent Makefile.

# ad01e0c8 01-May-2001 Brian Somers <brian@FreeBSD.org>

Add a ``digi'' driver.

This driver supports PCI Xr-based and ISA Xem Digiboard cards.
dgm will go away soon if there are no problems reported. For now,
configuring dgm into your kernel warns that you should be using
digi. This driver is probably close to supporting Xi, Xe and Xeve
cards, but I wouldn't expect them to work properly (hardware
donations welcome).

The digi_* pseudo-drivers are not drivers themselves but contain
the BIOS and FEP/OS binaries for various digiboard cards and are
auto-loaded and auto-unloaded by the digi driver at initialisation
time. They *may* be configured into the kernel, but waste a lot
of space if they are. They're intended to be left as modules.

The digictl program is (mainly) used to re-initialise cards that
have external port modules attached such as the PC/Xem.

# 0fb0f418 20-Apr-2001 Mike Smith <msmith@FreeBSD.org>

Turn on devinfo(8)

# 8360efbd 18-Mar-2001 Alfred Perlstein <alfred@FreeBSD.org>

Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and
associated changes that had to happen to make this possible as well as
bugs fixed along the way.

Bring in required TLI library routines to support this.

Since we don't support TLI we've essentially copied what NetBSD
has done, adding a thin layer to emulate direct the TLI calls
into BSD socket calls.

This is mostly from Sun's tirpc release that was made in 1994,
however some fixes were backported from the 1999 release (supposedly
only made available after this porting effort was underway).

The submitter has agreed to continue on and bring us up to the
1999 release.

Several key features are introduced with this update:
Client calls are thread safe. (1999 code has server side thread
safe)
Updated, a more modern interface.

Many userland updates were done to bring the code up to par with
the recent RPC API.

There is an update to the pthreads library, a function
pthread_main_np() was added to emulate a function of Sun's threads
library.

While we're at it, bring in NetBSD's lockd, it's been far too
long of a wait.

New rpcbind(8) replaces portmap(8) (supporting communication over
an authenticated Unix-domain socket, and by default only allowing
set and unset requests over that channel). It's much more secure
than the old portmapper.

Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded
to support TI-RPC and to support IPV6.

Umount(8) is also fixed to unmount pathnames longer than 80 chars,
which are currently truncated by the Kernel statfs structure.

Submitted by: Martin Blapp <mb@imp.ch>
Manpage review: ru
Secure RPC implemented by: wpaul

# 3df8ada3 03-Feb-2001 Peter Wemm <peter@FreeBSD.org>

Move wicontrol from i386 to MI section. (yes, it compiles on alpha, where
theoretically NEWCARD might work one day). if_wi.c is in the MI config
section already.

# 7893939f 16-Jan-2001 John Baldwin <jhb@FreeBSD.org>

Activate sysinstall.

# b3b01ff3 14-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

Added the lastlogin utility.

Obtained from: NetBSD

# 4e1921ab 12-Nov-2000 Warner Losh <imp@FreeBSD.org>

Add raycontrol to the build.

# c7961209 10-Sep-2000 KATO Takenori <kato@FreeBSD.org>

Moved boot0cfg into IBM-PC only section (MACHINE=="i386").

Pointed out by: nyan

# ba677615 31-Aug-2000 Mitsuru IWASAKI <iwasaki@FreeBSD.org>

Activate acpi.

# 6a70fca0 02-Aug-2000 KATO Takenori <kato@FreeBSD.org>

Added PC-98 boot manager installation and configuration utility.

# a00dc7b4 10-Jul-2000 Hajimu UMEMOTO <ume@FreeBSD.org>

Activate mld6query.

# 0f5cc229 25-Jun-2000 Mark Murray <markm@FreeBSD.org>

As rndcontrol is no longer needed, punt it to the attic.

# 8c0e8d96 31-May-2000 Tim Vanderhoek <hoek@FreeBSD.org>

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

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

# e50c89ec 16-Apr-2000 Robert Watson <rwatson@FreeBSD.org>

Code compiles and installs 100% better if included in the Makefile.

Suggested by: Voices in my head.

# 9754f5b6 14-Apr-2000 Robert Watson <rwatson@FreeBSD.org>

Introduced /usr/sbin/extattrctl, a utility for managing UFS/FFS extended
attributes (recently committed). Using extattrctl, the extended attribute
service may be started and stopped for specific file systems; specific
attributes may be enabled or disabled, and the backing file for each
attribute configured. Also, backing files may be initialized.

Reviewed by: adrian, bp, freebsd-fs, the unthanked masses
Obtained from: TrustedBSD

# f6f23e2c 10-Apr-2000 Mike Smith <msmith@FreeBSD.org>

Add mlxcontrol.

# 4e2edaf2 31-Mar-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

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

# 0fea3d51 27-Jan-2000 Yoshinobu Inoue <shin@FreeBSD.org>

IPv6 multicast routing.
kernel IPv6 multicast routing support.
pim6 dense mode daemon
pim6 sparse mode daemon
netstat support of IPv6 multicast routing statistics

Merging to the current and testing with other existing multicast routers
is done by Tatsuya Jinmei <jinmei@kame.net>, who writes and maintainances
the base code in KAME distribution.

Make world check and kernel build check was also successful.

# 4dd8b5ab 27-Jan-2000 Yoshinobu Inoue <shin@FreeBSD.org>

another tcp apps IPv6 updates.(should be make world safe)
ftp, telnet, ftpd, faithd
also telnet related sync with crypto, secure, kerberosIV

Obtained from: KAME project

# 6e67d5c9 23-Jan-2000 Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org>

Stop apmconf from being build.
green integrated apmconf into apm and we should use that instead.

Suggested by: msmith

# 261b9b30 14-Jan-2000 Bill Paul <wpaul@FreeBSD.org>

Add driver support for the Aironet 4500/4800 series wireless 802.11
NICs. (Finally!) The PCMCIA, ISA and PCI varieties are all supported,
though only the ISA and PCI ones will work on the alpha for now.
PCCARD, ISA and PCI attachments are all provided. Also provided an
ancontrol(8) utility for configuring the NIC, man pages, and updated
pccard.conf.sample. ISA cards are supported in both ISA PnP and hard-wired
mode, although you must configure the kernel explicitly to support the
hardwired mode since you have to know the I/O address and port ahead
of time.

Special thanks to Doug Ambrisko for doing the initial newbus hackery
and getting it to work in infrastructure mode.

# 6d73a68a 06-Jan-2000 Søren Schmidt <sos@FreeBSD.org>

Add burncd to and remove wormcontrol from the targets.

# 9a4365d0 05-Jan-2000 Yoshinobu Inoue <shin@FreeBSD.org>

libipsec and IPsec related apps. (and some KAME related man pages)

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project

# 7432ff86 29-Dec-1999 Peter Wemm <peter@FreeBSD.org>

Add mailwrapper. It redirects to sendmail by default, but you can
point /usr/sbin/sendmail to any mailer of your choice with the
/etc/mail/mailer.conf config file.

# be01371d 28-Dec-1999 Yoshinobu Inoue <shin@FreeBSD.org>

Sorry, ndp command is not exist yet.

Specified by: Anders Andersson <anders@sanyusan.se>

# 123689d3 29-Dec-1999 Yoshinobu Inoue <shin@FreeBSD.org>

Forgot to add newly added udp and raw IPv6 apps to usr.sbin SUBDIR.
They are confirmed to be buildable and seems to be working.

# 32591efd 27-Dec-1999 Peter Wemm <peter@FreeBSD.org>

Zap kvm_mkdb, it was for kvm_nlist's benefit, but now it goes direct
to the in-kernel hashed symbol tables (including modules).

# 6a800098 22-Dec-1999 Yoshinobu Inoue <shin@FreeBSD.org>

IPSEC support in the kernel.
pr_input() routines prototype is also changed to support IPSEC and IPV6
chained protocol headers.

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project

# ad1e4180 15-Dec-1999 Ollivier Robert <roberto@FreeBSD.org>

Bye bye xntpd, enter ntp.

Reviewed by: phk

# 46eae78a 06-Dec-1999 Guido van Rooij <guido@FreeBSD.org>

Move basic ifilter utils to sbin where they shold have been committed by
me in the first place. While we're at it: add MAINTAINER line

# 44248f45 29-Nov-1999 Peter Wemm <peter@FreeBSD.org>

Reactivate bind (named and tools)

# fe6d3fe5 29-Nov-1999 Peter Wemm <peter@FreeBSD.org>

Move named and associated tools into a seperate makefile section and
disable them pending an import and cleanup of bind 8.2.2.p5.

# 7a6f9bb4 27-Nov-1999 Poul-Henning Kamp <phk@FreeBSD.org>

Remove bad144 program.

# fceb9c0e 23-Nov-1999 Guido van Rooij <guido@FreeBSD.org>

rewire userland ipfilter programs

# c69a34d4 21-Nov-1999 Matthew Dillon <dillon@FreeBSD.org>

Add rpc.umntall utility, to be used by startup and shutdown scripts
to replace (broken) umntall signal code previously in mountd.

Submitted by: Martin Blapp <mb@imp.ch>

# c7805c63 13-Nov-1999 Doug Rabson <dfr@FreeBSD.org>

Enable mixer on alpha.

# 4cf49a43 21-Oct-1999 Julian Elischer <julian@FreeBSD.org>

Whistle's Netgraph link-layer (sometimes more) networking infrastructure.
Been in production for 3 years now. Gives Instant Frame relay to if_sr
and if_ar drivers, and PPPOE support soon. See:
ftp://ftp.whistle.com/pub/archie/netgraph/index.html
for on-line manual pages.

Reviewed by: Doug Rabson (dfr@freebsd.org)
Obtained from: Whistle CVS tree

# 24ff9bb5 20-Oct-1999 Bill Fumerola <billf@FreeBSD.org>

mergemaster bmake glue.

# bd3c4bb2 10-Oct-1999 Peter Wemm <peter@FreeBSD.org>

Nuke the old antique copy of ipfilter from the tree. This is old enough
to be dangerous. It will better serve us as a port building a KLD,
ala SKIP.

# 97d92980 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$

# 18443fbd 09-Aug-1999 Matt Jacob <mjacob@FreeBSD.org>

Some floppy related commands (fdformat, fdwrite, fdcontrol) need not be
restricted to i386.

# 2b51223f 28-Jul-1999 Stefan Eßer <se@FreeBSD.org>

Activate building of elf2exe for MACHINE_ARCH==alpha.

# 0277da16 19-Jul-1999 Robert Nordier <rnordier@FreeBSD.org>

Activate kgzip.

# 07c279cd 10-Jul-1999 Mitsuru IWASAKI <iwasaki@FreeBSD.org>

Activate apmd.

# accaf17a 22-May-1999 Doug Rabson <dfr@FreeBSD.org>

Port pnpinfo to alpha.

# ce68c992 10-May-1999 David E. O'Brien <obrien@FreeBSD.org>

Move sysctl/ to src/sbin/ where it now belongs.

Repository copied by: Peter

# 31a08ab0 05-May-1999 Bill Paul <wpaul@FreeBSD.org>

Add device driver support for the Lucent WaveLAN/IEEE 802.11 PCMCIA
adapter (and some workalikes). Also add man pages and a wicontrol
utility to manipulate some of the card parameters.

This driver was written using information gleaned from the Lucent HCF Light
library, though it does not use any of the HCF Light code itself, mainly
because it's contaminated by the GPL (but also because it's pretty gross).
The HCF Light lacks certain featurs from the full (but proprietary) HCF
library, including 802.11 frame encapsulation support, however it has
just enough register information about the Hermes chip to allow someone
with enough spare time and energy to implement a proper driver. (I would
have prefered getting my hands on the Hermes manual, but that's proprietary
too. For those who are wondering, the Linux driver uses the proprietary
HCF library, but it's provided in object code form only.)

Note that I do not have access to a WavePOINT access point, so I have
only been able to test ad-hoc mode. The wicontrol utility can turn on
BSS mode, but I don't know for certain that the NIC will associate with
an access point correctly. Testers are encouraged to send their results
to me so that I can find out if I screwed up or not.

# 75c13541 28-Apr-1999 Poul-Henning Kamp <phk@FreeBSD.org>

This Implements the mumbled about "Jail" feature.

This is a seriously beefed up chroot kind of thing. The process
is jailed along the same lines as a chroot does it, but with
additional tough restrictions imposed on what the superuser can do.

For all I know, it is safe to hand over the root bit inside a
prison to the customer living in that prison, this is what
it was developed for in fact: "real virtual servers".

Each prison has an ip number associated with it, which all IP
communications will be coerced to use and each prison has its own
hostname.

Needless to say, you need more RAM this way, but the advantage is
that each customer can run their own particular version of apache
and not stomp on the toes of their neighbors.

It generally does what one would expect, but setting up a jail
still takes a little knowledge.

A few notes:

I have no scripts for setting up a jail, don't ask me for them.

The IP number should be an alias on one of the interfaces.

mount a /proc in each jail, it will make ps more useable.

/proc/<pid>/status tells the hostname of the prison for
jailed processes.

Quotas are only sensible if you have a mountpoint per prison.

There are no privisions for stopping resource-hogging.

Some "#ifdef INET" and similar may be missing (send patches!)

If somebody wants to take it from here and develop it into
more of a "virtual machine" they should be most welcome!

Tools, comments, patches & documentation most welcome.

Have fun...

Sponsored by: http://www.rndassociates.com/
Run for almost a year by: http://www.servetheweb.com/

# 0acc1823 28-Apr-1999 David E. O'Brien <obrien@FreeBSD.org>

\begin{bdemode}
sort tcpd* entries
\end{bdemode}

# 0adc9d60 06-Apr-1999 Mike Smith <msmith@FreeBSD.org>

Build memcontrol too.

# 8d4b20e3 14-Mar-1999 Mark Murray <markm@FreeBSD.org>

Build tcp_wrappers' userland. I am not building tcpd, because in a day
or two, inetd will gain the necessary functionality. At that stage,
I'll make wrapping the default for sendmail and portmapper as well.

# 2f9a9cb0 12-Mar-1999 Brian Somers <brian@FreeBSD.org>

src/usr.sbin/natd -> src/sbin/natd (after a repo-copy by jdp)

# 5051d0ac 21-Feb-1999 Robert Nordier <rnordier@FreeBSD.org>

Activate boot0cfg.

# b6c99128 11-Jan-1999 Mike Smith <msmith@FreeBSD.org>

Back out 1.146 - usbd is already enabled.

# 66d08b5f 11-Jan-1999 Mike Smith <msmith@FreeBSD.org>

Add usbd to the build

# 7c0a08f3 10-Jan-1999 Nick Hibma <n_hibma@FreeBSD.org>

Added usbd and usbdevs

# cc854440 01-Jan-1999 Peter Wemm <peter@FreeBSD.org>

Reconnect pcvt hooks..

Reviewed by: core

# 4b14c4dc 30-Dec-1998 Poul-Henning Kamp <phk@FreeBSD.org>

spppcontrol already lives in /sbin

# a0f1d841 28-Dec-1998 Gary Palmer <gpalmer@FreeBSD.org>

Put the i4b stuff under the `i386 only' section until someone fixes up
the build problems on the Alpha.

# 19c74962 27-Dec-1998 Poul-Henning Kamp <phk@FreeBSD.org>

Initial entry of ISDN4BSD into the FreeBSD tree.

ISDN4BSD is the work of our brand-new comitter: Hellmuth Michaelis,
who has done a tremendous amount of work to bring us this far.

There are still some outstanding issues and files to bring into
the tree, and for now it will be needed to pick up all the extra
docs from the isdn4bsd release.

It is probably also a very good idea to subscribe to the isdn@freebsd.org
mailing list before you try this out.

These files correspond to release "beta Version 0.70.00 / December
1998" from Hellmuth.

# 57814d04 27-Dec-1998 Poul-Henning Kamp <phk@FreeBSD.org>

Update sppp support to i4b level. This includes the new spppcontrol
program to set PPP options like authentication with.

# 1767866e 27-Dec-1998 Poul-Henning Kamp <phk@FreeBSD.org>

follow up to:
Pre 3.0 branch cleanup casualty #4: pcvt

# 6015b10b 13-Dec-1998 Nick Hibma <n_hibma@FreeBSD.org>

Unbreak make world. Sorry about that. I'll have to figure out the steps
to add those programs properly.

# 00074f8e 12-Dec-1998 Nick Hibma <n_hibma@FreeBSD.org>

Added usbd, usbdevs directories
Submitted by: MIHIRA Sanpei Yoshiro

# 3c817e2c 09-Nov-1998 Bruce Evans <bde@FreeBSD.org>

Fixed disorder.

# ffd2f8ac 09-Nov-1998 Dima Ruban <dima@FreeBSD.org>

Enable IPXrouted for alpha.

# 5c9036d5 09-Nov-1998 Dima Ruban <dima@FreeBSD.org>

Clean it up a little bit.

# a0682937 02-Oct-1998 Jordan K. Hubbard <jkh@FreeBSD.org>

Add crunch back to general targets.

# 0b0efca2 17-Sep-1998 Doug Rabson <dfr@FreeBSD.org>

Don't build ncrcontrol on alpha, its obsoleted by cam.

# 183b47f7 16-Sep-1998 Doug Rabson <dfr@FreeBSD.org>

Add some things to the alpha build.

# 3f8c4506 15-Sep-1998 Poul-Henning Kamp <phk@FreeBSD.org>

(this is an extract from src/share/examples/atm/README)

===================================
HARP | Host ATM Research Platform
===================================

HARP 3

What is this stuff?
-------------------
The Advanced Networking Group (ANG) at the Minnesota Supercomputer Center,
Inc. (MSCI), as part of its work on the MAGIC Gigabit Testbed, developed
the Host ATM Research Platform (HARP) software, which allows IP hosts to
communicate over ATM networks using standard protocols. It is intended to
be a high-quality platform for IP/ATM research.

HARP provides a way for IP hosts to connect to ATM networks. It supports
standard methods of communication using IP over ATM. A host's standard IP
software sends and receives datagrams via a HARP ATM interface. HARP provides
functionality similar to (and typically replaces) vendor-provided ATM device
driver software.

HARP includes full source code, making it possible for researchers to
experiment with different approaches to running IP over ATM. HARP is
self-contained; it requires no other licenses or commercial software packages.

HARP implements support for the IETF Classical IP model for using IP over ATM
networks, including:

o IETF ATMARP address resolution client
o IETF ATMARP address resolution server
o IETF SCSP/ATMARP server
o UNI 3.1 and 3.0 signalling protocols
o Fore Systems's SPANS signalling protocol

What's supported
----------------
The following are supported by HARP 3:

o ATM Host Interfaces
- FORE Systems, Inc. SBA-200 and SBA-200E ATM SBus Adapters
- FORE Systems, Inc. PCA-200E ATM PCI Adapters
- Efficient Networks, Inc. ENI-155p ATM PCI Adapters

o ATM Signalling Protocols
- The ATM Forum UNI 3.1 signalling protocol
- The ATM Forum UNI 3.0 signalling protocol
- The ATM Forum ILMI address registration
- FORE Systems's proprietary SPANS signalling protocol
- Permanent Virtual Channels (PVCs)

o IETF "Classical IP and ARP over ATM" model
- RFC 1483, "Multiprotocol Encapsulation over ATM Adaptation Layer 5"
- RFC 1577, "Classical IP and ARP over ATM"
- RFC 1626, "Default IP MTU for use over ATM AAL5"
- RFC 1755, "ATM Signaling Support for IP over ATM"
- RFC 2225, "Classical IP and ARP over ATM"
- RFC 2334, "Server Cache Synchronization Protocol (SCSP)"
- Internet Draft draft-ietf-ion-scsp-atmarp-00.txt,
"A Distributed ATMARP Service Using SCSP"

o ATM Sockets interface
- The file atm-sockets.txt contains further information

What's not supported
--------------------
The following major features of the above list are not currently supported:

o UNI point-to-multipoint support
o Driver support for Traffic Control/Quality of Service
o SPANS multicast and MPP support
o SPANS signalling using Efficient adapters

This software was developed under the sponsorship of the Defense Advanced
Research Projects Agency (DARPA).

Reviewed (lightly) by: phk
Submitted by: Network Computing Services, Inc.

# f0de228f 15-Sep-1998 Justin T. Gibbs <gibbs@FreeBSD.org>

Ncrcontrol is no more.

# d60dc4ef 12-Sep-1998 Robert Nordier <rnordier@FreeBSD.org>

Activate btxld.

# 0451ac36 30-Aug-1998 Gary Palmer <gpalmer@FreeBSD.org>

Split lines into one subdir per line.

# 971104bf 30-Aug-1998 Gary Palmer <gpalmer@FreeBSD.org>

Make pstat machine-independant again

# 1be40924 20-Aug-1998 John Birrell <jb@FreeBSD.org>

Build kvm_mkdb and natd on alpha too.

# 67e55fa5 16-Aug-1998 Gary Palmer <gpalmer@FreeBSD.org>

We need config to build on the alpha also ... kinda difficult to build
kernels without it :)

# 943c9976 04-Aug-1998 Peter Wemm <peter@FreeBSD.org>

Descend into makemap/mailstats/praliases when building sendmail.

# 560cbdb5 19-Jul-1998 Robert Nordier <rnordier@FreeBSD.org>

Drop mkdosfs (replaced by newfs_msdos).
Prompted by: joerg

# 2c8d8304 24-May-1998 Dag-Erling Smørgrav <des@FreeBSD.org>

Add chkgrp

# d12e99bb 02-May-1998 Peter Wemm <peter@FreeBSD.org>

Add nsupdate

# 5a85f025 15-Apr-1998 Poul-Henning Kamp <phk@FreeBSD.org>

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>

# 8d737d46 23-Mar-1998 John Birrell <jb@FreeBSD.org>

A few things won't compile on alpha, so make them i386 specific for
the time being.

# 5021f740 21-Mar-1998 Peter Wemm <peter@FreeBSD.org>

Initial bmake scaffolding for ipfilter userland stuff.

Obtained from: large chunks stolen from OpenBSD and NetBSD

# 1a1536c1 13-Mar-1998 John Birrell <jb@FreeBSD.org>

Some things only work on i386.

Removed unsupported machines.

# e63dcf46 18-Feb-1998 Mike Smith <msmith@FreeBSD.org>

Disconnect (nonexistent) qcamcontrol
Submitted by: pst

# e6489fd8 06-Dec-1997 Peter Wemm <peter@FreeBSD.org>

add procctl

# c02d44b4 19-Sep-1997 Warner Losh <imp@FreeBSD.org>

Add missing \ from previous rev to end of a line.

# d737df25 19-Sep-1997 John-Mark Gurney <jmg@FreeBSD.org>

activate pnpinfo

# f80feb0c 12-Aug-1997 Paul Traina <pst@FreeBSD.org>

Enable periodic

# c957ff40 27-Jun-1997 Brian Somers <brian@FreeBSD.org>

Allow command line control of ppp through both
TCP and AF_LOCAL sockets.

# aac04c62 21-Jun-1997 Brian Somers <brian@FreeBSD.org>

Hook natd

# 636f732d 29-May-1997 Bill Paul <wpaul@FreeBSD.org>

Another (harmless, luckily) mind-o: somehow I typed 'rpc.ypupdated.'
instead of 'rpc.ypupdated' when I added rpc.ypupdated to the SUBDIRS
list.

Carved into my forehead with an rusty railroad spike by: Mark Murray

# 0e04d559 28-May-1997 Bill Paul <wpaul@FreeBSD.org>

Activate new Secure RPC programs.

# 6bca5576 22-May-1997 Mike Smith <msmith@FreeBSD.org>

Add wlconfig.

# 6b178bfd 28-Apr-1997 Steve Passe <fsmp@FreeBSD.org>

added mptable to directory list of usr.sbin programs.

# f7c9eedd 11-Mar-1997 Peter Wemm <peter@FreeBSD.org>

Kill sup from the main sources now that the ports version is updated.
This puts it on the same footing as cvsup. It's been suggested on
numerous occasions that I shouldn't have imported it in the first place,
and now that sup has outlived it's usefulness..... Boom!

# 476602a9 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$

# 202b8e21 20-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Add ckdist.

# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

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.

# 72f54bea 15-Dec-1996 Bill Fenner <fenner@FreeBSD.org>

Add mtest.

# 1b62258d 09-Dec-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

Add pw to build list - I need it now. :)

# eca55dce 22-Oct-1996 Stefan Eßer <se@FreeBSD.org>

Add pciconf.

# 322bab89 16-Sep-1996 Garrett Wollman <wollman@FreeBSD.org>

Disable build of old routed.

# cb3c44d7 06-Sep-1996 Poul-Henning Kamp <phk@FreeBSD.org>

remove devconf tools from make tree.

# 7e3456fb 29-Aug-1996 Peter Wemm <peter@FreeBSD.org>

delete bind, add named named.reload named.restart ndc

# 9e639d7d 29-Aug-1996 Peter Wemm <peter@FreeBSD.org>

Swing the SUBDIR entry across for the new bind-4.9.4-p1 dir..

# c3c576e8 18-Jul-1996 Gary Palmer <gpalmer@FreeBSD.org>

Remove eeprom too as more unused stuff.

Pointed out by: Thomas Graichen <graichen@axp5.physik.fu-berlin.de>

# 5967c90e 22-Jun-1996 Søren Schmidt <sos@FreeBSD.org>

Add moused to targets.

# 3c32b88f 17-Jun-1996 Garrett Wollman <wollman@FreeBSD.org>

Add keyadmin directory.

# ddc0f710 04-Jun-1996 Bill Paul <wpaul@FreeBSD.org>

Add rpc.ypxfrd.

# be09001b 04-Jun-1996 Poul-Henning Kamp <phk@FreeBSD.org>

Add pccard to makefile system

# dbf08241 07-May-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

ppoll -> yppoll. This Makefile should work better now. :-)

# acec6438 07-May-1996 Bill Paul <wpaul@FreeBSD.org>

Dohw! Turn on yp_mkdb in the Makefile.

# d36a01ef 05-May-1996 Peter Wemm <peter@FreeBSD.org>

Oops, add stallion utils to i386 part of Makefile

# 0bb54c2d 03-Apr-1996 Peter Wemm <peter@FreeBSD.org>

Add rpc.statd and the stub rpc.lockd, as these build and are of some use to
some people.

# cbc17e71 13-Feb-1996 Garrett Wollman <wollman@FreeBSD.org>

XNS sort-of-support is no more.

# 89422d48 12-Feb-1996 Bill Paul <wpaul@FreeBSD.org>

Add rpc.yppasswdd

# a1eea3a2 08-Feb-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

Remove pkg_manage from Makefile

# 2097e8b4 04-Feb-1996 Andrey A. Chernov <ache@FreeBSD.org>

Remove cdplay, cdcontrol is superset of it

# dccb8efe 04-Feb-1996 Paul Traina <pst@FreeBSD.org>

Add qcamcontrol

# fde6518c 27-Jan-1996 Joerg Wunsch <joerg@FreeBSD.org>

Add wormcontrol. Nope, i didn't forget it this time. :)

# 8f9d4ec0 19-Jan-1996 Nate Williams <nate@FreeBSD.org>

Removed config.new from the release. It is unused by any current version
of FreeBSD, and only serves to generate confusion and increase bloat.

# 9c3d0aee 16-Jan-1996 Adam David <adam@FreeBSD.org>

add yppush

# 160ce17a 05-Jan-1996 Thomas Graichen <graichen@FreeBSD.org>

added newsyslog and spray

# dae83b79 05-Jan-1996 Peter Wemm <peter@FreeBSD.org>

Add sup and IPXrouted to makefile
(IPXrouted is far more likely to be used than XNSrouted)

# f4b12013 16-Dec-1995 Bill Paul <wpaul@FreeBSD.org>

Turn on ypserv.

# a92a0052 24-Nov-1995 Peter Wemm <peter@FreeBSD.org>

Disconnect fsdb in preperation for move to /sbin

# fb27879c 05-Nov-1995 Joerg Wunsch <joerg@FreeBSD.org>

Include mkdosfs into the list of subdirs.

Reorder the list.

# 2f7b223a 03-Nov-1995 Peter Wemm <peter@FreeBSD.org>

Connect fsdb to the SUBDIR list.

# 16c7dfba 03-Nov-1995 Peter Wemm <peter@FreeBSD.org>

add quot..

# 507acceb 29-Oct-1995 Bruce Evans <bde@FreeBSD.org>

Add rndcontrol.

# eae0c0a8 18-Aug-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Add the cdcontrol program by Serge Vakulenko. It's my understanding
that this is a superset of cdplay, and perhaps it's time to send cdplay
into the bit bucket if this works well. According to the docs, it has
a friendlier command structure, command line interface etc.
Submitted by: Serge Vakulenko <vak@cronyx.ru>

# 99dc33eb 13-Aug-1995 Peter Wemm <peter@FreeBSD.org>

Add sicontrol.. I hope this is the right way..

# 6e13a63d 12-Jul-1995 Bruce Evans <bde@FreeBSD.org>

Add kbdmap.

# 4db6e5b1 14-Jun-1995 Garrett Wollman <wollman@FreeBSD.org>

Correct misspelling of `mrouted'. Shows what I get for not re-building
from the top...

# 886e832b 13-Jun-1995 Garrett Wollman <wollman@FreeBSD.org>

Re-enable mrouted now that it matches the kernel code again.

# 389544a0 13-Jun-1995 Garrett Wollman <wollman@FreeBSD.org>

Temporarily disable mrouted.

# 709e8f9a 29-May-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Remove trailing whitespace.

# 3ee2ce52 13-May-1995 Poul-Henning Kamp <phk@FreeBSD.org>

remove swapinfo.

# 892dbf3c 15-Apr-1995 Andreas Schulz <ats@FreeBSD.org>

Add mixer to the clean/cleandir targets to get it also cleaned up.

# 936209a6 13-Apr-1995 Joerg Wunsch <joerg@FreeBSD.org>

Include pcvt into the list of subdirs, so its utilities will be
included into fututre distributions.

# 14c5b2ae 10-Mar-1995 Poul-Henning Kamp <phk@FreeBSD.org>

Added the kernbb program. No man-page yet :(

# 8c9c9e97 01-Mar-1995 Bill Paul <wpaul@FreeBSD.org>

Add rarpd.

# fb07c04a 27-Feb-1995 Bill Paul <wpaul@FreeBSD.org>

Add entry for bootparamd and friends.

# d7141301 26-Feb-1995 Atsushi Murai <amurai@FreeBSD.org>

Re add ppp entry causing by missing auth.h/cdefs.h
Reviewed by: amurai@spec.co.jp

# be4ddfeb 26-Feb-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Take ppp out until it works again - there's actually stuff missing from
the merge.

# 2c9da268 25-Feb-1995 Bruce Evans <bde@FreeBSD.org>

Remove dbsym.

# 1c4239e9 22-Feb-1995 Paul Traina <pst@FreeBSD.org>

Add watch(8)

# 13438c18 21-Feb-1995 Andrey A. Chernov <ache@FreeBSD.org>

mixer added

# 0e13d5af 21-Feb-1995 Andreas Schulz <ats@FreeBSD.org>

Add sgsc to the clean/cleandir targets.

# b6d7ccaf 15-Feb-1995 Andrey A. Chernov <ache@FreeBSD.org>

pkg_manage added

# db23157e 09-Feb-1995 Bruce Evans <bde@FreeBSD.org>

Add ctm and sgsc. ctm is has proved useful and sgsc seems to have been
forgotten.

# ed1eb141 31-Jan-1995 Atsushi Murai <amurai@FreeBSD.org>

Adding "ppp" entry for a user process PPP (aka iijppp)

# 9ad53676 19-Jan-1995 Bruce Evans <bde@FreeBSD.org>

Enable iostat on i386's.

# 54b77925 30-Dec-1994 Andrey A. Chernov <ache@FreeBSD.org>

Remove unneded kbdcontrol from SUBDIRS
Submitted by: roberto@blaise.ibp.fr

# b2c473ea 28-Dec-1994 Andrey A. Chernov <ache@FreeBSD.org>

adduser added

# d6bfd0e8 04-Dec-1994 Poul-Henning Kamp <phk@FreeBSD.org>

Added the vnconfig program.

# ef1520b3 19-Nov-1994 Andreas Schulz <ats@FreeBSD.org>

Add the missing subdirs cdplay and spkrtest into the clean/cleandir targets.

# 5d076949 12-Nov-1994 Lars Fredriksen <lars@FreeBSD.org>

Delete duplicate pppd entry. Also move pppstats in the right spot lexically.

# 665583d2 12-Nov-1994 Lars Fredriksen <lars@FreeBSD.org>

pppd was missing from the SUBDIRS.

# a4d451db 12-Nov-1994 Andrey A. Chernov <ache@FreeBSD.org>

cdplay added

# 3aa40eb0 11-Nov-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Add pppd to the Makefile. It seems to work..

# 5bbd5762 31-Oct-1994 Joerg Wunsch <joerg@FreeBSD.org>

Included the fdcontrol subdir.

# 79455955 27-Oct-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Remove eeprom from the default list of subdirs. It gets added properly
in the sparc case anyway. Next step will be to move some of the i386
specific things, like fdformat and fdwrite, into an i386 .if clause.

# a365d118 24-Oct-1994 Garrett Wollman <wollman@FreeBSD.org>

Added lsdev.

# 31895db0 22-Oct-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Add xten.

# 6dde05f5 21-Oct-1994 Andrey A. Chernov <ache@FreeBSD.org>

spkrtest added

# 0477ab47 17-Oct-1994 David Greenman <dg@FreeBSD.org>

Added slstat.

# 8dc10afa 14-Oct-1994 Gary Palmer <gpalmer@FreeBSD.org>

Move `ncrcontrol' into machine-dependant section.

# 1dc73d35 13-Oct-1994 Stefan Eßer <se@FreeBSD.org>

Added ncrcontrol (display and configure NCR 53c810 SCSI parameters).

# 69bf5166 03-Oct-1994 Andreas Schulz <ats@FreeBSD.org>

Submitted by: gibbs@uclink.berkeley.edu
Fixed the missing blank in tzsetupvipw.

# 723ff3e0 01-Oct-1994 Gary Palmer <gpalmer@FreeBSD.org>

Move apm, apmconf, fdformat, fdwrite, kbdcontrol, lptcontrol, rtprio and
vidcontrol out of machine-independance into the I386 & clean
dependant sections. Also move 'timed' out of machine-dependace into
machine-independance

Reviewed by: rgrimes

# 4ada351c 30-Sep-1994 David Greenman <dg@FreeBSD.org>

Added apm and apmconf. NOTE: This makefile is wrong in a variety of ways.
For one thing, the handling of arch-specific utilities is broken, and
things like apm and apmconf (and fdformat, kbdcontrol, vidcontrol, etc)
shouldn't be built for all arch's.

# ad0e3007 29-Sep-1994 Paul Traina <pst@FreeBSD.org>

Move bootp & related stuff

# 55178249 26-Sep-1994 Paul Traina <pst@FreeBSD.org>

Enable new bind utilities.

# 78eb91b4 26-Sep-1994 David Greenman <dg@FreeBSD.org>

Fix comment: we have cron.

# 90c5321f 26-Sep-1994 David Greenman <dg@FreeBSD.org>

ac(8) utility, brought over from 1.1.5.

# 27f8e969 26-Sep-1994 David Greenman <dg@FreeBSD.org>

Added sa.

# 13ae5a03 18-Sep-1994 Poul-Henning Kamp <phk@FreeBSD.org>

added fdwrite -> usr.sbin/fdwrite

# d4f61326 17-Sep-1994 David Greenman <dg@FreeBSD.org>

Added fdformat utility from 1.1.5.

# 36156bf4 13-Sep-1994 Garrett Wollman <wollman@FreeBSD.org>

Add tzsetup.

# 87de5a95 13-Sep-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Add pkg_install to SUBDIR.

# bd46ac9a 12-Sep-1994 Garrett Wollman <wollman@FreeBSD.org>

Add `zic' and `zdump'.

# 702cdbc0 10-Sep-1994 Geoff Rehmet <csgr@FreeBSD.org>

add bootpd, bootpef, bootpgw, bootptest

# 4aa83b0b 07-Sep-1994 Garrett Wollman <wollman@FreeBSD.org>

Add mrouted.

# 28178404 03-Sep-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Add crunch and manctl, bring back xntpd.
Submitted by: jkh

# 12365022 03-Sep-1994 Geoff Rehmet <csgr@FreeBSD.org>

Make it possible to run lptcontrol on a printer port which does not
actually have a printer connected or online:
- MAKEDEV: remove all signs of lpa
add lpctl? devices (minor # = unit + 128)
- usr.sbin/Makefile add lptcontrol
- sys/i386/isa/lpt.c implement the LP_BYPASS flag: when a unit is
opened with this flag set, the printer is
not primed, and no check is made to see that
the printer is online. This can only be used
to pass ioctls. (giving us /dev/lpctl?)
- lptcontrol.c use /dev/lpctl? (LP_BYPASS)
-f flag removed, -u flag added
- lptcontrol.8 document changes in lptcontrol
rewrite using mandoc macros
Submitted by: Geoff.

# 21e95ddd 31-Aug-1994 David Greenman <dg@FreeBSD.org>

rtprio(1) utility to modify realtime priority of a process.

Submitted by: Henrik Vestergaard Draboel

# 504d7e78 30-Aug-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Remove xntpd for now until it works.
Submitted by: jkh

# 52f2a972 28-Aug-1994 Bruce Evans <bde@FreeBSD.org>

Add swapinfo to SUBDIR. It's been working for a long time.

# eedc6558 28-Aug-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Add cron.
Submitted by: jkh

# 8a82af45 25-Aug-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

xntp and tcpdump targets added.
Reviewed by:
Submitted by:

# 10426880 23-Aug-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Bring over dbsym from 1.1.5.1
Submitted by: jkh

# 1062753e 17-Aug-1994 Søren Schmidt <sos@FreeBSD.org>

Added kbdcontrol & vidcontrol utils (from 1.1.5.1+)

Reviewed by:
Submitted by:

# d966229d 14-Aug-1994 Garrett Wollman <wollman@FreeBSD.org>

Don't bother with XNSrouted and trsp, nobody uses either. If anybody
decides they want to, they can change the Makefile.

# d832d691 07-Aug-1994 Garrett Wollman <wollman@FreeBSD.org>

Added YP section 8 programs from 1.1.5. (Obligatory notice that this
code was originally written by Th. de Raadt, although this particular
organization is mine.)

# 84e59eb5 05-Aug-1994 Garrett Wollman <wollman@FreeBSD.org>

Get rid of update. Make man page installation work with our scheme
(and rename a few in the process).

# 1544f99b 28-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Comment out missing/broken sources.

# dea673e9 25-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite usr.sbin Sources

# 657729a8 02-Dec-2022 Gleb Smirnoff <glebius@FreeBSD.org>

Retire trpt(8).

trpt(8) was utility to pull TCP debugging data from the kernel
originating back from 4.2BSD. It is not used nowadays by TCP
developers. We have more powerful debugging facilities, e.g.
the Dtrace probing, the TCP black box logging and siftr.

Discussed with: rscheff, tuexen, rrs, jtl and others


# 13ec1e31 05-Feb-2021 Mitchell Horne <mhorne@FreeBSD.org>

boottrace(8): small wrapper utility

This is a small program that when invoked will create start and stop
boottrace entries via sysctl, and execute the desired command. Having
this as an executable -- as opposed to some shell script invoking
sysctl(8) -- allows the total resource usage recorded by the trace
entries to include the child process.

Reviewed by: 0mp, trasz (older version)
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D31929


# d73d40c1 09-Feb-2022 Michael Tuexen <tuexen@FreeBSD.org>

usr.sbin: add tcpsso to Makefile


# 8b487b82 12-Jul-2021 Jessica Clarke <jrtc27@FreeBSD.org>

Fix bsd.subdir.mk-related issues after 0a0f7486413c

Since bsd.prog.mk includes bsd.obj.mk, and thus bsd.subdir.mk, we must
ensure all our bsd.subdir.mk-affecting variables are set before
including bsd.prog.mk. Since sbin's various Makefile.arch files add to
SUBDIR this results in those not taking effect, and presumably we also
end up not having buildworld as parallel as it should be due to the fact
that SUBDIR_PARALLEL was not being set before including bsd.prog.mk.

MFC with: 0a0f7486413c147d56808b38055c40c64cff61f5
Reviewed by: olivier
Differential Revision: https://reviews.freebsd.org/D31125


# 24f398e7 01-Jul-2021 Pavel Balaev <pavel.balaev@3mdeb.com>

Add efitable(8), a userspace tool to fetch and parse EFI tables

Only ESRT and PROP tables are handled at the moment.

Submitted by: Pavel Balaev <pavel.balaev@3mdeb.com>
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D30104


# 0a0f7486 08-Jun-2021 Fernando Apesteguía <fernape@FreeBSD.org>

man: Build manpages for all architectures

Building and installing architecture-specific man pages only raises a number of
problems:

* The https://www.freebsd.org/cgi/man.cgi is incomplete. As an
example, it does not show results for pae(4). The reason for this is
that the cgi interface runs on FreeBSD amd64.

* In FreeBSD amd64 some manual pages have broken X-refs. See hptrr(4)
for an example.

* Also, we have broken links in our Release Notes. This is a
consequence of the first point. See
https://www.freebsd.org/releases/13.0R/hardware/#proc-i386.

Make MAN_ARCH default to 'all' so we build all the man pages for all the
architectures. The difference in disk space is negligible. Also link
architecture-specific man pages to their own section while keeping their own
namespace.

PR: 212290
Reported by: mj@bsdops.com
Approved by: ceri@, wosch@
MFC after: 4 weeks


# c42e9af5 19-Jun-2021 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Move ctld/ctladm to iscsi package

While here only compile both of them if WITH_ISCSI is set (this is the default).

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D30755
Sponsored by: Diablotin Systems


# d865da5e 07-Jun-2021 Emmanuel Vadot <manu@FreeBSD.org>

ancontrol: Remove an(4) utility

Last an(4) devices have been End Of Life and End Of Sale in 2007.
Time to remove this driver.

Differential Revision: https://reviews.freebsd.org/D30680
Reviewed by: imp (earlier version), emaste (earlier version)
Sponsored by: Diablotin Systems


# e4d63c5d 02-Mar-2021 Kyle Evans <kevans@FreeBSD.org>

Remove fmtree(8)

fmtree(8) deprecation was announced on February 12, 2021, and no longer
built by default as of that date. The deprecation notice was merged
back to stable/12 and stable/13 + releng/13.0.

Continue with the plan by finishing the removal.

Relnotes: yes


# b9cbc85d 18-Feb-2021 Rick Macklem <rmacklem@FreeBSD.org>

nfs-over-tls: add user space daemons rpc.tlsclntd and rpc.tlsservd

The kernel changes needed for nfs-over-tls have been committed to main.
However, nfs-over-tls requires user space daemons to handle the
TLS handshake and other non-application data TLS records.
There is one daemon (rpc.tlsclntd) for the client side and one daemon
(rpc.tlsservd) for the server side, although they share a fair amount
of code found in rpc.tlscommon.c and rpc.tlscommon.h.
They use a KTLS enabled OpenSSL to perform the actual work and, as such,
are only built when MK_OPENSSL_KTLS is set.
Communication with the kernel is done via upcall RPCs done on AF_LOCAL
sockets and the custom system call rpctls_syscall.

Reviewed by: gbe (man pages only), jhb (usr.sbin/Makefile only)
Comments by: jhb
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D28430
Relnotes: yes


# 123ae304 20-Jan-2021 Kyle Evans <kevans@FreeBSD.org>

build: remove LIBPTHREAD/LIBTHR build options

WITHOUT_LIBTHR has been broken for a little over five years now, since the
xz 5.2.0 update introduced a hard liblzma dependency on libthr, and building
a useful system without threading support is becoming increasingly more
difficult.

Additionally, in the five plus years that it's been broken more reverse
dependencies have cropped up in libzstd, libsqlite3, and libcrypto (among
others) that make it more and more difficult to reconcile the effort needed
to fix these options.

Remove the broken options.

PR: 252760
Reviewed by: brooks, emaste, kib
Differential Revision: https://reviews.freebsd.org/D28263


# db4b5a16 20-Jan-2021 Alex Richardson <arichardson@FreeBSD.org>

Minor simplification of MK_PMC case in usr.sbin/Makefile

MK_PMC is already guarded by MK_CXX in src.opts.mk, so we can actually
merge it with the following SUBDIR statement after c1a3d7f20696.

Suggested By: jrtc27


# c1a3d7f2 19-Jan-2021 Alex Richardson <arichardson@FreeBSD.org>

Remove remaining uses of ${COMPILER_FEATURES:Mc++11}

All supported compilers have C++11 support so these checks can be replaced
with MK_CXX guards.
See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252759

PR: 252759
Reviewed By: emaste
Differential Revision: https://reviews.freebsd.org/D28234


# 420306c3 13-Jul-2020 Adrian Chadd <adrian@FreeBSD.org>

[pmc] whoops, remove spurious #'s

pointed out by gonzo@, thanks!


# f8e66eb1 13-Jul-2020 Adrian Chadd <adrian@FreeBSD.org>

[hwpmc] Compile 'pmc' only if we have C++11.

I noticed when compiling with ye olde gcc-6.3.0 on mips that it tripped over
a lack of C++11 bits. This allows it to compile fine.


# 13f7dbe8 09-Mar-2020 Ed Maste <emaste@FreeBSD.org>

retire amd(8)

autofs was introduced with FreeBSD 10.1 and is the supported method for
automounting filesystems. As of r296194 the amd man page claimed that it
is deprecated. Remove it from base now; the sysutils/am-utils port is
still available if necessary.

Discussed with: cy
Relnotes: Yes
Sponsored by: The FreeBSD Foundation


# 504613f2 04-Feb-2020 Kyle Evans <kevans@FreeBSD.org>

Remove simple_httpd

simple_httpd was granted a reprieve from the picobsd removal based on having
some reported user; it turns out this user isn't actually using the version
in base and merging their changes would be difficult at this point, so the
version in base will simply continue to rot. Retire it now, it may make a
comeback to ports with the improved version.

No notice issued because its current visibility has only been for ~3
months, and a notice has been previously issued about picobsd removal.


# c7c78055 31-Oct-2019 Vincenzo Maffione <vmaffione@FreeBSD.org>

add valectl to the system commands

The valectl(4) program is used to manage vale(4) switches.
Add it to the system commands so that it can be used right away.
This program was previously called vale-ctl, and stored in
tools/tools/netmap

Reviewed by: hrs, bcr, lwhsu, kevans
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D22146


# ccdcb388 01-Oct-2019 Kyle Evans <kevans@FreeBSD.org>

[2/3] Add certctl(8)

This is a simple utility to hash all trusted on the system into
/etc/ssl/certs. It also allows the user to blacklist certificates they do
not trust.

This work was done primarily by allanjude@, with minor contributions by
myself.

No objection from: secteam
Differential Revision: https://reviews.freebsd.org/D16857


# 546d30b9 01-Oct-2019 Kyle Evans <kevans@FreeBSD.org>

Move httpd to simple_httpd...

This avoids PATH conflicts with a real httpd, as a user will likely almost
always prefer the more fully-featured httpd. This also lines up with the
historical name of the program.


# 2d0a92c9 01-Oct-2019 Kyle Evans <kevans@FreeBSD.org>

Move simple_httpd out of picobsd, add HTTPD option (default OFF)

picobsd/tinyware has had this compact HTTPD server for a long time, and some
people do use it. Move it out into usr.sbin well in advance of any action
being taken on picobsd.

This has been gated behind an HTTPD option defaulted to *off*, primarily for
two reasons:
1.) This code likely needs a good audit, as it's been living off in picobsd
land for a long time, and
2.) We don't currently ship an httpd and this may not be a welcome surprise.

Reviewed by: eugen
Differential Revision: https://reviews.freebsd.org/D21724


# 59e50df3 03-Sep-2019 Kris Moore <kmoore@FreeBSD.org>

- Retire pc-sysinstall(8)

https://reviews.freebsd.org/D21094

Submitted by: kmoore@FreeBSD.org
Approved by: imp@FreeBSD.org


# f5a95d9a 24-Jun-2019 Warner Losh <imp@FreeBSD.org>

Remove NAND and NANDFS support

NANDFS has been broken for years. Remove it. The NAND drivers that
remain are for ancient parts that are no longer relevant. They are
polled, have terrible performance and just for ancient arm
hardware. NAND parts have evolved significantly from this early work
and little to none of it would be relevant should someone need to
update to support raw nand. This code has been off by default for
years and has violated the vnode protocol leading to panics since it
was committed.

Numerous posts to arch@ and other locations have found no actual users
for this software.

Relnotes: Yes
No Objection From: arch@
Differential Revision: https://reviews.freebsd.org/D20745


# 2b5691ee 17-Jan-2019 Eugene Grosbein <eugen@FreeBSD.org>

Re-add new small tool trim(8) to delete contents for blocks
on devices using wear-leveling algorithms as a few weeks passed
after review and discussion of trim(8) ceased and
we still have no utility to perform the job.

Reviewed by: hackers@
MFC after: 2 weeks


# 53fc043d 15-Dec-2018 George V. Neville-Neil <gnn@FreeBSD.org>

Remove, the now very outdated, timed.

Submitted by: Kyle Spiers ksspiers at gmail
Reviewed by: bcr,brooks,bz,sbruno
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D18505


# 385e9808 15-Dec-2018 Stefan Eßer <se@FreeBSD.org>

Remove CTM from 13-CURRENT after the release of FreeBSD-12.0.

The removal (and creation of a port) has been pre-announced in UPDATING
1 month ago. Packages are available for all supported FreeBSD vesions.

I did not think that another entry in UPDATING is required to note the
actual removal.

No MFC is planned - CTM shall be kept in base for all releases up to 12.x.

Reviewed by: rgrimes
Approved by: imp, bcr (manpages)
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D17935


# 9312900f 12-Dec-2018 Emmanuel Vadot <manu@FreeBSD.org>

Add a pwm subsystem so we can configure pwm controller from kernel and userland.

The pwm subsystem consist of API for PWM controllers, pwmbus to register them
and a pwm(8) utility to talk to them from userland.

Reviewed by: oshgobo (capsicum), bcr (manpage), 0mp (manpage)
Differential Revision: https://reviews.freebsd.org/D17938


# e0d16695 30-Nov-2018 Eugene Grosbein <eugen@FreeBSD.org>

Remove trim(8) by multiple demands.


# fcd7ccb2 29-Nov-2018 Eugene Grosbein <eugen@FreeBSD.org>

Move trim(1) from usr.bin to usr.sbin to become trim(8).

Requested by: se
MFC after: 1 month


# bc82609a 04-Nov-2018 Kyle Evans <kevans@FreeBSD.org>

Move pmc* bits behind MK_PMC to fix WITHOUT_PMC build

No objection from: mmacy
MFC after: 3 days


# 3b915697 13-Sep-2018 Matt Macy <mmacy@FreeBSD.org>

re-enable pmcstat, pmccontrol, and pmcannotate for gcc4 builds

I had disabled building of the aforementioned targets due to warnings breaking
tinderbox. This silences the warning and restores them to the build.

Reported by: jhibbits
Reviewed by: jhibbits
Approved by: re (gjb)


# 66660095 21-Jun-2018 Ian Lepore <ian@FreeBSD.org>

Add spi(8), a utility for communicating with a device on a SPI bus from
userland, conceptually similar to what i2c(8) provides for i2c devices.

Submitted by: Bob Frazier
Differential Revision: https://reviews.freebsd.org/D15029


# 01cebb69 19-Jun-2018 Sean Bruno <sbruno@FreeBSD.org>

MK_EFI - Add uefisign and friends to this knob and ensure that we don't
try to build them if MK_OPENSSL is unset.

Reviewed by: emaste imp kevans
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D15211


# a520a7cf 15-Jun-2018 Rick Macklem <rmacklem@FreeBSD.org>

Add a command that copies or migrates a data file from one DS to another.

This command can be used by a sysadmin to either copy or migrate a data
file on one DS to another DS.
Its main use is to recover data files onto a mirrored DS after the DS has
been repaired and brought back online.


# 6cb9ec3c 15-Jun-2018 Rick Macklem <rmacklem@FreeBSD.org>

Add a command the displays and modifies the pNFS server's extended attribute.

This command allows a sysadmin to display or modify the pnfsd.dsfile extended
attribute used by the pNFS MDS server in various ways.
Its main use is to set a DS's IP address to 0.0.0.0 when that DS has failed,
so that it will not be used for the file when brought back online after
being repaired.


# 725f388b 15-Jun-2018 Rick Macklem <rmacklem@FreeBSD.org>

Add an entry into the Makefile for pnfsdskill.

pnfsdskill was added by r335192. This commit adds an entry for it to the
Makefile.


# 456eeabe 08-Jun-2018 Matt Macy <mmacy@FreeBSD.org>

pmc: fix logic in skipping riscv


# 6159b91c 08-Jun-2018 Matt Macy <mmacy@FreeBSD.org>

pmc: don't build on riscv where there's no kmod support


# f992dd4b 06-Jun-2018 Matt Macy <mmacy@FreeBSD.org>

pmc: convert native to jsonl and track TSC value of samples

- add '-j' options to filter to enable converting native pmc
log format to json lines format to enable the use of scripts
and external tooling

% pmc filter -j pmc.log pmc.jsonl

- Record the tsc value in sampling interrupts as opposed to
recording nanotime when the sample is copied to a global log
in hardclock - potentially many milliseconds later.

- At initialize record the tsc_freq and the time of day to give
us an offset for translating the tsc values in callchain records


# ebfaf69c 04-Jun-2018 Matt Macy <mmacy@FreeBSD.org>

hwpmc: log name->pid, name->tid mappings

By logging all threads and processes 'pmc filter'
can now filter on process or thread name, relieving
the user of the burden of determining which tid or
pid was which when the sample was taken.

% pmc filter -T if_io_tqg -P nginx pmc.log pmc-iflib.log

% pmc filter -x -T idle pmc.log pmc-noidle.log


# 3554f22e 29-May-2018 Matt Macy <mmacy@FreeBSD.org>

pmc: Add new sub-command structured "pmc" utility

This will manage pmc functionality with a more
manageable structure of subcommands rather than the
gradually accreted spaghetti logic of overlapping flags
that exists in pmcstat.

This is intended to ultimately have all the same functionality
as pmcannotate+pmccontrol+pmcstat. Currently it just has
"stat" and "system-stat" - counters for the process itself and counters
for the system as a whole respectively (i.e. system-stat includes kernel
threads). Note that the rusage results (page faults/context switches/
user/sys) for stat-system will not account for the system as a whole -
only for the child process specified on the command line.

Implementing stat was suggested by mjg@ and the output is based on that
from Linux's "perf stat".

% pmc stat -- make -j32 buildkernel -DNO_MODULES -ss > /dev/null
9598393 page faults # 0.674 M/sec
387085 voluntary csw # 0.027 M/sec
106989 involuntary csw # 0.008 M/sec
2763965982317 cycles
2542953049760 instructions # 0.920 inst/cycle
511562750157 branches
12917006881 branch-misses # 2.525%
17944429878 cache-references # 0.007 refs/inst
2205119560 cache-misses # 12.289%
43.74 real # 2019.72% cpu
795.09 user # 1817.72% cpu
88.35 sys # 202.00% cpu

% make -j32 buildkernel -DNO_MODULES -ss > /dev/null &
% sudo pmc stat-system cat
^C 103 page faults # 0.811 M/sec
4 voluntary csw # 0.031 M/sec
0 involuntary csw # 0.000 M/sec
2843639070514 cycles
2606171217438 instructions # 0.916 inst/cycle
522450422783 branches
13092862839 branch-misses # 2.506%
18592101113 cache-references # 0.007 refs/inst
2562878667 cache-misses # 13.785%
44.85 real # 0.00% cpu
0.00 user # 0.00% cpu
0.00 sys # 0.00% cpu


# 4fa99856 15-May-2018 Ed Maste <emaste@FreeBSD.org>

Sort mlx5tool correctly in usr.sbin/Makefile


# e6a376d1 01-May-2018 Ed Maste <emaste@FreeBSD.org>

Retire lmc(4)

This driver supports legacy, 32-bit PCI devices, and had an ambiguous
license. Supported devices were already reported to be rare in 2003
(when an earlier version of the driver was removed in r123201).

Reviewed by: rgrimes
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D15245


# e808190a 08-Mar-2018 Hans Petter Selasky <hselasky@FreeBSD.org>

Add kernel and userspace code to dump the firmware state of supported
ConnectX-4/5 devices in mlx5core.

The dump is obtained by reading a predefined register map from the
non-destructive crspace, accessible by the vendor-specific PCIe
capability (VSC). The dump is stored in preallocated kernel memory and
managed by the mlx5tool(8), which communicates with the driver using a
character device node.

The utility allows to store the dump in format
<address> <value>
into a file, to reset the dump content, and to manually initiate the
dump.

A call to mlx5_fwdump() should be added at the places where a dump
must be fetched automatically. The most likely place is right before a
firmware reset request.

Submitted by: kib@
MFC after: 1 week
Sponsored by: Mellanox Technologies


# 590682b6 12-Feb-2018 Warner Losh <imp@FreeBSD.org>

Move devmatch to sbin from usr/sbin.

Since we want to use devmatch in context before a split /,/usr system
has mounted /usr, move devmatch to /sbin.

Sponsored by: Netflix


# bdd31a52 10-Jan-2018 Warner Losh <imp@FreeBSD.org>

Remove vestiges of digi(4) driver, first attempted in r305235 with
more in r317426. There's nothing in the tree that references digiio.h
(apart from digictl(8)), so no driver implements it. Since digictl(8)
was only used to control digi(4) devices, it too should go.


# 4f7afd4f 25-Dec-2017 Warner Losh <imp@FreeBSD.org>

Doh! Never test in one tree and commit from another:

Fix typo: devmath -> devmatch

Sponsored by: Krampus! Carting off naughty committers for millennia


# d9aed21ce 25-Dec-2017 Warner Losh <imp@FreeBSD.org>

Match unattached devices on the system to potential kernel modules.

devmatch(8) matchs up devices in the system device tree with drivers
that may match them. For each unattached device in the system, it
tries to find matching PNP info in the linker hints and prints modules
to load to claim the devices.

In --unbound mode, devmatch can look for drivers that have attached to
devices in the device tree and have plug and play information, but for
which no PNP info exists. This helps find drivers that haven't been
converted yet that are in use on this system.

In addition, the ability to dump out linker.hints is provided.

Future commits will add hooks to devd.conf and rc.d to fully automate
using this information.


# 1285bcc8 08-Dec-2017 Warner Losh <imp@FreeBSD.org>

Import Netflix's efibootmgr to help manage UEFI boot variables

efibootmgr manages the UEFI BootXXXX variables that implement the UEFI
Boot Manager protocol defined in the UEFI standards. It is modeled
after the Linux program of the same name with a mostly compatible set
of command line options. Since there's a fair amount of OS specifioc
code due to differeing names and methods of doing things, the
compatibility isn't 100%.

Basic functionality is implemented, though the more advanced next boot
functionality that's been defined elsewhere is unimplemented.

Submitted by: Matt Williams (with unix / efi path xlate by me)
Sponsored by: Netflix


# c1d0ef84 09-Nov-2017 Warner Losh <imp@FreeBSD.org>

Remove useless .if. The whole point of SUBDIR.yes was so that we
didn't need this construct.

Sponsored by: Netflix


# cfcabed6 26-Sep-2017 Mateusz Guzik <mjg@FreeBSD.org>

Whack procctl(8)

It was supposed to provide a recovery mechanism against bugs in procfs's
long deprecated tracing capabilities.

Remove the tool as a prerequisite to axing the kernel side.

The tracing facility to use is ptrace(2).

MFC after: 2 weeks


# ac0ced90 08-Aug-2017 Jeremie Le Hen <jlh@FreeBSD.org>

rwho/ruptime/rwhod shouldn't be gated by RCMDS.

As peter@ points out in pr/220953:
"rwho, rwhod and ruptime are not part of the remote login suite (rsh, rlogin
etc).

They should *not* be in the rcmds package which is disabled by default. We
rely on rwho/rwhod/ruptime in the freebsd.org cluster."

This commit is a re-commit of r322029 and r322031 with a better commit log, as
pointed out by ngie@.

This also includes the necesary changes to OptionalObsoleteFiles.inc, as
requested by jhb@.

PR: 220953
Reported by: peter@, jhb@
Differential Revision: https://reviews.freebsd.org/D11743


# eba789dc 08-Aug-2017 Jeremie Le Hen <jlh@FreeBSD.org>

Revert r322029 and r322031 so as to recommit them with a better commit log.

PR: 220953
Reported by: ngie@


# 881d286b 03-Aug-2017 Jeremie Le Hen <jlh@FreeBSD.org>

rwho/ruptime/rwhod shouldn't be gated by RCMDS.

PR: 220953
Reported by: peter@
Differential Revision: https://reviews.freebsd.org/D11743


# 01df7d10 05-Jul-2017 Enji Cooper <ngie@FreeBSD.org>

Remove SUBDIR ordering/uniquifying in *bin/Makefile

After the addition of SUBDIR.yes, uniquifying/ordering the SUBDIRs doesn't
make a whole lot of sense, and it's in effect a half measure.

Ordering SUBDIR (after adding SUBDIR.yes to it) in bsd.subdir.mk is a
separate change that warrants more discussion/testing, because while
the SUBDIR_PARALLEL work largely fixed dependency ordering for SUBDIRs,
there might be downstream FreeBSD consumers that rely on the SUBDIR
ordering.

MFC after: 2 months
Reviewed by: bdrewery
Differential Revision: D11398


# 2bcbcb59 08-Mar-2017 Warner Losh <imp@FreeBSD.org>

efidp manipulates UEFI Device Paths in various ways. At the moment, it
formats and parses UEFI standard Device Paths. In the future it will
also translate between FreeBSD driver names and UEFI Device Paths.

Sponsored by: Netflix


# 54912308 02-Mar-2017 Navdeep Parhar <np@FreeBSD.org>

Add cxgbetool(8) to the base system.

Move cxgbetool from tools/tools to usr.sbin. Compile and install it on
platforms where cxgbe(4) is built by default. Knobs (WITH_CXGBETOOL and
WITHOUT_CXGBETOOL) have been added so that the user can override the
default setting.

Reviewed by: ngie@, gnn@, bdrewery@
MFC after: 1 month
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D9854


# de44cbc2 21-Dec-2016 Ed Schouten <ed@FreeBSD.org>

Add a Prometheus exporter for sysctl values.

Now that we have our sysctl tree annotated with aggregation labels,
let's go ahead and provide a very simple utility for exporting the
sysctl tree in Prometheus' format. It can either be used in conjunction
with the Prometheus node exporter or run through inetd(8).

The reason why I'm opting for having it in the base system is because it
has a pretty strong integration with some of sysctl's innards, such as
access to iterators, name lookups, metadata and type information. As I
am investigating whether we can add histograms as native types to sysctl
as well, this integration will only get stronger as we go along. That's
why it would be safer to oversee the development of this exporter
ourselves, as opposed to having it as an external project.

This exporter is remarkably compact, especially when compared to the
official Linux binary of the Prometheus node exporter (16 KB vs 12 MB).
I guess this could be an interesting aspect for monitoring embedded
FreeBSD-based systems.

Differential Revision: https://reviews.freebsd.org/D8792


# 4fe54d42 22-Oct-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Fix build of tzsetup when WITHOUT_DIALOG is set

Hide dialog specific code behind HAVE_DIALOG. It allows to build a stripped
down version (missing the dialog UI) but perfectly function tzsetup when
world is built WITHOUT_DIALOG

Reorganise a bit the code to limit the number of blocks under HAVE_DIALOG

Reviewed by: emaste
Sponsored by: https://reviews.freebsd.org/D8325


# b2a7ac48 13-Oct-2016 Warner Losh <imp@FreeBSD.org>

Fix building on i386 and arm. But 'public domain' headers on the files
with no creative content. Include "lost" changes from git:
o Use /dev/efi instead of /dev/efidev
o Remove redundant NULL checks.

Submitted by: kib@, dim@, zbb@, emaste@


# 4d6fa884 12-Oct-2016 Ed Maste <emaste@FreeBSD.org>

Temporarily disconnect efivar to fix arm and i386 builds


# 4b844f8d 11-Oct-2016 Warner Losh <imp@FreeBSD.org>

Add efivar(1) to manipulate EFI variables. It uses a similar command
line interface to the Linux program, as well as adding a number of
useful features to make using it in shell scripts easier (since we
don't have a filesystem to fall back on interacting with).

Differential Revision: https://reviews.freebsd.org/D8128
Reviewed by: kib@, wblock@, Ganael Laplanche


# f987297f 27-Sep-2016 Ed Maste <emaste@FreeBSD.org>

Add a WITHOUT_DIALOG src.conf(5) knob

It also turns off dependencies (bsdinstall, bsdconfig, dpv, tzsetup).

Reviewed by: dteske
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D7969


# f5e96fb5 05-Aug-2016 Baptiste Daroussin <bapt@FreeBSD.org>

always install etcupdate

Now that etcupdate does not depend on rcs anymore there is no need to
conditionnally install it


# d849978d 27-Jul-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Reconnect pmcstudy, lost in r291021

Reported by: pluknet
MFC after: 3 days
Sponsored by: EMC / Isilon Storage Division


# c0759dac 07-Jun-2016 Kurt Lidl <lidl@FreeBSD.org>

Separate BLACKLIST vs BLACKLIST_SUPPORT properly

Sponsored by: The FreeBSD Foundation


# 95856e14 02-Jun-2016 Kurt Lidl <lidl@FreeBSD.org>

Add basic blacklist build support

Reviewed by: rpaulo
Approved by: rpaulo
Relnotes: YES
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D5913


# 9a6844d5 19-May-2016 Kenneth D. Merry <ken@FreeBSD.org>

Add support for managing Shingled Magnetic Recording (SMR) drives.

This change includes support for SCSI SMR drives (which conform to the
Zoned Block Commands or ZBC spec) and ATA SMR drives (which conform to
the Zoned ATA Command Set or ZAC spec) behind SAS expanders.

This includes full management support through the GEOM BIO interface, and
through a new userland utility, zonectl(8), and through camcontrol(8).

This is now ready for filesystems to use to detect and manage zoned drives.
(There is no work in progress that I know of to use this for ZFS or UFS, if
anyone is interested, let me know and I may have some suggestions.)

Also, improve ATA command passthrough and dispatch support, both via ATA
and ATA passthrough over SCSI.

Also, add support to camcontrol(8) for the ATA Extended Power Conditions
feature set. You can now manage ATA device power states, and set various
idle time thresholds for a drive to enter lower power states.

Note that this change cannot be MFCed in full, because it depends on
changes to the struct bio API that break compatilibity. In order to
avoid breaking the stable API, only changes that don't touch or depend on
the struct bio changes can be merged. For example, the camcontrol(8)
changes don't depend on the new bio API, but zonectl(8) and the probe
changes to the da(4) and ada(4) drivers do depend on it.

Also note that the SMR changes have not yet been tested with an actual
SCSI ZBC device, or a SCSI to ATA translation layer (SAT) that supports
ZBC to ZAC translation. I have not yet gotten a suitable drive or SAT
layer, so any testing help would be appreciated. These changes have been
tested with Seagate Host Aware SATA drives attached to both SAS and SATA
controllers. Also, I do not have any SATA Host Managed devices, and I
suspect that it may take additional (hopefully minor) changes to support
them.

Thanks to Seagate for supplying the test hardware and answering questions.

sbin/camcontrol/Makefile:
Add epc.c and zone.c.

sbin/camcontrol/camcontrol.8:
Document the zone and epc subcommands.

sbin/camcontrol/camcontrol.c:
Add the zone and epc subcommands.

Add auxiliary register support to build_ata_cmd(). Make sure to
set the CAM_ATAIO_NEEDRESULT, CAM_ATAIO_DMA, and CAM_ATAIO_FPDMA
flags as appropriate for ATA commands.

Add a new get_ata_status() function to parse ATA result from SCSI
sense descriptors (for ATA passthrough over SCSI) and ATA I/O
requests.

sbin/camcontrol/camcontrol.h:
Update the build_ata_cmd() prototype

Add get_ata_status(), zone(), and epc().

sbin/camcontrol/epc.c:
Support for ATA Extended Power Conditions features. This includes
support for all features documented in the ACS-4 Revision 12
specification from t13.org (dated February 18, 2016).

The EPC feature set allows putting a drive into a power power mode
immediately, or setting timeouts so that the drive will
automatically enter progressively lower power states after various
idle times.

sbin/camcontrol/fwdownload.c:
Update the firmware download code for the new build_ata_cmd()
arguments.

sbin/camcontrol/zone.c:
Implement support for Shingled Magnetic Recording (SMR) drives
via SCSI Zoned Block Commands (ZBC) and ATA Zoned Device ATA
Command Set (ZAC).

These specs were developed in concert, and are functionally
identical. The primary differences are due to SCSI and ATA
differences. (SCSI is big endian, ATA is little endian, for
example.)

This includes support for all commands defined in the ZBC and
ZAC specs.

sys/cam/ata/ata_all.c:
Decode a number of additional ATA command names in ata_op_string().

Add a new CCB building function, ata_read_log().

Add ata_zac_mgmt_in() and ata_zac_mgmt_out() CCB building
functions. These support both DMA and NCQ encapsulation.

sys/cam/ata/ata_all.h:
Add prototypes for ata_read_log(), ata_zac_mgmt_out(), and
ata_zac_mgmt_in().

sys/cam/ata/ata_da.c:
Revamp the ada(4) driver to support zoned devices.

Add four new probe states to gather information needed for zone
support.

Add a new adasetflags() function to avoid duplication of large
blocks of flag setting between the async handler and register
functions.

Add new sysctl variables that describe zone support and paramters.

Add support for the new BIO_ZONE bio, and all of its subcommands:
DISK_ZONE_OPEN, DISK_ZONE_CLOSE, DISK_ZONE_FINISH, DISK_ZONE_RWP,
DISK_ZONE_REPORT_ZONES, and DISK_ZONE_GET_PARAMS.

sys/cam/scsi/scsi_all.c:
Add command descriptions for the ZBC IN/OUT commands.

Add descriptions for ZBC Host Managed devices.

Add a new function, scsi_ata_pass() to do ATA passthrough over
SCSI. This will eventually replace scsi_ata_pass_16() -- it
can create the 12, 16, and 32-byte variants of the ATA
PASS-THROUGH command, and supports setting all of the
registers defined as of SAT-4, Revision 5 (March 11, 2016).

Change scsi_ata_identify() to use scsi_ata_pass() instead of
scsi_ata_pass_16().

Add a new scsi_ata_read_log() function to facilitate reading
ATA logs via SCSI.

sys/cam/scsi/scsi_all.h:
Add the new ATA PASS-THROUGH(32) command CDB. Add extended and
variable CDB opcodes.

Add Zoned Block Device Characteristics VPD page.

Add ATA Return SCSI sense descriptor.

Add prototypes for scsi_ata_read_log() and scsi_ata_pass().

sys/cam/scsi/scsi_da.c:
Revamp the da(4) driver to support zoned devices.

Add five new probe states, four of which are needed for ATA
devices.

Add five new sysctl variables that describe zone support and
parameters.

The da(4) driver supports SCSI ZBC devices, as well as ATA ZAC
devices when they are attached via a SCSI to ATA Translation (SAT)
layer. Since ZBC -> ZAC translation is a new feature in the T10
SAT-4 spec, most SATA drives will be supported via ATA commands
sent via the SCSI ATA PASS-THROUGH command. The da(4) driver will
prefer the ZBC interface, if it is available, for performance
reasons, but will use the ATA PASS-THROUGH interface to the ZAC
command set if the SAT layer doesn't support translation yet.
As I mentioned above, ZBC command support is untested.

Add support for the new BIO_ZONE bio, and all of its subcommands:
DISK_ZONE_OPEN, DISK_ZONE_CLOSE, DISK_ZONE_FINISH, DISK_ZONE_RWP,
DISK_ZONE_REPORT_ZONES, and DISK_ZONE_GET_PARAMS.

Add scsi_zbc_in() and scsi_zbc_out() CCB building functions.

Add scsi_ata_zac_mgmt_out() and scsi_ata_zac_mgmt_in() CCB/CDB
building functions. Note that these have return values, unlike
almost all other CCB building functions in CAM. The reason is
that they can fail, depending upon the particular combination
of input parameters. The primary failure case is if the user
wants NCQ, but fails to specify additional CDB storage. NCQ
requires using the 32-byte version of the SCSI ATA PASS-THROUGH
command, and the current CAM CDB size is 16 bytes.

sys/cam/scsi/scsi_da.h:
Add ZBC IN and ZBC OUT CDBs and opcodes.

Add SCSI Report Zones data structures.

Add scsi_zbc_in(), scsi_zbc_out(), scsi_ata_zac_mgmt_out(), and
scsi_ata_zac_mgmt_in() prototypes.

sys/dev/ahci/ahci.c:
Fix SEND / RECEIVE FPDMA QUEUED in the ahci(4) driver.

ahci_setup_fis() previously set the top bits of the sector count
register in the FIS to 0 for FPDMA commands. This is okay for
read and write, because the PRIO field is in the only thing in
those bits, and we don't implement that further up the stack.

But, for SEND and RECEIVE FPDMA QUEUED, the subcommand is in that
byte, so it needs to be transmitted to the drive.

In ahci_setup_fis(), always set the the top 8 bits of the
sector count register. We need it in both the standard
and NCQ / FPDMA cases.

sys/geom/eli/g_eli.c:
Pass BIO_ZONE commands through the GELI class.

sys/geom/geom.h:
Add g_io_zonecmd() prototype.

sys/geom/geom_dev.c:
Add new DIOCZONECMD ioctl, which allows sending zone commands to
disks.

sys/geom/geom_disk.c:
Add support for BIO_ZONE commands.

sys/geom/geom_disk.h:
Add a new flag, DISKFLAG_CANZONE, that indicates that a given
GEOM disk client can handle BIO_ZONE commands.

sys/geom/geom_io.c:
Add a new function, g_io_zonecmd(), that handles execution of
BIO_ZONE commands.

Add permissions check for BIO_ZONE commands.

Add command decoding for BIO_ZONE commands.

sys/geom/geom_subr.c:
Add DDB command decoding for BIO_ZONE commands.

sys/kern/subr_devstat.c:
Record statistics for REPORT ZONES commands. Note that the
number of bytes transferred for REPORT ZONES won't quite match
what is received from the harware. This is because we're
necessarily counting bytes coming from the da(4) / ada(4) drivers,
which are using the disk_zone.h interface to communicate up
the stack. The structure sizes it uses are slightly different
than the SCSI and ATA structure sizes.

sys/sys/ata.h:
Add many bit and structure definitions for ZAC, NCQ, and EPC
command support.

sys/sys/bio.h:
Convert the bio_cmd field to a straight enumeration. This will
yield more space for additional commands in the future. After
change r297955 and other related changes, this is now possible.
Converting to an enumeration will also prevent use as a bitmask
in the future.

sys/sys/disk.h:
Define the DIOCZONECMD ioctl.

sys/sys/disk_zone.h:
Add a new API for managing zoned disks. This is very close to
the SCSI ZBC and ATA ZAC standards, but uses integers in native
byte order instead of big endian (SCSI) or little endian (ATA)
byte arrays.

This is intended to offer to the complete feature set of the ZBC
and ZAC disk management without requiring the application developer
to include SCSI or ATA headers. We also use one set of headers
for ioctl consumers and kernel bio-level consumers.

sys/sys/param.h:
Bump __FreeBSD_version for sys/bio.h command changes, and inclusion
of SMR support.

usr.sbin/Makefile:
Add the zonectl utility.

usr.sbin/diskinfo/diskinfo.c
Add disk zoning capability to the 'diskinfo -v' output.

usr.sbin/zonectl/Makefile:
Add zonectl makefile.

usr.sbin/zonectl/zonectl.8
zonectl(8) man page.

usr.sbin/zonectl/zonectl.c
The zonectl(8) utility. This allows managing SCSI or ATA zoned
disks via the disk_zone.h API. You can report zones, reset write
pointers, get parameters, etc.

Sponsored by: Spectra Logic
Differential Revision: https://reviews.freebsd.org/D6147
Reviewed by: wblock (documentation)


# 486607d0 14-Mar-2016 Warner Losh <imp@FreeBSD.org>

Just install ar5523.bin into /usr/share/firmware and stop compiling it
in.

Differential Review: https://reviews.freebsd.org/D5639


# 8f9bf0d6 26-Jan-2016 Ruslan Bukin <br@FreeBSD.org>

Remove uathload from build due to issue with GCC 5.2.0:
"ld: --relax and -r may not be used together."
Requires fixing ld command line arguments and testing.


# 91ee3463 21-Dec-2015 Ian Lepore <ian@FreeBSD.org>

Make the building of libsmb and mount_smbfs unconditional, now that r292552
has eliminated alignment and endian problems that were making it fail on
some platforms.

PR: 180438
PR: 189415


# a9934668 03-Dec-2015 Kenneth D. Merry <ken@FreeBSD.org>

Add asynchronous command support to the pass(4) driver, and the new
camdd(8) utility.

CCBs may be queued to the driver via the new CAMIOQUEUE ioctl, and
completed CCBs may be retrieved via the CAMIOGET ioctl. User
processes can use poll(2) or kevent(2) to get notification when
I/O has completed.

While the existing CAMIOCOMMAND blocking ioctl interface only
supports user virtual data pointers in a CCB (generally only
one per CCB), the new CAMIOQUEUE ioctl supports user virtual and
physical address pointers, as well as user virtual and physical
scatter/gather lists. This allows user applications to have more
flexibility in their data handling operations.

Kernel memory for data transferred via the queued interface is
allocated from the zone allocator in MAXPHYS sized chunks, and user
data is copied in and out. This is likely faster than the
vmapbuf()/vunmapbuf() method used by the CAMIOCOMMAND ioctl in
configurations with many processors (there are more TLB shootdowns
caused by the mapping/unmapping operation) but may not be as fast
as running with unmapped I/O.

The new memory handling model for user requests also allows
applications to send CCBs with request sizes that are larger than
MAXPHYS. The pass(4) driver now limits queued requests to the I/O
size listed by the SIM driver in the maxio field in the Path
Inquiry (XPT_PATH_INQ) CCB.

There are some things things would be good to add:

1. Come up with a way to do unmapped I/O on multiple buffers.
Currently the unmapped I/O interface operates on a struct bio,
which includes only one address and length. It would be nice
to be able to send an unmapped scatter/gather list down to
busdma. This would allow eliminating the copy we currently do
for data.

2. Add an ioctl to list currently outstanding CCBs in the various
queues.

3. Add an ioctl to cancel a request, or use the XPT_ABORT CCB to do
that.

4. Test physical address support. Virtual pointers and scatter
gather lists have been tested, but I have not yet tested
physical addresses or scatter/gather lists.

5. Investigate multiple queue support. At the moment there is one
queue of commands per pass(4) device. If multiple processes
open the device, they will submit I/O into the same queue and
get events for the same completions. This is probably the right
model for most applications, but it is something that could be
changed later on.

Also, add a new utility, camdd(8) that uses the asynchronous pass(4)
driver interface.

This utility is intended to be a basic data transfer/copy utility,
a simple benchmark utility, and an example of how to use the
asynchronous pass(4) interface.

It can copy data to and from pass(4) devices using any target queue
depth, starting offset and blocksize for the input and ouptut devices.
It currently only supports SCSI devices, but could be easily extended
to support ATA devices.

It can also copy data to and from regular files, block devices, tape
devices, pipes, stdin, and stdout. It does not support queueing
multiple commands to any of those targets, since it uses the standard
read(2)/write(2)/writev(2)/readv(2) system calls.

The I/O is done by two threads, one for the reader and one for the
writer. The reader thread sends completed read requests to the
writer thread in strictly sequential order, even if they complete
out of order. That could be modified later on for random I/O patterns
or slightly out of order I/O.

camdd(8) uses kqueue(2)/kevent(2) to get I/O completion events from
the pass(4) driver and also to send request notifications internally.

For pass(4) devcies, camdd(8) uses a single buffer (CAM_DATA_VADDR)
per CAM CCB on the reading side, and a scatter/gather list
(CAM_DATA_SG) on the writing side. In addition to testing both
interfaces, this makes any potential reblocking of I/O easier. No
data is copied between the reader and the writer, but rather the
reader's buffers are split into multiple I/O requests or combined
into a single I/O request depending on the input and output blocksize.

For the file I/O path, camdd(8) also uses a single buffer (read(2),
write(2), pread(2) or pwrite(2)) on reads, and a scatter/gather list
(readv(2), writev(2), preadv(2), pwritev(2)) on writes.

Things that would be nice to do for camdd(8) eventually:

1. Add support for I/O pattern generation. Patterns like all
zeros, all ones, LBA-based patterns, random patterns, etc. Right
Now you can always use /dev/zero, /dev/random, etc.

2. Add support for a "sink" mode, so we do only reads with no
writes. Right now, you can use /dev/null.

3. Add support for automatic queue depth probing, so that we can
figure out the right queue depth on the input and output side
for maximum throughput. At the moment it defaults to 6.

4. Add support for SATA device passthrough I/O.

5. Add support for random LBAs and/or lengths on the input and
output sides.

6. Track average per-I/O latency and busy time. The busy time
and latency could also feed in to the automatic queue depth
determination.

sys/cam/scsi/scsi_pass.h:
Define two new ioctls, CAMIOQUEUE and CAMIOGET, that queue
and fetch asynchronous CAM CCBs respectively.

Although these ioctls do not have a declared argument, they
both take a union ccb pointer. If we declare a size here,
the ioctl code in sys/kern/sys_generic.c will malloc and free
a buffer for either the CCB or the CCB pointer (depending on
how it is declared). Since we have to keep a copy of the
CCB (which is fairly large) anyway, having the ioctl malloc
and free a CCB for each call is wasteful.

sys/cam/scsi/scsi_pass.c:
Add asynchronous CCB support.

Add two new ioctls, CAMIOQUEUE and CAMIOGET.

CAMIOQUEUE adds a CCB to the incoming queue. The CCB is
executed immediately (and moved to the active queue) if it
is an immediate CCB, but otherwise it will be executed
in passstart() when a CCB is available from the transport layer.

When CCBs are completed (because they are immediate or
passdone() if they are queued), they are put on the done
queue.

If we get the final close on the device before all pending
I/O is complete, all active I/O is moved to the abandoned
queue and we increment the peripheral reference count so
that the peripheral driver instance doesn't go away before
all pending I/O is done.

The new passcreatezone() function is called on the first
call to the CAMIOQUEUE ioctl on a given device to allocate
the UMA zones for I/O requests and S/G list buffers. This
may be good to move off to a taskqueue at some point.
The new passmemsetup() function allocates memory and
scatter/gather lists to hold the user's data, and copies
in any data that needs to be written. For virtual pointers
(CAM_DATA_VADDR), the kernel buffer is malloced from the
new pass(4) driver malloc bucket. For virtual
scatter/gather lists (CAM_DATA_SG), buffers are allocated
from a new per-pass(9) UMA zone in MAXPHYS-sized chunks.
Physical pointers are passed in unchanged. We have support
for up to 16 scatter/gather segments (for the user and
kernel S/G lists) in the default struct pass_io_req, so
requests with longer S/G lists require an extra kernel malloc.

The new passcopysglist() function copies a user scatter/gather
list to a kernel scatter/gather list. The number of elements
in each list may be different, but (obviously) the amount of data
stored has to be identical.

The new passmemdone() function copies data out for the
CAM_DATA_VADDR and CAM_DATA_SG cases.

The new passiocleanup() function restores data pointers in
user CCBs and frees memory.

Add new functions to support kqueue(2)/kevent(2):

passreadfilt() tells kevent whether or not the done
queue is empty.

passkqfilter() adds a knote to our list.

passreadfiltdetach() removes a knote from our list.

Add a new function, passpoll(), for poll(2)/select(2)
to use.

Add devstat(9) support for the queued CCB path.

sys/cam/ata/ata_da.c:
Add support for the BIO_VLIST bio type.

sys/cam/cam_ccb.h:
Add a new enumeration for the xflags field in the CCB header.
(This doesn't change the CCB header, just adds an enumeration to
use.)

sys/cam/cam_xpt.c:
Add a new function, xpt_setup_ccb_flags(), that allows specifying
CCB flags.

sys/cam/cam_xpt.h:
Add a prototype for xpt_setup_ccb_flags().

sys/cam/scsi/scsi_da.c:
Add support for BIO_VLIST.

sys/dev/md/md.c:
Add BIO_VLIST support to md(4).

sys/geom/geom_disk.c:
Add BIO_VLIST support to the GEOM disk class. Re-factor the I/O size
limiting code in g_disk_start() a bit.

sys/kern/subr_bus_dma.c:
Change _bus_dmamap_load_vlist() to take a starting offset and
length.

Add a new function, _bus_dmamap_load_pages(), that will load a list
of physical pages starting at an offset.

Update _bus_dmamap_load_bio() to allow loading BIO_VLIST bios.
Allow unmapped I/O to start at an offset.

sys/kern/subr_uio.c:
Add two new functions, physcopyin_vlist() and physcopyout_vlist().

sys/pc98/include/bus.h:
Guard kernel-only parts of the pc98 machine/bus.h header with
#ifdef _KERNEL.

This allows userland programs to include <machine/bus.h> to get the
definition of bus_addr_t and bus_size_t.

sys/sys/bio.h:
Add a new bio flag, BIO_VLIST.

sys/sys/uio.h:
Add prototypes for physcopyin_vlist() and physcopyout_vlist().

share/man/man4/pass.4:
Document the CAMIOQUEUE and CAMIOGET ioctls.

usr.sbin/Makefile:
Add camdd.

usr.sbin/camdd/Makefile:
Add a makefile for camdd(8).

usr.sbin/camdd/camdd.8:
Man page for camdd(8).

usr.sbin/camdd/camdd.c:
The new camdd(8) utility.

Sponsored by: Spectra Logic
MFC after: 1 week


# 98db8f80 23-Nov-2015 Marcelo Araujo <araujo@FreeBSD.org>

Connect ypldap(8) to the build.

Approved by: bapt (mentor)


# 6f42d16f 18-Nov-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Convert to SUBDIR.yes format.

Reviewed by: imp
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D4182


# 5111694c 09-Nov-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Rename usr.sbin/mtree to usr.sbin/fmtree since it is not what /usr/sbin/mtree
actually is (which is usr.sbin/nmtree).

This has tricked me numerous times.


# c94fbe26 27-Oct-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Connect mpsutil(8) to the build

Sponsored by: Gandi.net


# 5a1af1a0 26-Sep-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Revert r288268. Wrong change committed.


# 3c9e00f3 26-Sep-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Hookup mkcsmapper_static and mkesdb_static for all but install.

These are only handled as 'build-tools' in Makefile.inc1. This causes
'make clean' from the top of the tree to not clean the directories. It also
effectively has kept them disconnected and risks them bitrotting. The
buildworld process never cleans them either.

Connect them so they will always be built, cleaned, etc, but never installed.

Discussed with: imp (briefly)
Sponsored by: EMC / Isilon Storage Division


# cddcb259 04-Sep-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Add a new sesutil(8) utility

This is an utility for managing SCSI Enclosure Services (SES) device.

For now only one command is supported "locate" which will change the test of the
external LED associated to a given disk.

Usage if the following:
sesutil locate disk [on|off]

Disk can be a device name: "da12" or a special keyword: "all".

Reviewed by: mav
MFC after: 1 month
Relnotes: yes
Sponsored by: gandi.net
Differential Revision: https://reviews.freebsd.org/D3544


# 1905e4a3 28-Feb-2015 Ryan Stone <rstone@FreeBSD.org>

Add main() for iovctl and hook iovctl into build

Differential Revision: https://reviews.freebsd.org/D87
Reviewed by: jhb
MFC after: 1 month
Sponsored by: Sandvine Inc.


# 8625a33e 28-Feb-2015 Ryan Stone <rstone@FreeBSD.org>

Revert r279454. The new directory didn't get added to svn properly.

Pointy hat to: rstone


# b431478e 28-Feb-2015 Ryan Stone <rstone@FreeBSD.org>

Add main() for iovctl and hook iovctl into build

Differential Revision: https://reviews.freebsd.org/D87
Reviewed by: jhb
MFC after: 1 month
Sponsored by: Sandvine Inc.


# e595e65b 26-Feb-2015 Edward Tomasz Napierala <trasz@FreeBSD.org>

Add uefisign(8), UEFI Secure Boot signing utility.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation


# b1499feb 19-Feb-2015 Gleb Smirnoff <glebius@FreeBSD.org>

Now that IGMP and MLD sysctls provide a clean API structures that do not
leak kernel internal stuff, reconnect ifmcstat(1) back to build. However,
disable kvm(3) support in it, since it requires uncovering tons of _KERNEL
defined declarations, which can be achieved either uncovering them globally
or providing dirty hacks such as _WANT_IFADDR. If anyone demands an
ifmcstat-like kvm-based tool, please take the code out of usr.sbin/ifmstat
and create a tool in src/tools/tools.


# 57e8e48f 19-Feb-2015 Enji Cooper <ngie@FreeBSD.org>

Unbreak freshly installed worlds by properly "commenting" out ifmcstat

Pointyhat to: glebius


# 53d3d92f 18-Feb-2015 Gleb Smirnoff <glebius@FreeBSD.org>

Temporarily disconnect ifmcstat(8) from build, to make world buildable
ifmcstat(8) noses in kernel memory too much, and thus is very tentative
to any changes in kernel.

I will rewrite it to use some API instead of libkvm(3) and connect back
to build.


# 64de8019 06-Feb-2015 John Baldwin <jhb@FreeBSD.org>

Add a new device control utility for new-bus devices called devctl. This
allows the user to request administrative changes to individual devices
such as attach or detaching drivers or disabling and re-enabling devices.
- Add a new /dev/devctl2 character device which uses ioctls for device
requests. The ioctls use a common 'struct devreq' which is somewhat
similar to 'struct ifreq'.
- The ioctls identify the device to operate on via a string. This
string can either by the device's name, or it can be a bus-specific
address. (For unattached devices, a bus address is the only way to
locate a device.) Bus drivers register an eventhandler to claim
unrecognized device names that the driver recognizes as a valid address.
Two buses currently support addresses: ACPI recognizes any device
in the ACPI namespace via its full path starting with "\" and
the PCI bus driver recognizes an address specification of
'pci[<domain>:]<bus>:<slot>:<func>' (identical to the PCI selector
strings supported by pciconf).
- To make it easier to cut and paste, change the PnP location string
in the PCI bus driver to output a full PCI selector string rather
than 'slot=<slot> function=<func>'.
- Add a devctl(3) interface in libdevctl which provides a wrapper around
the ioctls and is the preferred interface for other userland code.
- Add a devctl(8) program which is a simple wrapper around the requests
supported by devctl(3).
- Add a device_is_suspended() function to check DF_SUSPENDED.
- Add a resource_unset_value() function that can be used to remove a
hint from the kernel environment. This is used to clear a
hint.<driver>.<unit>.disabled hint when re-enabling a boot-time
disabled device.

Reviewed by: imp (parts)
Requested by: imp (changing PCI location string)
Relnotes: yes


# 11981695 04-Feb-2015 Enji Cooper <ngie@FreeBSD.org>

Add the following options to enable/disable several features in the base system

WITHOUT_BOOTPARAMD - bootparamd
WITHOUT_BOOTPD - bootpd
WITHOUT_FINGER - finger, fingerd
WITHOUT_FTP - ftp, ftpd
WITHOUT_INETD - inetd
WITHOUT_RBOOTD - rbootd
WITHOUT_TCP_WRAPPERS - tcpd, et al
WITHOUT_TFTP - tftp, tftp-server
WITHOUT_TIMED - timed

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division


# b3590423 26-Jan-2015 Enji Cooper <ngie@FreeBSD.org>

Add MK_AUTOFS knob for building and installing autofs(4), et al

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division


# e45b569c 24-Jan-2015 Enji Cooper <ngie@FreeBSD.org>

Add MK_BSDINSTALL knob for building and installing bsdinstall

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division


# b29d6977 24-Jan-2015 Enji Cooper <ngie@FreeBSD.org>

Add MK_ISCSI knob for building the iscsi initiator, iscsi daemon, kernel
modules, etc

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division


# 43682290 22-Jan-2015 Enji Cooper <ngie@FreeBSD.org>

Remove the duplicate zzz entry


# d95b3509 13-Jan-2015 Randall Stewart <rrs@FreeBSD.org>

Update the hwpmc driver to have the new type HASWELL_XEON. Also
go back through HASWELL, IVY_BRIDGE, IVY_BRIDGE_XEON and SANDY_BRIDGE
to straighten out all the missing PMCs. We also add a new pmc tool
pmcstudy, this allows one to run the various formulas from
the documents "Using Intel Vtune Amplifier XE on XXX Generation platforms" for
IB/SB and Haswell. The tool also allows one to postulate your own
formulas with any of the various PMC's. At some point I will enahance
this to work with Brendan Gregg's flame-graphs so we can flamegraph
various PMC interactions. Note the manual page also needs some
work (lots of work) but gnn has committed to help me with that ;-)
Reviewed by: gnn
MFC after:1 month
Sponsored by: Netflix Inc.


# 17a2c536 14-Dec-2014 Dag-Erling Smørgrav <des@FreeBSD.org>

Add a vigr(8) utility which does for /etc/group what vipw(8) does for
/etc/master.passwd.


# be3a49ee 10-Dec-2014 Edward Tomasz Napierala <trasz@FreeBSD.org>

Add fstyp(8). This utility, named after its SVR4 counterpart, detects
filesystems. It differs from file(1) in that it gives machine-parseable
output, it outputs filesystem labels, doesn't get confused by other
formats metadata, and runs in Capsicum sandbox.

Differential Revision: https://reviews.freebsd.org/D1255
Relnotes: yes
Sponsored by: The FreeBSD Foundation


# c415effc 02-Dec-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install usr.sbin/mountd if MK_NFS_SERVER == no


# c8c7f0b0 02-Dec-2014 Enji Cooper <ngie@FreeBSD.org>

Add knob, MK_MAC_SUPPORT for building items with mac(9) support, like
libugidfw, ugidfw, etc


# e7d836f7 29-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Make nfs server components conditional according to MK_NFS_SERVER


# a8b303ad 27-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Add WITHOUT_AUTOFS and WITHOUT_BSDCONFIG


# a3f5edf0 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Add MK_TIMED option for optionally building usr.sbin/timed, et al


# 466046ec 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Conditionalize a number of components in the tree

- bootparamd
- bootpd
- finger/fingerd
- ftp/ftpd
- hastctl/hastd
- iscsid, et al
- rbootd
- talk/talkd
- tcpd, et al
- tftp/tftpd

Add src.conf entries for the various components and do a best effort
at adding components to tools/build/mk/OptionalObsoleteFiles.inc


# 05bc3dd6 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Make inetd optional via MK_INETD


# 41e07276 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Make bsdinstall(8) and sade(8) optional components via MK_BSDINSTALL=yes


# 603eaf79 09-Nov-2014 Alexander V. Chernikov <melifaro@FreeBSD.org>

Renove faith(4) and faithd(8) from base. It looks like industry
have chosen different (and more traditional) stateless/statuful
NAT64 as translation mechanism. Last non-trivial commits to both
faith(4) and faithd(8) happened more than 12 years ago, so I assume
it is time to drop RFC3142 in FreeBSD.

No objections from: net@


# 478290db 30-Sep-2014 Enji Cooper <ngie@FreeBSD.org>

Check in first src/tests snapshot from NetBSD anoncvs

Sources were obtained like so:

% export CVSROOT="anoncvs@anoncvs.NetBSD.org:/cvsroot"
% cvs -z9 co -D "09/30/2014 20:45" -P src/tests
% mv src/tests/* tests/dist/.

'*CVS*' has been added to svn:ignore to ease updating periodically from
upstream

Some line ending issues had to be resolved with test outputs and scripts
via dos2unix and by deleting the eol-style property set in usr.bin/sort

Discussed with: rpaulo
Sponsored by: EMC / Isilon Storage Division


# cec2add4 10-Sep-2014 Alan Somers <asomers@FreeBSD.org>

Conditionalize build of etcupdate(8) on MK_RCS. Since etcupdate calls
merge(1), which is part of the RCS package, it must not be installed if
WITHOUT_RCS update is set. Otherwise, it will produce confusing errors.

CR: https://reviews.freebsd.org/D691
MFC after: 1 week
Sponsored by: Spectra Logic


# 3914ddf8 17-Aug-2014 Edward Tomasz Napierala <trasz@FreeBSD.org>

Bring in the new automounter, similar to what's provided in most other
UNIX systems, eg. MacOS X and Solaris. It uses Sun-compatible map format,
has proper kernel support, and LDAP integration.

There are still a few outstanding problems; they will be fixed shortly.

Reviewed by: allanjude@, emaste@, kib@, wblock@ (earlier versions)
Phabric: D523
MFC after: 2 weeks
Relnotes: yes
Sponsored by: The FreeBSD Foundation


# c6063d0d 05-May-2014 Warner Losh <imp@FreeBSD.org>

Use src.opts.mk in preference to bsd.own.mk except where we need stuff
from the latter.


# 6d756449 08-Apr-2014 Sean Bruno <sbruno@FreeBSD.org>

Add Stacey Son's binary activation patches that allow remapping of
execution to a emumation program via parsing of ELF header information.

With this kernel module and userland tool, poudriere is able to build
ports packages via the QEMU userland tools (or another emulator program)
in a different architecture chroot, e.g. TARGET=mips TARGET_ARCH=mips

I'm not connecting this to GENERIC for obvious reasons, but this should
allow the kernel module to be built by default and enable the building
of the userland tool (which automatically loads the kernel module).

Submitted by: sson@
Reviewed by: jhb@


# 54ff5d73 26-Mar-2014 Dimitry Andric <dim@FreeBSD.org>

Add a SUBDIR_PARALLEL option to bsd.subdir.mk, to allow make to process
all the SUBDIR entries in parallel, instead of serially. Apply this
option to a selected number of Makefiles, which can greatly speed up the
build on multi-core machines, when using make -j.

This can be extended to more Makefiles later on, whenever they are
verified to work correctly with parallel building.

I tested this on a 24-core machine, with make -j48 buildworld (N = 6):

before stddev after stddev
======= ====== ======= ======
real time 1741.1 16.5 959.8 2.7
user time 12468.7 16.4 14393.0 16.8
sys time 1825.0 54.8 2110.6 22.8

(user+sys)/real 8.2 17.1

E.g. the build was approximately 45% faster in real time. On machines
with less cores, or with lower -j settings, the speedup will not be as
impressive. But at least you can now almost max out a machine with
buildworld!

Submitted by: jilles
MFC after: 2 weeks


# d14afb2a 15-Mar-2014 Julio Merino <jmmv@FreeBSD.org>

Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout.

This change was originally going to only migrate the usr.sbin tests but, as
it turns out, the usr.sbin/sa/ tests require files from usr.bin/lastcomm/
so it's better to just also migrate the latter at the same time. The other
usr.bin tests will be moved separately.

To make these tests work within the test suite, some of them have required
changes to prevent modifying the source directory and instead just rely on
the current directory for file manipulation.


# 2c284d93 13-Mar-2014 Gleb Smirnoff <glebius@FreeBSD.org>

Remove IPX support.

IPX was a network transport protocol in Novell's NetWare network operating
system from late 80s and then 90s. The NetWare itself switched to TCP/IP
as default transport in 1998. Later, in this century the Novell Open
Enterprise Server became successor of Novell NetWare. The last release
that claimed to still support IPX was OES 2 in 2007. Routing equipment
vendors (e.g. Cisco) discontinued support for IPX in 2011.

Thus, IPX won't be supported in FreeBSD 11.0-RELEASE.


# 8f26887d 30-Jan-2014 Brooks Davis <brooks@FreeBSD.org>

Merge from CheriBSD:
commit 2d581e8caf79d7a0f5a24590eccd06da90cccb74
Author: Brooks Davis <brooks@one-eyed-alien.net>
Date: Mon Jan 27 22:57:51 2014 +0000

Add WITHOUT_FMTREE to disable building fmtree.

MFC after: 4 weeks
Sponsored by: DARPA, AFRL


# c92d635a 31-Oct-2013 Baptiste Daroussin <bapt@FreeBSD.org>

After around 20 years of duty it is time for pkg_install to retire


# a33ce322 21-Oct-2013 Brooks Davis <brooks@FreeBSD.org>

Remove the isf(4) driver. It was created by accident and is subset of
the cfi(4) driver. It remained in the tree longer than would be ideal
due to the time required to bring cfi(4) to feature parity.

Sponsored by: DARPA/AFRL
MFC after: 3 days


# 56b72efe 30-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove BIND.

Approved by: re (gjb)


# 8f8790cd 15-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Build and install the Unbound caching DNS resolver daemon.

Approved by: re (blanket)


# 009ea47e 14-Sep-2013 Edward Tomasz Napierala <trasz@FreeBSD.org>

Bring in the new iSCSI target and initiator.

Reviewed by: ken (parts)
Approved by: re (delphij)
Sponsored by: FreeBSD Foundation


# 94bc33c1 05-Jul-2013 Devin Teske <dteske@FreeBSD.org>

Take the training-wheels off, after nearly 30 months of development. MFC to
stable/9 planned after MFC 3-day period. The MFC to stable/9 is desired for
the next release to get some much-needed time:
+ Living side-by-side with sysinstall for compare/contrast/transition
+ Living side-by-side with bsdinstall for integration/transition
+ Additional feedback/testing before eventual 10.0-R to make it even better

MFC after: 3 days


# 256cb4aa 04-Apr-2013 Alexander Motin <mav@FreeBSD.org>

Remove usr.sbin/burncd, useless after legacy ATA stack removal.


# 0ebbdcbe 23-Jan-2013 Brooks Davis <brooks@FreeBSD.org>

manctl is conditionally added to SUBDIRS later on. Don't unconditionally
include in the main list.


# 38d90616 18-Jan-2013 Eitan Adler <eadler@FreeBSD.org>

Add option to make pc-sysinstall optional

Approved by: cperciva


# 16648b4f 01-Dec-2012 Robert Watson <rwatson@FreeBSD.org>

Merge a number of changes required to hook up OpenBSM 1.2-alpha2's
auditdistd (distributed audit daemon) to the build:

- Manual cross references
- Makefile for auditdistd
- rc.d script, rc.conf entrie
- New group and user for auditdistd; associated aliases, etc.

The audit trail distribution daemon provides reliable,
cryptographically protected (and sandboxed) delivery of audit tails
from live clients to audit server hosts in order to both allow
centralised analysis, and improve resilience in the event of client
compromises: clients are not permitted to change trail contents
after submission.

Submitted by: pjd
Sponsored by: The FreeBSD Foundation (auditdistd)


# 55793cdc 16-Oct-2012 Attilio Rao <attilio@FreeBSD.org>

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

This is not targeted for MFC.


# 2a357efa 02-Oct-2012 Devin Teske <dteske@FreeBSD.org>

Import sysutils/sysrc from the ports tree (current version 5.1). Importing
disconnected under the WITH_BSDCONFIG flag (a good idea since this version of
sysrc(8) indeed requires the `sysrc.subr' module installed by bsdconfig(8)).

Multiple reasons sysrc should not simply continue to live in ports. The most
important being that it is tightly coupled with the base.

Approved by: adrian (co-mentor)


# 087d3173 25-Aug-2012 Brooks Davis <brooks@FreeBSD.org>

Add isf(4), a driver for the Intel StrataFlash family of NOR flash parts.

The driver attempts to support all documented parts, but has only been
tested with the 512Mbit part on the Terasic DE4 FPGA board. It should be
trivial to adapt the driver's attach routine to other embedded boards
using with any parts in the family.

Also import isfctl(8) which can be used to erase sections of the flash.

Sponsored by: DARPA, AFRL


# 641a6cfb 13-Jul-2012 Devin Teske <dteske@FreeBSD.org>

Import bsdconfig(8) as a replacement for the post-install abilities of
deprecated sysinstall(8). NOTE: WITH_BSDCONFIG is currently required.

Submitted by: Devin Teske (dteske), Ron McDowell <rcm@fuzzwad.org>
Reviewed by: Ron McDowell <rcm@fuzzwad.org>
Approved by: Ed Maste (emaste)


# 6f9cd2a9 13-Jul-2012 John Baldwin <jhb@FreeBSD.org>

The etcupdate utility is a tool for managing updates to files that are
not updated as part of `make installworld' such as files in /etc. It
manages updates by doing a three-way merge of changes made to these files
against the local versions. It is also designed to minimize the amount
of user intervention with the goal of simplifying upgrades for clusters
of machines.

The primary difference from mergemaster is that etcupdate requires less
manual work. The primary difference from etcmerge is that etcupdate
updates files in-place similar to mergemaster rather than building a
separate /etc tree.

Requested by: obrien, kib, theraven, joeld (among others)


# f2ed2848 02-Jul-2012 Gleb Smirnoff <glebius@FreeBSD.org>

Fix build after r237997.


# 2f3a9ba5 02-Jul-2012 Baptiste Daroussin <bapt@FreeBSD.org>

New build KNOB: WITHOUT_PKGBOOTSTRAP to condition building of usr.sbin/pkg
Do not condition usr.sbin/pkg building on WITHOUT_PKGTOOLS anymore, so that users can
remove the old pkg_* tools without removing the pkgng boostrap

Approved by: des (mentor)
MFC after: 1 month


# 7f725bcd 17-May-2012 Grzegorz Bernacki <gber@FreeBSD.org>

Import work done under project/nand (@235533) into head.

The NAND Flash environment consists of several distinct components:
- NAND framework (drivers harness for NAND controllers and NAND chips)
- NAND simulator (NANDsim)
- NAND file system (NAND FS)
- Companion tools and utilities
- Documentation (manual pages)

This work is still experimental. Please use with caution.

Obtained from: Semihalf
Supported by: FreeBSD Foundation, Juniper Networks


# 3aa4b42a 15-Apr-2012 Baptiste Daroussin <bapt@FreeBSD.org>

add usr.sbin/pkg which is a bootstrap tool for pkgng.
it respects PACKAGESITE, PACKAGEROOT, and a new environment variable ABI (if a user want to use a different API from the base one for its packages)
it has no man page on purpose to avoid hidding the pkg(8) man page from the pkgng package.
for now uses pkgbeta.FreeBSD.org as default mirror to find its package
it respects MK_PKGTOOLS

Approved by: des (mentor)


# 71d8432f 11-Feb-2012 Ed Schouten <ed@FreeBSD.org>

Replace utxrm(8) by utx(8).

At first, I added a utility called utxrm(8) to remove stale entries from
the user accounting database. It seems there are cases in which we need
to perform different operations on the database as well. Simply rename
utxrm(8) to utx(8) and place the old code under the "rm" command.

In addition to "rm", this tool supports "boot" and "shutdown", which are
going to be used by an rc-script which I am going to commit separately.


# 130f4520 11-Jan-2012 Kenneth D. Merry <ken@FreeBSD.org>

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


# e59e2d8e 03-Oct-2011 Nathan Whitehorn <nwhitehorn@FreeBSD.org>

Farewall, sysinstall! You served us well for many years, but 10.0 is one
digit beyond your time.

Various sysinstall dependencies (e.g. libftpio, libdisk, libodialog, etc.)
will be cleaned up in coming days. Some will take longer than others due to
a few other consumers (tzsetup and sade).


# 6d489ccd 18-Jul-2011 Doug Barton <dougb@FreeBSD.org>

The named.reload script is no longer useful in the age of rc.d


# 37241896 17-Jul-2011 Hiroki Sato <hrs@FreeBSD.org>

- Improve interface list handling. The rtadvd(8) now supports dynamically-
added/removed interfaces in a more consistent manner and reloading the
configuration file.

- Implement burst unsolicited RA sending into the internal RA timer framework
when AdvSendAdvertisements and/or configuration entries are changed as
described in RFC 4861 6.2.4. This fixes issues that make termination of the
rtadvd(8) daemon take very long time.

An interface now has three internal states, UNCONFIGURED, TRANSITIVE, or
CONFIGURED, and the burst unsolicited sending happens in TRANSITIVE.
See rtadvd.h for the details.

- rtadvd(8) now accepts non-existent interfaces as well in the command line.

- Add control socket support and rtadvctl(8) utility to show the RA information
in rtadvd(8). Dumping by SIGUSR1 has been removed in favor of it.


# 25630ba7 16-Jul-2011 Doug Barton <dougb@FreeBSD.org>

bmake and other updates necessary for the BIND 9.8.x upgrade.

This includes a structural change regarding atomic ops. Previously they
were enabled on all platforms unless we had knowledge that they did not
work. However both work performed by marius@ on sparc64 and the fact that
the 9.8.x branch is fussier in this area has demonstrated that this is
not a safe approach. So I've modified a patch provided by marius to
enable them for i386, amd64, and ia64 only.


# 9f0c9022 17-Jun-2011 Ed Schouten <ed@FreeBSD.org>

Add WITHOUT_UTMPX switch to the build system.

This knob removes the tools that are exclusively used to view and
maintain the databases maintained by utmpx, namely last, users, who,
wtmpcvt, ac, lastlogin and utxrm.

The tool w is not in this list, because it has some other functionality
which is unrelated to utmpx; it is hardlinked to the uptime tool.


# f1c344b2 17-Jun-2011 Ed Schouten <ed@FreeBSD.org>

Don't omit ac(8) as part of WITHOUT_ACCT.

The WITHOUT_ACCT switch is supposed to omit tools related to process
accounting, namely accton and sa. ac(8) is just a simple tool that
prints statistics based on data in the utx.log database. It has nothing
to do with the former.


# 366f6083 12-May-2011 Peter Grehan <grehan@FreeBSD.org>

Import of bhyve hypervisor and utilities, part 1.
vmm.ko - kernel module for VT-x, VT-d and hypervisor control
bhyve - user-space sequencer and i/o emulation
vmmctl - dump of hypervisor register state
libvmm - front-end to vmm.ko chardev interface

bhyve was designed and implemented by Neel Natu.

Thanks to the following folk from NetApp who helped to make this available:
Joe CaraDonna
Peter Snyder
Jeff Heller
Sandeep Mann
Steve Miller
Brian Pawlowski


# 9e7abe05 03-Apr-2011 Hans Petter Selasky <hselasky@FreeBSD.org>

- Include usbdump into default build.

MFC after: 7 days
Approved by: thompsa (mentor)


# b30bfd43 19-Feb-2011 Ed Schouten <ed@FreeBSD.org>

Add a utility, utxrm(8).

Most of the ports I broke when I imported utmpx, were simple management
utilities for the utmp database, allowing you to add/remove entries
manually.

Add a small tool called utxrm(8), which allows you to remove an entry
from the utmpx database by hand. This is useful when a login daemon
crashes or fails to remove the entry during shutdown.


# 2118f387 18-Feb-2011 Nathan Whitehorn <nwhitehorn@FreeBSD.org>

Import bsdinstall. This is meant to be (eventually in conjunction with
pc-sysinstall) a replacement for sysinstall in the 9.0 release and beyond.
Currently supported platforms are sparc64, pc98, i386, amd64, powerpc, and
powerpc64. Integration into the build system will occur in the coming
weeks.

Merging with pc-sysinstall will use this code as a frontend, while
temporarily retaining the interactive partition editor here. This work
will be done in parallel with improvements on this code and release
integration.

Thanks to all who have provided testing and comments!


# 5241f8b7 06-Nov-2010 Ulrich Spörlein <uqs@FreeBSD.org>

Put string in quotes, like is done everywhere.


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# eef93d2f 05-Oct-2010 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

- Introduce WITH_GPIO knob and disable building gpioctl
by default. Most systems do not need it.


# 8d8bfa7f 03-Oct-2010 Antoine Brodin <antoine@FreeBSD.org>

Reconnect uathload to the build.


# 968ec6a6 27-Sep-2010 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add gpioctl(8). Utility for configuring/accessing GPIO pins


# 519b7ecc 12-Sep-2010 Warner Losh <imp@FreeBSD.org>

Merge from tbemd: use Makefile.arch to control building.

Reviewed by: arch@ (many times, no objection)


# 3a1d56f9 26-Aug-2010 Warner Losh <imp@FreeBSD.org>

Make sure TARGET_ABI is defined. TARGET_ABI will die a horrible death
after we get all of TBEMD merged back into head, and make mips64 imply
n64, so don't bother to make this 100% pretty. You'll have to settle
for only 64% pretty.


# b86e178f 25-Aug-2010 Warner Losh <imp@FreeBSD.org>

Ugly kludge to paper over some kind of ld bug and/or misuse: don't
build uathload on mips n64 either.


# e3b09b5c 20-Jul-2010 Nathan Whitehorn <nwhitehorn@FreeBSD.org>

Build some powerpc-specific utilities on powerpc64 as well.

Submitted by: Andreas Tobler


# 4bbc5bd8 24-Jun-2010 Warner Losh <imp@FreeBSD.org>

Bring in Kris Moore's pc-sysinstall shell script from PC-BSD. This
shell script is the back end logic necessary for an installer. It
contains both query routines to allow a front-end installer to present
reasonable choices to the user and also action routines which allow
the front end installer to put a FreeBSD distribution onto a disk. It
supports installing onto the usual suspects, as well as advanced
features like Mirroring, ZFS, Encryprion and GPT labels.

While this is only the back-end of the installer, it can do unattended
scripted installations. In PC-BSD's world view, all installations are
scripted and all the front-end does is write the script. As such, it
is useful in its own right.

This has been extensively tested over the past several releases of
PC-BSD. However, differences between that environment and FreeBSD
suggest there will be a period of shake-out while those differences
are discovered and corrected.

A text-based front-end is in the works. For the GUI-based front-end,
you can use the PC-BSD distribution.

Kris' BSDcan paper on pc-sysinstall is linked off his talk on the
BSDcan site:
http://www.bsdcan.org/2010/schedule/events/173.en.html

The man page is written by Josh Paetzel, and I wrote the Makefiles for
the FreeBSD integration. Kris wrote the rest.

This represents version r7010 in the PC-BSD repo.
http://svn.pcbsd.org/pcbsd/current/pc-sysinstall

Submitted by: kris@
Sponsored by: iX Systems


# f13753b3 13-Jun-2010 Rafal Jaworowski <raj@FreeBSD.org>

Enable ofwdump(8) on ARM as this is a useful tool to inspect a flattened
device tree.


# 2ddf40c6 25-May-2010 Jung-uk Kim <jkim@FreeBSD.org>

MFC: r208320

Add a new build option, MAN_UTILS. This option lets you control building
utilities and related support files for manual pages, which were previously
controlled by MAN. For POLA, the default depends on MAN, i.e., WITHOUT_MAN
implies WITHOUT_MAN_UTILS and WITH_MAN implies WITH_MAN_UTILS.
Note this patch implicitly fixes a documentation bug of src.conf(5), which
says WITHOUT_MAN may be used to not build manual pages while it was also
disabling some utilities for manual pages.

Approved by: re (kib)


# 07e547fe 19-May-2010 Jung-uk Kim <jkim@FreeBSD.org>

Add a new build option, MAN_UTILS. This option lets you control building
utilities and related support files for manual pages, which were previously
controlled by MAN. For POLA, the default depends on MAN, i.e., WITHOUT_MAN
implies WITHOUT_MAN_UTILS and WITH_MAN implies WITH_MAN_UTILS. This patch
is slightly improved by me from:

PR: misc/145212


# 81a33b9c 17-Apr-2010 Hajimu UMEMOTO <ume@FreeBSD.org>

MFC r206156, r206159, r206163: services_mkdb; generate db file
from services(5) to increase speed of getserv*()


# 0b25da7e 04-Apr-2010 Hajimu UMEMOTO <ume@FreeBSD.org>

services_mkdb; generate db file from services(5) to increase
speed of getserv*()

Obtained from: NetBSD
MFC after: 2 weeks


# 136ca0d1 01-Apr-2010 Warner Losh <imp@FreeBSD.org>

We don't need to note that mkproto is missing anymore. It is
definitely OBE in a number of ways, and likely should have been
removed in 2000, not 2010.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# 515b1868 04-Mar-2010 Warner Losh <imp@FreeBSD.org>

moused is useful even without usb, so remove comment asking if it is.


# 69618fcf 25-Jan-2010 Pyun YongHyeon <yongari@FreeBSD.org>

Connect smbfs related libraries and tool on sparc64.

Reviewed by: marius


# bc4acc70 17-Jan-2010 Andrew Thompson <thompsa@FreeBSD.org>

MFC r202181,202243,202270

Add a driver by Fredrik Lindberg for Option HSDPA USB devices. These differ
from standard 3G wireless units by supplying a raw IP/IPv6 endpoint rather than
using PPP over serial. uhsoctl(1) is used to initiate and close the WAN
connection.

Obtained from: Fredrik Lindberg <fli@shapeshifter.se>


# 941e2863 12-Jan-2010 Andrew Thompson <thompsa@FreeBSD.org>

Add a driver by Fredrik Lindberg for Option HSDPA USB devices. These differ
from standard 3G wireless units by supplying a raw IP/IPv6 endpoint rather than
using PPP over serial. uhsoctl(1) is used to initiate and close the WAN
connection.

Obtained from: Fredrik Lindberg <fli@shapeshifter.se>


# ac4cfa6d 30-Dec-2009 Doug Barton <dougb@FreeBSD.org>

MFC r200743:

The service command is an easy interface to the rc.d system.
Its primary purpose is to start and stop services provided by
the rc.d scripts, however it can also be used to list the scripts
using various criteria.

MFC r200809, r200980, r201035, r201069, 201070:

Updates/fixes suggested after the initial introducition


# 3d482827 19-Dec-2009 Doug Barton <dougb@FreeBSD.org>

The service command is an easy interface to the rc.d system.
Its primary purpose is to start and stop services provided by
the rc.d scripts, however it can also be used to list the scripts
using various criteria.


# 71f99e63 27-Sep-2009 Jung-uk Kim <jkim@FreeBSD.org>

Copy apm(4) emulation from sys/i386/acpica/acpi_machdep.c and
install apm(8) and apm_bios.h on amd64.


# 53e74993 17-Aug-2009 Scott Long <scottl@FreeBSD.org>

Merge mptutil

Approved by: re


# 42eeb00e 17-Aug-2009 Scott Long <scottl@FreeBSD.org>

Merge mfiutil

Approved by: re


# fc58801c 14-Aug-2009 Scott Long <scottl@FreeBSD.org>

Add mptutil, a basic utility for managing MPT SCSI/SATA/SAS controllers.
Drive and controller status can be reported, basic attributes changed,
and arrays and spares can be created and deleted.

Approved by: re
Obtained from: Yahoo! Inc.


# 763fae79 13-Aug-2009 Scott Long <scottl@FreeBSD.org>

ntroduce mfiutil, a basic utility for managing LSI SAS-RAID & Dell PERC5/6
controllers. Controller, array, and drive status can be checked, basic
attributes can be changed, and arrays and spares can be created and deleted.
Controller firmware can also be flashed.

This does not replace MegaCLI, found in ports, as that is officially sanctioned
and supported by LSI and includes vastly more functionality. However, mfiutil
is open source and guaranteed to provide basic functionality, which can be
especially useful if you have a problem and can't get MegaCLI to work.

Approved by: re
Obtained from: Yahoo! Inc.


# 58c6a70a 30-Jun-2009 Martin Blapp <mbr@FreeBSD.org>

Add wake, a tool to send Wake on LAN frames to hosts on a local Ethernet network

Submitted by: Marc Balmer <marc@msys.ch>
Reviewed by: rwatson
Approved by: re

M usr.sbin/Makefile
A usr.sbin/wake
AM usr.sbin/wake/wake.c
AM usr.sbin/wake/Makefile
AM usr.sbin/wake/wake.8


# 03914b0b 26-May-2009 Rick Macklem <rmacklem@FreeBSD.org>

Add two new utilities and two new daemons to /usr/src/usr.sbin that
are specifically used by the experimental nfsv4 subsystem.
nfscbd - The NFSv4 client callback daemon.
nfsuserd - The NFSv4 daemon that maps between user and group name
and their corresponding uid/gid numbers.
nfsdumpstate - A utility that dumps out the NFSv4 Open/Lock state.
nfsrevoke - Administratively revokes an NFSv4 client, releasing all
NFSv4 Open/Lock state it holds on the server.

Approved by: kib (mentor)


# 4081b7da 16-Apr-2009 Robert Watson <rwatson@FreeBSD.org>

Garbage collect raycontrol(8), as ray(4) has been removed.

Pointed out by: pluknet at gmail.com


# 9596b6de 08-Apr-2009 Ruslan Ermilov <ru@FreeBSD.org>

Removed more vestiges of if_sl(4).


# fe41f260 07-Apr-2009 Weongyo Jeong <weongyo@FreeBSD.org>

block build of uathload on ia64 temporarily because binutils expects
machine-specific flags to match but ar5523.bin doesn't have.

Pointed by: marcel


# f561843c 06-Apr-2009 Weongyo Jeong <weongyo@FreeBSD.org>

Hook uathload up to the build. It's used for loading the firmware for
uath(4).


# d2a0bb08 05-Apr-2009 Ed Schouten <ed@FreeBSD.org>

Remove if_ppp(4) and if_sl(4).

Not only did these two drivers depend on IFF_NEEDSGIANT, they were
broken 7 months ago during the MPSAFE TTY import. if_ppp(4) has been
replaced by ppp(8). There is no replacement for if_sl(4).

If we see regressions in for example the ports tree, we should just use
__FreeBSD_version 800045 to check whether if_ppp(4) and if_sl(4) are
present. Version 800045 is used to denote the import of MPSAFE TTY.

Discussed with: rwatson, but also rwatson's IFF_NEEDSGIANT emails on the
lists.


# 3975e3a1 23-Feb-2009 Andrew Thompson <thompsa@FreeBSD.org>

Move usb to a graveyard location under sys/legacy/dev, it is intended that the
new USB2 stack will fully replace this for 8.0.

Remove kernel modules, a subsequent commit will update conf/files. Unhook
usbdevs from the build.


# 477f656b 26-Jan-2009 Rafal Jaworowski <raj@FreeBSD.org>

Introduce the I2C diagnostic utility. It let's discover and inspect slave
devices on the bus.

Reviewed by: bms, stas
Obtained from: Semihalf


# efc06131 19-Dec-2008 Sam Leffler <sam@FreeBSD.org>

add makefs to the base system; FreeBSD_version bumped just in case

Reviewed by: imp


# 1b4822a4 26-Nov-2008 Attilio Rao <attilio@FreeBSD.org>

Import an initial revision of the pmcannotate tool.
For further explanations please check this e-mail on freebsd-arch@:
http://lists.freebsd.org/pipermail/freebsd-arch/2008-November/008698.html

Tested by: gnn
Sponsored by: Nokia


# 6f0e1ffd 19-Nov-2008 Alfred Perlstein <alfred@FreeBSD.org>

src/sys/dev/usb2/controller/uss820dci_pccard.c
src/sys/dev/usb2/core/usbdevs
src/sys/dev/usb2/include/urio2_ioctl.h
src/sys/dev/usb2/storage/ustorage2_fs.h

These files are not used any more.

src/usr.sbin/Makefile
src/etc/mtree/BSD.include.dist
src/include/Makefile
src/lib/Makefile
src/share/man/man7/hier.7
src/share/mk/bsd.libnames.mk
src/etc/mtree/BSD.include.dist

Make "usbconfig" and "libusb20" a part of the default build.

src/sys/dev/usb/rio500_usb.h
src/sys/dev/usb2/storage/urio2.c

Use common include file.

src/sys/dev/usb2/bluetooth/ng_ubt2.c

Make USB bluetooth depend on "ng_hci" module.

src/sys/dev/usb2/controller/ehci2.c
src/sys/dev/usb2/controller/ehci2.h

Patches for Marvell EHCI.

src/sys/dev/usb2/core/usb2_busdma.c

Bugfix for 64-bit platforms. Need to unload the previously loaded DMA
map and some cleanup regarding some corner cases.

src/sys/dev/usb2/core/usb2_core.h
src/sys/dev/usb2/core/usb2_dev.c
src/sys/dev/usb2/core/usb2_dev.h

Bugfix for libusb filesystem interface.

New feature: Add support for filtering device data at the expense of the
userland process.

Add some more comments.

Some minor code styling.

Remove unused function, usb2_fifo_get_data_next().

Fix an issue about "fifo_index" being used instead of "ep_index".

src/sys/dev/usb2/core/usb2_device.c
src/sys/dev/usb2/core/usb2_generic.c

Bugfix for Linux USB compat layer. Do not free non-generic FIFOs when
doing an alternate setting.

Cleanup USB IOCTL and USB reference handling.
Fix a corner case where USB-FS was left initialised after
setting a new configuration or alternate setting.

src/sys/dev/usb2/core/usb2_hub.c

Improvement: Check all USB HUB ports by default at least one time.

src/sys/dev/usb2/core/usb2_request.c

Bugfix: Make sure destination ASCII string is properly zero terminated
in all cases.

Improvement: Skip invalid characters instead of replacing with a dot.

src/sys/dev/usb2/core/usb2_util.c
src/sys/dev/usb2/image/uscanner2.c

Spelling.

src/sys/dev/usb2/include/Makefile

Share "usbdevs" with the old USB stack.

src/sys/dev/usb2/include/usb2_devid.h
src/sys/dev/usb2/include/usb2_devtable.h

Regenerate files.

Alfred: Please fix the RCS tag at the top.

src/sys/dev/usb2/include/usb2_ioctl.h

Fix compilation of "kdump".

src/sys/dev/usb2/serial/ubsa2.c
src/sys/dev/usb2/serial/ugensa2.c

Remove device ID's which will end up in a new 3G driver.

src/sys/dev/usb2/sound/uaudio2.c

Correct a debug printout.

src/sys/dev/usb2/storage/umass2.c

Sync with old USB stack.

src/lib/libusb20/libusb20.3

Add more documentation.

src/lib/libusb20/libusb20.c

Various bugfixes and improvements.

src/usr.sbin/usbconfig/dump.c
src/usr.sbin/usbconfig/usbconfig.c

New commands for dumping strings and doing custom USB requests from
the command line.

Remove keyword requirements from generated files:
"head/sys/dev/usb2/include/usb2_devid.h"
"head/sys/dev/usb2/include/usb2_devtable.h"


# 0738c00e 17-Nov-2008 Warner Losh <imp@FreeBSD.org>

Move dumpcis to its own directory, start to decouple from the
pccardc/pccardd history.


# a9148abd 03-Nov-2008 Doug Rabson <dfr@FreeBSD.org>

Implement support for RPCSEC_GSS authentication to both the NFS client
and server. This replaces the RPC implementation of the NFS client and
server with the newer RPC implementation originally developed
(actually ported from the userland sunrpc code) to support the NFS
Lock Manager. I have tested this code extensively and I believe it is
stable and that performance is at least equal to the legacy RPC
implementation.

The NFS code currently contains support for both the new RPC
implementation and the older legacy implementation inherited from the
original NFS codebase. The default is to use the new implementation -
add the NFS_LEGACYRPC option to fall back to the old code. When I
merge this support back to RELENG_7, I will probably change this so
that users have to 'opt in' to get the new code.

To use RPCSEC_GSS on either client or server, you must build a kernel
which includes the KGSSAPI option and the crypto device. On the
userland side, you must build at least a new libc, mountd, mount_nfs
and gssd. You must install new versions of /etc/rc.d/gssd and
/etc/rc.d/nfsd and add 'gssd_enable=YES' to /etc/rc.conf.

As long as gssd is running, you should be able to mount an NFS
filesystem from a server that requires RPCSEC_GSS authentication. The
mount itself can happen without any kerberos credentials but all
access to the filesystem will be denied unless the accessing user has
a valid ticket file in the standard place (/tmp/krb5cc_<uid>). There
is currently no support for situations where the ticket file is in a
different place, such as when the user logged in via SSH and has
delegated credentials from that login. This restriction is also
present in Solaris and Linux. In theory, we could improve this in
future, possibly using Brooks Davis' implementation of variant
symlinks.

Supporting RPCSEC_GSS on a server is nearly as simple. You must create
service creds for the server in the form 'nfs/<fqdn>@<REALM>' and
install them in /etc/krb5.keytab. The standard heimdal utility ktutil
makes this fairly easy. After the service creds have been created, you
can add a '-sec=krb5' option to /etc/exports and restart both mountd
and nfsd.

The only other difference an administrator should notice is that nfsd
doesn't fork to create service threads any more. In normal operation,
there will be two nfsd processes, one in userland waiting for TCP
connections and one in the kernel handling requests. The latter
process will create as many kthreads as required - these should be
visible via 'top -H'. The code has some support for varying the number
of service threads according to load but initially at least, nfsd uses
a fixed number of threads according to the value supplied to its '-n'
option.

Sponsored by: Isilon Systems
MFC after: 1 month


# 1272ddb2 27-Oct-2008 Bjoern A. Zeeb <bz@FreeBSD.org>

We do not have a libkse anymore and Mk/bsd.* does not know
about LIBKSE anymore, so s,MK_LIBKSE,MK_LIBPTHREAD,.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 2110f388 05-Oct-2008 Marius Strobl <marius@FreeBSD.org>

- Revert to the pre-r183242 behavior of building sade(8) on sparc64.
- Fix whitespace.


# 68c870ab 27-Sep-2008 Antoine Brodin <antoine@FreeBSD.org>

- Build jexec (1) and slstat.
- style.Makefile
Noticed by: Marius (1)


# 0d44ba5d 26-Sep-2008 Marcel Moolenaar <marcel@FreeBSD.org>

The previous commit re-introduced sade on platforms
where it doesn't work. Re-limit sade to amd64 and
i386.


# 690f477d 21-Sep-2008 Sam Leffler <sam@FreeBSD.org>

add new build knobs and jigger some existing controls to improve
control over the result of buildworld and installworld; this especially
helps packaging systems such as nanobsd

Reviewed by: various (posted to arch)
MFC after: 1 month


# a470aba3 19-Sep-2008 Warner Losh <imp@FreeBSD.org>

crunchgen doesn't work yet on mips. So sysinstall can't be built there.
omit it like we do for arm.


# b9b2ce9a 22-Aug-2008 Ollivier Robert <roberto@FreeBSD.org>

Hook back ntp to the build now that I fixed it.

Pointy hat to: me


# 4cb3914f 22-Aug-2008 Bjoern A. Zeeb <bz@FreeBSD.org>

Temporary unhook ntp from the build until the missing net/libopts/Makefile
is in place. The TB is too busy sending mails.


# e085f869 08-Aug-2008 Stanislav Sedov <stas@FreeBSD.org>

- Add cpuctl(4) pseudo-device driver to provide access to some low-level
features of CPUs like reading/writing machine-specific registers,
retrieving cpuid data, and updating microcode.
- Add cpucontrol(8) utility, that provides userland access to
the features of cpuctl(4).
- Add subsequent manpages.

The cpuctl(4) device operates as follows. The pseudo-device node cpuctlX
is created for each cpu present in the systems. The pseudo-device minor
number corresponds to the cpu number in the system. The cpuctl(4) pseudo-
device allows a number of ioctl to be preformed, namely RDMSR/WRMSR/CPUID
and UPDATE. The first pair alows the caller to read/write machine-specific
registers from the correspondent CPU. cpuid data could be retrieved using
the CPUID call, and microcode updates are applied via UPDATE.

The permissions are inforced based on the pseudo-device file permissions.
RDMSR/CPUID will be allowed when the caller has read access to the device
node, while WRMSR/UPDATE will be granted only when the node is opened
for writing. There're also a number of priv(9) checks.

The cpucontrol(8) utility is intened to provide userland access to
the cpuctl(4) device features. The utility also allows one to apply
cpu microcode updates.

Currently only Intel and AMD cpus are supported and were tested.

Approved by: kib
Reviewed by: rpaulo, cokane, Peter Jeremy
MFC after: 1 month


# a37f9716 05-Aug-2008 John Baldwin <jhb@FreeBSD.org>

Add a script to perform simple analysis of a crash dump (either a full
dump or minidump). When the script is run, it generates a text file
containing the output of several commands run againt the core dump such
as kgdb (stack trace), ps, netstat, vmstat, iostat, dmesg, and fstat.

Obtained from: Yahoo!
MFC after: 2 weeks


# 42f17e8c 19-Jul-2008 Marcel Moolenaar <marcel@FreeBSD.org>

Remove sade(8) on the following platforms:
o arm, mips & powerpc: libdisk is non-functional.
o ia64: libdisk is insufficient.


# 94f923b6 04-Jul-2008 John Baldwin <jhb@FreeBSD.org>

Remove the arl(4) driver. It is reported to not work on 6.x or later
even though the driver hasn't changed since 4.x (last known working
release).


# 2e598474 26-May-2008 Bjoern A. Zeeb <bz@FreeBSD.org>

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


# e4372ceb 25-May-2008 Robert Watson <rwatson@FreeBSD.org>

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


# 108e8dd9 09-May-2008 Julian Elischer <julian@FreeBSD.org>

allow setfib to be compiled.


# dbdb679c 29-Mar-2008 Ruslan Ermilov <ru@FreeBSD.org>

Remove options MK_LIBKSE and DEFAULT_THREAD_LIB now that we no longer
build libkse. This should fix WITHOUT_LIBTHR builds as a side effect.


# dfdcada3 26-Mar-2008 Doug Rabson <dfr@FreeBSD.org>

Add the new kernel-mode NFS Lock Manager. To use it instead of the
user-mode lock manager, build a kernel with the NFSLOCKD option and
add '-k' to 'rpc_lockd_flags' in rc.conf.

Highlights include:

* Thread-safe kernel RPC client - many threads can use the same RPC
client handle safely with replies being de-multiplexed at the socket
upcall (typically driven directly by the NIC interrupt) and handed
off to whichever thread matches the reply. For UDP sockets, many RPC
clients can share the same socket. This allows the use of a single
privileged UDP port number to talk to an arbitrary number of remote
hosts.

* Single-threaded kernel RPC server. Adding support for multi-threaded
server would be relatively straightforward and would follow
approximately the Solaris KPI. A single thread should be sufficient
for the NLM since it should rarely block in normal operation.

* Kernel mode NLM server supporting cancel requests and granted
callbacks. I've tested the NLM server reasonably extensively - it
passes both my own tests and the NFS Connectathon locking tests
running on Solaris, Mac OS X and Ubuntu Linux.

* Userland NLM client supported. While the NLM server doesn't have
support for the local NFS client's locking needs, it does have to
field async replies and granted callbacks from remote NLMs that the
local client has contacted. We relay these replies to the userland
rpc.lockd over a local domain RPC socket.

* Robust deadlock detection for the local lock manager. In particular
it will detect deadlocks caused by a lock request that covers more
than one blocking request. As required by the NLM protocol, all
deadlock detection happens synchronously - a user is guaranteed that
if a lock request isn't rejected immediately, the lock will
eventually be granted. The old system allowed for a 'deferred
deadlock' condition where a blocked lock request could wake up and
find that some other deadlock-causing lock owner had beaten them to
the lock.

* Since both local and remote locks are managed by the same kernel
locking code, local and remote processes can safely use file locks
for mutual exclusion. Local processes have no fairness advantage
compared to remote processes when contending to lock a region that
has just been unlocked - the local lock manager enforces a strict
first-come first-served model for both local and remote lockers.

Sponsored by: Isilon Systems
PR: 95247 107555 115524 116679
MFC after: 2 weeks


# 7825a6bd 09-Mar-2008 Poul-Henning Kamp <phk@FreeBSD.org>

Hook fifolog tools up to the build.

To the extent make universe works, it hasn't found any fault with this.


# 104954fe 30-Jan-2008 Peter Grehan <grehan@FreeBSD.org>

Enable ofwdump on powerpc (finally). Tested on G3 & G4 machines.

Submitted by: Dan Stekloff <dsteklof at c i s c o dot com>
Discussed with: marcel


# 77454fb4 05-Dec-2007 David E. O'Brien <obrien@FreeBSD.org>

Reenable the Amd build. 'make world' passed on my amd64 8-CURRENT system.


# 04e1a115 05-Dec-2007 David E. O'Brien <obrien@FreeBSD.org>

Temporarily disable amd for import.


# 8a35283b 15-Oct-2007 Max Laier <mlaier@FreeBSD.org>

Some left over from the sensors framework.


# f4dda8a0 14-Oct-2007 Ruslan Ermilov <ru@FreeBSD.org>

Sort.


# 99f6b270 14-Oct-2007 Alexander Leidinger <netchild@FreeBSD.org>

Import OpenBSD's sysctl hardware sensors framework.

This commit includes the following core components:

* sample configuration file for sensorsd
* rc(8) script and glue code for sensorsd(8)
* sysctl(3) doc fixes for CTL_HW tree
* sysctl(3) documentation for hardware sensors
* sysctl(8) documentation for hardware sensors
* support for the sensor structure for sysctl(8)
* rc.conf(5) documentation for starting sensorsd(8)
* sensor_attach(9) et al documentation
* /sys/kern/kern_sensors.c
o sensor_attach(9) API for drivers to register ksensors
o sensor_task_register(9) API for the update task
o sysctl(3) glue code
o hw.sensors shadow tree for sysctl(8) internal magic
* <sys/sensors.h>
* HW_SENSORS definition for <sys/sysctl.h>
* sensors display for systat(1), including documentation
* sensorsd(8) and all applicable documentation

The userland part of the framework is entirely source-code
compatible with OpenBSD 4.1, 4.2 and -current as of today.

All sensor readings can be viewed with `sysctl hw.sensors`,
monitored in semi-realtime with `systat -sensors` and also
logged with `sensorsd`.

Submitted by: Constantine A. Murenin <cnst@FreeBSD.org>
Sponsored by: Google Summer of Code 2007 (GSoC2007/cnst-sensors)
Mentored by: syrinx
Tested by: many
OKed by: kensmith
Obtained from: OpenBSD (parts)


# 946367b8 09-Oct-2007 David E. O'Brien <obrien@FreeBSD.org>

Tweak the handling of "WITHOUT_LIBPTHREAD". Also remove the accidental
treatment of 'LIBKSE' as an "old style" knob.

Submitted by: ru
Approved by: re(kensmith)


# 65c045e9 09-Oct-2007 David E. O'Brien <obrien@FreeBSD.org>

Repo copy libpthreads to libkse.
This introduces the WITHOUT_LIBKSE nob,
and changes WITHOUT_LIBPTHREADS to mean with neither threading libs.
Approved by: re(kensmith)


# 152f2a4a 01-Oct-2007 Ruslan Ermilov <ru@FreeBSD.org>

Always install libpthread.* symlinks if at least one of
the threading libraries is built. This simplifies the
logic in makefiles that need to check if the pthreads
support is present. It also fixes a bug where we would
build a threading library that we shouldn't have built:
for example, building with WITHOUT_LIBTHR and the default
value of DEFAULT_THREADING_LIB (libthr) would mistakenly
build the libthr library, but not install it.

Approved by: re (kensmith)


# c97fe77d 28-Sep-2007 Michael Bushkov <bushman@FreeBSD.org>

Finishing renaming of cached into nscd. etc/rc.d and usr.sbin/Makefile
updated. Note added to UPDATING.

Approved by: re (kensmith, bmah), brooks (mentor)


# 9143cbe8 27-Jul-2007 Andrew Thompson <thompsa@FreeBSD.org>

Hook wlandebug up to the build.

This tool allows fine grained enabling of the debugging output in net80211 and
its useful to have it available to everyone to diagnose wifi issues.

Approved by: re (rwatson)


# 2b851aeb 14-Jul-2007 Robert Watson <rwatson@FreeBSD.org>

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)


# 60ee3847 02-Jul-2007 Max Laier <mlaier@FreeBSD.org>

Link pf 4.1 to the build:
- move ftp-proxy from libexec to usr.sbin
- add tftp-proxy
- new altq mtag link

Approved by: re (kensmith)


# 069441f7 01-Jul-2007 Andrew Thompson <thompsa@FreeBSD.org>

Remove wicontrol(8) from the base system. Using wicontrol to configure an
interface has been deprecated since 5.1, wi(4) wireless interfaces are managed
via the net80211 stack and ifconfig.

Approved by: re (rwatson)


# da7f7d4b 28-Jan-2007 Poul-Henning Kamp <phk@FreeBSD.org>

Long overdue removal of vnconfig(8)

mdconfig(8) took over the job back when GEOM happened.

PR: 108360
Submitted by: Alex Kozlov<spam@rm-rf.kiev.ua>


# 968ed7ee 27-Nov-2006 Ruslan Ermilov <ru@FreeBSD.org>

Push the detection of threading libs support down to ngctl/Makefile
as the latter can be built without threading (with the loss of line
editing functionality).

Pointed by: glebius


# 8af480ae 26-Nov-2006 Ruslan Ermilov <ru@FreeBSD.org>

- When building world WITHOUT_LIBPTHREAD, link libthr to libpthread.
- Don't build ngctl(8) and cached(8) if threading libs aren't built.
- Fix various issues in a cached(8) makefile.


# c42d8ce5 15-Nov-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Building faithd(8) has no sense if WITHOUT_INET6 is set.

PR: bin/100805 (audit-trail)
Noticed by: Alex Kozlov


# a8a3bce9 18-Oct-2006 Warner Losh <imp@FreeBSD.org>

Always build pccardc.

# I should remove the oldcard vestages from it...


# c0f20e27 04-Oct-2006 Ruslan Ermilov <ru@FreeBSD.org>

Sort SUBDIR.


# 13b3ebf1 29-Sep-2006 Bruce M Simpson <bms@FreeBSD.org>

Remove mrouted and its utilities from the base system.
They may now be obtained from ports.

Discussed with: fenner, net@


# 48ffe56a 31-Aug-2006 Colin Percival <cperciva@FreeBSD.org>

Add FreeBSD Update 2.0 client code. The build code is in the projects
repository.

Sponsored by: FreeBSD security development fundraiser


# a1800335 21-Aug-2006 Marcel Moolenaar <marcel@FreeBSD.org>

Build mount_smbfs on ia64.


# 98a746cf 09-Aug-2006 Alexander Leidinger <netchild@FreeBSD.org>

Readd sade, the problem should be fixed.


# fdffd7ed 08-Aug-2006 Sam Leffler <sam@FreeBSD.org>

disconnect sade until someone fixes tinderbox builds


# 41ae1d1e 07-Aug-2006 Alexander Leidinger <netchild@FreeBSD.org>

Connect sade to the build.


# d73f8b66 02-Aug-2006 Marcel Moolenaar <marcel@FreeBSD.org>

Remove remnants of Alpha.


# e5d34218 01-Aug-2006 Maxim Sobolev <sobomax@FreeBSD.org>

Add device to access and modify Open Firmware NVRAM settings in
PowerPC-based Apple's machines and small utility to do it from
userland modelled after the similar utility in Darwin/OSX.

Only tested on 1.25GHz G4 Mac Mini.

MFC after: 1 month


# ad4c6857 27-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

ip6addrctl belongs to under MK_INET6, it is of no use w/o IPv6
in the system.


# bc34ace3 27-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

ndp, rrenumd, rtadvd, and rtsold are IPv6-only tools,
they belong to under MK_INET6 with their friends.


# f6ce2a64 17-May-2006 Poul-Henning Kamp <phk@FreeBSD.org>

Send the pcvt(4) driver off to retirement.


# 06a99fe3 27-Apr-2006 Hajimu UMEMOTO <ume@FreeBSD.org>

- Extend the nsswitch to support Services, Protocols and Rpc
databases.
- Make nsswitch support caching.

Submitted by: Michael Bushkov <bushman__at__rsu.ru>
Sponsored by: Google Summer of Code 2005


# 295c5dea 12-Apr-2006 Ruslan Ermilov <ru@FreeBSD.org>

libc_r is no longer provided, and on alpha and sparc64, libthr
is (sym)linked to libpthread. Account for this change and
check for MK_LIBTHR instead of MK_LIBC_R where appropriate.


# cea557ad 20-Mar-2006 Ruslan Ermilov <ru@FreeBSD.org>

Extend coverage of the MK_IPX build option to the following:

- <netipx> headers [1]
- IPX library (libipx)
- IPX support in ifconfig(8)
- IPXrouted(8)
- new MK_NCP option

New MK_NCP build option controls:

- <netncp> and <fs/nwfs> headers
- NCP library (libncp)
- ncplist(1) and ncplogin(1)
- mount_nwfs(8)
- ncp and nwfs kernel modules

User knobs: WITHOUT_IPX, WITHOUT_IPX_SUPPORT, WITHOUT_NCP.

[1] <netsmb/netbios.h> unconditionally uses <netipx> headers
so they are still installed. This needs to be dealt with.


# e1fe3dba 17-Mar-2006 Ruslan Ermilov <ru@FreeBSD.org>

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)


# 73fd2d1e 27-Feb-2006 Hartmut Brandt <harti@FreeBSD.org>

Reconnect bsnmpd to the build. It was temporarily disable because of a
mis-import. Thanks for fixing this to markm@.


# 6470320f 18-Feb-2006 Robert Watson <rwatson@FreeBSD.org>

Build audit command line tools only if NO_AUDIT isn't defined.

Submitted by: brueffer
Obtained from: TrustedBSD Project


# 67403c2b 14-Feb-2006 Hartmut Brandt <harti@FreeBSD.org>

Disconnect bsnmp from the build until the breakage is sorted out.


# e97cfaad 02-Feb-2006 Robert Watson <rwatson@FreeBSD.org>

Remove reference to auditon(8), this tool has been superseded by
auditd(8), and was committed in error.

Obtained from: TrustedBSD Project


# 8d87990e 02-Feb-2006 Robert Watson <rwatson@FreeBSD.org>

Enable building of OpenBSM command line tools:

- audit(8) - audit subsystem management tool
- auditd(8) - audit trail and subsystem management daemon
- auditreduce(1) - audit trail reduction tool
- praudit(1) - audit trail printing tool

Could probably use a NO_AUDIT make.conf flag.

Obtained from: TrustedBSD Project


# 2e46a159 14-Dec-2005 Ian Dowse <iedowse@FreeBSD.org>

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


# 179e20ab 17-Oct-2005 Poul-Henning Kamp <phk@FreeBSD.org>

Hook ipfwpcap into the build tree.


# a0b8a85f 12-Oct-2005 Pawel Jakub Dawidek <pjd@FreeBSD.org>

setkey(8) was repo-copied from usr.sbin/ to sbin/.
This will allow for NFS mount of /usr over IPsec.

Discussed on: arch@


# 6fa40729 03-Oct-2005 Scott Long <scottl@FreeBSD.org>

Add the lmcconfig tool for controlling the lmc driver. Add man pages and
glue.

Submitted by: David Boggs


# 161a5ba8 28-Sep-2005 Ruslan Ermilov <ru@FreeBSD.org>

Sort SUBDIR.


# 59fa7082 19-Sep-2005 R. Imura <imura@FreeBSD.org>

Connect smbfs build on powerpc.


# 6fb01948 08-Aug-2005 Colin Percival <cperciva@FreeBSD.org>

Add portsnap to the base system. This is a secure, easy to use,
fast, lightweight, and generally good way for users to keep their
ports trees up to date.

This is version 0.9.4 from the ports tree (sysutils/portsnap) with
the following changes:
1. The experimental pipelined http code is enabled. No seatbelts
in -CURRENT. (^_^)
2. The working directory has moved from /usr/local/portsnap to
/var/db/portsnap (as discussed on -arch two days ago).
3. Portsnap now fetches a list of mirrors (distributed as DNS SRV
records) and selects one randomly. This should help to avoid the
uneven loading which plagues the cvsup mirror network.
4. The license is now 2-clause BSD instead of 3-clause BSD.
5. Various incidental changes to make portsnap fit into the base
system's build mechanics.

X-MFC-After: 6.0-RELEASE
X-MFC-Before: 5.5-RELEASE
X-MFC-To: RELENG_6, RELENG_5, ports
discussed on: -arch and several other places
"yes please" from: simon, remko, flz, Diane Bruce
thinks this is a great idea: bsdimp
Hopes he didn't forget any files: cperciva


# 4b0a1b8b 03-Aug-2005 Poul-Henning Kamp <phk@FreeBSD.org>

Add NO_PCVT


# 8f61cf9c 20-Jul-2005 Mark Santcroos <marks@FreeBSD.org>

Connect snapinfo to the build.


# f67f6dd2 05-Jun-2005 Sam Leffler <sam@FreeBSD.org>

hookup wpa tools to the build


# a8697306 25-Apr-2005 Darren Reed <darrenr@FreeBSD.org>

all the ipfilter tools are now built from sbin/Makefile, so remove them from
this Makefile.


# cf7152ab 20-Apr-2005 Marcel Moolenaar <marcel@FreeBSD.org>

Build pmccontrol(8) and pmcstat(8) on all architectures (FWIW :-)

Ok'd by: jkoshy@


# 84a5e458 19-Apr-2005 Joseph Koshy <jkoshy@FreeBSD.org>

Unbreak tinderbox builds for ${MACHINE_ARCH} != "i386" or "amd64".

Pointed out by: ru.


# ebccf1e3 18-Apr-2005 Joseph Koshy <jkoshy@FreeBSD.org>

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)


# f8eecc08 31-Mar-2005 Warner Losh <imp@FreeBSD.org>

Since there are now more than a couple exceptions to the i386 rule,
group them better.


# 4358d229 31-Mar-2005 Warner Losh <imp@FreeBSD.org>

There's no wl cards for PC98. These are ISA only, and no cbus
versions exist, much less having support for it in the wl driver.
Therefore, don't build wlconfig.


# 587017fb 31-Mar-2005 Warner Losh <imp@FreeBSD.org>

pcvt doesn't exist on pc98, so don't build pcvt routines that have no
value.


# 841ed6bb 31-Mar-2005 Warner Losh <imp@FreeBSD.org>

There's no acpi in pc98 machines, nor do we build it into the kernel.
Therefore, don't build the acpi userland binaries either.

OK'd by: nate


# 4e012474 29-Mar-2005 Bill Paul <wpaul@FreeBSD.org>

Attach ndiscvt(8) to the amd64 build.


# c3c5f9cd 26-Feb-2005 Nate Lawson <njl@FreeBSD.org>

Hook powerd up to the build.


# 212a79b0 06-Feb-2005 Maxim Konovalov <maxim@FreeBSD.org>

o Implement net.inet.tcp.drop sysctl and userland part, tcpdrop(8)
utility:

The tcpdrop command drops the TCP connection specified by the
local address laddr, port lport and the foreign address faddr,
port fport.

Obtained from: OpenBSD
Reviewed by: rwatson (locking), ru (man page), -current
MFC after: 1 month


# 731db6a4 21-Dec-2004 Ruslan Ermilov <ru@FreeBSD.org>

NOINET6 -> NO_INET6


# a2161735 21-Dec-2004 Ruslan Ermilov <ru@FreeBSD.org>

NOCRYPT -> NO_CRYPT


# 07736e20 21-Dec-2004 Ruslan Ermilov <ru@FreeBSD.org>

NOATM -> NO_ATM


# f1f6253f 21-Dec-2004 Ruslan Ermilov <ru@FreeBSD.org>

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


# 6c58990d 13-Nov-2004 Bjoern A. Zeeb <bz@FreeBSD.org>

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


# 79e295e8 02-Oct-2004 Poul-Henning Kamp <phk@FreeBSD.org>

Get debugging macros from sivar.h

Disable some code which magics minor numbers into card/port numbers.
I think we will have to parse this from the device name in the future,
but I need to confer with peter@ about this.

Put sicontrol back in the build.

Troublespotter: dwhite


# 77f2cf5c 02-Oct-2004 Poul-Henning Kamp <phk@FreeBSD.org>

Augh!

Disconnect sicontrol(8) from the build while I sort out the trouble
I created.


# 2a614447 27-Sep-2004 Doug Barton <dougb@FreeBSD.org>

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


# acb4f782 25-Sep-2004 Ruslan Ermilov <ru@FreeBSD.org>

Revert to always descending into the "bsnmp" subdir -- gensnmptree
and bsnmpd should not be controlled by the NOATM knob.


# 0ddb9d7a 24-Sep-2004 Tom Rhodes <trhodes@FreeBSD.org>

Uncomment bsnmpd so it can build.

Noticed by: dougb


# 619baffc 24-Sep-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

More remnants of BIND 8; these live in usr.sbin now.


# 57628e38 23-Sep-2004 Olivier Houchard <cognet@FreeBSD.org>

kgmon works on arm, so make it parts of the build for arm as well.


# f0d1f5bb 23-Sep-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Style fix.

Submitted by: ru@


# 11d9d041 21-Sep-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Clean up and comment config.mk. Centralize more stuff. Bitch if
POSIX threads libraries are not available. Add crypto support if
the crypto libraries are available. Build dnssec-{keygen,signzone}
if crypto is available.

Submitted by: (in part) dougb@


# cd3ee173 21-Sep-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Switch from BIND 8 to BIND 9.

Submitted by: (in part) dougb@, trhodes@
Reviewed by: dougb@, trhodes@, re@
MFC after: 5 days


# 5f99200f 16-Sep-2004 Gleb Smirnoff <glebius@FreeBSD.org>

Userland control utility for ng_netflow.

Approved by: julian (mentor)


# fb35b471 29-Aug-2004 Marcel Moolenaar <marcel@FreeBSD.org>

Build kgmon(8) on ia64.


# 64349aaa 28-Jul-2004 Alexander Kabaev <kan@FreeBSD.org>

Temporarily disable kernbb utility. It has to learn about new gcov data
format first.


# 23d1e148 07-Jul-2004 Maksim Yevmenkin <emax@FreeBSD.org>

Make bluetooth compile on all platforms

Reviewed by: imp, ru


# a5663451 01-Jun-2004 Max Khon <fjoe@FreeBSD.org>

Finish repo move arlconfig -> arlcontrol.


# be8282ba 23-May-2004 Bruce Evans <bde@FreeBSD.org>

Build kgmon for amd64.


# 156e1dec 22-May-2004 Marius Strobl <marius@FreeBSD.org>

Hook eeprom(8) up to the FreeBSD/sparc64 build.


# 80cdf39a 17-May-2004 Joerg Wunsch <joerg@FreeBSD.org>

Wire smbmsg(8) into the build.


# 7a08579a 14-May-2004 Peter Grehan <grehan@FreeBSD.org>

Hook sysinstall to the build for powerpc.


# c7730c31 14-May-2004 Olivier Houchard <cognet@FreeBSD.org>

Do not build sysintall for arm.


# d67e2df2 17-Mar-2004 Yoshihiro Takahashi <nyan@FreeBSD.org>

Move the _arlconfig define in the existing i386 section.

Suggested by: ru


# b6e2fc37 15-Mar-2004 Yoshihiro Takahashi <nyan@FreeBSD.org>

The arlconfig is needed on i386 only.


# 798f0e16 15-Mar-2004 Max Khon <fjoe@FreeBSD.org>

Add arl(4): driver for Aironet Arlan 655 wireless adapters.

MFC after: 2 weeks


# 2c87f688 14-Mar-2004 Warner Losh <imp@FreeBSD.org>

The gsc driver has been retired, so retire its control program.


# f1e5dca6 13-Mar-2004 Warner Losh <imp@FreeBSD.org>

These go along with the stl and stli drivers, recently removed.


# f8325b42 13-Mar-2004 Peter Wemm <peter@FreeBSD.org>

Re-kill ispcvt on amd64 - rc.d/syscons was fixed ages ago.


# 5de697a6 13-Mar-2004 Colin Percival <cperciva@FreeBSD.org>

Don peril-sensitive glasses and throw the switch to move nologin(8) from
/sbin to /usr/sbin. A symlink from /sbin/nologin -> /usr/sbin/nologin
is created for compatibility purposes.

This will probably not cause any problems, but anyone who is doing
anything particularly unusual with nologin(8) or shells in general might
be well advised to check that everything still works.

Bikesheds on: cvs-all, current


# 8d69c48b 08-Mar-2004 Max Laier <mlaier@FreeBSD.org>

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)


# 4543f32e 31-Jan-2004 Daniel Eischen <deischen@FreeBSD.org>

Move the checks for whether or not to build pppctl to
the architecture-dependent sections of the Makefile.

Submitted by: ru


# 82e90399 31-Jan-2004 Daniel Eischen <deischen@FreeBSD.org>

Add some logic so that pppctl isn't built if the correct threading library
is not present.

Noticed by: ru


# 18d948ad 27-Jan-2004 Maksim Yevmenkin <emax@FreeBSD.org>

Add NO_BLUETOOTH knob to the build process

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


# 93970e26 20-Jan-2004 Ruslan Ermilov <ru@FreeBSD.org>

Also sort ignoring case -- makes finding things by browsing easier.


# d10a8d6c 16-Jan-2004 Ruslan Ermilov <ru@FreeBSD.org>

- Build things in pure dictionary order (see sort(1)).

- Unify the conditional assignments section so that architectural
exclusions come first, then options and !options, sorted by the
option name, also in directory order, then architecture specific
sections, sorted by the architecture name, with i386 being a
traditional exception.

Prodded by: bde


# 0d27d140 11-Dec-2003 Bill Paul <wpaul@FreeBSD.org>

Commit the first cut of Project Evil, also known as the NDISulator.

Yes, it's what you think it is. Yes, you should run away now.

This is a special compatibility module for allowing Windows NDIS
miniport network drivers to be used with FreeBSD/x86. This provides
_binary_ NDIS compatibility (not source): you can run NDIS driver
code, but you can't build it. There are three main parts:

sys/compat/ndis: the NDIS compat API, which provides binary
compatibility functions for many routines in NDIS.SYS, HAL.dll
and ntoskrnl.exe in Windows (these are the three modules that
most NDIS miniport drivers use). The compat module also contains
a small PE relocator/dynalinker which relocates the Windows .SYS
image and then patches in our native routines.

sys/dev/if_ndis: the if_ndis driver wrapper. This module makes
use of the ndis compat API and can be compiled with a specially
prepared binary image file (ndis_driver_data.h) containing the
Windows .SYS image and registry key information parsed out of the
accompanying .INF file. Once if_ndis.ko is built, it can be loaded
and unloaded just like a native FreeBSD kenrel module.

usr.sbin/ndiscvt: a special utility that converts foo.sys and foo.inf
into an ndis_driver_data.h file that can be compiled into if_ndis.o.
Contains an .inf file parser graciously provided by Matt Dodd (and
mercilessly hacked upon by me) that strips out device ID info and
registry key info from a .INF file and packages it up with a binary
image array. The ndiscvt(8) utility also does some manipulation of
the segments within the .sys file to make life easier for the kernel
loader. (Doing the manipulation here saves the kernel code from having
to move things around later, which would waste memory.)

ndiscvt is only built for the i386 arch. Only files.i386 has been
updated, and none of this is turned on in GENERIC. It should probably
work on pc98. I have no idea about amd64 or ia64 at this point.

This is still a work in progress. I estimate it's about %85 done, but
I want it under CVS control so I can track subsequent changes. It has
been tested with exactly three drivers: the LinkSys LNE100TX v4 driver
(Lne100v4.sys), the sample Intel 82559 driver from the Windows DDK
(e100bex.sys) and the Broadcom BCM43xx wireless driver (bcmwl5.sys). It
still needs to have a net80211 stuff added to it. To use it, you would
do something like this:

# cd /sys/modules/ndis
# make; make load
# cd /sys/modules/if_ndis
# ndiscvt -i /path/to/foo.inf -s /path/to/foo.sys -o ndis_driver_data.h
# make; make load
# sysctl -a | grep ndis

All registry keys are mapped to sysctl nodes. Sometimes drivers refer
to registry keys that aren't mentioned in foo.inf. If this happens,
the NDIS API module creates sysctl nodes for these keys on the fly so
you can tweak them.

An example usage of the Broadcom wireless driver would be:

# sysctl hw.ndis0.EnableAutoConnect=1
# sysctl hw.ndis0.SSID="MY_SSID"
# sysctl hw.ndis0.NetworkType=0 (0 for bss, 1 for adhoc)
# ifconfig ndis0 <my ipaddr> netmask 0xffffff00 up

Things to be done:

- get rid of debug messages
- add in ndis80211 support
- defer transmissions until after a status update with
NDIS_STATUS_CONNECTED occurs
- Create smarter lookaside list support
- Split off if_ndis_pci.c and if_ndis_pccard.c attachments
- Make sure PCMCIA support works
- Fix ndiscvt to properly parse PCMCIA device IDs from INF files
- write ndisapi.9 man page

PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:


# 70005bdb 09-Dec-2003 David E. O'Brien <obrien@FreeBSD.org>

Add just enough of i386/include/pcvt_ioctl.h to amd64/include/pcvt_ioctl.h
such that 'ispcvt' can build. Unforunately 'ispcvt' is needed in order for
/etc/rc.d/syscons to run. This fixes the bug where I could not get my
keymap effective at boot.


# bf164734 02-Dec-2003 Brooks Davis <brooks@FreeBSD.org>

Reconnect ipfstat, ipnat, and ipftest to the build now that if_xname
support is enabled.

Approved by: re (scottl)


# 5597389c 10-Nov-2003 Hartmut Brandt <harti@FreeBSD.org>

Link the SNMP daemon for NgATM to the build.


# cb3e210e 02-Nov-2003 Marcel Moolenaar <marcel@FreeBSD.org>

Build zzz(8) on ia64. It first checks ACPI before it checks for APM.
It will therefore always suspend using ACPI.


# cd30ca94 31-Oct-2003 Brooks Davis <brooks@FreeBSD.org>

Temporarily disconnect ipfstat, ipnat, and ipftest to unbreak world.

Pointy hat to: brooks


# f71d0e11 30-Oct-2003 Hajimu UMEMOTO <ume@FreeBSD.org>

add ip6addrctl(8) which is a command to configure address
selection policy for IPv6 and IPv4 described in RFC3484.
source address selection part of RFC3484 is not merged
from KAME, yet.

Obtained from: KAME


# 869093b1 24-Oct-2003 Hidetoshi Shimokawa <simokawa@FreeBSD.org>

Add dumb console driver and related bits.

dcons(4): very simple console and gdb port driver
dcons_crom(4): FireWire attachment
dconschat(8): User interface to dcons

Tested with: i386, i386-PAE, and sparc64.


# 0986ab12 12-Oct-2003 Maksim Yevmenkin <emax@FreeBSD.org>

Update Bluetooth code.

Reviewed by: M. Warner Losh <imp@bsdimp.com>; John Hay <jhay@freebsd.org>
Approved by: M. Warner Losh <imp@bsdimp.com> (mentor)


# 9afe34c1 29-Sep-2003 Peter Wemm <peter@FreeBSD.org>

Add asf for amd64


# 40255f22 29-Sep-2003 Peter Wemm <peter@FreeBSD.org>

Add mptable


# 0346a1de 16-Sep-2003 Marcel Moolenaar <marcel@FreeBSD.org>

Add acpi to the build on ia64. The support for ACPI 2.0x has gotten
to a point where we don't map the wrong (ie 32-bit) addresses. We
don't always dump the right values yet, but that's not critical.

Ok'd: njl


# 3bc2f9a8 29-Aug-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Introduce more knobs to slim down FreeBSD userland

NO_TOOLCHAIN skips Compilers and Binutils
NO_USB skips USB stuff
NO_VINUM skips Vinum stuff
NO_ACPI skips ACPI stuff


# 403a9c73 29-Aug-2003 Greg Lehey <grog@FreeBSD.org>

Add asf to i386 build. This will probably work on other platforms
too, but I don't have time to test it, and I'm not sure it will help
much.


# dd0b8d3c 27-Aug-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Make build of atm, mld6query, rip6query, route6d and traceroute6
depend on existing NOATM and NOINET6 conditionals.


# 1c327ba7 12-Aug-2003 David E. O'Brien <obrien@FreeBSD.org>

Imply NOLIBC_R for PowerPC.


# 16f56401 25-Jul-2003 Peter Wemm <peter@FreeBSD.org>

Fix amd64 build by deleting trailing whitespace. Doh!


# ebb9f0ef 24-Jul-2003 Mark Murray <markm@FreeBSD.org>

Don't check for the existance of src/crypto/ for building items that
may contain crypto. The days of ITAR paranoia are over, and the simple
macro tests that remain are sufficient.


# 92c3d427 23-Jul-2003 Peter Wemm <peter@FreeBSD.org>

Add mount_nwfs/mount_smbfs to the build for amd64.


# 19f2b0e8 23-Jul-2003 Peter Wemm <peter@FreeBSD.org>

Attach acpi, boot0cfg, lptcontrol, sicontrol, spkrtest, zzz for amd64.


# 3b18f47d 14-Jul-2003 Nate Lawson <njl@FreeBSD.org>

Hook zzz up to the build.


# d928e581 02-Jul-2003 Gordon Tetlow <gordon@FreeBSD.org>

Move mount_portalfs, mount_smbfs, and mount_nwfs from sbin to usr.sbin.
They don't have alot of reason to be in sbin and contribute to library
bloat in the dynamic case. If you are using any of these filesystem
type to hold your /usr, please seek professional help.

The actual code was repo-copied by joe.


# 370c3cb5 26-Jun-2003 Sean Kelly <smkelly@FreeBSD.org>

- Add a software watchdog facility.

This commit has two pieces. One half is the watchdog kernel code which lives
primarily in hardclock() in sys/kern/kern_clock.c. The other half is a userland
daemon which, when run, will keep the watchdog from firing while the userland
is intact and functioning.

Approved by: jeff (mentor)


# 14823ba8 24-Jun-2003 Julian Elischer <julian@FreeBSD.org>

Temporarily re-remove the bluetooth tools..
there are problems with their Makefiles I wasn't aware of..

Pointed out by: ru@


# 8590c016 24-Jun-2003 Julian Elischer <julian@FreeBSD.org>

Connect bluetooth tools for i386 only.
These are probably machine independent, but
there is no way for the developers to test them other than on x86.

They will become MD as testing becomes possible.


# abe6d58e 20-Jun-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Remove dev_mkdb(8). The kernel answers these questions.


# a6f4ec06 02-Jun-2003 Peter Wemm <peter@FreeBSD.org>

Turn on btxld for amd64.


# 3aefe094 02-Jun-2003 Peter Wemm <peter@FreeBSD.org>

Port libc_r to amd64, and turn it back on for amd64. It passes all of
the same src/lib/libc_r/test/* tests that the other platforms pass.


# 7dd68385 25-May-2003 Peter Wemm <peter@FreeBSD.org>

Add a pretty cheesy hack to avoid a gcc-3.2.2 ICE (internal compiler
error) on amd64 when doing pointer subtraction. This bug is already
fixed in gcc-3.3 (waiting for after the branch), and the hack will be
backed out at the first opportunity. This is in the ipv6 code path.

Approved by: re (scottl)


# 14682d7e 24-May-2003 Peter Wemm <peter@FreeBSD.org>

no libc_r on amd64 yet -> no pppctl.

Approved by: re (safe amd64 changes)


# ec480a97 12-May-2003 Peter Wemm <peter@FreeBSD.org>

Add __amd64__ to an ifdef set so that pppd compiles. Reactivate on amd64.

Approved by: re (amd64 "safe" ifdefs etc)


# bd16ce64 09-May-2003 Peter Wemm <peter@FreeBSD.org>

Turn off ppp (ICE) and pppd (cc objects to a varargs decl) on amd64.


# 32660658 26-Apr-2003 Warner Losh <imp@FreeBSD.org>

These are no longer needed after tw is gone.

Approved by: re@ (scottl)


# a362eb63 09-Apr-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Diskinfo is a small program to access the basic properties of a disk device:
sectorsize, mediasize etc.

It also contains a small and naïve benchmark which reports on seek
and transfer performance.


# ebf5d9bc 08-Apr-2003 Mike Barcroft <mike@FreeBSD.org>

o Add jls(8) for listing active jails.
o Add jexec(8) to execute a command in an existing jail.
o Add -j option for killall(1) to kill all processes in a specified
jail.
o Add -i option to jail(8) to output jail ID of newly created jail.


# 54a8adab 20-Mar-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Add a rudimentary gstat(8) to the system.

This is a small curses based program which shows the diskactivity
inside GEOM.


# 59aca3e4 11-Mar-2003 Ruslan Ermilov <ru@FreeBSD.org>

Revert rev. 1.244 change -- only build kgzip(8) on i386.
(The cross-release needs will be satisfied another way.)


# 0bc81187 20-Feb-2003 David E. O'Brien <obrien@FreeBSD.org>

Some things don't build for PowerPC yet.

List from: benno


# 69ceaabd 04-Feb-2003 Ruslan Ermilov <ru@FreeBSD.org>

Always build kgzip(8); needed to cross-release i386.


# 1326e03f 21-Jan-2003 Warner Losh <imp@FreeBSD.org>

pccardd and pccardc are for i386 and pc98 only. Don't build them on
other architectures.

Pointed out by: peter


# d8851469 05-Jan-2003 Marcel Moolenaar <marcel@FreeBSD.org>

Enable pppctl(8) on ia64.


# 26bb0633 05-Jan-2003 Thomas Moestl <tmm@FreeBSD.org>

Build pppctl on sparc64, now that we have libc_r.


# a7a73b95 30-Dec-2002 Hidetoshi Shimokawa <simokawa@FreeBSD.org>

Import FireWire userland utility.


# cbb66355 30-Dec-2002 David E. O'Brien <obrien@FreeBSD.org>

Move elf2aout back to /usr/bin -- it is a general development tool, not
a sysadmin tool.


# a959270a 01-Nov-2002 Jake Burkholder <jake@FreeBSD.org>

Build sysinstall on sparc64.


# 52fe5948 26-Oct-2002 Peter Wemm <peter@FreeBSD.org>

Un-remove sysinstall for ia64.


# c295abba 25-Oct-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Explicitly list architectures supporting sysinstall


# 5b38a427 22-Oct-2002 Robert Watson <rwatson@FreeBSD.org>

Introduce simple command line tools to manage MAC labels on processes and
files. Basically wrappers for mac_{get,set}_{file,link,pid,proc}(3).
Man pages to be updated shortly.

Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories


# 6f6ede92 18-Oct-2002 Thomas Moestl <tmm@FreeBSD.org>

Connect ofwdump to the sparc64 build.


# 039f96db 19-Sep-2002 Julian Elischer <julian@FreeBSD.org>

Pppctl seems to compile again now


# 8da4b356 17-Sep-2002 Peter Wemm <peter@FreeBSD.org>

Add i386 to the list of architectures that libc_r is broken on. This
effectively removes pppctl from the build for now. It only compiles on
alpha now (now ironic).


# caefa400 02-Sep-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Switch over to the new EA manipulation utilities.

Sponsored by: DARPA & NAI Labs.


# 34d26f04 02-Aug-2002 Robert Watson <rwatson@FreeBSD.org>

Introduce support for Mandatory Access Control and extensible
kernel access control.

Provide ugidfw, a utility to manage the ruleset provided by
mac_bsdextended. Similar to ipfw, only for uids/gids and files.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs


# 8f40768a 07-Jul-2002 Gordon Tetlow <gordon@FreeBSD.org>

Hook nfsd and mountd back into the build in /usr/sbin, where they make more
sense. Since portmap/rpcbind is in /usr/sbin it doesn't make any sense for
nfsd and mountd to be in /sbin.

For the record, NetBSD has them in /usr/sbin while OpenBSD has them in /sbin

PR: bin/30972
Reviewed by: jake (mentor)


# 3b46313d 15-Jun-2002 Hajimu UMEMOTO <ume@FreeBSD.org>

Don't install obsolete gifconfig(8). Please use ifconfig(8) instead.


# 23d84069 15-Jun-2002 Hajimu UMEMOTO <ume@FreeBSD.org>

Don't install obsolete prefix(8). We now have `ifconfig eui64'.


# 2d80eecc 31-May-2002 Ruslan Ermilov <ru@FreeBSD.org>

We don't build libc_r on sparc64 for the moment.


# 0367ff75 28-May-2002 Peter Wemm <peter@FreeBSD.org>

Put on peril sensitive sunglasses and turn C++ stuff back on.


# 02c0301f 25-May-2002 Ruslan Ermilov <ru@FreeBSD.org>

Move elf2aout to usr.sbin/.

Approved by: jake


# 67b831cc 09-May-2002 David E. O'Brien <obrien@FreeBSD.org>

Turn off pppctl -- it won't like with an in-tree Gcc 3.1 built libc_r.


# 47006c28 20-Apr-2002 Jake Burkholder <jake@FreeBSD.org>

sysinstall compiles on sparc64.


# 09201d1c 08-Apr-2002 Peter Wemm <peter@FreeBSD.org>

Reactivate sysinstall, it does work on ia64.


# 7a1f3f7f 08-Apr-2002 David E. O'Brien <obrien@FreeBSD.org>

Sysinstall does not work on ia64 and sparc64 yet. :-)


# 0bd6af07 02-Apr-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Send diskpart to the eternal storage device (SMD probably :-) where
it belongs.


# 7a43a96a 21-Mar-2002 Ruslan Ermilov <ru@FreeBSD.org>

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


# a3a263e3 19-Mar-2002 David E. O'Brien <obrien@FreeBSD.org>

Remove ipftest until the committer can actually test his changes.


# 0d61ca69 15-Mar-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Revert previous revision; sysinstall should build fine now even when cross-
building, plus ru says the previous revision didn't actually achieve what
it was meant to achieve.


# 8580fd6b 12-Mar-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Don't try to cross-build sysinstall.


# 40b36f54 17-Feb-2002 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Add editmap, a new utility which comes with sendmail 8.12 for editing maps in
place.


# a4dc000e 11-Feb-2002 David E. O'Brien <obrien@FreeBSD.org>

Revert rev 1.211, kernel building assistants should live in /sys


# eda20719 11-Feb-2002 David E. O'Brien <obrien@FreeBSD.org>

Turn on makeobjops.


# 9fe9bee4 03-Nov-2001 Peter Wemm <peter@FreeBSD.org>

Exclude pppctl on ia64 due to libc_r. I had been building with
-DNOLIBC_R, but this is a little safer.


# ab5e5d7b 23-Oct-2001 Peter Wemm <peter@FreeBSD.org>

ia64 support: move pnpinfo to i386 and alpha sections for now. i386 has
native inb/outb etc, and alpha has libio. ia64 doesn't have any yet.

move pppctl to the NOLIBC_R section (libc_r is not possible on ia64 in
its present form due to assumptions about setjmp/longjmp magic)


# 9c6f9240 10-Sep-2001 Peter Wemm <peter@FreeBSD.org>

Add kldxref(8), for maintaining the linker.hints file for translating
module->pathname.ko. It supports only ELF for now.

Submitted by: bp (with some minor tweaks)


# bd06a3ec 29-Aug-2001 Mike Barcroft <mike@FreeBSD.org>

Add a new utility that runs an executable detached from the
controlling terminal.

Discussed on: -hackers
Obtained from: BSD/OS


# 96b7a6e4 28-Aug-2001 David E. O'Brien <obrien@FreeBSD.org>

Remove `diskcheckd'. It is now in ports/sysutils.

Consensus on: freebsd-current.


# cccce27a 17-Aug-2001 Peter Wemm <peter@FreeBSD.org>

Correct path (../crypto, not ../../crypto)


# a8ec1b48 02-Aug-2001 Maxim Sobolev <sobomax@FreeBSD.org>

Fix a cryptoless world by disconnecting libmp from the build when there is no
crypto bits installed and/or NOCRYPTO/NO_OPENSSL is defined. This unfortunately
meants that usr.bin/chkey, usr.bin/newkey and usr.sbin/keyserv have also to
be disconnected.

IMO it is merely a workaround, the proper solution is to move libmp to
src/crypto where it belongs and use libgmp for the cryptoless builds instead.

Missed by: dd


# 849f35cf 03-Jun-2001 Poul-Henning Kamp <phk@FreeBSD.org>

Add diskcheck-daemon.

With a small disk being 20GB these days, chances are pretty good that
an ailing sector will not be read while still being recoverable by
the drive.

Diskcheck daemon will read disks in the background at a low rate and
that way give the diskdrive a chance to detect and correct soft read
errors before they become hard errors.

Idea by: phk
Written by: ben


# 2d754db7 03-Jun-2001 Hajimu UMEMOTO <ume@FreeBSD.org>

Remove pim6[ds]d from the tree. The software had a restrictive license
than we can handle. pim6[ds]d are available as ports instead.


# f3bb47cc 23-May-2001 Ruslan Ermilov <ru@FreeBSD.org>

Add NO_I4B to avoid building/installing isdn4bsd package.

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


# 146e5df7 14-May-2001 Joerg Wunsch <joerg@FreeBSD.org>

Include fdread(1) into the parent Makefile.


# ad01e0c8 01-May-2001 Brian Somers <brian@FreeBSD.org>

Add a ``digi'' driver.

This driver supports PCI Xr-based and ISA Xem Digiboard cards.
dgm will go away soon if there are no problems reported. For now,
configuring dgm into your kernel warns that you should be using
digi. This driver is probably close to supporting Xi, Xe and Xeve
cards, but I wouldn't expect them to work properly (hardware
donations welcome).

The digi_* pseudo-drivers are not drivers themselves but contain
the BIOS and FEP/OS binaries for various digiboard cards and are
auto-loaded and auto-unloaded by the digi driver at initialisation
time. They *may* be configured into the kernel, but waste a lot
of space if they are. They're intended to be left as modules.

The digictl program is (mainly) used to re-initialise cards that
have external port modules attached such as the PC/Xem.


# 0fb0f418 20-Apr-2001 Mike Smith <msmith@FreeBSD.org>

Turn on devinfo(8)


# 8360efbd 18-Mar-2001 Alfred Perlstein <alfred@FreeBSD.org>

Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and
associated changes that had to happen to make this possible as well as
bugs fixed along the way.

Bring in required TLI library routines to support this.

Since we don't support TLI we've essentially copied what NetBSD
has done, adding a thin layer to emulate direct the TLI calls
into BSD socket calls.

This is mostly from Sun's tirpc release that was made in 1994,
however some fixes were backported from the 1999 release (supposedly
only made available after this porting effort was underway).

The submitter has agreed to continue on and bring us up to the
1999 release.

Several key features are introduced with this update:
Client calls are thread safe. (1999 code has server side thread
safe)
Updated, a more modern interface.

Many userland updates were done to bring the code up to par with
the recent RPC API.

There is an update to the pthreads library, a function
pthread_main_np() was added to emulate a function of Sun's threads
library.

While we're at it, bring in NetBSD's lockd, it's been far too
long of a wait.

New rpcbind(8) replaces portmap(8) (supporting communication over
an authenticated Unix-domain socket, and by default only allowing
set and unset requests over that channel). It's much more secure
than the old portmapper.

Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded
to support TI-RPC and to support IPV6.

Umount(8) is also fixed to unmount pathnames longer than 80 chars,
which are currently truncated by the Kernel statfs structure.

Submitted by: Martin Blapp <mb@imp.ch>
Manpage review: ru
Secure RPC implemented by: wpaul


# 3df8ada3 03-Feb-2001 Peter Wemm <peter@FreeBSD.org>

Move wicontrol from i386 to MI section. (yes, it compiles on alpha, where
theoretically NEWCARD might work one day). if_wi.c is in the MI config
section already.


# 7893939f 16-Jan-2001 John Baldwin <jhb@FreeBSD.org>

Activate sysinstall.


# b3b01ff3 14-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

Added the lastlogin utility.

Obtained from: NetBSD


# 4e1921ab 12-Nov-2000 Warner Losh <imp@FreeBSD.org>

Add raycontrol to the build.


# c7961209 10-Sep-2000 KATO Takenori <kato@FreeBSD.org>

Moved boot0cfg into IBM-PC only section (MACHINE=="i386").

Pointed out by: nyan


# ba677615 31-Aug-2000 Mitsuru IWASAKI <iwasaki@FreeBSD.org>

Activate acpi.


# 6a70fca0 02-Aug-2000 KATO Takenori <kato@FreeBSD.org>

Added PC-98 boot manager installation and configuration utility.


# a00dc7b4 10-Jul-2000 Hajimu UMEMOTO <ume@FreeBSD.org>

Activate mld6query.


# 0f5cc229 25-Jun-2000 Mark Murray <markm@FreeBSD.org>

As rndcontrol is no longer needed, punt it to the attic.


# 8c0e8d96 31-May-2000 Tim Vanderhoek <hoek@FreeBSD.org>

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

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


# e50c89ec 16-Apr-2000 Robert Watson <rwatson@FreeBSD.org>

Code compiles and installs 100% better if included in the Makefile.

Suggested by: Voices in my head.


# 9754f5b6 14-Apr-2000 Robert Watson <rwatson@FreeBSD.org>

Introduced /usr/sbin/extattrctl, a utility for managing UFS/FFS extended
attributes (recently committed). Using extattrctl, the extended attribute
service may be started and stopped for specific file systems; specific
attributes may be enabled or disabled, and the backing file for each
attribute configured. Also, backing files may be initialized.

Reviewed by: adrian, bp, freebsd-fs, the unthanked masses
Obtained from: TrustedBSD


# f6f23e2c 10-Apr-2000 Mike Smith <msmith@FreeBSD.org>

Add mlxcontrol.


# 4e2edaf2 31-Mar-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

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


# 0fea3d51 27-Jan-2000 Yoshinobu Inoue <shin@FreeBSD.org>

IPv6 multicast routing.
kernel IPv6 multicast routing support.
pim6 dense mode daemon
pim6 sparse mode daemon
netstat support of IPv6 multicast routing statistics

Merging to the current and testing with other existing multicast routers
is done by Tatsuya Jinmei <jinmei@kame.net>, who writes and maintainances
the base code in KAME distribution.

Make world check and kernel build check was also successful.


# 4dd8b5ab 27-Jan-2000 Yoshinobu Inoue <shin@FreeBSD.org>

another tcp apps IPv6 updates.(should be make world safe)
ftp, telnet, ftpd, faithd
also telnet related sync with crypto, secure, kerberosIV

Obtained from: KAME project


# 6e67d5c9 23-Jan-2000 Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org>

Stop apmconf from being build.
green integrated apmconf into apm and we should use that instead.

Suggested by: msmith


# 261b9b30 14-Jan-2000 Bill Paul <wpaul@FreeBSD.org>

Add driver support for the Aironet 4500/4800 series wireless 802.11
NICs. (Finally!) The PCMCIA, ISA and PCI varieties are all supported,
though only the ISA and PCI ones will work on the alpha for now.
PCCARD, ISA and PCI attachments are all provided. Also provided an
ancontrol(8) utility for configuring the NIC, man pages, and updated
pccard.conf.sample. ISA cards are supported in both ISA PnP and hard-wired
mode, although you must configure the kernel explicitly to support the
hardwired mode since you have to know the I/O address and port ahead
of time.

Special thanks to Doug Ambrisko for doing the initial newbus hackery
and getting it to work in infrastructure mode.


# 6d73a68a 06-Jan-2000 Søren Schmidt <sos@FreeBSD.org>

Add burncd to and remove wormcontrol from the targets.


# 9a4365d0 05-Jan-2000 Yoshinobu Inoue <shin@FreeBSD.org>

libipsec and IPsec related apps. (and some KAME related man pages)

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project


# 7432ff86 29-Dec-1999 Peter Wemm <peter@FreeBSD.org>

Add mailwrapper. It redirects to sendmail by default, but you can
point /usr/sbin/sendmail to any mailer of your choice with the
/etc/mail/mailer.conf config file.


# be01371d 28-Dec-1999 Yoshinobu Inoue <shin@FreeBSD.org>

Sorry, ndp command is not exist yet.

Specified by: Anders Andersson <anders@sanyusan.se>


# 123689d3 29-Dec-1999 Yoshinobu Inoue <shin@FreeBSD.org>

Forgot to add newly added udp and raw IPv6 apps to usr.sbin SUBDIR.
They are confirmed to be buildable and seems to be working.


# 32591efd 27-Dec-1999 Peter Wemm <peter@FreeBSD.org>

Zap kvm_mkdb, it was for kvm_nlist's benefit, but now it goes direct
to the in-kernel hashed symbol tables (including modules).


# 6a800098 22-Dec-1999 Yoshinobu Inoue <shin@FreeBSD.org>

IPSEC support in the kernel.
pr_input() routines prototype is also changed to support IPSEC and IPV6
chained protocol headers.

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project


# ad1e4180 15-Dec-1999 Ollivier Robert <roberto@FreeBSD.org>

Bye bye xntpd, enter ntp.

Reviewed by: phk


# 46eae78a 06-Dec-1999 Guido van Rooij <guido@FreeBSD.org>

Move basic ifilter utils to sbin where they shold have been committed by
me in the first place. While we're at it: add MAINTAINER line


# 44248f45 29-Nov-1999 Peter Wemm <peter@FreeBSD.org>

Reactivate bind (named and tools)


# fe6d3fe5 29-Nov-1999 Peter Wemm <peter@FreeBSD.org>

Move named and associated tools into a seperate makefile section and
disable them pending an import and cleanup of bind 8.2.2.p5.


# 7a6f9bb4 27-Nov-1999 Poul-Henning Kamp <phk@FreeBSD.org>

Remove bad144 program.


# fceb9c0e 23-Nov-1999 Guido van Rooij <guido@FreeBSD.org>

rewire userland ipfilter programs


# c69a34d4 21-Nov-1999 Matthew Dillon <dillon@FreeBSD.org>

Add rpc.umntall utility, to be used by startup and shutdown scripts
to replace (broken) umntall signal code previously in mountd.

Submitted by: Martin Blapp <mb@imp.ch>


# c7805c63 13-Nov-1999 Doug Rabson <dfr@FreeBSD.org>

Enable mixer on alpha.


# 4cf49a43 21-Oct-1999 Julian Elischer <julian@FreeBSD.org>

Whistle's Netgraph link-layer (sometimes more) networking infrastructure.
Been in production for 3 years now. Gives Instant Frame relay to if_sr
and if_ar drivers, and PPPOE support soon. See:
ftp://ftp.whistle.com/pub/archie/netgraph/index.html
for on-line manual pages.

Reviewed by: Doug Rabson (dfr@freebsd.org)
Obtained from: Whistle CVS tree


# 24ff9bb5 20-Oct-1999 Bill Fumerola <billf@FreeBSD.org>

mergemaster bmake glue.


# bd3c4bb2 10-Oct-1999 Peter Wemm <peter@FreeBSD.org>

Nuke the old antique copy of ipfilter from the tree. This is old enough
to be dangerous. It will better serve us as a port building a KLD,
ala SKIP.


# 97d92980 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 18443fbd 09-Aug-1999 Matt Jacob <mjacob@FreeBSD.org>

Some floppy related commands (fdformat, fdwrite, fdcontrol) need not be
restricted to i386.


# 2b51223f 28-Jul-1999 Stefan Eßer <se@FreeBSD.org>

Activate building of elf2exe for MACHINE_ARCH==alpha.


# 0277da16 19-Jul-1999 Robert Nordier <rnordier@FreeBSD.org>

Activate kgzip.


# 07c279cd 10-Jul-1999 Mitsuru IWASAKI <iwasaki@FreeBSD.org>

Activate apmd.


# accaf17a 22-May-1999 Doug Rabson <dfr@FreeBSD.org>

Port pnpinfo to alpha.


# ce68c992 10-May-1999 David E. O'Brien <obrien@FreeBSD.org>

Move sysctl/ to src/sbin/ where it now belongs.

Repository copied by: Peter


# 31a08ab0 05-May-1999 Bill Paul <wpaul@FreeBSD.org>

Add device driver support for the Lucent WaveLAN/IEEE 802.11 PCMCIA
adapter (and some workalikes). Also add man pages and a wicontrol
utility to manipulate some of the card parameters.

This driver was written using information gleaned from the Lucent HCF Light
library, though it does not use any of the HCF Light code itself, mainly
because it's contaminated by the GPL (but also because it's pretty gross).
The HCF Light lacks certain featurs from the full (but proprietary) HCF
library, including 802.11 frame encapsulation support, however it has
just enough register information about the Hermes chip to allow someone
with enough spare time and energy to implement a proper driver. (I would
have prefered getting my hands on the Hermes manual, but that's proprietary
too. For those who are wondering, the Linux driver uses the proprietary
HCF library, but it's provided in object code form only.)

Note that I do not have access to a WavePOINT access point, so I have
only been able to test ad-hoc mode. The wicontrol utility can turn on
BSS mode, but I don't know for certain that the NIC will associate with
an access point correctly. Testers are encouraged to send their results
to me so that I can find out if I screwed up or not.


# 75c13541 28-Apr-1999 Poul-Henning Kamp <phk@FreeBSD.org>

This Implements the mumbled about "Jail" feature.

This is a seriously beefed up chroot kind of thing. The process
is jailed along the same lines as a chroot does it, but with
additional tough restrictions imposed on what the superuser can do.

For all I know, it is safe to hand over the root bit inside a
prison to the customer living in that prison, this is what
it was developed for in fact: "real virtual servers".

Each prison has an ip number associated with it, which all IP
communications will be coerced to use and each prison has its own
hostname.

Needless to say, you need more RAM this way, but the advantage is
that each customer can run their own particular version of apache
and not stomp on the toes of their neighbors.

It generally does what one would expect, but setting up a jail
still takes a little knowledge.

A few notes:

I have no scripts for setting up a jail, don't ask me for them.

The IP number should be an alias on one of the interfaces.

mount a /proc in each jail, it will make ps more useable.

/proc/<pid>/status tells the hostname of the prison for
jailed processes.

Quotas are only sensible if you have a mountpoint per prison.

There are no privisions for stopping resource-hogging.

Some "#ifdef INET" and similar may be missing (send patches!)

If somebody wants to take it from here and develop it into
more of a "virtual machine" they should be most welcome!

Tools, comments, patches & documentation most welcome.

Have fun...

Sponsored by: http://www.rndassociates.com/
Run for almost a year by: http://www.servetheweb.com/


# 0acc1823 28-Apr-1999 David E. O'Brien <obrien@FreeBSD.org>

\begin{bdemode}
sort tcpd* entries
\end{bdemode}


# 0adc9d60 06-Apr-1999 Mike Smith <msmith@FreeBSD.org>

Build memcontrol too.


# 8d4b20e3 14-Mar-1999 Mark Murray <markm@FreeBSD.org>

Build tcp_wrappers' userland. I am not building tcpd, because in a day
or two, inetd will gain the necessary functionality. At that stage,
I'll make wrapping the default for sendmail and portmapper as well.


# 2f9a9cb0 12-Mar-1999 Brian Somers <brian@FreeBSD.org>

src/usr.sbin/natd -> src/sbin/natd (after a repo-copy by jdp)


# 5051d0ac 21-Feb-1999 Robert Nordier <rnordier@FreeBSD.org>

Activate boot0cfg.


# b6c99128 11-Jan-1999 Mike Smith <msmith@FreeBSD.org>

Back out 1.146 - usbd is already enabled.


# 66d08b5f 11-Jan-1999 Mike Smith <msmith@FreeBSD.org>

Add usbd to the build


# 7c0a08f3 10-Jan-1999 Nick Hibma <n_hibma@FreeBSD.org>

Added usbd and usbdevs


# cc854440 01-Jan-1999 Peter Wemm <peter@FreeBSD.org>

Reconnect pcvt hooks..

Reviewed by: core


# 4b14c4dc 30-Dec-1998 Poul-Henning Kamp <phk@FreeBSD.org>

spppcontrol already lives in /sbin


# a0f1d841 28-Dec-1998 Gary Palmer <gpalmer@FreeBSD.org>

Put the i4b stuff under the `i386 only' section until someone fixes up
the build problems on the Alpha.


# 19c74962 27-Dec-1998 Poul-Henning Kamp <phk@FreeBSD.org>

Initial entry of ISDN4BSD into the FreeBSD tree.

ISDN4BSD is the work of our brand-new comitter: Hellmuth Michaelis,
who has done a tremendous amount of work to bring us this far.

There are still some outstanding issues and files to bring into
the tree, and for now it will be needed to pick up all the extra
docs from the isdn4bsd release.

It is probably also a very good idea to subscribe to the isdn@freebsd.org
mailing list before you try this out.

These files correspond to release "beta Version 0.70.00 / December
1998" from Hellmuth.


# 57814d04 27-Dec-1998 Poul-Henning Kamp <phk@FreeBSD.org>

Update sppp support to i4b level. This includes the new spppcontrol
program to set PPP options like authentication with.


# 1767866e 27-Dec-1998 Poul-Henning Kamp <phk@FreeBSD.org>

follow up to:
Pre 3.0 branch cleanup casualty #4: pcvt


# 6015b10b 13-Dec-1998 Nick Hibma <n_hibma@FreeBSD.org>

Unbreak make world. Sorry about that. I'll have to figure out the steps
to add those programs properly.


# 00074f8e 12-Dec-1998 Nick Hibma <n_hibma@FreeBSD.org>

Added usbd, usbdevs directories
Submitted by: MIHIRA Sanpei Yoshiro


# 3c817e2c 09-Nov-1998 Bruce Evans <bde@FreeBSD.org>

Fixed disorder.


# ffd2f8ac 09-Nov-1998 Dima Ruban <dima@FreeBSD.org>

Enable IPXrouted for alpha.


# 5c9036d5 09-Nov-1998 Dima Ruban <dima@FreeBSD.org>

Clean it up a little bit.


# a0682937 02-Oct-1998 Jordan K. Hubbard <jkh@FreeBSD.org>

Add crunch back to general targets.


# 0b0efca2 17-Sep-1998 Doug Rabson <dfr@FreeBSD.org>

Don't build ncrcontrol on alpha, its obsoleted by cam.


# 183b47f7 16-Sep-1998 Doug Rabson <dfr@FreeBSD.org>

Add some things to the alpha build.


# 3f8c4506 15-Sep-1998 Poul-Henning Kamp <phk@FreeBSD.org>

(this is an extract from src/share/examples/atm/README)

===================================
HARP | Host ATM Research Platform
===================================

HARP 3

What is this stuff?
-------------------
The Advanced Networking Group (ANG) at the Minnesota Supercomputer Center,
Inc. (MSCI), as part of its work on the MAGIC Gigabit Testbed, developed
the Host ATM Research Platform (HARP) software, which allows IP hosts to
communicate over ATM networks using standard protocols. It is intended to
be a high-quality platform for IP/ATM research.

HARP provides a way for IP hosts to connect to ATM networks. It supports
standard methods of communication using IP over ATM. A host's standard IP
software sends and receives datagrams via a HARP ATM interface. HARP provides
functionality similar to (and typically replaces) vendor-provided ATM device
driver software.

HARP includes full source code, making it possible for researchers to
experiment with different approaches to running IP over ATM. HARP is
self-contained; it requires no other licenses or commercial software packages.

HARP implements support for the IETF Classical IP model for using IP over ATM
networks, including:

o IETF ATMARP address resolution client
o IETF ATMARP address resolution server
o IETF SCSP/ATMARP server
o UNI 3.1 and 3.0 signalling protocols
o Fore Systems's SPANS signalling protocol

What's supported
----------------
The following are supported by HARP 3:

o ATM Host Interfaces
- FORE Systems, Inc. SBA-200 and SBA-200E ATM SBus Adapters
- FORE Systems, Inc. PCA-200E ATM PCI Adapters
- Efficient Networks, Inc. ENI-155p ATM PCI Adapters

o ATM Signalling Protocols
- The ATM Forum UNI 3.1 signalling protocol
- The ATM Forum UNI 3.0 signalling protocol
- The ATM Forum ILMI address registration
- FORE Systems's proprietary SPANS signalling protocol
- Permanent Virtual Channels (PVCs)

o IETF "Classical IP and ARP over ATM" model
- RFC 1483, "Multiprotocol Encapsulation over ATM Adaptation Layer 5"
- RFC 1577, "Classical IP and ARP over ATM"
- RFC 1626, "Default IP MTU for use over ATM AAL5"
- RFC 1755, "ATM Signaling Support for IP over ATM"
- RFC 2225, "Classical IP and ARP over ATM"
- RFC 2334, "Server Cache Synchronization Protocol (SCSP)"
- Internet Draft draft-ietf-ion-scsp-atmarp-00.txt,
"A Distributed ATMARP Service Using SCSP"

o ATM Sockets interface
- The file atm-sockets.txt contains further information

What's not supported
--------------------
The following major features of the above list are not currently supported:

o UNI point-to-multipoint support
o Driver support for Traffic Control/Quality of Service
o SPANS multicast and MPP support
o SPANS signalling using Efficient adapters

This software was developed under the sponsorship of the Defense Advanced
Research Projects Agency (DARPA).

Reviewed (lightly) by: phk
Submitted by: Network Computing Services, Inc.


# f0de228f 15-Sep-1998 Justin T. Gibbs <gibbs@FreeBSD.org>

Ncrcontrol is no more.


# d60dc4ef 12-Sep-1998 Robert Nordier <rnordier@FreeBSD.org>

Activate btxld.


# 0451ac36 30-Aug-1998 Gary Palmer <gpalmer@FreeBSD.org>

Split lines into one subdir per line.


# 971104bf 30-Aug-1998 Gary Palmer <gpalmer@FreeBSD.org>

Make pstat machine-independant again


# 1be40924 20-Aug-1998 John Birrell <jb@FreeBSD.org>

Build kvm_mkdb and natd on alpha too.


# 67e55fa5 16-Aug-1998 Gary Palmer <gpalmer@FreeBSD.org>

We need config to build on the alpha also ... kinda difficult to build
kernels without it :)


# 943c9976 04-Aug-1998 Peter Wemm <peter@FreeBSD.org>

Descend into makemap/mailstats/praliases when building sendmail.


# 560cbdb5 19-Jul-1998 Robert Nordier <rnordier@FreeBSD.org>

Drop mkdosfs (replaced by newfs_msdos).
Prompted by: joerg


# 2c8d8304 24-May-1998 Dag-Erling Smørgrav <des@FreeBSD.org>

Add chkgrp


# d12e99bb 02-May-1998 Peter Wemm <peter@FreeBSD.org>

Add nsupdate


# 5a85f025 15-Apr-1998 Poul-Henning Kamp <phk@FreeBSD.org>

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>


# 8d737d46 23-Mar-1998 John Birrell <jb@FreeBSD.org>

A few things won't compile on alpha, so make them i386 specific for
the time being.


# 5021f740 21-Mar-1998 Peter Wemm <peter@FreeBSD.org>

Initial bmake scaffolding for ipfilter userland stuff.

Obtained from: large chunks stolen from OpenBSD and NetBSD


# 1a1536c1 13-Mar-1998 John Birrell <jb@FreeBSD.org>

Some things only work on i386.

Removed unsupported machines.


# e63dcf46 18-Feb-1998 Mike Smith <msmith@FreeBSD.org>

Disconnect (nonexistent) qcamcontrol
Submitted by: pst


# e6489fd8 06-Dec-1997 Peter Wemm <peter@FreeBSD.org>

add procctl


# c02d44b4 19-Sep-1997 Warner Losh <imp@FreeBSD.org>

Add missing \ from previous rev to end of a line.


# d737df25 19-Sep-1997 John-Mark Gurney <jmg@FreeBSD.org>

activate pnpinfo


# f80feb0c 12-Aug-1997 Paul Traina <pst@FreeBSD.org>

Enable periodic


# c957ff40 27-Jun-1997 Brian Somers <brian@FreeBSD.org>

Allow command line control of ppp through both
TCP and AF_LOCAL sockets.


# aac04c62 21-Jun-1997 Brian Somers <brian@FreeBSD.org>

Hook natd


# 636f732d 29-May-1997 Bill Paul <wpaul@FreeBSD.org>

Another (harmless, luckily) mind-o: somehow I typed 'rpc.ypupdated.'
instead of 'rpc.ypupdated' when I added rpc.ypupdated to the SUBDIRS
list.

Carved into my forehead with an rusty railroad spike by: Mark Murray


# 0e04d559 28-May-1997 Bill Paul <wpaul@FreeBSD.org>

Activate new Secure RPC programs.


# 6bca5576 22-May-1997 Mike Smith <msmith@FreeBSD.org>

Add wlconfig.


# 6b178bfd 28-Apr-1997 Steve Passe <fsmp@FreeBSD.org>

added mptable to directory list of usr.sbin programs.


# f7c9eedd 11-Mar-1997 Peter Wemm <peter@FreeBSD.org>

Kill sup from the main sources now that the ports version is updated.
This puts it on the same footing as cvsup. It's been suggested on
numerous occasions that I shouldn't have imported it in the first place,
and now that sup has outlived it's usefulness..... Boom!


# 476602a9 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


# 202b8e21 20-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Add ckdist.


# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

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.


# 72f54bea 15-Dec-1996 Bill Fenner <fenner@FreeBSD.org>

Add mtest.


# 1b62258d 09-Dec-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

Add pw to build list - I need it now. :)


# eca55dce 22-Oct-1996 Stefan Eßer <se@FreeBSD.org>

Add pciconf.


# 322bab89 16-Sep-1996 Garrett Wollman <wollman@FreeBSD.org>

Disable build of old routed.


# cb3c44d7 06-Sep-1996 Poul-Henning Kamp <phk@FreeBSD.org>

remove devconf tools from make tree.


# 7e3456fb 29-Aug-1996 Peter Wemm <peter@FreeBSD.org>

delete bind, add named named.reload named.restart ndc


# 9e639d7d 29-Aug-1996 Peter Wemm <peter@FreeBSD.org>

Swing the SUBDIR entry across for the new bind-4.9.4-p1 dir..


# c3c576e8 18-Jul-1996 Gary Palmer <gpalmer@FreeBSD.org>

Remove eeprom too as more unused stuff.

Pointed out by: Thomas Graichen <graichen@axp5.physik.fu-berlin.de>


# 5967c90e 22-Jun-1996 Søren Schmidt <sos@FreeBSD.org>

Add moused to targets.


# 3c32b88f 17-Jun-1996 Garrett Wollman <wollman@FreeBSD.org>

Add keyadmin directory.


# ddc0f710 04-Jun-1996 Bill Paul <wpaul@FreeBSD.org>

Add rpc.ypxfrd.


# be09001b 04-Jun-1996 Poul-Henning Kamp <phk@FreeBSD.org>

Add pccard to makefile system


# dbf08241 07-May-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

ppoll -> yppoll. This Makefile should work better now. :-)


# acec6438 07-May-1996 Bill Paul <wpaul@FreeBSD.org>

Dohw! Turn on yp_mkdb in the Makefile.


# d36a01ef 05-May-1996 Peter Wemm <peter@FreeBSD.org>

Oops, add stallion utils to i386 part of Makefile


# 0bb54c2d 03-Apr-1996 Peter Wemm <peter@FreeBSD.org>

Add rpc.statd and the stub rpc.lockd, as these build and are of some use to
some people.


# cbc17e71 13-Feb-1996 Garrett Wollman <wollman@FreeBSD.org>

XNS sort-of-support is no more.


# 89422d48 12-Feb-1996 Bill Paul <wpaul@FreeBSD.org>

Add rpc.yppasswdd


# a1eea3a2 08-Feb-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

Remove pkg_manage from Makefile


# 2097e8b4 04-Feb-1996 Andrey A. Chernov <ache@FreeBSD.org>

Remove cdplay, cdcontrol is superset of it


# dccb8efe 04-Feb-1996 Paul Traina <pst@FreeBSD.org>

Add qcamcontrol


# fde6518c 27-Jan-1996 Joerg Wunsch <joerg@FreeBSD.org>

Add wormcontrol. Nope, i didn't forget it this time. :)


# 8f9d4ec0 19-Jan-1996 Nate Williams <nate@FreeBSD.org>

Removed config.new from the release. It is unused by any current version
of FreeBSD, and only serves to generate confusion and increase bloat.


# 9c3d0aee 16-Jan-1996 Adam David <adam@FreeBSD.org>

add yppush


# 160ce17a 05-Jan-1996 Thomas Graichen <graichen@FreeBSD.org>

added newsyslog and spray


# dae83b79 05-Jan-1996 Peter Wemm <peter@FreeBSD.org>

Add sup and IPXrouted to makefile
(IPXrouted is far more likely to be used than XNSrouted)


# f4b12013 16-Dec-1995 Bill Paul <wpaul@FreeBSD.org>

Turn on ypserv.


# a92a0052 24-Nov-1995 Peter Wemm <peter@FreeBSD.org>

Disconnect fsdb in preperation for move to /sbin


# fb27879c 05-Nov-1995 Joerg Wunsch <joerg@FreeBSD.org>

Include mkdosfs into the list of subdirs.

Reorder the list.


# 2f7b223a 03-Nov-1995 Peter Wemm <peter@FreeBSD.org>

Connect fsdb to the SUBDIR list.


# 16c7dfba 03-Nov-1995 Peter Wemm <peter@FreeBSD.org>

add quot..


# 507acceb 29-Oct-1995 Bruce Evans <bde@FreeBSD.org>

Add rndcontrol.


# eae0c0a8 18-Aug-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Add the cdcontrol program by Serge Vakulenko. It's my understanding
that this is a superset of cdplay, and perhaps it's time to send cdplay
into the bit bucket if this works well. According to the docs, it has
a friendlier command structure, command line interface etc.
Submitted by: Serge Vakulenko <vak@cronyx.ru>


# 99dc33eb 13-Aug-1995 Peter Wemm <peter@FreeBSD.org>

Add sicontrol.. I hope this is the right way..


# 6e13a63d 12-Jul-1995 Bruce Evans <bde@FreeBSD.org>

Add kbdmap.


# 4db6e5b1 14-Jun-1995 Garrett Wollman <wollman@FreeBSD.org>

Correct misspelling of `mrouted'. Shows what I get for not re-building
from the top...


# 886e832b 13-Jun-1995 Garrett Wollman <wollman@FreeBSD.org>

Re-enable mrouted now that it matches the kernel code again.


# 389544a0 13-Jun-1995 Garrett Wollman <wollman@FreeBSD.org>

Temporarily disable mrouted.


# 709e8f9a 29-May-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Remove trailing whitespace.


# 3ee2ce52 13-May-1995 Poul-Henning Kamp <phk@FreeBSD.org>

remove swapinfo.


# 892dbf3c 15-Apr-1995 Andreas Schulz <ats@FreeBSD.org>

Add mixer to the clean/cleandir targets to get it also cleaned up.


# 936209a6 13-Apr-1995 Joerg Wunsch <joerg@FreeBSD.org>

Include pcvt into the list of subdirs, so its utilities will be
included into fututre distributions.


# 14c5b2ae 10-Mar-1995 Poul-Henning Kamp <phk@FreeBSD.org>

Added the kernbb program. No man-page yet :(


# 8c9c9e97 01-Mar-1995 Bill Paul <wpaul@FreeBSD.org>

Add rarpd.


# fb07c04a 27-Feb-1995 Bill Paul <wpaul@FreeBSD.org>

Add entry for bootparamd and friends.


# d7141301 26-Feb-1995 Atsushi Murai <amurai@FreeBSD.org>

Re add ppp entry causing by missing auth.h/cdefs.h
Reviewed by: amurai@spec.co.jp


# be4ddfeb 26-Feb-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Take ppp out until it works again - there's actually stuff missing from
the merge.


# 2c9da268 25-Feb-1995 Bruce Evans <bde@FreeBSD.org>

Remove dbsym.


# 1c4239e9 22-Feb-1995 Paul Traina <pst@FreeBSD.org>

Add watch(8)


# 13438c18 21-Feb-1995 Andrey A. Chernov <ache@FreeBSD.org>

mixer added


# 0e13d5af 21-Feb-1995 Andreas Schulz <ats@FreeBSD.org>

Add sgsc to the clean/cleandir targets.


# b6d7ccaf 15-Feb-1995 Andrey A. Chernov <ache@FreeBSD.org>

pkg_manage added


# db23157e 09-Feb-1995 Bruce Evans <bde@FreeBSD.org>

Add ctm and sgsc. ctm is has proved useful and sgsc seems to have been
forgotten.


# ed1eb141 31-Jan-1995 Atsushi Murai <amurai@FreeBSD.org>

Adding "ppp" entry for a user process PPP (aka iijppp)


# 9ad53676 19-Jan-1995 Bruce Evans <bde@FreeBSD.org>

Enable iostat on i386's.


# 54b77925 30-Dec-1994 Andrey A. Chernov <ache@FreeBSD.org>

Remove unneded kbdcontrol from SUBDIRS
Submitted by: roberto@blaise.ibp.fr


# b2c473ea 28-Dec-1994 Andrey A. Chernov <ache@FreeBSD.org>

adduser added


# d6bfd0e8 04-Dec-1994 Poul-Henning Kamp <phk@FreeBSD.org>

Added the vnconfig program.


# ef1520b3 19-Nov-1994 Andreas Schulz <ats@FreeBSD.org>

Add the missing subdirs cdplay and spkrtest into the clean/cleandir targets.


# 5d076949 12-Nov-1994 Lars Fredriksen <lars@FreeBSD.org>

Delete duplicate pppd entry. Also move pppstats in the right spot lexically.


# 665583d2 12-Nov-1994 Lars Fredriksen <lars@FreeBSD.org>

pppd was missing from the SUBDIRS.


# a4d451db 12-Nov-1994 Andrey A. Chernov <ache@FreeBSD.org>

cdplay added


# 3aa40eb0 11-Nov-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Add pppd to the Makefile. It seems to work..


# 5bbd5762 31-Oct-1994 Joerg Wunsch <joerg@FreeBSD.org>

Included the fdcontrol subdir.


# 79455955 27-Oct-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Remove eeprom from the default list of subdirs. It gets added properly
in the sparc case anyway. Next step will be to move some of the i386
specific things, like fdformat and fdwrite, into an i386 .if clause.


# a365d118 24-Oct-1994 Garrett Wollman <wollman@FreeBSD.org>

Added lsdev.


# 31895db0 22-Oct-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Add xten.


# 6dde05f5 21-Oct-1994 Andrey A. Chernov <ache@FreeBSD.org>

spkrtest added


# 0477ab47 17-Oct-1994 David Greenman <dg@FreeBSD.org>

Added slstat.


# 8dc10afa 14-Oct-1994 Gary Palmer <gpalmer@FreeBSD.org>

Move `ncrcontrol' into machine-dependant section.


# 1dc73d35 13-Oct-1994 Stefan Eßer <se@FreeBSD.org>

Added ncrcontrol (display and configure NCR 53c810 SCSI parameters).


# 69bf5166 03-Oct-1994 Andreas Schulz <ats@FreeBSD.org>

Submitted by: gibbs@uclink.berkeley.edu
Fixed the missing blank in tzsetupvipw.


# 723ff3e0 01-Oct-1994 Gary Palmer <gpalmer@FreeBSD.org>

Move apm, apmconf, fdformat, fdwrite, kbdcontrol, lptcontrol, rtprio and
vidcontrol out of machine-independance into the I386 & clean
dependant sections. Also move 'timed' out of machine-dependace into
machine-independance

Reviewed by: rgrimes


# 4ada351c 30-Sep-1994 David Greenman <dg@FreeBSD.org>

Added apm and apmconf. NOTE: This makefile is wrong in a variety of ways.
For one thing, the handling of arch-specific utilities is broken, and
things like apm and apmconf (and fdformat, kbdcontrol, vidcontrol, etc)
shouldn't be built for all arch's.


# ad0e3007 29-Sep-1994 Paul Traina <pst@FreeBSD.org>

Move bootp & related stuff


# 55178249 26-Sep-1994 Paul Traina <pst@FreeBSD.org>

Enable new bind utilities.


# 78eb91b4 26-Sep-1994 David Greenman <dg@FreeBSD.org>

Fix comment: we have cron.


# 90c5321f 26-Sep-1994 David Greenman <dg@FreeBSD.org>

ac(8) utility, brought over from 1.1.5.


# 27f8e969 26-Sep-1994 David Greenman <dg@FreeBSD.org>

Added sa.


# 13ae5a03 18-Sep-1994 Poul-Henning Kamp <phk@FreeBSD.org>

added fdwrite -> usr.sbin/fdwrite


# d4f61326 17-Sep-1994 David Greenman <dg@FreeBSD.org>

Added fdformat utility from 1.1.5.


# 36156bf4 13-Sep-1994 Garrett Wollman <wollman@FreeBSD.org>

Add tzsetup.


# 87de5a95 13-Sep-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Add pkg_install to SUBDIR.


# bd46ac9a 12-Sep-1994 Garrett Wollman <wollman@FreeBSD.org>

Add `zic' and `zdump'.


# 702cdbc0 10-Sep-1994 Geoff Rehmet <csgr@FreeBSD.org>

add bootpd, bootpef, bootpgw, bootptest


# 4aa83b0b 07-Sep-1994 Garrett Wollman <wollman@FreeBSD.org>

Add mrouted.


# 28178404 03-Sep-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Add crunch and manctl, bring back xntpd.
Submitted by: jkh


# 12365022 03-Sep-1994 Geoff Rehmet <csgr@FreeBSD.org>

Make it possible to run lptcontrol on a printer port which does not
actually have a printer connected or online:
- MAKEDEV: remove all signs of lpa
add lpctl? devices (minor # = unit + 128)
- usr.sbin/Makefile add lptcontrol
- sys/i386/isa/lpt.c implement the LP_BYPASS flag: when a unit is
opened with this flag set, the printer is
not primed, and no check is made to see that
the printer is online. This can only be used
to pass ioctls. (giving us /dev/lpctl?)
- lptcontrol.c use /dev/lpctl? (LP_BYPASS)
-f flag removed, -u flag added
- lptcontrol.8 document changes in lptcontrol
rewrite using mandoc macros
Submitted by: Geoff.


# 21e95ddd 31-Aug-1994 David Greenman <dg@FreeBSD.org>

rtprio(1) utility to modify realtime priority of a process.

Submitted by: Henrik Vestergaard Draboel


# 504d7e78 30-Aug-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Remove xntpd for now until it works.
Submitted by: jkh


# 52f2a972 28-Aug-1994 Bruce Evans <bde@FreeBSD.org>

Add swapinfo to SUBDIR. It's been working for a long time.


# eedc6558 28-Aug-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Add cron.
Submitted by: jkh


# 8a82af45 25-Aug-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

xntp and tcpdump targets added.
Reviewed by:
Submitted by:


# 10426880 23-Aug-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Bring over dbsym from 1.1.5.1
Submitted by: jkh


# 1062753e 17-Aug-1994 Søren Schmidt <sos@FreeBSD.org>

Added kbdcontrol & vidcontrol utils (from 1.1.5.1+)

Reviewed by:
Submitted by:


# d966229d 14-Aug-1994 Garrett Wollman <wollman@FreeBSD.org>

Don't bother with XNSrouted and trsp, nobody uses either. If anybody
decides they want to, they can change the Makefile.


# d832d691 07-Aug-1994 Garrett Wollman <wollman@FreeBSD.org>

Added YP section 8 programs from 1.1.5. (Obligatory notice that this
code was originally written by Th. de Raadt, although this particular
organization is mine.)


# 84e59eb5 05-Aug-1994 Garrett Wollman <wollman@FreeBSD.org>

Get rid of update. Make man page installation work with our scheme
(and rename a few in the process).


# 1544f99b 28-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Comment out missing/broken sources.


# dea673e9 25-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite usr.sbin Sources