History log of /freebsd-current/sbin/Makefile
Revision Date Author Comments
# 74be6485 06-May-2024 Poul-Henning Kamp <phk@FreeBSD.org>

Disconnect GBDE from the build. (Per earlier announcements of retirement.)


# 2d51a989 23-Apr-2024 John Baldwin <jhb@FreeBSD.org>

nvmecontrol: Always build instead of being conditional on WITH_NVME

This now builds fine on all platforms so always include it similar
to other tools such as camcontrol.

Reviewed by: imp, emaste
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D44842


# f92d9b1a 28-Nov-2023 Kristof Provost <kp@FreeBSD.org>

pflow: import from OpenBSD

pflow is a pseudo device to export flow accounting data over UDP.
It's compatible with netflow version 5 and IPFIX (10).

The data is extracted from the pf state table. States are exported once
they are removed.

Reviewed by: melifaro
Obtained from: OpenBSD
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D43106


# 51e16cb8 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

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


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

Remove $FreeBSD$: one-line sh pattern

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


# ac4c695a 16-Nov-2022 Ed Maste <emaste@FreeBSD.org>

Retire WITHOUT_CXX option

Several important base system components are written in C++, and the
WITHOUT_CXX option produced a system that was not fully functional.
Just accept this, and remove the option to build without C++ support.

This reverts commit adc3c128c6603054586a993d117e5dd808deac17.

Reviewed by: brooks, kevans, jhb (earlier)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D33108


# a4ef9e58 27-Nov-2021 Ed Maste <emaste@FreeBSD.org>

sbin: build ping if at least one of INET & INET6 is enabled

It does not build (and serves no purpose) if neither is true (i.e.,
building WITHOUT_INET and WITHOUT_INET6). Also add an explicit error
in ping to make this case clear.

PR: 260082
Sponsored by: The FreeBSD Foundation


# 48cb3fee 26-Oct-2021 Ed Maste <emaste@FreeBSD.org>

Retire obsolete iscsi_initiator(4)

