History log of /freebsd-current/etc/Makefile
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 8cd7841d 20-Mar-2024 Baptiste Daroussin <bapt@FreeBSD.org>

pkgbase: separate /etc/mail/aliases from the sendmail package

move /etc/aliases and /etc/mail/aliases into the runtime package
this file is used by both sendmail and dma.

While here mark this file as a config file so 3way merge is performed


# e368e9b7 16-Feb-2024 Dimitry Andric <dim@FreeBSD.org>

Proactively remove /usr/lib/kgdb file that became a directory

This was already handled in ObsoleteFiles.inc (see the 20201215 entry),
but some people never run "make delete-old", or want to upgrade directly
from a revision that still had the file to the most recent revision.

They would then encounter a failure during installworld, similar to:

install: /usr/libexec/kgdb exists but is not a directory

Therefore, clean it up in the distrib-cleanup phase, similar to the
earlier instances of libc++ header files that became a directory.

MFC after: 3 days


# ce047ebf 30-Jan-2024 Jessica Clarke <jrtc27@FreeBSD.org>

etc: Set DISTBASE during distribute for sub-makes

This is normally done by bsd.subdir.mk in its default distribute target,
but since etc overrides it we don't get that behaviour. Currently it's
not needed, but share/man's makedb (recursed into by etc's afterinstall)
will need it in the following commit. Technically this is only needed
for install, but do this for distribution too for completeness and
consistency.

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


# ca217224 13-Dec-2023 Dimitry Andric <dim@FreeBSD.org>

Proactively remove libc++ __tuple header file that became a directory

This was already handled in ObsoleteFiles.inc (see the 20230622 entry),
but some people never run "make delete-old", or want to upgrade directly
from a revision that still had libc++ 15 to the most recent revision.

They would then encounter a failure during installworld, similar to:

install: target directory `/usr/include/c++/v1/__tuple/' does not exist

Therefore, clean it up in the distrib-cleanup phase, similar to the
earlier instance of the libc++ __string header file that became a
directory.

PR: 273753
MFC after: 1 month


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

misc: Remove ancient SCCS tags.

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

This is for the misfits that have only a few: COPYRIGHT, gnu, tools,
rescue, and etc.

Sponsored by: Netflix


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

Remove $FreeBSD$: one-line sh pattern

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


# 949199a2 26-Jul-2023 Jessica Clarke <jrtc27@FreeBSD.org>

etc: Automatically generate BSD.lib${libcompat}.dist lists

Note that each libcompat still has its own file that must exist.

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


# dfa19823 08-Jun-2023 Jessica Clarke <jrtc27@FreeBSD.org>

etc: Don't create stray directories in NO_ROOT distrib-dirs

The loop above is responsible for creating the actual directories,
whilst this one is just responsible for creating the corresponding
METALOG. Since DESTDIR already includes DISTBASE, this results in
creating a second set of roots (one per MTREES entry) within DISTBASE
whenever DISTBASE is non-empty, such as base/base, base/base/var,
base/base/usr, etc. in the distributeworld case. This is purely cosmetic
though as they won't appear in the METALOG.


# ecad3f5c 15-Feb-2023 Tijl Coosemans <tijl@FreeBSD.org>

rc.d: Generate machine-id from hostid_save

rc.d/hostid_save saves a UUID generated by rc.d/hostid in /etc/hostid.
Store the same UUID, without hyphens, in /etc/machine-id. The hypĥens
are removed with a shell function because hostid_save runs before file
systems are mounted so other tools may not be available yet.

This eliminates some duplication between hostid and machine-id and for
virtual machines machine-id now contains the UUID configured in the
hypervisor like it does on Linux.

Reviewed by: delphij
Discussed with: bapt
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D38811


# fcaf7f86 24-Jul-2022 Dimitry Andric <dim@FreeBSD.org>

Merge llvm-project main llvmorg-15-init-17485-ga3e38b4a206b

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

PR: 265425
MFC after: 2 weeks


# 62a149bf 17-Dec-2022 Tobias C. Berner <tcberner@FreeBSD.org>

Add new rc: machine_id to generate /etc/machine-id

This new default-enabled rc will generate a /etc/machine-id file if it
does not exist, and pre-fill it with a newly generated UUID of version 4
[2].

The file is generated in /var/db/machine-id and symlinked to
/etc/machine-id to allow for read-only root partitions.

This file is amongst other things used by libraries like GLib.

Bump FreeBSD version 1400076 to be able to easily add support for older
version of FreeBSD via a package.

[1] Linux machine-id(5): https://www.man7.org/linux/man-pages/man5/machine-id.5.html
[2] f176fe8e7f638e585afcd2f4dd52a522c4648f63

Approved by: bapt
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D37722

# 3078531d 13-Sep-2022 Maxim Sobolev <sobomax@FreeBSD.org>

Fix mergemaster(8) breakage in the 6ad780caa.

Split out termcap.small generation into its own Makefile under
etc/termcap, so it's properly executed by the underlying command:

make 'SUBDIR_OVERRIDE=etc' everything

Reported by: gbe
MFC after: 1 month

# 76c100d6 15-Jul-2022 Jessica Clarke <jrtc27@FreeBSD.org>

etc: Fix distrib-dirs to not rely on a BSDism

FreeBSD and macOS have a test that treats == as an alias for =, but
Linux tends to use GNU coreutils (when not a builtin) which does not.
Use the standard syntax instead for compatibility.

Obtained from: CheriBSD
Differential Revision: https://reviews.freebsd.org/D35811

# 72bf91e2 06-Jan-2022 Warner Losh <imp@FreeBSD.org>

libsoft: Remove support for installing libsoft

Remove the infrasturcture needed to create the libsoft directories.

Sponsored by: Netflix

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

pkgbase: Put the last sendmail files in the sendmail package

Differential Revision: https://reviews.freebsd.org/D30757
Sponsored by: Diablotin Systems

# cb99e935 01-Jun-2020 Kyle Evans <kevans@FreeBSD.org>

pkgbase: resolve mailer.conf conflict WITHOUT_SENDMAIL

When WITHOUT_SENDMAIL is set, we end up with two different mailer.conf that
conflict, and hilarity ensues. There's currently three different places that
we might install mailer.conf:

- ^/etc/Makefile (package=runtime, contingent on MK_MAIL != no)
- ^/libexec/dma/dmagent/Makefile (package=dma, contingent on MK_SENDMAIL !=
no)
- ^/usr.sbin/mailwrapper/Makefile (package=utilities, contingent on
not-installed)

The mailwrapper installation will effectively never happen because the ^/etc
one will first.

This patch simplifies the whole situation; remove the ^/etc/Makefile version
and install it primarily in mailwrapper if MK_MAILWRAPPER != "no". The
scenarios covered in mailwrapper are:

- sendmail(8) is installed, dma(8) may or may not be installed
- neither sendmail(8) nor dma(8) is installed

In the first scenario, sendmail(8) is dominant so we can go ahead and
install the version in ^/etc/mail. In the unlisted scenario, sendmail(8) is
not installed but dma(8) is, we'll let ^/libexec/dma/dmagent do the
installation. In the second listed scenario, we still want to install an
example mailer.conf so just install the base sendmail(8) version.

Reviewed by: bapt
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D24924

# a8b8edb2 06-Apr-2020 Maxim Sobolev <sobomax@FreeBSD.org>

Normalize deployment tools usage and definitions by putting into one place
instead of sprinkling them out over many disjoint files. This is a follow-up
to achieve the same goal in an incomplete rev.348521.

Approved by: imp
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D20520

# c016c891 23-Mar-2020 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Move device.hints from the runtime to the bootloader package

Also mark it as config file so if a user changes this file pkg will attempt
to merge the new file upon an update.
device.hints is neither related to runtime or loader but it make more sense
to have it in loader in case some user delete /boot/ and wants to recreate it,
now only two packages are required FreeBSD-bootloader and the kernel package.
While here change where we override the package for files installed in /boot,
this allow us to keep other tags (such as config).

Reported by: pizzamig
Reviewed by: bapt pizzamig emaste
Differential Revision: https://reviews.freebsd.org/D24159

# d3c87514 24-Jan-2020 Ed Maste <emaste@FreeBSD.org>

Tag NLS aliases with pkgbase package

POSIX and en_US.US_ASCII are aliases (symlinks) to the C locale. They were
not previously tagged with a pkgbase pacakge. Add the tag so that they are
handled correctly on pkgbase-installed/updated systems.

[This is r356990 reapplied with a corrected commit message.]

Discussed with: manu

# 3407334a 24-Jan-2020 Ed Maste <emaste@FreeBSD.org>

revert r356990 to reapply with correct commit message

Requested by: rgrimes

# 6ed1dc00 22-Jan-2020 Ed Maste <emaste@FreeBSD.org>

Tag NLS aliases with package=runtime

POSIX and en_US.US_ASCII are aliases (symlinks) to the C locale. They were
not previously tagged with a pkgbase pacakge. Add the tag so that they are
handled correctly on pkgbase-installed/updated systems.

Discussed with: manu

# 156ebad6 22-Jan-2020 Kyle Evans <kevans@FreeBSD.org>

Tag os-release symlink with package=runtime

This ensures it gets into pkgbase-(installed/updated) systems.

# 6467506b 20-Nov-2019 Warner Losh <imp@FreeBSD.org>

Create /etc/os-release file.

Each boot, regenerate /var/run/os-release based on the currently running
system. Create a /etc/os-release symlink pointing to this file (so that this
doesn't create a new reason /etc can not be mounted read-only).

This is compatible with what other systems do and is what the sysutil/os-release
port attempted to do, but in an incomplete way. Linux, Solaris and DragonFly all
implement this natively as well. The complete standard can be found at
https://www.freedesktop.org/software/systemd/man/os-release.html

Moving this to the base solves both the non-standard location problem with the
port, as well as the lack of update of this file on system update.

Bump __FreeBSD_version to 1300060

PR: 238953
Differential Revision: https://reviews.freebsd.org/D22271

# 15779434 12-Jun-2019 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Add some tags to files installed in distribution target

Add the MK_MAIL dependant file to the runtime package as well as the
MK_KERBEROS ones the empty locate database, the FreeBSD copyright file
and the GENERIC.hints.
Tag the unbound link from /etc to /var to belong in the unbound package.

Reviewed by: bapt
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D20607

# 6c4448b3 03-Jun-2019 Maxim Sobolev <sobomax@FreeBSD.org>

Put back MTREE_CMD here for now. Doh, not my day, perhaps.

Reported by: markj, mav

# 5d280640 03-Jun-2019 Maxim Sobolev <sobomax@FreeBSD.org>

Leave mtree hardcoded for now. Reverting partially 348521 and also
the followup stopgap change, because I don't think it's a correct. I still
need to figure out where to stick it in. In cannot be in Makefile.inc1
and it cannot be in etc/Makefile from the looks of it to avoid
chicken-and-egg problem.

# 5ec57af4 02-Jun-2019 Maxim Sobolev <sobomax@FreeBSD.org>

Fix several places where tool name has been hardcoded:

install -> ${INSTALL}
mtree -> ${MTREE_CMD}
services_mkdb -> ${SERVICES_MKDB_CMD}
cap_mkdb -> ${CAP_MKDB_CMD}
pwd_mkdb -> ${PWD_MKDB_CMD}
kldxref -> ${KLDXREF_CMD}

If you do custom FreeBSD builds you may want to override those
in some cases.

Sponsored by: Sippy Software, Inc.

# a8b94f3d 22-May-2019 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Move login.access to usb.bin/login

Also remove the etc-examples target as we don't have any files
to handle here.

Reviewed by: bapt

# 6a42f8dd 22-May-2019 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Move termcap.small to share/termcap

Reviewed by: bapt

# 42438321 22-May-2019 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Move rc.sendmail to libexec/rc

Reviewed by: bapt

# f4022639 22-May-2019 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Move rc.bsdextended to libexec/rc

Reviewed by: bapt

# f0f0053a 22-May-2019 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Move rc.firewall to libexec/rc

Put it with all the other rc files

Reviewed by: bapt

# 871b6b10 15-May-2019 Brad Davis <brd@FreeBSD.org>

Move master.passwd and group to lib/libc/gen/

libc was picked as the destination location for these because of the syscalls
that use these files as the lowest level place they are referenced.

Approved by: will (mentor), rgrimes, manu
Differential Revision: https://reviews.freebsd.org/D16728

# eb4c63f7 12-May-2019 Emmanuel Vadot <manu@FreeBSD.org>

Revert r347356 and r347371

passwd related files need to be tagged as config file so pkg update
will attempt merging them when we install a new package.
We should use CONFS for that.
Revert for now until I come up with a better version of this patch as
it breaks pkgbase for users.

# e599c3d4 08-May-2019 Emmanuel Vadot <manu@FreeBSD.org>

etc/Makefile: Remove empty newline

This was commited accidently in r347356 and cause distribution with
NO_ROOT set to fail.

Reported by: ci, kib
MFC after: 2 weeks
X-MFC-With: r347356

# 3d4dafef 08-May-2019 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Deal with the last etc files

Add tags=package=runtime for password related files.
Add tags=package=sendmail for rc.sendmail
Add tags=package=ipfw for rc.firewall

Reviewed by: bapt
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D20173

# 874e7db1 04-Nov-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Simplify NLS alias handling by using native make(1) multi variable for loops

# 4dd729a5 04-Nov-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Fix bad copy/paste

# 97dc79f2 04-Nov-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Simplify a bit distrib-dirs target

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

# b8fdf588 22-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move hosts.allow to lib/libwrap/

This leverages CONFS to handle the install.

Approved by: re (blanket, pkgbase), bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D17240

# d465a4b0 20-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move the openssl.cnf install to secure/usr.bin/openssl/

This leverages CONFS to do the install

Approved by: re (pkgbase, blanket), bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D17245

# 27e35a09 20-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move nsmb.conf to lib/libsmb/

This leverages CONFS to do the install

Approved by: re (pkgbase, blanket), bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D17243

# 6999b785 20-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move opieaccess to lib/libopie/

This leverages CONFS to do the install

Approved by: re (blanket, pkgbase), bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D17241

# 80994f81 20-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move hosts.lpd and printcap to usr.sbin/lpr/lpd/

This leverages CONFS to handle the install

Approved by: re (blanket, pkgbase), bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D17238

# bca33253 19-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move remote & phones to usr.bin/tip/tip/

Approved by: re (blanket, pkgbase), will (mentor)
Differential Revision: https://reviews.freebsd.org/D17219

# f803ec1e 19-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move regdomain.xml to lib/lib80211/

This leverages CONFS to handle the install. lib80211 was picked because it is
where this file is actually used from.

Approved by: re (blanket, pkgbase), will (mentor)
Differential Revision: https://reviews.freebsd.org/D17229

# 02b69379 18-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move libalias.conf to lib/libalias/libalias/

This leveages CONFS to handle the install.

Approved by: re (blanket, pkgbase), bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D17218

# a0bc3b59 18-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move disktab to sbin/bsdlabel/

This leverages CONFS to handle the install.

Approved by: re (blanket, pkgbase), will (mentor)
Differential Revision: https://reviews.freebsd.org/D17217

# 1b491096 18-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move install of locate.rc to usr.bin/locate/locate/

This leverages CONFS to handle the install and purges an old comment.

Approved by: re (blanket, pkgbase), bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D17215

# 22917b7e 18-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move mail.rc install to usr.bin/mail.

This leverages CONFS to do the install

Approved by: re (blanket, pkgbase), bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D17216

# b6af74d2 17-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move mac.conf to lib/libc/posix1e/

This leverages CONFS to handle the install of the config file.

Approved by: re (blanket, pkgbase), will (mentor)
Differential Revision: https://reviews.freebsd.org/D17162

# af734c77 17-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move amd.map to usr.sbin/amd/amd/

This leverages CONFS to handle the install of the config file.

Approved by: re (gjb), will (mentor)
Differential Revision: https://reviews.freebsd.org/D17159

# 9a537769 17-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move libmap.conf to libexec/rtld-elf/

This leverages CONFS to handle the config file install.

Approved by: re (gjb), will (mentor)
Differential Revision: https://reviews.freebsd.org/D17161

# 62e23a47 17-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move dhclient.conf to sbin/dhclient/.

This also leverages CONFS for handling config files.

Approved by: re (gjb), will (mentor)
Differential Revision: https://reviews.freebsd.org/D17160

# 77e4a391 17-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move rpc and netconfig to lib/libc/rpc/

This uses relative paths to make it more specific to avoid any potential
future problems with .PATH and leverages CONFS.

libc was picked as the destination location for these because of the syscalls
that use these files as the lowest level place they are referenced.

Approved by: re (gjb), will (mentor)
Differential Revision: https://reviews.freebsd.org/D17163

# 03452a49 17-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move hosts, hosts.equiv, networks, nsswitch.conf, protocols to lib/libc/net/

This uses relative paths to make it more specific to avoid any potential
future problems with .PATH and leverages CONFS.

libc was picked as the destination location for these because of the syscalls
that use these files as the lowest level place they are referenced.

Approved by: re (gjb), will (mentor)
Differential Revision: https://reviews.freebsd.org/D17164

# 219cf81b 12-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move all pam related config to lib/libpam/

Approved by: re (rgrimes), will (mentor), des
Differential Revision: https://reviews.freebsd.org/D17122

# 2d7bc6b3 06-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move etc/crontab to usr.sbin/cron/cron/

Approved by: re (gjb), will (mentor)
Differential Revision: https://reviews.freebsd.org/D16786

# ce9e223e 05-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move gettytab to libexec/getty/

Approved by: re (gjb), will (mentor)
Differential Revision: https://reviews.freebsd.org/D16953

# 966f2a6f 04-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move etc/ttys to sbin/init/.

And simplify this a little by flattening the directory structure.

Approved by: re (gjb), will (mentor)
Differential Revision: https://reviews.freebsd.org/D16955

# d3b764ac 30-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move fbtab, login.conf, and motd to usr.bin/login/

Approved by: Approved by: re (gjb), bapt (mentor), will (mentor)
Differential Revision: https://reviews.freebsd.org/D16947

# 94ec7ec7 29-Aug-2018 Brad Davis <brd@FreeBSD.org>

Finish moving dot.cshrc and dot.profile to bin/csh/ and bin/sh/.

Approved by: re (gjb), will (mentor)
Differential Revision: https://reviews.freebsd.org/D16770

# 376a4e32 22-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move services to usr.sbin/services_mkdb/

This is pkgbase related as it switches to CONFS to properly tag this as a
config file.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16848

# 39cec25b 22-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move all devfs related files to sbin/devfs/

This is related to pkgbase as it uses CONFS to properly tag these as config
files.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16785

# c8e70555 21-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move all bluetooth related config files out of etc

This helps with pkgbase by switching to CONFS so they are properly tagged as
config files.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16833

# 541075a6 21-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move ftpusers to libexec/ftpd/

Thsi helps with pkgbase by switching to CONFS so that ftpusers will be
properly tagged as a config file.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16787

# 64be79ef 21-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move all syslogd related configs to usr.sbin/syslogd/

This helps with pkgbase as it switches these to use CONFS which properly tags
them as config files.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16783

# 44e1285c 21-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move all devd related configs to sbin/devd/

This helps with pkgbase as it switches these to using CONFS so they are
properly tagged as config files.

Approved by: will (mentor), imp
Differential Revision: https://reviews.freebsd.org/D16781

# 3349f8bb 15-Aug-2018 Brad Davis <brd@FreeBSD.org>

Revert parts of r337849 and r337857

This fixes the build and I will redo these changes as part of a future review
that organizes them differently. The way I tried to do it here could be done
better. Sorry for the noise.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16737

# f0a51d9d 15-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move ssh config file handling into the ssh Makefiles.

This helps with pkgbase by using CONFS and tagging these as config files.

Approved by: allanjude (mentor), des
Differential Revision: https://reviews.freebsd.org/D16678

# b26c7f7f 15-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move all sh and csh files into bin/sh/ or bin/csh/

This simplifies pkgbase by migrating these to CONFS so they are properly
tagged as config files.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16708

# eecd0985 12-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move inetd.conf to usr.sbin/inetd/

This is pkgbase related as it uses CONFS to tag the file as a config file

Approved by: AllanJude (mentor)
Sponsored by: Essen Hackathon
Differential Revision: https://reviews.freebsd.org/D16693

# 31ef5c68 12-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move all the newsyslog related configs to usr.sbin/newsyslog/

This is related to pkgbase and changes these to use CONFS so that these are
tagged as config files.

Approved by: AllanJude (mentor)
Sponsored by: Essen Hackathon
Differential Revision: https://reviews.freebsd.org/D16694

# 9488993b 11-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move all NTP related files to usr.sbin/ntp/ntpd.

This helps with pkgbase by using CONFS to tag these as config files.

Approved by: allanjude (mentor), ian, cy
Sponsored by: Essen Hackathon
Differential Revision: https://reviews.freebsd.org/D16661

# 81ea85a8 11-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move all periodic related config and scripts to usr.sbin/periodic/

This makes pkgbase easier by tagging these as CONFS so they are properly
tagged as config files.

Approved by: will (mentor)
Sponsored by: Essen Hackathon
Differential Revision: https://reviews.freebsd.org/D16553

# 6d76ed56 11-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move pf.os to sbin/pfctl/

Approved by: will (mentor)
Glanced at by: kp
Sponsored by: Essen Hackathon
Differential Revision: https://reviews.freebsd.org/D16557

# bf8a86cd 11-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move cron.d/at to usr.bin/at/

This helps with pkgbase as it tags this as a config file so it is handled as
such

Approved by: allanjude (mentor)
Sponsored by: Essen Hackathon
Differential Revision: https://reviews.freebsd.org/D16673

# c2d948fa 11-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move snmpd.config to usr.sbin/bsnmpd/bsnmpd/

This helps with pkgbase as this config file will now be tagged as a config
file

Approved by: allanjude (mentor)
Sponsored by: Essen Hackathon
Differential Revision: https://reviews.freebsd.org/D16674

# 40557b99 11-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move sysctl.conf to sbin/sysctl/ and switch to CONFS.

This helps with pkgbase to tag this config file as a config file.

Approved by: allanjude (mentor), will (mentor)
Differential Revision: https://reviews.freebsd.org/D16559

# cea9c033 11-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move ddb.conf to sbin/ddb/ and switch to CONFS.

This helps pkgbase as this config file will now be tagged as a config file.

Approved by: allanjude (mentor)
Differential Revision: https://reviews.freebsd.org/D16675

# 9584f619 11-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move OpenBSM to CONFS

This helps with pkgbase as these config files will be properly tagged as
config files.

Approved by: allanjude (mentor), oshogbo
Differential Revision: https://reviews.freebsd.org/D16679

# 624a22b8 04-Aug-2018 Brad Davis <brd@FreeBSD.org>

Fix build after r337340.

Approved by: will (mentor)

# 0ab0a723 04-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move autofs related configs to usr.sbin/autofs/

This is prep for pkgbase to have config files tagged as such.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16492

# 99a84b82 04-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move portsnap.conf to head/usr.sbin/portsnap/portsnap/

This is prep for pkgbase to have config files tagged as such.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16554

# 6e6d254d 04-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move freebsd-update.conf to usr.sbin/freebsd-update.

This is prep for pkgbase so that config files are tagged as such.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16556

# 4d2cf170 04-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move etc/minfree to sbin/savecore/.

This is prep for pkgbase to have config files tagged as such.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16558

# 5836319a 31-Jul-2018 Brad Davis <brd@FreeBSD.org>

Move pkg/FreeBSD.conf to usr.sbin/pkg/

Approved by: bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D16491

# 6d88443d 31-Jul-2018 Brad Davis <brd@FreeBSD.org>

Move blacklistd.conf to usr.sbin/blacklistd/

This is prep for pkging base and helps tag and install config files with the
correct packages.

Approved by: bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D16493

# 4f152140 28-Jul-2018 Brad Davis <brd@FreeBSD.org>

Move nscd.conf from etc/ to usr.sbin/nscd/

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16490

# 1135e97b 28-Jul-2018 Brad Davis <brd@FreeBSD.org>

Move rc startup scripts from etc/ to sbin/init/

This keeps most startup scripts as CONFS per discussion on src-committers from
back during BSDCan.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16466

# a0a1ffcb 28-Jul-2018 Brad Davis <brd@FreeBSD.org>

Move etc/shells to lib/libc/gen with getusershell(3).

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16467

# 74c3bf4a 26-Jul-2018 Brad Davis <brd@FreeBSD.org>

Move apmd.conf to CONFS in usr.sbin/apmd which simplifies this nicely.

Approved by: bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D16431

# 5166d20d 26-Jul-2018 Brad Davis <brd@FreeBSD.org>

Move dumpdates creation to CONFS=

Approved by: bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D16435

# 31ad99a4 21-Jul-2018 Brad Davis <brd@FreeBSD.org>

Revert r336572 and wrap them in machine checks so they are only installed on
i386.

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

# a3b6b79f 20-Jul-2018 Brad Davis <brd@FreeBSD.org>

Purge some old apmd files

Approved by: allanjude
Differential Revision: https://reviews.freebsd.org/D16373

# 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

# 53ed3b32 29-Jun-2018 Alex Richardson <arichardson@FreeBSD.org>

Fix missing files in METALOG with -DNO_ROOT

By using INSTALL_LINK instead of calling ln during install the files
end up in the METALOG file as well if we use -DNO_ROOT and will be
included in a disk image when using makefs with METALOG as the input.
The other file that was not included in METALOG was /var/db/services.db
which is now also included for -DNO_ROOT.

Approved By: brooks (mentor)
Differential Revision: https://reviews.freebsd.org/D15665

# f59e5352 28-Jun-2018 Brad Davis <brd@FreeBSD.org>

Simplify using bsd.endian.mk and have it provide CAP_MKDB_ENDIAN, since it is
the most common usage.

Approved by: bapt (mentor)

# 8dc84f09 04-Jun-2018 Brad Davis <brd@FreeBSD.org>

Move /sys symlink creating out of etc/Makefile.

This is prep for etc/Makefile going away.

Approved by: bapt (mentor)

# 25f0135c 23-Jan-2018 Kyle Evans <kevans@FreeBSD.org>

Add /boot/overlays to runtime pkg, fix distrib-dirs METALOG generation

/boot/overlays was recently added without belonging to a package. It's only
used by bootloaders at the moment, so add it to the 'runtime' package to get
added with ubldr and friends.

Fix distrib-dirs METALOG generation while we're here. History elsewhere
seems to indicate that bapt@ fixed this to pull in all attributes from
mtrees while generating the METALOG. This fix got clobbered somewhere later,
so restore it.

Reviewed by: bapt, gjb
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D13996

# 3aa239f1 18-Nov-2017 Mariusz Zaborski <oshogbo@FreeBSD.org>

Remove unused Casper configurations files.

This is a reaming of Casper daemon.

# f58e5992 13-Nov-2017 Brad Davis <brd@FreeBSD.org>

Remove an unused variable.

Approved by: bdrewery

# bd6bc862 21-Oct-2017 Brad Davis <brd@FreeBSD.org>

Remove a atrun check that is nullified by r318443.

Approved by: will

# 52eb4160 25-Sep-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Do not actually install uneeded alias for man

# e017348a 24-Jul-2017 Enji Cooper <ngie@FreeBSD.org>

Remove ${MTREE} and leverage etc/mtree/Makefile instead with
"make distribution".

This also fixes the fact that BSD.debug.dist was being installed if/when
${MK_DEBUG_FILES} != "no" before this commit.

MFC after: 2 months

# 27f3f39a 10-Jul-2017 Bryan Drewery <bdrewery@FreeBSD.org>

Fix INSTALL_AS_USER after r319020.

Reviewed by: vangyzen
MFC after: 1 week
Sponsored by: Dell EMC Isilon

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

# 56ba774e 19-May-2017 Enji Cooper <ngie@FreeBSD.org>

Install {cron.d,newsyslog.conf.d,syslog.d} via `make distribution`, not `make install`

I incorrectly started this pattern in r277541 with the opensm newsyslog.conf.d file,
and continued using it in r318441 and r318443.

This will fix the files being handled improperly via installworld, preventing tools like
etcupdate, mergemaster, etc from functioning properly when comparing the installed
contents on a system vs the contents in a source tree when doing merges.

PR: 219404
Submitted by: Dan McGregor <dan.mcgregor@usask.ca>
MFC after: 2 weeks
MFC with: r277541, r318441, r318443
Sponsored by: Dell EMC Isilon

# 043b080e 18-May-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionally handle the crontab entry for atrun(8)

The default crontab prior to this commit assumes atrun(8) is always
present, which isn't true if MK_AT == no. Move atrun(8) execution
from /etc/crontab to /etc/cron.d/at, and base /etc/cron.d/at's installation
on MK_AT. cron(8) will detect /etc/cron.d/at's presence when the configuration
is loaded and run atrun every 5 minutes like it would prior to this commit.

SHELL and PATH are duplicated between /etc/crontab and /etc/cron.d/at
because atrun(8) executes programs, which may rely on environment
set in the current default /etc/crontab.

Noted by: bdrewery (in an internal review)
MFC after: 2 months
Relnotes: yes (may need to add environmental modifications to
/etc/cron.d/at)
Sponsored by: Dell EMC Isilon

# cb8106ba 18-May-2017 Enji Cooper <ngie@FreeBSD.org>

Revert r318441: the commit message was incoherent

# 94af8db1 18-May-2017 Enji Cooper <ngie@FreeBSD.org>

Handle the cron.d entry for MK_AT in cron conditionally

Install /etc/cron.d/at if MK_AT != no, always using it, which tries
to run a non-existent program via cron(8) every 5 minutes with the
default /etc/crontab, prior to this commit.

SHELL and PATH are duplicated between /etc/crontab and /etc/cron.d/at
because atrun(8) executes programs, which may rely on environment
currently set via /etc/crontab.

Noted by: bdrewery (in an internal review)
MFC after: 2 months
Relnotes: yes (may need to add environmental modifications to
/etc/cron.d/at)
Sponsored by: Dell EMC Isilon

# 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

# 6dcff5b7 12-Mar-2017 Warner Losh <imp@FreeBSD.org>

Move /etc/ to SRCTOP

Prefer ${SRCTOP}/ to ${.CURDIR}/../ and ${.CURDIR}/../../ as appropriate.

Differential Revision: https://reviews.freebsd.org/D9932
Sponsored by: Netflix
Silence On: arch@ (twice)

# 2d5386cc 31-Oct-2016 Glen Barber <gjb@FreeBSD.org>

Fix packaging /usr/share/examples/etc.

Reported by: woodsb02
MFC after: 3 days
X-MFC-With: r308148
Sponsored by: The FreeBSD Foundation

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

Separate BLACKLIST vs BLACKLIST_SUPPORT properly

Sponsored by: The FreeBSD Foundation

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

Add basic blacklist build support

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

# ea580d0b 01-Jun-2016 Glen Barber <gjb@FreeBSD.org>

Revert r301137 and r301163, and implement a correct fix
for the CONFS issue with dma.conf and ppp.conf.

Thank you very much to Bryan Drewery for looking into the
problem and providing this fix.

Pointyhat: gjb
Sponsored by: The FreeBSD Foundation

# d1900df6 01-Jun-2016 Glen Barber <gjb@FreeBSD.org>

Implement a hack to re-enable installation of the dma.conf.

The 'CONFS' entries in share/mk/bsd.confs.mk explicitly check
for the 'installconfig', but does not behave properly with the
'distribute' target.

This seems to be related to the previously-reported issues
with files within /etc in the past.

Reported by: Ben Woods
Sponsored by: The FreeBSD Foundation

# efe50fa1 01-Jun-2016 Glen Barber <gjb@FreeBSD.org>

Revert r289096:

Files listed in 'CONFS' are not properly included in new
installations (missing from base.txz), for reasons I still
do not fully understand.

This reverts the change excluding /etc/ppp/ppp.conf from
a new installation. /etc/dma/dma.conf is also affected,
but requires a different solution, still being investigated.

Reported by: Ben Woods
Sponsored by: The FreeBSD Foundation

# b40fde96 16-Apr-2016 Glen Barber <gjb@FreeBSD.org>

Fix etcupdate(8) with rc.sendmail and devd/*. It turns out
BIN1 and such in etc/* cannot use FILESGROUPS.

Reported by: peter
Sponsored by: The FreeBSD Foundation

# 53835448 14-Mar-2016 Glen Barber <gjb@FreeBSD.org>

MFH

Sponsored by: The FreeBSD Foundation


# b7d28aff 11-Mar-2016 Bryan Drewery <bdrewery@FreeBSD.org>

META_MODE: Simplify the META_COOKIE handling to use .USE/.USEBEFORE.

Extend it to other cases of meta mode cookies so they get the proper rm
cookie behavior when a .meta file detects it needs to rebuild and fails.

Sponsored by: EMC / Isilon Storage Division

# d5cc0579 11-Mar-2016 Bryan Drewery <bdrewery@FreeBSD.org>

DIRDEPS_BUILD: Fix staging of share/sendmail and share/examples.

Sponsored by: EMC / Isilon Storage Division

# 9c4fa87c 08-Feb-2016 Glen Barber <gjb@FreeBSD.org>

Create a package for sendmail(8).

Sponsored by: The FreeBSD Foundation

# dd181aca 02-Feb-2016 Glen Barber <gjb@FreeBSD.org>

Create a package for autofs(5)

Sponsored by: The FreeBSD Foundation

# dc5f4fa8 14-Jan-2016 Gleb Smirnoff <glebius@FreeBSD.org>

Install /etc/snmpd.config with 0600 permissions.

Noticed by: Pierre Kim
Security: SA-16:06.snmpd
Pointy hat to: glebius in 2005

# 2db56e79 02-Jan-2016 Warner Losh <imp@FreeBSD.org>

Add libsoft to the tree, just like lib32.

# 0574118f 30-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

Revert r290840

This request by the submitter was valid, but unfortunately there is a good deal
of concern over breakage when DESTDIR != / or "", i.e. with release media.
Making this change correct for all cases would make it markedly more complex
than need be

Requested by: bdrewery, ian, imp
PR: 76362

# a55fda25 16-Nov-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Avoid FSCHG for INSTALL_AS_USER as well.

PR: 194189
X-MFC-With: r290628
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division

# cff0f150 14-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

Setup the symlink to /sys to mirror one's current source, e.g. if my source
tree was /usr/src/svn, /sys would point to usr/src/svn

This fixes the assumption that the source tree will always exist at
${DESTDIR}/usr/src

MFC after: 1 week
PR: 76362
Reported by: Scot Hetzel <swhetzel@gmail.com>
Sponsored by: EMC / Isilon Storage Division

# 26de3a17 13-Nov-2015 Brad Davis <brd@FreeBSD.org>

Fix a few files that where being incorrectly installed as one file. This was caused by the nvi upgrade fallout in r281994. So add the missing directories back to the mtree and add distrib-cleanup target to retroactively remove the files that should have been directories.

Reviewed by: bdrewery
Approved by: bdrewery

# 15482f3f 12-Nov-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Respect NO_FSCHG for extracting mtrees.

PR: 194189
X-MFC-With: r290628
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division

# 6662a8e5 09-Nov-2015 Bryan Drewery <bdrewery@FreeBSD.org>

When extracting mtrees, pass -i so schg/sappnd are respected.

This fixes /var/empty not being schg in the installation.

This was a change from fmtree to nmtree, that -i is now required to
apply these flags.

PR: 194189
Submitted by: guyyur@gmail.com
MFC after: 2 weeks
Relnotes: yes

# 7d8f797b 27-Oct-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Use more appropriate ${SHAREDIR} rather than /usr/share.

MFC after: 2 weeks
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

# 6f422073 16-Oct-2015 Cy Schubert <cy@FreeBSD.org>

Add default leap-seconds file. This should help ntp networks get the
leap second date correct

Updates to the file can be obtained from ftp://time.nist.gov/pub/ or
ftp://tycho.usno.navy.mil/pub/ntp/.

Suggested by: dwmalone
Reviewed by: roberto, dwmalone, delphij
Approved by: roberto
MFC after: 1 week

# 07670b30 14-Oct-2015 Ed Maste <emaste@FreeBSD.org>

Create /usr/tests *.debug file directory hierarchy

Reviewed by: bdrewery, ngie
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3896

# 23c78161 09-Oct-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Move ppp.conf into the ppp sources

# 855ff27c 09-Oct-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Move all the dma(8) components into one single directory

Simplifying maintainance and options (only one place to deal with MK_DMAGENT)

This also makes packaging base less intrusive by getting a single point where
to add tags.

# ccfb9654 13-Jun-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Add META_MODE support.

Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.

Still need to add real targets under targets/ to build packages.

Differential Revision: D2796
Reviewed by: brooks imp


# c426d0d1 04-Jun-2015 Glen Barber <gjb@FreeBSD.org>

Re-implement endian-aware services_mkdb(8) in the 'distribute'
target. This effectively reverts r261142, which reverted both
r261031 and r261044.

Prodded by: jhb
MFC after: 1 week
Sponsored by: The FreeBSD Foundation

# 1a31e4a6 04-Jun-2015 Baptiste Daroussin <bapt@FreeBSD.org>

After r283981 it is no more needed to specify endianness when generating the
passwd database

# 98e0ffae 26-May-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge sync of head


# 7afb8adf 18-May-2015 Enji Cooper <ngie@FreeBSD.org>

Move all test integration pieces for etc/ from etc/ to tests/

This is being done to fix breakage with make distribution with read-only
source trees as make distribution doesn't use make obj like building
tests/ does in all cases

Reported by: Wolfgang Zenker <wolfgang@lyxys.ka.sub.org>
Suggested by: jhb
X-MFC with: r282059
MFC after: 1 week

# 2b7dce20 04-May-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Remove now unneeded libmap32.conf

# 8c507534 06-Apr-2015 Andrew Turner <andrew@FreeBSD.org>

Respect DESTDIR when creating the directory structure when NO_ROOT is set.

Reviewed by: bapt
MFC after: 1 Week

# 5dd72ff5 24-Feb-2015 Ed Maste <emaste@FreeBSD.org>

Unconditionally install debug directory hierarchy

This avoids various failure modes (e.g., when building and installing a
single binary with debug data on a system that otherwise does not have
it enabled).

It is also consistent with the way other directory hierarchies are
handled (e.g. share/man).

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D1962

# f515b598 05-Feb-2015 Enji Cooper <ngie@FreeBSD.org>

Honor the following flags for items that can be conditionalized out of the
build/install without disrupting other dependent services (see r278249, et
al):

- MK_LOCATE
- MK_MAN
- MK_NLS
- MK_OPENSSL
- MK_PKGBOOTSTRAP
- MK_SENDMAIL

Additional flags need to be handled in etc/Makefile, but it requires
refactoring the relevant scripts in etc/rc.d/*

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

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

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

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

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

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

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

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

# 5e497231 22-Jan-2015 Enji Cooper <ngie@FreeBSD.org>

Add sample log rotation support for opensm

Up to 7 archives of the log will be kept (just for consistency with the other
log rotation rules)

PR: 196788
MFC after: 1 week
Reviewed by: hselasky
Sponsored by: EMC / Isilon Storage Division

# 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

# dfdf74ea 29-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Revert r275270

MK_MAIL applies to MK_SENDMAIL and a number of other knobs. r275270 incorrectly
applied it to only MK_SENDMAIL

# e42bedb8 29-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

etc/mail actually applies to MK_SENDMAIL, not MK_MAIL

# 9268022b 18-Nov-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Merge from head@274682


# ee7b0571 19-Aug-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Merge head from 7/28


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

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

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

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

# c67bc4db 14-Jun-2014 Gavin Atkinson <gavin@FreeBSD.org>

Remove send-pr, the supported interface to submit bugs is now via
https://bugs.freebsd.org/submit/

Removing send-pr also removes one more piece of non-BSD-licensed software.

Hat: bugmeister
MFC after: 3 days

# e8a34402 10-Jun-2014 Julio Merino <jmmv@FreeBSD.org>

Put the test suite in its own tests.txz distribution file.

Force all the contents of /usr/tests to go into a separate distribution
file so that users of binary releases can easily choose to not install it.

To make this possible, we need two fixes:
- bsd.subdir.mk needs to properly honor NO_SUBDIR in all cases so that we
do not recurse into 'tests' subdirectories when we needn't. Otherwise,
we end up with some Kyuafiles in base.txz.
- etc/Makefile needs to skip installing tests in its 'distribute' target
so that a Kyuafile doesn't leak into base.txz.

Approved by: gjb

# cc3f4b99 08-May-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Merge from head


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

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

# 63efcf90 01-May-2014 Simon J. Gerraty <sjg@FreeBSD.org>

There is no guarantee that our group has a name.
Since the results are temp, just subst [gu]name for [gu]id

Reviewed by: obrien

# 3b8f0845 28-Apr-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Merge head


# 38f0b757 21-Apr-2014 Julio Merino <jmmv@FreeBSD.org>

Add placeholder Kyuafiles for various top-level hierarchies.

This change adds tests/ directories in the source tree to create various
subdirectories in /usr/tests/ and to install placeholder Kyuafiles for
them.

the relevant hierarchies are: cddl, etc, games, gnu and secure.

The reason for this is to simplify the addition of new test programs for
utilities or libraries under any of these directories. Doing so on a
case by case basis is unnecessary and is quite an obscure process.

# eed74b23 13-Apr-2014 Bryan Drewery <bdrewery@FreeBSD.org>

Always install pkg.conf. Don't depend on MK_PKGBOOTSTRAP.

This file is used by pkg(8) from ports as well. Someone may
choose to not install pkg(7) but still want to consume
official packages by building or installing pkg(8) manually.

Discussed with: bapt
MFC after: 1 day (Working on EN)

# 6a54f620 22-Feb-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Rename WITHOUT_DMA into WITHOUT_DMAGENT to avoid confusion

Requested by: ian

# a1bf0ec8 21-Feb-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Install a default configuration file for dma

Suggested by: flo

# b3f2918a 24-Jan-2014 Glen Barber <gjb@FreeBSD.org>

Temporarily turn off the services.db generation during distributeworld.
I'll work on an update to test for endianness-compatibility.

Submitted by: many
Sponsored by: The FreeBSD Foundation

# 8fcaeb45 22-Jan-2014 Glen Barber <gjb@FreeBSD.org>

Disable output about duplicate services, which were not output during
testing.

MFC after: 1 month
X-MFC-After: r261031
Sponsored by: The FreeBSD Foundation

# 385d6d47 22-Jan-2014 John Baldwin <jhb@FreeBSD.org>

Generate /var/db/services.db during 'make distribution' so that it is
present during new installs. Update etcupdate and mergemaster to
ignore the generated file.

Tested by: gjb (release build)
MFC after: 1 month

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

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

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

Sponsored by: The FreeBSD Foundation

# 5efcd27a 16-Nov-2013 Julio Merino <jmmv@FreeBSD.org>

Move all atf directories to the tests mtree.

This is to ensure that test-related directories don't get needlessly
created (and later deleted) when MK_TESTS=no.

Problem found by jhb@.

Approved by: rpaulo (mentor)

# 8d20be1e 29-Oct-2013 Bryan Drewery <bdrewery@FreeBSD.org>

Move /etc/keys to /usr/share/keys where users are less likely to modify them.

Requested by: secteam (cperciva, des)
Approved by: bapt

# 24a22129 25-Oct-2013 Bryan Drewery <bdrewery@FreeBSD.org>

Add infrastructure for installing pkg(8) keys into /etc/keys/pkg and add
the current test key that packages will be signed with until 10.0-RELEASE.

Approved by: bapt
Discussed by: bapt with des
MFC after: 2 days

# bc5e9ac0 25-Oct-2013 Bryan Drewery <bdrewery@FreeBSD.org>

Add support for reading configuration files from /etc/pkg.
For now only /etc/pkg/FreeBSD.conf is supported. Its style is:

Repo: {
URL: "...",
MIRROR_TYPE: "...",
...
}

The configuration will be read from /usr/local/etc/pkg.conf if exists,
otherwise /etc/pkg/FreeBSD.conf

Approved by: bapt
MFC after: 2 days

# e2197f80 24-Oct-2013 Rui Paulo <rpaulo@FreeBSD.org>

Set up the /usr/tests hierarchy.

Populate /usr/tests with the only test programs that currently live
in the tree (those in lib/libcrypt/tests/) and add all the build
machinery to accompany this change.

In particular:

- Add a WITHOUT_TESTS variable that users can define to request that
no tests be put in /usr/tests.
- Add a top-level Kyuafile for /usr/tests and a way to create similar
Kyuafiles in top-level subdirectories.
- Add a BSD.tests.dist file to define the directory layout of
/usr/tests.

Submitted by: Julio Merino jmmv google.com
Reviewed by: sjg
MFC after: 2 weeks

# 1991e07a 21-Oct-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Fix botched sed script

# e8f617fd 16-Oct-2013 Simon J. Gerraty <sjg@FreeBSD.org>

We use distrib-dirs to populate stage tree.
But that depends on up-to-date passwd and group files in /etc.
If MK_INSTALL_AS_USER==yes and we are not root, filter the mtree input
to avoid problems with [gu]name and [gu]id settings.

# 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

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

Remove BIND.

Approved by: re (gjb)

# 63d39bea 24-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Replace the unused /etc/unbound directory with a symlink to /var/unbound.

Approved by: re (blanket)

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

The correct variable is apparently MACHINE_ARCH, not TARGET_ARCH.

Approved by: re (blanket)

# 924eb781 09-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove unneeded mappings from libmap32.conf. Move it up one level and
install it on powerpc64 in addition to amd64.

Reviewed by: kib
Approved by: re (blanket)

# 773eec47 08-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Add a stock libmap32.conf for amd64. The first two lines have no effect
except to document the hardcoded standard library search path for 32-bit
binaries. The third line performs the equivalent substitution for the
private library directory.

Ironically, these entries rely on functionality which is only available
in the COMPAT_32BIT version of rtld-elf.

Approved by: re (blanket)

# 4b001597 31-Jul-2013 Jeremie Le Hen <jlh@FreeBSD.org>

Include /usr/local/etc/libmap.d/ by default.

PR: 180568
Reviewed by: bapt
Obtained from: kib
MFC after: 3 days

# 42f8c5b5 07-Jun-2013 Ed Maste <emaste@FreeBSD.org>

Add a new knob WITH_DEBUG_FILES to control the building of standalone
debug files for userland programs and libraries. The "-g" debug flag
is automatically applied when WITH_DEBUG_FILES is set.

The debug files are now named ${prog}.debug and ${shlib}.debug for
consistency with other systems and documentation. In addition they are
installed under /usr/lib/debug, to simplify the process of installing
them if needed after a crash. Users of bsd.{prog,lib}.mk outside of the
base system place the standalone debug files in a .debug subdirectory.
GDB automatically searches both of these directories for standalone
debug files.

Thanks to everyone who contributed changes, review, and testing during
development.

# 8dccfa7c 30-Apr-2013 Brooks Davis <brooks@FreeBSD.org>

Make an attempt to detect missing MTREE files in distrib-dirs. Not
perfect, but this is just a developer seatbelt.

PR: conf/176897
Submitted by: Garrett Cooper <yaneurabeya@gmail.com>
MFC after: 1 week

# 69b23515 22-Feb-2013 Andrey A. Chernov <ache@FreeBSD.org>

Back out prev. change preventing /sys/sys symlink. It appears my install
was not very recent and not acts like 'ln -h'

# 312c5e1a 17-Feb-2013 Andrey A. Chernov <ache@FreeBSD.org>

In 'make hierarchy' don't install /sys/sys pointing to usr/src/sys
but just /sys pointing there

# 8caedc2a 30-Jan-2013 Brooks Davis <brooks@FreeBSD.org>

When adding the directory ownership to the METALOG do it by name rather
than number as is done in install so as to differ binding of names to
ids.

Remove the -W flag from the mtree command so that the correct user and
group is recorded rather than the default.

# 64dc091f 29-Jan-2013 Brooks Davis <brooks@FreeBSD.org>

Log the addition of login.conf.db, passwd, pwd.db, and spwd.db via cat -l.

Make cat a bootstrap tool to facilitate this.

# 4a63ae11 22-Jan-2013 Brooks Davis <brooks@FreeBSD.org>

Introduce a new option -DNO_ROOT that allows install and distribution
targets to be run without root privilege.

Information about ownership, group, flags, and suid bits are stored in
the file specified by METALOG which defaults to ${DESTDIR}/METALOG.
This file can be used in conjunction with bsdtar or makefs to generate
archives or file system images with correct permissions.

The packageworld target has been altered to use this metadata allowing
non-root releases (subject to further changes in release/Makefile.)

Sponsored by: DARPA, AFRL
Reviewed by: ian, ray

# 12dd8cb1 21-Jan-2013 Brooks Davis <brooks@FreeBSD.org>

Replace all known uses of ln in the build process with appropriate
install -l invocations via new INSTALL_LINK and INSTALL_SYMLINK
variables.

Sponsored by: DARPA, AFRL
Reviewed by: ian, ray, rpaulo

# dbc6339b 17-Jan-2013 Brooks Davis <brooks@FreeBSD.org>

In r245571, "rm -rf <foo>; ln -s <bar> <foo>" needed to be replaced with
"ln -sfh <bar> <foo>" or the links would fail when a valid link to a
directly was in place at <foo>.

Reported by: peter
Tested by: peter
Pointy hat to: brooks

# 62bc689a 17-Jan-2013 Brooks Davis <brooks@FreeBSD.org>

In preparation for logging metadata about each filesystem object
refactor the link section of distrib-dirs to alwasy install to a full
path (the link contents remain relative as they should).

Eliminate the use of the "rm -r[f] <foo>; ln -s <bar> <foo>" pattern in
favor of "ln -sf <bar> <foo>". None of these links could be directories
on a system installed in the last decade.

Sponsored by: DARPA, AFRL
Reviewed by: mtree

# 75534bda 17-Jan-2013 Brooks Davis <brooks@FreeBSD.org>

Rework the mtree portion of etc/Makefile's distrib-dirs target to run
mtree in a shell loop so there is only one mtree commandline. Move the
implementation of LOCAL_MTREE into etc/Makefile.

Sponsored by: DARPA, AFRL
Reviewed by: mtree :)

# 41a8e223 14-Jan-2013 Brooks Davis <brooks@FreeBSD.org>

Add an option DB_FROM_SRC to use src/etc's user/group databases when
installing. This allows things like running installworld for 10-CURRENT
on a 9.0-RELEASE system without adding extra users and groups to the
passwd and group files.

To prevent potentially risky uid/gid mismatches on systems with
non-standard local values, require that DESTDIR be set if DB_FROM_SRC is
set.

Sponsored by: DARPA, AFRL
Reviewed by: peter

# 0fc1aae5 11-Jan-2013 Brooks Davis <brooks@FreeBSD.org>

Revert r245316. Systems with non-standard uids/gids are more prevalent
that I'd feared. Discussion is ongoing about the scope of a safer
solution.

# 7ee2bf94 11-Jan-2013 Brooks Davis <brooks@FreeBSD.org>

Use the -N option to install and nmtree to eliminate the need for the
checks for missing users and groups.

Sponsored by: DARPA, AFRL

# 7ccabb05 15-Nov-2012 Eitan Adler <eadler@FreeBSD.org>

Using set -x produces output on stderr instead of stdout.
It also doesn't work with make -s.
Prefer the use of builtin make features.

PR: misc/126312
Reported by: Nejc Skoberne <nejc@skoberne.net>
Submitted by: bdrewery
Approved by: cperciva
MFC after: 1 week

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

# 7c5a9216 12-Jun-2012 Dag-Erling Smørgrav <des@FreeBSD.org>

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

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

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

MFC after: 3 weeks

# f85a4a29 16-Feb-2012 Eitan Adler <eadler@FreeBSD.org>

Style: prefer the use of line continuations to +=

Requested by: marcel, dougb, bde
Approved by: cperciva
MFC after: 3 days

# b169a332 09-Feb-2012 Eitan Adler <eadler@FreeBSD.org>

Make etc/Makefile more conflict resistant

PR: conf/163789
Submitted by: gcooper (iXsystems)
Approved by: cperciva
MFC after: 3 days

# 4116c8e7 10-Aug-2011 Doug Barton <dougb@FreeBSD.org>

Revert r224760, and enhance the sed patterns from r224659 to comment out
the _compat entries in the WITHOUT_NIS case rather then delete them.

Approved by: re (kib)

# c2aedca4 06-Aug-2011 Doug Barton <dougb@FreeBSD.org>

Rather than edit the nsswitch.conf file based on ${MK_NIS} == "no"
comment out the NIS _compat options by default, but leave them in
the file for the convenience of users who want to enable it.

Update the comment in the file accordingly.

Reviewed by: ed
Approved by: re (hrs)

# b41afd43 05-Aug-2011 Ed Schouten <ed@FreeBSD.org>

Remove NIS entries from /etc/nsswitch.conf for WITHOUT_NIS.

We already modify various configuration files in /etc based on build
configuration. This is not done for nsswitch.conf right now when setting
WITHOUT_NIS. This breaks various utilities, including crond, that depend
on working databases.

Approved by: re (kib)
MFC after: 1 month

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

# 42e2c9f1 03-Oct-2010 Gordon Tetlow <gordon@FreeBSD.org>

No longer install /etc/manpath.config since the BSDL man utilities
don't use it.

Approved by: wes (mentor)

# ac796179 16-Jun-2010 Andriy Gapon <avg@FreeBSD.org>

device.hints: do install when WITHOUT_BOOT is set

Discussed with: imp
MFC after: 2 weeks

# f62a0233c 13-Jun-2010 Warner Losh <imp@FreeBSD.org>

Merge from tbemd, with minor tweaks:

Search from most specific ($MACHINE) to least specific
($MACHINE_CPUARCH) when looking for the tty file to use. Also add an
.error case if none exist.

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

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

PR: misc/145212

# 799c1824 19-Mar-2010 Ed Schouten <ed@FreeBSD.org>

Slightly improve my previous commit.

Just comment out the atrun line instead of completely removing it. It is
not a bad idea to leave it as a reference in case someone decides to
install atrun by hand afterwards.

# 5743a283 19-Mar-2010 Ed Schouten <ed@FreeBSD.org>

Don't add the atrun-line to the crontab when MK_AT is set.

This prevents spurious calls to sendmail every 5 minutes.

MFC after: 1 week

# 52a7be6c 07-Mar-2010 Ed Schouten <ed@FreeBSD.org>

Install termcap.small.

Right now we have a termcap.small in the tree, but we don't install it.
If we do install this file by default, it is more likely for
applications to work in single user mode.

I am not entirely happy with the contents of this file. In my opinion we
should remove the `dosansi', `pc' and `pc3' entries and replace them
with `vt100' in case someone uses a serial console.

