History log of /freebsd-current/tools/build/mk/OptionalObsoleteFiles.inc
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 0115ad61 22-May-2024 Warner Losh <imp@FreeBSD.org>

autofs: Fix cross-threading on file to delete

We want to delete the new file, which is installed in man4 not man5.

Noticed by: Gary Jennejohn
Fixes: a03e8a40d404
Sponsored by: Netflix


# a03e8a40 11-May-2024 Alexander Ziaee <concussious@runbox.com>

man filesystems: ObsoleteFiles after move to sec 4

Reported by: imp
Reviewed by: des, imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1077


# cb14a3fe 25-Dec-2023 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-18-init-15692-g007ed0dccd6a

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project main llvmorg-18-init-15692-g007ed0dccd6a.

PR: 276104
MFC after: 1 month


# 5f757f3f 18-Dec-2023 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-18-init-15088-gd14ee76181fb

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project main llvmorg-18-init-15088-gd14ee76181fb.

PR: 276104
MFC after: 1 month


# a9275714 02-Apr-2024 Olivier Cochard <olivier@FreeBSD.org>

OptionalObsoleteFiles: add missed cuda wrappers include files

Files introduced since clang 17.0.2.

Approved by: dim
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D44597

# 125c4560 01-Apr-2024 Dag-Erling Smørgrav <des@FreeBSD.org>

usr.bin: Make lorder conditional on MK_TOOLCHAIN.

MFC after: 1 week
Reviewed by: allanjude, markj
Differential Revision: https://reviews.freebsd.org/D44558

# a42d6f76 23-Nov-2022 Baptiste Daroussin <bapt@FreeBSD.org>

nuageinit: add basic support for cloudinit.

this is a very early script to support cloudinit, it does not intend to
be a full featured cloudinit client, but will support a good enough
subset to be viable in most case.

It support nocloud and openstack config-2 config drive mode (iso9660 or
msdosfs)

The following features are currently supported:
- adding users (including a default user named 'freebsd' with password
'freebsd'
- adding groups
- adding ssh keys
- static ipv4, static ipv6, dynamic ipv4

With this one is able to use the 'bring your own image feature" out of
box.

It is expected that the script grows the support of other clouds
supporting cloud-init, contributions are welcomed.

It is designed to be only run once via the firstboot mecanism.

Sponsored by: OVHCloud
MFC After: 3 weeks
Differential Revision: https://reviews.freebsd.org/D44141

# 1b6a5580 31-Jan-2024 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

New sendmail 8.18.1 cf file

# e7300a8f 28-Dec-2023 John Baldwin <jhb@FreeBSD.org>

OptionalObsoleteFiles.inc: Add libnss_tacplus_p.a as an old profiled library

Noticed this was still present after upgrading a 12.x stable host to
14.0 stable.

# 272b4b76 22-Dec-2023 Tijl Coosemans <tijl@FreeBSD.org>

devd: Don't install autofs.conf with WITHOUT_AUTOFS

# 06c3fb27 02-Sep-2023 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-17-init-19304-gd0b54bb50e51

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project main llvmorg-17-init-19304-gd0b54bb50e51, the
last commit before the upstream release/17.x branch was created.

PR: 273753
MFC after: 1 month


# 4cd0f014 13-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

OptionalObsoleteFiles.inc: document block order

Options should be in sort(1) order by primary option (usually, but not
always, first in the if statement).

Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896

# c90d0600 08-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Sort MK_NETLINK option

Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896

# 2b3bf27d 08-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Sort MK_GNU_DIFF option

Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896

# fb173fc8 08-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Combine and sort MK_LLVM_COV

These used to be grouped with MK_GCOV option or the like.

Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896

# 16743f0e 08-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Sort MK_EFI and MK_FTP options

Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896

# a62cefbb 08-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Sort MK_DTRACE and MK_ZFS options

Presumably these were under MK_CDDL at some point, but these days
src.opts.mk takes care of setting them to "no" when MK_CDDL is.

Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896

# e70ad278 08-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Sort MK_HYPERV option

Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896

# 4ca5df80 08-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Sort MK_BSD_CPIO before MK_BSDINSTALL

Using sort(1) order makes verification of the sort easier.

Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896

# ec4c2adb 13-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Retire LLD_IS_LD option

The option was added to parallel the CLANG_IS_CC which was removed in
commit 20a66ab4bf8511e51e11321b775d36c92e77fa69.

Reviewed by: imp, dim, emaste
Differential Revision: https://reviews.freebsd.org/D42575

# b2934971 18-Oct-2023 Mitchell Horne <mhorne@FreeBSD.org>

pmc.amd(3): rename from pmc.k8(3)

This is the first step in recognizing that the K8 microarchitecture
represents a small and aged subset of AMD CPUs supported by this class.
Future changes will update the code and documentation details to better
reflect this.

Keep the old filename as an alias.

Reviewed by: jkoshy
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D41279

# 82d6d46d 18-Oct-2023 Mitchell Horne <mhorne@FreeBSD.org>

pmc: remove last bits of AMD K7 CPU support

This includes event definitions from sys/pmc_events.h, definitions from
sys/pmc.h, and the man pages.

Reviewed by: jkoshy
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D41275

# 742f7ec5 11-Oct-2023 Baptiste Daroussin <bapt@FreeBSD.org>

dialog: correctly mark the libaries

Mark the libraries as such in order for make delete-old to not
remove them when the DIALOG option is off

# ff01d71e 10-Oct-2023 Baptiste Daroussin <bapt@FreeBSD.org>

bsdconfig: do not remove files id MK_DIALOG=no

bsdconfig does not depends anymore on anything related to dialog(1)
and libdialog(1) and has totally switched to bsddialog(1)

# 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

# 4cf80752 01-Oct-2023 Piotr Kubaj <pkubaj@FreeBSD.org>

ObsoleteFiles.inc: only leave ofwdump.8.gz when WITH_FDT is set

Approved by: mhorne
Differential Revision: https://reviews.freebsd.org/D41905
MFC after: 3 days

# 358f8a7a 04-Aug-2023 Baptiste Daroussin <bapt@FreeBSD.org>

sendmail: remove all m4 files with WITHOUT_SENDMAIL

# 023ef801 25-Aug-2023 John Baldwin <jhb@FreeBSD.org>

OptionalObsoleteFiles.inc: Add libprivate{cbor,fido2}_p.a

Two more profile libraries that should be removed by WITHOUT_PROFILE.
Found when upgrading a stable/13 VM to stable/14.

# 0c785f06 18-Aug-2023 Enji Cooper <ngie@FreeBSD.org>

Fix GoogleTest 1.14.0 import

- Prune headers and tests no longer installed after the upgrade.
- Remove GoogleTest-related files when MK_GOOGLETEST == no.
- Disable `-Werror` with gcc to unbreak the gcc12 CI run with
`lib/googletest`. Any issues found by g++ will be filed
upstream and hopefully resolved in a future version.
- Remove clang -Werror issues which are resolved in version 1.14.0 to
avoid masking valid issues.

MFC after: 1 week
MFC with: 28f6c2f292806bf31230a959bc4b19d7081669a7

# 47fc52b1 18-Aug-2023 Enji Cooper <ngie@FreeBSD.org>

Update `make delete-old`

This change updates `make delete-old` to account for files installed by the
following options:
- MK_BSDINSTALL
- MK_DMAGENT
- MK_EXAMPLES
- MK_SENDMAIL

MFC after: 2 weeks

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

Remove $FreeBSD$: one-line sh pattern

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

# dd3055a7 03-Aug-2023 Yuri Pankov <yuripv@FreeBSD.org>

OptionalObsoleteFiles: add missed keymaps for sycons

# 64140bb5 26-Jul-2023 Jessica Clarke <jrtc27@FreeBSD.org>

OptionalObsoleteFiles.inc: Automatically generate libcompat directories

Reviewed by: brooks, jhb, emaste
Differential Revision: https://reviews.freebsd.org/D41186

# ba84e870 24-Jun-2023 Mitchell Horne <mhorne@FreeBSD.org>

pmc: clean up remaining Pentium man page references

These have been removed.

Fixes: d78896e46f1d ("pmc(3): remove Pentium-related man pages...")
MFC after: 3 days
Sponsored by: The FreeBSD Foundation

# bdd1243d 14-Apr-2023 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-16-init-18548-gb0daacf58f41

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-16-init-18548-gb0daacf58f41.

PR: 271047
MFC after: 1 month


# cb1fc924 30-May-2023 Baptiste Daroussin <bapt@FreeBSD.org>

genl: add new command to list genetlink(4)

This commands list genetlink protocols and its operations and
capabilities

Name: nlctrl
ID: 0x10, Version: 00, header size: 2, max attributes: 10
supported operations:
- ID: 0x3, Capabilities: 0xe (can modify; can get/dump;
has policy)
multicast groups:
- ID: 0x30, Name: notify
Name: carp
ID: 0x11, Version: 00, header size: 2, max attributes: 2
supported operations:
- ID: 0x1, Capabilities: 0xe (can modify; can get/dump;
has policy)
- ID: 0x2, Capabilities: 0xb (requires admin permission;
can modify; has policy)

Reviewed by: melifaro
Differential Revision: https://reviews.freebsd.org/D40330

# 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

# a827077e 30-Mar-2023 John Baldwin <jhb@FreeBSD.org>

Add libcap_netdb.so.1 to the list of libcasper helper libraries.

Reported by: Yuri <yuri@aetern.org>
Fixes: 7d8e1e8dd904 libcasper: Move helper libraries from /lib/casper to /lib.

# 7d8e1e8d 29-Mar-2023 John Baldwin <jhb@FreeBSD.org>

libcasper: Move helper libraries from /lib/casper to /lib.

These libraries are linked to directly by applications rather than
opened at runtime via dlopen().

Discussed with: oshogbo
Reviewed by: markj, emaste
Differential Revision: https://reviews.freebsd.org/D39245

# c476ca18 29-Mar-2023 John Baldwin <jhb@FreeBSD.org>

OptionalObsoleteFiles.inc: Remove MIPS-specific hwpmc manpages.

These are unconditionally removed in ObsoleteFiles.inc.

# 1ad3cafc 21-Mar-2023 John Baldwin <jhb@FreeBSD.org>

Remove /usr/lib/dtrace/ipfw.d for WITHOUT_DTRACE.

Reviewed by: brooks
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D39099

# af0cc0b2 09-Mar-2023 Brooks Davis <brooks@FreeBSD.org>

NgATM: Remove netgraph ATM support

Most ATM support was removed prior to FreeBSD 12. The netgraph support
was kept as it was less intrusive, but it is presumed to be unused.

Reviewed by: manu
Relnotes: yes
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D38879

# 08e66b7a 06-Mar-2023 Herbert J. Skuhra <herbert@gojira.at>

ATM: Remove /usr/include/netnatm when disbled

# 3dfd18a7 13-Feb-2023 John Baldwin <jhb@FreeBSD.org>

Remove support for the base/* toolchain ports.

These ports have been removed so these knobs are no longer meaningful.

This reverts commit 608289394f655d0635c71233248b734010fb4d2f.
This reverts commit 39eb07f172921a581ee9b33ca2765905f4235202.

Reviewed by: imp, bapt, emaste
Differential Revision: https://reviews.freebsd.org/D38562

# 50d7464c 14-Jan-2023 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project release/15.x llvmorg-15.0.7-0-g8dfdcc7b7bf6

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-15.0.7-0-g8dfdcc7b7bf6.

PR: 265425
MFC after: 2 weeks


# f3fd488f 04-Dec-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project release/15.x llvmorg-15.0.6-0-g088f33605d8a

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-15.0.6-0-g088f33605d8a.

PR: 265425
MFC after: 2 weeks


# 6246ae0b 16-Oct-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project release/15.x llvmorg-15.0.2-10-gf3c5289e7846

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-15.0.2-10-gf3c5289e7846.

PR: 265425
MFC after: 2 weeks


# 753f127f 14-Jul-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-15-init-16436-g18a6ab5b8d1f

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-15-init-16436-g18a6ab5b8d1f.

PR: 265425
MFC after: 2 weeks


# 81ad6265 04-Jul-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-15-init-15358-g53dc0f10787

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-15-init-15358-g53dc0f10787.

PR: 265425
MFC after: 2 weeks


# 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

# 86edb11e 18-Nov-2022 Ed Maste <emaste@FreeBSD.org>

Always install llvm-objdump as objdump

Instead of providing no /usr/bin/objdump when LLVM_BINUTILS is false.

PR: 267854 [exp-run]
Reviewed by: dim
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37445

# 821549a9 29-Nov-2022 Philip Paeps <philip@FreeBSD.org>

OptionalObsoleteFiles.inc: add zoneinfo/America/Ciudad_Juarez

tzdata 2022g and later split America/Ciudad_Juarez from America/Ojinaga.
Ensure this file is removed in builds WITHOUT_ZONEINFO.

MFC after: 1 day

# 616f32ea 14-Nov-2022 Baptiste Daroussin <bapt@FreeBSD.org>

othermta: remove leftover from 20 years ago

othermta (along with mta_start_script configuration entry in rc.conf)
was a mechanism used to be able to run another mta than sendmail(8) before
"rcng" time 20 years ago.

othermta has not been used since.

# 0b1adc42 09-Nov-2022 Baptiste Daroussin <bapt@FreeBSD.org>

rc.sendmail: remove unused script

20 years ago the use of rc.sendmail script was dropped in favor
of /etc/rc.d/sendmail, it is time to retire the script entirely
now.

MFC after: 1 week

# 00ffd6b5 12-Oct-2022 Baptiste Daroussin <bapt@FreeBSD.org>

OptionalObsoleteFiles: grep nls files have been removed 4 years ago

# ed990a7a 12-Oct-2022 Baptiste Daroussin <bapt@FreeBSD.org>

sort: remove NLS support

NLS support for sort(1) is:
1/ incomplete: many error string are not using nls
2/ only covers hu_HU.ISO8859-2

# d577d617 03-Oct-2022 Jessica Clarke <jrtc27@FreeBSD.org>

bsdinstall release: Move code to a new startbsdinstall wrapper

This separates out the install media-specific environment (creating
bsdinstall_etc) from actually running the installer on a given console.
This will be used by a future change to start the installer on multiple
consoles.

Reviewed by: brooks, gjb
Differential Revision: https://reviews.freebsd.org/D36803

# a2464ee1 03-Oct-2022 Jessica Clarke <jrtc27@FreeBSD.org>

bsdinstall: Add a new runconsoles helper binary

This helper binary will run a given command on every on console, as
defined by /etc/ttys (except for ttyv*, where only ttyv0 will be used).
If one of the command processes exits, the rest will be killed. This
will be used by a future change to start the installer on multiple
consoles.

Reviewed by: brooks, imp, gjb
Differential Revision: https://reviews.freebsd.org/D36804

# 0eea46fb 28-Sep-2022 Brooks Davis <brooks@FreeBSD.org>

Remove telnetd

The telnetd codebase is unmaintained and has a number of quality
issues. Telnet has been largely supplanted by ssh. If needed, a port is
available (net/freebsd-telnetd), but a more maintained implementation
should be prefered.

While the telnet client suffers from the same issues, it is deemed
to be of lower risk and is required to connect to legacy devices, so
it remains.

Reviewed by: emaste, imp
Differential Revision: https://reviews.freebsd.org/D36620

# d1a351be 25-Sep-2022 Ed Maste <emaste@FreeBSD.org>

Do not delete objdump when WITH_LLVM_BINUTILS is true

WITH_LLVM_BINUTILS links /usr/bin/objdump to llvm-objdump, and similarly
for the man page. Do not delete them in `make delete-old`.

PR: 266603
Sponsored by: The FreeBSD Foundation

# f419a283 09-Sep-2022 Dag-Erling Smørgrav <des@FreeBSD.org>

OptionalObsoleteFiles.inc: add bearssl, secureboot, veriexec.

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

# 998b0a4a 31-Aug-2022 Peter Wemm <peter@FreeBSD.org>

OptionalObsoleteFiles.inc: Add missing sendmail feature macro files.

MFC after: 3 days

# 2300a22c 22-Feb-2022 Kyle Evans <kevans@FreeBSD.org>

libc: iconv: add mb_cur_min for encoder traits

A future commit will actually implement //IGNORE so that applications
using base iconv can, e.g., sanitize UTF-8 strings. To do this, the
iconv_std module needs to be able to determine the minimum width for any
given encoding so that it can skip that many bytes in the input buffer.
This is mainly an issue for UTF-16 and UTF-32.

This commit bumps shlib versions to 5 for libiconv modules to reflect
the ABI change. It also fixes OptionalObsoleteFiles to remove the
libiconv modules if WITHOUT_ICONV is in use.

re: _ENCODING_MB_CUR_MIN, note that this file (citrus_stdenc_template.h)
is included at the bottom of an encoding *implementation*, so the
implementation is free to #define it prior. UTF1632 is a good example,
as it redefines the minimum to be a property on the encodinginfo, and
the minimum is set to 2 or 4 bytes for UTF-16 and UTF-32 respectively.

Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D34344

# 55736146 21-Jul-2022 Dmitry Chagin <dchagin@FreeBSD.org>

check/delete-old: Fix /bin/rmail removal condition

When WITHOUT_SENDMAIL is enabled and WITHOUT_MAILWRAPPER is disabled
we install /bin/rmail as a link to the /usr/sbin/mailwrapper.
Ensure make delete-old does not unlink /bin/rmail in that case.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D35874
MFC after: 2 weeks

# 3bf66365 06-Jul-2022 Brooks Davis <brooks@FreeBSD.org>

cddl/*: add a WITH(OUT)_DTRACE option

Add an option to enable/disable DTrace without disabling ZFS. New
architectures such as CHERI may support ZFS before they support DTrace
and the old model of WITHOUT_CDDL disabling both wasn't helpful.

For compatiblity, the CDDL option remains and WITHOUT_CDDL implies
WITHOUT_DTRACE. WITHOUT_DTRACE also implies WITHOUT_CTF.

As part of this change, largely convert cddl/*/Makefile to using the
more compact SUBDIR.${MK_<FOO>}+= form rather than using intermediate
variables.

Reviewed by: markj
Obtained from: CheriBSD
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D35718

# 56f451bb 12-Jun-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project release/14.x llvmorg-14.0.5-0-gc12386ae247c

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14.0.5-0-gc12386ae247c, aka 14.0.5 release.

PR: 261742
MFC after: 3 days


# 5e383e36 05-Jun-2022 Dimitry Andric <dim@FreeBSD.org>

Add more old clang files to (Optional)ObsoleteFiles.inc

There were a few more libclang_rt libraries added recently, but not yet
listed in the ObsoleteFiles.inc lists.

MFC after: 3 days

# 809922b0 05-Jun-2022 Dimitry Andric <dim@FreeBSD.org>

Update rest of llvm-project build glue for 14.0.4

I completely forgot about updating the generated llvm-project config
files, which also contain version numbers, etc. Sorry for the churn.

PR: 261742
Fixes: ab9d54731f43
MFC after: 3 days

# 7b6f5ebe 27-May-2022 Dimitry Andric <dim@FreeBSD.org>

Add several sanitizer ignore lists under /usr/lib/clang

Some of the sanitizers from compiler-rt can use ignore lists, which are
loosely modeled on valgrind's example. Upstream provides default lists
for AddressSanitizer, CFI, and MemorySanitizer, so install these in the
expected location, /usr/lib/clang/14.0.3/share.

Reviewed by: emaste
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D35338

# 3a9a9c0c 28-Apr-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project release/14.x llvmorg-14.0.3-0-g1f9140064dfb

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14.0.3-0-g1f9140064dfb.

PR: 261742
MFC after: 2 weeks


# 1fd87a68 05-Feb-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-14-init-18294-gdb01b123d012

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14-init-18294-gdb01b123d012, the last commit before
the upstream release/14.x branch was created.

PR: 261742
MFC after: 2 weeks


# 04eeddc0 27-Jan-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-14-init-17616-g024a1fab5c35

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14-init-17616-g024a1fab5c35.

PR: 261742
MFC after: 2 weeks


# 4824e7fd 02-Dec-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-14-init-11187-g222442ec2d71

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14-init-11187-g222442ec2d71.

PR: 261742
MFC after: 2 weeks


# 5e801ac6 20-Nov-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-14-init-10223-g401b76fdf2b3

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14-init-10223-g401b76fdf2b3.

PR: 261742
MFC after: 2 weeks


# c00d3456 10-Feb-2022 John Baldwin <jhb@FreeBSD.org>

Install unwind.h into /usr/include

Install headers from LLVM's libunwind in place of the headers from
libcxxrt and allow C applications to use the library.

As part of this, remove include/unwind.h and switch libthr over to
using the installed unwind.h.

Reviewed by: dim, emaste
MFC after: 10 days
Differential Revision: https://reviews.freebsd.org/D34065

# 77da558c 20-Jan-2022 John Baldwin <jhb@FreeBSD.org>

check/delete-old: Auto-generate lib32 entries for libraries.

- Add usr/lib32/libfoo.so.N for lib/libfoo.so.N.

- Add usr/lib32/foo for usr/lib/foo.

- Treat casper libraries special since they are installed to
/usr/lib32 instead of /usr/lib32/casper and thus map
usr/lib/casper/foo to usr/lib32/foo.

Note that OLD_DIRS and MOVED_LIBS entries are not duplicated, only
OLD_FILES and OLD_LIBS.

Reviewed by: imp, emaste
Sponsored by: The University of Cambridge, Google Inc.
Differential Revision: https://reviews.freebsd.org/D33324

# c96dfb21 20-Jan-2022 John Baldwin <jhb@FreeBSD.org>

Rework documentation of OLD_*.

- Be more explicit in the difference between OLD_DIRS and OLD_FILES
(the former is only in delete-old-libs whereas the latter is in
delete-old).

- Document that debug symbols in /usr/lib/debug/ for files in
OLD_FILES and OLD_LIBS are removed as well.

Reviewed by: emaste
Sponsored by: The University of Cambridge, Google Inc.
Differential Revision: https://reviews.freebsd.org/D33847

# ebc1c246 11-Jan-2022 John Baldwin <jhb@FreeBSD.org>

Remove redundant OLD_FILES entries for debug symbols.

Entries for foo.debug files matching an existing entry in OLD_FILES or
OLD_LIBS are unnecessary as they are auto-generated.

Reviewed by: imp, emaste
Sponsored by: The University of Cambridge, Google Inc.
Differential Revision: https://reviews.freebsd.org/D33777

# 60a82774 02-Dec-2021 John Baldwin <jhb@FreeBSD.org>

Only use OLD_LIBS with shared libraries.

Use OLD_FILES for a few symbolic links and static libraries previously
included in OLD_LIBS.

Add a missing shared library major number to an old libroken entry.

# a58135eb 02-Dec-2021 Herbert J. Skuhra <herbert@gojira.at>

OptionalObsoleteFiles.inc: Add rc.d/zfskeys

While here, sort the etc/rc.d entries.

PR: 256483
Reviewed by: allanjude
Approved by: allanjude (src)
MFC after: 3 days
Sponsored by: Modirum MDPay
Sponsored by: Klara Inc.
Differential Revision: https://reviews.freebsd.org/D33238

# db0ac6de 02-Dec-2021 Cy Schubert <cy@FreeBSD.org>

Revert "wpa: Import wpa_supplicant/hostapd commit 14ab4a816"

This reverts commit 266f97b5e9a7958e365e78288616a459b40d924a, reversing
changes made to a10253cffea84c0c980a36ba6776b00ed96c3e3b.

A mismerge of a merge to catch up to main resulted in files being
committed which should not have been.

# 266f97b5 02-Dec-2021 Cy Schubert <cy@FreeBSD.org>

wpa: Import wpa_supplicant/hostapd commit 14ab4a816

This is the November update to vendor/wpa committed upstream 2021-11-26.

MFC after: 1 month


# c3f345ae 01-Dec-2021 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles.inc: remove MK_CXX rule for usr/bin/c++

In fact MK_CXX does not control whether /usr/bin/c++ is built -- it is
installed as a link to Clang (which is always a C/C++ compiler), and it
already exists in OptionalObsoleteFiles under MK_TOOLCHAIN.

Sponsored by: The FreeBSD Foundation

# 610d908f 01-Dec-2021 John Baldwin <jhb@FreeBSD.org>

Add lib32 entries for WITHOUT_PROFILE.

Reported by: Mark Millard

# 07c2b29b 01-Dec-2021 John Baldwin <jhb@FreeBSD.org>

Trim a couple of duplicate entries from WITHOUT_PROFILE.

# 99188582 01-Dec-2021 John Baldwin <jhb@FreeBSD.org>

Add various profiled libraries missing from the WITHOUT_PROFILE list.

Reported by: Mark Millard

# f7ea22e2 01-Dec-2021 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: move /usr/bin/CC to MK_TOOLCHAIN section

/usr/bin/CC is installed by usr.bin/clang/clang/Makefile, as with
/usr/bin/cc, /usr/bin/cpp, etc., and is not controlled by MK_CXX.
Move it to the same section as those tools.

(It may be that these should all be under
MK_TOOLCHAIN == no || MK_CLANG_IS_CC == no, but that seems like
unnecessary complexity.)

Sponsored by: The FreeBSD Foundation

# 1b9344ad 30-Nov-2021 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove GCC remnants

g++ and cc1plus were GCC components that are already removed
unconditionally in ObsoleteFiles.inc.

Reported by: jhb (in review D33108)
Fixes: 57f804675e65 ("remove GCC 4.2.1 build infrastructure")
Sponsored by: The FreeBSD Foundation

# 0179739a 28-Nov-2021 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove ping with INET & INET6 disabled

Reported by: kevans
Fixes: a4ef9e58bc0c ("sbin: build ping if at least one of...")
Sponsored by: The FreeBSD Foundation

# 6e75b2fb 25-Aug-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project release/13.x llvmorg-13.0.0-rc1-97-g23ba3732246a

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-13.0.0-rc1-97-g23ba3732246a.

PR: 258209
MFC after: 2 weeks


# fe6060f1 22-Aug-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-13-init-16847-g88e66fa60ae5

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-13-init-16847-g88e66fa60ae5, the last commit before
the upstream release/13.x branch was created.

PR: 258209
MFC after: 2 weeks


# e9a99463 06-Oct-2021 Ed Maste <emaste@FreeBSD.org>

ssh: enable FIDO/U2F keys

Description of FIDO/U2F support (from OpenSSH 8.2 release notes,
https://www.openssh.com/txt/release-8.2):

This release adds support for FIDO/U2F hardware authenticators to
OpenSSH. U2F/FIDO are open standards for inexpensive two-factor
authentication hardware that are widely used for website
authentication. In OpenSSH FIDO devices are supported by new public
key types "ecdsa-sk" and "ed25519-sk", along with corresponding
certificate types.

ssh-keygen(1) may be used to generate a FIDO token-backed key, after
which they may be used much like any other key type supported by
OpenSSH, so long as the hardware token is attached when the keys are
used. FIDO tokens also generally require the user explicitly
authorise operations by touching or tapping them.

Generating a FIDO key requires the token be attached, and will
usually require the user tap the token to confirm the operation:

$ ssh-keygen -t ecdsa-sk -f ~/.ssh/id_ecdsa_sk
Generating public/private ecdsa-sk key pair.
You may need to touch your security key to authorize key generation.
Enter file in which to save the key (/home/djm/.ssh/id_ecdsa_sk):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/djm/.ssh/id_ecdsa_sk
Your public key has been saved in /home/djm/.ssh/id_ecdsa_sk.pub

This will yield a public and private key-pair. The private key file
should be useless to an attacker who does not have access to the
physical token. After generation, this key may be used like any
other supported key in OpenSSH and may be listed in authorized_keys,
added to ssh-agent(1), etc. The only additional stipulation is that
the FIDO token that the key belongs to must be attached when the key
is used.

To enable FIDO/U2F support, this change regenerates ssh_namespace.h,
adds ssh-sk-helper, and sets ENABLE_SK_INTERNAL (unless building
WITHOUT_USB).

devd integration is not included in this change, and is under
investigation for the base system. In the interim the security/u2f-devd
port can be installed to provide appropriate devd rules.

Reviewed by: delphij, kevans
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32509

# 2f7f8995 27-Oct-2021 John Baldwin <jhb@FreeBSD.org>

libdialog: Bump shared library version to 10.

The upgrade to libdialog 1.3 included changes to the ABI.

Bump libdpv to 3 since it links against libdialog.

Reported by: Mark Millard <marklmi@yahoo.com>
Reviewed by: bapt
Fixes: a96ef4501919 dialog: import dialog 1.3-20210117
Differential Revision: https://reviews.freebsd.org/D32675

# 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

# 7b1e19ad 06-Oct-2021 Ed Maste <emaste@FreeBSD.org>

Add libfido2 to the build

From https://github.com/Yubico/libfido2:

libfido2 provides library functionality and command-line tools to
communicate with a FIDO device over USB, and to verify attestation
and assertion signatures.

libfido2 supports the FIDO U2F (CTAP 1) and FIDO 2.0 (CTAP 2)
protocols.

libfido2 will be used by ssh to support FIDO/U2F keys. It is currently
intended only for use by ssh, and so is installed as a PRIVATELIB and is
placed in the ssh pkgbase package.

This is currently disabled for the 32-bit library build as libfido2 is
not compatible with the COMPAT_32BIT hack in usb_ioctl.h.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32448

# 2a213a2e 20-Oct-2021 Baptiste Daroussin <bapt@FreeBSD.org>

OptionalObsoleteFiles: add more googletest files to remove

# 2e85df65 06-Oct-2021 Ed Maste <emaste@FreeBSD.org>

Add libcbor to the build

From https://github.com/PJK/libcbor:

libcbor is a C library for parsing and generating CBOR, the general-
purpose schema-less binary data format.

libcbor will be used by ssh to support FIDO/U2F keys. It is currently
intended only for use by ssh, and so is installed as a PRIVATELIB and is
placed in the ssh pkgbase package.

cbor_export.h and configuration.h were generated by the upstream CMake
build. We could create them with bmake rules instead (as NetBSD has
done) but this is a fine start.

This is currently disabled for the 32-bit library build as libfido2 is
not compatible with the COMPAT_32BIT hack in usb_ioctl.h, and there is
no need for libcbor without libfido2.

Reviewed by: kevans
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32347

# 1b85b68d 14-Oct-2021 Cameron Katri <me@cameronkatri.com>

llvm-readobj: Attach to buildsystem

Also install it as readelf when MK_LLVM_BINUTILS is set.

Reviewed By: dim, arichardson
Differential Revision: https://reviews.freebsd.org/D32058

# 88c02733 11-Oct-2021 Alex Richardson <arichardson@FreeBSD.org>

Update OptionalObsoleteFiles.inc after 021385aba562

I forgot to update this file so make delete-old would incorrectly remove
the newly-installed LLVM binutils. While touching the file also update
for 8e1c989abbd1 since ObsoleteFiles.inc now inludes the tablegen binaries.

Reported by: Herbert J. Skuhra <herbert@gojira.at>
Reviewed By: emaste, imp

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

# 032448cd 08-Oct-2021 Ed Maste <emaste@FreeBSD.org>

Belatedly track private lib renaming for OptionalObsoleteFiles.inc

Reviewed by: kevans
Fixes: 5551c573554e ("Rework PRIVATELIB")
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32384

# 85395180 21-Jul-2021 Fernando Apesteguía <fernape@FreeBSD.org>

Remove manpages from OLD_FILES

Remove apm.8 and apmconf.8 from OLD_FILES in the relevant Makefiles.

These pages are now installed unconditionally as per 0a0f7486413c

PR: 257228
Reported by: yasu@utahime.org, wosch@
Approved by: imp@, wosch@
Fixes: 0a0f7486413c - Build manpages for all architectures
MFH: 4 weeks
Differential Revision: https://reviews.freebsd.org/D31256

# 23408297 18-Jun-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project 12.0.1 rc2

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-12.0.1-rc2-0-ge7dac564cd0e, a.k.a. 12.0.1 rc2.

PR: 255570
MFC after: 6 weeks


# d409305f 26-Apr-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project 12.0.0 release

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-12.0.0-0-gd28af7c654d8, a.k.a. 12.0.0 release.

PR: 255570
MFC after: 6 weeks


# e8d8bef9 13-Jun-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-12-init-17869-g8e464dd76bef

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-12-init-17869-g8e464dd76bef, the last commit before the
upstream release/12.x branch was created.

PR: 255570
MFC after: 6 weeks


# 0333fad1 11-Jun-2021 John Baldwin <jhb@FreeBSD.org>

Remove svnlite.

Reviewed by: bcr, imp, emaste
Differential Revision: https://reviews.freebsd.org/D30737

# 95aa617e 03-Jun-2021 Dimitry Andric <dim@FreeBSD.org>

Add C++ headers <barrier> <concepts> <execution> <latch> <numbers> <semaphore>

I missed adding these to the libc++ Makefile, when importing
llvm-project 11.0.0-rc1, even though they were supplied by upstream.

While here, update OptionalObsoleteFiles.inc to add these new headers,
and cleanup old cruft.

Reported by: yuri
Submitted by: jkim (Makefile diff)
PR: 255374
MFC after: 3 days

# 15deee52 20-Mar-2021 Dimitry Andric <dim@FreeBSD.org>

Move GH_BC ObsoleteFiles.inc section to OptionalObsoleteFiles.inc

Optional features belong in the latter file, and should be tested using:

.if ${MK_FEATURE} == no
[...]
.endif

# e6cfd293 03-Mar-2021 John Baldwin <jhb@FreeBSD.org>

Remove the usr/tests/usr.bin/yacc/yacc directory when removing yacc.

MFC after: 1 week

# 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

# 5cf6f1c4 30-Jan-2021 Alex Richardson <arichardson@FreeBSD.org>

Remove the MK_LIBCPLUSPLUS option

This option has been equivalent to any form of C++ support since libstdc++
was removed. Therefore, replace all MK_LIBCPLUSPLUS uses with MK_CXX.

Reviewed By: emaste
Differential Revision: https://reviews.freebsd.org/D27974

# bfc99943 25-Jan-2021 Brooks Davis <brooks@one-eyed-alien.net>

ndis(4): remove as previous announced

nids(4) was a clever idea in the early 2000's when the market was
flooded with 10/100 NICs with Windows-only drivers, but that hasn't been
the case for ages and the driver has had no meaningful maintenance in
ages. It only supports Windows-XP era drivers.

Also remove:
- ndis support from wpa_supplicant
- ndiscvt(8)

Reviewed By: emaste, bcr (manpages)
Differential Revision: https://reviews.freebsd.org/D27609

# 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

# 7593c13e 16-Jan-2021 Dimitry Andric <dim@FreeBSD.org>

Add libclang_rt.profile-powerpc64le.a to (Optional)?ObsoleteFiles.inc

On little-endian PowerPC64, this prevented /usr/lib/clang/11.0.0 being
cleaned up completely after upgrading to clang 11.0.1.

Noticed by: pkubaj
MFC after: 4 weeks
X-MFC-With: r364284

# eaeb601b 03-Jan-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
release/11.x llvmorg-11.0.1-rc2-0-g43ff75f2c3f (aka 11.0.1 rc2).

MFC after: 4 weeks
X-MFC-With: r364284


# 8aff76fb 22-Dec-2020 Kyle Evans <kevans@FreeBSD.org>

build: remove the option to build gnugrep

Unconditionally install bsdgrep as grep, bootstrap or not. Remove all
build glue and stop installing both gnugrep and libgnuregex now that
all consumers of the latter are gone.

Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D27732

# 1c0ea326 15-Dec-2020 Ed Maste <emaste@FreeBSD.org>

Retire obsolete GDB 6.1.1

GDB 6.1.1 was released in June 2004 and is long obsolete. It does not
support all of the architectures that FreeBSD does, and imposes
limitations on the FreeBSD kernel build, such as the continued use of
DWARF2 debugging information.

It was kept (in /usr/libexec/) only for use by crashinfo(8), which
extracts some basic information from a kernel core dump after a crash.
Crashinfo already prefers gdb from port/package if installed.

Future work may add kernel debug support to LLDB or find another path
for crashinfo's needs, but in any case we do not want to ship the
excessively outdated GDB in FreeBSD 13.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D27610

# d2624517 26-Nov-2020 Alan Somers <asomers@FreeBSD.org>

ping: add a ping6 hard link for backwards compatibility

When invoked as "ping6", ping will now attempt to use ICMPv6 for hostnames
that resolve both IPv4 and IPv6 addresses.

Reviewed by: bz, manu
MFC-With: r368045
Differential Revision: https://reviews.freebsd.org/D27384

# 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

# 2406f943 15-Nov-2020 Dimitry Andric <dim@FreeBSD.org>

Ensure make delete-old does not unlink the llvm-cxxfilt and its manpage,
after r367304 and r367324, when WITH_LLVM_CXXFILT is enabled.

Noticed by: "Herbert J. Skuhra" <herbert@gojira.at>
MFC after: 3 days
X-MFC-With: r367304

# 07335072 18-Oct-2020 Kyle Evans <kevans@FreeBSD.org>

libbe(3): install MLINKS for all of the functions provided

MFC after: 1 week

# 6703731d 08-Sep-2020 Kyle Evans <kevans@FreeBSD.org>

phttpget: move out of portsnap

Currently, WITHOUT_PORTSNAP forces WITHOUT_FREEBSD_UPDATE because the
latter relies on phttpget, which lives inside the portsnap build bits.

Remove the dependency between these two options by moving phttpget out into
^/libexec and building/installing it if either WITH_PORTSNAP or
WITH_FREEBSD_UPDATE.

Future work could remove the conditional if it's decided that users will use
it independently of either the current in-base consumers.

Reported by: swills
Reviewed by: jilles, emaste
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D26255

# 32cb7794 03-Sep-2020 Dimitry Andric <dim@FreeBSD.org>

Ensure zpool-features(5) doesn't get removed by make delete-old.

Apparently, somewhere in 2012 ZFS-on-FreeBSD moved it from section 5 to
7, but ZFS-on-Linux never did.

# 57b71478 14-Aug-2020 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for added and removed clang 11.0.0
internal headers.

# 62cfcf62 28-Jun-2020 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
llvmorg-10.0.1-rc2-0-g77d76b71d7d.

Also add a few more llvm utilities under WITH_CLANG_EXTRAS:

* llvm-dwp, a utility for merging DWARF 5 Split DWARF .dwo files into
.dwp (DWARF package files)
* llvm-size, a size(1) replacement
* llvm-strings, a strings(1) replacement

MFC after: 3 weeks


# 136bdd99 26-Jun-2020 Dimitry Andric <dim@FreeBSD.org>

Follow-up to r362679, add more entries to OptionalObsoleteFiles.inc

MFC after: 3 days
X-MFC-With: r362679

# bd74205d 27-Jun-2020 Dimitry Andric <dim@FreeBSD.org>

Regenerate ReStructuredText based manpages for llvm-project tools:

* bugpoint.1
* clang.1
* llc.1
* lldb.1
* lli.1
* llvm-ar.1
* llvm-as.1
* llvm-bcanalyzer.1
* llvm-cov.1
* llvm-diff.1
* llvm-dis.1
* llvm-dwarfdump.1
* llvm-extract.1
* llvm-link.1
* llvm-mca.1
* llvm-nm.1
* llvm-pdbutil.1
* llvm-profdata.1
* llvm-symbolizer.1
* llvm-tblgen.1
* opt.1

Add newly generated manpages for:

* llvm-addr2line.1 (this is an alias of llvm-symbolizer)
* llvm-cxxfilt.1
* llvm-objcopy.1
* llvm-ranlib.1 (this is an alias of llvm-ar)

Note that llvm-objdump.1 is an exception, as upstream has both a plain
.1 file, and a .rst variant. These will have to be reconciled upstream
first.

MFC after: 3 days

# 0a9ab9f5 24-Jun-2020 Conrad Meyer <cem@FreeBSD.org>

Add WITH_CLANG_FORMAT option

clang-format is enabled conditional on either WITH_CLANG_EXTRAS or
WITH_CLANG_FORMAT. Some sources in libclang are build conditional on
either rule, and obviously the clang-format binary itself depends on the
rule.

clang-format could still use a manual page.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D25427

# 74e8d41e 06-Jun-2020 Ed Maste <emaste@FreeBSD.org>

Retire BINUTILS and BINUTILS_BOOTSTRAP options

As of r361857 all BINUTILS options are disabled by default - ports
have been changed to depend on binutils if they require GNU as, and
all base system assembly files have been switched to use Clang's
integrated assembler.

Relnotes: Yes
Sponsored by: The FreeBSD Foundation

# d65cd7a5 23-May-2020 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
llvmorg-10.0.1-rc1-0-gf79cd71e145 (aka 10.0.1 rc1).

MFC after: 3 weeks


# 65a1d636 15-May-2020 Ed Maste <emaste@FreeBSD.org>

libalias: retire cuseeme support

The CU-SeeMe videoconferencing client and associated protocol is at this
point a historical artifact; there is no need to retain support for this
protocol today.

Reviewed by: philip, markj, allanjude
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D24790

# 4d48b0cf 15-May-2020 John Baldwin <jhb@FreeBSD.org>

Don't remove ubsec(4) manual page for WITHOUT_USB=yes.

In head this manpage has been removed entirely, but ubsec(4) is a PCI
device and not a USB device.

MFC after: 1 week

# f8519228 07-May-2020 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles.inc: remove objdump

objdump is removed unconditionally in ObsoleteFiles.inc

# 12de77b3 19-Apr-2020 Cy Schubert <cy@FreeBSD.org>

Due to popular demand, revert r360102.

Reported by: many

# 4574585e 19-Apr-2020 Cy Schubert <cy@FreeBSD.org>

Conditionally install Kerberos rc files based on MK_KERBEROS_SCRIPTS
instead of MK_KERBEROS. The reason for this change is some users
prefer to build FreeBSD WITHOUT_KERBEROS, wanting to retain the
Kerberos rc scripts to start/stop MIT Kerberos or Heimdal from ports.

PR: 197337
Reported by: Adam McDougall <ebay at looksharp.net>
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D24252

# a52b0bb1 30-Mar-2020 Ed Maste <emaste@FreeBSD.org>

drop GDB_LIBEXEC option (now always true)

In-tree gdb is essentially obsolete. We kept it for sparc64 (because
gdb in ports lacked sparc64 support) and as a fallback for crashinfo.
gdb was installed to /libexec on all archs other than sparc64, where the
WITHOUT_GDB_LIBEXEC option was default, with gdb installed to /usr/bin.
With sparc64's retirement WITH_GDB_LIBEXEC became the default for all
architectures, but it was still possible to set it off and install gdb
into /usr/bin.

As the next step in gdb's retirement, remove the option and install gdb
only into /libexec as the crashinfo fallback. We expect users to install
the gdb port or package for debugging. The in-tree gdb lacks support for
a number of supported architectures and does not support contemporary
DWARF debug info.

Reviewed by: jhb (earlier)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D24227

# a04ec978 26-Mar-2020 Brandon Bergren <bdragon@FreeBSD.org>

[PowerPC] Switch powerpc and powerpcspe to lld

Now that LLD 10 is out, and required patches have landed, we are now ready
to finally switch away from the ancient in-tree ld.bfd.

Special thanks to Fangrui Song for many hours of work on getting the
32-bit powerpc lld ready for prime-time.

Reviewed by: emaste (earlier revision), jhibbits
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D24111

# b0d29bc4 23-Mar-2020 Brooks Davis <brooks@FreeBSD.org>

Import the kyua test framework.

Having kyua in the base system will simplify automated testing in CI and
eliminates bootstrapping issues on new platforms.

The build of kyua is controlled by WITH(OUT)_TESTS_SUPPORT.

Reviewed by: emaste
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D24103


# 725cc1de 17-Mar-2020 John Baldwin <jhb@FreeBSD.org>

Add missing DTrace files for WITHOUT_CDDL=yes.

Reviewed by: dteske
MFC after: 1 week
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D24037

# 0fbbe502 12-Mar-2020 Enji Cooper <ngie@FreeBSD.org>

Remove /usr/share/snmp/defs/tc.def with delete-old if MK_BSNMP == no

This removes a lingering file on new installs of CURRENT, originally
added in r345797.

MFC after: 1 week
MFC with: r345797

# 16b90565 10-Mar-2020 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r358731 through r358831.


# 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

# 91019ea7 29-Feb-2020 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r358400 through r358465.


# 57f80467 28-Feb-2020 Ed Maste <emaste@FreeBSD.org>

remove GCC 4.2.1 build infrastructure

As described in Warner's email message[1] to the FreeBSD-arch mailing
list we have reached GCC 4.2.1's retirement date. At this time all
supported architectures either use in-tree Clang, or rely on external
toolchain (i.e., a contemporary GCC version from ports).

GCC 4.2.1 was released July 18, 2007 and was imported into FreeBSD later
that year, in r171825. GCC has served us well, but version 4.2.1 is
obsolete and not used by default on any architecture in FreeBSD. It
does not support modern C and does not support arm64 or RISC-V.

Thanks to everyone responsible for maintaining, updating, and testing
GCC in the FreeBSD base system over the years.

So long, and thanks for all the fish.

[1] https://lists.freebsd.org/pipermail/freebsd-arch/2020-January/019823.html

PR: 228919
Reviewed by: brooks, imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D23124

# 0b37c159 25-Jan-2020 Dimitry Andric <dim@FreeBSD.org>

* Bump version numbers to 10.0.0
* Update UPDATING
* Update (Optional)ObsoleteFiles.inc
* Update VCS(Revision|Version) files
* Update generated config headers
* Update clang internal headers Makefile

# 0581ad70 20-Jan-2020 Mariusz Zaborski <oshogbo@FreeBSD.org>

When MK_CASPER=no is set remove files which are not needed to run system.

PR: 242971

# 3d37949e 20-Jan-2020 Mariusz Zaborski <oshogbo@FreeBSD.org>

Even when the MK_CASPER is set to "no" we still want to install man pages
and the headers. If the user decides to install the system without Casper
support, then the Casper functions are mocked, but they still exist in
the system.

PR: 242971
MFC after: 2 weeks

# c31a062f 20-Jan-2020 Mariusz Zaborski <oshogbo@FreeBSD.org>

Those files are already removed in ObsoleteFiles.\
There is no need to remove them twice.

PR: 242971
MFC after: 2 weeks

# cd0d51ba 04-Jan-2020 Kyle Evans <kevans@FreeBSD.org>

Provide libssp based on libc

For libssp.so, rebuild stack_protector.c with FORTIFY_SOURCE stubs that just
abort built into it.

For libssp_nonshared.a, steal stack_protector_compat.c from
^/lib/libc/secure and massage it to maintain that __stack_chk_fail_local
is a hidden symbol.

libssp is now built unconditionally regardless of {WITH,WITHOUT}_SSP in the
build environment, and the gcclibs version has been disconnected from the
build in favor of this one.

PR: 242950 (exp-run)
Reviewed by: kib, emaste, pfg, Oliver Pinter (earlier version)
Also discussed with: kan
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D22943

# c14a5a88 22-Dec-2019 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
9.0.1 final release c1a0a213378a458fbea1a5c77b315c7dce08fd05.

Release notes for llvm, clang, lld and libc++ 9.0.1 will become
available here:

https://releases.llvm.org/9.0.1/docs/ReleaseNotes.html
https://releases.llvm.org/9.0.1/tools/clang/docs/ReleaseNotes.html
https://releases.llvm.org/9.0.1/tools/lld/docs/ReleaseNotes.html
https://releases.llvm.org/9.0.1/projects/libcxx/docs/ReleaseNotes.html

PR: 240629
MFC after: 1 month


# 1bb8eb56 23-Nov-2019 Dimitry Andric <dim@FreeBSD.org>

libclang_rt: enable on powerpc*

Summary:
Enable on powerpc64 and in lib/libclang_rt/Makefile change
MACHINE_CPUARCH to MACHINE_ARCH because on powerpc64
MACHINE_ARCH==MACHINE_CPUARCH so the 32-bit library overwrites 64-bit
library during installworld.

This patch doesn't enable any other libclang_rt libraries because they
need to be separately ported.

I have verified that games/julius (which fails on powerpc64 elfv2
without this change because of no libclang_rt profiling library) builds.

Test Plan: Ship it, test on powerpc and powerpcspe

Submitted by: pkubaj
Reviewed by: dim, jhibbits
Differential Revision: https://reviews.freebsd.org/D22425
MFC after: 1 month
X-MFC-With: r353358

# 8b3bc70a 08-Oct-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r352764 through r353315.


# 4d22a29a 04-Oct-2019 Baptiste Daroussin <bapt@FreeBSD.org>

Do not remove the locale directory when building a system without locales

This directory is actually needed during make installworld and will prevent
to reinstall a system after make delete-old is done.

PR: 226137
Reported by: rakuco
MFC after: 3 days

# f993ed2f 09-Sep-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r351732 through r352104.


# 9a2b7c5f 04-Sep-2019 Rebecca Cran <bcran@FreeBSD.org>

The efifat files are no longer used: remove the code to build them

Reviewed by: imp, tsoome, emaste
Differential Revision: https://reviews.freebsd.org/D20562

# 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

# f57be329 01-Sep-2019 Dimitry Andric <dim@FreeBSD.org>

Update libclang_rt:
* Add cfi, dd, fuzzer and xray
* Update arch support
* Update OptionalObsoleteFiles.inc

# 2f3724e6 31-Aug-2019 Dimitry Andric <dim@FreeBSD.org>

Update Makefile and mtree for clang internal headers, and update
OptionalObsoleteFiles.inc for added and removed files.

# 72e1e271 23-Aug-2019 Dimitry Andric <dim@FreeBSD.org>

Change clang lib dir to 9.0.0.

# 7f32f0e2 18-Aug-2019 Vladimir Kondratyev <wulf@FreeBSD.org>

iwmbtfw: Firmware loader for Intel Wireless 8260 based Bluetooth USB devices

Currently supported models are: 8260, 8265, 9560, 9260 and 22161.
Firmware files can be installed with comms/iwmbt-firmware port.

PR: 237083
Reviewed by: hps, emax
X-MFC with: r351196
Differential Revision: https://reviews.freebsd.org/D21071

# 403c9d52 05-Aug-2019 Leandro Lupori <luporl@FreeBSD.org>

[PPC64] Don't mark ld.bfd as obsolete

PowerPC64 still needs ld.bfd for 32-bit binaries/libraries.

This will be needed when ELFv2 becomes default, but there is no harm in
committing it already.

Reviewed by: jhibbits
Differential Revision: https://reviews.freebsd.org/D21136

# 330014fd 03-Jul-2019 Tijl Coosemans <tijl@FreeBSD.org>

Also remove lib32 versions of libradius.

MFC after: 1 week

# 015cb6cd 26-Jun-2019 Cy Schubert <cy@FreeBSD.org>

Create a link to the ipmon.conf.5 man page as documented in ipmon.5.
Add its corresponding optional removal entry.

PR: 238816
MFC after: 1 week

# 74bc7fc0 26-Jun-2019 Cy Schubert <cy@FreeBSD.org>

Add the ipmon.5 man page.

PR/238816 initially addressed updates to usage() however the PR has
morphed into a shopping list of updates to usage() and man pages.

PR: 238816 (I added to the list during discussion)
MFC after: 1 week

# efc5c442 12-Jun-2019 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copies of clang, llvm, lld, lldb, compiler-rt, libc++,
libunwind and openmp to the upstream release_80 branch r363030
(effectively, 8.0.1 rc2). The 8.0.1 release should follow this within a
week or so.

MFC after: 2 weeks


# f02125cd 06-Jun-2019 Jung-uk Kim <jkim@FreeBSD.org>

Move llvm-ranlib to appropriate location in OptionalObsoleteFiles.inc.

Note llvm-ar is linked to llvm-ranlib since r311565. r348677 fixed
"make delete-old" issue with llvm-ar but missed it somehow.

Discussed with: emaste, jhb

# e4e92b4d 05-Jun-2019 Ed Maste <emaste@FreeBSD.org>

Use CLANG knob to remove llvm-symbolizer man page

r348504 moved llvm-symbolizer from the CLANG_EXTRAS knob to CLANG, but
the man page was still in the CLANG_EXTRAS section in
OptionalObsoleteFiles.inc.

Reported by: jhb
MFC after: 3 days
MFC with: r348504

# 7120683d 04-Jun-2019 Ed Maste <emaste@FreeBSD.org>

move llvm-ar and llvm-nm to appropriate location in OptionalObsoleteFiles.inc

After r348610 `make delete-old` was still removing llvm-ar and llvm-nm
(and associated man pages).

Reported by: jhb
Sponsored by: The FreeBSD Foundation

# 71259635 01-Jun-2019 Kyle Evans <kevans@FreeBSD.org>

llvm-symbolizer: Move out of CLANG_EXTRAS, into CLANG

ASAN reports become a lot more useful with llvm-symbolizer in $PATH, and the
build is not much more time-consuming. The added benefit is that the
resulting reports will actually include symbol information; without, thread
trace information includes a bunch of addresses that immediately resolve to
an inline function in
^/contrib/compiler-rt/lib/sanitizer_common/sanitizer_common.h and take a
little more effort to examine.

Reviewed by: emaste
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D20484

# 001ec17e 19-May-2019 Dimitry Andric <dim@FreeBSD.org>

To avoid unnecessarily modifying ports, add a -lgomp symlink, since GCC
does not ship a -lomp symlink. Also update OptionalObsoleteFiles for
this, and add 32-bit variants while here.

Submitted by: jbeich
PR: 237975
MFC after: 3 days

# 6da88762 19-May-2019 Dimitry Andric <dim@FreeBSD.org>

Fix OptionalObsoleteFiles copy/paste mistake from r345236, which
connected libomp to the build. The comparison should not have been
against ${MK_OPENSSH}, but against ${MK_OPENMP}, obviously.

MFC after: 3 days

# 60828939 26-Mar-2019 John Baldwin <jhb@FreeBSD.org>

Add special psuedo-options for the base/{binutils,gcc} ports.

The WITH_PORT_BASE_{BINUTILS,GCC} options are used to prevent 'make check-old'
and 'make delete-old' from deleting files installed by the base/binutils
and base/gcc packages as normally one disables the in-tree variants
(e.g. WITHOUT_BINUTILS) when using these packages.

Reviewed by: bapt (earlier version)
Differential Revision: https://reviews.freebsd.org/D19483

# 5d3d68ab 21-Mar-2019 Cy Schubert <cy@FreeBSD.org>

From r345400, remove the ippool rc script when ipfilter is not wanted
by the user.

PR: 218433
MFC after: 2 weeks
X-MFC with: r345400

# b0840a28 16-Mar-2019 Dimitry Andric <dim@FreeBSD.org>

Connect lib/libomp to the build.

* Set MK_OPENMP to yes by default only on amd64, for now.
* Bump __FreeBSD_version to signal this addition.
* Ensure gcc's conflicting omp.h is not installed if MK_OPENMP is yes.
* Update OptionalObsoleteFiles.inc to cope with the conflicting omp.h.
* Regenerate src.conf(5) with new WITH/WITHOUT fragments.

Relnotes: yes
PR: 236062
MFC after: 1 month
X-MFC-With: r344779

# 5193fcde 15-Mar-2019 Enji Cooper <ngie@FreeBSD.org>

Initial googlemock/googletest integration into the build/FreeBSD test suite

This initial integration takes googlemock/googletest release 1.8.1, integrates
the library, tests, and sample unit tests into the build.

googlemock/googletest's inclusion is optionally available via `MK_GOOGLETEST`.
`MK_GOOGLETEST` is dependent on `MK_TESTS` and is enabled by default when
built with a C++11 capable toolchain.

Google tests can be specified via the `GTESTS` variable, which, in comparison
with the other test drivers, is more simplified/streamlined, as Googletest only
supports C++ tests; not raw C or shell tests (C tests can be written in C++
using the standard embedding methods).

No dependent libraries are assumed for the tests. One must specify `gmock`,
`gmock_main`, `gtest`, or `gtest_main`, via `LIBADD` for the program.

More information about googlemock and googletest can be found on the
Googletest [project page](https://github.com/google/googletest), and the
[GoogleMock](https://github.com/google/googletest/blob/v1.8.x/googlemock/docs/Documentation.md)
and
[GoogleTest](https://github.com/google/googletest/tree/v1.8.x/googletest/docs)
docs.

These tests are originally integrated into the build as plain driver tests, but
will be natively integrated into Kyua in a later version.

Known issues/Errata:
* [WhenDynamicCastToTest.AmbiguousCast fails on FreeBSD](https://github.com/google/googletest/issues/2172)

Reviewed by: asomers
Approved by: emaste (mentor)
MFC after: 2 months
Differential Revision: https://reviews.freebsd.org/D19551


# 77e6f928 12-Mar-2019 Cy Schubert <cy@FreeBSD.org>

Fix still installing ipfilter rc.d files even when WITHOUT_IPFILTER
is specified.

When WITHOUT_IPFILTER is specified, delete-old-files fails to delete
the optional rc.d files from above. Fix this.

WITHOUT_IPFILTER fails to delete the ipfilter.5 optional file during
delete-old-files. Fix this.

Reported by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
MFC after: 1 week

# 844fc3e9 04-Mar-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r344549 through r344775.


# 2e881c1a 28-Feb-2019 Bryan Drewery <bdrewery@FreeBSD.org>

bsd.nls.mk isn't optional.

It is protected by MK_NLS. If it should really be optional then
it needs to be documented as such in share/mk/bsd.README and
.sinclude used where needed.

This fixes a regression from r335011.

PR: 232527
Submitted by: jarrod@downtools.com.au
Reported by: ktullavik@gmail.com
MFC after: 3 days

# a8fe8db4 25-Feb-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r344178 through r344512.


# 7588d90e 16-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Few more corrections to WITHOUT_OFED=1 make delete-old removal:

- Drop profile libraries; MK_PROFILE=no is set in all Makefile's.
- Correct library path to libmlx5.so.1 and libibverbs.so.1

MFC after: 5 days
MFC with: 344207

# fe3d954e 16-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Remove corresponding lib32/ files when WITHOUT_OFED=1 is set

MFC after: 5 days
MFC with: 344207

# 4a0225e5 16-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Refresh OptionalObsoleteFiles.inc for MK_PMC:

- Add missing /usr/sbin/pmc, pmcformat.h, libpmcstat.h and pmc.haswellxeon.3
to the list.
- Correct man page section for pmcstudy.8.
- Include recently added libipt and libopencsd for corresponding TARGET_ARCH

MFC after: 5 days

# b94a281e 15-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Add more rc.d scripts / empty directors / config files into
OptionalObsoleteFiles.inc

Note: only files with conditional installation logic were
included from the PR.

PR: 233046
Submitted by: <rozhuk.im@gmail.com>
MFC after: 5 days

# 48514fe1 15-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Allow to remove unused files via 'make delete-old(-libs)' when WITHOUT_OFED
and / or WITHOUT_OFED_EXTRA src.conf(5) options are set.

MFC after: 5 days

# ebd13ba3 15-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Remove vi(1)-related files via 'make delete-old' when WITHOUT_VI=1 is set.

MFC after: 5 days

# 9e43c218 09-Feb-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r343807 through r343955.


# 984aff28 07-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Correct ypldap(8) install path in OptionalObsoleteFiles.inc

It's installed to /usr/sbin, not to /usr/bin (and was always here).

While here, add missing manpages and /var/yp directory to the list.

MFC after: 1 week

# 7e565c55 30-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r343320 through r343570.


# 31f53eaa 27-Jan-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Remove RADIUS-related files when WITHOUT_RADIUS_SUPPORT=true is set
in src.conf(5)

PR: 234041
MFC after: 5 days

# 88148a07 22-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r343202 through r343319.


# 58a7b5d6 22-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Update libc++ build glue, and ObsoleteFiles.

# 6b77b5ec 20-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add more profile-enabled libraries to remove when WITHOUT_PROFILE is defined

PR: 230898
Submitted by: Herbert J. Skuhra <herbert@mailbox.org>
MFC after: 1 week

# 0bf31f1f 20-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Update version numbers, and regenerate config headers for llvm, clang,
lld and lldb. Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc.

# 33b63711 17-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add ypldap to the list of conditional obsolete files

ypldap should be removed during delete-old if WITHOUT_NIS flag is enabled

PR: 230727
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>
MFC after: 1 week

# 0a34fc88 16-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Fix conditional obsolete files entry for WITHOUT_EXAMPLES

Add all the files under /usr/share/examples to the MK_EXAMPLES
section. OLD_DIRS entries are not removed if they're not empty so
prior to this change WITHOUT_EXAMPLES didn't have significant effect
on the updated system.

PR: 228484
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru> (original patch)
MFC after: 1 week

# aca16d28 16-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add optional obsolete files for the installworld without sendmail

Add two more entries for WITHOUT_SENDMAIL install. The /var/spool/clientmqueue
entry would be deleted only if there are no files/dirs in it, so the
content generated during previous lifecycle of the system is safe

PR: 228484
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>
MFC after: 1 week

# d46dea50 13-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add four kerberos CLI utilities to OptionalObsoleteFiles.inc

Add asn1_compile, make-roken, kcc, and slc to the OptionalObsoleteFiles.inc
so they would be removed during delete-old stage if the new world is built
without Kerberos support.

PR: 230725
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>
MFC after: 1 week

# 0fc0faf8 11-Jan-2019 Lars Engels <lme@FreeBSD.org>

Add `bluetooth-config` script to simplify setting up bluetooth connections to
devices like mice, keyboards, bt-audio, ...

This script currently allows scanning for nearby devices, adds one to
/etc/bluetooth/hosts, adds an entry to hcsecd's conf and if it is a HID, add an
entry to bthidd's configs, as well.

Submitted by: erdgeist <erdgeist@erdgeist.org>
Approved by: bapt
MFC after: 2 weeks
Differential Revision: D3778
Reviewers: bapt, emax

# 354c6a44 07-Jan-2019 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove groff leftovers

usr/share/dict/eign is removed unconditionally as of r319664, so it no
longer needs to be in OptionalObsoleteFiles.

PR: 230353
Reported by: philippe.michel7 sfr.fr

# b1ce931b 17-Dec-2018 Alan Somers <asomers@FreeBSD.org>

Conditionalize installtion audit(4) tests on MK_AUDIT

MK_AUDIT already controls auditd(8), praudit(1), etc. It should also control
the audit test suite.

Submitted by: ngie
MFC after: 2 weeks
Pull Request: https://github.com/freebsd/freebsd/pull/240

# 314ce98e 16-Dec-2018 Alan Somers <asomers@FreeBSD.org>

OptionalObsoleteFiles: Fix deleting usr/tests/usr.sbin/sa

It's a directory, not a file.

Reported by: ngie
MFC after: 2 weeks
X-MFC-With: 300938

# 738ea871 16-Dec-2018 Alan Somers <asomers@FreeBSD.org>

Conditionally install /etc/rc.d/audit* based on ${MK_AUDIT}

/usr/sbin/audit(dist)?d are only installed if ${MK_AUDIT} == yes. Their
supporting scripts should only be installed in those instances as well.

Submitted by: ngie
Reviewed by: emaste
MFC after: 2 weeks
Pull Request: https://github.com/freebsd/freebsd/pull/242

# 11783f00 15-Dec-2018 Cy Schubert <cy@FreeBSD.org>

Repair build post-r342139

# 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

# 67350cb5 09-Dec-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r340918 through r341763.


# eda7d3be 26-Nov-2018 Ed Maste <emaste@FreeBSD.org>

Do not install GNU ld if lld is /usr/bin/ld

GNU binutils ld.bfd 2.17.50 does not support ifuncs and produces broken
binaries when ifuncs are in use. When LLD_IS_LD is default we have an
ifunc-capable system linker and can just avoid installing ld.bfd.

Reported by: theraven
Reviewed by: bz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D18340

# 9b5cb2f6 12-Nov-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r340235 through r340367.


# e8bd2804 09-Nov-2018 Ed Maste <emaste@FreeBSD.org>

Move llvm-profdata build into MK_LLVM_COV block

llvm-profdata is used with llvm-cov for code coverage (although llvm-cov
can also operate independently in a gcov-compatible mode).
Although llvm-profdata can be used independently of llvm-cov it makes
sense to group these under one option.

Also handle these in OptionalObsoleteFiles.inc while here.

Sponsored by: The FreeBSD Foundation

# 9f7331ad 09-Nov-2018 Ed Maste <emaste@FreeBSD.org>

llvm-cov: also install as gcov (if GNU gcov is disabled)

llvm-cov provides a gcov-compatible interface when invoked as gcov.

Reviewed by: dim, markj
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D17923

# 2f02c9d6 09-Nov-2018 Ed Maste <emaste@FreeBSD.org>

Consolidate gcov entries in OptionalObsoleteFiles

Sponsored by: The FreeBSD Foundation

# 68948600 04-Nov-2018 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, lld, lldb, compiler-rt and libc++ release_70 branch
r346007 (effectively 7.0.1 rc2), resolve conflicts, and bump version
numbers.

PR: 230240, 230355


# ce44d808 27-Sep-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338731 through r338987.


# 25569cea 25-Sep-2018 Ed Maste <emaste@FreeBSD.org>

Do not remove ld man page if lld is enabled and binutils is not

Reported by: Mark Millard
Approved by: re (gjb)
Sponsored by: The FreeBSD Foundation

# 3af64f03 11-Sep-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338392 through r338594.


# 3efdd580 07-Sep-2018 Ed Maste <emaste@FreeBSD.org>

Remove strings from OptionalObsoleteFiles.inc

Since r326030 strings is installed unconditionally so should not be
removed when WITHOUT_TOOLCHAIN is set.

Reported by: Dan McGregor
Approved by: re (kib)
Sponsored by: The FreeBSD Foundation

# da2d1e9d 29-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338298 through r338391.


# 8369ba42 24-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

libbe(3)/bectl(8): Make consistent with beadm

vermaden (maintainer of beadm) points out the following inconsistencies:
- "missing command" is not printed prior to usage if the error is simply a
missing command; this should be obvious from the context
- "bectl rename" isn't using the "don't unmount" flag (zfs rename -u), so
the active BE can't be renamed. It doesn't make sense in our context to
*not* use -u, so use it.

Documentation updates reflect the above and note an inconsistency with the
'destroy' command that is consistent with other parts of the base system.

A fix for libbe(3) not properly being installed to /lib is included.
SHLIBDIR should have been added when it was moved in r337995.

Approved by: re (kib)

# 7847e041 24-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338026 through r338297, and resolve conflicts.


# d7f41421 23-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

Remove hyper-v leftovers when WITHOUT_HYPERV is set

hv_vss_daemon was missed.

Submitted by: Oliver Pinter
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D16811

# ea8b116b 22-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

Remove ZFS leftovers when WITHOUT_ZFS is set

Submitted by: Oliver Pinter
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D16810

# a757dfac 03-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Update lib/libclang_rt for compiler-rt trunk r338150.

# 488aa40a 02-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Update libc++ and libc++experimental Makefiles, add libc++fs Makefile,
and update OptionalObsoleteFiles.inc for new additions.

# 67b158f6 01-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Update build blue to make WITH_CLANG_EXTRAS and WITH_CLANG_FULL work.

# d28668f9 31-Jul-2018 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for new clang intrinsics headers.

# 6dfa117f 31-Jul-2018 Dimitry Andric <dim@FreeBSD.org>

Update llvm/clang version numbers in various files.

# 6f077571 04-Jul-2018 Sean Bruno <sbruno@FreeBSD.org>

WITHOUT_SERVICESDB:

Add src.conf knob to disable the installation of /var/db/services.db

Default to leaving services.db in place, but allow the removal of the
file and its creation with a src.conf knob.

This file ends up being 2MB in size. For small systems this is a waste
of space but its a tradeoff.

Reviewed by: bdrewery
Differential Revision: https://reviews.freebsd.org/D9655

# 55458465 30-Jun-2018 Dimitry Andric <dim@FreeBSD.org>

More follow-up to r335799 (llvm/clang 6.0.1 update), where I forgot to
update mtree files, ObsoleteFiles and a number of other paths. Sorry
about all the breakage.

Pointy hat to: me
MFC after: 2 weeks
X-MFC-With: r335799

# 6a75ef58 20-Jun-2018 Kyle Evans <kevans@FreeBSD.org>

Don't remove loader.conf(5) when built WITHOUT_FORTH

The new stand/ structure installs loader.conf(5) and defaults/loader.conf
regardless of interpreter. The only thing gating installation now is
MK_BOOT.

Reported by: eadler

# 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

# cd134777 12-Jun-2018 Sean Bruno <sbruno@FreeBSD.org>

WITHOUT_NLS cleanup of more empty dirs.

Reviewed by: emaste
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D15626

# a8056486 09-Jun-2018 Dimitry Andric <dim@FreeBSD.org>

Add missed libc++ entries to (Optional)ObsoleteFiles.inc

Some of these were removed during the libc++ 5.0.0 import, others were
added in the libc++ 6.0.0 import.

MFC after: 3 days

# 30dc9502 06-Jun-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Remove NLS support from BSD grep

GNU grep as in actually in base does not have any translations support
compiled in, so no functionnality loss.

We do support 193 locales in base, we will never catch up on that number of
translation with bsd grep.

Removing NLS support make bsd grep consistent with the other binaries in base
which are not translated, and also reduce a little bit the code.

Reviewed by: kevans
Approved by: kevans
Discussed with: kevans @BSDCan
Differential Revision: https://reviews.freebsd.org/D15682

# f3e32074 23-May-2018 Eitan Adler <eadler@FreeBSD.org>

Add missing file for WITH{OUT}_BSDINSTAL

PR: 227805
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>

# b70d78d6 12-May-2018 Dag-Erling Smørgrav <des@FreeBSD.org>

Rename all Unbound binaries and man pages from unbound* to local-unbound*.

PR: 222902

# 612c330d 25-Apr-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Use a script wrapper for <compress>grep

Import the wrapper script from zstdgrep (written by wiz@netbsd.org)

Modify it to support more than just zstd (adding support for gzip,
lzma, xz and bzip2)

Write a simple manpage dedicated for it.

Only use that new wrapper both for gnu grep and bsd grep

Next step will be removing code related to compression format from bsdgrep

Reviewed by: kevans
Approved by: kevans
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D15193

# a2739731 06-Feb-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Remove gdbtui, it was already not installed on every arches
only installed on arm and sparc64.
It is the only bits that keeps us having libreadline in base
The rest of gdb can be switched to libedit and will be in another
commit

# fe4fed2e 28-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, lld, lldb, compiler-rt and libc++ trunk r321545,
update build glue and version numbers, add new intrinsics headers, and
update OptionalObsoleteFiles.inc.


# c9d5cb17 24-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc again.

# 0c4684a8 23-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for new headers and libraries under
/usr/lib/clang/6.0.0.

# 9509d906 23-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Add new llvm-objcopy utility, enabled when MK_CLANG_EXTRAS=yes.

# d49fee24 20-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc.

# d4419f6f 02-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copies of clang, llvm, lldb and libc++ to r319231 from the
upstream release_50 branch. This corresponds to 5.0.1 rc2.

MFC after: 2 weeks


# 898300ee 07-Nov-2017 Alexander Motin <mav@FreeBSD.org>

s/NgSendMsgReply/NgSendReplyMsg/ in man to match the code.

Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
MFC after: 2 weeks

# 578ec783 11-Oct-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Do not try to remove diff.7 optionaly has it is always removed
since GNU diff(1) has been replaced with BSD diff(1)

# 00d78afd 11-Oct-2017 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove diff from MK_GNU_DIFF=no block

diff (and man page) are not from GNU, as of r317209, and should not be
deleted if WITHOUT_GNU_DIFF is set. (WITHOUT_GNU_DIFF still controls
whether diff3 is built.)

Sponsored by: The FreeBSD Foundation

# e415aa28 06-Oct-2017 Jeremie Le Hen <jlh@FreeBSD.org>

Remove rcmds.

If they are still needed, you can find them in the net/bsdrcmds port.

This was proposed June, 20th and approved by various committers [1].
They have been marked as deprecated on CURRENT in r320644 [2] on July, 4th.
Both stable/11 and release/11.1 contain the deprecation notice (thanks to
allanjude@).

Note that ruptime(1)/rwho(1)/rwhod(8) were initially thought to be part of
rcmds but this was a mistake and those are therefore NOT removed.

[1] https://lists.freebsd.org/pipermail/freebsd-arch/2017-June/018239.html
[2] https://svnweb.freebsd.org/base?view=revision&revision=320644

Reviewed by: bapt, brooks
Differential Revision: https://reviews.freebsd.org/D12573

# 4154e70e 14-Sep-2017 Ed Maste <emaste@FreeBSD.org>

Update OptionalObsoleteFiles.inc with NTP docs

The list of files for MK_NTP was incomplete.

PR: 218193
Submitted by: brnrd
MFC after: 1 week

# 4572fb3f 13-Sep-2017 Gordon Tetlow <gordon@FreeBSD.org>

Deorbit catman. The tradeoff of disk for performance has long since tipped
in favor of just rendering the manpage instead of relying on pre-formatted
catpages. Note, this does not impede the ability to use existing catpages,
it just removes the utility to generate them.

Reviewed by: imp, allanjude
Approved by: emaste (mentor)
Differential Revision: https://reviews.freebsd.org/D12317

# 63cd05d9 16-Aug-2017 Ed Maste <emaste@FreeBSD.org>

remove debug files in delete-old* when WITHOUT_DEBUG_FILES

Reported by: brd
Reviewed by: bdrewery, brd
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D12044

# 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

# db17bf38 10-Jun-2017 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, lld, lldb, compiler-rt and libc++ r305145, and update
build glue.


# 686fb94a 10-Jun-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r319548 through r319778.


# 738919c0 07-Jun-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Remove groff from base

All manpages in base are now compatible with mandoc(1), all roff documentation
will be relocated in the doc tree. man(1) can now use groff from the ports tree
if it needs.

Also remove checknr(1) and colcrt(1) which are only useful with groff.

Approved by: (no objections on the mailing lists)

# f9448bf3 01-Jun-2017 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, lld, lldb, compiler-rt and libc++ r304460, and update
build glue.


# d02c951f 26-May-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r318658 through r318963.


# cdc37953 25-May-2017 Baptiste Daroussin <bapt@FreeBSD.org>

In preparation for the removal of the roff toolchain, disconnect the
roff documentation from the build.

Those documents will be added to the doc tree and distributed as PDF from
the documentation website. As they are valuable has history, but do not match
current FreeBSD

Further more, the ascii format we were using to distribute them is not really
accurate for such documents.

more details:
https://lists.freebsd.org/pipermail/freebsd-arch/2017-May/018211.html

# 583b5f35 23-May-2017 Glen Barber <gjb@FreeBSD.org>

Honor WITHOUT_TFTP for check-old* and delete-old* targets.

Submitted by: philippe dot michel7 at sfr dot fr
PR: 217949
MFC after: 3 days
Sponsored by: The FreeBSD Foundation

# 27c24068 22-May-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r318560 through r318657.


# 6930ca74 21-May-2017 Dimitry Andric <dim@FreeBSD.org>

Add libc++experimental.a for std::experimental support

This adds a separate library for supporting std::experimental features.
It is purposefully static, and must be explicitly linked into programs
using -lc++experimental.

PLEASE NOTE: there is NO WARRANTY as to any stability or continuing
existence of the features in the std::experimental parts of the C++
library!

Reviewed by: ed
Differential Revision: https://reviews.freebsd.org/D10840

# 209be205 16-May-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r317971 through r318379.


# e5c4c8aa 12-May-2017 Enji Cooper <ngie@FreeBSD.org>

Handle the logfiles in newsyslog and syslogd conditionally, based on
src.conf(5) knobs

This will allow consumers of FreeBSD to use the unmodified configuration
files out of the box more than previously.

Both newsyslog.conf and syslog.conf:
- /var/log/lpd-errs (MK_LPR != no)
- /var/log/ppp.log (MK_PPP != no)
- /var/log/xferlog (MK_FTP != no)

newsyslog.conf:
- /var/log/amd.log (MK_AMD != no)
- /var/log/pflog (MK_PF != no)
- /var/log/sendmail.st (MK_SENDMAIL != no)

MFC after: 3 weeks
Sponsored by: Dell EMC Isilon

# 2cb572a0 11-May-2017 Enji Cooper <ngie@FreeBSD.org>

Unconditionally install udp(4) and udplite(4) again

I added this to the MK_USB != no block in error in r278202.

MFC after: 3 weeks
Sponsored by: Dell EMC Isilon

# 50f2b14e 09-May-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for r318103.

# af3f3602 26-Apr-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r317281 through r317502.


# b4e2ab78 25-Apr-2017 Brooks Davis <brooks@FreeBSD.org>

Remove NATM configuration bits and assorted NATM and ATM remnants.

Reported by: ak
Reviewed by: ngie (first version)
Differential Revision: https://reviews.freebsd.org/D10497

# 73ad3fb5 25-Apr-2017 John Baldwin <jhb@FreeBSD.org>

Add a new GDB_LIBEXEC option to install gdb and kgdb to /usr/libexec.

When this option is enabled, only gdb and kgdb are installed to
/usr/libexec for use by crashinfo(8). Other bits of GDB such as
gdbserver and gdbtui are not installed. For this option to be
effective, GDB must be enabled.

Rework r317094 to re-enable GDB on all platforms but enable
GDB_LIBEXEC on platforms for which the GDB in ports is a superset of
functionality.

Reviewed by: emaste, kib
Suggested by: kib
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D10449

# b3ac6549 25-Apr-2017 Glen Barber <gjb@FreeBSD.org>

Remove an incorrect MLINK for tree(3) introduced in r310728.

Reported by: many
PR: 216476
MFC after: 3 days
Sponsored by: The FreeBSD Foundation

# 12ea3078 25-Apr-2017 John Baldwin <jhb@FreeBSD.org>

Remove info files from optional old files.

Info files are now all removed unconditionally after the removal of
texinfo.

MFC after: 1 week

# 554491ff 20-Apr-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r316992 through r317215.


# 50502545 20-Apr-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Readd Big5: some large databases setup are still requiring it.

Reported by: "張君天(Chun-Tien Chang)" <tcs@kitty.2y.idv.tw>

# f849be8a 16-Apr-2017 Dimitry Andric <dim@FreeBSD.org>

Add preliminary UPDATING and ObsoleteFiles.inc entries. Also add one
new intrinsics header.

# 2f4a7332 14-Apr-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionally install /etc/pam.d/ftp* and /etc/pam.d/telnetd

/etc/pam.d/ftp* should be installed with MK_FTP != no and
/etc/pam.d/telnetd should be installed when MK_TELNET != no.

MFC after: 7 weeks
Sponsored by: Dell EMC Isilon

# ababdab0 19-Mar-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Remove zh_TW.Big5 locale

After discussion with many Taiwanese, in IT or not. Big5 is not used anymore.
It is not able to represent lots of the characters used in the language.

# 2aadc44a 14-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Redirect standard error from find /rescue to /dev/null

This mutes noise from find when /rescue doesn't exist.

MFC after: 1 week
Sponsored by: Dell EMC Isilon

# 83684150 11-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Remove /rescue/zdb if MK_ZFS == no

Missed in r202452.

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# 4ab40004 11-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionally compile [additional] programs into rescue(8) if requested

Trivial oversight missed in r314240 cleanup because I enable these knobs on
my test machines.

MK_INET6_SUPPORT - rtsol
MK_NETCAT - nc

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# a1437e83 11-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Remove /rescue/iscsictl and /rescue/iscsid if MK_ISCSI == no

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# 97ab006d 10-Mar-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Remove the WITHOUT_MANDOCDB option

mandoc database is activated since FreeBSD 11.0, let's remove the previous
database format for FreeBSD 12.0

# d630701f 25-Feb-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r314178 through r314269.


# edb4a773 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Fill MK_LIBTHR as far as lib/libthr is concerned

There are other areas of the tree that will need to be evaluated for sanity
if they're supposed to be conditionally compiled out of the build/install,
like libzpool

MFC after: 1 month
Relnotes: yes (this might break someone's system if have the knob set)
Sponsored by: Dell EMC Isilon

# dc53eebd 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Remove MK_OBJC block

It is no longer represented via src.conf(5)

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# 31c3fb77 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Remove MK_CRYPT stub

It doesn't directly control what gets installed today; it indirectly
pulls other knobs (like MK_KERBEROS, etc).

MFC after: 1 weeks
Sponsored by: Dell EMC Isilon

# f0e14055 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Fill in MK_RESCUE by finding paths in ${DESTDIR}/rescue and adding
them to OLD_FILES/OLD_DIRS, as necessary.

MFC after: 1 month
Sponsored by: Dell EMC Isilon

# 5673173e 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionally compile certain programs into rescue(8) if requested

MK_CCD - ccdconfig
MK_ROUTED - routed, rtquery

MFC after: 2 weeks
Sponsored by: Dell EMC Isilon

# a3906ca5 17-Feb-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r313644 through r313895.


# 9264dd40 17-Feb-2017 Sean Bruno <sbruno@FreeBSD.org>

Update OLD_DIRS for various targets so that some of the branches of
directories are pruned when the appropriate knobs are turned.

Specifically, turning off bsdconfig, locales, examples, i18n, man,
ntp, syscons. It may not seem like a lot, but it helps when trying
to keep an x86 image under 96MB for MFSRoot netbooting.

Reviewed by: ngie
Differential Revision: https://reviews.freebsd.org/D9558

# 65575c14 29-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r312894 through r312967.


# 2b375b4e 27-Jan-2017 Yoshihiro Takahashi <nyan@FreeBSD.org>

Remove pc98 support completely.
I thank all developers and contributors for pc98.

Relnotes: yes

# 2dd1186c 27-Jan-2017 Ed Maste <emaste@FreeBSD.org>

Rename LLD_AS_LD to LLD_IS_LD, for consistency with CLANG_IS_CC

An additional case missed in r312855

# ca4fe588 27-Jan-2017 Ed Maste <emaste@FreeBSD.org>

Additional LD_AS_LLD -> LD_IS_LLD missed in r312894/r312895

# 80779b37 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge libc++ trunk r291476, update Makefile, ObsoleteFiles.inc and
OptionalObsoleteFiles.inc.


# 7b173dd6 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Add additional libc++ 4.0.0 headers.

# b0cc56ed 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r311692 through r311807.


# 0219a006 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Add recently added libc++ headers to OptionalObsoleteFiles.inc.

MFC after: 3 days

# 69415bc5 08-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r311546 through r311683.


# dc6e1047 06-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Link llvm-ar to llvm-ranlib, if WITH_CLANG_EXTRAS is enabled. When
invoked as llvm-ranlib, it can create an archive symbol table for
archives of objects compiled for LTO by an LLVM compiler.

Submitted by: Dan McGregor <danismostlikely@gmail.com>
MFC after: 3 days

# d8c03e73 04-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r311306 through r311313.


# 4c3d1ae2 04-Jan-2017 Jung-uk Kim <jkim@FreeBSD.org>

Remove llvm-objdump when Clang is disabled. It was missed in r310889.

Submitted by: dim

# 281264c5 04-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Add new llvm-{cxxfilt,lto2,modextract,xray} tools.

# 56e860c0 03-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc.

# cfd05404 31-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install bsnmpclient(3) as snmp_client_{init,set_host,set_port}(3)

MFC after: 3 days
X-MFC with: r310999

# a2795311 30-Dec-2016 Jung-uk Kim <jkim@FreeBSD.org>

Do not remove llvm-objdump. It is installed by default since r310840.

# 027e6861 28-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install {asn1,bsnmpagent,bsnmpclient,bsnmplib}.3 as all of the APIs
they document

Also, alphabetically sort MAN

MFC after: 3 days

# fdf6944b 28-Dec-2016 Andriy Voskoboinyk <avos@FreeBSD.org>

rum.4, run.4, runfw.4, zyd.4: do not install when MK_USB == no.

While here, add missing if_rtwn_usb.4.gz symlink into
OptionalObsoleteFiles.inc

# 4568bf74 27-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Only build/install usr.sbin/bsnmpd/modules/snmp_hast if MK_HAST != no

MFC after: 1 week

# 38bf4fd7 27-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Only build/install usr.sbin/bsnmpd/modules/snmp_wlan if MK_WIRELESS != no

MFC after: 1 week

# f66b889d 27-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install snmpmod.3 as all of the bsnmpd APIs it documents

MFC after: 3 days

# 7a53f9a7 17-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r310169 through r310190.


# 9e373074 16-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Remove lib/libelf's manpages if MK_TOOLCHAIN == no

Add a comment to help figure out which set is lib/libelf's and which set
is lib/libelftc's

MFC after: 1 week

# 4cc3366d 16-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install the lib/libelftc manpages

Some other manpages, e.g. c++filt reference these

MFC after: 1 week

# 5b18539f 10-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r309758 through r309803.


# 1a4604e3 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_FINGER in src.conf when running make delete-old

PR: 213719
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# bdc5a216 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_BOOTPD in src.conf when running make delete-old

PR: 213720
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# 06af16fb 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_BOOTPARAMD in src.conf when running make delete-old

PR: 213721
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# 53a04062 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_RBOOTD in src.conf when running make delete-old

PR: 213722
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# 87ac01ca 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Also remove auditdistd files if src.conf has WITHOUT_AUDIT

PR: 213723
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# 0c421ffe 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Add entries to remove timed files with make delete-old if WITHOUT_TIMED is set

PR: 213724
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# beced2ea 09-Dec-2016 Ed Maste <emaste@FreeBSD.org>

Keep /usr/bin/ld for WITHOUT_BINUTILS but WITH_LLD_AS_LD

Reported by: Nikolai Lifanov

# 1bde3b70 09-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r309519 through r309757.


# 8d4ddada 05-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Remove svn[lite]{bench,fsfs} if either MK_SVN == no or MK_SVNLITE == no

MFC after: 1 week

# 5042637b 02-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Update build glue for clang 3.9.1 r288513.

# d6d16831 27-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r309170 through r309212.


# 6908adc3 27-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Add a few missed clang 3.9.0 files to OptionalObsoleteFiles.

X-MFC-With: 309149

# 45bd65d6 25-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Add UPDATING entry and update ObsoleteFiles.inc.

# 02ebdc78 31-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r307736 through r308146.


# 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

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

Do not install NIS program rc script if WITHOUT_NIS is set

PR: 213375
Submitted by: sergey@akhmatov.ru
MFC after: 3 days

# 5763f796 21-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r307383 through r307735.


# 547d4caa 21-Oct-2016 Enji Cooper <ngie@FreeBSD.org>

Remove /usr/libexec/bsdinstall/hardening if MK_BSDINSTALL == no

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# 94ff3d03 20-Oct-2016 Ed Maste <emaste@FreeBSD.org>

Add knobs to make GNU diff and GNU grep optional

This is added to facilitate experiments building FreeBSD without
copyleft software.

If WITHOUT_GNU_DIFF is set no /usr/bin/diff or /usr/bin/diff3 will
be built.

If WITHOUT_GNU_GREP is set then BSD grep will be installed as
/usr/bin/bsdgrep or /usr/bin/grep, depending on the WITH_BSD_GREP
knob.

Reviewed by: brooks (earlier)
Sponsored by: The FreeBSD Foundation
Differential Revision: Differential Revision: https://reviews.freebsd.org/D8288

# 7453645f 17-Oct-2016 Andriy Voskoboinyk <avos@FreeBSD.org>

rtwn(4), urtwn(4): merge common code, add support for 11ac devices.

All devices:
- add support for rate adaptation via ieee80211_amrr(9);
- use short preamble for transmitted frames when needed;
- multi-bss support:
* for RTL8821AU: 2 VAPs at the same time;
* other: 1 any VAP + 1 sta VAP.
RTL8188CE:
- fix IQ calibration bug (reason of significant speed degradation);
- add h/w crypto acceleration support.
USB:
- A-MPDU Tx support;
- short GI support;
Other:
- add support for RTL8812AU / RTL8821AU chipsets
(a/b/g/n only; no ac yet);
- split merged code into subparts:
* bus glue (usb/*, pci/*, rtl*/usb/*, rtl*/pci/*)
* common (if_rtwn*)
* chip-specific (rtl*/*)
- various other bugfixes.

Due to code reorganization, module names / requirements were changed too:
urtwn urtwnfw -> rtwn rtwn_usb rtwnfw
rtwn rtwnfw -> rtwn rtwn_pci rtwnfw

Tested with RTL8188CE, RTL8188CUS, RTL8188EU and RTL8821AU.

Tested by: kevlo, garga,
Peter Garshtja <peter.garshtja@ambient-md.com>,
Kevin McAleavey <kevin.mcaleavey@knosproject.com>,
Ilias-Dimitrios Vrachnis <id@vrachnis.com>,
<otacilio.neto@bsd.com.br>
Relnotes: yes

# a0e610c4 15-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r306906 through r307382.


# a0135a1e 14-Oct-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Remove GNU rcs from base.

GNU rcs is still available as a package:
- rcs: Latest GPLv3 GNU rcs version.
- rcs57: Copy of the latest version of GNU rcs (GPLv2) from base.

Relnotes: yes

# bba922dd 13-Oct-2016 Enji Cooper <ngie@FreeBSD.org>

Also, remove etc/rc.d/zfsbe when MK_ZFS == no

X-MFC with: r307182, r307191
Sponsored by: Dell EMC Isilon

# f884b59d 10-Oct-2016 Ed Maste <emaste@FreeBSD.org>

Remove old makewhatis(1) man page when using mandoc

mandoc installs makewhatis(8)

# 242b2482 09-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r306412 through r306905.


# 9ce3c6b0 03-Oct-2016 Ed Maste <emaste@FreeBSD.org>

Retire WITHOUT_ELFCOPY_AS_OBJCOPY option

In FreeBSD 11 ELF Tool Chain's elfcopy is installed as objcopy by
default, with the option to switch back to GNU objcopy by setting
WITHOUT_ELFCOPY_AS_OBJCOPY in make.conf.

We plan to remove the outdated in-tree binutils in FreeBSD 12, so
remove the temporary transition aid.

Reviewed by: brooks, imp
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D7337

# 335bcabe 28-Sep-2016 Ed Maste <emaste@FreeBSD.org>

Merge ^/head r306303 through 306411.


# 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

# dd792b9c 07-Sep-2016 Ed Maste <emaste@FreeBSD.org>

Add ld.lld to OptionalObsoleteFiles

# dd6675fd 02-Sep-2016 Dimitry Andric <dim@FreeBSD.org>

Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc.

# 09b9789b 19-Aug-2016 John Baldwin <jhb@FreeBSD.org>

Remove the wl(4) driver and wlconfig(8) utility.

The wl(4) driver supports pre-802.11 PCCard wireless adapters that
are slower than 802.11b. They do not work with any of the 802.11
framework and the driver hasn't been reported to actually work in a
long time.

Relnotes: yes

# 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

# bd4dcc3e 22-Jul-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Move chown tests to proper path

Sponsored by: EMC / Isilon Storage Division

# d39abb6f 03-Jul-2016 Enji Cooper <ngie@FreeBSD.org>

Remove ftp(1) related files when MK_FTP == no

Approved by: re (gjb)
Differential Revision: https://reviews.freebsd.org/D6969
MFC after: 1 week
Reviewed by: ngie
Submitted by: rakuco
Sponsored by: EMC / Isilon Storage Division

# 3cf6509d 03-Jul-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Posixify the locales name for variants

For all locales with variants:
- if no ambiguity on the locale (only one variant) just use the regular name
- if ambiguity, pick one as default and append @<variant> to the others
respecting POSIX

As a result:
- All the 3 components locales added recently are renamed to the usual 2
components version for all but sr_RS.UTF-8
- Set sr_RS.UTF-8 to the cyrillic variant
- Add sr_RS.UTF-8@latin
- Remove the symlinks aliases they were created to represent the 2 components
version as aliasas and are now useless
- Update the OptionalObsoleteFiles.inc and ObsoleteFiles.inc to reflect those
changes

Discussed with: ache@
Approved by: re@ (gjb)

# bc2abcfd 17-Jun-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Add clang-format under WITH_CLANG_EXTRAS.

Reviewed by: dim
Approved by: re (gjb)
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D6856

# 328e4174 08-Jun-2016 Dag-Erling Smørgrav <des@FreeBSD.org>

Replace _pam_verbose_error() with a macro. This was the last difference
between our libpam and stock OpenPAM, meaning that it is now possible to
replace the base libpam with a hypothetical ports version of OpenPAM.

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

Separate BLACKLIST vs BLACKLIST_SUPPORT properly

Sponsored by: The FreeBSD Foundation

# bccb3f5a 04-Jun-2016 Kurt Lidl <lidl@FreeBSD.org>

Correct path for blacklistd.conf in OptionalObsoleteFiles.inc

Fix typo made when adding the blacklistd.conf file to OptionalObsoleteFiles.inc

Submitted by: Herbert J. Skuhra ( herbert at mailbox.org )
Reviewed by: rpaulo
Approved by: rpaulo
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6715

# 0871a7d5 03-Jun-2016 Kurt Lidl <lidl@FreeBSD.org>

Add blacklistd.conf manpage

Install the blacklistd.conf man page, missed in the original commit.

Submitted by: Herbert J. Skuhra ( herbert at mailbox.org )
Reviewed by: rpaulo
Approved by: rpaulo
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6702

# 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

# d9082519 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove yacc and the yacc tests if MK_TOOLCHAIN == no

yacc's install is conditional based on MK_TOOLCHAIN != no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 5c46b734 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove the sa(8) tests if MK_ACCT == no when "make delete-old" is run

sa(8) is conditionally installed based on MK_ACCT != no today

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 36873e79 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove the etcupdate tests if MK_RCS == no when "make delete-old" is run

etcupdate is conditionally installed based on MK_RCS != no today

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# a058bc90 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove the calendar tests if MK_CALENDAR == no when "make delete-old"
is run

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 904bea83 14-May-2016 Enji Cooper <ngie@FreeBSD.org>

Conditionalize installing etc/rc.d/atm{1,2,3}

`BEFORE: netif` was already in etc/rc.d/atm1, so no additional changes
are needed in that script

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

# fbee792a 14-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove etc/rc.d/{zfs,zvol} if MK_ZFS != no

MFC after: 2 weeks
X-MFC with: r299840
Sponsored by: EMC / Isilon Storage Division

# 9941801f 06-May-2016 Enji Cooper <ngie@FreeBSD.org>

Only install etc/rc.d/{rfcomm_pppd_server,sdpd} if MK_BLUETOOTH != no

These are bluetooth specific services

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 9c613777 06-May-2016 Enji Cooper <ngie@FreeBSD.org>

Fix r299162

share/man/man8/Makefile:
- Add src.opts.mk so MK_NIS can be tested
- Fix typo in MK_NIS conditional

tools/build/mk/OptionalObsoleteFiles.inc:
- Remove WIP diff from ^/user/ngie/detangle-rc

MFC after: 1 week
X-MFC with: r299162
Sponsored by: EMC / Isilon Storage Division

# 18128d28 06-May-2016 Enji Cooper <ngie@FreeBSD.org>

Only install NIS section 8 manpages if MK_NIS != no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 2353cc3d 16-Apr-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Complete the Obsoletefiles entries

# 110cf8a6 16-Apr-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Regenerates locales Makefiles and locales

# 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

# 9893f787 21-Feb-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r295601 through r295844.


# 156e1855 19-Feb-2016 Ed Maste <emaste@FreeBSD.org>

Remove objcopy in WITHOUT_TOOLCHAIN if it's from elftoolchain

# 4156ce4f 11-Feb-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r295351 through r295543.


# 8232a681 11-Feb-2016 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove unbound-contrl-setup since we use a local control socket which
does not require keys.

MFC after: 3 days
Relnotes: yes

# b229c1a0 08-Jan-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r293280 through r293429.


# f5b4d341 07-Jan-2016 Renato Botelho <garga@FreeBSD.org>

Obsolete inetd related files when WITHOUT_INETD is set

Reviewed by: bapt
Approved by: gnn
MFC after: 1 week
Sponsored by: Rubiconn Communications (Netgate)
Differential Revision: https://reviews.freebsd.org/D4742

# f3304b8d 06-Jan-2016 Dimitry Andric <dim@FreeBSD.org>

Add new pkuintrin.h intrinsics header.

# 34cdd776 31-Dec-2015 Dimitry Andric <dim@FreeBSD.org>

First part of updating llvm/clang build glue: getting llvm-tblgen,
clang-tblgen and clang itself built.

# 802df53c 30-Dec-2015 Dimitry Andric <dim@FreeBSD.org>

Update various build glue files for the new llvm/clang version number.

# 9a4b3118 25-Dec-2015 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copies of clang and llvm to 3.7.1 release. This is a
bugfix-only release, with no new features.

Please note that from 3.5.0 onwards, clang and llvm require C++11
support to build; see UPDATING for more information.


# e7beaf99 23-Dec-2015 Ed Maste <emaste@FreeBSD.org>

Install ld also as ld.bfd, for use with cc -fuse-ld=bfd

PR: 205409 [exp-run]
MFC after: 1 week
Relnotes: Yes
Sponsored by: The FreeBSD Foundation

# a2acf602 16-Dec-2015 Ed Maste <emaste@FreeBSD.org>

Remove lldb(1) files if WITHOUT_LLDB is set

Sponsored by: The FreeBSD Foundation

# a9dfc956 01-Dec-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Fully connect cddl/usr.sbin/plockstat.

There seems to be no reason to keep this so private.

Also add missing optional MK_CDDL files.

Sponsored by: EMC / Isilon Storage Division

# 85ab8f98 29-Nov-2015 Dimitry Andric <dim@FreeBSD.org>

Install the public sanitizer headers. These are useful for programs
that want to directly interface with sanitizer internals.

# 1d211085 15-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Bring back a couple of ISO8859-15 locales:
- af_ZA.ISO8859-15
- en_AU.ISO8859-15
- en_CA.ISO8859-15
- en_NZ.ISO8859-15
- en_US.ISO8859-15
- fr_CA.ISO8859-15

# 0dc64c20 15-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Remove trailing spaces at end of lines

# 99b47c3c 15-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Update the list of files to be removed in case world is built WITHOUT_LOCALES

# 44642b54 10-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

- Move ng_bluetooth.4 under MK_BLUETOOTH != no
- Move all section 5 bluetooth manpages under MK_BLUETOOTH != no

MFC after: 3 days
PR: 193260
Reported by: Philippe Michel <philippe.michel7@sfr.fr>
Sponsored by: EMC / Isilon Storage Division

# 07fa68d6 07-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Catchup with latest changes for ObsoleteFiles in case base is built using
WITHOUT_LOCALE knob

# 3e4f384e 07-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from head r290483


# 2a923f8f 01-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

Rename etc/periodic/daily/430.status-rwho to periodic/daily/430.status-uptime

The command was checking local/remote system uptime, so rename the script to
match its function and to avoid confusion

The controlling variable in /etc/periodic.conf has been renamed from
daily_status_rwho_enable to daily_status_uptime_enable.

MFC after: 3 days
Reported by: Peter Jeremy <peter@rulingia.com>
Relnotes: yes
Sponsored by: EMC / Isilon Storage Division

# 55972acf 01-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

Conditionally install (if_)?(otus|rsu).4, otusfw.4, rsufw.4, and urtwn.4 if
MK_USB != no

Add the manpages to OptionalObsoleteFiles.inc

As a side-effect, this also fixes installworld with MK_USB == no

X-MFC with: r290128
Sponsored by: EMC / Isilon Storage Division

# 3c3feed4 01-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from head


# 567be5c2 24-Oct-2015 Enji Cooper <ngie@FreeBSD.org>

Add libvmmapi to OptionalObsoleteFiles.inc when MK_BHYVE == no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 74c52c65 20-Oct-2015 Julio Merino <jmmv@FreeBSD.org>

Handle lib32 files during delete-old* when MK_LIB32=no.

Extend OptionalObsoleteFiles.inc to delete all lib32 files when MK_LIB32 is
set to no on a system that previously had lib32 libraries installed.

Also, to prevent "make delete-old-dirs" from always deleting lib32 directories
after an installworld, move the lib32 subtree to its own mtree file that only
gets applied when MK_LIB32=yes.

Test: Ran "make delete-old" and "make delete-old-libs" on a system that never
had MK_LIB32 enabled, and on a system where MK_LIB32 was enabled and later
disabled. Did this both on amd64 and powerpc64.

Test: Ran "make tinderbox" without errors.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D3923

# becbad1f 13-Oct-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from head


# 65dcb5bc 01-Oct-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r288197 through r288456.


# 9875367b 27-Sep-2015 Andriy Gapon <avg@FreeBSD.org>

remove unused sgsmsg utility (originally imported from opensolaris)

MFC after: 25 days

# 1e066951 25-Sep-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Add missing binutils ldscripts.

Some of these are after the fix in r288230 to install them.

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

# 26e065d0 22-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r288035 through r288099.


# f7d9215f 20-Sep-2015 Enji Cooper <ngie@FreeBSD.org>

Delete /etc/autofs/special_noauto when MK_AUTOFS == no

MFC after: 1 week

# b1fa820d 20-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Don't install Intrin.h, as this is an intrinsics header for Windows.

# 854fa44b 16-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Update libc++ to 3.7.0 release.


# b6c25e0e 06-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Update llvm, clang and lldb to 3.7.0 release.


# 23a32822 25-Aug-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from HEAD


# 6fdf637e 17-Aug-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r286697 through r286857.


# 55f80482 13-Aug-2015 Antoine Brodin <antoine@FreeBSD.org>

Stop removing ELF toolchain tools

# 1bc28ffc 13-Aug-2015 Ed Maste <emaste@FreeBSD.org>

Roll WITHOUT_ELFTOOLCHAIN_TOOLS into WITHOUT_TOOLCHAIN

The option was added only to ease the transition from GNU Binutils to
ELF Tool Chain tools, and that process is now complete (for the viable
replacements). Noting the removal in UPDATING is sufficient as we have
not shipped a release with the option.

Reviewed by: brooks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3240

# f98ee844 12-Aug-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r286422 through r286684.


# 53d2ddb3 11-Aug-2015 Julio Merino <jmmv@FreeBSD.org>

Mark usr/include/c++/v1/tr1 as obsolete

The directory usr/include/c++/v1 was marked as obsolete but its tr1 subdir
was not, resulting in a removal error in delete-old.

# e2ff105a 09-Aug-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Update Obsolete files in case MK_LOCALE=no

# b8a1f275 08-Aug-2015 Renato Botelho <garga@FreeBSD.org>

Add missing files to sendmail obsolete files list

Approved by: gshapiro
MFC after: 3 days
Sponsored by: Netgate
Differential Revision: https://reviews.freebsd.org/D3302

# 1347814c 07-Aug-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r285924 through r286421.


# f97aa232 05-Aug-2015 Ed Maste <emaste@FreeBSD.org>

Remove old GNU Binutils tools now provided by ELF Tool Chain

Reviewed by: bapt, brooks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3238

# b43cca13 29-Jul-2015 Ed Maste <emaste@FreeBSD.org>

MK_ELFCOPY_AS_OBJCOPY should be a variable

PR: 201978
Submitted by: O. Hartmann
Differential Revision: https://reviews.freebsd.org/D2887

# 5ea9e83e 29-Jul-2015 Ed Maste <emaste@FreeBSD.org>

Allow ELF Tool Chain elfcopy to be installed as objcopy

ELF Tool Chain elfcopy is nearly a drop-in replacement for GNU objcopy,
but does not currently support PE output which is needed for building
x86 UEFI bits.

Add a src.conf knob to allow installing it as objcopy and set it by
default for aarch64 only, where we don't have a native binutils.

Reviewed by: bapt
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2887

# 2d83b16b 29-Jul-2015 Ed Maste <emaste@FreeBSD.org>

Update OLD_FILES for tools provided by ELF Tool Chain or Binutils

Sponsored by: The FreeBSD Foundation

# 5f78ec1c 27-Jul-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r285793 through r285923.


# c048a83f 26-Jul-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Replace GNU RCS ident with a BSD license ident

Rationale: ident(1) is useful out of RCS, lot of scripts are using ident(1) and
failing when base is built WITHOUT_RCS.

This version is:
- fully compatible with RCS 5.7 ident.
- fully compatible with RCS 5.9 ident.
- passes all ident test from GNU RCS 5.9 test suite

This version has support for: svn extension for the Keyword id (double colon and
# before last $)

Différences with GNU RCS ident:
- no long options as found in GNU RCS 5.9 (but not commented there).
- '-V' reports nothing but has been added for compatibility.

Differential Revision: https://reviews.freebsd.org/D3200
Reviewed by: pfg

# 8d0f1085 22-Jul-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r285341 through r285792.


# 96a59ba2 15-Jul-2015 Andrey A. Chernov <ache@FreeBSD.org>

Comment out usr/sbin/mailwrapper removal
because for no mailwrapper case we have:
/usr/sbin/sendmail -> /usr/sbin/mailwrapper
/usr/sbin/mailwrapper -> /usr/libexec/sendmail/sendmail
Add comment explaining it.

# 3dac3a9b 05-Jul-2015 Dimitry Andric <dim@FreeBSD.org>

Update llvm/clang to r241361.


# cc38b640 23-Jun-2015 Dimitry Andric <dim@FreeBSD.org>

Update llvm/clang build glue.

# 76aeda8a 20-Jun-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r284188 through r284643.


# 62a996ed 20-Jun-2015 Antoine Brodin <antoine@FreeBSD.org>

Add more obsolete files

# 78fa96c2 20-Jun-2015 Antoine Brodin <antoine@FreeBSD.org>

Add some files to remove when MK_BSD_GREP=no

# e2dd1974 17-Jun-2015 Baptiste Daroussin <bapt@FreeBSD.org>

The build and installation of rmail(8) is only related to the SENDMAIL option

# 15953005 17-Jun-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Do not remove mailwrapper(8) in case WITHOUT_SENDMAIL is used

It is required for other tools in base and/or ports like dma(8) or any MTA
available in ports. It is also build and installed anyway even if world is built
WITHOUT_SENDMAIL

# 6b02d180 30-May-2015 Dimitry Andric <dim@FreeBSD.org>

Restore an accidentally deleted .endif.

# ebeff3f9 30-May-2015 Dimitry Andric <dim@FreeBSD.org>

Update Makefiles and other build glue for llvm/clang 3.7.0, as of trunk
r238337.

# ef6fa9e2 25-May-2015 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of clang and llvm to 3.6.1 release.

This release contains the following cherry-picked revisions from
upstream trunk:

226124 226151 226164 226165 226166 226407 226408 226409 226652
226905 226983 227084 227087 227089 227208 227209 227210 227211
227212 227213 227214 227269 227430 227482 227503 227519 227574
227822 227986 227987 227988 227989 227990 228037 228038 228039
228040 228188 228189 228190 228273 228372 228373 228374 228403
228765 228848 228918 229223 229225 229226 229227 229228 229230
229234 229235 229236 229238 229239 229413 229507 229680 229750
229751 229752 229911 230146 230147 230235 230253 230255 230469
230500 230564 230603 230657 230742 230748 230956 231219 231237
231245 231259 231280 231451 231563 231601 231658 231659 231662
231984 231986 232046 232085 232142 232176 232179 232189 232382
232386 232389 232425 232438 232443 232675 232786 232797 232943
232957 233075 233080 233351 233353 233409 233410 233508 233584
233819 233904 234629 234636 234891 234975 234977 235524 235641
235662 235931 236099 236306 236307

Please note that from 3.5.0 onwards, clang and llvm require C++11
support to build; see UPDATING for more information.


# 9c36af58 21-May-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Mark libgomp.so.1 as an old lib not an old file

# 800eeabd 20-May-2015 Enji Cooper <ngie@FreeBSD.org>

Remove usr/share/dtrace/{tcpconn,tcpstate,tcptrack,udptrack} if MK_CDDL == no

Sponsored by: EMC / Isilon Storage Division

# d485dbc7 18-May-2015 Ed Maste <emaste@FreeBSD.org>

Build libgcov only if we're building base system GCC

Clang uses compiler-rt for the code coverage runtime, and ports GCC
provides its own libgcov.

PR: 200203 (exp-run)
Sponsored by: The FreeBSD Foundation

# 810d5b34 15-May-2015 Ed Maste <emaste@FreeBSD.org>

Build libgomp only if we're also building base system GCC

Clang's OpenMP support will emit Intel OpenMP API library calls,
and will therefore require libiomp (or whatever name is settled on).
An up-to-date version of libgomp is included in ports or pkg GCC.
Thus, there is no reason to build base libgomp without base system GCC.

PR: 199979 (exp-run)
Reviewed by: pfg
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2459

# 56af72b1 06-May-2015 Ed Maste <emaste@FreeBSD.org>

Fix make delete-old for gperf and GCC/CXX options

- Optional components go in OptionalObsoleteFiles
- Move gperf removal to be based on MK_GCC only, not MK_CXX and MK_GCC

Reviewed by: imp, sbruno
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2421

# 363da138 01-May-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Replace groff's soelim by soeliminate(1) renamed soelim(1)

# 45cf4a7c 01-May-2015 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: don't remove c++filt when using ELF Tool Chain

c++filt is listed here twice, for MK_CXX == no and MK_GCC == no, but
r282285 only caught one of them.

# 0a06cffc 30-Apr-2015 Ed Maste <emaste@FreeBSD.org>

Add ELF Tool Chain's c++filt to the build

Differential Revision: https://reviews.freebsd.org/D2408
Reviewed by: brooks, imp
Sponsored by: The FreeBSD Foundation

# 1382ef3d 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_ZONEINFO == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 587291d9 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TESTS_SUPPORT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# a6d0a667 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_LEGACY_CONSOLE == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# d6c95721 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_KERBEROS_SUPPORT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# eb6edb77 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_KDUMP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 659854cd 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_JAIL == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 992cc53e 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_CASPER == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 9c793fa8 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_INET6 == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 0c11ad65 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_FORTH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# ca65be80 04-Mar-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r279313 through r279595.


# ffb67907 02-Mar-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Remove gperf(7) if gperf is not installed

# 9ddafbe2 02-Mar-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Install manpage version of texinfo documentation for binutils

# 9b2a0d91 22-Feb-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r279023 through r279162.


# 9cb8ba56 22-Feb-2015 Colin Percival <cperciva@FreeBSD.org>

Step 2 of eliminating the "games" distribution: Remove punch card
utilities.

I was originally planning on removing the phase-of-moon (pom), clock
(grdc), and caesar cipher (caesar, rot13) utilities as well, but after
I committed r278616 I received an astonishing volume of email informing
me that those are still being widely used. Much to my relief, nobody
reported continuing to use the punch card utilities in production.

The final step will be to merge src/games into src/usr.bin.

This change will not be MFCed.

# 569e61a4 14-Feb-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r278499 through r278755.


# 11d9aa67 11-Feb-2015 Colin Percival <cperciva@FreeBSD.org>

Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;
update paths; and include everything in the "base" distribution.

The "games" distribution being optional made sense when there were more
games and we had small disks; but the "games-like" games were moved into
the ports tree a dozen years ago and the remaining "utility-like" games
occupy less than 0.001% of my laptop's small hard drive. Meanwhile every
new user is confronted by the question "do you want games installed" when
they they try to install FreeBSD.

The next steps will be:

2. Removing punch card (bcd, ppt), phase-of-moon (pom), clock (grdc), and
caesar cipher (caesar, rot13) utilities. I intend to keep fortune, factor,
morse, number, primes, and random, since there is evidence that those are
still being used.

3. Merging src/games into src/usr.bin.

This change will not be MFCed.

Reviewed by: jmg
Discussed at: EuroBSDCon
Approved by: gjb (release-affecting changes)

# a403ab7f 04-Feb-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r278110 through r278223.


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

Clean up more usb related files when MK_USB == no when dealing with
manpages, libraries, and binaries

MFC after: 1 week
X-MFC with: r278135
Sponsored by: EMC / Isilon Storage Division


# 04c5a27b 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_USB == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 1dc6769d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_UNBOUND == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# e5f6569b 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TEXTPROC == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# aee4d21d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TESTS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# fed7ef16 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TCSH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 3f13cb12 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_SYSCONS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 14e319f2 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_SSP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 1d706ec4 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_QUOTAS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 61c40359 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_PORTSNAP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 7a713cea 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_PMC == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 71795a01 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_PF == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 3f72f932 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_OPENSSH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 73ee00ce 02-Feb-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r278005 through r278109.


# 5bed16de 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NTP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# ed809ca8 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NS_CACHING == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 90539b6f 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NLS_CATALOGS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 422e74ae 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NLS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# e50d77e5 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NETGRAPH_SUPPORT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# fe8f6c3e 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NETGRAPH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# e5c3781d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAN_UTILS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# ddef0324 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAN == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 426d5303 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAKE == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 2f3a10e5 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAIL == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 1b41fa7d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_LOCALES == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 4f190535 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_LIBCPLUSPLUS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# d956da53 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_HTML == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 6031355d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_GROFF == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 28be4ba8 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_GPIO == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# cf8028f3 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_DMAGENT == no and move the chunk into its alphabetical place

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# ee4d0fce 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BSNMP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 70fffb2e 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BSD_CPIO == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 8af1079d 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BOOT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# f594efed 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BLUETOOTH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# c88fc3e4 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BINUTILS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 8179004e 26-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r277719 through 277776.


# 6ce3ca64 26-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Update other build glue: ObsoleteFiles.inc, UPDATING, mtree files, and
OptionalObsoleteFiles.inc.

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

Respect MK_KERBEROS with etc/rc.d/ipropd_master and etc/rc.d/ipropd_slave

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

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

Honor MK_WIRELESS with etc/rc.d/hostapd and etc/rc.d/wpa_supplicant

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_JAIL with etc/rc.d/jail

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_BLUETOOTH with etc/defaults/bluetooth.device.conf

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_ACCT with etc/pam.d/atrun

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

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

Honor MK_ACCT with etc/rc.d/accounting

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

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

Honor MK_AMD with etc/rc.d/amd

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_API in etc/rc.d

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_LPR with etc/rc.d/lpd

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_ACPI in etc/devd and etc/rc.d

MFC after: 1 week
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

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

Add MK_BHYVE knob for building and installing bhyve(4), et al

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

# 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

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

Build lib/libgpio if MK_GPIO != no

Fill in corresponding entries for MK_GPIO == no in OptionalObsoleteFiles.inc

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

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

Fill in entries for MK_BSNMP == no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Fill in some dtrace entries when MK_CDDL == no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Fill in entries for MK_CUSE == no

MFC after: 1 week
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

# 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

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

Add MK_TALK knob for building the talk and talkd

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

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

Add MK_EE knob to control installing edit, ee, etc

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

# 9cac79b3 18-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of clang and llvm to 3.5.1 release. This is a bugfix
only release, no new features have been added.

Please note that this version requires C++11 support to build; see
UPDATING for more information.

Release notes for llvm and clang can be found here:
<http://llvm.org/releases/3.5.1/docs/ReleaseNotes.html>
<http://llvm.org/releases/3.5.1/tools/clang/docs/ReleaseNotes.html>

MFC after: 1 month
X-MFC-With: 276479


# 8028b78d 13-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Connect libclang_rt to the build, for specific architectures. This
contains the libraries for Address Sanitizer (asan), Undefined Behavior
Sanitizer (ubsan) and Profile Guided Optimization.

ASan is a fast memory error detector. It can detect the following types
of bugs:

Out-of-bounds accesses to heap, stack and globals
Use-after-free
Use-after-return (to some extent)
Double-free, invalid free
Memory leaks (experimental)

Typical slowdown introduced by AddressSanitizer is 2x.

UBSan is a fast and compatible undefined behavior checker. It enables a
number of undefined behavior checks that have small runtime cost and no
impact on address space layout or ABI.

PLEASE NOTE: the sanitizers still have some rough edges on FreeBSD,
particularly on i386. These will hopefully be smoothed out in the
coming time.

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

# c369979c 10-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Add the llvm-symbolizer tool, which enables the sanitizers to report
more complete debugging information. This tools is only enabled when
WITH_CLANG_EXTRAS is on.

Submitted by: Dan McGregor <danismostlikely@gmail.com>

# 2d281361 02-Jan-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Remove GNU texinfo from base along with all info pages.

To be able to info pages consider installing texinfo from ports print/texinfo or
via pkg: pkg install texinfo

Differential Revision: https://reviews.freebsd.org/D1409
Reviewed by: emaste, imp (previous version)
Relnotes: yes

# 8007ee2b 27-Dec-2014 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r274961 through r276301.


# c05bafc5 25-Dec-2014 Poul-Henning Kamp <phk@FreeBSD.org>

Deorbit the IEEE-488/GPIB support.

# e65720e1 18-Dec-2014 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r275759 through r275911.


# f703589e 18-Dec-2014 Enji Cooper <ngie@FreeBSD.org>

Fix building/installing tests when TESTSBASE != /usr/tests

The work in r258233 hardcoded the assumption that tests was the last component
of the tests tree by pushing tests as an explicit prefix for the paths in
BSD.tests.dist and /usr was the prefix for all tests, per BSD.usr.dist and all
of the mtree calls used in Makefile.inc1. This assumption breaks if/when one
provides a custom TESTSBASE "prefix", e.g. TESTSBASE=/mytests .

One thing that r258233 did properly though was remove "/usr/tests" creation
from BSD.usr.dist -- that should have not been there in the first place. That
was an "oops" on my part for the work that was originally committed in r241823

MFC after: 2 weeks
Phabric: D1301
Reviewed by: imp
Sponsored by: EMC / Isilon Storage Division

# 24ce0a02 04-Dec-2014 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r275387 through r275477.


# 18e8f946 01-Dec-2014 Ed Maste <emaste@FreeBSD.org>

Add elfcopy and man page to OptionalObsoleteFiles

# f5ce9d6b 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Installing zzz(8) doesn't make sense when both ACPI and APM are disabled

# 0341ccf2 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Clean up more usb related files when MK_USB == no when dealing with
manpages, libraries, and binaries

# ece34a4f 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Fix use of OLD_FILES and OLD_LIBS for MK_BSNMP and MK_TESTS

Convention in the file is that .a files be added to OLD_FILES and versioned .so's
be added to OLD_LIBS

# a3f5edf0 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Add MK_TIMED option for optionally building usr.sbin/timed, et al

# 046cc7b9 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Account for /usr/include/protocols/r{outed,whod}.h with their respective build knobs

# 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

# fb624adc 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

MK_HYPERV:
Sort OLD_FILES and add /usr/libexec/hyperv to OLD_DIRS

# 961281fa 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install the rsh and telnetd pam.d files if MK_RCMDS == no
or MK_TELNET == no, respectively

# 4bbfcad5 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Only install the accounting/apm rc scripts for MK_ACCT/MK_APM if the relevant
knobs are set

# bdf492a3 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Missed the bsnmp config file

# 88585cd4 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Add more MK_BSNMP == no entries for things not caught due to custom
settings in $SRCCONF

# 6d94729e 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Fill in entries for MK_BSNMP == no

# 4be1ca35 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Make building/installing bhyve optional via MK_BHYVE on amd64

Disable building/installing bhyve from src.opts.mk on unsupported
architectures (!amd64)

# 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

# d393fb09 24-Nov-2014 Dimitry Andric <dim@FreeBSD.org>

Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc for the import of
llvm/clang 3.5.0.

# b8d52ac3 23-Nov-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Install mdoc(7) and man(7) from mdoc instead of the one from groff

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

# fa809347 03-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Integrate pjdfstest test suite execution into kyua

pjdfstest execution is opt-in and must be done as root due to some of the
assumptions made by the test suite and lack of error checking in the non-root
case

A description of how to execute pjdfstest with kyua is provided in
share/pjdfstest/README

Phabric: D824 (an earlier prototype patch)
MFC after: 1 month
Relnotes: yes
Sponsored by: EMC / Isilon Storage Division

# 0677dfd1 01-Nov-2014 Julio Merino <jmmv@FreeBSD.org>

MFV: Import atf-0.21.


# 1545452c 27-Oct-2014 Xin LI <delphij@FreeBSD.org>

Remove an extra copy of hv_kvp_daemon(8) [1].

While I'm there also correct typos in OptionalObsoleteFiles and add
information of the command line options for hv_kvp_daemon(8).

Reported by: jmg [1]
Reviewed by: jmg
MFC after: 2 weeks

# ddd96d23 09-Oct-2014 Ed Maste <emaste@FreeBSD.org>

Build gperf only if we're using g++ (not clang++)

gperf is used as a build tool for g++ and is not needed for Clang
architectures. Ports and third-party software that need it can use the
up-to-date devel/gperf port.

PR: 194103 (exp-run)
Reviewed by: bapt
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D886

# d8eaf8b5 23-Sep-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install /etc/rc.d/keyserv unless MK_OPENSSL == yes

Sponsored by: EMC / Isilon Storage Division

# f4d6293c 20-Sep-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install /etc/rc.d/ftp-proxy unless MK_PF == yes

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

# 79c38c9b 20-Sep-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install /etc/rc.d/rwho unless MK_RCMDS == yes

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

# 76cd7220 16-Sep-2014 Xin LI <delphij@FreeBSD.org>

Use a devd event to start hv_kvpd instead of doing so in rc.d script.
This is cleaner and eliminates the unneeded startup of KVP daemon on
systems that do not run as a Hyper-V guest.

Submitted by: hrs
X-MFC-with: 271493, 271688, 271699

# e72055b7 12-Sep-2014 Xin LI <delphij@FreeBSD.org>

Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft,
many thanks for their continued support of FreeBSD.

While I'm there, also implement a new build knob, WITHOUT_HYPERV to
disable building and installing of the HyperV utilities when necessary.

The HyperV utilities are only built for i386 and amd64 targets.

This is a stable/10 candidate for inclusion with 10.1-RELEASE.

Submitted by: Wei Hu <weh microsoft com>
MFC after: 1 week

# 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

# aecd25ee 15-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Make the USB and ZFS devd configuration files optional depending on the
values of MK_USB/MK_ZFS

Making zfs.conf optional resolves PR # 186971

PR: 186971
Phabric: D606
Approved by: jmmv (mentor)
Sponsored by: EMC / Isilon Storage Division

# 9f312407 12-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Port date/bin/tests to ATF

Phabric: D545
Approved by: jmmv (mentor)
Submitted by: keramida (earlier version)
MFC after: 2 weeks
Sponsored by: Google, Inc
Sponsored by: EMC / Isilon Storage Division

# 12e2df3c 12-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Convert bin/sh/tests to ATF

The new code uses a "test discovery mechanism" to determine
what tests are available for execution

The test shell can be specified via:

kyua test -v test_suites.FreeBSD.bin.sh.test_shell=/path/to/test/sh

Sponsored by: EMC / Isilon Storage Division
Approved by: jmmv (mentor)
Reviewed by: jilles (maintainer)

# 6add3145 12-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Complete the usr.bin/yacc kyua integration work I originally
submitted via r268811

- Install the Kyuafile by adding FILES to FILESGROUPS
- Run the testcases with an unprivileged user

Some of the testcases depend upon behavior that's broken when
run as root on FreeBSD because of how permissions are treated
with access(2) vs eaccess(2), open(2), etc

- Simplify the test driver to just inspect the exit code from
run_test because it now exits with 0 if successful and exits
with !0 if unsuccessful
- Don't do ad hoc temporary directory creation/deletion; let Kyua
handle that
- Add entries for files removed in r268811 to
OptionalObsoleteFiles.inc

PR: 191020
X-MFC with: r268811
Approved by: jmmv (mentor)
Reviewed by: bapt
Sponsored by: EMC / Isilon Storage Division

# e40b4bf8 24-Jul-2014 Julio Merino <jmmv@FreeBSD.org>

Fix structure of new tests (r268794) for usr.bin/units.

- Make sure the tests go into the right directory. The location was
wrong so they were overwriting the bin/chown tests!
- Use the right naming scheme for the test program.
- Remove the svn:executable property from the shell script.

# 7bff12fe 17-Jul-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Fix manpages path and sort entries

# 024f0575 17-Jul-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Remove texinfo manpages as well if built WITHOUT_INFO

# 8a833bda 09-Jul-2014 Baptiste Daroussin <bapt@FreeBSD.org>

The GNU readline library is now an INTERNALLIB - that is, it is
statically linked into consumers (GDB and variants) in the base
system, and the shared library is no longer installed.

That also allows ports to be able to use a modern version of readline

PR: 162948
Reviewed by: emaste

# 725d0727 08-Jul-2014 Jilles Tjoelker <jilles@FreeBSD.org>

Don't install locale1.0 if MK_NLS == no.

The test locale1.0 depends on locale support; it is meaningless without a
working LC_MESSAGES.

I added an OptionalObsoleteFiles.inc entry.

PR: 181151
Submitted by: Garrett Cooper (original version)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# e7d939bd 06-Jul-2014 Marcel Moolenaar <marcel@FreeBSD.org>

Remove ia64.

This includes:
o All directories named *ia64*
o All files named *ia64*
o All ia64-specific code guarded by __ia64__
o All ia64-specific makefile logic
o Mention of ia64 in comments and documentation

This excludes:
o Everything under contrib/
o Everything under crypto/
o sys/xen/interface
o sys/sys/elf_common.h

Discussed at: BSDcan

# 9f932ecd 01-Jul-2014 Eitan Adler <eadler@FreeBSD.org>

Add documentation for svnlite.

PR: 191544
Reported by: eric
Reviewed by: imp
MFC After: 1 week

# b8a63d6d 30-Jun-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Activate the condition for WITHOUT_INFO

Submitted by: antoine

# 079f0a6a 30-Jun-2014 Baptiste Daroussin <bapt@FreeBSD.org>

fill in the list of obsolete files when base is built with WITHOUT_INFO

# dd987372 13-Jun-2014 Tijl Coosemans <tijl@FreeBSD.org>

Don't install GSS-API headers when the GSSAPI option has been disabled.
Some ports assume GSS-API is supported when they find the headers.

PR: 189156
Submitted by: Garrett Cooper <yanegomi@gmail.com>

# 8c7ec47a 06-Jun-2014 Julio Merino <jmmv@FreeBSD.org>

Move atf-sh from /usr/bin/ to /usr/libexec/

In r266650, we made libatf-c and libatf-c++ private libraries so that no
components outside of the source tree could unintendedly depend on them.

This change does the same for the "atf-sh library" by moving the atf-sh
interpreter from its public location in /usr/bin/ to the private location
in /usr/libexec/. Our build system will ensure that our own test programs
use the right binary, but users won't be able to depend on atf-sh by
"mistake".

Committing this now to ride the UPDATING notice added with r267172 today.

# 727a7ce8 06-Jun-2014 Julio Merino <jmmv@FreeBSD.org>

Homogenize libatf-* version numbers with upstream.

The libatf-* major version numbers in FreeBSD were one version ahead of
upstream because, when atf was first imported into FreeBSD, the upstream
numbers were not respected. This is just confusing and bound to cause
problems down the road.

Fix this by taking advantage of the fact that libatf-* are now private
and that atf is not yet built by default. However, and unfortunately, a
clean build is needed for tests to continue working once "make
delete-old-libs" has been run; hence the note in UPDATING.

# 17a286a9 24-May-2014 Julio Merino <jmmv@FreeBSD.org>

Change libatf-c and libatf-c++ to be private libraries.

We should not be leaking these interfaces to the outside world given
that it's much easier for third-party components to use the devel/atf
package from ports.

As a side-effect, we can also drop the ATF pkgconfig and aclocal files
from the base system. Nothing in the base system needs these, and it
was quite ugly to have to get them installed only so that a few ports
could build. The offending ports have been fixed to depend on
devel/atf explicitly.

Reviewed by: bapt

# 3e9e1651 12-May-2014 Julio Merino <jmmv@FreeBSD.org>

Fix delete-old when WITH_TESTS is set.

r265423 removed the WITHOUT_BMAKE option, which in turn broke a conditional
in OptionalObsoleteFiles.inc that inspected MK_BMAKE.

# 85d60e68 12-May-2014 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to 3.4.1 release. This release contains
mostly fixes, for the following upstream bugs:

http://llvm.org/PR16365 http://llvm.org/PR17473 http://llvm.org/PR18000
http://llvm.org/PR18068 http://llvm.org/PR18102 http://llvm.org/PR18165
http://llvm.org/PR18260 http://llvm.org/PR18290 http://llvm.org/PR18316
http://llvm.org/PR18460 http://llvm.org/PR18473 http://llvm.org/PR18515
http://llvm.org/PR18526 http://llvm.org/PR18600 http://llvm.org/PR18762
http://llvm.org/PR18773 http://llvm.org/PR18860 http://llvm.org/PR18994
http://llvm.org/PR19007 http://llvm.org/PR19010 http://llvm.org/PR19033
http://llvm.org/PR19059 http://llvm.org/PR19144 http://llvm.org/PR19326

MFC after: 2 weeks


# d525bcd9 18-Mar-2014 Julio Merino <jmmv@FreeBSD.org>

Migrate tools/regression/usr.bin/make/ to the new tests layout.

Note that these tests are for fmake, not bmake, and thus they are not
installed nor run when bmake is selected (the default). Yes, I have
wasted a *ton* of time on moving tests for no real reason other than
ensuring they are not left behind.

But maybe, just maybe, it was not work in vain: the majority of these
tests also work with bmake and the few that don't may point at broken
stuff. For example, the tests for the "archive" feature do not work
with bmake, but bmake's manpage and source tree seem to imply that they
should. So... to be investigated later; need to poke sjg@.

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

# 2c4c3f67 10-Mar-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Add a mailer.conf example to use dma

# 6a54f620 22-Feb-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Rename WITHOUT_DMA into WITHOUT_DMAGENT to avoid confusion

Requested by: ian

# a9e8641d 21-Feb-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Import Dragonfly Mail Agent into base system

It is a small and lightweight Mail Transport Agent.
It accepts mails from locally installed Mail User Agents (MUA) and delivers the
mails either locally or to a remote destination. Remote delivery includes
several features like TLS/SSL support, SMTP authentication and NULLCLIENT.

Make dma conditional to new WITHOUT_DMA option and make it respect WITHOUT_MAIL

Reviewed by: peter
Discussed with: emaste, bz, peter


# f785676f 16-Feb-2014 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to 3.4 release. This version supports
all of the features in the current working draft of the upcoming C++
standard, provisionally named C++1y.

The code generator's performance is greatly increased, and the loop
auto-vectorizer is now enabled at -Os and -O2 in addition to -O3. The
PowerPC backend has made several major improvements to code generation
quality and compile time, and the X86, SPARC, ARM32, Aarch64 and SystemZ
backends have all seen major feature work.

Release notes for llvm and clang can be found here:
<http://llvm.org/releases/3.4/docs/ReleaseNotes.html>
<http://llvm.org/releases/3.4/tools/clang/docs/ReleaseNotes.html>

MFC after: 1 month


# 1a61beb0 14-Feb-2014 Julio Merino <jmmv@FreeBSD.org>

MFV: Import atf-0.20.


# b76e24a3 05-Feb-2014 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove WITHOUT_NIS

PR: 186412

# 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

# 4f7ab58e 30-Jan-2014 Dimitry Andric <dim@FreeBSD.org>

Import libc++ 3.4 release. This contains a lot of bugfixes, and some
preliminary support for C++1y.

MFC after: 3 weeks


# 762c167e 10-Jan-2014 Julio Merino <jmmv@FreeBSD.org>

Respect the original layout of the atf-{c,c++} tests.

Put test programs for internal modules into a 'detail' subdirectory of the
libatf-c and libatf-c++ test directories, just as the upstream distribution
does. This is necessary because the tests assume such layout to find the
process_helper program, and currently fail because of this divergence.

MFC after: 1 week

# a9e4b734 21-Dec-2013 Glen Barber <gjb@FreeBSD.org>

Honor WITHOUT_CASPER.

Sponsored by: The FreeBSD Foundation

# a18eacbe 17-Nov-2013 Julio Merino <jmmv@FreeBSD.org>

MFV: Import atf-0.18.

Approved by: rpaulo (mentor)


# 0fa8a6f0 11-Nov-2013 Glen Barber <gjb@FreeBSD.org>

Silence more 'make {check,delete-old{,libs}}' output if $DESTDIR/usr/tests
does not exist.

Sponsored by: The FreeBSD Foundation

# 6785aaf2 10-Nov-2013 Glen Barber <gjb@FreeBSD.org>

Silence bmake(1) errors if TEST_DIRS evaluation is empty.

# 14de84e7 08-Nov-2013 Julio Merino <jmmv@FreeBSD.org>

Handle the removal of the test suite when WITHOUT_TESTS=yes.

Add all files from /usr/tests to the obsoleted files list when the
build of the tests is disabled via the WITHOUT_TESTS knob. Do this
automatically so that we do not have to suffer the pain of maintaining
such list by hand.

Reviewed by: freebsd-testing
Approved by: rpaulo (mentor)

# e01d128a 08-Nov-2013 Julio Merino <jmmv@FreeBSD.org>

Subsume the functionality of MK_ATF into MK_TESTS.

There is no reason to keep the two knobs separate: if tests are
enabled, the ATF libraries are required; and if tests are disabled,
the ATF libraries are not necessary. Keeping the two just serves
to complicate the build.

Reviewed by: freebsd-testing
Approved by: rpaulo (mentor)

# 912ce912 03-Nov-2013 Peter Wemm <peter@FreeBSD.org>

Remove the WITH_LIBICONV_COMPAT hack that seems to do more harm than
good. This caused libc to spoof the ports libiconv namespace and
provide a colliding libiconv.so.3 to fool rtld. This should have
been removed some time ago.

# 23c80c69 03-Nov-2013 Ed Schouten <ed@FreeBSD.org>

Remove utxrm(8). This command has been superseded by 'utx rm'.

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

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

# 0edda453 30-Oct-2013 Bryan Drewery <bdrewery@FreeBSD.org>

Add forgotten pkg.7

Approved by: bapt
MFC after: 2 days
X-MFC-with: r257378

# 2b142c0f 17-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Add lot of missed files and dirs

# 7306b853 17-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Remove atf headers which never existed

Reviewed by: marcel

# 41b65e69 17-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Cleanup clang section

# 7855835b 16-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

wlconfig exists only on i386

# 5329f4d3 16-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Remove files which are in ObsoleteFiles.inc

# fca60728 16-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Remove duplicates in ipfilter and kerberos sections

# ec0e2ac6 12-Oct-2013 Rui Paulo <rpaulo@FreeBSD.org>

Remove most of the ATF tools and the _atf user.

This is necessary because ATF is deprecated and it will be replaced by Kyua.

Submitted by: jmmv@netbsd.org
Reviewed by: Garrett Cooper
Approved by: re

# c9fc60be 09-Oct-2013 Glen Barber <gjb@FreeBSD.org>

Revert r256095, r256120 (partial), r256121:

r256095:
- Add gnu/usr.bin/rcs back to the base system.

r256120:
- Add WITHOUT_RCS back to src.conf.5.

r256121:
- Remove UPDATING entry regarding gnu/usr.bin/rcs removal.

Requested by: many
Approved by: re (marius)
Discussed with: core

# 258c9eb9 06-Oct-2013 Eitan Adler <eadler@FreeBSD.org>

Good bye RCS. You will be missed.

(devel/rcs and devel/rcs57 are available as alternatives)

Approved by: core
Approved by: re (hrs)

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

Remove BIND.

Approved by: re (gjb)

# 278bc67b 29-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Yet more BIND files that weren't listed in OptionalObsoleteFiles.

Approved by: re (blanket)

# 4a09ed30 27-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove duplicate entry for the host(1) man page.

Approved by: re (blanket)

# b4af3bcb 25-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Additional BIND files.

Submitted by: bdrewery
Approved by: re (blanket)

# 49cede74 22-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Add a setup script for unbound(8) called local-unbound-setup. It
generates a configuration suitable for running unbound as a caching
forwarding resolver, and configures resolvconf(8) to update unbound's
list of forwarders in addition to /etc/resolv.conf. The initial list
is taken from the existing resolv.conf, which is rewritten to point to
localhost. Alternatively, a list of forwarders can be provided on the
command line.

To assist this script, add an rc.subr command called "enabled" which
does nothing except return 0 if the service is enabled and 1 if it is
not, without going through the usual checks. We should consider doing
the same for "status", which is currently pointless.

Add an rc script for unbound, called local_unbound. If there is no
configuration file, the rc script runs local-unbound-setup to generate
one.

Note that these scripts place the unbound configuration files in
/var/unbound rather than /etc/unbound. This is necessary so that
unbound can reload its configuration while chrooted. We should
probably provide symlinks in /etc.

Approved by: re (blanket)

# 7b07722f 22-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove drill(1) if MK_LDNS_UTILS is false.
Remove host(1) if both MK_BIND and MK_LDNS_UTILS are false.

Approved by: re (blanket)

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

Build and install the Unbound caching DNS resolver daemon.

Approved by: re (blanket)

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

Complete the OPENSSH and LDNS sections.

Approved by: re (blanket)

# 9f00530d 14-Sep-2013 Ed Schouten <ed@FreeBSD.org>

Properly remove c++filt.

The c++filt binary is only installed if ${MK_GCC} == yes && ${MK_CXX} ==
yes. This means that it should be removed if ${MK_GCC} == no ||
${MK_CXX} == no. In its current form, it actually uses a conjunction
instead of a disjunction.

As there is already a separate block for ${MK_CXX} == no listing
c++filt, simply remove the conditional entirely.

Approved by: re (gjb)

# 0d410def 10-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Clean up the Kerberos build by turning libheimipcc and libheimipcs into
private shared libraries, instead of hacked-together archives of PIC
objects. This makes it possible to build a static libkrb5 that works.

Reviewed by: stas
Approved by: re (gjb)

# 655f887f 07-Sep-2013 Antoine Brodin <antoine@FreeBSD.org>

Adjust optional obsolete files with new MK_GNUCXX

# 3d8a28c3 07-Sep-2013 Antoine Brodin <antoine@FreeBSD.org>

Do not try to remove directories that are part of BSD.include.dist

# 8031489c 07-Sep-2013 Gleb Smirnoff <glebius@FreeBSD.org>

Add more leftovers from gcc.

# a5bfe448 06-Sep-2013 David Chisnall <theraven@FreeBSD.org>

Don't delete c++filt when doing a make delete-old if GCC is not built but
C++ is.

# e9fb2ea0 29-Aug-2013 Andreas Tobler <andreast@FreeBSD.org>

Remove GNU_PATCH leftover.

# e434cacb 26-Aug-2013 Antoine Brodin <antoine@FreeBSD.org>

Add more obsolete files.

# 0ff204bb 13-Aug-2013 Peter Wemm <peter@FreeBSD.org>

The iconv in libc did two things - implement the standard APIs, the GNU
extensions and also tried to be link time compatible with ports libiconv.
This splits that functionality and enables the parts that shouldn't
interfere with the port by default.

WITH_ICONV (now on by default) - adds iconv.h, iconv_open(3) etc.
WITH_LIBICONV_COMPAT (off by default) adds the libiconv_open etc API, linker
symbols and even a stub libiconv.so.3 that are good enough to be able
to 'pkg delete -f libiconv' on a running system and reasonably expect it
to work.

I have tortured many machines over the last few days to try and reduce
the possibilities of foot-shooting as much as I can. I've successfully
recompiled to enable and disable the libiconv_compat modes, ports that use
libiconv alongside system iconv etc. If you don't enable the
WITH_LIBICONV_COMPAT switch, they don't share symbol space.

This is an extension of behavior on other system. iconv(3) is a standard
libc interface and libiconv port expects to be able to run alongside it on
systems that have it.

Bumped osreldate.

# 8471c7bd 06-Aug-2013 Sean Bruno <sbruno@FreeBSD.org>

Adjust make knobs to know that WITH_ICONV installs a /usr/bin/iconv

Remove it if the knob isn't tweaked. Certain ports seem to think that
if /usr/bin/iconv exists, then libc has built in libiconv things and will
blow up pretty nicely when built.

Reviewed by: gjb@
MFC after: 2 weeks

# 9beae6b5 12-Jul-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove authpf-noip along with authpf.

Reminded by: delphij@

# deb50697 24-Jun-2013 Eitan Adler <eadler@FreeBSD.org>

Add missing Obsolete Files

Submitted by: Kurt Lidl <lidl@pi-coral.com>

# 4f858707 18-Jun-2013 Peter Wemm <peter@FreeBSD.org>

Teach delete-old how to clean up after WITH/WITHOUT_SVN{LITE} permutations.

# 1cbff2a9 15-Jun-2013 Eitan Adler <eadler@FreeBSD.org>

Remove CVS from the base system.

Discussed with: many
Reviewed by: peter, zi
Approved by: core

# 01bb8628 09-Jun-2013 Glen Barber <gjb@FreeBSD.org>

Add freebsd-update.conf(5) to OptionalObsoleteFiles.inc

PR: 179437
Approved by: kib (mentor)
MFC after: 1 week

# 2b3b3637 11-May-2013 Eitan Adler <eadler@FreeBSD.org>

Unconditionally install 210.backup-aliases as many MTAs other than
sendmail support the use of /etc/aliases.

PR: conf/176098
Submitted by: ak
MFC after: 2 weeks

# b4634967 28-Apr-2013 Eitan Adler <eadler@FreeBSD.org>

When the world is built WITHOUT_OPENSSH also don't
install ssh-copy-id.

PR: misc/177590
Submitted by: Oleg Ginzburg <olevole@olevole.ru>
Reviewed by: imp

# 850163e4 26-Apr-2013 Eitan Adler <eadler@FreeBSD.org>

Remove IDEA from OptionalObsoleteFiles.inc

Also add an UPDATING entry (requsted by gjb)

# 139f7f9b 12-Apr-2013 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to trunk r178860, in preparation of the
upcoming 3.3 release (branching and freezing expected in a few weeks).

Preliminary release notes can be found at the usual location:
<http://llvm.org/docs/ReleaseNotes.html>

An MFC is planned once the actual 3.3 release is finished.


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

Add option to make pc-sysinstall optional

Approved by: cperciva

# 616d12b7 20-Dec-2012 Baptiste Daroussin <bapt@FreeBSD.org>

Add etc/periodic/daily/220.backup-pkgdb to OptionalObsoleteFiles.inc

# 3861d79f 03-Dec-2012 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to r168974, from upstream's release_32
branch. This is effectively llvm/clang 3.2 RC2; the 3.2 release is
coming soon.


# ffdac814 14-Nov-2012 Marcel Moolenaar <marcel@FreeBSD.org>

Don't install atf.test.mk if MK_ATF == no.

Submitted by: Garrett Cooper <yanegomi@gmail.com>

# c175365c 21-Oct-2012 Marcel Moolenaar <marcel@FreeBSD.org>

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

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

Credits follow:

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

# 458beb5d 17-Oct-2012 Andreas Tobler <andreast@FreeBSD.org>

Remove the netncp and nwfs files from here. They will be moved to the
ObsoleteFiles.inc file later.

Discussed with: attilio

# ce8ba5a5 26-Aug-2012 Dimitry Andric <dim@FreeBSD.org>

Add libc++ and libcxxrt related files to OptionalObsoleteFiles.inc.

MFC after: 1 week

# d4271816 20-Aug-2012 Dimitry Andric <dim@FreeBSD.org>

Add three additional clang intrinsics headers, which I missed in the
previous import.

# 7ae0e2c9 20-Aug-2012 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to trunk r162107. With thanks to
Benjamin Kramer and Joerg Sonnenberger for their input and fixes.


# c4554b94 23-Jul-2012 Dimitry Andric <dim@FreeBSD.org>

When WITHOUT_CLANG is being used, also clean out the clang 3.1 headers
in OptionalObsoleteFiles.inc.

PR: misc/169902
Submitted by: Thomas Eberhardt <sneakywumpus@googlemail.com>
MFC after: 3 days

# 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

# 60533c20 09-May-2012 Eitan Adler <eadler@FreeBSD.org>

Add some missing files to OLD_FILES

PR: conf/166460
Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com>
Reviewed by: stable@
Approved by: cperciva
MFC after: 2 weeks

# 4d04782c 14-Apr-2012 Dimitry Andric <dim@FreeBSD.org>

Add files and directories to be cleaned up if WITHOUT_GCC is in effect
to OptionalObsoleteFiles.inc.

MFC after: 1 week

# a146c2a9 22-Mar-2012 Stanislav Sedov <stas@FreeBSD.org>

- Add new kerberos libraries to the list of optional obsolete files.

# 0e46933c 22-Mar-2012 Stanislav Sedov <stas@FreeBSD.org>

- Do not build libcom_err and compile_et when kerberos is disabled. They
depends on several heimdal libraries and not used by anything but kerberos
tools.

# ae771770 22-Mar-2012 Stanislav Sedov <stas@FreeBSD.org>

- Update FreeBSD Heimdal distribution to version 1.5.1. This also brings
several new kerberos related libraries and applications to FreeBSD:
o kgetcred(1) allows one to manually get a ticket for a particular service.
o kf(1) securily forwards ticket to another host through an authenticated
and encrypted stream.
o kcc(1) is an umbrella program around klist(1), kswitch(1), kgetcred(1)
and other user kerberos operations. klist and kswitch are just symlinks
to kcc(1) now.
o kswitch(1) allows you to easily switch between kerberos credentials if
you're running KCM.
o hxtool(1) is a certificate management tool to use with PKINIT.
o string2key(1) maps a password into key.
o kdigest(8) is a userland tool to access the KDC's digest interface.
o kimpersonate(8) creates a "fake" ticket for a service.

We also now install manpages for some lirbaries that were not installed
before, libheimntlm and libhx509.

- The new HEIMDAL version no longer supports Kerberos 4. All users are
recommended to switch to Kerberos 5.

- Weak ciphers are now disabled by default. To enable DES support (used
by telnet(8)), use "allow_weak_crypto" option in krb5.conf.

- libtelnet, pam_ksu and pam_krb5 are now compiled with error on warnings
disabled due to the function they use (krb5_get_err_text(3)) being
deprecated. I plan to work on this next.

- Heimdal's KDC now require sqlite to operate. We use the bundled version
and install it as libheimsqlite. If some other FreeBSD components will
require it in the future we can rename it to libbsdsqlite and use for these
components as well.

- This is not a latest Heimdal version, the new one was released while I was
working on the update. I will update it to 1.5.2 soon, as it fixes some
important bugs and security issues.


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

# 6bb1cadd 05-Feb-2012 Dimitry Andric <dim@FreeBSD.org>

Add a WITH_CLANG_EXTRAS option for src.conf(5), disabled by default,
that builds the following additional llvm/clang tools:

- bugpoint
- llc
- lli
- llvm-ar
- llvm-as
- llvm-bcanalyzer
- llvm-diff
- llvm-dis
- llvm-extract
- llvm-ld
- llvm-link
- llvm-mc
- llvm-nm
- llvm-objdump
- llvm-prof
- llvm-ranlib
- llvm-rtdyld
- llvm-stub
- macho-dump
- opt

These tools are mainly useful for people that want to manipulate llvm
bitcode (.bc) and llvm assembly language (.ll) files, or want to tinker
with llvm and clang themselves.

MFC after: 2 weeks


# 8f506e9e 11-Dec-2011 Dimitry Andric <dim@FreeBSD.org>

Add more files to cleanup with 'make delete-old' when WITHOUT_CLANG is
in effect.

MFC after: 1 week

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

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

Don't remove the periodic script for ac(8) when setting WITHOUT_ACCT.

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

# b3eb927f 06-Apr-2011 Ulrich Spörlein <uqs@FreeBSD.org>

Complete WITHOUT_CXX support. It implies WITHOUT_GROFF and
WITHOUT_CLANG.

Don't build clang bootstrap/build-tools depending on this flag. We also
keep gperf, devd and libstdc++ around to prevent foot-shooting and to
make this a two-way street.

# 423102c6 22-Feb-2011 Ulrich Spörlein <uqs@FreeBSD.org>

Flesh out WITHOUT_GROFF support to DTRT.

A full featured groff is required during buildworld, so build it always
and don't rely on it being present on the host system.

vgrind(1) is tightly coupled to a roff processor and will not be
built/installed when groff is disabled. Also much of the roff'ed
documentation under share/doc will not be built/installed when
WITHOUT_GROFF is defined.

Reviewed by: ru (partial)

# d180d7ef 04-Dec-2010 Ulrich Spörlein <uqs@FreeBSD.org>

Document two more ways to find duplicates in the obsolete file list.

Remove the only duplicate found by the optional files check. Fix typos,
while here.

Suggested by: netchild

# fe5ddba7 14-Nov-2010 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add optional files controlled by WITH_GPIO knob

Submitted by: Alexander Best <arundel@freebsd.org>

# 97f9dcf7 14-Nov-2010 Rebecca Cran <brucec@FreeBSD.org>

lib32 is installed on powerpc64 too.

# 60db6c32 14-Nov-2010 Rebecca Cran <brucec@FreeBSD.org>

libatm_p.a, libkeycap_p.a and libmytinfo_p.a are already in ObsoleteFiles.inc.
liblwres.so.10 has been replaced by liblwres.so.50.

Reported by: arundel

# 65a1c465 09-Nov-2010 Xin LI <delphij@FreeBSD.org>

Hide 460.chkportsum in MK_PKGTOOLS != no case.

Submitted by: Alex Kozlov <spam rm-rf kiev ua>
MFC after: 2 weeks

# 60e6ef07 08-Oct-2010 Mark Murray <markm@FreeBSD.org>

Don't blow away /bin/rmail symlink if we are keeping mailwrapper.
Mailwrapper can provide a perfectly good rmail with other
mailers.

# 916d7003 06-Oct-2010 Alexander Leidinger <netchild@FreeBSD.org>

Add some missing files to optionally delete.

Submitted by: Paul B Mahol <onemda@gmail.com>

# 781ad8ef 21-Jul-2010 Ed Schouten <ed@FreeBSD.org>

Chase LLVM version bump to 2.8.

# e137ba59 16-Jun-2010 Alexander Leidinger <netchild@FreeBSD.org>

Add the ZFS periodic daily scripts to the ZFS part.

# edec9228 14-Jun-2010 Ed Schouten <ed@FreeBSD.org>

Add Clang to OptionalObsoleteFiles.inc.

This means you can now deinstall Clang by running make delete-old with
WITHOUT_CLANG set.

# 36e60cda 26-Mar-2010 Xin LI <delphij@FreeBSD.org>

Remove GNU cpio after fix of CVE-2010-0624.

Note that this is actually a no-op for most users, as this GNU
cpio was broken on -HEAD and 8-STABLE since last March until
the recent fix.

FreeBSD 8.0+ uses BSD cpio by default and the code is being
actively maintained.

Blessed by: kientzle
With hat: secteam
MFC after: 3 days

# b974b08f 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PPP=no.

# 72647fe8 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PORTSNAP=no.

# 78d8164c 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PKGTOOLS=no.

# c13190b2 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PF=no.

# 58f47440 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_NTP=no.

# fda29b23 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_RCMDS=no.

# 50d16bbe 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_RCS=no.

# 23644347 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_ROUTED=no.

# 1fe4843a 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_TELNET=no.

# 94cd15a9 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_NDIS=no.

# 8c7d0ea2 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_NCP=no.

# c742deed 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_LPR=no.

# 9586e952 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_WIRELESS=no.

# e94be45c 26-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Do not remove fmt.1 when MK_MAIL=no.

X-MFC-With: r203584

# cebcc1ac 09-Feb-2010 Xin LI <delphij@FreeBSD.org>

Symbolic link to mailwrapper should only be removed if both MK_MAILWRAPPER
and MK_SENDMAIL is "no".

Reported by: Rob Farmer <rfarmer at predatorlabs.net>

# 07ea9a7c 09-Feb-2010 Xin LI <delphij@FreeBSD.org>

As it turns out, fmt(1) is being used by the base system as well as the
ports tree extensively and it is probably a good idea to keep it
regardless of NO_MAIL setting.

Reported by: Alexander Best
Reviewed by: antoine
X-MFC-With: r203584

# 4c63c240 06-Feb-2010 Xin LI <delphij@FreeBSD.org>

Add files for NO_MAIL, NO_SENDMAIL and NO_MAILWRAPPER.

MFC after: 2 weeks

# a48279bb 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_KERBEROS=no.

# e86622b3 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_JAIL=no.

# 2677a432 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_IPX=no.

# 02eb407f 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_IPFW=no.

# 91ff065b 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Move rescue/ping6 from files to remove when MK_INET6=no to file to remove
when MK_INET6_SUPPORT=no. (MK_INET6=no implies MK_INET6_SUPPORT=no)

# a2ccbc29 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add file to remove when MK_IDEA=no.

# b6d220d0 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GSSAPI=no.

# 96e9532b 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GPIB=no.

# 2ea25692 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GDB=no.

# 05142604 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GAMES=no.

# b983b146 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_FREEBSD_UPDATE=no.

# aa6bef9e 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_FLOPPY=no.

# 629b054a 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_DICT=no.

# 73ff6610 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CVS=no.

# 7692d80e 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CTM=no.

# 682e1072 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CPP=no.

# e493781a 16-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_ZFS=no.

# af5b4724 16-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_CDDL=no.

# 2ab19927 16-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CALENDAR=no.

# bd0a3ed5 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_BLUETOOTH=no.

# 22f09c9f 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_AUTHPF=no.

# 6fccaa07 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_ATM=no.

# 2cccc87b 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_AT=no.

# 5942f7f7 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_APM=no.

# 6cbebbd3 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_AMD=no.

# b00c1bf2 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_ACCT=no.

# 29d08a6d 24-Jun-2009 Jamie Gritton <jamie@FreeBSD.org>

Add libjail, a (somewhat) simpler interface to the jail_set and jail_get
system calls and the security.jail.param sysctls.

Approved by: bz (mentor)

# c6642c52 13-Sep-2008 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when WITHOUT_HESIOD is set.
This fixes "make check-old" when WITH_HESIOD is set.

PR: 122406
MFC after: 1 month

# a1d73f7b 28-Jul-2008 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GNU_CPIO = no

# 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

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

# 94dd3203 24-Mar-2008 Antoine Brodin <antoine@FreeBSD.org>

Don't remove usr/include/fs/nwfs and usr/include/netncp, as they are always
recreated during installworld (they are in BSD.include.dist).

Reported by: Pawel Worach
Approved by: rwatson (mentor)
X-MFC: with revision 1.13

# 6fa1978a 08-Mar-2008 Antoine Brodin <antoine@FreeBSD.org>

Add some checks for amd64 target around usr/lib32 libraries, missed in
previous commit.

Approved by: rwatson (mentor)
X-MFC: with revision 1.13

# b246502f 29-Feb-2008 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GCOV, MK_IPX or MK_NCP are defined.

Note: it may be a good idea to deduce obsolete usr/lib32/ files from
obsolete lib/ and usr/lib/ files.

PR: 120492
PR: 121118
PR: 121121
Submitted by: KAMIYA Satosi, Richard Tector
Approved by: rwatson (mentor)
MFC after: 1 month

# 4114acea 18-Jan-2008 Christian Brueffer <brueffer@FreeBSD.org>

Remove files conditional on the obsolete MK_FORTRAN knob. They are already
listed in ObsoleteFiles.inc anyway.

Reported by: David Wolfskill
Approved by: rwatson (mentor)
MFC after: 3 days

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

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

MK_LIBTHR was misspelled.

Approved by: re (kensmith)

# ceef0c31 05-Apr-2007 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Connect ZFS to the build.

# 70d21ee7 11-Mar-2007 Rong-En Fan <rafan@FreeBSD.org>

Add ncursesw, libelf, and libalias profiling libraries

Approved by: delphij (mentor)

# 438e97c0 01-Feb-2007 Rong-En Fan <rafan@FreeBSD.org>

Remove old libmytinfo link.

Approved by: delphij (mentor)
Requested by: ache

# b1a7dc88 27-Nov-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

/usr/sbin/faithd is an INET6-specific tool, and now it won't be built
if MK_INET6 is "no", so add it to the MK_INET6 block.

PR: bin/100805 (audit-trail)

# 2e975006 30-Sep-2006 Ruslan Ermilov <ru@FreeBSD.org>

Removed libc_r build support.

# c3e63d56 29-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Extend the MK_INET6 section by rescue/ping6 and the manpages.

# 9da33b35 28-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Populate the MK_INET6 block.

# 1812f896 01-May-2006 Alexander Leidinger <netchild@FreeBSD.org>

Add profile libs.

Submitted by: Pawel Worach <pawel.worach@gmail.com>

# 95529bcb 03-Apr-2006 Alexander Leidinger <netchild@FreeBSD.org>

Milosz (sorry for not using the right 'l', it will not display corretly
in the commit log) submitted support for some NO_* knobs for delete-old*
and check-old. I converted it to the new WITHOUT_* knobs (more correctly:
MK_*) and added some dummy ones so that people can see what's missing.

Volunteers can have a look at http://phk.freebsd.dk/misc/build_options/
for a list of files.

The location looks a little bit odd to me, but I don't care about the
color of this bikeshed and follow the suggestion of our build
infrastructure guru to place it "somewhere under src/tools/ please". [1]
The build/mk/ directory looks more sane to me than the other ones there.

Submitted by: milosz.galazka@gmail.com
Suggested by: ru [1]

# a9275714 02-Apr-2024 Olivier Cochard <olivier@FreeBSD.org>

OptionalObsoleteFiles: add missed cuda wrappers include files

Files introduced since clang 17.0.2.

Approved by: dim
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D44597


# 125c4560 01-Apr-2024 Dag-Erling Smørgrav <des@FreeBSD.org>

usr.bin: Make lorder conditional on MK_TOOLCHAIN.

MFC after: 1 week
Reviewed by: allanjude, markj
Differential Revision: https://reviews.freebsd.org/D44558


# a42d6f76 23-Nov-2022 Baptiste Daroussin <bapt@FreeBSD.org>

nuageinit: add basic support for cloudinit.

this is a very early script to support cloudinit, it does not intend to
be a full featured cloudinit client, but will support a good enough
subset to be viable in most case.

It support nocloud and openstack config-2 config drive mode (iso9660 or
msdosfs)

The following features are currently supported:
- adding users (including a default user named 'freebsd' with password
'freebsd'
- adding groups
- adding ssh keys
- static ipv4, static ipv6, dynamic ipv4

With this one is able to use the 'bring your own image feature" out of
box.

It is expected that the script grows the support of other clouds
supporting cloud-init, contributions are welcomed.

It is designed to be only run once via the firstboot mecanism.

Sponsored by: OVHCloud
MFC After: 3 weeks
Differential Revision: https://reviews.freebsd.org/D44141


# 1b6a5580 31-Jan-2024 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

New sendmail 8.18.1 cf file


# e7300a8f 28-Dec-2023 John Baldwin <jhb@FreeBSD.org>

OptionalObsoleteFiles.inc: Add libnss_tacplus_p.a as an old profiled library

Noticed this was still present after upgrading a 12.x stable host to
14.0 stable.


# 272b4b76 22-Dec-2023 Tijl Coosemans <tijl@FreeBSD.org>

devd: Don't install autofs.conf with WITHOUT_AUTOFS


# 06c3fb27 02-Sep-2023 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-17-init-19304-gd0b54bb50e51

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project main llvmorg-17-init-19304-gd0b54bb50e51, the
last commit before the upstream release/17.x branch was created.

PR: 273753
MFC after: 1 month


# 4cd0f014 13-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

OptionalObsoleteFiles.inc: document block order

Options should be in sort(1) order by primary option (usually, but not
always, first in the if statement).

Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896

# c90d0600 08-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Sort MK_NETLINK option

Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896

# 2b3bf27d 08-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Sort MK_GNU_DIFF option

Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896

# fb173fc8 08-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Combine and sort MK_LLVM_COV

These used to be grouped with MK_GCOV option or the like.

Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896

# 16743f0e 08-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Sort MK_EFI and MK_FTP options

Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896

# a62cefbb 08-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Sort MK_DTRACE and MK_ZFS options

Presumably these were under MK_CDDL at some point, but these days
src.opts.mk takes care of setting them to "no" when MK_CDDL is.

Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896

# e70ad278 08-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Sort MK_HYPERV option

Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896

# 4ca5df80 08-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Sort MK_BSD_CPIO before MK_BSDINSTALL

Using sort(1) order makes verification of the sort easier.

Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896

# ec4c2adb 13-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Retire LLD_IS_LD option

The option was added to parallel the CLANG_IS_CC which was removed in
commit 20a66ab4bf8511e51e11321b775d36c92e77fa69.

Reviewed by: imp, dim, emaste
Differential Revision: https://reviews.freebsd.org/D42575

# b2934971 18-Oct-2023 Mitchell Horne <mhorne@FreeBSD.org>

pmc.amd(3): rename from pmc.k8(3)

This is the first step in recognizing that the K8 microarchitecture
represents a small and aged subset of AMD CPUs supported by this class.
Future changes will update the code and documentation details to better
reflect this.

Keep the old filename as an alias.

Reviewed by: jkoshy
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D41279

# 82d6d46d 18-Oct-2023 Mitchell Horne <mhorne@FreeBSD.org>

pmc: remove last bits of AMD K7 CPU support

This includes event definitions from sys/pmc_events.h, definitions from
sys/pmc.h, and the man pages.

Reviewed by: jkoshy
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D41275

# 742f7ec5 11-Oct-2023 Baptiste Daroussin <bapt@FreeBSD.org>

dialog: correctly mark the libaries

Mark the libraries as such in order for make delete-old to not
remove them when the DIALOG option is off

# ff01d71e 10-Oct-2023 Baptiste Daroussin <bapt@FreeBSD.org>

bsdconfig: do not remove files id MK_DIALOG=no

bsdconfig does not depends anymore on anything related to dialog(1)
and libdialog(1) and has totally switched to bsddialog(1)

# 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

# 4cf80752 01-Oct-2023 Piotr Kubaj <pkubaj@FreeBSD.org>

ObsoleteFiles.inc: only leave ofwdump.8.gz when WITH_FDT is set

Approved by: mhorne
Differential Revision: https://reviews.freebsd.org/D41905
MFC after: 3 days

# 358f8a7a 04-Aug-2023 Baptiste Daroussin <bapt@FreeBSD.org>

sendmail: remove all m4 files with WITHOUT_SENDMAIL

# 023ef801 25-Aug-2023 John Baldwin <jhb@FreeBSD.org>

OptionalObsoleteFiles.inc: Add libprivate{cbor,fido2}_p.a

Two more profile libraries that should be removed by WITHOUT_PROFILE.
Found when upgrading a stable/13 VM to stable/14.

# 0c785f06 18-Aug-2023 Enji Cooper <ngie@FreeBSD.org>

Fix GoogleTest 1.14.0 import

- Prune headers and tests no longer installed after the upgrade.
- Remove GoogleTest-related files when MK_GOOGLETEST == no.
- Disable `-Werror` with gcc to unbreak the gcc12 CI run with
`lib/googletest`. Any issues found by g++ will be filed
upstream and hopefully resolved in a future version.
- Remove clang -Werror issues which are resolved in version 1.14.0 to
avoid masking valid issues.

MFC after: 1 week
MFC with: 28f6c2f292806bf31230a959bc4b19d7081669a7

# 47fc52b1 18-Aug-2023 Enji Cooper <ngie@FreeBSD.org>

Update `make delete-old`

This change updates `make delete-old` to account for files installed by the
following options:
- MK_BSDINSTALL
- MK_DMAGENT
- MK_EXAMPLES
- MK_SENDMAIL

MFC after: 2 weeks

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

Remove $FreeBSD$: one-line sh pattern

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

# dd3055a7 03-Aug-2023 Yuri Pankov <yuripv@FreeBSD.org>

OptionalObsoleteFiles: add missed keymaps for sycons

# 64140bb5 26-Jul-2023 Jessica Clarke <jrtc27@FreeBSD.org>

OptionalObsoleteFiles.inc: Automatically generate libcompat directories

Reviewed by: brooks, jhb, emaste
Differential Revision: https://reviews.freebsd.org/D41186

# ba84e870 24-Jun-2023 Mitchell Horne <mhorne@FreeBSD.org>

pmc: clean up remaining Pentium man page references

These have been removed.

Fixes: d78896e46f1d ("pmc(3): remove Pentium-related man pages...")
MFC after: 3 days
Sponsored by: The FreeBSD Foundation

# bdd1243d 14-Apr-2023 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-16-init-18548-gb0daacf58f41

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-16-init-18548-gb0daacf58f41.

PR: 271047
MFC after: 1 month


# cb1fc924 30-May-2023 Baptiste Daroussin <bapt@FreeBSD.org>

genl: add new command to list genetlink(4)

This commands list genetlink protocols and its operations and
capabilities

Name: nlctrl
ID: 0x10, Version: 00, header size: 2, max attributes: 10
supported operations:
- ID: 0x3, Capabilities: 0xe (can modify; can get/dump;
has policy)
multicast groups:
- ID: 0x30, Name: notify
Name: carp
ID: 0x11, Version: 00, header size: 2, max attributes: 2
supported operations:
- ID: 0x1, Capabilities: 0xe (can modify; can get/dump;
has policy)
- ID: 0x2, Capabilities: 0xb (requires admin permission;
can modify; has policy)

Reviewed by: melifaro
Differential Revision: https://reviews.freebsd.org/D40330

# 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

# a827077e 30-Mar-2023 John Baldwin <jhb@FreeBSD.org>

Add libcap_netdb.so.1 to the list of libcasper helper libraries.

Reported by: Yuri <yuri@aetern.org>
Fixes: 7d8e1e8dd904 libcasper: Move helper libraries from /lib/casper to /lib.

# 7d8e1e8d 29-Mar-2023 John Baldwin <jhb@FreeBSD.org>

libcasper: Move helper libraries from /lib/casper to /lib.

These libraries are linked to directly by applications rather than
opened at runtime via dlopen().

Discussed with: oshogbo
Reviewed by: markj, emaste
Differential Revision: https://reviews.freebsd.org/D39245

# c476ca18 29-Mar-2023 John Baldwin <jhb@FreeBSD.org>

OptionalObsoleteFiles.inc: Remove MIPS-specific hwpmc manpages.

These are unconditionally removed in ObsoleteFiles.inc.

# 1ad3cafc 21-Mar-2023 John Baldwin <jhb@FreeBSD.org>

Remove /usr/lib/dtrace/ipfw.d for WITHOUT_DTRACE.

Reviewed by: brooks
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D39099

# af0cc0b2 09-Mar-2023 Brooks Davis <brooks@FreeBSD.org>

NgATM: Remove netgraph ATM support

Most ATM support was removed prior to FreeBSD 12. The netgraph support
was kept as it was less intrusive, but it is presumed to be unused.

Reviewed by: manu
Relnotes: yes
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D38879

# 08e66b7a 06-Mar-2023 Herbert J. Skuhra <herbert@gojira.at>

ATM: Remove /usr/include/netnatm when disbled

# 3dfd18a7 13-Feb-2023 John Baldwin <jhb@FreeBSD.org>

Remove support for the base/* toolchain ports.

These ports have been removed so these knobs are no longer meaningful.

This reverts commit 608289394f655d0635c71233248b734010fb4d2f.
This reverts commit 39eb07f172921a581ee9b33ca2765905f4235202.

Reviewed by: imp, bapt, emaste
Differential Revision: https://reviews.freebsd.org/D38562

# 50d7464c 14-Jan-2023 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project release/15.x llvmorg-15.0.7-0-g8dfdcc7b7bf6

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-15.0.7-0-g8dfdcc7b7bf6.

PR: 265425
MFC after: 2 weeks


# f3fd488f 04-Dec-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project release/15.x llvmorg-15.0.6-0-g088f33605d8a

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-15.0.6-0-g088f33605d8a.

PR: 265425
MFC after: 2 weeks


# 6246ae0b 16-Oct-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project release/15.x llvmorg-15.0.2-10-gf3c5289e7846

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-15.0.2-10-gf3c5289e7846.

PR: 265425
MFC after: 2 weeks


# 753f127f 14-Jul-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-15-init-16436-g18a6ab5b8d1f

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-15-init-16436-g18a6ab5b8d1f.

PR: 265425
MFC after: 2 weeks


# 81ad6265 04-Jul-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-15-init-15358-g53dc0f10787

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-15-init-15358-g53dc0f10787.

PR: 265425
MFC after: 2 weeks


# 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

# 86edb11e 18-Nov-2022 Ed Maste <emaste@FreeBSD.org>

Always install llvm-objdump as objdump

Instead of providing no /usr/bin/objdump when LLVM_BINUTILS is false.

PR: 267854 [exp-run]
Reviewed by: dim
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37445

# 821549a9 29-Nov-2022 Philip Paeps <philip@FreeBSD.org>

OptionalObsoleteFiles.inc: add zoneinfo/America/Ciudad_Juarez

tzdata 2022g and later split America/Ciudad_Juarez from America/Ojinaga.
Ensure this file is removed in builds WITHOUT_ZONEINFO.

MFC after: 1 day

# 616f32ea 14-Nov-2022 Baptiste Daroussin <bapt@FreeBSD.org>

othermta: remove leftover from 20 years ago

othermta (along with mta_start_script configuration entry in rc.conf)
was a mechanism used to be able to run another mta than sendmail(8) before
"rcng" time 20 years ago.

othermta has not been used since.

# 0b1adc42 09-Nov-2022 Baptiste Daroussin <bapt@FreeBSD.org>

rc.sendmail: remove unused script

20 years ago the use of rc.sendmail script was dropped in favor
of /etc/rc.d/sendmail, it is time to retire the script entirely
now.

MFC after: 1 week

# 00ffd6b5 12-Oct-2022 Baptiste Daroussin <bapt@FreeBSD.org>

OptionalObsoleteFiles: grep nls files have been removed 4 years ago

# ed990a7a 12-Oct-2022 Baptiste Daroussin <bapt@FreeBSD.org>

sort: remove NLS support

NLS support for sort(1) is:
1/ incomplete: many error string are not using nls
2/ only covers hu_HU.ISO8859-2

# d577d617 03-Oct-2022 Jessica Clarke <jrtc27@FreeBSD.org>

bsdinstall release: Move code to a new startbsdinstall wrapper

This separates out the install media-specific environment (creating
bsdinstall_etc) from actually running the installer on a given console.
This will be used by a future change to start the installer on multiple
consoles.

Reviewed by: brooks, gjb
Differential Revision: https://reviews.freebsd.org/D36803

# a2464ee1 03-Oct-2022 Jessica Clarke <jrtc27@FreeBSD.org>

bsdinstall: Add a new runconsoles helper binary

This helper binary will run a given command on every on console, as
defined by /etc/ttys (except for ttyv*, where only ttyv0 will be used).
If one of the command processes exits, the rest will be killed. This
will be used by a future change to start the installer on multiple
consoles.

Reviewed by: brooks, imp, gjb
Differential Revision: https://reviews.freebsd.org/D36804

# 0eea46fb 28-Sep-2022 Brooks Davis <brooks@FreeBSD.org>

Remove telnetd

The telnetd codebase is unmaintained and has a number of quality
issues. Telnet has been largely supplanted by ssh. If needed, a port is
available (net/freebsd-telnetd), but a more maintained implementation
should be prefered.

While the telnet client suffers from the same issues, it is deemed
to be of lower risk and is required to connect to legacy devices, so
it remains.

Reviewed by: emaste, imp
Differential Revision: https://reviews.freebsd.org/D36620

# d1a351be 25-Sep-2022 Ed Maste <emaste@FreeBSD.org>

Do not delete objdump when WITH_LLVM_BINUTILS is true

WITH_LLVM_BINUTILS links /usr/bin/objdump to llvm-objdump, and similarly
for the man page. Do not delete them in `make delete-old`.

PR: 266603
Sponsored by: The FreeBSD Foundation

# f419a283 09-Sep-2022 Dag-Erling Smørgrav <des@FreeBSD.org>

OptionalObsoleteFiles.inc: add bearssl, secureboot, veriexec.

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

# 998b0a4a 31-Aug-2022 Peter Wemm <peter@FreeBSD.org>

OptionalObsoleteFiles.inc: Add missing sendmail feature macro files.

MFC after: 3 days

# 2300a22c 22-Feb-2022 Kyle Evans <kevans@FreeBSD.org>

libc: iconv: add mb_cur_min for encoder traits

A future commit will actually implement //IGNORE so that applications
using base iconv can, e.g., sanitize UTF-8 strings. To do this, the
iconv_std module needs to be able to determine the minimum width for any
given encoding so that it can skip that many bytes in the input buffer.
This is mainly an issue for UTF-16 and UTF-32.

This commit bumps shlib versions to 5 for libiconv modules to reflect
the ABI change. It also fixes OptionalObsoleteFiles to remove the
libiconv modules if WITHOUT_ICONV is in use.

re: _ENCODING_MB_CUR_MIN, note that this file (citrus_stdenc_template.h)
is included at the bottom of an encoding *implementation*, so the
implementation is free to #define it prior. UTF1632 is a good example,
as it redefines the minimum to be a property on the encodinginfo, and
the minimum is set to 2 or 4 bytes for UTF-16 and UTF-32 respectively.

Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D34344

# 55736146 21-Jul-2022 Dmitry Chagin <dchagin@FreeBSD.org>

check/delete-old: Fix /bin/rmail removal condition

When WITHOUT_SENDMAIL is enabled and WITHOUT_MAILWRAPPER is disabled
we install /bin/rmail as a link to the /usr/sbin/mailwrapper.
Ensure make delete-old does not unlink /bin/rmail in that case.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D35874
MFC after: 2 weeks

# 3bf66365 06-Jul-2022 Brooks Davis <brooks@FreeBSD.org>

cddl/*: add a WITH(OUT)_DTRACE option

Add an option to enable/disable DTrace without disabling ZFS. New
architectures such as CHERI may support ZFS before they support DTrace
and the old model of WITHOUT_CDDL disabling both wasn't helpful.

For compatiblity, the CDDL option remains and WITHOUT_CDDL implies
WITHOUT_DTRACE. WITHOUT_DTRACE also implies WITHOUT_CTF.

As part of this change, largely convert cddl/*/Makefile to using the
more compact SUBDIR.${MK_<FOO>}+= form rather than using intermediate
variables.

Reviewed by: markj
Obtained from: CheriBSD
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D35718

# 56f451bb 12-Jun-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project release/14.x llvmorg-14.0.5-0-gc12386ae247c

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14.0.5-0-gc12386ae247c, aka 14.0.5 release.

PR: 261742
MFC after: 3 days


# 5e383e36 05-Jun-2022 Dimitry Andric <dim@FreeBSD.org>

Add more old clang files to (Optional)ObsoleteFiles.inc

There were a few more libclang_rt libraries added recently, but not yet
listed in the ObsoleteFiles.inc lists.

MFC after: 3 days

# 809922b0 05-Jun-2022 Dimitry Andric <dim@FreeBSD.org>

Update rest of llvm-project build glue for 14.0.4

I completely forgot about updating the generated llvm-project config
files, which also contain version numbers, etc. Sorry for the churn.

PR: 261742
Fixes: ab9d54731f43
MFC after: 3 days

# 7b6f5ebe 27-May-2022 Dimitry Andric <dim@FreeBSD.org>

Add several sanitizer ignore lists under /usr/lib/clang

Some of the sanitizers from compiler-rt can use ignore lists, which are
loosely modeled on valgrind's example. Upstream provides default lists
for AddressSanitizer, CFI, and MemorySanitizer, so install these in the
expected location, /usr/lib/clang/14.0.3/share.

Reviewed by: emaste
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D35338

# 3a9a9c0c 28-Apr-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project release/14.x llvmorg-14.0.3-0-g1f9140064dfb

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14.0.3-0-g1f9140064dfb.

PR: 261742
MFC after: 2 weeks


# 1fd87a68 05-Feb-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-14-init-18294-gdb01b123d012

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14-init-18294-gdb01b123d012, the last commit before
the upstream release/14.x branch was created.

PR: 261742
MFC after: 2 weeks


# 04eeddc0 27-Jan-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-14-init-17616-g024a1fab5c35

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14-init-17616-g024a1fab5c35.

PR: 261742
MFC after: 2 weeks


# 4824e7fd 02-Dec-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-14-init-11187-g222442ec2d71

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14-init-11187-g222442ec2d71.

PR: 261742
MFC after: 2 weeks


# 5e801ac6 20-Nov-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-14-init-10223-g401b76fdf2b3

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14-init-10223-g401b76fdf2b3.

PR: 261742
MFC after: 2 weeks


# c00d3456 10-Feb-2022 John Baldwin <jhb@FreeBSD.org>

Install unwind.h into /usr/include

Install headers from LLVM's libunwind in place of the headers from
libcxxrt and allow C applications to use the library.

As part of this, remove include/unwind.h and switch libthr over to
using the installed unwind.h.

Reviewed by: dim, emaste
MFC after: 10 days
Differential Revision: https://reviews.freebsd.org/D34065

# 77da558c 20-Jan-2022 John Baldwin <jhb@FreeBSD.org>

check/delete-old: Auto-generate lib32 entries for libraries.

- Add usr/lib32/libfoo.so.N for lib/libfoo.so.N.

- Add usr/lib32/foo for usr/lib/foo.

- Treat casper libraries special since they are installed to
/usr/lib32 instead of /usr/lib32/casper and thus map
usr/lib/casper/foo to usr/lib32/foo.

Note that OLD_DIRS and MOVED_LIBS entries are not duplicated, only
OLD_FILES and OLD_LIBS.

Reviewed by: imp, emaste
Sponsored by: The University of Cambridge, Google Inc.
Differential Revision: https://reviews.freebsd.org/D33324

# c96dfb21 20-Jan-2022 John Baldwin <jhb@FreeBSD.org>

Rework documentation of OLD_*.

- Be more explicit in the difference between OLD_DIRS and OLD_FILES
(the former is only in delete-old-libs whereas the latter is in
delete-old).

- Document that debug symbols in /usr/lib/debug/ for files in
OLD_FILES and OLD_LIBS are removed as well.

Reviewed by: emaste
Sponsored by: The University of Cambridge, Google Inc.
Differential Revision: https://reviews.freebsd.org/D33847

# ebc1c246 11-Jan-2022 John Baldwin <jhb@FreeBSD.org>

Remove redundant OLD_FILES entries for debug symbols.

Entries for foo.debug files matching an existing entry in OLD_FILES or
OLD_LIBS are unnecessary as they are auto-generated.

Reviewed by: imp, emaste
Sponsored by: The University of Cambridge, Google Inc.
Differential Revision: https://reviews.freebsd.org/D33777

# 60a82774 02-Dec-2021 John Baldwin <jhb@FreeBSD.org>

Only use OLD_LIBS with shared libraries.

Use OLD_FILES for a few symbolic links and static libraries previously
included in OLD_LIBS.

Add a missing shared library major number to an old libroken entry.

# a58135eb 02-Dec-2021 Herbert J. Skuhra <herbert@gojira.at>

OptionalObsoleteFiles.inc: Add rc.d/zfskeys

While here, sort the etc/rc.d entries.

PR: 256483
Reviewed by: allanjude
Approved by: allanjude (src)
MFC after: 3 days
Sponsored by: Modirum MDPay
Sponsored by: Klara Inc.
Differential Revision: https://reviews.freebsd.org/D33238

# db0ac6de 02-Dec-2021 Cy Schubert <cy@FreeBSD.org>

Revert "wpa: Import wpa_supplicant/hostapd commit 14ab4a816"

This reverts commit 266f97b5e9a7958e365e78288616a459b40d924a, reversing
changes made to a10253cffea84c0c980a36ba6776b00ed96c3e3b.

A mismerge of a merge to catch up to main resulted in files being
committed which should not have been.

# 266f97b5 02-Dec-2021 Cy Schubert <cy@FreeBSD.org>

wpa: Import wpa_supplicant/hostapd commit 14ab4a816

This is the November update to vendor/wpa committed upstream 2021-11-26.

MFC after: 1 month


# c3f345ae 01-Dec-2021 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles.inc: remove MK_CXX rule for usr/bin/c++

In fact MK_CXX does not control whether /usr/bin/c++ is built -- it is
installed as a link to Clang (which is always a C/C++ compiler), and it
already exists in OptionalObsoleteFiles under MK_TOOLCHAIN.

Sponsored by: The FreeBSD Foundation

# 610d908f 01-Dec-2021 John Baldwin <jhb@FreeBSD.org>

Add lib32 entries for WITHOUT_PROFILE.

Reported by: Mark Millard

# 07c2b29b 01-Dec-2021 John Baldwin <jhb@FreeBSD.org>

Trim a couple of duplicate entries from WITHOUT_PROFILE.

# 99188582 01-Dec-2021 John Baldwin <jhb@FreeBSD.org>

Add various profiled libraries missing from the WITHOUT_PROFILE list.

Reported by: Mark Millard

# f7ea22e2 01-Dec-2021 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: move /usr/bin/CC to MK_TOOLCHAIN section

/usr/bin/CC is installed by usr.bin/clang/clang/Makefile, as with
/usr/bin/cc, /usr/bin/cpp, etc., and is not controlled by MK_CXX.
Move it to the same section as those tools.

(It may be that these should all be under
MK_TOOLCHAIN == no || MK_CLANG_IS_CC == no, but that seems like
unnecessary complexity.)

Sponsored by: The FreeBSD Foundation

# 1b9344ad 30-Nov-2021 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove GCC remnants

g++ and cc1plus were GCC components that are already removed
unconditionally in ObsoleteFiles.inc.

Reported by: jhb (in review D33108)
Fixes: 57f804675e65 ("remove GCC 4.2.1 build infrastructure")
Sponsored by: The FreeBSD Foundation

# 0179739a 28-Nov-2021 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove ping with INET & INET6 disabled

Reported by: kevans
Fixes: a4ef9e58bc0c ("sbin: build ping if at least one of...")
Sponsored by: The FreeBSD Foundation

# 6e75b2fb 25-Aug-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project release/13.x llvmorg-13.0.0-rc1-97-g23ba3732246a

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-13.0.0-rc1-97-g23ba3732246a.

PR: 258209
MFC after: 2 weeks


# fe6060f1 22-Aug-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-13-init-16847-g88e66fa60ae5

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-13-init-16847-g88e66fa60ae5, the last commit before
the upstream release/13.x branch was created.

PR: 258209
MFC after: 2 weeks


# e9a99463 06-Oct-2021 Ed Maste <emaste@FreeBSD.org>

ssh: enable FIDO/U2F keys

Description of FIDO/U2F support (from OpenSSH 8.2 release notes,
https://www.openssh.com/txt/release-8.2):

This release adds support for FIDO/U2F hardware authenticators to
OpenSSH. U2F/FIDO are open standards for inexpensive two-factor
authentication hardware that are widely used for website
authentication. In OpenSSH FIDO devices are supported by new public
key types "ecdsa-sk" and "ed25519-sk", along with corresponding
certificate types.

ssh-keygen(1) may be used to generate a FIDO token-backed key, after
which they may be used much like any other key type supported by
OpenSSH, so long as the hardware token is attached when the keys are
used. FIDO tokens also generally require the user explicitly
authorise operations by touching or tapping them.

Generating a FIDO key requires the token be attached, and will
usually require the user tap the token to confirm the operation:

$ ssh-keygen -t ecdsa-sk -f ~/.ssh/id_ecdsa_sk
Generating public/private ecdsa-sk key pair.
You may need to touch your security key to authorize key generation.
Enter file in which to save the key (/home/djm/.ssh/id_ecdsa_sk):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/djm/.ssh/id_ecdsa_sk
Your public key has been saved in /home/djm/.ssh/id_ecdsa_sk.pub

This will yield a public and private key-pair. The private key file
should be useless to an attacker who does not have access to the
physical token. After generation, this key may be used like any
other supported key in OpenSSH and may be listed in authorized_keys,
added to ssh-agent(1), etc. The only additional stipulation is that
the FIDO token that the key belongs to must be attached when the key
is used.

To enable FIDO/U2F support, this change regenerates ssh_namespace.h,
adds ssh-sk-helper, and sets ENABLE_SK_INTERNAL (unless building
WITHOUT_USB).

devd integration is not included in this change, and is under
investigation for the base system. In the interim the security/u2f-devd
port can be installed to provide appropriate devd rules.

Reviewed by: delphij, kevans
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32509

# 2f7f8995 27-Oct-2021 John Baldwin <jhb@FreeBSD.org>

libdialog: Bump shared library version to 10.

The upgrade to libdialog 1.3 included changes to the ABI.

Bump libdpv to 3 since it links against libdialog.

Reported by: Mark Millard <marklmi@yahoo.com>
Reviewed by: bapt
Fixes: a96ef4501919 dialog: import dialog 1.3-20210117
Differential Revision: https://reviews.freebsd.org/D32675

# 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

# 7b1e19ad 06-Oct-2021 Ed Maste <emaste@FreeBSD.org>

Add libfido2 to the build

From https://github.com/Yubico/libfido2:

libfido2 provides library functionality and command-line tools to
communicate with a FIDO device over USB, and to verify attestation
and assertion signatures.

libfido2 supports the FIDO U2F (CTAP 1) and FIDO 2.0 (CTAP 2)
protocols.

libfido2 will be used by ssh to support FIDO/U2F keys. It is currently
intended only for use by ssh, and so is installed as a PRIVATELIB and is
placed in the ssh pkgbase package.

This is currently disabled for the 32-bit library build as libfido2 is
not compatible with the COMPAT_32BIT hack in usb_ioctl.h.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32448

# 2a213a2e 20-Oct-2021 Baptiste Daroussin <bapt@FreeBSD.org>

OptionalObsoleteFiles: add more googletest files to remove

# 2e85df65 06-Oct-2021 Ed Maste <emaste@FreeBSD.org>

Add libcbor to the build

From https://github.com/PJK/libcbor:

libcbor is a C library for parsing and generating CBOR, the general-
purpose schema-less binary data format.

libcbor will be used by ssh to support FIDO/U2F keys. It is currently
intended only for use by ssh, and so is installed as a PRIVATELIB and is
placed in the ssh pkgbase package.

cbor_export.h and configuration.h were generated by the upstream CMake
build. We could create them with bmake rules instead (as NetBSD has
done) but this is a fine start.

This is currently disabled for the 32-bit library build as libfido2 is
not compatible with the COMPAT_32BIT hack in usb_ioctl.h, and there is
no need for libcbor without libfido2.

Reviewed by: kevans
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32347

# 1b85b68d 14-Oct-2021 Cameron Katri <me@cameronkatri.com>

llvm-readobj: Attach to buildsystem

Also install it as readelf when MK_LLVM_BINUTILS is set.

Reviewed By: dim, arichardson
Differential Revision: https://reviews.freebsd.org/D32058

# 88c02733 11-Oct-2021 Alex Richardson <arichardson@FreeBSD.org>

Update OptionalObsoleteFiles.inc after 021385aba562

I forgot to update this file so make delete-old would incorrectly remove
the newly-installed LLVM binutils. While touching the file also update
for 8e1c989abbd1 since ObsoleteFiles.inc now inludes the tablegen binaries.

Reported by: Herbert J. Skuhra <herbert@gojira.at>
Reviewed By: emaste, imp

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

# 032448cd 08-Oct-2021 Ed Maste <emaste@FreeBSD.org>

Belatedly track private lib renaming for OptionalObsoleteFiles.inc

Reviewed by: kevans
Fixes: 5551c573554e ("Rework PRIVATELIB")
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32384

# 85395180 21-Jul-2021 Fernando Apesteguía <fernape@FreeBSD.org>

Remove manpages from OLD_FILES

Remove apm.8 and apmconf.8 from OLD_FILES in the relevant Makefiles.

These pages are now installed unconditionally as per 0a0f7486413c

PR: 257228
Reported by: yasu@utahime.org, wosch@
Approved by: imp@, wosch@
Fixes: 0a0f7486413c - Build manpages for all architectures
MFH: 4 weeks
Differential Revision: https://reviews.freebsd.org/D31256

# 23408297 18-Jun-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project 12.0.1 rc2

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-12.0.1-rc2-0-ge7dac564cd0e, a.k.a. 12.0.1 rc2.

PR: 255570
MFC after: 6 weeks


# d409305f 26-Apr-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project 12.0.0 release

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-12.0.0-0-gd28af7c654d8, a.k.a. 12.0.0 release.

PR: 255570
MFC after: 6 weeks


# e8d8bef9 13-Jun-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-12-init-17869-g8e464dd76bef

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-12-init-17869-g8e464dd76bef, the last commit before the
upstream release/12.x branch was created.

PR: 255570
MFC after: 6 weeks


# 0333fad1 11-Jun-2021 John Baldwin <jhb@FreeBSD.org>

Remove svnlite.

Reviewed by: bcr, imp, emaste
Differential Revision: https://reviews.freebsd.org/D30737

# 95aa617e 03-Jun-2021 Dimitry Andric <dim@FreeBSD.org>

Add C++ headers <barrier> <concepts> <execution> <latch> <numbers> <semaphore>

I missed adding these to the libc++ Makefile, when importing
llvm-project 11.0.0-rc1, even though they were supplied by upstream.

While here, update OptionalObsoleteFiles.inc to add these new headers,
and cleanup old cruft.

Reported by: yuri
Submitted by: jkim (Makefile diff)
PR: 255374
MFC after: 3 days

# 15deee52 20-Mar-2021 Dimitry Andric <dim@FreeBSD.org>

Move GH_BC ObsoleteFiles.inc section to OptionalObsoleteFiles.inc

Optional features belong in the latter file, and should be tested using:

.if ${MK_FEATURE} == no
[...]
.endif

# e6cfd293 03-Mar-2021 John Baldwin <jhb@FreeBSD.org>

Remove the usr/tests/usr.bin/yacc/yacc directory when removing yacc.

MFC after: 1 week

# 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

# 5cf6f1c4 30-Jan-2021 Alex Richardson <arichardson@FreeBSD.org>

Remove the MK_LIBCPLUSPLUS option

This option has been equivalent to any form of C++ support since libstdc++
was removed. Therefore, replace all MK_LIBCPLUSPLUS uses with MK_CXX.

Reviewed By: emaste
Differential Revision: https://reviews.freebsd.org/D27974

# bfc99943 25-Jan-2021 Brooks Davis <brooks@one-eyed-alien.net>

ndis(4): remove as previous announced

nids(4) was a clever idea in the early 2000's when the market was
flooded with 10/100 NICs with Windows-only drivers, but that hasn't been
the case for ages and the driver has had no meaningful maintenance in
ages. It only supports Windows-XP era drivers.

Also remove:
- ndis support from wpa_supplicant
- ndiscvt(8)

Reviewed By: emaste, bcr (manpages)
Differential Revision: https://reviews.freebsd.org/D27609

# 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

# 7593c13e 16-Jan-2021 Dimitry Andric <dim@FreeBSD.org>

Add libclang_rt.profile-powerpc64le.a to (Optional)?ObsoleteFiles.inc

On little-endian PowerPC64, this prevented /usr/lib/clang/11.0.0 being
cleaned up completely after upgrading to clang 11.0.1.

Noticed by: pkubaj
MFC after: 4 weeks
X-MFC-With: r364284

# eaeb601b 03-Jan-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
release/11.x llvmorg-11.0.1-rc2-0-g43ff75f2c3f (aka 11.0.1 rc2).

MFC after: 4 weeks
X-MFC-With: r364284


# 8aff76fb 22-Dec-2020 Kyle Evans <kevans@FreeBSD.org>

build: remove the option to build gnugrep

Unconditionally install bsdgrep as grep, bootstrap or not. Remove all
build glue and stop installing both gnugrep and libgnuregex now that
all consumers of the latter are gone.

Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D27732

# 1c0ea326 15-Dec-2020 Ed Maste <emaste@FreeBSD.org>

Retire obsolete GDB 6.1.1

GDB 6.1.1 was released in June 2004 and is long obsolete. It does not
support all of the architectures that FreeBSD does, and imposes
limitations on the FreeBSD kernel build, such as the continued use of
DWARF2 debugging information.

It was kept (in /usr/libexec/) only for use by crashinfo(8), which
extracts some basic information from a kernel core dump after a crash.
Crashinfo already prefers gdb from port/package if installed.

Future work may add kernel debug support to LLDB or find another path
for crashinfo's needs, but in any case we do not want to ship the
excessively outdated GDB in FreeBSD 13.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D27610

# d2624517 26-Nov-2020 Alan Somers <asomers@FreeBSD.org>

ping: add a ping6 hard link for backwards compatibility

When invoked as "ping6", ping will now attempt to use ICMPv6 for hostnames
that resolve both IPv4 and IPv6 addresses.

Reviewed by: bz, manu
MFC-With: r368045
Differential Revision: https://reviews.freebsd.org/D27384

# 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

# 2406f943 15-Nov-2020 Dimitry Andric <dim@FreeBSD.org>

Ensure make delete-old does not unlink the llvm-cxxfilt and its manpage,
after r367304 and r367324, when WITH_LLVM_CXXFILT is enabled.

Noticed by: "Herbert J. Skuhra" <herbert@gojira.at>
MFC after: 3 days
X-MFC-With: r367304

# 07335072 18-Oct-2020 Kyle Evans <kevans@FreeBSD.org>

libbe(3): install MLINKS for all of the functions provided

MFC after: 1 week

# 6703731d 08-Sep-2020 Kyle Evans <kevans@FreeBSD.org>

phttpget: move out of portsnap

Currently, WITHOUT_PORTSNAP forces WITHOUT_FREEBSD_UPDATE because the
latter relies on phttpget, which lives inside the portsnap build bits.

Remove the dependency between these two options by moving phttpget out into
^/libexec and building/installing it if either WITH_PORTSNAP or
WITH_FREEBSD_UPDATE.

Future work could remove the conditional if it's decided that users will use
it independently of either the current in-base consumers.

Reported by: swills
Reviewed by: jilles, emaste
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D26255

# 32cb7794 03-Sep-2020 Dimitry Andric <dim@FreeBSD.org>

Ensure zpool-features(5) doesn't get removed by make delete-old.

Apparently, somewhere in 2012 ZFS-on-FreeBSD moved it from section 5 to
7, but ZFS-on-Linux never did.

# 57b71478 14-Aug-2020 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for added and removed clang 11.0.0
internal headers.

# 62cfcf62 28-Jun-2020 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
llvmorg-10.0.1-rc2-0-g77d76b71d7d.

Also add a few more llvm utilities under WITH_CLANG_EXTRAS:

* llvm-dwp, a utility for merging DWARF 5 Split DWARF .dwo files into
.dwp (DWARF package files)
* llvm-size, a size(1) replacement
* llvm-strings, a strings(1) replacement

MFC after: 3 weeks


# 136bdd99 26-Jun-2020 Dimitry Andric <dim@FreeBSD.org>

Follow-up to r362679, add more entries to OptionalObsoleteFiles.inc

MFC after: 3 days
X-MFC-With: r362679

# bd74205d 27-Jun-2020 Dimitry Andric <dim@FreeBSD.org>

Regenerate ReStructuredText based manpages for llvm-project tools:

* bugpoint.1
* clang.1
* llc.1
* lldb.1
* lli.1
* llvm-ar.1
* llvm-as.1
* llvm-bcanalyzer.1
* llvm-cov.1
* llvm-diff.1
* llvm-dis.1
* llvm-dwarfdump.1
* llvm-extract.1
* llvm-link.1
* llvm-mca.1
* llvm-nm.1
* llvm-pdbutil.1
* llvm-profdata.1
* llvm-symbolizer.1
* llvm-tblgen.1
* opt.1

Add newly generated manpages for:

* llvm-addr2line.1 (this is an alias of llvm-symbolizer)
* llvm-cxxfilt.1
* llvm-objcopy.1
* llvm-ranlib.1 (this is an alias of llvm-ar)

Note that llvm-objdump.1 is an exception, as upstream has both a plain
.1 file, and a .rst variant. These will have to be reconciled upstream
first.

MFC after: 3 days

# 0a9ab9f5 24-Jun-2020 Conrad Meyer <cem@FreeBSD.org>

Add WITH_CLANG_FORMAT option

clang-format is enabled conditional on either WITH_CLANG_EXTRAS or
WITH_CLANG_FORMAT. Some sources in libclang are build conditional on
either rule, and obviously the clang-format binary itself depends on the
rule.

clang-format could still use a manual page.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D25427

# 74e8d41e 06-Jun-2020 Ed Maste <emaste@FreeBSD.org>

Retire BINUTILS and BINUTILS_BOOTSTRAP options

As of r361857 all BINUTILS options are disabled by default - ports
have been changed to depend on binutils if they require GNU as, and
all base system assembly files have been switched to use Clang's
integrated assembler.

Relnotes: Yes
Sponsored by: The FreeBSD Foundation

# d65cd7a5 23-May-2020 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
llvmorg-10.0.1-rc1-0-gf79cd71e145 (aka 10.0.1 rc1).

MFC after: 3 weeks


# 65a1d636 15-May-2020 Ed Maste <emaste@FreeBSD.org>

libalias: retire cuseeme support

The CU-SeeMe videoconferencing client and associated protocol is at this
point a historical artifact; there is no need to retain support for this
protocol today.

Reviewed by: philip, markj, allanjude
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D24790

# 4d48b0cf 15-May-2020 John Baldwin <jhb@FreeBSD.org>

Don't remove ubsec(4) manual page for WITHOUT_USB=yes.

In head this manpage has been removed entirely, but ubsec(4) is a PCI
device and not a USB device.

MFC after: 1 week

# f8519228 07-May-2020 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles.inc: remove objdump

objdump is removed unconditionally in ObsoleteFiles.inc

# 12de77b3 19-Apr-2020 Cy Schubert <cy@FreeBSD.org>

Due to popular demand, revert r360102.

Reported by: many

# 4574585e 19-Apr-2020 Cy Schubert <cy@FreeBSD.org>

Conditionally install Kerberos rc files based on MK_KERBEROS_SCRIPTS
instead of MK_KERBEROS. The reason for this change is some users
prefer to build FreeBSD WITHOUT_KERBEROS, wanting to retain the
Kerberos rc scripts to start/stop MIT Kerberos or Heimdal from ports.

PR: 197337
Reported by: Adam McDougall <ebay at looksharp.net>
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D24252

# a52b0bb1 30-Mar-2020 Ed Maste <emaste@FreeBSD.org>

drop GDB_LIBEXEC option (now always true)

In-tree gdb is essentially obsolete. We kept it for sparc64 (because
gdb in ports lacked sparc64 support) and as a fallback for crashinfo.
gdb was installed to /libexec on all archs other than sparc64, where the
WITHOUT_GDB_LIBEXEC option was default, with gdb installed to /usr/bin.
With sparc64's retirement WITH_GDB_LIBEXEC became the default for all
architectures, but it was still possible to set it off and install gdb
into /usr/bin.

As the next step in gdb's retirement, remove the option and install gdb
only into /libexec as the crashinfo fallback. We expect users to install
the gdb port or package for debugging. The in-tree gdb lacks support for
a number of supported architectures and does not support contemporary
DWARF debug info.

Reviewed by: jhb (earlier)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D24227

# a04ec978 26-Mar-2020 Brandon Bergren <bdragon@FreeBSD.org>

[PowerPC] Switch powerpc and powerpcspe to lld

Now that LLD 10 is out, and required patches have landed, we are now ready
to finally switch away from the ancient in-tree ld.bfd.

Special thanks to Fangrui Song for many hours of work on getting the
32-bit powerpc lld ready for prime-time.

Reviewed by: emaste (earlier revision), jhibbits
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D24111

# b0d29bc4 23-Mar-2020 Brooks Davis <brooks@FreeBSD.org>

Import the kyua test framework.

Having kyua in the base system will simplify automated testing in CI and
eliminates bootstrapping issues on new platforms.

The build of kyua is controlled by WITH(OUT)_TESTS_SUPPORT.

Reviewed by: emaste
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D24103


# 725cc1de 17-Mar-2020 John Baldwin <jhb@FreeBSD.org>

Add missing DTrace files for WITHOUT_CDDL=yes.

Reviewed by: dteske
MFC after: 1 week
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D24037

# 0fbbe502 12-Mar-2020 Enji Cooper <ngie@FreeBSD.org>

Remove /usr/share/snmp/defs/tc.def with delete-old if MK_BSNMP == no

This removes a lingering file on new installs of CURRENT, originally
added in r345797.

MFC after: 1 week
MFC with: r345797

# 16b90565 10-Mar-2020 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r358731 through r358831.


# 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

# 91019ea7 29-Feb-2020 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r358400 through r358465.


# 57f80467 28-Feb-2020 Ed Maste <emaste@FreeBSD.org>

remove GCC 4.2.1 build infrastructure

As described in Warner's email message[1] to the FreeBSD-arch mailing
list we have reached GCC 4.2.1's retirement date. At this time all
supported architectures either use in-tree Clang, or rely on external
toolchain (i.e., a contemporary GCC version from ports).

GCC 4.2.1 was released July 18, 2007 and was imported into FreeBSD later
that year, in r171825. GCC has served us well, but version 4.2.1 is
obsolete and not used by default on any architecture in FreeBSD. It
does not support modern C and does not support arm64 or RISC-V.

Thanks to everyone responsible for maintaining, updating, and testing
GCC in the FreeBSD base system over the years.

So long, and thanks for all the fish.

[1] https://lists.freebsd.org/pipermail/freebsd-arch/2020-January/019823.html

PR: 228919
Reviewed by: brooks, imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D23124

# 0b37c159 25-Jan-2020 Dimitry Andric <dim@FreeBSD.org>

* Bump version numbers to 10.0.0
* Update UPDATING
* Update (Optional)ObsoleteFiles.inc
* Update VCS(Revision|Version) files
* Update generated config headers
* Update clang internal headers Makefile

# 0581ad70 20-Jan-2020 Mariusz Zaborski <oshogbo@FreeBSD.org>

When MK_CASPER=no is set remove files which are not needed to run system.

PR: 242971

# 3d37949e 20-Jan-2020 Mariusz Zaborski <oshogbo@FreeBSD.org>

Even when the MK_CASPER is set to "no" we still want to install man pages
and the headers. If the user decides to install the system without Casper
support, then the Casper functions are mocked, but they still exist in
the system.

PR: 242971
MFC after: 2 weeks

# c31a062f 20-Jan-2020 Mariusz Zaborski <oshogbo@FreeBSD.org>

Those files are already removed in ObsoleteFiles.\
There is no need to remove them twice.

PR: 242971
MFC after: 2 weeks

# cd0d51ba 04-Jan-2020 Kyle Evans <kevans@FreeBSD.org>

Provide libssp based on libc

For libssp.so, rebuild stack_protector.c with FORTIFY_SOURCE stubs that just
abort built into it.

For libssp_nonshared.a, steal stack_protector_compat.c from
^/lib/libc/secure and massage it to maintain that __stack_chk_fail_local
is a hidden symbol.

libssp is now built unconditionally regardless of {WITH,WITHOUT}_SSP in the
build environment, and the gcclibs version has been disconnected from the
build in favor of this one.

PR: 242950 (exp-run)
Reviewed by: kib, emaste, pfg, Oliver Pinter (earlier version)
Also discussed with: kan
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D22943

# c14a5a88 22-Dec-2019 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
9.0.1 final release c1a0a213378a458fbea1a5c77b315c7dce08fd05.

Release notes for llvm, clang, lld and libc++ 9.0.1 will become
available here:

https://releases.llvm.org/9.0.1/docs/ReleaseNotes.html
https://releases.llvm.org/9.0.1/tools/clang/docs/ReleaseNotes.html
https://releases.llvm.org/9.0.1/tools/lld/docs/ReleaseNotes.html
https://releases.llvm.org/9.0.1/projects/libcxx/docs/ReleaseNotes.html

PR: 240629
MFC after: 1 month


# 1bb8eb56 23-Nov-2019 Dimitry Andric <dim@FreeBSD.org>

libclang_rt: enable on powerpc*

Summary:
Enable on powerpc64 and in lib/libclang_rt/Makefile change
MACHINE_CPUARCH to MACHINE_ARCH because on powerpc64
MACHINE_ARCH==MACHINE_CPUARCH so the 32-bit library overwrites 64-bit
library during installworld.

This patch doesn't enable any other libclang_rt libraries because they
need to be separately ported.

I have verified that games/julius (which fails on powerpc64 elfv2
without this change because of no libclang_rt profiling library) builds.

Test Plan: Ship it, test on powerpc and powerpcspe

Submitted by: pkubaj
Reviewed by: dim, jhibbits
Differential Revision: https://reviews.freebsd.org/D22425
MFC after: 1 month
X-MFC-With: r353358

# 8b3bc70a 08-Oct-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r352764 through r353315.


# 4d22a29a 04-Oct-2019 Baptiste Daroussin <bapt@FreeBSD.org>

Do not remove the locale directory when building a system without locales

This directory is actually needed during make installworld and will prevent
to reinstall a system after make delete-old is done.

PR: 226137
Reported by: rakuco
MFC after: 3 days

# f993ed2f 09-Sep-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r351732 through r352104.


# 9a2b7c5f 04-Sep-2019 Rebecca Cran <bcran@FreeBSD.org>

The efifat files are no longer used: remove the code to build them

Reviewed by: imp, tsoome, emaste
Differential Revision: https://reviews.freebsd.org/D20562

# 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

# f57be329 01-Sep-2019 Dimitry Andric <dim@FreeBSD.org>

Update libclang_rt:
* Add cfi, dd, fuzzer and xray
* Update arch support
* Update OptionalObsoleteFiles.inc

# 2f3724e6 31-Aug-2019 Dimitry Andric <dim@FreeBSD.org>

Update Makefile and mtree for clang internal headers, and update
OptionalObsoleteFiles.inc for added and removed files.

# 72e1e271 23-Aug-2019 Dimitry Andric <dim@FreeBSD.org>

Change clang lib dir to 9.0.0.

# 7f32f0e2 18-Aug-2019 Vladimir Kondratyev <wulf@FreeBSD.org>

iwmbtfw: Firmware loader for Intel Wireless 8260 based Bluetooth USB devices

Currently supported models are: 8260, 8265, 9560, 9260 and 22161.
Firmware files can be installed with comms/iwmbt-firmware port.

PR: 237083
Reviewed by: hps, emax
X-MFC with: r351196
Differential Revision: https://reviews.freebsd.org/D21071

# 403c9d52 05-Aug-2019 Leandro Lupori <luporl@FreeBSD.org>

[PPC64] Don't mark ld.bfd as obsolete

PowerPC64 still needs ld.bfd for 32-bit binaries/libraries.

This will be needed when ELFv2 becomes default, but there is no harm in
committing it already.

Reviewed by: jhibbits
Differential Revision: https://reviews.freebsd.org/D21136

# 330014fd 03-Jul-2019 Tijl Coosemans <tijl@FreeBSD.org>

Also remove lib32 versions of libradius.

MFC after: 1 week

# 015cb6cd 26-Jun-2019 Cy Schubert <cy@FreeBSD.org>

Create a link to the ipmon.conf.5 man page as documented in ipmon.5.
Add its corresponding optional removal entry.

PR: 238816
MFC after: 1 week

# 74bc7fc0 26-Jun-2019 Cy Schubert <cy@FreeBSD.org>

Add the ipmon.5 man page.

PR/238816 initially addressed updates to usage() however the PR has
morphed into a shopping list of updates to usage() and man pages.

PR: 238816 (I added to the list during discussion)
MFC after: 1 week

# efc5c442 12-Jun-2019 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copies of clang, llvm, lld, lldb, compiler-rt, libc++,
libunwind and openmp to the upstream release_80 branch r363030
(effectively, 8.0.1 rc2). The 8.0.1 release should follow this within a
week or so.

MFC after: 2 weeks


# f02125cd 06-Jun-2019 Jung-uk Kim <jkim@FreeBSD.org>

Move llvm-ranlib to appropriate location in OptionalObsoleteFiles.inc.

Note llvm-ar is linked to llvm-ranlib since r311565. r348677 fixed
"make delete-old" issue with llvm-ar but missed it somehow.

Discussed with: emaste, jhb

# e4e92b4d 05-Jun-2019 Ed Maste <emaste@FreeBSD.org>

Use CLANG knob to remove llvm-symbolizer man page

r348504 moved llvm-symbolizer from the CLANG_EXTRAS knob to CLANG, but
the man page was still in the CLANG_EXTRAS section in
OptionalObsoleteFiles.inc.

Reported by: jhb
MFC after: 3 days
MFC with: r348504

# 7120683d 04-Jun-2019 Ed Maste <emaste@FreeBSD.org>

move llvm-ar and llvm-nm to appropriate location in OptionalObsoleteFiles.inc

After r348610 `make delete-old` was still removing llvm-ar and llvm-nm
(and associated man pages).

Reported by: jhb
Sponsored by: The FreeBSD Foundation

# 71259635 01-Jun-2019 Kyle Evans <kevans@FreeBSD.org>

llvm-symbolizer: Move out of CLANG_EXTRAS, into CLANG

ASAN reports become a lot more useful with llvm-symbolizer in $PATH, and the
build is not much more time-consuming. The added benefit is that the
resulting reports will actually include symbol information; without, thread
trace information includes a bunch of addresses that immediately resolve to
an inline function in
^/contrib/compiler-rt/lib/sanitizer_common/sanitizer_common.h and take a
little more effort to examine.

Reviewed by: emaste
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D20484

# 001ec17e 19-May-2019 Dimitry Andric <dim@FreeBSD.org>

To avoid unnecessarily modifying ports, add a -lgomp symlink, since GCC
does not ship a -lomp symlink. Also update OptionalObsoleteFiles for
this, and add 32-bit variants while here.

Submitted by: jbeich
PR: 237975
MFC after: 3 days

# 6da88762 19-May-2019 Dimitry Andric <dim@FreeBSD.org>

Fix OptionalObsoleteFiles copy/paste mistake from r345236, which
connected libomp to the build. The comparison should not have been
against ${MK_OPENSSH}, but against ${MK_OPENMP}, obviously.

MFC after: 3 days

# 60828939 26-Mar-2019 John Baldwin <jhb@FreeBSD.org>

Add special psuedo-options for the base/{binutils,gcc} ports.

The WITH_PORT_BASE_{BINUTILS,GCC} options are used to prevent 'make check-old'
and 'make delete-old' from deleting files installed by the base/binutils
and base/gcc packages as normally one disables the in-tree variants
(e.g. WITHOUT_BINUTILS) when using these packages.

Reviewed by: bapt (earlier version)
Differential Revision: https://reviews.freebsd.org/D19483

# 5d3d68ab 21-Mar-2019 Cy Schubert <cy@FreeBSD.org>

From r345400, remove the ippool rc script when ipfilter is not wanted
by the user.

PR: 218433
MFC after: 2 weeks
X-MFC with: r345400

# b0840a28 16-Mar-2019 Dimitry Andric <dim@FreeBSD.org>

Connect lib/libomp to the build.

* Set MK_OPENMP to yes by default only on amd64, for now.
* Bump __FreeBSD_version to signal this addition.
* Ensure gcc's conflicting omp.h is not installed if MK_OPENMP is yes.
* Update OptionalObsoleteFiles.inc to cope with the conflicting omp.h.
* Regenerate src.conf(5) with new WITH/WITHOUT fragments.

Relnotes: yes
PR: 236062
MFC after: 1 month
X-MFC-With: r344779

# 5193fcde 15-Mar-2019 Enji Cooper <ngie@FreeBSD.org>

Initial googlemock/googletest integration into the build/FreeBSD test suite

This initial integration takes googlemock/googletest release 1.8.1, integrates
the library, tests, and sample unit tests into the build.

googlemock/googletest's inclusion is optionally available via `MK_GOOGLETEST`.
`MK_GOOGLETEST` is dependent on `MK_TESTS` and is enabled by default when
built with a C++11 capable toolchain.

Google tests can be specified via the `GTESTS` variable, which, in comparison
with the other test drivers, is more simplified/streamlined, as Googletest only
supports C++ tests; not raw C or shell tests (C tests can be written in C++
using the standard embedding methods).

No dependent libraries are assumed for the tests. One must specify `gmock`,
`gmock_main`, `gtest`, or `gtest_main`, via `LIBADD` for the program.

More information about googlemock and googletest can be found on the
Googletest [project page](https://github.com/google/googletest), and the
[GoogleMock](https://github.com/google/googletest/blob/v1.8.x/googlemock/docs/Documentation.md)
and
[GoogleTest](https://github.com/google/googletest/tree/v1.8.x/googletest/docs)
docs.

These tests are originally integrated into the build as plain driver tests, but
will be natively integrated into Kyua in a later version.

Known issues/Errata:
* [WhenDynamicCastToTest.AmbiguousCast fails on FreeBSD](https://github.com/google/googletest/issues/2172)

Reviewed by: asomers
Approved by: emaste (mentor)
MFC after: 2 months
Differential Revision: https://reviews.freebsd.org/D19551


# 77e6f928 12-Mar-2019 Cy Schubert <cy@FreeBSD.org>

Fix still installing ipfilter rc.d files even when WITHOUT_IPFILTER
is specified.

When WITHOUT_IPFILTER is specified, delete-old-files fails to delete
the optional rc.d files from above. Fix this.

WITHOUT_IPFILTER fails to delete the ipfilter.5 optional file during
delete-old-files. Fix this.

Reported by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
MFC after: 1 week

# 844fc3e9 04-Mar-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r344549 through r344775.


# 2e881c1a 28-Feb-2019 Bryan Drewery <bdrewery@FreeBSD.org>

bsd.nls.mk isn't optional.

It is protected by MK_NLS. If it should really be optional then
it needs to be documented as such in share/mk/bsd.README and
.sinclude used where needed.

This fixes a regression from r335011.

PR: 232527
Submitted by: jarrod@downtools.com.au
Reported by: ktullavik@gmail.com
MFC after: 3 days

# a8fe8db4 25-Feb-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r344178 through r344512.


# 7588d90e 16-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Few more corrections to WITHOUT_OFED=1 make delete-old removal:

- Drop profile libraries; MK_PROFILE=no is set in all Makefile's.
- Correct library path to libmlx5.so.1 and libibverbs.so.1

MFC after: 5 days
MFC with: 344207

# fe3d954e 16-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Remove corresponding lib32/ files when WITHOUT_OFED=1 is set

MFC after: 5 days
MFC with: 344207

# 4a0225e5 16-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Refresh OptionalObsoleteFiles.inc for MK_PMC:

- Add missing /usr/sbin/pmc, pmcformat.h, libpmcstat.h and pmc.haswellxeon.3
to the list.
- Correct man page section for pmcstudy.8.
- Include recently added libipt and libopencsd for corresponding TARGET_ARCH

MFC after: 5 days

# b94a281e 15-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Add more rc.d scripts / empty directors / config files into
OptionalObsoleteFiles.inc

Note: only files with conditional installation logic were
included from the PR.

PR: 233046
Submitted by: <rozhuk.im@gmail.com>
MFC after: 5 days

# 48514fe1 15-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Allow to remove unused files via 'make delete-old(-libs)' when WITHOUT_OFED
and / or WITHOUT_OFED_EXTRA src.conf(5) options are set.

MFC after: 5 days

# ebd13ba3 15-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Remove vi(1)-related files via 'make delete-old' when WITHOUT_VI=1 is set.

MFC after: 5 days

# 9e43c218 09-Feb-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r343807 through r343955.


# 984aff28 07-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Correct ypldap(8) install path in OptionalObsoleteFiles.inc

It's installed to /usr/sbin, not to /usr/bin (and was always here).

While here, add missing manpages and /var/yp directory to the list.

MFC after: 1 week

# 7e565c55 30-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r343320 through r343570.


# 31f53eaa 27-Jan-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Remove RADIUS-related files when WITHOUT_RADIUS_SUPPORT=true is set
in src.conf(5)

PR: 234041
MFC after: 5 days

# 88148a07 22-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r343202 through r343319.


# 58a7b5d6 22-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Update libc++ build glue, and ObsoleteFiles.

# 6b77b5ec 20-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add more profile-enabled libraries to remove when WITHOUT_PROFILE is defined

PR: 230898
Submitted by: Herbert J. Skuhra <herbert@mailbox.org>
MFC after: 1 week

# 0bf31f1f 20-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Update version numbers, and regenerate config headers for llvm, clang,
lld and lldb. Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc.

# 33b63711 17-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add ypldap to the list of conditional obsolete files

ypldap should be removed during delete-old if WITHOUT_NIS flag is enabled

PR: 230727
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>
MFC after: 1 week

# 0a34fc88 16-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Fix conditional obsolete files entry for WITHOUT_EXAMPLES

Add all the files under /usr/share/examples to the MK_EXAMPLES
section. OLD_DIRS entries are not removed if they're not empty so
prior to this change WITHOUT_EXAMPLES didn't have significant effect
on the updated system.

PR: 228484
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru> (original patch)
MFC after: 1 week

# aca16d28 16-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add optional obsolete files for the installworld without sendmail

Add two more entries for WITHOUT_SENDMAIL install. The /var/spool/clientmqueue
entry would be deleted only if there are no files/dirs in it, so the
content generated during previous lifecycle of the system is safe

PR: 228484
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>
MFC after: 1 week

# d46dea50 13-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add four kerberos CLI utilities to OptionalObsoleteFiles.inc

Add asn1_compile, make-roken, kcc, and slc to the OptionalObsoleteFiles.inc
so they would be removed during delete-old stage if the new world is built
without Kerberos support.

PR: 230725
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>
MFC after: 1 week

# 0fc0faf8 11-Jan-2019 Lars Engels <lme@FreeBSD.org>

Add `bluetooth-config` script to simplify setting up bluetooth connections to
devices like mice, keyboards, bt-audio, ...

This script currently allows scanning for nearby devices, adds one to
/etc/bluetooth/hosts, adds an entry to hcsecd's conf and if it is a HID, add an
entry to bthidd's configs, as well.

Submitted by: erdgeist <erdgeist@erdgeist.org>
Approved by: bapt
MFC after: 2 weeks
Differential Revision: D3778
Reviewers: bapt, emax

# 354c6a44 07-Jan-2019 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove groff leftovers

usr/share/dict/eign is removed unconditionally as of r319664, so it no
longer needs to be in OptionalObsoleteFiles.

PR: 230353
Reported by: philippe.michel7 sfr.fr

# b1ce931b 17-Dec-2018 Alan Somers <asomers@FreeBSD.org>

Conditionalize installtion audit(4) tests on MK_AUDIT

MK_AUDIT already controls auditd(8), praudit(1), etc. It should also control
the audit test suite.

Submitted by: ngie
MFC after: 2 weeks
Pull Request: https://github.com/freebsd/freebsd/pull/240

# 314ce98e 16-Dec-2018 Alan Somers <asomers@FreeBSD.org>

OptionalObsoleteFiles: Fix deleting usr/tests/usr.sbin/sa

It's a directory, not a file.

Reported by: ngie
MFC after: 2 weeks
X-MFC-With: 300938

# 738ea871 16-Dec-2018 Alan Somers <asomers@FreeBSD.org>

Conditionally install /etc/rc.d/audit* based on ${MK_AUDIT}

/usr/sbin/audit(dist)?d are only installed if ${MK_AUDIT} == yes. Their
supporting scripts should only be installed in those instances as well.

Submitted by: ngie
Reviewed by: emaste
MFC after: 2 weeks
Pull Request: https://github.com/freebsd/freebsd/pull/242

# 11783f00 15-Dec-2018 Cy Schubert <cy@FreeBSD.org>

Repair build post-r342139

# 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

# 67350cb5 09-Dec-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r340918 through r341763.


# eda7d3be 26-Nov-2018 Ed Maste <emaste@FreeBSD.org>

Do not install GNU ld if lld is /usr/bin/ld

GNU binutils ld.bfd 2.17.50 does not support ifuncs and produces broken
binaries when ifuncs are in use. When LLD_IS_LD is default we have an
ifunc-capable system linker and can just avoid installing ld.bfd.

Reported by: theraven
Reviewed by: bz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D18340

# 9b5cb2f6 12-Nov-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r340235 through r340367.


# e8bd2804 09-Nov-2018 Ed Maste <emaste@FreeBSD.org>

Move llvm-profdata build into MK_LLVM_COV block

llvm-profdata is used with llvm-cov for code coverage (although llvm-cov
can also operate independently in a gcov-compatible mode).
Although llvm-profdata can be used independently of llvm-cov it makes
sense to group these under one option.

Also handle these in OptionalObsoleteFiles.inc while here.

Sponsored by: The FreeBSD Foundation

# 9f7331ad 09-Nov-2018 Ed Maste <emaste@FreeBSD.org>

llvm-cov: also install as gcov (if GNU gcov is disabled)

llvm-cov provides a gcov-compatible interface when invoked as gcov.

Reviewed by: dim, markj
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D17923

# 2f02c9d6 09-Nov-2018 Ed Maste <emaste@FreeBSD.org>

Consolidate gcov entries in OptionalObsoleteFiles

Sponsored by: The FreeBSD Foundation

# 68948600 04-Nov-2018 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, lld, lldb, compiler-rt and libc++ release_70 branch
r346007 (effectively 7.0.1 rc2), resolve conflicts, and bump version
numbers.

PR: 230240, 230355


# ce44d808 27-Sep-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338731 through r338987.


# 25569cea 25-Sep-2018 Ed Maste <emaste@FreeBSD.org>

Do not remove ld man page if lld is enabled and binutils is not

Reported by: Mark Millard
Approved by: re (gjb)
Sponsored by: The FreeBSD Foundation

# 3af64f03 11-Sep-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338392 through r338594.


# 3efdd580 07-Sep-2018 Ed Maste <emaste@FreeBSD.org>

Remove strings from OptionalObsoleteFiles.inc

Since r326030 strings is installed unconditionally so should not be
removed when WITHOUT_TOOLCHAIN is set.

Reported by: Dan McGregor
Approved by: re (kib)
Sponsored by: The FreeBSD Foundation

# da2d1e9d 29-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338298 through r338391.


# 8369ba42 24-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

libbe(3)/bectl(8): Make consistent with beadm

vermaden (maintainer of beadm) points out the following inconsistencies:
- "missing command" is not printed prior to usage if the error is simply a
missing command; this should be obvious from the context
- "bectl rename" isn't using the "don't unmount" flag (zfs rename -u), so
the active BE can't be renamed. It doesn't make sense in our context to
*not* use -u, so use it.

Documentation updates reflect the above and note an inconsistency with the
'destroy' command that is consistent with other parts of the base system.

A fix for libbe(3) not properly being installed to /lib is included.
SHLIBDIR should have been added when it was moved in r337995.

Approved by: re (kib)

# 7847e041 24-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338026 through r338297, and resolve conflicts.


# d7f41421 23-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

Remove hyper-v leftovers when WITHOUT_HYPERV is set

hv_vss_daemon was missed.

Submitted by: Oliver Pinter
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D16811

# ea8b116b 22-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

Remove ZFS leftovers when WITHOUT_ZFS is set

Submitted by: Oliver Pinter
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D16810

# a757dfac 03-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Update lib/libclang_rt for compiler-rt trunk r338150.

# 488aa40a 02-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Update libc++ and libc++experimental Makefiles, add libc++fs Makefile,
and update OptionalObsoleteFiles.inc for new additions.

# 67b158f6 01-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Update build blue to make WITH_CLANG_EXTRAS and WITH_CLANG_FULL work.

# d28668f9 31-Jul-2018 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for new clang intrinsics headers.

# 6dfa117f 31-Jul-2018 Dimitry Andric <dim@FreeBSD.org>

Update llvm/clang version numbers in various files.

# 6f077571 04-Jul-2018 Sean Bruno <sbruno@FreeBSD.org>

WITHOUT_SERVICESDB:

Add src.conf knob to disable the installation of /var/db/services.db

Default to leaving services.db in place, but allow the removal of the
file and its creation with a src.conf knob.

This file ends up being 2MB in size. For small systems this is a waste
of space but its a tradeoff.

Reviewed by: bdrewery
Differential Revision: https://reviews.freebsd.org/D9655

# 55458465 30-Jun-2018 Dimitry Andric <dim@FreeBSD.org>

More follow-up to r335799 (llvm/clang 6.0.1 update), where I forgot to
update mtree files, ObsoleteFiles and a number of other paths. Sorry
about all the breakage.

Pointy hat to: me
MFC after: 2 weeks
X-MFC-With: r335799

# 6a75ef58 20-Jun-2018 Kyle Evans <kevans@FreeBSD.org>

Don't remove loader.conf(5) when built WITHOUT_FORTH

The new stand/ structure installs loader.conf(5) and defaults/loader.conf
regardless of interpreter. The only thing gating installation now is
MK_BOOT.

Reported by: eadler

# 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

# cd134777 12-Jun-2018 Sean Bruno <sbruno@FreeBSD.org>

WITHOUT_NLS cleanup of more empty dirs.

Reviewed by: emaste
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D15626

# a8056486 09-Jun-2018 Dimitry Andric <dim@FreeBSD.org>

Add missed libc++ entries to (Optional)ObsoleteFiles.inc

Some of these were removed during the libc++ 5.0.0 import, others were
added in the libc++ 6.0.0 import.

MFC after: 3 days

# 30dc9502 06-Jun-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Remove NLS support from BSD grep

GNU grep as in actually in base does not have any translations support
compiled in, so no functionnality loss.

We do support 193 locales in base, we will never catch up on that number of
translation with bsd grep.

Removing NLS support make bsd grep consistent with the other binaries in base
which are not translated, and also reduce a little bit the code.

Reviewed by: kevans
Approved by: kevans
Discussed with: kevans @BSDCan
Differential Revision: https://reviews.freebsd.org/D15682

# f3e32074 23-May-2018 Eitan Adler <eadler@FreeBSD.org>

Add missing file for WITH{OUT}_BSDINSTAL

PR: 227805
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>

# b70d78d6 12-May-2018 Dag-Erling Smørgrav <des@FreeBSD.org>

Rename all Unbound binaries and man pages from unbound* to local-unbound*.

PR: 222902

# 612c330d 25-Apr-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Use a script wrapper for <compress>grep

Import the wrapper script from zstdgrep (written by wiz@netbsd.org)

Modify it to support more than just zstd (adding support for gzip,
lzma, xz and bzip2)

Write a simple manpage dedicated for it.

Only use that new wrapper both for gnu grep and bsd grep

Next step will be removing code related to compression format from bsdgrep

Reviewed by: kevans
Approved by: kevans
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D15193

# a2739731 06-Feb-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Remove gdbtui, it was already not installed on every arches
only installed on arm and sparc64.
It is the only bits that keeps us having libreadline in base
The rest of gdb can be switched to libedit and will be in another
commit

# fe4fed2e 28-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, lld, lldb, compiler-rt and libc++ trunk r321545,
update build glue and version numbers, add new intrinsics headers, and
update OptionalObsoleteFiles.inc.


# c9d5cb17 24-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc again.

# 0c4684a8 23-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for new headers and libraries under
/usr/lib/clang/6.0.0.

# 9509d906 23-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Add new llvm-objcopy utility, enabled when MK_CLANG_EXTRAS=yes.

# d49fee24 20-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc.

# d4419f6f 02-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copies of clang, llvm, lldb and libc++ to r319231 from the
upstream release_50 branch. This corresponds to 5.0.1 rc2.

MFC after: 2 weeks


# 898300ee 07-Nov-2017 Alexander Motin <mav@FreeBSD.org>

s/NgSendMsgReply/NgSendReplyMsg/ in man to match the code.

Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
MFC after: 2 weeks

# 578ec783 11-Oct-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Do not try to remove diff.7 optionaly has it is always removed
since GNU diff(1) has been replaced with BSD diff(1)

# 00d78afd 11-Oct-2017 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove diff from MK_GNU_DIFF=no block

diff (and man page) are not from GNU, as of r317209, and should not be
deleted if WITHOUT_GNU_DIFF is set. (WITHOUT_GNU_DIFF still controls
whether diff3 is built.)

Sponsored by: The FreeBSD Foundation

# e415aa28 06-Oct-2017 Jeremie Le Hen <jlh@FreeBSD.org>

Remove rcmds.

If they are still needed, you can find them in the net/bsdrcmds port.

This was proposed June, 20th and approved by various committers [1].
They have been marked as deprecated on CURRENT in r320644 [2] on July, 4th.
Both stable/11 and release/11.1 contain the deprecation notice (thanks to
allanjude@).

Note that ruptime(1)/rwho(1)/rwhod(8) were initially thought to be part of
rcmds but this was a mistake and those are therefore NOT removed.

[1] https://lists.freebsd.org/pipermail/freebsd-arch/2017-June/018239.html
[2] https://svnweb.freebsd.org/base?view=revision&revision=320644

Reviewed by: bapt, brooks
Differential Revision: https://reviews.freebsd.org/D12573

# 4154e70e 14-Sep-2017 Ed Maste <emaste@FreeBSD.org>

Update OptionalObsoleteFiles.inc with NTP docs

The list of files for MK_NTP was incomplete.

PR: 218193
Submitted by: brnrd
MFC after: 1 week

# 4572fb3f 13-Sep-2017 Gordon Tetlow <gordon@FreeBSD.org>

Deorbit catman. The tradeoff of disk for performance has long since tipped
in favor of just rendering the manpage instead of relying on pre-formatted
catpages. Note, this does not impede the ability to use existing catpages,
it just removes the utility to generate them.

Reviewed by: imp, allanjude
Approved by: emaste (mentor)
Differential Revision: https://reviews.freebsd.org/D12317

# 63cd05d9 16-Aug-2017 Ed Maste <emaste@FreeBSD.org>

remove debug files in delete-old* when WITHOUT_DEBUG_FILES

Reported by: brd
Reviewed by: bdrewery, brd
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D12044

# 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

# db17bf38 10-Jun-2017 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, lld, lldb, compiler-rt and libc++ r305145, and update
build glue.


# 686fb94a 10-Jun-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r319548 through r319778.


# 738919c0 07-Jun-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Remove groff from base

All manpages in base are now compatible with mandoc(1), all roff documentation
will be relocated in the doc tree. man(1) can now use groff from the ports tree
if it needs.

Also remove checknr(1) and colcrt(1) which are only useful with groff.

Approved by: (no objections on the mailing lists)

# f9448bf3 01-Jun-2017 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, lld, lldb, compiler-rt and libc++ r304460, and update
build glue.


# d02c951f 26-May-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r318658 through r318963.


# cdc37953 25-May-2017 Baptiste Daroussin <bapt@FreeBSD.org>

In preparation for the removal of the roff toolchain, disconnect the
roff documentation from the build.

Those documents will be added to the doc tree and distributed as PDF from
the documentation website. As they are valuable has history, but do not match
current FreeBSD

Further more, the ascii format we were using to distribute them is not really
accurate for such documents.

more details:
https://lists.freebsd.org/pipermail/freebsd-arch/2017-May/018211.html

# 583b5f35 23-May-2017 Glen Barber <gjb@FreeBSD.org>

Honor WITHOUT_TFTP for check-old* and delete-old* targets.

Submitted by: philippe dot michel7 at sfr dot fr
PR: 217949
MFC after: 3 days
Sponsored by: The FreeBSD Foundation

# 27c24068 22-May-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r318560 through r318657.


# 6930ca74 21-May-2017 Dimitry Andric <dim@FreeBSD.org>

Add libc++experimental.a for std::experimental support

This adds a separate library for supporting std::experimental features.
It is purposefully static, and must be explicitly linked into programs
using -lc++experimental.

PLEASE NOTE: there is NO WARRANTY as to any stability or continuing
existence of the features in the std::experimental parts of the C++
library!

Reviewed by: ed
Differential Revision: https://reviews.freebsd.org/D10840

# 209be205 16-May-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r317971 through r318379.


# e5c4c8aa 12-May-2017 Enji Cooper <ngie@FreeBSD.org>

Handle the logfiles in newsyslog and syslogd conditionally, based on
src.conf(5) knobs

This will allow consumers of FreeBSD to use the unmodified configuration
files out of the box more than previously.

Both newsyslog.conf and syslog.conf:
- /var/log/lpd-errs (MK_LPR != no)
- /var/log/ppp.log (MK_PPP != no)
- /var/log/xferlog (MK_FTP != no)

newsyslog.conf:
- /var/log/amd.log (MK_AMD != no)
- /var/log/pflog (MK_PF != no)
- /var/log/sendmail.st (MK_SENDMAIL != no)

MFC after: 3 weeks
Sponsored by: Dell EMC Isilon

# 2cb572a0 11-May-2017 Enji Cooper <ngie@FreeBSD.org>

Unconditionally install udp(4) and udplite(4) again

I added this to the MK_USB != no block in error in r278202.

MFC after: 3 weeks
Sponsored by: Dell EMC Isilon

# 50f2b14e 09-May-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for r318103.

# af3f3602 26-Apr-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r317281 through r317502.


# b4e2ab78 25-Apr-2017 Brooks Davis <brooks@FreeBSD.org>

Remove NATM configuration bits and assorted NATM and ATM remnants.

Reported by: ak
Reviewed by: ngie (first version)
Differential Revision: https://reviews.freebsd.org/D10497

# 73ad3fb5 25-Apr-2017 John Baldwin <jhb@FreeBSD.org>

Add a new GDB_LIBEXEC option to install gdb and kgdb to /usr/libexec.

When this option is enabled, only gdb and kgdb are installed to
/usr/libexec for use by crashinfo(8). Other bits of GDB such as
gdbserver and gdbtui are not installed. For this option to be
effective, GDB must be enabled.

Rework r317094 to re-enable GDB on all platforms but enable
GDB_LIBEXEC on platforms for which the GDB in ports is a superset of
functionality.

Reviewed by: emaste, kib
Suggested by: kib
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D10449

# b3ac6549 25-Apr-2017 Glen Barber <gjb@FreeBSD.org>

Remove an incorrect MLINK for tree(3) introduced in r310728.

Reported by: many
PR: 216476
MFC after: 3 days
Sponsored by: The FreeBSD Foundation

# 12ea3078 25-Apr-2017 John Baldwin <jhb@FreeBSD.org>

Remove info files from optional old files.

Info files are now all removed unconditionally after the removal of
texinfo.

MFC after: 1 week

# 554491ff 20-Apr-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r316992 through r317215.


# 50502545 20-Apr-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Readd Big5: some large databases setup are still requiring it.

Reported by: "張君天(Chun-Tien Chang)" <tcs@kitty.2y.idv.tw>

# f849be8a 16-Apr-2017 Dimitry Andric <dim@FreeBSD.org>

Add preliminary UPDATING and ObsoleteFiles.inc entries. Also add one
new intrinsics header.

# 2f4a7332 14-Apr-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionally install /etc/pam.d/ftp* and /etc/pam.d/telnetd

/etc/pam.d/ftp* should be installed with MK_FTP != no and
/etc/pam.d/telnetd should be installed when MK_TELNET != no.

MFC after: 7 weeks
Sponsored by: Dell EMC Isilon

# ababdab0 19-Mar-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Remove zh_TW.Big5 locale

After discussion with many Taiwanese, in IT or not. Big5 is not used anymore.
It is not able to represent lots of the characters used in the language.

# 2aadc44a 14-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Redirect standard error from find /rescue to /dev/null

This mutes noise from find when /rescue doesn't exist.

MFC after: 1 week
Sponsored by: Dell EMC Isilon

# 83684150 11-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Remove /rescue/zdb if MK_ZFS == no

Missed in r202452.

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# 4ab40004 11-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionally compile [additional] programs into rescue(8) if requested

Trivial oversight missed in r314240 cleanup because I enable these knobs on
my test machines.

MK_INET6_SUPPORT - rtsol
MK_NETCAT - nc

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# a1437e83 11-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Remove /rescue/iscsictl and /rescue/iscsid if MK_ISCSI == no

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# 97ab006d 10-Mar-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Remove the WITHOUT_MANDOCDB option

mandoc database is activated since FreeBSD 11.0, let's remove the previous
database format for FreeBSD 12.0

# d630701f 25-Feb-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r314178 through r314269.


# edb4a773 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Fill MK_LIBTHR as far as lib/libthr is concerned

There are other areas of the tree that will need to be evaluated for sanity
if they're supposed to be conditionally compiled out of the build/install,
like libzpool

MFC after: 1 month
Relnotes: yes (this might break someone's system if have the knob set)
Sponsored by: Dell EMC Isilon

# dc53eebd 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Remove MK_OBJC block

It is no longer represented via src.conf(5)

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# 31c3fb77 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Remove MK_CRYPT stub

It doesn't directly control what gets installed today; it indirectly
pulls other knobs (like MK_KERBEROS, etc).

MFC after: 1 weeks
Sponsored by: Dell EMC Isilon

# f0e14055 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Fill in MK_RESCUE by finding paths in ${DESTDIR}/rescue and adding
them to OLD_FILES/OLD_DIRS, as necessary.

MFC after: 1 month
Sponsored by: Dell EMC Isilon

# 5673173e 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionally compile certain programs into rescue(8) if requested

MK_CCD - ccdconfig
MK_ROUTED - routed, rtquery

MFC after: 2 weeks
Sponsored by: Dell EMC Isilon

# a3906ca5 17-Feb-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r313644 through r313895.


# 9264dd40 17-Feb-2017 Sean Bruno <sbruno@FreeBSD.org>

Update OLD_DIRS for various targets so that some of the branches of
directories are pruned when the appropriate knobs are turned.

Specifically, turning off bsdconfig, locales, examples, i18n, man,
ntp, syscons. It may not seem like a lot, but it helps when trying
to keep an x86 image under 96MB for MFSRoot netbooting.

Reviewed by: ngie
Differential Revision: https://reviews.freebsd.org/D9558

# 65575c14 29-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r312894 through r312967.


# 2b375b4e 27-Jan-2017 Yoshihiro Takahashi <nyan@FreeBSD.org>

Remove pc98 support completely.
I thank all developers and contributors for pc98.

Relnotes: yes

# 2dd1186c 27-Jan-2017 Ed Maste <emaste@FreeBSD.org>

Rename LLD_AS_LD to LLD_IS_LD, for consistency with CLANG_IS_CC

An additional case missed in r312855

# ca4fe588 27-Jan-2017 Ed Maste <emaste@FreeBSD.org>

Additional LD_AS_LLD -> LD_IS_LLD missed in r312894/r312895

# 80779b37 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge libc++ trunk r291476, update Makefile, ObsoleteFiles.inc and
OptionalObsoleteFiles.inc.


# 7b173dd6 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Add additional libc++ 4.0.0 headers.

# b0cc56ed 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r311692 through r311807.


# 0219a006 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Add recently added libc++ headers to OptionalObsoleteFiles.inc.

MFC after: 3 days

# 69415bc5 08-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r311546 through r311683.


# dc6e1047 06-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Link llvm-ar to llvm-ranlib, if WITH_CLANG_EXTRAS is enabled. When
invoked as llvm-ranlib, it can create an archive symbol table for
archives of objects compiled for LTO by an LLVM compiler.

Submitted by: Dan McGregor <danismostlikely@gmail.com>
MFC after: 3 days

# d8c03e73 04-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r311306 through r311313.


# 4c3d1ae2 04-Jan-2017 Jung-uk Kim <jkim@FreeBSD.org>

Remove llvm-objdump when Clang is disabled. It was missed in r310889.

Submitted by: dim

# 281264c5 04-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Add new llvm-{cxxfilt,lto2,modextract,xray} tools.

# 56e860c0 03-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc.

# cfd05404 31-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install bsnmpclient(3) as snmp_client_{init,set_host,set_port}(3)

MFC after: 3 days
X-MFC with: r310999

# a2795311 30-Dec-2016 Jung-uk Kim <jkim@FreeBSD.org>

Do not remove llvm-objdump. It is installed by default since r310840.

# 027e6861 28-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install {asn1,bsnmpagent,bsnmpclient,bsnmplib}.3 as all of the APIs
they document

Also, alphabetically sort MAN

MFC after: 3 days

# fdf6944b 28-Dec-2016 Andriy Voskoboinyk <avos@FreeBSD.org>

rum.4, run.4, runfw.4, zyd.4: do not install when MK_USB == no.

While here, add missing if_rtwn_usb.4.gz symlink into
OptionalObsoleteFiles.inc

# 4568bf74 27-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Only build/install usr.sbin/bsnmpd/modules/snmp_hast if MK_HAST != no

MFC after: 1 week

# 38bf4fd7 27-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Only build/install usr.sbin/bsnmpd/modules/snmp_wlan if MK_WIRELESS != no

MFC after: 1 week

# f66b889d 27-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install snmpmod.3 as all of the bsnmpd APIs it documents

MFC after: 3 days

# 7a53f9a7 17-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r310169 through r310190.


# 9e373074 16-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Remove lib/libelf's manpages if MK_TOOLCHAIN == no

Add a comment to help figure out which set is lib/libelf's and which set
is lib/libelftc's

MFC after: 1 week

# 4cc3366d 16-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install the lib/libelftc manpages

Some other manpages, e.g. c++filt reference these

MFC after: 1 week

# 5b18539f 10-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r309758 through r309803.


# 1a4604e3 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_FINGER in src.conf when running make delete-old

PR: 213719
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# bdc5a216 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_BOOTPD in src.conf when running make delete-old

PR: 213720
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# 06af16fb 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_BOOTPARAMD in src.conf when running make delete-old

PR: 213721
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# 53a04062 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_RBOOTD in src.conf when running make delete-old

PR: 213722
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# 87ac01ca 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Also remove auditdistd files if src.conf has WITHOUT_AUDIT

PR: 213723
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# 0c421ffe 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Add entries to remove timed files with make delete-old if WITHOUT_TIMED is set

PR: 213724
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# beced2ea 09-Dec-2016 Ed Maste <emaste@FreeBSD.org>

Keep /usr/bin/ld for WITHOUT_BINUTILS but WITH_LLD_AS_LD

Reported by: Nikolai Lifanov

# 1bde3b70 09-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r309519 through r309757.


# 8d4ddada 05-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Remove svn[lite]{bench,fsfs} if either MK_SVN == no or MK_SVNLITE == no

MFC after: 1 week

# 5042637b 02-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Update build glue for clang 3.9.1 r288513.

# d6d16831 27-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r309170 through r309212.


# 6908adc3 27-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Add a few missed clang 3.9.0 files to OptionalObsoleteFiles.

X-MFC-With: 309149

# 45bd65d6 25-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Add UPDATING entry and update ObsoleteFiles.inc.

# 02ebdc78 31-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r307736 through r308146.


# 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

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

Do not install NIS program rc script if WITHOUT_NIS is set

PR: 213375
Submitted by: sergey@akhmatov.ru
MFC after: 3 days

# 5763f796 21-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r307383 through r307735.


# 547d4caa 21-Oct-2016 Enji Cooper <ngie@FreeBSD.org>

Remove /usr/libexec/bsdinstall/hardening if MK_BSDINSTALL == no

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# 94ff3d03 20-Oct-2016 Ed Maste <emaste@FreeBSD.org>

Add knobs to make GNU diff and GNU grep optional

This is added to facilitate experiments building FreeBSD without
copyleft software.

If WITHOUT_GNU_DIFF is set no /usr/bin/diff or /usr/bin/diff3 will
be built.

If WITHOUT_GNU_GREP is set then BSD grep will be installed as
/usr/bin/bsdgrep or /usr/bin/grep, depending on the WITH_BSD_GREP
knob.

Reviewed by: brooks (earlier)
Sponsored by: The FreeBSD Foundation
Differential Revision: Differential Revision: https://reviews.freebsd.org/D8288

# 7453645f 17-Oct-2016 Andriy Voskoboinyk <avos@FreeBSD.org>

rtwn(4), urtwn(4): merge common code, add support for 11ac devices.

All devices:
- add support for rate adaptation via ieee80211_amrr(9);
- use short preamble for transmitted frames when needed;
- multi-bss support:
* for RTL8821AU: 2 VAPs at the same time;
* other: 1 any VAP + 1 sta VAP.
RTL8188CE:
- fix IQ calibration bug (reason of significant speed degradation);
- add h/w crypto acceleration support.
USB:
- A-MPDU Tx support;
- short GI support;
Other:
- add support for RTL8812AU / RTL8821AU chipsets
(a/b/g/n only; no ac yet);
- split merged code into subparts:
* bus glue (usb/*, pci/*, rtl*/usb/*, rtl*/pci/*)
* common (if_rtwn*)
* chip-specific (rtl*/*)
- various other bugfixes.

Due to code reorganization, module names / requirements were changed too:
urtwn urtwnfw -> rtwn rtwn_usb rtwnfw
rtwn rtwnfw -> rtwn rtwn_pci rtwnfw

Tested with RTL8188CE, RTL8188CUS, RTL8188EU and RTL8821AU.

Tested by: kevlo, garga,
Peter Garshtja <peter.garshtja@ambient-md.com>,
Kevin McAleavey <kevin.mcaleavey@knosproject.com>,
Ilias-Dimitrios Vrachnis <id@vrachnis.com>,
<otacilio.neto@bsd.com.br>
Relnotes: yes

# a0e610c4 15-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r306906 through r307382.


# a0135a1e 14-Oct-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Remove GNU rcs from base.

GNU rcs is still available as a package:
- rcs: Latest GPLv3 GNU rcs version.
- rcs57: Copy of the latest version of GNU rcs (GPLv2) from base.

Relnotes: yes

# bba922dd 13-Oct-2016 Enji Cooper <ngie@FreeBSD.org>

Also, remove etc/rc.d/zfsbe when MK_ZFS == no

X-MFC with: r307182, r307191
Sponsored by: Dell EMC Isilon

# f884b59d 10-Oct-2016 Ed Maste <emaste@FreeBSD.org>

Remove old makewhatis(1) man page when using mandoc

mandoc installs makewhatis(8)

# 242b2482 09-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r306412 through r306905.


# 9ce3c6b0 03-Oct-2016 Ed Maste <emaste@FreeBSD.org>

Retire WITHOUT_ELFCOPY_AS_OBJCOPY option

In FreeBSD 11 ELF Tool Chain's elfcopy is installed as objcopy by
default, with the option to switch back to GNU objcopy by setting
WITHOUT_ELFCOPY_AS_OBJCOPY in make.conf.

We plan to remove the outdated in-tree binutils in FreeBSD 12, so
remove the temporary transition aid.

Reviewed by: brooks, imp
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D7337

# 335bcabe 28-Sep-2016 Ed Maste <emaste@FreeBSD.org>

Merge ^/head r306303 through 306411.


# 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

# dd792b9c 07-Sep-2016 Ed Maste <emaste@FreeBSD.org>

Add ld.lld to OptionalObsoleteFiles

# dd6675fd 02-Sep-2016 Dimitry Andric <dim@FreeBSD.org>

Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc.

# 09b9789b 19-Aug-2016 John Baldwin <jhb@FreeBSD.org>

Remove the wl(4) driver and wlconfig(8) utility.

The wl(4) driver supports pre-802.11 PCCard wireless adapters that
are slower than 802.11b. They do not work with any of the 802.11
framework and the driver hasn't been reported to actually work in a
long time.

Relnotes: yes

# 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

# bd4dcc3e 22-Jul-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Move chown tests to proper path

Sponsored by: EMC / Isilon Storage Division

# d39abb6f 03-Jul-2016 Enji Cooper <ngie@FreeBSD.org>

Remove ftp(1) related files when MK_FTP == no

Approved by: re (gjb)
Differential Revision: https://reviews.freebsd.org/D6969
MFC after: 1 week
Reviewed by: ngie
Submitted by: rakuco
Sponsored by: EMC / Isilon Storage Division

# 3cf6509d 03-Jul-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Posixify the locales name for variants

For all locales with variants:
- if no ambiguity on the locale (only one variant) just use the regular name
- if ambiguity, pick one as default and append @<variant> to the others
respecting POSIX

As a result:
- All the 3 components locales added recently are renamed to the usual 2
components version for all but sr_RS.UTF-8
- Set sr_RS.UTF-8 to the cyrillic variant
- Add sr_RS.UTF-8@latin
- Remove the symlinks aliases they were created to represent the 2 components
version as aliasas and are now useless
- Update the OptionalObsoleteFiles.inc and ObsoleteFiles.inc to reflect those
changes

Discussed with: ache@
Approved by: re@ (gjb)

# bc2abcfd 17-Jun-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Add clang-format under WITH_CLANG_EXTRAS.

Reviewed by: dim
Approved by: re (gjb)
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D6856

# 328e4174 08-Jun-2016 Dag-Erling Smørgrav <des@FreeBSD.org>

Replace _pam_verbose_error() with a macro. This was the last difference
between our libpam and stock OpenPAM, meaning that it is now possible to
replace the base libpam with a hypothetical ports version of OpenPAM.

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

Separate BLACKLIST vs BLACKLIST_SUPPORT properly

Sponsored by: The FreeBSD Foundation

# bccb3f5a 04-Jun-2016 Kurt Lidl <lidl@FreeBSD.org>

Correct path for blacklistd.conf in OptionalObsoleteFiles.inc

Fix typo made when adding the blacklistd.conf file to OptionalObsoleteFiles.inc

Submitted by: Herbert J. Skuhra ( herbert at mailbox.org )
Reviewed by: rpaulo
Approved by: rpaulo
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6715

# 0871a7d5 03-Jun-2016 Kurt Lidl <lidl@FreeBSD.org>

Add blacklistd.conf manpage

Install the blacklistd.conf man page, missed in the original commit.

Submitted by: Herbert J. Skuhra ( herbert at mailbox.org )
Reviewed by: rpaulo
Approved by: rpaulo
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6702

# 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

# d9082519 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove yacc and the yacc tests if MK_TOOLCHAIN == no

yacc's install is conditional based on MK_TOOLCHAIN != no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 5c46b734 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove the sa(8) tests if MK_ACCT == no when "make delete-old" is run

sa(8) is conditionally installed based on MK_ACCT != no today

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 36873e79 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove the etcupdate tests if MK_RCS == no when "make delete-old" is run

etcupdate is conditionally installed based on MK_RCS != no today

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# a058bc90 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove the calendar tests if MK_CALENDAR == no when "make delete-old"
is run

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 904bea83 14-May-2016 Enji Cooper <ngie@FreeBSD.org>

Conditionalize installing etc/rc.d/atm{1,2,3}

`BEFORE: netif` was already in etc/rc.d/atm1, so no additional changes
are needed in that script

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

# fbee792a 14-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove etc/rc.d/{zfs,zvol} if MK_ZFS != no

MFC after: 2 weeks
X-MFC with: r299840
Sponsored by: EMC / Isilon Storage Division

# 9941801f 06-May-2016 Enji Cooper <ngie@FreeBSD.org>

Only install etc/rc.d/{rfcomm_pppd_server,sdpd} if MK_BLUETOOTH != no

These are bluetooth specific services

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 9c613777 06-May-2016 Enji Cooper <ngie@FreeBSD.org>

Fix r299162

share/man/man8/Makefile:
- Add src.opts.mk so MK_NIS can be tested
- Fix typo in MK_NIS conditional

tools/build/mk/OptionalObsoleteFiles.inc:
- Remove WIP diff from ^/user/ngie/detangle-rc

MFC after: 1 week
X-MFC with: r299162
Sponsored by: EMC / Isilon Storage Division

# 18128d28 06-May-2016 Enji Cooper <ngie@FreeBSD.org>

Only install NIS section 8 manpages if MK_NIS != no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 2353cc3d 16-Apr-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Complete the Obsoletefiles entries

# 110cf8a6 16-Apr-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Regenerates locales Makefiles and locales

# 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

# 9893f787 21-Feb-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r295601 through r295844.


# 156e1855 19-Feb-2016 Ed Maste <emaste@FreeBSD.org>

Remove objcopy in WITHOUT_TOOLCHAIN if it's from elftoolchain

# 4156ce4f 11-Feb-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r295351 through r295543.


# 8232a681 11-Feb-2016 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove unbound-contrl-setup since we use a local control socket which
does not require keys.

MFC after: 3 days
Relnotes: yes

# b229c1a0 08-Jan-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r293280 through r293429.


# f5b4d341 07-Jan-2016 Renato Botelho <garga@FreeBSD.org>

Obsolete inetd related files when WITHOUT_INETD is set

Reviewed by: bapt
Approved by: gnn
MFC after: 1 week
Sponsored by: Rubiconn Communications (Netgate)
Differential Revision: https://reviews.freebsd.org/D4742

# f3304b8d 06-Jan-2016 Dimitry Andric <dim@FreeBSD.org>

Add new pkuintrin.h intrinsics header.

# 34cdd776 31-Dec-2015 Dimitry Andric <dim@FreeBSD.org>

First part of updating llvm/clang build glue: getting llvm-tblgen,
clang-tblgen and clang itself built.

# 802df53c 30-Dec-2015 Dimitry Andric <dim@FreeBSD.org>

Update various build glue files for the new llvm/clang version number.

# 9a4b3118 25-Dec-2015 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copies of clang and llvm to 3.7.1 release. This is a
bugfix-only release, with no new features.

Please note that from 3.5.0 onwards, clang and llvm require C++11
support to build; see UPDATING for more information.


# e7beaf99 23-Dec-2015 Ed Maste <emaste@FreeBSD.org>

Install ld also as ld.bfd, for use with cc -fuse-ld=bfd

PR: 205409 [exp-run]
MFC after: 1 week
Relnotes: Yes
Sponsored by: The FreeBSD Foundation

# a2acf602 16-Dec-2015 Ed Maste <emaste@FreeBSD.org>

Remove lldb(1) files if WITHOUT_LLDB is set

Sponsored by: The FreeBSD Foundation

# a9dfc956 01-Dec-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Fully connect cddl/usr.sbin/plockstat.

There seems to be no reason to keep this so private.

Also add missing optional MK_CDDL files.

Sponsored by: EMC / Isilon Storage Division

# 85ab8f98 29-Nov-2015 Dimitry Andric <dim@FreeBSD.org>

Install the public sanitizer headers. These are useful for programs
that want to directly interface with sanitizer internals.

# 1d211085 15-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Bring back a couple of ISO8859-15 locales:
- af_ZA.ISO8859-15
- en_AU.ISO8859-15
- en_CA.ISO8859-15
- en_NZ.ISO8859-15
- en_US.ISO8859-15
- fr_CA.ISO8859-15

# 0dc64c20 15-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Remove trailing spaces at end of lines

# 99b47c3c 15-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Update the list of files to be removed in case world is built WITHOUT_LOCALES

# 44642b54 10-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

- Move ng_bluetooth.4 under MK_BLUETOOTH != no
- Move all section 5 bluetooth manpages under MK_BLUETOOTH != no

MFC after: 3 days
PR: 193260
Reported by: Philippe Michel <philippe.michel7@sfr.fr>
Sponsored by: EMC / Isilon Storage Division

# 07fa68d6 07-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Catchup with latest changes for ObsoleteFiles in case base is built using
WITHOUT_LOCALE knob

# 3e4f384e 07-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from head r290483


# 2a923f8f 01-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

Rename etc/periodic/daily/430.status-rwho to periodic/daily/430.status-uptime

The command was checking local/remote system uptime, so rename the script to
match its function and to avoid confusion

The controlling variable in /etc/periodic.conf has been renamed from
daily_status_rwho_enable to daily_status_uptime_enable.

MFC after: 3 days
Reported by: Peter Jeremy <peter@rulingia.com>
Relnotes: yes
Sponsored by: EMC / Isilon Storage Division

# 55972acf 01-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

Conditionally install (if_)?(otus|rsu).4, otusfw.4, rsufw.4, and urtwn.4 if
MK_USB != no

Add the manpages to OptionalObsoleteFiles.inc

As a side-effect, this also fixes installworld with MK_USB == no

X-MFC with: r290128
Sponsored by: EMC / Isilon Storage Division

# 3c3feed4 01-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from head


# 567be5c2 24-Oct-2015 Enji Cooper <ngie@FreeBSD.org>

Add libvmmapi to OptionalObsoleteFiles.inc when MK_BHYVE == no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 74c52c65 20-Oct-2015 Julio Merino <jmmv@FreeBSD.org>

Handle lib32 files during delete-old* when MK_LIB32=no.

Extend OptionalObsoleteFiles.inc to delete all lib32 files when MK_LIB32 is
set to no on a system that previously had lib32 libraries installed.

Also, to prevent "make delete-old-dirs" from always deleting lib32 directories
after an installworld, move the lib32 subtree to its own mtree file that only
gets applied when MK_LIB32=yes.

Test: Ran "make delete-old" and "make delete-old-libs" on a system that never
had MK_LIB32 enabled, and on a system where MK_LIB32 was enabled and later
disabled. Did this both on amd64 and powerpc64.

Test: Ran "make tinderbox" without errors.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D3923

# becbad1f 13-Oct-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from head


# 65dcb5bc 01-Oct-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r288197 through r288456.


# 9875367b 27-Sep-2015 Andriy Gapon <avg@FreeBSD.org>

remove unused sgsmsg utility (originally imported from opensolaris)

MFC after: 25 days

# 1e066951 25-Sep-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Add missing binutils ldscripts.

Some of these are after the fix in r288230 to install them.

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

# 26e065d0 22-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r288035 through r288099.


# f7d9215f 20-Sep-2015 Enji Cooper <ngie@FreeBSD.org>

Delete /etc/autofs/special_noauto when MK_AUTOFS == no

MFC after: 1 week

# b1fa820d 20-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Don't install Intrin.h, as this is an intrinsics header for Windows.

# 854fa44b 16-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Update libc++ to 3.7.0 release.


# b6c25e0e 06-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Update llvm, clang and lldb to 3.7.0 release.


# 23a32822 25-Aug-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from HEAD


# 6fdf637e 17-Aug-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r286697 through r286857.


# 55f80482 13-Aug-2015 Antoine Brodin <antoine@FreeBSD.org>

Stop removing ELF toolchain tools

# 1bc28ffc 13-Aug-2015 Ed Maste <emaste@FreeBSD.org>

Roll WITHOUT_ELFTOOLCHAIN_TOOLS into WITHOUT_TOOLCHAIN

The option was added only to ease the transition from GNU Binutils to
ELF Tool Chain tools, and that process is now complete (for the viable
replacements). Noting the removal in UPDATING is sufficient as we have
not shipped a release with the option.

Reviewed by: brooks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3240

# f98ee844 12-Aug-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r286422 through r286684.


# 53d2ddb3 11-Aug-2015 Julio Merino <jmmv@FreeBSD.org>

Mark usr/include/c++/v1/tr1 as obsolete

The directory usr/include/c++/v1 was marked as obsolete but its tr1 subdir
was not, resulting in a removal error in delete-old.

# e2ff105a 09-Aug-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Update Obsolete files in case MK_LOCALE=no

# b8a1f275 08-Aug-2015 Renato Botelho <garga@FreeBSD.org>

Add missing files to sendmail obsolete files list

Approved by: gshapiro
MFC after: 3 days
Sponsored by: Netgate
Differential Revision: https://reviews.freebsd.org/D3302

# 1347814c 07-Aug-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r285924 through r286421.


# f97aa232 05-Aug-2015 Ed Maste <emaste@FreeBSD.org>

Remove old GNU Binutils tools now provided by ELF Tool Chain

Reviewed by: bapt, brooks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3238

# b43cca13 29-Jul-2015 Ed Maste <emaste@FreeBSD.org>

MK_ELFCOPY_AS_OBJCOPY should be a variable

PR: 201978
Submitted by: O. Hartmann
Differential Revision: https://reviews.freebsd.org/D2887

# 5ea9e83e 29-Jul-2015 Ed Maste <emaste@FreeBSD.org>

Allow ELF Tool Chain elfcopy to be installed as objcopy

ELF Tool Chain elfcopy is nearly a drop-in replacement for GNU objcopy,
but does not currently support PE output which is needed for building
x86 UEFI bits.

Add a src.conf knob to allow installing it as objcopy and set it by
default for aarch64 only, where we don't have a native binutils.

Reviewed by: bapt
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2887

# 2d83b16b 29-Jul-2015 Ed Maste <emaste@FreeBSD.org>

Update OLD_FILES for tools provided by ELF Tool Chain or Binutils

Sponsored by: The FreeBSD Foundation

# 5f78ec1c 27-Jul-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r285793 through r285923.


# c048a83f 26-Jul-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Replace GNU RCS ident with a BSD license ident

Rationale: ident(1) is useful out of RCS, lot of scripts are using ident(1) and
failing when base is built WITHOUT_RCS.

This version is:
- fully compatible with RCS 5.7 ident.
- fully compatible with RCS 5.9 ident.
- passes all ident test from GNU RCS 5.9 test suite

This version has support for: svn extension for the Keyword id (double colon and
# before last $)

Différences with GNU RCS ident:
- no long options as found in GNU RCS 5.9 (but not commented there).
- '-V' reports nothing but has been added for compatibility.

Differential Revision: https://reviews.freebsd.org/D3200
Reviewed by: pfg

# 8d0f1085 22-Jul-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r285341 through r285792.


# 96a59ba2 15-Jul-2015 Andrey A. Chernov <ache@FreeBSD.org>

Comment out usr/sbin/mailwrapper removal
because for no mailwrapper case we have:
/usr/sbin/sendmail -> /usr/sbin/mailwrapper
/usr/sbin/mailwrapper -> /usr/libexec/sendmail/sendmail
Add comment explaining it.

# 3dac3a9b 05-Jul-2015 Dimitry Andric <dim@FreeBSD.org>

Update llvm/clang to r241361.


# cc38b640 23-Jun-2015 Dimitry Andric <dim@FreeBSD.org>

Update llvm/clang build glue.

# 76aeda8a 20-Jun-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r284188 through r284643.


# 62a996ed 20-Jun-2015 Antoine Brodin <antoine@FreeBSD.org>

Add more obsolete files

# 78fa96c2 20-Jun-2015 Antoine Brodin <antoine@FreeBSD.org>

Add some files to remove when MK_BSD_GREP=no

# e2dd1974 17-Jun-2015 Baptiste Daroussin <bapt@FreeBSD.org>

The build and installation of rmail(8) is only related to the SENDMAIL option

# 15953005 17-Jun-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Do not remove mailwrapper(8) in case WITHOUT_SENDMAIL is used

It is required for other tools in base and/or ports like dma(8) or any MTA
available in ports. It is also build and installed anyway even if world is built
WITHOUT_SENDMAIL

# 6b02d180 30-May-2015 Dimitry Andric <dim@FreeBSD.org>

Restore an accidentally deleted .endif.

# ebeff3f9 30-May-2015 Dimitry Andric <dim@FreeBSD.org>

Update Makefiles and other build glue for llvm/clang 3.7.0, as of trunk
r238337.

# ef6fa9e2 25-May-2015 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of clang and llvm to 3.6.1 release.

This release contains the following cherry-picked revisions from
upstream trunk:

226124 226151 226164 226165 226166 226407 226408 226409 226652
226905 226983 227084 227087 227089 227208 227209 227210 227211
227212 227213 227214 227269 227430 227482 227503 227519 227574
227822 227986 227987 227988 227989 227990 228037 228038 228039
228040 228188 228189 228190 228273 228372 228373 228374 228403
228765 228848 228918 229223 229225 229226 229227 229228 229230
229234 229235 229236 229238 229239 229413 229507 229680 229750
229751 229752 229911 230146 230147 230235 230253 230255 230469
230500 230564 230603 230657 230742 230748 230956 231219 231237
231245 231259 231280 231451 231563 231601 231658 231659 231662
231984 231986 232046 232085 232142 232176 232179 232189 232382
232386 232389 232425 232438 232443 232675 232786 232797 232943
232957 233075 233080 233351 233353 233409 233410 233508 233584
233819 233904 234629 234636 234891 234975 234977 235524 235641
235662 235931 236099 236306 236307

Please note that from 3.5.0 onwards, clang and llvm require C++11
support to build; see UPDATING for more information.


# 9c36af58 21-May-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Mark libgomp.so.1 as an old lib not an old file

# 800eeabd 20-May-2015 Enji Cooper <ngie@FreeBSD.org>

Remove usr/share/dtrace/{tcpconn,tcpstate,tcptrack,udptrack} if MK_CDDL == no

Sponsored by: EMC / Isilon Storage Division

# d485dbc7 18-May-2015 Ed Maste <emaste@FreeBSD.org>

Build libgcov only if we're building base system GCC

Clang uses compiler-rt for the code coverage runtime, and ports GCC
provides its own libgcov.

PR: 200203 (exp-run)
Sponsored by: The FreeBSD Foundation

# 810d5b34 15-May-2015 Ed Maste <emaste@FreeBSD.org>

Build libgomp only if we're also building base system GCC

Clang's OpenMP support will emit Intel OpenMP API library calls,
and will therefore require libiomp (or whatever name is settled on).
An up-to-date version of libgomp is included in ports or pkg GCC.
Thus, there is no reason to build base libgomp without base system GCC.

PR: 199979 (exp-run)
Reviewed by: pfg
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2459

# 56af72b1 06-May-2015 Ed Maste <emaste@FreeBSD.org>

Fix make delete-old for gperf and GCC/CXX options

- Optional components go in OptionalObsoleteFiles
- Move gperf removal to be based on MK_GCC only, not MK_CXX and MK_GCC

Reviewed by: imp, sbruno
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2421

# 363da138 01-May-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Replace groff's soelim by soeliminate(1) renamed soelim(1)

# 45cf4a7c 01-May-2015 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: don't remove c++filt when using ELF Tool Chain

c++filt is listed here twice, for MK_CXX == no and MK_GCC == no, but
r282285 only caught one of them.

# 0a06cffc 30-Apr-2015 Ed Maste <emaste@FreeBSD.org>

Add ELF Tool Chain's c++filt to the build

Differential Revision: https://reviews.freebsd.org/D2408
Reviewed by: brooks, imp
Sponsored by: The FreeBSD Foundation

# 1382ef3d 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_ZONEINFO == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 587291d9 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TESTS_SUPPORT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# a6d0a667 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_LEGACY_CONSOLE == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# d6c95721 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_KERBEROS_SUPPORT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# eb6edb77 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_KDUMP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 659854cd 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_JAIL == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 992cc53e 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_CASPER == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 9c793fa8 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_INET6 == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 0c11ad65 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_FORTH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# ca65be80 04-Mar-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r279313 through r279595.


# ffb67907 02-Mar-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Remove gperf(7) if gperf is not installed

# 9ddafbe2 02-Mar-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Install manpage version of texinfo documentation for binutils

# 9b2a0d91 22-Feb-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r279023 through r279162.


# 9cb8ba56 22-Feb-2015 Colin Percival <cperciva@FreeBSD.org>

Step 2 of eliminating the "games" distribution: Remove punch card
utilities.

I was originally planning on removing the phase-of-moon (pom), clock
(grdc), and caesar cipher (caesar, rot13) utilities as well, but after
I committed r278616 I received an astonishing volume of email informing
me that those are still being widely used. Much to my relief, nobody
reported continuing to use the punch card utilities in production.

The final step will be to merge src/games into src/usr.bin.

This change will not be MFCed.

# 569e61a4 14-Feb-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r278499 through r278755.


# 11d9aa67 11-Feb-2015 Colin Percival <cperciva@FreeBSD.org>

Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;
update paths; and include everything in the "base" distribution.

The "games" distribution being optional made sense when there were more
games and we had small disks; but the "games-like" games were moved into
the ports tree a dozen years ago and the remaining "utility-like" games
occupy less than 0.001% of my laptop's small hard drive. Meanwhile every
new user is confronted by the question "do you want games installed" when
they they try to install FreeBSD.

The next steps will be:

2. Removing punch card (bcd, ppt), phase-of-moon (pom), clock (grdc), and
caesar cipher (caesar, rot13) utilities. I intend to keep fortune, factor,
morse, number, primes, and random, since there is evidence that those are
still being used.

3. Merging src/games into src/usr.bin.

This change will not be MFCed.

Reviewed by: jmg
Discussed at: EuroBSDCon
Approved by: gjb (release-affecting changes)

# a403ab7f 04-Feb-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r278110 through r278223.


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

Clean up more usb related files when MK_USB == no when dealing with
manpages, libraries, and binaries

MFC after: 1 week
X-MFC with: r278135
Sponsored by: EMC / Isilon Storage Division


# 04c5a27b 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_USB == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 1dc6769d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_UNBOUND == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# e5f6569b 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TEXTPROC == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# aee4d21d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TESTS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# fed7ef16 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TCSH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 3f13cb12 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_SYSCONS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 14e319f2 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_SSP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 1d706ec4 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_QUOTAS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 61c40359 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_PORTSNAP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 7a713cea 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_PMC == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 71795a01 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_PF == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 3f72f932 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_OPENSSH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 73ee00ce 02-Feb-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r278005 through r278109.


# 5bed16de 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NTP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# ed809ca8 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NS_CACHING == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 90539b6f 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NLS_CATALOGS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 422e74ae 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NLS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# e50d77e5 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NETGRAPH_SUPPORT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# fe8f6c3e 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NETGRAPH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# e5c3781d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAN_UTILS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# ddef0324 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAN == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 426d5303 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAKE == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 2f3a10e5 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAIL == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 1b41fa7d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_LOCALES == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 4f190535 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_LIBCPLUSPLUS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# d956da53 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_HTML == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 6031355d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_GROFF == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 28be4ba8 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_GPIO == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# cf8028f3 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_DMAGENT == no and move the chunk into its alphabetical place

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# ee4d0fce 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BSNMP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 70fffb2e 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BSD_CPIO == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 8af1079d 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BOOT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# f594efed 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BLUETOOTH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# c88fc3e4 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BINUTILS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 8179004e 26-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r277719 through 277776.


# 6ce3ca64 26-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Update other build glue: ObsoleteFiles.inc, UPDATING, mtree files, and
OptionalObsoleteFiles.inc.

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

Respect MK_KERBEROS with etc/rc.d/ipropd_master and etc/rc.d/ipropd_slave

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

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

Honor MK_WIRELESS with etc/rc.d/hostapd and etc/rc.d/wpa_supplicant

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_JAIL with etc/rc.d/jail

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_BLUETOOTH with etc/defaults/bluetooth.device.conf

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_ACCT with etc/pam.d/atrun

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

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

Honor MK_ACCT with etc/rc.d/accounting

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

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

Honor MK_AMD with etc/rc.d/amd

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_API in etc/rc.d

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_LPR with etc/rc.d/lpd

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_ACPI in etc/devd and etc/rc.d

MFC after: 1 week
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

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

Add MK_BHYVE knob for building and installing bhyve(4), et al

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

# 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

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

Build lib/libgpio if MK_GPIO != no

Fill in corresponding entries for MK_GPIO == no in OptionalObsoleteFiles.inc

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

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

Fill in entries for MK_BSNMP == no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Fill in some dtrace entries when MK_CDDL == no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Fill in entries for MK_CUSE == no

MFC after: 1 week
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

# 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

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

Add MK_TALK knob for building the talk and talkd

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

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

Add MK_EE knob to control installing edit, ee, etc

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

# 9cac79b3 18-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of clang and llvm to 3.5.1 release. This is a bugfix
only release, no new features have been added.

Please note that this version requires C++11 support to build; see
UPDATING for more information.

Release notes for llvm and clang can be found here:
<http://llvm.org/releases/3.5.1/docs/ReleaseNotes.html>
<http://llvm.org/releases/3.5.1/tools/clang/docs/ReleaseNotes.html>

MFC after: 1 month
X-MFC-With: 276479


# 8028b78d 13-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Connect libclang_rt to the build, for specific architectures. This
contains the libraries for Address Sanitizer (asan), Undefined Behavior
Sanitizer (ubsan) and Profile Guided Optimization.

ASan is a fast memory error detector. It can detect the following types
of bugs:

Out-of-bounds accesses to heap, stack and globals
Use-after-free
Use-after-return (to some extent)
Double-free, invalid free
Memory leaks (experimental)

Typical slowdown introduced by AddressSanitizer is 2x.

UBSan is a fast and compatible undefined behavior checker. It enables a
number of undefined behavior checks that have small runtime cost and no
impact on address space layout or ABI.

PLEASE NOTE: the sanitizers still have some rough edges on FreeBSD,
particularly on i386. These will hopefully be smoothed out in the
coming time.

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

# c369979c 10-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Add the llvm-symbolizer tool, which enables the sanitizers to report
more complete debugging information. This tools is only enabled when
WITH_CLANG_EXTRAS is on.

Submitted by: Dan McGregor <danismostlikely@gmail.com>

# 2d281361 02-Jan-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Remove GNU texinfo from base along with all info pages.

To be able to info pages consider installing texinfo from ports print/texinfo or
via pkg: pkg install texinfo

Differential Revision: https://reviews.freebsd.org/D1409
Reviewed by: emaste, imp (previous version)
Relnotes: yes

# 8007ee2b 27-Dec-2014 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r274961 through r276301.


# c05bafc5 25-Dec-2014 Poul-Henning Kamp <phk@FreeBSD.org>

Deorbit the IEEE-488/GPIB support.

# e65720e1 18-Dec-2014 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r275759 through r275911.


# f703589e 18-Dec-2014 Enji Cooper <ngie@FreeBSD.org>

Fix building/installing tests when TESTSBASE != /usr/tests

The work in r258233 hardcoded the assumption that tests was the last component
of the tests tree by pushing tests as an explicit prefix for the paths in
BSD.tests.dist and /usr was the prefix for all tests, per BSD.usr.dist and all
of the mtree calls used in Makefile.inc1. This assumption breaks if/when one
provides a custom TESTSBASE "prefix", e.g. TESTSBASE=/mytests .

One thing that r258233 did properly though was remove "/usr/tests" creation
from BSD.usr.dist -- that should have not been there in the first place. That
was an "oops" on my part for the work that was originally committed in r241823

MFC after: 2 weeks
Phabric: D1301
Reviewed by: imp
Sponsored by: EMC / Isilon Storage Division

# 24ce0a02 04-Dec-2014 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r275387 through r275477.


# 18e8f946 01-Dec-2014 Ed Maste <emaste@FreeBSD.org>

Add elfcopy and man page to OptionalObsoleteFiles

# f5ce9d6b 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Installing zzz(8) doesn't make sense when both ACPI and APM are disabled

# 0341ccf2 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Clean up more usb related files when MK_USB == no when dealing with
manpages, libraries, and binaries

# ece34a4f 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Fix use of OLD_FILES and OLD_LIBS for MK_BSNMP and MK_TESTS

Convention in the file is that .a files be added to OLD_FILES and versioned .so's
be added to OLD_LIBS

# a3f5edf0 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Add MK_TIMED option for optionally building usr.sbin/timed, et al

# 046cc7b9 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Account for /usr/include/protocols/r{outed,whod}.h with their respective build knobs

# 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

# fb624adc 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

MK_HYPERV:
Sort OLD_FILES and add /usr/libexec/hyperv to OLD_DIRS

# 961281fa 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install the rsh and telnetd pam.d files if MK_RCMDS == no
or MK_TELNET == no, respectively

# 4bbfcad5 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Only install the accounting/apm rc scripts for MK_ACCT/MK_APM if the relevant
knobs are set

# bdf492a3 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Missed the bsnmp config file

# 88585cd4 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Add more MK_BSNMP == no entries for things not caught due to custom
settings in $SRCCONF

# 6d94729e 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Fill in entries for MK_BSNMP == no

# 4be1ca35 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Make building/installing bhyve optional via MK_BHYVE on amd64

Disable building/installing bhyve from src.opts.mk on unsupported
architectures (!amd64)

# 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

# d393fb09 24-Nov-2014 Dimitry Andric <dim@FreeBSD.org>

Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc for the import of
llvm/clang 3.5.0.

# b8d52ac3 23-Nov-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Install mdoc(7) and man(7) from mdoc instead of the one from groff

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

# fa809347 03-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Integrate pjdfstest test suite execution into kyua

pjdfstest execution is opt-in and must be done as root due to some of the
assumptions made by the test suite and lack of error checking in the non-root
case

A description of how to execute pjdfstest with kyua is provided in
share/pjdfstest/README

Phabric: D824 (an earlier prototype patch)
MFC after: 1 month
Relnotes: yes
Sponsored by: EMC / Isilon Storage Division

# 0677dfd1 01-Nov-2014 Julio Merino <jmmv@FreeBSD.org>

MFV: Import atf-0.21.


# 1545452c 27-Oct-2014 Xin LI <delphij@FreeBSD.org>

Remove an extra copy of hv_kvp_daemon(8) [1].

While I'm there also correct typos in OptionalObsoleteFiles and add
information of the command line options for hv_kvp_daemon(8).

Reported by: jmg [1]
Reviewed by: jmg
MFC after: 2 weeks

# ddd96d23 09-Oct-2014 Ed Maste <emaste@FreeBSD.org>

Build gperf only if we're using g++ (not clang++)

gperf is used as a build tool for g++ and is not needed for Clang
architectures. Ports and third-party software that need it can use the
up-to-date devel/gperf port.

PR: 194103 (exp-run)
Reviewed by: bapt
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D886

# d8eaf8b5 23-Sep-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install /etc/rc.d/keyserv unless MK_OPENSSL == yes

Sponsored by: EMC / Isilon Storage Division

# f4d6293c 20-Sep-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install /etc/rc.d/ftp-proxy unless MK_PF == yes

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

# 79c38c9b 20-Sep-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install /etc/rc.d/rwho unless MK_RCMDS == yes

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

# 76cd7220 16-Sep-2014 Xin LI <delphij@FreeBSD.org>

Use a devd event to start hv_kvpd instead of doing so in rc.d script.
This is cleaner and eliminates the unneeded startup of KVP daemon on
systems that do not run as a Hyper-V guest.

Submitted by: hrs
X-MFC-with: 271493, 271688, 271699

# e72055b7 12-Sep-2014 Xin LI <delphij@FreeBSD.org>

Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft,
many thanks for their continued support of FreeBSD.

While I'm there, also implement a new build knob, WITHOUT_HYPERV to
disable building and installing of the HyperV utilities when necessary.

The HyperV utilities are only built for i386 and amd64 targets.

This is a stable/10 candidate for inclusion with 10.1-RELEASE.

Submitted by: Wei Hu <weh microsoft com>
MFC after: 1 week

# 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

# aecd25ee 15-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Make the USB and ZFS devd configuration files optional depending on the
values of MK_USB/MK_ZFS

Making zfs.conf optional resolves PR # 186971

PR: 186971
Phabric: D606
Approved by: jmmv (mentor)
Sponsored by: EMC / Isilon Storage Division

# 9f312407 12-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Port date/bin/tests to ATF

Phabric: D545
Approved by: jmmv (mentor)
Submitted by: keramida (earlier version)
MFC after: 2 weeks
Sponsored by: Google, Inc
Sponsored by: EMC / Isilon Storage Division

# 12e2df3c 12-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Convert bin/sh/tests to ATF

The new code uses a "test discovery mechanism" to determine
what tests are available for execution

The test shell can be specified via:

kyua test -v test_suites.FreeBSD.bin.sh.test_shell=/path/to/test/sh

Sponsored by: EMC / Isilon Storage Division
Approved by: jmmv (mentor)
Reviewed by: jilles (maintainer)

# 6add3145 12-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Complete the usr.bin/yacc kyua integration work I originally
submitted via r268811

- Install the Kyuafile by adding FILES to FILESGROUPS
- Run the testcases with an unprivileged user

Some of the testcases depend upon behavior that's broken when
run as root on FreeBSD because of how permissions are treated
with access(2) vs eaccess(2), open(2), etc

- Simplify the test driver to just inspect the exit code from
run_test because it now exits with 0 if successful and exits
with !0 if unsuccessful
- Don't do ad hoc temporary directory creation/deletion; let Kyua
handle that
- Add entries for files removed in r268811 to
OptionalObsoleteFiles.inc

PR: 191020
X-MFC with: r268811
Approved by: jmmv (mentor)
Reviewed by: bapt
Sponsored by: EMC / Isilon Storage Division

# e40b4bf8 24-Jul-2014 Julio Merino <jmmv@FreeBSD.org>

Fix structure of new tests (r268794) for usr.bin/units.

- Make sure the tests go into the right directory. The location was
wrong so they were overwriting the bin/chown tests!
- Use the right naming scheme for the test program.
- Remove the svn:executable property from the shell script.

# 7bff12fe 17-Jul-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Fix manpages path and sort entries

# 024f0575 17-Jul-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Remove texinfo manpages as well if built WITHOUT_INFO

# 8a833bda 09-Jul-2014 Baptiste Daroussin <bapt@FreeBSD.org>

The GNU readline library is now an INTERNALLIB - that is, it is
statically linked into consumers (GDB and variants) in the base
system, and the shared library is no longer installed.

That also allows ports to be able to use a modern version of readline

PR: 162948
Reviewed by: emaste

# 725d0727 08-Jul-2014 Jilles Tjoelker <jilles@FreeBSD.org>

Don't install locale1.0 if MK_NLS == no.

The test locale1.0 depends on locale support; it is meaningless without a
working LC_MESSAGES.

I added an OptionalObsoleteFiles.inc entry.

PR: 181151
Submitted by: Garrett Cooper (original version)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# e7d939bd 06-Jul-2014 Marcel Moolenaar <marcel@FreeBSD.org>

Remove ia64.

This includes:
o All directories named *ia64*
o All files named *ia64*
o All ia64-specific code guarded by __ia64__
o All ia64-specific makefile logic
o Mention of ia64 in comments and documentation

This excludes:
o Everything under contrib/
o Everything under crypto/
o sys/xen/interface
o sys/sys/elf_common.h

Discussed at: BSDcan

# 9f932ecd 01-Jul-2014 Eitan Adler <eadler@FreeBSD.org>

Add documentation for svnlite.

PR: 191544
Reported by: eric
Reviewed by: imp
MFC After: 1 week

# b8a63d6d 30-Jun-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Activate the condition for WITHOUT_INFO

Submitted by: antoine

# 079f0a6a 30-Jun-2014 Baptiste Daroussin <bapt@FreeBSD.org>

fill in the list of obsolete files when base is built with WITHOUT_INFO

# dd987372 13-Jun-2014 Tijl Coosemans <tijl@FreeBSD.org>

Don't install GSS-API headers when the GSSAPI option has been disabled.
Some ports assume GSS-API is supported when they find the headers.

PR: 189156
Submitted by: Garrett Cooper <yanegomi@gmail.com>

# 8c7ec47a 06-Jun-2014 Julio Merino <jmmv@FreeBSD.org>

Move atf-sh from /usr/bin/ to /usr/libexec/

In r266650, we made libatf-c and libatf-c++ private libraries so that no
components outside of the source tree could unintendedly depend on them.

This change does the same for the "atf-sh library" by moving the atf-sh
interpreter from its public location in /usr/bin/ to the private location
in /usr/libexec/. Our build system will ensure that our own test programs
use the right binary, but users won't be able to depend on atf-sh by
"mistake".

Committing this now to ride the UPDATING notice added with r267172 today.

# 727a7ce8 06-Jun-2014 Julio Merino <jmmv@FreeBSD.org>

Homogenize libatf-* version numbers with upstream.

The libatf-* major version numbers in FreeBSD were one version ahead of
upstream because, when atf was first imported into FreeBSD, the upstream
numbers were not respected. This is just confusing and bound to cause
problems down the road.

Fix this by taking advantage of the fact that libatf-* are now private
and that atf is not yet built by default. However, and unfortunately, a
clean build is needed for tests to continue working once "make
delete-old-libs" has been run; hence the note in UPDATING.

# 17a286a9 24-May-2014 Julio Merino <jmmv@FreeBSD.org>

Change libatf-c and libatf-c++ to be private libraries.

We should not be leaking these interfaces to the outside world given
that it's much easier for third-party components to use the devel/atf
package from ports.

As a side-effect, we can also drop the ATF pkgconfig and aclocal files
from the base system. Nothing in the base system needs these, and it
was quite ugly to have to get them installed only so that a few ports
could build. The offending ports have been fixed to depend on
devel/atf explicitly.

Reviewed by: bapt

# 3e9e1651 12-May-2014 Julio Merino <jmmv@FreeBSD.org>

Fix delete-old when WITH_TESTS is set.

r265423 removed the WITHOUT_BMAKE option, which in turn broke a conditional
in OptionalObsoleteFiles.inc that inspected MK_BMAKE.

# 85d60e68 12-May-2014 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to 3.4.1 release. This release contains
mostly fixes, for the following upstream bugs:

http://llvm.org/PR16365 http://llvm.org/PR17473 http://llvm.org/PR18000
http://llvm.org/PR18068 http://llvm.org/PR18102 http://llvm.org/PR18165
http://llvm.org/PR18260 http://llvm.org/PR18290 http://llvm.org/PR18316
http://llvm.org/PR18460 http://llvm.org/PR18473 http://llvm.org/PR18515
http://llvm.org/PR18526 http://llvm.org/PR18600 http://llvm.org/PR18762
http://llvm.org/PR18773 http://llvm.org/PR18860 http://llvm.org/PR18994
http://llvm.org/PR19007 http://llvm.org/PR19010 http://llvm.org/PR19033
http://llvm.org/PR19059 http://llvm.org/PR19144 http://llvm.org/PR19326

MFC after: 2 weeks


# d525bcd9 18-Mar-2014 Julio Merino <jmmv@FreeBSD.org>

Migrate tools/regression/usr.bin/make/ to the new tests layout.

Note that these tests are for fmake, not bmake, and thus they are not
installed nor run when bmake is selected (the default). Yes, I have
wasted a *ton* of time on moving tests for no real reason other than
ensuring they are not left behind.

But maybe, just maybe, it was not work in vain: the majority of these
tests also work with bmake and the few that don't may point at broken
stuff. For example, the tests for the "archive" feature do not work
with bmake, but bmake's manpage and source tree seem to imply that they
should. So... to be investigated later; need to poke sjg@.

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

# 2c4c3f67 10-Mar-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Add a mailer.conf example to use dma

# 6a54f620 22-Feb-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Rename WITHOUT_DMA into WITHOUT_DMAGENT to avoid confusion

Requested by: ian

# a9e8641d 21-Feb-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Import Dragonfly Mail Agent into base system

It is a small and lightweight Mail Transport Agent.
It accepts mails from locally installed Mail User Agents (MUA) and delivers the
mails either locally or to a remote destination. Remote delivery includes
several features like TLS/SSL support, SMTP authentication and NULLCLIENT.

Make dma conditional to new WITHOUT_DMA option and make it respect WITHOUT_MAIL

Reviewed by: peter
Discussed with: emaste, bz, peter


# f785676f 16-Feb-2014 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to 3.4 release. This version supports
all of the features in the current working draft of the upcoming C++
standard, provisionally named C++1y.

The code generator's performance is greatly increased, and the loop
auto-vectorizer is now enabled at -Os and -O2 in addition to -O3. The
PowerPC backend has made several major improvements to code generation
quality and compile time, and the X86, SPARC, ARM32, Aarch64 and SystemZ
backends have all seen major feature work.

Release notes for llvm and clang can be found here:
<http://llvm.org/releases/3.4/docs/ReleaseNotes.html>
<http://llvm.org/releases/3.4/tools/clang/docs/ReleaseNotes.html>

MFC after: 1 month


# 1a61beb0 14-Feb-2014 Julio Merino <jmmv@FreeBSD.org>

MFV: Import atf-0.20.


# b76e24a3 05-Feb-2014 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove WITHOUT_NIS

PR: 186412

# 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

# 4f7ab58e 30-Jan-2014 Dimitry Andric <dim@FreeBSD.org>

Import libc++ 3.4 release. This contains a lot of bugfixes, and some
preliminary support for C++1y.

MFC after: 3 weeks


# 762c167e 10-Jan-2014 Julio Merino <jmmv@FreeBSD.org>

Respect the original layout of the atf-{c,c++} tests.

Put test programs for internal modules into a 'detail' subdirectory of the
libatf-c and libatf-c++ test directories, just as the upstream distribution
does. This is necessary because the tests assume such layout to find the
process_helper program, and currently fail because of this divergence.

MFC after: 1 week

# a9e4b734 21-Dec-2013 Glen Barber <gjb@FreeBSD.org>

Honor WITHOUT_CASPER.

Sponsored by: The FreeBSD Foundation

# a18eacbe 17-Nov-2013 Julio Merino <jmmv@FreeBSD.org>

MFV: Import atf-0.18.

Approved by: rpaulo (mentor)


# 0fa8a6f0 11-Nov-2013 Glen Barber <gjb@FreeBSD.org>

Silence more 'make {check,delete-old{,libs}}' output if $DESTDIR/usr/tests
does not exist.

Sponsored by: The FreeBSD Foundation

# 6785aaf2 10-Nov-2013 Glen Barber <gjb@FreeBSD.org>

Silence bmake(1) errors if TEST_DIRS evaluation is empty.

# 14de84e7 08-Nov-2013 Julio Merino <jmmv@FreeBSD.org>

Handle the removal of the test suite when WITHOUT_TESTS=yes.

Add all files from /usr/tests to the obsoleted files list when the
build of the tests is disabled via the WITHOUT_TESTS knob. Do this
automatically so that we do not have to suffer the pain of maintaining
such list by hand.

Reviewed by: freebsd-testing
Approved by: rpaulo (mentor)

# e01d128a 08-Nov-2013 Julio Merino <jmmv@FreeBSD.org>

Subsume the functionality of MK_ATF into MK_TESTS.

There is no reason to keep the two knobs separate: if tests are
enabled, the ATF libraries are required; and if tests are disabled,
the ATF libraries are not necessary. Keeping the two just serves
to complicate the build.

Reviewed by: freebsd-testing
Approved by: rpaulo (mentor)

# 912ce912 03-Nov-2013 Peter Wemm <peter@FreeBSD.org>

Remove the WITH_LIBICONV_COMPAT hack that seems to do more harm than
good. This caused libc to spoof the ports libiconv namespace and
provide a colliding libiconv.so.3 to fool rtld. This should have
been removed some time ago.

# 23c80c69 03-Nov-2013 Ed Schouten <ed@FreeBSD.org>

Remove utxrm(8). This command has been superseded by 'utx rm'.

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

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

# 0edda453 30-Oct-2013 Bryan Drewery <bdrewery@FreeBSD.org>

Add forgotten pkg.7

Approved by: bapt
MFC after: 2 days
X-MFC-with: r257378

# 2b142c0f 17-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Add lot of missed files and dirs

# 7306b853 17-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Remove atf headers which never existed

Reviewed by: marcel

# 41b65e69 17-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Cleanup clang section

# 7855835b 16-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

wlconfig exists only on i386

# 5329f4d3 16-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Remove files which are in ObsoleteFiles.inc

# fca60728 16-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Remove duplicates in ipfilter and kerberos sections

# ec0e2ac6 12-Oct-2013 Rui Paulo <rpaulo@FreeBSD.org>

Remove most of the ATF tools and the _atf user.

This is necessary because ATF is deprecated and it will be replaced by Kyua.

Submitted by: jmmv@netbsd.org
Reviewed by: Garrett Cooper
Approved by: re

# c9fc60be 09-Oct-2013 Glen Barber <gjb@FreeBSD.org>

Revert r256095, r256120 (partial), r256121:

r256095:
- Add gnu/usr.bin/rcs back to the base system.

r256120:
- Add WITHOUT_RCS back to src.conf.5.

r256121:
- Remove UPDATING entry regarding gnu/usr.bin/rcs removal.

Requested by: many
Approved by: re (marius)
Discussed with: core

# 258c9eb9 06-Oct-2013 Eitan Adler <eadler@FreeBSD.org>

Good bye RCS. You will be missed.

(devel/rcs and devel/rcs57 are available as alternatives)

Approved by: core
Approved by: re (hrs)

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

Remove BIND.

Approved by: re (gjb)

# 278bc67b 29-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Yet more BIND files that weren't listed in OptionalObsoleteFiles.

Approved by: re (blanket)

# 4a09ed30 27-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove duplicate entry for the host(1) man page.

Approved by: re (blanket)

# b4af3bcb 25-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Additional BIND files.

Submitted by: bdrewery
Approved by: re (blanket)

# 49cede74 22-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Add a setup script for unbound(8) called local-unbound-setup. It
generates a configuration suitable for running unbound as a caching
forwarding resolver, and configures resolvconf(8) to update unbound's
list of forwarders in addition to /etc/resolv.conf. The initial list
is taken from the existing resolv.conf, which is rewritten to point to
localhost. Alternatively, a list of forwarders can be provided on the
command line.

To assist this script, add an rc.subr command called "enabled" which
does nothing except return 0 if the service is enabled and 1 if it is
not, without going through the usual checks. We should consider doing
the same for "status", which is currently pointless.

Add an rc script for unbound, called local_unbound. If there is no
configuration file, the rc script runs local-unbound-setup to generate
one.

Note that these scripts place the unbound configuration files in
/var/unbound rather than /etc/unbound. This is necessary so that
unbound can reload its configuration while chrooted. We should
probably provide symlinks in /etc.

Approved by: re (blanket)

# 7b07722f 22-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove drill(1) if MK_LDNS_UTILS is false.
Remove host(1) if both MK_BIND and MK_LDNS_UTILS are false.

Approved by: re (blanket)

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

Build and install the Unbound caching DNS resolver daemon.

Approved by: re (blanket)

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

Complete the OPENSSH and LDNS sections.

Approved by: re (blanket)

# 9f00530d 14-Sep-2013 Ed Schouten <ed@FreeBSD.org>

Properly remove c++filt.

The c++filt binary is only installed if ${MK_GCC} == yes && ${MK_CXX} ==
yes. This means that it should be removed if ${MK_GCC} == no ||
${MK_CXX} == no. In its current form, it actually uses a conjunction
instead of a disjunction.

As there is already a separate block for ${MK_CXX} == no listing
c++filt, simply remove the conditional entirely.

Approved by: re (gjb)

# 0d410def 10-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Clean up the Kerberos build by turning libheimipcc and libheimipcs into
private shared libraries, instead of hacked-together archives of PIC
objects. This makes it possible to build a static libkrb5 that works.

Reviewed by: stas
Approved by: re (gjb)

# 655f887f 07-Sep-2013 Antoine Brodin <antoine@FreeBSD.org>

Adjust optional obsolete files with new MK_GNUCXX

# 3d8a28c3 07-Sep-2013 Antoine Brodin <antoine@FreeBSD.org>

Do not try to remove directories that are part of BSD.include.dist

# 8031489c 07-Sep-2013 Gleb Smirnoff <glebius@FreeBSD.org>

Add more leftovers from gcc.

# a5bfe448 06-Sep-2013 David Chisnall <theraven@FreeBSD.org>

Don't delete c++filt when doing a make delete-old if GCC is not built but
C++ is.

# e9fb2ea0 29-Aug-2013 Andreas Tobler <andreast@FreeBSD.org>

Remove GNU_PATCH leftover.

# e434cacb 26-Aug-2013 Antoine Brodin <antoine@FreeBSD.org>

Add more obsolete files.

# 0ff204bb 13-Aug-2013 Peter Wemm <peter@FreeBSD.org>

The iconv in libc did two things - implement the standard APIs, the GNU
extensions and also tried to be link time compatible with ports libiconv.
This splits that functionality and enables the parts that shouldn't
interfere with the port by default.

WITH_ICONV (now on by default) - adds iconv.h, iconv_open(3) etc.
WITH_LIBICONV_COMPAT (off by default) adds the libiconv_open etc API, linker
symbols and even a stub libiconv.so.3 that are good enough to be able
to 'pkg delete -f libiconv' on a running system and reasonably expect it
to work.

I have tortured many machines over the last few days to try and reduce
the possibilities of foot-shooting as much as I can. I've successfully
recompiled to enable and disable the libiconv_compat modes, ports that use
libiconv alongside system iconv etc. If you don't enable the
WITH_LIBICONV_COMPAT switch, they don't share symbol space.

This is an extension of behavior on other system. iconv(3) is a standard
libc interface and libiconv port expects to be able to run alongside it on
systems that have it.

Bumped osreldate.

# 8471c7bd 06-Aug-2013 Sean Bruno <sbruno@FreeBSD.org>

Adjust make knobs to know that WITH_ICONV installs a /usr/bin/iconv

Remove it if the knob isn't tweaked. Certain ports seem to think that
if /usr/bin/iconv exists, then libc has built in libiconv things and will
blow up pretty nicely when built.

Reviewed by: gjb@
MFC after: 2 weeks

# 9beae6b5 12-Jul-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove authpf-noip along with authpf.

Reminded by: delphij@

# deb50697 24-Jun-2013 Eitan Adler <eadler@FreeBSD.org>

Add missing Obsolete Files

Submitted by: Kurt Lidl <lidl@pi-coral.com>

# 4f858707 18-Jun-2013 Peter Wemm <peter@FreeBSD.org>

Teach delete-old how to clean up after WITH/WITHOUT_SVN{LITE} permutations.

# 1cbff2a9 15-Jun-2013 Eitan Adler <eadler@FreeBSD.org>

Remove CVS from the base system.

Discussed with: many
Reviewed by: peter, zi
Approved by: core

# 01bb8628 09-Jun-2013 Glen Barber <gjb@FreeBSD.org>

Add freebsd-update.conf(5) to OptionalObsoleteFiles.inc

PR: 179437
Approved by: kib (mentor)
MFC after: 1 week

# 2b3b3637 11-May-2013 Eitan Adler <eadler@FreeBSD.org>

Unconditionally install 210.backup-aliases as many MTAs other than
sendmail support the use of /etc/aliases.

PR: conf/176098
Submitted by: ak
MFC after: 2 weeks

# b4634967 28-Apr-2013 Eitan Adler <eadler@FreeBSD.org>

When the world is built WITHOUT_OPENSSH also don't
install ssh-copy-id.

PR: misc/177590
Submitted by: Oleg Ginzburg <olevole@olevole.ru>
Reviewed by: imp

# 850163e4 26-Apr-2013 Eitan Adler <eadler@FreeBSD.org>

Remove IDEA from OptionalObsoleteFiles.inc

Also add an UPDATING entry (requsted by gjb)

# 139f7f9b 12-Apr-2013 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to trunk r178860, in preparation of the
upcoming 3.3 release (branching and freezing expected in a few weeks).

Preliminary release notes can be found at the usual location:
<http://llvm.org/docs/ReleaseNotes.html>

An MFC is planned once the actual 3.3 release is finished.


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

Add option to make pc-sysinstall optional

Approved by: cperciva

# 616d12b7 20-Dec-2012 Baptiste Daroussin <bapt@FreeBSD.org>

Add etc/periodic/daily/220.backup-pkgdb to OptionalObsoleteFiles.inc

# 3861d79f 03-Dec-2012 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to r168974, from upstream's release_32
branch. This is effectively llvm/clang 3.2 RC2; the 3.2 release is
coming soon.


# ffdac814 14-Nov-2012 Marcel Moolenaar <marcel@FreeBSD.org>

Don't install atf.test.mk if MK_ATF == no.

Submitted by: Garrett Cooper <yanegomi@gmail.com>

# c175365c 21-Oct-2012 Marcel Moolenaar <marcel@FreeBSD.org>

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

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

Credits follow:

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

# 458beb5d 17-Oct-2012 Andreas Tobler <andreast@FreeBSD.org>

Remove the netncp and nwfs files from here. They will be moved to the
ObsoleteFiles.inc file later.

Discussed with: attilio

# ce8ba5a5 26-Aug-2012 Dimitry Andric <dim@FreeBSD.org>

Add libc++ and libcxxrt related files to OptionalObsoleteFiles.inc.

MFC after: 1 week

# d4271816 20-Aug-2012 Dimitry Andric <dim@FreeBSD.org>

Add three additional clang intrinsics headers, which I missed in the
previous import.

# 7ae0e2c9 20-Aug-2012 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to trunk r162107. With thanks to
Benjamin Kramer and Joerg Sonnenberger for their input and fixes.


# c4554b94 23-Jul-2012 Dimitry Andric <dim@FreeBSD.org>

When WITHOUT_CLANG is being used, also clean out the clang 3.1 headers
in OptionalObsoleteFiles.inc.

PR: misc/169902
Submitted by: Thomas Eberhardt <sneakywumpus@googlemail.com>
MFC after: 3 days

# 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

# 60533c20 09-May-2012 Eitan Adler <eadler@FreeBSD.org>

Add some missing files to OLD_FILES

PR: conf/166460
Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com>
Reviewed by: stable@
Approved by: cperciva
MFC after: 2 weeks

# 4d04782c 14-Apr-2012 Dimitry Andric <dim@FreeBSD.org>

Add files and directories to be cleaned up if WITHOUT_GCC is in effect
to OptionalObsoleteFiles.inc.

MFC after: 1 week

# a146c2a9 22-Mar-2012 Stanislav Sedov <stas@FreeBSD.org>

- Add new kerberos libraries to the list of optional obsolete files.

# 0e46933c 22-Mar-2012 Stanislav Sedov <stas@FreeBSD.org>

- Do not build libcom_err and compile_et when kerberos is disabled. They
depends on several heimdal libraries and not used by anything but kerberos
tools.

# ae771770 22-Mar-2012 Stanislav Sedov <stas@FreeBSD.org>

- Update FreeBSD Heimdal distribution to version 1.5.1. This also brings
several new kerberos related libraries and applications to FreeBSD:
o kgetcred(1) allows one to manually get a ticket for a particular service.
o kf(1) securily forwards ticket to another host through an authenticated
and encrypted stream.
o kcc(1) is an umbrella program around klist(1), kswitch(1), kgetcred(1)
and other user kerberos operations. klist and kswitch are just symlinks
to kcc(1) now.
o kswitch(1) allows you to easily switch between kerberos credentials if
you're running KCM.
o hxtool(1) is a certificate management tool to use with PKINIT.
o string2key(1) maps a password into key.
o kdigest(8) is a userland tool to access the KDC's digest interface.
o kimpersonate(8) creates a "fake" ticket for a service.

We also now install manpages for some lirbaries that were not installed
before, libheimntlm and libhx509.

- The new HEIMDAL version no longer supports Kerberos 4. All users are
recommended to switch to Kerberos 5.

- Weak ciphers are now disabled by default. To enable DES support (used
by telnet(8)), use "allow_weak_crypto" option in krb5.conf.

- libtelnet, pam_ksu and pam_krb5 are now compiled with error on warnings
disabled due to the function they use (krb5_get_err_text(3)) being
deprecated. I plan to work on this next.

- Heimdal's KDC now require sqlite to operate. We use the bundled version
and install it as libheimsqlite. If some other FreeBSD components will
require it in the future we can rename it to libbsdsqlite and use for these
components as well.

- This is not a latest Heimdal version, the new one was released while I was
working on the update. I will update it to 1.5.2 soon, as it fixes some
important bugs and security issues.


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

# 6bb1cadd 05-Feb-2012 Dimitry Andric <dim@FreeBSD.org>

Add a WITH_CLANG_EXTRAS option for src.conf(5), disabled by default,
that builds the following additional llvm/clang tools:

- bugpoint
- llc
- lli
- llvm-ar
- llvm-as
- llvm-bcanalyzer
- llvm-diff
- llvm-dis
- llvm-extract
- llvm-ld
- llvm-link
- llvm-mc
- llvm-nm
- llvm-objdump
- llvm-prof
- llvm-ranlib
- llvm-rtdyld
- llvm-stub
- macho-dump
- opt

These tools are mainly useful for people that want to manipulate llvm
bitcode (.bc) and llvm assembly language (.ll) files, or want to tinker
with llvm and clang themselves.

MFC after: 2 weeks


# 8f506e9e 11-Dec-2011 Dimitry Andric <dim@FreeBSD.org>

Add more files to cleanup with 'make delete-old' when WITHOUT_CLANG is
in effect.

MFC after: 1 week

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

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

Don't remove the periodic script for ac(8) when setting WITHOUT_ACCT.

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

# b3eb927f 06-Apr-2011 Ulrich Spörlein <uqs@FreeBSD.org>

Complete WITHOUT_CXX support. It implies WITHOUT_GROFF and
WITHOUT_CLANG.

Don't build clang bootstrap/build-tools depending on this flag. We also
keep gperf, devd and libstdc++ around to prevent foot-shooting and to
make this a two-way street.

# 423102c6 22-Feb-2011 Ulrich Spörlein <uqs@FreeBSD.org>

Flesh out WITHOUT_GROFF support to DTRT.

A full featured groff is required during buildworld, so build it always
and don't rely on it being present on the host system.

vgrind(1) is tightly coupled to a roff processor and will not be
built/installed when groff is disabled. Also much of the roff'ed
documentation under share/doc will not be built/installed when
WITHOUT_GROFF is defined.

Reviewed by: ru (partial)

# d180d7ef 04-Dec-2010 Ulrich Spörlein <uqs@FreeBSD.org>

Document two more ways to find duplicates in the obsolete file list.

Remove the only duplicate found by the optional files check. Fix typos,
while here.

Suggested by: netchild

# fe5ddba7 14-Nov-2010 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add optional files controlled by WITH_GPIO knob

Submitted by: Alexander Best <arundel@freebsd.org>

# 97f9dcf7 14-Nov-2010 Rebecca Cran <brucec@FreeBSD.org>

lib32 is installed on powerpc64 too.

# 60db6c32 14-Nov-2010 Rebecca Cran <brucec@FreeBSD.org>

libatm_p.a, libkeycap_p.a and libmytinfo_p.a are already in ObsoleteFiles.inc.
liblwres.so.10 has been replaced by liblwres.so.50.

Reported by: arundel

# 65a1c465 09-Nov-2010 Xin LI <delphij@FreeBSD.org>

Hide 460.chkportsum in MK_PKGTOOLS != no case.

Submitted by: Alex Kozlov <spam rm-rf kiev ua>
MFC after: 2 weeks

# 60e6ef07 08-Oct-2010 Mark Murray <markm@FreeBSD.org>

Don't blow away /bin/rmail symlink if we are keeping mailwrapper.
Mailwrapper can provide a perfectly good rmail with other
mailers.

# 916d7003 06-Oct-2010 Alexander Leidinger <netchild@FreeBSD.org>

Add some missing files to optionally delete.

Submitted by: Paul B Mahol <onemda@gmail.com>

# 781ad8ef 21-Jul-2010 Ed Schouten <ed@FreeBSD.org>

Chase LLVM version bump to 2.8.

# e137ba59 16-Jun-2010 Alexander Leidinger <netchild@FreeBSD.org>

Add the ZFS periodic daily scripts to the ZFS part.

# edec9228 14-Jun-2010 Ed Schouten <ed@FreeBSD.org>

Add Clang to OptionalObsoleteFiles.inc.

This means you can now deinstall Clang by running make delete-old with
WITHOUT_CLANG set.

# 36e60cda 26-Mar-2010 Xin LI <delphij@FreeBSD.org>

Remove GNU cpio after fix of CVE-2010-0624.

Note that this is actually a no-op for most users, as this GNU
cpio was broken on -HEAD and 8-STABLE since last March until
the recent fix.

FreeBSD 8.0+ uses BSD cpio by default and the code is being
actively maintained.

Blessed by: kientzle
With hat: secteam
MFC after: 3 days

# b974b08f 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PPP=no.

# 72647fe8 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PORTSNAP=no.

# 78d8164c 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PKGTOOLS=no.

# c13190b2 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PF=no.

# 58f47440 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_NTP=no.

# fda29b23 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_RCMDS=no.

# 50d16bbe 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_RCS=no.

# 23644347 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_ROUTED=no.

# 1fe4843a 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_TELNET=no.

# 94cd15a9 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_NDIS=no.

# 8c7d0ea2 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_NCP=no.

# c742deed 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_LPR=no.

# 9586e952 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_WIRELESS=no.

# e94be45c 26-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Do not remove fmt.1 when MK_MAIL=no.

X-MFC-With: r203584

# cebcc1ac 09-Feb-2010 Xin LI <delphij@FreeBSD.org>

Symbolic link to mailwrapper should only be removed if both MK_MAILWRAPPER
and MK_SENDMAIL is "no".

Reported by: Rob Farmer <rfarmer at predatorlabs.net>

# 07ea9a7c 09-Feb-2010 Xin LI <delphij@FreeBSD.org>

As it turns out, fmt(1) is being used by the base system as well as the
ports tree extensively and it is probably a good idea to keep it
regardless of NO_MAIL setting.

Reported by: Alexander Best
Reviewed by: antoine
X-MFC-With: r203584

# 4c63c240 06-Feb-2010 Xin LI <delphij@FreeBSD.org>

Add files for NO_MAIL, NO_SENDMAIL and NO_MAILWRAPPER.

MFC after: 2 weeks

# a48279bb 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_KERBEROS=no.

# e86622b3 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_JAIL=no.

# 2677a432 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_IPX=no.

# 02eb407f 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_IPFW=no.

# 91ff065b 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Move rescue/ping6 from files to remove when MK_INET6=no to file to remove
when MK_INET6_SUPPORT=no. (MK_INET6=no implies MK_INET6_SUPPORT=no)

# a2ccbc29 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add file to remove when MK_IDEA=no.

# b6d220d0 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GSSAPI=no.

# 96e9532b 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GPIB=no.

# 2ea25692 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GDB=no.

# 05142604 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GAMES=no.

# b983b146 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_FREEBSD_UPDATE=no.

# aa6bef9e 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_FLOPPY=no.

# 629b054a 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_DICT=no.

# 73ff6610 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CVS=no.

# 7692d80e 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CTM=no.

# 682e1072 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CPP=no.

# e493781a 16-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_ZFS=no.

# af5b4724 16-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_CDDL=no.

# 2ab19927 16-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CALENDAR=no.

# bd0a3ed5 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_BLUETOOTH=no.

# 22f09c9f 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_AUTHPF=no.

# 6fccaa07 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_ATM=no.

# 2cccc87b 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_AT=no.

# 5942f7f7 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_APM=no.

# 6cbebbd3 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_AMD=no.

# b00c1bf2 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_ACCT=no.

# 29d08a6d 24-Jun-2009 Jamie Gritton <jamie@FreeBSD.org>

Add libjail, a (somewhat) simpler interface to the jail_set and jail_get
system calls and the security.jail.param sysctls.

Approved by: bz (mentor)

# c6642c52 13-Sep-2008 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when WITHOUT_HESIOD is set.
This fixes "make check-old" when WITH_HESIOD is set.

PR: 122406
MFC after: 1 month

# a1d73f7b 28-Jul-2008 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GNU_CPIO = no

# 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

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

# 94dd3203 24-Mar-2008 Antoine Brodin <antoine@FreeBSD.org>

Don't remove usr/include/fs/nwfs and usr/include/netncp, as they are always
recreated during installworld (they are in BSD.include.dist).

Reported by: Pawel Worach
Approved by: rwatson (mentor)
X-MFC: with revision 1.13

# 6fa1978a 08-Mar-2008 Antoine Brodin <antoine@FreeBSD.org>

Add some checks for amd64 target around usr/lib32 libraries, missed in
previous commit.

Approved by: rwatson (mentor)
X-MFC: with revision 1.13

# b246502f 29-Feb-2008 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GCOV, MK_IPX or MK_NCP are defined.

Note: it may be a good idea to deduce obsolete usr/lib32/ files from
obsolete lib/ and usr/lib/ files.

PR: 120492
PR: 121118
PR: 121121
Submitted by: KAMIYA Satosi, Richard Tector
Approved by: rwatson (mentor)
MFC after: 1 month

# 4114acea 18-Jan-2008 Christian Brueffer <brueffer@FreeBSD.org>

Remove files conditional on the obsolete MK_FORTRAN knob. They are already
listed in ObsoleteFiles.inc anyway.

Reported by: David Wolfskill
Approved by: rwatson (mentor)
MFC after: 3 days

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

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

MK_LIBTHR was misspelled.

Approved by: re (kensmith)

# ceef0c31 05-Apr-2007 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Connect ZFS to the build.

# 70d21ee7 11-Mar-2007 Rong-En Fan <rafan@FreeBSD.org>

Add ncursesw, libelf, and libalias profiling libraries

Approved by: delphij (mentor)

# 438e97c0 01-Feb-2007 Rong-En Fan <rafan@FreeBSD.org>

Remove old libmytinfo link.

Approved by: delphij (mentor)
Requested by: ache

# b1a7dc88 27-Nov-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

/usr/sbin/faithd is an INET6-specific tool, and now it won't be built
if MK_INET6 is "no", so add it to the MK_INET6 block.

PR: bin/100805 (audit-trail)

# 2e975006 30-Sep-2006 Ruslan Ermilov <ru@FreeBSD.org>

Removed libc_r build support.

# c3e63d56 29-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Extend the MK_INET6 section by rescue/ping6 and the manpages.

# 9da33b35 28-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Populate the MK_INET6 block.

# 1812f896 01-May-2006 Alexander Leidinger <netchild@FreeBSD.org>

Add profile libs.

Submitted by: Pawel Worach <pawel.worach@gmail.com>

# 95529bcb 03-Apr-2006 Alexander Leidinger <netchild@FreeBSD.org>

Milosz (sorry for not using the right 'l', it will not display corretly
in the commit log) submitted support for some NO_* knobs for delete-old*
and check-old. I converted it to the new WITHOUT_* knobs (more correctly:
MK_*) and added some dummy ones so that people can see what's missing.

Volunteers can have a look at http://phk.freebsd.dk/misc/build_options/
for a list of files.

The location looks a little bit odd to me, but I don't care about the
color of this bikeshed and follow the suggestion of our build
infrastructure guru to place it "somewhere under src/tools/ please". [1]
The build/mk/ directory looks more sane to me than the other ones there.

Submitted by: milosz.galazka@gmail.com
Suggested by: ru [1]

# 4cd0f014 13-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

OptionalObsoleteFiles.inc: document block order

Options should be in sort(1) order by primary option (usually, but not
always, first in the if statement).

Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896


# c90d0600 08-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Sort MK_NETLINK option

Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896


# 2b3bf27d 08-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Sort MK_GNU_DIFF option

Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896


# fb173fc8 08-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Combine and sort MK_LLVM_COV

These used to be grouped with MK_GCOV option or the like.

Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896


# 16743f0e 08-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Sort MK_EFI and MK_FTP options

Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896


# a62cefbb 08-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Sort MK_DTRACE and MK_ZFS options

Presumably these were under MK_CDDL at some point, but these days
src.opts.mk takes care of setting them to "no" when MK_CDDL is.

Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896


# e70ad278 08-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Sort MK_HYPERV option

Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896


# 4ca5df80 08-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Sort MK_BSD_CPIO before MK_BSDINSTALL

Using sort(1) order makes verification of the sort easier.

Reviewed by: emaste, imp, netchild
Pull Request: https://github.com/freebsd/freebsd-src/pull/896


# ec4c2adb 13-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

Retire LLD_IS_LD option

The option was added to parallel the CLANG_IS_CC which was removed in
commit 20a66ab4bf8511e51e11321b775d36c92e77fa69.

Reviewed by: imp, dim, emaste
Differential Revision: https://reviews.freebsd.org/D42575


# b2934971 18-Oct-2023 Mitchell Horne <mhorne@FreeBSD.org>

pmc.amd(3): rename from pmc.k8(3)

This is the first step in recognizing that the K8 microarchitecture
represents a small and aged subset of AMD CPUs supported by this class.
Future changes will update the code and documentation details to better
reflect this.

Keep the old filename as an alias.

Reviewed by: jkoshy
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D41279


# 82d6d46d 18-Oct-2023 Mitchell Horne <mhorne@FreeBSD.org>

pmc: remove last bits of AMD K7 CPU support

This includes event definitions from sys/pmc_events.h, definitions from
sys/pmc.h, and the man pages.

Reviewed by: jkoshy
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D41275


# 742f7ec5 11-Oct-2023 Baptiste Daroussin <bapt@FreeBSD.org>

dialog: correctly mark the libaries

Mark the libraries as such in order for make delete-old to not
remove them when the DIALOG option is off


# ff01d71e 10-Oct-2023 Baptiste Daroussin <bapt@FreeBSD.org>

bsdconfig: do not remove files id MK_DIALOG=no

bsdconfig does not depends anymore on anything related to dialog(1)
and libdialog(1) and has totally switched to bsddialog(1)


# 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


# 4cf80752 01-Oct-2023 Piotr Kubaj <pkubaj@FreeBSD.org>

ObsoleteFiles.inc: only leave ofwdump.8.gz when WITH_FDT is set

Approved by: mhorne
Differential Revision: https://reviews.freebsd.org/D41905
MFC after: 3 days


# 358f8a7a 04-Aug-2023 Baptiste Daroussin <bapt@FreeBSD.org>

sendmail: remove all m4 files with WITHOUT_SENDMAIL


# 023ef801 25-Aug-2023 John Baldwin <jhb@FreeBSD.org>

OptionalObsoleteFiles.inc: Add libprivate{cbor,fido2}_p.a

Two more profile libraries that should be removed by WITHOUT_PROFILE.
Found when upgrading a stable/13 VM to stable/14.


# 0c785f06 18-Aug-2023 Enji Cooper <ngie@FreeBSD.org>

Fix GoogleTest 1.14.0 import

- Prune headers and tests no longer installed after the upgrade.
- Remove GoogleTest-related files when MK_GOOGLETEST == no.
- Disable `-Werror` with gcc to unbreak the gcc12 CI run with
`lib/googletest`. Any issues found by g++ will be filed
upstream and hopefully resolved in a future version.
- Remove clang -Werror issues which are resolved in version 1.14.0 to
avoid masking valid issues.

MFC after: 1 week
MFC with: 28f6c2f292806bf31230a959bc4b19d7081669a7


# 47fc52b1 18-Aug-2023 Enji Cooper <ngie@FreeBSD.org>

Update `make delete-old`

This change updates `make delete-old` to account for files installed by the
following options:
- MK_BSDINSTALL
- MK_DMAGENT
- MK_EXAMPLES
- MK_SENDMAIL

MFC after: 2 weeks


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

Remove $FreeBSD$: one-line sh pattern

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


# dd3055a7 03-Aug-2023 Yuri Pankov <yuripv@FreeBSD.org>

OptionalObsoleteFiles: add missed keymaps for sycons


# 64140bb5 26-Jul-2023 Jessica Clarke <jrtc27@FreeBSD.org>

OptionalObsoleteFiles.inc: Automatically generate libcompat directories

Reviewed by: brooks, jhb, emaste
Differential Revision: https://reviews.freebsd.org/D41186


# ba84e870 24-Jun-2023 Mitchell Horne <mhorne@FreeBSD.org>

pmc: clean up remaining Pentium man page references

These have been removed.

Fixes: d78896e46f1d ("pmc(3): remove Pentium-related man pages...")
MFC after: 3 days
Sponsored by: The FreeBSD Foundation


# cb1fc924 30-May-2023 Baptiste Daroussin <bapt@FreeBSD.org>

genl: add new command to list genetlink(4)

This commands list genetlink protocols and its operations and
capabilities

Name: nlctrl
ID: 0x10, Version: 00, header size: 2, max attributes: 10
supported operations:
- ID: 0x3, Capabilities: 0xe (can modify; can get/dump;
has policy)
multicast groups:
- ID: 0x30, Name: notify
Name: carp
ID: 0x11, Version: 00, header size: 2, max attributes: 2
supported operations:
- ID: 0x1, Capabilities: 0xe (can modify; can get/dump;
has policy)
- ID: 0x2, Capabilities: 0xb (requires admin permission;
can modify; has policy)

Reviewed by: melifaro
Differential Revision: https://reviews.freebsd.org/D40330


# 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


# a827077e 30-Mar-2023 John Baldwin <jhb@FreeBSD.org>

Add libcap_netdb.so.1 to the list of libcasper helper libraries.

Reported by: Yuri <yuri@aetern.org>
Fixes: 7d8e1e8dd904 libcasper: Move helper libraries from /lib/casper to /lib.


# 7d8e1e8d 29-Mar-2023 John Baldwin <jhb@FreeBSD.org>

libcasper: Move helper libraries from /lib/casper to /lib.

These libraries are linked to directly by applications rather than
opened at runtime via dlopen().

Discussed with: oshogbo
Reviewed by: markj, emaste
Differential Revision: https://reviews.freebsd.org/D39245


# c476ca18 29-Mar-2023 John Baldwin <jhb@FreeBSD.org>

OptionalObsoleteFiles.inc: Remove MIPS-specific hwpmc manpages.

These are unconditionally removed in ObsoleteFiles.inc.


# 1ad3cafc 21-Mar-2023 John Baldwin <jhb@FreeBSD.org>

Remove /usr/lib/dtrace/ipfw.d for WITHOUT_DTRACE.

Reviewed by: brooks
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D39099


# af0cc0b2 09-Mar-2023 Brooks Davis <brooks@FreeBSD.org>

NgATM: Remove netgraph ATM support

Most ATM support was removed prior to FreeBSD 12. The netgraph support
was kept as it was less intrusive, but it is presumed to be unused.

Reviewed by: manu
Relnotes: yes
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D38879


# 08e66b7a 06-Mar-2023 Herbert J. Skuhra <herbert@gojira.at>

ATM: Remove /usr/include/netnatm when disbled


# 3dfd18a7 13-Feb-2023 John Baldwin <jhb@FreeBSD.org>

Remove support for the base/* toolchain ports.

These ports have been removed so these knobs are no longer meaningful.

This reverts commit 608289394f655d0635c71233248b734010fb4d2f.
This reverts commit 39eb07f172921a581ee9b33ca2765905f4235202.

Reviewed by: imp, bapt, emaste
Differential Revision: https://reviews.freebsd.org/D38562


# 50d7464c 14-Jan-2023 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project release/15.x llvmorg-15.0.7-0-g8dfdcc7b7bf6

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-15.0.7-0-g8dfdcc7b7bf6.

PR: 265425
MFC after: 2 weeks


# f3fd488f 04-Dec-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project release/15.x llvmorg-15.0.6-0-g088f33605d8a

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-15.0.6-0-g088f33605d8a.

PR: 265425
MFC after: 2 weeks


# 6246ae0b 16-Oct-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project release/15.x llvmorg-15.0.2-10-gf3c5289e7846

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-15.0.2-10-gf3c5289e7846.

PR: 265425
MFC after: 2 weeks


# 753f127f 14-Jul-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-15-init-16436-g18a6ab5b8d1f

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-15-init-16436-g18a6ab5b8d1f.

PR: 265425
MFC after: 2 weeks


# 81ad6265 04-Jul-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-15-init-15358-g53dc0f10787

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-15-init-15358-g53dc0f10787.

PR: 265425
MFC after: 2 weeks


# 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

# 86edb11e 18-Nov-2022 Ed Maste <emaste@FreeBSD.org>

Always install llvm-objdump as objdump

Instead of providing no /usr/bin/objdump when LLVM_BINUTILS is false.

PR: 267854 [exp-run]
Reviewed by: dim
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37445

# 821549a9 29-Nov-2022 Philip Paeps <philip@FreeBSD.org>

OptionalObsoleteFiles.inc: add zoneinfo/America/Ciudad_Juarez

tzdata 2022g and later split America/Ciudad_Juarez from America/Ojinaga.
Ensure this file is removed in builds WITHOUT_ZONEINFO.

MFC after: 1 day

# 616f32ea 14-Nov-2022 Baptiste Daroussin <bapt@FreeBSD.org>

othermta: remove leftover from 20 years ago

othermta (along with mta_start_script configuration entry in rc.conf)
was a mechanism used to be able to run another mta than sendmail(8) before
"rcng" time 20 years ago.

othermta has not been used since.

# 0b1adc42 09-Nov-2022 Baptiste Daroussin <bapt@FreeBSD.org>

rc.sendmail: remove unused script

20 years ago the use of rc.sendmail script was dropped in favor
of /etc/rc.d/sendmail, it is time to retire the script entirely
now.

MFC after: 1 week

# 00ffd6b5 12-Oct-2022 Baptiste Daroussin <bapt@FreeBSD.org>

OptionalObsoleteFiles: grep nls files have been removed 4 years ago

# ed990a7a 12-Oct-2022 Baptiste Daroussin <bapt@FreeBSD.org>

sort: remove NLS support

NLS support for sort(1) is:
1/ incomplete: many error string are not using nls
2/ only covers hu_HU.ISO8859-2

# d577d617 03-Oct-2022 Jessica Clarke <jrtc27@FreeBSD.org>

bsdinstall release: Move code to a new startbsdinstall wrapper

This separates out the install media-specific environment (creating
bsdinstall_etc) from actually running the installer on a given console.
This will be used by a future change to start the installer on multiple
consoles.

Reviewed by: brooks, gjb
Differential Revision: https://reviews.freebsd.org/D36803

# a2464ee1 03-Oct-2022 Jessica Clarke <jrtc27@FreeBSD.org>

bsdinstall: Add a new runconsoles helper binary

This helper binary will run a given command on every on console, as
defined by /etc/ttys (except for ttyv*, where only ttyv0 will be used).
If one of the command processes exits, the rest will be killed. This
will be used by a future change to start the installer on multiple
consoles.

Reviewed by: brooks, imp, gjb
Differential Revision: https://reviews.freebsd.org/D36804

# 0eea46fb 28-Sep-2022 Brooks Davis <brooks@FreeBSD.org>

Remove telnetd

The telnetd codebase is unmaintained and has a number of quality
issues. Telnet has been largely supplanted by ssh. If needed, a port is
available (net/freebsd-telnetd), but a more maintained implementation
should be prefered.

While the telnet client suffers from the same issues, it is deemed
to be of lower risk and is required to connect to legacy devices, so
it remains.

Reviewed by: emaste, imp
Differential Revision: https://reviews.freebsd.org/D36620

# d1a351be 25-Sep-2022 Ed Maste <emaste@FreeBSD.org>

Do not delete objdump when WITH_LLVM_BINUTILS is true

WITH_LLVM_BINUTILS links /usr/bin/objdump to llvm-objdump, and similarly
for the man page. Do not delete them in `make delete-old`.

PR: 266603
Sponsored by: The FreeBSD Foundation

# f419a283 09-Sep-2022 Dag-Erling Smørgrav <des@FreeBSD.org>

OptionalObsoleteFiles.inc: add bearssl, secureboot, veriexec.

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

# 998b0a4a 31-Aug-2022 Peter Wemm <peter@FreeBSD.org>

OptionalObsoleteFiles.inc: Add missing sendmail feature macro files.

MFC after: 3 days

# 2300a22c 22-Feb-2022 Kyle Evans <kevans@FreeBSD.org>

libc: iconv: add mb_cur_min for encoder traits

A future commit will actually implement //IGNORE so that applications
using base iconv can, e.g., sanitize UTF-8 strings. To do this, the
iconv_std module needs to be able to determine the minimum width for any
given encoding so that it can skip that many bytes in the input buffer.
This is mainly an issue for UTF-16 and UTF-32.

This commit bumps shlib versions to 5 for libiconv modules to reflect
the ABI change. It also fixes OptionalObsoleteFiles to remove the
libiconv modules if WITHOUT_ICONV is in use.

re: _ENCODING_MB_CUR_MIN, note that this file (citrus_stdenc_template.h)
is included at the bottom of an encoding *implementation*, so the
implementation is free to #define it prior. UTF1632 is a good example,
as it redefines the minimum to be a property on the encodinginfo, and
the minimum is set to 2 or 4 bytes for UTF-16 and UTF-32 respectively.

Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D34344

# 55736146 21-Jul-2022 Dmitry Chagin <dchagin@FreeBSD.org>

check/delete-old: Fix /bin/rmail removal condition

When WITHOUT_SENDMAIL is enabled and WITHOUT_MAILWRAPPER is disabled
we install /bin/rmail as a link to the /usr/sbin/mailwrapper.
Ensure make delete-old does not unlink /bin/rmail in that case.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D35874
MFC after: 2 weeks

# 3bf66365 06-Jul-2022 Brooks Davis <brooks@FreeBSD.org>

cddl/*: add a WITH(OUT)_DTRACE option

Add an option to enable/disable DTrace without disabling ZFS. New
architectures such as CHERI may support ZFS before they support DTrace
and the old model of WITHOUT_CDDL disabling both wasn't helpful.

For compatiblity, the CDDL option remains and WITHOUT_CDDL implies
WITHOUT_DTRACE. WITHOUT_DTRACE also implies WITHOUT_CTF.

As part of this change, largely convert cddl/*/Makefile to using the
more compact SUBDIR.${MK_<FOO>}+= form rather than using intermediate
variables.

Reviewed by: markj
Obtained from: CheriBSD
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D35718

# 56f451bb 12-Jun-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project release/14.x llvmorg-14.0.5-0-gc12386ae247c

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14.0.5-0-gc12386ae247c, aka 14.0.5 release.

PR: 261742
MFC after: 3 days


# 5e383e36 05-Jun-2022 Dimitry Andric <dim@FreeBSD.org>

Add more old clang files to (Optional)ObsoleteFiles.inc

There were a few more libclang_rt libraries added recently, but not yet
listed in the ObsoleteFiles.inc lists.

MFC after: 3 days

# 809922b0 05-Jun-2022 Dimitry Andric <dim@FreeBSD.org>

Update rest of llvm-project build glue for 14.0.4

I completely forgot about updating the generated llvm-project config
files, which also contain version numbers, etc. Sorry for the churn.

PR: 261742
Fixes: ab9d54731f43
MFC after: 3 days

# 7b6f5ebe 27-May-2022 Dimitry Andric <dim@FreeBSD.org>

Add several sanitizer ignore lists under /usr/lib/clang

Some of the sanitizers from compiler-rt can use ignore lists, which are
loosely modeled on valgrind's example. Upstream provides default lists
for AddressSanitizer, CFI, and MemorySanitizer, so install these in the
expected location, /usr/lib/clang/14.0.3/share.

Reviewed by: emaste
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D35338

# 3a9a9c0c 28-Apr-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project release/14.x llvmorg-14.0.3-0-g1f9140064dfb

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14.0.3-0-g1f9140064dfb.

PR: 261742
MFC after: 2 weeks


# 1fd87a68 05-Feb-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-14-init-18294-gdb01b123d012

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14-init-18294-gdb01b123d012, the last commit before
the upstream release/14.x branch was created.

PR: 261742
MFC after: 2 weeks


# 04eeddc0 27-Jan-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-14-init-17616-g024a1fab5c35

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14-init-17616-g024a1fab5c35.

PR: 261742
MFC after: 2 weeks


# 4824e7fd 02-Dec-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-14-init-11187-g222442ec2d71

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14-init-11187-g222442ec2d71.

PR: 261742
MFC after: 2 weeks


# 5e801ac6 20-Nov-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-14-init-10223-g401b76fdf2b3

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14-init-10223-g401b76fdf2b3.

PR: 261742
MFC after: 2 weeks


# c00d3456 10-Feb-2022 John Baldwin <jhb@FreeBSD.org>

Install unwind.h into /usr/include

Install headers from LLVM's libunwind in place of the headers from
libcxxrt and allow C applications to use the library.

As part of this, remove include/unwind.h and switch libthr over to
using the installed unwind.h.

Reviewed by: dim, emaste
MFC after: 10 days
Differential Revision: https://reviews.freebsd.org/D34065

# 77da558c 20-Jan-2022 John Baldwin <jhb@FreeBSD.org>

check/delete-old: Auto-generate lib32 entries for libraries.

- Add usr/lib32/libfoo.so.N for lib/libfoo.so.N.

- Add usr/lib32/foo for usr/lib/foo.

- Treat casper libraries special since they are installed to
/usr/lib32 instead of /usr/lib32/casper and thus map
usr/lib/casper/foo to usr/lib32/foo.

Note that OLD_DIRS and MOVED_LIBS entries are not duplicated, only
OLD_FILES and OLD_LIBS.

Reviewed by: imp, emaste
Sponsored by: The University of Cambridge, Google Inc.
Differential Revision: https://reviews.freebsd.org/D33324

# c96dfb21 20-Jan-2022 John Baldwin <jhb@FreeBSD.org>

Rework documentation of OLD_*.

- Be more explicit in the difference between OLD_DIRS and OLD_FILES
(the former is only in delete-old-libs whereas the latter is in
delete-old).

- Document that debug symbols in /usr/lib/debug/ for files in
OLD_FILES and OLD_LIBS are removed as well.

Reviewed by: emaste
Sponsored by: The University of Cambridge, Google Inc.
Differential Revision: https://reviews.freebsd.org/D33847

# ebc1c246 11-Jan-2022 John Baldwin <jhb@FreeBSD.org>

Remove redundant OLD_FILES entries for debug symbols.

Entries for foo.debug files matching an existing entry in OLD_FILES or
OLD_LIBS are unnecessary as they are auto-generated.

Reviewed by: imp, emaste
Sponsored by: The University of Cambridge, Google Inc.
Differential Revision: https://reviews.freebsd.org/D33777

# 60a82774 02-Dec-2021 John Baldwin <jhb@FreeBSD.org>

Only use OLD_LIBS with shared libraries.

Use OLD_FILES for a few symbolic links and static libraries previously
included in OLD_LIBS.

Add a missing shared library major number to an old libroken entry.

# a58135eb 02-Dec-2021 Herbert J. Skuhra <herbert@gojira.at>

OptionalObsoleteFiles.inc: Add rc.d/zfskeys

While here, sort the etc/rc.d entries.

PR: 256483
Reviewed by: allanjude
Approved by: allanjude (src)
MFC after: 3 days
Sponsored by: Modirum MDPay
Sponsored by: Klara Inc.
Differential Revision: https://reviews.freebsd.org/D33238

# db0ac6de 02-Dec-2021 Cy Schubert <cy@FreeBSD.org>

Revert "wpa: Import wpa_supplicant/hostapd commit 14ab4a816"

This reverts commit 266f97b5e9a7958e365e78288616a459b40d924a, reversing
changes made to a10253cffea84c0c980a36ba6776b00ed96c3e3b.

A mismerge of a merge to catch up to main resulted in files being
committed which should not have been.

# 266f97b5 02-Dec-2021 Cy Schubert <cy@FreeBSD.org>

wpa: Import wpa_supplicant/hostapd commit 14ab4a816

This is the November update to vendor/wpa committed upstream 2021-11-26.

MFC after: 1 month


# c3f345ae 01-Dec-2021 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles.inc: remove MK_CXX rule for usr/bin/c++

In fact MK_CXX does not control whether /usr/bin/c++ is built -- it is
installed as a link to Clang (which is always a C/C++ compiler), and it
already exists in OptionalObsoleteFiles under MK_TOOLCHAIN.

Sponsored by: The FreeBSD Foundation

# 610d908f 01-Dec-2021 John Baldwin <jhb@FreeBSD.org>

Add lib32 entries for WITHOUT_PROFILE.

Reported by: Mark Millard

# 07c2b29b 01-Dec-2021 John Baldwin <jhb@FreeBSD.org>

Trim a couple of duplicate entries from WITHOUT_PROFILE.

# 99188582 01-Dec-2021 John Baldwin <jhb@FreeBSD.org>

Add various profiled libraries missing from the WITHOUT_PROFILE list.

Reported by: Mark Millard

# f7ea22e2 01-Dec-2021 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: move /usr/bin/CC to MK_TOOLCHAIN section

/usr/bin/CC is installed by usr.bin/clang/clang/Makefile, as with
/usr/bin/cc, /usr/bin/cpp, etc., and is not controlled by MK_CXX.
Move it to the same section as those tools.

(It may be that these should all be under
MK_TOOLCHAIN == no || MK_CLANG_IS_CC == no, but that seems like
unnecessary complexity.)

Sponsored by: The FreeBSD Foundation

# 1b9344ad 30-Nov-2021 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove GCC remnants

g++ and cc1plus were GCC components that are already removed
unconditionally in ObsoleteFiles.inc.

Reported by: jhb (in review D33108)
Fixes: 57f804675e65 ("remove GCC 4.2.1 build infrastructure")
Sponsored by: The FreeBSD Foundation

# 0179739a 28-Nov-2021 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove ping with INET & INET6 disabled

Reported by: kevans
Fixes: a4ef9e58bc0c ("sbin: build ping if at least one of...")
Sponsored by: The FreeBSD Foundation

# 6e75b2fb 25-Aug-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project release/13.x llvmorg-13.0.0-rc1-97-g23ba3732246a

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-13.0.0-rc1-97-g23ba3732246a.

PR: 258209
MFC after: 2 weeks


# fe6060f1 22-Aug-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-13-init-16847-g88e66fa60ae5

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-13-init-16847-g88e66fa60ae5, the last commit before
the upstream release/13.x branch was created.

PR: 258209
MFC after: 2 weeks


# e9a99463 06-Oct-2021 Ed Maste <emaste@FreeBSD.org>

ssh: enable FIDO/U2F keys

Description of FIDO/U2F support (from OpenSSH 8.2 release notes,
https://www.openssh.com/txt/release-8.2):

This release adds support for FIDO/U2F hardware authenticators to
OpenSSH. U2F/FIDO are open standards for inexpensive two-factor
authentication hardware that are widely used for website
authentication. In OpenSSH FIDO devices are supported by new public
key types "ecdsa-sk" and "ed25519-sk", along with corresponding
certificate types.

ssh-keygen(1) may be used to generate a FIDO token-backed key, after
which they may be used much like any other key type supported by
OpenSSH, so long as the hardware token is attached when the keys are
used. FIDO tokens also generally require the user explicitly
authorise operations by touching or tapping them.

Generating a FIDO key requires the token be attached, and will
usually require the user tap the token to confirm the operation:

$ ssh-keygen -t ecdsa-sk -f ~/.ssh/id_ecdsa_sk
Generating public/private ecdsa-sk key pair.
You may need to touch your security key to authorize key generation.
Enter file in which to save the key (/home/djm/.ssh/id_ecdsa_sk):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/djm/.ssh/id_ecdsa_sk
Your public key has been saved in /home/djm/.ssh/id_ecdsa_sk.pub

This will yield a public and private key-pair. The private key file
should be useless to an attacker who does not have access to the
physical token. After generation, this key may be used like any
other supported key in OpenSSH and may be listed in authorized_keys,
added to ssh-agent(1), etc. The only additional stipulation is that
the FIDO token that the key belongs to must be attached when the key
is used.

To enable FIDO/U2F support, this change regenerates ssh_namespace.h,
adds ssh-sk-helper, and sets ENABLE_SK_INTERNAL (unless building
WITHOUT_USB).

devd integration is not included in this change, and is under
investigation for the base system. In the interim the security/u2f-devd
port can be installed to provide appropriate devd rules.

Reviewed by: delphij, kevans
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32509

# 2f7f8995 27-Oct-2021 John Baldwin <jhb@FreeBSD.org>

libdialog: Bump shared library version to 10.

The upgrade to libdialog 1.3 included changes to the ABI.

Bump libdpv to 3 since it links against libdialog.

Reported by: Mark Millard <marklmi@yahoo.com>
Reviewed by: bapt
Fixes: a96ef4501919 dialog: import dialog 1.3-20210117
Differential Revision: https://reviews.freebsd.org/D32675

# 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

# 7b1e19ad 06-Oct-2021 Ed Maste <emaste@FreeBSD.org>

Add libfido2 to the build

From https://github.com/Yubico/libfido2:

libfido2 provides library functionality and command-line tools to
communicate with a FIDO device over USB, and to verify attestation
and assertion signatures.

libfido2 supports the FIDO U2F (CTAP 1) and FIDO 2.0 (CTAP 2)
protocols.

libfido2 will be used by ssh to support FIDO/U2F keys. It is currently
intended only for use by ssh, and so is installed as a PRIVATELIB and is
placed in the ssh pkgbase package.

This is currently disabled for the 32-bit library build as libfido2 is
not compatible with the COMPAT_32BIT hack in usb_ioctl.h.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32448

# 2a213a2e 20-Oct-2021 Baptiste Daroussin <bapt@FreeBSD.org>

OptionalObsoleteFiles: add more googletest files to remove

# 2e85df65 06-Oct-2021 Ed Maste <emaste@FreeBSD.org>

Add libcbor to the build

From https://github.com/PJK/libcbor:

libcbor is a C library for parsing and generating CBOR, the general-
purpose schema-less binary data format.

libcbor will be used by ssh to support FIDO/U2F keys. It is currently
intended only for use by ssh, and so is installed as a PRIVATELIB and is
placed in the ssh pkgbase package.

cbor_export.h and configuration.h were generated by the upstream CMake
build. We could create them with bmake rules instead (as NetBSD has
done) but this is a fine start.

This is currently disabled for the 32-bit library build as libfido2 is
not compatible with the COMPAT_32BIT hack in usb_ioctl.h, and there is
no need for libcbor without libfido2.

Reviewed by: kevans
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32347

# 1b85b68d 14-Oct-2021 Cameron Katri <me@cameronkatri.com>

llvm-readobj: Attach to buildsystem

Also install it as readelf when MK_LLVM_BINUTILS is set.

Reviewed By: dim, arichardson
Differential Revision: https://reviews.freebsd.org/D32058

# 88c02733 11-Oct-2021 Alex Richardson <arichardson@FreeBSD.org>

Update OptionalObsoleteFiles.inc after 021385aba562

I forgot to update this file so make delete-old would incorrectly remove
the newly-installed LLVM binutils. While touching the file also update
for 8e1c989abbd1 since ObsoleteFiles.inc now inludes the tablegen binaries.

Reported by: Herbert J. Skuhra <herbert@gojira.at>
Reviewed By: emaste, imp

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

# 032448cd 08-Oct-2021 Ed Maste <emaste@FreeBSD.org>

Belatedly track private lib renaming for OptionalObsoleteFiles.inc

Reviewed by: kevans
Fixes: 5551c573554e ("Rework PRIVATELIB")
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32384

# 85395180 21-Jul-2021 Fernando Apesteguía <fernape@FreeBSD.org>

Remove manpages from OLD_FILES

Remove apm.8 and apmconf.8 from OLD_FILES in the relevant Makefiles.

These pages are now installed unconditionally as per 0a0f7486413c

PR: 257228
Reported by: yasu@utahime.org, wosch@
Approved by: imp@, wosch@
Fixes: 0a0f7486413c - Build manpages for all architectures
MFH: 4 weeks
Differential Revision: https://reviews.freebsd.org/D31256

# 23408297 18-Jun-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project 12.0.1 rc2

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-12.0.1-rc2-0-ge7dac564cd0e, a.k.a. 12.0.1 rc2.

PR: 255570
MFC after: 6 weeks


# d409305f 26-Apr-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project 12.0.0 release

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-12.0.0-0-gd28af7c654d8, a.k.a. 12.0.0 release.

PR: 255570
MFC after: 6 weeks


# e8d8bef9 13-Jun-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-12-init-17869-g8e464dd76bef

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-12-init-17869-g8e464dd76bef, the last commit before the
upstream release/12.x branch was created.

PR: 255570
MFC after: 6 weeks


# 0333fad1 11-Jun-2021 John Baldwin <jhb@FreeBSD.org>

Remove svnlite.

Reviewed by: bcr, imp, emaste
Differential Revision: https://reviews.freebsd.org/D30737

# 95aa617e 03-Jun-2021 Dimitry Andric <dim@FreeBSD.org>

Add C++ headers <barrier> <concepts> <execution> <latch> <numbers> <semaphore>

I missed adding these to the libc++ Makefile, when importing
llvm-project 11.0.0-rc1, even though they were supplied by upstream.

While here, update OptionalObsoleteFiles.inc to add these new headers,
and cleanup old cruft.

Reported by: yuri
Submitted by: jkim (Makefile diff)
PR: 255374
MFC after: 3 days

# 15deee52 20-Mar-2021 Dimitry Andric <dim@FreeBSD.org>

Move GH_BC ObsoleteFiles.inc section to OptionalObsoleteFiles.inc

Optional features belong in the latter file, and should be tested using:

.if ${MK_FEATURE} == no
[...]
.endif

# e6cfd293 03-Mar-2021 John Baldwin <jhb@FreeBSD.org>

Remove the usr/tests/usr.bin/yacc/yacc directory when removing yacc.

MFC after: 1 week

# 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

# 5cf6f1c4 30-Jan-2021 Alex Richardson <arichardson@FreeBSD.org>

Remove the MK_LIBCPLUSPLUS option

This option has been equivalent to any form of C++ support since libstdc++
was removed. Therefore, replace all MK_LIBCPLUSPLUS uses with MK_CXX.

Reviewed By: emaste
Differential Revision: https://reviews.freebsd.org/D27974

# bfc99943 25-Jan-2021 Brooks Davis <brooks@one-eyed-alien.net>

ndis(4): remove as previous announced

nids(4) was a clever idea in the early 2000's when the market was
flooded with 10/100 NICs with Windows-only drivers, but that hasn't been
the case for ages and the driver has had no meaningful maintenance in
ages. It only supports Windows-XP era drivers.

Also remove:
- ndis support from wpa_supplicant
- ndiscvt(8)

Reviewed By: emaste, bcr (manpages)
Differential Revision: https://reviews.freebsd.org/D27609

# 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

# 7593c13e 16-Jan-2021 Dimitry Andric <dim@FreeBSD.org>

Add libclang_rt.profile-powerpc64le.a to (Optional)?ObsoleteFiles.inc

On little-endian PowerPC64, this prevented /usr/lib/clang/11.0.0 being
cleaned up completely after upgrading to clang 11.0.1.

Noticed by: pkubaj
MFC after: 4 weeks
X-MFC-With: r364284

# eaeb601b 03-Jan-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
release/11.x llvmorg-11.0.1-rc2-0-g43ff75f2c3f (aka 11.0.1 rc2).

MFC after: 4 weeks
X-MFC-With: r364284


# 8aff76fb 22-Dec-2020 Kyle Evans <kevans@FreeBSD.org>

build: remove the option to build gnugrep

Unconditionally install bsdgrep as grep, bootstrap or not. Remove all
build glue and stop installing both gnugrep and libgnuregex now that
all consumers of the latter are gone.

Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D27732

# 1c0ea326 15-Dec-2020 Ed Maste <emaste@FreeBSD.org>

Retire obsolete GDB 6.1.1

GDB 6.1.1 was released in June 2004 and is long obsolete. It does not
support all of the architectures that FreeBSD does, and imposes
limitations on the FreeBSD kernel build, such as the continued use of
DWARF2 debugging information.

It was kept (in /usr/libexec/) only for use by crashinfo(8), which
extracts some basic information from a kernel core dump after a crash.
Crashinfo already prefers gdb from port/package if installed.

Future work may add kernel debug support to LLDB or find another path
for crashinfo's needs, but in any case we do not want to ship the
excessively outdated GDB in FreeBSD 13.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D27610

# d2624517 26-Nov-2020 Alan Somers <asomers@FreeBSD.org>

ping: add a ping6 hard link for backwards compatibility

When invoked as "ping6", ping will now attempt to use ICMPv6 for hostnames
that resolve both IPv4 and IPv6 addresses.

Reviewed by: bz, manu
MFC-With: r368045
Differential Revision: https://reviews.freebsd.org/D27384

# 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

# 2406f943 15-Nov-2020 Dimitry Andric <dim@FreeBSD.org>

Ensure make delete-old does not unlink the llvm-cxxfilt and its manpage,
after r367304 and r367324, when WITH_LLVM_CXXFILT is enabled.

Noticed by: "Herbert J. Skuhra" <herbert@gojira.at>
MFC after: 3 days
X-MFC-With: r367304

# 07335072 18-Oct-2020 Kyle Evans <kevans@FreeBSD.org>

libbe(3): install MLINKS for all of the functions provided

MFC after: 1 week

# 6703731d 08-Sep-2020 Kyle Evans <kevans@FreeBSD.org>

phttpget: move out of portsnap

Currently, WITHOUT_PORTSNAP forces WITHOUT_FREEBSD_UPDATE because the
latter relies on phttpget, which lives inside the portsnap build bits.

Remove the dependency between these two options by moving phttpget out into
^/libexec and building/installing it if either WITH_PORTSNAP or
WITH_FREEBSD_UPDATE.

Future work could remove the conditional if it's decided that users will use
it independently of either the current in-base consumers.

Reported by: swills
Reviewed by: jilles, emaste
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D26255

# 32cb7794 03-Sep-2020 Dimitry Andric <dim@FreeBSD.org>

Ensure zpool-features(5) doesn't get removed by make delete-old.

Apparently, somewhere in 2012 ZFS-on-FreeBSD moved it from section 5 to
7, but ZFS-on-Linux never did.

# 57b71478 14-Aug-2020 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for added and removed clang 11.0.0
internal headers.

# 62cfcf62 28-Jun-2020 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
llvmorg-10.0.1-rc2-0-g77d76b71d7d.

Also add a few more llvm utilities under WITH_CLANG_EXTRAS:

* llvm-dwp, a utility for merging DWARF 5 Split DWARF .dwo files into
.dwp (DWARF package files)
* llvm-size, a size(1) replacement
* llvm-strings, a strings(1) replacement

MFC after: 3 weeks


# 136bdd99 26-Jun-2020 Dimitry Andric <dim@FreeBSD.org>

Follow-up to r362679, add more entries to OptionalObsoleteFiles.inc

MFC after: 3 days
X-MFC-With: r362679

# bd74205d 27-Jun-2020 Dimitry Andric <dim@FreeBSD.org>

Regenerate ReStructuredText based manpages for llvm-project tools:

* bugpoint.1
* clang.1
* llc.1
* lldb.1
* lli.1
* llvm-ar.1
* llvm-as.1
* llvm-bcanalyzer.1
* llvm-cov.1
* llvm-diff.1
* llvm-dis.1
* llvm-dwarfdump.1
* llvm-extract.1
* llvm-link.1
* llvm-mca.1
* llvm-nm.1
* llvm-pdbutil.1
* llvm-profdata.1
* llvm-symbolizer.1
* llvm-tblgen.1
* opt.1

Add newly generated manpages for:

* llvm-addr2line.1 (this is an alias of llvm-symbolizer)
* llvm-cxxfilt.1
* llvm-objcopy.1
* llvm-ranlib.1 (this is an alias of llvm-ar)

Note that llvm-objdump.1 is an exception, as upstream has both a plain
.1 file, and a .rst variant. These will have to be reconciled upstream
first.

MFC after: 3 days

# 0a9ab9f5 24-Jun-2020 Conrad Meyer <cem@FreeBSD.org>

Add WITH_CLANG_FORMAT option

clang-format is enabled conditional on either WITH_CLANG_EXTRAS or
WITH_CLANG_FORMAT. Some sources in libclang are build conditional on
either rule, and obviously the clang-format binary itself depends on the
rule.

clang-format could still use a manual page.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D25427

# 74e8d41e 06-Jun-2020 Ed Maste <emaste@FreeBSD.org>

Retire BINUTILS and BINUTILS_BOOTSTRAP options

As of r361857 all BINUTILS options are disabled by default - ports
have been changed to depend on binutils if they require GNU as, and
all base system assembly files have been switched to use Clang's
integrated assembler.

Relnotes: Yes
Sponsored by: The FreeBSD Foundation

# d65cd7a5 23-May-2020 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
llvmorg-10.0.1-rc1-0-gf79cd71e145 (aka 10.0.1 rc1).

MFC after: 3 weeks


# 65a1d636 15-May-2020 Ed Maste <emaste@FreeBSD.org>

libalias: retire cuseeme support

The CU-SeeMe videoconferencing client and associated protocol is at this
point a historical artifact; there is no need to retain support for this
protocol today.

Reviewed by: philip, markj, allanjude
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D24790

# 4d48b0cf 15-May-2020 John Baldwin <jhb@FreeBSD.org>

Don't remove ubsec(4) manual page for WITHOUT_USB=yes.

In head this manpage has been removed entirely, but ubsec(4) is a PCI
device and not a USB device.

MFC after: 1 week

# f8519228 07-May-2020 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles.inc: remove objdump

objdump is removed unconditionally in ObsoleteFiles.inc

# 12de77b3 19-Apr-2020 Cy Schubert <cy@FreeBSD.org>

Due to popular demand, revert r360102.

Reported by: many

# 4574585e 19-Apr-2020 Cy Schubert <cy@FreeBSD.org>

Conditionally install Kerberos rc files based on MK_KERBEROS_SCRIPTS
instead of MK_KERBEROS. The reason for this change is some users
prefer to build FreeBSD WITHOUT_KERBEROS, wanting to retain the
Kerberos rc scripts to start/stop MIT Kerberos or Heimdal from ports.

PR: 197337
Reported by: Adam McDougall <ebay at looksharp.net>
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D24252

# a52b0bb1 30-Mar-2020 Ed Maste <emaste@FreeBSD.org>

drop GDB_LIBEXEC option (now always true)

In-tree gdb is essentially obsolete. We kept it for sparc64 (because
gdb in ports lacked sparc64 support) and as a fallback for crashinfo.
gdb was installed to /libexec on all archs other than sparc64, where the
WITHOUT_GDB_LIBEXEC option was default, with gdb installed to /usr/bin.
With sparc64's retirement WITH_GDB_LIBEXEC became the default for all
architectures, but it was still possible to set it off and install gdb
into /usr/bin.

As the next step in gdb's retirement, remove the option and install gdb
only into /libexec as the crashinfo fallback. We expect users to install
the gdb port or package for debugging. The in-tree gdb lacks support for
a number of supported architectures and does not support contemporary
DWARF debug info.

Reviewed by: jhb (earlier)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D24227

# a04ec978 26-Mar-2020 Brandon Bergren <bdragon@FreeBSD.org>

[PowerPC] Switch powerpc and powerpcspe to lld

Now that LLD 10 is out, and required patches have landed, we are now ready
to finally switch away from the ancient in-tree ld.bfd.

Special thanks to Fangrui Song for many hours of work on getting the
32-bit powerpc lld ready for prime-time.

Reviewed by: emaste (earlier revision), jhibbits
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D24111

# b0d29bc4 23-Mar-2020 Brooks Davis <brooks@FreeBSD.org>

Import the kyua test framework.

Having kyua in the base system will simplify automated testing in CI and
eliminates bootstrapping issues on new platforms.

The build of kyua is controlled by WITH(OUT)_TESTS_SUPPORT.

Reviewed by: emaste
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D24103


# 725cc1de 17-Mar-2020 John Baldwin <jhb@FreeBSD.org>

Add missing DTrace files for WITHOUT_CDDL=yes.

Reviewed by: dteske
MFC after: 1 week
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D24037

# 0fbbe502 12-Mar-2020 Enji Cooper <ngie@FreeBSD.org>

Remove /usr/share/snmp/defs/tc.def with delete-old if MK_BSNMP == no

This removes a lingering file on new installs of CURRENT, originally
added in r345797.

MFC after: 1 week
MFC with: r345797

# 16b90565 10-Mar-2020 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r358731 through r358831.


# 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

# 91019ea7 29-Feb-2020 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r358400 through r358465.


# 57f80467 28-Feb-2020 Ed Maste <emaste@FreeBSD.org>

remove GCC 4.2.1 build infrastructure

As described in Warner's email message[1] to the FreeBSD-arch mailing
list we have reached GCC 4.2.1's retirement date. At this time all
supported architectures either use in-tree Clang, or rely on external
toolchain (i.e., a contemporary GCC version from ports).

GCC 4.2.1 was released July 18, 2007 and was imported into FreeBSD later
that year, in r171825. GCC has served us well, but version 4.2.1 is
obsolete and not used by default on any architecture in FreeBSD. It
does not support modern C and does not support arm64 or RISC-V.

Thanks to everyone responsible for maintaining, updating, and testing
GCC in the FreeBSD base system over the years.

So long, and thanks for all the fish.

[1] https://lists.freebsd.org/pipermail/freebsd-arch/2020-January/019823.html

PR: 228919
Reviewed by: brooks, imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D23124

# 0b37c159 25-Jan-2020 Dimitry Andric <dim@FreeBSD.org>

* Bump version numbers to 10.0.0
* Update UPDATING
* Update (Optional)ObsoleteFiles.inc
* Update VCS(Revision|Version) files
* Update generated config headers
* Update clang internal headers Makefile

# 0581ad70 20-Jan-2020 Mariusz Zaborski <oshogbo@FreeBSD.org>

When MK_CASPER=no is set remove files which are not needed to run system.

PR: 242971

# 3d37949e 20-Jan-2020 Mariusz Zaborski <oshogbo@FreeBSD.org>

Even when the MK_CASPER is set to "no" we still want to install man pages
and the headers. If the user decides to install the system without Casper
support, then the Casper functions are mocked, but they still exist in
the system.

PR: 242971
MFC after: 2 weeks

# c31a062f 20-Jan-2020 Mariusz Zaborski <oshogbo@FreeBSD.org>

Those files are already removed in ObsoleteFiles.\
There is no need to remove them twice.

PR: 242971
MFC after: 2 weeks

# cd0d51ba 04-Jan-2020 Kyle Evans <kevans@FreeBSD.org>

Provide libssp based on libc

For libssp.so, rebuild stack_protector.c with FORTIFY_SOURCE stubs that just
abort built into it.

For libssp_nonshared.a, steal stack_protector_compat.c from
^/lib/libc/secure and massage it to maintain that __stack_chk_fail_local
is a hidden symbol.

libssp is now built unconditionally regardless of {WITH,WITHOUT}_SSP in the
build environment, and the gcclibs version has been disconnected from the
build in favor of this one.

PR: 242950 (exp-run)
Reviewed by: kib, emaste, pfg, Oliver Pinter (earlier version)
Also discussed with: kan
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D22943

# c14a5a88 22-Dec-2019 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
9.0.1 final release c1a0a213378a458fbea1a5c77b315c7dce08fd05.

Release notes for llvm, clang, lld and libc++ 9.0.1 will become
available here:

https://releases.llvm.org/9.0.1/docs/ReleaseNotes.html
https://releases.llvm.org/9.0.1/tools/clang/docs/ReleaseNotes.html
https://releases.llvm.org/9.0.1/tools/lld/docs/ReleaseNotes.html
https://releases.llvm.org/9.0.1/projects/libcxx/docs/ReleaseNotes.html

PR: 240629
MFC after: 1 month


# 1bb8eb56 23-Nov-2019 Dimitry Andric <dim@FreeBSD.org>

libclang_rt: enable on powerpc*

Summary:
Enable on powerpc64 and in lib/libclang_rt/Makefile change
MACHINE_CPUARCH to MACHINE_ARCH because on powerpc64
MACHINE_ARCH==MACHINE_CPUARCH so the 32-bit library overwrites 64-bit
library during installworld.

This patch doesn't enable any other libclang_rt libraries because they
need to be separately ported.

I have verified that games/julius (which fails on powerpc64 elfv2
without this change because of no libclang_rt profiling library) builds.

Test Plan: Ship it, test on powerpc and powerpcspe

Submitted by: pkubaj
Reviewed by: dim, jhibbits
Differential Revision: https://reviews.freebsd.org/D22425
MFC after: 1 month
X-MFC-With: r353358

# 8b3bc70a 08-Oct-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r352764 through r353315.


# 4d22a29a 04-Oct-2019 Baptiste Daroussin <bapt@FreeBSD.org>

Do not remove the locale directory when building a system without locales

This directory is actually needed during make installworld and will prevent
to reinstall a system after make delete-old is done.

PR: 226137
Reported by: rakuco
MFC after: 3 days

# f993ed2f 09-Sep-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r351732 through r352104.


# 9a2b7c5f 04-Sep-2019 Rebecca Cran <bcran@FreeBSD.org>

The efifat files are no longer used: remove the code to build them

Reviewed by: imp, tsoome, emaste
Differential Revision: https://reviews.freebsd.org/D20562

# 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

# f57be329 01-Sep-2019 Dimitry Andric <dim@FreeBSD.org>

Update libclang_rt:
* Add cfi, dd, fuzzer and xray
* Update arch support
* Update OptionalObsoleteFiles.inc

# 2f3724e6 31-Aug-2019 Dimitry Andric <dim@FreeBSD.org>

Update Makefile and mtree for clang internal headers, and update
OptionalObsoleteFiles.inc for added and removed files.

# 72e1e271 23-Aug-2019 Dimitry Andric <dim@FreeBSD.org>

Change clang lib dir to 9.0.0.

# 7f32f0e2 18-Aug-2019 Vladimir Kondratyev <wulf@FreeBSD.org>

iwmbtfw: Firmware loader for Intel Wireless 8260 based Bluetooth USB devices

Currently supported models are: 8260, 8265, 9560, 9260 and 22161.
Firmware files can be installed with comms/iwmbt-firmware port.

PR: 237083
Reviewed by: hps, emax
X-MFC with: r351196
Differential Revision: https://reviews.freebsd.org/D21071

# 403c9d52 05-Aug-2019 Leandro Lupori <luporl@FreeBSD.org>

[PPC64] Don't mark ld.bfd as obsolete

PowerPC64 still needs ld.bfd for 32-bit binaries/libraries.

This will be needed when ELFv2 becomes default, but there is no harm in
committing it already.

Reviewed by: jhibbits
Differential Revision: https://reviews.freebsd.org/D21136

# 330014fd 03-Jul-2019 Tijl Coosemans <tijl@FreeBSD.org>

Also remove lib32 versions of libradius.

MFC after: 1 week

# 015cb6cd 26-Jun-2019 Cy Schubert <cy@FreeBSD.org>

Create a link to the ipmon.conf.5 man page as documented in ipmon.5.
Add its corresponding optional removal entry.

PR: 238816
MFC after: 1 week

# 74bc7fc0 26-Jun-2019 Cy Schubert <cy@FreeBSD.org>

Add the ipmon.5 man page.

PR/238816 initially addressed updates to usage() however the PR has
morphed into a shopping list of updates to usage() and man pages.

PR: 238816 (I added to the list during discussion)
MFC after: 1 week

# efc5c442 12-Jun-2019 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copies of clang, llvm, lld, lldb, compiler-rt, libc++,
libunwind and openmp to the upstream release_80 branch r363030
(effectively, 8.0.1 rc2). The 8.0.1 release should follow this within a
week or so.

MFC after: 2 weeks


# f02125cd 06-Jun-2019 Jung-uk Kim <jkim@FreeBSD.org>

Move llvm-ranlib to appropriate location in OptionalObsoleteFiles.inc.

Note llvm-ar is linked to llvm-ranlib since r311565. r348677 fixed
"make delete-old" issue with llvm-ar but missed it somehow.

Discussed with: emaste, jhb

# e4e92b4d 05-Jun-2019 Ed Maste <emaste@FreeBSD.org>

Use CLANG knob to remove llvm-symbolizer man page

r348504 moved llvm-symbolizer from the CLANG_EXTRAS knob to CLANG, but
the man page was still in the CLANG_EXTRAS section in
OptionalObsoleteFiles.inc.

Reported by: jhb
MFC after: 3 days
MFC with: r348504

# 7120683d 04-Jun-2019 Ed Maste <emaste@FreeBSD.org>

move llvm-ar and llvm-nm to appropriate location in OptionalObsoleteFiles.inc

After r348610 `make delete-old` was still removing llvm-ar and llvm-nm
(and associated man pages).

Reported by: jhb
Sponsored by: The FreeBSD Foundation

# 71259635 01-Jun-2019 Kyle Evans <kevans@FreeBSD.org>

llvm-symbolizer: Move out of CLANG_EXTRAS, into CLANG

ASAN reports become a lot more useful with llvm-symbolizer in $PATH, and the
build is not much more time-consuming. The added benefit is that the
resulting reports will actually include symbol information; without, thread
trace information includes a bunch of addresses that immediately resolve to
an inline function in
^/contrib/compiler-rt/lib/sanitizer_common/sanitizer_common.h and take a
little more effort to examine.

Reviewed by: emaste
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D20484

# 001ec17e 19-May-2019 Dimitry Andric <dim@FreeBSD.org>

To avoid unnecessarily modifying ports, add a -lgomp symlink, since GCC
does not ship a -lomp symlink. Also update OptionalObsoleteFiles for
this, and add 32-bit variants while here.

Submitted by: jbeich
PR: 237975
MFC after: 3 days

# 6da88762 19-May-2019 Dimitry Andric <dim@FreeBSD.org>

Fix OptionalObsoleteFiles copy/paste mistake from r345236, which
connected libomp to the build. The comparison should not have been
against ${MK_OPENSSH}, but against ${MK_OPENMP}, obviously.

MFC after: 3 days

# 60828939 26-Mar-2019 John Baldwin <jhb@FreeBSD.org>

Add special psuedo-options for the base/{binutils,gcc} ports.

The WITH_PORT_BASE_{BINUTILS,GCC} options are used to prevent 'make check-old'
and 'make delete-old' from deleting files installed by the base/binutils
and base/gcc packages as normally one disables the in-tree variants
(e.g. WITHOUT_BINUTILS) when using these packages.

Reviewed by: bapt (earlier version)
Differential Revision: https://reviews.freebsd.org/D19483

# 5d3d68ab 21-Mar-2019 Cy Schubert <cy@FreeBSD.org>

From r345400, remove the ippool rc script when ipfilter is not wanted
by the user.

PR: 218433
MFC after: 2 weeks
X-MFC with: r345400

# b0840a28 16-Mar-2019 Dimitry Andric <dim@FreeBSD.org>

Connect lib/libomp to the build.

* Set MK_OPENMP to yes by default only on amd64, for now.
* Bump __FreeBSD_version to signal this addition.
* Ensure gcc's conflicting omp.h is not installed if MK_OPENMP is yes.
* Update OptionalObsoleteFiles.inc to cope with the conflicting omp.h.
* Regenerate src.conf(5) with new WITH/WITHOUT fragments.

Relnotes: yes
PR: 236062
MFC after: 1 month
X-MFC-With: r344779

# 5193fcde 15-Mar-2019 Enji Cooper <ngie@FreeBSD.org>

Initial googlemock/googletest integration into the build/FreeBSD test suite

This initial integration takes googlemock/googletest release 1.8.1, integrates
the library, tests, and sample unit tests into the build.

googlemock/googletest's inclusion is optionally available via `MK_GOOGLETEST`.
`MK_GOOGLETEST` is dependent on `MK_TESTS` and is enabled by default when
built with a C++11 capable toolchain.

Google tests can be specified via the `GTESTS` variable, which, in comparison
with the other test drivers, is more simplified/streamlined, as Googletest only
supports C++ tests; not raw C or shell tests (C tests can be written in C++
using the standard embedding methods).

No dependent libraries are assumed for the tests. One must specify `gmock`,
`gmock_main`, `gtest`, or `gtest_main`, via `LIBADD` for the program.

More information about googlemock and googletest can be found on the
Googletest [project page](https://github.com/google/googletest), and the
[GoogleMock](https://github.com/google/googletest/blob/v1.8.x/googlemock/docs/Documentation.md)
and
[GoogleTest](https://github.com/google/googletest/tree/v1.8.x/googletest/docs)
docs.

These tests are originally integrated into the build as plain driver tests, but
will be natively integrated into Kyua in a later version.

Known issues/Errata:
* [WhenDynamicCastToTest.AmbiguousCast fails on FreeBSD](https://github.com/google/googletest/issues/2172)

Reviewed by: asomers
Approved by: emaste (mentor)
MFC after: 2 months
Differential Revision: https://reviews.freebsd.org/D19551


# 77e6f928 12-Mar-2019 Cy Schubert <cy@FreeBSD.org>

Fix still installing ipfilter rc.d files even when WITHOUT_IPFILTER
is specified.

When WITHOUT_IPFILTER is specified, delete-old-files fails to delete
the optional rc.d files from above. Fix this.

WITHOUT_IPFILTER fails to delete the ipfilter.5 optional file during
delete-old-files. Fix this.

Reported by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
MFC after: 1 week

# 844fc3e9 04-Mar-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r344549 through r344775.


# 2e881c1a 28-Feb-2019 Bryan Drewery <bdrewery@FreeBSD.org>

bsd.nls.mk isn't optional.

It is protected by MK_NLS. If it should really be optional then
it needs to be documented as such in share/mk/bsd.README and
.sinclude used where needed.

This fixes a regression from r335011.

PR: 232527
Submitted by: jarrod@downtools.com.au
Reported by: ktullavik@gmail.com
MFC after: 3 days

# a8fe8db4 25-Feb-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r344178 through r344512.


# 7588d90e 16-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Few more corrections to WITHOUT_OFED=1 make delete-old removal:

- Drop profile libraries; MK_PROFILE=no is set in all Makefile's.
- Correct library path to libmlx5.so.1 and libibverbs.so.1

MFC after: 5 days
MFC with: 344207

# fe3d954e 16-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Remove corresponding lib32/ files when WITHOUT_OFED=1 is set

MFC after: 5 days
MFC with: 344207

# 4a0225e5 16-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Refresh OptionalObsoleteFiles.inc for MK_PMC:

- Add missing /usr/sbin/pmc, pmcformat.h, libpmcstat.h and pmc.haswellxeon.3
to the list.
- Correct man page section for pmcstudy.8.
- Include recently added libipt and libopencsd for corresponding TARGET_ARCH

MFC after: 5 days

# b94a281e 15-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Add more rc.d scripts / empty directors / config files into
OptionalObsoleteFiles.inc

Note: only files with conditional installation logic were
included from the PR.

PR: 233046
Submitted by: <rozhuk.im@gmail.com>
MFC after: 5 days

# 48514fe1 15-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Allow to remove unused files via 'make delete-old(-libs)' when WITHOUT_OFED
and / or WITHOUT_OFED_EXTRA src.conf(5) options are set.

MFC after: 5 days

# ebd13ba3 15-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Remove vi(1)-related files via 'make delete-old' when WITHOUT_VI=1 is set.

MFC after: 5 days

# 9e43c218 09-Feb-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r343807 through r343955.


# 984aff28 07-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Correct ypldap(8) install path in OptionalObsoleteFiles.inc

It's installed to /usr/sbin, not to /usr/bin (and was always here).

While here, add missing manpages and /var/yp directory to the list.

MFC after: 1 week

# 7e565c55 30-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r343320 through r343570.


# 31f53eaa 27-Jan-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Remove RADIUS-related files when WITHOUT_RADIUS_SUPPORT=true is set
in src.conf(5)

PR: 234041
MFC after: 5 days

# 88148a07 22-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r343202 through r343319.


# 58a7b5d6 22-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Update libc++ build glue, and ObsoleteFiles.

# 6b77b5ec 20-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add more profile-enabled libraries to remove when WITHOUT_PROFILE is defined

PR: 230898
Submitted by: Herbert J. Skuhra <herbert@mailbox.org>
MFC after: 1 week

# 0bf31f1f 20-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Update version numbers, and regenerate config headers for llvm, clang,
lld and lldb. Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc.

# 33b63711 17-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add ypldap to the list of conditional obsolete files

ypldap should be removed during delete-old if WITHOUT_NIS flag is enabled

PR: 230727
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>
MFC after: 1 week

# 0a34fc88 16-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Fix conditional obsolete files entry for WITHOUT_EXAMPLES

Add all the files under /usr/share/examples to the MK_EXAMPLES
section. OLD_DIRS entries are not removed if they're not empty so
prior to this change WITHOUT_EXAMPLES didn't have significant effect
on the updated system.

PR: 228484
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru> (original patch)
MFC after: 1 week

# aca16d28 16-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add optional obsolete files for the installworld without sendmail

Add two more entries for WITHOUT_SENDMAIL install. The /var/spool/clientmqueue
entry would be deleted only if there are no files/dirs in it, so the
content generated during previous lifecycle of the system is safe

PR: 228484
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>
MFC after: 1 week

# d46dea50 13-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add four kerberos CLI utilities to OptionalObsoleteFiles.inc

Add asn1_compile, make-roken, kcc, and slc to the OptionalObsoleteFiles.inc
so they would be removed during delete-old stage if the new world is built
without Kerberos support.

PR: 230725
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>
MFC after: 1 week

# 0fc0faf8 11-Jan-2019 Lars Engels <lme@FreeBSD.org>

Add `bluetooth-config` script to simplify setting up bluetooth connections to
devices like mice, keyboards, bt-audio, ...

This script currently allows scanning for nearby devices, adds one to
/etc/bluetooth/hosts, adds an entry to hcsecd's conf and if it is a HID, add an
entry to bthidd's configs, as well.

Submitted by: erdgeist <erdgeist@erdgeist.org>
Approved by: bapt
MFC after: 2 weeks
Differential Revision: D3778
Reviewers: bapt, emax

# 354c6a44 07-Jan-2019 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove groff leftovers

usr/share/dict/eign is removed unconditionally as of r319664, so it no
longer needs to be in OptionalObsoleteFiles.

PR: 230353
Reported by: philippe.michel7 sfr.fr

# b1ce931b 17-Dec-2018 Alan Somers <asomers@FreeBSD.org>

Conditionalize installtion audit(4) tests on MK_AUDIT

MK_AUDIT already controls auditd(8), praudit(1), etc. It should also control
the audit test suite.

Submitted by: ngie
MFC after: 2 weeks
Pull Request: https://github.com/freebsd/freebsd/pull/240

# 314ce98e 16-Dec-2018 Alan Somers <asomers@FreeBSD.org>

OptionalObsoleteFiles: Fix deleting usr/tests/usr.sbin/sa

It's a directory, not a file.

Reported by: ngie
MFC after: 2 weeks
X-MFC-With: 300938

# 738ea871 16-Dec-2018 Alan Somers <asomers@FreeBSD.org>

Conditionally install /etc/rc.d/audit* based on ${MK_AUDIT}

/usr/sbin/audit(dist)?d are only installed if ${MK_AUDIT} == yes. Their
supporting scripts should only be installed in those instances as well.

Submitted by: ngie
Reviewed by: emaste
MFC after: 2 weeks
Pull Request: https://github.com/freebsd/freebsd/pull/242

# 11783f00 15-Dec-2018 Cy Schubert <cy@FreeBSD.org>

Repair build post-r342139

# 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

# 67350cb5 09-Dec-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r340918 through r341763.


# eda7d3be 26-Nov-2018 Ed Maste <emaste@FreeBSD.org>

Do not install GNU ld if lld is /usr/bin/ld

GNU binutils ld.bfd 2.17.50 does not support ifuncs and produces broken
binaries when ifuncs are in use. When LLD_IS_LD is default we have an
ifunc-capable system linker and can just avoid installing ld.bfd.

Reported by: theraven
Reviewed by: bz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D18340

# 9b5cb2f6 12-Nov-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r340235 through r340367.


# e8bd2804 09-Nov-2018 Ed Maste <emaste@FreeBSD.org>

Move llvm-profdata build into MK_LLVM_COV block

llvm-profdata is used with llvm-cov for code coverage (although llvm-cov
can also operate independently in a gcov-compatible mode).
Although llvm-profdata can be used independently of llvm-cov it makes
sense to group these under one option.

Also handle these in OptionalObsoleteFiles.inc while here.

Sponsored by: The FreeBSD Foundation

# 9f7331ad 09-Nov-2018 Ed Maste <emaste@FreeBSD.org>

llvm-cov: also install as gcov (if GNU gcov is disabled)

llvm-cov provides a gcov-compatible interface when invoked as gcov.

Reviewed by: dim, markj
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D17923

# 2f02c9d6 09-Nov-2018 Ed Maste <emaste@FreeBSD.org>

Consolidate gcov entries in OptionalObsoleteFiles

Sponsored by: The FreeBSD Foundation

# 68948600 04-Nov-2018 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, lld, lldb, compiler-rt and libc++ release_70 branch
r346007 (effectively 7.0.1 rc2), resolve conflicts, and bump version
numbers.

PR: 230240, 230355


# ce44d808 27-Sep-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338731 through r338987.


# 25569cea 25-Sep-2018 Ed Maste <emaste@FreeBSD.org>

Do not remove ld man page if lld is enabled and binutils is not

Reported by: Mark Millard
Approved by: re (gjb)
Sponsored by: The FreeBSD Foundation

# 3af64f03 11-Sep-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338392 through r338594.


# 3efdd580 07-Sep-2018 Ed Maste <emaste@FreeBSD.org>

Remove strings from OptionalObsoleteFiles.inc

Since r326030 strings is installed unconditionally so should not be
removed when WITHOUT_TOOLCHAIN is set.

Reported by: Dan McGregor
Approved by: re (kib)
Sponsored by: The FreeBSD Foundation

# da2d1e9d 29-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338298 through r338391.


# 8369ba42 24-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

libbe(3)/bectl(8): Make consistent with beadm

vermaden (maintainer of beadm) points out the following inconsistencies:
- "missing command" is not printed prior to usage if the error is simply a
missing command; this should be obvious from the context
- "bectl rename" isn't using the "don't unmount" flag (zfs rename -u), so
the active BE can't be renamed. It doesn't make sense in our context to
*not* use -u, so use it.

Documentation updates reflect the above and note an inconsistency with the
'destroy' command that is consistent with other parts of the base system.

A fix for libbe(3) not properly being installed to /lib is included.
SHLIBDIR should have been added when it was moved in r337995.

Approved by: re (kib)

# 7847e041 24-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338026 through r338297, and resolve conflicts.


# d7f41421 23-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

Remove hyper-v leftovers when WITHOUT_HYPERV is set

hv_vss_daemon was missed.

Submitted by: Oliver Pinter
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D16811

# ea8b116b 22-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

Remove ZFS leftovers when WITHOUT_ZFS is set

Submitted by: Oliver Pinter
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D16810

# a757dfac 03-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Update lib/libclang_rt for compiler-rt trunk r338150.

# 488aa40a 02-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Update libc++ and libc++experimental Makefiles, add libc++fs Makefile,
and update OptionalObsoleteFiles.inc for new additions.

# 67b158f6 01-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Update build blue to make WITH_CLANG_EXTRAS and WITH_CLANG_FULL work.

# d28668f9 31-Jul-2018 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for new clang intrinsics headers.

# 6dfa117f 31-Jul-2018 Dimitry Andric <dim@FreeBSD.org>

Update llvm/clang version numbers in various files.

# 6f077571 04-Jul-2018 Sean Bruno <sbruno@FreeBSD.org>

WITHOUT_SERVICESDB:

Add src.conf knob to disable the installation of /var/db/services.db

Default to leaving services.db in place, but allow the removal of the
file and its creation with a src.conf knob.

This file ends up being 2MB in size. For small systems this is a waste
of space but its a tradeoff.

Reviewed by: bdrewery
Differential Revision: https://reviews.freebsd.org/D9655

# 55458465 30-Jun-2018 Dimitry Andric <dim@FreeBSD.org>

More follow-up to r335799 (llvm/clang 6.0.1 update), where I forgot to
update mtree files, ObsoleteFiles and a number of other paths. Sorry
about all the breakage.

Pointy hat to: me
MFC after: 2 weeks
X-MFC-With: r335799

# 6a75ef58 20-Jun-2018 Kyle Evans <kevans@FreeBSD.org>

Don't remove loader.conf(5) when built WITHOUT_FORTH

The new stand/ structure installs loader.conf(5) and defaults/loader.conf
regardless of interpreter. The only thing gating installation now is
MK_BOOT.

Reported by: eadler

# 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

# cd134777 12-Jun-2018 Sean Bruno <sbruno@FreeBSD.org>

WITHOUT_NLS cleanup of more empty dirs.

Reviewed by: emaste
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D15626

# a8056486 09-Jun-2018 Dimitry Andric <dim@FreeBSD.org>

Add missed libc++ entries to (Optional)ObsoleteFiles.inc

Some of these were removed during the libc++ 5.0.0 import, others were
added in the libc++ 6.0.0 import.

MFC after: 3 days

# 30dc9502 06-Jun-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Remove NLS support from BSD grep

GNU grep as in actually in base does not have any translations support
compiled in, so no functionnality loss.

We do support 193 locales in base, we will never catch up on that number of
translation with bsd grep.

Removing NLS support make bsd grep consistent with the other binaries in base
which are not translated, and also reduce a little bit the code.

Reviewed by: kevans
Approved by: kevans
Discussed with: kevans @BSDCan
Differential Revision: https://reviews.freebsd.org/D15682

# f3e32074 23-May-2018 Eitan Adler <eadler@FreeBSD.org>

Add missing file for WITH{OUT}_BSDINSTAL

PR: 227805
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>

# b70d78d6 12-May-2018 Dag-Erling Smørgrav <des@FreeBSD.org>

Rename all Unbound binaries and man pages from unbound* to local-unbound*.

PR: 222902

# 612c330d 25-Apr-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Use a script wrapper for <compress>grep

Import the wrapper script from zstdgrep (written by wiz@netbsd.org)

Modify it to support more than just zstd (adding support for gzip,
lzma, xz and bzip2)

Write a simple manpage dedicated for it.

Only use that new wrapper both for gnu grep and bsd grep

Next step will be removing code related to compression format from bsdgrep

Reviewed by: kevans
Approved by: kevans
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D15193

# a2739731 06-Feb-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Remove gdbtui, it was already not installed on every arches
only installed on arm and sparc64.
It is the only bits that keeps us having libreadline in base
The rest of gdb can be switched to libedit and will be in another
commit

# fe4fed2e 28-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, lld, lldb, compiler-rt and libc++ trunk r321545,
update build glue and version numbers, add new intrinsics headers, and
update OptionalObsoleteFiles.inc.


# c9d5cb17 24-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc again.

# 0c4684a8 23-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for new headers and libraries under
/usr/lib/clang/6.0.0.

# 9509d906 23-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Add new llvm-objcopy utility, enabled when MK_CLANG_EXTRAS=yes.

# d49fee24 20-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc.

# d4419f6f 02-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copies of clang, llvm, lldb and libc++ to r319231 from the
upstream release_50 branch. This corresponds to 5.0.1 rc2.

MFC after: 2 weeks


# 898300ee 07-Nov-2017 Alexander Motin <mav@FreeBSD.org>

s/NgSendMsgReply/NgSendReplyMsg/ in man to match the code.

Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
MFC after: 2 weeks

# 578ec783 11-Oct-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Do not try to remove diff.7 optionaly has it is always removed
since GNU diff(1) has been replaced with BSD diff(1)

# 00d78afd 11-Oct-2017 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove diff from MK_GNU_DIFF=no block

diff (and man page) are not from GNU, as of r317209, and should not be
deleted if WITHOUT_GNU_DIFF is set. (WITHOUT_GNU_DIFF still controls
whether diff3 is built.)

Sponsored by: The FreeBSD Foundation

# e415aa28 06-Oct-2017 Jeremie Le Hen <jlh@FreeBSD.org>

Remove rcmds.

If they are still needed, you can find them in the net/bsdrcmds port.

This was proposed June, 20th and approved by various committers [1].
They have been marked as deprecated on CURRENT in r320644 [2] on July, 4th.
Both stable/11 and release/11.1 contain the deprecation notice (thanks to
allanjude@).

Note that ruptime(1)/rwho(1)/rwhod(8) were initially thought to be part of
rcmds but this was a mistake and those are therefore NOT removed.

[1] https://lists.freebsd.org/pipermail/freebsd-arch/2017-June/018239.html
[2] https://svnweb.freebsd.org/base?view=revision&revision=320644

Reviewed by: bapt, brooks
Differential Revision: https://reviews.freebsd.org/D12573

# 4154e70e 14-Sep-2017 Ed Maste <emaste@FreeBSD.org>

Update OptionalObsoleteFiles.inc with NTP docs

The list of files for MK_NTP was incomplete.

PR: 218193
Submitted by: brnrd
MFC after: 1 week

# 4572fb3f 13-Sep-2017 Gordon Tetlow <gordon@FreeBSD.org>

Deorbit catman. The tradeoff of disk for performance has long since tipped
in favor of just rendering the manpage instead of relying on pre-formatted
catpages. Note, this does not impede the ability to use existing catpages,
it just removes the utility to generate them.

Reviewed by: imp, allanjude
Approved by: emaste (mentor)
Differential Revision: https://reviews.freebsd.org/D12317

# 63cd05d9 16-Aug-2017 Ed Maste <emaste@FreeBSD.org>

remove debug files in delete-old* when WITHOUT_DEBUG_FILES

Reported by: brd
Reviewed by: bdrewery, brd
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D12044

# 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

# db17bf38 10-Jun-2017 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, lld, lldb, compiler-rt and libc++ r305145, and update
build glue.


# 686fb94a 10-Jun-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r319548 through r319778.


# 738919c0 07-Jun-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Remove groff from base

All manpages in base are now compatible with mandoc(1), all roff documentation
will be relocated in the doc tree. man(1) can now use groff from the ports tree
if it needs.

Also remove checknr(1) and colcrt(1) which are only useful with groff.

Approved by: (no objections on the mailing lists)

# f9448bf3 01-Jun-2017 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, lld, lldb, compiler-rt and libc++ r304460, and update
build glue.


# d02c951f 26-May-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r318658 through r318963.


# cdc37953 25-May-2017 Baptiste Daroussin <bapt@FreeBSD.org>

In preparation for the removal of the roff toolchain, disconnect the
roff documentation from the build.

Those documents will be added to the doc tree and distributed as PDF from
the documentation website. As they are valuable has history, but do not match
current FreeBSD

Further more, the ascii format we were using to distribute them is not really
accurate for such documents.

more details:
https://lists.freebsd.org/pipermail/freebsd-arch/2017-May/018211.html

# 583b5f35 23-May-2017 Glen Barber <gjb@FreeBSD.org>

Honor WITHOUT_TFTP for check-old* and delete-old* targets.

Submitted by: philippe dot michel7 at sfr dot fr
PR: 217949
MFC after: 3 days
Sponsored by: The FreeBSD Foundation

# 27c24068 22-May-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r318560 through r318657.


# 6930ca74 21-May-2017 Dimitry Andric <dim@FreeBSD.org>

Add libc++experimental.a for std::experimental support

This adds a separate library for supporting std::experimental features.
It is purposefully static, and must be explicitly linked into programs
using -lc++experimental.

PLEASE NOTE: there is NO WARRANTY as to any stability or continuing
existence of the features in the std::experimental parts of the C++
library!

Reviewed by: ed
Differential Revision: https://reviews.freebsd.org/D10840

# 209be205 16-May-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r317971 through r318379.


# e5c4c8aa 12-May-2017 Enji Cooper <ngie@FreeBSD.org>

Handle the logfiles in newsyslog and syslogd conditionally, based on
src.conf(5) knobs

This will allow consumers of FreeBSD to use the unmodified configuration
files out of the box more than previously.

Both newsyslog.conf and syslog.conf:
- /var/log/lpd-errs (MK_LPR != no)
- /var/log/ppp.log (MK_PPP != no)
- /var/log/xferlog (MK_FTP != no)

newsyslog.conf:
- /var/log/amd.log (MK_AMD != no)
- /var/log/pflog (MK_PF != no)
- /var/log/sendmail.st (MK_SENDMAIL != no)

MFC after: 3 weeks
Sponsored by: Dell EMC Isilon

# 2cb572a0 11-May-2017 Enji Cooper <ngie@FreeBSD.org>

Unconditionally install udp(4) and udplite(4) again

I added this to the MK_USB != no block in error in r278202.

MFC after: 3 weeks
Sponsored by: Dell EMC Isilon

# 50f2b14e 09-May-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for r318103.

# af3f3602 26-Apr-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r317281 through r317502.


# b4e2ab78 25-Apr-2017 Brooks Davis <brooks@FreeBSD.org>

Remove NATM configuration bits and assorted NATM and ATM remnants.

Reported by: ak
Reviewed by: ngie (first version)
Differential Revision: https://reviews.freebsd.org/D10497

# 73ad3fb5 25-Apr-2017 John Baldwin <jhb@FreeBSD.org>

Add a new GDB_LIBEXEC option to install gdb and kgdb to /usr/libexec.

When this option is enabled, only gdb and kgdb are installed to
/usr/libexec for use by crashinfo(8). Other bits of GDB such as
gdbserver and gdbtui are not installed. For this option to be
effective, GDB must be enabled.

Rework r317094 to re-enable GDB on all platforms but enable
GDB_LIBEXEC on platforms for which the GDB in ports is a superset of
functionality.

Reviewed by: emaste, kib
Suggested by: kib
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D10449

# b3ac6549 25-Apr-2017 Glen Barber <gjb@FreeBSD.org>

Remove an incorrect MLINK for tree(3) introduced in r310728.

Reported by: many
PR: 216476
MFC after: 3 days
Sponsored by: The FreeBSD Foundation

# 12ea3078 25-Apr-2017 John Baldwin <jhb@FreeBSD.org>

Remove info files from optional old files.

Info files are now all removed unconditionally after the removal of
texinfo.

MFC after: 1 week

# 554491ff 20-Apr-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r316992 through r317215.


# 50502545 20-Apr-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Readd Big5: some large databases setup are still requiring it.

Reported by: "張君天(Chun-Tien Chang)" <tcs@kitty.2y.idv.tw>

# f849be8a 16-Apr-2017 Dimitry Andric <dim@FreeBSD.org>

Add preliminary UPDATING and ObsoleteFiles.inc entries. Also add one
new intrinsics header.

# 2f4a7332 14-Apr-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionally install /etc/pam.d/ftp* and /etc/pam.d/telnetd

/etc/pam.d/ftp* should be installed with MK_FTP != no and
/etc/pam.d/telnetd should be installed when MK_TELNET != no.

MFC after: 7 weeks
Sponsored by: Dell EMC Isilon

# ababdab0 19-Mar-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Remove zh_TW.Big5 locale

After discussion with many Taiwanese, in IT or not. Big5 is not used anymore.
It is not able to represent lots of the characters used in the language.

# 2aadc44a 14-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Redirect standard error from find /rescue to /dev/null

This mutes noise from find when /rescue doesn't exist.

MFC after: 1 week
Sponsored by: Dell EMC Isilon

# 83684150 11-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Remove /rescue/zdb if MK_ZFS == no

Missed in r202452.

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# 4ab40004 11-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionally compile [additional] programs into rescue(8) if requested

Trivial oversight missed in r314240 cleanup because I enable these knobs on
my test machines.

MK_INET6_SUPPORT - rtsol
MK_NETCAT - nc

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# a1437e83 11-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Remove /rescue/iscsictl and /rescue/iscsid if MK_ISCSI == no

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# 97ab006d 10-Mar-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Remove the WITHOUT_MANDOCDB option

mandoc database is activated since FreeBSD 11.0, let's remove the previous
database format for FreeBSD 12.0

# d630701f 25-Feb-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r314178 through r314269.


# edb4a773 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Fill MK_LIBTHR as far as lib/libthr is concerned

There are other areas of the tree that will need to be evaluated for sanity
if they're supposed to be conditionally compiled out of the build/install,
like libzpool

MFC after: 1 month
Relnotes: yes (this might break someone's system if have the knob set)
Sponsored by: Dell EMC Isilon

# dc53eebd 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Remove MK_OBJC block

It is no longer represented via src.conf(5)

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# 31c3fb77 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Remove MK_CRYPT stub

It doesn't directly control what gets installed today; it indirectly
pulls other knobs (like MK_KERBEROS, etc).

MFC after: 1 weeks
Sponsored by: Dell EMC Isilon

# f0e14055 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Fill in MK_RESCUE by finding paths in ${DESTDIR}/rescue and adding
them to OLD_FILES/OLD_DIRS, as necessary.

MFC after: 1 month
Sponsored by: Dell EMC Isilon

# 5673173e 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionally compile certain programs into rescue(8) if requested

MK_CCD - ccdconfig
MK_ROUTED - routed, rtquery

MFC after: 2 weeks
Sponsored by: Dell EMC Isilon

# a3906ca5 17-Feb-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r313644 through r313895.


# 9264dd40 17-Feb-2017 Sean Bruno <sbruno@FreeBSD.org>

Update OLD_DIRS for various targets so that some of the branches of
directories are pruned when the appropriate knobs are turned.

Specifically, turning off bsdconfig, locales, examples, i18n, man,
ntp, syscons. It may not seem like a lot, but it helps when trying
to keep an x86 image under 96MB for MFSRoot netbooting.

Reviewed by: ngie
Differential Revision: https://reviews.freebsd.org/D9558

# 65575c14 29-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r312894 through r312967.


# 2b375b4e 27-Jan-2017 Yoshihiro Takahashi <nyan@FreeBSD.org>

Remove pc98 support completely.
I thank all developers and contributors for pc98.

Relnotes: yes

# 2dd1186c 27-Jan-2017 Ed Maste <emaste@FreeBSD.org>

Rename LLD_AS_LD to LLD_IS_LD, for consistency with CLANG_IS_CC

An additional case missed in r312855

# ca4fe588 27-Jan-2017 Ed Maste <emaste@FreeBSD.org>

Additional LD_AS_LLD -> LD_IS_LLD missed in r312894/r312895

# 80779b37 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge libc++ trunk r291476, update Makefile, ObsoleteFiles.inc and
OptionalObsoleteFiles.inc.


# 7b173dd6 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Add additional libc++ 4.0.0 headers.

# b0cc56ed 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r311692 through r311807.


# 0219a006 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Add recently added libc++ headers to OptionalObsoleteFiles.inc.

MFC after: 3 days

# 69415bc5 08-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r311546 through r311683.


# dc6e1047 06-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Link llvm-ar to llvm-ranlib, if WITH_CLANG_EXTRAS is enabled. When
invoked as llvm-ranlib, it can create an archive symbol table for
archives of objects compiled for LTO by an LLVM compiler.

Submitted by: Dan McGregor <danismostlikely@gmail.com>
MFC after: 3 days

# d8c03e73 04-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r311306 through r311313.


# 4c3d1ae2 04-Jan-2017 Jung-uk Kim <jkim@FreeBSD.org>

Remove llvm-objdump when Clang is disabled. It was missed in r310889.

Submitted by: dim

# 281264c5 04-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Add new llvm-{cxxfilt,lto2,modextract,xray} tools.

# 56e860c0 03-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc.

# cfd05404 31-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install bsnmpclient(3) as snmp_client_{init,set_host,set_port}(3)

MFC after: 3 days
X-MFC with: r310999

# a2795311 30-Dec-2016 Jung-uk Kim <jkim@FreeBSD.org>

Do not remove llvm-objdump. It is installed by default since r310840.

# 027e6861 28-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install {asn1,bsnmpagent,bsnmpclient,bsnmplib}.3 as all of the APIs
they document

Also, alphabetically sort MAN

MFC after: 3 days

# fdf6944b 28-Dec-2016 Andriy Voskoboinyk <avos@FreeBSD.org>

rum.4, run.4, runfw.4, zyd.4: do not install when MK_USB == no.

While here, add missing if_rtwn_usb.4.gz symlink into
OptionalObsoleteFiles.inc

# 4568bf74 27-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Only build/install usr.sbin/bsnmpd/modules/snmp_hast if MK_HAST != no

MFC after: 1 week

# 38bf4fd7 27-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Only build/install usr.sbin/bsnmpd/modules/snmp_wlan if MK_WIRELESS != no

MFC after: 1 week

# f66b889d 27-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install snmpmod.3 as all of the bsnmpd APIs it documents

MFC after: 3 days

# 7a53f9a7 17-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r310169 through r310190.


# 9e373074 16-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Remove lib/libelf's manpages if MK_TOOLCHAIN == no

Add a comment to help figure out which set is lib/libelf's and which set
is lib/libelftc's

MFC after: 1 week

# 4cc3366d 16-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install the lib/libelftc manpages

Some other manpages, e.g. c++filt reference these

MFC after: 1 week

# 5b18539f 10-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r309758 through r309803.


# 1a4604e3 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_FINGER in src.conf when running make delete-old

PR: 213719
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# bdc5a216 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_BOOTPD in src.conf when running make delete-old

PR: 213720
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# 06af16fb 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_BOOTPARAMD in src.conf when running make delete-old

PR: 213721
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# 53a04062 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_RBOOTD in src.conf when running make delete-old

PR: 213722
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# 87ac01ca 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Also remove auditdistd files if src.conf has WITHOUT_AUDIT

PR: 213723
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# 0c421ffe 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Add entries to remove timed files with make delete-old if WITHOUT_TIMED is set

PR: 213724
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# beced2ea 09-Dec-2016 Ed Maste <emaste@FreeBSD.org>

Keep /usr/bin/ld for WITHOUT_BINUTILS but WITH_LLD_AS_LD

Reported by: Nikolai Lifanov

# 1bde3b70 09-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r309519 through r309757.


# 8d4ddada 05-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Remove svn[lite]{bench,fsfs} if either MK_SVN == no or MK_SVNLITE == no

MFC after: 1 week

# 5042637b 02-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Update build glue for clang 3.9.1 r288513.

# d6d16831 27-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r309170 through r309212.


# 6908adc3 27-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Add a few missed clang 3.9.0 files to OptionalObsoleteFiles.

X-MFC-With: 309149

# 45bd65d6 25-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Add UPDATING entry and update ObsoleteFiles.inc.

# 02ebdc78 31-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r307736 through r308146.


# 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

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

Do not install NIS program rc script if WITHOUT_NIS is set

PR: 213375
Submitted by: sergey@akhmatov.ru
MFC after: 3 days

# 5763f796 21-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r307383 through r307735.


# 547d4caa 21-Oct-2016 Enji Cooper <ngie@FreeBSD.org>

Remove /usr/libexec/bsdinstall/hardening if MK_BSDINSTALL == no

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# 94ff3d03 20-Oct-2016 Ed Maste <emaste@FreeBSD.org>

Add knobs to make GNU diff and GNU grep optional

This is added to facilitate experiments building FreeBSD without
copyleft software.

If WITHOUT_GNU_DIFF is set no /usr/bin/diff or /usr/bin/diff3 will
be built.

If WITHOUT_GNU_GREP is set then BSD grep will be installed as
/usr/bin/bsdgrep or /usr/bin/grep, depending on the WITH_BSD_GREP
knob.

Reviewed by: brooks (earlier)
Sponsored by: The FreeBSD Foundation
Differential Revision: Differential Revision: https://reviews.freebsd.org/D8288

# 7453645f 17-Oct-2016 Andriy Voskoboinyk <avos@FreeBSD.org>

rtwn(4), urtwn(4): merge common code, add support for 11ac devices.

All devices:
- add support for rate adaptation via ieee80211_amrr(9);
- use short preamble for transmitted frames when needed;
- multi-bss support:
* for RTL8821AU: 2 VAPs at the same time;
* other: 1 any VAP + 1 sta VAP.
RTL8188CE:
- fix IQ calibration bug (reason of significant speed degradation);
- add h/w crypto acceleration support.
USB:
- A-MPDU Tx support;
- short GI support;
Other:
- add support for RTL8812AU / RTL8821AU chipsets
(a/b/g/n only; no ac yet);
- split merged code into subparts:
* bus glue (usb/*, pci/*, rtl*/usb/*, rtl*/pci/*)
* common (if_rtwn*)
* chip-specific (rtl*/*)
- various other bugfixes.

Due to code reorganization, module names / requirements were changed too:
urtwn urtwnfw -> rtwn rtwn_usb rtwnfw
rtwn rtwnfw -> rtwn rtwn_pci rtwnfw

Tested with RTL8188CE, RTL8188CUS, RTL8188EU and RTL8821AU.

Tested by: kevlo, garga,
Peter Garshtja <peter.garshtja@ambient-md.com>,
Kevin McAleavey <kevin.mcaleavey@knosproject.com>,
Ilias-Dimitrios Vrachnis <id@vrachnis.com>,
<otacilio.neto@bsd.com.br>
Relnotes: yes

# a0e610c4 15-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r306906 through r307382.


# a0135a1e 14-Oct-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Remove GNU rcs from base.

GNU rcs is still available as a package:
- rcs: Latest GPLv3 GNU rcs version.
- rcs57: Copy of the latest version of GNU rcs (GPLv2) from base.

Relnotes: yes

# bba922dd 13-Oct-2016 Enji Cooper <ngie@FreeBSD.org>

Also, remove etc/rc.d/zfsbe when MK_ZFS == no

X-MFC with: r307182, r307191
Sponsored by: Dell EMC Isilon

# f884b59d 10-Oct-2016 Ed Maste <emaste@FreeBSD.org>

Remove old makewhatis(1) man page when using mandoc

mandoc installs makewhatis(8)

# 242b2482 09-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r306412 through r306905.


# 9ce3c6b0 03-Oct-2016 Ed Maste <emaste@FreeBSD.org>

Retire WITHOUT_ELFCOPY_AS_OBJCOPY option

In FreeBSD 11 ELF Tool Chain's elfcopy is installed as objcopy by
default, with the option to switch back to GNU objcopy by setting
WITHOUT_ELFCOPY_AS_OBJCOPY in make.conf.

We plan to remove the outdated in-tree binutils in FreeBSD 12, so
remove the temporary transition aid.

Reviewed by: brooks, imp
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D7337

# 335bcabe 28-Sep-2016 Ed Maste <emaste@FreeBSD.org>

Merge ^/head r306303 through 306411.


# 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

# dd792b9c 07-Sep-2016 Ed Maste <emaste@FreeBSD.org>

Add ld.lld to OptionalObsoleteFiles

# dd6675fd 02-Sep-2016 Dimitry Andric <dim@FreeBSD.org>

Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc.

# 09b9789b 19-Aug-2016 John Baldwin <jhb@FreeBSD.org>

Remove the wl(4) driver and wlconfig(8) utility.

The wl(4) driver supports pre-802.11 PCCard wireless adapters that
are slower than 802.11b. They do not work with any of the 802.11
framework and the driver hasn't been reported to actually work in a
long time.

Relnotes: yes

# 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

# bd4dcc3e 22-Jul-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Move chown tests to proper path

Sponsored by: EMC / Isilon Storage Division

# d39abb6f 03-Jul-2016 Enji Cooper <ngie@FreeBSD.org>

Remove ftp(1) related files when MK_FTP == no

Approved by: re (gjb)
Differential Revision: https://reviews.freebsd.org/D6969
MFC after: 1 week
Reviewed by: ngie
Submitted by: rakuco
Sponsored by: EMC / Isilon Storage Division

# 3cf6509d 03-Jul-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Posixify the locales name for variants

For all locales with variants:
- if no ambiguity on the locale (only one variant) just use the regular name
- if ambiguity, pick one as default and append @<variant> to the others
respecting POSIX

As a result:
- All the 3 components locales added recently are renamed to the usual 2
components version for all but sr_RS.UTF-8
- Set sr_RS.UTF-8 to the cyrillic variant
- Add sr_RS.UTF-8@latin
- Remove the symlinks aliases they were created to represent the 2 components
version as aliasas and are now useless
- Update the OptionalObsoleteFiles.inc and ObsoleteFiles.inc to reflect those
changes

Discussed with: ache@
Approved by: re@ (gjb)

# bc2abcfd 17-Jun-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Add clang-format under WITH_CLANG_EXTRAS.

Reviewed by: dim
Approved by: re (gjb)
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D6856

# 328e4174 08-Jun-2016 Dag-Erling Smørgrav <des@FreeBSD.org>

Replace _pam_verbose_error() with a macro. This was the last difference
between our libpam and stock OpenPAM, meaning that it is now possible to
replace the base libpam with a hypothetical ports version of OpenPAM.

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

Separate BLACKLIST vs BLACKLIST_SUPPORT properly

Sponsored by: The FreeBSD Foundation

# bccb3f5a 04-Jun-2016 Kurt Lidl <lidl@FreeBSD.org>

Correct path for blacklistd.conf in OptionalObsoleteFiles.inc

Fix typo made when adding the blacklistd.conf file to OptionalObsoleteFiles.inc

Submitted by: Herbert J. Skuhra ( herbert at mailbox.org )
Reviewed by: rpaulo
Approved by: rpaulo
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6715

# 0871a7d5 03-Jun-2016 Kurt Lidl <lidl@FreeBSD.org>

Add blacklistd.conf manpage

Install the blacklistd.conf man page, missed in the original commit.

Submitted by: Herbert J. Skuhra ( herbert at mailbox.org )
Reviewed by: rpaulo
Approved by: rpaulo
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6702

# 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

# d9082519 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove yacc and the yacc tests if MK_TOOLCHAIN == no

yacc's install is conditional based on MK_TOOLCHAIN != no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 5c46b734 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove the sa(8) tests if MK_ACCT == no when "make delete-old" is run

sa(8) is conditionally installed based on MK_ACCT != no today

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 36873e79 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove the etcupdate tests if MK_RCS == no when "make delete-old" is run

etcupdate is conditionally installed based on MK_RCS != no today

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# a058bc90 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove the calendar tests if MK_CALENDAR == no when "make delete-old"
is run

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 904bea83 14-May-2016 Enji Cooper <ngie@FreeBSD.org>

Conditionalize installing etc/rc.d/atm{1,2,3}

`BEFORE: netif` was already in etc/rc.d/atm1, so no additional changes
are needed in that script

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

# fbee792a 14-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove etc/rc.d/{zfs,zvol} if MK_ZFS != no

MFC after: 2 weeks
X-MFC with: r299840
Sponsored by: EMC / Isilon Storage Division

# 9941801f 06-May-2016 Enji Cooper <ngie@FreeBSD.org>

Only install etc/rc.d/{rfcomm_pppd_server,sdpd} if MK_BLUETOOTH != no

These are bluetooth specific services

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 9c613777 06-May-2016 Enji Cooper <ngie@FreeBSD.org>

Fix r299162

share/man/man8/Makefile:
- Add src.opts.mk so MK_NIS can be tested
- Fix typo in MK_NIS conditional

tools/build/mk/OptionalObsoleteFiles.inc:
- Remove WIP diff from ^/user/ngie/detangle-rc

MFC after: 1 week
X-MFC with: r299162
Sponsored by: EMC / Isilon Storage Division

# 18128d28 06-May-2016 Enji Cooper <ngie@FreeBSD.org>

Only install NIS section 8 manpages if MK_NIS != no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 2353cc3d 16-Apr-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Complete the Obsoletefiles entries

# 110cf8a6 16-Apr-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Regenerates locales Makefiles and locales

# 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

# 9893f787 21-Feb-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r295601 through r295844.


# 156e1855 19-Feb-2016 Ed Maste <emaste@FreeBSD.org>

Remove objcopy in WITHOUT_TOOLCHAIN if it's from elftoolchain

# 4156ce4f 11-Feb-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r295351 through r295543.


# 8232a681 11-Feb-2016 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove unbound-contrl-setup since we use a local control socket which
does not require keys.

MFC after: 3 days
Relnotes: yes

# b229c1a0 08-Jan-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r293280 through r293429.


# f5b4d341 07-Jan-2016 Renato Botelho <garga@FreeBSD.org>

Obsolete inetd related files when WITHOUT_INETD is set

Reviewed by: bapt
Approved by: gnn
MFC after: 1 week
Sponsored by: Rubiconn Communications (Netgate)
Differential Revision: https://reviews.freebsd.org/D4742

# f3304b8d 06-Jan-2016 Dimitry Andric <dim@FreeBSD.org>

Add new pkuintrin.h intrinsics header.

# 34cdd776 31-Dec-2015 Dimitry Andric <dim@FreeBSD.org>

First part of updating llvm/clang build glue: getting llvm-tblgen,
clang-tblgen and clang itself built.

# 802df53c 30-Dec-2015 Dimitry Andric <dim@FreeBSD.org>

Update various build glue files for the new llvm/clang version number.

# 9a4b3118 25-Dec-2015 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copies of clang and llvm to 3.7.1 release. This is a
bugfix-only release, with no new features.

Please note that from 3.5.0 onwards, clang and llvm require C++11
support to build; see UPDATING for more information.


# e7beaf99 23-Dec-2015 Ed Maste <emaste@FreeBSD.org>

Install ld also as ld.bfd, for use with cc -fuse-ld=bfd

PR: 205409 [exp-run]
MFC after: 1 week
Relnotes: Yes
Sponsored by: The FreeBSD Foundation

# a2acf602 16-Dec-2015 Ed Maste <emaste@FreeBSD.org>

Remove lldb(1) files if WITHOUT_LLDB is set

Sponsored by: The FreeBSD Foundation

# a9dfc956 01-Dec-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Fully connect cddl/usr.sbin/plockstat.

There seems to be no reason to keep this so private.

Also add missing optional MK_CDDL files.

Sponsored by: EMC / Isilon Storage Division

# 85ab8f98 29-Nov-2015 Dimitry Andric <dim@FreeBSD.org>

Install the public sanitizer headers. These are useful for programs
that want to directly interface with sanitizer internals.

# 1d211085 15-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Bring back a couple of ISO8859-15 locales:
- af_ZA.ISO8859-15
- en_AU.ISO8859-15
- en_CA.ISO8859-15
- en_NZ.ISO8859-15
- en_US.ISO8859-15
- fr_CA.ISO8859-15

# 0dc64c20 15-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Remove trailing spaces at end of lines

# 99b47c3c 15-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Update the list of files to be removed in case world is built WITHOUT_LOCALES

# 44642b54 10-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

- Move ng_bluetooth.4 under MK_BLUETOOTH != no
- Move all section 5 bluetooth manpages under MK_BLUETOOTH != no

MFC after: 3 days
PR: 193260
Reported by: Philippe Michel <philippe.michel7@sfr.fr>
Sponsored by: EMC / Isilon Storage Division

# 07fa68d6 07-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Catchup with latest changes for ObsoleteFiles in case base is built using
WITHOUT_LOCALE knob

# 3e4f384e 07-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from head r290483


# 2a923f8f 01-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

Rename etc/periodic/daily/430.status-rwho to periodic/daily/430.status-uptime

The command was checking local/remote system uptime, so rename the script to
match its function and to avoid confusion

The controlling variable in /etc/periodic.conf has been renamed from
daily_status_rwho_enable to daily_status_uptime_enable.

MFC after: 3 days
Reported by: Peter Jeremy <peter@rulingia.com>
Relnotes: yes
Sponsored by: EMC / Isilon Storage Division

# 55972acf 01-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

Conditionally install (if_)?(otus|rsu).4, otusfw.4, rsufw.4, and urtwn.4 if
MK_USB != no

Add the manpages to OptionalObsoleteFiles.inc

As a side-effect, this also fixes installworld with MK_USB == no

X-MFC with: r290128
Sponsored by: EMC / Isilon Storage Division

# 3c3feed4 01-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from head


# 567be5c2 24-Oct-2015 Enji Cooper <ngie@FreeBSD.org>

Add libvmmapi to OptionalObsoleteFiles.inc when MK_BHYVE == no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 74c52c65 20-Oct-2015 Julio Merino <jmmv@FreeBSD.org>

Handle lib32 files during delete-old* when MK_LIB32=no.

Extend OptionalObsoleteFiles.inc to delete all lib32 files when MK_LIB32 is
set to no on a system that previously had lib32 libraries installed.

Also, to prevent "make delete-old-dirs" from always deleting lib32 directories
after an installworld, move the lib32 subtree to its own mtree file that only
gets applied when MK_LIB32=yes.

Test: Ran "make delete-old" and "make delete-old-libs" on a system that never
had MK_LIB32 enabled, and on a system where MK_LIB32 was enabled and later
disabled. Did this both on amd64 and powerpc64.

Test: Ran "make tinderbox" without errors.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D3923

# becbad1f 13-Oct-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from head


# 65dcb5bc 01-Oct-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r288197 through r288456.


# 9875367b 27-Sep-2015 Andriy Gapon <avg@FreeBSD.org>

remove unused sgsmsg utility (originally imported from opensolaris)

MFC after: 25 days

# 1e066951 25-Sep-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Add missing binutils ldscripts.

Some of these are after the fix in r288230 to install them.

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

# 26e065d0 22-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r288035 through r288099.


# f7d9215f 20-Sep-2015 Enji Cooper <ngie@FreeBSD.org>

Delete /etc/autofs/special_noauto when MK_AUTOFS == no

MFC after: 1 week

# b1fa820d 20-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Don't install Intrin.h, as this is an intrinsics header for Windows.

# 854fa44b 16-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Update libc++ to 3.7.0 release.


# b6c25e0e 06-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Update llvm, clang and lldb to 3.7.0 release.


# 23a32822 25-Aug-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from HEAD


# 6fdf637e 17-Aug-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r286697 through r286857.


# 55f80482 13-Aug-2015 Antoine Brodin <antoine@FreeBSD.org>

Stop removing ELF toolchain tools

# 1bc28ffc 13-Aug-2015 Ed Maste <emaste@FreeBSD.org>

Roll WITHOUT_ELFTOOLCHAIN_TOOLS into WITHOUT_TOOLCHAIN

The option was added only to ease the transition from GNU Binutils to
ELF Tool Chain tools, and that process is now complete (for the viable
replacements). Noting the removal in UPDATING is sufficient as we have
not shipped a release with the option.

Reviewed by: brooks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3240

# f98ee844 12-Aug-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r286422 through r286684.


# 53d2ddb3 11-Aug-2015 Julio Merino <jmmv@FreeBSD.org>

Mark usr/include/c++/v1/tr1 as obsolete

The directory usr/include/c++/v1 was marked as obsolete but its tr1 subdir
was not, resulting in a removal error in delete-old.

# e2ff105a 09-Aug-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Update Obsolete files in case MK_LOCALE=no

# b8a1f275 08-Aug-2015 Renato Botelho <garga@FreeBSD.org>

Add missing files to sendmail obsolete files list

Approved by: gshapiro
MFC after: 3 days
Sponsored by: Netgate
Differential Revision: https://reviews.freebsd.org/D3302

# 1347814c 07-Aug-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r285924 through r286421.


# f97aa232 05-Aug-2015 Ed Maste <emaste@FreeBSD.org>

Remove old GNU Binutils tools now provided by ELF Tool Chain

Reviewed by: bapt, brooks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3238

# b43cca13 29-Jul-2015 Ed Maste <emaste@FreeBSD.org>

MK_ELFCOPY_AS_OBJCOPY should be a variable

PR: 201978
Submitted by: O. Hartmann
Differential Revision: https://reviews.freebsd.org/D2887

# 5ea9e83e 29-Jul-2015 Ed Maste <emaste@FreeBSD.org>

Allow ELF Tool Chain elfcopy to be installed as objcopy

ELF Tool Chain elfcopy is nearly a drop-in replacement for GNU objcopy,
but does not currently support PE output which is needed for building
x86 UEFI bits.

Add a src.conf knob to allow installing it as objcopy and set it by
default for aarch64 only, where we don't have a native binutils.

Reviewed by: bapt
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2887

# 2d83b16b 29-Jul-2015 Ed Maste <emaste@FreeBSD.org>

Update OLD_FILES for tools provided by ELF Tool Chain or Binutils

Sponsored by: The FreeBSD Foundation

# 5f78ec1c 27-Jul-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r285793 through r285923.


# c048a83f 26-Jul-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Replace GNU RCS ident with a BSD license ident

Rationale: ident(1) is useful out of RCS, lot of scripts are using ident(1) and
failing when base is built WITHOUT_RCS.

This version is:
- fully compatible with RCS 5.7 ident.
- fully compatible with RCS 5.9 ident.
- passes all ident test from GNU RCS 5.9 test suite

This version has support for: svn extension for the Keyword id (double colon and
# before last $)

Différences with GNU RCS ident:
- no long options as found in GNU RCS 5.9 (but not commented there).
- '-V' reports nothing but has been added for compatibility.

Differential Revision: https://reviews.freebsd.org/D3200
Reviewed by: pfg

# 8d0f1085 22-Jul-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r285341 through r285792.


# 96a59ba2 15-Jul-2015 Andrey A. Chernov <ache@FreeBSD.org>

Comment out usr/sbin/mailwrapper removal
because for no mailwrapper case we have:
/usr/sbin/sendmail -> /usr/sbin/mailwrapper
/usr/sbin/mailwrapper -> /usr/libexec/sendmail/sendmail
Add comment explaining it.

# 3dac3a9b 05-Jul-2015 Dimitry Andric <dim@FreeBSD.org>

Update llvm/clang to r241361.


# cc38b640 23-Jun-2015 Dimitry Andric <dim@FreeBSD.org>

Update llvm/clang build glue.

# 76aeda8a 20-Jun-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r284188 through r284643.


# 62a996ed 20-Jun-2015 Antoine Brodin <antoine@FreeBSD.org>

Add more obsolete files

# 78fa96c2 20-Jun-2015 Antoine Brodin <antoine@FreeBSD.org>

Add some files to remove when MK_BSD_GREP=no

# e2dd1974 17-Jun-2015 Baptiste Daroussin <bapt@FreeBSD.org>

The build and installation of rmail(8) is only related to the SENDMAIL option

# 15953005 17-Jun-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Do not remove mailwrapper(8) in case WITHOUT_SENDMAIL is used

It is required for other tools in base and/or ports like dma(8) or any MTA
available in ports. It is also build and installed anyway even if world is built
WITHOUT_SENDMAIL

# 6b02d180 30-May-2015 Dimitry Andric <dim@FreeBSD.org>

Restore an accidentally deleted .endif.

# ebeff3f9 30-May-2015 Dimitry Andric <dim@FreeBSD.org>

Update Makefiles and other build glue for llvm/clang 3.7.0, as of trunk
r238337.

# ef6fa9e2 25-May-2015 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of clang and llvm to 3.6.1 release.

This release contains the following cherry-picked revisions from
upstream trunk:

226124 226151 226164 226165 226166 226407 226408 226409 226652
226905 226983 227084 227087 227089 227208 227209 227210 227211
227212 227213 227214 227269 227430 227482 227503 227519 227574
227822 227986 227987 227988 227989 227990 228037 228038 228039
228040 228188 228189 228190 228273 228372 228373 228374 228403
228765 228848 228918 229223 229225 229226 229227 229228 229230
229234 229235 229236 229238 229239 229413 229507 229680 229750
229751 229752 229911 230146 230147 230235 230253 230255 230469
230500 230564 230603 230657 230742 230748 230956 231219 231237
231245 231259 231280 231451 231563 231601 231658 231659 231662
231984 231986 232046 232085 232142 232176 232179 232189 232382
232386 232389 232425 232438 232443 232675 232786 232797 232943
232957 233075 233080 233351 233353 233409 233410 233508 233584
233819 233904 234629 234636 234891 234975 234977 235524 235641
235662 235931 236099 236306 236307

Please note that from 3.5.0 onwards, clang and llvm require C++11
support to build; see UPDATING for more information.


# 9c36af58 21-May-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Mark libgomp.so.1 as an old lib not an old file

# 800eeabd 20-May-2015 Enji Cooper <ngie@FreeBSD.org>

Remove usr/share/dtrace/{tcpconn,tcpstate,tcptrack,udptrack} if MK_CDDL == no

Sponsored by: EMC / Isilon Storage Division

# d485dbc7 18-May-2015 Ed Maste <emaste@FreeBSD.org>

Build libgcov only if we're building base system GCC

Clang uses compiler-rt for the code coverage runtime, and ports GCC
provides its own libgcov.

PR: 200203 (exp-run)
Sponsored by: The FreeBSD Foundation

# 810d5b34 15-May-2015 Ed Maste <emaste@FreeBSD.org>

Build libgomp only if we're also building base system GCC

Clang's OpenMP support will emit Intel OpenMP API library calls,
and will therefore require libiomp (or whatever name is settled on).
An up-to-date version of libgomp is included in ports or pkg GCC.
Thus, there is no reason to build base libgomp without base system GCC.

PR: 199979 (exp-run)
Reviewed by: pfg
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2459

# 56af72b1 06-May-2015 Ed Maste <emaste@FreeBSD.org>

Fix make delete-old for gperf and GCC/CXX options

- Optional components go in OptionalObsoleteFiles
- Move gperf removal to be based on MK_GCC only, not MK_CXX and MK_GCC

Reviewed by: imp, sbruno
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2421

# 363da138 01-May-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Replace groff's soelim by soeliminate(1) renamed soelim(1)

# 45cf4a7c 01-May-2015 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: don't remove c++filt when using ELF Tool Chain

c++filt is listed here twice, for MK_CXX == no and MK_GCC == no, but
r282285 only caught one of them.

# 0a06cffc 30-Apr-2015 Ed Maste <emaste@FreeBSD.org>

Add ELF Tool Chain's c++filt to the build

Differential Revision: https://reviews.freebsd.org/D2408
Reviewed by: brooks, imp
Sponsored by: The FreeBSD Foundation

# 1382ef3d 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_ZONEINFO == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 587291d9 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TESTS_SUPPORT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# a6d0a667 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_LEGACY_CONSOLE == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# d6c95721 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_KERBEROS_SUPPORT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# eb6edb77 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_KDUMP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 659854cd 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_JAIL == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 992cc53e 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_CASPER == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 9c793fa8 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_INET6 == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 0c11ad65 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_FORTH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# ca65be80 04-Mar-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r279313 through r279595.


# ffb67907 02-Mar-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Remove gperf(7) if gperf is not installed

# 9ddafbe2 02-Mar-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Install manpage version of texinfo documentation for binutils

# 9b2a0d91 22-Feb-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r279023 through r279162.


# 9cb8ba56 22-Feb-2015 Colin Percival <cperciva@FreeBSD.org>

Step 2 of eliminating the "games" distribution: Remove punch card
utilities.

I was originally planning on removing the phase-of-moon (pom), clock
(grdc), and caesar cipher (caesar, rot13) utilities as well, but after
I committed r278616 I received an astonishing volume of email informing
me that those are still being widely used. Much to my relief, nobody
reported continuing to use the punch card utilities in production.

The final step will be to merge src/games into src/usr.bin.

This change will not be MFCed.

# 569e61a4 14-Feb-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r278499 through r278755.


# 11d9aa67 11-Feb-2015 Colin Percival <cperciva@FreeBSD.org>

Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;
update paths; and include everything in the "base" distribution.

The "games" distribution being optional made sense when there were more
games and we had small disks; but the "games-like" games were moved into
the ports tree a dozen years ago and the remaining "utility-like" games
occupy less than 0.001% of my laptop's small hard drive. Meanwhile every
new user is confronted by the question "do you want games installed" when
they they try to install FreeBSD.

The next steps will be:

2. Removing punch card (bcd, ppt), phase-of-moon (pom), clock (grdc), and
caesar cipher (caesar, rot13) utilities. I intend to keep fortune, factor,
morse, number, primes, and random, since there is evidence that those are
still being used.

3. Merging src/games into src/usr.bin.

This change will not be MFCed.

Reviewed by: jmg
Discussed at: EuroBSDCon
Approved by: gjb (release-affecting changes)

# a403ab7f 04-Feb-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r278110 through r278223.


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

Clean up more usb related files when MK_USB == no when dealing with
manpages, libraries, and binaries

MFC after: 1 week
X-MFC with: r278135
Sponsored by: EMC / Isilon Storage Division


# 04c5a27b 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_USB == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 1dc6769d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_UNBOUND == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# e5f6569b 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TEXTPROC == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# aee4d21d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TESTS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# fed7ef16 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TCSH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 3f13cb12 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_SYSCONS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 14e319f2 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_SSP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 1d706ec4 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_QUOTAS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 61c40359 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_PORTSNAP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 7a713cea 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_PMC == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 71795a01 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_PF == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 3f72f932 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_OPENSSH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 73ee00ce 02-Feb-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r278005 through r278109.


# 5bed16de 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NTP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# ed809ca8 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NS_CACHING == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 90539b6f 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NLS_CATALOGS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 422e74ae 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NLS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# e50d77e5 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NETGRAPH_SUPPORT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# fe8f6c3e 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NETGRAPH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# e5c3781d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAN_UTILS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# ddef0324 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAN == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 426d5303 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAKE == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 2f3a10e5 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAIL == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 1b41fa7d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_LOCALES == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 4f190535 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_LIBCPLUSPLUS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# d956da53 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_HTML == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 6031355d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_GROFF == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 28be4ba8 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_GPIO == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# cf8028f3 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_DMAGENT == no and move the chunk into its alphabetical place

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# ee4d0fce 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BSNMP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 70fffb2e 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BSD_CPIO == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 8af1079d 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BOOT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# f594efed 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BLUETOOTH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# c88fc3e4 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BINUTILS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 8179004e 26-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r277719 through 277776.


# 6ce3ca64 26-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Update other build glue: ObsoleteFiles.inc, UPDATING, mtree files, and
OptionalObsoleteFiles.inc.

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

Respect MK_KERBEROS with etc/rc.d/ipropd_master and etc/rc.d/ipropd_slave

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

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

Honor MK_WIRELESS with etc/rc.d/hostapd and etc/rc.d/wpa_supplicant

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_JAIL with etc/rc.d/jail

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_BLUETOOTH with etc/defaults/bluetooth.device.conf

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_ACCT with etc/pam.d/atrun

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

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

Honor MK_ACCT with etc/rc.d/accounting

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

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

Honor MK_AMD with etc/rc.d/amd

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_API in etc/rc.d

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_LPR with etc/rc.d/lpd

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_ACPI in etc/devd and etc/rc.d

MFC after: 1 week
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

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

Add MK_BHYVE knob for building and installing bhyve(4), et al

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

# 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

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

Build lib/libgpio if MK_GPIO != no

Fill in corresponding entries for MK_GPIO == no in OptionalObsoleteFiles.inc

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

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

Fill in entries for MK_BSNMP == no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Fill in some dtrace entries when MK_CDDL == no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Fill in entries for MK_CUSE == no

MFC after: 1 week
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

# 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

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

Add MK_TALK knob for building the talk and talkd

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

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

Add MK_EE knob to control installing edit, ee, etc

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

# 9cac79b3 18-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of clang and llvm to 3.5.1 release. This is a bugfix
only release, no new features have been added.

Please note that this version requires C++11 support to build; see
UPDATING for more information.

Release notes for llvm and clang can be found here:
<http://llvm.org/releases/3.5.1/docs/ReleaseNotes.html>
<http://llvm.org/releases/3.5.1/tools/clang/docs/ReleaseNotes.html>

MFC after: 1 month
X-MFC-With: 276479


# 8028b78d 13-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Connect libclang_rt to the build, for specific architectures. This
contains the libraries for Address Sanitizer (asan), Undefined Behavior
Sanitizer (ubsan) and Profile Guided Optimization.

ASan is a fast memory error detector. It can detect the following types
of bugs:

Out-of-bounds accesses to heap, stack and globals
Use-after-free
Use-after-return (to some extent)
Double-free, invalid free
Memory leaks (experimental)

Typical slowdown introduced by AddressSanitizer is 2x.

UBSan is a fast and compatible undefined behavior checker. It enables a
number of undefined behavior checks that have small runtime cost and no
impact on address space layout or ABI.

PLEASE NOTE: the sanitizers still have some rough edges on FreeBSD,
particularly on i386. These will hopefully be smoothed out in the
coming time.

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

# c369979c 10-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Add the llvm-symbolizer tool, which enables the sanitizers to report
more complete debugging information. This tools is only enabled when
WITH_CLANG_EXTRAS is on.

Submitted by: Dan McGregor <danismostlikely@gmail.com>

# 2d281361 02-Jan-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Remove GNU texinfo from base along with all info pages.

To be able to info pages consider installing texinfo from ports print/texinfo or
via pkg: pkg install texinfo

Differential Revision: https://reviews.freebsd.org/D1409
Reviewed by: emaste, imp (previous version)
Relnotes: yes

# 8007ee2b 27-Dec-2014 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r274961 through r276301.


# c05bafc5 25-Dec-2014 Poul-Henning Kamp <phk@FreeBSD.org>

Deorbit the IEEE-488/GPIB support.

# e65720e1 18-Dec-2014 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r275759 through r275911.


# f703589e 18-Dec-2014 Enji Cooper <ngie@FreeBSD.org>

Fix building/installing tests when TESTSBASE != /usr/tests

The work in r258233 hardcoded the assumption that tests was the last component
of the tests tree by pushing tests as an explicit prefix for the paths in
BSD.tests.dist and /usr was the prefix for all tests, per BSD.usr.dist and all
of the mtree calls used in Makefile.inc1. This assumption breaks if/when one
provides a custom TESTSBASE "prefix", e.g. TESTSBASE=/mytests .

One thing that r258233 did properly though was remove "/usr/tests" creation
from BSD.usr.dist -- that should have not been there in the first place. That
was an "oops" on my part for the work that was originally committed in r241823

MFC after: 2 weeks
Phabric: D1301
Reviewed by: imp
Sponsored by: EMC / Isilon Storage Division

# 24ce0a02 04-Dec-2014 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r275387 through r275477.


# 18e8f946 01-Dec-2014 Ed Maste <emaste@FreeBSD.org>

Add elfcopy and man page to OptionalObsoleteFiles

# f5ce9d6b 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Installing zzz(8) doesn't make sense when both ACPI and APM are disabled

# 0341ccf2 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Clean up more usb related files when MK_USB == no when dealing with
manpages, libraries, and binaries

# ece34a4f 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Fix use of OLD_FILES and OLD_LIBS for MK_BSNMP and MK_TESTS

Convention in the file is that .a files be added to OLD_FILES and versioned .so's
be added to OLD_LIBS

# a3f5edf0 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Add MK_TIMED option for optionally building usr.sbin/timed, et al

# 046cc7b9 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Account for /usr/include/protocols/r{outed,whod}.h with their respective build knobs

# 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

# fb624adc 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

MK_HYPERV:
Sort OLD_FILES and add /usr/libexec/hyperv to OLD_DIRS

# 961281fa 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install the rsh and telnetd pam.d files if MK_RCMDS == no
or MK_TELNET == no, respectively

# 4bbfcad5 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Only install the accounting/apm rc scripts for MK_ACCT/MK_APM if the relevant
knobs are set

# bdf492a3 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Missed the bsnmp config file

# 88585cd4 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Add more MK_BSNMP == no entries for things not caught due to custom
settings in $SRCCONF

# 6d94729e 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Fill in entries for MK_BSNMP == no

# 4be1ca35 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Make building/installing bhyve optional via MK_BHYVE on amd64

Disable building/installing bhyve from src.opts.mk on unsupported
architectures (!amd64)

# 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

# d393fb09 24-Nov-2014 Dimitry Andric <dim@FreeBSD.org>

Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc for the import of
llvm/clang 3.5.0.

# b8d52ac3 23-Nov-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Install mdoc(7) and man(7) from mdoc instead of the one from groff

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

# fa809347 03-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Integrate pjdfstest test suite execution into kyua

pjdfstest execution is opt-in and must be done as root due to some of the
assumptions made by the test suite and lack of error checking in the non-root
case

A description of how to execute pjdfstest with kyua is provided in
share/pjdfstest/README

Phabric: D824 (an earlier prototype patch)
MFC after: 1 month
Relnotes: yes
Sponsored by: EMC / Isilon Storage Division

# 0677dfd1 01-Nov-2014 Julio Merino <jmmv@FreeBSD.org>

MFV: Import atf-0.21.


# 1545452c 27-Oct-2014 Xin LI <delphij@FreeBSD.org>

Remove an extra copy of hv_kvp_daemon(8) [1].

While I'm there also correct typos in OptionalObsoleteFiles and add
information of the command line options for hv_kvp_daemon(8).

Reported by: jmg [1]
Reviewed by: jmg
MFC after: 2 weeks

# ddd96d23 09-Oct-2014 Ed Maste <emaste@FreeBSD.org>

Build gperf only if we're using g++ (not clang++)

gperf is used as a build tool for g++ and is not needed for Clang
architectures. Ports and third-party software that need it can use the
up-to-date devel/gperf port.

PR: 194103 (exp-run)
Reviewed by: bapt
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D886

# d8eaf8b5 23-Sep-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install /etc/rc.d/keyserv unless MK_OPENSSL == yes

Sponsored by: EMC / Isilon Storage Division

# f4d6293c 20-Sep-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install /etc/rc.d/ftp-proxy unless MK_PF == yes

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

# 79c38c9b 20-Sep-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install /etc/rc.d/rwho unless MK_RCMDS == yes

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

# 76cd7220 16-Sep-2014 Xin LI <delphij@FreeBSD.org>

Use a devd event to start hv_kvpd instead of doing so in rc.d script.
This is cleaner and eliminates the unneeded startup of KVP daemon on
systems that do not run as a Hyper-V guest.

Submitted by: hrs
X-MFC-with: 271493, 271688, 271699

# e72055b7 12-Sep-2014 Xin LI <delphij@FreeBSD.org>

Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft,
many thanks for their continued support of FreeBSD.

While I'm there, also implement a new build knob, WITHOUT_HYPERV to
disable building and installing of the HyperV utilities when necessary.

The HyperV utilities are only built for i386 and amd64 targets.

This is a stable/10 candidate for inclusion with 10.1-RELEASE.

Submitted by: Wei Hu <weh microsoft com>
MFC after: 1 week

# 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

# aecd25ee 15-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Make the USB and ZFS devd configuration files optional depending on the
values of MK_USB/MK_ZFS

Making zfs.conf optional resolves PR # 186971

PR: 186971
Phabric: D606
Approved by: jmmv (mentor)
Sponsored by: EMC / Isilon Storage Division

# 9f312407 12-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Port date/bin/tests to ATF

Phabric: D545
Approved by: jmmv (mentor)
Submitted by: keramida (earlier version)
MFC after: 2 weeks
Sponsored by: Google, Inc
Sponsored by: EMC / Isilon Storage Division

# 12e2df3c 12-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Convert bin/sh/tests to ATF

The new code uses a "test discovery mechanism" to determine
what tests are available for execution

The test shell can be specified via:

kyua test -v test_suites.FreeBSD.bin.sh.test_shell=/path/to/test/sh

Sponsored by: EMC / Isilon Storage Division
Approved by: jmmv (mentor)
Reviewed by: jilles (maintainer)

# 6add3145 12-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Complete the usr.bin/yacc kyua integration work I originally
submitted via r268811

- Install the Kyuafile by adding FILES to FILESGROUPS
- Run the testcases with an unprivileged user

Some of the testcases depend upon behavior that's broken when
run as root on FreeBSD because of how permissions are treated
with access(2) vs eaccess(2), open(2), etc

- Simplify the test driver to just inspect the exit code from
run_test because it now exits with 0 if successful and exits
with !0 if unsuccessful
- Don't do ad hoc temporary directory creation/deletion; let Kyua
handle that
- Add entries for files removed in r268811 to
OptionalObsoleteFiles.inc

PR: 191020
X-MFC with: r268811
Approved by: jmmv (mentor)
Reviewed by: bapt
Sponsored by: EMC / Isilon Storage Division

# e40b4bf8 24-Jul-2014 Julio Merino <jmmv@FreeBSD.org>

Fix structure of new tests (r268794) for usr.bin/units.

- Make sure the tests go into the right directory. The location was
wrong so they were overwriting the bin/chown tests!
- Use the right naming scheme for the test program.
- Remove the svn:executable property from the shell script.

# 7bff12fe 17-Jul-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Fix manpages path and sort entries

# 024f0575 17-Jul-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Remove texinfo manpages as well if built WITHOUT_INFO

# 8a833bda 09-Jul-2014 Baptiste Daroussin <bapt@FreeBSD.org>

The GNU readline library is now an INTERNALLIB - that is, it is
statically linked into consumers (GDB and variants) in the base
system, and the shared library is no longer installed.

That also allows ports to be able to use a modern version of readline

PR: 162948
Reviewed by: emaste

# 725d0727 08-Jul-2014 Jilles Tjoelker <jilles@FreeBSD.org>

Don't install locale1.0 if MK_NLS == no.

The test locale1.0 depends on locale support; it is meaningless without a
working LC_MESSAGES.

I added an OptionalObsoleteFiles.inc entry.

PR: 181151
Submitted by: Garrett Cooper (original version)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# e7d939bd 06-Jul-2014 Marcel Moolenaar <marcel@FreeBSD.org>

Remove ia64.

This includes:
o All directories named *ia64*
o All files named *ia64*
o All ia64-specific code guarded by __ia64__
o All ia64-specific makefile logic
o Mention of ia64 in comments and documentation

This excludes:
o Everything under contrib/
o Everything under crypto/
o sys/xen/interface
o sys/sys/elf_common.h

Discussed at: BSDcan

# 9f932ecd 01-Jul-2014 Eitan Adler <eadler@FreeBSD.org>

Add documentation for svnlite.

PR: 191544
Reported by: eric
Reviewed by: imp
MFC After: 1 week

# b8a63d6d 30-Jun-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Activate the condition for WITHOUT_INFO

Submitted by: antoine

# 079f0a6a 30-Jun-2014 Baptiste Daroussin <bapt@FreeBSD.org>

fill in the list of obsolete files when base is built with WITHOUT_INFO

# dd987372 13-Jun-2014 Tijl Coosemans <tijl@FreeBSD.org>

Don't install GSS-API headers when the GSSAPI option has been disabled.
Some ports assume GSS-API is supported when they find the headers.

PR: 189156
Submitted by: Garrett Cooper <yanegomi@gmail.com>

# 8c7ec47a 06-Jun-2014 Julio Merino <jmmv@FreeBSD.org>

Move atf-sh from /usr/bin/ to /usr/libexec/

In r266650, we made libatf-c and libatf-c++ private libraries so that no
components outside of the source tree could unintendedly depend on them.

This change does the same for the "atf-sh library" by moving the atf-sh
interpreter from its public location in /usr/bin/ to the private location
in /usr/libexec/. Our build system will ensure that our own test programs
use the right binary, but users won't be able to depend on atf-sh by
"mistake".

Committing this now to ride the UPDATING notice added with r267172 today.

# 727a7ce8 06-Jun-2014 Julio Merino <jmmv@FreeBSD.org>

Homogenize libatf-* version numbers with upstream.

The libatf-* major version numbers in FreeBSD were one version ahead of
upstream because, when atf was first imported into FreeBSD, the upstream
numbers were not respected. This is just confusing and bound to cause
problems down the road.

Fix this by taking advantage of the fact that libatf-* are now private
and that atf is not yet built by default. However, and unfortunately, a
clean build is needed for tests to continue working once "make
delete-old-libs" has been run; hence the note in UPDATING.

# 17a286a9 24-May-2014 Julio Merino <jmmv@FreeBSD.org>

Change libatf-c and libatf-c++ to be private libraries.

We should not be leaking these interfaces to the outside world given
that it's much easier for third-party components to use the devel/atf
package from ports.

As a side-effect, we can also drop the ATF pkgconfig and aclocal files
from the base system. Nothing in the base system needs these, and it
was quite ugly to have to get them installed only so that a few ports
could build. The offending ports have been fixed to depend on
devel/atf explicitly.

Reviewed by: bapt

# 3e9e1651 12-May-2014 Julio Merino <jmmv@FreeBSD.org>

Fix delete-old when WITH_TESTS is set.

r265423 removed the WITHOUT_BMAKE option, which in turn broke a conditional
in OptionalObsoleteFiles.inc that inspected MK_BMAKE.

# 85d60e68 12-May-2014 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to 3.4.1 release. This release contains
mostly fixes, for the following upstream bugs:

http://llvm.org/PR16365 http://llvm.org/PR17473 http://llvm.org/PR18000
http://llvm.org/PR18068 http://llvm.org/PR18102 http://llvm.org/PR18165
http://llvm.org/PR18260 http://llvm.org/PR18290 http://llvm.org/PR18316
http://llvm.org/PR18460 http://llvm.org/PR18473 http://llvm.org/PR18515
http://llvm.org/PR18526 http://llvm.org/PR18600 http://llvm.org/PR18762
http://llvm.org/PR18773 http://llvm.org/PR18860 http://llvm.org/PR18994
http://llvm.org/PR19007 http://llvm.org/PR19010 http://llvm.org/PR19033
http://llvm.org/PR19059 http://llvm.org/PR19144 http://llvm.org/PR19326

MFC after: 2 weeks


# d525bcd9 18-Mar-2014 Julio Merino <jmmv@FreeBSD.org>

Migrate tools/regression/usr.bin/make/ to the new tests layout.

Note that these tests are for fmake, not bmake, and thus they are not
installed nor run when bmake is selected (the default). Yes, I have
wasted a *ton* of time on moving tests for no real reason other than
ensuring they are not left behind.

But maybe, just maybe, it was not work in vain: the majority of these
tests also work with bmake and the few that don't may point at broken
stuff. For example, the tests for the "archive" feature do not work
with bmake, but bmake's manpage and source tree seem to imply that they
should. So... to be investigated later; need to poke sjg@.

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

# 2c4c3f67 10-Mar-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Add a mailer.conf example to use dma

# 6a54f620 22-Feb-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Rename WITHOUT_DMA into WITHOUT_DMAGENT to avoid confusion

Requested by: ian

# a9e8641d 21-Feb-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Import Dragonfly Mail Agent into base system

It is a small and lightweight Mail Transport Agent.
It accepts mails from locally installed Mail User Agents (MUA) and delivers the
mails either locally or to a remote destination. Remote delivery includes
several features like TLS/SSL support, SMTP authentication and NULLCLIENT.

Make dma conditional to new WITHOUT_DMA option and make it respect WITHOUT_MAIL

Reviewed by: peter
Discussed with: emaste, bz, peter


# f785676f 16-Feb-2014 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to 3.4 release. This version supports
all of the features in the current working draft of the upcoming C++
standard, provisionally named C++1y.

The code generator's performance is greatly increased, and the loop
auto-vectorizer is now enabled at -Os and -O2 in addition to -O3. The
PowerPC backend has made several major improvements to code generation
quality and compile time, and the X86, SPARC, ARM32, Aarch64 and SystemZ
backends have all seen major feature work.

Release notes for llvm and clang can be found here:
<http://llvm.org/releases/3.4/docs/ReleaseNotes.html>
<http://llvm.org/releases/3.4/tools/clang/docs/ReleaseNotes.html>

MFC after: 1 month


# 1a61beb0 14-Feb-2014 Julio Merino <jmmv@FreeBSD.org>

MFV: Import atf-0.20.


# b76e24a3 05-Feb-2014 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove WITHOUT_NIS

PR: 186412

# 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

# 4f7ab58e 30-Jan-2014 Dimitry Andric <dim@FreeBSD.org>

Import libc++ 3.4 release. This contains a lot of bugfixes, and some
preliminary support for C++1y.

MFC after: 3 weeks


# 762c167e 10-Jan-2014 Julio Merino <jmmv@FreeBSD.org>

Respect the original layout of the atf-{c,c++} tests.

Put test programs for internal modules into a 'detail' subdirectory of the
libatf-c and libatf-c++ test directories, just as the upstream distribution
does. This is necessary because the tests assume such layout to find the
process_helper program, and currently fail because of this divergence.

MFC after: 1 week

# a9e4b734 21-Dec-2013 Glen Barber <gjb@FreeBSD.org>

Honor WITHOUT_CASPER.

Sponsored by: The FreeBSD Foundation

# a18eacbe 17-Nov-2013 Julio Merino <jmmv@FreeBSD.org>

MFV: Import atf-0.18.

Approved by: rpaulo (mentor)


# 0fa8a6f0 11-Nov-2013 Glen Barber <gjb@FreeBSD.org>

Silence more 'make {check,delete-old{,libs}}' output if $DESTDIR/usr/tests
does not exist.

Sponsored by: The FreeBSD Foundation

# 6785aaf2 10-Nov-2013 Glen Barber <gjb@FreeBSD.org>

Silence bmake(1) errors if TEST_DIRS evaluation is empty.

# 14de84e7 08-Nov-2013 Julio Merino <jmmv@FreeBSD.org>

Handle the removal of the test suite when WITHOUT_TESTS=yes.

Add all files from /usr/tests to the obsoleted files list when the
build of the tests is disabled via the WITHOUT_TESTS knob. Do this
automatically so that we do not have to suffer the pain of maintaining
such list by hand.

Reviewed by: freebsd-testing
Approved by: rpaulo (mentor)

# e01d128a 08-Nov-2013 Julio Merino <jmmv@FreeBSD.org>

Subsume the functionality of MK_ATF into MK_TESTS.

There is no reason to keep the two knobs separate: if tests are
enabled, the ATF libraries are required; and if tests are disabled,
the ATF libraries are not necessary. Keeping the two just serves
to complicate the build.

Reviewed by: freebsd-testing
Approved by: rpaulo (mentor)

# 912ce912 03-Nov-2013 Peter Wemm <peter@FreeBSD.org>

Remove the WITH_LIBICONV_COMPAT hack that seems to do more harm than
good. This caused libc to spoof the ports libiconv namespace and
provide a colliding libiconv.so.3 to fool rtld. This should have
been removed some time ago.

# 23c80c69 03-Nov-2013 Ed Schouten <ed@FreeBSD.org>

Remove utxrm(8). This command has been superseded by 'utx rm'.

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

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

# 0edda453 30-Oct-2013 Bryan Drewery <bdrewery@FreeBSD.org>

Add forgotten pkg.7

Approved by: bapt
MFC after: 2 days
X-MFC-with: r257378

# 2b142c0f 17-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Add lot of missed files and dirs

# 7306b853 17-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Remove atf headers which never existed

Reviewed by: marcel

# 41b65e69 17-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Cleanup clang section

# 7855835b 16-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

wlconfig exists only on i386

# 5329f4d3 16-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Remove files which are in ObsoleteFiles.inc

# fca60728 16-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Remove duplicates in ipfilter and kerberos sections

# ec0e2ac6 12-Oct-2013 Rui Paulo <rpaulo@FreeBSD.org>

Remove most of the ATF tools and the _atf user.

This is necessary because ATF is deprecated and it will be replaced by Kyua.

Submitted by: jmmv@netbsd.org
Reviewed by: Garrett Cooper
Approved by: re

# c9fc60be 09-Oct-2013 Glen Barber <gjb@FreeBSD.org>

Revert r256095, r256120 (partial), r256121:

r256095:
- Add gnu/usr.bin/rcs back to the base system.

r256120:
- Add WITHOUT_RCS back to src.conf.5.

r256121:
- Remove UPDATING entry regarding gnu/usr.bin/rcs removal.

Requested by: many
Approved by: re (marius)
Discussed with: core

# 258c9eb9 06-Oct-2013 Eitan Adler <eadler@FreeBSD.org>

Good bye RCS. You will be missed.

(devel/rcs and devel/rcs57 are available as alternatives)

Approved by: core
Approved by: re (hrs)

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

Remove BIND.

Approved by: re (gjb)

# 278bc67b 29-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Yet more BIND files that weren't listed in OptionalObsoleteFiles.

Approved by: re (blanket)

# 4a09ed30 27-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove duplicate entry for the host(1) man page.

Approved by: re (blanket)

# b4af3bcb 25-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Additional BIND files.

Submitted by: bdrewery
Approved by: re (blanket)

# 49cede74 22-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Add a setup script for unbound(8) called local-unbound-setup. It
generates a configuration suitable for running unbound as a caching
forwarding resolver, and configures resolvconf(8) to update unbound's
list of forwarders in addition to /etc/resolv.conf. The initial list
is taken from the existing resolv.conf, which is rewritten to point to
localhost. Alternatively, a list of forwarders can be provided on the
command line.

To assist this script, add an rc.subr command called "enabled" which
does nothing except return 0 if the service is enabled and 1 if it is
not, without going through the usual checks. We should consider doing
the same for "status", which is currently pointless.

Add an rc script for unbound, called local_unbound. If there is no
configuration file, the rc script runs local-unbound-setup to generate
one.

Note that these scripts place the unbound configuration files in
/var/unbound rather than /etc/unbound. This is necessary so that
unbound can reload its configuration while chrooted. We should
probably provide symlinks in /etc.

Approved by: re (blanket)

# 7b07722f 22-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove drill(1) if MK_LDNS_UTILS is false.
Remove host(1) if both MK_BIND and MK_LDNS_UTILS are false.

Approved by: re (blanket)

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

Build and install the Unbound caching DNS resolver daemon.

Approved by: re (blanket)

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

Complete the OPENSSH and LDNS sections.

Approved by: re (blanket)

# 9f00530d 14-Sep-2013 Ed Schouten <ed@FreeBSD.org>

Properly remove c++filt.

The c++filt binary is only installed if ${MK_GCC} == yes && ${MK_CXX} ==
yes. This means that it should be removed if ${MK_GCC} == no ||
${MK_CXX} == no. In its current form, it actually uses a conjunction
instead of a disjunction.

As there is already a separate block for ${MK_CXX} == no listing
c++filt, simply remove the conditional entirely.

Approved by: re (gjb)

# 0d410def 10-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Clean up the Kerberos build by turning libheimipcc and libheimipcs into
private shared libraries, instead of hacked-together archives of PIC
objects. This makes it possible to build a static libkrb5 that works.

Reviewed by: stas
Approved by: re (gjb)

# 655f887f 07-Sep-2013 Antoine Brodin <antoine@FreeBSD.org>

Adjust optional obsolete files with new MK_GNUCXX

# 3d8a28c3 07-Sep-2013 Antoine Brodin <antoine@FreeBSD.org>

Do not try to remove directories that are part of BSD.include.dist

# 8031489c 07-Sep-2013 Gleb Smirnoff <glebius@FreeBSD.org>

Add more leftovers from gcc.

# a5bfe448 06-Sep-2013 David Chisnall <theraven@FreeBSD.org>

Don't delete c++filt when doing a make delete-old if GCC is not built but
C++ is.

# e9fb2ea0 29-Aug-2013 Andreas Tobler <andreast@FreeBSD.org>

Remove GNU_PATCH leftover.

# e434cacb 26-Aug-2013 Antoine Brodin <antoine@FreeBSD.org>

Add more obsolete files.

# 0ff204bb 13-Aug-2013 Peter Wemm <peter@FreeBSD.org>

The iconv in libc did two things - implement the standard APIs, the GNU
extensions and also tried to be link time compatible with ports libiconv.
This splits that functionality and enables the parts that shouldn't
interfere with the port by default.

WITH_ICONV (now on by default) - adds iconv.h, iconv_open(3) etc.
WITH_LIBICONV_COMPAT (off by default) adds the libiconv_open etc API, linker
symbols and even a stub libiconv.so.3 that are good enough to be able
to 'pkg delete -f libiconv' on a running system and reasonably expect it
to work.

I have tortured many machines over the last few days to try and reduce
the possibilities of foot-shooting as much as I can. I've successfully
recompiled to enable and disable the libiconv_compat modes, ports that use
libiconv alongside system iconv etc. If you don't enable the
WITH_LIBICONV_COMPAT switch, they don't share symbol space.

This is an extension of behavior on other system. iconv(3) is a standard
libc interface and libiconv port expects to be able to run alongside it on
systems that have it.

Bumped osreldate.

# 8471c7bd 06-Aug-2013 Sean Bruno <sbruno@FreeBSD.org>

Adjust make knobs to know that WITH_ICONV installs a /usr/bin/iconv

Remove it if the knob isn't tweaked. Certain ports seem to think that
if /usr/bin/iconv exists, then libc has built in libiconv things and will
blow up pretty nicely when built.

Reviewed by: gjb@
MFC after: 2 weeks

# 9beae6b5 12-Jul-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove authpf-noip along with authpf.

Reminded by: delphij@

# deb50697 24-Jun-2013 Eitan Adler <eadler@FreeBSD.org>

Add missing Obsolete Files

Submitted by: Kurt Lidl <lidl@pi-coral.com>

# 4f858707 18-Jun-2013 Peter Wemm <peter@FreeBSD.org>

Teach delete-old how to clean up after WITH/WITHOUT_SVN{LITE} permutations.

# 1cbff2a9 15-Jun-2013 Eitan Adler <eadler@FreeBSD.org>

Remove CVS from the base system.

Discussed with: many
Reviewed by: peter, zi
Approved by: core

# 01bb8628 09-Jun-2013 Glen Barber <gjb@FreeBSD.org>

Add freebsd-update.conf(5) to OptionalObsoleteFiles.inc

PR: 179437
Approved by: kib (mentor)
MFC after: 1 week

# 2b3b3637 11-May-2013 Eitan Adler <eadler@FreeBSD.org>

Unconditionally install 210.backup-aliases as many MTAs other than
sendmail support the use of /etc/aliases.

PR: conf/176098
Submitted by: ak
MFC after: 2 weeks

# b4634967 28-Apr-2013 Eitan Adler <eadler@FreeBSD.org>

When the world is built WITHOUT_OPENSSH also don't
install ssh-copy-id.

PR: misc/177590
Submitted by: Oleg Ginzburg <olevole@olevole.ru>
Reviewed by: imp

# 850163e4 26-Apr-2013 Eitan Adler <eadler@FreeBSD.org>

Remove IDEA from OptionalObsoleteFiles.inc

Also add an UPDATING entry (requsted by gjb)

# 139f7f9b 12-Apr-2013 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to trunk r178860, in preparation of the
upcoming 3.3 release (branching and freezing expected in a few weeks).

Preliminary release notes can be found at the usual location:
<http://llvm.org/docs/ReleaseNotes.html>

An MFC is planned once the actual 3.3 release is finished.


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

Add option to make pc-sysinstall optional

Approved by: cperciva

# 616d12b7 20-Dec-2012 Baptiste Daroussin <bapt@FreeBSD.org>

Add etc/periodic/daily/220.backup-pkgdb to OptionalObsoleteFiles.inc

# 3861d79f 03-Dec-2012 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to r168974, from upstream's release_32
branch. This is effectively llvm/clang 3.2 RC2; the 3.2 release is
coming soon.


# ffdac814 14-Nov-2012 Marcel Moolenaar <marcel@FreeBSD.org>

Don't install atf.test.mk if MK_ATF == no.

Submitted by: Garrett Cooper <yanegomi@gmail.com>

# c175365c 21-Oct-2012 Marcel Moolenaar <marcel@FreeBSD.org>

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

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

Credits follow:

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

# 458beb5d 17-Oct-2012 Andreas Tobler <andreast@FreeBSD.org>

Remove the netncp and nwfs files from here. They will be moved to the
ObsoleteFiles.inc file later.

Discussed with: attilio

# ce8ba5a5 26-Aug-2012 Dimitry Andric <dim@FreeBSD.org>

Add libc++ and libcxxrt related files to OptionalObsoleteFiles.inc.

MFC after: 1 week

# d4271816 20-Aug-2012 Dimitry Andric <dim@FreeBSD.org>

Add three additional clang intrinsics headers, which I missed in the
previous import.

# 7ae0e2c9 20-Aug-2012 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to trunk r162107. With thanks to
Benjamin Kramer and Joerg Sonnenberger for their input and fixes.


# c4554b94 23-Jul-2012 Dimitry Andric <dim@FreeBSD.org>

When WITHOUT_CLANG is being used, also clean out the clang 3.1 headers
in OptionalObsoleteFiles.inc.

PR: misc/169902
Submitted by: Thomas Eberhardt <sneakywumpus@googlemail.com>
MFC after: 3 days

# 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

# 60533c20 09-May-2012 Eitan Adler <eadler@FreeBSD.org>

Add some missing files to OLD_FILES

PR: conf/166460
Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com>
Reviewed by: stable@
Approved by: cperciva
MFC after: 2 weeks

# 4d04782c 14-Apr-2012 Dimitry Andric <dim@FreeBSD.org>

Add files and directories to be cleaned up if WITHOUT_GCC is in effect
to OptionalObsoleteFiles.inc.

MFC after: 1 week

# a146c2a9 22-Mar-2012 Stanislav Sedov <stas@FreeBSD.org>

- Add new kerberos libraries to the list of optional obsolete files.

# 0e46933c 22-Mar-2012 Stanislav Sedov <stas@FreeBSD.org>

- Do not build libcom_err and compile_et when kerberos is disabled. They
depends on several heimdal libraries and not used by anything but kerberos
tools.

# ae771770 22-Mar-2012 Stanislav Sedov <stas@FreeBSD.org>

- Update FreeBSD Heimdal distribution to version 1.5.1. This also brings
several new kerberos related libraries and applications to FreeBSD:
o kgetcred(1) allows one to manually get a ticket for a particular service.
o kf(1) securily forwards ticket to another host through an authenticated
and encrypted stream.
o kcc(1) is an umbrella program around klist(1), kswitch(1), kgetcred(1)
and other user kerberos operations. klist and kswitch are just symlinks
to kcc(1) now.
o kswitch(1) allows you to easily switch between kerberos credentials if
you're running KCM.
o hxtool(1) is a certificate management tool to use with PKINIT.
o string2key(1) maps a password into key.
o kdigest(8) is a userland tool to access the KDC's digest interface.
o kimpersonate(8) creates a "fake" ticket for a service.

We also now install manpages for some lirbaries that were not installed
before, libheimntlm and libhx509.

- The new HEIMDAL version no longer supports Kerberos 4. All users are
recommended to switch to Kerberos 5.

- Weak ciphers are now disabled by default. To enable DES support (used
by telnet(8)), use "allow_weak_crypto" option in krb5.conf.

- libtelnet, pam_ksu and pam_krb5 are now compiled with error on warnings
disabled due to the function they use (krb5_get_err_text(3)) being
deprecated. I plan to work on this next.

- Heimdal's KDC now require sqlite to operate. We use the bundled version
and install it as libheimsqlite. If some other FreeBSD components will
require it in the future we can rename it to libbsdsqlite and use for these
components as well.

- This is not a latest Heimdal version, the new one was released while I was
working on the update. I will update it to 1.5.2 soon, as it fixes some
important bugs and security issues.


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

# 6bb1cadd 05-Feb-2012 Dimitry Andric <dim@FreeBSD.org>

Add a WITH_CLANG_EXTRAS option for src.conf(5), disabled by default,
that builds the following additional llvm/clang tools:

- bugpoint
- llc
- lli
- llvm-ar
- llvm-as
- llvm-bcanalyzer
- llvm-diff
- llvm-dis
- llvm-extract
- llvm-ld
- llvm-link
- llvm-mc
- llvm-nm
- llvm-objdump
- llvm-prof
- llvm-ranlib
- llvm-rtdyld
- llvm-stub
- macho-dump
- opt

These tools are mainly useful for people that want to manipulate llvm
bitcode (.bc) and llvm assembly language (.ll) files, or want to tinker
with llvm and clang themselves.

MFC after: 2 weeks


# 8f506e9e 11-Dec-2011 Dimitry Andric <dim@FreeBSD.org>

Add more files to cleanup with 'make delete-old' when WITHOUT_CLANG is
in effect.

MFC after: 1 week

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

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

Don't remove the periodic script for ac(8) when setting WITHOUT_ACCT.

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

# b3eb927f 06-Apr-2011 Ulrich Spörlein <uqs@FreeBSD.org>

Complete WITHOUT_CXX support. It implies WITHOUT_GROFF and
WITHOUT_CLANG.

Don't build clang bootstrap/build-tools depending on this flag. We also
keep gperf, devd and libstdc++ around to prevent foot-shooting and to
make this a two-way street.

# 423102c6 22-Feb-2011 Ulrich Spörlein <uqs@FreeBSD.org>

Flesh out WITHOUT_GROFF support to DTRT.

A full featured groff is required during buildworld, so build it always
and don't rely on it being present on the host system.

vgrind(1) is tightly coupled to a roff processor and will not be
built/installed when groff is disabled. Also much of the roff'ed
documentation under share/doc will not be built/installed when
WITHOUT_GROFF is defined.

Reviewed by: ru (partial)

# d180d7ef 04-Dec-2010 Ulrich Spörlein <uqs@FreeBSD.org>

Document two more ways to find duplicates in the obsolete file list.

Remove the only duplicate found by the optional files check. Fix typos,
while here.

Suggested by: netchild

# fe5ddba7 14-Nov-2010 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add optional files controlled by WITH_GPIO knob

Submitted by: Alexander Best <arundel@freebsd.org>

# 97f9dcf7 14-Nov-2010 Rebecca Cran <brucec@FreeBSD.org>

lib32 is installed on powerpc64 too.

# 60db6c32 14-Nov-2010 Rebecca Cran <brucec@FreeBSD.org>

libatm_p.a, libkeycap_p.a and libmytinfo_p.a are already in ObsoleteFiles.inc.
liblwres.so.10 has been replaced by liblwres.so.50.

Reported by: arundel

# 65a1c465 09-Nov-2010 Xin LI <delphij@FreeBSD.org>

Hide 460.chkportsum in MK_PKGTOOLS != no case.

Submitted by: Alex Kozlov <spam rm-rf kiev ua>
MFC after: 2 weeks

# 60e6ef07 08-Oct-2010 Mark Murray <markm@FreeBSD.org>

Don't blow away /bin/rmail symlink if we are keeping mailwrapper.
Mailwrapper can provide a perfectly good rmail with other
mailers.

# 916d7003 06-Oct-2010 Alexander Leidinger <netchild@FreeBSD.org>

Add some missing files to optionally delete.

Submitted by: Paul B Mahol <onemda@gmail.com>

# 781ad8ef 21-Jul-2010 Ed Schouten <ed@FreeBSD.org>

Chase LLVM version bump to 2.8.

# e137ba59 16-Jun-2010 Alexander Leidinger <netchild@FreeBSD.org>

Add the ZFS periodic daily scripts to the ZFS part.

# edec9228 14-Jun-2010 Ed Schouten <ed@FreeBSD.org>

Add Clang to OptionalObsoleteFiles.inc.

This means you can now deinstall Clang by running make delete-old with
WITHOUT_CLANG set.

# 36e60cda 26-Mar-2010 Xin LI <delphij@FreeBSD.org>

Remove GNU cpio after fix of CVE-2010-0624.

Note that this is actually a no-op for most users, as this GNU
cpio was broken on -HEAD and 8-STABLE since last March until
the recent fix.

FreeBSD 8.0+ uses BSD cpio by default and the code is being
actively maintained.

Blessed by: kientzle
With hat: secteam
MFC after: 3 days

# b974b08f 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PPP=no.

# 72647fe8 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PORTSNAP=no.

# 78d8164c 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PKGTOOLS=no.

# c13190b2 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PF=no.

# 58f47440 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_NTP=no.

# fda29b23 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_RCMDS=no.

# 50d16bbe 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_RCS=no.

# 23644347 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_ROUTED=no.

# 1fe4843a 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_TELNET=no.

# 94cd15a9 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_NDIS=no.

# 8c7d0ea2 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_NCP=no.

# c742deed 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_LPR=no.

# 9586e952 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_WIRELESS=no.

# e94be45c 26-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Do not remove fmt.1 when MK_MAIL=no.

X-MFC-With: r203584

# cebcc1ac 09-Feb-2010 Xin LI <delphij@FreeBSD.org>

Symbolic link to mailwrapper should only be removed if both MK_MAILWRAPPER
and MK_SENDMAIL is "no".

Reported by: Rob Farmer <rfarmer at predatorlabs.net>

# 07ea9a7c 09-Feb-2010 Xin LI <delphij@FreeBSD.org>

As it turns out, fmt(1) is being used by the base system as well as the
ports tree extensively and it is probably a good idea to keep it
regardless of NO_MAIL setting.

Reported by: Alexander Best
Reviewed by: antoine
X-MFC-With: r203584

# 4c63c240 06-Feb-2010 Xin LI <delphij@FreeBSD.org>

Add files for NO_MAIL, NO_SENDMAIL and NO_MAILWRAPPER.

MFC after: 2 weeks

# a48279bb 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_KERBEROS=no.

# e86622b3 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_JAIL=no.

# 2677a432 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_IPX=no.

# 02eb407f 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_IPFW=no.

# 91ff065b 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Move rescue/ping6 from files to remove when MK_INET6=no to file to remove
when MK_INET6_SUPPORT=no. (MK_INET6=no implies MK_INET6_SUPPORT=no)

# a2ccbc29 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add file to remove when MK_IDEA=no.

# b6d220d0 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GSSAPI=no.

# 96e9532b 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GPIB=no.

# 2ea25692 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GDB=no.

# 05142604 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GAMES=no.

# b983b146 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_FREEBSD_UPDATE=no.

# aa6bef9e 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_FLOPPY=no.

# 629b054a 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_DICT=no.

# 73ff6610 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CVS=no.

# 7692d80e 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CTM=no.

# 682e1072 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CPP=no.

# e493781a 16-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_ZFS=no.

# af5b4724 16-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_CDDL=no.

# 2ab19927 16-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CALENDAR=no.

# bd0a3ed5 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_BLUETOOTH=no.

# 22f09c9f 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_AUTHPF=no.

# 6fccaa07 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_ATM=no.

# 2cccc87b 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_AT=no.

# 5942f7f7 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_APM=no.

# 6cbebbd3 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_AMD=no.

# b00c1bf2 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_ACCT=no.

# 29d08a6d 24-Jun-2009 Jamie Gritton <jamie@FreeBSD.org>

Add libjail, a (somewhat) simpler interface to the jail_set and jail_get
system calls and the security.jail.param sysctls.

Approved by: bz (mentor)

# c6642c52 13-Sep-2008 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when WITHOUT_HESIOD is set.
This fixes "make check-old" when WITH_HESIOD is set.

PR: 122406
MFC after: 1 month

# a1d73f7b 28-Jul-2008 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GNU_CPIO = no

# 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

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

# 94dd3203 24-Mar-2008 Antoine Brodin <antoine@FreeBSD.org>

Don't remove usr/include/fs/nwfs and usr/include/netncp, as they are always
recreated during installworld (they are in BSD.include.dist).

Reported by: Pawel Worach
Approved by: rwatson (mentor)
X-MFC: with revision 1.13

# 6fa1978a 08-Mar-2008 Antoine Brodin <antoine@FreeBSD.org>

Add some checks for amd64 target around usr/lib32 libraries, missed in
previous commit.

Approved by: rwatson (mentor)
X-MFC: with revision 1.13

# b246502f 29-Feb-2008 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GCOV, MK_IPX or MK_NCP are defined.

Note: it may be a good idea to deduce obsolete usr/lib32/ files from
obsolete lib/ and usr/lib/ files.

PR: 120492
PR: 121118
PR: 121121
Submitted by: KAMIYA Satosi, Richard Tector
Approved by: rwatson (mentor)
MFC after: 1 month

# 4114acea 18-Jan-2008 Christian Brueffer <brueffer@FreeBSD.org>

Remove files conditional on the obsolete MK_FORTRAN knob. They are already
listed in ObsoleteFiles.inc anyway.

Reported by: David Wolfskill
Approved by: rwatson (mentor)
MFC after: 3 days

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

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

MK_LIBTHR was misspelled.

Approved by: re (kensmith)

# ceef0c31 05-Apr-2007 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Connect ZFS to the build.

# 70d21ee7 11-Mar-2007 Rong-En Fan <rafan@FreeBSD.org>

Add ncursesw, libelf, and libalias profiling libraries

Approved by: delphij (mentor)

# 438e97c0 01-Feb-2007 Rong-En Fan <rafan@FreeBSD.org>

Remove old libmytinfo link.

Approved by: delphij (mentor)
Requested by: ache

# b1a7dc88 27-Nov-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

/usr/sbin/faithd is an INET6-specific tool, and now it won't be built
if MK_INET6 is "no", so add it to the MK_INET6 block.

PR: bin/100805 (audit-trail)

# 2e975006 30-Sep-2006 Ruslan Ermilov <ru@FreeBSD.org>

Removed libc_r build support.

# c3e63d56 29-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Extend the MK_INET6 section by rescue/ping6 and the manpages.

# 9da33b35 28-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Populate the MK_INET6 block.

# 1812f896 01-May-2006 Alexander Leidinger <netchild@FreeBSD.org>

Add profile libs.

Submitted by: Pawel Worach <pawel.worach@gmail.com>

# 95529bcb 03-Apr-2006 Alexander Leidinger <netchild@FreeBSD.org>

Milosz (sorry for not using the right 'l', it will not display corretly
in the commit log) submitted support for some NO_* knobs for delete-old*
and check-old. I converted it to the new WITHOUT_* knobs (more correctly:
MK_*) and added some dummy ones so that people can see what's missing.

Volunteers can have a look at http://phk.freebsd.dk/misc/build_options/
for a list of files.

The location looks a little bit odd to me, but I don't care about the
color of this bikeshed and follow the suggestion of our build
infrastructure guru to place it "somewhere under src/tools/ please". [1]
The build/mk/ directory looks more sane to me than the other ones there.

Submitted by: milosz.galazka@gmail.com
Suggested by: ru [1]

# 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


# 86edb11e 18-Nov-2022 Ed Maste <emaste@FreeBSD.org>

Always install llvm-objdump as objdump

Instead of providing no /usr/bin/objdump when LLVM_BINUTILS is false.

PR: 267854 [exp-run]
Reviewed by: dim
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37445


# 821549a9 29-Nov-2022 Philip Paeps <philip@FreeBSD.org>

OptionalObsoleteFiles.inc: add zoneinfo/America/Ciudad_Juarez

tzdata 2022g and later split America/Ciudad_Juarez from America/Ojinaga.
Ensure this file is removed in builds WITHOUT_ZONEINFO.

MFC after: 1 day


# 616f32ea 14-Nov-2022 Baptiste Daroussin <bapt@FreeBSD.org>

othermta: remove leftover from 20 years ago

othermta (along with mta_start_script configuration entry in rc.conf)
was a mechanism used to be able to run another mta than sendmail(8) before
"rcng" time 20 years ago.

othermta has not been used since.


# 0b1adc42 09-Nov-2022 Baptiste Daroussin <bapt@FreeBSD.org>

rc.sendmail: remove unused script

20 years ago the use of rc.sendmail script was dropped in favor
of /etc/rc.d/sendmail, it is time to retire the script entirely
now.

MFC after: 1 week


# 00ffd6b5 12-Oct-2022 Baptiste Daroussin <bapt@FreeBSD.org>

OptionalObsoleteFiles: grep nls files have been removed 4 years ago


# ed990a7a 12-Oct-2022 Baptiste Daroussin <bapt@FreeBSD.org>

sort: remove NLS support

NLS support for sort(1) is:
1/ incomplete: many error string are not using nls
2/ only covers hu_HU.ISO8859-2


# d577d617 03-Oct-2022 Jessica Clarke <jrtc27@FreeBSD.org>

bsdinstall release: Move code to a new startbsdinstall wrapper

This separates out the install media-specific environment (creating
bsdinstall_etc) from actually running the installer on a given console.
This will be used by a future change to start the installer on multiple
consoles.

Reviewed by: brooks, gjb
Differential Revision: https://reviews.freebsd.org/D36803


# a2464ee1 03-Oct-2022 Jessica Clarke <jrtc27@FreeBSD.org>

bsdinstall: Add a new runconsoles helper binary

This helper binary will run a given command on every on console, as
defined by /etc/ttys (except for ttyv*, where only ttyv0 will be used).
If one of the command processes exits, the rest will be killed. This
will be used by a future change to start the installer on multiple
consoles.

Reviewed by: brooks, imp, gjb
Differential Revision: https://reviews.freebsd.org/D36804


# 0eea46fb 28-Sep-2022 Brooks Davis <brooks@FreeBSD.org>

Remove telnetd

The telnetd codebase is unmaintained and has a number of quality
issues. Telnet has been largely supplanted by ssh. If needed, a port is
available (net/freebsd-telnetd), but a more maintained implementation
should be prefered.

While the telnet client suffers from the same issues, it is deemed
to be of lower risk and is required to connect to legacy devices, so
it remains.

Reviewed by: emaste, imp
Differential Revision: https://reviews.freebsd.org/D36620


# d1a351be 25-Sep-2022 Ed Maste <emaste@FreeBSD.org>

Do not delete objdump when WITH_LLVM_BINUTILS is true

WITH_LLVM_BINUTILS links /usr/bin/objdump to llvm-objdump, and similarly
for the man page. Do not delete them in `make delete-old`.

PR: 266603
Sponsored by: The FreeBSD Foundation


# f419a283 09-Sep-2022 Dag-Erling Smørgrav <des@FreeBSD.org>

OptionalObsoleteFiles.inc: add bearssl, secureboot, veriexec.

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


# 998b0a4a 31-Aug-2022 Peter Wemm <peter@FreeBSD.org>

OptionalObsoleteFiles.inc: Add missing sendmail feature macro files.

MFC after: 3 days


# 2300a22c 22-Feb-2022 Kyle Evans <kevans@FreeBSD.org>

libc: iconv: add mb_cur_min for encoder traits

A future commit will actually implement //IGNORE so that applications
using base iconv can, e.g., sanitize UTF-8 strings. To do this, the
iconv_std module needs to be able to determine the minimum width for any
given encoding so that it can skip that many bytes in the input buffer.
This is mainly an issue for UTF-16 and UTF-32.

This commit bumps shlib versions to 5 for libiconv modules to reflect
the ABI change. It also fixes OptionalObsoleteFiles to remove the
libiconv modules if WITHOUT_ICONV is in use.

re: _ENCODING_MB_CUR_MIN, note that this file (citrus_stdenc_template.h)
is included at the bottom of an encoding *implementation*, so the
implementation is free to #define it prior. UTF1632 is a good example,
as it redefines the minimum to be a property on the encodinginfo, and
the minimum is set to 2 or 4 bytes for UTF-16 and UTF-32 respectively.

Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D34344


# 55736146 21-Jul-2022 Dmitry Chagin <dchagin@FreeBSD.org>

check/delete-old: Fix /bin/rmail removal condition

When WITHOUT_SENDMAIL is enabled and WITHOUT_MAILWRAPPER is disabled
we install /bin/rmail as a link to the /usr/sbin/mailwrapper.
Ensure make delete-old does not unlink /bin/rmail in that case.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D35874
MFC after: 2 weeks


# 3bf66365 06-Jul-2022 Brooks Davis <brooks@FreeBSD.org>

cddl/*: add a WITH(OUT)_DTRACE option

Add an option to enable/disable DTrace without disabling ZFS. New
architectures such as CHERI may support ZFS before they support DTrace
and the old model of WITHOUT_CDDL disabling both wasn't helpful.

For compatiblity, the CDDL option remains and WITHOUT_CDDL implies
WITHOUT_DTRACE. WITHOUT_DTRACE also implies WITHOUT_CTF.

As part of this change, largely convert cddl/*/Makefile to using the
more compact SUBDIR.${MK_<FOO>}+= form rather than using intermediate
variables.

Reviewed by: markj
Obtained from: CheriBSD
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D35718


# 56f451bb 12-Jun-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project release/14.x llvmorg-14.0.5-0-gc12386ae247c

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14.0.5-0-gc12386ae247c, aka 14.0.5 release.

PR: 261742
MFC after: 3 days


# 5e383e36 05-Jun-2022 Dimitry Andric <dim@FreeBSD.org>

Add more old clang files to (Optional)ObsoleteFiles.inc

There were a few more libclang_rt libraries added recently, but not yet
listed in the ObsoleteFiles.inc lists.

MFC after: 3 days

# 809922b0 05-Jun-2022 Dimitry Andric <dim@FreeBSD.org>

Update rest of llvm-project build glue for 14.0.4

I completely forgot about updating the generated llvm-project config
files, which also contain version numbers, etc. Sorry for the churn.

PR: 261742
Fixes: ab9d54731f43
MFC after: 3 days

# 7b6f5ebe 27-May-2022 Dimitry Andric <dim@FreeBSD.org>

Add several sanitizer ignore lists under /usr/lib/clang

Some of the sanitizers from compiler-rt can use ignore lists, which are
loosely modeled on valgrind's example. Upstream provides default lists
for AddressSanitizer, CFI, and MemorySanitizer, so install these in the
expected location, /usr/lib/clang/14.0.3/share.

Reviewed by: emaste
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D35338

# 3a9a9c0c 28-Apr-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project release/14.x llvmorg-14.0.3-0-g1f9140064dfb

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14.0.3-0-g1f9140064dfb.

PR: 261742
MFC after: 2 weeks


# 1fd87a68 05-Feb-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-14-init-18294-gdb01b123d012

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14-init-18294-gdb01b123d012, the last commit before
the upstream release/14.x branch was created.

PR: 261742
MFC after: 2 weeks


# 04eeddc0 27-Jan-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-14-init-17616-g024a1fab5c35

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14-init-17616-g024a1fab5c35.

PR: 261742
MFC after: 2 weeks


# 4824e7fd 02-Dec-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-14-init-11187-g222442ec2d71

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14-init-11187-g222442ec2d71.

PR: 261742
MFC after: 2 weeks


# 5e801ac6 20-Nov-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-14-init-10223-g401b76fdf2b3

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14-init-10223-g401b76fdf2b3.

PR: 261742
MFC after: 2 weeks


# c00d3456 10-Feb-2022 John Baldwin <jhb@FreeBSD.org>

Install unwind.h into /usr/include

Install headers from LLVM's libunwind in place of the headers from
libcxxrt and allow C applications to use the library.

As part of this, remove include/unwind.h and switch libthr over to
using the installed unwind.h.

Reviewed by: dim, emaste
MFC after: 10 days
Differential Revision: https://reviews.freebsd.org/D34065

# 77da558c 20-Jan-2022 John Baldwin <jhb@FreeBSD.org>

check/delete-old: Auto-generate lib32 entries for libraries.

- Add usr/lib32/libfoo.so.N for lib/libfoo.so.N.

- Add usr/lib32/foo for usr/lib/foo.

- Treat casper libraries special since they are installed to
/usr/lib32 instead of /usr/lib32/casper and thus map
usr/lib/casper/foo to usr/lib32/foo.

Note that OLD_DIRS and MOVED_LIBS entries are not duplicated, only
OLD_FILES and OLD_LIBS.

Reviewed by: imp, emaste
Sponsored by: The University of Cambridge, Google Inc.
Differential Revision: https://reviews.freebsd.org/D33324

# c96dfb21 20-Jan-2022 John Baldwin <jhb@FreeBSD.org>

Rework documentation of OLD_*.

- Be more explicit in the difference between OLD_DIRS and OLD_FILES
(the former is only in delete-old-libs whereas the latter is in
delete-old).

- Document that debug symbols in /usr/lib/debug/ for files in
OLD_FILES and OLD_LIBS are removed as well.

Reviewed by: emaste
Sponsored by: The University of Cambridge, Google Inc.
Differential Revision: https://reviews.freebsd.org/D33847

# ebc1c246 11-Jan-2022 John Baldwin <jhb@FreeBSD.org>

Remove redundant OLD_FILES entries for debug symbols.

Entries for foo.debug files matching an existing entry in OLD_FILES or
OLD_LIBS are unnecessary as they are auto-generated.

Reviewed by: imp, emaste
Sponsored by: The University of Cambridge, Google Inc.
Differential Revision: https://reviews.freebsd.org/D33777

# 60a82774 02-Dec-2021 John Baldwin <jhb@FreeBSD.org>

Only use OLD_LIBS with shared libraries.

Use OLD_FILES for a few symbolic links and static libraries previously
included in OLD_LIBS.

Add a missing shared library major number to an old libroken entry.

# a58135eb 02-Dec-2021 Herbert J. Skuhra <herbert@gojira.at>

OptionalObsoleteFiles.inc: Add rc.d/zfskeys

While here, sort the etc/rc.d entries.

PR: 256483
Reviewed by: allanjude
Approved by: allanjude (src)
MFC after: 3 days
Sponsored by: Modirum MDPay
Sponsored by: Klara Inc.
Differential Revision: https://reviews.freebsd.org/D33238

# db0ac6de 02-Dec-2021 Cy Schubert <cy@FreeBSD.org>

Revert "wpa: Import wpa_supplicant/hostapd commit 14ab4a816"

This reverts commit 266f97b5e9a7958e365e78288616a459b40d924a, reversing
changes made to a10253cffea84c0c980a36ba6776b00ed96c3e3b.

A mismerge of a merge to catch up to main resulted in files being
committed which should not have been.

# 266f97b5 02-Dec-2021 Cy Schubert <cy@FreeBSD.org>

wpa: Import wpa_supplicant/hostapd commit 14ab4a816

This is the November update to vendor/wpa committed upstream 2021-11-26.

MFC after: 1 month


# c3f345ae 01-Dec-2021 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles.inc: remove MK_CXX rule for usr/bin/c++

In fact MK_CXX does not control whether /usr/bin/c++ is built -- it is
installed as a link to Clang (which is always a C/C++ compiler), and it
already exists in OptionalObsoleteFiles under MK_TOOLCHAIN.

Sponsored by: The FreeBSD Foundation

# 610d908f 01-Dec-2021 John Baldwin <jhb@FreeBSD.org>

Add lib32 entries for WITHOUT_PROFILE.

Reported by: Mark Millard

# 07c2b29b 01-Dec-2021 John Baldwin <jhb@FreeBSD.org>

Trim a couple of duplicate entries from WITHOUT_PROFILE.

# 99188582 01-Dec-2021 John Baldwin <jhb@FreeBSD.org>

Add various profiled libraries missing from the WITHOUT_PROFILE list.

Reported by: Mark Millard

# f7ea22e2 01-Dec-2021 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: move /usr/bin/CC to MK_TOOLCHAIN section

/usr/bin/CC is installed by usr.bin/clang/clang/Makefile, as with
/usr/bin/cc, /usr/bin/cpp, etc., and is not controlled by MK_CXX.
Move it to the same section as those tools.

(It may be that these should all be under
MK_TOOLCHAIN == no || MK_CLANG_IS_CC == no, but that seems like
unnecessary complexity.)

Sponsored by: The FreeBSD Foundation

# 1b9344ad 30-Nov-2021 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove GCC remnants

g++ and cc1plus were GCC components that are already removed
unconditionally in ObsoleteFiles.inc.

Reported by: jhb (in review D33108)
Fixes: 57f804675e65 ("remove GCC 4.2.1 build infrastructure")
Sponsored by: The FreeBSD Foundation

# 0179739a 28-Nov-2021 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove ping with INET & INET6 disabled

Reported by: kevans
Fixes: a4ef9e58bc0c ("sbin: build ping if at least one of...")
Sponsored by: The FreeBSD Foundation

# 6e75b2fb 25-Aug-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project release/13.x llvmorg-13.0.0-rc1-97-g23ba3732246a

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-13.0.0-rc1-97-g23ba3732246a.

PR: 258209
MFC after: 2 weeks


# fe6060f1 22-Aug-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-13-init-16847-g88e66fa60ae5

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-13-init-16847-g88e66fa60ae5, the last commit before
the upstream release/13.x branch was created.

PR: 258209
MFC after: 2 weeks


# e9a99463 06-Oct-2021 Ed Maste <emaste@FreeBSD.org>

ssh: enable FIDO/U2F keys

Description of FIDO/U2F support (from OpenSSH 8.2 release notes,
https://www.openssh.com/txt/release-8.2):

This release adds support for FIDO/U2F hardware authenticators to
OpenSSH. U2F/FIDO are open standards for inexpensive two-factor
authentication hardware that are widely used for website
authentication. In OpenSSH FIDO devices are supported by new public
key types "ecdsa-sk" and "ed25519-sk", along with corresponding
certificate types.

ssh-keygen(1) may be used to generate a FIDO token-backed key, after
which they may be used much like any other key type supported by
OpenSSH, so long as the hardware token is attached when the keys are
used. FIDO tokens also generally require the user explicitly
authorise operations by touching or tapping them.

Generating a FIDO key requires the token be attached, and will
usually require the user tap the token to confirm the operation:

$ ssh-keygen -t ecdsa-sk -f ~/.ssh/id_ecdsa_sk
Generating public/private ecdsa-sk key pair.
You may need to touch your security key to authorize key generation.
Enter file in which to save the key (/home/djm/.ssh/id_ecdsa_sk):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/djm/.ssh/id_ecdsa_sk
Your public key has been saved in /home/djm/.ssh/id_ecdsa_sk.pub

This will yield a public and private key-pair. The private key file
should be useless to an attacker who does not have access to the
physical token. After generation, this key may be used like any
other supported key in OpenSSH and may be listed in authorized_keys,
added to ssh-agent(1), etc. The only additional stipulation is that
the FIDO token that the key belongs to must be attached when the key
is used.

To enable FIDO/U2F support, this change regenerates ssh_namespace.h,
adds ssh-sk-helper, and sets ENABLE_SK_INTERNAL (unless building
WITHOUT_USB).

devd integration is not included in this change, and is under
investigation for the base system. In the interim the security/u2f-devd
port can be installed to provide appropriate devd rules.

Reviewed by: delphij, kevans
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32509

# 2f7f8995 27-Oct-2021 John Baldwin <jhb@FreeBSD.org>

libdialog: Bump shared library version to 10.

The upgrade to libdialog 1.3 included changes to the ABI.

Bump libdpv to 3 since it links against libdialog.

Reported by: Mark Millard <marklmi@yahoo.com>
Reviewed by: bapt
Fixes: a96ef4501919 dialog: import dialog 1.3-20210117
Differential Revision: https://reviews.freebsd.org/D32675

# 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

# 7b1e19ad 06-Oct-2021 Ed Maste <emaste@FreeBSD.org>

Add libfido2 to the build

From https://github.com/Yubico/libfido2:

libfido2 provides library functionality and command-line tools to
communicate with a FIDO device over USB, and to verify attestation
and assertion signatures.

libfido2 supports the FIDO U2F (CTAP 1) and FIDO 2.0 (CTAP 2)
protocols.

libfido2 will be used by ssh to support FIDO/U2F keys. It is currently
intended only for use by ssh, and so is installed as a PRIVATELIB and is
placed in the ssh pkgbase package.

This is currently disabled for the 32-bit library build as libfido2 is
not compatible with the COMPAT_32BIT hack in usb_ioctl.h.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32448

# 2a213a2e 20-Oct-2021 Baptiste Daroussin <bapt@FreeBSD.org>

OptionalObsoleteFiles: add more googletest files to remove

# 2e85df65 06-Oct-2021 Ed Maste <emaste@FreeBSD.org>

Add libcbor to the build

From https://github.com/PJK/libcbor:

libcbor is a C library for parsing and generating CBOR, the general-
purpose schema-less binary data format.

libcbor will be used by ssh to support FIDO/U2F keys. It is currently
intended only for use by ssh, and so is installed as a PRIVATELIB and is
placed in the ssh pkgbase package.

cbor_export.h and configuration.h were generated by the upstream CMake
build. We could create them with bmake rules instead (as NetBSD has
done) but this is a fine start.

This is currently disabled for the 32-bit library build as libfido2 is
not compatible with the COMPAT_32BIT hack in usb_ioctl.h, and there is
no need for libcbor without libfido2.

Reviewed by: kevans
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32347

# 1b85b68d 14-Oct-2021 Cameron Katri <me@cameronkatri.com>

llvm-readobj: Attach to buildsystem

Also install it as readelf when MK_LLVM_BINUTILS is set.

Reviewed By: dim, arichardson
Differential Revision: https://reviews.freebsd.org/D32058

# 88c02733 11-Oct-2021 Alex Richardson <arichardson@FreeBSD.org>

Update OptionalObsoleteFiles.inc after 021385aba562

I forgot to update this file so make delete-old would incorrectly remove
the newly-installed LLVM binutils. While touching the file also update
for 8e1c989abbd1 since ObsoleteFiles.inc now inludes the tablegen binaries.

Reported by: Herbert J. Skuhra <herbert@gojira.at>
Reviewed By: emaste, imp

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

# 032448cd 08-Oct-2021 Ed Maste <emaste@FreeBSD.org>

Belatedly track private lib renaming for OptionalObsoleteFiles.inc

Reviewed by: kevans
Fixes: 5551c573554e ("Rework PRIVATELIB")
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32384

# 85395180 21-Jul-2021 Fernando Apesteguía <fernape@FreeBSD.org>

Remove manpages from OLD_FILES

Remove apm.8 and apmconf.8 from OLD_FILES in the relevant Makefiles.

These pages are now installed unconditionally as per 0a0f7486413c

PR: 257228
Reported by: yasu@utahime.org, wosch@
Approved by: imp@, wosch@
Fixes: 0a0f7486413c - Build manpages for all architectures
MFH: 4 weeks
Differential Revision: https://reviews.freebsd.org/D31256

# 23408297 18-Jun-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project 12.0.1 rc2

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-12.0.1-rc2-0-ge7dac564cd0e, a.k.a. 12.0.1 rc2.

PR: 255570
MFC after: 6 weeks


# d409305f 26-Apr-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project 12.0.0 release

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-12.0.0-0-gd28af7c654d8, a.k.a. 12.0.0 release.

PR: 255570
MFC after: 6 weeks


# e8d8bef9 13-Jun-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-12-init-17869-g8e464dd76bef

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-12-init-17869-g8e464dd76bef, the last commit before the
upstream release/12.x branch was created.

PR: 255570
MFC after: 6 weeks


# 0333fad1 11-Jun-2021 John Baldwin <jhb@FreeBSD.org>

Remove svnlite.

Reviewed by: bcr, imp, emaste
Differential Revision: https://reviews.freebsd.org/D30737

# 95aa617e 03-Jun-2021 Dimitry Andric <dim@FreeBSD.org>

Add C++ headers <barrier> <concepts> <execution> <latch> <numbers> <semaphore>

I missed adding these to the libc++ Makefile, when importing
llvm-project 11.0.0-rc1, even though they were supplied by upstream.

While here, update OptionalObsoleteFiles.inc to add these new headers,
and cleanup old cruft.

Reported by: yuri
Submitted by: jkim (Makefile diff)
PR: 255374
MFC after: 3 days

# 15deee52 20-Mar-2021 Dimitry Andric <dim@FreeBSD.org>

Move GH_BC ObsoleteFiles.inc section to OptionalObsoleteFiles.inc

Optional features belong in the latter file, and should be tested using:

.if ${MK_FEATURE} == no
[...]
.endif

# e6cfd293 03-Mar-2021 John Baldwin <jhb@FreeBSD.org>

Remove the usr/tests/usr.bin/yacc/yacc directory when removing yacc.

MFC after: 1 week

# 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

# 5cf6f1c4 30-Jan-2021 Alex Richardson <arichardson@FreeBSD.org>

Remove the MK_LIBCPLUSPLUS option

This option has been equivalent to any form of C++ support since libstdc++
was removed. Therefore, replace all MK_LIBCPLUSPLUS uses with MK_CXX.

Reviewed By: emaste
Differential Revision: https://reviews.freebsd.org/D27974

# bfc99943 25-Jan-2021 Brooks Davis <brooks@one-eyed-alien.net>

ndis(4): remove as previous announced

nids(4) was a clever idea in the early 2000's when the market was
flooded with 10/100 NICs with Windows-only drivers, but that hasn't been
the case for ages and the driver has had no meaningful maintenance in
ages. It only supports Windows-XP era drivers.

Also remove:
- ndis support from wpa_supplicant
- ndiscvt(8)

Reviewed By: emaste, bcr (manpages)
Differential Revision: https://reviews.freebsd.org/D27609

# 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

# 7593c13e 16-Jan-2021 Dimitry Andric <dim@FreeBSD.org>

Add libclang_rt.profile-powerpc64le.a to (Optional)?ObsoleteFiles.inc

On little-endian PowerPC64, this prevented /usr/lib/clang/11.0.0 being
cleaned up completely after upgrading to clang 11.0.1.

Noticed by: pkubaj
MFC after: 4 weeks
X-MFC-With: r364284

# eaeb601b 03-Jan-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
release/11.x llvmorg-11.0.1-rc2-0-g43ff75f2c3f (aka 11.0.1 rc2).

MFC after: 4 weeks
X-MFC-With: r364284


# 8aff76fb 22-Dec-2020 Kyle Evans <kevans@FreeBSD.org>

build: remove the option to build gnugrep

Unconditionally install bsdgrep as grep, bootstrap or not. Remove all
build glue and stop installing both gnugrep and libgnuregex now that
all consumers of the latter are gone.

Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D27732

# 1c0ea326 15-Dec-2020 Ed Maste <emaste@FreeBSD.org>

Retire obsolete GDB 6.1.1

GDB 6.1.1 was released in June 2004 and is long obsolete. It does not
support all of the architectures that FreeBSD does, and imposes
limitations on the FreeBSD kernel build, such as the continued use of
DWARF2 debugging information.

It was kept (in /usr/libexec/) only for use by crashinfo(8), which
extracts some basic information from a kernel core dump after a crash.
Crashinfo already prefers gdb from port/package if installed.

Future work may add kernel debug support to LLDB or find another path
for crashinfo's needs, but in any case we do not want to ship the
excessively outdated GDB in FreeBSD 13.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D27610

# d2624517 26-Nov-2020 Alan Somers <asomers@FreeBSD.org>

ping: add a ping6 hard link for backwards compatibility

When invoked as "ping6", ping will now attempt to use ICMPv6 for hostnames
that resolve both IPv4 and IPv6 addresses.

Reviewed by: bz, manu
MFC-With: r368045
Differential Revision: https://reviews.freebsd.org/D27384

# 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

# 2406f943 15-Nov-2020 Dimitry Andric <dim@FreeBSD.org>

Ensure make delete-old does not unlink the llvm-cxxfilt and its manpage,
after r367304 and r367324, when WITH_LLVM_CXXFILT is enabled.

Noticed by: "Herbert J. Skuhra" <herbert@gojira.at>
MFC after: 3 days
X-MFC-With: r367304

# 07335072 18-Oct-2020 Kyle Evans <kevans@FreeBSD.org>

libbe(3): install MLINKS for all of the functions provided

MFC after: 1 week

# 6703731d 08-Sep-2020 Kyle Evans <kevans@FreeBSD.org>

phttpget: move out of portsnap

Currently, WITHOUT_PORTSNAP forces WITHOUT_FREEBSD_UPDATE because the
latter relies on phttpget, which lives inside the portsnap build bits.

Remove the dependency between these two options by moving phttpget out into
^/libexec and building/installing it if either WITH_PORTSNAP or
WITH_FREEBSD_UPDATE.

Future work could remove the conditional if it's decided that users will use
it independently of either the current in-base consumers.

Reported by: swills
Reviewed by: jilles, emaste
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D26255

# 32cb7794 03-Sep-2020 Dimitry Andric <dim@FreeBSD.org>

Ensure zpool-features(5) doesn't get removed by make delete-old.

Apparently, somewhere in 2012 ZFS-on-FreeBSD moved it from section 5 to
7, but ZFS-on-Linux never did.

# 57b71478 14-Aug-2020 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for added and removed clang 11.0.0
internal headers.

# 62cfcf62 28-Jun-2020 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
llvmorg-10.0.1-rc2-0-g77d76b71d7d.

Also add a few more llvm utilities under WITH_CLANG_EXTRAS:

* llvm-dwp, a utility for merging DWARF 5 Split DWARF .dwo files into
.dwp (DWARF package files)
* llvm-size, a size(1) replacement
* llvm-strings, a strings(1) replacement

MFC after: 3 weeks


# 136bdd99 26-Jun-2020 Dimitry Andric <dim@FreeBSD.org>

Follow-up to r362679, add more entries to OptionalObsoleteFiles.inc

MFC after: 3 days
X-MFC-With: r362679

# bd74205d 27-Jun-2020 Dimitry Andric <dim@FreeBSD.org>

Regenerate ReStructuredText based manpages for llvm-project tools:

* bugpoint.1
* clang.1
* llc.1
* lldb.1
* lli.1
* llvm-ar.1
* llvm-as.1
* llvm-bcanalyzer.1
* llvm-cov.1
* llvm-diff.1
* llvm-dis.1
* llvm-dwarfdump.1
* llvm-extract.1
* llvm-link.1
* llvm-mca.1
* llvm-nm.1
* llvm-pdbutil.1
* llvm-profdata.1
* llvm-symbolizer.1
* llvm-tblgen.1
* opt.1

Add newly generated manpages for:

* llvm-addr2line.1 (this is an alias of llvm-symbolizer)
* llvm-cxxfilt.1
* llvm-objcopy.1
* llvm-ranlib.1 (this is an alias of llvm-ar)

Note that llvm-objdump.1 is an exception, as upstream has both a plain
.1 file, and a .rst variant. These will have to be reconciled upstream
first.

MFC after: 3 days

# 0a9ab9f5 24-Jun-2020 Conrad Meyer <cem@FreeBSD.org>

Add WITH_CLANG_FORMAT option

clang-format is enabled conditional on either WITH_CLANG_EXTRAS or
WITH_CLANG_FORMAT. Some sources in libclang are build conditional on
either rule, and obviously the clang-format binary itself depends on the
rule.

clang-format could still use a manual page.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D25427

# 74e8d41e 06-Jun-2020 Ed Maste <emaste@FreeBSD.org>

Retire BINUTILS and BINUTILS_BOOTSTRAP options

As of r361857 all BINUTILS options are disabled by default - ports
have been changed to depend on binutils if they require GNU as, and
all base system assembly files have been switched to use Clang's
integrated assembler.

Relnotes: Yes
Sponsored by: The FreeBSD Foundation

# d65cd7a5 23-May-2020 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
llvmorg-10.0.1-rc1-0-gf79cd71e145 (aka 10.0.1 rc1).

MFC after: 3 weeks


# 65a1d636 15-May-2020 Ed Maste <emaste@FreeBSD.org>

libalias: retire cuseeme support

The CU-SeeMe videoconferencing client and associated protocol is at this
point a historical artifact; there is no need to retain support for this
protocol today.

Reviewed by: philip, markj, allanjude
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D24790

# 4d48b0cf 15-May-2020 John Baldwin <jhb@FreeBSD.org>

Don't remove ubsec(4) manual page for WITHOUT_USB=yes.

In head this manpage has been removed entirely, but ubsec(4) is a PCI
device and not a USB device.

MFC after: 1 week

# f8519228 07-May-2020 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles.inc: remove objdump

objdump is removed unconditionally in ObsoleteFiles.inc

# 12de77b3 19-Apr-2020 Cy Schubert <cy@FreeBSD.org>

Due to popular demand, revert r360102.

Reported by: many

# 4574585e 19-Apr-2020 Cy Schubert <cy@FreeBSD.org>

Conditionally install Kerberos rc files based on MK_KERBEROS_SCRIPTS
instead of MK_KERBEROS. The reason for this change is some users
prefer to build FreeBSD WITHOUT_KERBEROS, wanting to retain the
Kerberos rc scripts to start/stop MIT Kerberos or Heimdal from ports.

PR: 197337
Reported by: Adam McDougall <ebay at looksharp.net>
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D24252

# a52b0bb1 30-Mar-2020 Ed Maste <emaste@FreeBSD.org>

drop GDB_LIBEXEC option (now always true)

In-tree gdb is essentially obsolete. We kept it for sparc64 (because
gdb in ports lacked sparc64 support) and as a fallback for crashinfo.
gdb was installed to /libexec on all archs other than sparc64, where the
WITHOUT_GDB_LIBEXEC option was default, with gdb installed to /usr/bin.
With sparc64's retirement WITH_GDB_LIBEXEC became the default for all
architectures, but it was still possible to set it off and install gdb
into /usr/bin.

As the next step in gdb's retirement, remove the option and install gdb
only into /libexec as the crashinfo fallback. We expect users to install
the gdb port or package for debugging. The in-tree gdb lacks support for
a number of supported architectures and does not support contemporary
DWARF debug info.

Reviewed by: jhb (earlier)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D24227

# a04ec978 26-Mar-2020 Brandon Bergren <bdragon@FreeBSD.org>

[PowerPC] Switch powerpc and powerpcspe to lld

Now that LLD 10 is out, and required patches have landed, we are now ready
to finally switch away from the ancient in-tree ld.bfd.

Special thanks to Fangrui Song for many hours of work on getting the
32-bit powerpc lld ready for prime-time.

Reviewed by: emaste (earlier revision), jhibbits
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D24111

# b0d29bc4 23-Mar-2020 Brooks Davis <brooks@FreeBSD.org>

Import the kyua test framework.

Having kyua in the base system will simplify automated testing in CI and
eliminates bootstrapping issues on new platforms.

The build of kyua is controlled by WITH(OUT)_TESTS_SUPPORT.

Reviewed by: emaste
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D24103


# 725cc1de 17-Mar-2020 John Baldwin <jhb@FreeBSD.org>

Add missing DTrace files for WITHOUT_CDDL=yes.

Reviewed by: dteske
MFC after: 1 week
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D24037

# 0fbbe502 12-Mar-2020 Enji Cooper <ngie@FreeBSD.org>

Remove /usr/share/snmp/defs/tc.def with delete-old if MK_BSNMP == no

This removes a lingering file on new installs of CURRENT, originally
added in r345797.

MFC after: 1 week
MFC with: r345797

# 16b90565 10-Mar-2020 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r358731 through r358831.


# 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

# 91019ea7 29-Feb-2020 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r358400 through r358465.


# 57f80467 28-Feb-2020 Ed Maste <emaste@FreeBSD.org>

remove GCC 4.2.1 build infrastructure

As described in Warner's email message[1] to the FreeBSD-arch mailing
list we have reached GCC 4.2.1's retirement date. At this time all
supported architectures either use in-tree Clang, or rely on external
toolchain (i.e., a contemporary GCC version from ports).

GCC 4.2.1 was released July 18, 2007 and was imported into FreeBSD later
that year, in r171825. GCC has served us well, but version 4.2.1 is
obsolete and not used by default on any architecture in FreeBSD. It
does not support modern C and does not support arm64 or RISC-V.

Thanks to everyone responsible for maintaining, updating, and testing
GCC in the FreeBSD base system over the years.

So long, and thanks for all the fish.

[1] https://lists.freebsd.org/pipermail/freebsd-arch/2020-January/019823.html

PR: 228919
Reviewed by: brooks, imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D23124

# 0b37c159 25-Jan-2020 Dimitry Andric <dim@FreeBSD.org>

* Bump version numbers to 10.0.0
* Update UPDATING
* Update (Optional)ObsoleteFiles.inc
* Update VCS(Revision|Version) files
* Update generated config headers
* Update clang internal headers Makefile

# 0581ad70 20-Jan-2020 Mariusz Zaborski <oshogbo@FreeBSD.org>

When MK_CASPER=no is set remove files which are not needed to run system.

PR: 242971

# 3d37949e 20-Jan-2020 Mariusz Zaborski <oshogbo@FreeBSD.org>

Even when the MK_CASPER is set to "no" we still want to install man pages
and the headers. If the user decides to install the system without Casper
support, then the Casper functions are mocked, but they still exist in
the system.

PR: 242971
MFC after: 2 weeks

# c31a062f 20-Jan-2020 Mariusz Zaborski <oshogbo@FreeBSD.org>

Those files are already removed in ObsoleteFiles.\
There is no need to remove them twice.

PR: 242971
MFC after: 2 weeks

# cd0d51ba 04-Jan-2020 Kyle Evans <kevans@FreeBSD.org>

Provide libssp based on libc

For libssp.so, rebuild stack_protector.c with FORTIFY_SOURCE stubs that just
abort built into it.

For libssp_nonshared.a, steal stack_protector_compat.c from
^/lib/libc/secure and massage it to maintain that __stack_chk_fail_local
is a hidden symbol.

libssp is now built unconditionally regardless of {WITH,WITHOUT}_SSP in the
build environment, and the gcclibs version has been disconnected from the
build in favor of this one.

PR: 242950 (exp-run)
Reviewed by: kib, emaste, pfg, Oliver Pinter (earlier version)
Also discussed with: kan
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D22943

# c14a5a88 22-Dec-2019 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
9.0.1 final release c1a0a213378a458fbea1a5c77b315c7dce08fd05.

Release notes for llvm, clang, lld and libc++ 9.0.1 will become
available here:

https://releases.llvm.org/9.0.1/docs/ReleaseNotes.html
https://releases.llvm.org/9.0.1/tools/clang/docs/ReleaseNotes.html
https://releases.llvm.org/9.0.1/tools/lld/docs/ReleaseNotes.html
https://releases.llvm.org/9.0.1/projects/libcxx/docs/ReleaseNotes.html

PR: 240629
MFC after: 1 month


# 1bb8eb56 23-Nov-2019 Dimitry Andric <dim@FreeBSD.org>

libclang_rt: enable on powerpc*

Summary:
Enable on powerpc64 and in lib/libclang_rt/Makefile change
MACHINE_CPUARCH to MACHINE_ARCH because on powerpc64
MACHINE_ARCH==MACHINE_CPUARCH so the 32-bit library overwrites 64-bit
library during installworld.

This patch doesn't enable any other libclang_rt libraries because they
need to be separately ported.

I have verified that games/julius (which fails on powerpc64 elfv2
without this change because of no libclang_rt profiling library) builds.

Test Plan: Ship it, test on powerpc and powerpcspe

Submitted by: pkubaj
Reviewed by: dim, jhibbits
Differential Revision: https://reviews.freebsd.org/D22425
MFC after: 1 month
X-MFC-With: r353358

# 8b3bc70a 08-Oct-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r352764 through r353315.


# 4d22a29a 04-Oct-2019 Baptiste Daroussin <bapt@FreeBSD.org>

Do not remove the locale directory when building a system without locales

This directory is actually needed during make installworld and will prevent
to reinstall a system after make delete-old is done.

PR: 226137
Reported by: rakuco
MFC after: 3 days

# f993ed2f 09-Sep-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r351732 through r352104.


# 9a2b7c5f 04-Sep-2019 Rebecca Cran <bcran@FreeBSD.org>

The efifat files are no longer used: remove the code to build them

Reviewed by: imp, tsoome, emaste
Differential Revision: https://reviews.freebsd.org/D20562

# 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

# f57be329 01-Sep-2019 Dimitry Andric <dim@FreeBSD.org>

Update libclang_rt:
* Add cfi, dd, fuzzer and xray
* Update arch support
* Update OptionalObsoleteFiles.inc

# 2f3724e6 31-Aug-2019 Dimitry Andric <dim@FreeBSD.org>

Update Makefile and mtree for clang internal headers, and update
OptionalObsoleteFiles.inc for added and removed files.

# 72e1e271 23-Aug-2019 Dimitry Andric <dim@FreeBSD.org>

Change clang lib dir to 9.0.0.

# 7f32f0e2 18-Aug-2019 Vladimir Kondratyev <wulf@FreeBSD.org>

iwmbtfw: Firmware loader for Intel Wireless 8260 based Bluetooth USB devices

Currently supported models are: 8260, 8265, 9560, 9260 and 22161.
Firmware files can be installed with comms/iwmbt-firmware port.

PR: 237083
Reviewed by: hps, emax
X-MFC with: r351196
Differential Revision: https://reviews.freebsd.org/D21071

# 403c9d52 05-Aug-2019 Leandro Lupori <luporl@FreeBSD.org>

[PPC64] Don't mark ld.bfd as obsolete

PowerPC64 still needs ld.bfd for 32-bit binaries/libraries.

This will be needed when ELFv2 becomes default, but there is no harm in
committing it already.

Reviewed by: jhibbits
Differential Revision: https://reviews.freebsd.org/D21136

# 330014fd 03-Jul-2019 Tijl Coosemans <tijl@FreeBSD.org>

Also remove lib32 versions of libradius.

MFC after: 1 week

# 015cb6cd 26-Jun-2019 Cy Schubert <cy@FreeBSD.org>

Create a link to the ipmon.conf.5 man page as documented in ipmon.5.
Add its corresponding optional removal entry.

PR: 238816
MFC after: 1 week

# 74bc7fc0 26-Jun-2019 Cy Schubert <cy@FreeBSD.org>

Add the ipmon.5 man page.

PR/238816 initially addressed updates to usage() however the PR has
morphed into a shopping list of updates to usage() and man pages.

PR: 238816 (I added to the list during discussion)
MFC after: 1 week

# efc5c442 12-Jun-2019 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copies of clang, llvm, lld, lldb, compiler-rt, libc++,
libunwind and openmp to the upstream release_80 branch r363030
(effectively, 8.0.1 rc2). The 8.0.1 release should follow this within a
week or so.

MFC after: 2 weeks


# f02125cd 06-Jun-2019 Jung-uk Kim <jkim@FreeBSD.org>

Move llvm-ranlib to appropriate location in OptionalObsoleteFiles.inc.

Note llvm-ar is linked to llvm-ranlib since r311565. r348677 fixed
"make delete-old" issue with llvm-ar but missed it somehow.

Discussed with: emaste, jhb

# e4e92b4d 05-Jun-2019 Ed Maste <emaste@FreeBSD.org>

Use CLANG knob to remove llvm-symbolizer man page

r348504 moved llvm-symbolizer from the CLANG_EXTRAS knob to CLANG, but
the man page was still in the CLANG_EXTRAS section in
OptionalObsoleteFiles.inc.

Reported by: jhb
MFC after: 3 days
MFC with: r348504

# 7120683d 04-Jun-2019 Ed Maste <emaste@FreeBSD.org>

move llvm-ar and llvm-nm to appropriate location in OptionalObsoleteFiles.inc

After r348610 `make delete-old` was still removing llvm-ar and llvm-nm
(and associated man pages).

Reported by: jhb
Sponsored by: The FreeBSD Foundation

# 71259635 01-Jun-2019 Kyle Evans <kevans@FreeBSD.org>

llvm-symbolizer: Move out of CLANG_EXTRAS, into CLANG

ASAN reports become a lot more useful with llvm-symbolizer in $PATH, and the
build is not much more time-consuming. The added benefit is that the
resulting reports will actually include symbol information; without, thread
trace information includes a bunch of addresses that immediately resolve to
an inline function in
^/contrib/compiler-rt/lib/sanitizer_common/sanitizer_common.h and take a
little more effort to examine.

Reviewed by: emaste
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D20484

# 001ec17e 19-May-2019 Dimitry Andric <dim@FreeBSD.org>

To avoid unnecessarily modifying ports, add a -lgomp symlink, since GCC
does not ship a -lomp symlink. Also update OptionalObsoleteFiles for
this, and add 32-bit variants while here.

Submitted by: jbeich
PR: 237975
MFC after: 3 days

# 6da88762 19-May-2019 Dimitry Andric <dim@FreeBSD.org>

Fix OptionalObsoleteFiles copy/paste mistake from r345236, which
connected libomp to the build. The comparison should not have been
against ${MK_OPENSSH}, but against ${MK_OPENMP}, obviously.

MFC after: 3 days

# 60828939 26-Mar-2019 John Baldwin <jhb@FreeBSD.org>

Add special psuedo-options for the base/{binutils,gcc} ports.

The WITH_PORT_BASE_{BINUTILS,GCC} options are used to prevent 'make check-old'
and 'make delete-old' from deleting files installed by the base/binutils
and base/gcc packages as normally one disables the in-tree variants
(e.g. WITHOUT_BINUTILS) when using these packages.

Reviewed by: bapt (earlier version)
Differential Revision: https://reviews.freebsd.org/D19483

# 5d3d68ab 21-Mar-2019 Cy Schubert <cy@FreeBSD.org>

From r345400, remove the ippool rc script when ipfilter is not wanted
by the user.

PR: 218433
MFC after: 2 weeks
X-MFC with: r345400

# b0840a28 16-Mar-2019 Dimitry Andric <dim@FreeBSD.org>

Connect lib/libomp to the build.

* Set MK_OPENMP to yes by default only on amd64, for now.
* Bump __FreeBSD_version to signal this addition.
* Ensure gcc's conflicting omp.h is not installed if MK_OPENMP is yes.
* Update OptionalObsoleteFiles.inc to cope with the conflicting omp.h.
* Regenerate src.conf(5) with new WITH/WITHOUT fragments.

Relnotes: yes
PR: 236062
MFC after: 1 month
X-MFC-With: r344779

# 5193fcde 15-Mar-2019 Enji Cooper <ngie@FreeBSD.org>

Initial googlemock/googletest integration into the build/FreeBSD test suite

This initial integration takes googlemock/googletest release 1.8.1, integrates
the library, tests, and sample unit tests into the build.

googlemock/googletest's inclusion is optionally available via `MK_GOOGLETEST`.
`MK_GOOGLETEST` is dependent on `MK_TESTS` and is enabled by default when
built with a C++11 capable toolchain.

Google tests can be specified via the `GTESTS` variable, which, in comparison
with the other test drivers, is more simplified/streamlined, as Googletest only
supports C++ tests; not raw C or shell tests (C tests can be written in C++
using the standard embedding methods).

No dependent libraries are assumed for the tests. One must specify `gmock`,
`gmock_main`, `gtest`, or `gtest_main`, via `LIBADD` for the program.

More information about googlemock and googletest can be found on the
Googletest [project page](https://github.com/google/googletest), and the
[GoogleMock](https://github.com/google/googletest/blob/v1.8.x/googlemock/docs/Documentation.md)
and
[GoogleTest](https://github.com/google/googletest/tree/v1.8.x/googletest/docs)
docs.

These tests are originally integrated into the build as plain driver tests, but
will be natively integrated into Kyua in a later version.

Known issues/Errata:
* [WhenDynamicCastToTest.AmbiguousCast fails on FreeBSD](https://github.com/google/googletest/issues/2172)

Reviewed by: asomers
Approved by: emaste (mentor)
MFC after: 2 months
Differential Revision: https://reviews.freebsd.org/D19551


# 77e6f928 12-Mar-2019 Cy Schubert <cy@FreeBSD.org>

Fix still installing ipfilter rc.d files even when WITHOUT_IPFILTER
is specified.

When WITHOUT_IPFILTER is specified, delete-old-files fails to delete
the optional rc.d files from above. Fix this.

WITHOUT_IPFILTER fails to delete the ipfilter.5 optional file during
delete-old-files. Fix this.

Reported by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
MFC after: 1 week

# 844fc3e9 04-Mar-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r344549 through r344775.


# 2e881c1a 28-Feb-2019 Bryan Drewery <bdrewery@FreeBSD.org>

bsd.nls.mk isn't optional.

It is protected by MK_NLS. If it should really be optional then
it needs to be documented as such in share/mk/bsd.README and
.sinclude used where needed.

This fixes a regression from r335011.

PR: 232527
Submitted by: jarrod@downtools.com.au
Reported by: ktullavik@gmail.com
MFC after: 3 days

# a8fe8db4 25-Feb-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r344178 through r344512.


# 7588d90e 16-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Few more corrections to WITHOUT_OFED=1 make delete-old removal:

- Drop profile libraries; MK_PROFILE=no is set in all Makefile's.
- Correct library path to libmlx5.so.1 and libibverbs.so.1

MFC after: 5 days
MFC with: 344207

# fe3d954e 16-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Remove corresponding lib32/ files when WITHOUT_OFED=1 is set

MFC after: 5 days
MFC with: 344207

# 4a0225e5 16-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Refresh OptionalObsoleteFiles.inc for MK_PMC:

- Add missing /usr/sbin/pmc, pmcformat.h, libpmcstat.h and pmc.haswellxeon.3
to the list.
- Correct man page section for pmcstudy.8.
- Include recently added libipt and libopencsd for corresponding TARGET_ARCH

MFC after: 5 days

# b94a281e 15-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Add more rc.d scripts / empty directors / config files into
OptionalObsoleteFiles.inc

Note: only files with conditional installation logic were
included from the PR.

PR: 233046
Submitted by: <rozhuk.im@gmail.com>
MFC after: 5 days

# 48514fe1 15-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Allow to remove unused files via 'make delete-old(-libs)' when WITHOUT_OFED
and / or WITHOUT_OFED_EXTRA src.conf(5) options are set.

MFC after: 5 days

# ebd13ba3 15-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Remove vi(1)-related files via 'make delete-old' when WITHOUT_VI=1 is set.

MFC after: 5 days

# 9e43c218 09-Feb-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r343807 through r343955.


# 984aff28 07-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Correct ypldap(8) install path in OptionalObsoleteFiles.inc

It's installed to /usr/sbin, not to /usr/bin (and was always here).

While here, add missing manpages and /var/yp directory to the list.

MFC after: 1 week

# 7e565c55 30-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r343320 through r343570.


# 31f53eaa 27-Jan-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Remove RADIUS-related files when WITHOUT_RADIUS_SUPPORT=true is set
in src.conf(5)

PR: 234041
MFC after: 5 days

# 88148a07 22-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r343202 through r343319.


# 58a7b5d6 22-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Update libc++ build glue, and ObsoleteFiles.

# 6b77b5ec 20-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add more profile-enabled libraries to remove when WITHOUT_PROFILE is defined

PR: 230898
Submitted by: Herbert J. Skuhra <herbert@mailbox.org>
MFC after: 1 week

# 0bf31f1f 20-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Update version numbers, and regenerate config headers for llvm, clang,
lld and lldb. Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc.

# 33b63711 17-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add ypldap to the list of conditional obsolete files

ypldap should be removed during delete-old if WITHOUT_NIS flag is enabled

PR: 230727
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>
MFC after: 1 week

# 0a34fc88 16-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Fix conditional obsolete files entry for WITHOUT_EXAMPLES

Add all the files under /usr/share/examples to the MK_EXAMPLES
section. OLD_DIRS entries are not removed if they're not empty so
prior to this change WITHOUT_EXAMPLES didn't have significant effect
on the updated system.

PR: 228484
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru> (original patch)
MFC after: 1 week

# aca16d28 16-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add optional obsolete files for the installworld without sendmail

Add two more entries for WITHOUT_SENDMAIL install. The /var/spool/clientmqueue
entry would be deleted only if there are no files/dirs in it, so the
content generated during previous lifecycle of the system is safe

PR: 228484
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>
MFC after: 1 week

# d46dea50 13-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add four kerberos CLI utilities to OptionalObsoleteFiles.inc

Add asn1_compile, make-roken, kcc, and slc to the OptionalObsoleteFiles.inc
so they would be removed during delete-old stage if the new world is built
without Kerberos support.

PR: 230725
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>
MFC after: 1 week

# 0fc0faf8 11-Jan-2019 Lars Engels <lme@FreeBSD.org>

Add `bluetooth-config` script to simplify setting up bluetooth connections to
devices like mice, keyboards, bt-audio, ...

This script currently allows scanning for nearby devices, adds one to
/etc/bluetooth/hosts, adds an entry to hcsecd's conf and if it is a HID, add an
entry to bthidd's configs, as well.

Submitted by: erdgeist <erdgeist@erdgeist.org>
Approved by: bapt
MFC after: 2 weeks
Differential Revision: D3778
Reviewers: bapt, emax

# 354c6a44 07-Jan-2019 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove groff leftovers

usr/share/dict/eign is removed unconditionally as of r319664, so it no
longer needs to be in OptionalObsoleteFiles.

PR: 230353
Reported by: philippe.michel7 sfr.fr

# b1ce931b 17-Dec-2018 Alan Somers <asomers@FreeBSD.org>

Conditionalize installtion audit(4) tests on MK_AUDIT

MK_AUDIT already controls auditd(8), praudit(1), etc. It should also control
the audit test suite.

Submitted by: ngie
MFC after: 2 weeks
Pull Request: https://github.com/freebsd/freebsd/pull/240

# 314ce98e 16-Dec-2018 Alan Somers <asomers@FreeBSD.org>

OptionalObsoleteFiles: Fix deleting usr/tests/usr.sbin/sa

It's a directory, not a file.

Reported by: ngie
MFC after: 2 weeks
X-MFC-With: 300938

# 738ea871 16-Dec-2018 Alan Somers <asomers@FreeBSD.org>

Conditionally install /etc/rc.d/audit* based on ${MK_AUDIT}

/usr/sbin/audit(dist)?d are only installed if ${MK_AUDIT} == yes. Their
supporting scripts should only be installed in those instances as well.

Submitted by: ngie
Reviewed by: emaste
MFC after: 2 weeks
Pull Request: https://github.com/freebsd/freebsd/pull/242

# 11783f00 15-Dec-2018 Cy Schubert <cy@FreeBSD.org>

Repair build post-r342139

# 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

# 67350cb5 09-Dec-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r340918 through r341763.


# eda7d3be 26-Nov-2018 Ed Maste <emaste@FreeBSD.org>

Do not install GNU ld if lld is /usr/bin/ld

GNU binutils ld.bfd 2.17.50 does not support ifuncs and produces broken
binaries when ifuncs are in use. When LLD_IS_LD is default we have an
ifunc-capable system linker and can just avoid installing ld.bfd.

Reported by: theraven
Reviewed by: bz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D18340

# 9b5cb2f6 12-Nov-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r340235 through r340367.


# e8bd2804 09-Nov-2018 Ed Maste <emaste@FreeBSD.org>

Move llvm-profdata build into MK_LLVM_COV block

llvm-profdata is used with llvm-cov for code coverage (although llvm-cov
can also operate independently in a gcov-compatible mode).
Although llvm-profdata can be used independently of llvm-cov it makes
sense to group these under one option.

Also handle these in OptionalObsoleteFiles.inc while here.

Sponsored by: The FreeBSD Foundation

# 9f7331ad 09-Nov-2018 Ed Maste <emaste@FreeBSD.org>

llvm-cov: also install as gcov (if GNU gcov is disabled)

llvm-cov provides a gcov-compatible interface when invoked as gcov.

Reviewed by: dim, markj
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D17923

# 2f02c9d6 09-Nov-2018 Ed Maste <emaste@FreeBSD.org>

Consolidate gcov entries in OptionalObsoleteFiles

Sponsored by: The FreeBSD Foundation

# 68948600 04-Nov-2018 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, lld, lldb, compiler-rt and libc++ release_70 branch
r346007 (effectively 7.0.1 rc2), resolve conflicts, and bump version
numbers.

PR: 230240, 230355


# ce44d808 27-Sep-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338731 through r338987.


# 25569cea 25-Sep-2018 Ed Maste <emaste@FreeBSD.org>

Do not remove ld man page if lld is enabled and binutils is not

Reported by: Mark Millard
Approved by: re (gjb)
Sponsored by: The FreeBSD Foundation

# 3af64f03 11-Sep-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338392 through r338594.


# 3efdd580 07-Sep-2018 Ed Maste <emaste@FreeBSD.org>

Remove strings from OptionalObsoleteFiles.inc

Since r326030 strings is installed unconditionally so should not be
removed when WITHOUT_TOOLCHAIN is set.

Reported by: Dan McGregor
Approved by: re (kib)
Sponsored by: The FreeBSD Foundation

# da2d1e9d 29-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338298 through r338391.


# 8369ba42 24-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

libbe(3)/bectl(8): Make consistent with beadm

vermaden (maintainer of beadm) points out the following inconsistencies:
- "missing command" is not printed prior to usage if the error is simply a
missing command; this should be obvious from the context
- "bectl rename" isn't using the "don't unmount" flag (zfs rename -u), so
the active BE can't be renamed. It doesn't make sense in our context to
*not* use -u, so use it.

Documentation updates reflect the above and note an inconsistency with the
'destroy' command that is consistent with other parts of the base system.

A fix for libbe(3) not properly being installed to /lib is included.
SHLIBDIR should have been added when it was moved in r337995.

Approved by: re (kib)

# 7847e041 24-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338026 through r338297, and resolve conflicts.


# d7f41421 23-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

Remove hyper-v leftovers when WITHOUT_HYPERV is set

hv_vss_daemon was missed.

Submitted by: Oliver Pinter
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D16811

# ea8b116b 22-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

Remove ZFS leftovers when WITHOUT_ZFS is set

Submitted by: Oliver Pinter
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D16810

# a757dfac 03-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Update lib/libclang_rt for compiler-rt trunk r338150.

# 488aa40a 02-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Update libc++ and libc++experimental Makefiles, add libc++fs Makefile,
and update OptionalObsoleteFiles.inc for new additions.

# 67b158f6 01-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Update build blue to make WITH_CLANG_EXTRAS and WITH_CLANG_FULL work.

# d28668f9 31-Jul-2018 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for new clang intrinsics headers.

# 6dfa117f 31-Jul-2018 Dimitry Andric <dim@FreeBSD.org>

Update llvm/clang version numbers in various files.

# 6f077571 04-Jul-2018 Sean Bruno <sbruno@FreeBSD.org>

WITHOUT_SERVICESDB:

Add src.conf knob to disable the installation of /var/db/services.db

Default to leaving services.db in place, but allow the removal of the
file and its creation with a src.conf knob.

This file ends up being 2MB in size. For small systems this is a waste
of space but its a tradeoff.

Reviewed by: bdrewery
Differential Revision: https://reviews.freebsd.org/D9655

# 55458465 30-Jun-2018 Dimitry Andric <dim@FreeBSD.org>

More follow-up to r335799 (llvm/clang 6.0.1 update), where I forgot to
update mtree files, ObsoleteFiles and a number of other paths. Sorry
about all the breakage.

Pointy hat to: me
MFC after: 2 weeks
X-MFC-With: r335799

# 6a75ef58 20-Jun-2018 Kyle Evans <kevans@FreeBSD.org>

Don't remove loader.conf(5) when built WITHOUT_FORTH

The new stand/ structure installs loader.conf(5) and defaults/loader.conf
regardless of interpreter. The only thing gating installation now is
MK_BOOT.

Reported by: eadler

# 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

# cd134777 12-Jun-2018 Sean Bruno <sbruno@FreeBSD.org>

WITHOUT_NLS cleanup of more empty dirs.

Reviewed by: emaste
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D15626

# a8056486 09-Jun-2018 Dimitry Andric <dim@FreeBSD.org>

Add missed libc++ entries to (Optional)ObsoleteFiles.inc

Some of these were removed during the libc++ 5.0.0 import, others were
added in the libc++ 6.0.0 import.

MFC after: 3 days

# 30dc9502 06-Jun-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Remove NLS support from BSD grep

GNU grep as in actually in base does not have any translations support
compiled in, so no functionnality loss.

We do support 193 locales in base, we will never catch up on that number of
translation with bsd grep.

Removing NLS support make bsd grep consistent with the other binaries in base
which are not translated, and also reduce a little bit the code.

Reviewed by: kevans
Approved by: kevans
Discussed with: kevans @BSDCan
Differential Revision: https://reviews.freebsd.org/D15682

# f3e32074 23-May-2018 Eitan Adler <eadler@FreeBSD.org>

Add missing file for WITH{OUT}_BSDINSTAL

PR: 227805
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>

# b70d78d6 12-May-2018 Dag-Erling Smørgrav <des@FreeBSD.org>

Rename all Unbound binaries and man pages from unbound* to local-unbound*.

PR: 222902

# 612c330d 25-Apr-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Use a script wrapper for <compress>grep

Import the wrapper script from zstdgrep (written by wiz@netbsd.org)

Modify it to support more than just zstd (adding support for gzip,
lzma, xz and bzip2)

Write a simple manpage dedicated for it.

Only use that new wrapper both for gnu grep and bsd grep

Next step will be removing code related to compression format from bsdgrep

Reviewed by: kevans
Approved by: kevans
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D15193

# a2739731 06-Feb-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Remove gdbtui, it was already not installed on every arches
only installed on arm and sparc64.
It is the only bits that keeps us having libreadline in base
The rest of gdb can be switched to libedit and will be in another
commit

# fe4fed2e 28-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, lld, lldb, compiler-rt and libc++ trunk r321545,
update build glue and version numbers, add new intrinsics headers, and
update OptionalObsoleteFiles.inc.


# c9d5cb17 24-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc again.

# 0c4684a8 23-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for new headers and libraries under
/usr/lib/clang/6.0.0.

# 9509d906 23-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Add new llvm-objcopy utility, enabled when MK_CLANG_EXTRAS=yes.

# d49fee24 20-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc.

# d4419f6f 02-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copies of clang, llvm, lldb and libc++ to r319231 from the
upstream release_50 branch. This corresponds to 5.0.1 rc2.

MFC after: 2 weeks


# 898300ee 07-Nov-2017 Alexander Motin <mav@FreeBSD.org>

s/NgSendMsgReply/NgSendReplyMsg/ in man to match the code.

Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
MFC after: 2 weeks

# 578ec783 11-Oct-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Do not try to remove diff.7 optionaly has it is always removed
since GNU diff(1) has been replaced with BSD diff(1)

# 00d78afd 11-Oct-2017 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove diff from MK_GNU_DIFF=no block

diff (and man page) are not from GNU, as of r317209, and should not be
deleted if WITHOUT_GNU_DIFF is set. (WITHOUT_GNU_DIFF still controls
whether diff3 is built.)

Sponsored by: The FreeBSD Foundation

# e415aa28 06-Oct-2017 Jeremie Le Hen <jlh@FreeBSD.org>

Remove rcmds.

If they are still needed, you can find them in the net/bsdrcmds port.

This was proposed June, 20th and approved by various committers [1].
They have been marked as deprecated on CURRENT in r320644 [2] on July, 4th.
Both stable/11 and release/11.1 contain the deprecation notice (thanks to
allanjude@).

Note that ruptime(1)/rwho(1)/rwhod(8) were initially thought to be part of
rcmds but this was a mistake and those are therefore NOT removed.

[1] https://lists.freebsd.org/pipermail/freebsd-arch/2017-June/018239.html
[2] https://svnweb.freebsd.org/base?view=revision&revision=320644

Reviewed by: bapt, brooks
Differential Revision: https://reviews.freebsd.org/D12573

# 4154e70e 14-Sep-2017 Ed Maste <emaste@FreeBSD.org>

Update OptionalObsoleteFiles.inc with NTP docs

The list of files for MK_NTP was incomplete.

PR: 218193
Submitted by: brnrd
MFC after: 1 week

# 4572fb3f 13-Sep-2017 Gordon Tetlow <gordon@FreeBSD.org>

Deorbit catman. The tradeoff of disk for performance has long since tipped
in favor of just rendering the manpage instead of relying on pre-formatted
catpages. Note, this does not impede the ability to use existing catpages,
it just removes the utility to generate them.

Reviewed by: imp, allanjude
Approved by: emaste (mentor)
Differential Revision: https://reviews.freebsd.org/D12317

# 63cd05d9 16-Aug-2017 Ed Maste <emaste@FreeBSD.org>

remove debug files in delete-old* when WITHOUT_DEBUG_FILES

Reported by: brd
Reviewed by: bdrewery, brd
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D12044

# 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

# db17bf38 10-Jun-2017 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, lld, lldb, compiler-rt and libc++ r305145, and update
build glue.


# 686fb94a 10-Jun-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r319548 through r319778.


# 738919c0 07-Jun-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Remove groff from base

All manpages in base are now compatible with mandoc(1), all roff documentation
will be relocated in the doc tree. man(1) can now use groff from the ports tree
if it needs.

Also remove checknr(1) and colcrt(1) which are only useful with groff.

Approved by: (no objections on the mailing lists)

# f9448bf3 01-Jun-2017 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, lld, lldb, compiler-rt and libc++ r304460, and update
build glue.


# d02c951f 26-May-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r318658 through r318963.


# cdc37953 25-May-2017 Baptiste Daroussin <bapt@FreeBSD.org>

In preparation for the removal of the roff toolchain, disconnect the
roff documentation from the build.

Those documents will be added to the doc tree and distributed as PDF from
the documentation website. As they are valuable has history, but do not match
current FreeBSD

Further more, the ascii format we were using to distribute them is not really
accurate for such documents.

more details:
https://lists.freebsd.org/pipermail/freebsd-arch/2017-May/018211.html

# 583b5f35 23-May-2017 Glen Barber <gjb@FreeBSD.org>

Honor WITHOUT_TFTP for check-old* and delete-old* targets.

Submitted by: philippe dot michel7 at sfr dot fr
PR: 217949
MFC after: 3 days
Sponsored by: The FreeBSD Foundation

# 27c24068 22-May-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r318560 through r318657.


# 6930ca74 21-May-2017 Dimitry Andric <dim@FreeBSD.org>

Add libc++experimental.a for std::experimental support

This adds a separate library for supporting std::experimental features.
It is purposefully static, and must be explicitly linked into programs
using -lc++experimental.

PLEASE NOTE: there is NO WARRANTY as to any stability or continuing
existence of the features in the std::experimental parts of the C++
library!

Reviewed by: ed
Differential Revision: https://reviews.freebsd.org/D10840

# 209be205 16-May-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r317971 through r318379.


# e5c4c8aa 12-May-2017 Enji Cooper <ngie@FreeBSD.org>

Handle the logfiles in newsyslog and syslogd conditionally, based on
src.conf(5) knobs

This will allow consumers of FreeBSD to use the unmodified configuration
files out of the box more than previously.

Both newsyslog.conf and syslog.conf:
- /var/log/lpd-errs (MK_LPR != no)
- /var/log/ppp.log (MK_PPP != no)
- /var/log/xferlog (MK_FTP != no)

newsyslog.conf:
- /var/log/amd.log (MK_AMD != no)
- /var/log/pflog (MK_PF != no)
- /var/log/sendmail.st (MK_SENDMAIL != no)

MFC after: 3 weeks
Sponsored by: Dell EMC Isilon

# 2cb572a0 11-May-2017 Enji Cooper <ngie@FreeBSD.org>

Unconditionally install udp(4) and udplite(4) again

I added this to the MK_USB != no block in error in r278202.

MFC after: 3 weeks
Sponsored by: Dell EMC Isilon

# 50f2b14e 09-May-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for r318103.

# af3f3602 26-Apr-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r317281 through r317502.


# b4e2ab78 25-Apr-2017 Brooks Davis <brooks@FreeBSD.org>

Remove NATM configuration bits and assorted NATM and ATM remnants.

Reported by: ak
Reviewed by: ngie (first version)
Differential Revision: https://reviews.freebsd.org/D10497

# 73ad3fb5 25-Apr-2017 John Baldwin <jhb@FreeBSD.org>

Add a new GDB_LIBEXEC option to install gdb and kgdb to /usr/libexec.

When this option is enabled, only gdb and kgdb are installed to
/usr/libexec for use by crashinfo(8). Other bits of GDB such as
gdbserver and gdbtui are not installed. For this option to be
effective, GDB must be enabled.

Rework r317094 to re-enable GDB on all platforms but enable
GDB_LIBEXEC on platforms for which the GDB in ports is a superset of
functionality.

Reviewed by: emaste, kib
Suggested by: kib
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D10449

# b3ac6549 25-Apr-2017 Glen Barber <gjb@FreeBSD.org>

Remove an incorrect MLINK for tree(3) introduced in r310728.

Reported by: many
PR: 216476
MFC after: 3 days
Sponsored by: The FreeBSD Foundation

# 12ea3078 25-Apr-2017 John Baldwin <jhb@FreeBSD.org>

Remove info files from optional old files.

Info files are now all removed unconditionally after the removal of
texinfo.

MFC after: 1 week

# 554491ff 20-Apr-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r316992 through r317215.


# 50502545 20-Apr-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Readd Big5: some large databases setup are still requiring it.

Reported by: "張君天(Chun-Tien Chang)" <tcs@kitty.2y.idv.tw>

# f849be8a 16-Apr-2017 Dimitry Andric <dim@FreeBSD.org>

Add preliminary UPDATING and ObsoleteFiles.inc entries. Also add one
new intrinsics header.

# 2f4a7332 14-Apr-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionally install /etc/pam.d/ftp* and /etc/pam.d/telnetd

/etc/pam.d/ftp* should be installed with MK_FTP != no and
/etc/pam.d/telnetd should be installed when MK_TELNET != no.

MFC after: 7 weeks
Sponsored by: Dell EMC Isilon

# ababdab0 19-Mar-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Remove zh_TW.Big5 locale

After discussion with many Taiwanese, in IT or not. Big5 is not used anymore.
It is not able to represent lots of the characters used in the language.

# 2aadc44a 14-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Redirect standard error from find /rescue to /dev/null

This mutes noise from find when /rescue doesn't exist.

MFC after: 1 week
Sponsored by: Dell EMC Isilon

# 83684150 11-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Remove /rescue/zdb if MK_ZFS == no

Missed in r202452.

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# 4ab40004 11-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionally compile [additional] programs into rescue(8) if requested

Trivial oversight missed in r314240 cleanup because I enable these knobs on
my test machines.

MK_INET6_SUPPORT - rtsol
MK_NETCAT - nc

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# a1437e83 11-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Remove /rescue/iscsictl and /rescue/iscsid if MK_ISCSI == no

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# 97ab006d 10-Mar-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Remove the WITHOUT_MANDOCDB option

mandoc database is activated since FreeBSD 11.0, let's remove the previous
database format for FreeBSD 12.0

# d630701f 25-Feb-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r314178 through r314269.


# edb4a773 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Fill MK_LIBTHR as far as lib/libthr is concerned

There are other areas of the tree that will need to be evaluated for sanity
if they're supposed to be conditionally compiled out of the build/install,
like libzpool

MFC after: 1 month
Relnotes: yes (this might break someone's system if have the knob set)
Sponsored by: Dell EMC Isilon

# dc53eebd 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Remove MK_OBJC block

It is no longer represented via src.conf(5)

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# 31c3fb77 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Remove MK_CRYPT stub

It doesn't directly control what gets installed today; it indirectly
pulls other knobs (like MK_KERBEROS, etc).

MFC after: 1 weeks
Sponsored by: Dell EMC Isilon

# f0e14055 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Fill in MK_RESCUE by finding paths in ${DESTDIR}/rescue and adding
them to OLD_FILES/OLD_DIRS, as necessary.

MFC after: 1 month
Sponsored by: Dell EMC Isilon

# 5673173e 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionally compile certain programs into rescue(8) if requested

MK_CCD - ccdconfig
MK_ROUTED - routed, rtquery

MFC after: 2 weeks
Sponsored by: Dell EMC Isilon

# a3906ca5 17-Feb-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r313644 through r313895.


# 9264dd40 17-Feb-2017 Sean Bruno <sbruno@FreeBSD.org>

Update OLD_DIRS for various targets so that some of the branches of
directories are pruned when the appropriate knobs are turned.

Specifically, turning off bsdconfig, locales, examples, i18n, man,
ntp, syscons. It may not seem like a lot, but it helps when trying
to keep an x86 image under 96MB for MFSRoot netbooting.

Reviewed by: ngie
Differential Revision: https://reviews.freebsd.org/D9558

# 65575c14 29-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r312894 through r312967.


# 2b375b4e 27-Jan-2017 Yoshihiro Takahashi <nyan@FreeBSD.org>

Remove pc98 support completely.
I thank all developers and contributors for pc98.

Relnotes: yes

# 2dd1186c 27-Jan-2017 Ed Maste <emaste@FreeBSD.org>

Rename LLD_AS_LD to LLD_IS_LD, for consistency with CLANG_IS_CC

An additional case missed in r312855

# ca4fe588 27-Jan-2017 Ed Maste <emaste@FreeBSD.org>

Additional LD_AS_LLD -> LD_IS_LLD missed in r312894/r312895

# 80779b37 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge libc++ trunk r291476, update Makefile, ObsoleteFiles.inc and
OptionalObsoleteFiles.inc.


# 7b173dd6 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Add additional libc++ 4.0.0 headers.

# b0cc56ed 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r311692 through r311807.


# 0219a006 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Add recently added libc++ headers to OptionalObsoleteFiles.inc.

MFC after: 3 days

# 69415bc5 08-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r311546 through r311683.


# dc6e1047 06-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Link llvm-ar to llvm-ranlib, if WITH_CLANG_EXTRAS is enabled. When
invoked as llvm-ranlib, it can create an archive symbol table for
archives of objects compiled for LTO by an LLVM compiler.

Submitted by: Dan McGregor <danismostlikely@gmail.com>
MFC after: 3 days

# d8c03e73 04-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r311306 through r311313.


# 4c3d1ae2 04-Jan-2017 Jung-uk Kim <jkim@FreeBSD.org>

Remove llvm-objdump when Clang is disabled. It was missed in r310889.

Submitted by: dim

# 281264c5 04-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Add new llvm-{cxxfilt,lto2,modextract,xray} tools.

# 56e860c0 03-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc.

# cfd05404 31-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install bsnmpclient(3) as snmp_client_{init,set_host,set_port}(3)

MFC after: 3 days
X-MFC with: r310999

# a2795311 30-Dec-2016 Jung-uk Kim <jkim@FreeBSD.org>

Do not remove llvm-objdump. It is installed by default since r310840.

# 027e6861 28-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install {asn1,bsnmpagent,bsnmpclient,bsnmplib}.3 as all of the APIs
they document

Also, alphabetically sort MAN

MFC after: 3 days

# fdf6944b 28-Dec-2016 Andriy Voskoboinyk <avos@FreeBSD.org>

rum.4, run.4, runfw.4, zyd.4: do not install when MK_USB == no.

While here, add missing if_rtwn_usb.4.gz symlink into
OptionalObsoleteFiles.inc

# 4568bf74 27-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Only build/install usr.sbin/bsnmpd/modules/snmp_hast if MK_HAST != no

MFC after: 1 week

# 38bf4fd7 27-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Only build/install usr.sbin/bsnmpd/modules/snmp_wlan if MK_WIRELESS != no

MFC after: 1 week

# f66b889d 27-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install snmpmod.3 as all of the bsnmpd APIs it documents

MFC after: 3 days

# 7a53f9a7 17-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r310169 through r310190.


# 9e373074 16-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Remove lib/libelf's manpages if MK_TOOLCHAIN == no

Add a comment to help figure out which set is lib/libelf's and which set
is lib/libelftc's

MFC after: 1 week

# 4cc3366d 16-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install the lib/libelftc manpages

Some other manpages, e.g. c++filt reference these

MFC after: 1 week

# 5b18539f 10-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r309758 through r309803.


# 1a4604e3 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_FINGER in src.conf when running make delete-old

PR: 213719
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# bdc5a216 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_BOOTPD in src.conf when running make delete-old

PR: 213720
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# 06af16fb 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_BOOTPARAMD in src.conf when running make delete-old

PR: 213721
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# 53a04062 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_RBOOTD in src.conf when running make delete-old

PR: 213722
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# 87ac01ca 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Also remove auditdistd files if src.conf has WITHOUT_AUDIT

PR: 213723
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# 0c421ffe 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Add entries to remove timed files with make delete-old if WITHOUT_TIMED is set

PR: 213724
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# beced2ea 09-Dec-2016 Ed Maste <emaste@FreeBSD.org>

Keep /usr/bin/ld for WITHOUT_BINUTILS but WITH_LLD_AS_LD

Reported by: Nikolai Lifanov

# 1bde3b70 09-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r309519 through r309757.


# 8d4ddada 05-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Remove svn[lite]{bench,fsfs} if either MK_SVN == no or MK_SVNLITE == no

MFC after: 1 week

# 5042637b 02-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Update build glue for clang 3.9.1 r288513.

# d6d16831 27-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r309170 through r309212.


# 6908adc3 27-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Add a few missed clang 3.9.0 files to OptionalObsoleteFiles.

X-MFC-With: 309149

# 45bd65d6 25-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Add UPDATING entry and update ObsoleteFiles.inc.

# 02ebdc78 31-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r307736 through r308146.


# 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

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

Do not install NIS program rc script if WITHOUT_NIS is set

PR: 213375
Submitted by: sergey@akhmatov.ru
MFC after: 3 days

# 5763f796 21-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r307383 through r307735.


# 547d4caa 21-Oct-2016 Enji Cooper <ngie@FreeBSD.org>

Remove /usr/libexec/bsdinstall/hardening if MK_BSDINSTALL == no

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# 94ff3d03 20-Oct-2016 Ed Maste <emaste@FreeBSD.org>

Add knobs to make GNU diff and GNU grep optional

This is added to facilitate experiments building FreeBSD without
copyleft software.

If WITHOUT_GNU_DIFF is set no /usr/bin/diff or /usr/bin/diff3 will
be built.

If WITHOUT_GNU_GREP is set then BSD grep will be installed as
/usr/bin/bsdgrep or /usr/bin/grep, depending on the WITH_BSD_GREP
knob.

Reviewed by: brooks (earlier)
Sponsored by: The FreeBSD Foundation
Differential Revision: Differential Revision: https://reviews.freebsd.org/D8288

# 7453645f 17-Oct-2016 Andriy Voskoboinyk <avos@FreeBSD.org>

rtwn(4), urtwn(4): merge common code, add support for 11ac devices.

All devices:
- add support for rate adaptation via ieee80211_amrr(9);
- use short preamble for transmitted frames when needed;
- multi-bss support:
* for RTL8821AU: 2 VAPs at the same time;
* other: 1 any VAP + 1 sta VAP.
RTL8188CE:
- fix IQ calibration bug (reason of significant speed degradation);
- add h/w crypto acceleration support.
USB:
- A-MPDU Tx support;
- short GI support;
Other:
- add support for RTL8812AU / RTL8821AU chipsets
(a/b/g/n only; no ac yet);
- split merged code into subparts:
* bus glue (usb/*, pci/*, rtl*/usb/*, rtl*/pci/*)
* common (if_rtwn*)
* chip-specific (rtl*/*)
- various other bugfixes.

Due to code reorganization, module names / requirements were changed too:
urtwn urtwnfw -> rtwn rtwn_usb rtwnfw
rtwn rtwnfw -> rtwn rtwn_pci rtwnfw

Tested with RTL8188CE, RTL8188CUS, RTL8188EU and RTL8821AU.

Tested by: kevlo, garga,
Peter Garshtja <peter.garshtja@ambient-md.com>,
Kevin McAleavey <kevin.mcaleavey@knosproject.com>,
Ilias-Dimitrios Vrachnis <id@vrachnis.com>,
<otacilio.neto@bsd.com.br>
Relnotes: yes

# a0e610c4 15-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r306906 through r307382.


# a0135a1e 14-Oct-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Remove GNU rcs from base.

GNU rcs is still available as a package:
- rcs: Latest GPLv3 GNU rcs version.
- rcs57: Copy of the latest version of GNU rcs (GPLv2) from base.

Relnotes: yes

# bba922dd 13-Oct-2016 Enji Cooper <ngie@FreeBSD.org>

Also, remove etc/rc.d/zfsbe when MK_ZFS == no

X-MFC with: r307182, r307191
Sponsored by: Dell EMC Isilon

# f884b59d 10-Oct-2016 Ed Maste <emaste@FreeBSD.org>

Remove old makewhatis(1) man page when using mandoc

mandoc installs makewhatis(8)

# 242b2482 09-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r306412 through r306905.


# 9ce3c6b0 03-Oct-2016 Ed Maste <emaste@FreeBSD.org>

Retire WITHOUT_ELFCOPY_AS_OBJCOPY option

In FreeBSD 11 ELF Tool Chain's elfcopy is installed as objcopy by
default, with the option to switch back to GNU objcopy by setting
WITHOUT_ELFCOPY_AS_OBJCOPY in make.conf.

We plan to remove the outdated in-tree binutils in FreeBSD 12, so
remove the temporary transition aid.

Reviewed by: brooks, imp
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D7337

# 335bcabe 28-Sep-2016 Ed Maste <emaste@FreeBSD.org>

Merge ^/head r306303 through 306411.


# 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

# dd792b9c 07-Sep-2016 Ed Maste <emaste@FreeBSD.org>

Add ld.lld to OptionalObsoleteFiles

# dd6675fd 02-Sep-2016 Dimitry Andric <dim@FreeBSD.org>

Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc.

# 09b9789b 19-Aug-2016 John Baldwin <jhb@FreeBSD.org>

Remove the wl(4) driver and wlconfig(8) utility.

The wl(4) driver supports pre-802.11 PCCard wireless adapters that
are slower than 802.11b. They do not work with any of the 802.11
framework and the driver hasn't been reported to actually work in a
long time.

Relnotes: yes

# 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

# bd4dcc3e 22-Jul-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Move chown tests to proper path

Sponsored by: EMC / Isilon Storage Division

# d39abb6f 03-Jul-2016 Enji Cooper <ngie@FreeBSD.org>

Remove ftp(1) related files when MK_FTP == no

Approved by: re (gjb)
Differential Revision: https://reviews.freebsd.org/D6969
MFC after: 1 week
Reviewed by: ngie
Submitted by: rakuco
Sponsored by: EMC / Isilon Storage Division

# 3cf6509d 03-Jul-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Posixify the locales name for variants

For all locales with variants:
- if no ambiguity on the locale (only one variant) just use the regular name
- if ambiguity, pick one as default and append @<variant> to the others
respecting POSIX

As a result:
- All the 3 components locales added recently are renamed to the usual 2
components version for all but sr_RS.UTF-8
- Set sr_RS.UTF-8 to the cyrillic variant
- Add sr_RS.UTF-8@latin
- Remove the symlinks aliases they were created to represent the 2 components
version as aliasas and are now useless
- Update the OptionalObsoleteFiles.inc and ObsoleteFiles.inc to reflect those
changes

Discussed with: ache@
Approved by: re@ (gjb)

# bc2abcfd 17-Jun-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Add clang-format under WITH_CLANG_EXTRAS.

Reviewed by: dim
Approved by: re (gjb)
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D6856

# 328e4174 08-Jun-2016 Dag-Erling Smørgrav <des@FreeBSD.org>

Replace _pam_verbose_error() with a macro. This was the last difference
between our libpam and stock OpenPAM, meaning that it is now possible to
replace the base libpam with a hypothetical ports version of OpenPAM.

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

Separate BLACKLIST vs BLACKLIST_SUPPORT properly

Sponsored by: The FreeBSD Foundation

# bccb3f5a 04-Jun-2016 Kurt Lidl <lidl@FreeBSD.org>

Correct path for blacklistd.conf in OptionalObsoleteFiles.inc

Fix typo made when adding the blacklistd.conf file to OptionalObsoleteFiles.inc

Submitted by: Herbert J. Skuhra ( herbert at mailbox.org )
Reviewed by: rpaulo
Approved by: rpaulo
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6715

# 0871a7d5 03-Jun-2016 Kurt Lidl <lidl@FreeBSD.org>

Add blacklistd.conf manpage

Install the blacklistd.conf man page, missed in the original commit.

Submitted by: Herbert J. Skuhra ( herbert at mailbox.org )
Reviewed by: rpaulo
Approved by: rpaulo
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6702

# 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

# d9082519 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove yacc and the yacc tests if MK_TOOLCHAIN == no

yacc's install is conditional based on MK_TOOLCHAIN != no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 5c46b734 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove the sa(8) tests if MK_ACCT == no when "make delete-old" is run

sa(8) is conditionally installed based on MK_ACCT != no today

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 36873e79 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove the etcupdate tests if MK_RCS == no when "make delete-old" is run

etcupdate is conditionally installed based on MK_RCS != no today

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# a058bc90 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove the calendar tests if MK_CALENDAR == no when "make delete-old"
is run

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 904bea83 14-May-2016 Enji Cooper <ngie@FreeBSD.org>

Conditionalize installing etc/rc.d/atm{1,2,3}

`BEFORE: netif` was already in etc/rc.d/atm1, so no additional changes
are needed in that script

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

# fbee792a 14-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove etc/rc.d/{zfs,zvol} if MK_ZFS != no

MFC after: 2 weeks
X-MFC with: r299840
Sponsored by: EMC / Isilon Storage Division

# 9941801f 06-May-2016 Enji Cooper <ngie@FreeBSD.org>

Only install etc/rc.d/{rfcomm_pppd_server,sdpd} if MK_BLUETOOTH != no

These are bluetooth specific services

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 9c613777 06-May-2016 Enji Cooper <ngie@FreeBSD.org>

Fix r299162

share/man/man8/Makefile:
- Add src.opts.mk so MK_NIS can be tested
- Fix typo in MK_NIS conditional

tools/build/mk/OptionalObsoleteFiles.inc:
- Remove WIP diff from ^/user/ngie/detangle-rc

MFC after: 1 week
X-MFC with: r299162
Sponsored by: EMC / Isilon Storage Division

# 18128d28 06-May-2016 Enji Cooper <ngie@FreeBSD.org>

Only install NIS section 8 manpages if MK_NIS != no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 2353cc3d 16-Apr-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Complete the Obsoletefiles entries

# 110cf8a6 16-Apr-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Regenerates locales Makefiles and locales

# 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

# 9893f787 21-Feb-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r295601 through r295844.


# 156e1855 19-Feb-2016 Ed Maste <emaste@FreeBSD.org>

Remove objcopy in WITHOUT_TOOLCHAIN if it's from elftoolchain

# 4156ce4f 11-Feb-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r295351 through r295543.


# 8232a681 11-Feb-2016 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove unbound-contrl-setup since we use a local control socket which
does not require keys.

MFC after: 3 days
Relnotes: yes

# b229c1a0 08-Jan-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r293280 through r293429.


# f5b4d341 07-Jan-2016 Renato Botelho <garga@FreeBSD.org>

Obsolete inetd related files when WITHOUT_INETD is set

Reviewed by: bapt
Approved by: gnn
MFC after: 1 week
Sponsored by: Rubiconn Communications (Netgate)
Differential Revision: https://reviews.freebsd.org/D4742

# f3304b8d 06-Jan-2016 Dimitry Andric <dim@FreeBSD.org>

Add new pkuintrin.h intrinsics header.

# 34cdd776 31-Dec-2015 Dimitry Andric <dim@FreeBSD.org>

First part of updating llvm/clang build glue: getting llvm-tblgen,
clang-tblgen and clang itself built.

# 802df53c 30-Dec-2015 Dimitry Andric <dim@FreeBSD.org>

Update various build glue files for the new llvm/clang version number.

# 9a4b3118 25-Dec-2015 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copies of clang and llvm to 3.7.1 release. This is a
bugfix-only release, with no new features.

Please note that from 3.5.0 onwards, clang and llvm require C++11
support to build; see UPDATING for more information.


# e7beaf99 23-Dec-2015 Ed Maste <emaste@FreeBSD.org>

Install ld also as ld.bfd, for use with cc -fuse-ld=bfd

PR: 205409 [exp-run]
MFC after: 1 week
Relnotes: Yes
Sponsored by: The FreeBSD Foundation

# a2acf602 16-Dec-2015 Ed Maste <emaste@FreeBSD.org>

Remove lldb(1) files if WITHOUT_LLDB is set

Sponsored by: The FreeBSD Foundation

# a9dfc956 01-Dec-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Fully connect cddl/usr.sbin/plockstat.

There seems to be no reason to keep this so private.

Also add missing optional MK_CDDL files.

Sponsored by: EMC / Isilon Storage Division

# 85ab8f98 29-Nov-2015 Dimitry Andric <dim@FreeBSD.org>

Install the public sanitizer headers. These are useful for programs
that want to directly interface with sanitizer internals.

# 1d211085 15-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Bring back a couple of ISO8859-15 locales:
- af_ZA.ISO8859-15
- en_AU.ISO8859-15
- en_CA.ISO8859-15
- en_NZ.ISO8859-15
- en_US.ISO8859-15
- fr_CA.ISO8859-15

# 0dc64c20 15-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Remove trailing spaces at end of lines

# 99b47c3c 15-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Update the list of files to be removed in case world is built WITHOUT_LOCALES

# 44642b54 10-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

- Move ng_bluetooth.4 under MK_BLUETOOTH != no
- Move all section 5 bluetooth manpages under MK_BLUETOOTH != no

MFC after: 3 days
PR: 193260
Reported by: Philippe Michel <philippe.michel7@sfr.fr>
Sponsored by: EMC / Isilon Storage Division

# 07fa68d6 07-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Catchup with latest changes for ObsoleteFiles in case base is built using
WITHOUT_LOCALE knob

# 3e4f384e 07-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from head r290483


# 2a923f8f 01-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

Rename etc/periodic/daily/430.status-rwho to periodic/daily/430.status-uptime

The command was checking local/remote system uptime, so rename the script to
match its function and to avoid confusion

The controlling variable in /etc/periodic.conf has been renamed from
daily_status_rwho_enable to daily_status_uptime_enable.

MFC after: 3 days
Reported by: Peter Jeremy <peter@rulingia.com>
Relnotes: yes
Sponsored by: EMC / Isilon Storage Division

# 55972acf 01-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

Conditionally install (if_)?(otus|rsu).4, otusfw.4, rsufw.4, and urtwn.4 if
MK_USB != no

Add the manpages to OptionalObsoleteFiles.inc

As a side-effect, this also fixes installworld with MK_USB == no

X-MFC with: r290128
Sponsored by: EMC / Isilon Storage Division

# 3c3feed4 01-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from head


# 567be5c2 24-Oct-2015 Enji Cooper <ngie@FreeBSD.org>

Add libvmmapi to OptionalObsoleteFiles.inc when MK_BHYVE == no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 74c52c65 20-Oct-2015 Julio Merino <jmmv@FreeBSD.org>

Handle lib32 files during delete-old* when MK_LIB32=no.

Extend OptionalObsoleteFiles.inc to delete all lib32 files when MK_LIB32 is
set to no on a system that previously had lib32 libraries installed.

Also, to prevent "make delete-old-dirs" from always deleting lib32 directories
after an installworld, move the lib32 subtree to its own mtree file that only
gets applied when MK_LIB32=yes.

Test: Ran "make delete-old" and "make delete-old-libs" on a system that never
had MK_LIB32 enabled, and on a system where MK_LIB32 was enabled and later
disabled. Did this both on amd64 and powerpc64.

Test: Ran "make tinderbox" without errors.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D3923

# becbad1f 13-Oct-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from head


# 65dcb5bc 01-Oct-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r288197 through r288456.


# 9875367b 27-Sep-2015 Andriy Gapon <avg@FreeBSD.org>

remove unused sgsmsg utility (originally imported from opensolaris)

MFC after: 25 days

# 1e066951 25-Sep-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Add missing binutils ldscripts.

Some of these are after the fix in r288230 to install them.

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

# 26e065d0 22-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r288035 through r288099.


# f7d9215f 20-Sep-2015 Enji Cooper <ngie@FreeBSD.org>

Delete /etc/autofs/special_noauto when MK_AUTOFS == no

MFC after: 1 week

# b1fa820d 20-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Don't install Intrin.h, as this is an intrinsics header for Windows.

# 854fa44b 16-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Update libc++ to 3.7.0 release.


# b6c25e0e 06-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Update llvm, clang and lldb to 3.7.0 release.


# 23a32822 25-Aug-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from HEAD


# 6fdf637e 17-Aug-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r286697 through r286857.


# 55f80482 13-Aug-2015 Antoine Brodin <antoine@FreeBSD.org>

Stop removing ELF toolchain tools

# 1bc28ffc 13-Aug-2015 Ed Maste <emaste@FreeBSD.org>

Roll WITHOUT_ELFTOOLCHAIN_TOOLS into WITHOUT_TOOLCHAIN

The option was added only to ease the transition from GNU Binutils to
ELF Tool Chain tools, and that process is now complete (for the viable
replacements). Noting the removal in UPDATING is sufficient as we have
not shipped a release with the option.

Reviewed by: brooks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3240

# f98ee844 12-Aug-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r286422 through r286684.


# 53d2ddb3 11-Aug-2015 Julio Merino <jmmv@FreeBSD.org>

Mark usr/include/c++/v1/tr1 as obsolete

The directory usr/include/c++/v1 was marked as obsolete but its tr1 subdir
was not, resulting in a removal error in delete-old.

# e2ff105a 09-Aug-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Update Obsolete files in case MK_LOCALE=no

# b8a1f275 08-Aug-2015 Renato Botelho <garga@FreeBSD.org>

Add missing files to sendmail obsolete files list

Approved by: gshapiro
MFC after: 3 days
Sponsored by: Netgate
Differential Revision: https://reviews.freebsd.org/D3302

# 1347814c 07-Aug-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r285924 through r286421.


# f97aa232 05-Aug-2015 Ed Maste <emaste@FreeBSD.org>

Remove old GNU Binutils tools now provided by ELF Tool Chain

Reviewed by: bapt, brooks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3238

# b43cca13 29-Jul-2015 Ed Maste <emaste@FreeBSD.org>

MK_ELFCOPY_AS_OBJCOPY should be a variable

PR: 201978
Submitted by: O. Hartmann
Differential Revision: https://reviews.freebsd.org/D2887

# 5ea9e83e 29-Jul-2015 Ed Maste <emaste@FreeBSD.org>

Allow ELF Tool Chain elfcopy to be installed as objcopy

ELF Tool Chain elfcopy is nearly a drop-in replacement for GNU objcopy,
but does not currently support PE output which is needed for building
x86 UEFI bits.

Add a src.conf knob to allow installing it as objcopy and set it by
default for aarch64 only, where we don't have a native binutils.

Reviewed by: bapt
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2887

# 2d83b16b 29-Jul-2015 Ed Maste <emaste@FreeBSD.org>

Update OLD_FILES for tools provided by ELF Tool Chain or Binutils

Sponsored by: The FreeBSD Foundation

# 5f78ec1c 27-Jul-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r285793 through r285923.


# c048a83f 26-Jul-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Replace GNU RCS ident with a BSD license ident

Rationale: ident(1) is useful out of RCS, lot of scripts are using ident(1) and
failing when base is built WITHOUT_RCS.

This version is:
- fully compatible with RCS 5.7 ident.
- fully compatible with RCS 5.9 ident.
- passes all ident test from GNU RCS 5.9 test suite

This version has support for: svn extension for the Keyword id (double colon and
# before last $)

Différences with GNU RCS ident:
- no long options as found in GNU RCS 5.9 (but not commented there).
- '-V' reports nothing but has been added for compatibility.

Differential Revision: https://reviews.freebsd.org/D3200
Reviewed by: pfg

# 8d0f1085 22-Jul-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r285341 through r285792.


# 96a59ba2 15-Jul-2015 Andrey A. Chernov <ache@FreeBSD.org>

Comment out usr/sbin/mailwrapper removal
because for no mailwrapper case we have:
/usr/sbin/sendmail -> /usr/sbin/mailwrapper
/usr/sbin/mailwrapper -> /usr/libexec/sendmail/sendmail
Add comment explaining it.

# 3dac3a9b 05-Jul-2015 Dimitry Andric <dim@FreeBSD.org>

Update llvm/clang to r241361.


# cc38b640 23-Jun-2015 Dimitry Andric <dim@FreeBSD.org>

Update llvm/clang build glue.

# 76aeda8a 20-Jun-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r284188 through r284643.


# 62a996ed 20-Jun-2015 Antoine Brodin <antoine@FreeBSD.org>

Add more obsolete files

# 78fa96c2 20-Jun-2015 Antoine Brodin <antoine@FreeBSD.org>

Add some files to remove when MK_BSD_GREP=no

# e2dd1974 17-Jun-2015 Baptiste Daroussin <bapt@FreeBSD.org>

The build and installation of rmail(8) is only related to the SENDMAIL option

# 15953005 17-Jun-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Do not remove mailwrapper(8) in case WITHOUT_SENDMAIL is used

It is required for other tools in base and/or ports like dma(8) or any MTA
available in ports. It is also build and installed anyway even if world is built
WITHOUT_SENDMAIL

# 6b02d180 30-May-2015 Dimitry Andric <dim@FreeBSD.org>

Restore an accidentally deleted .endif.

# ebeff3f9 30-May-2015 Dimitry Andric <dim@FreeBSD.org>

Update Makefiles and other build glue for llvm/clang 3.7.0, as of trunk
r238337.

# ef6fa9e2 25-May-2015 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of clang and llvm to 3.6.1 release.

This release contains the following cherry-picked revisions from
upstream trunk:

226124 226151 226164 226165 226166 226407 226408 226409 226652
226905 226983 227084 227087 227089 227208 227209 227210 227211
227212 227213 227214 227269 227430 227482 227503 227519 227574
227822 227986 227987 227988 227989 227990 228037 228038 228039
228040 228188 228189 228190 228273 228372 228373 228374 228403
228765 228848 228918 229223 229225 229226 229227 229228 229230
229234 229235 229236 229238 229239 229413 229507 229680 229750
229751 229752 229911 230146 230147 230235 230253 230255 230469
230500 230564 230603 230657 230742 230748 230956 231219 231237
231245 231259 231280 231451 231563 231601 231658 231659 231662
231984 231986 232046 232085 232142 232176 232179 232189 232382
232386 232389 232425 232438 232443 232675 232786 232797 232943
232957 233075 233080 233351 233353 233409 233410 233508 233584
233819 233904 234629 234636 234891 234975 234977 235524 235641
235662 235931 236099 236306 236307

Please note that from 3.5.0 onwards, clang and llvm require C++11
support to build; see UPDATING for more information.


# 9c36af58 21-May-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Mark libgomp.so.1 as an old lib not an old file

# 800eeabd 20-May-2015 Enji Cooper <ngie@FreeBSD.org>

Remove usr/share/dtrace/{tcpconn,tcpstate,tcptrack,udptrack} if MK_CDDL == no

Sponsored by: EMC / Isilon Storage Division

# d485dbc7 18-May-2015 Ed Maste <emaste@FreeBSD.org>

Build libgcov only if we're building base system GCC

Clang uses compiler-rt for the code coverage runtime, and ports GCC
provides its own libgcov.

PR: 200203 (exp-run)
Sponsored by: The FreeBSD Foundation

# 810d5b34 15-May-2015 Ed Maste <emaste@FreeBSD.org>

Build libgomp only if we're also building base system GCC

Clang's OpenMP support will emit Intel OpenMP API library calls,
and will therefore require libiomp (or whatever name is settled on).
An up-to-date version of libgomp is included in ports or pkg GCC.
Thus, there is no reason to build base libgomp without base system GCC.

PR: 199979 (exp-run)
Reviewed by: pfg
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2459

# 56af72b1 06-May-2015 Ed Maste <emaste@FreeBSD.org>

Fix make delete-old for gperf and GCC/CXX options

- Optional components go in OptionalObsoleteFiles
- Move gperf removal to be based on MK_GCC only, not MK_CXX and MK_GCC

Reviewed by: imp, sbruno
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2421

# 363da138 01-May-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Replace groff's soelim by soeliminate(1) renamed soelim(1)

# 45cf4a7c 01-May-2015 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: don't remove c++filt when using ELF Tool Chain

c++filt is listed here twice, for MK_CXX == no and MK_GCC == no, but
r282285 only caught one of them.

# 0a06cffc 30-Apr-2015 Ed Maste <emaste@FreeBSD.org>

Add ELF Tool Chain's c++filt to the build

Differential Revision: https://reviews.freebsd.org/D2408
Reviewed by: brooks, imp
Sponsored by: The FreeBSD Foundation

# 1382ef3d 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_ZONEINFO == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 587291d9 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TESTS_SUPPORT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# a6d0a667 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_LEGACY_CONSOLE == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# d6c95721 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_KERBEROS_SUPPORT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# eb6edb77 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_KDUMP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 659854cd 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_JAIL == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 992cc53e 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_CASPER == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 9c793fa8 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_INET6 == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 0c11ad65 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_FORTH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# ca65be80 04-Mar-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r279313 through r279595.


# ffb67907 02-Mar-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Remove gperf(7) if gperf is not installed

# 9ddafbe2 02-Mar-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Install manpage version of texinfo documentation for binutils

# 9b2a0d91 22-Feb-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r279023 through r279162.


# 9cb8ba56 22-Feb-2015 Colin Percival <cperciva@FreeBSD.org>

Step 2 of eliminating the "games" distribution: Remove punch card
utilities.

I was originally planning on removing the phase-of-moon (pom), clock
(grdc), and caesar cipher (caesar, rot13) utilities as well, but after
I committed r278616 I received an astonishing volume of email informing
me that those are still being widely used. Much to my relief, nobody
reported continuing to use the punch card utilities in production.

The final step will be to merge src/games into src/usr.bin.

This change will not be MFCed.

# 569e61a4 14-Feb-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r278499 through r278755.


# 11d9aa67 11-Feb-2015 Colin Percival <cperciva@FreeBSD.org>

Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;
update paths; and include everything in the "base" distribution.

The "games" distribution being optional made sense when there were more
games and we had small disks; but the "games-like" games were moved into
the ports tree a dozen years ago and the remaining "utility-like" games
occupy less than 0.001% of my laptop's small hard drive. Meanwhile every
new user is confronted by the question "do you want games installed" when
they they try to install FreeBSD.

The next steps will be:

2. Removing punch card (bcd, ppt), phase-of-moon (pom), clock (grdc), and
caesar cipher (caesar, rot13) utilities. I intend to keep fortune, factor,
morse, number, primes, and random, since there is evidence that those are
still being used.

3. Merging src/games into src/usr.bin.

This change will not be MFCed.

Reviewed by: jmg
Discussed at: EuroBSDCon
Approved by: gjb (release-affecting changes)

# a403ab7f 04-Feb-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r278110 through r278223.


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

Clean up more usb related files when MK_USB == no when dealing with
manpages, libraries, and binaries

MFC after: 1 week
X-MFC with: r278135
Sponsored by: EMC / Isilon Storage Division


# 04c5a27b 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_USB == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 1dc6769d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_UNBOUND == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# e5f6569b 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TEXTPROC == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# aee4d21d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TESTS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# fed7ef16 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TCSH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 3f13cb12 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_SYSCONS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 14e319f2 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_SSP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 1d706ec4 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_QUOTAS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 61c40359 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_PORTSNAP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 7a713cea 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_PMC == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 71795a01 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_PF == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 3f72f932 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_OPENSSH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 73ee00ce 02-Feb-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r278005 through r278109.


# 5bed16de 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NTP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# ed809ca8 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NS_CACHING == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 90539b6f 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NLS_CATALOGS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 422e74ae 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NLS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# e50d77e5 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NETGRAPH_SUPPORT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# fe8f6c3e 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NETGRAPH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# e5c3781d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAN_UTILS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# ddef0324 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAN == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 426d5303 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAKE == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 2f3a10e5 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAIL == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 1b41fa7d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_LOCALES == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 4f190535 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_LIBCPLUSPLUS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# d956da53 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_HTML == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 6031355d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_GROFF == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 28be4ba8 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_GPIO == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# cf8028f3 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_DMAGENT == no and move the chunk into its alphabetical place

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# ee4d0fce 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BSNMP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 70fffb2e 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BSD_CPIO == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 8af1079d 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BOOT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# f594efed 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BLUETOOTH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# c88fc3e4 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BINUTILS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 8179004e 26-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r277719 through 277776.


# 6ce3ca64 26-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Update other build glue: ObsoleteFiles.inc, UPDATING, mtree files, and
OptionalObsoleteFiles.inc.

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

Respect MK_KERBEROS with etc/rc.d/ipropd_master and etc/rc.d/ipropd_slave

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

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

Honor MK_WIRELESS with etc/rc.d/hostapd and etc/rc.d/wpa_supplicant

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_JAIL with etc/rc.d/jail

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_BLUETOOTH with etc/defaults/bluetooth.device.conf

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_ACCT with etc/pam.d/atrun

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

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

Honor MK_ACCT with etc/rc.d/accounting

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

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

Honor MK_AMD with etc/rc.d/amd

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_API in etc/rc.d

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_LPR with etc/rc.d/lpd

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_ACPI in etc/devd and etc/rc.d

MFC after: 1 week
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

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

Add MK_BHYVE knob for building and installing bhyve(4), et al

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

# 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

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

Build lib/libgpio if MK_GPIO != no

Fill in corresponding entries for MK_GPIO == no in OptionalObsoleteFiles.inc

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

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

Fill in entries for MK_BSNMP == no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Fill in some dtrace entries when MK_CDDL == no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Fill in entries for MK_CUSE == no

MFC after: 1 week
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

# 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

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

Add MK_TALK knob for building the talk and talkd

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

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

Add MK_EE knob to control installing edit, ee, etc

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

# 9cac79b3 18-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of clang and llvm to 3.5.1 release. This is a bugfix
only release, no new features have been added.

Please note that this version requires C++11 support to build; see
UPDATING for more information.

Release notes for llvm and clang can be found here:
<http://llvm.org/releases/3.5.1/docs/ReleaseNotes.html>
<http://llvm.org/releases/3.5.1/tools/clang/docs/ReleaseNotes.html>

MFC after: 1 month
X-MFC-With: 276479


# 8028b78d 13-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Connect libclang_rt to the build, for specific architectures. This
contains the libraries for Address Sanitizer (asan), Undefined Behavior
Sanitizer (ubsan) and Profile Guided Optimization.

ASan is a fast memory error detector. It can detect the following types
of bugs:

Out-of-bounds accesses to heap, stack and globals
Use-after-free
Use-after-return (to some extent)
Double-free, invalid free
Memory leaks (experimental)

Typical slowdown introduced by AddressSanitizer is 2x.

UBSan is a fast and compatible undefined behavior checker. It enables a
number of undefined behavior checks that have small runtime cost and no
impact on address space layout or ABI.

PLEASE NOTE: the sanitizers still have some rough edges on FreeBSD,
particularly on i386. These will hopefully be smoothed out in the
coming time.

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

# c369979c 10-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Add the llvm-symbolizer tool, which enables the sanitizers to report
more complete debugging information. This tools is only enabled when
WITH_CLANG_EXTRAS is on.

Submitted by: Dan McGregor <danismostlikely@gmail.com>

# 2d281361 02-Jan-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Remove GNU texinfo from base along with all info pages.

To be able to info pages consider installing texinfo from ports print/texinfo or
via pkg: pkg install texinfo

Differential Revision: https://reviews.freebsd.org/D1409
Reviewed by: emaste, imp (previous version)
Relnotes: yes

# 8007ee2b 27-Dec-2014 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r274961 through r276301.


# c05bafc5 25-Dec-2014 Poul-Henning Kamp <phk@FreeBSD.org>

Deorbit the IEEE-488/GPIB support.

# e65720e1 18-Dec-2014 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r275759 through r275911.


# f703589e 18-Dec-2014 Enji Cooper <ngie@FreeBSD.org>

Fix building/installing tests when TESTSBASE != /usr/tests

The work in r258233 hardcoded the assumption that tests was the last component
of the tests tree by pushing tests as an explicit prefix for the paths in
BSD.tests.dist and /usr was the prefix for all tests, per BSD.usr.dist and all
of the mtree calls used in Makefile.inc1. This assumption breaks if/when one
provides a custom TESTSBASE "prefix", e.g. TESTSBASE=/mytests .

One thing that r258233 did properly though was remove "/usr/tests" creation
from BSD.usr.dist -- that should have not been there in the first place. That
was an "oops" on my part for the work that was originally committed in r241823

MFC after: 2 weeks
Phabric: D1301
Reviewed by: imp
Sponsored by: EMC / Isilon Storage Division

# 24ce0a02 04-Dec-2014 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r275387 through r275477.


# 18e8f946 01-Dec-2014 Ed Maste <emaste@FreeBSD.org>

Add elfcopy and man page to OptionalObsoleteFiles

# f5ce9d6b 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Installing zzz(8) doesn't make sense when both ACPI and APM are disabled

# 0341ccf2 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Clean up more usb related files when MK_USB == no when dealing with
manpages, libraries, and binaries

# ece34a4f 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Fix use of OLD_FILES and OLD_LIBS for MK_BSNMP and MK_TESTS

Convention in the file is that .a files be added to OLD_FILES and versioned .so's
be added to OLD_LIBS

# a3f5edf0 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Add MK_TIMED option for optionally building usr.sbin/timed, et al

# 046cc7b9 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Account for /usr/include/protocols/r{outed,whod}.h with their respective build knobs

# 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

# fb624adc 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

MK_HYPERV:
Sort OLD_FILES and add /usr/libexec/hyperv to OLD_DIRS

# 961281fa 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install the rsh and telnetd pam.d files if MK_RCMDS == no
or MK_TELNET == no, respectively

# 4bbfcad5 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Only install the accounting/apm rc scripts for MK_ACCT/MK_APM if the relevant
knobs are set

# bdf492a3 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Missed the bsnmp config file

# 88585cd4 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Add more MK_BSNMP == no entries for things not caught due to custom
settings in $SRCCONF

# 6d94729e 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Fill in entries for MK_BSNMP == no

# 4be1ca35 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Make building/installing bhyve optional via MK_BHYVE on amd64

Disable building/installing bhyve from src.opts.mk on unsupported
architectures (!amd64)

# 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

# d393fb09 24-Nov-2014 Dimitry Andric <dim@FreeBSD.org>

Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc for the import of
llvm/clang 3.5.0.

# b8d52ac3 23-Nov-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Install mdoc(7) and man(7) from mdoc instead of the one from groff

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

# fa809347 03-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Integrate pjdfstest test suite execution into kyua

pjdfstest execution is opt-in and must be done as root due to some of the
assumptions made by the test suite and lack of error checking in the non-root
case

A description of how to execute pjdfstest with kyua is provided in
share/pjdfstest/README

Phabric: D824 (an earlier prototype patch)
MFC after: 1 month
Relnotes: yes
Sponsored by: EMC / Isilon Storage Division

# 0677dfd1 01-Nov-2014 Julio Merino <jmmv@FreeBSD.org>

MFV: Import atf-0.21.


# 1545452c 27-Oct-2014 Xin LI <delphij@FreeBSD.org>

Remove an extra copy of hv_kvp_daemon(8) [1].

While I'm there also correct typos in OptionalObsoleteFiles and add
information of the command line options for hv_kvp_daemon(8).

Reported by: jmg [1]
Reviewed by: jmg
MFC after: 2 weeks

# ddd96d23 09-Oct-2014 Ed Maste <emaste@FreeBSD.org>

Build gperf only if we're using g++ (not clang++)

gperf is used as a build tool for g++ and is not needed for Clang
architectures. Ports and third-party software that need it can use the
up-to-date devel/gperf port.

PR: 194103 (exp-run)
Reviewed by: bapt
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D886

# d8eaf8b5 23-Sep-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install /etc/rc.d/keyserv unless MK_OPENSSL == yes

Sponsored by: EMC / Isilon Storage Division

# f4d6293c 20-Sep-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install /etc/rc.d/ftp-proxy unless MK_PF == yes

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

# 79c38c9b 20-Sep-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install /etc/rc.d/rwho unless MK_RCMDS == yes

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

# 76cd7220 16-Sep-2014 Xin LI <delphij@FreeBSD.org>

Use a devd event to start hv_kvpd instead of doing so in rc.d script.
This is cleaner and eliminates the unneeded startup of KVP daemon on
systems that do not run as a Hyper-V guest.

Submitted by: hrs
X-MFC-with: 271493, 271688, 271699

# e72055b7 12-Sep-2014 Xin LI <delphij@FreeBSD.org>

Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft,
many thanks for their continued support of FreeBSD.

While I'm there, also implement a new build knob, WITHOUT_HYPERV to
disable building and installing of the HyperV utilities when necessary.

The HyperV utilities are only built for i386 and amd64 targets.

This is a stable/10 candidate for inclusion with 10.1-RELEASE.

Submitted by: Wei Hu <weh microsoft com>
MFC after: 1 week

# 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

# aecd25ee 15-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Make the USB and ZFS devd configuration files optional depending on the
values of MK_USB/MK_ZFS

Making zfs.conf optional resolves PR # 186971

PR: 186971
Phabric: D606
Approved by: jmmv (mentor)
Sponsored by: EMC / Isilon Storage Division

# 9f312407 12-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Port date/bin/tests to ATF

Phabric: D545
Approved by: jmmv (mentor)
Submitted by: keramida (earlier version)
MFC after: 2 weeks
Sponsored by: Google, Inc
Sponsored by: EMC / Isilon Storage Division

# 12e2df3c 12-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Convert bin/sh/tests to ATF

The new code uses a "test discovery mechanism" to determine
what tests are available for execution

The test shell can be specified via:

kyua test -v test_suites.FreeBSD.bin.sh.test_shell=/path/to/test/sh

Sponsored by: EMC / Isilon Storage Division
Approved by: jmmv (mentor)
Reviewed by: jilles (maintainer)

# 6add3145 12-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Complete the usr.bin/yacc kyua integration work I originally
submitted via r268811

- Install the Kyuafile by adding FILES to FILESGROUPS
- Run the testcases with an unprivileged user

Some of the testcases depend upon behavior that's broken when
run as root on FreeBSD because of how permissions are treated
with access(2) vs eaccess(2), open(2), etc

- Simplify the test driver to just inspect the exit code from
run_test because it now exits with 0 if successful and exits
with !0 if unsuccessful
- Don't do ad hoc temporary directory creation/deletion; let Kyua
handle that
- Add entries for files removed in r268811 to
OptionalObsoleteFiles.inc

PR: 191020
X-MFC with: r268811
Approved by: jmmv (mentor)
Reviewed by: bapt
Sponsored by: EMC / Isilon Storage Division

# e40b4bf8 24-Jul-2014 Julio Merino <jmmv@FreeBSD.org>

Fix structure of new tests (r268794) for usr.bin/units.

- Make sure the tests go into the right directory. The location was
wrong so they were overwriting the bin/chown tests!
- Use the right naming scheme for the test program.
- Remove the svn:executable property from the shell script.

# 7bff12fe 17-Jul-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Fix manpages path and sort entries

# 024f0575 17-Jul-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Remove texinfo manpages as well if built WITHOUT_INFO

# 8a833bda 09-Jul-2014 Baptiste Daroussin <bapt@FreeBSD.org>

The GNU readline library is now an INTERNALLIB - that is, it is
statically linked into consumers (GDB and variants) in the base
system, and the shared library is no longer installed.

That also allows ports to be able to use a modern version of readline

PR: 162948
Reviewed by: emaste

# 725d0727 08-Jul-2014 Jilles Tjoelker <jilles@FreeBSD.org>

Don't install locale1.0 if MK_NLS == no.

The test locale1.0 depends on locale support; it is meaningless without a
working LC_MESSAGES.

I added an OptionalObsoleteFiles.inc entry.

PR: 181151
Submitted by: Garrett Cooper (original version)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# e7d939bd 06-Jul-2014 Marcel Moolenaar <marcel@FreeBSD.org>

Remove ia64.

This includes:
o All directories named *ia64*
o All files named *ia64*
o All ia64-specific code guarded by __ia64__
o All ia64-specific makefile logic
o Mention of ia64 in comments and documentation

This excludes:
o Everything under contrib/
o Everything under crypto/
o sys/xen/interface
o sys/sys/elf_common.h

Discussed at: BSDcan

# 9f932ecd 01-Jul-2014 Eitan Adler <eadler@FreeBSD.org>

Add documentation for svnlite.

PR: 191544
Reported by: eric
Reviewed by: imp
MFC After: 1 week

# b8a63d6d 30-Jun-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Activate the condition for WITHOUT_INFO

Submitted by: antoine

# 079f0a6a 30-Jun-2014 Baptiste Daroussin <bapt@FreeBSD.org>

fill in the list of obsolete files when base is built with WITHOUT_INFO

# dd987372 13-Jun-2014 Tijl Coosemans <tijl@FreeBSD.org>

Don't install GSS-API headers when the GSSAPI option has been disabled.
Some ports assume GSS-API is supported when they find the headers.

PR: 189156
Submitted by: Garrett Cooper <yanegomi@gmail.com>

# 8c7ec47a 06-Jun-2014 Julio Merino <jmmv@FreeBSD.org>

Move atf-sh from /usr/bin/ to /usr/libexec/

In r266650, we made libatf-c and libatf-c++ private libraries so that no
components outside of the source tree could unintendedly depend on them.

This change does the same for the "atf-sh library" by moving the atf-sh
interpreter from its public location in /usr/bin/ to the private location
in /usr/libexec/. Our build system will ensure that our own test programs
use the right binary, but users won't be able to depend on atf-sh by
"mistake".

Committing this now to ride the UPDATING notice added with r267172 today.

# 727a7ce8 06-Jun-2014 Julio Merino <jmmv@FreeBSD.org>

Homogenize libatf-* version numbers with upstream.

The libatf-* major version numbers in FreeBSD were one version ahead of
upstream because, when atf was first imported into FreeBSD, the upstream
numbers were not respected. This is just confusing and bound to cause
problems down the road.

Fix this by taking advantage of the fact that libatf-* are now private
and that atf is not yet built by default. However, and unfortunately, a
clean build is needed for tests to continue working once "make
delete-old-libs" has been run; hence the note in UPDATING.

# 17a286a9 24-May-2014 Julio Merino <jmmv@FreeBSD.org>

Change libatf-c and libatf-c++ to be private libraries.

We should not be leaking these interfaces to the outside world given
that it's much easier for third-party components to use the devel/atf
package from ports.

As a side-effect, we can also drop the ATF pkgconfig and aclocal files
from the base system. Nothing in the base system needs these, and it
was quite ugly to have to get them installed only so that a few ports
could build. The offending ports have been fixed to depend on
devel/atf explicitly.

Reviewed by: bapt

# 3e9e1651 12-May-2014 Julio Merino <jmmv@FreeBSD.org>

Fix delete-old when WITH_TESTS is set.

r265423 removed the WITHOUT_BMAKE option, which in turn broke a conditional
in OptionalObsoleteFiles.inc that inspected MK_BMAKE.

# 85d60e68 12-May-2014 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to 3.4.1 release. This release contains
mostly fixes, for the following upstream bugs:

http://llvm.org/PR16365 http://llvm.org/PR17473 http://llvm.org/PR18000
http://llvm.org/PR18068 http://llvm.org/PR18102 http://llvm.org/PR18165
http://llvm.org/PR18260 http://llvm.org/PR18290 http://llvm.org/PR18316
http://llvm.org/PR18460 http://llvm.org/PR18473 http://llvm.org/PR18515
http://llvm.org/PR18526 http://llvm.org/PR18600 http://llvm.org/PR18762
http://llvm.org/PR18773 http://llvm.org/PR18860 http://llvm.org/PR18994
http://llvm.org/PR19007 http://llvm.org/PR19010 http://llvm.org/PR19033
http://llvm.org/PR19059 http://llvm.org/PR19144 http://llvm.org/PR19326

MFC after: 2 weeks


# d525bcd9 18-Mar-2014 Julio Merino <jmmv@FreeBSD.org>

Migrate tools/regression/usr.bin/make/ to the new tests layout.

Note that these tests are for fmake, not bmake, and thus they are not
installed nor run when bmake is selected (the default). Yes, I have
wasted a *ton* of time on moving tests for no real reason other than
ensuring they are not left behind.

But maybe, just maybe, it was not work in vain: the majority of these
tests also work with bmake and the few that don't may point at broken
stuff. For example, the tests for the "archive" feature do not work
with bmake, but bmake's manpage and source tree seem to imply that they
should. So... to be investigated later; need to poke sjg@.

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

# 2c4c3f67 10-Mar-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Add a mailer.conf example to use dma

# 6a54f620 22-Feb-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Rename WITHOUT_DMA into WITHOUT_DMAGENT to avoid confusion

Requested by: ian

# a9e8641d 21-Feb-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Import Dragonfly Mail Agent into base system

It is a small and lightweight Mail Transport Agent.
It accepts mails from locally installed Mail User Agents (MUA) and delivers the
mails either locally or to a remote destination. Remote delivery includes
several features like TLS/SSL support, SMTP authentication and NULLCLIENT.

Make dma conditional to new WITHOUT_DMA option and make it respect WITHOUT_MAIL

Reviewed by: peter
Discussed with: emaste, bz, peter


# f785676f 16-Feb-2014 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to 3.4 release. This version supports
all of the features in the current working draft of the upcoming C++
standard, provisionally named C++1y.

The code generator's performance is greatly increased, and the loop
auto-vectorizer is now enabled at -Os and -O2 in addition to -O3. The
PowerPC backend has made several major improvements to code generation
quality and compile time, and the X86, SPARC, ARM32, Aarch64 and SystemZ
backends have all seen major feature work.

Release notes for llvm and clang can be found here:
<http://llvm.org/releases/3.4/docs/ReleaseNotes.html>
<http://llvm.org/releases/3.4/tools/clang/docs/ReleaseNotes.html>

MFC after: 1 month


# 1a61beb0 14-Feb-2014 Julio Merino <jmmv@FreeBSD.org>

MFV: Import atf-0.20.


# b76e24a3 05-Feb-2014 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove WITHOUT_NIS

PR: 186412

# 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

# 4f7ab58e 30-Jan-2014 Dimitry Andric <dim@FreeBSD.org>

Import libc++ 3.4 release. This contains a lot of bugfixes, and some
preliminary support for C++1y.

MFC after: 3 weeks


# 762c167e 10-Jan-2014 Julio Merino <jmmv@FreeBSD.org>

Respect the original layout of the atf-{c,c++} tests.

Put test programs for internal modules into a 'detail' subdirectory of the
libatf-c and libatf-c++ test directories, just as the upstream distribution
does. This is necessary because the tests assume such layout to find the
process_helper program, and currently fail because of this divergence.

MFC after: 1 week

# a9e4b734 21-Dec-2013 Glen Barber <gjb@FreeBSD.org>

Honor WITHOUT_CASPER.

Sponsored by: The FreeBSD Foundation

# a18eacbe 17-Nov-2013 Julio Merino <jmmv@FreeBSD.org>

MFV: Import atf-0.18.

Approved by: rpaulo (mentor)


# 0fa8a6f0 11-Nov-2013 Glen Barber <gjb@FreeBSD.org>

Silence more 'make {check,delete-old{,libs}}' output if $DESTDIR/usr/tests
does not exist.

Sponsored by: The FreeBSD Foundation

# 6785aaf2 10-Nov-2013 Glen Barber <gjb@FreeBSD.org>

Silence bmake(1) errors if TEST_DIRS evaluation is empty.

# 14de84e7 08-Nov-2013 Julio Merino <jmmv@FreeBSD.org>

Handle the removal of the test suite when WITHOUT_TESTS=yes.

Add all files from /usr/tests to the obsoleted files list when the
build of the tests is disabled via the WITHOUT_TESTS knob. Do this
automatically so that we do not have to suffer the pain of maintaining
such list by hand.

Reviewed by: freebsd-testing
Approved by: rpaulo (mentor)

# e01d128a 08-Nov-2013 Julio Merino <jmmv@FreeBSD.org>

Subsume the functionality of MK_ATF into MK_TESTS.

There is no reason to keep the two knobs separate: if tests are
enabled, the ATF libraries are required; and if tests are disabled,
the ATF libraries are not necessary. Keeping the two just serves
to complicate the build.

Reviewed by: freebsd-testing
Approved by: rpaulo (mentor)

# 912ce912 03-Nov-2013 Peter Wemm <peter@FreeBSD.org>

Remove the WITH_LIBICONV_COMPAT hack that seems to do more harm than
good. This caused libc to spoof the ports libiconv namespace and
provide a colliding libiconv.so.3 to fool rtld. This should have
been removed some time ago.

# 23c80c69 03-Nov-2013 Ed Schouten <ed@FreeBSD.org>

Remove utxrm(8). This command has been superseded by 'utx rm'.

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

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

# 0edda453 30-Oct-2013 Bryan Drewery <bdrewery@FreeBSD.org>

Add forgotten pkg.7

Approved by: bapt
MFC after: 2 days
X-MFC-with: r257378

# 2b142c0f 17-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Add lot of missed files and dirs

# 7306b853 17-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Remove atf headers which never existed

Reviewed by: marcel

# 41b65e69 17-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Cleanup clang section

# 7855835b 16-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

wlconfig exists only on i386

# 5329f4d3 16-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Remove files which are in ObsoleteFiles.inc

# fca60728 16-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Remove duplicates in ipfilter and kerberos sections

# ec0e2ac6 12-Oct-2013 Rui Paulo <rpaulo@FreeBSD.org>

Remove most of the ATF tools and the _atf user.

This is necessary because ATF is deprecated and it will be replaced by Kyua.

Submitted by: jmmv@netbsd.org
Reviewed by: Garrett Cooper
Approved by: re

# c9fc60be 09-Oct-2013 Glen Barber <gjb@FreeBSD.org>

Revert r256095, r256120 (partial), r256121:

r256095:
- Add gnu/usr.bin/rcs back to the base system.

r256120:
- Add WITHOUT_RCS back to src.conf.5.

r256121:
- Remove UPDATING entry regarding gnu/usr.bin/rcs removal.

Requested by: many
Approved by: re (marius)
Discussed with: core

# 258c9eb9 06-Oct-2013 Eitan Adler <eadler@FreeBSD.org>

Good bye RCS. You will be missed.

(devel/rcs and devel/rcs57 are available as alternatives)

Approved by: core
Approved by: re (hrs)

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

Remove BIND.

Approved by: re (gjb)

# 278bc67b 29-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Yet more BIND files that weren't listed in OptionalObsoleteFiles.

Approved by: re (blanket)

# 4a09ed30 27-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove duplicate entry for the host(1) man page.

Approved by: re (blanket)

# b4af3bcb 25-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Additional BIND files.

Submitted by: bdrewery
Approved by: re (blanket)

# 49cede74 22-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Add a setup script for unbound(8) called local-unbound-setup. It
generates a configuration suitable for running unbound as a caching
forwarding resolver, and configures resolvconf(8) to update unbound's
list of forwarders in addition to /etc/resolv.conf. The initial list
is taken from the existing resolv.conf, which is rewritten to point to
localhost. Alternatively, a list of forwarders can be provided on the
command line.

To assist this script, add an rc.subr command called "enabled" which
does nothing except return 0 if the service is enabled and 1 if it is
not, without going through the usual checks. We should consider doing
the same for "status", which is currently pointless.

Add an rc script for unbound, called local_unbound. If there is no
configuration file, the rc script runs local-unbound-setup to generate
one.

Note that these scripts place the unbound configuration files in
/var/unbound rather than /etc/unbound. This is necessary so that
unbound can reload its configuration while chrooted. We should
probably provide symlinks in /etc.

Approved by: re (blanket)

# 7b07722f 22-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove drill(1) if MK_LDNS_UTILS is false.
Remove host(1) if both MK_BIND and MK_LDNS_UTILS are false.

Approved by: re (blanket)

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

Build and install the Unbound caching DNS resolver daemon.

Approved by: re (blanket)

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

Complete the OPENSSH and LDNS sections.

Approved by: re (blanket)

# 9f00530d 14-Sep-2013 Ed Schouten <ed@FreeBSD.org>

Properly remove c++filt.

The c++filt binary is only installed if ${MK_GCC} == yes && ${MK_CXX} ==
yes. This means that it should be removed if ${MK_GCC} == no ||
${MK_CXX} == no. In its current form, it actually uses a conjunction
instead of a disjunction.

As there is already a separate block for ${MK_CXX} == no listing
c++filt, simply remove the conditional entirely.

Approved by: re (gjb)

# 0d410def 10-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Clean up the Kerberos build by turning libheimipcc and libheimipcs into
private shared libraries, instead of hacked-together archives of PIC
objects. This makes it possible to build a static libkrb5 that works.

Reviewed by: stas
Approved by: re (gjb)

# 655f887f 07-Sep-2013 Antoine Brodin <antoine@FreeBSD.org>

Adjust optional obsolete files with new MK_GNUCXX

# 3d8a28c3 07-Sep-2013 Antoine Brodin <antoine@FreeBSD.org>

Do not try to remove directories that are part of BSD.include.dist

# 8031489c 07-Sep-2013 Gleb Smirnoff <glebius@FreeBSD.org>

Add more leftovers from gcc.

# a5bfe448 06-Sep-2013 David Chisnall <theraven@FreeBSD.org>

Don't delete c++filt when doing a make delete-old if GCC is not built but
C++ is.

# e9fb2ea0 29-Aug-2013 Andreas Tobler <andreast@FreeBSD.org>

Remove GNU_PATCH leftover.

# e434cacb 26-Aug-2013 Antoine Brodin <antoine@FreeBSD.org>

Add more obsolete files.

# 0ff204bb 13-Aug-2013 Peter Wemm <peter@FreeBSD.org>

The iconv in libc did two things - implement the standard APIs, the GNU
extensions and also tried to be link time compatible with ports libiconv.
This splits that functionality and enables the parts that shouldn't
interfere with the port by default.

WITH_ICONV (now on by default) - adds iconv.h, iconv_open(3) etc.
WITH_LIBICONV_COMPAT (off by default) adds the libiconv_open etc API, linker
symbols and even a stub libiconv.so.3 that are good enough to be able
to 'pkg delete -f libiconv' on a running system and reasonably expect it
to work.

I have tortured many machines over the last few days to try and reduce
the possibilities of foot-shooting as much as I can. I've successfully
recompiled to enable and disable the libiconv_compat modes, ports that use
libiconv alongside system iconv etc. If you don't enable the
WITH_LIBICONV_COMPAT switch, they don't share symbol space.

This is an extension of behavior on other system. iconv(3) is a standard
libc interface and libiconv port expects to be able to run alongside it on
systems that have it.

Bumped osreldate.

# 8471c7bd 06-Aug-2013 Sean Bruno <sbruno@FreeBSD.org>

Adjust make knobs to know that WITH_ICONV installs a /usr/bin/iconv

Remove it if the knob isn't tweaked. Certain ports seem to think that
if /usr/bin/iconv exists, then libc has built in libiconv things and will
blow up pretty nicely when built.

Reviewed by: gjb@
MFC after: 2 weeks

# 9beae6b5 12-Jul-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove authpf-noip along with authpf.

Reminded by: delphij@

# deb50697 24-Jun-2013 Eitan Adler <eadler@FreeBSD.org>

Add missing Obsolete Files

Submitted by: Kurt Lidl <lidl@pi-coral.com>

# 4f858707 18-Jun-2013 Peter Wemm <peter@FreeBSD.org>

Teach delete-old how to clean up after WITH/WITHOUT_SVN{LITE} permutations.

# 1cbff2a9 15-Jun-2013 Eitan Adler <eadler@FreeBSD.org>

Remove CVS from the base system.

Discussed with: many
Reviewed by: peter, zi
Approved by: core

# 01bb8628 09-Jun-2013 Glen Barber <gjb@FreeBSD.org>

Add freebsd-update.conf(5) to OptionalObsoleteFiles.inc

PR: 179437
Approved by: kib (mentor)
MFC after: 1 week

# 2b3b3637 11-May-2013 Eitan Adler <eadler@FreeBSD.org>

Unconditionally install 210.backup-aliases as many MTAs other than
sendmail support the use of /etc/aliases.

PR: conf/176098
Submitted by: ak
MFC after: 2 weeks

# b4634967 28-Apr-2013 Eitan Adler <eadler@FreeBSD.org>

When the world is built WITHOUT_OPENSSH also don't
install ssh-copy-id.

PR: misc/177590
Submitted by: Oleg Ginzburg <olevole@olevole.ru>
Reviewed by: imp

# 850163e4 26-Apr-2013 Eitan Adler <eadler@FreeBSD.org>

Remove IDEA from OptionalObsoleteFiles.inc

Also add an UPDATING entry (requsted by gjb)

# 139f7f9b 12-Apr-2013 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to trunk r178860, in preparation of the
upcoming 3.3 release (branching and freezing expected in a few weeks).

Preliminary release notes can be found at the usual location:
<http://llvm.org/docs/ReleaseNotes.html>

An MFC is planned once the actual 3.3 release is finished.


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

Add option to make pc-sysinstall optional

Approved by: cperciva

# 616d12b7 20-Dec-2012 Baptiste Daroussin <bapt@FreeBSD.org>

Add etc/periodic/daily/220.backup-pkgdb to OptionalObsoleteFiles.inc

# 3861d79f 03-Dec-2012 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to r168974, from upstream's release_32
branch. This is effectively llvm/clang 3.2 RC2; the 3.2 release is
coming soon.


# ffdac814 14-Nov-2012 Marcel Moolenaar <marcel@FreeBSD.org>

Don't install atf.test.mk if MK_ATF == no.

Submitted by: Garrett Cooper <yanegomi@gmail.com>

# c175365c 21-Oct-2012 Marcel Moolenaar <marcel@FreeBSD.org>

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

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

Credits follow:

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

# 458beb5d 17-Oct-2012 Andreas Tobler <andreast@FreeBSD.org>

Remove the netncp and nwfs files from here. They will be moved to the
ObsoleteFiles.inc file later.

Discussed with: attilio

# ce8ba5a5 26-Aug-2012 Dimitry Andric <dim@FreeBSD.org>

Add libc++ and libcxxrt related files to OptionalObsoleteFiles.inc.

MFC after: 1 week

# d4271816 20-Aug-2012 Dimitry Andric <dim@FreeBSD.org>

Add three additional clang intrinsics headers, which I missed in the
previous import.

# 7ae0e2c9 20-Aug-2012 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to trunk r162107. With thanks to
Benjamin Kramer and Joerg Sonnenberger for their input and fixes.


# c4554b94 23-Jul-2012 Dimitry Andric <dim@FreeBSD.org>

When WITHOUT_CLANG is being used, also clean out the clang 3.1 headers
in OptionalObsoleteFiles.inc.

PR: misc/169902
Submitted by: Thomas Eberhardt <sneakywumpus@googlemail.com>
MFC after: 3 days

# 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

# 60533c20 09-May-2012 Eitan Adler <eadler@FreeBSD.org>

Add some missing files to OLD_FILES

PR: conf/166460
Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com>
Reviewed by: stable@
Approved by: cperciva
MFC after: 2 weeks

# 4d04782c 14-Apr-2012 Dimitry Andric <dim@FreeBSD.org>

Add files and directories to be cleaned up if WITHOUT_GCC is in effect
to OptionalObsoleteFiles.inc.

MFC after: 1 week

# a146c2a9 22-Mar-2012 Stanislav Sedov <stas@FreeBSD.org>

- Add new kerberos libraries to the list of optional obsolete files.

# 0e46933c 22-Mar-2012 Stanislav Sedov <stas@FreeBSD.org>

- Do not build libcom_err and compile_et when kerberos is disabled. They
depends on several heimdal libraries and not used by anything but kerberos
tools.

# ae771770 22-Mar-2012 Stanislav Sedov <stas@FreeBSD.org>

- Update FreeBSD Heimdal distribution to version 1.5.1. This also brings
several new kerberos related libraries and applications to FreeBSD:
o kgetcred(1) allows one to manually get a ticket for a particular service.
o kf(1) securily forwards ticket to another host through an authenticated
and encrypted stream.
o kcc(1) is an umbrella program around klist(1), kswitch(1), kgetcred(1)
and other user kerberos operations. klist and kswitch are just symlinks
to kcc(1) now.
o kswitch(1) allows you to easily switch between kerberos credentials if
you're running KCM.
o hxtool(1) is a certificate management tool to use with PKINIT.
o string2key(1) maps a password into key.
o kdigest(8) is a userland tool to access the KDC's digest interface.
o kimpersonate(8) creates a "fake" ticket for a service.

We also now install manpages for some lirbaries that were not installed
before, libheimntlm and libhx509.

- The new HEIMDAL version no longer supports Kerberos 4. All users are
recommended to switch to Kerberos 5.

- Weak ciphers are now disabled by default. To enable DES support (used
by telnet(8)), use "allow_weak_crypto" option in krb5.conf.

- libtelnet, pam_ksu and pam_krb5 are now compiled with error on warnings
disabled due to the function they use (krb5_get_err_text(3)) being
deprecated. I plan to work on this next.

- Heimdal's KDC now require sqlite to operate. We use the bundled version
and install it as libheimsqlite. If some other FreeBSD components will
require it in the future we can rename it to libbsdsqlite and use for these
components as well.

- This is not a latest Heimdal version, the new one was released while I was
working on the update. I will update it to 1.5.2 soon, as it fixes some
important bugs and security issues.


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

# 6bb1cadd 05-Feb-2012 Dimitry Andric <dim@FreeBSD.org>

Add a WITH_CLANG_EXTRAS option for src.conf(5), disabled by default,
that builds the following additional llvm/clang tools:

- bugpoint
- llc
- lli
- llvm-ar
- llvm-as
- llvm-bcanalyzer
- llvm-diff
- llvm-dis
- llvm-extract
- llvm-ld
- llvm-link
- llvm-mc
- llvm-nm
- llvm-objdump
- llvm-prof
- llvm-ranlib
- llvm-rtdyld
- llvm-stub
- macho-dump
- opt

These tools are mainly useful for people that want to manipulate llvm
bitcode (.bc) and llvm assembly language (.ll) files, or want to tinker
with llvm and clang themselves.

MFC after: 2 weeks


# 8f506e9e 11-Dec-2011 Dimitry Andric <dim@FreeBSD.org>

Add more files to cleanup with 'make delete-old' when WITHOUT_CLANG is
in effect.

MFC after: 1 week

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

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

Don't remove the periodic script for ac(8) when setting WITHOUT_ACCT.

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

# b3eb927f 06-Apr-2011 Ulrich Spörlein <uqs@FreeBSD.org>

Complete WITHOUT_CXX support. It implies WITHOUT_GROFF and
WITHOUT_CLANG.

Don't build clang bootstrap/build-tools depending on this flag. We also
keep gperf, devd and libstdc++ around to prevent foot-shooting and to
make this a two-way street.

# 423102c6 22-Feb-2011 Ulrich Spörlein <uqs@FreeBSD.org>

Flesh out WITHOUT_GROFF support to DTRT.

A full featured groff is required during buildworld, so build it always
and don't rely on it being present on the host system.

vgrind(1) is tightly coupled to a roff processor and will not be
built/installed when groff is disabled. Also much of the roff'ed
documentation under share/doc will not be built/installed when
WITHOUT_GROFF is defined.

Reviewed by: ru (partial)

# d180d7ef 04-Dec-2010 Ulrich Spörlein <uqs@FreeBSD.org>

Document two more ways to find duplicates in the obsolete file list.

Remove the only duplicate found by the optional files check. Fix typos,
while here.

Suggested by: netchild

# fe5ddba7 14-Nov-2010 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add optional files controlled by WITH_GPIO knob

Submitted by: Alexander Best <arundel@freebsd.org>

# 97f9dcf7 14-Nov-2010 Rebecca Cran <brucec@FreeBSD.org>

lib32 is installed on powerpc64 too.

# 60db6c32 14-Nov-2010 Rebecca Cran <brucec@FreeBSD.org>

libatm_p.a, libkeycap_p.a and libmytinfo_p.a are already in ObsoleteFiles.inc.
liblwres.so.10 has been replaced by liblwres.so.50.

Reported by: arundel

# 65a1c465 09-Nov-2010 Xin LI <delphij@FreeBSD.org>

Hide 460.chkportsum in MK_PKGTOOLS != no case.

Submitted by: Alex Kozlov <spam rm-rf kiev ua>
MFC after: 2 weeks

# 60e6ef07 08-Oct-2010 Mark Murray <markm@FreeBSD.org>

Don't blow away /bin/rmail symlink if we are keeping mailwrapper.
Mailwrapper can provide a perfectly good rmail with other
mailers.

# 916d7003 06-Oct-2010 Alexander Leidinger <netchild@FreeBSD.org>

Add some missing files to optionally delete.

Submitted by: Paul B Mahol <onemda@gmail.com>

# 781ad8ef 21-Jul-2010 Ed Schouten <ed@FreeBSD.org>

Chase LLVM version bump to 2.8.

# e137ba59 16-Jun-2010 Alexander Leidinger <netchild@FreeBSD.org>

Add the ZFS periodic daily scripts to the ZFS part.

# edec9228 14-Jun-2010 Ed Schouten <ed@FreeBSD.org>

Add Clang to OptionalObsoleteFiles.inc.

This means you can now deinstall Clang by running make delete-old with
WITHOUT_CLANG set.

# 36e60cda 26-Mar-2010 Xin LI <delphij@FreeBSD.org>

Remove GNU cpio after fix of CVE-2010-0624.

Note that this is actually a no-op for most users, as this GNU
cpio was broken on -HEAD and 8-STABLE since last March until
the recent fix.

FreeBSD 8.0+ uses BSD cpio by default and the code is being
actively maintained.

Blessed by: kientzle
With hat: secteam
MFC after: 3 days

# b974b08f 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PPP=no.

# 72647fe8 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PORTSNAP=no.

# 78d8164c 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PKGTOOLS=no.

# c13190b2 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PF=no.

# 58f47440 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_NTP=no.

# fda29b23 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_RCMDS=no.

# 50d16bbe 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_RCS=no.

# 23644347 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_ROUTED=no.

# 1fe4843a 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_TELNET=no.

# 94cd15a9 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_NDIS=no.

# 8c7d0ea2 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_NCP=no.

# c742deed 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_LPR=no.

# 9586e952 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_WIRELESS=no.

# e94be45c 26-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Do not remove fmt.1 when MK_MAIL=no.

X-MFC-With: r203584

# cebcc1ac 09-Feb-2010 Xin LI <delphij@FreeBSD.org>

Symbolic link to mailwrapper should only be removed if both MK_MAILWRAPPER
and MK_SENDMAIL is "no".

Reported by: Rob Farmer <rfarmer at predatorlabs.net>

# 07ea9a7c 09-Feb-2010 Xin LI <delphij@FreeBSD.org>

As it turns out, fmt(1) is being used by the base system as well as the
ports tree extensively and it is probably a good idea to keep it
regardless of NO_MAIL setting.

Reported by: Alexander Best
Reviewed by: antoine
X-MFC-With: r203584

# 4c63c240 06-Feb-2010 Xin LI <delphij@FreeBSD.org>

Add files for NO_MAIL, NO_SENDMAIL and NO_MAILWRAPPER.

MFC after: 2 weeks

# a48279bb 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_KERBEROS=no.

# e86622b3 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_JAIL=no.

# 2677a432 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_IPX=no.

# 02eb407f 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_IPFW=no.

# 91ff065b 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Move rescue/ping6 from files to remove when MK_INET6=no to file to remove
when MK_INET6_SUPPORT=no. (MK_INET6=no implies MK_INET6_SUPPORT=no)

# a2ccbc29 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add file to remove when MK_IDEA=no.

# b6d220d0 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GSSAPI=no.

# 96e9532b 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GPIB=no.

# 2ea25692 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GDB=no.

# 05142604 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GAMES=no.

# b983b146 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_FREEBSD_UPDATE=no.

# aa6bef9e 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_FLOPPY=no.

# 629b054a 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_DICT=no.

# 73ff6610 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CVS=no.

# 7692d80e 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CTM=no.

# 682e1072 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CPP=no.

# e493781a 16-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_ZFS=no.

# af5b4724 16-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_CDDL=no.

# 2ab19927 16-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CALENDAR=no.

# bd0a3ed5 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_BLUETOOTH=no.

# 22f09c9f 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_AUTHPF=no.

# 6fccaa07 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_ATM=no.

# 2cccc87b 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_AT=no.

# 5942f7f7 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_APM=no.

# 6cbebbd3 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_AMD=no.

# b00c1bf2 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_ACCT=no.

# 29d08a6d 24-Jun-2009 Jamie Gritton <jamie@FreeBSD.org>

Add libjail, a (somewhat) simpler interface to the jail_set and jail_get
system calls and the security.jail.param sysctls.

Approved by: bz (mentor)

# c6642c52 13-Sep-2008 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when WITHOUT_HESIOD is set.
This fixes "make check-old" when WITH_HESIOD is set.

PR: 122406
MFC after: 1 month

# a1d73f7b 28-Jul-2008 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GNU_CPIO = no

# 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

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

# 94dd3203 24-Mar-2008 Antoine Brodin <antoine@FreeBSD.org>

Don't remove usr/include/fs/nwfs and usr/include/netncp, as they are always
recreated during installworld (they are in BSD.include.dist).

Reported by: Pawel Worach
Approved by: rwatson (mentor)
X-MFC: with revision 1.13

# 6fa1978a 08-Mar-2008 Antoine Brodin <antoine@FreeBSD.org>

Add some checks for amd64 target around usr/lib32 libraries, missed in
previous commit.

Approved by: rwatson (mentor)
X-MFC: with revision 1.13

# b246502f 29-Feb-2008 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GCOV, MK_IPX or MK_NCP are defined.

Note: it may be a good idea to deduce obsolete usr/lib32/ files from
obsolete lib/ and usr/lib/ files.

PR: 120492
PR: 121118
PR: 121121
Submitted by: KAMIYA Satosi, Richard Tector
Approved by: rwatson (mentor)
MFC after: 1 month

# 4114acea 18-Jan-2008 Christian Brueffer <brueffer@FreeBSD.org>

Remove files conditional on the obsolete MK_FORTRAN knob. They are already
listed in ObsoleteFiles.inc anyway.

Reported by: David Wolfskill
Approved by: rwatson (mentor)
MFC after: 3 days

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

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

MK_LIBTHR was misspelled.

Approved by: re (kensmith)

# ceef0c31 05-Apr-2007 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Connect ZFS to the build.

# 70d21ee7 11-Mar-2007 Rong-En Fan <rafan@FreeBSD.org>

Add ncursesw, libelf, and libalias profiling libraries

Approved by: delphij (mentor)

# 438e97c0 01-Feb-2007 Rong-En Fan <rafan@FreeBSD.org>

Remove old libmytinfo link.

Approved by: delphij (mentor)
Requested by: ache

# b1a7dc88 27-Nov-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

/usr/sbin/faithd is an INET6-specific tool, and now it won't be built
if MK_INET6 is "no", so add it to the MK_INET6 block.

PR: bin/100805 (audit-trail)

# 2e975006 30-Sep-2006 Ruslan Ermilov <ru@FreeBSD.org>

Removed libc_r build support.

# c3e63d56 29-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Extend the MK_INET6 section by rescue/ping6 and the manpages.

# 9da33b35 28-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Populate the MK_INET6 block.

# 1812f896 01-May-2006 Alexander Leidinger <netchild@FreeBSD.org>

Add profile libs.

Submitted by: Pawel Worach <pawel.worach@gmail.com>

# 95529bcb 03-Apr-2006 Alexander Leidinger <netchild@FreeBSD.org>

Milosz (sorry for not using the right 'l', it will not display corretly
in the commit log) submitted support for some NO_* knobs for delete-old*
and check-old. I converted it to the new WITHOUT_* knobs (more correctly:
MK_*) and added some dummy ones so that people can see what's missing.

Volunteers can have a look at http://phk.freebsd.dk/misc/build_options/
for a list of files.

The location looks a little bit odd to me, but I don't care about the
color of this bikeshed and follow the suggestion of our build
infrastructure guru to place it "somewhere under src/tools/ please". [1]
The build/mk/ directory looks more sane to me than the other ones there.

Submitted by: milosz.galazka@gmail.com
Suggested by: ru [1]

# 5e383e36 05-Jun-2022 Dimitry Andric <dim@FreeBSD.org>

Add more old clang files to (Optional)ObsoleteFiles.inc

There were a few more libclang_rt libraries added recently, but not yet
listed in the ObsoleteFiles.inc lists.

MFC after: 3 days


# 809922b0 05-Jun-2022 Dimitry Andric <dim@FreeBSD.org>

Update rest of llvm-project build glue for 14.0.4

I completely forgot about updating the generated llvm-project config
files, which also contain version numbers, etc. Sorry for the churn.

PR: 261742
Fixes: ab9d54731f43
MFC after: 3 days


# 7b6f5ebe 27-May-2022 Dimitry Andric <dim@FreeBSD.org>

Add several sanitizer ignore lists under /usr/lib/clang

Some of the sanitizers from compiler-rt can use ignore lists, which are
loosely modeled on valgrind's example. Upstream provides default lists
for AddressSanitizer, CFI, and MemorySanitizer, so install these in the
expected location, /usr/lib/clang/14.0.3/share.

Reviewed by: emaste
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D35338


# 3a9a9c0c 28-Apr-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project release/14.x llvmorg-14.0.3-0-g1f9140064dfb

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14.0.3-0-g1f9140064dfb.

PR: 261742
MFC after: 2 weeks


# 1fd87a68 05-Feb-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-14-init-18294-gdb01b123d012

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14-init-18294-gdb01b123d012, the last commit before
the upstream release/14.x branch was created.

PR: 261742
MFC after: 2 weeks


# 04eeddc0 27-Jan-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-14-init-17616-g024a1fab5c35

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14-init-17616-g024a1fab5c35.

PR: 261742
MFC after: 2 weeks


# 4824e7fd 02-Dec-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-14-init-11187-g222442ec2d71

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14-init-11187-g222442ec2d71.

PR: 261742
MFC after: 2 weeks


# 5e801ac6 20-Nov-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-14-init-10223-g401b76fdf2b3

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14-init-10223-g401b76fdf2b3.

PR: 261742
MFC after: 2 weeks


# c00d3456 10-Feb-2022 John Baldwin <jhb@FreeBSD.org>

Install unwind.h into /usr/include

Install headers from LLVM's libunwind in place of the headers from
libcxxrt and allow C applications to use the library.

As part of this, remove include/unwind.h and switch libthr over to
using the installed unwind.h.

Reviewed by: dim, emaste
MFC after: 10 days
Differential Revision: https://reviews.freebsd.org/D34065

# 77da558c 20-Jan-2022 John Baldwin <jhb@FreeBSD.org>

check/delete-old: Auto-generate lib32 entries for libraries.

- Add usr/lib32/libfoo.so.N for lib/libfoo.so.N.

- Add usr/lib32/foo for usr/lib/foo.

- Treat casper libraries special since they are installed to
/usr/lib32 instead of /usr/lib32/casper and thus map
usr/lib/casper/foo to usr/lib32/foo.

Note that OLD_DIRS and MOVED_LIBS entries are not duplicated, only
OLD_FILES and OLD_LIBS.

Reviewed by: imp, emaste
Sponsored by: The University of Cambridge, Google Inc.
Differential Revision: https://reviews.freebsd.org/D33324

# c96dfb21 20-Jan-2022 John Baldwin <jhb@FreeBSD.org>

Rework documentation of OLD_*.

- Be more explicit in the difference between OLD_DIRS and OLD_FILES
(the former is only in delete-old-libs whereas the latter is in
delete-old).

- Document that debug symbols in /usr/lib/debug/ for files in
OLD_FILES and OLD_LIBS are removed as well.

Reviewed by: emaste
Sponsored by: The University of Cambridge, Google Inc.
Differential Revision: https://reviews.freebsd.org/D33847

# ebc1c246 11-Jan-2022 John Baldwin <jhb@FreeBSD.org>

Remove redundant OLD_FILES entries for debug symbols.

Entries for foo.debug files matching an existing entry in OLD_FILES or
OLD_LIBS are unnecessary as they are auto-generated.

Reviewed by: imp, emaste
Sponsored by: The University of Cambridge, Google Inc.
Differential Revision: https://reviews.freebsd.org/D33777

# 60a82774 02-Dec-2021 John Baldwin <jhb@FreeBSD.org>

Only use OLD_LIBS with shared libraries.

Use OLD_FILES for a few symbolic links and static libraries previously
included in OLD_LIBS.

Add a missing shared library major number to an old libroken entry.

# a58135eb 02-Dec-2021 Herbert J. Skuhra <herbert@gojira.at>

OptionalObsoleteFiles.inc: Add rc.d/zfskeys

While here, sort the etc/rc.d entries.

PR: 256483
Reviewed by: allanjude
Approved by: allanjude (src)
MFC after: 3 days
Sponsored by: Modirum MDPay
Sponsored by: Klara Inc.
Differential Revision: https://reviews.freebsd.org/D33238

# db0ac6de 02-Dec-2021 Cy Schubert <cy@FreeBSD.org>

Revert "wpa: Import wpa_supplicant/hostapd commit 14ab4a816"

This reverts commit 266f97b5e9a7958e365e78288616a459b40d924a, reversing
changes made to a10253cffea84c0c980a36ba6776b00ed96c3e3b.

A mismerge of a merge to catch up to main resulted in files being
committed which should not have been.

# 266f97b5 02-Dec-2021 Cy Schubert <cy@FreeBSD.org>

wpa: Import wpa_supplicant/hostapd commit 14ab4a816

This is the November update to vendor/wpa committed upstream 2021-11-26.

MFC after: 1 month


# c3f345ae 01-Dec-2021 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles.inc: remove MK_CXX rule for usr/bin/c++

In fact MK_CXX does not control whether /usr/bin/c++ is built -- it is
installed as a link to Clang (which is always a C/C++ compiler), and it
already exists in OptionalObsoleteFiles under MK_TOOLCHAIN.

Sponsored by: The FreeBSD Foundation

# 610d908f 01-Dec-2021 John Baldwin <jhb@FreeBSD.org>

Add lib32 entries for WITHOUT_PROFILE.

Reported by: Mark Millard

# 07c2b29b 01-Dec-2021 John Baldwin <jhb@FreeBSD.org>

Trim a couple of duplicate entries from WITHOUT_PROFILE.

# 99188582 01-Dec-2021 John Baldwin <jhb@FreeBSD.org>

Add various profiled libraries missing from the WITHOUT_PROFILE list.

Reported by: Mark Millard

# f7ea22e2 01-Dec-2021 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: move /usr/bin/CC to MK_TOOLCHAIN section

/usr/bin/CC is installed by usr.bin/clang/clang/Makefile, as with
/usr/bin/cc, /usr/bin/cpp, etc., and is not controlled by MK_CXX.
Move it to the same section as those tools.

(It may be that these should all be under
MK_TOOLCHAIN == no || MK_CLANG_IS_CC == no, but that seems like
unnecessary complexity.)

Sponsored by: The FreeBSD Foundation

# 1b9344ad 30-Nov-2021 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove GCC remnants

g++ and cc1plus were GCC components that are already removed
unconditionally in ObsoleteFiles.inc.

Reported by: jhb (in review D33108)
Fixes: 57f804675e65 ("remove GCC 4.2.1 build infrastructure")
Sponsored by: The FreeBSD Foundation

# 0179739a 28-Nov-2021 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove ping with INET & INET6 disabled

Reported by: kevans
Fixes: a4ef9e58bc0c ("sbin: build ping if at least one of...")
Sponsored by: The FreeBSD Foundation

# 6e75b2fb 25-Aug-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project release/13.x llvmorg-13.0.0-rc1-97-g23ba3732246a

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-13.0.0-rc1-97-g23ba3732246a.

PR: 258209
MFC after: 2 weeks


# fe6060f1 22-Aug-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-13-init-16847-g88e66fa60ae5

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-13-init-16847-g88e66fa60ae5, the last commit before
the upstream release/13.x branch was created.

PR: 258209
MFC after: 2 weeks


# e9a99463 06-Oct-2021 Ed Maste <emaste@FreeBSD.org>

ssh: enable FIDO/U2F keys

Description of FIDO/U2F support (from OpenSSH 8.2 release notes,
https://www.openssh.com/txt/release-8.2):

This release adds support for FIDO/U2F hardware authenticators to
OpenSSH. U2F/FIDO are open standards for inexpensive two-factor
authentication hardware that are widely used for website
authentication. In OpenSSH FIDO devices are supported by new public
key types "ecdsa-sk" and "ed25519-sk", along with corresponding
certificate types.

ssh-keygen(1) may be used to generate a FIDO token-backed key, after
which they may be used much like any other key type supported by
OpenSSH, so long as the hardware token is attached when the keys are
used. FIDO tokens also generally require the user explicitly
authorise operations by touching or tapping them.

Generating a FIDO key requires the token be attached, and will
usually require the user tap the token to confirm the operation:

$ ssh-keygen -t ecdsa-sk -f ~/.ssh/id_ecdsa_sk
Generating public/private ecdsa-sk key pair.
You may need to touch your security key to authorize key generation.
Enter file in which to save the key (/home/djm/.ssh/id_ecdsa_sk):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/djm/.ssh/id_ecdsa_sk
Your public key has been saved in /home/djm/.ssh/id_ecdsa_sk.pub

This will yield a public and private key-pair. The private key file
should be useless to an attacker who does not have access to the
physical token. After generation, this key may be used like any
other supported key in OpenSSH and may be listed in authorized_keys,
added to ssh-agent(1), etc. The only additional stipulation is that
the FIDO token that the key belongs to must be attached when the key
is used.

To enable FIDO/U2F support, this change regenerates ssh_namespace.h,
adds ssh-sk-helper, and sets ENABLE_SK_INTERNAL (unless building
WITHOUT_USB).

devd integration is not included in this change, and is under
investigation for the base system. In the interim the security/u2f-devd
port can be installed to provide appropriate devd rules.

Reviewed by: delphij, kevans
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32509

# 2f7f8995 27-Oct-2021 John Baldwin <jhb@FreeBSD.org>

libdialog: Bump shared library version to 10.

The upgrade to libdialog 1.3 included changes to the ABI.

Bump libdpv to 3 since it links against libdialog.

Reported by: Mark Millard <marklmi@yahoo.com>
Reviewed by: bapt
Fixes: a96ef4501919 dialog: import dialog 1.3-20210117
Differential Revision: https://reviews.freebsd.org/D32675

# 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

# 7b1e19ad 06-Oct-2021 Ed Maste <emaste@FreeBSD.org>

Add libfido2 to the build

From https://github.com/Yubico/libfido2:

libfido2 provides library functionality and command-line tools to
communicate with a FIDO device over USB, and to verify attestation
and assertion signatures.

libfido2 supports the FIDO U2F (CTAP 1) and FIDO 2.0 (CTAP 2)
protocols.

libfido2 will be used by ssh to support FIDO/U2F keys. It is currently
intended only for use by ssh, and so is installed as a PRIVATELIB and is
placed in the ssh pkgbase package.

This is currently disabled for the 32-bit library build as libfido2 is
not compatible with the COMPAT_32BIT hack in usb_ioctl.h.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32448

# 2a213a2e 20-Oct-2021 Baptiste Daroussin <bapt@FreeBSD.org>

OptionalObsoleteFiles: add more googletest files to remove

# 2e85df65 06-Oct-2021 Ed Maste <emaste@FreeBSD.org>

Add libcbor to the build

From https://github.com/PJK/libcbor:

libcbor is a C library for parsing and generating CBOR, the general-
purpose schema-less binary data format.

libcbor will be used by ssh to support FIDO/U2F keys. It is currently
intended only for use by ssh, and so is installed as a PRIVATELIB and is
placed in the ssh pkgbase package.

cbor_export.h and configuration.h were generated by the upstream CMake
build. We could create them with bmake rules instead (as NetBSD has
done) but this is a fine start.

This is currently disabled for the 32-bit library build as libfido2 is
not compatible with the COMPAT_32BIT hack in usb_ioctl.h, and there is
no need for libcbor without libfido2.

Reviewed by: kevans
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32347

# 1b85b68d 14-Oct-2021 Cameron Katri <me@cameronkatri.com>

llvm-readobj: Attach to buildsystem

Also install it as readelf when MK_LLVM_BINUTILS is set.

Reviewed By: dim, arichardson
Differential Revision: https://reviews.freebsd.org/D32058

# 88c02733 11-Oct-2021 Alex Richardson <arichardson@FreeBSD.org>

Update OptionalObsoleteFiles.inc after 021385aba562

I forgot to update this file so make delete-old would incorrectly remove
the newly-installed LLVM binutils. While touching the file also update
for 8e1c989abbd1 since ObsoleteFiles.inc now inludes the tablegen binaries.

Reported by: Herbert J. Skuhra <herbert@gojira.at>
Reviewed By: emaste, imp

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

# 032448cd 08-Oct-2021 Ed Maste <emaste@FreeBSD.org>

Belatedly track private lib renaming for OptionalObsoleteFiles.inc

Reviewed by: kevans
Fixes: 5551c573554e ("Rework PRIVATELIB")
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32384

# 85395180 21-Jul-2021 Fernando Apesteguía <fernape@FreeBSD.org>

Remove manpages from OLD_FILES

Remove apm.8 and apmconf.8 from OLD_FILES in the relevant Makefiles.

These pages are now installed unconditionally as per 0a0f7486413c

PR: 257228
Reported by: yasu@utahime.org, wosch@
Approved by: imp@, wosch@
Fixes: 0a0f7486413c - Build manpages for all architectures
MFH: 4 weeks
Differential Revision: https://reviews.freebsd.org/D31256

# 23408297 18-Jun-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project 12.0.1 rc2

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-12.0.1-rc2-0-ge7dac564cd0e, a.k.a. 12.0.1 rc2.

PR: 255570
MFC after: 6 weeks


# d409305f 26-Apr-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project 12.0.0 release

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-12.0.0-0-gd28af7c654d8, a.k.a. 12.0.0 release.

PR: 255570
MFC after: 6 weeks


# e8d8bef9 13-Jun-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-12-init-17869-g8e464dd76bef

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-12-init-17869-g8e464dd76bef, the last commit before the
upstream release/12.x branch was created.

PR: 255570
MFC after: 6 weeks


# 0333fad1 11-Jun-2021 John Baldwin <jhb@FreeBSD.org>

Remove svnlite.

Reviewed by: bcr, imp, emaste
Differential Revision: https://reviews.freebsd.org/D30737

# 95aa617e 03-Jun-2021 Dimitry Andric <dim@FreeBSD.org>

Add C++ headers <barrier> <concepts> <execution> <latch> <numbers> <semaphore>

I missed adding these to the libc++ Makefile, when importing
llvm-project 11.0.0-rc1, even though they were supplied by upstream.

While here, update OptionalObsoleteFiles.inc to add these new headers,
and cleanup old cruft.

Reported by: yuri
Submitted by: jkim (Makefile diff)
PR: 255374
MFC after: 3 days

# 15deee52 20-Mar-2021 Dimitry Andric <dim@FreeBSD.org>

Move GH_BC ObsoleteFiles.inc section to OptionalObsoleteFiles.inc

Optional features belong in the latter file, and should be tested using:

.if ${MK_FEATURE} == no
[...]
.endif

# e6cfd293 03-Mar-2021 John Baldwin <jhb@FreeBSD.org>

Remove the usr/tests/usr.bin/yacc/yacc directory when removing yacc.

MFC after: 1 week

# 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

# 5cf6f1c4 30-Jan-2021 Alex Richardson <arichardson@FreeBSD.org>

Remove the MK_LIBCPLUSPLUS option

This option has been equivalent to any form of C++ support since libstdc++
was removed. Therefore, replace all MK_LIBCPLUSPLUS uses with MK_CXX.

Reviewed By: emaste
Differential Revision: https://reviews.freebsd.org/D27974

# bfc99943 25-Jan-2021 Brooks Davis <brooks@one-eyed-alien.net>

ndis(4): remove as previous announced

nids(4) was a clever idea in the early 2000's when the market was
flooded with 10/100 NICs with Windows-only drivers, but that hasn't been
the case for ages and the driver has had no meaningful maintenance in
ages. It only supports Windows-XP era drivers.

Also remove:
- ndis support from wpa_supplicant
- ndiscvt(8)

Reviewed By: emaste, bcr (manpages)
Differential Revision: https://reviews.freebsd.org/D27609

# 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

# 7593c13e 16-Jan-2021 Dimitry Andric <dim@FreeBSD.org>

Add libclang_rt.profile-powerpc64le.a to (Optional)?ObsoleteFiles.inc

On little-endian PowerPC64, this prevented /usr/lib/clang/11.0.0 being
cleaned up completely after upgrading to clang 11.0.1.

Noticed by: pkubaj
MFC after: 4 weeks
X-MFC-With: r364284

# eaeb601b 03-Jan-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
release/11.x llvmorg-11.0.1-rc2-0-g43ff75f2c3f (aka 11.0.1 rc2).

MFC after: 4 weeks
X-MFC-With: r364284


# 8aff76fb 22-Dec-2020 Kyle Evans <kevans@FreeBSD.org>

build: remove the option to build gnugrep

Unconditionally install bsdgrep as grep, bootstrap or not. Remove all
build glue and stop installing both gnugrep and libgnuregex now that
all consumers of the latter are gone.

Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D27732

# 1c0ea326 15-Dec-2020 Ed Maste <emaste@FreeBSD.org>

Retire obsolete GDB 6.1.1

GDB 6.1.1 was released in June 2004 and is long obsolete. It does not
support all of the architectures that FreeBSD does, and imposes
limitations on the FreeBSD kernel build, such as the continued use of
DWARF2 debugging information.

It was kept (in /usr/libexec/) only for use by crashinfo(8), which
extracts some basic information from a kernel core dump after a crash.
Crashinfo already prefers gdb from port/package if installed.

Future work may add kernel debug support to LLDB or find another path
for crashinfo's needs, but in any case we do not want to ship the
excessively outdated GDB in FreeBSD 13.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D27610

# d2624517 26-Nov-2020 Alan Somers <asomers@FreeBSD.org>

ping: add a ping6 hard link for backwards compatibility

When invoked as "ping6", ping will now attempt to use ICMPv6 for hostnames
that resolve both IPv4 and IPv6 addresses.

Reviewed by: bz, manu
MFC-With: r368045
Differential Revision: https://reviews.freebsd.org/D27384

# 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

# 2406f943 15-Nov-2020 Dimitry Andric <dim@FreeBSD.org>

Ensure make delete-old does not unlink the llvm-cxxfilt and its manpage,
after r367304 and r367324, when WITH_LLVM_CXXFILT is enabled.

Noticed by: "Herbert J. Skuhra" <herbert@gojira.at>
MFC after: 3 days
X-MFC-With: r367304

# 07335072 18-Oct-2020 Kyle Evans <kevans@FreeBSD.org>

libbe(3): install MLINKS for all of the functions provided

MFC after: 1 week

# 6703731d 08-Sep-2020 Kyle Evans <kevans@FreeBSD.org>

phttpget: move out of portsnap

Currently, WITHOUT_PORTSNAP forces WITHOUT_FREEBSD_UPDATE because the
latter relies on phttpget, which lives inside the portsnap build bits.

Remove the dependency between these two options by moving phttpget out into
^/libexec and building/installing it if either WITH_PORTSNAP or
WITH_FREEBSD_UPDATE.

Future work could remove the conditional if it's decided that users will use
it independently of either the current in-base consumers.

Reported by: swills
Reviewed by: jilles, emaste
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D26255

# 32cb7794 03-Sep-2020 Dimitry Andric <dim@FreeBSD.org>

Ensure zpool-features(5) doesn't get removed by make delete-old.

Apparently, somewhere in 2012 ZFS-on-FreeBSD moved it from section 5 to
7, but ZFS-on-Linux never did.

# 57b71478 14-Aug-2020 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for added and removed clang 11.0.0
internal headers.

# 62cfcf62 28-Jun-2020 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
llvmorg-10.0.1-rc2-0-g77d76b71d7d.

Also add a few more llvm utilities under WITH_CLANG_EXTRAS:

* llvm-dwp, a utility for merging DWARF 5 Split DWARF .dwo files into
.dwp (DWARF package files)
* llvm-size, a size(1) replacement
* llvm-strings, a strings(1) replacement

MFC after: 3 weeks


# 136bdd99 26-Jun-2020 Dimitry Andric <dim@FreeBSD.org>

Follow-up to r362679, add more entries to OptionalObsoleteFiles.inc

MFC after: 3 days
X-MFC-With: r362679

# bd74205d 27-Jun-2020 Dimitry Andric <dim@FreeBSD.org>

Regenerate ReStructuredText based manpages for llvm-project tools:

* bugpoint.1
* clang.1
* llc.1
* lldb.1
* lli.1
* llvm-ar.1
* llvm-as.1
* llvm-bcanalyzer.1
* llvm-cov.1
* llvm-diff.1
* llvm-dis.1
* llvm-dwarfdump.1
* llvm-extract.1
* llvm-link.1
* llvm-mca.1
* llvm-nm.1
* llvm-pdbutil.1
* llvm-profdata.1
* llvm-symbolizer.1
* llvm-tblgen.1
* opt.1

Add newly generated manpages for:

* llvm-addr2line.1 (this is an alias of llvm-symbolizer)
* llvm-cxxfilt.1
* llvm-objcopy.1
* llvm-ranlib.1 (this is an alias of llvm-ar)

Note that llvm-objdump.1 is an exception, as upstream has both a plain
.1 file, and a .rst variant. These will have to be reconciled upstream
first.

MFC after: 3 days

# 0a9ab9f5 24-Jun-2020 Conrad Meyer <cem@FreeBSD.org>

Add WITH_CLANG_FORMAT option

clang-format is enabled conditional on either WITH_CLANG_EXTRAS or
WITH_CLANG_FORMAT. Some sources in libclang are build conditional on
either rule, and obviously the clang-format binary itself depends on the
rule.

clang-format could still use a manual page.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D25427

# 74e8d41e 06-Jun-2020 Ed Maste <emaste@FreeBSD.org>

Retire BINUTILS and BINUTILS_BOOTSTRAP options

As of r361857 all BINUTILS options are disabled by default - ports
have been changed to depend on binutils if they require GNU as, and
all base system assembly files have been switched to use Clang's
integrated assembler.

Relnotes: Yes
Sponsored by: The FreeBSD Foundation

# d65cd7a5 23-May-2020 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
llvmorg-10.0.1-rc1-0-gf79cd71e145 (aka 10.0.1 rc1).

MFC after: 3 weeks


# 65a1d636 15-May-2020 Ed Maste <emaste@FreeBSD.org>

libalias: retire cuseeme support

The CU-SeeMe videoconferencing client and associated protocol is at this
point a historical artifact; there is no need to retain support for this
protocol today.

Reviewed by: philip, markj, allanjude
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D24790

# 4d48b0cf 15-May-2020 John Baldwin <jhb@FreeBSD.org>

Don't remove ubsec(4) manual page for WITHOUT_USB=yes.

In head this manpage has been removed entirely, but ubsec(4) is a PCI
device and not a USB device.

MFC after: 1 week

# f8519228 07-May-2020 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles.inc: remove objdump

objdump is removed unconditionally in ObsoleteFiles.inc

# 12de77b3 19-Apr-2020 Cy Schubert <cy@FreeBSD.org>

Due to popular demand, revert r360102.

Reported by: many

# 4574585e 19-Apr-2020 Cy Schubert <cy@FreeBSD.org>

Conditionally install Kerberos rc files based on MK_KERBEROS_SCRIPTS
instead of MK_KERBEROS. The reason for this change is some users
prefer to build FreeBSD WITHOUT_KERBEROS, wanting to retain the
Kerberos rc scripts to start/stop MIT Kerberos or Heimdal from ports.

PR: 197337
Reported by: Adam McDougall <ebay at looksharp.net>
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D24252

# a52b0bb1 30-Mar-2020 Ed Maste <emaste@FreeBSD.org>

drop GDB_LIBEXEC option (now always true)

In-tree gdb is essentially obsolete. We kept it for sparc64 (because
gdb in ports lacked sparc64 support) and as a fallback for crashinfo.
gdb was installed to /libexec on all archs other than sparc64, where the
WITHOUT_GDB_LIBEXEC option was default, with gdb installed to /usr/bin.
With sparc64's retirement WITH_GDB_LIBEXEC became the default for all
architectures, but it was still possible to set it off and install gdb
into /usr/bin.

As the next step in gdb's retirement, remove the option and install gdb
only into /libexec as the crashinfo fallback. We expect users to install
the gdb port or package for debugging. The in-tree gdb lacks support for
a number of supported architectures and does not support contemporary
DWARF debug info.

Reviewed by: jhb (earlier)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D24227

# a04ec978 26-Mar-2020 Brandon Bergren <bdragon@FreeBSD.org>

[PowerPC] Switch powerpc and powerpcspe to lld

Now that LLD 10 is out, and required patches have landed, we are now ready
to finally switch away from the ancient in-tree ld.bfd.

Special thanks to Fangrui Song for many hours of work on getting the
32-bit powerpc lld ready for prime-time.

Reviewed by: emaste (earlier revision), jhibbits
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D24111

# b0d29bc4 23-Mar-2020 Brooks Davis <brooks@FreeBSD.org>

Import the kyua test framework.

Having kyua in the base system will simplify automated testing in CI and
eliminates bootstrapping issues on new platforms.

The build of kyua is controlled by WITH(OUT)_TESTS_SUPPORT.

Reviewed by: emaste
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D24103


# 725cc1de 17-Mar-2020 John Baldwin <jhb@FreeBSD.org>

Add missing DTrace files for WITHOUT_CDDL=yes.

Reviewed by: dteske
MFC after: 1 week
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D24037

# 0fbbe502 12-Mar-2020 Enji Cooper <ngie@FreeBSD.org>

Remove /usr/share/snmp/defs/tc.def with delete-old if MK_BSNMP == no

This removes a lingering file on new installs of CURRENT, originally
added in r345797.

MFC after: 1 week
MFC with: r345797

# 16b90565 10-Mar-2020 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r358731 through r358831.


# 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

# 91019ea7 29-Feb-2020 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r358400 through r358465.


# 57f80467 28-Feb-2020 Ed Maste <emaste@FreeBSD.org>

remove GCC 4.2.1 build infrastructure

As described in Warner's email message[1] to the FreeBSD-arch mailing
list we have reached GCC 4.2.1's retirement date. At this time all
supported architectures either use in-tree Clang, or rely on external
toolchain (i.e., a contemporary GCC version from ports).

GCC 4.2.1 was released July 18, 2007 and was imported into FreeBSD later
that year, in r171825. GCC has served us well, but version 4.2.1 is
obsolete and not used by default on any architecture in FreeBSD. It
does not support modern C and does not support arm64 or RISC-V.

Thanks to everyone responsible for maintaining, updating, and testing
GCC in the FreeBSD base system over the years.

So long, and thanks for all the fish.

[1] https://lists.freebsd.org/pipermail/freebsd-arch/2020-January/019823.html

PR: 228919
Reviewed by: brooks, imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D23124

# 0b37c159 25-Jan-2020 Dimitry Andric <dim@FreeBSD.org>

* Bump version numbers to 10.0.0
* Update UPDATING
* Update (Optional)ObsoleteFiles.inc
* Update VCS(Revision|Version) files
* Update generated config headers
* Update clang internal headers Makefile

# 0581ad70 20-Jan-2020 Mariusz Zaborski <oshogbo@FreeBSD.org>

When MK_CASPER=no is set remove files which are not needed to run system.

PR: 242971

# 3d37949e 20-Jan-2020 Mariusz Zaborski <oshogbo@FreeBSD.org>

Even when the MK_CASPER is set to "no" we still want to install man pages
and the headers. If the user decides to install the system without Casper
support, then the Casper functions are mocked, but they still exist in
the system.

PR: 242971
MFC after: 2 weeks

# c31a062f 20-Jan-2020 Mariusz Zaborski <oshogbo@FreeBSD.org>

Those files are already removed in ObsoleteFiles.\
There is no need to remove them twice.

PR: 242971
MFC after: 2 weeks

# cd0d51ba 04-Jan-2020 Kyle Evans <kevans@FreeBSD.org>

Provide libssp based on libc

For libssp.so, rebuild stack_protector.c with FORTIFY_SOURCE stubs that just
abort built into it.

For libssp_nonshared.a, steal stack_protector_compat.c from
^/lib/libc/secure and massage it to maintain that __stack_chk_fail_local
is a hidden symbol.

libssp is now built unconditionally regardless of {WITH,WITHOUT}_SSP in the
build environment, and the gcclibs version has been disconnected from the
build in favor of this one.

PR: 242950 (exp-run)
Reviewed by: kib, emaste, pfg, Oliver Pinter (earlier version)
Also discussed with: kan
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D22943

# c14a5a88 22-Dec-2019 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
9.0.1 final release c1a0a213378a458fbea1a5c77b315c7dce08fd05.

Release notes for llvm, clang, lld and libc++ 9.0.1 will become
available here:

https://releases.llvm.org/9.0.1/docs/ReleaseNotes.html
https://releases.llvm.org/9.0.1/tools/clang/docs/ReleaseNotes.html
https://releases.llvm.org/9.0.1/tools/lld/docs/ReleaseNotes.html
https://releases.llvm.org/9.0.1/projects/libcxx/docs/ReleaseNotes.html

PR: 240629
MFC after: 1 month


# 1bb8eb56 23-Nov-2019 Dimitry Andric <dim@FreeBSD.org>

libclang_rt: enable on powerpc*

Summary:
Enable on powerpc64 and in lib/libclang_rt/Makefile change
MACHINE_CPUARCH to MACHINE_ARCH because on powerpc64
MACHINE_ARCH==MACHINE_CPUARCH so the 32-bit library overwrites 64-bit
library during installworld.

This patch doesn't enable any other libclang_rt libraries because they
need to be separately ported.

I have verified that games/julius (which fails on powerpc64 elfv2
without this change because of no libclang_rt profiling library) builds.

Test Plan: Ship it, test on powerpc and powerpcspe

Submitted by: pkubaj
Reviewed by: dim, jhibbits
Differential Revision: https://reviews.freebsd.org/D22425
MFC after: 1 month
X-MFC-With: r353358

# 8b3bc70a 08-Oct-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r352764 through r353315.


# 4d22a29a 04-Oct-2019 Baptiste Daroussin <bapt@FreeBSD.org>

Do not remove the locale directory when building a system without locales

This directory is actually needed during make installworld and will prevent
to reinstall a system after make delete-old is done.

PR: 226137
Reported by: rakuco
MFC after: 3 days

# f993ed2f 09-Sep-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r351732 through r352104.


# 9a2b7c5f 04-Sep-2019 Rebecca Cran <bcran@FreeBSD.org>

The efifat files are no longer used: remove the code to build them

Reviewed by: imp, tsoome, emaste
Differential Revision: https://reviews.freebsd.org/D20562

# 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

# f57be329 01-Sep-2019 Dimitry Andric <dim@FreeBSD.org>

Update libclang_rt:
* Add cfi, dd, fuzzer and xray
* Update arch support
* Update OptionalObsoleteFiles.inc

# 2f3724e6 31-Aug-2019 Dimitry Andric <dim@FreeBSD.org>

Update Makefile and mtree for clang internal headers, and update
OptionalObsoleteFiles.inc for added and removed files.

# 72e1e271 23-Aug-2019 Dimitry Andric <dim@FreeBSD.org>

Change clang lib dir to 9.0.0.

# 7f32f0e2 18-Aug-2019 Vladimir Kondratyev <wulf@FreeBSD.org>

iwmbtfw: Firmware loader for Intel Wireless 8260 based Bluetooth USB devices

Currently supported models are: 8260, 8265, 9560, 9260 and 22161.
Firmware files can be installed with comms/iwmbt-firmware port.

PR: 237083
Reviewed by: hps, emax
X-MFC with: r351196
Differential Revision: https://reviews.freebsd.org/D21071

# 403c9d52 05-Aug-2019 Leandro Lupori <luporl@FreeBSD.org>

[PPC64] Don't mark ld.bfd as obsolete

PowerPC64 still needs ld.bfd for 32-bit binaries/libraries.

This will be needed when ELFv2 becomes default, but there is no harm in
committing it already.

Reviewed by: jhibbits
Differential Revision: https://reviews.freebsd.org/D21136

# 330014fd 03-Jul-2019 Tijl Coosemans <tijl@FreeBSD.org>

Also remove lib32 versions of libradius.

MFC after: 1 week

# 015cb6cd 26-Jun-2019 Cy Schubert <cy@FreeBSD.org>

Create a link to the ipmon.conf.5 man page as documented in ipmon.5.
Add its corresponding optional removal entry.

PR: 238816
MFC after: 1 week

# 74bc7fc0 26-Jun-2019 Cy Schubert <cy@FreeBSD.org>

Add the ipmon.5 man page.

PR/238816 initially addressed updates to usage() however the PR has
morphed into a shopping list of updates to usage() and man pages.

PR: 238816 (I added to the list during discussion)
MFC after: 1 week

# efc5c442 12-Jun-2019 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copies of clang, llvm, lld, lldb, compiler-rt, libc++,
libunwind and openmp to the upstream release_80 branch r363030
(effectively, 8.0.1 rc2). The 8.0.1 release should follow this within a
week or so.

MFC after: 2 weeks


# f02125cd 06-Jun-2019 Jung-uk Kim <jkim@FreeBSD.org>

Move llvm-ranlib to appropriate location in OptionalObsoleteFiles.inc.

Note llvm-ar is linked to llvm-ranlib since r311565. r348677 fixed
"make delete-old" issue with llvm-ar but missed it somehow.

Discussed with: emaste, jhb

# e4e92b4d 05-Jun-2019 Ed Maste <emaste@FreeBSD.org>

Use CLANG knob to remove llvm-symbolizer man page

r348504 moved llvm-symbolizer from the CLANG_EXTRAS knob to CLANG, but
the man page was still in the CLANG_EXTRAS section in
OptionalObsoleteFiles.inc.

Reported by: jhb
MFC after: 3 days
MFC with: r348504

# 7120683d 04-Jun-2019 Ed Maste <emaste@FreeBSD.org>

move llvm-ar and llvm-nm to appropriate location in OptionalObsoleteFiles.inc

After r348610 `make delete-old` was still removing llvm-ar and llvm-nm
(and associated man pages).

Reported by: jhb
Sponsored by: The FreeBSD Foundation

# 71259635 01-Jun-2019 Kyle Evans <kevans@FreeBSD.org>

llvm-symbolizer: Move out of CLANG_EXTRAS, into CLANG

ASAN reports become a lot more useful with llvm-symbolizer in $PATH, and the
build is not much more time-consuming. The added benefit is that the
resulting reports will actually include symbol information; without, thread
trace information includes a bunch of addresses that immediately resolve to
an inline function in
^/contrib/compiler-rt/lib/sanitizer_common/sanitizer_common.h and take a
little more effort to examine.

Reviewed by: emaste
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D20484

# 001ec17e 19-May-2019 Dimitry Andric <dim@FreeBSD.org>

To avoid unnecessarily modifying ports, add a -lgomp symlink, since GCC
does not ship a -lomp symlink. Also update OptionalObsoleteFiles for
this, and add 32-bit variants while here.

Submitted by: jbeich
PR: 237975
MFC after: 3 days

# 6da88762 19-May-2019 Dimitry Andric <dim@FreeBSD.org>

Fix OptionalObsoleteFiles copy/paste mistake from r345236, which
connected libomp to the build. The comparison should not have been
against ${MK_OPENSSH}, but against ${MK_OPENMP}, obviously.

MFC after: 3 days

# 60828939 26-Mar-2019 John Baldwin <jhb@FreeBSD.org>

Add special psuedo-options for the base/{binutils,gcc} ports.

The WITH_PORT_BASE_{BINUTILS,GCC} options are used to prevent 'make check-old'
and 'make delete-old' from deleting files installed by the base/binutils
and base/gcc packages as normally one disables the in-tree variants
(e.g. WITHOUT_BINUTILS) when using these packages.

Reviewed by: bapt (earlier version)
Differential Revision: https://reviews.freebsd.org/D19483

# 5d3d68ab 21-Mar-2019 Cy Schubert <cy@FreeBSD.org>

From r345400, remove the ippool rc script when ipfilter is not wanted
by the user.

PR: 218433
MFC after: 2 weeks
X-MFC with: r345400

# b0840a28 16-Mar-2019 Dimitry Andric <dim@FreeBSD.org>

Connect lib/libomp to the build.

* Set MK_OPENMP to yes by default only on amd64, for now.
* Bump __FreeBSD_version to signal this addition.
* Ensure gcc's conflicting omp.h is not installed if MK_OPENMP is yes.
* Update OptionalObsoleteFiles.inc to cope with the conflicting omp.h.
* Regenerate src.conf(5) with new WITH/WITHOUT fragments.

Relnotes: yes
PR: 236062
MFC after: 1 month
X-MFC-With: r344779

# 5193fcde 15-Mar-2019 Enji Cooper <ngie@FreeBSD.org>

Initial googlemock/googletest integration into the build/FreeBSD test suite

This initial integration takes googlemock/googletest release 1.8.1, integrates
the library, tests, and sample unit tests into the build.

googlemock/googletest's inclusion is optionally available via `MK_GOOGLETEST`.
`MK_GOOGLETEST` is dependent on `MK_TESTS` and is enabled by default when
built with a C++11 capable toolchain.

Google tests can be specified via the `GTESTS` variable, which, in comparison
with the other test drivers, is more simplified/streamlined, as Googletest only
supports C++ tests; not raw C or shell tests (C tests can be written in C++
using the standard embedding methods).

No dependent libraries are assumed for the tests. One must specify `gmock`,
`gmock_main`, `gtest`, or `gtest_main`, via `LIBADD` for the program.

More information about googlemock and googletest can be found on the
Googletest [project page](https://github.com/google/googletest), and the
[GoogleMock](https://github.com/google/googletest/blob/v1.8.x/googlemock/docs/Documentation.md)
and
[GoogleTest](https://github.com/google/googletest/tree/v1.8.x/googletest/docs)
docs.

These tests are originally integrated into the build as plain driver tests, but
will be natively integrated into Kyua in a later version.

Known issues/Errata:
* [WhenDynamicCastToTest.AmbiguousCast fails on FreeBSD](https://github.com/google/googletest/issues/2172)

Reviewed by: asomers
Approved by: emaste (mentor)
MFC after: 2 months
Differential Revision: https://reviews.freebsd.org/D19551


# 77e6f928 12-Mar-2019 Cy Schubert <cy@FreeBSD.org>

Fix still installing ipfilter rc.d files even when WITHOUT_IPFILTER
is specified.

When WITHOUT_IPFILTER is specified, delete-old-files fails to delete
the optional rc.d files from above. Fix this.

WITHOUT_IPFILTER fails to delete the ipfilter.5 optional file during
delete-old-files. Fix this.

Reported by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
MFC after: 1 week

# 844fc3e9 04-Mar-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r344549 through r344775.


# 2e881c1a 28-Feb-2019 Bryan Drewery <bdrewery@FreeBSD.org>

bsd.nls.mk isn't optional.

It is protected by MK_NLS. If it should really be optional then
it needs to be documented as such in share/mk/bsd.README and
.sinclude used where needed.

This fixes a regression from r335011.

PR: 232527
Submitted by: jarrod@downtools.com.au
Reported by: ktullavik@gmail.com
MFC after: 3 days

# a8fe8db4 25-Feb-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r344178 through r344512.


# 7588d90e 16-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Few more corrections to WITHOUT_OFED=1 make delete-old removal:

- Drop profile libraries; MK_PROFILE=no is set in all Makefile's.
- Correct library path to libmlx5.so.1 and libibverbs.so.1

MFC after: 5 days
MFC with: 344207

# fe3d954e 16-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Remove corresponding lib32/ files when WITHOUT_OFED=1 is set

MFC after: 5 days
MFC with: 344207

# 4a0225e5 16-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Refresh OptionalObsoleteFiles.inc for MK_PMC:

- Add missing /usr/sbin/pmc, pmcformat.h, libpmcstat.h and pmc.haswellxeon.3
to the list.
- Correct man page section for pmcstudy.8.
- Include recently added libipt and libopencsd for corresponding TARGET_ARCH

MFC after: 5 days

# b94a281e 15-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Add more rc.d scripts / empty directors / config files into
OptionalObsoleteFiles.inc

Note: only files with conditional installation logic were
included from the PR.

PR: 233046
Submitted by: <rozhuk.im@gmail.com>
MFC after: 5 days

# 48514fe1 15-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Allow to remove unused files via 'make delete-old(-libs)' when WITHOUT_OFED
and / or WITHOUT_OFED_EXTRA src.conf(5) options are set.

MFC after: 5 days

# ebd13ba3 15-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Remove vi(1)-related files via 'make delete-old' when WITHOUT_VI=1 is set.

MFC after: 5 days

# 9e43c218 09-Feb-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r343807 through r343955.


# 984aff28 07-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Correct ypldap(8) install path in OptionalObsoleteFiles.inc

It's installed to /usr/sbin, not to /usr/bin (and was always here).

While here, add missing manpages and /var/yp directory to the list.

MFC after: 1 week

# 7e565c55 30-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r343320 through r343570.


# 31f53eaa 27-Jan-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Remove RADIUS-related files when WITHOUT_RADIUS_SUPPORT=true is set
in src.conf(5)

PR: 234041
MFC after: 5 days

# 88148a07 22-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r343202 through r343319.


# 58a7b5d6 22-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Update libc++ build glue, and ObsoleteFiles.

# 6b77b5ec 20-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add more profile-enabled libraries to remove when WITHOUT_PROFILE is defined

PR: 230898
Submitted by: Herbert J. Skuhra <herbert@mailbox.org>
MFC after: 1 week

# 0bf31f1f 20-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Update version numbers, and regenerate config headers for llvm, clang,
lld and lldb. Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc.

# 33b63711 17-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add ypldap to the list of conditional obsolete files

ypldap should be removed during delete-old if WITHOUT_NIS flag is enabled

PR: 230727
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>
MFC after: 1 week

# 0a34fc88 16-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Fix conditional obsolete files entry for WITHOUT_EXAMPLES

Add all the files under /usr/share/examples to the MK_EXAMPLES
section. OLD_DIRS entries are not removed if they're not empty so
prior to this change WITHOUT_EXAMPLES didn't have significant effect
on the updated system.

PR: 228484
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru> (original patch)
MFC after: 1 week

# aca16d28 16-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add optional obsolete files for the installworld without sendmail

Add two more entries for WITHOUT_SENDMAIL install. The /var/spool/clientmqueue
entry would be deleted only if there are no files/dirs in it, so the
content generated during previous lifecycle of the system is safe

PR: 228484
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>
MFC after: 1 week

# d46dea50 13-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add four kerberos CLI utilities to OptionalObsoleteFiles.inc

Add asn1_compile, make-roken, kcc, and slc to the OptionalObsoleteFiles.inc
so they would be removed during delete-old stage if the new world is built
without Kerberos support.

PR: 230725
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>
MFC after: 1 week

# 0fc0faf8 11-Jan-2019 Lars Engels <lme@FreeBSD.org>

Add `bluetooth-config` script to simplify setting up bluetooth connections to
devices like mice, keyboards, bt-audio, ...

This script currently allows scanning for nearby devices, adds one to
/etc/bluetooth/hosts, adds an entry to hcsecd's conf and if it is a HID, add an
entry to bthidd's configs, as well.

Submitted by: erdgeist <erdgeist@erdgeist.org>
Approved by: bapt
MFC after: 2 weeks
Differential Revision: D3778
Reviewers: bapt, emax

# 354c6a44 07-Jan-2019 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove groff leftovers

usr/share/dict/eign is removed unconditionally as of r319664, so it no
longer needs to be in OptionalObsoleteFiles.

PR: 230353
Reported by: philippe.michel7 sfr.fr

# b1ce931b 17-Dec-2018 Alan Somers <asomers@FreeBSD.org>

Conditionalize installtion audit(4) tests on MK_AUDIT

MK_AUDIT already controls auditd(8), praudit(1), etc. It should also control
the audit test suite.

Submitted by: ngie
MFC after: 2 weeks
Pull Request: https://github.com/freebsd/freebsd/pull/240

# 314ce98e 16-Dec-2018 Alan Somers <asomers@FreeBSD.org>

OptionalObsoleteFiles: Fix deleting usr/tests/usr.sbin/sa

It's a directory, not a file.

Reported by: ngie
MFC after: 2 weeks
X-MFC-With: 300938

# 738ea871 16-Dec-2018 Alan Somers <asomers@FreeBSD.org>

Conditionally install /etc/rc.d/audit* based on ${MK_AUDIT}

/usr/sbin/audit(dist)?d are only installed if ${MK_AUDIT} == yes. Their
supporting scripts should only be installed in those instances as well.

Submitted by: ngie
Reviewed by: emaste
MFC after: 2 weeks
Pull Request: https://github.com/freebsd/freebsd/pull/242

# 11783f00 15-Dec-2018 Cy Schubert <cy@FreeBSD.org>

Repair build post-r342139

# 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

# 67350cb5 09-Dec-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r340918 through r341763.


# eda7d3be 26-Nov-2018 Ed Maste <emaste@FreeBSD.org>

Do not install GNU ld if lld is /usr/bin/ld

GNU binutils ld.bfd 2.17.50 does not support ifuncs and produces broken
binaries when ifuncs are in use. When LLD_IS_LD is default we have an
ifunc-capable system linker and can just avoid installing ld.bfd.

Reported by: theraven
Reviewed by: bz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D18340

# 9b5cb2f6 12-Nov-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r340235 through r340367.


# e8bd2804 09-Nov-2018 Ed Maste <emaste@FreeBSD.org>

Move llvm-profdata build into MK_LLVM_COV block

llvm-profdata is used with llvm-cov for code coverage (although llvm-cov
can also operate independently in a gcov-compatible mode).
Although llvm-profdata can be used independently of llvm-cov it makes
sense to group these under one option.

Also handle these in OptionalObsoleteFiles.inc while here.

Sponsored by: The FreeBSD Foundation

# 9f7331ad 09-Nov-2018 Ed Maste <emaste@FreeBSD.org>

llvm-cov: also install as gcov (if GNU gcov is disabled)

llvm-cov provides a gcov-compatible interface when invoked as gcov.

Reviewed by: dim, markj
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D17923

# 2f02c9d6 09-Nov-2018 Ed Maste <emaste@FreeBSD.org>

Consolidate gcov entries in OptionalObsoleteFiles

Sponsored by: The FreeBSD Foundation

# 68948600 04-Nov-2018 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, lld, lldb, compiler-rt and libc++ release_70 branch
r346007 (effectively 7.0.1 rc2), resolve conflicts, and bump version
numbers.

PR: 230240, 230355


# ce44d808 27-Sep-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338731 through r338987.


# 25569cea 25-Sep-2018 Ed Maste <emaste@FreeBSD.org>

Do not remove ld man page if lld is enabled and binutils is not

Reported by: Mark Millard
Approved by: re (gjb)
Sponsored by: The FreeBSD Foundation

# 3af64f03 11-Sep-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338392 through r338594.


# 3efdd580 07-Sep-2018 Ed Maste <emaste@FreeBSD.org>

Remove strings from OptionalObsoleteFiles.inc

Since r326030 strings is installed unconditionally so should not be
removed when WITHOUT_TOOLCHAIN is set.

Reported by: Dan McGregor
Approved by: re (kib)
Sponsored by: The FreeBSD Foundation

# da2d1e9d 29-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338298 through r338391.


# 8369ba42 24-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

libbe(3)/bectl(8): Make consistent with beadm

vermaden (maintainer of beadm) points out the following inconsistencies:
- "missing command" is not printed prior to usage if the error is simply a
missing command; this should be obvious from the context
- "bectl rename" isn't using the "don't unmount" flag (zfs rename -u), so
the active BE can't be renamed. It doesn't make sense in our context to
*not* use -u, so use it.

Documentation updates reflect the above and note an inconsistency with the
'destroy' command that is consistent with other parts of the base system.

A fix for libbe(3) not properly being installed to /lib is included.
SHLIBDIR should have been added when it was moved in r337995.

Approved by: re (kib)

# 7847e041 24-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338026 through r338297, and resolve conflicts.


# d7f41421 23-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

Remove hyper-v leftovers when WITHOUT_HYPERV is set

hv_vss_daemon was missed.

Submitted by: Oliver Pinter
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D16811

# ea8b116b 22-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

Remove ZFS leftovers when WITHOUT_ZFS is set

Submitted by: Oliver Pinter
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D16810

# a757dfac 03-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Update lib/libclang_rt for compiler-rt trunk r338150.

# 488aa40a 02-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Update libc++ and libc++experimental Makefiles, add libc++fs Makefile,
and update OptionalObsoleteFiles.inc for new additions.

# 67b158f6 01-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Update build blue to make WITH_CLANG_EXTRAS and WITH_CLANG_FULL work.

# d28668f9 31-Jul-2018 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for new clang intrinsics headers.

# 6dfa117f 31-Jul-2018 Dimitry Andric <dim@FreeBSD.org>

Update llvm/clang version numbers in various files.

# 6f077571 04-Jul-2018 Sean Bruno <sbruno@FreeBSD.org>

WITHOUT_SERVICESDB:

Add src.conf knob to disable the installation of /var/db/services.db

Default to leaving services.db in place, but allow the removal of the
file and its creation with a src.conf knob.

This file ends up being 2MB in size. For small systems this is a waste
of space but its a tradeoff.

Reviewed by: bdrewery
Differential Revision: https://reviews.freebsd.org/D9655

# 55458465 30-Jun-2018 Dimitry Andric <dim@FreeBSD.org>

More follow-up to r335799 (llvm/clang 6.0.1 update), where I forgot to
update mtree files, ObsoleteFiles and a number of other paths. Sorry
about all the breakage.

Pointy hat to: me
MFC after: 2 weeks
X-MFC-With: r335799

# 6a75ef58 20-Jun-2018 Kyle Evans <kevans@FreeBSD.org>

Don't remove loader.conf(5) when built WITHOUT_FORTH

The new stand/ structure installs loader.conf(5) and defaults/loader.conf
regardless of interpreter. The only thing gating installation now is
MK_BOOT.

Reported by: eadler

# 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

# cd134777 12-Jun-2018 Sean Bruno <sbruno@FreeBSD.org>

WITHOUT_NLS cleanup of more empty dirs.

Reviewed by: emaste
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D15626

# a8056486 09-Jun-2018 Dimitry Andric <dim@FreeBSD.org>

Add missed libc++ entries to (Optional)ObsoleteFiles.inc

Some of these were removed during the libc++ 5.0.0 import, others were
added in the libc++ 6.0.0 import.

MFC after: 3 days

# 30dc9502 06-Jun-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Remove NLS support from BSD grep

GNU grep as in actually in base does not have any translations support
compiled in, so no functionnality loss.

We do support 193 locales in base, we will never catch up on that number of
translation with bsd grep.

Removing NLS support make bsd grep consistent with the other binaries in base
which are not translated, and also reduce a little bit the code.

Reviewed by: kevans
Approved by: kevans
Discussed with: kevans @BSDCan
Differential Revision: https://reviews.freebsd.org/D15682

# f3e32074 23-May-2018 Eitan Adler <eadler@FreeBSD.org>

Add missing file for WITH{OUT}_BSDINSTAL

PR: 227805
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>

# b70d78d6 12-May-2018 Dag-Erling Smørgrav <des@FreeBSD.org>

Rename all Unbound binaries and man pages from unbound* to local-unbound*.

PR: 222902

# 612c330d 25-Apr-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Use a script wrapper for <compress>grep

Import the wrapper script from zstdgrep (written by wiz@netbsd.org)

Modify it to support more than just zstd (adding support for gzip,
lzma, xz and bzip2)

Write a simple manpage dedicated for it.

Only use that new wrapper both for gnu grep and bsd grep

Next step will be removing code related to compression format from bsdgrep

Reviewed by: kevans
Approved by: kevans
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D15193

# a2739731 06-Feb-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Remove gdbtui, it was already not installed on every arches
only installed on arm and sparc64.
It is the only bits that keeps us having libreadline in base
The rest of gdb can be switched to libedit and will be in another
commit

# fe4fed2e 28-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, lld, lldb, compiler-rt and libc++ trunk r321545,
update build glue and version numbers, add new intrinsics headers, and
update OptionalObsoleteFiles.inc.


# c9d5cb17 24-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc again.

# 0c4684a8 23-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for new headers and libraries under
/usr/lib/clang/6.0.0.

# 9509d906 23-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Add new llvm-objcopy utility, enabled when MK_CLANG_EXTRAS=yes.

# d49fee24 20-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc.

# d4419f6f 02-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copies of clang, llvm, lldb and libc++ to r319231 from the
upstream release_50 branch. This corresponds to 5.0.1 rc2.

MFC after: 2 weeks


# 898300ee 07-Nov-2017 Alexander Motin <mav@FreeBSD.org>

s/NgSendMsgReply/NgSendReplyMsg/ in man to match the code.

Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
MFC after: 2 weeks

# 578ec783 11-Oct-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Do not try to remove diff.7 optionaly has it is always removed
since GNU diff(1) has been replaced with BSD diff(1)

# 00d78afd 11-Oct-2017 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove diff from MK_GNU_DIFF=no block

diff (and man page) are not from GNU, as of r317209, and should not be
deleted if WITHOUT_GNU_DIFF is set. (WITHOUT_GNU_DIFF still controls
whether diff3 is built.)

Sponsored by: The FreeBSD Foundation

# e415aa28 06-Oct-2017 Jeremie Le Hen <jlh@FreeBSD.org>

Remove rcmds.

If they are still needed, you can find them in the net/bsdrcmds port.

This was proposed June, 20th and approved by various committers [1].
They have been marked as deprecated on CURRENT in r320644 [2] on July, 4th.
Both stable/11 and release/11.1 contain the deprecation notice (thanks to
allanjude@).

Note that ruptime(1)/rwho(1)/rwhod(8) were initially thought to be part of
rcmds but this was a mistake and those are therefore NOT removed.

[1] https://lists.freebsd.org/pipermail/freebsd-arch/2017-June/018239.html
[2] https://svnweb.freebsd.org/base?view=revision&revision=320644

Reviewed by: bapt, brooks
Differential Revision: https://reviews.freebsd.org/D12573

# 4154e70e 14-Sep-2017 Ed Maste <emaste@FreeBSD.org>

Update OptionalObsoleteFiles.inc with NTP docs

The list of files for MK_NTP was incomplete.

PR: 218193
Submitted by: brnrd
MFC after: 1 week

# 4572fb3f 13-Sep-2017 Gordon Tetlow <gordon@FreeBSD.org>

Deorbit catman. The tradeoff of disk for performance has long since tipped
in favor of just rendering the manpage instead of relying on pre-formatted
catpages. Note, this does not impede the ability to use existing catpages,
it just removes the utility to generate them.

Reviewed by: imp, allanjude
Approved by: emaste (mentor)
Differential Revision: https://reviews.freebsd.org/D12317

# 63cd05d9 16-Aug-2017 Ed Maste <emaste@FreeBSD.org>

remove debug files in delete-old* when WITHOUT_DEBUG_FILES

Reported by: brd
Reviewed by: bdrewery, brd
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D12044

# 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

# db17bf38 10-Jun-2017 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, lld, lldb, compiler-rt and libc++ r305145, and update
build glue.


# 686fb94a 10-Jun-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r319548 through r319778.


# 738919c0 07-Jun-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Remove groff from base

All manpages in base are now compatible with mandoc(1), all roff documentation
will be relocated in the doc tree. man(1) can now use groff from the ports tree
if it needs.

Also remove checknr(1) and colcrt(1) which are only useful with groff.

Approved by: (no objections on the mailing lists)

# f9448bf3 01-Jun-2017 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, lld, lldb, compiler-rt and libc++ r304460, and update
build glue.


# d02c951f 26-May-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r318658 through r318963.


# cdc37953 25-May-2017 Baptiste Daroussin <bapt@FreeBSD.org>

In preparation for the removal of the roff toolchain, disconnect the
roff documentation from the build.

Those documents will be added to the doc tree and distributed as PDF from
the documentation website. As they are valuable has history, but do not match
current FreeBSD

Further more, the ascii format we were using to distribute them is not really
accurate for such documents.

more details:
https://lists.freebsd.org/pipermail/freebsd-arch/2017-May/018211.html

# 583b5f35 23-May-2017 Glen Barber <gjb@FreeBSD.org>

Honor WITHOUT_TFTP for check-old* and delete-old* targets.

Submitted by: philippe dot michel7 at sfr dot fr
PR: 217949
MFC after: 3 days
Sponsored by: The FreeBSD Foundation

# 27c24068 22-May-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r318560 through r318657.


# 6930ca74 21-May-2017 Dimitry Andric <dim@FreeBSD.org>

Add libc++experimental.a for std::experimental support

This adds a separate library for supporting std::experimental features.
It is purposefully static, and must be explicitly linked into programs
using -lc++experimental.

PLEASE NOTE: there is NO WARRANTY as to any stability or continuing
existence of the features in the std::experimental parts of the C++
library!

Reviewed by: ed
Differential Revision: https://reviews.freebsd.org/D10840

# 209be205 16-May-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r317971 through r318379.


# e5c4c8aa 12-May-2017 Enji Cooper <ngie@FreeBSD.org>

Handle the logfiles in newsyslog and syslogd conditionally, based on
src.conf(5) knobs

This will allow consumers of FreeBSD to use the unmodified configuration
files out of the box more than previously.

Both newsyslog.conf and syslog.conf:
- /var/log/lpd-errs (MK_LPR != no)
- /var/log/ppp.log (MK_PPP != no)
- /var/log/xferlog (MK_FTP != no)

newsyslog.conf:
- /var/log/amd.log (MK_AMD != no)
- /var/log/pflog (MK_PF != no)
- /var/log/sendmail.st (MK_SENDMAIL != no)

MFC after: 3 weeks
Sponsored by: Dell EMC Isilon

# 2cb572a0 11-May-2017 Enji Cooper <ngie@FreeBSD.org>

Unconditionally install udp(4) and udplite(4) again

I added this to the MK_USB != no block in error in r278202.

MFC after: 3 weeks
Sponsored by: Dell EMC Isilon

# 50f2b14e 09-May-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for r318103.

# af3f3602 26-Apr-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r317281 through r317502.


# b4e2ab78 25-Apr-2017 Brooks Davis <brooks@FreeBSD.org>

Remove NATM configuration bits and assorted NATM and ATM remnants.

Reported by: ak
Reviewed by: ngie (first version)
Differential Revision: https://reviews.freebsd.org/D10497

# 73ad3fb5 25-Apr-2017 John Baldwin <jhb@FreeBSD.org>

Add a new GDB_LIBEXEC option to install gdb and kgdb to /usr/libexec.

When this option is enabled, only gdb and kgdb are installed to
/usr/libexec for use by crashinfo(8). Other bits of GDB such as
gdbserver and gdbtui are not installed. For this option to be
effective, GDB must be enabled.

Rework r317094 to re-enable GDB on all platforms but enable
GDB_LIBEXEC on platforms for which the GDB in ports is a superset of
functionality.

Reviewed by: emaste, kib
Suggested by: kib
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D10449

# b3ac6549 25-Apr-2017 Glen Barber <gjb@FreeBSD.org>

Remove an incorrect MLINK for tree(3) introduced in r310728.

Reported by: many
PR: 216476
MFC after: 3 days
Sponsored by: The FreeBSD Foundation

# 12ea3078 25-Apr-2017 John Baldwin <jhb@FreeBSD.org>

Remove info files from optional old files.

Info files are now all removed unconditionally after the removal of
texinfo.

MFC after: 1 week

# 554491ff 20-Apr-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r316992 through r317215.


# 50502545 20-Apr-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Readd Big5: some large databases setup are still requiring it.

Reported by: "張君天(Chun-Tien Chang)" <tcs@kitty.2y.idv.tw>

# f849be8a 16-Apr-2017 Dimitry Andric <dim@FreeBSD.org>

Add preliminary UPDATING and ObsoleteFiles.inc entries. Also add one
new intrinsics header.

# 2f4a7332 14-Apr-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionally install /etc/pam.d/ftp* and /etc/pam.d/telnetd

/etc/pam.d/ftp* should be installed with MK_FTP != no and
/etc/pam.d/telnetd should be installed when MK_TELNET != no.

MFC after: 7 weeks
Sponsored by: Dell EMC Isilon

# ababdab0 19-Mar-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Remove zh_TW.Big5 locale

After discussion with many Taiwanese, in IT or not. Big5 is not used anymore.
It is not able to represent lots of the characters used in the language.

# 2aadc44a 14-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Redirect standard error from find /rescue to /dev/null

This mutes noise from find when /rescue doesn't exist.

MFC after: 1 week
Sponsored by: Dell EMC Isilon

# 83684150 11-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Remove /rescue/zdb if MK_ZFS == no

Missed in r202452.

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# 4ab40004 11-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionally compile [additional] programs into rescue(8) if requested

Trivial oversight missed in r314240 cleanup because I enable these knobs on
my test machines.

MK_INET6_SUPPORT - rtsol
MK_NETCAT - nc

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# a1437e83 11-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Remove /rescue/iscsictl and /rescue/iscsid if MK_ISCSI == no

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# 97ab006d 10-Mar-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Remove the WITHOUT_MANDOCDB option

mandoc database is activated since FreeBSD 11.0, let's remove the previous
database format for FreeBSD 12.0

# d630701f 25-Feb-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r314178 through r314269.


# edb4a773 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Fill MK_LIBTHR as far as lib/libthr is concerned

There are other areas of the tree that will need to be evaluated for sanity
if they're supposed to be conditionally compiled out of the build/install,
like libzpool

MFC after: 1 month
Relnotes: yes (this might break someone's system if have the knob set)
Sponsored by: Dell EMC Isilon

# dc53eebd 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Remove MK_OBJC block

It is no longer represented via src.conf(5)

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# 31c3fb77 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Remove MK_CRYPT stub

It doesn't directly control what gets installed today; it indirectly
pulls other knobs (like MK_KERBEROS, etc).

MFC after: 1 weeks
Sponsored by: Dell EMC Isilon

# f0e14055 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Fill in MK_RESCUE by finding paths in ${DESTDIR}/rescue and adding
them to OLD_FILES/OLD_DIRS, as necessary.

MFC after: 1 month
Sponsored by: Dell EMC Isilon

# 5673173e 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionally compile certain programs into rescue(8) if requested

MK_CCD - ccdconfig
MK_ROUTED - routed, rtquery

MFC after: 2 weeks
Sponsored by: Dell EMC Isilon

# a3906ca5 17-Feb-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r313644 through r313895.


# 9264dd40 17-Feb-2017 Sean Bruno <sbruno@FreeBSD.org>

Update OLD_DIRS for various targets so that some of the branches of
directories are pruned when the appropriate knobs are turned.

Specifically, turning off bsdconfig, locales, examples, i18n, man,
ntp, syscons. It may not seem like a lot, but it helps when trying
to keep an x86 image under 96MB for MFSRoot netbooting.

Reviewed by: ngie
Differential Revision: https://reviews.freebsd.org/D9558

# 65575c14 29-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r312894 through r312967.


# 2b375b4e 27-Jan-2017 Yoshihiro Takahashi <nyan@FreeBSD.org>

Remove pc98 support completely.
I thank all developers and contributors for pc98.

Relnotes: yes

# 2dd1186c 27-Jan-2017 Ed Maste <emaste@FreeBSD.org>

Rename LLD_AS_LD to LLD_IS_LD, for consistency with CLANG_IS_CC

An additional case missed in r312855

# ca4fe588 27-Jan-2017 Ed Maste <emaste@FreeBSD.org>

Additional LD_AS_LLD -> LD_IS_LLD missed in r312894/r312895

# 80779b37 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge libc++ trunk r291476, update Makefile, ObsoleteFiles.inc and
OptionalObsoleteFiles.inc.


# 7b173dd6 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Add additional libc++ 4.0.0 headers.

# b0cc56ed 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r311692 through r311807.


# 0219a006 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Add recently added libc++ headers to OptionalObsoleteFiles.inc.

MFC after: 3 days

# 69415bc5 08-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r311546 through r311683.


# dc6e1047 06-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Link llvm-ar to llvm-ranlib, if WITH_CLANG_EXTRAS is enabled. When
invoked as llvm-ranlib, it can create an archive symbol table for
archives of objects compiled for LTO by an LLVM compiler.

Submitted by: Dan McGregor <danismostlikely@gmail.com>
MFC after: 3 days

# d8c03e73 04-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r311306 through r311313.


# 4c3d1ae2 04-Jan-2017 Jung-uk Kim <jkim@FreeBSD.org>

Remove llvm-objdump when Clang is disabled. It was missed in r310889.

Submitted by: dim

# 281264c5 04-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Add new llvm-{cxxfilt,lto2,modextract,xray} tools.

# 56e860c0 03-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc.

# cfd05404 31-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install bsnmpclient(3) as snmp_client_{init,set_host,set_port}(3)

MFC after: 3 days
X-MFC with: r310999

# a2795311 30-Dec-2016 Jung-uk Kim <jkim@FreeBSD.org>

Do not remove llvm-objdump. It is installed by default since r310840.

# 027e6861 28-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install {asn1,bsnmpagent,bsnmpclient,bsnmplib}.3 as all of the APIs
they document

Also, alphabetically sort MAN

MFC after: 3 days

# fdf6944b 28-Dec-2016 Andriy Voskoboinyk <avos@FreeBSD.org>

rum.4, run.4, runfw.4, zyd.4: do not install when MK_USB == no.

While here, add missing if_rtwn_usb.4.gz symlink into
OptionalObsoleteFiles.inc

# 4568bf74 27-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Only build/install usr.sbin/bsnmpd/modules/snmp_hast if MK_HAST != no

MFC after: 1 week

# 38bf4fd7 27-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Only build/install usr.sbin/bsnmpd/modules/snmp_wlan if MK_WIRELESS != no

MFC after: 1 week

# f66b889d 27-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install snmpmod.3 as all of the bsnmpd APIs it documents

MFC after: 3 days

# 7a53f9a7 17-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r310169 through r310190.


# 9e373074 16-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Remove lib/libelf's manpages if MK_TOOLCHAIN == no

Add a comment to help figure out which set is lib/libelf's and which set
is lib/libelftc's

MFC after: 1 week

# 4cc3366d 16-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install the lib/libelftc manpages

Some other manpages, e.g. c++filt reference these

MFC after: 1 week

# 5b18539f 10-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r309758 through r309803.


# 1a4604e3 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_FINGER in src.conf when running make delete-old

PR: 213719
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# bdc5a216 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_BOOTPD in src.conf when running make delete-old

PR: 213720
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# 06af16fb 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_BOOTPARAMD in src.conf when running make delete-old

PR: 213721
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# 53a04062 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_RBOOTD in src.conf when running make delete-old

PR: 213722
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# 87ac01ca 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Also remove auditdistd files if src.conf has WITHOUT_AUDIT

PR: 213723
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# 0c421ffe 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Add entries to remove timed files with make delete-old if WITHOUT_TIMED is set

PR: 213724
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# beced2ea 09-Dec-2016 Ed Maste <emaste@FreeBSD.org>

Keep /usr/bin/ld for WITHOUT_BINUTILS but WITH_LLD_AS_LD

Reported by: Nikolai Lifanov

# 1bde3b70 09-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r309519 through r309757.


# 8d4ddada 05-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Remove svn[lite]{bench,fsfs} if either MK_SVN == no or MK_SVNLITE == no

MFC after: 1 week

# 5042637b 02-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Update build glue for clang 3.9.1 r288513.

# d6d16831 27-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r309170 through r309212.


# 6908adc3 27-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Add a few missed clang 3.9.0 files to OptionalObsoleteFiles.

X-MFC-With: 309149

# 45bd65d6 25-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Add UPDATING entry and update ObsoleteFiles.inc.

# 02ebdc78 31-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r307736 through r308146.


# 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

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

Do not install NIS program rc script if WITHOUT_NIS is set

PR: 213375
Submitted by: sergey@akhmatov.ru
MFC after: 3 days

# 5763f796 21-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r307383 through r307735.


# 547d4caa 21-Oct-2016 Enji Cooper <ngie@FreeBSD.org>

Remove /usr/libexec/bsdinstall/hardening if MK_BSDINSTALL == no

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# 94ff3d03 20-Oct-2016 Ed Maste <emaste@FreeBSD.org>

Add knobs to make GNU diff and GNU grep optional

This is added to facilitate experiments building FreeBSD without
copyleft software.

If WITHOUT_GNU_DIFF is set no /usr/bin/diff or /usr/bin/diff3 will
be built.

If WITHOUT_GNU_GREP is set then BSD grep will be installed as
/usr/bin/bsdgrep or /usr/bin/grep, depending on the WITH_BSD_GREP
knob.

Reviewed by: brooks (earlier)
Sponsored by: The FreeBSD Foundation
Differential Revision: Differential Revision: https://reviews.freebsd.org/D8288

# 7453645f 17-Oct-2016 Andriy Voskoboinyk <avos@FreeBSD.org>

rtwn(4), urtwn(4): merge common code, add support for 11ac devices.

All devices:
- add support for rate adaptation via ieee80211_amrr(9);
- use short preamble for transmitted frames when needed;
- multi-bss support:
* for RTL8821AU: 2 VAPs at the same time;
* other: 1 any VAP + 1 sta VAP.
RTL8188CE:
- fix IQ calibration bug (reason of significant speed degradation);
- add h/w crypto acceleration support.
USB:
- A-MPDU Tx support;
- short GI support;
Other:
- add support for RTL8812AU / RTL8821AU chipsets
(a/b/g/n only; no ac yet);
- split merged code into subparts:
* bus glue (usb/*, pci/*, rtl*/usb/*, rtl*/pci/*)
* common (if_rtwn*)
* chip-specific (rtl*/*)
- various other bugfixes.

Due to code reorganization, module names / requirements were changed too:
urtwn urtwnfw -> rtwn rtwn_usb rtwnfw
rtwn rtwnfw -> rtwn rtwn_pci rtwnfw

Tested with RTL8188CE, RTL8188CUS, RTL8188EU and RTL8821AU.

Tested by: kevlo, garga,
Peter Garshtja <peter.garshtja@ambient-md.com>,
Kevin McAleavey <kevin.mcaleavey@knosproject.com>,
Ilias-Dimitrios Vrachnis <id@vrachnis.com>,
<otacilio.neto@bsd.com.br>
Relnotes: yes

# a0e610c4 15-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r306906 through r307382.


# a0135a1e 14-Oct-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Remove GNU rcs from base.

GNU rcs is still available as a package:
- rcs: Latest GPLv3 GNU rcs version.
- rcs57: Copy of the latest version of GNU rcs (GPLv2) from base.

Relnotes: yes

# bba922dd 13-Oct-2016 Enji Cooper <ngie@FreeBSD.org>

Also, remove etc/rc.d/zfsbe when MK_ZFS == no

X-MFC with: r307182, r307191
Sponsored by: Dell EMC Isilon

# f884b59d 10-Oct-2016 Ed Maste <emaste@FreeBSD.org>

Remove old makewhatis(1) man page when using mandoc

mandoc installs makewhatis(8)

# 242b2482 09-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r306412 through r306905.


# 9ce3c6b0 03-Oct-2016 Ed Maste <emaste@FreeBSD.org>

Retire WITHOUT_ELFCOPY_AS_OBJCOPY option

In FreeBSD 11 ELF Tool Chain's elfcopy is installed as objcopy by
default, with the option to switch back to GNU objcopy by setting
WITHOUT_ELFCOPY_AS_OBJCOPY in make.conf.

We plan to remove the outdated in-tree binutils in FreeBSD 12, so
remove the temporary transition aid.

Reviewed by: brooks, imp
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D7337

# 335bcabe 28-Sep-2016 Ed Maste <emaste@FreeBSD.org>

Merge ^/head r306303 through 306411.


# 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

# dd792b9c 07-Sep-2016 Ed Maste <emaste@FreeBSD.org>

Add ld.lld to OptionalObsoleteFiles

# dd6675fd 02-Sep-2016 Dimitry Andric <dim@FreeBSD.org>

Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc.

# 09b9789b 19-Aug-2016 John Baldwin <jhb@FreeBSD.org>

Remove the wl(4) driver and wlconfig(8) utility.

The wl(4) driver supports pre-802.11 PCCard wireless adapters that
are slower than 802.11b. They do not work with any of the 802.11
framework and the driver hasn't been reported to actually work in a
long time.

Relnotes: yes

# 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

# bd4dcc3e 22-Jul-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Move chown tests to proper path

Sponsored by: EMC / Isilon Storage Division

# d39abb6f 03-Jul-2016 Enji Cooper <ngie@FreeBSD.org>

Remove ftp(1) related files when MK_FTP == no

Approved by: re (gjb)
Differential Revision: https://reviews.freebsd.org/D6969
MFC after: 1 week
Reviewed by: ngie
Submitted by: rakuco
Sponsored by: EMC / Isilon Storage Division

# 3cf6509d 03-Jul-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Posixify the locales name for variants

For all locales with variants:
- if no ambiguity on the locale (only one variant) just use the regular name
- if ambiguity, pick one as default and append @<variant> to the others
respecting POSIX

As a result:
- All the 3 components locales added recently are renamed to the usual 2
components version for all but sr_RS.UTF-8
- Set sr_RS.UTF-8 to the cyrillic variant
- Add sr_RS.UTF-8@latin
- Remove the symlinks aliases they were created to represent the 2 components
version as aliasas and are now useless
- Update the OptionalObsoleteFiles.inc and ObsoleteFiles.inc to reflect those
changes

Discussed with: ache@
Approved by: re@ (gjb)

# bc2abcfd 17-Jun-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Add clang-format under WITH_CLANG_EXTRAS.

Reviewed by: dim
Approved by: re (gjb)
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D6856

# 328e4174 08-Jun-2016 Dag-Erling Smørgrav <des@FreeBSD.org>

Replace _pam_verbose_error() with a macro. This was the last difference
between our libpam and stock OpenPAM, meaning that it is now possible to
replace the base libpam with a hypothetical ports version of OpenPAM.

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

Separate BLACKLIST vs BLACKLIST_SUPPORT properly

Sponsored by: The FreeBSD Foundation

# bccb3f5a 04-Jun-2016 Kurt Lidl <lidl@FreeBSD.org>

Correct path for blacklistd.conf in OptionalObsoleteFiles.inc

Fix typo made when adding the blacklistd.conf file to OptionalObsoleteFiles.inc

Submitted by: Herbert J. Skuhra ( herbert at mailbox.org )
Reviewed by: rpaulo
Approved by: rpaulo
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6715

# 0871a7d5 03-Jun-2016 Kurt Lidl <lidl@FreeBSD.org>

Add blacklistd.conf manpage

Install the blacklistd.conf man page, missed in the original commit.

Submitted by: Herbert J. Skuhra ( herbert at mailbox.org )
Reviewed by: rpaulo
Approved by: rpaulo
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6702

# 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

# d9082519 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove yacc and the yacc tests if MK_TOOLCHAIN == no

yacc's install is conditional based on MK_TOOLCHAIN != no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 5c46b734 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove the sa(8) tests if MK_ACCT == no when "make delete-old" is run

sa(8) is conditionally installed based on MK_ACCT != no today

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 36873e79 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove the etcupdate tests if MK_RCS == no when "make delete-old" is run

etcupdate is conditionally installed based on MK_RCS != no today

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# a058bc90 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove the calendar tests if MK_CALENDAR == no when "make delete-old"
is run

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 904bea83 14-May-2016 Enji Cooper <ngie@FreeBSD.org>

Conditionalize installing etc/rc.d/atm{1,2,3}

`BEFORE: netif` was already in etc/rc.d/atm1, so no additional changes
are needed in that script

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

# fbee792a 14-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove etc/rc.d/{zfs,zvol} if MK_ZFS != no

MFC after: 2 weeks
X-MFC with: r299840
Sponsored by: EMC / Isilon Storage Division

# 9941801f 06-May-2016 Enji Cooper <ngie@FreeBSD.org>

Only install etc/rc.d/{rfcomm_pppd_server,sdpd} if MK_BLUETOOTH != no

These are bluetooth specific services

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 9c613777 06-May-2016 Enji Cooper <ngie@FreeBSD.org>

Fix r299162

share/man/man8/Makefile:
- Add src.opts.mk so MK_NIS can be tested
- Fix typo in MK_NIS conditional

tools/build/mk/OptionalObsoleteFiles.inc:
- Remove WIP diff from ^/user/ngie/detangle-rc

MFC after: 1 week
X-MFC with: r299162
Sponsored by: EMC / Isilon Storage Division

# 18128d28 06-May-2016 Enji Cooper <ngie@FreeBSD.org>

Only install NIS section 8 manpages if MK_NIS != no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 2353cc3d 16-Apr-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Complete the Obsoletefiles entries

# 110cf8a6 16-Apr-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Regenerates locales Makefiles and locales

# 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

# 9893f787 21-Feb-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r295601 through r295844.


# 156e1855 19-Feb-2016 Ed Maste <emaste@FreeBSD.org>

Remove objcopy in WITHOUT_TOOLCHAIN if it's from elftoolchain

# 4156ce4f 11-Feb-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r295351 through r295543.


# 8232a681 11-Feb-2016 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove unbound-contrl-setup since we use a local control socket which
does not require keys.

MFC after: 3 days
Relnotes: yes

# b229c1a0 08-Jan-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r293280 through r293429.


# f5b4d341 07-Jan-2016 Renato Botelho <garga@FreeBSD.org>

Obsolete inetd related files when WITHOUT_INETD is set

Reviewed by: bapt
Approved by: gnn
MFC after: 1 week
Sponsored by: Rubiconn Communications (Netgate)
Differential Revision: https://reviews.freebsd.org/D4742

# f3304b8d 06-Jan-2016 Dimitry Andric <dim@FreeBSD.org>

Add new pkuintrin.h intrinsics header.

# 34cdd776 31-Dec-2015 Dimitry Andric <dim@FreeBSD.org>

First part of updating llvm/clang build glue: getting llvm-tblgen,
clang-tblgen and clang itself built.

# 802df53c 30-Dec-2015 Dimitry Andric <dim@FreeBSD.org>

Update various build glue files for the new llvm/clang version number.

# 9a4b3118 25-Dec-2015 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copies of clang and llvm to 3.7.1 release. This is a
bugfix-only release, with no new features.

Please note that from 3.5.0 onwards, clang and llvm require C++11
support to build; see UPDATING for more information.


# e7beaf99 23-Dec-2015 Ed Maste <emaste@FreeBSD.org>

Install ld also as ld.bfd, for use with cc -fuse-ld=bfd

PR: 205409 [exp-run]
MFC after: 1 week
Relnotes: Yes
Sponsored by: The FreeBSD Foundation

# a2acf602 16-Dec-2015 Ed Maste <emaste@FreeBSD.org>

Remove lldb(1) files if WITHOUT_LLDB is set

Sponsored by: The FreeBSD Foundation

# a9dfc956 01-Dec-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Fully connect cddl/usr.sbin/plockstat.

There seems to be no reason to keep this so private.

Also add missing optional MK_CDDL files.

Sponsored by: EMC / Isilon Storage Division

# 85ab8f98 29-Nov-2015 Dimitry Andric <dim@FreeBSD.org>

Install the public sanitizer headers. These are useful for programs
that want to directly interface with sanitizer internals.

# 1d211085 15-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Bring back a couple of ISO8859-15 locales:
- af_ZA.ISO8859-15
- en_AU.ISO8859-15
- en_CA.ISO8859-15
- en_NZ.ISO8859-15
- en_US.ISO8859-15
- fr_CA.ISO8859-15

# 0dc64c20 15-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Remove trailing spaces at end of lines

# 99b47c3c 15-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Update the list of files to be removed in case world is built WITHOUT_LOCALES

# 44642b54 10-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

- Move ng_bluetooth.4 under MK_BLUETOOTH != no
- Move all section 5 bluetooth manpages under MK_BLUETOOTH != no

MFC after: 3 days
PR: 193260
Reported by: Philippe Michel <philippe.michel7@sfr.fr>
Sponsored by: EMC / Isilon Storage Division

# 07fa68d6 07-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Catchup with latest changes for ObsoleteFiles in case base is built using
WITHOUT_LOCALE knob

# 3e4f384e 07-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from head r290483


# 2a923f8f 01-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

Rename etc/periodic/daily/430.status-rwho to periodic/daily/430.status-uptime

The command was checking local/remote system uptime, so rename the script to
match its function and to avoid confusion

The controlling variable in /etc/periodic.conf has been renamed from
daily_status_rwho_enable to daily_status_uptime_enable.

MFC after: 3 days
Reported by: Peter Jeremy <peter@rulingia.com>
Relnotes: yes
Sponsored by: EMC / Isilon Storage Division

# 55972acf 01-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

Conditionally install (if_)?(otus|rsu).4, otusfw.4, rsufw.4, and urtwn.4 if
MK_USB != no

Add the manpages to OptionalObsoleteFiles.inc

As a side-effect, this also fixes installworld with MK_USB == no

X-MFC with: r290128
Sponsored by: EMC / Isilon Storage Division

# 3c3feed4 01-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from head


# 567be5c2 24-Oct-2015 Enji Cooper <ngie@FreeBSD.org>

Add libvmmapi to OptionalObsoleteFiles.inc when MK_BHYVE == no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 74c52c65 20-Oct-2015 Julio Merino <jmmv@FreeBSD.org>

Handle lib32 files during delete-old* when MK_LIB32=no.

Extend OptionalObsoleteFiles.inc to delete all lib32 files when MK_LIB32 is
set to no on a system that previously had lib32 libraries installed.

Also, to prevent "make delete-old-dirs" from always deleting lib32 directories
after an installworld, move the lib32 subtree to its own mtree file that only
gets applied when MK_LIB32=yes.

Test: Ran "make delete-old" and "make delete-old-libs" on a system that never
had MK_LIB32 enabled, and on a system where MK_LIB32 was enabled and later
disabled. Did this both on amd64 and powerpc64.

Test: Ran "make tinderbox" without errors.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D3923

# becbad1f 13-Oct-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from head


# 65dcb5bc 01-Oct-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r288197 through r288456.


# 9875367b 27-Sep-2015 Andriy Gapon <avg@FreeBSD.org>

remove unused sgsmsg utility (originally imported from opensolaris)

MFC after: 25 days

# 1e066951 25-Sep-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Add missing binutils ldscripts.

Some of these are after the fix in r288230 to install them.

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

# 26e065d0 22-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r288035 through r288099.


# f7d9215f 20-Sep-2015 Enji Cooper <ngie@FreeBSD.org>

Delete /etc/autofs/special_noauto when MK_AUTOFS == no

MFC after: 1 week

# b1fa820d 20-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Don't install Intrin.h, as this is an intrinsics header for Windows.

# 854fa44b 16-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Update libc++ to 3.7.0 release.


# b6c25e0e 06-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Update llvm, clang and lldb to 3.7.0 release.


# 23a32822 25-Aug-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from HEAD


# 6fdf637e 17-Aug-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r286697 through r286857.


# 55f80482 13-Aug-2015 Antoine Brodin <antoine@FreeBSD.org>

Stop removing ELF toolchain tools

# 1bc28ffc 13-Aug-2015 Ed Maste <emaste@FreeBSD.org>

Roll WITHOUT_ELFTOOLCHAIN_TOOLS into WITHOUT_TOOLCHAIN

The option was added only to ease the transition from GNU Binutils to
ELF Tool Chain tools, and that process is now complete (for the viable
replacements). Noting the removal in UPDATING is sufficient as we have
not shipped a release with the option.

Reviewed by: brooks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3240

# f98ee844 12-Aug-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r286422 through r286684.


# 53d2ddb3 11-Aug-2015 Julio Merino <jmmv@FreeBSD.org>

Mark usr/include/c++/v1/tr1 as obsolete

The directory usr/include/c++/v1 was marked as obsolete but its tr1 subdir
was not, resulting in a removal error in delete-old.

# e2ff105a 09-Aug-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Update Obsolete files in case MK_LOCALE=no

# b8a1f275 08-Aug-2015 Renato Botelho <garga@FreeBSD.org>

Add missing files to sendmail obsolete files list

Approved by: gshapiro
MFC after: 3 days
Sponsored by: Netgate
Differential Revision: https://reviews.freebsd.org/D3302

# 1347814c 07-Aug-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r285924 through r286421.


# f97aa232 05-Aug-2015 Ed Maste <emaste@FreeBSD.org>

Remove old GNU Binutils tools now provided by ELF Tool Chain

Reviewed by: bapt, brooks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3238

# b43cca13 29-Jul-2015 Ed Maste <emaste@FreeBSD.org>

MK_ELFCOPY_AS_OBJCOPY should be a variable

PR: 201978
Submitted by: O. Hartmann
Differential Revision: https://reviews.freebsd.org/D2887

# 5ea9e83e 29-Jul-2015 Ed Maste <emaste@FreeBSD.org>

Allow ELF Tool Chain elfcopy to be installed as objcopy

ELF Tool Chain elfcopy is nearly a drop-in replacement for GNU objcopy,
but does not currently support PE output which is needed for building
x86 UEFI bits.

Add a src.conf knob to allow installing it as objcopy and set it by
default for aarch64 only, where we don't have a native binutils.

Reviewed by: bapt
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2887

# 2d83b16b 29-Jul-2015 Ed Maste <emaste@FreeBSD.org>

Update OLD_FILES for tools provided by ELF Tool Chain or Binutils

Sponsored by: The FreeBSD Foundation

# 5f78ec1c 27-Jul-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r285793 through r285923.


# c048a83f 26-Jul-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Replace GNU RCS ident with a BSD license ident

Rationale: ident(1) is useful out of RCS, lot of scripts are using ident(1) and
failing when base is built WITHOUT_RCS.

This version is:
- fully compatible with RCS 5.7 ident.
- fully compatible with RCS 5.9 ident.
- passes all ident test from GNU RCS 5.9 test suite

This version has support for: svn extension for the Keyword id (double colon and
# before last $)

Différences with GNU RCS ident:
- no long options as found in GNU RCS 5.9 (but not commented there).
- '-V' reports nothing but has been added for compatibility.

Differential Revision: https://reviews.freebsd.org/D3200
Reviewed by: pfg

# 8d0f1085 22-Jul-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r285341 through r285792.


# 96a59ba2 15-Jul-2015 Andrey A. Chernov <ache@FreeBSD.org>

Comment out usr/sbin/mailwrapper removal
because for no mailwrapper case we have:
/usr/sbin/sendmail -> /usr/sbin/mailwrapper
/usr/sbin/mailwrapper -> /usr/libexec/sendmail/sendmail
Add comment explaining it.

# 3dac3a9b 05-Jul-2015 Dimitry Andric <dim@FreeBSD.org>

Update llvm/clang to r241361.


# cc38b640 23-Jun-2015 Dimitry Andric <dim@FreeBSD.org>

Update llvm/clang build glue.

# 76aeda8a 20-Jun-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r284188 through r284643.


# 62a996ed 20-Jun-2015 Antoine Brodin <antoine@FreeBSD.org>

Add more obsolete files

# 78fa96c2 20-Jun-2015 Antoine Brodin <antoine@FreeBSD.org>

Add some files to remove when MK_BSD_GREP=no

# e2dd1974 17-Jun-2015 Baptiste Daroussin <bapt@FreeBSD.org>

The build and installation of rmail(8) is only related to the SENDMAIL option

# 15953005 17-Jun-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Do not remove mailwrapper(8) in case WITHOUT_SENDMAIL is used

It is required for other tools in base and/or ports like dma(8) or any MTA
available in ports. It is also build and installed anyway even if world is built
WITHOUT_SENDMAIL

# 6b02d180 30-May-2015 Dimitry Andric <dim@FreeBSD.org>

Restore an accidentally deleted .endif.

# ebeff3f9 30-May-2015 Dimitry Andric <dim@FreeBSD.org>

Update Makefiles and other build glue for llvm/clang 3.7.0, as of trunk
r238337.

# ef6fa9e2 25-May-2015 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of clang and llvm to 3.6.1 release.

This release contains the following cherry-picked revisions from
upstream trunk:

226124 226151 226164 226165 226166 226407 226408 226409 226652
226905 226983 227084 227087 227089 227208 227209 227210 227211
227212 227213 227214 227269 227430 227482 227503 227519 227574
227822 227986 227987 227988 227989 227990 228037 228038 228039
228040 228188 228189 228190 228273 228372 228373 228374 228403
228765 228848 228918 229223 229225 229226 229227 229228 229230
229234 229235 229236 229238 229239 229413 229507 229680 229750
229751 229752 229911 230146 230147 230235 230253 230255 230469
230500 230564 230603 230657 230742 230748 230956 231219 231237
231245 231259 231280 231451 231563 231601 231658 231659 231662
231984 231986 232046 232085 232142 232176 232179 232189 232382
232386 232389 232425 232438 232443 232675 232786 232797 232943
232957 233075 233080 233351 233353 233409 233410 233508 233584
233819 233904 234629 234636 234891 234975 234977 235524 235641
235662 235931 236099 236306 236307

Please note that from 3.5.0 onwards, clang and llvm require C++11
support to build; see UPDATING for more information.


# 9c36af58 21-May-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Mark libgomp.so.1 as an old lib not an old file

# 800eeabd 20-May-2015 Enji Cooper <ngie@FreeBSD.org>

Remove usr/share/dtrace/{tcpconn,tcpstate,tcptrack,udptrack} if MK_CDDL == no

Sponsored by: EMC / Isilon Storage Division

# d485dbc7 18-May-2015 Ed Maste <emaste@FreeBSD.org>

Build libgcov only if we're building base system GCC

Clang uses compiler-rt for the code coverage runtime, and ports GCC
provides its own libgcov.

PR: 200203 (exp-run)
Sponsored by: The FreeBSD Foundation

# 810d5b34 15-May-2015 Ed Maste <emaste@FreeBSD.org>

Build libgomp only if we're also building base system GCC

Clang's OpenMP support will emit Intel OpenMP API library calls,
and will therefore require libiomp (or whatever name is settled on).
An up-to-date version of libgomp is included in ports or pkg GCC.
Thus, there is no reason to build base libgomp without base system GCC.

PR: 199979 (exp-run)
Reviewed by: pfg
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2459

# 56af72b1 06-May-2015 Ed Maste <emaste@FreeBSD.org>

Fix make delete-old for gperf and GCC/CXX options

- Optional components go in OptionalObsoleteFiles
- Move gperf removal to be based on MK_GCC only, not MK_CXX and MK_GCC

Reviewed by: imp, sbruno
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2421

# 363da138 01-May-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Replace groff's soelim by soeliminate(1) renamed soelim(1)

# 45cf4a7c 01-May-2015 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: don't remove c++filt when using ELF Tool Chain

c++filt is listed here twice, for MK_CXX == no and MK_GCC == no, but
r282285 only caught one of them.

# 0a06cffc 30-Apr-2015 Ed Maste <emaste@FreeBSD.org>

Add ELF Tool Chain's c++filt to the build

Differential Revision: https://reviews.freebsd.org/D2408
Reviewed by: brooks, imp
Sponsored by: The FreeBSD Foundation

# 1382ef3d 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_ZONEINFO == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 587291d9 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TESTS_SUPPORT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# a6d0a667 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_LEGACY_CONSOLE == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# d6c95721 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_KERBEROS_SUPPORT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# eb6edb77 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_KDUMP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 659854cd 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_JAIL == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 992cc53e 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_CASPER == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 9c793fa8 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_INET6 == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 0c11ad65 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_FORTH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# ca65be80 04-Mar-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r279313 through r279595.


# ffb67907 02-Mar-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Remove gperf(7) if gperf is not installed

# 9ddafbe2 02-Mar-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Install manpage version of texinfo documentation for binutils

# 9b2a0d91 22-Feb-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r279023 through r279162.


# 9cb8ba56 22-Feb-2015 Colin Percival <cperciva@FreeBSD.org>

Step 2 of eliminating the "games" distribution: Remove punch card
utilities.

I was originally planning on removing the phase-of-moon (pom), clock
(grdc), and caesar cipher (caesar, rot13) utilities as well, but after
I committed r278616 I received an astonishing volume of email informing
me that those are still being widely used. Much to my relief, nobody
reported continuing to use the punch card utilities in production.

The final step will be to merge src/games into src/usr.bin.

This change will not be MFCed.

# 569e61a4 14-Feb-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r278499 through r278755.


# 11d9aa67 11-Feb-2015 Colin Percival <cperciva@FreeBSD.org>

Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;
update paths; and include everything in the "base" distribution.

The "games" distribution being optional made sense when there were more
games and we had small disks; but the "games-like" games were moved into
the ports tree a dozen years ago and the remaining "utility-like" games
occupy less than 0.001% of my laptop's small hard drive. Meanwhile every
new user is confronted by the question "do you want games installed" when
they they try to install FreeBSD.

The next steps will be:

2. Removing punch card (bcd, ppt), phase-of-moon (pom), clock (grdc), and
caesar cipher (caesar, rot13) utilities. I intend to keep fortune, factor,
morse, number, primes, and random, since there is evidence that those are
still being used.

3. Merging src/games into src/usr.bin.

This change will not be MFCed.

Reviewed by: jmg
Discussed at: EuroBSDCon
Approved by: gjb (release-affecting changes)

# a403ab7f 04-Feb-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r278110 through r278223.


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

Clean up more usb related files when MK_USB == no when dealing with
manpages, libraries, and binaries

MFC after: 1 week
X-MFC with: r278135
Sponsored by: EMC / Isilon Storage Division


# 04c5a27b 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_USB == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 1dc6769d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_UNBOUND == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# e5f6569b 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TEXTPROC == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# aee4d21d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TESTS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# fed7ef16 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TCSH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 3f13cb12 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_SYSCONS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 14e319f2 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_SSP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 1d706ec4 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_QUOTAS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 61c40359 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_PORTSNAP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 7a713cea 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_PMC == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 71795a01 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_PF == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 3f72f932 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_OPENSSH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 73ee00ce 02-Feb-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r278005 through r278109.


# 5bed16de 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NTP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# ed809ca8 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NS_CACHING == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 90539b6f 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NLS_CATALOGS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 422e74ae 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NLS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# e50d77e5 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NETGRAPH_SUPPORT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# fe8f6c3e 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NETGRAPH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# e5c3781d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAN_UTILS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# ddef0324 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAN == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 426d5303 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAKE == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 2f3a10e5 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAIL == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 1b41fa7d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_LOCALES == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 4f190535 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_LIBCPLUSPLUS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# d956da53 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_HTML == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 6031355d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_GROFF == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 28be4ba8 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_GPIO == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# cf8028f3 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_DMAGENT == no and move the chunk into its alphabetical place

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# ee4d0fce 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BSNMP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 70fffb2e 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BSD_CPIO == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 8af1079d 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BOOT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# f594efed 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BLUETOOTH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# c88fc3e4 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BINUTILS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 8179004e 26-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r277719 through 277776.


# 6ce3ca64 26-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Update other build glue: ObsoleteFiles.inc, UPDATING, mtree files, and
OptionalObsoleteFiles.inc.

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

Respect MK_KERBEROS with etc/rc.d/ipropd_master and etc/rc.d/ipropd_slave

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

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

Honor MK_WIRELESS with etc/rc.d/hostapd and etc/rc.d/wpa_supplicant

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_JAIL with etc/rc.d/jail

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_BLUETOOTH with etc/defaults/bluetooth.device.conf

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_ACCT with etc/pam.d/atrun

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

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

Honor MK_ACCT with etc/rc.d/accounting

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

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

Honor MK_AMD with etc/rc.d/amd

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_API in etc/rc.d

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_LPR with etc/rc.d/lpd

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_ACPI in etc/devd and etc/rc.d

MFC after: 1 week
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

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

Add MK_BHYVE knob for building and installing bhyve(4), et al

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

# 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

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

Build lib/libgpio if MK_GPIO != no

Fill in corresponding entries for MK_GPIO == no in OptionalObsoleteFiles.inc

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

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

Fill in entries for MK_BSNMP == no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Fill in some dtrace entries when MK_CDDL == no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Fill in entries for MK_CUSE == no

MFC after: 1 week
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

# 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

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

Add MK_TALK knob for building the talk and talkd

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

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

Add MK_EE knob to control installing edit, ee, etc

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

# 9cac79b3 18-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of clang and llvm to 3.5.1 release. This is a bugfix
only release, no new features have been added.

Please note that this version requires C++11 support to build; see
UPDATING for more information.

Release notes for llvm and clang can be found here:
<http://llvm.org/releases/3.5.1/docs/ReleaseNotes.html>
<http://llvm.org/releases/3.5.1/tools/clang/docs/ReleaseNotes.html>

MFC after: 1 month
X-MFC-With: 276479


# 8028b78d 13-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Connect libclang_rt to the build, for specific architectures. This
contains the libraries for Address Sanitizer (asan), Undefined Behavior
Sanitizer (ubsan) and Profile Guided Optimization.

ASan is a fast memory error detector. It can detect the following types
of bugs:

Out-of-bounds accesses to heap, stack and globals
Use-after-free
Use-after-return (to some extent)
Double-free, invalid free
Memory leaks (experimental)

Typical slowdown introduced by AddressSanitizer is 2x.

UBSan is a fast and compatible undefined behavior checker. It enables a
number of undefined behavior checks that have small runtime cost and no
impact on address space layout or ABI.

PLEASE NOTE: the sanitizers still have some rough edges on FreeBSD,
particularly on i386. These will hopefully be smoothed out in the
coming time.

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

# c369979c 10-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Add the llvm-symbolizer tool, which enables the sanitizers to report
more complete debugging information. This tools is only enabled when
WITH_CLANG_EXTRAS is on.

Submitted by: Dan McGregor <danismostlikely@gmail.com>

# 2d281361 02-Jan-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Remove GNU texinfo from base along with all info pages.

To be able to info pages consider installing texinfo from ports print/texinfo or
via pkg: pkg install texinfo

Differential Revision: https://reviews.freebsd.org/D1409
Reviewed by: emaste, imp (previous version)
Relnotes: yes

# 8007ee2b 27-Dec-2014 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r274961 through r276301.


# c05bafc5 25-Dec-2014 Poul-Henning Kamp <phk@FreeBSD.org>

Deorbit the IEEE-488/GPIB support.

# e65720e1 18-Dec-2014 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r275759 through r275911.


# f703589e 18-Dec-2014 Enji Cooper <ngie@FreeBSD.org>

Fix building/installing tests when TESTSBASE != /usr/tests

The work in r258233 hardcoded the assumption that tests was the last component
of the tests tree by pushing tests as an explicit prefix for the paths in
BSD.tests.dist and /usr was the prefix for all tests, per BSD.usr.dist and all
of the mtree calls used in Makefile.inc1. This assumption breaks if/when one
provides a custom TESTSBASE "prefix", e.g. TESTSBASE=/mytests .

One thing that r258233 did properly though was remove "/usr/tests" creation
from BSD.usr.dist -- that should have not been there in the first place. That
was an "oops" on my part for the work that was originally committed in r241823

MFC after: 2 weeks
Phabric: D1301
Reviewed by: imp
Sponsored by: EMC / Isilon Storage Division

# 24ce0a02 04-Dec-2014 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r275387 through r275477.


# 18e8f946 01-Dec-2014 Ed Maste <emaste@FreeBSD.org>

Add elfcopy and man page to OptionalObsoleteFiles

# f5ce9d6b 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Installing zzz(8) doesn't make sense when both ACPI and APM are disabled

# 0341ccf2 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Clean up more usb related files when MK_USB == no when dealing with
manpages, libraries, and binaries

# ece34a4f 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Fix use of OLD_FILES and OLD_LIBS for MK_BSNMP and MK_TESTS

Convention in the file is that .a files be added to OLD_FILES and versioned .so's
be added to OLD_LIBS

# a3f5edf0 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Add MK_TIMED option for optionally building usr.sbin/timed, et al

# 046cc7b9 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Account for /usr/include/protocols/r{outed,whod}.h with their respective build knobs

# 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

# fb624adc 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

MK_HYPERV:
Sort OLD_FILES and add /usr/libexec/hyperv to OLD_DIRS

# 961281fa 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install the rsh and telnetd pam.d files if MK_RCMDS == no
or MK_TELNET == no, respectively

# 4bbfcad5 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Only install the accounting/apm rc scripts for MK_ACCT/MK_APM if the relevant
knobs are set

# bdf492a3 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Missed the bsnmp config file

# 88585cd4 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Add more MK_BSNMP == no entries for things not caught due to custom
settings in $SRCCONF

# 6d94729e 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Fill in entries for MK_BSNMP == no

# 4be1ca35 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Make building/installing bhyve optional via MK_BHYVE on amd64

Disable building/installing bhyve from src.opts.mk on unsupported
architectures (!amd64)

# 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

# d393fb09 24-Nov-2014 Dimitry Andric <dim@FreeBSD.org>

Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc for the import of
llvm/clang 3.5.0.

# b8d52ac3 23-Nov-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Install mdoc(7) and man(7) from mdoc instead of the one from groff

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

# fa809347 03-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Integrate pjdfstest test suite execution into kyua

pjdfstest execution is opt-in and must be done as root due to some of the
assumptions made by the test suite and lack of error checking in the non-root
case

A description of how to execute pjdfstest with kyua is provided in
share/pjdfstest/README

Phabric: D824 (an earlier prototype patch)
MFC after: 1 month
Relnotes: yes
Sponsored by: EMC / Isilon Storage Division

# 0677dfd1 01-Nov-2014 Julio Merino <jmmv@FreeBSD.org>

MFV: Import atf-0.21.


# 1545452c 27-Oct-2014 Xin LI <delphij@FreeBSD.org>

Remove an extra copy of hv_kvp_daemon(8) [1].

While I'm there also correct typos in OptionalObsoleteFiles and add
information of the command line options for hv_kvp_daemon(8).

Reported by: jmg [1]
Reviewed by: jmg
MFC after: 2 weeks

# ddd96d23 09-Oct-2014 Ed Maste <emaste@FreeBSD.org>

Build gperf only if we're using g++ (not clang++)

gperf is used as a build tool for g++ and is not needed for Clang
architectures. Ports and third-party software that need it can use the
up-to-date devel/gperf port.

PR: 194103 (exp-run)
Reviewed by: bapt
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D886

# d8eaf8b5 23-Sep-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install /etc/rc.d/keyserv unless MK_OPENSSL == yes

Sponsored by: EMC / Isilon Storage Division

# f4d6293c 20-Sep-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install /etc/rc.d/ftp-proxy unless MK_PF == yes

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

# 79c38c9b 20-Sep-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install /etc/rc.d/rwho unless MK_RCMDS == yes

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

# 76cd7220 16-Sep-2014 Xin LI <delphij@FreeBSD.org>

Use a devd event to start hv_kvpd instead of doing so in rc.d script.
This is cleaner and eliminates the unneeded startup of KVP daemon on
systems that do not run as a Hyper-V guest.

Submitted by: hrs
X-MFC-with: 271493, 271688, 271699

# e72055b7 12-Sep-2014 Xin LI <delphij@FreeBSD.org>

Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft,
many thanks for their continued support of FreeBSD.

While I'm there, also implement a new build knob, WITHOUT_HYPERV to
disable building and installing of the HyperV utilities when necessary.

The HyperV utilities are only built for i386 and amd64 targets.

This is a stable/10 candidate for inclusion with 10.1-RELEASE.

Submitted by: Wei Hu <weh microsoft com>
MFC after: 1 week

# 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

# aecd25ee 15-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Make the USB and ZFS devd configuration files optional depending on the
values of MK_USB/MK_ZFS

Making zfs.conf optional resolves PR # 186971

PR: 186971
Phabric: D606
Approved by: jmmv (mentor)
Sponsored by: EMC / Isilon Storage Division

# 9f312407 12-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Port date/bin/tests to ATF

Phabric: D545
Approved by: jmmv (mentor)
Submitted by: keramida (earlier version)
MFC after: 2 weeks
Sponsored by: Google, Inc
Sponsored by: EMC / Isilon Storage Division

# 12e2df3c 12-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Convert bin/sh/tests to ATF

The new code uses a "test discovery mechanism" to determine
what tests are available for execution

The test shell can be specified via:

kyua test -v test_suites.FreeBSD.bin.sh.test_shell=/path/to/test/sh

Sponsored by: EMC / Isilon Storage Division
Approved by: jmmv (mentor)
Reviewed by: jilles (maintainer)

# 6add3145 12-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Complete the usr.bin/yacc kyua integration work I originally
submitted via r268811

- Install the Kyuafile by adding FILES to FILESGROUPS
- Run the testcases with an unprivileged user

Some of the testcases depend upon behavior that's broken when
run as root on FreeBSD because of how permissions are treated
with access(2) vs eaccess(2), open(2), etc

- Simplify the test driver to just inspect the exit code from
run_test because it now exits with 0 if successful and exits
with !0 if unsuccessful
- Don't do ad hoc temporary directory creation/deletion; let Kyua
handle that
- Add entries for files removed in r268811 to
OptionalObsoleteFiles.inc

PR: 191020
X-MFC with: r268811
Approved by: jmmv (mentor)
Reviewed by: bapt
Sponsored by: EMC / Isilon Storage Division

# e40b4bf8 24-Jul-2014 Julio Merino <jmmv@FreeBSD.org>

Fix structure of new tests (r268794) for usr.bin/units.

- Make sure the tests go into the right directory. The location was
wrong so they were overwriting the bin/chown tests!
- Use the right naming scheme for the test program.
- Remove the svn:executable property from the shell script.

# 7bff12fe 17-Jul-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Fix manpages path and sort entries

# 024f0575 17-Jul-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Remove texinfo manpages as well if built WITHOUT_INFO

# 8a833bda 09-Jul-2014 Baptiste Daroussin <bapt@FreeBSD.org>

The GNU readline library is now an INTERNALLIB - that is, it is
statically linked into consumers (GDB and variants) in the base
system, and the shared library is no longer installed.

That also allows ports to be able to use a modern version of readline

PR: 162948
Reviewed by: emaste

# 725d0727 08-Jul-2014 Jilles Tjoelker <jilles@FreeBSD.org>

Don't install locale1.0 if MK_NLS == no.

The test locale1.0 depends on locale support; it is meaningless without a
working LC_MESSAGES.

I added an OptionalObsoleteFiles.inc entry.

PR: 181151
Submitted by: Garrett Cooper (original version)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# e7d939bd 06-Jul-2014 Marcel Moolenaar <marcel@FreeBSD.org>

Remove ia64.

This includes:
o All directories named *ia64*
o All files named *ia64*
o All ia64-specific code guarded by __ia64__
o All ia64-specific makefile logic
o Mention of ia64 in comments and documentation

This excludes:
o Everything under contrib/
o Everything under crypto/
o sys/xen/interface
o sys/sys/elf_common.h

Discussed at: BSDcan

# 9f932ecd 01-Jul-2014 Eitan Adler <eadler@FreeBSD.org>

Add documentation for svnlite.

PR: 191544
Reported by: eric
Reviewed by: imp
MFC After: 1 week

# b8a63d6d 30-Jun-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Activate the condition for WITHOUT_INFO

Submitted by: antoine

# 079f0a6a 30-Jun-2014 Baptiste Daroussin <bapt@FreeBSD.org>

fill in the list of obsolete files when base is built with WITHOUT_INFO

# dd987372 13-Jun-2014 Tijl Coosemans <tijl@FreeBSD.org>

Don't install GSS-API headers when the GSSAPI option has been disabled.
Some ports assume GSS-API is supported when they find the headers.

PR: 189156
Submitted by: Garrett Cooper <yanegomi@gmail.com>

# 8c7ec47a 06-Jun-2014 Julio Merino <jmmv@FreeBSD.org>

Move atf-sh from /usr/bin/ to /usr/libexec/

In r266650, we made libatf-c and libatf-c++ private libraries so that no
components outside of the source tree could unintendedly depend on them.

This change does the same for the "atf-sh library" by moving the atf-sh
interpreter from its public location in /usr/bin/ to the private location
in /usr/libexec/. Our build system will ensure that our own test programs
use the right binary, but users won't be able to depend on atf-sh by
"mistake".

Committing this now to ride the UPDATING notice added with r267172 today.

# 727a7ce8 06-Jun-2014 Julio Merino <jmmv@FreeBSD.org>

Homogenize libatf-* version numbers with upstream.

The libatf-* major version numbers in FreeBSD were one version ahead of
upstream because, when atf was first imported into FreeBSD, the upstream
numbers were not respected. This is just confusing and bound to cause
problems down the road.

Fix this by taking advantage of the fact that libatf-* are now private
and that atf is not yet built by default. However, and unfortunately, a
clean build is needed for tests to continue working once "make
delete-old-libs" has been run; hence the note in UPDATING.

# 17a286a9 24-May-2014 Julio Merino <jmmv@FreeBSD.org>

Change libatf-c and libatf-c++ to be private libraries.

We should not be leaking these interfaces to the outside world given
that it's much easier for third-party components to use the devel/atf
package from ports.

As a side-effect, we can also drop the ATF pkgconfig and aclocal files
from the base system. Nothing in the base system needs these, and it
was quite ugly to have to get them installed only so that a few ports
could build. The offending ports have been fixed to depend on
devel/atf explicitly.

Reviewed by: bapt

# 3e9e1651 12-May-2014 Julio Merino <jmmv@FreeBSD.org>

Fix delete-old when WITH_TESTS is set.

r265423 removed the WITHOUT_BMAKE option, which in turn broke a conditional
in OptionalObsoleteFiles.inc that inspected MK_BMAKE.

# 85d60e68 12-May-2014 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to 3.4.1 release. This release contains
mostly fixes, for the following upstream bugs:

http://llvm.org/PR16365 http://llvm.org/PR17473 http://llvm.org/PR18000
http://llvm.org/PR18068 http://llvm.org/PR18102 http://llvm.org/PR18165
http://llvm.org/PR18260 http://llvm.org/PR18290 http://llvm.org/PR18316
http://llvm.org/PR18460 http://llvm.org/PR18473 http://llvm.org/PR18515
http://llvm.org/PR18526 http://llvm.org/PR18600 http://llvm.org/PR18762
http://llvm.org/PR18773 http://llvm.org/PR18860 http://llvm.org/PR18994
http://llvm.org/PR19007 http://llvm.org/PR19010 http://llvm.org/PR19033
http://llvm.org/PR19059 http://llvm.org/PR19144 http://llvm.org/PR19326

MFC after: 2 weeks


# d525bcd9 18-Mar-2014 Julio Merino <jmmv@FreeBSD.org>

Migrate tools/regression/usr.bin/make/ to the new tests layout.

Note that these tests are for fmake, not bmake, and thus they are not
installed nor run when bmake is selected (the default). Yes, I have
wasted a *ton* of time on moving tests for no real reason other than
ensuring they are not left behind.

But maybe, just maybe, it was not work in vain: the majority of these
tests also work with bmake and the few that don't may point at broken
stuff. For example, the tests for the "archive" feature do not work
with bmake, but bmake's manpage and source tree seem to imply that they
should. So... to be investigated later; need to poke sjg@.

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

# 2c4c3f67 10-Mar-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Add a mailer.conf example to use dma

# 6a54f620 22-Feb-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Rename WITHOUT_DMA into WITHOUT_DMAGENT to avoid confusion

Requested by: ian

# a9e8641d 21-Feb-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Import Dragonfly Mail Agent into base system

It is a small and lightweight Mail Transport Agent.
It accepts mails from locally installed Mail User Agents (MUA) and delivers the
mails either locally or to a remote destination. Remote delivery includes
several features like TLS/SSL support, SMTP authentication and NULLCLIENT.

Make dma conditional to new WITHOUT_DMA option and make it respect WITHOUT_MAIL

Reviewed by: peter
Discussed with: emaste, bz, peter


# f785676f 16-Feb-2014 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to 3.4 release. This version supports
all of the features in the current working draft of the upcoming C++
standard, provisionally named C++1y.

The code generator's performance is greatly increased, and the loop
auto-vectorizer is now enabled at -Os and -O2 in addition to -O3. The
PowerPC backend has made several major improvements to code generation
quality and compile time, and the X86, SPARC, ARM32, Aarch64 and SystemZ
backends have all seen major feature work.

Release notes for llvm and clang can be found here:
<http://llvm.org/releases/3.4/docs/ReleaseNotes.html>
<http://llvm.org/releases/3.4/tools/clang/docs/ReleaseNotes.html>

MFC after: 1 month


# 1a61beb0 14-Feb-2014 Julio Merino <jmmv@FreeBSD.org>

MFV: Import atf-0.20.


# b76e24a3 05-Feb-2014 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove WITHOUT_NIS

PR: 186412

# 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

# 4f7ab58e 30-Jan-2014 Dimitry Andric <dim@FreeBSD.org>

Import libc++ 3.4 release. This contains a lot of bugfixes, and some
preliminary support for C++1y.

MFC after: 3 weeks


# 762c167e 10-Jan-2014 Julio Merino <jmmv@FreeBSD.org>

Respect the original layout of the atf-{c,c++} tests.

Put test programs for internal modules into a 'detail' subdirectory of the
libatf-c and libatf-c++ test directories, just as the upstream distribution
does. This is necessary because the tests assume such layout to find the
process_helper program, and currently fail because of this divergence.

MFC after: 1 week

# a9e4b734 21-Dec-2013 Glen Barber <gjb@FreeBSD.org>

Honor WITHOUT_CASPER.

Sponsored by: The FreeBSD Foundation

# a18eacbe 17-Nov-2013 Julio Merino <jmmv@FreeBSD.org>

MFV: Import atf-0.18.

Approved by: rpaulo (mentor)


# 0fa8a6f0 11-Nov-2013 Glen Barber <gjb@FreeBSD.org>

Silence more 'make {check,delete-old{,libs}}' output if $DESTDIR/usr/tests
does not exist.

Sponsored by: The FreeBSD Foundation

# 6785aaf2 10-Nov-2013 Glen Barber <gjb@FreeBSD.org>

Silence bmake(1) errors if TEST_DIRS evaluation is empty.

# 14de84e7 08-Nov-2013 Julio Merino <jmmv@FreeBSD.org>

Handle the removal of the test suite when WITHOUT_TESTS=yes.

Add all files from /usr/tests to the obsoleted files list when the
build of the tests is disabled via the WITHOUT_TESTS knob. Do this
automatically so that we do not have to suffer the pain of maintaining
such list by hand.

Reviewed by: freebsd-testing
Approved by: rpaulo (mentor)

# e01d128a 08-Nov-2013 Julio Merino <jmmv@FreeBSD.org>

Subsume the functionality of MK_ATF into MK_TESTS.

There is no reason to keep the two knobs separate: if tests are
enabled, the ATF libraries are required; and if tests are disabled,
the ATF libraries are not necessary. Keeping the two just serves
to complicate the build.

Reviewed by: freebsd-testing
Approved by: rpaulo (mentor)

# 912ce912 03-Nov-2013 Peter Wemm <peter@FreeBSD.org>

Remove the WITH_LIBICONV_COMPAT hack that seems to do more harm than
good. This caused libc to spoof the ports libiconv namespace and
provide a colliding libiconv.so.3 to fool rtld. This should have
been removed some time ago.

# 23c80c69 03-Nov-2013 Ed Schouten <ed@FreeBSD.org>

Remove utxrm(8). This command has been superseded by 'utx rm'.

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

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

# 0edda453 30-Oct-2013 Bryan Drewery <bdrewery@FreeBSD.org>

Add forgotten pkg.7

Approved by: bapt
MFC after: 2 days
X-MFC-with: r257378

# 2b142c0f 17-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Add lot of missed files and dirs

# 7306b853 17-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Remove atf headers which never existed

Reviewed by: marcel

# 41b65e69 17-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Cleanup clang section

# 7855835b 16-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

wlconfig exists only on i386

# 5329f4d3 16-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Remove files which are in ObsoleteFiles.inc

# fca60728 16-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Remove duplicates in ipfilter and kerberos sections

# ec0e2ac6 12-Oct-2013 Rui Paulo <rpaulo@FreeBSD.org>

Remove most of the ATF tools and the _atf user.

This is necessary because ATF is deprecated and it will be replaced by Kyua.

Submitted by: jmmv@netbsd.org
Reviewed by: Garrett Cooper
Approved by: re

# c9fc60be 09-Oct-2013 Glen Barber <gjb@FreeBSD.org>

Revert r256095, r256120 (partial), r256121:

r256095:
- Add gnu/usr.bin/rcs back to the base system.

r256120:
- Add WITHOUT_RCS back to src.conf.5.

r256121:
- Remove UPDATING entry regarding gnu/usr.bin/rcs removal.

Requested by: many
Approved by: re (marius)
Discussed with: core

# 258c9eb9 06-Oct-2013 Eitan Adler <eadler@FreeBSD.org>

Good bye RCS. You will be missed.

(devel/rcs and devel/rcs57 are available as alternatives)

Approved by: core
Approved by: re (hrs)

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

Remove BIND.

Approved by: re (gjb)

# 278bc67b 29-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Yet more BIND files that weren't listed in OptionalObsoleteFiles.

Approved by: re (blanket)

# 4a09ed30 27-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove duplicate entry for the host(1) man page.

Approved by: re (blanket)

# b4af3bcb 25-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Additional BIND files.

Submitted by: bdrewery
Approved by: re (blanket)

# 49cede74 22-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Add a setup script for unbound(8) called local-unbound-setup. It
generates a configuration suitable for running unbound as a caching
forwarding resolver, and configures resolvconf(8) to update unbound's
list of forwarders in addition to /etc/resolv.conf. The initial list
is taken from the existing resolv.conf, which is rewritten to point to
localhost. Alternatively, a list of forwarders can be provided on the
command line.

To assist this script, add an rc.subr command called "enabled" which
does nothing except return 0 if the service is enabled and 1 if it is
not, without going through the usual checks. We should consider doing
the same for "status", which is currently pointless.

Add an rc script for unbound, called local_unbound. If there is no
configuration file, the rc script runs local-unbound-setup to generate
one.

Note that these scripts place the unbound configuration files in
/var/unbound rather than /etc/unbound. This is necessary so that
unbound can reload its configuration while chrooted. We should
probably provide symlinks in /etc.

Approved by: re (blanket)

# 7b07722f 22-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove drill(1) if MK_LDNS_UTILS is false.
Remove host(1) if both MK_BIND and MK_LDNS_UTILS are false.

Approved by: re (blanket)

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

Build and install the Unbound caching DNS resolver daemon.

Approved by: re (blanket)

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

Complete the OPENSSH and LDNS sections.

Approved by: re (blanket)

# 9f00530d 14-Sep-2013 Ed Schouten <ed@FreeBSD.org>

Properly remove c++filt.

The c++filt binary is only installed if ${MK_GCC} == yes && ${MK_CXX} ==
yes. This means that it should be removed if ${MK_GCC} == no ||
${MK_CXX} == no. In its current form, it actually uses a conjunction
instead of a disjunction.

As there is already a separate block for ${MK_CXX} == no listing
c++filt, simply remove the conditional entirely.

Approved by: re (gjb)

# 0d410def 10-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Clean up the Kerberos build by turning libheimipcc and libheimipcs into
private shared libraries, instead of hacked-together archives of PIC
objects. This makes it possible to build a static libkrb5 that works.

Reviewed by: stas
Approved by: re (gjb)

# 655f887f 07-Sep-2013 Antoine Brodin <antoine@FreeBSD.org>

Adjust optional obsolete files with new MK_GNUCXX

# 3d8a28c3 07-Sep-2013 Antoine Brodin <antoine@FreeBSD.org>

Do not try to remove directories that are part of BSD.include.dist

# 8031489c 07-Sep-2013 Gleb Smirnoff <glebius@FreeBSD.org>

Add more leftovers from gcc.

# a5bfe448 06-Sep-2013 David Chisnall <theraven@FreeBSD.org>

Don't delete c++filt when doing a make delete-old if GCC is not built but
C++ is.

# e9fb2ea0 29-Aug-2013 Andreas Tobler <andreast@FreeBSD.org>

Remove GNU_PATCH leftover.

# e434cacb 26-Aug-2013 Antoine Brodin <antoine@FreeBSD.org>

Add more obsolete files.

# 0ff204bb 13-Aug-2013 Peter Wemm <peter@FreeBSD.org>

The iconv in libc did two things - implement the standard APIs, the GNU
extensions and also tried to be link time compatible with ports libiconv.
This splits that functionality and enables the parts that shouldn't
interfere with the port by default.

WITH_ICONV (now on by default) - adds iconv.h, iconv_open(3) etc.
WITH_LIBICONV_COMPAT (off by default) adds the libiconv_open etc API, linker
symbols and even a stub libiconv.so.3 that are good enough to be able
to 'pkg delete -f libiconv' on a running system and reasonably expect it
to work.

I have tortured many machines over the last few days to try and reduce
the possibilities of foot-shooting as much as I can. I've successfully
recompiled to enable and disable the libiconv_compat modes, ports that use
libiconv alongside system iconv etc. If you don't enable the
WITH_LIBICONV_COMPAT switch, they don't share symbol space.

This is an extension of behavior on other system. iconv(3) is a standard
libc interface and libiconv port expects to be able to run alongside it on
systems that have it.

Bumped osreldate.

# 8471c7bd 06-Aug-2013 Sean Bruno <sbruno@FreeBSD.org>

Adjust make knobs to know that WITH_ICONV installs a /usr/bin/iconv

Remove it if the knob isn't tweaked. Certain ports seem to think that
if /usr/bin/iconv exists, then libc has built in libiconv things and will
blow up pretty nicely when built.

Reviewed by: gjb@
MFC after: 2 weeks

# 9beae6b5 12-Jul-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove authpf-noip along with authpf.

Reminded by: delphij@

# deb50697 24-Jun-2013 Eitan Adler <eadler@FreeBSD.org>

Add missing Obsolete Files

Submitted by: Kurt Lidl <lidl@pi-coral.com>

# 4f858707 18-Jun-2013 Peter Wemm <peter@FreeBSD.org>

Teach delete-old how to clean up after WITH/WITHOUT_SVN{LITE} permutations.

# 1cbff2a9 15-Jun-2013 Eitan Adler <eadler@FreeBSD.org>

Remove CVS from the base system.

Discussed with: many
Reviewed by: peter, zi
Approved by: core

# 01bb8628 09-Jun-2013 Glen Barber <gjb@FreeBSD.org>

Add freebsd-update.conf(5) to OptionalObsoleteFiles.inc

PR: 179437
Approved by: kib (mentor)
MFC after: 1 week

# 2b3b3637 11-May-2013 Eitan Adler <eadler@FreeBSD.org>

Unconditionally install 210.backup-aliases as many MTAs other than
sendmail support the use of /etc/aliases.

PR: conf/176098
Submitted by: ak
MFC after: 2 weeks

# b4634967 28-Apr-2013 Eitan Adler <eadler@FreeBSD.org>

When the world is built WITHOUT_OPENSSH also don't
install ssh-copy-id.

PR: misc/177590
Submitted by: Oleg Ginzburg <olevole@olevole.ru>
Reviewed by: imp

# 850163e4 26-Apr-2013 Eitan Adler <eadler@FreeBSD.org>

Remove IDEA from OptionalObsoleteFiles.inc

Also add an UPDATING entry (requsted by gjb)

# 139f7f9b 12-Apr-2013 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to trunk r178860, in preparation of the
upcoming 3.3 release (branching and freezing expected in a few weeks).

Preliminary release notes can be found at the usual location:
<http://llvm.org/docs/ReleaseNotes.html>

An MFC is planned once the actual 3.3 release is finished.


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

Add option to make pc-sysinstall optional

Approved by: cperciva

# 616d12b7 20-Dec-2012 Baptiste Daroussin <bapt@FreeBSD.org>

Add etc/periodic/daily/220.backup-pkgdb to OptionalObsoleteFiles.inc

# 3861d79f 03-Dec-2012 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to r168974, from upstream's release_32
branch. This is effectively llvm/clang 3.2 RC2; the 3.2 release is
coming soon.


# ffdac814 14-Nov-2012 Marcel Moolenaar <marcel@FreeBSD.org>

Don't install atf.test.mk if MK_ATF == no.

Submitted by: Garrett Cooper <yanegomi@gmail.com>

# c175365c 21-Oct-2012 Marcel Moolenaar <marcel@FreeBSD.org>

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

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

Credits follow:

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

# 458beb5d 17-Oct-2012 Andreas Tobler <andreast@FreeBSD.org>

Remove the netncp and nwfs files from here. They will be moved to the
ObsoleteFiles.inc file later.

Discussed with: attilio

# ce8ba5a5 26-Aug-2012 Dimitry Andric <dim@FreeBSD.org>

Add libc++ and libcxxrt related files to OptionalObsoleteFiles.inc.

MFC after: 1 week

# d4271816 20-Aug-2012 Dimitry Andric <dim@FreeBSD.org>

Add three additional clang intrinsics headers, which I missed in the
previous import.

# 7ae0e2c9 20-Aug-2012 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to trunk r162107. With thanks to
Benjamin Kramer and Joerg Sonnenberger for their input and fixes.


# c4554b94 23-Jul-2012 Dimitry Andric <dim@FreeBSD.org>

When WITHOUT_CLANG is being used, also clean out the clang 3.1 headers
in OptionalObsoleteFiles.inc.

PR: misc/169902
Submitted by: Thomas Eberhardt <sneakywumpus@googlemail.com>
MFC after: 3 days

# 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

# 60533c20 09-May-2012 Eitan Adler <eadler@FreeBSD.org>

Add some missing files to OLD_FILES

PR: conf/166460
Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com>
Reviewed by: stable@
Approved by: cperciva
MFC after: 2 weeks

# 4d04782c 14-Apr-2012 Dimitry Andric <dim@FreeBSD.org>

Add files and directories to be cleaned up if WITHOUT_GCC is in effect
to OptionalObsoleteFiles.inc.

MFC after: 1 week

# a146c2a9 22-Mar-2012 Stanislav Sedov <stas@FreeBSD.org>

- Add new kerberos libraries to the list of optional obsolete files.

# 0e46933c 22-Mar-2012 Stanislav Sedov <stas@FreeBSD.org>

- Do not build libcom_err and compile_et when kerberos is disabled. They
depends on several heimdal libraries and not used by anything but kerberos
tools.

# ae771770 22-Mar-2012 Stanislav Sedov <stas@FreeBSD.org>

- Update FreeBSD Heimdal distribution to version 1.5.1. This also brings
several new kerberos related libraries and applications to FreeBSD:
o kgetcred(1) allows one to manually get a ticket for a particular service.
o kf(1) securily forwards ticket to another host through an authenticated
and encrypted stream.
o kcc(1) is an umbrella program around klist(1), kswitch(1), kgetcred(1)
and other user kerberos operations. klist and kswitch are just symlinks
to kcc(1) now.
o kswitch(1) allows you to easily switch between kerberos credentials if
you're running KCM.
o hxtool(1) is a certificate management tool to use with PKINIT.
o string2key(1) maps a password into key.
o kdigest(8) is a userland tool to access the KDC's digest interface.
o kimpersonate(8) creates a "fake" ticket for a service.

We also now install manpages for some lirbaries that were not installed
before, libheimntlm and libhx509.

- The new HEIMDAL version no longer supports Kerberos 4. All users are
recommended to switch to Kerberos 5.

- Weak ciphers are now disabled by default. To enable DES support (used
by telnet(8)), use "allow_weak_crypto" option in krb5.conf.

- libtelnet, pam_ksu and pam_krb5 are now compiled with error on warnings
disabled due to the function they use (krb5_get_err_text(3)) being
deprecated. I plan to work on this next.

- Heimdal's KDC now require sqlite to operate. We use the bundled version
and install it as libheimsqlite. If some other FreeBSD components will
require it in the future we can rename it to libbsdsqlite and use for these
components as well.

- This is not a latest Heimdal version, the new one was released while I was
working on the update. I will update it to 1.5.2 soon, as it fixes some
important bugs and security issues.


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

# 6bb1cadd 05-Feb-2012 Dimitry Andric <dim@FreeBSD.org>

Add a WITH_CLANG_EXTRAS option for src.conf(5), disabled by default,
that builds the following additional llvm/clang tools:

- bugpoint
- llc
- lli
- llvm-ar
- llvm-as
- llvm-bcanalyzer
- llvm-diff
- llvm-dis
- llvm-extract
- llvm-ld
- llvm-link
- llvm-mc
- llvm-nm
- llvm-objdump
- llvm-prof
- llvm-ranlib
- llvm-rtdyld
- llvm-stub
- macho-dump
- opt

These tools are mainly useful for people that want to manipulate llvm
bitcode (.bc) and llvm assembly language (.ll) files, or want to tinker
with llvm and clang themselves.

MFC after: 2 weeks


# 8f506e9e 11-Dec-2011 Dimitry Andric <dim@FreeBSD.org>

Add more files to cleanup with 'make delete-old' when WITHOUT_CLANG is
in effect.

MFC after: 1 week

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

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

Don't remove the periodic script for ac(8) when setting WITHOUT_ACCT.

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

# b3eb927f 06-Apr-2011 Ulrich Spörlein <uqs@FreeBSD.org>

Complete WITHOUT_CXX support. It implies WITHOUT_GROFF and
WITHOUT_CLANG.

Don't build clang bootstrap/build-tools depending on this flag. We also
keep gperf, devd and libstdc++ around to prevent foot-shooting and to
make this a two-way street.

# 423102c6 22-Feb-2011 Ulrich Spörlein <uqs@FreeBSD.org>

Flesh out WITHOUT_GROFF support to DTRT.

A full featured groff is required during buildworld, so build it always
and don't rely on it being present on the host system.

vgrind(1) is tightly coupled to a roff processor and will not be
built/installed when groff is disabled. Also much of the roff'ed
documentation under share/doc will not be built/installed when
WITHOUT_GROFF is defined.

Reviewed by: ru (partial)

# d180d7ef 04-Dec-2010 Ulrich Spörlein <uqs@FreeBSD.org>

Document two more ways to find duplicates in the obsolete file list.

Remove the only duplicate found by the optional files check. Fix typos,
while here.

Suggested by: netchild

# fe5ddba7 14-Nov-2010 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add optional files controlled by WITH_GPIO knob

Submitted by: Alexander Best <arundel@freebsd.org>

# 97f9dcf7 14-Nov-2010 Rebecca Cran <brucec@FreeBSD.org>

lib32 is installed on powerpc64 too.

# 60db6c32 14-Nov-2010 Rebecca Cran <brucec@FreeBSD.org>

libatm_p.a, libkeycap_p.a and libmytinfo_p.a are already in ObsoleteFiles.inc.
liblwres.so.10 has been replaced by liblwres.so.50.

Reported by: arundel

# 65a1c465 09-Nov-2010 Xin LI <delphij@FreeBSD.org>

Hide 460.chkportsum in MK_PKGTOOLS != no case.

Submitted by: Alex Kozlov <spam rm-rf kiev ua>
MFC after: 2 weeks

# 60e6ef07 08-Oct-2010 Mark Murray <markm@FreeBSD.org>

Don't blow away /bin/rmail symlink if we are keeping mailwrapper.
Mailwrapper can provide a perfectly good rmail with other
mailers.

# 916d7003 06-Oct-2010 Alexander Leidinger <netchild@FreeBSD.org>

Add some missing files to optionally delete.

Submitted by: Paul B Mahol <onemda@gmail.com>

# 781ad8ef 21-Jul-2010 Ed Schouten <ed@FreeBSD.org>

Chase LLVM version bump to 2.8.

# e137ba59 16-Jun-2010 Alexander Leidinger <netchild@FreeBSD.org>

Add the ZFS periodic daily scripts to the ZFS part.

# edec9228 14-Jun-2010 Ed Schouten <ed@FreeBSD.org>

Add Clang to OptionalObsoleteFiles.inc.

This means you can now deinstall Clang by running make delete-old with
WITHOUT_CLANG set.

# 36e60cda 26-Mar-2010 Xin LI <delphij@FreeBSD.org>

Remove GNU cpio after fix of CVE-2010-0624.

Note that this is actually a no-op for most users, as this GNU
cpio was broken on -HEAD and 8-STABLE since last March until
the recent fix.

FreeBSD 8.0+ uses BSD cpio by default and the code is being
actively maintained.

Blessed by: kientzle
With hat: secteam
MFC after: 3 days

# b974b08f 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PPP=no.

# 72647fe8 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PORTSNAP=no.

# 78d8164c 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PKGTOOLS=no.

# c13190b2 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PF=no.

# 58f47440 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_NTP=no.

# fda29b23 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_RCMDS=no.

# 50d16bbe 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_RCS=no.

# 23644347 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_ROUTED=no.

# 1fe4843a 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_TELNET=no.

# 94cd15a9 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_NDIS=no.

# 8c7d0ea2 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_NCP=no.

# c742deed 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_LPR=no.

# 9586e952 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_WIRELESS=no.

# e94be45c 26-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Do not remove fmt.1 when MK_MAIL=no.

X-MFC-With: r203584

# cebcc1ac 09-Feb-2010 Xin LI <delphij@FreeBSD.org>

Symbolic link to mailwrapper should only be removed if both MK_MAILWRAPPER
and MK_SENDMAIL is "no".

Reported by: Rob Farmer <rfarmer at predatorlabs.net>

# 07ea9a7c 09-Feb-2010 Xin LI <delphij@FreeBSD.org>

As it turns out, fmt(1) is being used by the base system as well as the
ports tree extensively and it is probably a good idea to keep it
regardless of NO_MAIL setting.

Reported by: Alexander Best
Reviewed by: antoine
X-MFC-With: r203584

# 4c63c240 06-Feb-2010 Xin LI <delphij@FreeBSD.org>

Add files for NO_MAIL, NO_SENDMAIL and NO_MAILWRAPPER.

MFC after: 2 weeks

# a48279bb 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_KERBEROS=no.

# e86622b3 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_JAIL=no.

# 2677a432 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_IPX=no.

# 02eb407f 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_IPFW=no.

# 91ff065b 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Move rescue/ping6 from files to remove when MK_INET6=no to file to remove
when MK_INET6_SUPPORT=no. (MK_INET6=no implies MK_INET6_SUPPORT=no)

# a2ccbc29 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add file to remove when MK_IDEA=no.

# b6d220d0 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GSSAPI=no.

# 96e9532b 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GPIB=no.

# 2ea25692 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GDB=no.

# 05142604 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GAMES=no.

# b983b146 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_FREEBSD_UPDATE=no.

# aa6bef9e 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_FLOPPY=no.

# 629b054a 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_DICT=no.

# 73ff6610 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CVS=no.

# 7692d80e 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CTM=no.

# 682e1072 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CPP=no.

# e493781a 16-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_ZFS=no.

# af5b4724 16-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_CDDL=no.

# 2ab19927 16-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CALENDAR=no.

# bd0a3ed5 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_BLUETOOTH=no.

# 22f09c9f 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_AUTHPF=no.

# 6fccaa07 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_ATM=no.

# 2cccc87b 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_AT=no.

# 5942f7f7 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_APM=no.

# 6cbebbd3 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_AMD=no.

# b00c1bf2 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_ACCT=no.

# 29d08a6d 24-Jun-2009 Jamie Gritton <jamie@FreeBSD.org>

Add libjail, a (somewhat) simpler interface to the jail_set and jail_get
system calls and the security.jail.param sysctls.

Approved by: bz (mentor)

# c6642c52 13-Sep-2008 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when WITHOUT_HESIOD is set.
This fixes "make check-old" when WITH_HESIOD is set.

PR: 122406
MFC after: 1 month

# a1d73f7b 28-Jul-2008 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GNU_CPIO = no

# 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

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

# 94dd3203 24-Mar-2008 Antoine Brodin <antoine@FreeBSD.org>

Don't remove usr/include/fs/nwfs and usr/include/netncp, as they are always
recreated during installworld (they are in BSD.include.dist).

Reported by: Pawel Worach
Approved by: rwatson (mentor)
X-MFC: with revision 1.13

# 6fa1978a 08-Mar-2008 Antoine Brodin <antoine@FreeBSD.org>

Add some checks for amd64 target around usr/lib32 libraries, missed in
previous commit.

Approved by: rwatson (mentor)
X-MFC: with revision 1.13

# b246502f 29-Feb-2008 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GCOV, MK_IPX or MK_NCP are defined.

Note: it may be a good idea to deduce obsolete usr/lib32/ files from
obsolete lib/ and usr/lib/ files.

PR: 120492
PR: 121118
PR: 121121
Submitted by: KAMIYA Satosi, Richard Tector
Approved by: rwatson (mentor)
MFC after: 1 month

# 4114acea 18-Jan-2008 Christian Brueffer <brueffer@FreeBSD.org>

Remove files conditional on the obsolete MK_FORTRAN knob. They are already
listed in ObsoleteFiles.inc anyway.

Reported by: David Wolfskill
Approved by: rwatson (mentor)
MFC after: 3 days

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

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

MK_LIBTHR was misspelled.

Approved by: re (kensmith)

# ceef0c31 05-Apr-2007 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Connect ZFS to the build.

# 70d21ee7 11-Mar-2007 Rong-En Fan <rafan@FreeBSD.org>

Add ncursesw, libelf, and libalias profiling libraries

Approved by: delphij (mentor)

# 438e97c0 01-Feb-2007 Rong-En Fan <rafan@FreeBSD.org>

Remove old libmytinfo link.

Approved by: delphij (mentor)
Requested by: ache

# b1a7dc88 27-Nov-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

/usr/sbin/faithd is an INET6-specific tool, and now it won't be built
if MK_INET6 is "no", so add it to the MK_INET6 block.

PR: bin/100805 (audit-trail)

# 2e975006 30-Sep-2006 Ruslan Ermilov <ru@FreeBSD.org>

Removed libc_r build support.

# c3e63d56 29-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Extend the MK_INET6 section by rescue/ping6 and the manpages.

# 9da33b35 28-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Populate the MK_INET6 block.

# 1812f896 01-May-2006 Alexander Leidinger <netchild@FreeBSD.org>

Add profile libs.

Submitted by: Pawel Worach <pawel.worach@gmail.com>

# 95529bcb 03-Apr-2006 Alexander Leidinger <netchild@FreeBSD.org>

Milosz (sorry for not using the right 'l', it will not display corretly
in the commit log) submitted support for some NO_* knobs for delete-old*
and check-old. I converted it to the new WITHOUT_* knobs (more correctly:
MK_*) and added some dummy ones so that people can see what's missing.

Volunteers can have a look at http://phk.freebsd.dk/misc/build_options/
for a list of files.

The location looks a little bit odd to me, but I don't care about the
color of this bikeshed and follow the suggestion of our build
infrastructure guru to place it "somewhere under src/tools/ please". [1]
The build/mk/ directory looks more sane to me than the other ones there.

Submitted by: milosz.galazka@gmail.com
Suggested by: ru [1]

# c00d3456 10-Feb-2022 John Baldwin <jhb@FreeBSD.org>

Install unwind.h into /usr/include

Install headers from LLVM's libunwind in place of the headers from
libcxxrt and allow C applications to use the library.

As part of this, remove include/unwind.h and switch libthr over to
using the installed unwind.h.

Reviewed by: dim, emaste
MFC after: 10 days
Differential Revision: https://reviews.freebsd.org/D34065


# 77da558c 20-Jan-2022 John Baldwin <jhb@FreeBSD.org>

check/delete-old: Auto-generate lib32 entries for libraries.

- Add usr/lib32/libfoo.so.N for lib/libfoo.so.N.

- Add usr/lib32/foo for usr/lib/foo.

- Treat casper libraries special since they are installed to
/usr/lib32 instead of /usr/lib32/casper and thus map
usr/lib/casper/foo to usr/lib32/foo.

Note that OLD_DIRS and MOVED_LIBS entries are not duplicated, only
OLD_FILES and OLD_LIBS.

Reviewed by: imp, emaste
Sponsored by: The University of Cambridge, Google Inc.
Differential Revision: https://reviews.freebsd.org/D33324


# c96dfb21 20-Jan-2022 John Baldwin <jhb@FreeBSD.org>

Rework documentation of OLD_*.

- Be more explicit in the difference between OLD_DIRS and OLD_FILES
(the former is only in delete-old-libs whereas the latter is in
delete-old).

- Document that debug symbols in /usr/lib/debug/ for files in
OLD_FILES and OLD_LIBS are removed as well.

Reviewed by: emaste
Sponsored by: The University of Cambridge, Google Inc.
Differential Revision: https://reviews.freebsd.org/D33847


# ebc1c246 11-Jan-2022 John Baldwin <jhb@FreeBSD.org>

Remove redundant OLD_FILES entries for debug symbols.

Entries for foo.debug files matching an existing entry in OLD_FILES or
OLD_LIBS are unnecessary as they are auto-generated.

Reviewed by: imp, emaste
Sponsored by: The University of Cambridge, Google Inc.
Differential Revision: https://reviews.freebsd.org/D33777


# 60a82774 02-Dec-2021 John Baldwin <jhb@FreeBSD.org>

Only use OLD_LIBS with shared libraries.

Use OLD_FILES for a few symbolic links and static libraries previously
included in OLD_LIBS.

Add a missing shared library major number to an old libroken entry.


# a58135eb 02-Dec-2021 Herbert J. Skuhra <herbert@gojira.at>

OptionalObsoleteFiles.inc: Add rc.d/zfskeys

While here, sort the etc/rc.d entries.

PR: 256483
Reviewed by: allanjude
Approved by: allanjude (src)
MFC after: 3 days
Sponsored by: Modirum MDPay
Sponsored by: Klara Inc.
Differential Revision: https://reviews.freebsd.org/D33238


# db0ac6de 02-Dec-2021 Cy Schubert <cy@FreeBSD.org>

Revert "wpa: Import wpa_supplicant/hostapd commit 14ab4a816"

This reverts commit 266f97b5e9a7958e365e78288616a459b40d924a, reversing
changes made to a10253cffea84c0c980a36ba6776b00ed96c3e3b.

A mismerge of a merge to catch up to main resulted in files being
committed which should not have been.


# c3f345ae 01-Dec-2021 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles.inc: remove MK_CXX rule for usr/bin/c++

In fact MK_CXX does not control whether /usr/bin/c++ is built -- it is
installed as a link to Clang (which is always a C/C++ compiler), and it
already exists in OptionalObsoleteFiles under MK_TOOLCHAIN.

Sponsored by: The FreeBSD Foundation


# 610d908f 01-Dec-2021 John Baldwin <jhb@FreeBSD.org>

Add lib32 entries for WITHOUT_PROFILE.

Reported by: Mark Millard


# 07c2b29b 01-Dec-2021 John Baldwin <jhb@FreeBSD.org>

Trim a couple of duplicate entries from WITHOUT_PROFILE.


# 99188582 01-Dec-2021 John Baldwin <jhb@FreeBSD.org>

Add various profiled libraries missing from the WITHOUT_PROFILE list.

Reported by: Mark Millard


# f7ea22e2 01-Dec-2021 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: move /usr/bin/CC to MK_TOOLCHAIN section

/usr/bin/CC is installed by usr.bin/clang/clang/Makefile, as with
/usr/bin/cc, /usr/bin/cpp, etc., and is not controlled by MK_CXX.
Move it to the same section as those tools.

(It may be that these should all be under
MK_TOOLCHAIN == no || MK_CLANG_IS_CC == no, but that seems like
unnecessary complexity.)

Sponsored by: The FreeBSD Foundation


# 1b9344ad 30-Nov-2021 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove GCC remnants

g++ and cc1plus were GCC components that are already removed
unconditionally in ObsoleteFiles.inc.

Reported by: jhb (in review D33108)
Fixes: 57f804675e65 ("remove GCC 4.2.1 build infrastructure")
Sponsored by: The FreeBSD Foundation


# 0179739a 28-Nov-2021 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove ping with INET & INET6 disabled

Reported by: kevans
Fixes: a4ef9e58bc0c ("sbin: build ping if at least one of...")
Sponsored by: The FreeBSD Foundation


# 6e75b2fb 25-Aug-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project release/13.x llvmorg-13.0.0-rc1-97-g23ba3732246a

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-13.0.0-rc1-97-g23ba3732246a.

PR: 258209
MFC after: 2 weeks


# fe6060f1 22-Aug-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-13-init-16847-g88e66fa60ae5

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-13-init-16847-g88e66fa60ae5, the last commit before
the upstream release/13.x branch was created.

PR: 258209
MFC after: 2 weeks


# e9a99463 06-Oct-2021 Ed Maste <emaste@FreeBSD.org>

ssh: enable FIDO/U2F keys

Description of FIDO/U2F support (from OpenSSH 8.2 release notes,
https://www.openssh.com/txt/release-8.2):

This release adds support for FIDO/U2F hardware authenticators to
OpenSSH. U2F/FIDO are open standards for inexpensive two-factor
authentication hardware that are widely used for website
authentication. In OpenSSH FIDO devices are supported by new public
key types "ecdsa-sk" and "ed25519-sk", along with corresponding
certificate types.

ssh-keygen(1) may be used to generate a FIDO token-backed key, after
which they may be used much like any other key type supported by
OpenSSH, so long as the hardware token is attached when the keys are
used. FIDO tokens also generally require the user explicitly
authorise operations by touching or tapping them.

Generating a FIDO key requires the token be attached, and will
usually require the user tap the token to confirm the operation:

$ ssh-keygen -t ecdsa-sk -f ~/.ssh/id_ecdsa_sk
Generating public/private ecdsa-sk key pair.
You may need to touch your security key to authorize key generation.
Enter file in which to save the key (/home/djm/.ssh/id_ecdsa_sk):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/djm/.ssh/id_ecdsa_sk
Your public key has been saved in /home/djm/.ssh/id_ecdsa_sk.pub

This will yield a public and private key-pair. The private key file
should be useless to an attacker who does not have access to the
physical token. After generation, this key may be used like any
other supported key in OpenSSH and may be listed in authorized_keys,
added to ssh-agent(1), etc. The only additional stipulation is that
the FIDO token that the key belongs to must be attached when the key
is used.

To enable FIDO/U2F support, this change regenerates ssh_namespace.h,
adds ssh-sk-helper, and sets ENABLE_SK_INTERNAL (unless building
WITHOUT_USB).

devd integration is not included in this change, and is under
investigation for the base system. In the interim the security/u2f-devd
port can be installed to provide appropriate devd rules.

Reviewed by: delphij, kevans
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32509

# 2f7f8995 27-Oct-2021 John Baldwin <jhb@FreeBSD.org>

libdialog: Bump shared library version to 10.

The upgrade to libdialog 1.3 included changes to the ABI.

Bump libdpv to 3 since it links against libdialog.

Reported by: Mark Millard <marklmi@yahoo.com>
Reviewed by: bapt
Fixes: a96ef4501919 dialog: import dialog 1.3-20210117
Differential Revision: https://reviews.freebsd.org/D32675

# 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

# 7b1e19ad 06-Oct-2021 Ed Maste <emaste@FreeBSD.org>

Add libfido2 to the build

From https://github.com/Yubico/libfido2:

libfido2 provides library functionality and command-line tools to
communicate with a FIDO device over USB, and to verify attestation
and assertion signatures.

libfido2 supports the FIDO U2F (CTAP 1) and FIDO 2.0 (CTAP 2)
protocols.

libfido2 will be used by ssh to support FIDO/U2F keys. It is currently
intended only for use by ssh, and so is installed as a PRIVATELIB and is
placed in the ssh pkgbase package.

This is currently disabled for the 32-bit library build as libfido2 is
not compatible with the COMPAT_32BIT hack in usb_ioctl.h.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32448

# 2a213a2e 20-Oct-2021 Baptiste Daroussin <bapt@FreeBSD.org>

OptionalObsoleteFiles: add more googletest files to remove

# 2e85df65 06-Oct-2021 Ed Maste <emaste@FreeBSD.org>

Add libcbor to the build

From https://github.com/PJK/libcbor:

libcbor is a C library for parsing and generating CBOR, the general-
purpose schema-less binary data format.

libcbor will be used by ssh to support FIDO/U2F keys. It is currently
intended only for use by ssh, and so is installed as a PRIVATELIB and is
placed in the ssh pkgbase package.

cbor_export.h and configuration.h were generated by the upstream CMake
build. We could create them with bmake rules instead (as NetBSD has
done) but this is a fine start.

This is currently disabled for the 32-bit library build as libfido2 is
not compatible with the COMPAT_32BIT hack in usb_ioctl.h, and there is
no need for libcbor without libfido2.

Reviewed by: kevans
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32347

# 1b85b68d 14-Oct-2021 Cameron Katri <me@cameronkatri.com>

llvm-readobj: Attach to buildsystem

Also install it as readelf when MK_LLVM_BINUTILS is set.

Reviewed By: dim, arichardson
Differential Revision: https://reviews.freebsd.org/D32058

# 88c02733 11-Oct-2021 Alex Richardson <arichardson@FreeBSD.org>

Update OptionalObsoleteFiles.inc after 021385aba562

I forgot to update this file so make delete-old would incorrectly remove
the newly-installed LLVM binutils. While touching the file also update
for 8e1c989abbd1 since ObsoleteFiles.inc now inludes the tablegen binaries.

Reported by: Herbert J. Skuhra <herbert@gojira.at>
Reviewed By: emaste, imp

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

# 032448cd 08-Oct-2021 Ed Maste <emaste@FreeBSD.org>

Belatedly track private lib renaming for OptionalObsoleteFiles.inc

Reviewed by: kevans
Fixes: 5551c573554e ("Rework PRIVATELIB")
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32384

# 85395180 21-Jul-2021 Fernando Apesteguía <fernape@FreeBSD.org>

Remove manpages from OLD_FILES

Remove apm.8 and apmconf.8 from OLD_FILES in the relevant Makefiles.

These pages are now installed unconditionally as per 0a0f7486413c

PR: 257228
Reported by: yasu@utahime.org, wosch@
Approved by: imp@, wosch@
Fixes: 0a0f7486413c - Build manpages for all architectures
MFH: 4 weeks
Differential Revision: https://reviews.freebsd.org/D31256

# 23408297 18-Jun-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project 12.0.1 rc2

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-12.0.1-rc2-0-ge7dac564cd0e, a.k.a. 12.0.1 rc2.

PR: 255570
MFC after: 6 weeks


# d409305f 26-Apr-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project 12.0.0 release

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-12.0.0-0-gd28af7c654d8, a.k.a. 12.0.0 release.

PR: 255570
MFC after: 6 weeks


# e8d8bef9 13-Jun-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-12-init-17869-g8e464dd76bef

This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-12-init-17869-g8e464dd76bef, the last commit before the
upstream release/12.x branch was created.

PR: 255570
MFC after: 6 weeks


# 0333fad1 11-Jun-2021 John Baldwin <jhb@FreeBSD.org>

Remove svnlite.

Reviewed by: bcr, imp, emaste
Differential Revision: https://reviews.freebsd.org/D30737

# 95aa617e 03-Jun-2021 Dimitry Andric <dim@FreeBSD.org>

Add C++ headers <barrier> <concepts> <execution> <latch> <numbers> <semaphore>

I missed adding these to the libc++ Makefile, when importing
llvm-project 11.0.0-rc1, even though they were supplied by upstream.

While here, update OptionalObsoleteFiles.inc to add these new headers,
and cleanup old cruft.

Reported by: yuri
Submitted by: jkim (Makefile diff)
PR: 255374
MFC after: 3 days

# 15deee52 20-Mar-2021 Dimitry Andric <dim@FreeBSD.org>

Move GH_BC ObsoleteFiles.inc section to OptionalObsoleteFiles.inc

Optional features belong in the latter file, and should be tested using:

.if ${MK_FEATURE} == no
[...]
.endif

# e6cfd293 03-Mar-2021 John Baldwin <jhb@FreeBSD.org>

Remove the usr/tests/usr.bin/yacc/yacc directory when removing yacc.

MFC after: 1 week

# 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

# 5cf6f1c4 30-Jan-2021 Alex Richardson <arichardson@FreeBSD.org>

Remove the MK_LIBCPLUSPLUS option

This option has been equivalent to any form of C++ support since libstdc++
was removed. Therefore, replace all MK_LIBCPLUSPLUS uses with MK_CXX.

Reviewed By: emaste
Differential Revision: https://reviews.freebsd.org/D27974

# bfc99943 25-Jan-2021 Brooks Davis <brooks@one-eyed-alien.net>

ndis(4): remove as previous announced

nids(4) was a clever idea in the early 2000's when the market was
flooded with 10/100 NICs with Windows-only drivers, but that hasn't been
the case for ages and the driver has had no meaningful maintenance in
ages. It only supports Windows-XP era drivers.

Also remove:
- ndis support from wpa_supplicant
- ndiscvt(8)

Reviewed By: emaste, bcr (manpages)
Differential Revision: https://reviews.freebsd.org/D27609

# 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

# 7593c13e 16-Jan-2021 Dimitry Andric <dim@FreeBSD.org>

Add libclang_rt.profile-powerpc64le.a to (Optional)?ObsoleteFiles.inc

On little-endian PowerPC64, this prevented /usr/lib/clang/11.0.0 being
cleaned up completely after upgrading to clang 11.0.1.

Noticed by: pkubaj
MFC after: 4 weeks
X-MFC-With: r364284

# eaeb601b 03-Jan-2021 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
release/11.x llvmorg-11.0.1-rc2-0-g43ff75f2c3f (aka 11.0.1 rc2).

MFC after: 4 weeks
X-MFC-With: r364284


# 8aff76fb 22-Dec-2020 Kyle Evans <kevans@FreeBSD.org>

build: remove the option to build gnugrep

Unconditionally install bsdgrep as grep, bootstrap or not. Remove all
build glue and stop installing both gnugrep and libgnuregex now that
all consumers of the latter are gone.

Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D27732

# 1c0ea326 15-Dec-2020 Ed Maste <emaste@FreeBSD.org>

Retire obsolete GDB 6.1.1

GDB 6.1.1 was released in June 2004 and is long obsolete. It does not
support all of the architectures that FreeBSD does, and imposes
limitations on the FreeBSD kernel build, such as the continued use of
DWARF2 debugging information.

It was kept (in /usr/libexec/) only for use by crashinfo(8), which
extracts some basic information from a kernel core dump after a crash.
Crashinfo already prefers gdb from port/package if installed.

Future work may add kernel debug support to LLDB or find another path
for crashinfo's needs, but in any case we do not want to ship the
excessively outdated GDB in FreeBSD 13.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D27610

# d2624517 26-Nov-2020 Alan Somers <asomers@FreeBSD.org>

ping: add a ping6 hard link for backwards compatibility

When invoked as "ping6", ping will now attempt to use ICMPv6 for hostnames
that resolve both IPv4 and IPv6 addresses.

Reviewed by: bz, manu
MFC-With: r368045
Differential Revision: https://reviews.freebsd.org/D27384

# 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

# 2406f943 15-Nov-2020 Dimitry Andric <dim@FreeBSD.org>

Ensure make delete-old does not unlink the llvm-cxxfilt and its manpage,
after r367304 and r367324, when WITH_LLVM_CXXFILT is enabled.

Noticed by: "Herbert J. Skuhra" <herbert@gojira.at>
MFC after: 3 days
X-MFC-With: r367304

# 07335072 18-Oct-2020 Kyle Evans <kevans@FreeBSD.org>

libbe(3): install MLINKS for all of the functions provided

MFC after: 1 week

# 6703731d 08-Sep-2020 Kyle Evans <kevans@FreeBSD.org>

phttpget: move out of portsnap

Currently, WITHOUT_PORTSNAP forces WITHOUT_FREEBSD_UPDATE because the
latter relies on phttpget, which lives inside the portsnap build bits.

Remove the dependency between these two options by moving phttpget out into
^/libexec and building/installing it if either WITH_PORTSNAP or
WITH_FREEBSD_UPDATE.

Future work could remove the conditional if it's decided that users will use
it independently of either the current in-base consumers.

Reported by: swills
Reviewed by: jilles, emaste
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D26255

# 32cb7794 03-Sep-2020 Dimitry Andric <dim@FreeBSD.org>

Ensure zpool-features(5) doesn't get removed by make delete-old.

Apparently, somewhere in 2012 ZFS-on-FreeBSD moved it from section 5 to
7, but ZFS-on-Linux never did.

# 57b71478 14-Aug-2020 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for added and removed clang 11.0.0
internal headers.

# 62cfcf62 28-Jun-2020 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
llvmorg-10.0.1-rc2-0-g77d76b71d7d.

Also add a few more llvm utilities under WITH_CLANG_EXTRAS:

* llvm-dwp, a utility for merging DWARF 5 Split DWARF .dwo files into
.dwp (DWARF package files)
* llvm-size, a size(1) replacement
* llvm-strings, a strings(1) replacement

MFC after: 3 weeks


# 136bdd99 26-Jun-2020 Dimitry Andric <dim@FreeBSD.org>

Follow-up to r362679, add more entries to OptionalObsoleteFiles.inc

MFC after: 3 days
X-MFC-With: r362679

# bd74205d 27-Jun-2020 Dimitry Andric <dim@FreeBSD.org>

Regenerate ReStructuredText based manpages for llvm-project tools:

* bugpoint.1
* clang.1
* llc.1
* lldb.1
* lli.1
* llvm-ar.1
* llvm-as.1
* llvm-bcanalyzer.1
* llvm-cov.1
* llvm-diff.1
* llvm-dis.1
* llvm-dwarfdump.1
* llvm-extract.1
* llvm-link.1
* llvm-mca.1
* llvm-nm.1
* llvm-pdbutil.1
* llvm-profdata.1
* llvm-symbolizer.1
* llvm-tblgen.1
* opt.1

Add newly generated manpages for:

* llvm-addr2line.1 (this is an alias of llvm-symbolizer)
* llvm-cxxfilt.1
* llvm-objcopy.1
* llvm-ranlib.1 (this is an alias of llvm-ar)

Note that llvm-objdump.1 is an exception, as upstream has both a plain
.1 file, and a .rst variant. These will have to be reconciled upstream
first.

MFC after: 3 days

# 0a9ab9f5 24-Jun-2020 Conrad Meyer <cem@FreeBSD.org>

Add WITH_CLANG_FORMAT option

clang-format is enabled conditional on either WITH_CLANG_EXTRAS or
WITH_CLANG_FORMAT. Some sources in libclang are build conditional on
either rule, and obviously the clang-format binary itself depends on the
rule.

clang-format could still use a manual page.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D25427

# 74e8d41e 06-Jun-2020 Ed Maste <emaste@FreeBSD.org>

Retire BINUTILS and BINUTILS_BOOTSTRAP options

As of r361857 all BINUTILS options are disabled by default - ports
have been changed to depend on binutils if they require GNU as, and
all base system assembly files have been switched to use Clang's
integrated assembler.

Relnotes: Yes
Sponsored by: The FreeBSD Foundation

# d65cd7a5 23-May-2020 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
llvmorg-10.0.1-rc1-0-gf79cd71e145 (aka 10.0.1 rc1).

MFC after: 3 weeks


# 65a1d636 15-May-2020 Ed Maste <emaste@FreeBSD.org>

libalias: retire cuseeme support

The CU-SeeMe videoconferencing client and associated protocol is at this
point a historical artifact; there is no need to retain support for this
protocol today.

Reviewed by: philip, markj, allanjude
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D24790

# 4d48b0cf 15-May-2020 John Baldwin <jhb@FreeBSD.org>

Don't remove ubsec(4) manual page for WITHOUT_USB=yes.

In head this manpage has been removed entirely, but ubsec(4) is a PCI
device and not a USB device.

MFC after: 1 week

# f8519228 07-May-2020 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles.inc: remove objdump

objdump is removed unconditionally in ObsoleteFiles.inc

# 12de77b3 19-Apr-2020 Cy Schubert <cy@FreeBSD.org>

Due to popular demand, revert r360102.

Reported by: many

# 4574585e 19-Apr-2020 Cy Schubert <cy@FreeBSD.org>

Conditionally install Kerberos rc files based on MK_KERBEROS_SCRIPTS
instead of MK_KERBEROS. The reason for this change is some users
prefer to build FreeBSD WITHOUT_KERBEROS, wanting to retain the
Kerberos rc scripts to start/stop MIT Kerberos or Heimdal from ports.

PR: 197337
Reported by: Adam McDougall <ebay at looksharp.net>
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D24252

# a52b0bb1 30-Mar-2020 Ed Maste <emaste@FreeBSD.org>

drop GDB_LIBEXEC option (now always true)

In-tree gdb is essentially obsolete. We kept it for sparc64 (because
gdb in ports lacked sparc64 support) and as a fallback for crashinfo.
gdb was installed to /libexec on all archs other than sparc64, where the
WITHOUT_GDB_LIBEXEC option was default, with gdb installed to /usr/bin.
With sparc64's retirement WITH_GDB_LIBEXEC became the default for all
architectures, but it was still possible to set it off and install gdb
into /usr/bin.

As the next step in gdb's retirement, remove the option and install gdb
only into /libexec as the crashinfo fallback. We expect users to install
the gdb port or package for debugging. The in-tree gdb lacks support for
a number of supported architectures and does not support contemporary
DWARF debug info.

Reviewed by: jhb (earlier)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D24227

# a04ec978 26-Mar-2020 Brandon Bergren <bdragon@FreeBSD.org>

[PowerPC] Switch powerpc and powerpcspe to lld

Now that LLD 10 is out, and required patches have landed, we are now ready
to finally switch away from the ancient in-tree ld.bfd.

Special thanks to Fangrui Song for many hours of work on getting the
32-bit powerpc lld ready for prime-time.

Reviewed by: emaste (earlier revision), jhibbits
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D24111

# b0d29bc4 23-Mar-2020 Brooks Davis <brooks@FreeBSD.org>

Import the kyua test framework.

Having kyua in the base system will simplify automated testing in CI and
eliminates bootstrapping issues on new platforms.

The build of kyua is controlled by WITH(OUT)_TESTS_SUPPORT.

Reviewed by: emaste
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D24103


# 725cc1de 17-Mar-2020 John Baldwin <jhb@FreeBSD.org>

Add missing DTrace files for WITHOUT_CDDL=yes.

Reviewed by: dteske
MFC after: 1 week
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D24037

# 0fbbe502 12-Mar-2020 Enji Cooper <ngie@FreeBSD.org>

Remove /usr/share/snmp/defs/tc.def with delete-old if MK_BSNMP == no

This removes a lingering file on new installs of CURRENT, originally
added in r345797.

MFC after: 1 week
MFC with: r345797

# 16b90565 10-Mar-2020 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r358731 through r358831.


# 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

# 91019ea7 29-Feb-2020 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r358400 through r358465.


# 57f80467 28-Feb-2020 Ed Maste <emaste@FreeBSD.org>

remove GCC 4.2.1 build infrastructure

As described in Warner's email message[1] to the FreeBSD-arch mailing
list we have reached GCC 4.2.1's retirement date. At this time all
supported architectures either use in-tree Clang, or rely on external
toolchain (i.e., a contemporary GCC version from ports).

GCC 4.2.1 was released July 18, 2007 and was imported into FreeBSD later
that year, in r171825. GCC has served us well, but version 4.2.1 is
obsolete and not used by default on any architecture in FreeBSD. It
does not support modern C and does not support arm64 or RISC-V.

Thanks to everyone responsible for maintaining, updating, and testing
GCC in the FreeBSD base system over the years.

So long, and thanks for all the fish.

[1] https://lists.freebsd.org/pipermail/freebsd-arch/2020-January/019823.html

PR: 228919
Reviewed by: brooks, imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D23124

# 0b37c159 25-Jan-2020 Dimitry Andric <dim@FreeBSD.org>

* Bump version numbers to 10.0.0
* Update UPDATING
* Update (Optional)ObsoleteFiles.inc
* Update VCS(Revision|Version) files
* Update generated config headers
* Update clang internal headers Makefile

# 0581ad70 20-Jan-2020 Mariusz Zaborski <oshogbo@FreeBSD.org>

When MK_CASPER=no is set remove files which are not needed to run system.

PR: 242971

# 3d37949e 20-Jan-2020 Mariusz Zaborski <oshogbo@FreeBSD.org>

Even when the MK_CASPER is set to "no" we still want to install man pages
and the headers. If the user decides to install the system without Casper
support, then the Casper functions are mocked, but they still exist in
the system.

PR: 242971
MFC after: 2 weeks

# c31a062f 20-Jan-2020 Mariusz Zaborski <oshogbo@FreeBSD.org>

Those files are already removed in ObsoleteFiles.\
There is no need to remove them twice.

PR: 242971
MFC after: 2 weeks

# cd0d51ba 04-Jan-2020 Kyle Evans <kevans@FreeBSD.org>

Provide libssp based on libc

For libssp.so, rebuild stack_protector.c with FORTIFY_SOURCE stubs that just
abort built into it.

For libssp_nonshared.a, steal stack_protector_compat.c from
^/lib/libc/secure and massage it to maintain that __stack_chk_fail_local
is a hidden symbol.

libssp is now built unconditionally regardless of {WITH,WITHOUT}_SSP in the
build environment, and the gcclibs version has been disconnected from the
build in favor of this one.

PR: 242950 (exp-run)
Reviewed by: kib, emaste, pfg, Oliver Pinter (earlier version)
Also discussed with: kan
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D22943

# c14a5a88 22-Dec-2019 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
9.0.1 final release c1a0a213378a458fbea1a5c77b315c7dce08fd05.

Release notes for llvm, clang, lld and libc++ 9.0.1 will become
available here:

https://releases.llvm.org/9.0.1/docs/ReleaseNotes.html
https://releases.llvm.org/9.0.1/tools/clang/docs/ReleaseNotes.html
https://releases.llvm.org/9.0.1/tools/lld/docs/ReleaseNotes.html
https://releases.llvm.org/9.0.1/projects/libcxx/docs/ReleaseNotes.html

PR: 240629
MFC after: 1 month


# 1bb8eb56 23-Nov-2019 Dimitry Andric <dim@FreeBSD.org>

libclang_rt: enable on powerpc*

Summary:
Enable on powerpc64 and in lib/libclang_rt/Makefile change
MACHINE_CPUARCH to MACHINE_ARCH because on powerpc64
MACHINE_ARCH==MACHINE_CPUARCH so the 32-bit library overwrites 64-bit
library during installworld.

This patch doesn't enable any other libclang_rt libraries because they
need to be separately ported.

I have verified that games/julius (which fails on powerpc64 elfv2
without this change because of no libclang_rt profiling library) builds.

Test Plan: Ship it, test on powerpc and powerpcspe

Submitted by: pkubaj
Reviewed by: dim, jhibbits
Differential Revision: https://reviews.freebsd.org/D22425
MFC after: 1 month
X-MFC-With: r353358

# 8b3bc70a 08-Oct-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r352764 through r353315.


# 4d22a29a 04-Oct-2019 Baptiste Daroussin <bapt@FreeBSD.org>

Do not remove the locale directory when building a system without locales

This directory is actually needed during make installworld and will prevent
to reinstall a system after make delete-old is done.

PR: 226137
Reported by: rakuco
MFC after: 3 days

# f993ed2f 09-Sep-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r351732 through r352104.


# 9a2b7c5f 04-Sep-2019 Rebecca Cran <bcran@FreeBSD.org>

The efifat files are no longer used: remove the code to build them

Reviewed by: imp, tsoome, emaste
Differential Revision: https://reviews.freebsd.org/D20562

# 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

# f57be329 01-Sep-2019 Dimitry Andric <dim@FreeBSD.org>

Update libclang_rt:
* Add cfi, dd, fuzzer and xray
* Update arch support
* Update OptionalObsoleteFiles.inc

# 2f3724e6 31-Aug-2019 Dimitry Andric <dim@FreeBSD.org>

Update Makefile and mtree for clang internal headers, and update
OptionalObsoleteFiles.inc for added and removed files.

# 72e1e271 23-Aug-2019 Dimitry Andric <dim@FreeBSD.org>

Change clang lib dir to 9.0.0.

# 7f32f0e2 18-Aug-2019 Vladimir Kondratyev <wulf@FreeBSD.org>

iwmbtfw: Firmware loader for Intel Wireless 8260 based Bluetooth USB devices

Currently supported models are: 8260, 8265, 9560, 9260 and 22161.
Firmware files can be installed with comms/iwmbt-firmware port.

PR: 237083
Reviewed by: hps, emax
X-MFC with: r351196
Differential Revision: https://reviews.freebsd.org/D21071

# 403c9d52 05-Aug-2019 Leandro Lupori <luporl@FreeBSD.org>

[PPC64] Don't mark ld.bfd as obsolete

PowerPC64 still needs ld.bfd for 32-bit binaries/libraries.

This will be needed when ELFv2 becomes default, but there is no harm in
committing it already.

Reviewed by: jhibbits
Differential Revision: https://reviews.freebsd.org/D21136

# 330014fd 03-Jul-2019 Tijl Coosemans <tijl@FreeBSD.org>

Also remove lib32 versions of libradius.

MFC after: 1 week

# 015cb6cd 26-Jun-2019 Cy Schubert <cy@FreeBSD.org>

Create a link to the ipmon.conf.5 man page as documented in ipmon.5.
Add its corresponding optional removal entry.

PR: 238816
MFC after: 1 week

# 74bc7fc0 26-Jun-2019 Cy Schubert <cy@FreeBSD.org>

Add the ipmon.5 man page.

PR/238816 initially addressed updates to usage() however the PR has
morphed into a shopping list of updates to usage() and man pages.

PR: 238816 (I added to the list during discussion)
MFC after: 1 week

# efc5c442 12-Jun-2019 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copies of clang, llvm, lld, lldb, compiler-rt, libc++,
libunwind and openmp to the upstream release_80 branch r363030
(effectively, 8.0.1 rc2). The 8.0.1 release should follow this within a
week or so.

MFC after: 2 weeks


# f02125cd 06-Jun-2019 Jung-uk Kim <jkim@FreeBSD.org>

Move llvm-ranlib to appropriate location in OptionalObsoleteFiles.inc.

Note llvm-ar is linked to llvm-ranlib since r311565. r348677 fixed
"make delete-old" issue with llvm-ar but missed it somehow.

Discussed with: emaste, jhb

# e4e92b4d 05-Jun-2019 Ed Maste <emaste@FreeBSD.org>

Use CLANG knob to remove llvm-symbolizer man page

r348504 moved llvm-symbolizer from the CLANG_EXTRAS knob to CLANG, but
the man page was still in the CLANG_EXTRAS section in
OptionalObsoleteFiles.inc.

Reported by: jhb
MFC after: 3 days
MFC with: r348504

# 7120683d 04-Jun-2019 Ed Maste <emaste@FreeBSD.org>

move llvm-ar and llvm-nm to appropriate location in OptionalObsoleteFiles.inc

After r348610 `make delete-old` was still removing llvm-ar and llvm-nm
(and associated man pages).

Reported by: jhb
Sponsored by: The FreeBSD Foundation

# 71259635 01-Jun-2019 Kyle Evans <kevans@FreeBSD.org>

llvm-symbolizer: Move out of CLANG_EXTRAS, into CLANG

ASAN reports become a lot more useful with llvm-symbolizer in $PATH, and the
build is not much more time-consuming. The added benefit is that the
resulting reports will actually include symbol information; without, thread
trace information includes a bunch of addresses that immediately resolve to
an inline function in
^/contrib/compiler-rt/lib/sanitizer_common/sanitizer_common.h and take a
little more effort to examine.

Reviewed by: emaste
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D20484

# 001ec17e 19-May-2019 Dimitry Andric <dim@FreeBSD.org>

To avoid unnecessarily modifying ports, add a -lgomp symlink, since GCC
does not ship a -lomp symlink. Also update OptionalObsoleteFiles for
this, and add 32-bit variants while here.

Submitted by: jbeich
PR: 237975
MFC after: 3 days

# 6da88762 19-May-2019 Dimitry Andric <dim@FreeBSD.org>

Fix OptionalObsoleteFiles copy/paste mistake from r345236, which
connected libomp to the build. The comparison should not have been
against ${MK_OPENSSH}, but against ${MK_OPENMP}, obviously.

MFC after: 3 days

# 60828939 26-Mar-2019 John Baldwin <jhb@FreeBSD.org>

Add special psuedo-options for the base/{binutils,gcc} ports.

The WITH_PORT_BASE_{BINUTILS,GCC} options are used to prevent 'make check-old'
and 'make delete-old' from deleting files installed by the base/binutils
and base/gcc packages as normally one disables the in-tree variants
(e.g. WITHOUT_BINUTILS) when using these packages.

Reviewed by: bapt (earlier version)
Differential Revision: https://reviews.freebsd.org/D19483

# 5d3d68ab 21-Mar-2019 Cy Schubert <cy@FreeBSD.org>

From r345400, remove the ippool rc script when ipfilter is not wanted
by the user.

PR: 218433
MFC after: 2 weeks
X-MFC with: r345400

# b0840a28 16-Mar-2019 Dimitry Andric <dim@FreeBSD.org>

Connect lib/libomp to the build.

* Set MK_OPENMP to yes by default only on amd64, for now.
* Bump __FreeBSD_version to signal this addition.
* Ensure gcc's conflicting omp.h is not installed if MK_OPENMP is yes.
* Update OptionalObsoleteFiles.inc to cope with the conflicting omp.h.
* Regenerate src.conf(5) with new WITH/WITHOUT fragments.

Relnotes: yes
PR: 236062
MFC after: 1 month
X-MFC-With: r344779

# 5193fcde 15-Mar-2019 Enji Cooper <ngie@FreeBSD.org>

Initial googlemock/googletest integration into the build/FreeBSD test suite

This initial integration takes googlemock/googletest release 1.8.1, integrates
the library, tests, and sample unit tests into the build.

googlemock/googletest's inclusion is optionally available via `MK_GOOGLETEST`.
`MK_GOOGLETEST` is dependent on `MK_TESTS` and is enabled by default when
built with a C++11 capable toolchain.

Google tests can be specified via the `GTESTS` variable, which, in comparison
with the other test drivers, is more simplified/streamlined, as Googletest only
supports C++ tests; not raw C or shell tests (C tests can be written in C++
using the standard embedding methods).

No dependent libraries are assumed for the tests. One must specify `gmock`,
`gmock_main`, `gtest`, or `gtest_main`, via `LIBADD` for the program.

More information about googlemock and googletest can be found on the
Googletest [project page](https://github.com/google/googletest), and the
[GoogleMock](https://github.com/google/googletest/blob/v1.8.x/googlemock/docs/Documentation.md)
and
[GoogleTest](https://github.com/google/googletest/tree/v1.8.x/googletest/docs)
docs.

These tests are originally integrated into the build as plain driver tests, but
will be natively integrated into Kyua in a later version.

Known issues/Errata:
* [WhenDynamicCastToTest.AmbiguousCast fails on FreeBSD](https://github.com/google/googletest/issues/2172)

Reviewed by: asomers
Approved by: emaste (mentor)
MFC after: 2 months
Differential Revision: https://reviews.freebsd.org/D19551


# 77e6f928 12-Mar-2019 Cy Schubert <cy@FreeBSD.org>

Fix still installing ipfilter rc.d files even when WITHOUT_IPFILTER
is specified.

When WITHOUT_IPFILTER is specified, delete-old-files fails to delete
the optional rc.d files from above. Fix this.

WITHOUT_IPFILTER fails to delete the ipfilter.5 optional file during
delete-old-files. Fix this.

Reported by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
MFC after: 1 week

# 844fc3e9 04-Mar-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r344549 through r344775.


# 2e881c1a 28-Feb-2019 Bryan Drewery <bdrewery@FreeBSD.org>

bsd.nls.mk isn't optional.

It is protected by MK_NLS. If it should really be optional then
it needs to be documented as such in share/mk/bsd.README and
.sinclude used where needed.

This fixes a regression from r335011.

PR: 232527
Submitted by: jarrod@downtools.com.au
Reported by: ktullavik@gmail.com
MFC after: 3 days

# a8fe8db4 25-Feb-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r344178 through r344512.


# 7588d90e 16-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Few more corrections to WITHOUT_OFED=1 make delete-old removal:

- Drop profile libraries; MK_PROFILE=no is set in all Makefile's.
- Correct library path to libmlx5.so.1 and libibverbs.so.1

MFC after: 5 days
MFC with: 344207

# fe3d954e 16-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Remove corresponding lib32/ files when WITHOUT_OFED=1 is set

MFC after: 5 days
MFC with: 344207

# 4a0225e5 16-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Refresh OptionalObsoleteFiles.inc for MK_PMC:

- Add missing /usr/sbin/pmc, pmcformat.h, libpmcstat.h and pmc.haswellxeon.3
to the list.
- Correct man page section for pmcstudy.8.
- Include recently added libipt and libopencsd for corresponding TARGET_ARCH

MFC after: 5 days

# b94a281e 15-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Add more rc.d scripts / empty directors / config files into
OptionalObsoleteFiles.inc

Note: only files with conditional installation logic were
included from the PR.

PR: 233046
Submitted by: <rozhuk.im@gmail.com>
MFC after: 5 days

# 48514fe1 15-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Allow to remove unused files via 'make delete-old(-libs)' when WITHOUT_OFED
and / or WITHOUT_OFED_EXTRA src.conf(5) options are set.

MFC after: 5 days

# ebd13ba3 15-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Remove vi(1)-related files via 'make delete-old' when WITHOUT_VI=1 is set.

MFC after: 5 days

# 9e43c218 09-Feb-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r343807 through r343955.


# 984aff28 07-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Correct ypldap(8) install path in OptionalObsoleteFiles.inc

It's installed to /usr/sbin, not to /usr/bin (and was always here).

While here, add missing manpages and /var/yp directory to the list.

MFC after: 1 week

# 7e565c55 30-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r343320 through r343570.


# 31f53eaa 27-Jan-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Remove RADIUS-related files when WITHOUT_RADIUS_SUPPORT=true is set
in src.conf(5)

PR: 234041
MFC after: 5 days

# 88148a07 22-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r343202 through r343319.


# 58a7b5d6 22-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Update libc++ build glue, and ObsoleteFiles.

# 6b77b5ec 20-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add more profile-enabled libraries to remove when WITHOUT_PROFILE is defined

PR: 230898
Submitted by: Herbert J. Skuhra <herbert@mailbox.org>
MFC after: 1 week

# 0bf31f1f 20-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Update version numbers, and regenerate config headers for llvm, clang,
lld and lldb. Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc.

# 33b63711 17-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add ypldap to the list of conditional obsolete files

ypldap should be removed during delete-old if WITHOUT_NIS flag is enabled

PR: 230727
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>
MFC after: 1 week

# 0a34fc88 16-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Fix conditional obsolete files entry for WITHOUT_EXAMPLES

Add all the files under /usr/share/examples to the MK_EXAMPLES
section. OLD_DIRS entries are not removed if they're not empty so
prior to this change WITHOUT_EXAMPLES didn't have significant effect
on the updated system.

PR: 228484
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru> (original patch)
MFC after: 1 week

# aca16d28 16-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add optional obsolete files for the installworld without sendmail

Add two more entries for WITHOUT_SENDMAIL install. The /var/spool/clientmqueue
entry would be deleted only if there are no files/dirs in it, so the
content generated during previous lifecycle of the system is safe

PR: 228484
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>
MFC after: 1 week

# d46dea50 13-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add four kerberos CLI utilities to OptionalObsoleteFiles.inc

Add asn1_compile, make-roken, kcc, and slc to the OptionalObsoleteFiles.inc
so they would be removed during delete-old stage if the new world is built
without Kerberos support.

PR: 230725
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>
MFC after: 1 week

# 0fc0faf8 11-Jan-2019 Lars Engels <lme@FreeBSD.org>

Add `bluetooth-config` script to simplify setting up bluetooth connections to
devices like mice, keyboards, bt-audio, ...

This script currently allows scanning for nearby devices, adds one to
/etc/bluetooth/hosts, adds an entry to hcsecd's conf and if it is a HID, add an
entry to bthidd's configs, as well.

Submitted by: erdgeist <erdgeist@erdgeist.org>
Approved by: bapt
MFC after: 2 weeks
Differential Revision: D3778
Reviewers: bapt, emax

# 354c6a44 07-Jan-2019 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove groff leftovers

usr/share/dict/eign is removed unconditionally as of r319664, so it no
longer needs to be in OptionalObsoleteFiles.

PR: 230353
Reported by: philippe.michel7 sfr.fr

# b1ce931b 17-Dec-2018 Alan Somers <asomers@FreeBSD.org>

Conditionalize installtion audit(4) tests on MK_AUDIT

MK_AUDIT already controls auditd(8), praudit(1), etc. It should also control
the audit test suite.

Submitted by: ngie
MFC after: 2 weeks
Pull Request: https://github.com/freebsd/freebsd/pull/240

# 314ce98e 16-Dec-2018 Alan Somers <asomers@FreeBSD.org>

OptionalObsoleteFiles: Fix deleting usr/tests/usr.sbin/sa

It's a directory, not a file.

Reported by: ngie
MFC after: 2 weeks
X-MFC-With: 300938

# 738ea871 16-Dec-2018 Alan Somers <asomers@FreeBSD.org>

Conditionally install /etc/rc.d/audit* based on ${MK_AUDIT}

/usr/sbin/audit(dist)?d are only installed if ${MK_AUDIT} == yes. Their
supporting scripts should only be installed in those instances as well.

Submitted by: ngie
Reviewed by: emaste
MFC after: 2 weeks
Pull Request: https://github.com/freebsd/freebsd/pull/242

# 11783f00 15-Dec-2018 Cy Schubert <cy@FreeBSD.org>

Repair build post-r342139

# 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

# 67350cb5 09-Dec-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r340918 through r341763.


# eda7d3be 26-Nov-2018 Ed Maste <emaste@FreeBSD.org>

Do not install GNU ld if lld is /usr/bin/ld

GNU binutils ld.bfd 2.17.50 does not support ifuncs and produces broken
binaries when ifuncs are in use. When LLD_IS_LD is default we have an
ifunc-capable system linker and can just avoid installing ld.bfd.

Reported by: theraven
Reviewed by: bz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D18340

# 9b5cb2f6 12-Nov-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r340235 through r340367.


# e8bd2804 09-Nov-2018 Ed Maste <emaste@FreeBSD.org>

Move llvm-profdata build into MK_LLVM_COV block

llvm-profdata is used with llvm-cov for code coverage (although llvm-cov
can also operate independently in a gcov-compatible mode).
Although llvm-profdata can be used independently of llvm-cov it makes
sense to group these under one option.

Also handle these in OptionalObsoleteFiles.inc while here.

Sponsored by: The FreeBSD Foundation

# 9f7331ad 09-Nov-2018 Ed Maste <emaste@FreeBSD.org>

llvm-cov: also install as gcov (if GNU gcov is disabled)

llvm-cov provides a gcov-compatible interface when invoked as gcov.

Reviewed by: dim, markj
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D17923

# 2f02c9d6 09-Nov-2018 Ed Maste <emaste@FreeBSD.org>

Consolidate gcov entries in OptionalObsoleteFiles

Sponsored by: The FreeBSD Foundation

# 68948600 04-Nov-2018 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, lld, lldb, compiler-rt and libc++ release_70 branch
r346007 (effectively 7.0.1 rc2), resolve conflicts, and bump version
numbers.

PR: 230240, 230355


# ce44d808 27-Sep-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338731 through r338987.


# 25569cea 25-Sep-2018 Ed Maste <emaste@FreeBSD.org>

Do not remove ld man page if lld is enabled and binutils is not

Reported by: Mark Millard
Approved by: re (gjb)
Sponsored by: The FreeBSD Foundation

# 3af64f03 11-Sep-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338392 through r338594.


# 3efdd580 07-Sep-2018 Ed Maste <emaste@FreeBSD.org>

Remove strings from OptionalObsoleteFiles.inc

Since r326030 strings is installed unconditionally so should not be
removed when WITHOUT_TOOLCHAIN is set.

Reported by: Dan McGregor
Approved by: re (kib)
Sponsored by: The FreeBSD Foundation

# da2d1e9d 29-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338298 through r338391.


# 8369ba42 24-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

libbe(3)/bectl(8): Make consistent with beadm

vermaden (maintainer of beadm) points out the following inconsistencies:
- "missing command" is not printed prior to usage if the error is simply a
missing command; this should be obvious from the context
- "bectl rename" isn't using the "don't unmount" flag (zfs rename -u), so
the active BE can't be renamed. It doesn't make sense in our context to
*not* use -u, so use it.

Documentation updates reflect the above and note an inconsistency with the
'destroy' command that is consistent with other parts of the base system.

A fix for libbe(3) not properly being installed to /lib is included.
SHLIBDIR should have been added when it was moved in r337995.

Approved by: re (kib)

# 7847e041 24-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338026 through r338297, and resolve conflicts.


# d7f41421 23-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

Remove hyper-v leftovers when WITHOUT_HYPERV is set

hv_vss_daemon was missed.

Submitted by: Oliver Pinter
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D16811

# ea8b116b 22-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

Remove ZFS leftovers when WITHOUT_ZFS is set

Submitted by: Oliver Pinter
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D16810

# a757dfac 03-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Update lib/libclang_rt for compiler-rt trunk r338150.

# 488aa40a 02-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Update libc++ and libc++experimental Makefiles, add libc++fs Makefile,
and update OptionalObsoleteFiles.inc for new additions.

# 67b158f6 01-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Update build blue to make WITH_CLANG_EXTRAS and WITH_CLANG_FULL work.

# d28668f9 31-Jul-2018 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for new clang intrinsics headers.

# 6dfa117f 31-Jul-2018 Dimitry Andric <dim@FreeBSD.org>

Update llvm/clang version numbers in various files.

# 6f077571 04-Jul-2018 Sean Bruno <sbruno@FreeBSD.org>

WITHOUT_SERVICESDB:

Add src.conf knob to disable the installation of /var/db/services.db

Default to leaving services.db in place, but allow the removal of the
file and its creation with a src.conf knob.

This file ends up being 2MB in size. For small systems this is a waste
of space but its a tradeoff.

Reviewed by: bdrewery
Differential Revision: https://reviews.freebsd.org/D9655

# 55458465 30-Jun-2018 Dimitry Andric <dim@FreeBSD.org>

More follow-up to r335799 (llvm/clang 6.0.1 update), where I forgot to
update mtree files, ObsoleteFiles and a number of other paths. Sorry
about all the breakage.

Pointy hat to: me
MFC after: 2 weeks
X-MFC-With: r335799

# 6a75ef58 20-Jun-2018 Kyle Evans <kevans@FreeBSD.org>

Don't remove loader.conf(5) when built WITHOUT_FORTH

The new stand/ structure installs loader.conf(5) and defaults/loader.conf
regardless of interpreter. The only thing gating installation now is
MK_BOOT.

Reported by: eadler

# 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

# cd134777 12-Jun-2018 Sean Bruno <sbruno@FreeBSD.org>

WITHOUT_NLS cleanup of more empty dirs.

Reviewed by: emaste
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D15626

# a8056486 09-Jun-2018 Dimitry Andric <dim@FreeBSD.org>

Add missed libc++ entries to (Optional)ObsoleteFiles.inc

Some of these were removed during the libc++ 5.0.0 import, others were
added in the libc++ 6.0.0 import.

MFC after: 3 days

# 30dc9502 06-Jun-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Remove NLS support from BSD grep

GNU grep as in actually in base does not have any translations support
compiled in, so no functionnality loss.

We do support 193 locales in base, we will never catch up on that number of
translation with bsd grep.

Removing NLS support make bsd grep consistent with the other binaries in base
which are not translated, and also reduce a little bit the code.

Reviewed by: kevans
Approved by: kevans
Discussed with: kevans @BSDCan
Differential Revision: https://reviews.freebsd.org/D15682

# f3e32074 23-May-2018 Eitan Adler <eadler@FreeBSD.org>

Add missing file for WITH{OUT}_BSDINSTAL

PR: 227805
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>

# b70d78d6 12-May-2018 Dag-Erling Smørgrav <des@FreeBSD.org>

Rename all Unbound binaries and man pages from unbound* to local-unbound*.

PR: 222902

# 612c330d 25-Apr-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Use a script wrapper for <compress>grep

Import the wrapper script from zstdgrep (written by wiz@netbsd.org)

Modify it to support more than just zstd (adding support for gzip,
lzma, xz and bzip2)

Write a simple manpage dedicated for it.

Only use that new wrapper both for gnu grep and bsd grep

Next step will be removing code related to compression format from bsdgrep

Reviewed by: kevans
Approved by: kevans
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D15193

# a2739731 06-Feb-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Remove gdbtui, it was already not installed on every arches
only installed on arm and sparc64.
It is the only bits that keeps us having libreadline in base
The rest of gdb can be switched to libedit and will be in another
commit

# fe4fed2e 28-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, lld, lldb, compiler-rt and libc++ trunk r321545,
update build glue and version numbers, add new intrinsics headers, and
update OptionalObsoleteFiles.inc.


# c9d5cb17 24-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc again.

# 0c4684a8 23-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for new headers and libraries under
/usr/lib/clang/6.0.0.

# 9509d906 23-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Add new llvm-objcopy utility, enabled when MK_CLANG_EXTRAS=yes.

# d49fee24 20-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc.

# d4419f6f 02-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copies of clang, llvm, lldb and libc++ to r319231 from the
upstream release_50 branch. This corresponds to 5.0.1 rc2.

MFC after: 2 weeks


# 898300ee 07-Nov-2017 Alexander Motin <mav@FreeBSD.org>

s/NgSendMsgReply/NgSendReplyMsg/ in man to match the code.

Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
MFC after: 2 weeks

# 578ec783 11-Oct-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Do not try to remove diff.7 optionaly has it is always removed
since GNU diff(1) has been replaced with BSD diff(1)

# 00d78afd 11-Oct-2017 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove diff from MK_GNU_DIFF=no block

diff (and man page) are not from GNU, as of r317209, and should not be
deleted if WITHOUT_GNU_DIFF is set. (WITHOUT_GNU_DIFF still controls
whether diff3 is built.)

Sponsored by: The FreeBSD Foundation

# e415aa28 06-Oct-2017 Jeremie Le Hen <jlh@FreeBSD.org>

Remove rcmds.

If they are still needed, you can find them in the net/bsdrcmds port.

This was proposed June, 20th and approved by various committers [1].
They have been marked as deprecated on CURRENT in r320644 [2] on July, 4th.
Both stable/11 and release/11.1 contain the deprecation notice (thanks to
allanjude@).

Note that ruptime(1)/rwho(1)/rwhod(8) were initially thought to be part of
rcmds but this was a mistake and those are therefore NOT removed.

[1] https://lists.freebsd.org/pipermail/freebsd-arch/2017-June/018239.html
[2] https://svnweb.freebsd.org/base?view=revision&revision=320644

Reviewed by: bapt, brooks
Differential Revision: https://reviews.freebsd.org/D12573

# 4154e70e 14-Sep-2017 Ed Maste <emaste@FreeBSD.org>

Update OptionalObsoleteFiles.inc with NTP docs

The list of files for MK_NTP was incomplete.

PR: 218193
Submitted by: brnrd
MFC after: 1 week

# 4572fb3f 13-Sep-2017 Gordon Tetlow <gordon@FreeBSD.org>

Deorbit catman. The tradeoff of disk for performance has long since tipped
in favor of just rendering the manpage instead of relying on pre-formatted
catpages. Note, this does not impede the ability to use existing catpages,
it just removes the utility to generate them.

Reviewed by: imp, allanjude
Approved by: emaste (mentor)
Differential Revision: https://reviews.freebsd.org/D12317

# 63cd05d9 16-Aug-2017 Ed Maste <emaste@FreeBSD.org>

remove debug files in delete-old* when WITHOUT_DEBUG_FILES

Reported by: brd
Reviewed by: bdrewery, brd
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D12044

# 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

# db17bf38 10-Jun-2017 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, lld, lldb, compiler-rt and libc++ r305145, and update
build glue.


# 686fb94a 10-Jun-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r319548 through r319778.


# 738919c0 07-Jun-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Remove groff from base

All manpages in base are now compatible with mandoc(1), all roff documentation
will be relocated in the doc tree. man(1) can now use groff from the ports tree
if it needs.

Also remove checknr(1) and colcrt(1) which are only useful with groff.

Approved by: (no objections on the mailing lists)

# f9448bf3 01-Jun-2017 Dimitry Andric <dim@FreeBSD.org>

Merge llvm, clang, lld, lldb, compiler-rt and libc++ r304460, and update
build glue.


# d02c951f 26-May-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r318658 through r318963.


# cdc37953 25-May-2017 Baptiste Daroussin <bapt@FreeBSD.org>

In preparation for the removal of the roff toolchain, disconnect the
roff documentation from the build.

Those documents will be added to the doc tree and distributed as PDF from
the documentation website. As they are valuable has history, but do not match
current FreeBSD

Further more, the ascii format we were using to distribute them is not really
accurate for such documents.

more details:
https://lists.freebsd.org/pipermail/freebsd-arch/2017-May/018211.html

# 583b5f35 23-May-2017 Glen Barber <gjb@FreeBSD.org>

Honor WITHOUT_TFTP for check-old* and delete-old* targets.

Submitted by: philippe dot michel7 at sfr dot fr
PR: 217949
MFC after: 3 days
Sponsored by: The FreeBSD Foundation

# 27c24068 22-May-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r318560 through r318657.


# 6930ca74 21-May-2017 Dimitry Andric <dim@FreeBSD.org>

Add libc++experimental.a for std::experimental support

This adds a separate library for supporting std::experimental features.
It is purposefully static, and must be explicitly linked into programs
using -lc++experimental.

PLEASE NOTE: there is NO WARRANTY as to any stability or continuing
existence of the features in the std::experimental parts of the C++
library!

Reviewed by: ed
Differential Revision: https://reviews.freebsd.org/D10840

# 209be205 16-May-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r317971 through r318379.


# e5c4c8aa 12-May-2017 Enji Cooper <ngie@FreeBSD.org>

Handle the logfiles in newsyslog and syslogd conditionally, based on
src.conf(5) knobs

This will allow consumers of FreeBSD to use the unmodified configuration
files out of the box more than previously.

Both newsyslog.conf and syslog.conf:
- /var/log/lpd-errs (MK_LPR != no)
- /var/log/ppp.log (MK_PPP != no)
- /var/log/xferlog (MK_FTP != no)

newsyslog.conf:
- /var/log/amd.log (MK_AMD != no)
- /var/log/pflog (MK_PF != no)
- /var/log/sendmail.st (MK_SENDMAIL != no)

MFC after: 3 weeks
Sponsored by: Dell EMC Isilon

# 2cb572a0 11-May-2017 Enji Cooper <ngie@FreeBSD.org>

Unconditionally install udp(4) and udplite(4) again

I added this to the MK_USB != no block in error in r278202.

MFC after: 3 weeks
Sponsored by: Dell EMC Isilon

# 50f2b14e 09-May-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for r318103.

# af3f3602 26-Apr-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r317281 through r317502.


# b4e2ab78 25-Apr-2017 Brooks Davis <brooks@FreeBSD.org>

Remove NATM configuration bits and assorted NATM and ATM remnants.

Reported by: ak
Reviewed by: ngie (first version)
Differential Revision: https://reviews.freebsd.org/D10497

# 73ad3fb5 25-Apr-2017 John Baldwin <jhb@FreeBSD.org>

Add a new GDB_LIBEXEC option to install gdb and kgdb to /usr/libexec.

When this option is enabled, only gdb and kgdb are installed to
/usr/libexec for use by crashinfo(8). Other bits of GDB such as
gdbserver and gdbtui are not installed. For this option to be
effective, GDB must be enabled.

Rework r317094 to re-enable GDB on all platforms but enable
GDB_LIBEXEC on platforms for which the GDB in ports is a superset of
functionality.

Reviewed by: emaste, kib
Suggested by: kib
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D10449

# b3ac6549 25-Apr-2017 Glen Barber <gjb@FreeBSD.org>

Remove an incorrect MLINK for tree(3) introduced in r310728.

Reported by: many
PR: 216476
MFC after: 3 days
Sponsored by: The FreeBSD Foundation

# 12ea3078 25-Apr-2017 John Baldwin <jhb@FreeBSD.org>

Remove info files from optional old files.

Info files are now all removed unconditionally after the removal of
texinfo.

MFC after: 1 week

# 554491ff 20-Apr-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r316992 through r317215.


# 50502545 20-Apr-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Readd Big5: some large databases setup are still requiring it.

Reported by: "張君天(Chun-Tien Chang)" <tcs@kitty.2y.idv.tw>

# f849be8a 16-Apr-2017 Dimitry Andric <dim@FreeBSD.org>

Add preliminary UPDATING and ObsoleteFiles.inc entries. Also add one
new intrinsics header.

# 2f4a7332 14-Apr-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionally install /etc/pam.d/ftp* and /etc/pam.d/telnetd

/etc/pam.d/ftp* should be installed with MK_FTP != no and
/etc/pam.d/telnetd should be installed when MK_TELNET != no.

MFC after: 7 weeks
Sponsored by: Dell EMC Isilon

# ababdab0 19-Mar-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Remove zh_TW.Big5 locale

After discussion with many Taiwanese, in IT or not. Big5 is not used anymore.
It is not able to represent lots of the characters used in the language.

# 2aadc44a 14-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Redirect standard error from find /rescue to /dev/null

This mutes noise from find when /rescue doesn't exist.

MFC after: 1 week
Sponsored by: Dell EMC Isilon

# 83684150 11-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Remove /rescue/zdb if MK_ZFS == no

Missed in r202452.

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# 4ab40004 11-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionally compile [additional] programs into rescue(8) if requested

Trivial oversight missed in r314240 cleanup because I enable these knobs on
my test machines.

MK_INET6_SUPPORT - rtsol
MK_NETCAT - nc

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# a1437e83 11-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Remove /rescue/iscsictl and /rescue/iscsid if MK_ISCSI == no

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# 97ab006d 10-Mar-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Remove the WITHOUT_MANDOCDB option

mandoc database is activated since FreeBSD 11.0, let's remove the previous
database format for FreeBSD 12.0

# d630701f 25-Feb-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r314178 through r314269.


# edb4a773 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Fill MK_LIBTHR as far as lib/libthr is concerned

There are other areas of the tree that will need to be evaluated for sanity
if they're supposed to be conditionally compiled out of the build/install,
like libzpool

MFC after: 1 month
Relnotes: yes (this might break someone's system if have the knob set)
Sponsored by: Dell EMC Isilon

# dc53eebd 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Remove MK_OBJC block

It is no longer represented via src.conf(5)

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# 31c3fb77 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Remove MK_CRYPT stub

It doesn't directly control what gets installed today; it indirectly
pulls other knobs (like MK_KERBEROS, etc).

MFC after: 1 weeks
Sponsored by: Dell EMC Isilon

# f0e14055 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Fill in MK_RESCUE by finding paths in ${DESTDIR}/rescue and adding
them to OLD_FILES/OLD_DIRS, as necessary.

MFC after: 1 month
Sponsored by: Dell EMC Isilon

# 5673173e 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionally compile certain programs into rescue(8) if requested

MK_CCD - ccdconfig
MK_ROUTED - routed, rtquery

MFC after: 2 weeks
Sponsored by: Dell EMC Isilon

# a3906ca5 17-Feb-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r313644 through r313895.


# 9264dd40 17-Feb-2017 Sean Bruno <sbruno@FreeBSD.org>

Update OLD_DIRS for various targets so that some of the branches of
directories are pruned when the appropriate knobs are turned.

Specifically, turning off bsdconfig, locales, examples, i18n, man,
ntp, syscons. It may not seem like a lot, but it helps when trying
to keep an x86 image under 96MB for MFSRoot netbooting.

Reviewed by: ngie
Differential Revision: https://reviews.freebsd.org/D9558

# 65575c14 29-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r312894 through r312967.


# 2b375b4e 27-Jan-2017 Yoshihiro Takahashi <nyan@FreeBSD.org>

Remove pc98 support completely.
I thank all developers and contributors for pc98.

Relnotes: yes

# 2dd1186c 27-Jan-2017 Ed Maste <emaste@FreeBSD.org>

Rename LLD_AS_LD to LLD_IS_LD, for consistency with CLANG_IS_CC

An additional case missed in r312855

# ca4fe588 27-Jan-2017 Ed Maste <emaste@FreeBSD.org>

Additional LD_AS_LLD -> LD_IS_LLD missed in r312894/r312895

# 80779b37 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge libc++ trunk r291476, update Makefile, ObsoleteFiles.inc and
OptionalObsoleteFiles.inc.


# 7b173dd6 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Add additional libc++ 4.0.0 headers.

# b0cc56ed 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r311692 through r311807.


# 0219a006 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Add recently added libc++ headers to OptionalObsoleteFiles.inc.

MFC after: 3 days

# 69415bc5 08-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r311546 through r311683.


# dc6e1047 06-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Link llvm-ar to llvm-ranlib, if WITH_CLANG_EXTRAS is enabled. When
invoked as llvm-ranlib, it can create an archive symbol table for
archives of objects compiled for LTO by an LLVM compiler.

Submitted by: Dan McGregor <danismostlikely@gmail.com>
MFC after: 3 days

# d8c03e73 04-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r311306 through r311313.


# 4c3d1ae2 04-Jan-2017 Jung-uk Kim <jkim@FreeBSD.org>

Remove llvm-objdump when Clang is disabled. It was missed in r310889.

Submitted by: dim

# 281264c5 04-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Add new llvm-{cxxfilt,lto2,modextract,xray} tools.

# 56e860c0 03-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc.

# cfd05404 31-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install bsnmpclient(3) as snmp_client_{init,set_host,set_port}(3)

MFC after: 3 days
X-MFC with: r310999

# a2795311 30-Dec-2016 Jung-uk Kim <jkim@FreeBSD.org>

Do not remove llvm-objdump. It is installed by default since r310840.

# 027e6861 28-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install {asn1,bsnmpagent,bsnmpclient,bsnmplib}.3 as all of the APIs
they document

Also, alphabetically sort MAN

MFC after: 3 days

# fdf6944b 28-Dec-2016 Andriy Voskoboinyk <avos@FreeBSD.org>

rum.4, run.4, runfw.4, zyd.4: do not install when MK_USB == no.

While here, add missing if_rtwn_usb.4.gz symlink into
OptionalObsoleteFiles.inc

# 4568bf74 27-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Only build/install usr.sbin/bsnmpd/modules/snmp_hast if MK_HAST != no

MFC after: 1 week

# 38bf4fd7 27-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Only build/install usr.sbin/bsnmpd/modules/snmp_wlan if MK_WIRELESS != no

MFC after: 1 week

# f66b889d 27-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install snmpmod.3 as all of the bsnmpd APIs it documents

MFC after: 3 days

# 7a53f9a7 17-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r310169 through r310190.


# 9e373074 16-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Remove lib/libelf's manpages if MK_TOOLCHAIN == no

Add a comment to help figure out which set is lib/libelf's and which set
is lib/libelftc's

MFC after: 1 week

# 4cc3366d 16-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install the lib/libelftc manpages

Some other manpages, e.g. c++filt reference these

MFC after: 1 week

# 5b18539f 10-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r309758 through r309803.


# 1a4604e3 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_FINGER in src.conf when running make delete-old

PR: 213719
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# bdc5a216 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_BOOTPD in src.conf when running make delete-old

PR: 213720
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# 06af16fb 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_BOOTPARAMD in src.conf when running make delete-old

PR: 213721
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# 53a04062 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_RBOOTD in src.conf when running make delete-old

PR: 213722
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# 87ac01ca 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Also remove auditdistd files if src.conf has WITHOUT_AUDIT

PR: 213723
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# 0c421ffe 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Add entries to remove timed files with make delete-old if WITHOUT_TIMED is set

PR: 213724
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days

# beced2ea 09-Dec-2016 Ed Maste <emaste@FreeBSD.org>

Keep /usr/bin/ld for WITHOUT_BINUTILS but WITH_LLD_AS_LD

Reported by: Nikolai Lifanov

# 1bde3b70 09-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r309519 through r309757.


# 8d4ddada 05-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Remove svn[lite]{bench,fsfs} if either MK_SVN == no or MK_SVNLITE == no

MFC after: 1 week

# 5042637b 02-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Update build glue for clang 3.9.1 r288513.

# d6d16831 27-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r309170 through r309212.


# 6908adc3 27-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Add a few missed clang 3.9.0 files to OptionalObsoleteFiles.

X-MFC-With: 309149

# 45bd65d6 25-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Add UPDATING entry and update ObsoleteFiles.inc.

# 02ebdc78 31-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r307736 through r308146.


# 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

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

Do not install NIS program rc script if WITHOUT_NIS is set

PR: 213375
Submitted by: sergey@akhmatov.ru
MFC after: 3 days

# 5763f796 21-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r307383 through r307735.


# 547d4caa 21-Oct-2016 Enji Cooper <ngie@FreeBSD.org>

Remove /usr/libexec/bsdinstall/hardening if MK_BSDINSTALL == no

MFC after: 3 days
Sponsored by: Dell EMC Isilon

# 94ff3d03 20-Oct-2016 Ed Maste <emaste@FreeBSD.org>

Add knobs to make GNU diff and GNU grep optional

This is added to facilitate experiments building FreeBSD without
copyleft software.

If WITHOUT_GNU_DIFF is set no /usr/bin/diff or /usr/bin/diff3 will
be built.

If WITHOUT_GNU_GREP is set then BSD grep will be installed as
/usr/bin/bsdgrep or /usr/bin/grep, depending on the WITH_BSD_GREP
knob.

Reviewed by: brooks (earlier)
Sponsored by: The FreeBSD Foundation
Differential Revision: Differential Revision: https://reviews.freebsd.org/D8288

# 7453645f 17-Oct-2016 Andriy Voskoboinyk <avos@FreeBSD.org>

rtwn(4), urtwn(4): merge common code, add support for 11ac devices.

All devices:
- add support for rate adaptation via ieee80211_amrr(9);
- use short preamble for transmitted frames when needed;
- multi-bss support:
* for RTL8821AU: 2 VAPs at the same time;
* other: 1 any VAP + 1 sta VAP.
RTL8188CE:
- fix IQ calibration bug (reason of significant speed degradation);
- add h/w crypto acceleration support.
USB:
- A-MPDU Tx support;
- short GI support;
Other:
- add support for RTL8812AU / RTL8821AU chipsets
(a/b/g/n only; no ac yet);
- split merged code into subparts:
* bus glue (usb/*, pci/*, rtl*/usb/*, rtl*/pci/*)
* common (if_rtwn*)
* chip-specific (rtl*/*)
- various other bugfixes.

Due to code reorganization, module names / requirements were changed too:
urtwn urtwnfw -> rtwn rtwn_usb rtwnfw
rtwn rtwnfw -> rtwn rtwn_pci rtwnfw

Tested with RTL8188CE, RTL8188CUS, RTL8188EU and RTL8821AU.

Tested by: kevlo, garga,
Peter Garshtja <peter.garshtja@ambient-md.com>,
Kevin McAleavey <kevin.mcaleavey@knosproject.com>,
Ilias-Dimitrios Vrachnis <id@vrachnis.com>,
<otacilio.neto@bsd.com.br>
Relnotes: yes

# a0e610c4 15-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r306906 through r307382.


# a0135a1e 14-Oct-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Remove GNU rcs from base.

GNU rcs is still available as a package:
- rcs: Latest GPLv3 GNU rcs version.
- rcs57: Copy of the latest version of GNU rcs (GPLv2) from base.

Relnotes: yes

# bba922dd 13-Oct-2016 Enji Cooper <ngie@FreeBSD.org>

Also, remove etc/rc.d/zfsbe when MK_ZFS == no

X-MFC with: r307182, r307191
Sponsored by: Dell EMC Isilon

# f884b59d 10-Oct-2016 Ed Maste <emaste@FreeBSD.org>

Remove old makewhatis(1) man page when using mandoc

mandoc installs makewhatis(8)

# 242b2482 09-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r306412 through r306905.


# 9ce3c6b0 03-Oct-2016 Ed Maste <emaste@FreeBSD.org>

Retire WITHOUT_ELFCOPY_AS_OBJCOPY option

In FreeBSD 11 ELF Tool Chain's elfcopy is installed as objcopy by
default, with the option to switch back to GNU objcopy by setting
WITHOUT_ELFCOPY_AS_OBJCOPY in make.conf.

We plan to remove the outdated in-tree binutils in FreeBSD 12, so
remove the temporary transition aid.

Reviewed by: brooks, imp
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D7337

# 335bcabe 28-Sep-2016 Ed Maste <emaste@FreeBSD.org>

Merge ^/head r306303 through 306411.


# 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

# dd792b9c 07-Sep-2016 Ed Maste <emaste@FreeBSD.org>

Add ld.lld to OptionalObsoleteFiles

# dd6675fd 02-Sep-2016 Dimitry Andric <dim@FreeBSD.org>

Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc.

# 09b9789b 19-Aug-2016 John Baldwin <jhb@FreeBSD.org>

Remove the wl(4) driver and wlconfig(8) utility.

The wl(4) driver supports pre-802.11 PCCard wireless adapters that
are slower than 802.11b. They do not work with any of the 802.11
framework and the driver hasn't been reported to actually work in a
long time.

Relnotes: yes

# 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

# bd4dcc3e 22-Jul-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Move chown tests to proper path

Sponsored by: EMC / Isilon Storage Division

# d39abb6f 03-Jul-2016 Enji Cooper <ngie@FreeBSD.org>

Remove ftp(1) related files when MK_FTP == no

Approved by: re (gjb)
Differential Revision: https://reviews.freebsd.org/D6969
MFC after: 1 week
Reviewed by: ngie
Submitted by: rakuco
Sponsored by: EMC / Isilon Storage Division

# 3cf6509d 03-Jul-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Posixify the locales name for variants

For all locales with variants:
- if no ambiguity on the locale (only one variant) just use the regular name
- if ambiguity, pick one as default and append @<variant> to the others
respecting POSIX

As a result:
- All the 3 components locales added recently are renamed to the usual 2
components version for all but sr_RS.UTF-8
- Set sr_RS.UTF-8 to the cyrillic variant
- Add sr_RS.UTF-8@latin
- Remove the symlinks aliases they were created to represent the 2 components
version as aliasas and are now useless
- Update the OptionalObsoleteFiles.inc and ObsoleteFiles.inc to reflect those
changes

Discussed with: ache@
Approved by: re@ (gjb)

# bc2abcfd 17-Jun-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Add clang-format under WITH_CLANG_EXTRAS.

Reviewed by: dim
Approved by: re (gjb)
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D6856

# 328e4174 08-Jun-2016 Dag-Erling Smørgrav <des@FreeBSD.org>

Replace _pam_verbose_error() with a macro. This was the last difference
between our libpam and stock OpenPAM, meaning that it is now possible to
replace the base libpam with a hypothetical ports version of OpenPAM.

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

Separate BLACKLIST vs BLACKLIST_SUPPORT properly

Sponsored by: The FreeBSD Foundation

# bccb3f5a 04-Jun-2016 Kurt Lidl <lidl@FreeBSD.org>

Correct path for blacklistd.conf in OptionalObsoleteFiles.inc

Fix typo made when adding the blacklistd.conf file to OptionalObsoleteFiles.inc

Submitted by: Herbert J. Skuhra ( herbert at mailbox.org )
Reviewed by: rpaulo
Approved by: rpaulo
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6715

# 0871a7d5 03-Jun-2016 Kurt Lidl <lidl@FreeBSD.org>

Add blacklistd.conf manpage

Install the blacklistd.conf man page, missed in the original commit.

Submitted by: Herbert J. Skuhra ( herbert at mailbox.org )
Reviewed by: rpaulo
Approved by: rpaulo
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6702

# 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

# d9082519 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove yacc and the yacc tests if MK_TOOLCHAIN == no

yacc's install is conditional based on MK_TOOLCHAIN != no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 5c46b734 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove the sa(8) tests if MK_ACCT == no when "make delete-old" is run

sa(8) is conditionally installed based on MK_ACCT != no today

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 36873e79 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove the etcupdate tests if MK_RCS == no when "make delete-old" is run

etcupdate is conditionally installed based on MK_RCS != no today

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# a058bc90 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove the calendar tests if MK_CALENDAR == no when "make delete-old"
is run

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 904bea83 14-May-2016 Enji Cooper <ngie@FreeBSD.org>

Conditionalize installing etc/rc.d/atm{1,2,3}

`BEFORE: netif` was already in etc/rc.d/atm1, so no additional changes
are needed in that script

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

# fbee792a 14-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove etc/rc.d/{zfs,zvol} if MK_ZFS != no

MFC after: 2 weeks
X-MFC with: r299840
Sponsored by: EMC / Isilon Storage Division

# 9941801f 06-May-2016 Enji Cooper <ngie@FreeBSD.org>

Only install etc/rc.d/{rfcomm_pppd_server,sdpd} if MK_BLUETOOTH != no

These are bluetooth specific services

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 9c613777 06-May-2016 Enji Cooper <ngie@FreeBSD.org>

Fix r299162

share/man/man8/Makefile:
- Add src.opts.mk so MK_NIS can be tested
- Fix typo in MK_NIS conditional

tools/build/mk/OptionalObsoleteFiles.inc:
- Remove WIP diff from ^/user/ngie/detangle-rc

MFC after: 1 week
X-MFC with: r299162
Sponsored by: EMC / Isilon Storage Division

# 18128d28 06-May-2016 Enji Cooper <ngie@FreeBSD.org>

Only install NIS section 8 manpages if MK_NIS != no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 2353cc3d 16-Apr-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Complete the Obsoletefiles entries

# 110cf8a6 16-Apr-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Regenerates locales Makefiles and locales

# 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

# 9893f787 21-Feb-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r295601 through r295844.


# 156e1855 19-Feb-2016 Ed Maste <emaste@FreeBSD.org>

Remove objcopy in WITHOUT_TOOLCHAIN if it's from elftoolchain

# 4156ce4f 11-Feb-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r295351 through r295543.


# 8232a681 11-Feb-2016 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove unbound-contrl-setup since we use a local control socket which
does not require keys.

MFC after: 3 days
Relnotes: yes

# b229c1a0 08-Jan-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r293280 through r293429.


# f5b4d341 07-Jan-2016 Renato Botelho <garga@FreeBSD.org>

Obsolete inetd related files when WITHOUT_INETD is set

Reviewed by: bapt
Approved by: gnn
MFC after: 1 week
Sponsored by: Rubiconn Communications (Netgate)
Differential Revision: https://reviews.freebsd.org/D4742

# f3304b8d 06-Jan-2016 Dimitry Andric <dim@FreeBSD.org>

Add new pkuintrin.h intrinsics header.

# 34cdd776 31-Dec-2015 Dimitry Andric <dim@FreeBSD.org>

First part of updating llvm/clang build glue: getting llvm-tblgen,
clang-tblgen and clang itself built.

# 802df53c 30-Dec-2015 Dimitry Andric <dim@FreeBSD.org>

Update various build glue files for the new llvm/clang version number.

# 9a4b3118 25-Dec-2015 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copies of clang and llvm to 3.7.1 release. This is a
bugfix-only release, with no new features.

Please note that from 3.5.0 onwards, clang and llvm require C++11
support to build; see UPDATING for more information.


# e7beaf99 23-Dec-2015 Ed Maste <emaste@FreeBSD.org>

Install ld also as ld.bfd, for use with cc -fuse-ld=bfd

PR: 205409 [exp-run]
MFC after: 1 week
Relnotes: Yes
Sponsored by: The FreeBSD Foundation

# a2acf602 16-Dec-2015 Ed Maste <emaste@FreeBSD.org>

Remove lldb(1) files if WITHOUT_LLDB is set

Sponsored by: The FreeBSD Foundation

# a9dfc956 01-Dec-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Fully connect cddl/usr.sbin/plockstat.

There seems to be no reason to keep this so private.

Also add missing optional MK_CDDL files.

Sponsored by: EMC / Isilon Storage Division

# 85ab8f98 29-Nov-2015 Dimitry Andric <dim@FreeBSD.org>

Install the public sanitizer headers. These are useful for programs
that want to directly interface with sanitizer internals.

# 1d211085 15-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Bring back a couple of ISO8859-15 locales:
- af_ZA.ISO8859-15
- en_AU.ISO8859-15
- en_CA.ISO8859-15
- en_NZ.ISO8859-15
- en_US.ISO8859-15
- fr_CA.ISO8859-15

# 0dc64c20 15-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Remove trailing spaces at end of lines

# 99b47c3c 15-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Update the list of files to be removed in case world is built WITHOUT_LOCALES

# 44642b54 10-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

- Move ng_bluetooth.4 under MK_BLUETOOTH != no
- Move all section 5 bluetooth manpages under MK_BLUETOOTH != no

MFC after: 3 days
PR: 193260
Reported by: Philippe Michel <philippe.michel7@sfr.fr>
Sponsored by: EMC / Isilon Storage Division

# 07fa68d6 07-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Catchup with latest changes for ObsoleteFiles in case base is built using
WITHOUT_LOCALE knob

# 3e4f384e 07-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from head r290483


# 2a923f8f 01-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

Rename etc/periodic/daily/430.status-rwho to periodic/daily/430.status-uptime

The command was checking local/remote system uptime, so rename the script to
match its function and to avoid confusion

The controlling variable in /etc/periodic.conf has been renamed from
daily_status_rwho_enable to daily_status_uptime_enable.

MFC after: 3 days
Reported by: Peter Jeremy <peter@rulingia.com>
Relnotes: yes
Sponsored by: EMC / Isilon Storage Division

# 55972acf 01-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

Conditionally install (if_)?(otus|rsu).4, otusfw.4, rsufw.4, and urtwn.4 if
MK_USB != no

Add the manpages to OptionalObsoleteFiles.inc

As a side-effect, this also fixes installworld with MK_USB == no

X-MFC with: r290128
Sponsored by: EMC / Isilon Storage Division

# 3c3feed4 01-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from head


# 567be5c2 24-Oct-2015 Enji Cooper <ngie@FreeBSD.org>

Add libvmmapi to OptionalObsoleteFiles.inc when MK_BHYVE == no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# 74c52c65 20-Oct-2015 Julio Merino <jmmv@FreeBSD.org>

Handle lib32 files during delete-old* when MK_LIB32=no.

Extend OptionalObsoleteFiles.inc to delete all lib32 files when MK_LIB32 is
set to no on a system that previously had lib32 libraries installed.

Also, to prevent "make delete-old-dirs" from always deleting lib32 directories
after an installworld, move the lib32 subtree to its own mtree file that only
gets applied when MK_LIB32=yes.

Test: Ran "make delete-old" and "make delete-old-libs" on a system that never
had MK_LIB32 enabled, and on a system where MK_LIB32 was enabled and later
disabled. Did this both on amd64 and powerpc64.

Test: Ran "make tinderbox" without errors.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D3923

# becbad1f 13-Oct-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from head


# 65dcb5bc 01-Oct-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r288197 through r288456.


# 9875367b 27-Sep-2015 Andriy Gapon <avg@FreeBSD.org>

remove unused sgsmsg utility (originally imported from opensolaris)

MFC after: 25 days

# 1e066951 25-Sep-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Add missing binutils ldscripts.

Some of these are after the fix in r288230 to install them.

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

# 26e065d0 22-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r288035 through r288099.


# f7d9215f 20-Sep-2015 Enji Cooper <ngie@FreeBSD.org>

Delete /etc/autofs/special_noauto when MK_AUTOFS == no

MFC after: 1 week

# b1fa820d 20-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Don't install Intrin.h, as this is an intrinsics header for Windows.

# 854fa44b 16-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Update libc++ to 3.7.0 release.


# b6c25e0e 06-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Update llvm, clang and lldb to 3.7.0 release.


# 23a32822 25-Aug-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from HEAD


# 6fdf637e 17-Aug-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r286697 through r286857.


# 55f80482 13-Aug-2015 Antoine Brodin <antoine@FreeBSD.org>

Stop removing ELF toolchain tools

# 1bc28ffc 13-Aug-2015 Ed Maste <emaste@FreeBSD.org>

Roll WITHOUT_ELFTOOLCHAIN_TOOLS into WITHOUT_TOOLCHAIN

The option was added only to ease the transition from GNU Binutils to
ELF Tool Chain tools, and that process is now complete (for the viable
replacements). Noting the removal in UPDATING is sufficient as we have
not shipped a release with the option.

Reviewed by: brooks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3240

# f98ee844 12-Aug-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r286422 through r286684.


# 53d2ddb3 11-Aug-2015 Julio Merino <jmmv@FreeBSD.org>

Mark usr/include/c++/v1/tr1 as obsolete

The directory usr/include/c++/v1 was marked as obsolete but its tr1 subdir
was not, resulting in a removal error in delete-old.

# e2ff105a 09-Aug-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Update Obsolete files in case MK_LOCALE=no

# b8a1f275 08-Aug-2015 Renato Botelho <garga@FreeBSD.org>

Add missing files to sendmail obsolete files list

Approved by: gshapiro
MFC after: 3 days
Sponsored by: Netgate
Differential Revision: https://reviews.freebsd.org/D3302

# 1347814c 07-Aug-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r285924 through r286421.


# f97aa232 05-Aug-2015 Ed Maste <emaste@FreeBSD.org>

Remove old GNU Binutils tools now provided by ELF Tool Chain

Reviewed by: bapt, brooks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3238

# b43cca13 29-Jul-2015 Ed Maste <emaste@FreeBSD.org>

MK_ELFCOPY_AS_OBJCOPY should be a variable

PR: 201978
Submitted by: O. Hartmann
Differential Revision: https://reviews.freebsd.org/D2887

# 5ea9e83e 29-Jul-2015 Ed Maste <emaste@FreeBSD.org>

Allow ELF Tool Chain elfcopy to be installed as objcopy

ELF Tool Chain elfcopy is nearly a drop-in replacement for GNU objcopy,
but does not currently support PE output which is needed for building
x86 UEFI bits.

Add a src.conf knob to allow installing it as objcopy and set it by
default for aarch64 only, where we don't have a native binutils.

Reviewed by: bapt
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2887

# 2d83b16b 29-Jul-2015 Ed Maste <emaste@FreeBSD.org>

Update OLD_FILES for tools provided by ELF Tool Chain or Binutils

Sponsored by: The FreeBSD Foundation

# 5f78ec1c 27-Jul-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r285793 through r285923.


# c048a83f 26-Jul-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Replace GNU RCS ident with a BSD license ident

Rationale: ident(1) is useful out of RCS, lot of scripts are using ident(1) and
failing when base is built WITHOUT_RCS.

This version is:
- fully compatible with RCS 5.7 ident.
- fully compatible with RCS 5.9 ident.
- passes all ident test from GNU RCS 5.9 test suite

This version has support for: svn extension for the Keyword id (double colon and
# before last $)

Différences with GNU RCS ident:
- no long options as found in GNU RCS 5.9 (but not commented there).
- '-V' reports nothing but has been added for compatibility.

Differential Revision: https://reviews.freebsd.org/D3200
Reviewed by: pfg

# 8d0f1085 22-Jul-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r285341 through r285792.


# 96a59ba2 15-Jul-2015 Andrey A. Chernov <ache@FreeBSD.org>

Comment out usr/sbin/mailwrapper removal
because for no mailwrapper case we have:
/usr/sbin/sendmail -> /usr/sbin/mailwrapper
/usr/sbin/mailwrapper -> /usr/libexec/sendmail/sendmail
Add comment explaining it.

# 3dac3a9b 05-Jul-2015 Dimitry Andric <dim@FreeBSD.org>

Update llvm/clang to r241361.


# cc38b640 23-Jun-2015 Dimitry Andric <dim@FreeBSD.org>

Update llvm/clang build glue.

# 76aeda8a 20-Jun-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r284188 through r284643.


# 62a996ed 20-Jun-2015 Antoine Brodin <antoine@FreeBSD.org>

Add more obsolete files

# 78fa96c2 20-Jun-2015 Antoine Brodin <antoine@FreeBSD.org>

Add some files to remove when MK_BSD_GREP=no

# e2dd1974 17-Jun-2015 Baptiste Daroussin <bapt@FreeBSD.org>

The build and installation of rmail(8) is only related to the SENDMAIL option

# 15953005 17-Jun-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Do not remove mailwrapper(8) in case WITHOUT_SENDMAIL is used

It is required for other tools in base and/or ports like dma(8) or any MTA
available in ports. It is also build and installed anyway even if world is built
WITHOUT_SENDMAIL

# 6b02d180 30-May-2015 Dimitry Andric <dim@FreeBSD.org>

Restore an accidentally deleted .endif.

# ebeff3f9 30-May-2015 Dimitry Andric <dim@FreeBSD.org>

Update Makefiles and other build glue for llvm/clang 3.7.0, as of trunk
r238337.

# ef6fa9e2 25-May-2015 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of clang and llvm to 3.6.1 release.

This release contains the following cherry-picked revisions from
upstream trunk:

226124 226151 226164 226165 226166 226407 226408 226409 226652
226905 226983 227084 227087 227089 227208 227209 227210 227211
227212 227213 227214 227269 227430 227482 227503 227519 227574
227822 227986 227987 227988 227989 227990 228037 228038 228039
228040 228188 228189 228190 228273 228372 228373 228374 228403
228765 228848 228918 229223 229225 229226 229227 229228 229230
229234 229235 229236 229238 229239 229413 229507 229680 229750
229751 229752 229911 230146 230147 230235 230253 230255 230469
230500 230564 230603 230657 230742 230748 230956 231219 231237
231245 231259 231280 231451 231563 231601 231658 231659 231662
231984 231986 232046 232085 232142 232176 232179 232189 232382
232386 232389 232425 232438 232443 232675 232786 232797 232943
232957 233075 233080 233351 233353 233409 233410 233508 233584
233819 233904 234629 234636 234891 234975 234977 235524 235641
235662 235931 236099 236306 236307

Please note that from 3.5.0 onwards, clang and llvm require C++11
support to build; see UPDATING for more information.


# 9c36af58 21-May-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Mark libgomp.so.1 as an old lib not an old file

# 800eeabd 20-May-2015 Enji Cooper <ngie@FreeBSD.org>

Remove usr/share/dtrace/{tcpconn,tcpstate,tcptrack,udptrack} if MK_CDDL == no

Sponsored by: EMC / Isilon Storage Division

# d485dbc7 18-May-2015 Ed Maste <emaste@FreeBSD.org>

Build libgcov only if we're building base system GCC

Clang uses compiler-rt for the code coverage runtime, and ports GCC
provides its own libgcov.

PR: 200203 (exp-run)
Sponsored by: The FreeBSD Foundation

# 810d5b34 15-May-2015 Ed Maste <emaste@FreeBSD.org>

Build libgomp only if we're also building base system GCC

Clang's OpenMP support will emit Intel OpenMP API library calls,
and will therefore require libiomp (or whatever name is settled on).
An up-to-date version of libgomp is included in ports or pkg GCC.
Thus, there is no reason to build base libgomp without base system GCC.

PR: 199979 (exp-run)
Reviewed by: pfg
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2459

# 56af72b1 06-May-2015 Ed Maste <emaste@FreeBSD.org>

Fix make delete-old for gperf and GCC/CXX options

- Optional components go in OptionalObsoleteFiles
- Move gperf removal to be based on MK_GCC only, not MK_CXX and MK_GCC

Reviewed by: imp, sbruno
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2421

# 363da138 01-May-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Replace groff's soelim by soeliminate(1) renamed soelim(1)

# 45cf4a7c 01-May-2015 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: don't remove c++filt when using ELF Tool Chain

c++filt is listed here twice, for MK_CXX == no and MK_GCC == no, but
r282285 only caught one of them.

# 0a06cffc 30-Apr-2015 Ed Maste <emaste@FreeBSD.org>

Add ELF Tool Chain's c++filt to the build

Differential Revision: https://reviews.freebsd.org/D2408
Reviewed by: brooks, imp
Sponsored by: The FreeBSD Foundation

# 1382ef3d 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_ZONEINFO == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 587291d9 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TESTS_SUPPORT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# a6d0a667 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_LEGACY_CONSOLE == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# d6c95721 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_KERBEROS_SUPPORT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# eb6edb77 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_KDUMP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 659854cd 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_JAIL == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 992cc53e 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_CASPER == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 9c793fa8 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_INET6 == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 0c11ad65 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_FORTH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# ca65be80 04-Mar-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r279313 through r279595.


# ffb67907 02-Mar-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Remove gperf(7) if gperf is not installed

# 9ddafbe2 02-Mar-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Install manpage version of texinfo documentation for binutils

# 9b2a0d91 22-Feb-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r279023 through r279162.


# 9cb8ba56 22-Feb-2015 Colin Percival <cperciva@FreeBSD.org>

Step 2 of eliminating the "games" distribution: Remove punch card
utilities.

I was originally planning on removing the phase-of-moon (pom), clock
(grdc), and caesar cipher (caesar, rot13) utilities as well, but after
I committed r278616 I received an astonishing volume of email informing
me that those are still being widely used. Much to my relief, nobody
reported continuing to use the punch card utilities in production.

The final step will be to merge src/games into src/usr.bin.

This change will not be MFCed.

# 569e61a4 14-Feb-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r278499 through r278755.


# 11d9aa67 11-Feb-2015 Colin Percival <cperciva@FreeBSD.org>

Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;
update paths; and include everything in the "base" distribution.

The "games" distribution being optional made sense when there were more
games and we had small disks; but the "games-like" games were moved into
the ports tree a dozen years ago and the remaining "utility-like" games
occupy less than 0.001% of my laptop's small hard drive. Meanwhile every
new user is confronted by the question "do you want games installed" when
they they try to install FreeBSD.

The next steps will be:

2. Removing punch card (bcd, ppt), phase-of-moon (pom), clock (grdc), and
caesar cipher (caesar, rot13) utilities. I intend to keep fortune, factor,
morse, number, primes, and random, since there is evidence that those are
still being used.

3. Merging src/games into src/usr.bin.

This change will not be MFCed.

Reviewed by: jmg
Discussed at: EuroBSDCon
Approved by: gjb (release-affecting changes)

# a403ab7f 04-Feb-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r278110 through r278223.


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

Clean up more usb related files when MK_USB == no when dealing with
manpages, libraries, and binaries

MFC after: 1 week
X-MFC with: r278135
Sponsored by: EMC / Isilon Storage Division


# 04c5a27b 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_USB == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 1dc6769d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_UNBOUND == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# e5f6569b 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TEXTPROC == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# aee4d21d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TESTS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# fed7ef16 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TCSH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 3f13cb12 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_SYSCONS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 14e319f2 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_SSP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 1d706ec4 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_QUOTAS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 61c40359 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_PORTSNAP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 7a713cea 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_PMC == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 71795a01 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_PF == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 3f72f932 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_OPENSSH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 73ee00ce 02-Feb-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r278005 through r278109.


# 5bed16de 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NTP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# ed809ca8 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NS_CACHING == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 90539b6f 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NLS_CATALOGS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 422e74ae 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NLS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# e50d77e5 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NETGRAPH_SUPPORT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# fe8f6c3e 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NETGRAPH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# e5c3781d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAN_UTILS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# ddef0324 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAN == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 426d5303 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAKE == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 2f3a10e5 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAIL == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 1b41fa7d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_LOCALES == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 4f190535 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_LIBCPLUSPLUS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# d956da53 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_HTML == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 6031355d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_GROFF == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 28be4ba8 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_GPIO == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# cf8028f3 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_DMAGENT == no and move the chunk into its alphabetical place

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# ee4d0fce 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BSNMP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 70fffb2e 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BSD_CPIO == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 8af1079d 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BOOT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# f594efed 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BLUETOOTH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# c88fc3e4 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BINUTILS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600

# 8179004e 26-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r277719 through 277776.


# 6ce3ca64 26-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Update other build glue: ObsoleteFiles.inc, UPDATING, mtree files, and
OptionalObsoleteFiles.inc.

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

Respect MK_KERBEROS with etc/rc.d/ipropd_master and etc/rc.d/ipropd_slave

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

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

Honor MK_WIRELESS with etc/rc.d/hostapd and etc/rc.d/wpa_supplicant

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_JAIL with etc/rc.d/jail

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_BLUETOOTH with etc/defaults/bluetooth.device.conf

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_ACCT with etc/pam.d/atrun

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

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

Honor MK_ACCT with etc/rc.d/accounting

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

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

Honor MK_AMD with etc/rc.d/amd

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_API in etc/rc.d

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_LPR with etc/rc.d/lpd

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Honor MK_ACPI in etc/devd and etc/rc.d

MFC after: 1 week
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

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

Add MK_BHYVE knob for building and installing bhyve(4), et al

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

# 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

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

Build lib/libgpio if MK_GPIO != no

Fill in corresponding entries for MK_GPIO == no in OptionalObsoleteFiles.inc

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

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

Fill in entries for MK_BSNMP == no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Fill in some dtrace entries when MK_CDDL == no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

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

Fill in entries for MK_CUSE == no

MFC after: 1 week
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

# 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

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

Add MK_TALK knob for building the talk and talkd

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

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

Add MK_EE knob to control installing edit, ee, etc

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

# 9cac79b3 18-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of clang and llvm to 3.5.1 release. This is a bugfix
only release, no new features have been added.

Please note that this version requires C++11 support to build; see
UPDATING for more information.

Release notes for llvm and clang can be found here:
<http://llvm.org/releases/3.5.1/docs/ReleaseNotes.html>
<http://llvm.org/releases/3.5.1/tools/clang/docs/ReleaseNotes.html>

MFC after: 1 month
X-MFC-With: 276479


# 8028b78d 13-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Connect libclang_rt to the build, for specific architectures. This
contains the libraries for Address Sanitizer (asan), Undefined Behavior
Sanitizer (ubsan) and Profile Guided Optimization.

ASan is a fast memory error detector. It can detect the following types
of bugs:

Out-of-bounds accesses to heap, stack and globals
Use-after-free
Use-after-return (to some extent)
Double-free, invalid free
Memory leaks (experimental)

Typical slowdown introduced by AddressSanitizer is 2x.

UBSan is a fast and compatible undefined behavior checker. It enables a
number of undefined behavior checks that have small runtime cost and no
impact on address space layout or ABI.

PLEASE NOTE: the sanitizers still have some rough edges on FreeBSD,
particularly on i386. These will hopefully be smoothed out in the
coming time.

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

# c369979c 10-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Add the llvm-symbolizer tool, which enables the sanitizers to report
more complete debugging information. This tools is only enabled when
WITH_CLANG_EXTRAS is on.

Submitted by: Dan McGregor <danismostlikely@gmail.com>

# 2d281361 02-Jan-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Remove GNU texinfo from base along with all info pages.

To be able to info pages consider installing texinfo from ports print/texinfo or
via pkg: pkg install texinfo

Differential Revision: https://reviews.freebsd.org/D1409
Reviewed by: emaste, imp (previous version)
Relnotes: yes

# 8007ee2b 27-Dec-2014 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r274961 through r276301.


# c05bafc5 25-Dec-2014 Poul-Henning Kamp <phk@FreeBSD.org>

Deorbit the IEEE-488/GPIB support.

# e65720e1 18-Dec-2014 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r275759 through r275911.


# f703589e 18-Dec-2014 Enji Cooper <ngie@FreeBSD.org>

Fix building/installing tests when TESTSBASE != /usr/tests

The work in r258233 hardcoded the assumption that tests was the last component
of the tests tree by pushing tests as an explicit prefix for the paths in
BSD.tests.dist and /usr was the prefix for all tests, per BSD.usr.dist and all
of the mtree calls used in Makefile.inc1. This assumption breaks if/when one
provides a custom TESTSBASE "prefix", e.g. TESTSBASE=/mytests .

One thing that r258233 did properly though was remove "/usr/tests" creation
from BSD.usr.dist -- that should have not been there in the first place. That
was an "oops" on my part for the work that was originally committed in r241823

MFC after: 2 weeks
Phabric: D1301
Reviewed by: imp
Sponsored by: EMC / Isilon Storage Division

# 24ce0a02 04-Dec-2014 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r275387 through r275477.


# 18e8f946 01-Dec-2014 Ed Maste <emaste@FreeBSD.org>

Add elfcopy and man page to OptionalObsoleteFiles

# f5ce9d6b 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Installing zzz(8) doesn't make sense when both ACPI and APM are disabled

# 0341ccf2 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Clean up more usb related files when MK_USB == no when dealing with
manpages, libraries, and binaries

# ece34a4f 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Fix use of OLD_FILES and OLD_LIBS for MK_BSNMP and MK_TESTS

Convention in the file is that .a files be added to OLD_FILES and versioned .so's
be added to OLD_LIBS

# a3f5edf0 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Add MK_TIMED option for optionally building usr.sbin/timed, et al

# 046cc7b9 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Account for /usr/include/protocols/r{outed,whod}.h with their respective build knobs

# 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

# fb624adc 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

MK_HYPERV:
Sort OLD_FILES and add /usr/libexec/hyperv to OLD_DIRS

# 961281fa 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install the rsh and telnetd pam.d files if MK_RCMDS == no
or MK_TELNET == no, respectively

# 4bbfcad5 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Only install the accounting/apm rc scripts for MK_ACCT/MK_APM if the relevant
knobs are set

# bdf492a3 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Missed the bsnmp config file

# 88585cd4 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Add more MK_BSNMP == no entries for things not caught due to custom
settings in $SRCCONF

# 6d94729e 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Fill in entries for MK_BSNMP == no

# 4be1ca35 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Make building/installing bhyve optional via MK_BHYVE on amd64

Disable building/installing bhyve from src.opts.mk on unsupported
architectures (!amd64)

# 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

# d393fb09 24-Nov-2014 Dimitry Andric <dim@FreeBSD.org>

Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc for the import of
llvm/clang 3.5.0.

# b8d52ac3 23-Nov-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Install mdoc(7) and man(7) from mdoc instead of the one from groff

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

# fa809347 03-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Integrate pjdfstest test suite execution into kyua

pjdfstest execution is opt-in and must be done as root due to some of the
assumptions made by the test suite and lack of error checking in the non-root
case

A description of how to execute pjdfstest with kyua is provided in
share/pjdfstest/README

Phabric: D824 (an earlier prototype patch)
MFC after: 1 month
Relnotes: yes
Sponsored by: EMC / Isilon Storage Division

# 0677dfd1 01-Nov-2014 Julio Merino <jmmv@FreeBSD.org>

MFV: Import atf-0.21.


# 1545452c 27-Oct-2014 Xin LI <delphij@FreeBSD.org>

Remove an extra copy of hv_kvp_daemon(8) [1].

While I'm there also correct typos in OptionalObsoleteFiles and add
information of the command line options for hv_kvp_daemon(8).

Reported by: jmg [1]
Reviewed by: jmg
MFC after: 2 weeks

# ddd96d23 09-Oct-2014 Ed Maste <emaste@FreeBSD.org>

Build gperf only if we're using g++ (not clang++)

gperf is used as a build tool for g++ and is not needed for Clang
architectures. Ports and third-party software that need it can use the
up-to-date devel/gperf port.

PR: 194103 (exp-run)
Reviewed by: bapt
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D886

# d8eaf8b5 23-Sep-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install /etc/rc.d/keyserv unless MK_OPENSSL == yes

Sponsored by: EMC / Isilon Storage Division

# f4d6293c 20-Sep-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install /etc/rc.d/ftp-proxy unless MK_PF == yes

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

# 79c38c9b 20-Sep-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install /etc/rc.d/rwho unless MK_RCMDS == yes

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

# 76cd7220 16-Sep-2014 Xin LI <delphij@FreeBSD.org>

Use a devd event to start hv_kvpd instead of doing so in rc.d script.
This is cleaner and eliminates the unneeded startup of KVP daemon on
systems that do not run as a Hyper-V guest.

Submitted by: hrs
X-MFC-with: 271493, 271688, 271699

# e72055b7 12-Sep-2014 Xin LI <delphij@FreeBSD.org>

Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft,
many thanks for their continued support of FreeBSD.

While I'm there, also implement a new build knob, WITHOUT_HYPERV to
disable building and installing of the HyperV utilities when necessary.

The HyperV utilities are only built for i386 and amd64 targets.

This is a stable/10 candidate for inclusion with 10.1-RELEASE.

Submitted by: Wei Hu <weh microsoft com>
MFC after: 1 week

# 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

# aecd25ee 15-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Make the USB and ZFS devd configuration files optional depending on the
values of MK_USB/MK_ZFS

Making zfs.conf optional resolves PR # 186971

PR: 186971
Phabric: D606
Approved by: jmmv (mentor)
Sponsored by: EMC / Isilon Storage Division

# 9f312407 12-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Port date/bin/tests to ATF

Phabric: D545
Approved by: jmmv (mentor)
Submitted by: keramida (earlier version)
MFC after: 2 weeks
Sponsored by: Google, Inc
Sponsored by: EMC / Isilon Storage Division

# 12e2df3c 12-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Convert bin/sh/tests to ATF

The new code uses a "test discovery mechanism" to determine
what tests are available for execution

The test shell can be specified via:

kyua test -v test_suites.FreeBSD.bin.sh.test_shell=/path/to/test/sh

Sponsored by: EMC / Isilon Storage Division
Approved by: jmmv (mentor)
Reviewed by: jilles (maintainer)

# 6add3145 12-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Complete the usr.bin/yacc kyua integration work I originally
submitted via r268811

- Install the Kyuafile by adding FILES to FILESGROUPS
- Run the testcases with an unprivileged user

Some of the testcases depend upon behavior that's broken when
run as root on FreeBSD because of how permissions are treated
with access(2) vs eaccess(2), open(2), etc

- Simplify the test driver to just inspect the exit code from
run_test because it now exits with 0 if successful and exits
with !0 if unsuccessful
- Don't do ad hoc temporary directory creation/deletion; let Kyua
handle that
- Add entries for files removed in r268811 to
OptionalObsoleteFiles.inc

PR: 191020
X-MFC with: r268811
Approved by: jmmv (mentor)
Reviewed by: bapt
Sponsored by: EMC / Isilon Storage Division

# e40b4bf8 24-Jul-2014 Julio Merino <jmmv@FreeBSD.org>

Fix structure of new tests (r268794) for usr.bin/units.

- Make sure the tests go into the right directory. The location was
wrong so they were overwriting the bin/chown tests!
- Use the right naming scheme for the test program.
- Remove the svn:executable property from the shell script.

# 7bff12fe 17-Jul-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Fix manpages path and sort entries

# 024f0575 17-Jul-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Remove texinfo manpages as well if built WITHOUT_INFO

# 8a833bda 09-Jul-2014 Baptiste Daroussin <bapt@FreeBSD.org>

The GNU readline library is now an INTERNALLIB - that is, it is
statically linked into consumers (GDB and variants) in the base
system, and the shared library is no longer installed.

That also allows ports to be able to use a modern version of readline

PR: 162948
Reviewed by: emaste

# 725d0727 08-Jul-2014 Jilles Tjoelker <jilles@FreeBSD.org>

Don't install locale1.0 if MK_NLS == no.

The test locale1.0 depends on locale support; it is meaningless without a
working LC_MESSAGES.

I added an OptionalObsoleteFiles.inc entry.

PR: 181151
Submitted by: Garrett Cooper (original version)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

# e7d939bd 06-Jul-2014 Marcel Moolenaar <marcel@FreeBSD.org>

Remove ia64.

This includes:
o All directories named *ia64*
o All files named *ia64*
o All ia64-specific code guarded by __ia64__
o All ia64-specific makefile logic
o Mention of ia64 in comments and documentation

This excludes:
o Everything under contrib/
o Everything under crypto/
o sys/xen/interface
o sys/sys/elf_common.h

Discussed at: BSDcan

# 9f932ecd 01-Jul-2014 Eitan Adler <eadler@FreeBSD.org>

Add documentation for svnlite.

PR: 191544
Reported by: eric
Reviewed by: imp
MFC After: 1 week

# b8a63d6d 30-Jun-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Activate the condition for WITHOUT_INFO

Submitted by: antoine

# 079f0a6a 30-Jun-2014 Baptiste Daroussin <bapt@FreeBSD.org>

fill in the list of obsolete files when base is built with WITHOUT_INFO

# dd987372 13-Jun-2014 Tijl Coosemans <tijl@FreeBSD.org>

Don't install GSS-API headers when the GSSAPI option has been disabled.
Some ports assume GSS-API is supported when they find the headers.

PR: 189156
Submitted by: Garrett Cooper <yanegomi@gmail.com>

# 8c7ec47a 06-Jun-2014 Julio Merino <jmmv@FreeBSD.org>

Move atf-sh from /usr/bin/ to /usr/libexec/

In r266650, we made libatf-c and libatf-c++ private libraries so that no
components outside of the source tree could unintendedly depend on them.

This change does the same for the "atf-sh library" by moving the atf-sh
interpreter from its public location in /usr/bin/ to the private location
in /usr/libexec/. Our build system will ensure that our own test programs
use the right binary, but users won't be able to depend on atf-sh by
"mistake".

Committing this now to ride the UPDATING notice added with r267172 today.

# 727a7ce8 06-Jun-2014 Julio Merino <jmmv@FreeBSD.org>

Homogenize libatf-* version numbers with upstream.

The libatf-* major version numbers in FreeBSD were one version ahead of
upstream because, when atf was first imported into FreeBSD, the upstream
numbers were not respected. This is just confusing and bound to cause
problems down the road.

Fix this by taking advantage of the fact that libatf-* are now private
and that atf is not yet built by default. However, and unfortunately, a
clean build is needed for tests to continue working once "make
delete-old-libs" has been run; hence the note in UPDATING.

# 17a286a9 24-May-2014 Julio Merino <jmmv@FreeBSD.org>

Change libatf-c and libatf-c++ to be private libraries.

We should not be leaking these interfaces to the outside world given
that it's much easier for third-party components to use the devel/atf
package from ports.

As a side-effect, we can also drop the ATF pkgconfig and aclocal files
from the base system. Nothing in the base system needs these, and it
was quite ugly to have to get them installed only so that a few ports
could build. The offending ports have been fixed to depend on
devel/atf explicitly.

Reviewed by: bapt

# 3e9e1651 12-May-2014 Julio Merino <jmmv@FreeBSD.org>

Fix delete-old when WITH_TESTS is set.

r265423 removed the WITHOUT_BMAKE option, which in turn broke a conditional
in OptionalObsoleteFiles.inc that inspected MK_BMAKE.

# 85d60e68 12-May-2014 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to 3.4.1 release. This release contains
mostly fixes, for the following upstream bugs:

http://llvm.org/PR16365 http://llvm.org/PR17473 http://llvm.org/PR18000
http://llvm.org/PR18068 http://llvm.org/PR18102 http://llvm.org/PR18165
http://llvm.org/PR18260 http://llvm.org/PR18290 http://llvm.org/PR18316
http://llvm.org/PR18460 http://llvm.org/PR18473 http://llvm.org/PR18515
http://llvm.org/PR18526 http://llvm.org/PR18600 http://llvm.org/PR18762
http://llvm.org/PR18773 http://llvm.org/PR18860 http://llvm.org/PR18994
http://llvm.org/PR19007 http://llvm.org/PR19010 http://llvm.org/PR19033
http://llvm.org/PR19059 http://llvm.org/PR19144 http://llvm.org/PR19326

MFC after: 2 weeks


# d525bcd9 18-Mar-2014 Julio Merino <jmmv@FreeBSD.org>

Migrate tools/regression/usr.bin/make/ to the new tests layout.

Note that these tests are for fmake, not bmake, and thus they are not
installed nor run when bmake is selected (the default). Yes, I have
wasted a *ton* of time on moving tests for no real reason other than
ensuring they are not left behind.

But maybe, just maybe, it was not work in vain: the majority of these
tests also work with bmake and the few that don't may point at broken
stuff. For example, the tests for the "archive" feature do not work
with bmake, but bmake's manpage and source tree seem to imply that they
should. So... to be investigated later; need to poke sjg@.

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

# 2c4c3f67 10-Mar-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Add a mailer.conf example to use dma

# 6a54f620 22-Feb-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Rename WITHOUT_DMA into WITHOUT_DMAGENT to avoid confusion

Requested by: ian

# a9e8641d 21-Feb-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Import Dragonfly Mail Agent into base system

It is a small and lightweight Mail Transport Agent.
It accepts mails from locally installed Mail User Agents (MUA) and delivers the
mails either locally or to a remote destination. Remote delivery includes
several features like TLS/SSL support, SMTP authentication and NULLCLIENT.

Make dma conditional to new WITHOUT_DMA option and make it respect WITHOUT_MAIL

Reviewed by: peter
Discussed with: emaste, bz, peter


# f785676f 16-Feb-2014 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to 3.4 release. This version supports
all of the features in the current working draft of the upcoming C++
standard, provisionally named C++1y.

The code generator's performance is greatly increased, and the loop
auto-vectorizer is now enabled at -Os and -O2 in addition to -O3. The
PowerPC backend has made several major improvements to code generation
quality and compile time, and the X86, SPARC, ARM32, Aarch64 and SystemZ
backends have all seen major feature work.

Release notes for llvm and clang can be found here:
<http://llvm.org/releases/3.4/docs/ReleaseNotes.html>
<http://llvm.org/releases/3.4/tools/clang/docs/ReleaseNotes.html>

MFC after: 1 month


# 1a61beb0 14-Feb-2014 Julio Merino <jmmv@FreeBSD.org>

MFV: Import atf-0.20.


# b76e24a3 05-Feb-2014 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove WITHOUT_NIS

PR: 186412

# 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

# 4f7ab58e 30-Jan-2014 Dimitry Andric <dim@FreeBSD.org>

Import libc++ 3.4 release. This contains a lot of bugfixes, and some
preliminary support for C++1y.

MFC after: 3 weeks


# 762c167e 10-Jan-2014 Julio Merino <jmmv@FreeBSD.org>

Respect the original layout of the atf-{c,c++} tests.

Put test programs for internal modules into a 'detail' subdirectory of the
libatf-c and libatf-c++ test directories, just as the upstream distribution
does. This is necessary because the tests assume such layout to find the
process_helper program, and currently fail because of this divergence.

MFC after: 1 week

# a9e4b734 21-Dec-2013 Glen Barber <gjb@FreeBSD.org>

Honor WITHOUT_CASPER.

Sponsored by: The FreeBSD Foundation

# a18eacbe 17-Nov-2013 Julio Merino <jmmv@FreeBSD.org>

MFV: Import atf-0.18.

Approved by: rpaulo (mentor)


# 0fa8a6f0 11-Nov-2013 Glen Barber <gjb@FreeBSD.org>

Silence more 'make {check,delete-old{,libs}}' output if $DESTDIR/usr/tests
does not exist.

Sponsored by: The FreeBSD Foundation

# 6785aaf2 10-Nov-2013 Glen Barber <gjb@FreeBSD.org>

Silence bmake(1) errors if TEST_DIRS evaluation is empty.

# 14de84e7 08-Nov-2013 Julio Merino <jmmv@FreeBSD.org>

Handle the removal of the test suite when WITHOUT_TESTS=yes.

Add all files from /usr/tests to the obsoleted files list when the
build of the tests is disabled via the WITHOUT_TESTS knob. Do this
automatically so that we do not have to suffer the pain of maintaining
such list by hand.

Reviewed by: freebsd-testing
Approved by: rpaulo (mentor)

# e01d128a 08-Nov-2013 Julio Merino <jmmv@FreeBSD.org>

Subsume the functionality of MK_ATF into MK_TESTS.

There is no reason to keep the two knobs separate: if tests are
enabled, the ATF libraries are required; and if tests are disabled,
the ATF libraries are not necessary. Keeping the two just serves
to complicate the build.

Reviewed by: freebsd-testing
Approved by: rpaulo (mentor)

# 912ce912 03-Nov-2013 Peter Wemm <peter@FreeBSD.org>

Remove the WITH_LIBICONV_COMPAT hack that seems to do more harm than
good. This caused libc to spoof the ports libiconv namespace and
provide a colliding libiconv.so.3 to fool rtld. This should have
been removed some time ago.

# 23c80c69 03-Nov-2013 Ed Schouten <ed@FreeBSD.org>

Remove utxrm(8). This command has been superseded by 'utx rm'.

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

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

# 0edda453 30-Oct-2013 Bryan Drewery <bdrewery@FreeBSD.org>

Add forgotten pkg.7

Approved by: bapt
MFC after: 2 days
X-MFC-with: r257378

# 2b142c0f 17-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Add lot of missed files and dirs

# 7306b853 17-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Remove atf headers which never existed

Reviewed by: marcel

# 41b65e69 17-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Cleanup clang section

# 7855835b 16-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

wlconfig exists only on i386

# 5329f4d3 16-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Remove files which are in ObsoleteFiles.inc

# fca60728 16-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Remove duplicates in ipfilter and kerberos sections

# ec0e2ac6 12-Oct-2013 Rui Paulo <rpaulo@FreeBSD.org>

Remove most of the ATF tools and the _atf user.

This is necessary because ATF is deprecated and it will be replaced by Kyua.

Submitted by: jmmv@netbsd.org
Reviewed by: Garrett Cooper
Approved by: re

# c9fc60be 09-Oct-2013 Glen Barber <gjb@FreeBSD.org>

Revert r256095, r256120 (partial), r256121:

r256095:
- Add gnu/usr.bin/rcs back to the base system.

r256120:
- Add WITHOUT_RCS back to src.conf.5.

r256121:
- Remove UPDATING entry regarding gnu/usr.bin/rcs removal.

Requested by: many
Approved by: re (marius)
Discussed with: core

# 258c9eb9 06-Oct-2013 Eitan Adler <eadler@FreeBSD.org>

Good bye RCS. You will be missed.

(devel/rcs and devel/rcs57 are available as alternatives)

Approved by: core
Approved by: re (hrs)

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

Remove BIND.

Approved by: re (gjb)

# 278bc67b 29-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Yet more BIND files that weren't listed in OptionalObsoleteFiles.

Approved by: re (blanket)

# 4a09ed30 27-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove duplicate entry for the host(1) man page.

Approved by: re (blanket)

# b4af3bcb 25-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Additional BIND files.

Submitted by: bdrewery
Approved by: re (blanket)

# 49cede74 22-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Add a setup script for unbound(8) called local-unbound-setup. It
generates a configuration suitable for running unbound as a caching
forwarding resolver, and configures resolvconf(8) to update unbound's
list of forwarders in addition to /etc/resolv.conf. The initial list
is taken from the existing resolv.conf, which is rewritten to point to
localhost. Alternatively, a list of forwarders can be provided on the
command line.

To assist this script, add an rc.subr command called "enabled" which
does nothing except return 0 if the service is enabled and 1 if it is
not, without going through the usual checks. We should consider doing
the same for "status", which is currently pointless.

Add an rc script for unbound, called local_unbound. If there is no
configuration file, the rc script runs local-unbound-setup to generate
one.

Note that these scripts place the unbound configuration files in
/var/unbound rather than /etc/unbound. This is necessary so that
unbound can reload its configuration while chrooted. We should
probably provide symlinks in /etc.

Approved by: re (blanket)

# 7b07722f 22-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove drill(1) if MK_LDNS_UTILS is false.
Remove host(1) if both MK_BIND and MK_LDNS_UTILS are false.

Approved by: re (blanket)

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

Build and install the Unbound caching DNS resolver daemon.

Approved by: re (blanket)

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

Complete the OPENSSH and LDNS sections.

Approved by: re (blanket)

# 9f00530d 14-Sep-2013 Ed Schouten <ed@FreeBSD.org>

Properly remove c++filt.

The c++filt binary is only installed if ${MK_GCC} == yes && ${MK_CXX} ==
yes. This means that it should be removed if ${MK_GCC} == no ||
${MK_CXX} == no. In its current form, it actually uses a conjunction
instead of a disjunction.

As there is already a separate block for ${MK_CXX} == no listing
c++filt, simply remove the conditional entirely.

Approved by: re (gjb)

# 0d410def 10-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Clean up the Kerberos build by turning libheimipcc and libheimipcs into
private shared libraries, instead of hacked-together archives of PIC
objects. This makes it possible to build a static libkrb5 that works.

Reviewed by: stas
Approved by: re (gjb)

# 655f887f 07-Sep-2013 Antoine Brodin <antoine@FreeBSD.org>

Adjust optional obsolete files with new MK_GNUCXX

# 3d8a28c3 07-Sep-2013 Antoine Brodin <antoine@FreeBSD.org>

Do not try to remove directories that are part of BSD.include.dist

# 8031489c 07-Sep-2013 Gleb Smirnoff <glebius@FreeBSD.org>

Add more leftovers from gcc.

# a5bfe448 06-Sep-2013 David Chisnall <theraven@FreeBSD.org>

Don't delete c++filt when doing a make delete-old if GCC is not built but
C++ is.

# e9fb2ea0 29-Aug-2013 Andreas Tobler <andreast@FreeBSD.org>

Remove GNU_PATCH leftover.

# e434cacb 26-Aug-2013 Antoine Brodin <antoine@FreeBSD.org>

Add more obsolete files.

# 0ff204bb 13-Aug-2013 Peter Wemm <peter@FreeBSD.org>

The iconv in libc did two things - implement the standard APIs, the GNU
extensions and also tried to be link time compatible with ports libiconv.
This splits that functionality and enables the parts that shouldn't
interfere with the port by default.

WITH_ICONV (now on by default) - adds iconv.h, iconv_open(3) etc.
WITH_LIBICONV_COMPAT (off by default) adds the libiconv_open etc API, linker
symbols and even a stub libiconv.so.3 that are good enough to be able
to 'pkg delete -f libiconv' on a running system and reasonably expect it
to work.

I have tortured many machines over the last few days to try and reduce
the possibilities of foot-shooting as much as I can. I've successfully
recompiled to enable and disable the libiconv_compat modes, ports that use
libiconv alongside system iconv etc. If you don't enable the
WITH_LIBICONV_COMPAT switch, they don't share symbol space.

This is an extension of behavior on other system. iconv(3) is a standard
libc interface and libiconv port expects to be able to run alongside it on
systems that have it.

Bumped osreldate.

# 8471c7bd 06-Aug-2013 Sean Bruno <sbruno@FreeBSD.org>

Adjust make knobs to know that WITH_ICONV installs a /usr/bin/iconv

Remove it if the knob isn't tweaked. Certain ports seem to think that
if /usr/bin/iconv exists, then libc has built in libiconv things and will
blow up pretty nicely when built.

Reviewed by: gjb@
MFC after: 2 weeks

# 9beae6b5 12-Jul-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove authpf-noip along with authpf.

Reminded by: delphij@

# deb50697 24-Jun-2013 Eitan Adler <eadler@FreeBSD.org>

Add missing Obsolete Files

Submitted by: Kurt Lidl <lidl@pi-coral.com>

# 4f858707 18-Jun-2013 Peter Wemm <peter@FreeBSD.org>

Teach delete-old how to clean up after WITH/WITHOUT_SVN{LITE} permutations.

# 1cbff2a9 15-Jun-2013 Eitan Adler <eadler@FreeBSD.org>

Remove CVS from the base system.

Discussed with: many
Reviewed by: peter, zi
Approved by: core

# 01bb8628 09-Jun-2013 Glen Barber <gjb@FreeBSD.org>

Add freebsd-update.conf(5) to OptionalObsoleteFiles.inc

PR: 179437
Approved by: kib (mentor)
MFC after: 1 week

# 2b3b3637 11-May-2013 Eitan Adler <eadler@FreeBSD.org>

Unconditionally install 210.backup-aliases as many MTAs other than
sendmail support the use of /etc/aliases.

PR: conf/176098
Submitted by: ak
MFC after: 2 weeks

# b4634967 28-Apr-2013 Eitan Adler <eadler@FreeBSD.org>

When the world is built WITHOUT_OPENSSH also don't
install ssh-copy-id.

PR: misc/177590
Submitted by: Oleg Ginzburg <olevole@olevole.ru>
Reviewed by: imp

# 850163e4 26-Apr-2013 Eitan Adler <eadler@FreeBSD.org>

Remove IDEA from OptionalObsoleteFiles.inc

Also add an UPDATING entry (requsted by gjb)

# 139f7f9b 12-Apr-2013 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to trunk r178860, in preparation of the
upcoming 3.3 release (branching and freezing expected in a few weeks).

Preliminary release notes can be found at the usual location:
<http://llvm.org/docs/ReleaseNotes.html>

An MFC is planned once the actual 3.3 release is finished.


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

Add option to make pc-sysinstall optional

Approved by: cperciva

# 616d12b7 20-Dec-2012 Baptiste Daroussin <bapt@FreeBSD.org>

Add etc/periodic/daily/220.backup-pkgdb to OptionalObsoleteFiles.inc

# 3861d79f 03-Dec-2012 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to r168974, from upstream's release_32
branch. This is effectively llvm/clang 3.2 RC2; the 3.2 release is
coming soon.


# ffdac814 14-Nov-2012 Marcel Moolenaar <marcel@FreeBSD.org>

Don't install atf.test.mk if MK_ATF == no.

Submitted by: Garrett Cooper <yanegomi@gmail.com>

# c175365c 21-Oct-2012 Marcel Moolenaar <marcel@FreeBSD.org>

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

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

Credits follow:

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

# 458beb5d 17-Oct-2012 Andreas Tobler <andreast@FreeBSD.org>

Remove the netncp and nwfs files from here. They will be moved to the
ObsoleteFiles.inc file later.

Discussed with: attilio

# ce8ba5a5 26-Aug-2012 Dimitry Andric <dim@FreeBSD.org>

Add libc++ and libcxxrt related files to OptionalObsoleteFiles.inc.

MFC after: 1 week

# d4271816 20-Aug-2012 Dimitry Andric <dim@FreeBSD.org>

Add three additional clang intrinsics headers, which I missed in the
previous import.

# 7ae0e2c9 20-Aug-2012 Dimitry Andric <dim@FreeBSD.org>

Upgrade our copy of llvm/clang to trunk r162107. With thanks to
Benjamin Kramer and Joerg Sonnenberger for their input and fixes.


# c4554b94 23-Jul-2012 Dimitry Andric <dim@FreeBSD.org>

When WITHOUT_CLANG is being used, also clean out the clang 3.1 headers
in OptionalObsoleteFiles.inc.

PR: misc/169902
Submitted by: Thomas Eberhardt <sneakywumpus@googlemail.com>
MFC after: 3 days

# 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

# 60533c20 09-May-2012 Eitan Adler <eadler@FreeBSD.org>

Add some missing files to OLD_FILES

PR: conf/166460
Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com>
Reviewed by: stable@
Approved by: cperciva
MFC after: 2 weeks

# 4d04782c 14-Apr-2012 Dimitry Andric <dim@FreeBSD.org>

Add files and directories to be cleaned up if WITHOUT_GCC is in effect
to OptionalObsoleteFiles.inc.

MFC after: 1 week

# a146c2a9 22-Mar-2012 Stanislav Sedov <stas@FreeBSD.org>

- Add new kerberos libraries to the list of optional obsolete files.

# 0e46933c 22-Mar-2012 Stanislav Sedov <stas@FreeBSD.org>

- Do not build libcom_err and compile_et when kerberos is disabled. They
depends on several heimdal libraries and not used by anything but kerberos
tools.

# ae771770 22-Mar-2012 Stanislav Sedov <stas@FreeBSD.org>

- Update FreeBSD Heimdal distribution to version 1.5.1. This also brings
several new kerberos related libraries and applications to FreeBSD:
o kgetcred(1) allows one to manually get a ticket for a particular service.
o kf(1) securily forwards ticket to another host through an authenticated
and encrypted stream.
o kcc(1) is an umbrella program around klist(1), kswitch(1), kgetcred(1)
and other user kerberos operations. klist and kswitch are just symlinks
to kcc(1) now.
o kswitch(1) allows you to easily switch between kerberos credentials if
you're running KCM.
o hxtool(1) is a certificate management tool to use with PKINIT.
o string2key(1) maps a password into key.
o kdigest(8) is a userland tool to access the KDC's digest interface.
o kimpersonate(8) creates a "fake" ticket for a service.

We also now install manpages for some lirbaries that were not installed
before, libheimntlm and libhx509.

- The new HEIMDAL version no longer supports Kerberos 4. All users are
recommended to switch to Kerberos 5.

- Weak ciphers are now disabled by default. To enable DES support (used
by telnet(8)), use "allow_weak_crypto" option in krb5.conf.

- libtelnet, pam_ksu and pam_krb5 are now compiled with error on warnings
disabled due to the function they use (krb5_get_err_text(3)) being
deprecated. I plan to work on this next.

- Heimdal's KDC now require sqlite to operate. We use the bundled version
and install it as libheimsqlite. If some other FreeBSD components will
require it in the future we can rename it to libbsdsqlite and use for these
components as well.

- This is not a latest Heimdal version, the new one was released while I was
working on the update. I will update it to 1.5.2 soon, as it fixes some
important bugs and security issues.


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

# 6bb1cadd 05-Feb-2012 Dimitry Andric <dim@FreeBSD.org>

Add a WITH_CLANG_EXTRAS option for src.conf(5), disabled by default,
that builds the following additional llvm/clang tools:

- bugpoint
- llc
- lli
- llvm-ar
- llvm-as
- llvm-bcanalyzer
- llvm-diff
- llvm-dis
- llvm-extract
- llvm-ld
- llvm-link
- llvm-mc
- llvm-nm
- llvm-objdump
- llvm-prof
- llvm-ranlib
- llvm-rtdyld
- llvm-stub
- macho-dump
- opt

These tools are mainly useful for people that want to manipulate llvm
bitcode (.bc) and llvm assembly language (.ll) files, or want to tinker
with llvm and clang themselves.

MFC after: 2 weeks


# 8f506e9e 11-Dec-2011 Dimitry Andric <dim@FreeBSD.org>

Add more files to cleanup with 'make delete-old' when WITHOUT_CLANG is
in effect.

MFC after: 1 week

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

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

Don't remove the periodic script for ac(8) when setting WITHOUT_ACCT.

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

# b3eb927f 06-Apr-2011 Ulrich Spörlein <uqs@FreeBSD.org>

Complete WITHOUT_CXX support. It implies WITHOUT_GROFF and
WITHOUT_CLANG.

Don't build clang bootstrap/build-tools depending on this flag. We also
keep gperf, devd and libstdc++ around to prevent foot-shooting and to
make this a two-way street.

# 423102c6 22-Feb-2011 Ulrich Spörlein <uqs@FreeBSD.org>

Flesh out WITHOUT_GROFF support to DTRT.

A full featured groff is required during buildworld, so build it always
and don't rely on it being present on the host system.

vgrind(1) is tightly coupled to a roff processor and will not be
built/installed when groff is disabled. Also much of the roff'ed
documentation under share/doc will not be built/installed when
WITHOUT_GROFF is defined.

Reviewed by: ru (partial)

# d180d7ef 04-Dec-2010 Ulrich Spörlein <uqs@FreeBSD.org>

Document two more ways to find duplicates in the obsolete file list.

Remove the only duplicate found by the optional files check. Fix typos,
while here.

Suggested by: netchild

# fe5ddba7 14-Nov-2010 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add optional files controlled by WITH_GPIO knob

Submitted by: Alexander Best <arundel@freebsd.org>

# 97f9dcf7 14-Nov-2010 Rebecca Cran <brucec@FreeBSD.org>

lib32 is installed on powerpc64 too.

# 60db6c32 14-Nov-2010 Rebecca Cran <brucec@FreeBSD.org>

libatm_p.a, libkeycap_p.a and libmytinfo_p.a are already in ObsoleteFiles.inc.
liblwres.so.10 has been replaced by liblwres.so.50.

Reported by: arundel

# 65a1c465 09-Nov-2010 Xin LI <delphij@FreeBSD.org>

Hide 460.chkportsum in MK_PKGTOOLS != no case.

Submitted by: Alex Kozlov <spam rm-rf kiev ua>
MFC after: 2 weeks

# 60e6ef07 08-Oct-2010 Mark Murray <markm@FreeBSD.org>

Don't blow away /bin/rmail symlink if we are keeping mailwrapper.
Mailwrapper can provide a perfectly good rmail with other
mailers.

# 916d7003 06-Oct-2010 Alexander Leidinger <netchild@FreeBSD.org>

Add some missing files to optionally delete.

Submitted by: Paul B Mahol <onemda@gmail.com>

# 781ad8ef 21-Jul-2010 Ed Schouten <ed@FreeBSD.org>

Chase LLVM version bump to 2.8.

# e137ba59 16-Jun-2010 Alexander Leidinger <netchild@FreeBSD.org>

Add the ZFS periodic daily scripts to the ZFS part.

# edec9228 14-Jun-2010 Ed Schouten <ed@FreeBSD.org>

Add Clang to OptionalObsoleteFiles.inc.

This means you can now deinstall Clang by running make delete-old with
WITHOUT_CLANG set.

# 36e60cda 26-Mar-2010 Xin LI <delphij@FreeBSD.org>

Remove GNU cpio after fix of CVE-2010-0624.

Note that this is actually a no-op for most users, as this GNU
cpio was broken on -HEAD and 8-STABLE since last March until
the recent fix.

FreeBSD 8.0+ uses BSD cpio by default and the code is being
actively maintained.

Blessed by: kientzle
With hat: secteam
MFC after: 3 days

# b974b08f 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PPP=no.

# 72647fe8 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PORTSNAP=no.

# 78d8164c 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PKGTOOLS=no.

# c13190b2 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PF=no.

# 58f47440 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_NTP=no.

# fda29b23 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_RCMDS=no.

# 50d16bbe 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_RCS=no.

# 23644347 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_ROUTED=no.

# 1fe4843a 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_TELNET=no.

# 94cd15a9 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_NDIS=no.

# 8c7d0ea2 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_NCP=no.

# c742deed 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_LPR=no.

# 9586e952 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_WIRELESS=no.

# e94be45c 26-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Do not remove fmt.1 when MK_MAIL=no.

X-MFC-With: r203584

# cebcc1ac 09-Feb-2010 Xin LI <delphij@FreeBSD.org>

Symbolic link to mailwrapper should only be removed if both MK_MAILWRAPPER
and MK_SENDMAIL is "no".

Reported by: Rob Farmer <rfarmer at predatorlabs.net>

# 07ea9a7c 09-Feb-2010 Xin LI <delphij@FreeBSD.org>

As it turns out, fmt(1) is being used by the base system as well as the
ports tree extensively and it is probably a good idea to keep it
regardless of NO_MAIL setting.

Reported by: Alexander Best
Reviewed by: antoine
X-MFC-With: r203584

# 4c63c240 06-Feb-2010 Xin LI <delphij@FreeBSD.org>

Add files for NO_MAIL, NO_SENDMAIL and NO_MAILWRAPPER.

MFC after: 2 weeks

# a48279bb 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_KERBEROS=no.

# e86622b3 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_JAIL=no.

# 2677a432 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_IPX=no.

# 02eb407f 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_IPFW=no.

# 91ff065b 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Move rescue/ping6 from files to remove when MK_INET6=no to file to remove
when MK_INET6_SUPPORT=no. (MK_INET6=no implies MK_INET6_SUPPORT=no)

# a2ccbc29 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add file to remove when MK_IDEA=no.

# b6d220d0 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GSSAPI=no.

# 96e9532b 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GPIB=no.

# 2ea25692 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GDB=no.

# 05142604 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GAMES=no.

# b983b146 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_FREEBSD_UPDATE=no.

# aa6bef9e 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_FLOPPY=no.

# 629b054a 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_DICT=no.

# 73ff6610 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CVS=no.

# 7692d80e 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CTM=no.

# 682e1072 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CPP=no.

# e493781a 16-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_ZFS=no.

# af5b4724 16-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_CDDL=no.

# 2ab19927 16-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CALENDAR=no.

# bd0a3ed5 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_BLUETOOTH=no.

# 22f09c9f 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_AUTHPF=no.

# 6fccaa07 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_ATM=no.

# 2cccc87b 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_AT=no.

# 5942f7f7 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_APM=no.

# 6cbebbd3 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_AMD=no.

# b00c1bf2 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_ACCT=no.

# 29d08a6d 24-Jun-2009 Jamie Gritton <jamie@FreeBSD.org>

Add libjail, a (somewhat) simpler interface to the jail_set and jail_get
system calls and the security.jail.param sysctls.

Approved by: bz (mentor)

# c6642c52 13-Sep-2008 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when WITHOUT_HESIOD is set.
This fixes "make check-old" when WITH_HESIOD is set.

PR: 122406
MFC after: 1 month

# a1d73f7b 28-Jul-2008 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GNU_CPIO = no

# 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

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

# 94dd3203 24-Mar-2008 Antoine Brodin <antoine@FreeBSD.org>

Don't remove usr/include/fs/nwfs and usr/include/netncp, as they are always
recreated during installworld (they are in BSD.include.dist).

Reported by: Pawel Worach
Approved by: rwatson (mentor)
X-MFC: with revision 1.13

# 6fa1978a 08-Mar-2008 Antoine Brodin <antoine@FreeBSD.org>

Add some checks for amd64 target around usr/lib32 libraries, missed in
previous commit.

Approved by: rwatson (mentor)
X-MFC: with revision 1.13

# b246502f 29-Feb-2008 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GCOV, MK_IPX or MK_NCP are defined.

Note: it may be a good idea to deduce obsolete usr/lib32/ files from
obsolete lib/ and usr/lib/ files.

PR: 120492
PR: 121118
PR: 121121
Submitted by: KAMIYA Satosi, Richard Tector
Approved by: rwatson (mentor)
MFC after: 1 month

# 4114acea 18-Jan-2008 Christian Brueffer <brueffer@FreeBSD.org>

Remove files conditional on the obsolete MK_FORTRAN knob. They are already
listed in ObsoleteFiles.inc anyway.

Reported by: David Wolfskill
Approved by: rwatson (mentor)
MFC after: 3 days

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

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

MK_LIBTHR was misspelled.

Approved by: re (kensmith)

# ceef0c31 05-Apr-2007 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Connect ZFS to the build.

# 70d21ee7 11-Mar-2007 Rong-En Fan <rafan@FreeBSD.org>

Add ncursesw, libelf, and libalias profiling libraries

Approved by: delphij (mentor)

# 438e97c0 01-Feb-2007 Rong-En Fan <rafan@FreeBSD.org>

Remove old libmytinfo link.

Approved by: delphij (mentor)
Requested by: ache

# b1a7dc88 27-Nov-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

/usr/sbin/faithd is an INET6-specific tool, and now it won't be built
if MK_INET6 is "no", so add it to the MK_INET6 block.

PR: bin/100805 (audit-trail)

# 2e975006 30-Sep-2006 Ruslan Ermilov <ru@FreeBSD.org>

Removed libc_r build support.

# c3e63d56 29-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Extend the MK_INET6 section by rescue/ping6 and the manpages.

# 9da33b35 28-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Populate the MK_INET6 block.

# 1812f896 01-May-2006 Alexander Leidinger <netchild@FreeBSD.org>

Add profile libs.

Submitted by: Pawel Worach <pawel.worach@gmail.com>

# 95529bcb 03-Apr-2006 Alexander Leidinger <netchild@FreeBSD.org>

Milosz (sorry for not using the right 'l', it will not display corretly
in the commit log) submitted support for some NO_* knobs for delete-old*
and check-old. I converted it to the new WITHOUT_* knobs (more correctly:
MK_*) and added some dummy ones so that people can see what's missing.

Volunteers can have a look at http://phk.freebsd.dk/misc/build_options/
for a list of files.

The location looks a little bit odd to me, but I don't care about the
color of this bikeshed and follow the suggestion of our build
infrastructure guru to place it "somewhere under src/tools/ please". [1]
The build/mk/ directory looks more sane to me than the other ones there.

Submitted by: milosz.galazka@gmail.com
Suggested by: ru [1]

# e9a99463 06-Oct-2021 Ed Maste <emaste@FreeBSD.org>

ssh: enable FIDO/U2F keys

Description of FIDO/U2F support (from OpenSSH 8.2 release notes,
https://www.openssh.com/txt/release-8.2):

This release adds support for FIDO/U2F hardware authenticators to
OpenSSH. U2F/FIDO are open standards for inexpensive two-factor
authentication hardware that are widely used for website
authentication. In OpenSSH FIDO devices are supported by new public
key types "ecdsa-sk" and "ed25519-sk", along with corresponding
certificate types.

ssh-keygen(1) may be used to generate a FIDO token-backed key, after
which they may be used much like any other key type supported by
OpenSSH, so long as the hardware token is attached when the keys are
used. FIDO tokens also generally require the user explicitly
authorise operations by touching or tapping them.

Generating a FIDO key requires the token be attached, and will
usually require the user tap the token to confirm the operation:

$ ssh-keygen -t ecdsa-sk -f ~/.ssh/id_ecdsa_sk
Generating public/private ecdsa-sk key pair.
You may need to touch your security key to authorize key generation.
Enter file in which to save the key (/home/djm/.ssh/id_ecdsa_sk):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/djm/.ssh/id_ecdsa_sk
Your public key has been saved in /home/djm/.ssh/id_ecdsa_sk.pub

This will yield a public and private key-pair. The private key file
should be useless to an attacker who does not have access to the
physical token. After generation, this key may be used like any
other supported key in OpenSSH and may be listed in authorized_keys,
added to ssh-agent(1), etc. The only additional stipulation is that
the FIDO token that the key belongs to must be attached when the key
is used.

To enable FIDO/U2F support, this change regenerates ssh_namespace.h,
adds ssh-sk-helper, and sets ENABLE_SK_INTERNAL (unless building
WITHOUT_USB).

devd integration is not included in this change, and is under
investigation for the base system. In the interim the security/u2f-devd
port can be installed to provide appropriate devd rules.

Reviewed by: delphij, kevans
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32509


# 2f7f8995 27-Oct-2021 John Baldwin <jhb@FreeBSD.org>

libdialog: Bump shared library version to 10.

The upgrade to libdialog 1.3 included changes to the ABI.

Bump libdpv to 3 since it links against libdialog.

Reported by: Mark Millard <marklmi@yahoo.com>
Reviewed by: bapt
Fixes: a96ef4501919 dialog: import dialog 1.3-20210117
Differential Revision: https://reviews.freebsd.org/D32675


# 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


# 7b1e19ad 06-Oct-2021 Ed Maste <emaste@FreeBSD.org>

Add libfido2 to the build

From https://github.com/Yubico/libfido2:

libfido2 provides library functionality and command-line tools to
communicate with a FIDO device over USB, and to verify attestation
and assertion signatures.

libfido2 supports the FIDO U2F (CTAP 1) and FIDO 2.0 (CTAP 2)
protocols.

libfido2 will be used by ssh to support FIDO/U2F keys. It is currently
intended only for use by ssh, and so is installed as a PRIVATELIB and is
placed in the ssh pkgbase package.

This is currently disabled for the 32-bit library build as libfido2 is
not compatible with the COMPAT_32BIT hack in usb_ioctl.h.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32448


# 2a213a2e 20-Oct-2021 Baptiste Daroussin <bapt@FreeBSD.org>

OptionalObsoleteFiles: add more googletest files to remove


# 2e85df65 06-Oct-2021 Ed Maste <emaste@FreeBSD.org>

Add libcbor to the build

From https://github.com/PJK/libcbor:

libcbor is a C library for parsing and generating CBOR, the general-
purpose schema-less binary data format.

libcbor will be used by ssh to support FIDO/U2F keys. It is currently
intended only for use by ssh, and so is installed as a PRIVATELIB and is
placed in the ssh pkgbase package.

cbor_export.h and configuration.h were generated by the upstream CMake
build. We could create them with bmake rules instead (as NetBSD has
done) but this is a fine start.

This is currently disabled for the 32-bit library build as libfido2 is
not compatible with the COMPAT_32BIT hack in usb_ioctl.h, and there is
no need for libcbor without libfido2.

Reviewed by: kevans
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32347


# 1b85b68d 14-Oct-2021 Cameron Katri <me@cameronkatri.com>

llvm-readobj: Attach to buildsystem

Also install it as readelf when MK_LLVM_BINUTILS is set.

Reviewed By: dim, arichardson
Differential Revision: https://reviews.freebsd.org/D32058


# 88c02733 11-Oct-2021 Alex Richardson <arichardson@FreeBSD.org>

Update OptionalObsoleteFiles.inc after 021385aba562

I forgot to update this file so make delete-old would incorrectly remove
the newly-installed LLVM binutils. While touching the file also update
for 8e1c989abbd1 since ObsoleteFiles.inc now inludes the tablegen binaries.

Reported by: Herbert J. Skuhra <herbert@gojira.at>
Reviewed By: emaste, imp

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


# 032448cd 08-Oct-2021 Ed Maste <emaste@FreeBSD.org>

Belatedly track private lib renaming for OptionalObsoleteFiles.inc

Reviewed by: kevans
Fixes: 5551c573554e ("Rework PRIVATELIB")
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32384


# 85395180 21-Jul-2021 Fernando Apesteguía <fernape@FreeBSD.org>

Remove manpages from OLD_FILES

Remove apm.8 and apmconf.8 from OLD_FILES in the relevant Makefiles.

These pages are now installed unconditionally as per 0a0f7486413c

PR: 257228
Reported by: yasu@utahime.org, wosch@
Approved by: imp@, wosch@
Fixes: 0a0f7486413c - Build manpages for all architectures
MFH: 4 weeks
Differential Revision: https://reviews.freebsd.org/D31256


# 0333fad1 11-Jun-2021 John Baldwin <jhb@FreeBSD.org>

Remove svnlite.

Reviewed by: bcr, imp, emaste
Differential Revision: https://reviews.freebsd.org/D30737


# 95aa617e 03-Jun-2021 Dimitry Andric <dim@FreeBSD.org>

Add C++ headers <barrier> <concepts> <execution> <latch> <numbers> <semaphore>

I missed adding these to the libc++ Makefile, when importing
llvm-project 11.0.0-rc1, even though they were supplied by upstream.

While here, update OptionalObsoleteFiles.inc to add these new headers,
and cleanup old cruft.

Reported by: yuri
Submitted by: jkim (Makefile diff)
PR: 255374
MFC after: 3 days


# 15deee52 20-Mar-2021 Dimitry Andric <dim@FreeBSD.org>

Move GH_BC ObsoleteFiles.inc section to OptionalObsoleteFiles.inc

Optional features belong in the latter file, and should be tested using:

.if ${MK_FEATURE} == no
[...]
.endif


# e6cfd293 03-Mar-2021 John Baldwin <jhb@FreeBSD.org>

Remove the usr/tests/usr.bin/yacc/yacc directory when removing yacc.

MFC after: 1 week


# 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


# 5cf6f1c4 30-Jan-2021 Alex Richardson <arichardson@FreeBSD.org>

Remove the MK_LIBCPLUSPLUS option

This option has been equivalent to any form of C++ support since libstdc++
was removed. Therefore, replace all MK_LIBCPLUSPLUS uses with MK_CXX.

Reviewed By: emaste
Differential Revision: https://reviews.freebsd.org/D27974


# bfc99943 25-Jan-2021 Brooks Davis <brooks@one-eyed-alien.net>

ndis(4): remove as previous announced

nids(4) was a clever idea in the early 2000's when the market was
flooded with 10/100 NICs with Windows-only drivers, but that hasn't been
the case for ages and the driver has had no meaningful maintenance in
ages. It only supports Windows-XP era drivers.

Also remove:
- ndis support from wpa_supplicant
- ndiscvt(8)

Reviewed By: emaste, bcr (manpages)
Differential Revision: https://reviews.freebsd.org/D27609


# 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


# 7593c13e 16-Jan-2021 Dimitry Andric <dim@FreeBSD.org>

Add libclang_rt.profile-powerpc64le.a to (Optional)?ObsoleteFiles.inc

On little-endian PowerPC64, this prevented /usr/lib/clang/11.0.0 being
cleaned up completely after upgrading to clang 11.0.1.

Noticed by: pkubaj
MFC after: 4 weeks
X-MFC-With: r364284


# 8aff76fb 22-Dec-2020 Kyle Evans <kevans@FreeBSD.org>

build: remove the option to build gnugrep

Unconditionally install bsdgrep as grep, bootstrap or not. Remove all
build glue and stop installing both gnugrep and libgnuregex now that
all consumers of the latter are gone.

Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D27732


# 1c0ea326 15-Dec-2020 Ed Maste <emaste@FreeBSD.org>

Retire obsolete GDB 6.1.1

GDB 6.1.1 was released in June 2004 and is long obsolete. It does not
support all of the architectures that FreeBSD does, and imposes
limitations on the FreeBSD kernel build, such as the continued use of
DWARF2 debugging information.

It was kept (in /usr/libexec/) only for use by crashinfo(8), which
extracts some basic information from a kernel core dump after a crash.
Crashinfo already prefers gdb from port/package if installed.

Future work may add kernel debug support to LLDB or find another path
for crashinfo's needs, but in any case we do not want to ship the
excessively outdated GDB in FreeBSD 13.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D27610


# d2624517 26-Nov-2020 Alan Somers <asomers@FreeBSD.org>

ping: add a ping6 hard link for backwards compatibility

When invoked as "ping6", ping will now attempt to use ICMPv6 for hostnames
that resolve both IPv4 and IPv6 addresses.

Reviewed by: bz, manu
MFC-With: r368045
Differential Revision: https://reviews.freebsd.org/D27384


# 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


# 2406f943 15-Nov-2020 Dimitry Andric <dim@FreeBSD.org>

Ensure make delete-old does not unlink the llvm-cxxfilt and its manpage,
after r367304 and r367324, when WITH_LLVM_CXXFILT is enabled.

Noticed by: "Herbert J. Skuhra" <herbert@gojira.at>
MFC after: 3 days
X-MFC-With: r367304


# 07335072 18-Oct-2020 Kyle Evans <kevans@FreeBSD.org>

libbe(3): install MLINKS for all of the functions provided

MFC after: 1 week


# 6703731d 08-Sep-2020 Kyle Evans <kevans@FreeBSD.org>

phttpget: move out of portsnap

Currently, WITHOUT_PORTSNAP forces WITHOUT_FREEBSD_UPDATE because the
latter relies on phttpget, which lives inside the portsnap build bits.

Remove the dependency between these two options by moving phttpget out into
^/libexec and building/installing it if either WITH_PORTSNAP or
WITH_FREEBSD_UPDATE.

Future work could remove the conditional if it's decided that users will use
it independently of either the current in-base consumers.

Reported by: swills
Reviewed by: jilles, emaste
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D26255


# 32cb7794 03-Sep-2020 Dimitry Andric <dim@FreeBSD.org>

Ensure zpool-features(5) doesn't get removed by make delete-old.

Apparently, somewhere in 2012 ZFS-on-FreeBSD moved it from section 5 to
7, but ZFS-on-Linux never did.


# 57b71478 14-Aug-2020 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for added and removed clang 11.0.0
internal headers.


# 136bdd99 26-Jun-2020 Dimitry Andric <dim@FreeBSD.org>

Follow-up to r362679, add more entries to OptionalObsoleteFiles.inc

MFC after: 3 days
X-MFC-With: r362679


# bd74205d 27-Jun-2020 Dimitry Andric <dim@FreeBSD.org>

Regenerate ReStructuredText based manpages for llvm-project tools:

* bugpoint.1
* clang.1
* llc.1
* lldb.1
* lli.1
* llvm-ar.1
* llvm-as.1
* llvm-bcanalyzer.1
* llvm-cov.1
* llvm-diff.1
* llvm-dis.1
* llvm-dwarfdump.1
* llvm-extract.1
* llvm-link.1
* llvm-mca.1
* llvm-nm.1
* llvm-pdbutil.1
* llvm-profdata.1
* llvm-symbolizer.1
* llvm-tblgen.1
* opt.1

Add newly generated manpages for:

* llvm-addr2line.1 (this is an alias of llvm-symbolizer)
* llvm-cxxfilt.1
* llvm-objcopy.1
* llvm-ranlib.1 (this is an alias of llvm-ar)

Note that llvm-objdump.1 is an exception, as upstream has both a plain
.1 file, and a .rst variant. These will have to be reconciled upstream
first.

MFC after: 3 days


# 0a9ab9f5 24-Jun-2020 Conrad Meyer <cem@FreeBSD.org>

Add WITH_CLANG_FORMAT option

clang-format is enabled conditional on either WITH_CLANG_EXTRAS or
WITH_CLANG_FORMAT. Some sources in libclang are build conditional on
either rule, and obviously the clang-format binary itself depends on the
rule.

clang-format could still use a manual page.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D25427


# 74e8d41e 06-Jun-2020 Ed Maste <emaste@FreeBSD.org>

Retire BINUTILS and BINUTILS_BOOTSTRAP options

As of r361857 all BINUTILS options are disabled by default - ports
have been changed to depend on binutils if they require GNU as, and
all base system assembly files have been switched to use Clang's
integrated assembler.

Relnotes: Yes
Sponsored by: The FreeBSD Foundation


# 65a1d636 15-May-2020 Ed Maste <emaste@FreeBSD.org>

libalias: retire cuseeme support

The CU-SeeMe videoconferencing client and associated protocol is at this
point a historical artifact; there is no need to retain support for this
protocol today.

Reviewed by: philip, markj, allanjude
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D24790


# 4d48b0cf 15-May-2020 John Baldwin <jhb@FreeBSD.org>

Don't remove ubsec(4) manual page for WITHOUT_USB=yes.

In head this manpage has been removed entirely, but ubsec(4) is a PCI
device and not a USB device.

MFC after: 1 week


# f8519228 07-May-2020 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles.inc: remove objdump

objdump is removed unconditionally in ObsoleteFiles.inc


# 12de77b3 19-Apr-2020 Cy Schubert <cy@FreeBSD.org>

Due to popular demand, revert r360102.

Reported by: many


# 4574585e 19-Apr-2020 Cy Schubert <cy@FreeBSD.org>

Conditionally install Kerberos rc files based on MK_KERBEROS_SCRIPTS
instead of MK_KERBEROS. The reason for this change is some users
prefer to build FreeBSD WITHOUT_KERBEROS, wanting to retain the
Kerberos rc scripts to start/stop MIT Kerberos or Heimdal from ports.

PR: 197337
Reported by: Adam McDougall <ebay at looksharp.net>
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D24252


# a52b0bb1 30-Mar-2020 Ed Maste <emaste@FreeBSD.org>

drop GDB_LIBEXEC option (now always true)

In-tree gdb is essentially obsolete. We kept it for sparc64 (because
gdb in ports lacked sparc64 support) and as a fallback for crashinfo.
gdb was installed to /libexec on all archs other than sparc64, where the
WITHOUT_GDB_LIBEXEC option was default, with gdb installed to /usr/bin.
With sparc64's retirement WITH_GDB_LIBEXEC became the default for all
architectures, but it was still possible to set it off and install gdb
into /usr/bin.

As the next step in gdb's retirement, remove the option and install gdb
only into /libexec as the crashinfo fallback. We expect users to install
the gdb port or package for debugging. The in-tree gdb lacks support for
a number of supported architectures and does not support contemporary
DWARF debug info.

Reviewed by: jhb (earlier)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D24227


# a04ec978 26-Mar-2020 Brandon Bergren <bdragon@FreeBSD.org>

[PowerPC] Switch powerpc and powerpcspe to lld

Now that LLD 10 is out, and required patches have landed, we are now ready
to finally switch away from the ancient in-tree ld.bfd.

Special thanks to Fangrui Song for many hours of work on getting the
32-bit powerpc lld ready for prime-time.

Reviewed by: emaste (earlier revision), jhibbits
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D24111


# 725cc1de 17-Mar-2020 John Baldwin <jhb@FreeBSD.org>

Add missing DTrace files for WITHOUT_CDDL=yes.

Reviewed by: dteske
MFC after: 1 week
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D24037


# 0fbbe502 12-Mar-2020 Enji Cooper <ngie@FreeBSD.org>

Remove /usr/share/snmp/defs/tc.def with delete-old if MK_BSNMP == no

This removes a lingering file on new installs of CURRENT, originally
added in r345797.

MFC after: 1 week
MFC with: r345797


# 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


# 57f80467 28-Feb-2020 Ed Maste <emaste@FreeBSD.org>

remove GCC 4.2.1 build infrastructure

As described in Warner's email message[1] to the FreeBSD-arch mailing
list we have reached GCC 4.2.1's retirement date. At this time all
supported architectures either use in-tree Clang, or rely on external
toolchain (i.e., a contemporary GCC version from ports).

GCC 4.2.1 was released July 18, 2007 and was imported into FreeBSD later
that year, in r171825. GCC has served us well, but version 4.2.1 is
obsolete and not used by default on any architecture in FreeBSD. It
does not support modern C and does not support arm64 or RISC-V.

Thanks to everyone responsible for maintaining, updating, and testing
GCC in the FreeBSD base system over the years.

So long, and thanks for all the fish.

[1] https://lists.freebsd.org/pipermail/freebsd-arch/2020-January/019823.html

PR: 228919
Reviewed by: brooks, imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D23124


# 0b37c159 25-Jan-2020 Dimitry Andric <dim@FreeBSD.org>

* Bump version numbers to 10.0.0
* Update UPDATING
* Update (Optional)ObsoleteFiles.inc
* Update VCS(Revision|Version) files
* Update generated config headers
* Update clang internal headers Makefile


# 0581ad70 20-Jan-2020 Mariusz Zaborski <oshogbo@FreeBSD.org>

When MK_CASPER=no is set remove files which are not needed to run system.

PR: 242971


# 3d37949e 20-Jan-2020 Mariusz Zaborski <oshogbo@FreeBSD.org>

Even when the MK_CASPER is set to "no" we still want to install man pages
and the headers. If the user decides to install the system without Casper
support, then the Casper functions are mocked, but they still exist in
the system.

PR: 242971
MFC after: 2 weeks


# c31a062f 20-Jan-2020 Mariusz Zaborski <oshogbo@FreeBSD.org>

Those files are already removed in ObsoleteFiles.\
There is no need to remove them twice.

PR: 242971
MFC after: 2 weeks


# cd0d51ba 04-Jan-2020 Kyle Evans <kevans@FreeBSD.org>

Provide libssp based on libc

For libssp.so, rebuild stack_protector.c with FORTIFY_SOURCE stubs that just
abort built into it.

For libssp_nonshared.a, steal stack_protector_compat.c from
^/lib/libc/secure and massage it to maintain that __stack_chk_fail_local
is a hidden symbol.

libssp is now built unconditionally regardless of {WITH,WITHOUT}_SSP in the
build environment, and the gcclibs version has been disconnected from the
build in favor of this one.

PR: 242950 (exp-run)
Reviewed by: kib, emaste, pfg, Oliver Pinter (earlier version)
Also discussed with: kan
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D22943


# 1bb8eb56 23-Nov-2019 Dimitry Andric <dim@FreeBSD.org>

libclang_rt: enable on powerpc*

Summary:
Enable on powerpc64 and in lib/libclang_rt/Makefile change
MACHINE_CPUARCH to MACHINE_ARCH because on powerpc64
MACHINE_ARCH==MACHINE_CPUARCH so the 32-bit library overwrites 64-bit
library during installworld.

This patch doesn't enable any other libclang_rt libraries because they
need to be separately ported.

I have verified that games/julius (which fails on powerpc64 elfv2
without this change because of no libclang_rt profiling library) builds.

Test Plan: Ship it, test on powerpc and powerpcspe

Submitted by: pkubaj
Reviewed by: dim, jhibbits
Differential Revision: https://reviews.freebsd.org/D22425
MFC after: 1 month
X-MFC-With: r353358


# 4d22a29a 04-Oct-2019 Baptiste Daroussin <bapt@FreeBSD.org>

Do not remove the locale directory when building a system without locales

This directory is actually needed during make installworld and will prevent
to reinstall a system after make delete-old is done.

PR: 226137
Reported by: rakuco
MFC after: 3 days


# 9a2b7c5f 04-Sep-2019 Rebecca Cran <bcran@FreeBSD.org>

The efifat files are no longer used: remove the code to build them

Reviewed by: imp, tsoome, emaste
Differential Revision: https://reviews.freebsd.org/D20562


# 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


# f57be329 01-Sep-2019 Dimitry Andric <dim@FreeBSD.org>

Update libclang_rt:
* Add cfi, dd, fuzzer and xray
* Update arch support
* Update OptionalObsoleteFiles.inc


# 2f3724e6 31-Aug-2019 Dimitry Andric <dim@FreeBSD.org>

Update Makefile and mtree for clang internal headers, and update
OptionalObsoleteFiles.inc for added and removed files.


# 72e1e271 23-Aug-2019 Dimitry Andric <dim@FreeBSD.org>

Change clang lib dir to 9.0.0.


# 7f32f0e2 18-Aug-2019 Vladimir Kondratyev <wulf@FreeBSD.org>

iwmbtfw: Firmware loader for Intel Wireless 8260 based Bluetooth USB devices

Currently supported models are: 8260, 8265, 9560, 9260 and 22161.
Firmware files can be installed with comms/iwmbt-firmware port.

PR: 237083
Reviewed by: hps, emax
X-MFC with: r351196
Differential Revision: https://reviews.freebsd.org/D21071


# 403c9d52 05-Aug-2019 Leandro Lupori <luporl@FreeBSD.org>

[PPC64] Don't mark ld.bfd as obsolete

PowerPC64 still needs ld.bfd for 32-bit binaries/libraries.

This will be needed when ELFv2 becomes default, but there is no harm in
committing it already.

Reviewed by: jhibbits
Differential Revision: https://reviews.freebsd.org/D21136


# 330014fd 03-Jul-2019 Tijl Coosemans <tijl@FreeBSD.org>

Also remove lib32 versions of libradius.

MFC after: 1 week


# 015cb6cd 26-Jun-2019 Cy Schubert <cy@FreeBSD.org>

Create a link to the ipmon.conf.5 man page as documented in ipmon.5.
Add its corresponding optional removal entry.

PR: 238816
MFC after: 1 week


# 74bc7fc0 26-Jun-2019 Cy Schubert <cy@FreeBSD.org>

Add the ipmon.5 man page.

PR/238816 initially addressed updates to usage() however the PR has
morphed into a shopping list of updates to usage() and man pages.

PR: 238816 (I added to the list during discussion)
MFC after: 1 week


# f02125cd 06-Jun-2019 Jung-uk Kim <jkim@FreeBSD.org>

Move llvm-ranlib to appropriate location in OptionalObsoleteFiles.inc.

Note llvm-ar is linked to llvm-ranlib since r311565. r348677 fixed
"make delete-old" issue with llvm-ar but missed it somehow.

Discussed with: emaste, jhb


# e4e92b4d 05-Jun-2019 Ed Maste <emaste@FreeBSD.org>

Use CLANG knob to remove llvm-symbolizer man page

r348504 moved llvm-symbolizer from the CLANG_EXTRAS knob to CLANG, but
the man page was still in the CLANG_EXTRAS section in
OptionalObsoleteFiles.inc.

Reported by: jhb
MFC after: 3 days
MFC with: r348504


# 7120683d 04-Jun-2019 Ed Maste <emaste@FreeBSD.org>

move llvm-ar and llvm-nm to appropriate location in OptionalObsoleteFiles.inc

After r348610 `make delete-old` was still removing llvm-ar and llvm-nm
(and associated man pages).

Reported by: jhb
Sponsored by: The FreeBSD Foundation


# 71259635 01-Jun-2019 Kyle Evans <kevans@FreeBSD.org>

llvm-symbolizer: Move out of CLANG_EXTRAS, into CLANG

ASAN reports become a lot more useful with llvm-symbolizer in $PATH, and the
build is not much more time-consuming. The added benefit is that the
resulting reports will actually include symbol information; without, thread
trace information includes a bunch of addresses that immediately resolve to
an inline function in
^/contrib/compiler-rt/lib/sanitizer_common/sanitizer_common.h and take a
little more effort to examine.

Reviewed by: emaste
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D20484


# 001ec17e 19-May-2019 Dimitry Andric <dim@FreeBSD.org>

To avoid unnecessarily modifying ports, add a -lgomp symlink, since GCC
does not ship a -lomp symlink. Also update OptionalObsoleteFiles for
this, and add 32-bit variants while here.

Submitted by: jbeich
PR: 237975
MFC after: 3 days


# 6da88762 19-May-2019 Dimitry Andric <dim@FreeBSD.org>

Fix OptionalObsoleteFiles copy/paste mistake from r345236, which
connected libomp to the build. The comparison should not have been
against ${MK_OPENSSH}, but against ${MK_OPENMP}, obviously.

MFC after: 3 days


# 60828939 26-Mar-2019 John Baldwin <jhb@FreeBSD.org>

Add special psuedo-options for the base/{binutils,gcc} ports.

The WITH_PORT_BASE_{BINUTILS,GCC} options are used to prevent 'make check-old'
and 'make delete-old' from deleting files installed by the base/binutils
and base/gcc packages as normally one disables the in-tree variants
(e.g. WITHOUT_BINUTILS) when using these packages.

Reviewed by: bapt (earlier version)
Differential Revision: https://reviews.freebsd.org/D19483


# 5d3d68ab 21-Mar-2019 Cy Schubert <cy@FreeBSD.org>

From r345400, remove the ippool rc script when ipfilter is not wanted
by the user.

PR: 218433
MFC after: 2 weeks
X-MFC with: r345400


# b0840a28 16-Mar-2019 Dimitry Andric <dim@FreeBSD.org>

Connect lib/libomp to the build.

* Set MK_OPENMP to yes by default only on amd64, for now.
* Bump __FreeBSD_version to signal this addition.
* Ensure gcc's conflicting omp.h is not installed if MK_OPENMP is yes.
* Update OptionalObsoleteFiles.inc to cope with the conflicting omp.h.
* Regenerate src.conf(5) with new WITH/WITHOUT fragments.

Relnotes: yes
PR: 236062
MFC after: 1 month
X-MFC-With: r344779


# 77e6f928 12-Mar-2019 Cy Schubert <cy@FreeBSD.org>

Fix still installing ipfilter rc.d files even when WITHOUT_IPFILTER
is specified.

When WITHOUT_IPFILTER is specified, delete-old-files fails to delete
the optional rc.d files from above. Fix this.

WITHOUT_IPFILTER fails to delete the ipfilter.5 optional file during
delete-old-files. Fix this.

Reported by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
MFC after: 1 week


# 24c93e4a 11-Mar-2019 Enji Cooper <ngie@FreeBSD.org>

Remove optional files when MK_GOOGLETEST == yes


# 2e881c1a 28-Feb-2019 Bryan Drewery <bdrewery@FreeBSD.org>

bsd.nls.mk isn't optional.

It is protected by MK_NLS. If it should really be optional then
it needs to be documented as such in share/mk/bsd.README and
.sinclude used where needed.

This fixes a regression from r335011.

PR: 232527
Submitted by: jarrod@downtools.com.au
Reported by: ktullavik@gmail.com
MFC after: 3 days


# 7588d90e 16-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Few more corrections to WITHOUT_OFED=1 make delete-old removal:

- Drop profile libraries; MK_PROFILE=no is set in all Makefile's.
- Correct library path to libmlx5.so.1 and libibverbs.so.1

MFC after: 5 days
MFC with: 344207


# fe3d954e 16-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Remove corresponding lib32/ files when WITHOUT_OFED=1 is set

MFC after: 5 days
MFC with: 344207


# 4a0225e5 16-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Refresh OptionalObsoleteFiles.inc for MK_PMC:

- Add missing /usr/sbin/pmc, pmcformat.h, libpmcstat.h and pmc.haswellxeon.3
to the list.
- Correct man page section for pmcstudy.8.
- Include recently added libipt and libopencsd for corresponding TARGET_ARCH

MFC after: 5 days


# b94a281e 15-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Add more rc.d scripts / empty directors / config files into
OptionalObsoleteFiles.inc

Note: only files with conditional installation logic were
included from the PR.

PR: 233046
Submitted by: <rozhuk.im@gmail.com>
MFC after: 5 days


# 48514fe1 15-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Allow to remove unused files via 'make delete-old(-libs)' when WITHOUT_OFED
and / or WITHOUT_OFED_EXTRA src.conf(5) options are set.

MFC after: 5 days


# ebd13ba3 15-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Remove vi(1)-related files via 'make delete-old' when WITHOUT_VI=1 is set.

MFC after: 5 days


# 984aff28 07-Feb-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Correct ypldap(8) install path in OptionalObsoleteFiles.inc

It's installed to /usr/sbin, not to /usr/bin (and was always here).

While here, add missing manpages and /var/yp directory to the list.

MFC after: 1 week


# 31f53eaa 27-Jan-2019 Andriy Voskoboinyk <avos@FreeBSD.org>

Remove RADIUS-related files when WITHOUT_RADIUS_SUPPORT=true is set
in src.conf(5)

PR: 234041
MFC after: 5 days


# 58a7b5d6 22-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Update libc++ build glue, and ObsoleteFiles.


# 6b77b5ec 20-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add more profile-enabled libraries to remove when WITHOUT_PROFILE is defined

PR: 230898
Submitted by: Herbert J. Skuhra <herbert@mailbox.org>
MFC after: 1 week


# 0bf31f1f 20-Jan-2019 Dimitry Andric <dim@FreeBSD.org>

Update version numbers, and regenerate config headers for llvm, clang,
lld and lldb. Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc.


# 33b63711 17-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add ypldap to the list of conditional obsolete files

ypldap should be removed during delete-old if WITHOUT_NIS flag is enabled

PR: 230727
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>
MFC after: 1 week


# 0a34fc88 16-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Fix conditional obsolete files entry for WITHOUT_EXAMPLES

Add all the files under /usr/share/examples to the MK_EXAMPLES
section. OLD_DIRS entries are not removed if they're not empty so
prior to this change WITHOUT_EXAMPLES didn't have significant effect
on the updated system.

PR: 228484
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru> (original patch)
MFC after: 1 week


# aca16d28 16-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add optional obsolete files for the installworld without sendmail

Add two more entries for WITHOUT_SENDMAIL install. The /var/spool/clientmqueue
entry would be deleted only if there are no files/dirs in it, so the
content generated during previous lifecycle of the system is safe

PR: 228484
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>
MFC after: 1 week


# d46dea50 13-Jan-2019 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add four kerberos CLI utilities to OptionalObsoleteFiles.inc

Add asn1_compile, make-roken, kcc, and slc to the OptionalObsoleteFiles.inc
so they would be removed during delete-old stage if the new world is built
without Kerberos support.

PR: 230725
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>
MFC after: 1 week


# 0fc0faf8 11-Jan-2019 Lars Engels <lme@FreeBSD.org>

Add `bluetooth-config` script to simplify setting up bluetooth connections to
devices like mice, keyboards, bt-audio, ...

This script currently allows scanning for nearby devices, adds one to
/etc/bluetooth/hosts, adds an entry to hcsecd's conf and if it is a HID, add an
entry to bthidd's configs, as well.

Submitted by: erdgeist <erdgeist@erdgeist.org>
Approved by: bapt
MFC after: 2 weeks
Differential Revision: D3778
Reviewers: bapt, emax


# 354c6a44 07-Jan-2019 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove groff leftovers

usr/share/dict/eign is removed unconditionally as of r319664, so it no
longer needs to be in OptionalObsoleteFiles.

PR: 230353
Reported by: philippe.michel7 sfr.fr


# b1ce931b 17-Dec-2018 Alan Somers <asomers@FreeBSD.org>

Conditionalize installtion audit(4) tests on MK_AUDIT

MK_AUDIT already controls auditd(8), praudit(1), etc. It should also control
the audit test suite.

Submitted by: ngie
MFC after: 2 weeks
Pull Request: https://github.com/freebsd/freebsd/pull/240


# 314ce98e 16-Dec-2018 Alan Somers <asomers@FreeBSD.org>

OptionalObsoleteFiles: Fix deleting usr/tests/usr.sbin/sa

It's a directory, not a file.

Reported by: ngie
MFC after: 2 weeks
X-MFC-With: 300938


# 738ea871 16-Dec-2018 Alan Somers <asomers@FreeBSD.org>

Conditionally install /etc/rc.d/audit* based on ${MK_AUDIT}

/usr/sbin/audit(dist)?d are only installed if ${MK_AUDIT} == yes. Their
supporting scripts should only be installed in those instances as well.

Submitted by: ngie
Reviewed by: emaste
MFC after: 2 weeks
Pull Request: https://github.com/freebsd/freebsd/pull/242


# 11783f00 15-Dec-2018 Cy Schubert <cy@FreeBSD.org>

Repair build post-r342139


# 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


# eda7d3be 26-Nov-2018 Ed Maste <emaste@FreeBSD.org>

Do not install GNU ld if lld is /usr/bin/ld

GNU binutils ld.bfd 2.17.50 does not support ifuncs and produces broken
binaries when ifuncs are in use. When LLD_IS_LD is default we have an
ifunc-capable system linker and can just avoid installing ld.bfd.

Reported by: theraven
Reviewed by: bz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D18340


# e8bd2804 09-Nov-2018 Ed Maste <emaste@FreeBSD.org>

Move llvm-profdata build into MK_LLVM_COV block

llvm-profdata is used with llvm-cov for code coverage (although llvm-cov
can also operate independently in a gcov-compatible mode).
Although llvm-profdata can be used independently of llvm-cov it makes
sense to group these under one option.

Also handle these in OptionalObsoleteFiles.inc while here.

Sponsored by: The FreeBSD Foundation


# 9f7331ad 09-Nov-2018 Ed Maste <emaste@FreeBSD.org>

llvm-cov: also install as gcov (if GNU gcov is disabled)

llvm-cov provides a gcov-compatible interface when invoked as gcov.

Reviewed by: dim, markj
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D17923


# 2f02c9d6 09-Nov-2018 Ed Maste <emaste@FreeBSD.org>

Consolidate gcov entries in OptionalObsoleteFiles

Sponsored by: The FreeBSD Foundation


# 25569cea 25-Sep-2018 Ed Maste <emaste@FreeBSD.org>

Do not remove ld man page if lld is enabled and binutils is not

Reported by: Mark Millard
Approved by: re (gjb)
Sponsored by: The FreeBSD Foundation


# 3efdd580 07-Sep-2018 Ed Maste <emaste@FreeBSD.org>

Remove strings from OptionalObsoleteFiles.inc

Since r326030 strings is installed unconditionally so should not be
removed when WITHOUT_TOOLCHAIN is set.

Reported by: Dan McGregor
Approved by: re (kib)
Sponsored by: The FreeBSD Foundation


# 8369ba42 24-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

libbe(3)/bectl(8): Make consistent with beadm

vermaden (maintainer of beadm) points out the following inconsistencies:
- "missing command" is not printed prior to usage if the error is simply a
missing command; this should be obvious from the context
- "bectl rename" isn't using the "don't unmount" flag (zfs rename -u), so
the active BE can't be renamed. It doesn't make sense in our context to
*not* use -u, so use it.

Documentation updates reflect the above and note an inconsistency with the
'destroy' command that is consistent with other parts of the base system.

A fix for libbe(3) not properly being installed to /lib is included.
SHLIBDIR should have been added when it was moved in r337995.

Approved by: re (kib)


# d7f41421 23-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

Remove hyper-v leftovers when WITHOUT_HYPERV is set

hv_vss_daemon was missed.

Submitted by: Oliver Pinter
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D16811


# ea8b116b 22-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

Remove ZFS leftovers when WITHOUT_ZFS is set

Submitted by: Oliver Pinter
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D16810


# a757dfac 03-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Update lib/libclang_rt for compiler-rt trunk r338150.


# 488aa40a 02-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Update libc++ and libc++experimental Makefiles, add libc++fs Makefile,
and update OptionalObsoleteFiles.inc for new additions.


# 67b158f6 01-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Update build blue to make WITH_CLANG_EXTRAS and WITH_CLANG_FULL work.


# d28668f9 31-Jul-2018 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for new clang intrinsics headers.


# 6dfa117f 31-Jul-2018 Dimitry Andric <dim@FreeBSD.org>

Update llvm/clang version numbers in various files.


# 6f077571 04-Jul-2018 Sean Bruno <sbruno@FreeBSD.org>

WITHOUT_SERVICESDB:

Add src.conf knob to disable the installation of /var/db/services.db

Default to leaving services.db in place, but allow the removal of the
file and its creation with a src.conf knob.

This file ends up being 2MB in size. For small systems this is a waste
of space but its a tradeoff.

Reviewed by: bdrewery
Differential Revision: https://reviews.freebsd.org/D9655


# 55458465 30-Jun-2018 Dimitry Andric <dim@FreeBSD.org>

More follow-up to r335799 (llvm/clang 6.0.1 update), where I forgot to
update mtree files, ObsoleteFiles and a number of other paths. Sorry
about all the breakage.

Pointy hat to: me
MFC after: 2 weeks
X-MFC-With: r335799


# 6a75ef58 20-Jun-2018 Kyle Evans <kevans@FreeBSD.org>

Don't remove loader.conf(5) when built WITHOUT_FORTH

The new stand/ structure installs loader.conf(5) and defaults/loader.conf
regardless of interpreter. The only thing gating installation now is
MK_BOOT.

Reported by: eadler


# 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


# cd134777 12-Jun-2018 Sean Bruno <sbruno@FreeBSD.org>

WITHOUT_NLS cleanup of more empty dirs.

Reviewed by: emaste
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D15626


# a8056486 09-Jun-2018 Dimitry Andric <dim@FreeBSD.org>

Add missed libc++ entries to (Optional)ObsoleteFiles.inc

Some of these were removed during the libc++ 5.0.0 import, others were
added in the libc++ 6.0.0 import.

MFC after: 3 days


# 30dc9502 06-Jun-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Remove NLS support from BSD grep

GNU grep as in actually in base does not have any translations support
compiled in, so no functionnality loss.

We do support 193 locales in base, we will never catch up on that number of
translation with bsd grep.

Removing NLS support make bsd grep consistent with the other binaries in base
which are not translated, and also reduce a little bit the code.

Reviewed by: kevans
Approved by: kevans
Discussed with: kevans @BSDCan
Differential Revision: https://reviews.freebsd.org/D15682


# f3e32074 23-May-2018 Eitan Adler <eadler@FreeBSD.org>

Add missing file for WITH{OUT}_BSDINSTAL

PR: 227805
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>


# b70d78d6 12-May-2018 Dag-Erling Smørgrav <des@FreeBSD.org>

Rename all Unbound binaries and man pages from unbound* to local-unbound*.

PR: 222902


# 612c330d 25-Apr-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Use a script wrapper for <compress>grep

Import the wrapper script from zstdgrep (written by wiz@netbsd.org)

Modify it to support more than just zstd (adding support for gzip,
lzma, xz and bzip2)

Write a simple manpage dedicated for it.

Only use that new wrapper both for gnu grep and bsd grep

Next step will be removing code related to compression format from bsdgrep

Reviewed by: kevans
Approved by: kevans
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D15193


# a2739731 06-Feb-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Remove gdbtui, it was already not installed on every arches
only installed on arm and sparc64.
It is the only bits that keeps us having libreadline in base
The rest of gdb can be switched to libedit and will be in another
commit


# c9d5cb17 24-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc again.


# 0c4684a8 23-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for new headers and libraries under
/usr/lib/clang/6.0.0.


# 9509d906 23-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Add new llvm-objcopy utility, enabled when MK_CLANG_EXTRAS=yes.


# d49fee24 20-Dec-2017 Dimitry Andric <dim@FreeBSD.org>

Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc.


# 898300ee 07-Nov-2017 Alexander Motin <mav@FreeBSD.org>

s/NgSendMsgReply/NgSendReplyMsg/ in man to match the code.

Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
MFC after: 2 weeks


# 578ec783 11-Oct-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Do not try to remove diff.7 optionaly has it is always removed
since GNU diff(1) has been replaced with BSD diff(1)


# 00d78afd 11-Oct-2017 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: remove diff from MK_GNU_DIFF=no block

diff (and man page) are not from GNU, as of r317209, and should not be
deleted if WITHOUT_GNU_DIFF is set. (WITHOUT_GNU_DIFF still controls
whether diff3 is built.)

Sponsored by: The FreeBSD Foundation


# e415aa28 06-Oct-2017 Jeremie Le Hen <jlh@FreeBSD.org>

Remove rcmds.

If they are still needed, you can find them in the net/bsdrcmds port.

This was proposed June, 20th and approved by various committers [1].
They have been marked as deprecated on CURRENT in r320644 [2] on July, 4th.
Both stable/11 and release/11.1 contain the deprecation notice (thanks to
allanjude@).

Note that ruptime(1)/rwho(1)/rwhod(8) were initially thought to be part of
rcmds but this was a mistake and those are therefore NOT removed.

[1] https://lists.freebsd.org/pipermail/freebsd-arch/2017-June/018239.html
[2] https://svnweb.freebsd.org/base?view=revision&revision=320644

Reviewed by: bapt, brooks
Differential Revision: https://reviews.freebsd.org/D12573


# 4154e70e 14-Sep-2017 Ed Maste <emaste@FreeBSD.org>

Update OptionalObsoleteFiles.inc with NTP docs

The list of files for MK_NTP was incomplete.

PR: 218193
Submitted by: brnrd
MFC after: 1 week


# 4572fb3f 13-Sep-2017 Gordon Tetlow <gordon@FreeBSD.org>

Deorbit catman. The tradeoff of disk for performance has long since tipped
in favor of just rendering the manpage instead of relying on pre-formatted
catpages. Note, this does not impede the ability to use existing catpages,
it just removes the utility to generate them.

Reviewed by: imp, allanjude
Approved by: emaste (mentor)
Differential Revision: https://reviews.freebsd.org/D12317


# 63cd05d9 16-Aug-2017 Ed Maste <emaste@FreeBSD.org>

remove debug files in delete-old* when WITHOUT_DEBUG_FILES

Reported by: brd
Reviewed by: bdrewery, brd
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D12044


# 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


# 738919c0 07-Jun-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Remove groff from base

All manpages in base are now compatible with mandoc(1), all roff documentation
will be relocated in the doc tree. man(1) can now use groff from the ports tree
if it needs.

Also remove checknr(1) and colcrt(1) which are only useful with groff.

Approved by: (no objections on the mailing lists)


# cdc37953 25-May-2017 Baptiste Daroussin <bapt@FreeBSD.org>

In preparation for the removal of the roff toolchain, disconnect the
roff documentation from the build.

Those documents will be added to the doc tree and distributed as PDF from
the documentation website. As they are valuable has history, but do not match
current FreeBSD

Further more, the ascii format we were using to distribute them is not really
accurate for such documents.

more details:
https://lists.freebsd.org/pipermail/freebsd-arch/2017-May/018211.html


# 583b5f35 23-May-2017 Glen Barber <gjb@FreeBSD.org>

Honor WITHOUT_TFTP for check-old* and delete-old* targets.

Submitted by: philippe dot michel7 at sfr dot fr
PR: 217949
MFC after: 3 days
Sponsored by: The FreeBSD Foundation


# 6930ca74 21-May-2017 Dimitry Andric <dim@FreeBSD.org>

Add libc++experimental.a for std::experimental support

This adds a separate library for supporting std::experimental features.
It is purposefully static, and must be explicitly linked into programs
using -lc++experimental.

PLEASE NOTE: there is NO WARRANTY as to any stability or continuing
existence of the features in the std::experimental parts of the C++
library!

Reviewed by: ed
Differential Revision: https://reviews.freebsd.org/D10840


# e5c4c8aa 12-May-2017 Enji Cooper <ngie@FreeBSD.org>

Handle the logfiles in newsyslog and syslogd conditionally, based on
src.conf(5) knobs

This will allow consumers of FreeBSD to use the unmodified configuration
files out of the box more than previously.

Both newsyslog.conf and syslog.conf:
- /var/log/lpd-errs (MK_LPR != no)
- /var/log/ppp.log (MK_PPP != no)
- /var/log/xferlog (MK_FTP != no)

newsyslog.conf:
- /var/log/amd.log (MK_AMD != no)
- /var/log/pflog (MK_PF != no)
- /var/log/sendmail.st (MK_SENDMAIL != no)

MFC after: 3 weeks
Sponsored by: Dell EMC Isilon


# 2cb572a0 11-May-2017 Enji Cooper <ngie@FreeBSD.org>

Unconditionally install udp(4) and udplite(4) again

I added this to the MK_USB != no block in error in r278202.

MFC after: 3 weeks
Sponsored by: Dell EMC Isilon


# 50f2b14e 09-May-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc for r318103.


# b4e2ab78 25-Apr-2017 Brooks Davis <brooks@FreeBSD.org>

Remove NATM configuration bits and assorted NATM and ATM remnants.

Reported by: ak
Reviewed by: ngie (first version)
Differential Revision: https://reviews.freebsd.org/D10497


# 73ad3fb5 25-Apr-2017 John Baldwin <jhb@FreeBSD.org>

Add a new GDB_LIBEXEC option to install gdb and kgdb to /usr/libexec.

When this option is enabled, only gdb and kgdb are installed to
/usr/libexec for use by crashinfo(8). Other bits of GDB such as
gdbserver and gdbtui are not installed. For this option to be
effective, GDB must be enabled.

Rework r317094 to re-enable GDB on all platforms but enable
GDB_LIBEXEC on platforms for which the GDB in ports is a superset of
functionality.

Reviewed by: emaste, kib
Suggested by: kib
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D10449


# b3ac6549 25-Apr-2017 Glen Barber <gjb@FreeBSD.org>

Remove an incorrect MLINK for tree(3) introduced in r310728.

Reported by: many
PR: 216476
MFC after: 3 days
Sponsored by: The FreeBSD Foundation


# 12ea3078 25-Apr-2017 John Baldwin <jhb@FreeBSD.org>

Remove info files from optional old files.

Info files are now all removed unconditionally after the removal of
texinfo.

MFC after: 1 week


# 50502545 20-Apr-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Readd Big5: some large databases setup are still requiring it.

Reported by: "張君天(Chun-Tien Chang)" <tcs@kitty.2y.idv.tw>


# f849be8a 16-Apr-2017 Dimitry Andric <dim@FreeBSD.org>

Add preliminary UPDATING and ObsoleteFiles.inc entries. Also add one
new intrinsics header.


# 2f4a7332 14-Apr-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionally install /etc/pam.d/ftp* and /etc/pam.d/telnetd

/etc/pam.d/ftp* should be installed with MK_FTP != no and
/etc/pam.d/telnetd should be installed when MK_TELNET != no.

MFC after: 7 weeks
Sponsored by: Dell EMC Isilon


# ababdab0 19-Mar-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Remove zh_TW.Big5 locale

After discussion with many Taiwanese, in IT or not. Big5 is not used anymore.
It is not able to represent lots of the characters used in the language.


# 2aadc44a 14-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Redirect standard error from find /rescue to /dev/null

This mutes noise from find when /rescue doesn't exist.

MFC after: 1 week
Sponsored by: Dell EMC Isilon


# 83684150 11-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Remove /rescue/zdb if MK_ZFS == no

Missed in r202452.

MFC after: 3 days
Sponsored by: Dell EMC Isilon


# 4ab40004 11-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionally compile [additional] programs into rescue(8) if requested

Trivial oversight missed in r314240 cleanup because I enable these knobs on
my test machines.

MK_INET6_SUPPORT - rtsol
MK_NETCAT - nc

MFC after: 3 days
Sponsored by: Dell EMC Isilon


# a1437e83 11-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Remove /rescue/iscsictl and /rescue/iscsid if MK_ISCSI == no

MFC after: 3 days
Sponsored by: Dell EMC Isilon


# 97ab006d 10-Mar-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Remove the WITHOUT_MANDOCDB option

mandoc database is activated since FreeBSD 11.0, let's remove the previous
database format for FreeBSD 12.0


# edb4a773 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Fill MK_LIBTHR as far as lib/libthr is concerned

There are other areas of the tree that will need to be evaluated for sanity
if they're supposed to be conditionally compiled out of the build/install,
like libzpool

MFC after: 1 month
Relnotes: yes (this might break someone's system if have the knob set)
Sponsored by: Dell EMC Isilon


# dc53eebd 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Remove MK_OBJC block

It is no longer represented via src.conf(5)

MFC after: 3 days
Sponsored by: Dell EMC Isilon


# 31c3fb77 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Remove MK_CRYPT stub

It doesn't directly control what gets installed today; it indirectly
pulls other knobs (like MK_KERBEROS, etc).

MFC after: 1 weeks
Sponsored by: Dell EMC Isilon


# f0e14055 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Fill in MK_RESCUE by finding paths in ${DESTDIR}/rescue and adding
them to OLD_FILES/OLD_DIRS, as necessary.

MFC after: 1 month
Sponsored by: Dell EMC Isilon


# 5673173e 24-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionally compile certain programs into rescue(8) if requested

MK_CCD - ccdconfig
MK_ROUTED - routed, rtquery

MFC after: 2 weeks
Sponsored by: Dell EMC Isilon


# 9264dd40 17-Feb-2017 Sean Bruno <sbruno@FreeBSD.org>

Update OLD_DIRS for various targets so that some of the branches of
directories are pruned when the appropriate knobs are turned.

Specifically, turning off bsdconfig, locales, examples, i18n, man,
ntp, syscons. It may not seem like a lot, but it helps when trying
to keep an x86 image under 96MB for MFSRoot netbooting.

Reviewed by: ngie
Differential Revision: https://reviews.freebsd.org/D9558


# 2b375b4e 27-Jan-2017 Yoshihiro Takahashi <nyan@FreeBSD.org>

Remove pc98 support completely.
I thank all developers and contributors for pc98.

Relnotes: yes


# 2dd1186c 27-Jan-2017 Ed Maste <emaste@FreeBSD.org>

Rename LLD_AS_LD to LLD_IS_LD, for consistency with CLANG_IS_CC

An additional case missed in r312855


# ca4fe588 27-Jan-2017 Ed Maste <emaste@FreeBSD.org>

Additional LD_AS_LLD -> LD_IS_LLD missed in r312894/r312895


# 7b173dd6 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Add additional libc++ 4.0.0 headers.


# 0219a006 09-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Add recently added libc++ headers to OptionalObsoleteFiles.inc.

MFC after: 3 days


# dc6e1047 06-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Link llvm-ar to llvm-ranlib, if WITH_CLANG_EXTRAS is enabled. When
invoked as llvm-ranlib, it can create an archive symbol table for
archives of objects compiled for LTO by an LLVM compiler.

Submitted by: Dan McGregor <danismostlikely@gmail.com>
MFC after: 3 days


# 4c3d1ae2 04-Jan-2017 Jung-uk Kim <jkim@FreeBSD.org>

Remove llvm-objdump when Clang is disabled. It was missed in r310889.

Submitted by: dim


# 281264c5 04-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Add new llvm-{cxxfilt,lto2,modextract,xray} tools.


# 56e860c0 03-Jan-2017 Dimitry Andric <dim@FreeBSD.org>

Update OptionalObsoleteFiles.inc.


# cfd05404 31-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install bsnmpclient(3) as snmp_client_{init,set_host,set_port}(3)

MFC after: 3 days
X-MFC with: r310999


# a2795311 30-Dec-2016 Jung-uk Kim <jkim@FreeBSD.org>

Do not remove llvm-objdump. It is installed by default since r310840.


# 027e6861 28-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install {asn1,bsnmpagent,bsnmpclient,bsnmplib}.3 as all of the APIs
they document

Also, alphabetically sort MAN

MFC after: 3 days


# fdf6944b 28-Dec-2016 Andriy Voskoboinyk <avos@FreeBSD.org>

rum.4, run.4, runfw.4, zyd.4: do not install when MK_USB == no.

While here, add missing if_rtwn_usb.4.gz symlink into
OptionalObsoleteFiles.inc


# 4568bf74 27-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Only build/install usr.sbin/bsnmpd/modules/snmp_hast if MK_HAST != no

MFC after: 1 week


# 38bf4fd7 27-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Only build/install usr.sbin/bsnmpd/modules/snmp_wlan if MK_WIRELESS != no

MFC after: 1 week


# f66b889d 27-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install snmpmod.3 as all of the bsnmpd APIs it documents

MFC after: 3 days


# 9e373074 16-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Remove lib/libelf's manpages if MK_TOOLCHAIN == no

Add a comment to help figure out which set is lib/libelf's and which set
is lib/libelftc's

MFC after: 1 week


# 4cc3366d 16-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install the lib/libelftc manpages

Some other manpages, e.g. c++filt reference these

MFC after: 1 week


# 1a4604e3 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_FINGER in src.conf when running make delete-old

PR: 213719
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days


# bdc5a216 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_BOOTPD in src.conf when running make delete-old

PR: 213720
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days


# 06af16fb 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_BOOTPARAMD in src.conf when running make delete-old

PR: 213721
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days


# 53a04062 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Respect WITHOUT_RBOOTD in src.conf when running make delete-old

PR: 213722
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days


# 87ac01ca 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Also remove auditdistd files if src.conf has WITHOUT_AUDIT

PR: 213723
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days


# 0c421ffe 09-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Add entries to remove timed files with make delete-old if WITHOUT_TIMED is set

PR: 213724
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days


# beced2ea 09-Dec-2016 Ed Maste <emaste@FreeBSD.org>

Keep /usr/bin/ld for WITHOUT_BINUTILS but WITH_LLD_AS_LD

Reported by: Nikolai Lifanov


# 8d4ddada 05-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Remove svn[lite]{bench,fsfs} if either MK_SVN == no or MK_SVNLITE == no

MFC after: 1 week


# 5042637b 02-Dec-2016 Dimitry Andric <dim@FreeBSD.org>

Update build glue for clang 3.9.1 r288513.


# 6908adc3 27-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Add a few missed clang 3.9.0 files to OptionalObsoleteFiles.

X-MFC-With: 309149


# 45bd65d6 25-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Add UPDATING entry and update ObsoleteFiles.inc.


# 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


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

Do not install NIS program rc script if WITHOUT_NIS is set

PR: 213375
Submitted by: sergey@akhmatov.ru
MFC after: 3 days


# 547d4caa 21-Oct-2016 Enji Cooper <ngie@FreeBSD.org>

Remove /usr/libexec/bsdinstall/hardening if MK_BSDINSTALL == no

MFC after: 3 days
Sponsored by: Dell EMC Isilon


# 94ff3d03 20-Oct-2016 Ed Maste <emaste@FreeBSD.org>

Add knobs to make GNU diff and GNU grep optional

This is added to facilitate experiments building FreeBSD without
copyleft software.

If WITHOUT_GNU_DIFF is set no /usr/bin/diff or /usr/bin/diff3 will
be built.

If WITHOUT_GNU_GREP is set then BSD grep will be installed as
/usr/bin/bsdgrep or /usr/bin/grep, depending on the WITH_BSD_GREP
knob.

Reviewed by: brooks (earlier)
Sponsored by: The FreeBSD Foundation
Differential Revision: Differential Revision: https://reviews.freebsd.org/D8288


# 7453645f 17-Oct-2016 Andriy Voskoboinyk <avos@FreeBSD.org>

rtwn(4), urtwn(4): merge common code, add support for 11ac devices.

All devices:
- add support for rate adaptation via ieee80211_amrr(9);
- use short preamble for transmitted frames when needed;
- multi-bss support:
* for RTL8821AU: 2 VAPs at the same time;
* other: 1 any VAP + 1 sta VAP.
RTL8188CE:
- fix IQ calibration bug (reason of significant speed degradation);
- add h/w crypto acceleration support.
USB:
- A-MPDU Tx support;
- short GI support;
Other:
- add support for RTL8812AU / RTL8821AU chipsets
(a/b/g/n only; no ac yet);
- split merged code into subparts:
* bus glue (usb/*, pci/*, rtl*/usb/*, rtl*/pci/*)
* common (if_rtwn*)
* chip-specific (rtl*/*)
- various other bugfixes.

Due to code reorganization, module names / requirements were changed too:
urtwn urtwnfw -> rtwn rtwn_usb rtwnfw
rtwn rtwnfw -> rtwn rtwn_pci rtwnfw

Tested with RTL8188CE, RTL8188CUS, RTL8188EU and RTL8821AU.

Tested by: kevlo, garga,
Peter Garshtja <peter.garshtja@ambient-md.com>,
Kevin McAleavey <kevin.mcaleavey@knosproject.com>,
Ilias-Dimitrios Vrachnis <id@vrachnis.com>,
<otacilio.neto@bsd.com.br>
Relnotes: yes


# a0135a1e 14-Oct-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Remove GNU rcs from base.

GNU rcs is still available as a package:
- rcs: Latest GPLv3 GNU rcs version.
- rcs57: Copy of the latest version of GNU rcs (GPLv2) from base.

Relnotes: yes


# bba922dd 13-Oct-2016 Enji Cooper <ngie@FreeBSD.org>

Also, remove etc/rc.d/zfsbe when MK_ZFS == no

X-MFC with: r307182, r307191
Sponsored by: Dell EMC Isilon


# f884b59d 10-Oct-2016 Ed Maste <emaste@FreeBSD.org>

Remove old makewhatis(1) man page when using mandoc

mandoc installs makewhatis(8)


# 9ce3c6b0 03-Oct-2016 Ed Maste <emaste@FreeBSD.org>

Retire WITHOUT_ELFCOPY_AS_OBJCOPY option

In FreeBSD 11 ELF Tool Chain's elfcopy is installed as objcopy by
default, with the option to switch back to GNU objcopy by setting
WITHOUT_ELFCOPY_AS_OBJCOPY in make.conf.

We plan to remove the outdated in-tree binutils in FreeBSD 12, so
remove the temporary transition aid.

Reviewed by: brooks, imp
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D7337


# 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


# dd792b9c 07-Sep-2016 Ed Maste <emaste@FreeBSD.org>

Add ld.lld to OptionalObsoleteFiles


# dd6675fd 02-Sep-2016 Dimitry Andric <dim@FreeBSD.org>

Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc.


# 09b9789b 19-Aug-2016 John Baldwin <jhb@FreeBSD.org>

Remove the wl(4) driver and wlconfig(8) utility.

The wl(4) driver supports pre-802.11 PCCard wireless adapters that
are slower than 802.11b. They do not work with any of the 802.11
framework and the driver hasn't been reported to actually work in a
long time.

Relnotes: yes


# 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


# bd4dcc3e 22-Jul-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Move chown tests to proper path

Sponsored by: EMC / Isilon Storage Division


# d39abb6f 03-Jul-2016 Enji Cooper <ngie@FreeBSD.org>

Remove ftp(1) related files when MK_FTP == no

Approved by: re (gjb)
Differential Revision: https://reviews.freebsd.org/D6969
MFC after: 1 week
Reviewed by: ngie
Submitted by: rakuco
Sponsored by: EMC / Isilon Storage Division


# 3cf6509d 03-Jul-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Posixify the locales name for variants

For all locales with variants:
- if no ambiguity on the locale (only one variant) just use the regular name
- if ambiguity, pick one as default and append @<variant> to the others
respecting POSIX

As a result:
- All the 3 components locales added recently are renamed to the usual 2
components version for all but sr_RS.UTF-8
- Set sr_RS.UTF-8 to the cyrillic variant
- Add sr_RS.UTF-8@latin
- Remove the symlinks aliases they were created to represent the 2 components
version as aliasas and are now useless
- Update the OptionalObsoleteFiles.inc and ObsoleteFiles.inc to reflect those
changes

Discussed with: ache@
Approved by: re@ (gjb)


# bc2abcfd 17-Jun-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Add clang-format under WITH_CLANG_EXTRAS.

Reviewed by: dim
Approved by: re (gjb)
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D6856


# 328e4174 08-Jun-2016 Dag-Erling Smørgrav <des@FreeBSD.org>

Replace _pam_verbose_error() with a macro. This was the last difference
between our libpam and stock OpenPAM, meaning that it is now possible to
replace the base libpam with a hypothetical ports version of OpenPAM.


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

Separate BLACKLIST vs BLACKLIST_SUPPORT properly

Sponsored by: The FreeBSD Foundation


# bccb3f5a 04-Jun-2016 Kurt Lidl <lidl@FreeBSD.org>

Correct path for blacklistd.conf in OptionalObsoleteFiles.inc

Fix typo made when adding the blacklistd.conf file to OptionalObsoleteFiles.inc

Submitted by: Herbert J. Skuhra ( herbert at mailbox.org )
Reviewed by: rpaulo
Approved by: rpaulo
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6715


# 0871a7d5 03-Jun-2016 Kurt Lidl <lidl@FreeBSD.org>

Add blacklistd.conf manpage

Install the blacklistd.conf man page, missed in the original commit.

Submitted by: Herbert J. Skuhra ( herbert at mailbox.org )
Reviewed by: rpaulo
Approved by: rpaulo
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6702


# 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


# d9082519 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove yacc and the yacc tests if MK_TOOLCHAIN == no

yacc's install is conditional based on MK_TOOLCHAIN != no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


# 5c46b734 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove the sa(8) tests if MK_ACCT == no when "make delete-old" is run

sa(8) is conditionally installed based on MK_ACCT != no today

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


# 36873e79 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove the etcupdate tests if MK_RCS == no when "make delete-old" is run

etcupdate is conditionally installed based on MK_RCS != no today

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


# a058bc90 28-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove the calendar tests if MK_CALENDAR == no when "make delete-old"
is run

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


# 904bea83 14-May-2016 Enji Cooper <ngie@FreeBSD.org>

Conditionalize installing etc/rc.d/atm{1,2,3}

`BEFORE: netif` was already in etc/rc.d/atm1, so no additional changes
are needed in that script

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


# fbee792a 14-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove etc/rc.d/{zfs,zvol} if MK_ZFS != no

MFC after: 2 weeks
X-MFC with: r299840
Sponsored by: EMC / Isilon Storage Division


# 9941801f 06-May-2016 Enji Cooper <ngie@FreeBSD.org>

Only install etc/rc.d/{rfcomm_pppd_server,sdpd} if MK_BLUETOOTH != no

These are bluetooth specific services

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


# 9c613777 06-May-2016 Enji Cooper <ngie@FreeBSD.org>

Fix r299162

share/man/man8/Makefile:
- Add src.opts.mk so MK_NIS can be tested
- Fix typo in MK_NIS conditional

tools/build/mk/OptionalObsoleteFiles.inc:
- Remove WIP diff from ^/user/ngie/detangle-rc

MFC after: 1 week
X-MFC with: r299162
Sponsored by: EMC / Isilon Storage Division


# 18128d28 06-May-2016 Enji Cooper <ngie@FreeBSD.org>

Only install NIS section 8 manpages if MK_NIS != no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


# 2353cc3d 16-Apr-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Complete the Obsoletefiles entries


# 110cf8a6 16-Apr-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Regenerates locales Makefiles and locales


# 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


# 156e1855 19-Feb-2016 Ed Maste <emaste@FreeBSD.org>

Remove objcopy in WITHOUT_TOOLCHAIN if it's from elftoolchain


# 8232a681 11-Feb-2016 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove unbound-contrl-setup since we use a local control socket which
does not require keys.

MFC after: 3 days
Relnotes: yes


# f5b4d341 07-Jan-2016 Renato Botelho <garga@FreeBSD.org>

Obsolete inetd related files when WITHOUT_INETD is set

Reviewed by: bapt
Approved by: gnn
MFC after: 1 week
Sponsored by: Rubiconn Communications (Netgate)
Differential Revision: https://reviews.freebsd.org/D4742


# f3304b8d 06-Jan-2016 Dimitry Andric <dim@FreeBSD.org>

Add new pkuintrin.h intrinsics header.


# 34cdd776 31-Dec-2015 Dimitry Andric <dim@FreeBSD.org>

First part of updating llvm/clang build glue: getting llvm-tblgen,
clang-tblgen and clang itself built.


# 802df53c 30-Dec-2015 Dimitry Andric <dim@FreeBSD.org>

Update various build glue files for the new llvm/clang version number.


# e7beaf99 23-Dec-2015 Ed Maste <emaste@FreeBSD.org>

Install ld also as ld.bfd, for use with cc -fuse-ld=bfd

PR: 205409 [exp-run]
MFC after: 1 week
Relnotes: Yes
Sponsored by: The FreeBSD Foundation


# a2acf602 16-Dec-2015 Ed Maste <emaste@FreeBSD.org>

Remove lldb(1) files if WITHOUT_LLDB is set

Sponsored by: The FreeBSD Foundation


# a9dfc956 01-Dec-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Fully connect cddl/usr.sbin/plockstat.

There seems to be no reason to keep this so private.

Also add missing optional MK_CDDL files.

Sponsored by: EMC / Isilon Storage Division


# 85ab8f98 29-Nov-2015 Dimitry Andric <dim@FreeBSD.org>

Install the public sanitizer headers. These are useful for programs
that want to directly interface with sanitizer internals.


# 1d211085 15-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Bring back a couple of ISO8859-15 locales:
- af_ZA.ISO8859-15
- en_AU.ISO8859-15
- en_CA.ISO8859-15
- en_NZ.ISO8859-15
- en_US.ISO8859-15
- fr_CA.ISO8859-15


# 0dc64c20 15-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Remove trailing spaces at end of lines


# 99b47c3c 15-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Update the list of files to be removed in case world is built WITHOUT_LOCALES


# 44642b54 10-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

- Move ng_bluetooth.4 under MK_BLUETOOTH != no
- Move all section 5 bluetooth manpages under MK_BLUETOOTH != no

MFC after: 3 days
PR: 193260
Reported by: Philippe Michel <philippe.michel7@sfr.fr>
Sponsored by: EMC / Isilon Storage Division


# 07fa68d6 07-Nov-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Catchup with latest changes for ObsoleteFiles in case base is built using
WITHOUT_LOCALE knob


# 2a923f8f 01-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

Rename etc/periodic/daily/430.status-rwho to periodic/daily/430.status-uptime

The command was checking local/remote system uptime, so rename the script to
match its function and to avoid confusion

The controlling variable in /etc/periodic.conf has been renamed from
daily_status_rwho_enable to daily_status_uptime_enable.

MFC after: 3 days
Reported by: Peter Jeremy <peter@rulingia.com>
Relnotes: yes
Sponsored by: EMC / Isilon Storage Division


# 55972acf 01-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

Conditionally install (if_)?(otus|rsu).4, otusfw.4, rsufw.4, and urtwn.4 if
MK_USB != no

Add the manpages to OptionalObsoleteFiles.inc

As a side-effect, this also fixes installworld with MK_USB == no

X-MFC with: r290128
Sponsored by: EMC / Isilon Storage Division


# 567be5c2 24-Oct-2015 Enji Cooper <ngie@FreeBSD.org>

Add libvmmapi to OptionalObsoleteFiles.inc when MK_BHYVE == no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


# 74c52c65 20-Oct-2015 Julio Merino <jmmv@FreeBSD.org>

Handle lib32 files during delete-old* when MK_LIB32=no.

Extend OptionalObsoleteFiles.inc to delete all lib32 files when MK_LIB32 is
set to no on a system that previously had lib32 libraries installed.

Also, to prevent "make delete-old-dirs" from always deleting lib32 directories
after an installworld, move the lib32 subtree to its own mtree file that only
gets applied when MK_LIB32=yes.

Test: Ran "make delete-old" and "make delete-old-libs" on a system that never
had MK_LIB32 enabled, and on a system where MK_LIB32 was enabled and later
disabled. Did this both on amd64 and powerpc64.

Test: Ran "make tinderbox" without errors.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D3923


# 9875367b 27-Sep-2015 Andriy Gapon <avg@FreeBSD.org>

remove unused sgsmsg utility (originally imported from opensolaris)

MFC after: 25 days


# 1e066951 25-Sep-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Add missing binutils ldscripts.

Some of these are after the fix in r288230 to install them.

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


# f7d9215f 20-Sep-2015 Enji Cooper <ngie@FreeBSD.org>

Delete /etc/autofs/special_noauto when MK_AUTOFS == no

MFC after: 1 week


# b1fa820d 20-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Don't install Intrin.h, as this is an intrinsics header for Windows.


# 55f80482 13-Aug-2015 Antoine Brodin <antoine@FreeBSD.org>

Stop removing ELF toolchain tools


# 1bc28ffc 13-Aug-2015 Ed Maste <emaste@FreeBSD.org>

Roll WITHOUT_ELFTOOLCHAIN_TOOLS into WITHOUT_TOOLCHAIN

The option was added only to ease the transition from GNU Binutils to
ELF Tool Chain tools, and that process is now complete (for the viable
replacements). Noting the removal in UPDATING is sufficient as we have
not shipped a release with the option.

Reviewed by: brooks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3240


# 53d2ddb3 11-Aug-2015 Julio Merino <jmmv@FreeBSD.org>

Mark usr/include/c++/v1/tr1 as obsolete

The directory usr/include/c++/v1 was marked as obsolete but its tr1 subdir
was not, resulting in a removal error in delete-old.


# e2ff105a 09-Aug-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Update Obsolete files in case MK_LOCALE=no


# b8a1f275 08-Aug-2015 Renato Botelho <garga@FreeBSD.org>

Add missing files to sendmail obsolete files list

Approved by: gshapiro
MFC after: 3 days
Sponsored by: Netgate
Differential Revision: https://reviews.freebsd.org/D3302


# f97aa232 05-Aug-2015 Ed Maste <emaste@FreeBSD.org>

Remove old GNU Binutils tools now provided by ELF Tool Chain

Reviewed by: bapt, brooks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3238


# b43cca13 29-Jul-2015 Ed Maste <emaste@FreeBSD.org>

MK_ELFCOPY_AS_OBJCOPY should be a variable

PR: 201978
Submitted by: O. Hartmann
Differential Revision: https://reviews.freebsd.org/D2887


# 5ea9e83e 29-Jul-2015 Ed Maste <emaste@FreeBSD.org>

Allow ELF Tool Chain elfcopy to be installed as objcopy

ELF Tool Chain elfcopy is nearly a drop-in replacement for GNU objcopy,
but does not currently support PE output which is needed for building
x86 UEFI bits.

Add a src.conf knob to allow installing it as objcopy and set it by
default for aarch64 only, where we don't have a native binutils.

Reviewed by: bapt
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2887


# 2d83b16b 29-Jul-2015 Ed Maste <emaste@FreeBSD.org>

Update OLD_FILES for tools provided by ELF Tool Chain or Binutils

Sponsored by: The FreeBSD Foundation


# c048a83f 26-Jul-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Replace GNU RCS ident with a BSD license ident

Rationale: ident(1) is useful out of RCS, lot of scripts are using ident(1) and
failing when base is built WITHOUT_RCS.

This version is:
- fully compatible with RCS 5.7 ident.
- fully compatible with RCS 5.9 ident.
- passes all ident test from GNU RCS 5.9 test suite

This version has support for: svn extension for the Keyword id (double colon and
# before last $)

Différences with GNU RCS ident:
- no long options as found in GNU RCS 5.9 (but not commented there).
- '-V' reports nothing but has been added for compatibility.

Differential Revision: https://reviews.freebsd.org/D3200
Reviewed by: pfg


# 96a59ba2 15-Jul-2015 Andrey A. Chernov <ache@FreeBSD.org>

Comment out usr/sbin/mailwrapper removal
because for no mailwrapper case we have:
/usr/sbin/sendmail -> /usr/sbin/mailwrapper
/usr/sbin/mailwrapper -> /usr/libexec/sendmail/sendmail
Add comment explaining it.


# cc38b640 23-Jun-2015 Dimitry Andric <dim@FreeBSD.org>

Update llvm/clang build glue.


# 62a996ed 20-Jun-2015 Antoine Brodin <antoine@FreeBSD.org>

Add more obsolete files


# 78fa96c2 20-Jun-2015 Antoine Brodin <antoine@FreeBSD.org>

Add some files to remove when MK_BSD_GREP=no


# e2dd1974 17-Jun-2015 Baptiste Daroussin <bapt@FreeBSD.org>

The build and installation of rmail(8) is only related to the SENDMAIL option


# 15953005 17-Jun-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Do not remove mailwrapper(8) in case WITHOUT_SENDMAIL is used

It is required for other tools in base and/or ports like dma(8) or any MTA
available in ports. It is also build and installed anyway even if world is built
WITHOUT_SENDMAIL


# 6b02d180 30-May-2015 Dimitry Andric <dim@FreeBSD.org>

Restore an accidentally deleted .endif.


# ebeff3f9 30-May-2015 Dimitry Andric <dim@FreeBSD.org>

Update Makefiles and other build glue for llvm/clang 3.7.0, as of trunk
r238337.


# 9c36af58 21-May-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Mark libgomp.so.1 as an old lib not an old file


# 800eeabd 20-May-2015 Enji Cooper <ngie@FreeBSD.org>

Remove usr/share/dtrace/{tcpconn,tcpstate,tcptrack,udptrack} if MK_CDDL == no

Sponsored by: EMC / Isilon Storage Division


# d485dbc7 18-May-2015 Ed Maste <emaste@FreeBSD.org>

Build libgcov only if we're building base system GCC

Clang uses compiler-rt for the code coverage runtime, and ports GCC
provides its own libgcov.

PR: 200203 (exp-run)
Sponsored by: The FreeBSD Foundation


# 810d5b34 15-May-2015 Ed Maste <emaste@FreeBSD.org>

Build libgomp only if we're also building base system GCC

Clang's OpenMP support will emit Intel OpenMP API library calls,
and will therefore require libiomp (or whatever name is settled on).
An up-to-date version of libgomp is included in ports or pkg GCC.
Thus, there is no reason to build base libgomp without base system GCC.

PR: 199979 (exp-run)
Reviewed by: pfg
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2459


# 56af72b1 06-May-2015 Ed Maste <emaste@FreeBSD.org>

Fix make delete-old for gperf and GCC/CXX options

- Optional components go in OptionalObsoleteFiles
- Move gperf removal to be based on MK_GCC only, not MK_CXX and MK_GCC

Reviewed by: imp, sbruno
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2421


# 363da138 01-May-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Replace groff's soelim by soeliminate(1) renamed soelim(1)


# 45cf4a7c 01-May-2015 Ed Maste <emaste@FreeBSD.org>

OptionalObsoleteFiles: don't remove c++filt when using ELF Tool Chain

c++filt is listed here twice, for MK_CXX == no and MK_GCC == no, but
r282285 only caught one of them.


# 0a06cffc 30-Apr-2015 Ed Maste <emaste@FreeBSD.org>

Add ELF Tool Chain's c++filt to the build

Differential Revision: https://reviews.freebsd.org/D2408
Reviewed by: brooks, imp
Sponsored by: The FreeBSD Foundation


# 1382ef3d 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_ZONEINFO == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 587291d9 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TESTS_SUPPORT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# a6d0a667 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_LEGACY_CONSOLE == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# d6c95721 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_KERBEROS_SUPPORT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# eb6edb77 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_KDUMP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 659854cd 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_JAIL == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 992cc53e 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_CASPER == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 9c793fa8 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_INET6 == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 0c11ad65 30-Mar-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_FORTH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# ffb67907 02-Mar-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Remove gperf(7) if gperf is not installed


# 9ddafbe2 02-Mar-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Install manpage version of texinfo documentation for binutils


# 9cb8ba56 22-Feb-2015 Colin Percival <cperciva@FreeBSD.org>

Step 2 of eliminating the "games" distribution: Remove punch card
utilities.

I was originally planning on removing the phase-of-moon (pom), clock
(grdc), and caesar cipher (caesar, rot13) utilities as well, but after
I committed r278616 I received an astonishing volume of email informing
me that those are still being widely used. Much to my relief, nobody
reported continuing to use the punch card utilities in production.

The final step will be to merge src/games into src/usr.bin.

This change will not be MFCed.


# 11d9aa67 11-Feb-2015 Colin Percival <cperciva@FreeBSD.org>

Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;
update paths; and include everything in the "base" distribution.

The "games" distribution being optional made sense when there were more
games and we had small disks; but the "games-like" games were moved into
the ports tree a dozen years ago and the remaining "utility-like" games
occupy less than 0.001% of my laptop's small hard drive. Meanwhile every
new user is confronted by the question "do you want games installed" when
they they try to install FreeBSD.

The next steps will be:

2. Removing punch card (bcd, ppt), phase-of-moon (pom), clock (grdc), and
caesar cipher (caesar, rot13) utilities. I intend to keep fortune, factor,
morse, number, primes, and random, since there is evidence that those are
still being used.

3. Merging src/games into src/usr.bin.

This change will not be MFCed.

Reviewed by: jmg
Discussed at: EuroBSDCon
Approved by: gjb (release-affecting changes)


# 04c5a27b 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_USB == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 1dc6769d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_UNBOUND == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# e5f6569b 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TEXTPROC == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# aee4d21d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TESTS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# fed7ef16 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_TCSH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 3f13cb12 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_SYSCONS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 14e319f2 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_SSP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 1d706ec4 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_QUOTAS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 61c40359 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_PORTSNAP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 7a713cea 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_PMC == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 71795a01 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_PF == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 3f72f932 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_OPENSSH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 5bed16de 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NTP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# ed809ca8 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NS_CACHING == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 90539b6f 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NLS_CATALOGS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 422e74ae 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NLS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# e50d77e5 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NETGRAPH_SUPPORT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# fe8f6c3e 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_NETGRAPH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# e5c3781d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAN_UTILS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# ddef0324 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAN == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 426d5303 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAKE == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 2f3a10e5 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_MAIL == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 1b41fa7d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_LOCALES == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 4f190535 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_LIBCPLUSPLUS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# d956da53 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_HTML == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 6031355d 02-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_GROFF == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 28be4ba8 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_GPIO == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# cf8028f3 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_DMAGENT == no and move the chunk into its alphabetical place

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# ee4d0fce 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BSNMP == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 70fffb2e 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BSD_CPIO == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 8af1079d 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BOOT == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# f594efed 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BLUETOOTH == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# c88fc3e4 01-Feb-2015 Dmitry Marakasov <amdmi3@FreeBSD.org>

- Remove more files when MK_BINUTILS == no

MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600


# 6ce3ca64 26-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Update other build glue: ObsoleteFiles.inc, UPDATING, mtree files, and
OptionalObsoleteFiles.inc.


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

Respect MK_KERBEROS with etc/rc.d/ipropd_master and etc/rc.d/ipropd_slave

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


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

Honor MK_WIRELESS with etc/rc.d/hostapd and etc/rc.d/wpa_supplicant

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


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

Honor MK_JAIL with etc/rc.d/jail

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


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

Honor MK_BLUETOOTH with etc/defaults/bluetooth.device.conf

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


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

Honor MK_ACCT with etc/pam.d/atrun

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


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

Honor MK_ACCT with etc/rc.d/accounting

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


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

Honor MK_AMD with etc/rc.d/amd

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


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

Honor MK_API in etc/rc.d

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


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

Honor MK_LPR with etc/rc.d/lpd

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


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

Honor MK_ACPI in etc/devd and etc/rc.d

MFC after: 1 week
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


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

Add MK_BHYVE knob for building and installing bhyve(4), et al

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


# 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


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

Build lib/libgpio if MK_GPIO != no

Fill in corresponding entries for MK_GPIO == no in OptionalObsoleteFiles.inc

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


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

Fill in entries for MK_BSNMP == no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


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

Fill in some dtrace entries when MK_CDDL == no

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


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

Fill in entries for MK_CUSE == no

MFC after: 1 week
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


# 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


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

Add MK_TALK knob for building the talk and talkd

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


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

Add MK_EE knob to control installing edit, ee, etc

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


# 8028b78d 13-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Connect libclang_rt to the build, for specific architectures. This
contains the libraries for Address Sanitizer (asan), Undefined Behavior
Sanitizer (ubsan) and Profile Guided Optimization.

ASan is a fast memory error detector. It can detect the following types
of bugs:

Out-of-bounds accesses to heap, stack and globals
Use-after-free
Use-after-return (to some extent)
Double-free, invalid free
Memory leaks (experimental)

Typical slowdown introduced by AddressSanitizer is 2x.

UBSan is a fast and compatible undefined behavior checker. It enables a
number of undefined behavior checks that have small runtime cost and no
impact on address space layout or ABI.

PLEASE NOTE: the sanitizers still have some rough edges on FreeBSD,
particularly on i386. These will hopefully be smoothed out in the
coming time.

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


# c369979c 10-Jan-2015 Dimitry Andric <dim@FreeBSD.org>

Add the llvm-symbolizer tool, which enables the sanitizers to report
more complete debugging information. This tools is only enabled when
WITH_CLANG_EXTRAS is on.

Submitted by: Dan McGregor <danismostlikely@gmail.com>


# 2d281361 02-Jan-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Remove GNU texinfo from base along with all info pages.

To be able to info pages consider installing texinfo from ports print/texinfo or
via pkg: pkg install texinfo

Differential Revision: https://reviews.freebsd.org/D1409
Reviewed by: emaste, imp (previous version)
Relnotes: yes


# c05bafc5 25-Dec-2014 Poul-Henning Kamp <phk@FreeBSD.org>

Deorbit the IEEE-488/GPIB support.


# f703589e 18-Dec-2014 Enji Cooper <ngie@FreeBSD.org>

Fix building/installing tests when TESTSBASE != /usr/tests

The work in r258233 hardcoded the assumption that tests was the last component
of the tests tree by pushing tests as an explicit prefix for the paths in
BSD.tests.dist and /usr was the prefix for all tests, per BSD.usr.dist and all
of the mtree calls used in Makefile.inc1. This assumption breaks if/when one
provides a custom TESTSBASE "prefix", e.g. TESTSBASE=/mytests .

One thing that r258233 did properly though was remove "/usr/tests" creation
from BSD.usr.dist -- that should have not been there in the first place. That
was an "oops" on my part for the work that was originally committed in r241823

MFC after: 2 weeks
Phabric: D1301
Reviewed by: imp
Sponsored by: EMC / Isilon Storage Division


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

Don't try to remove /usr/include/bsm, et al


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

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


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

Only install etc/devd/asus.conf if MK_ACPI == yes


# 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


# 18e8f946 01-Dec-2014 Ed Maste <emaste@FreeBSD.org>

Add elfcopy and man page to OptionalObsoleteFiles


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

Build spppcontrol if MK_PPP != no


# ebffb670 29-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Fill in items to remove with relevant knobs, per r275300


# e7d836f7 29-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Make nfs server components conditional according to MK_NFS_SERVER


# 4724dcbf 29-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Honor MK_AUDIT with respect to etc/security


# 75ff9cf2 29-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

- Fill in MK_FILE, MK_PMC, MK_SQLITE3, and MK_ZONEINFO
- Fill in etc/pam.d entries per r275291
- Fill in lib/libaudit entries
- Fill in more MK_NTP entries


# e052c69a 29-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Better honor the following MK_ flags in etc/Makefile and etc/rc.d/Makefile:
- MK_AMD
- MK_ATM
- MK_AUDIT
- MK_BOOT
- MK_GSSAPI
- MK_JAIL
- MK_LPR
- MK_SENDMAIL
- MK_VI
- MK_WIRELESS
- MK_ZFS


# fb96e8ee 29-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Honor MK_BLUETOOTH when installing bluetooth.device.conf


# e0cbf36b 28-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Make ee(1) optional via MK_EE


# ad50ede6 28-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Fill in MK_VI == no


# 68b259bd 27-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Populate MK_AUTOFS and MK_BSDCONFIG; add more dtrace bits to MK_CDDL; add minimal bits to MK_LIB32


# eaf49814 27-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Ignore boot and remove from MK_BOOT additions done in previous commit


# b13f4f90 27-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Fill in MK_BOOT for amd64


# 7a818dff 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Populate MK_CUSE, MK_NETGRAPH, MK_NETGRAPH_SUPPORT, and MK_RADIUS_SUPPORT


# d96b818e 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

- Fill in MK_LEGACY_CONSOLE == no and SYSCONS == no
- Don't install syscons(4)
- Don't install the moused or syscons rc.d scripts if MK_LEGACY_CONSOLE == no


# f5ce9d6b 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Installing zzz(8) doesn't make sense when both ACPI and APM are disabled


# 0341ccf2 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Clean up more usb related files when MK_USB == no when dealing with
manpages, libraries, and binaries


# ece34a4f 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Fix use of OLD_FILES and OLD_LIBS for MK_BSNMP and MK_TESTS

Convention in the file is that .a files be added to OLD_FILES and versioned .so's
be added to OLD_LIBS


# a3f5edf0 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Add MK_TIMED option for optionally building usr.sbin/timed, et al


# 046cc7b9 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Account for /usr/include/protocols/r{outed,whod}.h with their respective build knobs


# 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


# fb624adc 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

MK_HYPERV:
Sort OLD_FILES and add /usr/libexec/hyperv to OLD_DIRS


# 961281fa 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install the rsh and telnetd pam.d files if MK_RCMDS == no
or MK_TELNET == no, respectively


# 4bbfcad5 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Only install the accounting/apm rc scripts for MK_ACCT/MK_APM if the relevant
knobs are set


# bdf492a3 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Missed the bsnmp config file


# 88585cd4 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Add more MK_BSNMP == no entries for things not caught due to custom
settings in $SRCCONF


# 6d94729e 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Fill in entries for MK_BSNMP == no


# 4be1ca35 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Make building/installing bhyve optional via MK_BHYVE on amd64

Disable building/installing bhyve from src.opts.mk on unsupported
architectures (!amd64)


# 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


# d393fb09 24-Nov-2014 Dimitry Andric <dim@FreeBSD.org>

Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc for the import of
llvm/clang 3.5.0.


# b8d52ac3 23-Nov-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Install mdoc(7) and man(7) from mdoc instead of the one from groff


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


# fa809347 03-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Integrate pjdfstest test suite execution into kyua

pjdfstest execution is opt-in and must be done as root due to some of the
assumptions made by the test suite and lack of error checking in the non-root
case

A description of how to execute pjdfstest with kyua is provided in
share/pjdfstest/README

Phabric: D824 (an earlier prototype patch)
MFC after: 1 month
Relnotes: yes
Sponsored by: EMC / Isilon Storage Division


# 1545452c 27-Oct-2014 Xin LI <delphij@FreeBSD.org>

Remove an extra copy of hv_kvp_daemon(8) [1].

While I'm there also correct typos in OptionalObsoleteFiles and add
information of the command line options for hv_kvp_daemon(8).

Reported by: jmg [1]
Reviewed by: jmg
MFC after: 2 weeks


# ddd96d23 09-Oct-2014 Ed Maste <emaste@FreeBSD.org>

Build gperf only if we're using g++ (not clang++)

gperf is used as a build tool for g++ and is not needed for Clang
architectures. Ports and third-party software that need it can use the
up-to-date devel/gperf port.

PR: 194103 (exp-run)
Reviewed by: bapt
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D886


# d8eaf8b5 23-Sep-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install /etc/rc.d/keyserv unless MK_OPENSSL == yes

Sponsored by: EMC / Isilon Storage Division


# f4d6293c 20-Sep-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install /etc/rc.d/ftp-proxy unless MK_PF == yes

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


# 79c38c9b 20-Sep-2014 Enji Cooper <ngie@FreeBSD.org>

Don't install /etc/rc.d/rwho unless MK_RCMDS == yes

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


# 76cd7220 16-Sep-2014 Xin LI <delphij@FreeBSD.org>

Use a devd event to start hv_kvpd instead of doing so in rc.d script.
This is cleaner and eliminates the unneeded startup of KVP daemon on
systems that do not run as a Hyper-V guest.

Submitted by: hrs
X-MFC-with: 271493, 271688, 271699


# e72055b7 12-Sep-2014 Xin LI <delphij@FreeBSD.org>

Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft,
many thanks for their continued support of FreeBSD.

While I'm there, also implement a new build knob, WITHOUT_HYPERV to
disable building and installing of the HyperV utilities when necessary.

The HyperV utilities are only built for i386 and amd64 targets.

This is a stable/10 candidate for inclusion with 10.1-RELEASE.

Submitted by: Wei Hu <weh microsoft com>
MFC after: 1 week


# 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


# aecd25ee 15-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Make the USB and ZFS devd configuration files optional depending on the
values of MK_USB/MK_ZFS

Making zfs.conf optional resolves PR # 186971

PR: 186971
Phabric: D606
Approved by: jmmv (mentor)
Sponsored by: EMC / Isilon Storage Division


# 9f312407 12-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Port date/bin/tests to ATF

Phabric: D545
Approved by: jmmv (mentor)
Submitted by: keramida (earlier version)
MFC after: 2 weeks
Sponsored by: Google, Inc
Sponsored by: EMC / Isilon Storage Division


# 12e2df3c 12-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Convert bin/sh/tests to ATF

The new code uses a "test discovery mechanism" to determine
what tests are available for execution

The test shell can be specified via:

kyua test -v test_suites.FreeBSD.bin.sh.test_shell=/path/to/test/sh

Sponsored by: EMC / Isilon Storage Division
Approved by: jmmv (mentor)
Reviewed by: jilles (maintainer)


# 6add3145 12-Aug-2014 Enji Cooper <ngie@FreeBSD.org>

Complete the usr.bin/yacc kyua integration work I originally
submitted via r268811

- Install the Kyuafile by adding FILES to FILESGROUPS
- Run the testcases with an unprivileged user

Some of the testcases depend upon behavior that's broken when
run as root on FreeBSD because of how permissions are treated
with access(2) vs eaccess(2), open(2), etc

- Simplify the test driver to just inspect the exit code from
run_test because it now exits with 0 if successful and exits
with !0 if unsuccessful
- Don't do ad hoc temporary directory creation/deletion; let Kyua
handle that
- Add entries for files removed in r268811 to
OptionalObsoleteFiles.inc

PR: 191020
X-MFC with: r268811
Approved by: jmmv (mentor)
Reviewed by: bapt
Sponsored by: EMC / Isilon Storage Division


# e40b4bf8 24-Jul-2014 Julio Merino <jmmv@FreeBSD.org>

Fix structure of new tests (r268794) for usr.bin/units.

- Make sure the tests go into the right directory. The location was
wrong so they were overwriting the bin/chown tests!
- Use the right naming scheme for the test program.
- Remove the svn:executable property from the shell script.


# 7bff12fe 17-Jul-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Fix manpages path and sort entries


# 024f0575 17-Jul-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Remove texinfo manpages as well if built WITHOUT_INFO


# 8a833bda 09-Jul-2014 Baptiste Daroussin <bapt@FreeBSD.org>

The GNU readline library is now an INTERNALLIB - that is, it is
statically linked into consumers (GDB and variants) in the base
system, and the shared library is no longer installed.

That also allows ports to be able to use a modern version of readline

PR: 162948
Reviewed by: emaste


# 725d0727 08-Jul-2014 Jilles Tjoelker <jilles@FreeBSD.org>

Don't install locale1.0 if MK_NLS == no.

The test locale1.0 depends on locale support; it is meaningless without a
working LC_MESSAGES.

I added an OptionalObsoleteFiles.inc entry.

PR: 181151
Submitted by: Garrett Cooper (original version)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


# e7d939bd 06-Jul-2014 Marcel Moolenaar <marcel@FreeBSD.org>

Remove ia64.

This includes:
o All directories named *ia64*
o All files named *ia64*
o All ia64-specific code guarded by __ia64__
o All ia64-specific makefile logic
o Mention of ia64 in comments and documentation

This excludes:
o Everything under contrib/
o Everything under crypto/
o sys/xen/interface
o sys/sys/elf_common.h

Discussed at: BSDcan


# 9f932ecd 01-Jul-2014 Eitan Adler <eadler@FreeBSD.org>

Add documentation for svnlite.

PR: 191544
Reported by: eric
Reviewed by: imp
MFC After: 1 week


# b8a63d6d 30-Jun-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Activate the condition for WITHOUT_INFO

Submitted by: antoine


# 079f0a6a 30-Jun-2014 Baptiste Daroussin <bapt@FreeBSD.org>

fill in the list of obsolete files when base is built with WITHOUT_INFO


# dd987372 13-Jun-2014 Tijl Coosemans <tijl@FreeBSD.org>

Don't install GSS-API headers when the GSSAPI option has been disabled.
Some ports assume GSS-API is supported when they find the headers.

PR: 189156
Submitted by: Garrett Cooper <yanegomi@gmail.com>


# 8c7ec47a 06-Jun-2014 Julio Merino <jmmv@FreeBSD.org>

Move atf-sh from /usr/bin/ to /usr/libexec/

In r266650, we made libatf-c and libatf-c++ private libraries so that no
components outside of the source tree could unintendedly depend on them.

This change does the same for the "atf-sh library" by moving the atf-sh
interpreter from its public location in /usr/bin/ to the private location
in /usr/libexec/. Our build system will ensure that our own test programs
use the right binary, but users won't be able to depend on atf-sh by
"mistake".

Committing this now to ride the UPDATING notice added with r267172 today.


# 727a7ce8 06-Jun-2014 Julio Merino <jmmv@FreeBSD.org>

Homogenize libatf-* version numbers with upstream.

The libatf-* major version numbers in FreeBSD were one version ahead of
upstream because, when atf was first imported into FreeBSD, the upstream
numbers were not respected. This is just confusing and bound to cause
problems down the road.

Fix this by taking advantage of the fact that libatf-* are now private
and that atf is not yet built by default. However, and unfortunately, a
clean build is needed for tests to continue working once "make
delete-old-libs" has been run; hence the note in UPDATING.


# 17a286a9 24-May-2014 Julio Merino <jmmv@FreeBSD.org>

Change libatf-c and libatf-c++ to be private libraries.

We should not be leaking these interfaces to the outside world given
that it's much easier for third-party components to use the devel/atf
package from ports.

As a side-effect, we can also drop the ATF pkgconfig and aclocal files
from the base system. Nothing in the base system needs these, and it
was quite ugly to have to get them installed only so that a few ports
could build. The offending ports have been fixed to depend on
devel/atf explicitly.

Reviewed by: bapt


# 3e9e1651 12-May-2014 Julio Merino <jmmv@FreeBSD.org>

Fix delete-old when WITH_TESTS is set.

r265423 removed the WITHOUT_BMAKE option, which in turn broke a conditional
in OptionalObsoleteFiles.inc that inspected MK_BMAKE.


# d525bcd9 18-Mar-2014 Julio Merino <jmmv@FreeBSD.org>

Migrate tools/regression/usr.bin/make/ to the new tests layout.

Note that these tests are for fmake, not bmake, and thus they are not
installed nor run when bmake is selected (the default). Yes, I have
wasted a *ton* of time on moving tests for no real reason other than
ensuring they are not left behind.

But maybe, just maybe, it was not work in vain: the majority of these
tests also work with bmake and the few that don't may point at broken
stuff. For example, the tests for the "archive" feature do not work
with bmake, but bmake's manpage and source tree seem to imply that they
should. So... to be investigated later; need to poke sjg@.


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


# 2c4c3f67 10-Mar-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Add a mailer.conf example to use dma


# 6a54f620 22-Feb-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Rename WITHOUT_DMA into WITHOUT_DMAGENT to avoid confusion

Requested by: ian


# b76e24a3 05-Feb-2014 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove WITHOUT_NIS

PR: 186412


# 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


# 762c167e 10-Jan-2014 Julio Merino <jmmv@FreeBSD.org>

Respect the original layout of the atf-{c,c++} tests.

Put test programs for internal modules into a 'detail' subdirectory of the
libatf-c and libatf-c++ test directories, just as the upstream distribution
does. This is necessary because the tests assume such layout to find the
process_helper program, and currently fail because of this divergence.

MFC after: 1 week


# a9e4b734 21-Dec-2013 Glen Barber <gjb@FreeBSD.org>

Honor WITHOUT_CASPER.

Sponsored by: The FreeBSD Foundation


# 0fa8a6f0 11-Nov-2013 Glen Barber <gjb@FreeBSD.org>

Silence more 'make {check,delete-old{,libs}}' output if $DESTDIR/usr/tests
does not exist.

Sponsored by: The FreeBSD Foundation


# 6785aaf2 10-Nov-2013 Glen Barber <gjb@FreeBSD.org>

Silence bmake(1) errors if TEST_DIRS evaluation is empty.


# 14de84e7 08-Nov-2013 Julio Merino <jmmv@FreeBSD.org>

Handle the removal of the test suite when WITHOUT_TESTS=yes.

Add all files from /usr/tests to the obsoleted files list when the
build of the tests is disabled via the WITHOUT_TESTS knob. Do this
automatically so that we do not have to suffer the pain of maintaining
such list by hand.

Reviewed by: freebsd-testing
Approved by: rpaulo (mentor)


# e01d128a 08-Nov-2013 Julio Merino <jmmv@FreeBSD.org>

Subsume the functionality of MK_ATF into MK_TESTS.

There is no reason to keep the two knobs separate: if tests are
enabled, the ATF libraries are required; and if tests are disabled,
the ATF libraries are not necessary. Keeping the two just serves
to complicate the build.

Reviewed by: freebsd-testing
Approved by: rpaulo (mentor)


# 912ce912 03-Nov-2013 Peter Wemm <peter@FreeBSD.org>

Remove the WITH_LIBICONV_COMPAT hack that seems to do more harm than
good. This caused libc to spoof the ports libiconv namespace and
provide a colliding libiconv.so.3 to fool rtld. This should have
been removed some time ago.


# 23c80c69 03-Nov-2013 Ed Schouten <ed@FreeBSD.org>

Remove utxrm(8). This command has been superseded by 'utx rm'.


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

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


# 0edda453 30-Oct-2013 Bryan Drewery <bdrewery@FreeBSD.org>

Add forgotten pkg.7

Approved by: bapt
MFC after: 2 days
X-MFC-with: r257378


# 2b142c0f 17-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Add lot of missed files and dirs


# 7306b853 17-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Remove atf headers which never existed

Reviewed by: marcel


# 41b65e69 17-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Cleanup clang section


# 7855835b 16-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

wlconfig exists only on i386


# 5329f4d3 16-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Remove files which are in ObsoleteFiles.inc


# fca60728 16-Oct-2013 Andrey Zonov <zont@FreeBSD.org>

Remove duplicates in ipfilter and kerberos sections


# ec0e2ac6 12-Oct-2013 Rui Paulo <rpaulo@FreeBSD.org>

Remove most of the ATF tools and the _atf user.

This is necessary because ATF is deprecated and it will be replaced by Kyua.

Submitted by: jmmv@netbsd.org
Reviewed by: Garrett Cooper
Approved by: re


# c9fc60be 09-Oct-2013 Glen Barber <gjb@FreeBSD.org>

Revert r256095, r256120 (partial), r256121:

r256095:
- Add gnu/usr.bin/rcs back to the base system.

r256120:
- Add WITHOUT_RCS back to src.conf.5.

r256121:
- Remove UPDATING entry regarding gnu/usr.bin/rcs removal.

Requested by: many
Approved by: re (marius)
Discussed with: core


# 258c9eb9 06-Oct-2013 Eitan Adler <eadler@FreeBSD.org>

Good bye RCS. You will be missed.

(devel/rcs and devel/rcs57 are available as alternatives)

Approved by: core
Approved by: re (hrs)


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

Remove BIND.

Approved by: re (gjb)


# 278bc67b 29-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Yet more BIND files that weren't listed in OptionalObsoleteFiles.

Approved by: re (blanket)


# 4a09ed30 27-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove duplicate entry for the host(1) man page.

Approved by: re (blanket)


# b4af3bcb 25-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Additional BIND files.

Submitted by: bdrewery
Approved by: re (blanket)


# 49cede74 22-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Add a setup script for unbound(8) called local-unbound-setup. It
generates a configuration suitable for running unbound as a caching
forwarding resolver, and configures resolvconf(8) to update unbound's
list of forwarders in addition to /etc/resolv.conf. The initial list
is taken from the existing resolv.conf, which is rewritten to point to
localhost. Alternatively, a list of forwarders can be provided on the
command line.

To assist this script, add an rc.subr command called "enabled" which
does nothing except return 0 if the service is enabled and 1 if it is
not, without going through the usual checks. We should consider doing
the same for "status", which is currently pointless.

Add an rc script for unbound, called local_unbound. If there is no
configuration file, the rc script runs local-unbound-setup to generate
one.

Note that these scripts place the unbound configuration files in
/var/unbound rather than /etc/unbound. This is necessary so that
unbound can reload its configuration while chrooted. We should
probably provide symlinks in /etc.

Approved by: re (blanket)


# 7b07722f 22-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove drill(1) if MK_LDNS_UTILS is false.
Remove host(1) if both MK_BIND and MK_LDNS_UTILS are false.

Approved by: re (blanket)


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

Build and install the Unbound caching DNS resolver daemon.

Approved by: re (blanket)


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

Complete the OPENSSH and LDNS sections.

Approved by: re (blanket)


# 9f00530d 14-Sep-2013 Ed Schouten <ed@FreeBSD.org>

Properly remove c++filt.

The c++filt binary is only installed if ${MK_GCC} == yes && ${MK_CXX} ==
yes. This means that it should be removed if ${MK_GCC} == no ||
${MK_CXX} == no. In its current form, it actually uses a conjunction
instead of a disjunction.

As there is already a separate block for ${MK_CXX} == no listing
c++filt, simply remove the conditional entirely.

Approved by: re (gjb)


# 0d410def 10-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Clean up the Kerberos build by turning libheimipcc and libheimipcs into
private shared libraries, instead of hacked-together archives of PIC
objects. This makes it possible to build a static libkrb5 that works.

Reviewed by: stas
Approved by: re (gjb)


# 655f887f 07-Sep-2013 Antoine Brodin <antoine@FreeBSD.org>

Adjust optional obsolete files with new MK_GNUCXX


# 3d8a28c3 07-Sep-2013 Antoine Brodin <antoine@FreeBSD.org>

Do not try to remove directories that are part of BSD.include.dist


# 8031489c 07-Sep-2013 Gleb Smirnoff <glebius@FreeBSD.org>

Add more leftovers from gcc.


# a5bfe448 06-Sep-2013 David Chisnall <theraven@FreeBSD.org>

Don't delete c++filt when doing a make delete-old if GCC is not built but
C++ is.


# e9fb2ea0 29-Aug-2013 Andreas Tobler <andreast@FreeBSD.org>

Remove GNU_PATCH leftover.


# e434cacb 26-Aug-2013 Antoine Brodin <antoine@FreeBSD.org>

Add more obsolete files.


# 0ff204bb 13-Aug-2013 Peter Wemm <peter@FreeBSD.org>

The iconv in libc did two things - implement the standard APIs, the GNU
extensions and also tried to be link time compatible with ports libiconv.
This splits that functionality and enables the parts that shouldn't
interfere with the port by default.

WITH_ICONV (now on by default) - adds iconv.h, iconv_open(3) etc.
WITH_LIBICONV_COMPAT (off by default) adds the libiconv_open etc API, linker
symbols and even a stub libiconv.so.3 that are good enough to be able
to 'pkg delete -f libiconv' on a running system and reasonably expect it
to work.

I have tortured many machines over the last few days to try and reduce
the possibilities of foot-shooting as much as I can. I've successfully
recompiled to enable and disable the libiconv_compat modes, ports that use
libiconv alongside system iconv etc. If you don't enable the
WITH_LIBICONV_COMPAT switch, they don't share symbol space.

This is an extension of behavior on other system. iconv(3) is a standard
libc interface and libiconv port expects to be able to run alongside it on
systems that have it.

Bumped osreldate.


# 8471c7bd 06-Aug-2013 Sean Bruno <sbruno@FreeBSD.org>

Adjust make knobs to know that WITH_ICONV installs a /usr/bin/iconv

Remove it if the knob isn't tweaked. Certain ports seem to think that
if /usr/bin/iconv exists, then libc has built in libiconv things and will
blow up pretty nicely when built.

Reviewed by: gjb@
MFC after: 2 weeks


# 9beae6b5 12-Jul-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove authpf-noip along with authpf.

Reminded by: delphij@


# deb50697 24-Jun-2013 Eitan Adler <eadler@FreeBSD.org>

Add missing Obsolete Files

Submitted by: Kurt Lidl <lidl@pi-coral.com>


# 4f858707 18-Jun-2013 Peter Wemm <peter@FreeBSD.org>

Teach delete-old how to clean up after WITH/WITHOUT_SVN{LITE} permutations.


# 1cbff2a9 15-Jun-2013 Eitan Adler <eadler@FreeBSD.org>

Remove CVS from the base system.

Discussed with: many
Reviewed by: peter, zi
Approved by: core


# 01bb8628 09-Jun-2013 Glen Barber <gjb@FreeBSD.org>

Add freebsd-update.conf(5) to OptionalObsoleteFiles.inc

PR: 179437
Approved by: kib (mentor)
MFC after: 1 week


# 2b3b3637 11-May-2013 Eitan Adler <eadler@FreeBSD.org>

Unconditionally install 210.backup-aliases as many MTAs other than
sendmail support the use of /etc/aliases.

PR: conf/176098
Submitted by: ak
MFC after: 2 weeks


# b4634967 28-Apr-2013 Eitan Adler <eadler@FreeBSD.org>

When the world is built WITHOUT_OPENSSH also don't
install ssh-copy-id.

PR: misc/177590
Submitted by: Oleg Ginzburg <olevole@olevole.ru>
Reviewed by: imp


# 850163e4 26-Apr-2013 Eitan Adler <eadler@FreeBSD.org>

Remove IDEA from OptionalObsoleteFiles.inc

Also add an UPDATING entry (requsted by gjb)


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

Add option to make pc-sysinstall optional

Approved by: cperciva


# 616d12b7 20-Dec-2012 Baptiste Daroussin <bapt@FreeBSD.org>

Add etc/periodic/daily/220.backup-pkgdb to OptionalObsoleteFiles.inc


# ffdac814 14-Nov-2012 Marcel Moolenaar <marcel@FreeBSD.org>

Don't install atf.test.mk if MK_ATF == no.

Submitted by: Garrett Cooper <yanegomi@gmail.com>


# c175365c 21-Oct-2012 Marcel Moolenaar <marcel@FreeBSD.org>

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

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

Credits follow:

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


# 458beb5d 17-Oct-2012 Andreas Tobler <andreast@FreeBSD.org>

Remove the netncp and nwfs files from here. They will be moved to the
ObsoleteFiles.inc file later.

Discussed with: attilio


# ce8ba5a5 26-Aug-2012 Dimitry Andric <dim@FreeBSD.org>

Add libc++ and libcxxrt related files to OptionalObsoleteFiles.inc.

MFC after: 1 week


# d4271816 20-Aug-2012 Dimitry Andric <dim@FreeBSD.org>

Add three additional clang intrinsics headers, which I missed in the
previous import.


# c4554b94 23-Jul-2012 Dimitry Andric <dim@FreeBSD.org>

When WITHOUT_CLANG is being used, also clean out the clang 3.1 headers
in OptionalObsoleteFiles.inc.

PR: misc/169902
Submitted by: Thomas Eberhardt <sneakywumpus@googlemail.com>
MFC after: 3 days


# 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


# 60533c20 09-May-2012 Eitan Adler <eadler@FreeBSD.org>

Add some missing files to OLD_FILES

PR: conf/166460
Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com>
Reviewed by: stable@
Approved by: cperciva
MFC after: 2 weeks


# 4d04782c 14-Apr-2012 Dimitry Andric <dim@FreeBSD.org>

Add files and directories to be cleaned up if WITHOUT_GCC is in effect
to OptionalObsoleteFiles.inc.

MFC after: 1 week


# a146c2a9 22-Mar-2012 Stanislav Sedov <stas@FreeBSD.org>

- Add new kerberos libraries to the list of optional obsolete files.


# 0e46933c 22-Mar-2012 Stanislav Sedov <stas@FreeBSD.org>

- Do not build libcom_err and compile_et when kerberos is disabled. They
depends on several heimdal libraries and not used by anything but kerberos
tools.


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


# 8f506e9e 11-Dec-2011 Dimitry Andric <dim@FreeBSD.org>

Add more files to cleanup with 'make delete-old' when WITHOUT_CLANG is
in effect.

MFC after: 1 week


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


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

Don't remove the periodic script for ac(8) when setting WITHOUT_ACCT.


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


# b3eb927f 06-Apr-2011 Ulrich Spörlein <uqs@FreeBSD.org>

Complete WITHOUT_CXX support. It implies WITHOUT_GROFF and
WITHOUT_CLANG.

Don't build clang bootstrap/build-tools depending on this flag. We also
keep gperf, devd and libstdc++ around to prevent foot-shooting and to
make this a two-way street.


# 423102c6 22-Feb-2011 Ulrich Spörlein <uqs@FreeBSD.org>

Flesh out WITHOUT_GROFF support to DTRT.

A full featured groff is required during buildworld, so build it always
and don't rely on it being present on the host system.

vgrind(1) is tightly coupled to a roff processor and will not be
built/installed when groff is disabled. Also much of the roff'ed
documentation under share/doc will not be built/installed when
WITHOUT_GROFF is defined.

Reviewed by: ru (partial)


# d180d7ef 04-Dec-2010 Ulrich Spörlein <uqs@FreeBSD.org>

Document two more ways to find duplicates in the obsolete file list.

Remove the only duplicate found by the optional files check. Fix typos,
while here.

Suggested by: netchild


# fe5ddba7 14-Nov-2010 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Add optional files controlled by WITH_GPIO knob

Submitted by: Alexander Best <arundel@freebsd.org>


# 97f9dcf7 14-Nov-2010 Rebecca Cran <brucec@FreeBSD.org>

lib32 is installed on powerpc64 too.


# 60db6c32 14-Nov-2010 Rebecca Cran <brucec@FreeBSD.org>

libatm_p.a, libkeycap_p.a and libmytinfo_p.a are already in ObsoleteFiles.inc.
liblwres.so.10 has been replaced by liblwres.so.50.

Reported by: arundel


# 65a1c465 09-Nov-2010 Xin LI <delphij@FreeBSD.org>

Hide 460.chkportsum in MK_PKGTOOLS != no case.

Submitted by: Alex Kozlov <spam rm-rf kiev ua>
MFC after: 2 weeks


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


# 60e6ef07 08-Oct-2010 Mark Murray <markm@FreeBSD.org>

Don't blow away /bin/rmail symlink if we are keeping mailwrapper.
Mailwrapper can provide a perfectly good rmail with other
mailers.


# 916d7003 06-Oct-2010 Alexander Leidinger <netchild@FreeBSD.org>

Add some missing files to optionally delete.

Submitted by: Paul B Mahol <onemda@gmail.com>


# 781ad8ef 21-Jul-2010 Ed Schouten <ed@FreeBSD.org>

Chase LLVM version bump to 2.8.


# e137ba59 16-Jun-2010 Alexander Leidinger <netchild@FreeBSD.org>

Add the ZFS periodic daily scripts to the ZFS part.


# edec9228 14-Jun-2010 Ed Schouten <ed@FreeBSD.org>

Add Clang to OptionalObsoleteFiles.inc.

This means you can now deinstall Clang by running make delete-old with
WITHOUT_CLANG set.


# 92fc4757 29-Mar-2010 Xin LI <delphij@FreeBSD.org>

MFC r205702:

Remove GNU cpio after fix of CVE-2010-0624.

Note that this is actually a no-op for most users, as this GNU
cpio was broken on -HEAD and 8-STABLE since last March until
the recent fix.

FreeBSD 8.0+ uses BSD cpio by default and the code is being
actively maintained.


# 36e60cda 26-Mar-2010 Xin LI <delphij@FreeBSD.org>

Remove GNU cpio after fix of CVE-2010-0624.

Note that this is actually a no-op for most users, as this GNU
cpio was broken on -HEAD and 8-STABLE since last March until
the recent fix.

FreeBSD 8.0+ uses BSD cpio by default and the code is being
actively maintained.

Blessed by: kientzle
With hat: secteam
MFC after: 3 days


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


# b974b08f 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PPP=no.


# 72647fe8 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PORTSNAP=no.


# 78d8164c 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PKGTOOLS=no.


# c13190b2 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_PF=no.


# 58f47440 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_NTP=no.


# fda29b23 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_RCMDS=no.


# 50d16bbe 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_RCS=no.


# 23644347 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_ROUTED=no.


# 1fe4843a 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_TELNET=no.


# 94cd15a9 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_NDIS=no.


# 8c7d0ea2 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_NCP=no.


# c742deed 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_LPR=no.


# 9586e952 28-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_WIRELESS=no.


# e94be45c 26-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Do not remove fmt.1 when MK_MAIL=no.

X-MFC-With: r203584


# cebcc1ac 09-Feb-2010 Xin LI <delphij@FreeBSD.org>

Symbolic link to mailwrapper should only be removed if both MK_MAILWRAPPER
and MK_SENDMAIL is "no".

Reported by: Rob Farmer <rfarmer at predatorlabs.net>


# 07ea9a7c 09-Feb-2010 Xin LI <delphij@FreeBSD.org>

As it turns out, fmt(1) is being used by the base system as well as the
ports tree extensively and it is probably a good idea to keep it
regardless of NO_MAIL setting.

Reported by: Alexander Best
Reviewed by: antoine
X-MFC-With: r203584


# 4c63c240 06-Feb-2010 Xin LI <delphij@FreeBSD.org>

Add files for NO_MAIL, NO_SENDMAIL and NO_MAILWRAPPER.

MFC after: 2 weeks


# a48279bb 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_KERBEROS=no.


# e86622b3 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_JAIL=no.


# 2677a432 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_IPX=no.


# 02eb407f 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_IPFW=no.


# 91ff065b 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Move rescue/ping6 from files to remove when MK_INET6=no to file to remove
when MK_INET6_SUPPORT=no. (MK_INET6=no implies MK_INET6_SUPPORT=no)


# a2ccbc29 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add file to remove when MK_IDEA=no.


# b6d220d0 06-Feb-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GSSAPI=no.


# 96e9532b 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GPIB=no.


# 2ea25692 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GDB=no.


# 05142604 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GAMES=no.


# b983b146 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_FREEBSD_UPDATE=no.


# aa6bef9e 30-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_FLOPPY=no.


# 629b054a 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_DICT=no.


# 73ff6610 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CVS=no.


# 7692d80e 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CTM=no.


# 682e1072 24-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CPP=no.


# e493781a 16-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_ZFS=no.


# af5b4724 16-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_CDDL=no.


# 2ab19927 16-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_CALENDAR=no.


# bd0a3ed5 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Update files to remove when MK_BLUETOOTH=no.


# 22f09c9f 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_AUTHPF=no.


# 6fccaa07 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_ATM=no.


# 2cccc87b 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_AT=no.


# 5942f7f7 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_APM=no.


# 6cbebbd3 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_AMD=no.


# b00c1bf2 09-Jan-2010 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_ACCT=no.


# 29d08a6d 24-Jun-2009 Jamie Gritton <jamie@FreeBSD.org>

Add libjail, a (somewhat) simpler interface to the jail_set and jail_get
system calls and the security.jail.param sysctls.

Approved by: bz (mentor)


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

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


# c6642c52 13-Sep-2008 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when WITHOUT_HESIOD is set.
This fixes "make check-old" when WITH_HESIOD is set.

PR: 122406
MFC after: 1 month


# a1d73f7b 28-Jul-2008 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GNU_CPIO = no


# 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


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


# 94dd3203 24-Mar-2008 Antoine Brodin <antoine@FreeBSD.org>

Don't remove usr/include/fs/nwfs and usr/include/netncp, as they are always
recreated during installworld (they are in BSD.include.dist).

Reported by: Pawel Worach
Approved by: rwatson (mentor)
X-MFC: with revision 1.13


# 6fa1978a 08-Mar-2008 Antoine Brodin <antoine@FreeBSD.org>

Add some checks for amd64 target around usr/lib32 libraries, missed in
previous commit.

Approved by: rwatson (mentor)
X-MFC: with revision 1.13


# b246502f 29-Feb-2008 Antoine Brodin <antoine@FreeBSD.org>

Add files to remove when MK_GCOV, MK_IPX or MK_NCP are defined.

Note: it may be a good idea to deduce obsolete usr/lib32/ files from
obsolete lib/ and usr/lib/ files.

PR: 120492
PR: 121118
PR: 121121
Submitted by: KAMIYA Satosi, Richard Tector
Approved by: rwatson (mentor)
MFC after: 1 month


# 4114acea 18-Jan-2008 Christian Brueffer <brueffer@FreeBSD.org>

Remove files conditional on the obsolete MK_FORTRAN knob. They are already
listed in ObsoleteFiles.inc anyway.

Reported by: David Wolfskill
Approved by: rwatson (mentor)
MFC after: 3 days


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


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

MK_LIBTHR was misspelled.

Approved by: re (kensmith)


# ceef0c31 05-Apr-2007 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Connect ZFS to the build.


# 70d21ee7 11-Mar-2007 Rong-En Fan <rafan@FreeBSD.org>

Add ncursesw, libelf, and libalias profiling libraries

Approved by: delphij (mentor)


# 438e97c0 01-Feb-2007 Rong-En Fan <rafan@FreeBSD.org>

Remove old libmytinfo link.

Approved by: delphij (mentor)
Requested by: ache


# b1a7dc88 27-Nov-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

/usr/sbin/faithd is an INET6-specific tool, and now it won't be built
if MK_INET6 is "no", so add it to the MK_INET6 block.

PR: bin/100805 (audit-trail)


# 2e975006 30-Sep-2006 Ruslan Ermilov <ru@FreeBSD.org>

Removed libc_r build support.


# c3e63d56 29-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Extend the MK_INET6 section by rescue/ping6 and the manpages.


# 9da33b35 28-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Populate the MK_INET6 block.


# 1812f896 01-May-2006 Alexander Leidinger <netchild@FreeBSD.org>

Add profile libs.

Submitted by: Pawel Worach <pawel.worach@gmail.com>


# 95529bcb 03-Apr-2006 Alexander Leidinger <netchild@FreeBSD.org>

Milosz (sorry for not using the right 'l', it will not display corretly
in the commit log) submitted support for some NO_* knobs for delete-old*
and check-old. I converted it to the new WITHOUT_* knobs (more correctly:
MK_*) and added some dummy ones so that people can see what's missing.

Volunteers can have a look at http://phk.freebsd.dk/misc/build_options/
for a list of files.

The location looks a little bit odd to me, but I don't care about the
color of this bikeshed and follow the suggestion of our build
infrastructure guru to place it "somewhere under src/tools/ please". [1]
The build/mk/ directory looks more sane to me than the other ones there.

Submitted by: milosz.galazka@gmail.com
Suggested by: ru [1]