The new iSCSI initiator iscsi(4) was introduced with FreeBSD 10.0, and
the old intiator was marked obsolete shortly thereafter (in commit
d32789d95cfbf, MFC'd to stable/10 in ba54910169c4). Remove it now.

Reviewed by: jhb, mav
Relnotes: yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32673


# c2426723 22-Oct-2021 Gleb Smirnoff <glebius@FreeBSD.org>

Fix sconfig(8) build.

Missed that since sconfig(8) was built on i386 only. Since I enabled
cp(4) on amd64, enable sconfig(8) as well.

Fixes: 6aae3517ed25


# 6aae3517 20-Oct-2021 Gleb Smirnoff <glebius@FreeBSD.org>

Retire synchronous PPP kernel driver sppp(4).

The last two drivers that required sppp are cp(4) and ce(4).

These devices are still produced and can be purchased
at Cronyx <http://cronyx.ru/hardware/wan.html>.

Since Roman Kurakin <rik@FreeBSD.org> has quit them, they no
longer support FreeBSD officially. Later they have dropped
support for Linux drivers to. As of mid-2020 they don't even
have a developer to maintain their Windows driver. However,
their support verbally told me that they could provide aid to
a FreeBSD developer with documentaion in case if there appears
a new customer for their devices.

These drivers have a feature to not use sppp(4) and create an
interface, but instead expose the device as netgraph(4) node.
Then, you can attach ng_ppp(4) with help of ports/net/mpd5 on
top of the node and get your synchronous PPP. Alternatively
you can attach ng_frame_relay(4) or ng_cisco(4) for HDLC.
Actually, last time I used cp(4) back in 2004, using netgraph(4)
instead of sppp(4) was already the right way to do.

Thus, remove the sppp(4) related part of the drivers and enable
by default the negraph(4) part. Further maintenance of these
drivers in the tree shouldn't be a big deal.

While doing that, remove some cruft and enable cp(4) compilation
on amd64. The ce(4) for some unknown reason marks its internal
DDK functions with __attribute__ fastcall, which most likely is
safe to remove, but without hardware I'm not going to do that, so
ce(4) remains i386-only.

Reviewed by: emaste, imp, donner
Differential Revision: https://reviews.freebsd.org/D32590
See also: https://reviews.freebsd.org/D23928


# 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


# 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


# 3cde9171 25-Nov-2020 Alan Somers <asomers@FreeBSD.org>

Merge ping6 to ping

There is now a single ping binary, which chooses to use ICMP or ICMPv4
based on the -4 and -6 options, and the format of the address.

Submitted by: Ján Sučan <sucanjan@gmail.com>
Sponsored by: Google LLC (Google Summer of Code 2019)
MFC after: Never
Differential Revision: https://reviews.freebsd.org/D21377


# 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


# eb12b8ea 25-Feb-2019 Simon J. Gerraty <sjg@FreeBSD.org>

Add verifying manifest loader for mac_veriexec

This tool will verify a signed manifest and load contents into
mac_veriexec for storage

Sponsored by: Juniper Networks
Differential Revision: D16575


# b252313f 31-Jan-2019 Gleb Smirnoff <glebius@FreeBSD.org>

New pfil(9) KPI together with newborn pfil API and control utility.

The KPI have been reviewed and cleansed of features that were planned
back 20 years ago and never implemented. The pfil(9) internals have
been made opaque to protocols with only returned types and function
declarations exposed. The KPI is made more strict, but at the same time
more extensible, as kernel uses same command structures that userland
ioctl uses.

In nutshell [KA]PI is about declaring filtering points, declaring
filters and linking and unlinking them together.

New [KA]PI makes it possible to reconfigure pfil(9) configuration:
change order of hooks, rehook filter from one filtering point to a
different one, disconnect a hook on output leaving it on input only,
prepend/append a filter to existing list of filters.

Now it possible for a single packet filter to provide multiple rulesets
that may be linked to different points. Think of per-interface ACLs in
Cisco or Juniper. None of existing packet filters yet support that,
however limited usage is already possible, e.g. default ruleset can
be moved to single interface, as soon as interface would pride their
filtering points.

Another future feature is possiblity to create pfil heads, that provide
not an mbuf pointer but just a memory pointer with length. That would
allow filtering at very early stages of a packet lifecycle, e.g. when
packet has just been received by a NIC and no mbuf was yet allocated.

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


# 5952343e 24-Jul-2018 Kyle Evans <kevans@FreeBSD.org>

Rename be(1) to bectl(8); continues to live in /sbin

Discussed with: rpokala, allanjude


# 28f16a0f 24-Jul-2018 Kyle Evans <kevans@FreeBSD.org>

Import libbe(3)/be(1) from socsvn/soc2017/kneitinger/libbe-head


# aa571745 24-Jun-2018 Eitan Adler <eadler@FreeBSD.org>

Makefiles: remove outdated comments


# f0f8a1af 13-Jun-2018 Warner Losh <imp@FreeBSD.org>

NVME support is only for x86 and powerpc64.

Implement MK_NVME now that the expression for where NVMe is
complicated. Default it to "yes" for x86 and powerpc64 and
no everywhere else. Use it in camcontrol to define WITH_NVME
for those platforms where we support nvme.

This should fix the newly introduced nvme files to camcontrol
which were building everywhere.

Pointy Hat To: imp
Sponsored by: Netflix


# 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


# 93b09f58 05-Nov-2017 Konstantin Belousov <kib@FreeBSD.org>

Remove badsect(8).

Failure modes of the modern (that is, produced in the last 25 years)
hard drives and SSDs made the utility outdated. Since the kernel
interface to support it was removed in r324853, cut the userspace
remnants as well.

Discussed with: bde (who does not like the removal)
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks


# 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


# a7dc3128 24-Apr-2017 Brooks Davis <brooks@FreeBSD.org>

Remove the NATM framework including the en(4), fatm(4), hatm(4), and
patm(4) devices.

Maintaining an address family and framework has real costs when we make
infrastructure improvements. In the case of NATM we support no devices
manufactured in the last 20 years and some will not even work in modern
motherboards (some newer devices that patm(4) could be updated to
support apparently exist, but we do not currently have support).

With this change, support remains for some netgraph modules that don't
require NATM support code. It is unclear if all these should remain,
though ng_atmllc certainly stands alone.

Note well: FreeBSD 11 supports NATM and will continue to do so until at
least September 30, 2021. Improvements to the code in FreeBSD 11 are
certainly welcome.

Reviewed by: philip
Approved by: harti


# 480f31c2 10-Dec-2016 Konrad Witaszczyk <def@FreeBSD.org>

Add support for encrypted kernel crash dumps.

Changes include modifications in kernel crash dump routines, dumpon(8) and
savecore(8). A new tool called decryptcore(8) was added.

A new DIOCSKERNELDUMP I/O control was added to send a kernel crash dump
configuration in the diocskerneldump_arg structure to the kernel.
The old DIOCSKERNELDUMP I/O control was renamed to DIOCSKERNELDUMP_FREEBSD11 for
backward ABI compatibility.

dumpon(8) generates an one-time random symmetric key and encrypts it using
an RSA public key in capability mode. Currently only AES-256-CBC is supported
but EKCD was designed to implement support for other algorithms in the future.
The public key is chosen using the -k flag. The dumpon rc(8) script can do this
automatically during startup using the dumppubkey rc.conf(5) variable. Once the
keys are calculated dumpon sends them to the kernel via DIOCSKERNELDUMP I/O
control.

When the kernel receives the DIOCSKERNELDUMP I/O control it generates a random
IV and sets up the key schedule for the specified algorithm. Each time the
kernel tries to write a crash dump to the dump device, the IV is replaced by
a SHA-256 hash of the previous value. This is intended to make a possible
differential cryptanalysis harder since it is possible to write multiple crash
dumps without reboot by repeating the following commands:
# sysctl debug.kdb.enter=1
db> call doadump(0)
db> continue
# savecore

A kernel dump key consists of an algorithm identifier, an IV and an encrypted
symmetric key. The kernel dump key size is included in a kernel dump header.
The size is an unsigned 32-bit integer and it is aligned to a block size.
The header structure has 512 bytes to match the block size so it was required to
make a panic string 4 bytes shorter to add a new field to the header structure.
If the kernel dump key size in the header is nonzero it is assumed that the
kernel dump key is placed after the first header on the dump device and the core
dump is encrypted.

Separate functions were implemented to write the kernel dump header and the
kernel dump key as they need to be unencrypted. The dump_write function encrypts
data if the kernel was compiled with the EKCD option. Encrypted kernel textdumps
are not supported due to the way they are constructed which makes it impossible
to use the CBC mode for encryption. It should be also noted that textdumps don't
contain sensitive data by design as a user decides what information should be
dumped.

savecore(8) writes the kernel dump key to a key.# file if its size in the header
is nonzero. # is the number of the current core dump.

decryptcore(8) decrypts the core dump using a private RSA key and the kernel
dump key. This is performed by a child process in capability mode.
If the decryption was not successful the parent process removes a partially
decrypted core dump.

Description on how to encrypt crash dumps was added to the decryptcore(8),
dumpon(8), rc.conf(5) and savecore(8) manual pages.

EKCD was tested on amd64 using bhyve and i386, mipsel and sparc64 using QEMU.
The feature still has to be tested on arm and arm64 as it wasn't possible to run
FreeBSD due to the problems with QEMU emulation and lack of hardware.

Designed by: def, pjd
Reviewed by: cem, oshogbo, pjd
Partial review: delphij, emaste, jhb, kib
Approved by: pjd (mentor)
Differential Revision: https://reviews.freebsd.org/D4712


# 97371ba2 29-Oct-2016 Andriy Gapon <avg@FreeBSD.org>

zfsbootcfg: a simple tool to set next boot (one time) options for zfsboot

(gpt)zfsboot will read one-time boot directives from a special ZFS pool
area. The area was previously described as "Boot Block Header", but
currently it is know as Pad2, marked as reserved and is zeroed out on
pool creation. The new code interprets data in this area, if any, using
the same format as boot.config. The area is immediately wiped out.
Failure to parse the directives results in a reboot right after the
cleanup. Otherwise the boot sequence proceeds as usual.

zfsbootcfg writes zfsboot arguments specified on its command line to the
Pad2 area of a disk identified by vfs.zfs.boot.primary_pool and
vfs.zfs.boot.primary_vdev kenv variables that are set by loader during
boot. Please see the manual page for more.

Thanks to all who reviewed, contributed and made suggestions! There are
many potential improvements to the feature, please see the review for
details.

Reviewed by: wblock (docs)
Discussed with: jhb, tsoome
MFC after: 3 weeks
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D7612


# 014db25b 11-Aug-2016 Enji Cooper <ngie@FreeBSD.org>

Update ^/vendor/NetBSD/tests/dist to a more recent snapshot

Pulled on "Thu Aug 11 18:01:19 PDT 2016"


# c501d73c 25-Feb-2016 Mariusz Zaborski <oshogbo@FreeBSD.org>

Convert casperd(8) daemon to the libcasper.
After calling the cap_init(3) function Casper will fork from it's original
process, using pdfork(2). Forking from a process has a lot of advantages:
1. We have the same cwd as the original process.
2. The same uid, gid and groups.
3. The same MAC labels.
4. The same descriptor table.
5. The same routing table.
6. The same umask.
7. The same cpuset(1).
From now services are also in form of libraries.
We also removed libcapsicum at all and converts existing program using Casper
to new architecture.

Discussed with: pjd, jonathan, ed, drysdale@google.com, emaste
Partially reviewed by: drysdale@google.com, bdrewery
Approved by: pjd (mentor)
Differential Revision: https://reviews.freebsd.org/D4277


# 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


# 87d352d5 02-Feb-2015 Enji Cooper <ngie@FreeBSD.org>

Remove duplicate MK_ISCSI block and sort the conditional blocks so this error
won't crop up again in the future

Reported by: gjb
MFC after: 1 week


# c01f300b 25-Jan-2015 Enji Cooper <ngie@FreeBSD.org>

Build sbin/iscontrol again if MK_ISCSI != no

MFC after: 13 days
X-MFC with: r277675
Pointyhat to: me


# 4e395054 25-Jan-2015 Enji Cooper <ngie@FreeBSD.org>

Add MK_HAST knob for building and installing hastd(8), et al

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


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

Add MK_CCD knob for building and installing ccd(4), ccdconfig, etc

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


# 21060720 02-Dec-2014 Enji Cooper <ngie@FreeBSD.org>

Make ccd(4), et al conditional based on MK_CCD


# 317fdbc6 30-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Build spppcontrol if MK_PPP != no


# 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


# 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


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


# 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


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

Migrate tools/regression/sbin/ to the new tests layout.

Pretty much all that this change does is shuffles the code around and hooks
it into the regular build. The code of the old tests has not changed.


# 42a85952 02-Dec-2013 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Please welcome casperd daemon. It (and its services) will be responsible for
giving access to functionality that is not available in capability mode
sandbox. The functionality can be precisely restricted.

Start with the following services:
- system.dns - provides API compatible to:
- gethostbyname(3),
- gethostbyname2(3),
- gethostbyaddr(3),
- getaddrinfo(3),
- getnameinfo(3),
- system.grp - provides getgrent(3)-compatible API,
- system.pwd - provides getpwent(3)-compatible API,
- system.random - allows to obtain entropy from /dev/random,
- system.sysctl - provides sysctlbyname(3-compatible API.

Sponsored by: The FreeBSD Foundation


# fc4618e7 01-Dec-2013 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Remove trailing backslash.


# 45f6d665 04-Apr-2013 Alexander Motin <mav@FreeBSD.org>

Remove all legacy ATA code parts, not used since options ATA_CAM enabled in
most kernels before FreeBSD 9.0. Remove such modules and respective kernel
options: atadisk, ataraid, atapicd, atapifd, atapist, atapicam. Remove the
atacontrol utility and some man pages. Remove useless now options ATA_CAM.

No objections: current@, stable@
MFC after: never


# a42ac676 17-Oct-2012 Attilio Rao <attilio@FreeBSD.org>

Disconnect non-MPSAFE NTFS from the build in preparation for dropping
GIANT from VFS. This code is particulary broken and fragile and other
in-kernel implementations around, found in other operating systems,
don't really seem clean and solid enough to be imported at all.
If someone wants to reconsider in-kernel NTFS implementation for
inclusion again, a fair effort for completely fixing and cleaning it
up is expected.

In the while NTFS regular users can use FUSE interface and ntfs-3g
port to work with their NTFS partitions.

This is not targeted for MFC.


# 5fe58019 13-Oct-2012 Attilio Rao <attilio@FreeBSD.org>

Import a FreeBSD port of the FUSE Linux module.
This has been developed during 2 summer of code mandates and being revived
by gnn recently.
The functionality in this commit mirrors entirely content of fusefs-kmod
port, which doesn't need to be installed anymore for -CURRENT setups.

In order to get some sparse technical notes, please refer to:
http://lists.freebsd.org/pipermail/freebsd-fs/2012-March/013876.html

or to the project branch:
svn://svn.freebsd.org/base/projects/fuse/

which also contains granular history of changes happened during port
refinements. This commit does not came from the branch reintegration
itself because it seems svn is not behaving properly for this functionaly
at the moment.

Partly Sponsored by: Google, Summer of Code program 2005, 2011
Originally submitted by: ilya, Csaba Henk <csaba-ml AT creo DOT hu >
In collabouration with: pho
Tested by: flo, gnn, Gustau Perez,
Kevin Oberman <rkoberman AT gmail DOT com>
MFC after: 2 months


# 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


# 270069b7 11-May-2012 Adrian Chadd <adrian@FreeBSD.org>

Add etherswitchcfg.

Submitted by: Stefan Bethke <stb@lassitu.de>


# b7f8411d 17-Mar-2011 Hajimu UMEMOTO <ume@FreeBSD.org>

Add resolvconf(8) which manages resolv.conf.


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


# 130ecf68 12-Sep-2010 Warner Losh <imp@FreeBSD.org>

MF tbemd: Move to using Makefile.arch to select what to build.

Reviewed by: arch@ (no objection)


# 2b98f840 18-Apr-2010 Pawel Jakub Dawidek <pjd@FreeBSD.org>

MFC r204076,r204077,r204083,r205279:

r204076:

Please welcome HAST - Highly Avalable Storage.

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

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

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

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

r204077:

Remove some lines left over by accident.

r204083:

Add missing KEYWORD line.

Pointed out by: dougb

r205279 sys:

Simplify loops.


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


# 32115b10 18-Feb-2010 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Please welcome HAST - Highly Avalable Storage.

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

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

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

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


# 33df61e1 12-Oct-2009 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

- Enable fdisk build for MIPS


# 86ce6a83 21-May-2009 Robert Watson <rwatson@FreeBSD.org>

Remove the unmaintained University of Michigan NFSv4 client from 8.x
prior to 8.0-RELEASE. Rick Macklem's new and more feature-rich NFSv234
client and server are replacing it.

Discussed with: rmacklem


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


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 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


# c4c9b9f5 06-Jul-2008 Marcel Moolenaar <marcel@FreeBSD.org>

Obsolete bsdlabel(8) on powerpc. Use gpart(8) instead.


# 773c9287 03-Jul-2008 Marcel Moolenaar <marcel@FreeBSD.org>

Make sunlabel specific to sparc64. This is mostly for backward
compatibility reasons. Sun labels, with VTOC8, are handled by
gpart(8).


# d7f5bced 03-Jul-2008 Marcel Moolenaar <marcel@FreeBSD.org>

Stop building bsdlabel(8) and fdisk(8) on ia64. Both tools are
obsoleted by gpart(8). This avoids the following bugs in fdisk:
- initializing a disk without MBR bogusly emits the error:
fdisk: invalid fdisk partition table found
- initializing a disk with or without MBR bogusly emits either:
fdisk: Class not found
or
fdisk: Geom not found: "XXX"
- the default geometry for non-ATA and non-SCSI disks is either
invalid or sub-optimizal.


# 1e67a3e2 09-Jun-2008 Marcel Moolenaar <marcel@FreeBSD.org>

Disconnect gpt(8) from the build. gpt(8) is replaced by gpart(8).


# a1f25b0d 26-Dec-2007 Robert Watson <rwatson@FreeBSD.org>

Add command-line tool ddb(8), which allows DDB(4) scripts to be
managed from userspace. It is largely a wrapper for sysctl()
calls, but because the sysctls for adding and removing scripts
are awkward to use directly, this provides an easier-to-use
interface.

MFC after: 3 months


# c5933b20 24-Jul-2007 Scott Long <scottl@FreeBSD.org>

Introduce Danny Braniss' iSCSI initiator, version 2.0.99. Please read the
included man pages on how to use it. This code is still somewhat experimental
but has been successfully tested on a number of targets. Many thanks to
Danny for contributing this.

Approved by: re


# 534046e3 24-Jun-2007 Rong-En Fan <rafan@FreeBSD.org>

- Remove UMAP filesystem. It was disconnected from build three years ago,
and it is seriously broken.

Discussed on: freebsd-arch@
Approved by: re (mux)


# adf28c3c 12-Jun-2007 Poul-Henning Kamp <phk@FreeBSD.org>

Add recoverdisk to the base system, it is far too useful to live
in obscurity over in src/tools.

(Repocopied)


# 1f294570 23-Jan-2007 Craig Rodrigues <rodrigc@FreeBSD.org>

Remove mount_nfs4 from SUBDIR list. The mount_nfs Makefile
links mount_nfs to mount_nfs4 now.


# 6c53d0c5 22-Nov-2006 Craig Rodrigues <rodrigc@FreeBSD.org>

Detach mount_devfs, mount_ext2fs, mount_fdescfs, mount_procfs,
mount_linprocfs, and mount_std from the build. They are no longer
used, and can be replaced with "mount -t fstype".


# f5f03635 15-Oct-2006 Ceri Davies <ceri@FreeBSD.org>

Hook up idmapd to the build, as the NFS4 client is not much use without
it.


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

rtsol is just a stripped-down version of rtsold and as such it should
be built only if MK_INET6 is true: it's specific to IPv6.

Pointed out by: ume


# 45dcb91f 16-May-2006 Craig Rodrigues <rodrigc@FreeBSD.org>

Disconnect mount_reiserfs from build.
It is no longer needed, because "mount -t reiserfs" calls nmount(2)
directly to mount a ReiserFS file system without the use of
this external mount program.

Approved by: dumbbell


# 656faadc 12-May-2006 Max Laier <mlaier@FreeBSD.org>

Remove ip6fw. Since ipfw has full functional IPv6 support now and - in
contrast to ip6fw - is properly lockes, it is time to retire ip6fw.


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


# 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@


# 5719aedc 03-Oct-2005 Olivier Houchard <cognet@FreeBSD.org>

Compile fdisk for arm as well.


# b6c9debc 21-Jun-2005 Jean-Sébastien Pédron <dumbbell@FreeBSD.org>

Build mount_reiserfs on every platforms, not only i386 and pc98.

Reviewed by: mux (mentor)
Approved by: re (dougb)


# 1afa6b2c 06-Jun-2005 Brooks Davis <brooks@FreeBSD.org>

Now that dhclient builds and /etc/support has been committed, reconnect
dhclient to the build.


# 12bc1dc0 06-Jun-2005 Brooks Davis <brooks@FreeBSD.org>

Temporarily disconnect dhclient from the build while I import the
OpenBSD version.


# 5493b334 03-Jun-2005 Warner Losh <imp@FreeBSD.org>

Revert last. It was the result of mismerges from cvs not an actual
need. _sconfig already was there in the correct place.

Noticed by: ru@


# b93c3192 03-Jun-2005 Warner Losh <imp@FreeBSD.org>

Build sconfig on i386 to match where drivers are made it configures


# 522c85f5 25-May-2005 Ruslan Ermilov <ru@FreeBSD.org>

Fix order (I introduced some time ago) broken in previous revision.


# ab19e37a 24-May-2005 Maxime Henrion <mux@FreeBSD.org>

Only build mount_reiserfs(8) on i386, it exists only there for now.

Spotted by: ru


# 8fe79983 23-May-2005 Jean-Sébastien Pédron <dumbbell@FreeBSD.org>

Connect mount_reiserfs(8) to the build.

Approved by: mux (mentor)


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

There's only one ipfilter directory now


# 731db6a4 21-Dec-2004 Ruslan Ermilov <ru@FreeBSD.org>

NOINET6 -> NO_INET6


# 07736e20 21-Dec-2004 Ruslan Ermilov <ru@FreeBSD.org>

NOATM -> NO_ATM


# d66a958d 10-Nov-2004 Mark Murray <markm@FreeBSD.org>

Help Tinderbox and remove mount_autofs


# 1072404b 03-Nov-2004 Poul-Henning Kamp <phk@FreeBSD.org>

Ups! Forgot to put "sbin" on the commit line:

Remove userland vinum(8) stuff.


# 7199d81a 24-Oct-2004 Marcel Moolenaar <marcel@FreeBSD.org>

Build gpt(8) on all platforms.


# 1171033f 11-Sep-2004 Alfred Perlstein <alfred@FreeBSD.org>

Hook mount_autofs to the build.


# dbf29ccf 07-Aug-2004 Lukas Ertl <le@FreeBSD.org>

Due to popular demand, hook up geom_vinum to the build.


# 7dc92b13 20-May-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

- Connect geom(8) and its libraries to the build.
- Connect geom_stripe and geom_nop modules to the build.
- Connect STRIPE and NOP classes to the LINT build.
- Disconnect gconcat(8) from the build.

Supported by: Wheel - Open Technologies - http://www.wheel.pl


# 39080a7d 03-May-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Connect ggatec(8), ggated(8) and ggatel(8) to the build.


# 226d45b5 01-May-2004 Marcel Moolenaar <marcel@FreeBSD.org>

Build gpt(8) on all platforms, except sparc64. Currently gpt(8) is
not endian agnostic and thus will create big-endian GPTs on sparc64.
This we don't support. So, before gpt(8) can be used on a big-endian
machine, it has to deal with the endianness.


# c5c119bf 15-Mar-2004 Scott Long <scottl@FreeBSD.org>

Remove the RAIDframe userland tool.


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


# 8d2d29d9 23-Feb-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Connect gconcat(8) to the build.

Approved by: scottl (mentor)


# f8edfc0d 16-Jan-2004 Ruslan Ermilov <ru@FreeBSD.org>

Fixed spacing in previous revision.


# 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


# 06d557cc 06-Jan-2004 Alfred Perlstein <alfred@FreeBSD.org>

Hook mount_nfs4 to the build.

Noticed by: rwatson


# cbdd27f0 03-Dec-2003 Warner Losh <imp@FreeBSD.org>

Remove old cxconfig utility and connect new sconfig utility to the build.
The sconfig utility supports more than just cx boards, and those drivers
will make their way into FreeBSD shortly (maybe before 5.2).

Confirmed that this doesn't break the build.

Submitted by: Roman Kurakin <rik@cronyx.ru>
Approved by: re@ <scottl>


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


# cd30ca94 31-Oct-2003 Brooks Davis <brooks@FreeBSD.org>

Temporarily disconnect ipfstat, ipnat, and ipftest to unbreak world.

Pointy hat to: brooks


# 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


# a28dde9a 27-Aug-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Make build of atm, ip6fw and ping6 depend on existing NOATM and
NOINET6 conditionals.


# 455e535d 14-Aug-2003 Robert Watson <rwatson@FreeBSD.org>

Hook up ffsinfo(8).


# f8bb2e0f 23-Jul-2003 Peter Wemm <peter@FreeBSD.org>

Build /sbin/gpt on amd64 for good luck as well.


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


# e76c2394 17-Jun-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Compile sunlabel on all archs.


# d6c1abfd 17-May-2003 Peter Wemm <peter@FreeBSD.org>

Add fdisk for $MACHINE_ARCH == amd64


# 4917b55e 05-May-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Compile bsdlabel on all platforms.

Install a link to the disklabel(8) name on i386 and alpha platforms.

Leave old disklabel(8) sources intact but disconnected from the build
for now.


# d35ae777 01-Mar-2003 Kirk McKusick <mckusick@FreeBSD.org>

Add the mksnap_ffs command to the sbin directory. This setuid root
program allows users in the operator group to take filesystem
snapshots. Its first use will be in support of `dump -L'.

Approved by: Technical Review Board <trb@FreeBSD.org>
Sponsored by: DARPA & NAI Labs.


# 4f53948a 20-Feb-2003 David E. O'Brien <obrien@FreeBSD.org>

Don't try to build devd when NO_CXX is set.


# a89bc4fc 31-Jan-2003 Jake Burkholder <jake@FreeBSD.org>

Build sunlabel on sparc64.


# 23e8074b 26-Jan-2003 Poul-Henning Kamp <phk@FreeBSD.org>

IA64 still needs to be able to run on MBR+BSD combination, so put disklabel
back.

Pointed out by: peter


# 1c55bb01 25-Jan-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Make disklabel(8) MD for i386/pc98 and alpha only.


# 96c270b8 22-Oct-2002 Scott Long <scottl@FreeBSD.org>

Hook raidctl up to the build.

Submitted by: tjr


# 5c6e14db 20-Oct-2002 Warner Losh <imp@FreeBSD.org>

Add devd to the build.


# d220f5be 20-Oct-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Complete the Geom Based Disk Encryption: Add the OAM utility.

Sponsored by: DARPA and NAI Labs


# 84176931 24-Jul-2002 Peter Wemm <peter@FreeBSD.org>

Turn nfsiod back on. It is basically now just a sysctl wrapper that also
arranges a kldload of the nfs client file system code if necessary.


# c0373226 20-Jul-2002 Peter Wemm <peter@FreeBSD.org>

Connect up gpt and mca subdirs for ia64


# a1dc2096 16-Jul-2002 Dima Dorfman <dd@FreeBSD.org>

Introduce the DEVFS "rule" subsystem. DEVFS rules permit the
administrator to define certain properties of new devfs nodes before
they become visible to the userland. Both static (e.g., /dev/speaker)
and dynamic (e.g., /dev/bpf*, some removable devices) nodes are
supported. Each DEVFS mount may have a different ruleset assigned to
it, permitting different policies to be implemented for things like
jails.

Approved by: phk


# f960342b 07-Jul-2002 Gordon Tetlow <gordon@FreeBSD.org>

Unhook sbin/nfsd and sbin/mountd from the build. They will be moving to
/usr/sbin shortly.

Reviewed by: jake (mentor)


# 1c85e6a3 21-Jun-2002 Kirk McKusick <mckusick@FreeBSD.org>

This commit adds basic support for the UFS2 filesystem. The UFS2
filesystem expands the inode to 256 bytes to make space for 64-bit
block pointers. It also adds a file-creation time field, an ability
to use jumbo blocks per inode to allow extent like pointer density,
and space for extended attributes (up to twice the filesystem block
size worth of attributes, e.g., on a 16K filesystem, there is space
for 32K of attributes). UFS2 fully supports and runs existing UFS1
filesystems. New filesystems built using newfs can be built in either
UFS1 or UFS2 format using the -O option. In this commit UFS1 is
the default format, so if you want to build UFS2 format filesystems,
you must specify -O 2. This default will be changed to UFS2 when
UFS2 proves itself to be stable. In this commit the boot code for
reading UFS2 filesystems is not compiled (see /sys/boot/common/ufsread.c)
as there is insufficient space in the boot block. Once the size of the
boot block is increased, this code can be defined.

Things to note: the definition of SBSIZE has changed to SBLOCKSIZE.
The header file <ufs/ufs/dinode.h> must be included before
<ufs/ffs/fs.h> so as to get the definitions of ufs2_daddr_t and
ufs_lbn_t.

Still TODO:
Verify that the first level bootstraps work for all the architectures.
Convert the utility ffsinfo to understand UFS2 and test growfs.
Add support for the extended attribute storage. Update soft updates
to ensure integrity of extended attribute storage. Switch the
current extended attribute interfaces to use the extended attribute
storage. Add the extent like functionality (framework is there,
but is currently never used).

Sponsored by: DARPA & NAI Labs.
Reviewed by: Poul-Henning Kamp <phk@freebsd.org>


# dde7cef3 13-Jun-2002 Gordon Tetlow <gordon@FreeBSD.org>

Hook rcorder and rc.d into the build.

Submitted by: Mike Makonnen


# 045e9d6c 06-Jun-2002 Gordon Tetlow <gordon@FreeBSD.org>

Unhook the old nextboot(8) from the build. If no one yells too loudly, this
will be accompanied by a cvs rm of the actual nextboot sources.

Approved by: jake (mentor)


# 8b1febe4 18-May-2002 Robert Watson <rwatson@FreeBSD.org>

Remove IFS from 5.0-CURRENT. This facilitates introducing UFS2 as
IFS had its fingers deep in the belly of the UFS/FFS split. IFS
will be reimplemented by the maintainer at a later date once the UFS
implementation is in place.

Requested by: adrian (maintainer)


# df263cbd 14-Apr-2002 Scott Long <scottl@FreeBSD.org>

Add a filesystem driver for the Universal Disk Format. For more info,
see http://people.freebsd.org/~scottl/udf

MFC after: when asmodai gets the backport done
Prodded by: phk asmodai des


# 158f3913 09-Apr-2002 Poul-Henning Kamp <phk@FreeBSD.org>

GC kget(1), userconfig is long dead.


# da64ea48 02-Apr-2002 Marcel Moolenaar <marcel@FreeBSD.org>

Move savecore back to the MI list so that it compiles for other
archs than alpha and i386.


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


# 5461a012 19-Mar-2002 David E. O'Brien <obrien@FreeBSD.org>

Remove ipnat until the committer can actually test his changes.


# dbfec43c 18-Mar-2002 Peter Wemm <peter@FreeBSD.org>

Move savecore build enable to MD section of Makefile, currently enabled
for i386 and alpha. Although it builds on sparc64, it does not yet work.
A similar hack as what is used on the sparc64 MD macros can be used to
make ia64 build too, but there doesn't seem to be much point.


# 23eb26fa 14-Dec-2001 Sheldon Hearn <sheldonh@FreeBSD.org>

Kernel support for smbfs is only built on the i386 at the moment, so
limit the building and installation of the userland utilities to that
architecture for now.

Reported by: bmah


# 85519b00 14-Dec-2001 Sheldon Hearn <sheldonh@FreeBSD.org>

Add bmake glue for src/contrib/smbfs and connect userland smbfs
support to the build.

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

Reviewed by: bp, fjoe
MFC: 1 week


# 5007fa38 04-Nov-2001 Peter Wemm <peter@FreeBSD.org>

Repocopy pc98 fdisk out of its hidden subdir. Reconnect it to the build.


# f24c53d3 03-Nov-2001 Peter Wemm <peter@FreeBSD.org>

Move i386/{fdisk,cxconfig,nextboot} to src/sbin. Eliminate the i386
subdir. Add fdisk to ia64 SUBDIR list. Add all the previous occupants
of the i386 subdir to the i386 SUBDIR list.


# 907d70d6 25-Oct-2001 Ruslan Ermilov <ru@FreeBSD.org>

Sort SUBDIR.


# 093a2710 23-Oct-2001 Jonathan Lemon <jlemon@FreeBSD.org>

Hook up conscontrol to the build.


# d70e0943 19-Oct-2001 Darren Reed <darrenr@FreeBSD.org>

include ipfs in subdirs

PR: 27063


# 91196234 18-Sep-2001 Peter Wemm <peter@FreeBSD.org>

Userland part of nfs client/server split and cleanup.


# 863f7db9 09-Jul-2001 David E. O'Brien <obrien@FreeBSD.org>

Fix disordering.


# 4879cc07 09-Jul-2001 David E. O'Brien <obrien@FreeBSD.org>

Add fsck_msdosfs


# 1e1e0f98 29-Jun-2001 Peter Pentchev <roam@FreeBSD.org>

Connect the new kldconfig(8) utility to the build.


# 2e6781fd 18-Jun-2001 Dima Dorfman <dd@FreeBSD.org>

Hook mdmfs into the build.


# 4ccd7546 01-Jun-2001 Ruslan Ermilov <ru@FreeBSD.org>

- VFS_SET(msdos) -> VFS_SET(msdosfs)
- msdos.ko -> msdosfs.ko
- mount_msdos(8) -> mount_msdosfs(8)
- "msdos" -> "msdosfs" compatibility glue in mount(8)


# 6ad10804 23-May-2001 Ruslan Ermilov <ru@FreeBSD.org>

Rename (after a repo-copy) some mount(8) programs:

mount_fdesc -> mount_fdescfs
mount_null -> mount_nullfs
mount_portal -> mount_portalfs
mount_umap -> mount_umapfs
mount_union -> mount_unionfs


# 29ad98da 19-Mar-2001 Søren Schmidt <sos@FreeBSD.org>

Activate atacontrol


# 83baa1a0 28-Dec-2000 Poul-Henning Kamp <phk@FreeBSD.org>

Add mdconfig into the build.


# 3d500078 09-Dec-2000 Thomas-Henning von Kamptz <tomsoft@FreeBSD.org>

added growfs(8) including ffsinfo(8) to the freebsd base system

Reviewed by: grog


# 5332f2e5 13-Oct-2000 Adrian Chadd <adrian@FreeBSD.org>

Pre-IFS commit. Commit IFS-aware fsck and mount utilities.

mount_ifs: repocopy of sbin/mount, with most of the intelligence ripped out
and "ufs" replaced with "ifs" in the right places. It will only
mount a single filesystem, rather than the -t <type> magic that
our real mount does.

fsck_ifs: repocopy of sbin/fsck_ffs, but the directory structure stuff
(pass2 and some refcount checks) has been #ifdef'ed out.

src/sbin/Makefile: Build these two utilities

There is probably cruft code left in both which can be removed at a later
date, especially in mount_ifs, but I trust that people will not try
mount_ifs -a ..

Note: there are no man pages installed for these two commands as I haven't
actually written them yet.


# d9f97000 09-Oct-2000 Adrian Chadd <adrian@FreeBSD.org>

Reviewed by: rwatson, bp
Approved by: rwatson
Obtained from: NetbSD source tree

Second part of the fsck wrappers commit. This commit enables the new fsck
code (removing the fsck/* code and replacing it with the netbsd fsck
wrapper code), and enabling some FFS-based utilities to compile.

Details:

* quotacheck, fsdb required modification to use the fsck_ffs/ code rather
than fsck/ . This might change later since quotacheck requires preen.c
which should exist in fsck/ rather than fsck_ffs/

* src/Makefile has fsck_ffs added to it so it it built as part of the tree
now

* share/doc/smm/03.fsck/ uses the SMM.doc/ stuff from fsck_ffs, not fsck.

I've tested this, and it shouldn't require any changes on your machine.
The fsck wrapper reads /etc/fsck and is command-line-compatible enough
to not require rc changes (well, most changes unless you want to do
anything nifty by specifying the fs types explicityly, read the man page
if you want further details on what it can do.)

This now allows us to support multiple filesystem types during bootup.


# 1c206c59 18-Mar-2000 KATO Takenori <kato@FreeBSD.org>

Activate the pc98 directory.


# 210d0432 29-Jan-2000 Yoshinobu Inoue <shin@FreeBSD.org>

Add ip6fw.
Yes it is almost code freeze, but as the result of many thought, now I
think this should be added before 4.0...

make world check, kernel build check is done.

Reviewed by: green
Obtained from: KAME project


# e330fda4 14-Jan-2000 Peter Wemm <peter@FreeBSD.org>

Move sbin/i386/{mount_msdos,comcontrol} back to sbin, they are not
i386 specific.

Submitted by: bde


# 7d56d374 27-Dec-1999 Yoshinobu Inoue <shin@FreeBSD.org>

Getaddrinfo(), getnameinfo(), and etc support in libc/net.
Several udp and raw apps IPv6 support.

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project


# 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


# fceb9c0e 23-Nov-1999 Guido van Rooij <guido@FreeBSD.org>

rewire userland ipfilter programs


# a51e71fc 15-Oct-1999 Boris Popov <bp@FreeBSD.org>

Add mount_nwfs program. Now -current can mount NetWare volumes.


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


# 7f3dea24 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# ce68c992 10-May-1999 David E. O'Brien <obrien@FreeBSD.org>

Move sysctl/ to src/sbin/ where it now belongs.

Repository copied by: Peter


# 2ec18d8b 18-Apr-1999 Peter Wemm <peter@FreeBSD.org>

Disconnect modload/modunload/modstat from their Makefiles..


# 2f9a9cb0 12-Mar-1999 Brian Somers <brian@FreeBSD.org>

src/usr.sbin/natd -> src/sbin/natd (after a repo-copy by jdp)


# c54f4a75 27-Feb-1999 Jordan K. Hubbard <jkh@FreeBSD.org>

Don't install kget on alpha - it doesn't do much useful there.


# 61645e2a 26-Feb-1999 Jordan K. Hubbard <jkh@FreeBSD.org>

Add kget.


# 8d7e75d8 10-Feb-1999 David E. O'Brien <obrien@FreeBSD.org>

hook in dhclient


# 5287191e 02-Feb-1999 Semen Ustimenko <semenu@FreeBSD.org>

Added mount_ntfs subdirectory.
Reviewed by: David O'Brien <obrien@NUXI.com>


# aa6dcc60 20-Jan-1999 Jordan K. Hubbard <jkh@FreeBSD.org>

nuke dset - it doesn't work in a post-ELF world and abial has something
better as a replacement (kget).


# 580d0d02 28-Dec-1998 Søren Schmidt <sos@FreeBSD.org>

Reenable vinum after repository copy.

Forgotten by: Peter.


# 380366f2 27-Dec-1998 Søren Schmidt <sos@FreeBSD.org>

Temporaryly disable vinum, awaiting repository copy of misplaced files.


# cffd2ca4 10-Nov-1998 Bruce Evans <bde@FreeBSD.org>

Fixed disorder.


# 57e3cd68 09-Nov-1998 Dima Ruban <dima@FreeBSD.org>

Reenable adjkerntz for alpha.


# 3d8357b4 27-Sep-1998 Greg Lehey <grog@FreeBSD.org>

Include vinum in SUBDIR


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


# 431b8233 15-Sep-1998 Justin T. Gibbs <gibbs@FreeBSD.org>

Add camcontrol. Remove scsiformat.


# b8f26023 05-Sep-1998 John Birrell <jb@FreeBSD.org>

Change MACHINE to MACHINE_ARCH to support MACHINE=pc98.


# 120e8c9d 05-Sep-1998 John Birrell <jb@FreeBSD.org>

Now that ldconfig does elf work too, build it on alpha as well.


# cb7f1224 30-Aug-1998 Gary Palmer <gpalmer@FreeBSD.org>

Split lines into one subdir per line.


# 33b51c50 20-Aug-1998 John Birrell <jb@FreeBSD.org>

Fix the machine dependent SUBDIR I removed by mistake in the last commit.


# 3aeb50c6 15-Aug-1998 John Birrell <jb@FreeBSD.org>

All but two if these build on alpha now, but most are untested.
ldconfig isn't required.


# 5a901bd8 06-Jul-1998 Robert Nordier <rnordier@FreeBSD.org>

Activate newfs_msdos.


# aa9ba0d7 01-Jun-1998 Peter Wemm <peter@FreeBSD.org>

SUBDIR += ldconfig


# ce27694f 17-May-1998 John Birrell <jb@FreeBSD.org>

Make this safe for an alpha build, leaving out just about everything
that has some sort of kernel issue associated with it.


# 70719494 12-Apr-1998 Poul-Henning Kamp <phk@FreeBSD.org>

Change noc-tun to nos-tun after Peter did the repository copy to cover
up the tracks of my blunder.


# 2d84ac57 11-Apr-1998 Poul-Henning Kamp <phk@FreeBSD.org>

Add noc-tun to list


# 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


# 5c931089 13-Mar-1998 John Birrell <jb@FreeBSD.org>

Some things only work on i386.


# fe3915bd 29-Jan-1998 Poul-Henning Kamp <phk@FreeBSD.org>

Retire dumplfs mount_lfs newlfs


# 23e200d5 19-Oct-1997 John-Mark Gurney <jmg@FreeBSD.org>

activate the programs that will be used to manipulate kld modules

fix a few problems with missing headers, warn called with an exit
value, and undeclared getopt vars

these programs now compile -Wall clean (and yes, I know I should use
more than just -Wall) :)


# 33262b23 11-Oct-1997 Joerg Wunsch <joerg@FreeBSD.org>

Enable spppcontrol.


# 9505c104 23-Mar-1997 Bruce Evans <bde@FreeBSD.org>

Reactivated dumplfs and newlfs.


# 8f89943e 23-Mar-1997 Guido van Rooij <guido@FreeBSD.org>

Add generation number randomization. Newly created filesystems wil now
automatically have random generation numbers. The kenel way of handling those
also changed. Further it is advised to run fsirand on all your nfs exported
filesystems. the code is mostly copied from OpenBSD, with the randomization
chanegd to use /dev/urandom
Reviewed by: Garrett
Obtained from: OpenBSD


# 01b21ff6 12-Mar-1997 Peter Wemm <peter@FreeBSD.org>

Reactivate fsdb


# 33aa6574 10-Mar-1997 Peter Wemm <peter@FreeBSD.org>

Disable two newly broken dirs:
fsdb (too intimate with old fsck, needs work)
newlfs (doesn't build since Lite2 lfs wasn't merged into kernel)


# 4cca17ae 17-Feb-1997 Bruce Evans <bde@FreeBSD.org>

Disabled dumplfs. Importing the Lite2 version was a mistake, since
many files haven't left the vendor branch and the sys/ufs/lfs hasn't
been merged.


# 48302f28 16-Sep-1996 Garrett Wollman <wollman@FreeBSD.org>

Disable rdisc, enable routed in new location.


# 9b273b7f 19-May-1996 Andrey A. Chernov <ache@FreeBSD.org>

Return make_union, s-bit removed


# bf8788a4 17-May-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

Large security hole in mount_union, the underlying filesystem for which doesn't
even work. Until pst wakes up, best action deemed to be the simple disabling
of this command.


# 5e074e31 13-May-1996 Garrett Wollman <wollman@FreeBSD.org>

Get rid of the last vestiges of the old MOUNT_* constants in the
mount_* programs. While we're at it, collapse the four now-identical
mount programs for devfs, fdesc, kernfs, and procfs into links to
a new mount_std(8) which can mount any really generic filesystem
such as these when called with the appropriate argv[0].

Also, convert the mount programs to use sysexits.h.


# cdca955f 04-May-1996 Satoshi Asami <asami@FreeBSD.org>

Connect ccd man page and ccdconfig to parent Makefiles.

Ok'd by: peter


# 67dab2c8 01-Feb-1996 Mike Pritchard <mpp@FreeBSD.org>

Added mount_ext2fs to SUBDIR list.


# 08aeee30 01-Feb-1996 Mark Murray <markm@FreeBSD.org>

Add mount_devfs to the subdir list.


# dbd7e3e1 30-Jan-1996 Peter Wemm <peter@FreeBSD.org>

Add rdisc to subdirs.. It works for me. :-) (Thanks Bill!)


# 30a2d550 24-Nov-1995 Peter Wemm <peter@FreeBSD.org>

Connect fsdb to /sbin makefile...


# 26e19bc7 01-Oct-1995 Mark Murray <markm@FreeBSD.org>

As init/Makefile now 'knows' how to build secure code if necessary, clean
out the .if (<building secure>) / .endif


# f73c1ad4 29-Sep-1995 Andrey A. Chernov <ache@FreeBSD.org>

Build secure init if available and allowed


# 229b772d 16-Sep-1995 Joerg Wunsch <joerg@FreeBSD.org>

Turn on scsiformat.
reformat.


# 2ea29df0 14-May-1995 Andrey A. Chernov <ache@FreeBSD.org>

Add dumpon


# 5013b8b2 09-May-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Remove all reference to sysinstall - it's going away.


# 5319d452 31-Jan-1995 Poul-Henning Kamp <phk@FreeBSD.org>

I have taken sysinstall out of the normal SUBDIR rule. There are too
many build problems just now, and it isn't that general after all.


# d29f6c1e 23-Jan-1995 Peter Dufault <dufault@FreeBSD.org>

Added "scsi"


# e42327af 23-Jan-1995 Ugen J.S. Antsilevich <ugen@FreeBSD.org>

Add dset to Makefile.


# 1fa33d23 02-Dec-1994 Garrett Wollman <wollman@FreeBSD.org>

Move i386-specific programs into i386 subdirectory.


# 23e79aa7 29-Oct-1994 Paul Traina <pst@FreeBSD.org>

add md5


# e2247bbf 29-Oct-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Add ipfw.


# 2d5d3e2c 15-Oct-1994 Paul Richards <paul@FreeBSD.org>

Added sysinstall


# ea3a7da2 14-Oct-1994 Gary Palmer <gpalmer@FreeBSD.org>

Move `ft' into machine-dependant section.


# 288b78cd 14-Oct-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Add ft.
Submitted by: babb


# 3e1d4f32 01-Oct-1994 Gary Palmer <gpalmer@FreeBSD.org>

Moce comcontrol, fdisk & mount_msdos out of machine-independance into
an I386 specific statement. Also add necessary code to allow
machine-dependance in this makefile

Reviewed by: rgrimes


# 5cb2bca1 19-Sep-1994 Doug Rabson <dfr@FreeBSD.org>

Added mount_msdos.

Obtained from: NetBSD


# 0eec3684 16-Sep-1994 Garrett Wollman <wollman@FreeBSD.org>

Per discussion on the mailing-lists, move LKMs from /sbin to /lkm, and
arrange for that directory to get created by mtree. Also, process secure
directory after all the others, because the programs there may overlay
ones installed from the main part of the tree.


# 28d8923e 14-Sep-1994 Garrett Wollman <wollman@FreeBSD.org>

Add ip_mroute_mod, if NOLKM is not defined.


# 7df428cb 12-Sep-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Add fdisk to SUBDIR.


# 559c1aff 26-Aug-1994 David Greenman <dg@FreeBSD.org>

Added comcontrol ...this thing *really* should be renamed.


# abd0d5ab 22-Aug-1994 Andrey A. Chernov <ache@FreeBSD.org>

adjkerntz added


# 68184383 20-Aug-1994 David Greenman <dg@FreeBSD.org>

fastboot is no longer - don't install it.


# eeabb58e 18-Aug-1994 David Greenman <dg@FreeBSD.org>

Terry Lambert's loadable kernel module support - modload & modunload
utilities w/improvements from the NetBSD group.


# b0358078 28-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Comment out missing programs fsdb icheck and ncheck.
Comment out porting work needed program scsiformat.
Remove XNSrouted and routed as they have been moved to usr.sbin.
Reviewed by:
Submitted by:


# 8fae3551 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite sbin Sources

Note: XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.