The file does already have entries for `cons25' and `xterm', which is
used most often.

Requested by: brucec

# 2bba0e1a 02-Dec-2009 Hajimu UMEMOTO <ume@FreeBSD.org>

Unify rc.firewall and rc.firewall6, and obsolete rc.firewall6
and rc.d/ip6fw.

Reviewed by: dougb, jhb
MFC after: 1 month

# d29a98f4 13-Nov-2009 Ed Schouten <ed@FreeBSD.org>

Split up etc.i386/ttys into a PC98 version as well.

This means I can now convert syscons on i386 to xterm as well.

Discussed with: nyan

# b7f0127e 02-Sep-2009 Florent Thoumie <flz@FreeBSD.org>

- Remove BSD.{x11,x11-4}.dist as we merged prefixes a while ago and those
files aren't used anymore.
- Remove BSD.local.dist as the file moved to ports/Templates when we merged
prefixes.

# e530f4b5 07-Jun-2009 Edwin Groothuis <edwin@FreeBSD.org>

Welcome to a default installed /etc/ntp.conf

This NTP configuration file points to the [012].pool.ntp.org servers,
which will return a list of geographical local NTP servers.
It uses the best-practice options of "iburst" and "maxpoll 9".
It gives examples on how to use the "restrict" commands, which are
unfortunately not working when you use the pool.ntp.org servers.
It sets up a fudge server so any clients syncing against this server
will always be synced even if we lose the master.

The idea of this file was briefly discussed on -net.

PR: conf/58595
Submitted by: Chris Stenton <jacs@gnome.co.uk>
MFC after: 1 week

# 487f6bb8 17-Dec-2008 Andrew Thompson <thompsa@FreeBSD.org>

Add /etc/devd/ and move hardware specific configuration there. This makes it
easier to maintain custom rules for non-system things like ACPI hotkeys.

/etc/devd.conf is already set up to check this directory, no change needed there.

# 3f2459c9 29-Oct-2008 Mark Peek <mp@FreeBSD.org>

Explicitly set the shell to /bin/sh when MK_TCSH == no.

Not objected to by: sam

# 5b6f5016 27-Oct-2008 Sam Leffler <sam@FreeBSD.org>

o fix MK_TCSH == no: the default master.passwd sets up root to use /bin/csh
but there won't be one so root won't be able to login; edit the installed
file to use /bin/sh in this case.
o while here split csh-related files apart from sh and only install them
when requested

# 0a25b2e0 08-Oct-2008 Dag-Erling Smørgrav <des@FreeBSD.org>

Create separate cat directories for en.UTF-8. This, together with r183697,
allows users in en.UTF-8 locales to see non-ascii characters in man pages.

MFC after: 1 week

# e8d1aafb 22-Sep-2008 Sam Leffler <sam@FreeBSD.org>

add back regdomain.xml

Noticed by: jhay

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

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

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

# 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

# 67591c28 20-Apr-2008 Sam Leffler <sam@FreeBSD.org>

802.11 regulatory definitions used by ifconfig

Support by: Hobnob

# ae2edb2a 05-Mar-2008 Brooks Davis <brooks@FreeBSD.org>

Use the new command file feature of ddb(8) to support setting ddb(4)
scripts at boot. This is currently disabled by default. /etc/ddb.conf
contains some potentially reasonable default scripts.

PR: conf/119995
Submitted by: Scot Hetzel <swhetzel at gmail dot com> (Earlier version)
X-MFC after: textdumps

# 42a227f8 10-Nov-2007 Max Laier <mlaier@FreeBSD.org>

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

# e0cb3d9c 29-Oct-2007 Yaroslav Tykhiy <ytykhiy@gmail.com>

Add support for `make -nn' dry runs to this makefile. Basically,
it's just a matter of adding a `${_+_}' prefix before each submake
invokation. This allows a dry run to proceed down to, but not
including, leaf commands. (See <sys.mk> for how ${_+_} is set
depending on the number of -n flags.)

# 0f3c4f0f 18-Oct-2007 Michael Bushkov <bushman@FreeBSD.org>

Forced commit to note cached.conf -> nscd.conf repocopy. etc/Makefile
changed accordingly.

Approved by: brooks (mentor)

# 9f05d312 15-Oct-2007 Alexander Leidinger <netchild@FreeBSD.org>

Backout sensors framework.

Requested by: phk
Discussed on: cvs-all

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

Import OpenBSD's sysctl hardware sensors framework.

This commit includes the following core components:

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

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

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

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

# b906fea6 13-Jul-2007 Warner Losh <imp@FreeBSD.org>

Arm doesn't have GENERIC.hints, so don't install it if it doesn't exist.

Approved by: re (kensmith)

# bc998fd6 17-Jun-2007 Doug Barton <dougb@FreeBSD.org>

Add a namedb/master directory for the zone files I'm about to add,
and switch to the more "normal" way of installing files for the
namedb directory so that we can pick up the new subdir.

# be4f3cd0 26-Sep-2006 Paolo Pisati <piso@FreeBSD.org>

Summer of Code 2005: improve libalias - part 1 of 2

With the first part of my previous Summer of Code work, we get:

-made libalias modular:

-support for 'particular' protocols (like ftp/irc/etcetc) is no more
hardcoded inside libalias, but it's available through external
modules loadable at runtime

-modules are available both in kernel (/boot/kernel/alias_*.ko) and
user land (/lib/libalias_*)

-protocols/applications modularized are: cuseeme, ftp, irc, nbt, pptp,
skinny and smedia

-added logging support for kernel side

-cleanup

After a buildworld, do a 'mergemaster -i' to install the file libalias.conf
in /etc or manually copy it.

During startup (and after every HUP signal) user land applications running
the new libalias will try to read a file in /etc called libalias.conf:
that file contains the list of modules to load.

User land applications affected by this commit are ppp and natd:
if libalias.conf is present in /etc you won't notice any difference.

The only kernel land bit affected by this commit is ng_nat:
if you are using ng_nat, and it doesn't correctly handle
ftp/irc/etcetc sessions anymore, remember to kldload
the correspondent module (i.e. kldload alias_ftp).

General information and details about the inner working are available
in the libalias man page under the section 'MODULAR ARCHITECTURE
(AND ipfw(4) SUPPORT)'.

NOTA BENE: this commit affects _ONLY_ libalias, ipfw in-kernel nat
support will be part of the next libalias-related commit.

Approved by: glebius
Reviewed by: glebius, ru

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

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

Sponsored by: FreeBSD security development fundraiser

# 321000dd 03-May-2006 Hajimu UMEMOTO <ume@FreeBSD.org>

Install /etc/nsswitch.conf statically rather than generating it at
boot. Autogeneration of nsswitch.conf doesn't makes sense in 7.0
since it's not permitted to upgrade from a pre-nss release without
passing through an intermediate release.

Suggested by: brooks

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

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

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

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

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

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

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

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

# 3c0aeb76 11-Mar-2006 Ruslan Ermilov <ru@FreeBSD.org>

Fix "make distribution" when just NO_CRYPT is defined.

PR: misc/94309
Submitted by: Matthias Lederhofer
MFC after: 3 days

# 7db952b8 12-Feb-2006 Robert Watson <rwatson@FreeBSD.org>

Install audit_control and audit_user, both of which are likely to be
modified by the administrator, as user-writable instead of read-only.

Obtained from: TrustedBSD Project

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

Install /etc/security configuration files from OpenBSM.

Obtained from: TrustedBSD Project

# c0b9f4fe 29-Dec-2005 Doug Rabson <dfr@FreeBSD.org>

Add a new extensible GSS-API layer which can support GSS-API plugins,
similar the the Solaris implementation. Repackage the krb5 GSS mechanism
as a plugin library for the new implementation. This also includes a
comprehensive set of manpages for the GSS-API functions with text mostly
taken from the RFC.

Reviewed by: Love Hörnquist Åstrand <lha@it.su.se>, ru (build system), des (openssh parts)

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

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

Submitted by: Anish Mistry

# ebd3cef1 16-Nov-2005 Ruslan Ermilov <ru@FreeBSD.org>

Diff reduction to RELENG_6.

# 652729a4 26-Aug-2005 Warner Losh <imp@FreeBSD.org>

Allow one to override the endian flags for make distribution. This
can be useful for when you know that you are doing something that
won't work with the standard settings and different settings are more
appropriate.
This allows 5.3 tools to build a 6.x userland when these
values are set to null.

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

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

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

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

# 1ede9a7d 22-Jul-2005 Ruslan Ermilov <ru@FreeBSD.org>

Require that DESTDIR be set before running "make distribution".

# 65374912 15-Jul-2005 Ruslan Ermilov <ru@FreeBSD.org>

Pass -i to pwd_mkdb(8) to ignore locking failures. This can be useful
for NFS installing world/kernel to another machine.

# 2af94c5d 29-Apr-2005 Brooks Davis <brooks@FreeBSD.org>

To allow /etc to be as minimal as possible in a diskless setup, we need
to run initdiskless before we run rcorder on /etc/rc.d. To allow this,
move /etc/rc.d/initdiskless to /etc/rc.initdiskless and run it directly
from /etc/rc.

Remove /etc/rc.d/preseedrandom as it is no longer necessicary (we start
with entropy unblocked) and was only used by initdiskless when it
was needed.

Discussed on: freebsd-rc
Repocopy by: peter

# 8d6e44f8 17-Apr-2005 Gleb Smirnoff <glebius@FreeBSD.org>

Add startup script and default configuration file for bsnmpd.

Reviewed by: harti

# 04198d18 01-Mar-2005 Brooks Davis <brooks@FreeBSD.org>

Remove a number of entries from the distribution target that are
automaticly created at boot. There's no need to maintain a list of
files and permissions in multiple places. This also means binary
updates won't stomp on log files.

For the record, utmp is created in etc/rc.d/cleanvar, wtmp and lastlog
in etc/rc.d/var, and the reset via etc/rc.d/newsyslog.

# 81e03d88 28-Feb-2005 Tom Rhodes <trhodes@FreeBSD.org>

Add rc.bsdextended. It's been tested enough.

# 0c5397aa 28-Feb-2005 Ruslan Ermilov <ru@FreeBSD.org>

Bootstrap pwd_mkdb(8) and use its new feature during "make distribute".

# 80f64943 28-Feb-2005 Ruslan Ermilov <ru@FreeBSD.org>

Step 1/2 of making "make distribute" work for cross-builds.

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

NOCRYPT -> NO_CRYPT

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

Start the dreaded NOFOO -> NO_FOO conversion.

OK'ed by: core

# b04e39c4 07-Oct-2004 Doug Barton <dougb@FreeBSD.org>

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

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

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

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

# 46c63c1d 05-Oct-2004 Ruslan Ermilov <ru@FreeBSD.org>

Fixed symlinking of /etc/namedb.

Reported by: Jeremy Chadwick

# bb3b2b37 30-Sep-2004 Doug Barton <dougb@FreeBSD.org>

Install namedb stuff to ${DESTDIR}/var/named/etc/namedb instead
of relying on the symlink in ${DESTDIR}/etc/namedb.

This is functionally equivalent, but doesn't rely on the symlink to work.

Requested by: ru

# 587ca405 29-Sep-2004 Ruslan Ermilov <ru@FreeBSD.org>

Fixed symlinking /var/named/etc/namedb to /etc/namedb.
A second "make distrib-dirs" createed a symlink in /var/namedb/etc/namedb.
A third "make distrib-dirs" failed.

# 8f1bb389 28-Sep-2004 Doug Barton <dougb@FreeBSD.org>

Create a named chroot directory structure in /var/named, and use it
by default when named is enabled. Also, improve our default directory
layout by creating /var/named/etc/namedb/{master|slave} directories,
and use the former for the generated localhost* files.

Rather than using pax to copy device entries, mount devfs in the
chroot directory.

There may be some corner cases where things need to be adjusted,
but overall this structure has been well tested on a production
network, and should serve the needs of the vast majority of users.

UPDATING has instructions on how to do the conversion for those
with existing configurations.

# 2a614447 27-Sep-2004 Doug Barton <dougb@FreeBSD.org>

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

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

Reviewed by: ru, des

# 8dee2697 24-Sep-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Reconnect namedb. While it may not be optimal, our old named.conf from
BIND 8 is quite usable for BIND 9.

# cd3ee173 21-Sep-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Switch from BIND 8 to BIND 9.

Submitted by: (in part) dougb@, trhodes@
Reviewed by: dougb@, trhodes@, re@
MFC after: 5 days

# dde5634f 23-Mar-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Drop the -d argument to mtree since some of the spec files now list
symlinks.

# 920fa8dc 14-Mar-2004 Ruslan Ermilov <ru@FreeBSD.org>

I believe most of /boot/device.hints out there are based (if not
identical) on GENERIC.hints, hence the following change:

Moved the creation of /boot/device.hints where it belongs. This
should aid in merging GENERIC.hints changes to /boot/device.hints,
using mergemaster(8) or a similar approach.

# 8d69c48b 08-Mar-2004 Max Laier <mlaier@FreeBSD.org>

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

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

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

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

Approved by: bms(mentor)

# bbe8270c 22-Jan-2004 Ruslan Ermilov <ru@FreeBSD.org>

- Run makewhatis(1) in etc/Makefile at the end of "install".
- Removed redundant and undocumented NO_MAKEDB_RUN knob.

# 6e14bc78 07-Jan-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Get moduli from the OpenSSH sources instead of keeping a local copy.

# d7a60648 02-Nov-2003 Mark Murray <markm@FreeBSD.org>

Use a better way to take NO_LPR into account, and correctly check the
NOCRYPT macro when looking at crypto.

Reminded by: ru

# e6ef35a9 26-Oct-2003 Maksim Yevmenkin <emax@FreeBSD.org>

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

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

# 99d38d6c 03-Oct-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Only install .k5login if people have not set NO_KERBEROS.

# 6db57426 27-Sep-2003 Mark Murray <markm@FreeBSD.org>

Don't install etc/printcap in the NO_LPR case; ports like 'cups'
make their own etc/printcap if they need it.

# 9e9c5a9d 18-Sep-2003 Mark Murray <markm@FreeBSD.org>

Remove excess paranoia. There is no need to chech for the crypto/ dir
any more, and this check has been removed elsewhere.

# c732f303 23-Aug-2003 Mike Makonnen <mtm@FreeBSD.org>

o Do not keep a separate list of src/etc/defaults files in
the src/etc makefile. This list was used to manually
install the files from src/etc. Instead, simply change
directory and 'make install'.
o There is no reason for the files in src/etc/defaults to
be installed as writeable.

Reviewed by: ru

# a37fe9e7 17-Aug-2003 David E. O'Brien <obrien@FreeBSD.org>

Don't hardcode owner 'root' and group 'wheel'.

Submitted by: Ulrich Spoerlein <q@uni.de>

# 6e82f17a 06-Jul-2003 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Do not install sendmail example/infrastructure files if NO_SENDMAIL is
defined. The only two files installed in this case are aliases (which
I believe other MTAs may use) and mailer.conf (which isn't sendmail,
it belongs to mailwrapper).

PR: 50477
MFC after: 5 days

# d5a6e6e7 09-Jun-2003 Andrey A. Chernov <ache@FreeBSD.org>

Old-promised removing of deprecated locale names

# 367ff021 06-May-2003 Doug Barton <dougb@FreeBSD.org>

Hook devfs.conf up to the build.

Approved by: re (scottl)

# 0477e337 02-May-2003 Doug Barton <dougb@FreeBSD.org>

Hook rc.sendmail back up, it was removed prematurely

# 4b065e2c 01-May-2003 Doug Barton <dougb@FreeBSD.org>

Per previous announcement, remove the old version of the rc system.

All functionality from the previous system has been preserved, and
users should still customize their system boot with the familiar
methods, rc.conf, rc.conf.local, rc.firewall, sysctl.conf, etc.

Users who have customized versions of scripts that have been removed
should take great care when upgrading, since the compatibility code
that used those old scripts has also been removed.

# 20a83c49 30-Apr-2003 Mark Murray <markm@FreeBSD.org>

Make the defaults for Kerberos 5 a little more up-to-date.

# 8b3695ab 18-Apr-2003 Mike Makonnen <mtm@FreeBSD.org>

Break out and rewrite the network setup scripts.
o /etc/network.subr contains common subroutines used for seting
up network interfaces
o rc.d/hostname sets the hostname if not already set
o rc.d/nisdomain sets the nis domain *after* rpcbind but
before the yp* daemons. This fixes issues with temporary
hangs when looking up informaion in nis before it's ready.
o rc.d/netif brings network interfaces (minus dhcp) up.
o rc.d/network1 has been disabled and will be retired before
RELENG_5. It will be replaced by rc.d/netif

Approved by: markm (mentor)

# 4845d27e 08-Apr-2003 Dag-Erling Smørgrav <des@FreeBSD.org>

Introduce debug.log which gets debug.* (most of this would otherwise go
to the great bit-bucket in the sky)

# cc76558a 02-Apr-2003 Ruslan Ermilov <ru@FreeBSD.org>

Make disktab(5) MI (repo-copied from etc.i386/disktab).

# 6192b1df 03-Mar-2003 Ruslan Ermilov <ru@FreeBSD.org>

Make sure the default install comes with /etc/login.conf hashed.

# 367f4d9e 10-Feb-2003 Andrey A. Chernov <ache@FreeBSD.org>

Apply man.alias to /usr/share/openssl/man too

# 6042ca2e 10-Feb-2003 Jacques Vidrine <nectar@FreeBSD.org>

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

# 3347cc5e 01-Feb-2003 Poul-Henning Kamp <phk@FreeBSD.org>

NODEVFS cleanup: Don't ever install MAKEDEV anymore.

# 99127de5 08-Jan-2003 Warner Losh <imp@FreeBSD.org>

Move devd.conf here and install it by default (didn't do a repo copy
because there's so little history to save).

MFC After: 10 millifortnights

# f45a1cab 17-Dec-2002 Brian Feldman <green@FreeBSD.org>

Back out the previous commit, since there could be dire consequences if
/etc/rc were accidentally executed (as requested by other committeers).

# 1ad1ab14 17-Dec-2002 Brian Feldman <green@FreeBSD.org>

/home/green/tmp/cvsSFosXg

# cd966096 27-Nov-2002 Ruslan Ermilov <ru@FreeBSD.org>

Removed the vestiges of modems(5).

Approved by: re

# 4d1ad875 22-Oct-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Invert the logic of the NO_MAKEDEV options to match the 5.0-R default install.

# 26c0d986 22-Oct-2002 Robert Watson <rwatson@FreeBSD.org>

Hook up a sample mac.conf to the install. The sample basically
tells applications to print labels for all of the TrustedBSD-
generated policies, if they are present.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

# dc2f663b 20-Oct-2002 Mark Murray <markm@FreeBSD.org>

Do not build the majority of the games. Remaining are the
"utility-like" games and everyone's favourite, fortune(6).

# a5dd613c 20-Sep-2002 Mark Murray <markm@FreeBSD.org>

Rename the ftp log filename for compatability with OpenBSD and NetBSD.

Requested by: ru

# d595e25a 20-Sep-2002 Mark Murray <markm@FreeBSD.org>

Install empty ftp.log file to start off ftp logging.

# 66422f5b 16-Sep-2002 Peter Wemm <peter@FreeBSD.org>

Initiate deorbit burn for the i386-only a.out related support. Moves are
under way to move the remnants of the a.out toolchain to ports. As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL. It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha

# d2893b16 29-Jul-2002 Ruslan Ermilov <ru@FreeBSD.org>

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

Approved by: bde

# 0b87f799 17-Jul-2002 Ruslan Ermilov <ru@FreeBSD.org>

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

# d2baa8b3 05-Jul-2002 Ruslan Ermilov <ru@FreeBSD.org>

There is apparently no reason for the existence of the `etc' target.

# 39827249 05-Jul-2002 Ruslan Ermilov <ru@FreeBSD.org>

Whitespace and indentation (style) fixes.

# 831568b9 05-Jul-2002 Ruslan Ermilov <ru@FreeBSD.org>

Added DEFAULTS, to denote the contents of etc/defaults/.

Once upon a time (in rev. 1.81), COPYRIGHT and FREEBSD
were multi-value.

Moved installation of /var/log/cron to where it belongs
(this finishes the change in rev. 1.205).

Removed (with extreme prejudice) a bunch of parentheses
that unnecessarily obfuscated this makefile.

Run pwd_mkdb(8) right after master.passwd is installed.

Install nsmb.conf to /usr/share/examples/etc/.

# 072f6798 21-Jun-2002 Ruslan Ermilov <ru@FreeBSD.org>

Make NO_OPENSSL actually imply NO_OPENSSH, as documented in make.conf(5).

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

Hook rcorder and rc.d into the build.

Submitted by: Mike Makonnen

# f365887c 16-May-2002 Mark Murray <markm@FreeBSD.org>

No need to build perl dirs anymore.

# 6bde859f 26-Apr-2002 Ruslan Ermilov <ru@FreeBSD.org>

Milestone #1 in cross-arch make releases.

Do not install games and profiled libraries to the ${CHROOTDIR}
with the initial installworld.

Eliminate the need in the second installworld. For that, make sure
_everything_ is built in the "world" environment, using the right
tool chain.

Added SUBDIR_OVERRIDE helper stuff to Makefile.inc1. Split the
buildworld process into stages, and skip some stages when
SUBDIR_OVERRIDE is set (used to build crypto, krb4, and krb5
dists).

Added NO_MAKEDB_RUN knob to Makefile.inc1 to avoid running
makewhatis(1) at the end of installworld (used when making crypto,
krb4, and krb5 dists).

In release/scripts/doFS.sh, ensure that the correct boot blocks are
used.

Moved the creation of the "crypto" dist from release.5 to
release.2.

In release.3 and doMFSKERN, build kernels in the "world"
environment. KERNELS now means "additional" kernels, GENERIC is
always built.

Ensure we build crunched binaries in the "world" environment.
Obfuscate release/Makefile some more (WMAKEENV) to achieve this.

Inline createBOOTMFS target.

Use already built GENERIC kernel modules to augment mfsfd's
/stand/modules. GC doMODULES as such.

Assorted fixes:

Get rid of the "afterdistribute" target by moving the single use
of it from sys/Makefile to etc/Makefile's "distribute".

Makefile.inc1: apparently "etc" no longer needs to be last for
"distribute" to succeed.

gnu/usr.bin/perl/library/Makefile.inc: do not override the
"install" and "distribute" targets, do it the "canonical" way.

release/scripts/{man,cat}pages-make.sh: make sure Perl manpages and
catpages appear in the right dists. Note that because Perl does
not respect the MANBUILDCAT (and NOMAN), this results in a loss of
/usr/share/perl/man/cat* empty directories. This will be fixed
soon.

Turn MAKE_KERBEROS4 into a plain boolean variable (if it is set it
means "make KerberosIV"), as documented in the make.conf(5)
manpage. Most of the userland makefiles did not test it for "YES"
anyway.

XXX Should specialized kerberized libpam versions be included into
the krb4 and krb5 dists? (libpam.a would be incorrect anyway if
both krb4 and krb5 dists were choosen.)

Make sure "games" dist is made before "catpages", otherwise games
catpages settle in the wrong dist.

Fast build machine provided by: Igor Kucherenko <kivvy@sunbay.com>

# 01df2ec3 23-Apr-2002 David E. O'Brien <obrien@FreeBSD.org>

Change the name of the 'bin' distribution to 'base'.
This is done since it contains much more than /bin, and also gets in the
way when making a combined install+fixit CD.

OK'ed by: jkh

# 3bf762b7 21-Apr-2002 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Non-sendmail users use the FreeBSD sendmail startup functionality to start
alternative MTAs. Therefore, always install rc.sendmail, regardless of
NO_SENDMAIL make.conf setting. Users can still set mta_start_script to a
different script.

This commit is after a repo-copy of src/etc/sendmail/rc.sendmail to
src/etc/rc.sendmail.

Noticed by: Calvin NG <calvinng@brel.com>
MFC after: 3 days

# 5b7a235b 20-Apr-2002 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

In my continuing crusade to make life better for non-sendmail users, avoid
the creation of /var/spool/clientmqueue and therefore the need for the
smmsp user and group if NO_SENDMAIL is defined. This required breaking out
the creation of the directory into a new BSD.sendmail.dist mtree file.

MFC after: 1 week

# 48c3e933 14-Apr-2002 Doug Barton <dougb@FreeBSD.org>

Remove ws at EOL

# d221a687 21-Mar-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Install moduli instead of primes

# 5ad400ab 16-Mar-2002 Mark Murray <markm@FreeBSD.org>

Update for Perl 5.6.1

# 30d6457c 11-Mar-2002 Robert Watson <rwatson@FreeBSD.org>

Turns out everyone is a lot lazier than I thought. Spell
'authentication.log' as 'auth.log'.

This is also more consistent with syslog facility names.

Sigh. :-)

Submitted by: asmodai, aeonflux, green, ....

# 0ec9497e 11-Mar-2002 Robert Watson <rwatson@FreeBSD.org>

Clean up logging of security information a bit:

o Introduce /var/log/authentication.log, which will be the target for
auth.info and authpriv.info by default. Rotate on the same schedule
as most other logs. Create at installation.

o Remove logging of auth.info from /var/log/security.log, which will
return to being only for security feature subsystems (such as ipfw,
and so on).

This creates a special authentication log, which can now be searched
by scripts for authentication events.

# 9785aaf1 05-Feb-2002 Hajimu UMEMOTO <ume@FreeBSD.org>

Install PROTO.localhost-v6.rev. Umm, it seems namedb/Makefile
is not used.

# 76f10508 28-Jan-2002 Crist J. Clark <cjc@FreeBSD.org>

Put a complete set of pppd(8) sample configuration files in
/usr/share/examples/pppd.

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

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

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

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

Submitted by: Maxim Konovalov <maxim@macomnet.ru> provided the new samples.

# a5f5cfda 14-Jan-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Everybody (for suitable values of "everybody") seems to think pam.conf should
be removed outright.

Sponsored by: DARPA, NAI Labs

# 56ad5048 14-Jan-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Re-add pam.conf so it will get installed so people who don't know about
pam.d will find out about it by reading pam.conf.

Sponsored by: DARPA, NAI Labs

# 07032871 12-Jan-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Switch over to /etc/pam.d/.

Sponsored by: DARPA / NAI Labs

# 688a6139 08-Jan-2002 Alexey Zelkin <phantom@FreeBSD.org>

Correctly handle cases of deprecated locales which are supposed
to have backward compatibility symbolic links.

This code should check existence of deprecated locales and
fix them using following scheme:

. if new locale directory exisists and is a symlink -- remove it
. if old locale directory exists and not a symlink -- rename it to
its new name

This should allow to mtree(1) and existing locale aliases make(1)
rules to setup locale dirs correctly (avoid self-referenced symlinks)

BTW, this commit brings in backward compatibility support for ru_SU
locales (aliased to appropriate ru_RU ones).

# b50e990d 04-Jan-2002 Sheldon Hearn <sheldonh@FreeBSD.org>

Install nsmb.conf with mode 0600, since it may be modified to include
passwords for remote shares.

Reported by: Andre Albsmeier <andre@albsmeier.net>

# 0388ec7c 24-Dec-2001 Alexey Zelkin <phantom@FreeBSD.org>

Back out recent replacement of LC_MESSAGES file with directory.

Requested by: ache

# 709eed76 21-Dec-2001 Alexey Zelkin <phantom@FreeBSD.org>

Slightly re-work locale messages storage scheme. Before this commit
LC_MESSAGES related data was installed to <locale>/LC_MESSAGES file.
Now it go to <locale>/LC_MESSAGES/SYS_LC_MESSAGES file. LC_MESSAGES
directory is supposed to be storage of message catalogs of userland tools.
This should allow us to avoid many potential problems with future
libintl related functionality introduction.

Thanks for useful suggestions about correct way how to replace plain
files with directories at installworld stage to: Ruslan Ermilov <ru>

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

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

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

Reviewed by: bp, fjoe
MFC: 1 week

# 2204f3ce 07-Dec-2001 Crist J. Clark <cjc@FreeBSD.org>

Long ago, there was just /etc/daily. Then /etc/security was split out
of /etc/daily. Some time later, /etc/daily became a set of periodic(8)
scripts. Now, this evolution continues, and /etc/security has been
broken into periodic(8) scripts to make local customization easier and
more maintainable.

Reviewed by: ru
Approved by: ru

# c26c7886 06-Dec-2001 Dag-Erling Smørgrav <des@FreeBSD.org>

Introduce the variable USE_PAM_D, which, if set, will cause pam.d to be
installed instead of pam.conf. This is for testing; the conditionals will
be removed once we are confident that pam.d works as intended.

Sponsored by: DARPA, NAI Labs

# 7080a343 01-Oct-2001 Kris Kennaway <kris@FreeBSD.org>

UUCP removal Phase III.

# 7032f49f 16-Sep-2001 Jonathan Lemon <jlemon@FreeBSD.org>

Change permissions for initial install of maillog file to 640. (from 644)

Pointed out by: rwatson

# 32706fb2 03-Sep-2001 Brian Somers <brian@FreeBSD.org>

Allow group network to read ppp.log & slip.log.

Suggested by: Jesper Skriver <jesper@FreeBSD.org>

# d33a962d 30-Aug-2001 Alexander Langer <alex@FreeBSD.org>

Move /etc/defaults/make.conf to /usr/share/examples/etc/make.conf as
discussed on the arch@ mailinglist (after repo-copy).

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

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

Adjust all textes that talk about make.conf or defaults/make.conf to
match the new situation.

# 466df28c 29-Aug-2001 Alexander Langer <alex@FreeBSD.org>

chown syntax is user:group now.

# 15ed67d8 28-Aug-2001 Brian Somers <brian@FreeBSD.org>

Remove diskcheckd.conf

# e01dfc9c 14-Aug-2001 Andrey A. Chernov <ache@FreeBSD.org>

Add/install /etc/opieaccess skeleton

Approved by: markm

# 88627d6b 13-Jun-2001 Poul-Henning Kamp <phk@FreeBSD.org>

Remember to install diskcheckd.conf

# f3573821 10-Jun-2001 Andrey A. Chernov <ache@FreeBSD.org>

Deal properly with *.US-ASCII family

# 5d392cdd 10-Jun-2001 Andrey A. Chernov <ache@FreeBSD.org>

Fix Latin1 man directories for new locale names

# b5ebdd9c 10-Jun-2001 Andrey A. Chernov <ache@FreeBSD.org>

New locale names and aliases to old ones

# 9a75ebb2 04-Jun-2001 Hajimu UMEMOTO <ume@FreeBSD.org>

Remove configuration file for pim6[ds]d.

Submitted by: sumikawa

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

Add NO_I4B to avoid building/installing isdn4bsd package.

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

# 1dd8bcf1 19-Apr-2001 Maxim Sobolev <sobomax@FreeBSD.org>

o Install sysctl.conf with all other *.conf files;
o put a note into sysctl.conf describing vfs.vmiodirenable knob.

OK'ed by: alfred

# d8edf811 29-Mar-2001 Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org>

Change NO_MAKEDEV to a finer granularity method:
NO_MAKEDEV_INSTALL and NO_MAKEDEV_RUN. The former implying the latter.
The names imply what they do. The last commit by DES based on a PR defeated
the original idea behind NO_MAKEDEV, which was not to run MAKEDEV, but to do
the installation of MAKEDEV. This should satisfy both parties on the MAKEDEV
challenge.

# df99bf76 26-Mar-2001 Brian Feldman <green@FreeBSD.org>

At least install primes to the right place, for now. I suppose.

Reminded by: everyone

# b8edd5f9 23-Mar-2001 Brian Feldman <green@FreeBSD.org>

Install /etc/primes.

# 8360efbd 18-Mar-2001 Alfred Perlstein <alfred@FreeBSD.org>

Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and
associated changes that had to happen to make this possible as well as
bugs fixed along the way.

Bring in required TLI library routines to support this.

Since we don't support TLI we've essentially copied what NetBSD
has done, adding a thin layer to emulate direct the TLI calls
into BSD socket calls.

This is mostly from Sun's tirpc release that was made in 1994,
however some fixes were backported from the 1999 release (supposedly
only made available after this porting effort was underway).

The submitter has agreed to continue on and bring us up to the
1999 release.

Several key features are introduced with this update:
Client calls are thread safe. (1999 code has server side thread
safe)
Updated, a more modern interface.

Many userland updates were done to bring the code up to par with
the recent RPC API.

There is an update to the pthreads library, a function
pthread_main_np() was added to emulate a function of Sun's threads
library.

While we're at it, bring in NetBSD's lockd, it's been far too
long of a wait.

New rpcbind(8) replaces portmap(8) (supporting communication over
an authenticated Unix-domain socket, and by default only allowing
set and unset requests over that channel). It's much more secure
than the old portmapper.

Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded
to support TI-RPC and to support IPV6.

Umount(8) is also fixed to unmount pathnames longer than 80 chars,
which are currently truncated by the Kernel statfs structure.

Submitted by: Martin Blapp <mb@imp.ch>
Manpage review: ru
Secure RPC implemented by: wpaul

# 62f0b827 12-Mar-2001 Dag-Erling Smørgrav <des@FreeBSD.org>

Don't install MAKEDEV or MAKEDEV.local if NO_MAKEDEV is set.

PR: 25596
Submitted by: Jonathan Perkin <sketchy@bsdcode.net>

# 193f471d 28-Feb-2001 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Don't build/install sendmail related items if NO_SENDMAIL is set.

Submitted by: ru

# e4e1027a 21-Feb-2001 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Move creation of the sendmail statistics file from the usr.sbin/sendmail
Makefile to the etc/sendmail Makefile to be consistent with all of the
other /var file creations. In doing so, change the Makefile target from
etc-sendmail.cf to distribution as it installs more than just the sendmail.cf.

# 54ecfa08 19-Feb-2001 Ruslan Ermilov <ru@FreeBSD.org>

Create directory infrastructure required to format, display
and store preformatted /usr/share/man manual pages in 8-bit
iso-8859-1 charset for all *_*.ISO_8859-1 locales.

Requested by: des
Input from: ache

# dbbd9a31 09-Jan-2001 John Baldwin <jhb@FreeBSD.org>

Move the syscons configuration to a machine independent rc.syscons. The
syscons sh code was identical on both platforms except for whitespace
differences.

# 24fdf62c 30-Oct-2000 Hajimu UMEMOTO <ume@FreeBSD.org>

install rc.firewall6.

# 9fc9ecb6 29-Oct-2000 Doug Barton <dougb@FreeBSD.org>

Finish the job of conditionalizing UUCP by preventing files in /etc/uucp
from being installed, and make rmail conditional on neither of
NO_SENDMAIL and NOUUCP.

PR: bin/21321
Submitted by: Me

# a938a1fc 15-Sep-2000 Andrey A. Chernov <ache@FreeBSD.org>

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

Reviewed by: imp

# 248aee62 06-Sep-2000 Jacques Vidrine <nectar@FreeBSD.org>

Add nsswitch support. By creating an /etc/nsswitch.conf file, you can
configure FreeBSD so that various databases such as passwd and group can be
looked up using flat files, NIS, or Hesiod.

= Hesiod has been added to libc (see hesiod(3)).

= A library routine for parsing nsswitch.conf and invoking callback
functions as specified has been added to libc (see nsdispatch(3)).

= The following C library functions have been modified to use nsdispatch:
. getgrent, getgrnam, getgrgid
. getpwent, getpwnam, getpwuid
. getusershell
. getaddrinfo
. gethostbyname, gethostbyname2, gethostbyaddr
. getnetbyname, getnetbyaddr
. getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr

= host.conf has been removed from src/etc. rc.network has been modified
to warn that host.conf is no longer used at boot time. In addition, if
there is a host.conf but no nsswitch.conf, the latter is created at boot
time from the former.

Obtained from: NetBSD

# b7823d1f 28-Aug-2000 Satoshi Asami <asami@FreeBSD.org>

Add BSD.x11-4.dist to list of mtree files to install (d'oh!).

Submitted by: Nathan Ahlstrom <nrahlstr@winternet.com>

# 11447e2c 15-Aug-2000 Kris Kennaway <kris@FreeBSD.org>

Install /var/crash/minfree mode 644 instead of 664 - group wheel shouldn't
have special write permissions to things.

# 4bcefa96 13-Aug-2000 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Upon installation, create a symbolic link for /etc/aliases pointing to
/etc/mail/aliases. This should both help users as well as other MTAs which
still use a default aliases path of /etc/aliases.

# 2216e2a2 13-Aug-2000 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Complete migration of aliases file to /etc/mail/aliases.
The maintainers of share/examples/diskless/README.TEMPLATING and mergemaster
have been contacted so those may be updated as well.

# 85aeb700 13-Aug-2000 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Add alaises as another file to install into /etc/mail/.
Rename the variable from NOSPAM to ETCMAIL as the list of files actually
only contains one antispam related file.

# 11017a68 23-Jul-2000 Marcel Moolenaar <marcel@FreeBSD.org>

Backout addition of -L switch to mtree. Using -L breaks the
build process in too many cases. Adding mtree to bootstrap-tools
to solve this breaks the upgrade path because mtree needs a
libc that has strtofflags and fflagstostr.

# 106beffe 16-Jul-2000 Andrey A. Chernov <ache@FreeBSD.org>

Add -L to mtree calls since defaults changed back

# 4944b913 13-Jul-2000 Peter Wemm <peter@FreeBSD.org>

Change various log file modes from mode 664 to 644. Allowing group
wheel to trash logfiles is not exactly good security policy. There have
been several gid wheel holes in ports. Various other files were changed
as well (eg: the locate database were set to more restrictive modes (444)
by their generation scripts) so this should be safe for them. utmp and
wtmp are mode 644 already on all the systems we checked.

Submitted by: jkb
Reviewed by: kris

# 0c6094e4 02-Jul-2000 Mark Murray <markm@FreeBSD.org>

Follow-up commit to today's gnu/usr.bin/perl commit; serial number
brought inline with Perl standards.

# 39919d58 25-Jun-2000 Mark Murray <markm@FreeBSD.org>

Version number and directory changes for Perl 5.006.

# 5df99fb1 22-Jun-2000 Neil Blakey-Milner <nbm@FreeBSD.org>

Fix installworld-breaking bracket hanging around from last commit.

# f3e285ba 22-Jun-2000 Brian Somers <brian@FreeBSD.org>

Introduce /etc/defaults/periodic.conf, similar in concept to rc.conf.
The only change in the default functionality should be that
the output reports are slightly more verbose WRT files deleted.

Not objected to by: freebsd-arch

# 8a76779a 20-Jun-2000 Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org>

Don't build manpages if NOMAN has been set.

PR: 17967
Submitted by: Benno Rice <benno@netizen.com.au>

# 9c9ad110 17-May-2000 Kris Kennaway <kris@FreeBSD.org>

Install /etc/ssl/openssl.cnf

Submitted by: Doug Barton <DougB@gorean.org>
Forgotten by: kris

# abda70c7 15-Apr-2000 Mitsuru IWASAKI <iwasaki@FreeBSD.org>

Remove pccard.conf.sample from Makefile, sorry I forgot.

# ece27d97 03-Apr-2000 Mitsuru IWASAKI <iwasaki@FreeBSD.org>

Enable etc/defaults/pccard.conf which is default configuration file
for pccardd.
Please install /etc/defaults/pccard.conf and update /etc/defaults/rc.conf
as well.
Note that old pccard.conf.sample still remains for while but
no longer to be maintained.

Reviewed by: imp, -mobile ML and nomads ML in Japan.

# dd3552c8 12-Mar-2000 Yoshinobu Inoue <shin@FreeBSD.org>

Register recently added pim6dd.conf and pim6sd.conf.

Specified by: haro@tk.kubota.co.jp (Munehiro Matsuda)

# 2e63fb6a 12-Mar-2000 Robert Watson <rwatson@FreeBSD.org>

Expand the increasingly inaccurately named NOSPAM /etc file list to include
new sample database files, so that they will be installed with make
distribution. NOSPAM probably ought to be renamed to MAIL.

Reviewed by: peter
Approved by: jkh

# 10fd313c 25-Feb-2000 Peter Wemm <peter@FreeBSD.org>

Install ssh files in /etc/ssh and tidy up a couple of other nits

# 25cc400e 25-Feb-2000 Peter Wemm <peter@FreeBSD.org>

Ack! Time to get the pointy hat. Re-add missing / I left out.

Submitted by: John Hay <jhay@mikom.csir.co.za>

# f021cab1 24-Feb-2000 Peter Wemm <peter@FreeBSD.org>

Fix references to crypto code to check that it exists first. Otherwise
it breaks mergemaster (and probably other things).

Submitted by: Munehiro Matsuda <haro@tk.kubota.co.jp>
Approved by: jkh

# 93e3e5e9 24-Feb-2000 Mark Murray <markm@FreeBSD.org>

Run sshd at boot time if the sysadmin wants it. Also install
ssh[d] config files in the right place.

# fb6149f9 23-Feb-2000 Yoshinobu Inoue <shin@FreeBSD.org>

Added rc.network6.

Approved by: jkh

Submitted by: bmah@CA.Sandia.GOV (Bruce A. Mah),
Ruslan Ermilov <ru@ucb.crimea.ua>

# f5749a82 08-Feb-2000 Robert Watson <rwatson@FreeBSD.org>

Intoduce a new make.conf entry, NO_MAKEDEV, and modifications to
/etc/Makefile so that if it is defined, MAKEDEV all is not called
during a make distribution. This helps clean up the messy userland
in jail(), by reducing the number of devices exposed in jail.
Modifications to jail(2) to follow.

Approved by: jkh-arius

# 02595dab 08-Jan-2000 Yoshihiro Takahashi <nyan@FreeBSD.org>

Install mailer.conf in /etc/mail instead of /etc.

Reviewed by: peter

# d7a641da 29-Dec-1999 Peter Wemm <peter@FreeBSD.org>

Try and sort BIN1 a bit, it was all over the place.
Add mail/mailer.conf (repocopied from /etc/mailer.conf to
/etc/mail/mailer.conf on obrien's request)

# 05e68e47 21-Nov-1999 Nick Hibma <n_hibma@FreeBSD.org>

Add the usbd.conf to the distribution target.

# fb59bcdf 17-Nov-1999 Peter Wemm <peter@FreeBSD.org>

Use a common MAKEDEV between the Alpha and i386 - the only differences
of significance were due to the Alpha version going stale. We use common
device numbering for devices. Hopefully, this file's days are numbered.

# d3d3794b 28-Oct-1999 Peter Wemm <peter@FreeBSD.org>

Actually install the rc.sysctl file (the one that reads /etc/sysctl.conf)

# f589c4ca 28-Oct-1999 Matthew Dillon <dillon@FreeBSD.org>

adjust Makefile to handle make.conf's new location

Approved by: "Jordan K. Hubbard" <jkh@zippy.cdrom.com>

# d9806965 06-Sep-1999 Nick Hibma <n_hibma@FreeBSD.org>

Move /var/cron/log to /var/log/cron

# 9b7a44a6 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$

# fa62586a 21-Aug-1999 Brian Feldman <green@FreeBSD.org>

This is the addition of a syslog(3) security.* top-level category. This
should be used from now on for anything security but not auth-related.
Included are updates for all relevant manpages and also to /etc files,
creating a new /var/log/security. Nothing in the system logs to
/var/log/security yet as of the time of this commit.

Reviewed by: rgrimes, imp, chris

# 51f80ae1 26-Jul-1999 Brian Somers <brian@FreeBSD.org>

Add a default ppp.conf (mode 600).

Originally submitted by: Wayne Self <wself@cdrom.com>

Allow a ppp startup option in rc.conf.

Adjust sysinstall so that it appends to the end of ppp.conf
and uses the generated profile to start ppp in auto mode on
boot.

Submitted by: Josef L. Karthauser <joe@uk.FreeBSD.org>

# 701279af 10-Jul-1999 Mitsuru IWASAKI <iwasaki@FreeBSD.org>

Put apmd configuration and rc files in /etc.
Update some files for apmd.

# 946d53a1 08-Jul-1999 David E. O'Brien <obrien@FreeBSD.org>

Install dhclient.conf.

PR: conf/12458
Submitted by: Doug <doug@gorean.org>

# 5aae9955 24-Jun-1999 Sheldon Hearn <sheldonh@FreeBSD.org>

Actually install the virgin copies of the /etc files that we so proudly
claim to install in /usr/share/examples/etc/README.examples .

PR: 5207
Reported by: "Wayne M. Barnes" <wayne@barnes1.wustl.edu>

# 045c66ab 11-May-1999 Jordan K. Hubbard <jkh@FreeBSD.org>

Sync with changes in /etc/mail.

# 42b42f6e 05-May-1999 Mark Murray <markm@FreeBSD.org>

Add extra dirs needed by install. Do the include/* by reusing
BSD.include.dist to make tracking this easier.

Pointed out by: Rod Grimes

# c8bdad59 11-Apr-1999 Andrey A. Chernov <ache@FreeBSD.org>

Remove old locale links conversion stuff

# f8b0e8c9 28-Mar-1999 Mark Murray <markm@FreeBSD.org>

Add an example hosts.allow for the (base system) tcp_wrappers.
Anyone with good ideas for this is welcome to contribute.

# 56fc9876 12-Feb-1999 Matthew Dillon <dillon@FreeBSD.org>

jkh accidently removed rc.diskless1 & 2, then put rc.diskless back when
he moved rc.conf. Then he deleted rc.diskless when it ( of course ) didn't
work. Now I'm putting the originally accidently removed rc.diskless{1,2}
back in.

# 2e92443c 11-Feb-1999 Brian Somers <brian@FreeBSD.org>

Add /usr/share/examples/ppp directory
Don't install /etc/ppp/ppp.*.example
Remove ppp/ppp.{conf,linkup,linkdown,secret}.sample

# fc835331 11-Feb-1999 Jordan K. Hubbard <jkh@FreeBSD.org>

This tries to install rc.diskless, but there is no such file.
I don't know which of the two to install in its place so just
remove it for now and get the release build working again.

# ccdd960b 10-Feb-1999 Jordan K. Hubbard <jkh@FreeBSD.org>

Install a little, erm, less from the etc/defaults directory.

# a1787c48 09-Feb-1999 Jordan K. Hubbard <jkh@FreeBSD.org>

Install rc.conf properly into /etc/defaults/ directory.

# e4715b93 09-Feb-1999 Matthew Dillon <dillon@FreeBSD.org>

Revamp rc.diskless. Split into rc.diskless1 and rc.diskless2. provide
more opportunities for overriding. Clean up /etc/rc ( remove conf_dir,
remove startup mount special cases, remove other special cases )

# 5ab0c62f 25-Jan-1999 Matthew Dillon <dillon@FreeBSD.org>

Commit first rc.diskless startup plus modifications to rc.conf and Makefile
to make it work. NOTE! Uses new kern.conf_dir sysctl.

# 49c3b47a 13-Jan-1999 Hellmuth Michaelis <hm@FreeBSD.org>

Integrate the ISDN subsystem into the /etc/rc framework
Reviewed by: Joerg Wunsch

# 82a29812 10-Jan-1999 Robert Nordier <rnordier@FreeBSD.org>

No longer install outdated boot.help file.

# 7d06eda8 10-Jan-1999 Hellmuth Michaelis <hm@FreeBSD.org>

add directory /etc/isdn and populate it

# d749f6f6 13-Dec-1998 Matthew Dillon <dillon@FreeBSD.org>

Remove rc.local (now deleted from CVS tree) from Makefile.

# 73c84e25 12-Dec-1998 John Birrell <jb@FreeBSD.org>

Back out revs 1.181 and 1.182 which upset a few people. I hope those
(3?) people will make an effort to help those who would have benefitted from
this change. And just telling them that they should read and understand
the significance of each message posted to -current is not really good
enough IMHO.

# 1e8cf44a 10-Dec-1998 John Birrell <jb@FreeBSD.org>

Change to the current directory before doing the install. I !love make.

# e151cd19 09-Dec-1998 John Birrell <jb@FreeBSD.org>

Add logic to check if any of the BIN1 files do not already exist in
${DESTDIR}/etc and an install target to install the missing ones. This
allows new files like pam.conf to be installed by the first installworld
after the file is added, but avoid clobbering files that might be
customized. This should save some support questions.

# d08484e0 20-Nov-1998 John Polstra <jdp@FreeBSD.org>

Add a sample "/etc/pam.conf" file that configures the authentication
methods used by login. Changes to "/usr/bin/login" to use it will
be committed later today. The format of the file is described in
pam(8).

This sample file makes login behave in the traditional way. To
wit, it enables authentication via S/Key and passwd/NIS lookups.
KerberosIV authentication is present in the sample file but commented
out.

As a safety net and a transition aid, login will fall back on
built-in passwd/NIS authentication if this configuration file is
missing or if some other fatal PAM error occurs.

This file will eventually replace "/etc/auth.conf", but not until
I've finished converting the other utilities, such as passwd and su.

# c67d21dd 08-Oct-1998 Mark Murray <markm@FreeBSD.org>

Add auth.conf. JKH Added the code to understand this to libutil, and
I will be following up with commits to use it in KerberosIV userland.

# 7d5c779c 06-Oct-1998 Poul-Henning Kamp <phk@FreeBSD.org>

Here are some scripts and man pages for configuring HARP ATM
interfaces.

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

# 033b3363 25-Sep-1998 Dima Ruban <dima@FreeBSD.org>

Backout my previous commit. Oops.

# 577d442f 25-Sep-1998 Dima Ruban <dima@FreeBSD.org>

${DISTDIR}/bin/etc/objformat -> ${DISTDIR}/etc/objformat

# e413bb5c 23-Sep-1998 Jordan K. Hubbard <jkh@FreeBSD.org>

initialize /etc/objformat for new installs, just to be sure.

# c663ec72 22-Sep-1998 Masafumi Max NAKANE <max@FreeBSD.org>

Add fbtab and rc.devfs to BIN1 sothat they are included in the
distribution.

# be0cde6f 19-Sep-1998 David E. O'Brien <obrien@FreeBSD.org>

Remove useless `BINOWN=root' now that it is the default.

# 9f67f727 13-Sep-1998 Brian Somers <brian@FreeBSD.org>

Gasp ! Bitten by the wonders of diff/patch ! Now's your chance to
say ``I told you so'' Andrey !
Move the Id keyword to the right Makefile

# 965066d6 13-Sep-1998 Brian Somers <brian@FreeBSD.org>

Add Id keyword

# f471c448 31-Aug-1998 John Birrell <jb@FreeBSD.org>

MACHINE -> MACHINE_ARCH to allow PC98 to define MACHINE=pc98.

Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>

# 1d414b2f 07-Aug-1998 John Birrell <jb@FreeBSD.org>

The etc-sendmail.cf target is in src/etc/sendmail/Makefile, not
src/etc/sendmail/cf/Makefile. This was an obstacle to 'make release'.

# b58c36c9 04-Aug-1998 Peter Wemm <peter@FreeBSD.org>

Descend into sendmail directory and update hooks for make release so that
it has a chance of working.

# 0774c3c2 11-Jun-1998 Guido van Rooij <guido@FreeBSD.org>

Install motd once.

# dce52a9c 26-May-1998 Joseph Koshy <jkoshy@FreeBSD.org>

Install ${DESTDIR}/boot.help during `make distribution'.

PR: 6063
Submitted by: Doug <Studded@dal.net>

# 4077bc03 16-May-1998 John Birrell <jb@FreeBSD.org>

Make ttys machine specific.

# 0888581f 07-May-1998 Andrey A. Chernov <ache@FreeBSD.org>

Add new named configuration template and remove old template

# 12b427c2 09-Nov-1997 Brian Somers <brian@FreeBSD.org>

Don't mention removed ppp sample files
Pointed out by: jkh

# 8c76ae36 19-Oct-1997 Jonathan M. Bresler <jmb@FreeBSD.org>

add /etc/mail--the anti-spam files
branches affected: -current, RELENG_2_2, and RELENG_2_1_0

# c25d9c21 28-Sep-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

ppp.secret.sample listed twice, at the cost of ppp.shells.sample.

# 4ffb08b9 16-Aug-1997 Paul Traina <pst@FreeBSD.org>

Point at /etc/periodic

# 355ae1ab 14-Aug-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Further optimize crontab's installation.
Submitted by: pst

# e4372318 14-Aug-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Yeesh! I completely missed the cron.d install here which did the right
thing already. Just remove the old references.
Noted by: pst

# 0b1885f9 12-Aug-1997 Daniel O'Callaghan <danny@FreeBSD.org>

Add ppp.shells.sample and ppp.deny to Makefile so they actually appear
in a release.

Reminded by: Satoshi and DavidG

# 42a23098 13-Aug-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make distribute target work again in the wake of the cron.d changes.
Note: I don't like the way these files are being copied but every
other method seemed gross too.

# f6b27298 12-Aug-1997 Paul Traina <pst@FreeBSD.org>

Activate make distribute and pray I didn't break release building.

# 8889c700 01-Aug-1997 David Nugent <davidn@FreeBSD.org>

Add /etc/rc.shutdown capability to init.
Add sample /etc/rc.shutdown (which is just a shell for now).
Submitted by: Ollivier Robert <roberto@keltia.freenix.fr>

# 1654bb82 17-Jul-1997 Satoshi Asami <asami@FreeBSD.org>

Add BSD.x11.dist to list of files to copy to /etc/mtree. Sorry if this
breaks "make release", Jordan!

PR: 4110
Not reviewed by: jkh

# c9835f33 05-Jul-1997 Paul Traina <pst@FreeBSD.org>

netstart wasn't getting installed

# ef99a93f 03-Jun-1997 Satoshi Asami <asami@FreeBSD.org>

Remove /usr/local meddling.

Approved by: jkh

# 524a1478 26-Apr-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Bring in rc file changes from -current.

# 79403fe3 23-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$

# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

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

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

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

# 0bc1c714 10-Jan-1997 David Nugent <davidn@FreeBSD.org>

Adds a template/example login.conf, login class capabilities database.

# 3a233001 28-Dec-1996 Peter Wemm <peter@FreeBSD.org>

Get rid of the revolting hacks that were used to install the
/etc/sendmail.cf file.

Submitted by: bde

# 3b4d52b9 13-Dec-1996 Bruce Evans <bde@FreeBSD.org>

Fixed missing install of BSD.include.dist.

# 7b69bdb9 13-Dec-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

magic file is no longer in /etc

# 5afea8cf 19-Oct-1996 Paul Traina <pst@FreeBSD.org>

Recent ppp changes broke make release. :-(

# 4b2b2ee3 18-Aug-1996 Wolfram Schneider <wosch@FreeBSD.org>

``make install'' should not install the symlink /usr/sbin/rmt -> /etc/rmt
Only ``make distribution'' in src/etc/Makefile overrides things in /etc

Pointed out by: joerg

# 361e0905 17-Aug-1996 Wolfram Schneider <wosch@FreeBSD.org>

make install should not install any file in /etc.

# 38b411e3 14-Aug-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

Remove root dotfiles which did more harm than good.

# 3bc99bbc 12-Jul-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

Merge.

# 4ece9046 11-Jul-1996 Paul Traina <pst@FreeBSD.org>

Add ability to override sendmail .cf file specification.
Add creation of ppp.log file since we rotate it now.

# 6a0f4b7e 25-Jun-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

The way sendmail.cf is installed here is gross and needs to be totally
redone. For now, use the objlink target to give it the obj directory
it needs.

# 429c7177 03-Apr-1996 Poul-Henning Kamp <phk@FreeBSD.org>

Add skeleton firewall setup(s). Comments very welcome.

# 90c97871 22-Mar-1996 Nate Williams <nate@FreeBSD.org>

Install rc.pccard to get PC-CARD support (when available).

# 68c4573a 17-Mar-1996 Poul-Henning Kamp <phk@FreeBSD.org>

Fix the pccard install.

# b1dcc5fe 17-Mar-1996 Mark Murray <markm@FreeBSD.org>

Hack-and-slash out the old 1.1.* stuff.
Later commits will bring in 4.4-Lite and 4.4-lite2 stuff.
Reviewed by: bruce, rgrimes

# 325e37f5 15-Feb-1996 Joerg Wunsch <joerg@FreeBSD.org>

Install newsyslog.conf.

Bothered me in: all recent SNAPs

# 1432a3ee 08-Feb-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

Add amd.map to BIN1 - having it here does no harm and makes activation
of the sample sysconfig entry (and amd) a snap.

# 94de1737 10-Jan-1996 Andrey A. Chernov <ache@FreeBSD.org>

Add empty /var/log/slip.log creation to distribution: target where
other empty logs created.
Pointed by Bruce.

# a5749c94 31-Dec-1995 Joerg Wunsch <joerg@FreeBSD.org>

The etc.i386/fstab.* files have been nuked, so don't try to install
them.

# 4a8128ff 02-Dec-1995 Peter Wemm <peter@FreeBSD.org>

install freebsd.cf rather than freefall.cf by default after 8.7.2 import.

# 309851e0 29-Nov-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Install new dotfiles.

# 9d34fdac 28-Oct-1995 Peter Wemm <peter@FreeBSD.org>

At the risk of starting a commit-war, attempt to fix once and for all, the
"make distrib-dirs" target.
Neither of Andrey's two attempts have worked for me with the [ -h ..]
test both with && and ||.
I've changed it to a full
if [ -h ...]; then \
rm ... ; \
fi ; \
construct. It's much clearer what's meant to happen, and it works! :-)

# 7e37cfc3 27-Oct-1995 Andrey A. Chernov <ache@FreeBSD.org>

Back out bogus "fix" which was commited over right fix without any check.

# 09fa32d3 27-Oct-1995 Julian Elischer <julian@FreeBSD.org>

Submitted by: john hay

patches to merge the two IPX packages to work with each other and to
not break make-world :)

IPXrouted should be working now, (or at least compiling) :)

# 34570513 26-Oct-1995 Andrey A. Chernov <ache@FreeBSD.org>

Add test for symlink presence before remove it

# 41ff0670 22-Oct-1995 Andrey A. Chernov <ache@FreeBSD.org>

Fix 'upgrade' stuff, i.e. when make distrib-dirs runs not
on clean file system but for -current locale links upgrade.

# 0c7fd54d 21-Oct-1995 Andrey A. Chernov <ache@FreeBSD.org>

Implement locale.alias via links (including backward-compatible issue)

# 573d3a2d 10-Oct-1995 Poul-Henning Kamp <phk@FreeBSD.org>

Add pccard.conf to makefile.

# 48cfb668 05-Aug-1995 Bruce Evans <bde@FreeBSD.org>

Change `install' to `${INSTALL}' so that default install flags can be
specified in the top level Makefiles.

Previously I missed dozens of Makefiles that skip the install after
using `cmp -s' to decide that the install isn't necessary.

# d10e63cc 16-Jun-1995 Andrey A. Chernov <ache@FreeBSD.org>

Rename ISO8859-1 to ISO_8859-1 per RFC1700

# 709e8f9a 29-May-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Remove trailing whitespace.

# 40676311 13-May-1995 Andrey A. Chernov <ache@FreeBSD.org>

Change ln -sf to rm -f and ln -s, first one work incorrectly
for directories when called second time

# 4767b312 10-May-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Lower-case the name of the DES directory. Yes, it's an acronym, but DOS
is still dOs.

Jordan

# 15e52edd 08-May-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

secure -> DES

# 9cd47749 31-Mar-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Add modem database file for new tip changes.

# 711aa1c2 29-Mar-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

This is the rc work as provided by pts, I will me makeing some additional
changes to it based upon other outstanding bug reports and commits made
after his work.

Comments:

(a) sysconfig is still used to do all configuration. I was not going to
change that out from under you.... a user never need edit netstart
or rc* unless they're being very weird.

(b) rc.maint has been folded back into rc. It is just unworkable as
a separate chunk because of ordering bogosities

(c) netstart does what it says... it starts up enough of the network to
get up, it doesn't start every bloody daemon that might talk to a
socket... netstart ifconfig's the devices and sets up routing if
configured to do so.

(d) nfs disks are mounted immediately after netstart completes

(e) syslog is started as early as possible (right after nfs) so that error
messages can get logged to remote syslog servers properly

(f) named is started (there is an argument that says that named should be
started before syslogd because if you are the dns server for your domain,
you'd like named to resolve remote hosts in syslog.conf, but this is
a minority case and the trivial workarround is to put the syslog host
in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog
to catch named errors, which is a MUCH more important and likely occurance)

(g) NOW all of the rest of the network daemons such as the time stuff, RPC,
NIS, NFS, Kerberos and inetd are started

(h) the rest of the generic stuff is done (cron/printer/sendmail)

(i) shared libraries are set

(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2,
xtend, and all of the syscons stuff
(this is actually started as /etc/rc.`uname -m`

(k) the syscons stuff has gotten a serious cleaning to make it consistent
with rc conventions

(l) rc.local has had the comments about syscons removed (they are not relevant
to this file now) and the full name of the kernel has been restored to
/etc/motd

Submitted by: pts

# 7b561070 23-Mar-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Add rc.maint file.

# 2a0b3f70 23-Mar-1995 Poul-Henning Kamp <phk@FreeBSD.org>

Install /etc/sysconfig

# ecdb980f 23-Mar-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Convert from using old root.cache to new named.root

# fabbf734 21-Mar-1995 Garrett Wollman <wollman@FreeBSD.org>

Change named starting convention to use $namedflags like most other
daemons that take command-line arguments. Correct /etc/namedb installation
to use the correct files.

# 2c4bf858 18-Mar-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Use new mtree file to rebuild /usr/include.

Replace rm -f; ln -s with ln -sf when installing LATIN1LINKS, also
do not attempt to chown/chmod these links.

# cf4a93ba 10-Mar-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Simplify all the newfs commands into ${NEWFS} and add -t 0 -u 0 so
we can again newfs floppies.

Now I just need to squish the bits back under 1.44MB :-(. I don't know
if it will be possible to get down to 1.2MB.

# e04e0de2 26-Feb-1995 Andrey A. Chernov <ache@FreeBSD.org>

Move symlinks creation here

# fba33612 25-Feb-1995 Poul-Henning Kamp <phk@FreeBSD.org>

make distribute change.

# ddf5b7cc 04-Feb-1995 Atsushi Murai <amurai@FreeBSD.org>

Adding ppp configuration files entry for distribution packages.

# 213b5e59 26-Jan-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Edit out some extraneous tabs.

# 131690bf 17-Jan-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Remove the src tarball stuff from this Makefile - all the release
stuff is on its way out of here and into release/Makefile.

# 03b38adc 15-Jan-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Catch the one I missed.

# 973e94c5 14-Jan-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Make one last stab at making this work before I go.

# abf77207 13-Jan-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Actually, there's a better way to do this whole srcdist tarball business.
Take first steps toward implementing it.

# 2a27df60 13-Jan-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Clean up src-tarball definition.

# 091611b3 02-Jan-1995 Andrey A. Chernov <ache@FreeBSD.org>

Remove adduser.conf & userids, not needed with new adduser

# 6e06f9d0 28-Dec-1994 Andrey A. Chernov <ache@FreeBSD.org>

Add adduser.conf & userids

# a466088c 01-Dec-1994 David Greenman <dg@FreeBSD.org>

Install rc.serial.

# 3d68884c 20-Nov-1994 Poul-Henning Kamp <phk@FreeBSD.org>

No point, what so ever, in installing /etc/myname

# 48327bc9 14-Nov-1994 Poul-Henning Kamp <phk@FreeBSD.org>

Final changes. Now "make distribute" should work as advertised.

# 9a89eb93 28-Oct-1994 Poul-Henning Kamp <phk@FreeBSD.org>

Fixes related to release-production:
bdes only if !NOCRYPT
Always MAKEDEV in bindist, otherwise diskless installation is a mess.

# 8b78c8e6 21-Oct-1994 Poul-Henning Kamp <phk@FreeBSD.org>

Reflect the fact that we only have one GENERIC kernel now.

# a8a4ffd4 16-Oct-1994 Poul-Henning Kamp <phk@FreeBSD.org>

Various changes to the 1.1.5.1'sh install procedure.

# 3626ca50 16-Oct-1994 Poul-Henning Kamp <phk@FreeBSD.org>

Some changes to the old floppies to handle the new /etc/init's way of doing
things.

# d49858b6 15-Oct-1994 Poul-Henning Kamp <phk@FreeBSD.org>

Format floppy before use. Make 1.44 Mb floppies for now.

# 045dbe68 28-Sep-1994 Andrey A. Chernov <ache@FreeBSD.org>

/etc/profile added (the similar stuff like in csh.login)

# 421f6246 23-Sep-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Add -e option to mtree commands so that extra directories are ignored.
Change conditional around building usr/local to be MAKE_LOCAL instead of
CDROMDIST. This was coped from src/Makefile and makes much more since.

# 9f3ffeab 23-Sep-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Revert the change that moved the /etc files to share/examples/etc, the
files have been pulled down out of the Attic and updates will be applied
shortly.

# 72ca7d40 19-Sep-1994 Garrett Wollman <wollman@FreeBSD.org>

Get rid of the files that now live in src/share/examples/etc, and update
Makefile to install them from there rather than from here.

# 6019d06b 14-Sep-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

1. Add back *.c to CLEANFILES, seems crunch makes quite a mess!

2. Update the COPYRIGHT= to be just the COPYRIGHT file for now.

3. Fully parameterize the floppy device being used. This is needed right
now so I can at least build these on 1.44 until it all is working, then
I will have to find a way to get them back down to size.

4. Remove mount_pcfs from the filesystem floppy, we don't have that yet.

5. Update the shared libraries t obe copied. This should now work for
this and all future releases.

6. Reduce the CRYPT_SRCS down to the few static binaries that have crypt
in them.

7. Change all references for the kernel from /386bsd to /kernel.

8. For some reason umount is returning 1, use a - until I can find out why.

9. Update the disklabel commands to be 4.4 syntax.

10. Remove the ugly elvis wart, we don't have elvis anymore.

11. Use the -d (directories only) option on the mtree commands. This
greatly reduces the noise from distrib-dirs:.

12. Note the fact that the mtree commands need a wrapper around them as they
return a status of 2 if the tree was modified and the make should not
exit on that condition.

13. Add a trailing slash on the chflags command as ${RELEASEDIR} may be
a symbolic link.

# 5d31843f 09-Sep-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Correct path to crunch, and remove srccontrib tarballs (we have no more
srccontrib!)

# b33a9d8f 09-Sep-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Remove the explicit call to ../Makefile mdec:, it is now handled by a make
install from the top level correctly.

Rewrite release-dirs: to use new mtree file mtree/BSD.release.dist.

# 92985d77 08-Sep-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

1. Make CLEANFILES a little less dangerous by being more spcifc about
some file names.

2. Add MAKEDEVS= that does all the /dev population so that this is not
duplicated in 2 or 3 places. Helps to keep it in sync too. Cleaned
up and fixed to not overflow inode tables.

3. Fix paths to the 2 crypt versions.

4. Init is sbin/init now instead of sbin/init.bsdi.

5. bdes is now in secure/usr.bin, will need to do something about telnet.

6. Incorporate 1.1.5.1 patches for EXTRACT.sh files.

7. Correct calls to make kcopy-flooppy to work with or without obj/.

8. Reorder src-clean: target so that it does not destroy the real obj
tree, but does rip out junk and obj links.

9. Incorporate 1.1.5.1 patche for srcbin tarball name.

10. Add chflags command to release-dirs target so the rm -rf can have a
chance to work.

With this and a few more commits I will have 2.0 bin tarballs.

# 012f2ce7 07-Sep-1994 Paul Traina <pst@FreeBSD.org>

Remove the old crypt/no-crypt rules and replace them with
the choice of building with the password scrambler or the DES
libraries. Folks outside the US can simply drop in the other
DES libraries. (stupid laws...)

Everything still keys off of the old NOCRYPT variable so building
a portable distribution remains the same.

Submitted by: pst

# 7d6fdca1 04-Sep-1994 Gary Palmer <gpalmer@FreeBSD.org>

Change references of 'mount_isofs' to 'mount_cd9660' as needed by FBSD 2.0

# 8a997735 29-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Oh GACK! src-clean doesn't quite work that easily since cleandist rebuilds the
obj links again and they need to be nuked out one more time after it's finished.
Sigh.. Oh well, this code will probably never be run again anyway.

# 9a6939ee 29-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Clean this puppy up quite a bit. Most notably:

1. Use ${MAKE} everywhere again. Whoops.
2. Replace multiple invocations of gzip ... split ... with one variable.
3. Add src-clean target for making the src tree presentable before
making a src tarball out of it.

# 97e31cd7 27-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Fix a simple makefile brain-o; didn't effect 1.1.5A since we don't compile
with CRYPT initially set.

# 7b026b2a 24-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

1. Remove a rather strangely gratuitous bit of profanity
2. Use elvis instead of vi for the editor on the cpio floppy; dmesg is back.

# cf3820b7 24-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

My last few changes to the release code plus a small termcap file
for the cpio floppy.

# 5ef18d0a 22-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Whoops - missed a couple of intermediate files. Nuke 'em.

# 70677ace 22-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Ok, this should about wrap it up.

1. All the crunched files work now; don't install copies, used the crunched
versions.
2. Make the clean rules DTRT now that we have stuff to clean.

# eb09e01c 20-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Whoops - I missed a commit; EXTRACT scripts were misnamed. Correct.

# 5a83efa2 21-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

1. Increase number of inodes for kcopy floppy; we've currently run out.
2. Get kcopy and filesystem images from current directory since we
now build them here; a clean rule is now all that's needed to make
the crunch stuff complete.

# a346c516 19-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Commit some additional changes for making this work with obj dirs.

# e7ab243a 15-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

1. Fill out the crunch target - this should do the trick (we'll see).
2. Remove the NOOBJ line - we want an object dir now.

# 1c51f14a 15-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Install manpath.config and mail.rc properly, and directly from the src
tree now (rather than having a local copy.

# 220273aa 15-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Lots of changes:

1. Properly use ${.CURDIR} now instead of hardcoded relative dirs.
2. Use ${BINOWN} and ${BINGRP} everywhere instead of root/wheel
3. Add target for copying over EXTRACT scripts (and add them here).
4. Start thinking about crunched floppy target (not in yet, next commit).

# 2548fdfa 08-Jun-1994 Geoff Rehmet <csgr@FreeBSD.org>

Change all lib*.so.1.0 to lib*.so.1.1
(Once again, pointed out by Volker Paepcke.)

# 01d49126 02-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Fix the absolute paths for boot blocks. Now uses ${DESTDIR}.

# da63052f 31-May-1994 Poul-Henning Kamp <phk@FreeBSD.org>

added make.conf template, which does nothing.

# 9eb28b5f 19-May-1994 Guido van Rooij <guido@FreeBSD.org>

1) Added s/key support .
2 Added optional excessive login logging.
3) Added login acces control on a per host/tty base.
4) See skey(1) for skey descriptions and src/usr.bin/login/README
for the logging and access control features.

-Guido

# 077fcb73 18-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Add the installation of /var/crash/minfree with a value of 2048 so that
savecore will not FILL the /var partition.

# d6a9fa22 17-May-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Add manpath.config to the default list of things installed in /etc
for releases.

# b9ee5a06 03-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Use ISO9660/DOS compliant file names for the tar balls now.

# f48386c2 17-Apr-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

>From BETA_1_1 branch:
----------------------------
revision 1.53.2.3
date: 1994/04/10 20:19:37; author: rgrimes; state: Exp; lines: +12 -3
Must have etc and usr directories on the cdinstall floppies.
Need to have device files for mcd1.
Create links for usr/libexec and usr/lib on cdinstall floppies so that
shared library code is loaded from cdrom.

# 333c7e3c 19-Mar-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Pull in changes just made to the BETA 1.1 branch for cd install floppy
support.

# 4453164c 06-Mar-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

>From BETA_1_1 branch
Correction for wrong permissions on /root, /usr/lib, /usr/libexec,
/usr/share and /usr/share/misc caused by filesyst.flp cpio file.

# 4f3bf7e6 23-Feb-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Update to generate the ISO9660 names for the floppy images, use fd1200
inplace of floppy5.

# bb90b105 21-Feb-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Whoops, forgot to $Id$ this file, and re-enable floppies target in
make release

# 64eb68b1 21-Feb-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Major hackery to get the 1.1 Beta floppies building. Have a special
pair of crunched binaries that are not built by this, but other than
that it is back to an automated procedure. So many changes it is
hard to describe.

# f877ce1e 08-Feb-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Add obj/ in front of freefall.cf so that the install works.

# 27441934 08-Feb-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Update for new COPYRIGHT.* files.

# e46e3a53 08-Feb-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Add PERSONAL.ACKS to file list.

Use freefall.cf as sendmail prototype file, it is more realistic than the
tcpproto.cf file for a FreBSD system. Fix so that obj dir is created in
sendmail/cf/cf as to not polute the source tree and to have the Makefile
in there do the right things.

Remove all the extra /dev/fd0?* entries on the floppies, they where using
up all the inodes and are not needed at this time.

Temporarily remove the floppy target from release: untilit is
fixed.

This file has lots more work coming, but to get the 1.1 BETA out I am
going to hand craft the floppies :-(.

# 34b36f08 26-Jan-1994 Andrey A. Chernov <ache@FreeBSD.org>

Remove obsoleted floppy partition from device name.

# 4cc01af1 25-Jan-1994 Nate Williams <nate@FreeBSD.org>

The system default crontab now resides in /etc/crontab, and I changed it's
mode to 644 as most unix systems allow you to read root's crontab.

# 08116fd7 22-Jan-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Change ${RELEASEDIR}/filesystem to be filesys so hat it is ISO9660 compliant.

# ddc46a75 22-Jan-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Add SUPPORT.TXT and MIRROR.SITES to the top level FREEBSD files that get
installed in /.

# 428e3889 01-Dec-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

From: Julian Howard Stacey <stacey@guug.de>
Subject: Bug & Fix for etc/Makefile cpio-floppy: re /tmp creation.
Date: Fri, 26 Nov 1993 11:35:04 +0100

Editors Note: tmp was listed in the CPIO_FILES section and thus the
entire contents of ${DESTDIR}/tmp would end up on the cpio floppy. This fix
moves tmp to CPIO_DIRS so that no longer happens.

# d815696f 21-Oct-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Make whatisdb after the whole system is installed, since the one in
share/man will only create entries for manual pages that have been
installed up to that point.

# 8bf5ce9d 09-Oct-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

You can now specify the type of floppy you want built (floppy3 or floppy5)
with a Makefile override. The default is floppy5 since all distribution
floppies must be <= 1.2Mb so that every one can use them.

If you want to make 1.44MB floppies with more space on them do a
setenv FLOPPY floppy3
before running make.

>From: "Jordan K. Hubbard" <jkh%whisker.lotus.ie@dec4ie.ieunet.ie>
Date: Sun, 10 Oct 1993 05:11:51 -0700

I went to make myself some boot floppies straight off the dist
today and ran into the fact that I'm using a 3.5" floppy as my drive A,
so I did the following (you can still use floppy5 as your default -
I just have it set to floppy3 for my machine).

# 20c7f603 01-Oct-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Split the src-tarball target up into multiple targets, there is now
a tar ball for each top level src directory, plus the base tar ball
that has the very toplevel files in it.

# 155fb482 21-Sep-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Added BSD.local.dist to MTREE files so that it gets installed in /etc/mtree

# d5a38159e 18-Sep-1993 Andrew Moore <alm@FreeBSD.org>

Added /var/run to CPIO_DIRS

# 7103cef1 18-Sep-1993 Andrew Moore <alm@FreeBSD.org>

Added /etc/remote to CPIO files.

# dbc93016 17-Sep-1993 Andrew Moore <alm@FreeBSD.org>

added /var/spool and /var/spool/lock to CPIO_DIRS. These are needed by
both tip and kermit.

# 25344f70 13-Sep-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Make MOUNT be MOUNT? so I can easily override it for building 2 floppies
concurrently now that the floppy driver works good enought to do this!

# b6545fcc 13-Sep-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Removed DOS floppy build stuff, as this was just a poor idea that needs
a much better solution.

# 67040090 12-Sep-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

More file shuffling between floppies, needed to get rm on filesystem
floppy. Removed duplicates from DOS floppy.

# fc6e7c45 12-Sep-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Only put var and var/tmp in the cpio archive floppy, do not really need
the whole /var tree at this time.

# 3f0cc05d 10-Sep-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

tar ball names converted from the form x.tar.gz.xx to x_tgz.xx so the
DOS folks are happy.

# 71aeecab 10-Sep-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Put bin/df back on the filesystem floppy since there is room for it
after all. Removed it from DOS floppy.
Added COPYRIGHT to DOS floppy since it does have *BSD binaries on it!
Fixed missing ; \ when creating dev entries on filesystem floppy
Fixed rm in wrong directory, please don't rm in the DESTDIR area!!

# 84a2ca63 08-Sep-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Made copy of sys/i386/floppy relative instead of abosolute path

# 93f0f2e0 08-Sep-1993 Andrew Moore <alm@FreeBSD.org>

Added a fourth DOS-format floppy to the install disks containing os-bs
and miscellaneous programs which get installed into /usr/distbin.
Install now recognizes existing DOS partitions and attempts to install
after them. Theoretically, it also remaps badblocks.

N.B.: The fourth install floppy must have a clean DOS FAT.
Building the new distribution floppies is untested

TODO: Build a disktab entry for existing DOS partitions (except extended
partitions). This would allow loading and/or extracting the distribution
files directly from the DOS hard disk partition.

# 97eb5f54 07-Sep-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Fixed missing slash after a ${DESTDIR} with no other path after it.

# 037db89f 02-Sep-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Added /etc/networks to the files that get installed, some how it got
dropped out of the Makefile. Commented out talk in inetd.conf since
it refers to the old non-existent otalkd.

# a614794b 01-Sep-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Removed commit lies for sbin/reboot and usr/local/bin/{mread,rz},
these are not part of the standard distribution and do not belong
in here, this was carry over from earlier work.

Added src-tarball: ssrc-tarball: targets to build the 2 source tar balls,
still have to manually copy/chmod/chown the src tree into the destination
directory and clean out all the obj, and CVS files/dirs, plus run a
make cleandist in it before running these targets, but atleast things are
getting easier to do!

release: now uses fixed floppies target.

# d6cef5599 31-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Added dd back to cpio floppy in place of shutdown, since shutdown
is not really needed until we can go multiuser.

Changed name of list from CRYPT_FILES to CRYPT_SRCS, since that is
really what they point to. Added list CRYPT_DIRS, that is the directories
that are in the des distribution.

Fixed kc-xx-floppy dependencies on kc-floppy since it would not do
the right thing with the new target floppies:

Now user ${RELEASEDIR} for dd'ing the floppy images and other stuff having
to do with building the release.

Added new target bin-tarball that builds the bin.tar.gz.?? split archives for
release.

Added new target des-tarball that builds the des.tar.gz.?? split archives for
release.

Added building of /usr/local directories for the CDROMDIST.

New target floppies: that builds all 4 floppies.

New target release: that should completely populate a release tree, except
that the src-tarball target is not yet written.

# 8797a602 31-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Had to remove dd from the cpio floppy as we ran out of room due to some
growth in binaries.

# 0cfef2e4 29-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Makefile no longer needs passwd, pwd.db and spwd.db due to fixed pwd_mkdb
that now takes a directory argument. These files are now built from the
master.passwd file.

Fixed typo on NOOBJ=, was oobj, now noobj.
Rename of targes and variables. INST1 -> FILESYSTEM, INST2 -> CPIO,
kc -> kcopy.

Floppy targets now dd and gzip the image back onto the hard disk so
that less manual work is required when building a release.

Removed reboot from FILESYSTEM floppy and put df back on, and added
mount_isofs. Changed scripts to use halt instead of reboot.

# 6aab19ad 28-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Added the RELNOTES.FreeBSD to the FREEBSD list. Changed all occurance
of make to ${MAKE}

# 990baf30 27-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Added targets crypt and non-crypt to make it easier to build the
distributions.
Now only populates $DESTDIR/dev if we are building the cdrom distribution,
since this directory is populated by the install tools it was a conflict
to have the dev entries in the full distribution as well.

# 926c5ffb 25-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Removed LOCATIME and TZDIR stuff since it is now handled correctly by
share/zoneinfo and was just duplicated here.

Fixed the directory owner ships on the inst1 floppy by adding all of the
directories that get created on the floppy to INST1_DIR, since cpio was
not picking up the source dir protections, but instead using the current
process uid, gid, and umask values.

Removed /bin/df from inst1 to make room for mount_pcfs. Also removed
/etc/disktab since it just got overwritten by the install tools.

Removed zcat from INST2_CPIO since it is now installed from the
INST2_FILES files on the floppy. This fixes things so that all
of the gzip tools get linked to the same image.

Much of the .if machine i386 stuff moved to be system independent
since it really was.

Added sd1 support to the inst1 and kc floppies. No room for wd1 support,
oh well.

Fix permissions on top level of floppy, it was not getting set.

# 9f07bdff 22-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Added kc-kernel target that builds both GENERICAH and GENERICBT kernels.
Added kc-floppy that does the common part of building the kc floppies.
Added kc-bt-floppy to build GENERICBT kernel floppy.
Fixed kc-ah-floppy to use kc-floppy.

# 4533a28b 13-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Enable lastlog install commands.

# f5e6a77b 12-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Commented out installation of /var/log/lastlog:
The problem with having it enable is that lastlog grows big, none
of the current scripts deal with rotation of /var/log/lastlog,
so it shouldn't necessary be installed at first. This has traditionally
been something the sysadmin has had to touch after system installations.

Nate:
(Besides, you're forced to learn more about the system by reading the man
pages if it doesn't exist. :-)

# 853f272a 12-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

/etc/termcap is now created as a symlink to /usr/share/misc/termcap,
fixed creation of link for /etc/localtime.

# 70ce04ee 12-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Added 3 targets (kc-ah-floppy, inst1-floppy, inst2-floppy) which build
3 of the 4 needed floppies for FreeBSD.

Still need to do kc-bt-floppy for the Bustek/Ultrastore controllers.

Fixed installation of boot blocks in distribution:, now use a variable
(${MDEC}) instead of a find so that my zzz files don't end up in
the distribution!

# 42cee3fa 10-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Added support to build i386-kc_floppy:, kernel copy floppy for FreeBSD.
Added support to build and install GENERICISA kernel in the binary
distribution.

# 94f07b5b 09-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Moved make copies of src/includes to be after the top level make install
so that the binary distribution ends up with full blown include files.

# 35a3a8d7 09-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Fixed install of ${FREEBSD}, forgot to do a install -c so it removed the
files from src on the install of them!

# f9b4e354 09-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Added installation of CONTRIB.386BSD CONTRIB.FreeBSD and COPYRIGHT to /
when building a distribution for the i386 case. This keeps us from violating
Berkeley's and Bill Jolitz's copyrights.

# 2e381247 08-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Removed man.conf since it is no longer used by the new manual page system

# ea76af53 03-Aug-1993 Charlie Root <root@FreeBSD.org>

Added install of /var/cron/log.
Made it clean up in /sys/i386/boot after building and installing the
boot blocks.
Moved the cd ..; make install to be after the special case stuff for
sendmail.
Added the installation of tcpproto.cf as /etc/sendmail.cf

# 222c6cb7 29-Jul-1993 Nate Williams <nate@FreeBSD.org>

Added a default host.conf (gethostnamadr() name resolver) which declares
to resolve all names via bind first and then try /etc/hosts.

# 08cbe8b1 26-Jul-1993 Nate Williams <nate@FreeBSD.org>

Changed sys.386bsd to sys

# 05b5f220 20-Jul-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Fixed installation of sendmail. cd'ed to wrong directory. Now works
correctly.

# 242029ec 20-Jul-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Added .if ${MACHINE} == "i386" section to do install of boot blocks, all
standard tools, copies of include files, and sendmail.

# 64784fa9 19-Jul-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Since pwd_mkdb always works in /etc no matter what I added pwd.db and
spwd.db that are created from the template master.passwd to src/etc so
that a build distribution can populate /etc correctly. This is a work
around until a better solution can be found.

# 6e1a887c 19-Jul-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Brought in NetBSD Makefile, which was then fixed up to use mtree for
building the distrubution hierarchy. Still needs some work, but atleast
this version runs and does most of the right things.

# 1bf9d5d9 20-Jun-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Initial import of 386BSD 0.1 othersrc/etc

# 62a149bf 17-Dec-2022 Tobias C. Berner <tcberner@FreeBSD.org>

Add new rc: machine_id to generate /etc/machine-id

This new default-enabled rc will generate a /etc/machine-id file if it
does not exist, and pre-fill it with a newly generated UUID of version 4
[2].

The file is generated in /var/db/machine-id and symlinked to
/etc/machine-id to allow for read-only root partitions.

This file is amongst other things used by libraries like GLib.

Bump FreeBSD version 1400076 to be able to easily add support for older
version of FreeBSD via a package.

[1] Linux machine-id(5): https://www.man7.org/linux/man-pages/man5/machine-id.5.html
[2] f176fe8e7f638e585afcd2f4dd52a522c4648f63

Approved by: bapt
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D37722


# 3078531d 13-Sep-2022 Maxim Sobolev <sobomax@FreeBSD.org>

Fix mergemaster(8) breakage in the 6ad780caa.

Split out termcap.small generation into its own Makefile under
etc/termcap, so it's properly executed by the underlying command:

make 'SUBDIR_OVERRIDE=etc' everything

Reported by: gbe
MFC after: 1 month


# 76c100d6 15-Jul-2022 Jessica Clarke <jrtc27@FreeBSD.org>

etc: Fix distrib-dirs to not rely on a BSDism

FreeBSD and macOS have a test that treats == as an alias for =, but
Linux tends to use GNU coreutils (when not a builtin) which does not.
Use the standard syntax instead for compatibility.

Obtained from: CheriBSD
Differential Revision: https://reviews.freebsd.org/D35811


# 72bf91e2 06-Jan-2022 Warner Losh <imp@FreeBSD.org>

libsoft: Remove support for installing libsoft

Remove the infrasturcture needed to create the libsoft directories.

Sponsored by: Netflix


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

pkgbase: Put the last sendmail files in the sendmail package

Differential Revision: https://reviews.freebsd.org/D30757
Sponsored by: Diablotin Systems


# cb99e935 01-Jun-2020 Kyle Evans <kevans@FreeBSD.org>

pkgbase: resolve mailer.conf conflict WITHOUT_SENDMAIL

When WITHOUT_SENDMAIL is set, we end up with two different mailer.conf that
conflict, and hilarity ensues. There's currently three different places that
we might install mailer.conf:

- ^/etc/Makefile (package=runtime, contingent on MK_MAIL != no)
- ^/libexec/dma/dmagent/Makefile (package=dma, contingent on MK_SENDMAIL !=
no)
- ^/usr.sbin/mailwrapper/Makefile (package=utilities, contingent on
not-installed)

The mailwrapper installation will effectively never happen because the ^/etc
one will first.

This patch simplifies the whole situation; remove the ^/etc/Makefile version
and install it primarily in mailwrapper if MK_MAILWRAPPER != "no". The
scenarios covered in mailwrapper are:

- sendmail(8) is installed, dma(8) may or may not be installed
- neither sendmail(8) nor dma(8) is installed

In the first scenario, sendmail(8) is dominant so we can go ahead and
install the version in ^/etc/mail. In the unlisted scenario, sendmail(8) is
not installed but dma(8) is, we'll let ^/libexec/dma/dmagent do the
installation. In the second listed scenario, we still want to install an
example mailer.conf so just install the base sendmail(8) version.

Reviewed by: bapt
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D24924


# a8b8edb2 06-Apr-2020 Maxim Sobolev <sobomax@FreeBSD.org>

Normalize deployment tools usage and definitions by putting into one place
instead of sprinkling them out over many disjoint files. This is a follow-up
to achieve the same goal in an incomplete rev.348521.

Approved by: imp
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D20520


# c016c891 23-Mar-2020 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Move device.hints from the runtime to the bootloader package

Also mark it as config file so if a user changes this file pkg will attempt
to merge the new file upon an update.
device.hints is neither related to runtime or loader but it make more sense
to have it in loader in case some user delete /boot/ and wants to recreate it,
now only two packages are required FreeBSD-bootloader and the kernel package.
While here change where we override the package for files installed in /boot,
this allow us to keep other tags (such as config).

Reported by: pizzamig
Reviewed by: bapt pizzamig emaste
Differential Revision: https://reviews.freebsd.org/D24159


# d3c87514 24-Jan-2020 Ed Maste <emaste@FreeBSD.org>

Tag NLS aliases with pkgbase package

POSIX and en_US.US_ASCII are aliases (symlinks) to the C locale. They were
not previously tagged with a pkgbase pacakge. Add the tag so that they are
handled correctly on pkgbase-installed/updated systems.

[This is r356990 reapplied with a corrected commit message.]

Discussed with: manu


# 3407334a 24-Jan-2020 Ed Maste <emaste@FreeBSD.org>

revert r356990 to reapply with correct commit message

Requested by: rgrimes


# 6ed1dc00 22-Jan-2020 Ed Maste <emaste@FreeBSD.org>

Tag NLS aliases with package=runtime

POSIX and en_US.US_ASCII are aliases (symlinks) to the C locale. They were
not previously tagged with a pkgbase pacakge. Add the tag so that they are
handled correctly on pkgbase-installed/updated systems.

Discussed with: manu


# 156ebad6 22-Jan-2020 Kyle Evans <kevans@FreeBSD.org>

Tag os-release symlink with package=runtime

This ensures it gets into pkgbase-(installed/updated) systems.


# 6467506b 20-Nov-2019 Warner Losh <imp@FreeBSD.org>

Create /etc/os-release file.

Each boot, regenerate /var/run/os-release based on the currently running
system. Create a /etc/os-release symlink pointing to this file (so that this
doesn't create a new reason /etc can not be mounted read-only).

This is compatible with what other systems do and is what the sysutil/os-release
port attempted to do, but in an incomplete way. Linux, Solaris and DragonFly all
implement this natively as well. The complete standard can be found at
https://www.freedesktop.org/software/systemd/man/os-release.html

Moving this to the base solves both the non-standard location problem with the
port, as well as the lack of update of this file on system update.

Bump __FreeBSD_version to 1300060

PR: 238953
Differential Revision: https://reviews.freebsd.org/D22271


# 15779434 12-Jun-2019 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Add some tags to files installed in distribution target

Add the MK_MAIL dependant file to the runtime package as well as the
MK_KERBEROS ones the empty locate database, the FreeBSD copyright file
and the GENERIC.hints.
Tag the unbound link from /etc to /var to belong in the unbound package.

Reviewed by: bapt
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D20607


# 6c4448b3 03-Jun-2019 Maxim Sobolev <sobomax@FreeBSD.org>

Put back MTREE_CMD here for now. Doh, not my day, perhaps.

Reported by: markj, mav


# 5d280640 03-Jun-2019 Maxim Sobolev <sobomax@FreeBSD.org>

Leave mtree hardcoded for now. Reverting partially 348521 and also
the followup stopgap change, because I don't think it's a correct. I still
need to figure out where to stick it in. In cannot be in Makefile.inc1
and it cannot be in etc/Makefile from the looks of it to avoid
chicken-and-egg problem.


# 5ec57af4 02-Jun-2019 Maxim Sobolev <sobomax@FreeBSD.org>

Fix several places where tool name has been hardcoded:

install -> ${INSTALL}
mtree -> ${MTREE_CMD}
services_mkdb -> ${SERVICES_MKDB_CMD}
cap_mkdb -> ${CAP_MKDB_CMD}
pwd_mkdb -> ${PWD_MKDB_CMD}
kldxref -> ${KLDXREF_CMD}

If you do custom FreeBSD builds you may want to override those
in some cases.

Sponsored by: Sippy Software, Inc.


# a8b94f3d 22-May-2019 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Move login.access to usb.bin/login

Also remove the etc-examples target as we don't have any files
to handle here.

Reviewed by: bapt


# 6a42f8dd 22-May-2019 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Move termcap.small to share/termcap

Reviewed by: bapt


# 42438321 22-May-2019 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Move rc.sendmail to libexec/rc

Reviewed by: bapt


# f4022639 22-May-2019 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Move rc.bsdextended to libexec/rc

Reviewed by: bapt


# f0f0053a 22-May-2019 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Move rc.firewall to libexec/rc

Put it with all the other rc files

Reviewed by: bapt


# 871b6b10 15-May-2019 Brad Davis <brd@FreeBSD.org>

Move master.passwd and group to lib/libc/gen/

libc was picked as the destination location for these because of the syscalls
that use these files as the lowest level place they are referenced.

Approved by: will (mentor), rgrimes, manu
Differential Revision: https://reviews.freebsd.org/D16728


# eb4c63f7 12-May-2019 Emmanuel Vadot <manu@FreeBSD.org>

Revert r347356 and r347371

passwd related files need to be tagged as config file so pkg update
will attempt merging them when we install a new package.
We should use CONFS for that.
Revert for now until I come up with a better version of this patch as
it breaks pkgbase for users.


# e599c3d4 08-May-2019 Emmanuel Vadot <manu@FreeBSD.org>

etc/Makefile: Remove empty newline

This was commited accidently in r347356 and cause distribution with
NO_ROOT set to fail.

Reported by: ci, kib
MFC after: 2 weeks
X-MFC-With: r347356


# 3d4dafef 08-May-2019 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Deal with the last etc files

Add tags=package=runtime for password related files.
Add tags=package=sendmail for rc.sendmail
Add tags=package=ipfw for rc.firewall

Reviewed by: bapt
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D20173


# 874e7db1 04-Nov-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Simplify NLS alias handling by using native make(1) multi variable for loops


# 4dd729a5 04-Nov-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Fix bad copy/paste


# 97dc79f2 04-Nov-2018 Baptiste Daroussin <bapt@FreeBSD.org>

Simplify a bit distrib-dirs target

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


# b8fdf588 22-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move hosts.allow to lib/libwrap/

This leverages CONFS to handle the install.

Approved by: re (blanket, pkgbase), bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D17240


# d465a4b0 20-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move the openssl.cnf install to secure/usr.bin/openssl/

This leverages CONFS to do the install

Approved by: re (pkgbase, blanket), bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D17245


# 27e35a09 20-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move nsmb.conf to lib/libsmb/

This leverages CONFS to do the install

Approved by: re (pkgbase, blanket), bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D17243


# 6999b785 20-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move opieaccess to lib/libopie/

This leverages CONFS to do the install

Approved by: re (blanket, pkgbase), bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D17241


# 80994f81 20-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move hosts.lpd and printcap to usr.sbin/lpr/lpd/

This leverages CONFS to handle the install

Approved by: re (blanket, pkgbase), bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D17238


# bca33253 19-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move remote & phones to usr.bin/tip/tip/

Approved by: re (blanket, pkgbase), will (mentor)
Differential Revision: https://reviews.freebsd.org/D17219


# f803ec1e 19-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move regdomain.xml to lib/lib80211/

This leverages CONFS to handle the install. lib80211 was picked because it is
where this file is actually used from.

Approved by: re (blanket, pkgbase), will (mentor)
Differential Revision: https://reviews.freebsd.org/D17229


# 02b69379 18-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move libalias.conf to lib/libalias/libalias/

This leveages CONFS to handle the install.

Approved by: re (blanket, pkgbase), bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D17218


# a0bc3b59 18-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move disktab to sbin/bsdlabel/

This leverages CONFS to handle the install.

Approved by: re (blanket, pkgbase), will (mentor)
Differential Revision: https://reviews.freebsd.org/D17217


# 1b491096 18-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move install of locate.rc to usr.bin/locate/locate/

This leverages CONFS to handle the install and purges an old comment.

Approved by: re (blanket, pkgbase), bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D17215


# 22917b7e 18-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move mail.rc install to usr.bin/mail.

This leverages CONFS to do the install

Approved by: re (blanket, pkgbase), bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D17216


# b6af74d2 17-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move mac.conf to lib/libc/posix1e/

This leverages CONFS to handle the install of the config file.

Approved by: re (blanket, pkgbase), will (mentor)
Differential Revision: https://reviews.freebsd.org/D17162


# af734c77 17-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move amd.map to usr.sbin/amd/amd/

This leverages CONFS to handle the install of the config file.

Approved by: re (gjb), will (mentor)
Differential Revision: https://reviews.freebsd.org/D17159


# 9a537769 17-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move libmap.conf to libexec/rtld-elf/

This leverages CONFS to handle the config file install.

Approved by: re (gjb), will (mentor)
Differential Revision: https://reviews.freebsd.org/D17161


# 62e23a47 17-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move dhclient.conf to sbin/dhclient/.

This also leverages CONFS for handling config files.

Approved by: re (gjb), will (mentor)
Differential Revision: https://reviews.freebsd.org/D17160


# 77e4a391 17-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move rpc and netconfig to lib/libc/rpc/

This uses relative paths to make it more specific to avoid any potential
future problems with .PATH and leverages CONFS.

libc was picked as the destination location for these because of the syscalls
that use these files as the lowest level place they are referenced.

Approved by: re (gjb), will (mentor)
Differential Revision: https://reviews.freebsd.org/D17163


# 03452a49 17-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move hosts, hosts.equiv, networks, nsswitch.conf, protocols to lib/libc/net/

This uses relative paths to make it more specific to avoid any potential
future problems with .PATH and leverages CONFS.

libc was picked as the destination location for these because of the syscalls
that use these files as the lowest level place they are referenced.

Approved by: re (gjb), will (mentor)
Differential Revision: https://reviews.freebsd.org/D17164


# 219cf81b 12-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move all pam related config to lib/libpam/

Approved by: re (rgrimes), will (mentor), des
Differential Revision: https://reviews.freebsd.org/D17122


# 2d7bc6b3 06-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move etc/crontab to usr.sbin/cron/cron/

Approved by: re (gjb), will (mentor)
Differential Revision: https://reviews.freebsd.org/D16786


# ce9e223e 05-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move gettytab to libexec/getty/

Approved by: re (gjb), will (mentor)
Differential Revision: https://reviews.freebsd.org/D16953


# 966f2a6f 04-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move etc/ttys to sbin/init/.

And simplify this a little by flattening the directory structure.

Approved by: re (gjb), will (mentor)
Differential Revision: https://reviews.freebsd.org/D16955


# d3b764ac 30-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move fbtab, login.conf, and motd to usr.bin/login/

Approved by: Approved by: re (gjb), bapt (mentor), will (mentor)
Differential Revision: https://reviews.freebsd.org/D16947


# 94ec7ec7 29-Aug-2018 Brad Davis <brd@FreeBSD.org>

Finish moving dot.cshrc and dot.profile to bin/csh/ and bin/sh/.

Approved by: re (gjb), will (mentor)
Differential Revision: https://reviews.freebsd.org/D16770


# 376a4e32 22-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move services to usr.sbin/services_mkdb/

This is pkgbase related as it switches to CONFS to properly tag this as a
config file.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16848


# 39cec25b 22-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move all devfs related files to sbin/devfs/

This is related to pkgbase as it uses CONFS to properly tag these as config
files.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16785


# c8e70555 21-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move all bluetooth related config files out of etc

This helps with pkgbase by switching to CONFS so they are properly tagged as
config files.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16833


# 541075a6 21-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move ftpusers to libexec/ftpd/

Thsi helps with pkgbase by switching to CONFS so that ftpusers will be
properly tagged as a config file.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16787


# 64be79ef 21-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move all syslogd related configs to usr.sbin/syslogd/

This helps with pkgbase as it switches these to use CONFS which properly tags
them as config files.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16783


# 44e1285c 21-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move all devd related configs to sbin/devd/

This helps with pkgbase as it switches these to using CONFS so they are
properly tagged as config files.

Approved by: will (mentor), imp
Differential Revision: https://reviews.freebsd.org/D16781


# 3349f8bb 15-Aug-2018 Brad Davis <brd@FreeBSD.org>

Revert parts of r337849 and r337857

This fixes the build and I will redo these changes as part of a future review
that organizes them differently. The way I tried to do it here could be done
better. Sorry for the noise.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16737


# f0a51d9d 15-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move ssh config file handling into the ssh Makefiles.

This helps with pkgbase by using CONFS and tagging these as config files.

Approved by: allanjude (mentor), des
Differential Revision: https://reviews.freebsd.org/D16678


# b26c7f7f 15-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move all sh and csh files into bin/sh/ or bin/csh/

This simplifies pkgbase by migrating these to CONFS so they are properly
tagged as config files.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16708


# eecd0985 12-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move inetd.conf to usr.sbin/inetd/

This is pkgbase related as it uses CONFS to tag the file as a config file

Approved by: AllanJude (mentor)
Sponsored by: Essen Hackathon
Differential Revision: https://reviews.freebsd.org/D16693


# 31ef5c68 12-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move all the newsyslog related configs to usr.sbin/newsyslog/

This is related to pkgbase and changes these to use CONFS so that these are
tagged as config files.

Approved by: AllanJude (mentor)
Sponsored by: Essen Hackathon
Differential Revision: https://reviews.freebsd.org/D16694


# 9488993b 11-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move all NTP related files to usr.sbin/ntp/ntpd.

This helps with pkgbase by using CONFS to tag these as config files.

Approved by: allanjude (mentor), ian, cy
Sponsored by: Essen Hackathon
Differential Revision: https://reviews.freebsd.org/D16661


# 81ea85a8 11-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move all periodic related config and scripts to usr.sbin/periodic/

This makes pkgbase easier by tagging these as CONFS so they are properly
tagged as config files.

Approved by: will (mentor)
Sponsored by: Essen Hackathon
Differential Revision: https://reviews.freebsd.org/D16553


# 6d76ed56 11-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move pf.os to sbin/pfctl/

Approved by: will (mentor)
Glanced at by: kp
Sponsored by: Essen Hackathon
Differential Revision: https://reviews.freebsd.org/D16557


# bf8a86cd 11-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move cron.d/at to usr.bin/at/

This helps with pkgbase as it tags this as a config file so it is handled as
such

Approved by: allanjude (mentor)
Sponsored by: Essen Hackathon
Differential Revision: https://reviews.freebsd.org/D16673


# c2d948fa 11-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move snmpd.config to usr.sbin/bsnmpd/bsnmpd/

This helps with pkgbase as this config file will now be tagged as a config
file

Approved by: allanjude (mentor)
Sponsored by: Essen Hackathon
Differential Revision: https://reviews.freebsd.org/D16674


# 40557b99 11-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move sysctl.conf to sbin/sysctl/ and switch to CONFS.

This helps with pkgbase to tag this config file as a config file.

Approved by: allanjude (mentor), will (mentor)
Differential Revision: https://reviews.freebsd.org/D16559


# cea9c033 11-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move ddb.conf to sbin/ddb/ and switch to CONFS.

This helps pkgbase as this config file will now be tagged as a config file.

Approved by: allanjude (mentor)
Differential Revision: https://reviews.freebsd.org/D16675


# 9584f619 11-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move OpenBSM to CONFS

This helps with pkgbase as these config files will be properly tagged as
config files.

Approved by: allanjude (mentor), oshogbo
Differential Revision: https://reviews.freebsd.org/D16679


# 624a22b8 04-Aug-2018 Brad Davis <brd@FreeBSD.org>

Fix build after r337340.

Approved by: will (mentor)


# 0ab0a723 04-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move autofs related configs to usr.sbin/autofs/

This is prep for pkgbase to have config files tagged as such.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16492


# 99a84b82 04-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move portsnap.conf to head/usr.sbin/portsnap/portsnap/

This is prep for pkgbase to have config files tagged as such.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16554


# 6e6d254d 04-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move freebsd-update.conf to usr.sbin/freebsd-update.

This is prep for pkgbase so that config files are tagged as such.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16556


# 4d2cf170 04-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move etc/minfree to sbin/savecore/.

This is prep for pkgbase to have config files tagged as such.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16558


# 5836319a 31-Jul-2018 Brad Davis <brd@FreeBSD.org>

Move pkg/FreeBSD.conf to usr.sbin/pkg/

Approved by: bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D16491


# 6d88443d 31-Jul-2018 Brad Davis <brd@FreeBSD.org>

Move blacklistd.conf to usr.sbin/blacklistd/

This is prep for pkging base and helps tag and install config files with the
correct packages.

Approved by: bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D16493


# 4f152140 28-Jul-2018 Brad Davis <brd@FreeBSD.org>

Move nscd.conf from etc/ to usr.sbin/nscd/

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16490


# 1135e97b 28-Jul-2018 Brad Davis <brd@FreeBSD.org>

Move rc startup scripts from etc/ to sbin/init/

This keeps most startup scripts as CONFS per discussion on src-committers from
back during BSDCan.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16466


# a0a1ffcb 28-Jul-2018 Brad Davis <brd@FreeBSD.org>

Move etc/shells to lib/libc/gen with getusershell(3).

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16467


# 74c3bf4a 26-Jul-2018 Brad Davis <brd@FreeBSD.org>

Move apmd.conf to CONFS in usr.sbin/apmd which simplifies this nicely.

Approved by: bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D16431


# 5166d20d 26-Jul-2018 Brad Davis <brd@FreeBSD.org>

Move dumpdates creation to CONFS=

Approved by: bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D16435


# 31ad99a4 21-Jul-2018 Brad Davis <brd@FreeBSD.org>

Revert r336572 and wrap them in machine checks so they are only installed on
i386.

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


# a3b6b79f 20-Jul-2018 Brad Davis <brd@FreeBSD.org>

Purge some old apmd files

Approved by: allanjude
Differential Revision: https://reviews.freebsd.org/D16373


# 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


# 53ed3b32 29-Jun-2018 Alex Richardson <arichardson@FreeBSD.org>

Fix missing files in METALOG with -DNO_ROOT

By using INSTALL_LINK instead of calling ln during install the files
end up in the METALOG file as well if we use -DNO_ROOT and will be
included in a disk image when using makefs with METALOG as the input.
The other file that was not included in METALOG was /var/db/services.db
which is now also included for -DNO_ROOT.

Approved By: brooks (mentor)
Differential Revision: https://reviews.freebsd.org/D15665


# f59e5352 28-Jun-2018 Brad Davis <brd@FreeBSD.org>

Simplify using bsd.endian.mk and have it provide CAP_MKDB_ENDIAN, since it is
the most common usage.

Approved by: bapt (mentor)


# 8dc84f09 04-Jun-2018 Brad Davis <brd@FreeBSD.org>

Move /sys symlink creating out of etc/Makefile.

This is prep for etc/Makefile going away.

Approved by: bapt (mentor)


# 25f0135c 23-Jan-2018 Kyle Evans <kevans@FreeBSD.org>

Add /boot/overlays to runtime pkg, fix distrib-dirs METALOG generation

/boot/overlays was recently added without belonging to a package. It's only
used by bootloaders at the moment, so add it to the 'runtime' package to get
added with ubldr and friends.

Fix distrib-dirs METALOG generation while we're here. History elsewhere
seems to indicate that bapt@ fixed this to pull in all attributes from
mtrees while generating the METALOG. This fix got clobbered somewhere later,
so restore it.

Reviewed by: bapt, gjb
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D13996


# 3aa239f1 18-Nov-2017 Mariusz Zaborski <oshogbo@FreeBSD.org>

Remove unused Casper configurations files.

This is a reaming of Casper daemon.


# f58e5992 13-Nov-2017 Brad Davis <brd@FreeBSD.org>

Remove an unused variable.

Approved by: bdrewery


# bd6bc862 21-Oct-2017 Brad Davis <brd@FreeBSD.org>

Remove a atrun check that is nullified by r318443.

Approved by: will


# 52eb4160 25-Sep-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Do not actually install uneeded alias for man


# c343f7a2 25-Jul-2017 Enji Cooper <ngie@FreeBSD.org>

Spam BSD.coverage.dist, similar to BSD.debug.dist, unconditionally on /usr/lib/cov

/usr/lib/cov was chosen because while there isn't a standardized upstream path
that's used for storing .gcda's, /usr/lib/cov seemed like a good symmetry with
the /usr/lib/debug for debug files for gdb, et al.

Parameterize out directories that are used to spam BSD.debug.dist,
BSD.lib32.dist, BSD.libsoft.dist, and BSD.tests.dist, and spam on
/usr/lib/cov .


# e017348a 24-Jul-2017 Enji Cooper <ngie@FreeBSD.org>

Remove ${MTREE} and leverage etc/mtree/Makefile instead with
"make distribution".

This also fixes the fact that BSD.debug.dist was being installed if/when
${MK_DEBUG_FILES} != "no" before this commit.

MFC after: 2 months


# 27f3f39a 10-Jul-2017 Bryan Drewery <bdrewery@FreeBSD.org>

Fix INSTALL_AS_USER after r319020.

Reviewed by: vangyzen
MFC after: 1 week
Sponsored by: Dell EMC Isilon


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


# 56ba774e 19-May-2017 Enji Cooper <ngie@FreeBSD.org>

Install {cron.d,newsyslog.conf.d,syslog.d} via `make distribution`, not `make install`

I incorrectly started this pattern in r277541 with the opensm newsyslog.conf.d file,
and continued using it in r318441 and r318443.

This will fix the files being handled improperly via installworld, preventing tools like
etcupdate, mergemaster, etc from functioning properly when comparing the installed
contents on a system vs the contents in a source tree when doing merges.

PR: 219404
Submitted by: Dan McGregor <dan.mcgregor@usask.ca>
MFC after: 2 weeks
MFC with: r277541, r318441, r318443
Sponsored by: Dell EMC Isilon


# 043b080e 18-May-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionally handle the crontab entry for atrun(8)

The default crontab prior to this commit assumes atrun(8) is always
present, which isn't true if MK_AT == no. Move atrun(8) execution
from /etc/crontab to /etc/cron.d/at, and base /etc/cron.d/at's installation
on MK_AT. cron(8) will detect /etc/cron.d/at's presence when the configuration
is loaded and run atrun every 5 minutes like it would prior to this commit.

SHELL and PATH are duplicated between /etc/crontab and /etc/cron.d/at
because atrun(8) executes programs, which may rely on environment
set in the current default /etc/crontab.

Noted by: bdrewery (in an internal review)
MFC after: 2 months
Relnotes: yes (may need to add environmental modifications to
/etc/cron.d/at)
Sponsored by: Dell EMC Isilon


# cb8106ba 18-May-2017 Enji Cooper <ngie@FreeBSD.org>

Revert r318441: the commit message was incoherent


# 94af8db1 18-May-2017 Enji Cooper <ngie@FreeBSD.org>

Handle the cron.d entry for MK_AT in cron conditionally

Install /etc/cron.d/at if MK_AT != no, always using it, which tries
to run a non-existent program via cron(8) every 5 minutes with the
default /etc/crontab, prior to this commit.

SHELL and PATH are duplicated between /etc/crontab and /etc/cron.d/at
because atrun(8) executes programs, which may rely on environment
currently set via /etc/crontab.

Noted by: bdrewery (in an internal review)
MFC after: 2 months
Relnotes: yes (may need to add environmental modifications to
/etc/cron.d/at)
Sponsored by: Dell EMC Isilon


# 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


# 6dcff5b7 12-Mar-2017 Warner Losh <imp@FreeBSD.org>

Move /etc/ to SRCTOP

Prefer ${SRCTOP}/ to ${.CURDIR}/../ and ${.CURDIR}/../../ as appropriate.

Differential Revision: https://reviews.freebsd.org/D9932
Sponsored by: Netflix
Silence On: arch@ (twice)


# 2d5386cc 31-Oct-2016 Glen Barber <gjb@FreeBSD.org>

Fix packaging /usr/share/examples/etc.

Reported by: woodsb02
MFC after: 3 days
X-MFC-With: r308148
Sponsored by: The FreeBSD Foundation


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

Separate BLACKLIST vs BLACKLIST_SUPPORT properly

Sponsored by: The FreeBSD Foundation


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

Add basic blacklist build support

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


# df0cfa3b 01-Jun-2016 Kurt Lidl <lidl@FreeBSD.org>

Reviewed by: rpaulo
Approved by: rpaulo
Obtained from: NetBSD external/bsd/blacklist @ 20160409
Relnotes: YES
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D5912


# ea580d0b 01-Jun-2016 Glen Barber <gjb@FreeBSD.org>

Revert r301137 and r301163, and implement a correct fix
for the CONFS issue with dma.conf and ppp.conf.

Thank you very much to Bryan Drewery for looking into the
problem and providing this fix.

Pointyhat: gjb
Sponsored by: The FreeBSD Foundation


# d1900df6 01-Jun-2016 Glen Barber <gjb@FreeBSD.org>

Implement a hack to re-enable installation of the dma.conf.

The 'CONFS' entries in share/mk/bsd.confs.mk explicitly check
for the 'installconfig', but does not behave properly with the
'distribute' target.

This seems to be related to the previously-reported issues
with files within /etc in the past.

Reported by: Ben Woods
Sponsored by: The FreeBSD Foundation


# efe50fa1 01-Jun-2016 Glen Barber <gjb@FreeBSD.org>

Revert r289096:

Files listed in 'CONFS' are not properly included in new
installations (missing from base.txz), for reasons I still
do not fully understand.

This reverts the change excluding /etc/ppp/ppp.conf from
a new installation. /etc/dma/dma.conf is also affected,
but requires a different solution, still being investigated.

Reported by: Ben Woods
Sponsored by: The FreeBSD Foundation


# b40fde96 16-Apr-2016 Glen Barber <gjb@FreeBSD.org>

Fix etcupdate(8) with rc.sendmail and devd/*. It turns out
BIN1 and such in etc/* cannot use FILESGROUPS.

Reported by: peter
Sponsored by: The FreeBSD Foundation


# b7d28aff 11-Mar-2016 Bryan Drewery <bdrewery@FreeBSD.org>

META_MODE: Simplify the META_COOKIE handling to use .USE/.USEBEFORE.

Extend it to other cases of meta mode cookies so they get the proper rm
cookie behavior when a .meta file detects it needs to rebuild and fails.

Sponsored by: EMC / Isilon Storage Division


# d5cc0579 11-Mar-2016 Bryan Drewery <bdrewery@FreeBSD.org>

DIRDEPS_BUILD: Fix staging of share/sendmail and share/examples.

Sponsored by: EMC / Isilon Storage Division


# 9c4fa87c 08-Feb-2016 Glen Barber <gjb@FreeBSD.org>

Create a package for sendmail(8).

Sponsored by: The FreeBSD Foundation


# dd181aca 02-Feb-2016 Glen Barber <gjb@FreeBSD.org>

Create a package for autofs(5)

Sponsored by: The FreeBSD Foundation


# dc5f4fa8 14-Jan-2016 Gleb Smirnoff <glebius@FreeBSD.org>

Install /etc/snmpd.config with 0600 permissions.

Noticed by: Pierre Kim
Security: SA-16:06.snmpd
Pointy hat to: glebius in 2005


# 2db56e79 02-Jan-2016 Warner Losh <imp@FreeBSD.org>

Add libsoft to the tree, just like lib32.


# 0574118f 30-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

Revert r290840

This request by the submitter was valid, but unfortunately there is a good deal
of concern over breakage when DESTDIR != / or "", i.e. with release media.
Making this change correct for all cases would make it markedly more complex
than need be

Requested by: bdrewery, ian, imp
PR: 76362


# a55fda25 16-Nov-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Avoid FSCHG for INSTALL_AS_USER as well.

PR: 194189
X-MFC-With: r290628
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division


# cff0f150 14-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

Setup the symlink to /sys to mirror one's current source, e.g. if my source
tree was /usr/src/svn, /sys would point to usr/src/svn

This fixes the assumption that the source tree will always exist at
${DESTDIR}/usr/src

MFC after: 1 week
PR: 76362
Reported by: Scot Hetzel <swhetzel@gmail.com>
Sponsored by: EMC / Isilon Storage Division


# 26de3a17 13-Nov-2015 Brad Davis <brd@FreeBSD.org>

Fix a few files that where being incorrectly installed as one file. This was caused by the nvi upgrade fallout in r281994. So add the missing directories back to the mtree and add distrib-cleanup target to retroactively remove the files that should have been directories.

Reviewed by: bdrewery
Approved by: bdrewery


# 15482f3f 12-Nov-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Respect NO_FSCHG for extracting mtrees.

PR: 194189
X-MFC-With: r290628
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division


# 6662a8e5 09-Nov-2015 Bryan Drewery <bdrewery@FreeBSD.org>

When extracting mtrees, pass -i so schg/sappnd are respected.

This fixes /var/empty not being schg in the installation.

This was a change from fmtree to nmtree, that -i is now required to
apply these flags.

PR: 194189
Submitted by: guyyur@gmail.com
MFC after: 2 weeks
Relnotes: yes


# 7d8f797b 27-Oct-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Use more appropriate ${SHAREDIR} rather than /usr/share.

MFC after: 2 weeks
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


# 6f422073 16-Oct-2015 Cy Schubert <cy@FreeBSD.org>

Add default leap-seconds file. This should help ntp networks get the
leap second date correct

Updates to the file can be obtained from ftp://time.nist.gov/pub/ or
ftp://tycho.usno.navy.mil/pub/ntp/.

Suggested by: dwmalone
Reviewed by: roberto, dwmalone, delphij
Approved by: roberto
MFC after: 1 week


# 07670b30 14-Oct-2015 Ed Maste <emaste@FreeBSD.org>

Create /usr/tests *.debug file directory hierarchy

Reviewed by: bdrewery, ngie
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3896


# 23c78161 09-Oct-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Move ppp.conf into the ppp sources


# 855ff27c 09-Oct-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Move all the dma(8) components into one single directory

Simplifying maintainance and options (only one place to deal with MK_DMAGENT)

This also makes packaging base less intrusive by getting a single point where
to add tags.


# c426d0d1 04-Jun-2015 Glen Barber <gjb@FreeBSD.org>

Re-implement endian-aware services_mkdb(8) in the 'distribute'
target. This effectively reverts r261142, which reverted both
r261031 and r261044.

Prodded by: jhb
MFC after: 1 week
Sponsored by: The FreeBSD Foundation


# 1a31e4a6 04-Jun-2015 Baptiste Daroussin <bapt@FreeBSD.org>

After r283981 it is no more needed to specify endianness when generating the
passwd database


# 7afb8adf 18-May-2015 Enji Cooper <ngie@FreeBSD.org>

Move all test integration pieces for etc/ from etc/ to tests/

This is being done to fix breakage with make distribution with read-only
source trees as make distribution doesn't use make obj like building
tests/ does in all cases

Reported by: Wolfgang Zenker <wolfgang@lyxys.ka.sub.org>
Suggested by: jhb
X-MFC with: r282059
MFC after: 1 week


# 2b7dce20 04-May-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Remove now unneeded libmap32.conf


# 8c507534 06-Apr-2015 Andrew Turner <andrew@FreeBSD.org>

Respect DESTDIR when creating the directory structure when NO_ROOT is set.

Reviewed by: bapt
MFC after: 1 Week


# 0bd7d22e 05-Mar-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Move ssh into a dedicated package
Flag config files as "to be merged on upgrade"


# 219c72ef 04-Mar-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Make unbound an individual package

Ensure we keep all tags from mtrees when creating the METALOG


# 5dd72ff5 24-Feb-2015 Ed Maste <emaste@FreeBSD.org>

Unconditionally install debug directory hierarchy

This avoids various failure modes (e.g., when building and installing a
single binary with debug data on a system that otherwise does not have
it enabled).

It is also consistent with the way other directory hierarchies are
handled (e.g. share/man).

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D1962


# dc6d22c9 12-Feb-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Makes it more flexible to tag and define a target package


# 480180df 10-Feb-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Revert r278451 and r278454

We won't use distributeworld in the end


# b27bd782 09-Feb-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Ensure make distributeworld respects DESTDIR


# a8376a3c 09-Feb-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Respect DESTDIR when running make distrib-dirs with -DNO_ROOT


# f515b598 05-Feb-2015 Enji Cooper <ngie@FreeBSD.org>

Honor the following flags for items that can be conditionalized out of the
build/install without disrupting other dependent services (see r278249, et
al):

- MK_LOCATE
- MK_MAN
- MK_NLS
- MK_OPENSSL
- MK_PKGBOOTSTRAP
- MK_SENDMAIL

Additional flags need to be handled in etc/Makefile, but it requires
refactoring the relevant scripts in etc/rc.d/*

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


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

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

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

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


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

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

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


# 5e497231 22-Jan-2015 Enji Cooper <ngie@FreeBSD.org>

Add sample log rotation support for opensm

Up to 7 archives of the log will be kept (just for consistency with the other
log rotation rules)

PR: 196788
MFC after: 1 week
Reviewed by: hselasky
Sponsored by: EMC / Isilon Storage Division


# 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


# 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


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

Honor MK_IPFW with rc.firewall, MK_LOCATE with /var/db/locate.db, and MK_MAN
with creating manpage symlinks


# 4724dcbf 29-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Honor MK_AUDIT with respect to etc/security


# d485a561 29-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Honor MK_GSSAPI and MK_PKGBOOTSTRAP a bit better in etc/Makefile


# 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


# dfdf74ea 29-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Revert r275270

MK_MAIL applies to MK_SENDMAIL and a number of other knobs. r275270 incorrectly
applied it to only MK_SENDMAIL


# e42bedb8 29-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

etc/mail actually applies to MK_SENDMAIL, not MK_MAIL


# a8b303ad 27-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Add WITHOUT_AUTOFS and WITHOUT_BSDCONFIG


# 899d8a5b 27-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Only install libmap32.conf if MK_LIB32 != no


# 466046ec 26-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Conditionalize a number of components in the tree

- bootparamd
- bootpd
- finger/fingerd
- ftp/ftpd
- hastctl/hastd
- iscsid, et al
- rbootd
- talk/talkd
- tcpd, et al
- tftp/tftpd

Add src.conf entries for the various components and do a best effort
at adding components to tools/build/mk/OptionalObsoleteFiles.inc


# 05bc3dd6 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Make inetd optional via MK_INETD


# c1479b76 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

The shift; shift needs to be moved outside the .if ${MK_OPENSSL} conditional


# 8f09f1ec 25-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Don't create symlinks for nls/openssl unless the respective options are set


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

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

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

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


# c67bc4db 14-Jun-2014 Gavin Atkinson <gavin@FreeBSD.org>

Remove send-pr, the supported interface to submit bugs is now via
https://bugs.freebsd.org/submit/

Removing send-pr also removes one more piece of non-BSD-licensed software.

Hat: bugmeister
MFC after: 3 days


# e8a34402 10-Jun-2014 Julio Merino <jmmv@FreeBSD.org>

Put the test suite in its own tests.txz distribution file.

Force all the contents of /usr/tests to go into a separate distribution
file so that users of binary releases can easily choose to not install it.

To make this possible, we need two fixes:
- bsd.subdir.mk needs to properly honor NO_SUBDIR in all cases so that we
do not recurse into 'tests' subdirectories when we needn't. Otherwise,
we end up with some Kyuafiles in base.txz.
- etc/Makefile needs to skip installing tests in its 'distribute' target
so that a Kyuafile doesn't leak into base.txz.

Approved by: gjb


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

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


# 63efcf90 01-May-2014 Simon J. Gerraty <sjg@FreeBSD.org>

There is no guarantee that our group has a name.
Since the results are temp, just subst [gu]name for [gu]id

Reviewed by: obrien


# 38f0b757 21-Apr-2014 Julio Merino <jmmv@FreeBSD.org>

Add placeholder Kyuafiles for various top-level hierarchies.

This change adds tests/ directories in the source tree to create various
subdirectories in /usr/tests/ and to install placeholder Kyuafiles for
them.

the relevant hierarchies are: cddl, etc, games, gnu and secure.

The reason for this is to simplify the addition of new test programs for
utilities or libraries under any of these directories. Doing so on a
case by case basis is unnecessary and is quite an obscure process.


# eed74b23 13-Apr-2014 Bryan Drewery <bdrewery@FreeBSD.org>

Always install pkg.conf. Don't depend on MK_PKGBOOTSTRAP.

This file is used by pkg(8) from ports as well. Someone may
choose to not install pkg(7) but still want to consume
official packages by building or installing pkg(8) manually.

Discussed with: bapt
MFC after: 1 day (Working on EN)


# 6a54f620 22-Feb-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Rename WITHOUT_DMA into WITHOUT_DMAGENT to avoid confusion

Requested by: ian


# a1bf0ec8 21-Feb-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Install a default configuration file for dma

Suggested by: flo


# b3f2918a 24-Jan-2014 Glen Barber <gjb@FreeBSD.org>

Temporarily turn off the services.db generation during distributeworld.
I'll work on an update to test for endianness-compatibility.

Submitted by: many
Sponsored by: The FreeBSD Foundation


# 8fcaeb45 22-Jan-2014 Glen Barber <gjb@FreeBSD.org>

Disable output about duplicate services, which were not output during
testing.

MFC after: 1 month
X-MFC-After: r261031
Sponsored by: The FreeBSD Foundation


# 385d6d47 22-Jan-2014 John Baldwin <jhb@FreeBSD.org>

Generate /var/db/services.db during 'make distribution' so that it is
present during new installs. Update etcupdate and mergemaster to
ignore the generated file.

Tested by: gjb (release build)
MFC after: 1 month


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

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

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

Sponsored by: The FreeBSD Foundation


# 5efcd27a 16-Nov-2013 Julio Merino <jmmv@FreeBSD.org>

Move all atf directories to the tests mtree.

This is to ensure that test-related directories don't get needlessly
created (and later deleted) when MK_TESTS=no.

Problem found by jhb@.

Approved by: rpaulo (mentor)


# 8d20be1e 29-Oct-2013 Bryan Drewery <bdrewery@FreeBSD.org>

Move /etc/keys to /usr/share/keys where users are less likely to modify them.

Requested by: secteam (cperciva, des)
Approved by: bapt


# 24a22129 25-Oct-2013 Bryan Drewery <bdrewery@FreeBSD.org>

Add infrastructure for installing pkg(8) keys into /etc/keys/pkg and add
the current test key that packages will be signed with until 10.0-RELEASE.

Approved by: bapt
Discussed by: bapt with des
MFC after: 2 days


# bc5e9ac0 25-Oct-2013 Bryan Drewery <bdrewery@FreeBSD.org>

Add support for reading configuration files from /etc/pkg.
For now only /etc/pkg/FreeBSD.conf is supported. Its style is:

Repo: {
URL: "...",
MIRROR_TYPE: "...",
...
}

The configuration will be read from /usr/local/etc/pkg.conf if exists,
otherwise /etc/pkg/FreeBSD.conf

Approved by: bapt
MFC after: 2 days


# e2197f80 24-Oct-2013 Rui Paulo <rpaulo@FreeBSD.org>

Set up the /usr/tests hierarchy.

Populate /usr/tests with the only test programs that currently live
in the tree (those in lib/libcrypt/tests/) and add all the build
machinery to accompany this change.

In particular:

- Add a WITHOUT_TESTS variable that users can define to request that
no tests be put in /usr/tests.
- Add a top-level Kyuafile for /usr/tests and a way to create similar
Kyuafiles in top-level subdirectories.
- Add a BSD.tests.dist file to define the directory layout of
/usr/tests.

Submitted by: Julio Merino jmmv google.com
Reviewed by: sjg
MFC after: 2 weeks


# 1991e07a 21-Oct-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Fix botched sed script


# e8f617fd 16-Oct-2013 Simon J. Gerraty <sjg@FreeBSD.org>

We use distrib-dirs to populate stage tree.
But that depends on up-to-date passwd and group files in /etc.
If MK_INSTALL_AS_USER==yes and we are not root, filter the mtree input
to avoid problems with [gu]name and [gu]id settings.


# 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


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

Remove BIND.

Approved by: re (gjb)


# 63d39bea 24-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Replace the unused /etc/unbound directory with a symlink to /var/unbound.

Approved by: re (blanket)


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

The correct variable is apparently MACHINE_ARCH, not TARGET_ARCH.

Approved by: re (blanket)


# 924eb781 09-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove unneeded mappings from libmap32.conf. Move it up one level and
install it on powerpc64 in addition to amd64.

Reviewed by: kib
Approved by: re (blanket)


# 773eec47 08-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Add a stock libmap32.conf for amd64. The first two lines have no effect
except to document the hardcoded standard library search path for 32-bit
binaries. The third line performs the equivalent substitution for the
private library directory.

Ironically, these entries rely on functionality which is only available
in the COMPAT_32BIT version of rtld-elf.

Approved by: re (blanket)


# 4b001597 31-Jul-2013 Jeremie Le Hen <jlh@FreeBSD.org>

Include /usr/local/etc/libmap.d/ by default.

PR: 180568
Reviewed by: bapt
Obtained from: kib
MFC after: 3 days


# 42f8c5b5 07-Jun-2013 Ed Maste <emaste@FreeBSD.org>

Add a new knob WITH_DEBUG_FILES to control the building of standalone
debug files for userland programs and libraries. The "-g" debug flag
is automatically applied when WITH_DEBUG_FILES is set.

The debug files are now named ${prog}.debug and ${shlib}.debug for
consistency with other systems and documentation. In addition they are
installed under /usr/lib/debug, to simplify the process of installing
them if needed after a crash. Users of bsd.{prog,lib}.mk outside of the
base system place the standalone debug files in a .debug subdirectory.
GDB automatically searches both of these directories for standalone
debug files.

Thanks to everyone who contributed changes, review, and testing during
development.


# 8dccfa7c 30-Apr-2013 Brooks Davis <brooks@FreeBSD.org>

Make an attempt to detect missing MTREE files in distrib-dirs. Not
perfect, but this is just a developer seatbelt.

PR: conf/176897
Submitted by: Garrett Cooper <yaneurabeya@gmail.com>
MFC after: 1 week


# 69b23515 22-Feb-2013 Andrey A. Chernov <ache@FreeBSD.org>

Back out prev. change preventing /sys/sys symlink. It appears my install
was not very recent and not acts like 'ln -h'


# 312c5e1a 17-Feb-2013 Andrey A. Chernov <ache@FreeBSD.org>

In 'make hierarchy' don't install /sys/sys pointing to usr/src/sys
but just /sys pointing there


# 8caedc2a 30-Jan-2013 Brooks Davis <brooks@FreeBSD.org>

When adding the directory ownership to the METALOG do it by name rather
than number as is done in install so as to differ binding of names to
ids.

Remove the -W flag from the mtree command so that the correct user and
group is recorded rather than the default.


# 64dc091f 29-Jan-2013 Brooks Davis <brooks@FreeBSD.org>

Log the addition of login.conf.db, passwd, pwd.db, and spwd.db via cat -l.

Make cat a bootstrap tool to facilitate this.


# 4a63ae11 22-Jan-2013 Brooks Davis <brooks@FreeBSD.org>

Introduce a new option -DNO_ROOT that allows install and distribution
targets to be run without root privilege.

Information about ownership, group, flags, and suid bits are stored in
the file specified by METALOG which defaults to ${DESTDIR}/METALOG.
This file can be used in conjunction with bsdtar or makefs to generate
archives or file system images with correct permissions.

The packageworld target has been altered to use this metadata allowing
non-root releases (subject to further changes in release/Makefile.)

Sponsored by: DARPA, AFRL
Reviewed by: ian, ray


# 12dd8cb1 21-Jan-2013 Brooks Davis <brooks@FreeBSD.org>

Replace all known uses of ln in the build process with appropriate
install -l invocations via new INSTALL_LINK and INSTALL_SYMLINK
variables.

Sponsored by: DARPA, AFRL
Reviewed by: ian, ray, rpaulo


# dbc6339b 17-Jan-2013 Brooks Davis <brooks@FreeBSD.org>

In r245571, "rm -rf <foo>; ln -s <bar> <foo>" needed to be replaced with
"ln -sfh <bar> <foo>" or the links would fail when a valid link to a
directly was in place at <foo>.

Reported by: peter
Tested by: peter
Pointy hat to: brooks


# 62bc689a 17-Jan-2013 Brooks Davis <brooks@FreeBSD.org>

In preparation for logging metadata about each filesystem object
refactor the link section of distrib-dirs to alwasy install to a full
path (the link contents remain relative as they should).

Eliminate the use of the "rm -r[f] <foo>; ln -s <bar> <foo>" pattern in
favor of "ln -sf <bar> <foo>". None of these links could be directories
on a system installed in the last decade.

Sponsored by: DARPA, AFRL
Reviewed by: mtree


# 75534bda 17-Jan-2013 Brooks Davis <brooks@FreeBSD.org>

Rework the mtree portion of etc/Makefile's distrib-dirs target to run
mtree in a shell loop so there is only one mtree commandline. Move the
implementation of LOCAL_MTREE into etc/Makefile.

Sponsored by: DARPA, AFRL
Reviewed by: mtree :)


# 41a8e223 14-Jan-2013 Brooks Davis <brooks@FreeBSD.org>

Add an option DB_FROM_SRC to use src/etc's user/group databases when
installing. This allows things like running installworld for 10-CURRENT
on a 9.0-RELEASE system without adding extra users and groups to the
passwd and group files.

To prevent potentially risky uid/gid mismatches on systems with
non-standard local values, require that DESTDIR be set if DB_FROM_SRC is
set.

Sponsored by: DARPA, AFRL
Reviewed by: peter


# 0fc1aae5 11-Jan-2013 Brooks Davis <brooks@FreeBSD.org>

Revert r245316. Systems with non-standard uids/gids are more prevalent
that I'd feared. Discussion is ongoing about the scope of a safer
solution.


# 7ee2bf94 11-Jan-2013 Brooks Davis <brooks@FreeBSD.org>

Use the -N option to install and nmtree to eliminate the need for the
checks for missing users and groups.

Sponsored by: DARPA, AFRL


# 7ccabb05 15-Nov-2012 Eitan Adler <eadler@FreeBSD.org>

Using set -x produces output on stderr instead of stdout.
It also doesn't work with make -s.
Prefer the use of builtin make features.

PR: misc/126312
Reported by: Nejc Skoberne <nejc@skoberne.net>
Submitted by: bdrewery
Approved by: cperciva
MFC after: 1 week


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


# 7c5a9216 12-Jun-2012 Dag-Erling Smørgrav <des@FreeBSD.org>

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

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

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

MFC after: 3 weeks


# f85a4a29 16-Feb-2012 Eitan Adler <eadler@FreeBSD.org>

Style: prefer the use of line continuations to +=

Requested by: marcel, dougb, bde
Approved by: cperciva
MFC after: 3 days


# b169a332 09-Feb-2012 Eitan Adler <eadler@FreeBSD.org>

Make etc/Makefile more conflict resistant

PR: conf/163789
Submitted by: gcooper (iXsystems)
Approved by: cperciva
MFC after: 3 days


# 4116c8e7 10-Aug-2011 Doug Barton <dougb@FreeBSD.org>

Revert r224760, and enhance the sed patterns from r224659 to comment out
the _compat entries in the WITHOUT_NIS case rather then delete them.

Approved by: re (kib)


# c2aedca4 06-Aug-2011 Doug Barton <dougb@FreeBSD.org>

Rather than edit the nsswitch.conf file based on ${MK_NIS} == "no"
comment out the NIS _compat options by default, but leave them in
the file for the convenience of users who want to enable it.

Update the comment in the file accordingly.

Reviewed by: ed
Approved by: re (hrs)


# b41afd43 05-Aug-2011 Ed Schouten <ed@FreeBSD.org>

Remove NIS entries from /etc/nsswitch.conf for WITHOUT_NIS.

We already modify various configuration files in /etc based on build
configuration. This is not done for nsswitch.conf right now when setting
WITHOUT_NIS. This breaks various utilities, including crond, that depend
on working databases.

Approved by: re (kib)
MFC after: 1 month


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


# 42e2c9f1 03-Oct-2010 Gordon Tetlow <gordon@FreeBSD.org>

No longer install /etc/manpath.config since the BSDL man utilities
don't use it.

Approved by: wes (mentor)


# ac796179 16-Jun-2010 Andriy Gapon <avg@FreeBSD.org>

device.hints: do install when WITHOUT_BOOT is set

Discussed with: imp
MFC after: 2 weeks


# f62a0233c 13-Jun-2010 Warner Losh <imp@FreeBSD.org>

Merge from tbemd, with minor tweaks:

Search from most specific ($MACHINE) to least specific
($MACHINE_CPUARCH) when looking for the tty file to use. Also add an
.error case if none exist.


# 2ddf40c6 25-May-2010 Jung-uk Kim <jkim@FreeBSD.org>

MFC: r208320

Add a new build option, MAN_UTILS. This option lets you control building
utilities and related support files for manual pages, which were previously
controlled by MAN. For POLA, the default depends on MAN, i.e., WITHOUT_MAN
implies WITHOUT_MAN_UTILS and WITH_MAN implies WITH_MAN_UTILS.
Note this patch implicitly fixes a documentation bug of src.conf(5), which
says WITHOUT_MAN may be used to not build manual pages while it was also
disabling some utilities for manual pages.

Approved by: re (kib)


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

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

PR: misc/145212


# 66e29ee3 20-Apr-2010 Rebecca Cran <brucec@FreeBSD.org>

MFC r204820:

Install /etc/termcap.small .

PR: conf/78419
Submitted by: Eygene A.Ryabinkin <rea at mbslab.kiae.ru>
Approved by: rrs (mentor)


# 362fb32a 07-Apr-2010 Hajimu UMEMOTO <ume@FreeBSD.org>

MFC r200028, r201193, r201752, r201930, r202460, r200672, r206375:
Unify rc.firewall and rc.firewall6, and obsolete rc.firewall6 and
rc.d/ip6fw.


# 63f82f94 23-Mar-2010 Ed Schouten <ed@FreeBSD.org>

MFC r205329 and r205335:

Don't add the atrun-line to the crontab when MK_AT is set.

This prevents spurious calls to sendmail every 5 minutes.


# 799c1824 19-Mar-2010 Ed Schouten <ed@FreeBSD.org>

Slightly improve my previous commit.

Just comment out the atrun line instead of completely removing it. It is
not a bad idea to leave it as a reference in case someone decides to
install atrun by hand afterwards.


# 5743a283 19-Mar-2010 Ed Schouten <ed@FreeBSD.org>

Don't add the atrun-line to the crontab when MK_AT is set.

This prevents spurious calls to sendmail every 5 minutes.

MFC after: 1 week


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


# 52a7be6c 07-Mar-2010 Ed Schouten <ed@FreeBSD.org>

Install termcap.small.

Right now we have a termcap.small in the tree, but we don't install it.
If we do install this file by default, it is more likely for
applications to work in single user mode.

I am not entirely happy with the contents of this file. In my opinion we
should remove the `dosansi', `pc' and `pc3' entries and replace them
with `vt100' in case someone uses a serial console.

The file does already have entries for `cons25' and `xterm', which is
used most often.

Requested by: brucec


# 2bba0e1a 02-Dec-2009 Hajimu UMEMOTO <ume@FreeBSD.org>

Unify rc.firewall and rc.firewall6, and obsolete rc.firewall6
and rc.d/ip6fw.

Reviewed by: dougb, jhb
MFC after: 1 month


# d29a98f4 13-Nov-2009 Ed Schouten <ed@FreeBSD.org>

Split up etc.i386/ttys into a PC98 version as well.

This means I can now convert syscons on i386 to xterm as well.

Discussed with: nyan


# b7f0127e 02-Sep-2009 Florent Thoumie <flz@FreeBSD.org>

- Remove BSD.{x11,x11-4}.dist as we merged prefixes a while ago and those
files aren't used anymore.
- Remove BSD.local.dist as the file moved to ports/Templates when we merged
prefixes.


# e530f4b5 07-Jun-2009 Edwin Groothuis <edwin@FreeBSD.org>

Welcome to a default installed /etc/ntp.conf

This NTP configuration file points to the [012].pool.ntp.org servers,
which will return a list of geographical local NTP servers.
It uses the best-practice options of "iburst" and "maxpoll 9".
It gives examples on how to use the "restrict" commands, which are
unfortunately not working when you use the pool.ntp.org servers.
It sets up a fudge server so any clients syncing against this server
will always be synced even if we lose the master.

The idea of this file was briefly discussed on -net.

PR: conf/58595
Submitted by: Chris Stenton <jacs@gnome.co.uk>
MFC after: 1 week


# 487f6bb8 17-Dec-2008 Andrew Thompson <thompsa@FreeBSD.org>

Add /etc/devd/ and move hardware specific configuration there. This makes it
easier to maintain custom rules for non-system things like ACPI hotkeys.

/etc/devd.conf is already set up to check this directory, no change needed there.


# 3f2459c9 29-Oct-2008 Mark Peek <mp@FreeBSD.org>

Explicitly set the shell to /bin/sh when MK_TCSH == no.

Not objected to by: sam


# 5b6f5016 27-Oct-2008 Sam Leffler <sam@FreeBSD.org>

o fix MK_TCSH == no: the default master.passwd sets up root to use /bin/csh
but there won't be one so root won't be able to login; edit the installed
file to use /bin/sh in this case.
o while here split csh-related files apart from sh and only install them
when requested


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

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


# 0a25b2e0 08-Oct-2008 Dag-Erling Smørgrav <des@FreeBSD.org>

Create separate cat directories for en.UTF-8. This, together with r183697,
allows users in en.UTF-8 locales to see non-ascii characters in man pages.

MFC after: 1 week


# e8d1aafb 22-Sep-2008 Sam Leffler <sam@FreeBSD.org>

add back regdomain.xml

Noticed by: jhay


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

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

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


# 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


# 67591c28 20-Apr-2008 Sam Leffler <sam@FreeBSD.org>

802.11 regulatory definitions used by ifconfig

Support by: Hobnob


# ae2edb2a 05-Mar-2008 Brooks Davis <brooks@FreeBSD.org>

Use the new command file feature of ddb(8) to support setting ddb(4)
scripts at boot. This is currently disabled by default. /etc/ddb.conf
contains some potentially reasonable default scripts.

PR: conf/119995
Submitted by: Scot Hetzel <swhetzel at gmail dot com> (Earlier version)
X-MFC after: textdumps


# 42a227f8 10-Nov-2007 Max Laier <mlaier@FreeBSD.org>

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


# e0cb3d9c 29-Oct-2007 Yaroslav Tykhiy <ytykhiy@gmail.com>

Add support for `make -nn' dry runs to this makefile. Basically,
it's just a matter of adding a `${_+_}' prefix before each submake
invokation. This allows a dry run to proceed down to, but not
including, leaf commands. (See <sys.mk> for how ${_+_} is set
depending on the number of -n flags.)


# 0f3c4f0f 18-Oct-2007 Michael Bushkov <bushman@FreeBSD.org>

Forced commit to note cached.conf -> nscd.conf repocopy. etc/Makefile
changed accordingly.

Approved by: brooks (mentor)


# 9f05d312 15-Oct-2007 Alexander Leidinger <netchild@FreeBSD.org>

Backout sensors framework.

Requested by: phk
Discussed on: cvs-all


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

Import OpenBSD's sysctl hardware sensors framework.

This commit includes the following core components:

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

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

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

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


# b906fea6 13-Jul-2007 Warner Losh <imp@FreeBSD.org>

Arm doesn't have GENERIC.hints, so don't install it if it doesn't exist.

Approved by: re (kensmith)


# bc998fd6 17-Jun-2007 Doug Barton <dougb@FreeBSD.org>

Add a namedb/master directory for the zone files I'm about to add,
and switch to the more "normal" way of installing files for the
namedb directory so that we can pick up the new subdir.


# be4f3cd0 26-Sep-2006 Paolo Pisati <piso@FreeBSD.org>

Summer of Code 2005: improve libalias - part 1 of 2

With the first part of my previous Summer of Code work, we get:

-made libalias modular:

-support for 'particular' protocols (like ftp/irc/etcetc) is no more
hardcoded inside libalias, but it's available through external
modules loadable at runtime

-modules are available both in kernel (/boot/kernel/alias_*.ko) and
user land (/lib/libalias_*)

-protocols/applications modularized are: cuseeme, ftp, irc, nbt, pptp,
skinny and smedia

-added logging support for kernel side

-cleanup

After a buildworld, do a 'mergemaster -i' to install the file libalias.conf
in /etc or manually copy it.

During startup (and after every HUP signal) user land applications running
the new libalias will try to read a file in /etc called libalias.conf:
that file contains the list of modules to load.

User land applications affected by this commit are ppp and natd:
if libalias.conf is present in /etc you won't notice any difference.

The only kernel land bit affected by this commit is ng_nat:
if you are using ng_nat, and it doesn't correctly handle
ftp/irc/etcetc sessions anymore, remember to kldload
the correspondent module (i.e. kldload alias_ftp).

General information and details about the inner working are available
in the libalias man page under the section 'MODULAR ARCHITECTURE
(AND ipfw(4) SUPPORT)'.

NOTA BENE: this commit affects _ONLY_ libalias, ipfw in-kernel nat
support will be part of the next libalias-related commit.

Approved by: glebius
Reviewed by: glebius, ru


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

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

Sponsored by: FreeBSD security development fundraiser


# 321000dd 03-May-2006 Hajimu UMEMOTO <ume@FreeBSD.org>

Install /etc/nsswitch.conf statically rather than generating it at
boot. Autogeneration of nsswitch.conf doesn't makes sense in 7.0
since it's not permitted to upgrade from a pre-nss release without
passing through an intermediate release.

Suggested by: brooks


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

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

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


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

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

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

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

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


# 3c0aeb76 11-Mar-2006 Ruslan Ermilov <ru@FreeBSD.org>

Fix "make distribution" when just NO_CRYPT is defined.

PR: misc/94309
Submitted by: Matthias Lederhofer
MFC after: 3 days


# 7db952b8 12-Feb-2006 Robert Watson <rwatson@FreeBSD.org>

Install audit_control and audit_user, both of which are likely to be
modified by the administrator, as user-writable instead of read-only.

Obtained from: TrustedBSD Project


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

Install /etc/security configuration files from OpenBSM.

Obtained from: TrustedBSD Project


# c0b9f4fe 29-Dec-2005 Doug Rabson <dfr@FreeBSD.org>

Add a new extensible GSS-API layer which can support GSS-API plugins,
similar the the Solaris implementation. Repackage the krb5 GSS mechanism
as a plugin library for the new implementation. This also includes a
comprehensive set of manpages for the GSS-API functions with text mostly
taken from the RFC.

Reviewed by: Love Hörnquist Åstrand <lha@it.su.se>, ru (build system), des (openssh parts)


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

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

Submitted by: Anish Mistry


# ebd3cef1 16-Nov-2005 Ruslan Ermilov <ru@FreeBSD.org>

Diff reduction to RELENG_6.


# 652729a4 26-Aug-2005 Warner Losh <imp@FreeBSD.org>

Allow one to override the endian flags for make distribution. This
can be useful for when you know that you are doing something that
won't work with the standard settings and different settings are more
appropriate.
This allows 5.3 tools to build a 6.x userland when these
values are set to null.


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

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

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

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


# 1ede9a7d 22-Jul-2005 Ruslan Ermilov <ru@FreeBSD.org>

Require that DESTDIR be set before running "make distribution".


# 65374912 15-Jul-2005 Ruslan Ermilov <ru@FreeBSD.org>

Pass -i to pwd_mkdb(8) to ignore locking failures. This can be useful
for NFS installing world/kernel to another machine.


# 2af94c5d 29-Apr-2005 Brooks Davis <brooks@FreeBSD.org>

To allow /etc to be as minimal as possible in a diskless setup, we need
to run initdiskless before we run rcorder on /etc/rc.d. To allow this,
move /etc/rc.d/initdiskless to /etc/rc.initdiskless and run it directly
from /etc/rc.

Remove /etc/rc.d/preseedrandom as it is no longer necessicary (we start
with entropy unblocked) and was only used by initdiskless when it
was needed.

Discussed on: freebsd-rc
Repocopy by: peter


# 8d6e44f8 17-Apr-2005 Gleb Smirnoff <glebius@FreeBSD.org>

Add startup script and default configuration file for bsnmpd.

Reviewed by: harti


# 04198d18 01-Mar-2005 Brooks Davis <brooks@FreeBSD.org>

Remove a number of entries from the distribution target that are
automaticly created at boot. There's no need to maintain a list of
files and permissions in multiple places. This also means binary
updates won't stomp on log files.

For the record, utmp is created in etc/rc.d/cleanvar, wtmp and lastlog
in etc/rc.d/var, and the reset via etc/rc.d/newsyslog.


# 81e03d88 28-Feb-2005 Tom Rhodes <trhodes@FreeBSD.org>

Add rc.bsdextended. It's been tested enough.


# 0c5397aa 28-Feb-2005 Ruslan Ermilov <ru@FreeBSD.org>

Bootstrap pwd_mkdb(8) and use its new feature during "make distribute".


# 80f64943 28-Feb-2005 Ruslan Ermilov <ru@FreeBSD.org>

Step 1/2 of making "make distribute" work for cross-builds.


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

NOCRYPT -> NO_CRYPT


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

Start the dreaded NOFOO -> NO_FOO conversion.

OK'ed by: core


# b04e39c4 07-Oct-2004 Doug Barton <dougb@FreeBSD.org>

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

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

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

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


# 46c63c1d 05-Oct-2004 Ruslan Ermilov <ru@FreeBSD.org>

Fixed symlinking of /etc/namedb.

Reported by: Jeremy Chadwick


# bb3b2b37 30-Sep-2004 Doug Barton <dougb@FreeBSD.org>

Install namedb stuff to ${DESTDIR}/var/named/etc/namedb instead
of relying on the symlink in ${DESTDIR}/etc/namedb.

This is functionally equivalent, but doesn't rely on the symlink to work.

Requested by: ru


# 587ca405 29-Sep-2004 Ruslan Ermilov <ru@FreeBSD.org>

Fixed symlinking /var/named/etc/namedb to /etc/namedb.
A second "make distrib-dirs" createed a symlink in /var/namedb/etc/namedb.
A third "make distrib-dirs" failed.


# 8f1bb389 28-Sep-2004 Doug Barton <dougb@FreeBSD.org>

Create a named chroot directory structure in /var/named, and use it
by default when named is enabled. Also, improve our default directory
layout by creating /var/named/etc/namedb/{master|slave} directories,
and use the former for the generated localhost* files.

Rather than using pax to copy device entries, mount devfs in the
chroot directory.

There may be some corner cases where things need to be adjusted,
but overall this structure has been well tested on a production
network, and should serve the needs of the vast majority of users.

UPDATING has instructions on how to do the conversion for those
with existing configurations.


# 2a614447 27-Sep-2004 Doug Barton <dougb@FreeBSD.org>

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

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

Reviewed by: ru, des


# 8dee2697 24-Sep-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Reconnect namedb. While it may not be optimal, our old named.conf from
BIND 8 is quite usable for BIND 9.


# cd3ee173 21-Sep-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Switch from BIND 8 to BIND 9.

Submitted by: (in part) dougb@, trhodes@
Reviewed by: dougb@, trhodes@, re@
MFC after: 5 days


# dde5634f 23-Mar-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Drop the -d argument to mtree since some of the spec files now list
symlinks.


# 920fa8dc 14-Mar-2004 Ruslan Ermilov <ru@FreeBSD.org>

I believe most of /boot/device.hints out there are based (if not
identical) on GENERIC.hints, hence the following change:

Moved the creation of /boot/device.hints where it belongs. This
should aid in merging GENERIC.hints changes to /boot/device.hints,
using mergemaster(8) or a similar approach.


# 8d69c48b 08-Mar-2004 Max Laier <mlaier@FreeBSD.org>

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

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

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

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

Approved by: bms(mentor)


# bbe8270c 22-Jan-2004 Ruslan Ermilov <ru@FreeBSD.org>

- Run makewhatis(1) in etc/Makefile at the end of "install".
- Removed redundant and undocumented NO_MAKEDB_RUN knob.


# 6e14bc78 07-Jan-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Get moduli from the OpenSSH sources instead of keeping a local copy.


# d7a60648 02-Nov-2003 Mark Murray <markm@FreeBSD.org>

Use a better way to take NO_LPR into account, and correctly check the
NOCRYPT macro when looking at crypto.

Reminded by: ru


# e6ef35a9 26-Oct-2003 Maksim Yevmenkin <emax@FreeBSD.org>

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

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


# 99d38d6c 03-Oct-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Only install .k5login if people have not set NO_KERBEROS.


# 6db57426 27-Sep-2003 Mark Murray <markm@FreeBSD.org>

Don't install etc/printcap in the NO_LPR case; ports like 'cups'
make their own etc/printcap if they need it.


# 9e9c5a9d 18-Sep-2003 Mark Murray <markm@FreeBSD.org>

Remove excess paranoia. There is no need to chech for the crypto/ dir
any more, and this check has been removed elsewhere.


# c732f303 23-Aug-2003 Mike Makonnen <mtm@FreeBSD.org>

o Do not keep a separate list of src/etc/defaults files in
the src/etc makefile. This list was used to manually
install the files from src/etc. Instead, simply change
directory and 'make install'.
o There is no reason for the files in src/etc/defaults to
be installed as writeable.

Reviewed by: ru


# a37fe9e7 17-Aug-2003 David E. O'Brien <obrien@FreeBSD.org>

Don't hardcode owner 'root' and group 'wheel'.

Submitted by: Ulrich Spoerlein <q@uni.de>


# 6e82f17a 06-Jul-2003 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Do not install sendmail example/infrastructure files if NO_SENDMAIL is
defined. The only two files installed in this case are aliases (which
I believe other MTAs may use) and mailer.conf (which isn't sendmail,
it belongs to mailwrapper).

PR: 50477
MFC after: 5 days


# d5a6e6e7 09-Jun-2003 Andrey A. Chernov <ache@FreeBSD.org>

Old-promised removing of deprecated locale names


# 367ff021 06-May-2003 Doug Barton <dougb@FreeBSD.org>

Hook devfs.conf up to the build.

Approved by: re (scottl)


# 0477e337 02-May-2003 Doug Barton <dougb@FreeBSD.org>

Hook rc.sendmail back up, it was removed prematurely


# 4b065e2c 01-May-2003 Doug Barton <dougb@FreeBSD.org>

Per previous announcement, remove the old version of the rc system.

All functionality from the previous system has been preserved, and
users should still customize their system boot with the familiar
methods, rc.conf, rc.conf.local, rc.firewall, sysctl.conf, etc.

Users who have customized versions of scripts that have been removed
should take great care when upgrading, since the compatibility code
that used those old scripts has also been removed.


# 20a83c49 30-Apr-2003 Mark Murray <markm@FreeBSD.org>

Make the defaults for Kerberos 5 a little more up-to-date.


# 8b3695ab 18-Apr-2003 Mike Makonnen <mtm@FreeBSD.org>

Break out and rewrite the network setup scripts.
o /etc/network.subr contains common subroutines used for seting
up network interfaces
o rc.d/hostname sets the hostname if not already set
o rc.d/nisdomain sets the nis domain *after* rpcbind but
before the yp* daemons. This fixes issues with temporary
hangs when looking up informaion in nis before it's ready.
o rc.d/netif brings network interfaces (minus dhcp) up.
o rc.d/network1 has been disabled and will be retired before
RELENG_5. It will be replaced by rc.d/netif

Approved by: markm (mentor)


# 4845d27e 08-Apr-2003 Dag-Erling Smørgrav <des@FreeBSD.org>

Introduce debug.log which gets debug.* (most of this would otherwise go
to the great bit-bucket in the sky)


# cc76558a 02-Apr-2003 Ruslan Ermilov <ru@FreeBSD.org>

Make disktab(5) MI (repo-copied from etc.i386/disktab).


# 6192b1df 03-Mar-2003 Ruslan Ermilov <ru@FreeBSD.org>

Make sure the default install comes with /etc/login.conf hashed.


# 367f4d9e 10-Feb-2003 Andrey A. Chernov <ache@FreeBSD.org>

Apply man.alias to /usr/share/openssl/man too


# 6042ca2e 10-Feb-2003 Jacques Vidrine <nectar@FreeBSD.org>

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


# 3347cc5e 01-Feb-2003 Poul-Henning Kamp <phk@FreeBSD.org>

NODEVFS cleanup: Don't ever install MAKEDEV anymore.


# 99127de5 08-Jan-2003 Warner Losh <imp@FreeBSD.org>

Move devd.conf here and install it by default (didn't do a repo copy
because there's so little history to save).

MFC After: 10 millifortnights


# f45a1cab 17-Dec-2002 Brian Feldman <green@FreeBSD.org>

Back out the previous commit, since there could be dire consequences if
/etc/rc were accidentally executed (as requested by other committeers).


# 1ad1ab14 17-Dec-2002 Brian Feldman <green@FreeBSD.org>

/home/green/tmp/cvsSFosXg


# cd966096 27-Nov-2002 Ruslan Ermilov <ru@FreeBSD.org>

Removed the vestiges of modems(5).

Approved by: re


# 4d1ad875 22-Oct-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Invert the logic of the NO_MAKEDEV options to match the 5.0-R default install.


# 26c0d986 22-Oct-2002 Robert Watson <rwatson@FreeBSD.org>

Hook up a sample mac.conf to the install. The sample basically
tells applications to print labels for all of the TrustedBSD-
generated policies, if they are present.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories


# dc2f663b 20-Oct-2002 Mark Murray <markm@FreeBSD.org>

Do not build the majority of the games. Remaining are the
"utility-like" games and everyone's favourite, fortune(6).


# a5dd613c 20-Sep-2002 Mark Murray <markm@FreeBSD.org>

Rename the ftp log filename for compatability with OpenBSD and NetBSD.

Requested by: ru


# d595e25a 20-Sep-2002 Mark Murray <markm@FreeBSD.org>

Install empty ftp.log file to start off ftp logging.


# 66422f5b 16-Sep-2002 Peter Wemm <peter@FreeBSD.org>

Initiate deorbit burn for the i386-only a.out related support. Moves are
under way to move the remnants of the a.out toolchain to ports. As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL. It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha


# d2893b16 29-Jul-2002 Ruslan Ermilov <ru@FreeBSD.org>

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

Approved by: bde


# 0b87f799 17-Jul-2002 Ruslan Ermilov <ru@FreeBSD.org>

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


# d2baa8b3 05-Jul-2002 Ruslan Ermilov <ru@FreeBSD.org>

There is apparently no reason for the existence of the `etc' target.


# 39827249 05-Jul-2002 Ruslan Ermilov <ru@FreeBSD.org>

Whitespace and indentation (style) fixes.


# 831568b9 05-Jul-2002 Ruslan Ermilov <ru@FreeBSD.org>

Added DEFAULTS, to denote the contents of etc/defaults/.

Once upon a time (in rev. 1.81), COPYRIGHT and FREEBSD
were multi-value.

Moved installation of /var/log/cron to where it belongs
(this finishes the change in rev. 1.205).

Removed (with extreme prejudice) a bunch of parentheses
that unnecessarily obfuscated this makefile.

Run pwd_mkdb(8) right after master.passwd is installed.

Install nsmb.conf to /usr/share/examples/etc/.


# 072f6798 21-Jun-2002 Ruslan Ermilov <ru@FreeBSD.org>

Make NO_OPENSSL actually imply NO_OPENSSH, as documented in make.conf(5).


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

Hook rcorder and rc.d into the build.

Submitted by: Mike Makonnen


# f365887c 16-May-2002 Mark Murray <markm@FreeBSD.org>

No need to build perl dirs anymore.


# 6bde859f 26-Apr-2002 Ruslan Ermilov <ru@FreeBSD.org>

Milestone #1 in cross-arch make releases.

Do not install games and profiled libraries to the ${CHROOTDIR}
with the initial installworld.

Eliminate the need in the second installworld. For that, make sure
_everything_ is built in the "world" environment, using the right
tool chain.

Added SUBDIR_OVERRIDE helper stuff to Makefile.inc1. Split the
buildworld process into stages, and skip some stages when
SUBDIR_OVERRIDE is set (used to build crypto, krb4, and krb5
dists).

Added NO_MAKEDB_RUN knob to Makefile.inc1 to avoid running
makewhatis(1) at the end of installworld (used when making crypto,
krb4, and krb5 dists).

In release/scripts/doFS.sh, ensure that the correct boot blocks are
used.

Moved the creation of the "crypto" dist from release.5 to
release.2.

In release.3 and doMFSKERN, build kernels in the "world"
environment. KERNELS now means "additional" kernels, GENERIC is
always built.

Ensure we build crunched binaries in the "world" environment.
Obfuscate release/Makefile some more (WMAKEENV) to achieve this.

Inline createBOOTMFS target.

Use already built GENERIC kernel modules to augment mfsfd's
/stand/modules. GC doMODULES as such.

Assorted fixes:

Get rid of the "afterdistribute" target by moving the single use
of it from sys/Makefile to etc/Makefile's "distribute".

Makefile.inc1: apparently "etc" no longer needs to be last for
"distribute" to succeed.

gnu/usr.bin/perl/library/Makefile.inc: do not override the
"install" and "distribute" targets, do it the "canonical" way.

release/scripts/{man,cat}pages-make.sh: make sure Perl manpages and
catpages appear in the right dists. Note that because Perl does
not respect the MANBUILDCAT (and NOMAN), this results in a loss of
/usr/share/perl/man/cat* empty directories. This will be fixed
soon.

Turn MAKE_KERBEROS4 into a plain boolean variable (if it is set it
means "make KerberosIV"), as documented in the make.conf(5)
manpage. Most of the userland makefiles did not test it for "YES"
anyway.

XXX Should specialized kerberized libpam versions be included into
the krb4 and krb5 dists? (libpam.a would be incorrect anyway if
both krb4 and krb5 dists were choosen.)

Make sure "games" dist is made before "catpages", otherwise games
catpages settle in the wrong dist.

Fast build machine provided by: Igor Kucherenko <kivvy@sunbay.com>


# 01df2ec3 23-Apr-2002 David E. O'Brien <obrien@FreeBSD.org>

Change the name of the 'bin' distribution to 'base'.
This is done since it contains much more than /bin, and also gets in the
way when making a combined install+fixit CD.

OK'ed by: jkh


# 3bf762b7 21-Apr-2002 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Non-sendmail users use the FreeBSD sendmail startup functionality to start
alternative MTAs. Therefore, always install rc.sendmail, regardless of
NO_SENDMAIL make.conf setting. Users can still set mta_start_script to a
different script.

This commit is after a repo-copy of src/etc/sendmail/rc.sendmail to
src/etc/rc.sendmail.

Noticed by: Calvin NG <calvinng@brel.com>
MFC after: 3 days


# 5b7a235b 20-Apr-2002 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

In my continuing crusade to make life better for non-sendmail users, avoid
the creation of /var/spool/clientmqueue and therefore the need for the
smmsp user and group if NO_SENDMAIL is defined. This required breaking out
the creation of the directory into a new BSD.sendmail.dist mtree file.

MFC after: 1 week


# 48c3e933 14-Apr-2002 Doug Barton <dougb@FreeBSD.org>

Remove ws at EOL


# d221a687 21-Mar-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Install moduli instead of primes


# 5ad400ab 16-Mar-2002 Mark Murray <markm@FreeBSD.org>

Update for Perl 5.6.1


# 30d6457c 11-Mar-2002 Robert Watson <rwatson@FreeBSD.org>

Turns out everyone is a lot lazier than I thought. Spell
'authentication.log' as 'auth.log'.

This is also more consistent with syslog facility names.

Sigh. :-)

Submitted by: asmodai, aeonflux, green, ....


# 0ec9497e 11-Mar-2002 Robert Watson <rwatson@FreeBSD.org>

Clean up logging of security information a bit:

o Introduce /var/log/authentication.log, which will be the target for
auth.info and authpriv.info by default. Rotate on the same schedule
as most other logs. Create at installation.

o Remove logging of auth.info from /var/log/security.log, which will
return to being only for security feature subsystems (such as ipfw,
and so on).

This creates a special authentication log, which can now be searched
by scripts for authentication events.


# 9785aaf1 05-Feb-2002 Hajimu UMEMOTO <ume@FreeBSD.org>

Install PROTO.localhost-v6.rev. Umm, it seems namedb/Makefile
is not used.


# 76f10508 28-Jan-2002 Crist J. Clark <cjc@FreeBSD.org>

Put a complete set of pppd(8) sample configuration files in
/usr/share/examples/pppd.

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

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

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

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

Submitted by: Maxim Konovalov <maxim@macomnet.ru> provided the new samples.


# a5f5cfda 14-Jan-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Everybody (for suitable values of "everybody") seems to think pam.conf should
be removed outright.

Sponsored by: DARPA, NAI Labs


# 56ad5048 14-Jan-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Re-add pam.conf so it will get installed so people who don't know about
pam.d will find out about it by reading pam.conf.

Sponsored by: DARPA, NAI Labs


# 07032871 12-Jan-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Switch over to /etc/pam.d/.

Sponsored by: DARPA / NAI Labs


# 688a6139 08-Jan-2002 Alexey Zelkin <phantom@FreeBSD.org>

Correctly handle cases of deprecated locales which are supposed
to have backward compatibility symbolic links.

This code should check existence of deprecated locales and
fix them using following scheme:

. if new locale directory exisists and is a symlink -- remove it
. if old locale directory exists and not a symlink -- rename it to
its new name

This should allow to mtree(1) and existing locale aliases make(1)
rules to setup locale dirs correctly (avoid self-referenced symlinks)

BTW, this commit brings in backward compatibility support for ru_SU
locales (aliased to appropriate ru_RU ones).


# b50e990d 04-Jan-2002 Sheldon Hearn <sheldonh@FreeBSD.org>

Install nsmb.conf with mode 0600, since it may be modified to include
passwords for remote shares.

Reported by: Andre Albsmeier <andre@albsmeier.net>


# 0388ec7c 24-Dec-2001 Alexey Zelkin <phantom@FreeBSD.org>

Back out recent replacement of LC_MESSAGES file with directory.

Requested by: ache


# 709eed76 21-Dec-2001 Alexey Zelkin <phantom@FreeBSD.org>

Slightly re-work locale messages storage scheme. Before this commit
LC_MESSAGES related data was installed to <locale>/LC_MESSAGES file.
Now it go to <locale>/LC_MESSAGES/SYS_LC_MESSAGES file. LC_MESSAGES
directory is supposed to be storage of message catalogs of userland tools.
This should allow us to avoid many potential problems with future
libintl related functionality introduction.

Thanks for useful suggestions about correct way how to replace plain
files with directories at installworld stage to: Ruslan Ermilov <ru>


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

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

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

Reviewed by: bp, fjoe
MFC: 1 week


# 2204f3ce 07-Dec-2001 Crist J. Clark <cjc@FreeBSD.org>

Long ago, there was just /etc/daily. Then /etc/security was split out
of /etc/daily. Some time later, /etc/daily became a set of periodic(8)
scripts. Now, this evolution continues, and /etc/security has been
broken into periodic(8) scripts to make local customization easier and
more maintainable.

Reviewed by: ru
Approved by: ru


# c26c7886 06-Dec-2001 Dag-Erling Smørgrav <des@FreeBSD.org>

Introduce the variable USE_PAM_D, which, if set, will cause pam.d to be
installed instead of pam.conf. This is for testing; the conditionals will
be removed once we are confident that pam.d works as intended.

Sponsored by: DARPA, NAI Labs


# 7080a343 01-Oct-2001 Kris Kennaway <kris@FreeBSD.org>

UUCP removal Phase III.


# 7032f49f 16-Sep-2001 Jonathan Lemon <jlemon@FreeBSD.org>

Change permissions for initial install of maillog file to 640. (from 644)

Pointed out by: rwatson


# 32706fb2 03-Sep-2001 Brian Somers <brian@FreeBSD.org>

Allow group network to read ppp.log & slip.log.

Suggested by: Jesper Skriver <jesper@FreeBSD.org>


# d33a962d 30-Aug-2001 Alexander Langer <alex@FreeBSD.org>

Move /etc/defaults/make.conf to /usr/share/examples/etc/make.conf as
discussed on the arch@ mailinglist (after repo-copy).

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

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

Adjust all textes that talk about make.conf or defaults/make.conf to
match the new situation.


# 466df28c 29-Aug-2001 Alexander Langer <alex@FreeBSD.org>

chown syntax is user:group now.


# 15ed67d8 28-Aug-2001 Brian Somers <brian@FreeBSD.org>

Remove diskcheckd.conf


# e01dfc9c 14-Aug-2001 Andrey A. Chernov <ache@FreeBSD.org>

Add/install /etc/opieaccess skeleton

Approved by: markm


# 88627d6b 13-Jun-2001 Poul-Henning Kamp <phk@FreeBSD.org>

Remember to install diskcheckd.conf


# f3573821 10-Jun-2001 Andrey A. Chernov <ache@FreeBSD.org>

Deal properly with *.US-ASCII family


# 5d392cdd 10-Jun-2001 Andrey A. Chernov <ache@FreeBSD.org>

Fix Latin1 man directories for new locale names


# b5ebdd9c 10-Jun-2001 Andrey A. Chernov <ache@FreeBSD.org>

New locale names and aliases to old ones


# 9a75ebb2 04-Jun-2001 Hajimu UMEMOTO <ume@FreeBSD.org>

Remove configuration file for pim6[ds]d.

Submitted by: sumikawa


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

Add NO_I4B to avoid building/installing isdn4bsd package.

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


# 1dd8bcf1 19-Apr-2001 Maxim Sobolev <sobomax@FreeBSD.org>

o Install sysctl.conf with all other *.conf files;
o put a note into sysctl.conf describing vfs.vmiodirenable knob.

OK'ed by: alfred


# d8edf811 29-Mar-2001 Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org>

Change NO_MAKEDEV to a finer granularity method:
NO_MAKEDEV_INSTALL and NO_MAKEDEV_RUN. The former implying the latter.
The names imply what they do. The last commit by DES based on a PR defeated
the original idea behind NO_MAKEDEV, which was not to run MAKEDEV, but to do
the installation of MAKEDEV. This should satisfy both parties on the MAKEDEV
challenge.


# df99bf76 26-Mar-2001 Brian Feldman <green@FreeBSD.org>

At least install primes to the right place, for now. I suppose.

Reminded by: everyone


# b8edd5f9 23-Mar-2001 Brian Feldman <green@FreeBSD.org>

Install /etc/primes.


# 8360efbd 18-Mar-2001 Alfred Perlstein <alfred@FreeBSD.org>

Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and
associated changes that had to happen to make this possible as well as
bugs fixed along the way.

Bring in required TLI library routines to support this.

Since we don't support TLI we've essentially copied what NetBSD
has done, adding a thin layer to emulate direct the TLI calls
into BSD socket calls.

This is mostly from Sun's tirpc release that was made in 1994,
however some fixes were backported from the 1999 release (supposedly
only made available after this porting effort was underway).

The submitter has agreed to continue on and bring us up to the
1999 release.

Several key features are introduced with this update:
Client calls are thread safe. (1999 code has server side thread
safe)
Updated, a more modern interface.

Many userland updates were done to bring the code up to par with
the recent RPC API.

There is an update to the pthreads library, a function
pthread_main_np() was added to emulate a function of Sun's threads
library.

While we're at it, bring in NetBSD's lockd, it's been far too
long of a wait.

New rpcbind(8) replaces portmap(8) (supporting communication over
an authenticated Unix-domain socket, and by default only allowing
set and unset requests over that channel). It's much more secure
than the old portmapper.

Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded
to support TI-RPC and to support IPV6.

Umount(8) is also fixed to unmount pathnames longer than 80 chars,
which are currently truncated by the Kernel statfs structure.

Submitted by: Martin Blapp <mb@imp.ch>
Manpage review: ru
Secure RPC implemented by: wpaul


# 62f0b827 12-Mar-2001 Dag-Erling Smørgrav <des@FreeBSD.org>

Don't install MAKEDEV or MAKEDEV.local if NO_MAKEDEV is set.

PR: 25596
Submitted by: Jonathan Perkin <sketchy@bsdcode.net>


# 193f471d 28-Feb-2001 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Don't build/install sendmail related items if NO_SENDMAIL is set.

Submitted by: ru


# e4e1027a 21-Feb-2001 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Move creation of the sendmail statistics file from the usr.sbin/sendmail
Makefile to the etc/sendmail Makefile to be consistent with all of the
other /var file creations. In doing so, change the Makefile target from
etc-sendmail.cf to distribution as it installs more than just the sendmail.cf.


# 54ecfa08 19-Feb-2001 Ruslan Ermilov <ru@FreeBSD.org>

Create directory infrastructure required to format, display
and store preformatted /usr/share/man manual pages in 8-bit
iso-8859-1 charset for all *_*.ISO_8859-1 locales.

Requested by: des
Input from: ache


# dbbd9a31 09-Jan-2001 John Baldwin <jhb@FreeBSD.org>

Move the syscons configuration to a machine independent rc.syscons. The
syscons sh code was identical on both platforms except for whitespace
differences.


# 24fdf62c 30-Oct-2000 Hajimu UMEMOTO <ume@FreeBSD.org>

install rc.firewall6.


# 9fc9ecb6 29-Oct-2000 Doug Barton <dougb@FreeBSD.org>

Finish the job of conditionalizing UUCP by preventing files in /etc/uucp
from being installed, and make rmail conditional on neither of
NO_SENDMAIL and NOUUCP.

PR: bin/21321
Submitted by: Me


# a938a1fc 15-Sep-2000 Andrey A. Chernov <ache@FreeBSD.org>

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

Reviewed by: imp


# 248aee62 06-Sep-2000 Jacques Vidrine <nectar@FreeBSD.org>

Add nsswitch support. By creating an /etc/nsswitch.conf file, you can
configure FreeBSD so that various databases such as passwd and group can be
looked up using flat files, NIS, or Hesiod.

= Hesiod has been added to libc (see hesiod(3)).

= A library routine for parsing nsswitch.conf and invoking callback
functions as specified has been added to libc (see nsdispatch(3)).

= The following C library functions have been modified to use nsdispatch:
. getgrent, getgrnam, getgrgid
. getpwent, getpwnam, getpwuid
. getusershell
. getaddrinfo
. gethostbyname, gethostbyname2, gethostbyaddr
. getnetbyname, getnetbyaddr
. getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr

= host.conf has been removed from src/etc. rc.network has been modified
to warn that host.conf is no longer used at boot time. In addition, if
there is a host.conf but no nsswitch.conf, the latter is created at boot
time from the former.

Obtained from: NetBSD


# b7823d1f 28-Aug-2000 Satoshi Asami <asami@FreeBSD.org>

Add BSD.x11-4.dist to list of mtree files to install (d'oh!).

Submitted by: Nathan Ahlstrom <nrahlstr@winternet.com>


# 11447e2c 15-Aug-2000 Kris Kennaway <kris@FreeBSD.org>

Install /var/crash/minfree mode 644 instead of 664 - group wheel shouldn't
have special write permissions to things.


# 4bcefa96 13-Aug-2000 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Upon installation, create a symbolic link for /etc/aliases pointing to
/etc/mail/aliases. This should both help users as well as other MTAs which
still use a default aliases path of /etc/aliases.


# 2216e2a2 13-Aug-2000 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Complete migration of aliases file to /etc/mail/aliases.
The maintainers of share/examples/diskless/README.TEMPLATING and mergemaster
have been contacted so those may be updated as well.


# 85aeb700 13-Aug-2000 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Add alaises as another file to install into /etc/mail/.
Rename the variable from NOSPAM to ETCMAIL as the list of files actually
only contains one antispam related file.


# 11017a68 23-Jul-2000 Marcel Moolenaar <marcel@FreeBSD.org>

Backout addition of -L switch to mtree. Using -L breaks the
build process in too many cases. Adding mtree to bootstrap-tools
to solve this breaks the upgrade path because mtree needs a
libc that has strtofflags and fflagstostr.


# 106beffe 16-Jul-2000 Andrey A. Chernov <ache@FreeBSD.org>

Add -L to mtree calls since defaults changed back


# 4944b913 13-Jul-2000 Peter Wemm <peter@FreeBSD.org>

Change various log file modes from mode 664 to 644. Allowing group
wheel to trash logfiles is not exactly good security policy. There have
been several gid wheel holes in ports. Various other files were changed
as well (eg: the locate database were set to more restrictive modes (444)
by their generation scripts) so this should be safe for them. utmp and
wtmp are mode 644 already on all the systems we checked.

Submitted by: jkb
Reviewed by: kris


# 0c6094e4 02-Jul-2000 Mark Murray <markm@FreeBSD.org>

Follow-up commit to today's gnu/usr.bin/perl commit; serial number
brought inline with Perl standards.


# 39919d58 25-Jun-2000 Mark Murray <markm@FreeBSD.org>

Version number and directory changes for Perl 5.006.


# 5df99fb1 22-Jun-2000 Neil Blakey-Milner <nbm@FreeBSD.org>

Fix installworld-breaking bracket hanging around from last commit.


# f3e285ba 22-Jun-2000 Brian Somers <brian@FreeBSD.org>

Introduce /etc/defaults/periodic.conf, similar in concept to rc.conf.
The only change in the default functionality should be that
the output reports are slightly more verbose WRT files deleted.

Not objected to by: freebsd-arch


# 8a76779a 20-Jun-2000 Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org>

Don't build manpages if NOMAN has been set.

PR: 17967
Submitted by: Benno Rice <benno@netizen.com.au>


# 9c9ad110 17-May-2000 Kris Kennaway <kris@FreeBSD.org>

Install /etc/ssl/openssl.cnf

Submitted by: Doug Barton <DougB@gorean.org>
Forgotten by: kris


# abda70c7 15-Apr-2000 Mitsuru IWASAKI <iwasaki@FreeBSD.org>

Remove pccard.conf.sample from Makefile, sorry I forgot.


# ece27d97 03-Apr-2000 Mitsuru IWASAKI <iwasaki@FreeBSD.org>

Enable etc/defaults/pccard.conf which is default configuration file
for pccardd.
Please install /etc/defaults/pccard.conf and update /etc/defaults/rc.conf
as well.
Note that old pccard.conf.sample still remains for while but
no longer to be maintained.

Reviewed by: imp, -mobile ML and nomads ML in Japan.


# dd3552c8 12-Mar-2000 Yoshinobu Inoue <shin@FreeBSD.org>

Register recently added pim6dd.conf and pim6sd.conf.

Specified by: haro@tk.kubota.co.jp (Munehiro Matsuda)


# 2e63fb6a 12-Mar-2000 Robert Watson <rwatson@FreeBSD.org>

Expand the increasingly inaccurately named NOSPAM /etc file list to include
new sample database files, so that they will be installed with make
distribution. NOSPAM probably ought to be renamed to MAIL.

Reviewed by: peter
Approved by: jkh


# 10fd313c 25-Feb-2000 Peter Wemm <peter@FreeBSD.org>

Install ssh files in /etc/ssh and tidy up a couple of other nits


# 25cc400e 25-Feb-2000 Peter Wemm <peter@FreeBSD.org>

Ack! Time to get the pointy hat. Re-add missing / I left out.

Submitted by: John Hay <jhay@mikom.csir.co.za>


# f021cab1 24-Feb-2000 Peter Wemm <peter@FreeBSD.org>

Fix references to crypto code to check that it exists first. Otherwise
it breaks mergemaster (and probably other things).

Submitted by: Munehiro Matsuda <haro@tk.kubota.co.jp>
Approved by: jkh


# 93e3e5e9 24-Feb-2000 Mark Murray <markm@FreeBSD.org>

Run sshd at boot time if the sysadmin wants it. Also install
ssh[d] config files in the right place.


# fb6149f9 23-Feb-2000 Yoshinobu Inoue <shin@FreeBSD.org>

Added rc.network6.

Approved by: jkh

Submitted by: bmah@CA.Sandia.GOV (Bruce A. Mah),
Ruslan Ermilov <ru@ucb.crimea.ua>


# f5749a82 08-Feb-2000 Robert Watson <rwatson@FreeBSD.org>

Intoduce a new make.conf entry, NO_MAKEDEV, and modifications to
/etc/Makefile so that if it is defined, MAKEDEV all is not called
during a make distribution. This helps clean up the messy userland
in jail(), by reducing the number of devices exposed in jail.
Modifications to jail(2) to follow.

Approved by: jkh-arius


# 02595dab 08-Jan-2000 Yoshihiro Takahashi <nyan@FreeBSD.org>

Install mailer.conf in /etc/mail instead of /etc.

Reviewed by: peter


# d7a641da 29-Dec-1999 Peter Wemm <peter@FreeBSD.org>

Try and sort BIN1 a bit, it was all over the place.
Add mail/mailer.conf (repocopied from /etc/mailer.conf to
/etc/mail/mailer.conf on obrien's request)


# 05e68e47 21-Nov-1999 Nick Hibma <n_hibma@FreeBSD.org>

Add the usbd.conf to the distribution target.


# fb59bcdf 17-Nov-1999 Peter Wemm <peter@FreeBSD.org>

Use a common MAKEDEV between the Alpha and i386 - the only differences
of significance were due to the Alpha version going stale. We use common
device numbering for devices. Hopefully, this file's days are numbered.


# d3d3794b 28-Oct-1999 Peter Wemm <peter@FreeBSD.org>

Actually install the rc.sysctl file (the one that reads /etc/sysctl.conf)


# f589c4ca 28-Oct-1999 Matthew Dillon <dillon@FreeBSD.org>

adjust Makefile to handle make.conf's new location

Approved by: "Jordan K. Hubbard" <jkh@zippy.cdrom.com>


# d9806965 06-Sep-1999 Nick Hibma <n_hibma@FreeBSD.org>

Move /var/cron/log to /var/log/cron


# 9b7a44a6 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# fa62586a 21-Aug-1999 Brian Feldman <green@FreeBSD.org>

This is the addition of a syslog(3) security.* top-level category. This
should be used from now on for anything security but not auth-related.
Included are updates for all relevant manpages and also to /etc files,
creating a new /var/log/security. Nothing in the system logs to
/var/log/security yet as of the time of this commit.

Reviewed by: rgrimes, imp, chris


# 51f80ae1 26-Jul-1999 Brian Somers <brian@FreeBSD.org>

Add a default ppp.conf (mode 600).

Originally submitted by: Wayne Self <wself@cdrom.com>

Allow a ppp startup option in rc.conf.

Adjust sysinstall so that it appends to the end of ppp.conf
and uses the generated profile to start ppp in auto mode on
boot.

Submitted by: Josef L. Karthauser <joe@uk.FreeBSD.org>


# 701279af 10-Jul-1999 Mitsuru IWASAKI <iwasaki@FreeBSD.org>

Put apmd configuration and rc files in /etc.
Update some files for apmd.


# 946d53a1 08-Jul-1999 David E. O'Brien <obrien@FreeBSD.org>

Install dhclient.conf.

PR: conf/12458
Submitted by: Doug <doug@gorean.org>


# 5aae9955 24-Jun-1999 Sheldon Hearn <sheldonh@FreeBSD.org>

Actually install the virgin copies of the /etc files that we so proudly
claim to install in /usr/share/examples/etc/README.examples .

PR: 5207
Reported by: "Wayne M. Barnes" <wayne@barnes1.wustl.edu>


# 045c66ab 11-May-1999 Jordan K. Hubbard <jkh@FreeBSD.org>

Sync with changes in /etc/mail.


# 42b42f6e 05-May-1999 Mark Murray <markm@FreeBSD.org>

Add extra dirs needed by install. Do the include/* by reusing
BSD.include.dist to make tracking this easier.

Pointed out by: Rod Grimes


# c8bdad59 11-Apr-1999 Andrey A. Chernov <ache@FreeBSD.org>

Remove old locale links conversion stuff


# f8b0e8c9 28-Mar-1999 Mark Murray <markm@FreeBSD.org>

Add an example hosts.allow for the (base system) tcp_wrappers.
Anyone with good ideas for this is welcome to contribute.


# 56fc9876 12-Feb-1999 Matthew Dillon <dillon@FreeBSD.org>

jkh accidently removed rc.diskless1 & 2, then put rc.diskless back when
he moved rc.conf. Then he deleted rc.diskless when it ( of course ) didn't
work. Now I'm putting the originally accidently removed rc.diskless{1,2}
back in.


# 2e92443c 11-Feb-1999 Brian Somers <brian@FreeBSD.org>

Add /usr/share/examples/ppp directory
Don't install /etc/ppp/ppp.*.example
Remove ppp/ppp.{conf,linkup,linkdown,secret}.sample


# fc835331 11-Feb-1999 Jordan K. Hubbard <jkh@FreeBSD.org>

This tries to install rc.diskless, but there is no such file.
I don't know which of the two to install in its place so just
remove it for now and get the release build working again.


# ccdd960b 10-Feb-1999 Jordan K. Hubbard <jkh@FreeBSD.org>

Install a little, erm, less from the etc/defaults directory.


# a1787c48 09-Feb-1999 Jordan K. Hubbard <jkh@FreeBSD.org>

Install rc.conf properly into /etc/defaults/ directory.


# e4715b93 09-Feb-1999 Matthew Dillon <dillon@FreeBSD.org>

Revamp rc.diskless. Split into rc.diskless1 and rc.diskless2. provide
more opportunities for overriding. Clean up /etc/rc ( remove conf_dir,
remove startup mount special cases, remove other special cases )


# 5ab0c62f 25-Jan-1999 Matthew Dillon <dillon@FreeBSD.org>

Commit first rc.diskless startup plus modifications to rc.conf and Makefile
to make it work. NOTE! Uses new kern.conf_dir sysctl.


# 49c3b47a 13-Jan-1999 Hellmuth Michaelis <hm@FreeBSD.org>

Integrate the ISDN subsystem into the /etc/rc framework
Reviewed by: Joerg Wunsch


# 82a29812 10-Jan-1999 Robert Nordier <rnordier@FreeBSD.org>

No longer install outdated boot.help file.


# 7d06eda8 10-Jan-1999 Hellmuth Michaelis <hm@FreeBSD.org>

add directory /etc/isdn and populate it


# d749f6f6 13-Dec-1998 Matthew Dillon <dillon@FreeBSD.org>

Remove rc.local (now deleted from CVS tree) from Makefile.


# 73c84e25 12-Dec-1998 John Birrell <jb@FreeBSD.org>

Back out revs 1.181 and 1.182 which upset a few people. I hope those
(3?) people will make an effort to help those who would have benefitted from
this change. And just telling them that they should read and understand
the significance of each message posted to -current is not really good
enough IMHO.


# 1e8cf44a 10-Dec-1998 John Birrell <jb@FreeBSD.org>

Change to the current directory before doing the install. I !love make.


# e151cd19 09-Dec-1998 John Birrell <jb@FreeBSD.org>

Add logic to check if any of the BIN1 files do not already exist in
${DESTDIR}/etc and an install target to install the missing ones. This
allows new files like pam.conf to be installed by the first installworld
after the file is added, but avoid clobbering files that might be
customized. This should save some support questions.


# d08484e0 20-Nov-1998 John Polstra <jdp@FreeBSD.org>

Add a sample "/etc/pam.conf" file that configures the authentication
methods used by login. Changes to "/usr/bin/login" to use it will
be committed later today. The format of the file is described in
pam(8).

This sample file makes login behave in the traditional way. To
wit, it enables authentication via S/Key and passwd/NIS lookups.
KerberosIV authentication is present in the sample file but commented
out.

As a safety net and a transition aid, login will fall back on
built-in passwd/NIS authentication if this configuration file is
missing or if some other fatal PAM error occurs.

This file will eventually replace "/etc/auth.conf", but not until
I've finished converting the other utilities, such as passwd and su.


# c67d21dd 08-Oct-1998 Mark Murray <markm@FreeBSD.org>

Add auth.conf. JKH Added the code to understand this to libutil, and
I will be following up with commits to use it in KerberosIV userland.


# 7d5c779c 06-Oct-1998 Poul-Henning Kamp <phk@FreeBSD.org>

Here are some scripts and man pages for configuring HARP ATM
interfaces.

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


# 033b3363 25-Sep-1998 Dima Ruban <dima@FreeBSD.org>

Backout my previous commit. Oops.


# 577d442f 25-Sep-1998 Dima Ruban <dima@FreeBSD.org>

${DISTDIR}/bin/etc/objformat -> ${DISTDIR}/etc/objformat


# e413bb5c 23-Sep-1998 Jordan K. Hubbard <jkh@FreeBSD.org>

initialize /etc/objformat for new installs, just to be sure.


# c663ec72 22-Sep-1998 Masafumi Max NAKANE <max@FreeBSD.org>

Add fbtab and rc.devfs to BIN1 sothat they are included in the
distribution.


# be0cde6f 19-Sep-1998 David E. O'Brien <obrien@FreeBSD.org>

Remove useless `BINOWN=root' now that it is the default.


# 9f67f727 13-Sep-1998 Brian Somers <brian@FreeBSD.org>

Gasp ! Bitten by the wonders of diff/patch ! Now's your chance to
say ``I told you so'' Andrey !
Move the Id keyword to the right Makefile


# 965066d6 13-Sep-1998 Brian Somers <brian@FreeBSD.org>

Add Id keyword


# f471c448 31-Aug-1998 John Birrell <jb@FreeBSD.org>

MACHINE -> MACHINE_ARCH to allow PC98 to define MACHINE=pc98.

Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>


# 1d414b2f 07-Aug-1998 John Birrell <jb@FreeBSD.org>

The etc-sendmail.cf target is in src/etc/sendmail/Makefile, not
src/etc/sendmail/cf/Makefile. This was an obstacle to 'make release'.


# b58c36c9 04-Aug-1998 Peter Wemm <peter@FreeBSD.org>

Descend into sendmail directory and update hooks for make release so that
it has a chance of working.


# 0774c3c2 11-Jun-1998 Guido van Rooij <guido@FreeBSD.org>

Install motd once.


# dce52a9c 26-May-1998 Joseph Koshy <jkoshy@FreeBSD.org>

Install ${DESTDIR}/boot.help during `make distribution'.

PR: 6063
Submitted by: Doug <Studded@dal.net>


# 4077bc03 16-May-1998 John Birrell <jb@FreeBSD.org>

Make ttys machine specific.


# 0888581f 07-May-1998 Andrey A. Chernov <ache@FreeBSD.org>

Add new named configuration template and remove old template


# 12b427c2 09-Nov-1997 Brian Somers <brian@FreeBSD.org>

Don't mention removed ppp sample files
Pointed out by: jkh


# 8c76ae36 19-Oct-1997 Jonathan M. Bresler <jmb@FreeBSD.org>

add /etc/mail--the anti-spam files
branches affected: -current, RELENG_2_2, and RELENG_2_1_0


# c25d9c21 28-Sep-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

ppp.secret.sample listed twice, at the cost of ppp.shells.sample.


# 4ffb08b9 16-Aug-1997 Paul Traina <pst@FreeBSD.org>

Point at /etc/periodic


# 355ae1ab 14-Aug-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Further optimize crontab's installation.
Submitted by: pst


# e4372318 14-Aug-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Yeesh! I completely missed the cron.d install here which did the right
thing already. Just remove the old references.
Noted by: pst


# 0b1885f9 12-Aug-1997 Daniel O'Callaghan <danny@FreeBSD.org>

Add ppp.shells.sample and ppp.deny to Makefile so they actually appear
in a release.

Reminded by: Satoshi and DavidG


# 42a23098 13-Aug-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make distribute target work again in the wake of the cron.d changes.
Note: I don't like the way these files are being copied but every
other method seemed gross too.


# f6b27298 12-Aug-1997 Paul Traina <pst@FreeBSD.org>

Activate make distribute and pray I didn't break release building.


# 8889c700 01-Aug-1997 David Nugent <davidn@FreeBSD.org>

Add /etc/rc.shutdown capability to init.
Add sample /etc/rc.shutdown (which is just a shell for now).
Submitted by: Ollivier Robert <roberto@keltia.freenix.fr>


# 1654bb82 17-Jul-1997 Satoshi Asami <asami@FreeBSD.org>

Add BSD.x11.dist to list of files to copy to /etc/mtree. Sorry if this
breaks "make release", Jordan!

PR: 4110
Not reviewed by: jkh


# c9835f33 05-Jul-1997 Paul Traina <pst@FreeBSD.org>

netstart wasn't getting installed


# ef99a93f 03-Jun-1997 Satoshi Asami <asami@FreeBSD.org>

Remove /usr/local meddling.

Approved by: jkh


# 524a1478 26-Apr-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Bring in rc file changes from -current.


# 79403fe3 23-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

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

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

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


# 0bc1c714 10-Jan-1997 David Nugent <davidn@FreeBSD.org>

Adds a template/example login.conf, login class capabilities database.


# 3a233001 28-Dec-1996 Peter Wemm <peter@FreeBSD.org>

Get rid of the revolting hacks that were used to install the
/etc/sendmail.cf file.

Submitted by: bde


# 3b4d52b9 13-Dec-1996 Bruce Evans <bde@FreeBSD.org>

Fixed missing install of BSD.include.dist.


# 7b69bdb9 13-Dec-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

magic file is no longer in /etc


# 5afea8cf 19-Oct-1996 Paul Traina <pst@FreeBSD.org>

Recent ppp changes broke make release. :-(


# 4b2b2ee3 18-Aug-1996 Wolfram Schneider <wosch@FreeBSD.org>

``make install'' should not install the symlink /usr/sbin/rmt -> /etc/rmt
Only ``make distribution'' in src/etc/Makefile overrides things in /etc

Pointed out by: joerg


# 361e0905 17-Aug-1996 Wolfram Schneider <wosch@FreeBSD.org>

make install should not install any file in /etc.


# 38b411e3 14-Aug-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

Remove root dotfiles which did more harm than good.


# 3bc99bbc 12-Jul-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

Merge.


# 4ece9046 11-Jul-1996 Paul Traina <pst@FreeBSD.org>

Add ability to override sendmail .cf file specification.
Add creation of ppp.log file since we rotate it now.


# 6a0f4b7e 25-Jun-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

The way sendmail.cf is installed here is gross and needs to be totally
redone. For now, use the objlink target to give it the obj directory
it needs.


# 429c7177 03-Apr-1996 Poul-Henning Kamp <phk@FreeBSD.org>

Add skeleton firewall setup(s). Comments very welcome.


# 90c97871 22-Mar-1996 Nate Williams <nate@FreeBSD.org>

Install rc.pccard to get PC-CARD support (when available).


# 68c4573a 17-Mar-1996 Poul-Henning Kamp <phk@FreeBSD.org>

Fix the pccard install.


# b1dcc5fe 17-Mar-1996 Mark Murray <markm@FreeBSD.org>

Hack-and-slash out the old 1.1.* stuff.
Later commits will bring in 4.4-Lite and 4.4-lite2 stuff.
Reviewed by: bruce, rgrimes


# 325e37f5 15-Feb-1996 Joerg Wunsch <joerg@FreeBSD.org>

Install newsyslog.conf.

Bothered me in: all recent SNAPs


# 1432a3ee 08-Feb-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

Add amd.map to BIN1 - having it here does no harm and makes activation
of the sample sysconfig entry (and amd) a snap.


# 94de1737 10-Jan-1996 Andrey A. Chernov <ache@FreeBSD.org>

Add empty /var/log/slip.log creation to distribution: target where
other empty logs created.
Pointed by Bruce.


# a5749c94 31-Dec-1995 Joerg Wunsch <joerg@FreeBSD.org>

The etc.i386/fstab.* files have been nuked, so don't try to install
them.


# 4a8128ff 02-Dec-1995 Peter Wemm <peter@FreeBSD.org>

install freebsd.cf rather than freefall.cf by default after 8.7.2 import.


# 309851e0 29-Nov-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Install new dotfiles.


# 9d34fdac 28-Oct-1995 Peter Wemm <peter@FreeBSD.org>

At the risk of starting a commit-war, attempt to fix once and for all, the
"make distrib-dirs" target.
Neither of Andrey's two attempts have worked for me with the [ -h ..]
test both with && and ||.
I've changed it to a full
if [ -h ...]; then \
rm ... ; \
fi ; \
construct. It's much clearer what's meant to happen, and it works! :-)


# 7e37cfc3 27-Oct-1995 Andrey A. Chernov <ache@FreeBSD.org>

Back out bogus "fix" which was commited over right fix without any check.


# 09fa32d3 27-Oct-1995 Julian Elischer <julian@FreeBSD.org>

Submitted by: john hay

patches to merge the two IPX packages to work with each other and to
not break make-world :)

IPXrouted should be working now, (or at least compiling) :)


# 34570513 26-Oct-1995 Andrey A. Chernov <ache@FreeBSD.org>

Add test for symlink presence before remove it


# 41ff0670 22-Oct-1995 Andrey A. Chernov <ache@FreeBSD.org>

Fix 'upgrade' stuff, i.e. when make distrib-dirs runs not
on clean file system but for -current locale links upgrade.


# 0c7fd54d 21-Oct-1995 Andrey A. Chernov <ache@FreeBSD.org>

Implement locale.alias via links (including backward-compatible issue)


# 573d3a2d 10-Oct-1995 Poul-Henning Kamp <phk@FreeBSD.org>

Add pccard.conf to makefile.


# 48cfb668 05-Aug-1995 Bruce Evans <bde@FreeBSD.org>

Change `install' to `${INSTALL}' so that default install flags can be
specified in the top level Makefiles.

Previously I missed dozens of Makefiles that skip the install after
using `cmp -s' to decide that the install isn't necessary.


# d10e63cc 16-Jun-1995 Andrey A. Chernov <ache@FreeBSD.org>

Rename ISO8859-1 to ISO_8859-1 per RFC1700


# 709e8f9a 29-May-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Remove trailing whitespace.


# 40676311 13-May-1995 Andrey A. Chernov <ache@FreeBSD.org>

Change ln -sf to rm -f and ln -s, first one work incorrectly
for directories when called second time


# 4767b312 10-May-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Lower-case the name of the DES directory. Yes, it's an acronym, but DOS
is still dOs.

Jordan


# 15e52edd 08-May-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

secure -> DES


# 9cd47749 31-Mar-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Add modem database file for new tip changes.


# 711aa1c2 29-Mar-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

This is the rc work as provided by pts, I will me makeing some additional
changes to it based upon other outstanding bug reports and commits made
after his work.

Comments:

(a) sysconfig is still used to do all configuration. I was not going to
change that out from under you.... a user never need edit netstart
or rc* unless they're being very weird.

(b) rc.maint has been folded back into rc. It is just unworkable as
a separate chunk because of ordering bogosities

(c) netstart does what it says... it starts up enough of the network to
get up, it doesn't start every bloody daemon that might talk to a
socket... netstart ifconfig's the devices and sets up routing if
configured to do so.

(d) nfs disks are mounted immediately after netstart completes

(e) syslog is started as early as possible (right after nfs) so that error
messages can get logged to remote syslog servers properly

(f) named is started (there is an argument that says that named should be
started before syslogd because if you are the dns server for your domain,
you'd like named to resolve remote hosts in syslog.conf, but this is
a minority case and the trivial workarround is to put the syslog host
in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog
to catch named errors, which is a MUCH more important and likely occurance)

(g) NOW all of the rest of the network daemons such as the time stuff, RPC,
NIS, NFS, Kerberos and inetd are started

(h) the rest of the generic stuff is done (cron/printer/sendmail)

(i) shared libraries are set

(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2,
xtend, and all of the syscons stuff
(this is actually started as /etc/rc.`uname -m`

(k) the syscons stuff has gotten a serious cleaning to make it consistent
with rc conventions

(l) rc.local has had the comments about syscons removed (they are not relevant
to this file now) and the full name of the kernel has been restored to
/etc/motd

Submitted by: pts


# 7b561070 23-Mar-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Add rc.maint file.


# 2a0b3f70 23-Mar-1995 Poul-Henning Kamp <phk@FreeBSD.org>

Install /etc/sysconfig


# ecdb980f 23-Mar-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Convert from using old root.cache to new named.root


# fabbf734 21-Mar-1995 Garrett Wollman <wollman@FreeBSD.org>

Change named starting convention to use $namedflags like most other
daemons that take command-line arguments. Correct /etc/namedb installation
to use the correct files.


# 2c4bf858 18-Mar-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Use new mtree file to rebuild /usr/include.

Replace rm -f; ln -s with ln -sf when installing LATIN1LINKS, also
do not attempt to chown/chmod these links.


# cf4a93ba 10-Mar-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Simplify all the newfs commands into ${NEWFS} and add -t 0 -u 0 so
we can again newfs floppies.

Now I just need to squish the bits back under 1.44MB :-(. I don't know
if it will be possible to get down to 1.2MB.


# e04e0de2 26-Feb-1995 Andrey A. Chernov <ache@FreeBSD.org>

Move symlinks creation here


# fba33612 25-Feb-1995 Poul-Henning Kamp <phk@FreeBSD.org>

make distribute change.


# ddf5b7cc 04-Feb-1995 Atsushi Murai <amurai@FreeBSD.org>

Adding ppp configuration files entry for distribution packages.


# 213b5e59 26-Jan-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Edit out some extraneous tabs.


# 131690bf 17-Jan-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Remove the src tarball stuff from this Makefile - all the release
stuff is on its way out of here and into release/Makefile.


# 03b38adc 15-Jan-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Catch the one I missed.


# 973e94c5 14-Jan-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Make one last stab at making this work before I go.


# abf77207 13-Jan-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Actually, there's a better way to do this whole srcdist tarball business.
Take first steps toward implementing it.


# 2a27df60 13-Jan-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Clean up src-tarball definition.


# 091611b3 02-Jan-1995 Andrey A. Chernov <ache@FreeBSD.org>

Remove adduser.conf & userids, not needed with new adduser


# 6e06f9d0 28-Dec-1994 Andrey A. Chernov <ache@FreeBSD.org>

Add adduser.conf & userids


# a466088c 01-Dec-1994 David Greenman <dg@FreeBSD.org>

Install rc.serial.


# 3d68884c 20-Nov-1994 Poul-Henning Kamp <phk@FreeBSD.org>

No point, what so ever, in installing /etc/myname


# 48327bc9 14-Nov-1994 Poul-Henning Kamp <phk@FreeBSD.org>

Final changes. Now "make distribute" should work as advertised.


# 9a89eb93 28-Oct-1994 Poul-Henning Kamp <phk@FreeBSD.org>

Fixes related to release-production:
bdes only if !NOCRYPT
Always MAKEDEV in bindist, otherwise diskless installation is a mess.


# 8b78c8e6 21-Oct-1994 Poul-Henning Kamp <phk@FreeBSD.org>

Reflect the fact that we only have one GENERIC kernel now.


# a8a4ffd4 16-Oct-1994 Poul-Henning Kamp <phk@FreeBSD.org>

Various changes to the 1.1.5.1'sh install procedure.


# 3626ca50 16-Oct-1994 Poul-Henning Kamp <phk@FreeBSD.org>

Some changes to the old floppies to handle the new /etc/init's way of doing
things.


# d49858b6 15-Oct-1994 Poul-Henning Kamp <phk@FreeBSD.org>

Format floppy before use. Make 1.44 Mb floppies for now.


# 045dbe68 28-Sep-1994 Andrey A. Chernov <ache@FreeBSD.org>

/etc/profile added (the similar stuff like in csh.login)


# 421f6246 23-Sep-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Add -e option to mtree commands so that extra directories are ignored.
Change conditional around building usr/local to be MAKE_LOCAL instead of
CDROMDIST. This was coped from src/Makefile and makes much more since.


# 9f3ffeab 23-Sep-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Revert the change that moved the /etc files to share/examples/etc, the
files have been pulled down out of the Attic and updates will be applied
shortly.


# 72ca7d40 19-Sep-1994 Garrett Wollman <wollman@FreeBSD.org>

Get rid of the files that now live in src/share/examples/etc, and update
Makefile to install them from there rather than from here.


# 6019d06b 14-Sep-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

1. Add back *.c to CLEANFILES, seems crunch makes quite a mess!

2. Update the COPYRIGHT= to be just the COPYRIGHT file for now.

3. Fully parameterize the floppy device being used. This is needed right
now so I can at least build these on 1.44 until it all is working, then
I will have to find a way to get them back down to size.

4. Remove mount_pcfs from the filesystem floppy, we don't have that yet.

5. Update the shared libraries t obe copied. This should now work for
this and all future releases.

6. Reduce the CRYPT_SRCS down to the few static binaries that have crypt
in them.

7. Change all references for the kernel from /386bsd to /kernel.

8. For some reason umount is returning 1, use a - until I can find out why.

9. Update the disklabel commands to be 4.4 syntax.

10. Remove the ugly elvis wart, we don't have elvis anymore.

11. Use the -d (directories only) option on the mtree commands. This
greatly reduces the noise from distrib-dirs:.

12. Note the fact that the mtree commands need a wrapper around them as they
return a status of 2 if the tree was modified and the make should not
exit on that condition.

13. Add a trailing slash on the chflags command as ${RELEASEDIR} may be
a symbolic link.


# 5d31843f 09-Sep-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Correct path to crunch, and remove srccontrib tarballs (we have no more
srccontrib!)


# b33a9d8f 09-Sep-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Remove the explicit call to ../Makefile mdec:, it is now handled by a make
install from the top level correctly.

Rewrite release-dirs: to use new mtree file mtree/BSD.release.dist.


# 92985d77 08-Sep-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

1. Make CLEANFILES a little less dangerous by being more spcifc about
some file names.

2. Add MAKEDEVS= that does all the /dev population so that this is not
duplicated in 2 or 3 places. Helps to keep it in sync too. Cleaned
up and fixed to not overflow inode tables.

3. Fix paths to the 2 crypt versions.

4. Init is sbin/init now instead of sbin/init.bsdi.

5. bdes is now in secure/usr.bin, will need to do something about telnet.

6. Incorporate 1.1.5.1 patches for EXTRACT.sh files.

7. Correct calls to make kcopy-flooppy to work with or without obj/.

8. Reorder src-clean: target so that it does not destroy the real obj
tree, but does rip out junk and obj links.

9. Incorporate 1.1.5.1 patche for srcbin tarball name.

10. Add chflags command to release-dirs target so the rm -rf can have a
chance to work.

With this and a few more commits I will have 2.0 bin tarballs.


# 012f2ce7 07-Sep-1994 Paul Traina <pst@FreeBSD.org>

Remove the old crypt/no-crypt rules and replace them with
the choice of building with the password scrambler or the DES
libraries. Folks outside the US can simply drop in the other
DES libraries. (stupid laws...)

Everything still keys off of the old NOCRYPT variable so building
a portable distribution remains the same.

Submitted by: pst


# 7d6fdca1 04-Sep-1994 Gary Palmer <gpalmer@FreeBSD.org>

Change references of 'mount_isofs' to 'mount_cd9660' as needed by FBSD 2.0


# 8a997735 29-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Oh GACK! src-clean doesn't quite work that easily since cleandist rebuilds the
obj links again and they need to be nuked out one more time after it's finished.
Sigh.. Oh well, this code will probably never be run again anyway.


# 9a6939ee 29-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Clean this puppy up quite a bit. Most notably:

1. Use ${MAKE} everywhere again. Whoops.
2. Replace multiple invocations of gzip ... split ... with one variable.
3. Add src-clean target for making the src tree presentable before
making a src tarball out of it.


# 97e31cd7 27-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Fix a simple makefile brain-o; didn't effect 1.1.5A since we don't compile
with CRYPT initially set.


# 7b026b2a 24-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

1. Remove a rather strangely gratuitous bit of profanity
2. Use elvis instead of vi for the editor on the cpio floppy; dmesg is back.


# cf3820b7 24-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

My last few changes to the release code plus a small termcap file
for the cpio floppy.


# 5ef18d0a 22-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Whoops - missed a couple of intermediate files. Nuke 'em.


# 70677ace 22-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Ok, this should about wrap it up.

1. All the crunched files work now; don't install copies, used the crunched
versions.
2. Make the clean rules DTRT now that we have stuff to clean.


# eb09e01c 20-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Whoops - I missed a commit; EXTRACT scripts were misnamed. Correct.


# 5a83efa2 21-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

1. Increase number of inodes for kcopy floppy; we've currently run out.
2. Get kcopy and filesystem images from current directory since we
now build them here; a clean rule is now all that's needed to make
the crunch stuff complete.


# a346c516 19-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Commit some additional changes for making this work with obj dirs.


# e7ab243a 15-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

1. Fill out the crunch target - this should do the trick (we'll see).
2. Remove the NOOBJ line - we want an object dir now.


# 1c51f14a 15-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Install manpath.config and mail.rc properly, and directly from the src
tree now (rather than having a local copy.


# 220273aa 15-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Lots of changes:

1. Properly use ${.CURDIR} now instead of hardcoded relative dirs.
2. Use ${BINOWN} and ${BINGRP} everywhere instead of root/wheel
3. Add target for copying over EXTRACT scripts (and add them here).
4. Start thinking about crunched floppy target (not in yet, next commit).


# 2548fdfa 08-Jun-1994 Geoff Rehmet <csgr@FreeBSD.org>

Change all lib*.so.1.0 to lib*.so.1.1
(Once again, pointed out by Volker Paepcke.)


# 01d49126 02-Jun-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Fix the absolute paths for boot blocks. Now uses ${DESTDIR}.


# da63052f 31-May-1994 Poul-Henning Kamp <phk@FreeBSD.org>

added make.conf template, which does nothing.


# 9eb28b5f 19-May-1994 Guido van Rooij <guido@FreeBSD.org>

1) Added s/key support .
2 Added optional excessive login logging.
3) Added login acces control on a per host/tty base.
4) See skey(1) for skey descriptions and src/usr.bin/login/README
for the logging and access control features.

-Guido


# 077fcb73 18-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Add the installation of /var/crash/minfree with a value of 2048 so that
savecore will not FILL the /var partition.


# d6a9fa22 17-May-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Add manpath.config to the default list of things installed in /etc
for releases.


# b9ee5a06 03-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Use ISO9660/DOS compliant file names for the tar balls now.


# f48386c2 17-Apr-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

>From BETA_1_1 branch:
----------------------------
revision 1.53.2.3
date: 1994/04/10 20:19:37; author: rgrimes; state: Exp; lines: +12 -3
Must have etc and usr directories on the cdinstall floppies.
Need to have device files for mcd1.
Create links for usr/libexec and usr/lib on cdinstall floppies so that
shared library code is loaded from cdrom.


# 333c7e3c 19-Mar-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Pull in changes just made to the BETA 1.1 branch for cd install floppy
support.


# 4453164c 06-Mar-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

>From BETA_1_1 branch
Correction for wrong permissions on /root, /usr/lib, /usr/libexec,
/usr/share and /usr/share/misc caused by filesyst.flp cpio file.


# 4f3bf7e6 23-Feb-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Update to generate the ISO9660 names for the floppy images, use fd1200
inplace of floppy5.


# bb90b105 21-Feb-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Whoops, forgot to $Id$ this file, and re-enable floppies target in
make release


# 64eb68b1 21-Feb-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Major hackery to get the 1.1 Beta floppies building. Have a special
pair of crunched binaries that are not built by this, but other than
that it is back to an automated procedure. So many changes it is
hard to describe.


# f877ce1e 08-Feb-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Add obj/ in front of freefall.cf so that the install works.


# 27441934 08-Feb-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Update for new COPYRIGHT.* files.


# e46e3a53 08-Feb-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Add PERSONAL.ACKS to file list.

Use freefall.cf as sendmail prototype file, it is more realistic than the
tcpproto.cf file for a FreBSD system. Fix so that obj dir is created in
sendmail/cf/cf as to not polute the source tree and to have the Makefile
in there do the right things.

Remove all the extra /dev/fd0?* entries on the floppies, they where using
up all the inodes and are not needed at this time.

Temporarily remove the floppy target from release: untilit is
fixed.

This file has lots more work coming, but to get the 1.1 BETA out I am
going to hand craft the floppies :-(.


# 34b36f08 26-Jan-1994 Andrey A. Chernov <ache@FreeBSD.org>

Remove obsoleted floppy partition from device name.


# 4cc01af1 25-Jan-1994 Nate Williams <nate@FreeBSD.org>

The system default crontab now resides in /etc/crontab, and I changed it's
mode to 644 as most unix systems allow you to read root's crontab.


# 08116fd7 22-Jan-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Change ${RELEASEDIR}/filesystem to be filesys so hat it is ISO9660 compliant.


# ddc46a75 22-Jan-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Add SUPPORT.TXT and MIRROR.SITES to the top level FREEBSD files that get
installed in /.


# 428e3889 01-Dec-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

From: Julian Howard Stacey <stacey@guug.de>
Subject: Bug & Fix for etc/Makefile cpio-floppy: re /tmp creation.
Date: Fri, 26 Nov 1993 11:35:04 +0100

Editors Note: tmp was listed in the CPIO_FILES section and thus the
entire contents of ${DESTDIR}/tmp would end up on the cpio floppy. This fix
moves tmp to CPIO_DIRS so that no longer happens.


# d815696f 21-Oct-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Make whatisdb after the whole system is installed, since the one in
share/man will only create entries for manual pages that have been
installed up to that point.


# 8bf5ce9d 09-Oct-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

You can now specify the type of floppy you want built (floppy3 or floppy5)
with a Makefile override. The default is floppy5 since all distribution
floppies must be <= 1.2Mb so that every one can use them.

If you want to make 1.44MB floppies with more space on them do a
setenv FLOPPY floppy3
before running make.

>From: "Jordan K. Hubbard" <jkh%whisker.lotus.ie@dec4ie.ieunet.ie>
Date: Sun, 10 Oct 1993 05:11:51 -0700

I went to make myself some boot floppies straight off the dist
today and ran into the fact that I'm using a 3.5" floppy as my drive A,
so I did the following (you can still use floppy5 as your default -
I just have it set to floppy3 for my machine).


# 20c7f603 01-Oct-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Split the src-tarball target up into multiple targets, there is now
a tar ball for each top level src directory, plus the base tar ball
that has the very toplevel files in it.


# 155fb482 21-Sep-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Added BSD.local.dist to MTREE files so that it gets installed in /etc/mtree


# d5a38159e 18-Sep-1993 Andrew Moore <alm@FreeBSD.org>

Added /var/run to CPIO_DIRS


# 7103cef1 18-Sep-1993 Andrew Moore <alm@FreeBSD.org>

Added /etc/remote to CPIO files.


# dbc93016 17-Sep-1993 Andrew Moore <alm@FreeBSD.org>

added /var/spool and /var/spool/lock to CPIO_DIRS. These are needed by
both tip and kermit.


# 25344f70 13-Sep-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Make MOUNT be MOUNT? so I can easily override it for building 2 floppies
concurrently now that the floppy driver works good enought to do this!


# b6545fcc 13-Sep-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Removed DOS floppy build stuff, as this was just a poor idea that needs
a much better solution.


# 67040090 12-Sep-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

More file shuffling between floppies, needed to get rm on filesystem
floppy. Removed duplicates from DOS floppy.


# fc6e7c45 12-Sep-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Only put var and var/tmp in the cpio archive floppy, do not really need
the whole /var tree at this time.


# 3f0cc05d 10-Sep-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

tar ball names converted from the form x.tar.gz.xx to x_tgz.xx so the
DOS folks are happy.


# 71aeecab 10-Sep-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Put bin/df back on the filesystem floppy since there is room for it
after all. Removed it from DOS floppy.
Added COPYRIGHT to DOS floppy since it does have *BSD binaries on it!
Fixed missing ; \ when creating dev entries on filesystem floppy
Fixed rm in wrong directory, please don't rm in the DESTDIR area!!


# 84a2ca63 08-Sep-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Made copy of sys/i386/floppy relative instead of abosolute path


# 93f0f2e0 08-Sep-1993 Andrew Moore <alm@FreeBSD.org>

Added a fourth DOS-format floppy to the install disks containing os-bs
and miscellaneous programs which get installed into /usr/distbin.
Install now recognizes existing DOS partitions and attempts to install
after them. Theoretically, it also remaps badblocks.

N.B.: The fourth install floppy must have a clean DOS FAT.
Building the new distribution floppies is untested

TODO: Build a disktab entry for existing DOS partitions (except extended
partitions). This would allow loading and/or extracting the distribution
files directly from the DOS hard disk partition.


# 97eb5f54 07-Sep-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Fixed missing slash after a ${DESTDIR} with no other path after it.


# 037db89f 02-Sep-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Added /etc/networks to the files that get installed, some how it got
dropped out of the Makefile. Commented out talk in inetd.conf since
it refers to the old non-existent otalkd.


# a614794b 01-Sep-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Removed commit lies for sbin/reboot and usr/local/bin/{mread,rz},
these are not part of the standard distribution and do not belong
in here, this was carry over from earlier work.

Added src-tarball: ssrc-tarball: targets to build the 2 source tar balls,
still have to manually copy/chmod/chown the src tree into the destination
directory and clean out all the obj, and CVS files/dirs, plus run a
make cleandist in it before running these targets, but atleast things are
getting easier to do!

release: now uses fixed floppies target.


# d6cef5599 31-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Added dd back to cpio floppy in place of shutdown, since shutdown
is not really needed until we can go multiuser.

Changed name of list from CRYPT_FILES to CRYPT_SRCS, since that is
really what they point to. Added list CRYPT_DIRS, that is the directories
that are in the des distribution.

Fixed kc-xx-floppy dependencies on kc-floppy since it would not do
the right thing with the new target floppies:

Now user ${RELEASEDIR} for dd'ing the floppy images and other stuff having
to do with building the release.

Added new target bin-tarball that builds the bin.tar.gz.?? split archives for
release.

Added new target des-tarball that builds the des.tar.gz.?? split archives for
release.

Added building of /usr/local directories for the CDROMDIST.

New target floppies: that builds all 4 floppies.

New target release: that should completely populate a release tree, except
that the src-tarball target is not yet written.


# 8797a602 31-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Had to remove dd from the cpio floppy as we ran out of room due to some
growth in binaries.


# 0cfef2e4 29-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Makefile no longer needs passwd, pwd.db and spwd.db due to fixed pwd_mkdb
that now takes a directory argument. These files are now built from the
master.passwd file.

Fixed typo on NOOBJ=, was oobj, now noobj.
Rename of targes and variables. INST1 -> FILESYSTEM, INST2 -> CPIO,
kc -> kcopy.

Floppy targets now dd and gzip the image back onto the hard disk so
that less manual work is required when building a release.

Removed reboot from FILESYSTEM floppy and put df back on, and added
mount_isofs. Changed scripts to use halt instead of reboot.


# 6aab19ad 28-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Added the RELNOTES.FreeBSD to the FREEBSD list. Changed all occurance
of make to ${MAKE}


# 990baf30 27-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Added targets crypt and non-crypt to make it easier to build the
distributions.
Now only populates $DESTDIR/dev if we are building the cdrom distribution,
since this directory is populated by the install tools it was a conflict
to have the dev entries in the full distribution as well.


# 926c5ffb 25-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Removed LOCATIME and TZDIR stuff since it is now handled correctly by
share/zoneinfo and was just duplicated here.

Fixed the directory owner ships on the inst1 floppy by adding all of the
directories that get created on the floppy to INST1_DIR, since cpio was
not picking up the source dir protections, but instead using the current
process uid, gid, and umask values.

Removed /bin/df from inst1 to make room for mount_pcfs. Also removed
/etc/disktab since it just got overwritten by the install tools.

Removed zcat from INST2_CPIO since it is now installed from the
INST2_FILES files on the floppy. This fixes things so that all
of the gzip tools get linked to the same image.

Much of the .if machine i386 stuff moved to be system independent
since it really was.

Added sd1 support to the inst1 and kc floppies. No room for wd1 support,
oh well.

Fix permissions on top level of floppy, it was not getting set.


# 9f07bdff 22-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Added kc-kernel target that builds both GENERICAH and GENERICBT kernels.
Added kc-floppy that does the common part of building the kc floppies.
Added kc-bt-floppy to build GENERICBT kernel floppy.
Fixed kc-ah-floppy to use kc-floppy.


# 4533a28b 13-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Enable lastlog install commands.


# f5e6a77b 12-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Commented out installation of /var/log/lastlog:
The problem with having it enable is that lastlog grows big, none
of the current scripts deal with rotation of /var/log/lastlog,
so it shouldn't necessary be installed at first. This has traditionally
been something the sysadmin has had to touch after system installations.

Nate:
(Besides, you're forced to learn more about the system by reading the man
pages if it doesn't exist. :-)


# 853f272a 12-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

/etc/termcap is now created as a symlink to /usr/share/misc/termcap,
fixed creation of link for /etc/localtime.


# 70ce04ee 12-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Added 3 targets (kc-ah-floppy, inst1-floppy, inst2-floppy) which build
3 of the 4 needed floppies for FreeBSD.

Still need to do kc-bt-floppy for the Bustek/Ultrastore controllers.

Fixed installation of boot blocks in distribution:, now use a variable
(${MDEC}) instead of a find so that my zzz files don't end up in
the distribution!


# 42cee3fa 10-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Added support to build i386-kc_floppy:, kernel copy floppy for FreeBSD.
Added support to build and install GENERICISA kernel in the binary
distribution.


# 94f07b5b 09-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Moved make copies of src/includes to be after the top level make install
so that the binary distribution ends up with full blown include files.


# 35a3a8d7 09-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Fixed install of ${FREEBSD}, forgot to do a install -c so it removed the
files from src on the install of them!


# f9b4e354 09-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Added installation of CONTRIB.386BSD CONTRIB.FreeBSD and COPYRIGHT to /
when building a distribution for the i386 case. This keeps us from violating
Berkeley's and Bill Jolitz's copyrights.


# 2e381247 08-Aug-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Removed man.conf since it is no longer used by the new manual page system


# ea76af53 03-Aug-1993 Charlie Root <root@FreeBSD.org>

Added install of /var/cron/log.
Made it clean up in /sys/i386/boot after building and installing the
boot blocks.
Moved the cd ..; make install to be after the special case stuff for
sendmail.
Added the installation of tcpproto.cf as /etc/sendmail.cf


# 222c6cb7 29-Jul-1993 Nate Williams <nate@FreeBSD.org>

Added a default host.conf (gethostnamadr() name resolver) which declares
to resolve all names via bind first and then try /etc/hosts.


# 08cbe8b1 26-Jul-1993 Nate Williams <nate@FreeBSD.org>

Changed sys.386bsd to sys


# 05b5f220 20-Jul-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Fixed installation of sendmail. cd'ed to wrong directory. Now works
correctly.


# 242029ec 20-Jul-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Added .if ${MACHINE} == "i386" section to do install of boot blocks, all
standard tools, copies of include files, and sendmail.


# 64784fa9 19-Jul-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Since pwd_mkdb always works in /etc no matter what I added pwd.db and
spwd.db that are created from the template master.passwd to src/etc so
that a build distribution can populate /etc correctly. This is a work
around until a better solution can be found.


# 6e1a887c 19-Jul-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Brought in NetBSD Makefile, which was then fixed up to use mtree for
building the distrubution hierarchy. Still needs some work, but atleast
this version runs and does most of the right things.


# 1bf9d5d9 20-Jun-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Initial import of 386BSD 0.1 othersrc/etc