History log of /freebsd-10.0-release/etc/Makefile
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

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

# 257572 03-Nov-2013 bdrewery

MFC r257344,r257403:

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

Approved by: bapt
Approved by: re (gjb)


# 257353 29-Oct-2013 bdrewery

MFC: r256770,r257142,r257145,r257146,r257147,r257148,
r257149,r257150,r257158,r257159,r257164,r257168,
r257193

- Support checking signature for pkg bootstrap from remote
and for 'pkg add ./pkg.txz'

- Be verbose on where pkg is being bootstrapped from.

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

- Add test package signing key fingerprint into /etc/keys/pkg/trusted.

- Disable fingerprint checking by default for now as the official
packages are not yet signed.

Approved by: bapt
Approved by: re (glebius)


# 256366 12-Oct-2013 rpaulo

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

Approved by: re


# 256281 10-Oct-2013 gjb

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

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


# 255949 30-Sep-2013 des

Remove BIND.

Approved by: re (gjb)


# 255841 24-Sep-2013 des

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

Approved by: re (blanket)


# 255425 09-Sep-2013 des

The correct variable is apparently MACHINE_ARCH, not TARGET_ARCH.

Approved by: re (blanket)


# 255413 09-Sep-2013 des

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)


# 255385 08-Sep-2013 des

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)


# 253853 01-Aug-2013 jlh

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

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


# 251512 07-Jun-2013 emaste

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.


# 250116 30-Apr-2013 brooks

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


# 247162 22-Feb-2013 ache

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


# 246913 17-Feb-2013 ache

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


# 246127 30-Jan-2013 brooks

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.


# 246097 29-Jan-2013 brooks

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

Make cat a bootstrap tool to facilitate this.


# 245825 22-Jan-2013 brooks

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


# 245752 21-Jan-2013 brooks

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


# 245580 17-Jan-2013 brooks

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


# 245571 17-Jan-2013 brooks

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


# 245565 17-Jan-2013 brooks

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


# 245440 14-Jan-2013 brooks

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


# 245318 11-Jan-2013 brooks

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.


# 245316 11-Jan-2013 brooks

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

Sponsored by: DARPA, AFRL


# 243101 15-Nov-2012 eadler

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


# 241823 21-Oct-2012 marcel

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

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

Credits follow:

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


# 236965 12-Jun-2012 des

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

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

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

MFC after: 3 weeks


# 231849 16-Feb-2012 eadler

Style: prefer the use of line continuations to +=

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


# 231298 09-Feb-2012 eadler

Make etc/Makefile more conflict resistant

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


# 224765 10-Aug-2011 dougb

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)


# 224674 06-Aug-2011 dougb

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)


# 224659 05-Aug-2011 ed

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


# 218941 22-Feb-2011 uqs

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)


# 213394 03-Oct-2010 gordon

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

Approved by: wes (mentor)


# 209229 16-Jun-2010 avg

device.hints: do not install when WITHOUT_BOOT is set

Forced commit to fix commit message in r209228.

Discussed with: imp
MFC after: 2 weeks


# 209228 16-Jun-2010 avg

device.hints: do install when WITHOUT_BOOT is set

Discussed with: imp
MFC after: 2 weeks


# 209134 13-Jun-2010 imp

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.


# 208320 19-May-2010 jkim

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


# 205335 19-Mar-2010 ed

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.


# 205329 19-Mar-2010 ed

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


# 204820 07-Mar-2010 ed

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


# 200028 02-Dec-2009 ume

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

Reviewed by: dougb, jhb
MFC after: 1 month


# 199249 13-Nov-2009 ed

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


# 196767 02-Sep-2009 flz

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


# 193635 07-Jun-2009 edwin

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


# 186249 17-Dec-2008 thompsa

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.


# 184443 29-Oct-2008 mp

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

Not objected to by: sam


# 184343 27-Oct-2008 sam

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


# 183698 08-Oct-2008 des

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


# 183268 22-Sep-2008 sam

add back regdomain.xml

Noticed by: jhay


# 183242 21-Sep-2008 sam

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


# 179315 26-May-2008 bz

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

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

Discussed with: rwatson, re


# 178355 20-Apr-2008 sam

802.11 regulatory definitions used by ifconfig

Support by: Hobnob


# 176835 05-Mar-2008 brooks

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


# 173536 10-Nov-2007 mlaier

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


# 173135 29-Oct-2007 yar

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


# 172742 18-Oct-2007 bushman

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

Approved by: brooks (mentor)


# 172674 15-Oct-2007 netchild

Backout sensors framework.

Requested by: phk
Discussed on: cvs-all


# 172631 14-Oct-2007 netchild

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)


# 171427 13-Jul-2007 imp

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

Approved by: re (kensmith)


# 170913 18-Jun-2007 dougb

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.


# 162674 26-Sep-2006 piso

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


# 161748 31-Aug-2006 cperciva

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

Sponsored by: FreeBSD security development fundraiser


# 158266 03-May-2006 ume

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


# 158115 28-Apr-2006 ume

- 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


# 156813 17-Mar-2006 ru

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

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

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

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


# 156567 11-Mar-2006 ru

Fix "make distribution" when just NO_CRYPT is defined.

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


# 155571 12-Feb-2006 rwatson

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


# 155210 02-Feb-2006 rwatson

Install /etc/security configuration files from OpenBSM.

Obtained from: TrustedBSD Project


# 153838 29-Dec-2005 dfr

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)


# 153430 14-Dec-2005 iedowse

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

Submitted by: Anish Mistry


# 152471 16-Nov-2005 ru

Diff reduction to RELENG_6.


# 149515 26-Aug-2005 imp

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.


# 148871 08-Aug-2005 cperciva

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


# 148282 22-Jul-2005 ru

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


# 148053 15-Jul-2005 ru

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


# 145693 29-Apr-2005 brooks

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


# 145184 17-Apr-2005 glebius

Add startup script and default configuration file for bsnmpd.

Reviewed by: harti


# 142963 01-Mar-2005 brooks

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.


# 142864 01-Mar-2005 trhodes

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


# 142838 28-Feb-2005 ru

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


# 142794 28-Feb-2005 ru

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


# 139113 21-Dec-2004 ru

NOCRYPT -> NO_CRYPT


# 139103 21-Dec-2004 ru

Start the dreaded NOFOO -> NO_FOO conversion.

OK'ed by: core


# 136242 07-Oct-2004 dougb

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

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

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

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


# 136145 05-Oct-2004 ru

Fixed symlinking of /etc/namedb.

Reported by: Jeremy Chadwick


# 135963 30-Sep-2004 dougb

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


# 135926 29-Sep-2004 ru

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.


# 135875 28-Sep-2004 dougb

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.


# 135851 27-Sep-2004 dougb

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

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

Reviewed by: ru, des


# 135747 24-Sep-2004 des

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


# 135549 21-Sep-2004 des

Switch from BIND 8 to BIND 9.

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


# 127339 23-Mar-2004 des

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


# 126977 14-Mar-2004 ru

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.


# 126756 08-Mar-2004 mlaier

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

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

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

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

Approved by: bms(mentor)


# 124831 22-Jan-2004 ru

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


# 124214 07-Jan-2004 des

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


# 121911 02-Nov-2003 markm

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

Reminded by: ru


# 121580 26-Oct-2003 emax

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

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


# 120709 03-Oct-2003 phk

Only install .k5login if people have not set NO_KERBEROS.


# 120521 27-Sep-2003 markm

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


# 120202 18-Sep-2003 markm

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


# 119385 24-Aug-2003 mtm

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


# 119058 17-Aug-2003 obrien

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

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


# 117292 06-Jul-2003 gshapiro

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


# 116133 09-Jun-2003 ache

Old-promised removing of deprecated locale names


# 114780 06-May-2003 dougb

Hook devfs.conf up to the build.

Approved by: re (scottl)


# 114555 02-May-2003 dougb

Hook rc.sendmail back up, it was removed prematurely


# 114492 02-May-2003 dougb

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.


# 114328 30-Apr-2003 markm

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


# 113674 18-Apr-2003 mtm

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)


# 113259 08-Apr-2003 des

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


# 112984 02-Apr-2003 ru

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


# 111810 03-Mar-2003 ru

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


# 110663 10-Feb-2003 ache

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


# 110655 10-Feb-2003 nectar

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


# 110209 01-Feb-2003 phk

NODEVFS cleanup: Don't ever install MAKEDEV anymore.


# 108983 09-Jan-2003 imp

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


# 108002 17-Dec-2002 green

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


# 107995 17-Dec-2002 green

Make /etc/rc and /etc/rc.shutdown executable, and execute them directly
instead of via /bin/sh. They already have the proper #! lines, and
there is no new failure case (if execution fails, it still attempts to
execute indirectly via /bin/sh). This is necessary for SEBSD to function
properly.


# 107994 17-Dec-2002 green

/home/green/tmp/cvsSFosXg


# 107318 27-Nov-2002 ru

Removed the vestiges of modems(5).

Approved by: re


# 105702 22-Oct-2002 phk

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


# 105699 22-Oct-2002 rwatson

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


# 105515 20-Oct-2002 markm

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


# 103738 21-Sep-2002 markm

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

Requested by: ru


# 103720 20-Sep-2002 markm

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


# 103436 16-Sep-2002 peter

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


# 100872 29-Jul-2002 ru

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

Approved by: bde


# 100313 18-Jul-2002 ru

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


# 99452 05-Jul-2002 ru

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


# 99451 05-Jul-2002 ru

Whitespace and indentation (style) fixes.


# 99449 05-Jul-2002 ru

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


# 98548 21-Jun-2002 ru

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


# 98187 13-Jun-2002 gordon

Hook rcorder and rc.d into the build.

Submitted by: Mike Makonnen


# 96721 16-May-2002 markm

No need to build perl dirs anymore.


# 95509 26-Apr-2002 ru

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>


# 95327 23-Apr-2002 obrien

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


# 95227 21-Apr-2002 gshapiro

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


# 95144 20-Apr-2002 gshapiro

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


# 94694 14-Apr-2002 dougb

Remove ws at EOL


# 92898 21-Mar-2002 des

Install moduli instead of primes


# 92452 16-Mar-2002 markm

Update for Perl 5.6.1


# 92100 11-Mar-2002 rwatson

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


# 92099 11-Mar-2002 rwatson

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.


# 90281 06-Feb-2002 ume

Install PROTO.localhost-v6.rev. Umm, it seems namedb/Makefile
is not used.


# 89936 28-Jan-2002 cjc

Put a complete set of pppd(8) sample configuration files in
/usr/share/examples/pppd.

Update pppd(8) documentation to reflect this, usr.sbin/pppd/pppd.8.

Remove the out-of-place pppd(8) configuration files in etc/ppp,
ppp.shells.sample and ppp.deny.

Make the appropriate changes to the build process, etc/Makefile and
etc/mtree/BSD.usr.mtree, so it all works.

The files from etc/ppp, ppp.shells.sample and ppp.deny, were moved
with a repo copy. Note it in the logs with a forced commit to these
two.

Submitted by: Maxim Konovalov <maxim@macomnet.ru> provided the new samples.


# 89364 14-Jan-2002 des

Everybody (for suitable values of "everybody") seems to think pam.conf should
be removed outright.

Sponsored by: DARPA, NAI Labs


# 89359 14-Jan-2002 des

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


# 89287 12-Jan-2002 des

Switch over to /etc/pam.d/.

Sponsored by: DARPA / NAI Labs


# 89074 08-Jan-2002 phantom

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


# 88878 04-Jan-2002 sheldonh

Install nsmb.conf with mode 0600, since it may be modified to include
passwords for remote shares.

Reported by: Andre Albsmeier <andre@albsmeier.net>


# 88459 24-Dec-2001 phantom

Back out recent replacement of LC_MESSAGES file with directory.

Requested by: ache


# 88348 21-Dec-2001 phantom

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>


# 87874 14-Dec-2001 sheldonh

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


# 87514 07-Dec-2001 cjc

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


# 87447 06-Dec-2001 des

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


# 84253 01-Oct-2001 kris

UUCP removal Phase III.


# 83561 17-Sep-2001 jlemon

Change permissions for initial install of maillog file to 640. (from 644)

Pointed out by: rwatson


# 82866 03-Sep-2001 brian

Allow group network to read ppp.log & slip.log.

Suggested by: Jesper Skriver <jesper@FreeBSD.org>


# 82604 30-Aug-2001 alex

Move /etc/defaults/make.conf to /usr/share/examples/etc/make.conf as
discussed on the arch@ mailinglist (after repo-copy).

sys.mk will .error if it finds /etc/defaults/make.conf but include
it anyways (this is the same behaviour as with the make.conf.local
removal).

/usr/share/examples/etc/make.conf has BDEFLAGS commented out now,
since it's only an example file.

Adjust all textes that talk about make.conf or defaults/make.conf to
match the new situation.


# 82521 29-Aug-2001 alex

chown syntax is user:group now.


# 82480 29-Aug-2001 brian

Remove diskcheckd.conf


# 81656 14-Aug-2001 ache

Add/install /etc/opieaccess skeleton

Approved by: markm


# 78175 13-Jun-2001 phk

Remember to install diskcheckd.conf


# 77999 10-Jun-2001 ache

Deal properly with *.US-ASCII family


# 77993 10-Jun-2001 ache

Fix Latin1 man directories for new locale names


# 77976 10-Jun-2001 ache

New locale names and aliases to old ones


# 77698 04-Jun-2001 ume

Remove configuration file for pim6[ds]d.

Submitted by: sumikawa


# 77041 23-May-2001 ru

Add NO_I4B to avoid building/installing isdn4bsd package.

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


# 75703 19-Apr-2001 sobomax

o Install sysctl.conf with all other *.conf files;
o put a note into sysctl.conf describing vfs.vmiodirenable knob.

OK'ed by: alfred


# 74990 29-Mar-2001 asmodai

Change NO_MAKEDEV to a finer granularity method:
NO_MAKEDEV_INSTALL and NO_MAKEDEV_RUN. The former implying the latter.
The names imply what they do. The last commit by DES based on a PR defeated
the original idea behind NO_MAKEDEV, which was not to run MAKEDEV, but to do
the installation of MAKEDEV. This should satisfy both parties on the MAKEDEV
challenge.


# 74837 27-Mar-2001 green

At least install primes to the right place, for now. I suppose.

Reminded by: everyone


# 74718 23-Mar-2001 green

Install /etc/primes.


# 74462 19-Mar-2001 alfred

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


# 74194 13-Mar-2001 des

Don't install MAKEDEV or MAKEDEV.local if NO_MAKEDEV is set.

PR: 25596
Submitted by: Jonathan Perkin <sketchy@bsdcode.net>


# 73251 01-Mar-2001 gshapiro

Don't build/install sendmail related items if NO_SENDMAIL is set.

Submitted by: ru


# 72843 22-Feb-2001 gshapiro

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.


# 72692 19-Feb-2001 ru

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


# 70856 09-Jan-2001 jhb

Move the syscons configuration to a machine independent rc.syscons. The
syscons sh code was identical on both platforms except for whitespace
differences.


# 67929 30-Oct-2000 ume

install rc.firewall6.


# 67849 29-Oct-2000 dougb

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


# 65884 15-Sep-2000 ache

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

Reviewed by: imp


# 65532 06-Sep-2000 nectar

Add nsswitch support. By creating an /etc/nsswitch.conf file, you can
configure FreeBSD so that various databases such as passwd and group can be
looked up using flat files, NIS, or Hesiod.

= Hesiod has been added to libc (see hesiod(3)).

= A library routine for parsing nsswitch.conf and invoking callback
functions as specified has been added to libc (see nsdispatch(3)).

= The following C library functions have been modified to use nsdispatch:
. getgrent, getgrnam, getgrgid
. getpwent, getpwnam, getpwuid
. getusershell
. getaddrinfo
. gethostbyname, gethostbyname2, gethostbyaddr
. getnetbyname, getnetbyaddr
. getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr

= host.conf has been removed from src/etc. rc.network has been modified
to warn that host.conf is no longer used at boot time. In addition, if
there is a host.conf but no nsswitch.conf, the latter is created at boot
time from the former.

Obtained from: NetBSD


# 65168 28-Aug-2000 asami

Add BSD.x11-4.dist to list of mtree files to install (d'oh!).

Submitted by: Nathan Ahlstrom <nrahlstr@winternet.com>


# 64665 15-Aug-2000 kris

Install /var/crash/minfree mode 644 instead of 664 - group wheel shouldn't
have special write permissions to things.


# 64629 14-Aug-2000 gshapiro

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.


# 64618 13-Aug-2000 gshapiro

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.


# 64598 13-Aug-2000 gshapiro

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.


# 63776 23-Jul-2000 marcel

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.


# 63257 16-Jul-2000 ache

Add -L to mtree calls since defaults changed back


# 63097 13-Jul-2000 peter

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


# 62416 02-Jul-2000 markm

Follow-up commit to today's gnu/usr.bin/perl commit; serial number
brought inline with Perl standards.


# 62082 25-Jun-2000 markm

Version number and directory changes for Perl 5.006.


# 62006 23-Jun-2000 nbm

Fix installworld-breaking bracket hanging around from last commit.


# 61981 22-Jun-2000 brian

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


# 61888 21-Jun-2000 asmodai

Don't build manpages if NOMAN has been set.

PR: 17967
Submitted by: Benno Rice <benno@netizen.com.au>


# 60677 18-May-2000 kris

Install /etc/ssl/openssl.cnf

Submitted by: Doug Barton <DougB@gorean.org>
Forgotten by: kris


# 59257 15-Apr-2000 iwasaki

Remove pccard.conf.sample from Makefile, sorry I forgot.


# 58979 03-Apr-2000 iwasaki

Enable etc/defaults/pccard.conf which is default configuration file
for pccardd.
Please install /etc/defaults/pccard.conf and update /etc/defaults/rc.conf
as well.
Note that old pccard.conf.sample still remains for while but
no longer to be maintained.

Reviewed by: imp, -mobile ML and nomads ML in Japan.


# 57954 13-Mar-2000 shin

Register recently added pim6dd.conf and pim6sd.conf.

Specified by: haro@tk.kubota.co.jp (Munehiro Matsuda)


# 57948 12-Mar-2000 rwatson

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


# 57488 25-Feb-2000 peter

Install ssh files in /etc/ssh and tidy up a couple of other nits


# 57479 25-Feb-2000 peter

Ack! Time to get the pointy hat. Re-add missing / I left out.

Submitted by: John Hay <jhay@mikom.csir.co.za>


# 57469 25-Feb-2000 peter

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


# 57459 24-Feb-2000 markm

Run sshd at boot time if the sysadmin wants it. Also install
ssh[d] config files in the right place.


# 57407 24-Feb-2000 shin

Added rc.network6.

Approved by: jkh

Submitted by: bmah@CA.Sandia.GOV (Bruce A. Mah),
Ruslan Ermilov <ru@ucb.crimea.ua>


# 57071 09-Feb-2000 rwatson

Intoduce a new make.conf entry, NO_MAKEDEV, and modifications to
/etc/Makefile so that if it is defined, MAKEDEV all is not called
during a make distribution. This helps clean up the messy userland
in jail(), by reducing the number of devices exposed in jail.
Modifications to jail(2) to follow.

Approved by: jkh-arius


# 55631 09-Jan-2000 nyan

Install mailer.conf in /etc/mail instead of /etc.

Reviewed by: peter


# 55230 29-Dec-1999 peter

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)


# 53549 22-Nov-1999 n_hibma

Add the usbd.conf to the distribution target.


# 53327 18-Nov-1999 peter

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.


# 52613 28-Oct-1999 peter

Actually install the rc.sysctl file (the one that reads /etc/sysctl.conf)


# 52609 28-Oct-1999 dillon

adjust Makefile to handle make.conf's new location

Approved by: "Jordan K. Hubbard" <jkh@zippy.cdrom.com>


# 51033 06-Sep-1999 n_hibma

Move /var/cron/log to /var/log/cron


# 50472 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 50126 21-Aug-1999 green

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


# 49110 26-Jul-1999 brian

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>


# 48734 10-Jul-1999 iwasaki

Put apmd configuration and rc files in /etc.
Update some files for apmd.


# 48694 09-Jul-1999 obrien

Install dhclient.conf.

PR: conf/12458
Submitted by: Doug <doug@gorean.org>


# 48185 24-Jun-1999 sheldonh

Actually install the virgin copies of the /etc files that we so proudly
claim to install in /usr/share/examples/etc/README.examples .

PR: 5207
Reported by: "Wayne M. Barnes" <wayne@barnes1.wustl.edu>


# 47012 11-May-1999 jkh

Sync with changes in /etc/mail.


# 46523 05-May-1999 markm

Add extra dirs needed by install. Do the include/* by reusing
BSD.include.dist to make tracking this easier.

Pointed out by: Rod Grimes


# 45603 11-Apr-1999 ache

Remove old locale links conversion stuff


# 45088 28-Mar-1999 markm

Add an example hosts.allow for the (base system) tcp_wrappers.
Anyone with good ideas for this is welcome to contribute.


# 43942 12-Feb-1999 dillon

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.


# 43901 11-Feb-1999 brian

Add /usr/share/examples/ppp directory
Don't install /etc/ppp/ppp.*.example
Remove ppp/ppp.{conf,linkup,linkdown,secret}.sample


# 43900 11-Feb-1999 jkh

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.


# 43832 10-Feb-1999 jkh

Install a little, erm, less from the etc/defaults directory.


# 43816 09-Feb-1999 jkh

Install rc.conf properly into /etc/defaults/ directory.


# 43803 09-Feb-1999 dillon

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 )


# 43198 25-Jan-1999 dillon

Commit first rc.diskless startup plus modifications to rc.conf and Makefile
to make it work. NOTE! Uses new kern.conf_dir sysctl.


# 42621 13-Jan-1999 hm

Integrate the ISDN subsystem into the /etc/rc framework
Reviewed by: Joerg Wunsch


# 42494 10-Jan-1999 rnordier

No longer install outdated boot.help file.


# 42479 10-Jan-1999 hm

add directory /etc/isdn and populate it


# 41758 14-Dec-1998 dillon

Remove rc.local (now deleted from CVS tree) from Makefile.


# 41703 12-Dec-1998 jb

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.


# 41667 10-Dec-1998 jb

Change to the current directory before doing the install. I !love make.


# 41647 10-Dec-1998 jb

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.


# 41274 20-Nov-1998 jdp

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.


# 40052 08-Oct-1998 markm

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.


# 40006 06-Oct-1998 phk

Here are some scripts and man pages for configuring HARP ATM
interfaces.

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


# 39636 25-Sep-1998 dima

Backout my previous commit. Oops.


# 39635 25-Sep-1998 dima

${DISTDIR}/bin/etc/objformat -> ${DISTDIR}/etc/objformat


# 39590 23-Sep-1998 jkh

initialize /etc/objformat for new installs, just to be sure.


# 39562 22-Sep-1998 max

Add fbtab and rc.devfs to BIN1 sothat they are included in the
distribution.


# 39495 19-Sep-1998 obrien

Remove useless `BINOWN=root' now that it is the default.


# 39146 13-Sep-1998 brian

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


# 39145 13-Sep-1998 brian

Add Id keyword


# 38711 31-Aug-1998 jb

MACHINE -> MACHINE_ARCH to allow PC98 to define MACHINE=pc98.

Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>


# 38160 07-Aug-1998 jb

The etc-sendmail.cf target is in src/etc/sendmail/Makefile, not
src/etc/sendmail/cf/Makefile. This was an obstacle to 'make release'.


# 38103 04-Aug-1998 peter

Descend into sendmail directory and update hooks for make release so that
it has a chance of working.


# 36902 11-Jun-1998 guido

Install motd once.


# 36415 27-May-1998 jkoshy

Install ${DESTDIR}/boot.help during `make distribution'.

PR: 6063
Submitted by: Doug <Studded@dal.net>


# 36106 16-May-1998 jb

Make ttys machine specific.


# 35832 07-May-1998 ache

Add new named configuration template and remove old template


# 31071 09-Nov-1997 brian

Don't mention removed ppp sample files
Pointed out by: jkh


# 30589 19-Oct-1997 jmb

add /etc/mail--the anti-spam files
branches affected: -current, RELENG_2_2, and RELENG_2_1_0


# 29950 28-Sep-1997 jkh

ppp.secret.sample listed twice, at the cost of ppp.shells.sample.


# 28266 16-Aug-1997 pst

Point at /etc/periodic


# 28205 14-Aug-1997 jkh

Further optimize crontab's installation.
Submitted by: pst


# 28204 14-Aug-1997 jkh

Yeesh! I completely missed the cron.d install here which did the right
thing already. Just remove the old references.
Noted by: pst


# 28162 13-Aug-1997 danny

Add ppp.shells.sample and ppp.deny to Makefile so they actually appear
in a release.

Reminded by: Satoshi and DavidG


# 28159 13-Aug-1997 jkh

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.


# 28120 12-Aug-1997 pst

Activate make distribute and pray I didn't break release building.


# 27837 01-Aug-1997 davidn

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>


# 27487 18-Jul-1997 asami

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


# 27212 05-Jul-1997 pst

netstart wasn't getting installed


# 26430 04-Jun-1997 asami

Remove /usr/local meddling.

Approved by: jkh


# 25184 27-Apr-1997 jkh

Bring in rc file changes from -current.


# 23037 23-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21673 14-Jan-1997 jkh

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

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

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


# 21526 11-Jan-1997 davidn

Adds a template/example login.conf, login class capabilities database.


# 20979 28-Dec-1996 peter

Get rid of the revolting hacks that were used to install the
/etc/sendmail.cf file.

Submitted by: bde


# 20403 13-Dec-1996 bde

Fixed missing install of BSD.include.dist.


# 20391 13-Dec-1996 jkh

magic file is no longer in /etc


# 19032 19-Oct-1996 pst

Recent ppp changes broke make release. :-(


# 17645 18-Aug-1996 wosch

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


# 17639 17-Aug-1996 wosch

make install should not install any file in /etc.


# 17594 14-Aug-1996 jkh

Remove root dotfiles which did more harm than good.


# 17148 13-Jul-1996 jkh

Merge.


# 17104 11-Jul-1996 pst

Add ability to override sendmail .cf file specification.
Add creation of ppp.log file since we rotate it now.


# 16709 25-Jun-1996 jkh

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.


# 15027 03-Apr-1996 phk

Add skeleton firewall setup(s). Comments very welcome.


# 14751 22-Mar-1996 nate

Install rc.pccard to get PC-CARD support (when available).


# 14662 17-Mar-1996 phk

Fix the pccard install.


# 14647 17-Mar-1996 markm

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


# 14104 15-Feb-1996 joerg

Install newsyslog.conf.

Bothered me in: all recent SNAPs


# 13997 09-Feb-1996 jkh

Add amd.map to BIN1 - having it here does no harm and makes activation
of the sample sysconfig entry (and amd) a snap.


# 13378 10-Jan-1996 ache

Add empty /var/log/slip.log creation to distribution: target where
other empty logs created.
Pointed by Bruce.


# 13132 31-Dec-1995 joerg

The etc.i386/fstab.* files have been nuked, so don't try to install
them.


# 12584 02-Dec-1995 peter

install freebsd.cf rather than freefall.cf by default after 8.7.2 import.


# 12540 30-Nov-1995 jkh

Install new dotfiles.


# 11853 28-Oct-1995 peter

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


# 11849 28-Oct-1995 ache

Back out bogus "fix" which was commited over right fix without any check.


# 11840 27-Oct-1995 julian

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


# 11807 26-Oct-1995 ache

Add test for symlink presence before remove it


# 11686 22-Oct-1995 ache

Fix 'upgrade' stuff, i.e. when make distrib-dirs runs not
on clean file system but for -current locale links upgrade.


# 11635 21-Oct-1995 ache

Implement locale.alias via links (including backward-compatible issue)


# 11408 10-Oct-1995 phk

Add pccard.conf to makefile.


# 9970 06-Aug-1995 bde

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.


# 9247 17-Jun-1995 ache

Rename ISO8859-1 to ISO_8859-1 per RFC1700


# 8857 30-May-1995 rgrimes

Remove trailing whitespace.


# 8494 13-May-1995 ache

Change ln -sf to rm -f and ln -s, first one work incorrectly
for directories when called second time


# 8435 11-May-1995 jkh

Lower-case the name of the DES directory. Yes, it's an acronym, but DOS
is still dOs.

Jordan


# 8365 08-May-1995 jkh

secure -> DES


# 7526 31-Mar-1995 jkh

Add modem database file for new tip changes.


# 7487 30-Mar-1995 rgrimes

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


# 7298 23-Mar-1995 jkh

Add rc.maint file.


# 7295 23-Mar-1995 phk

Install /etc/sysconfig


# 7273 23-Mar-1995 rgrimes

Convert from using old root.cache to new named.root


# 7222 21-Mar-1995 wollman

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.


# 7129 18-Mar-1995 rgrimes

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.


# 6982 10-Mar-1995 rgrimes

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.


# 6744 26-Feb-1995 ache

Move symlinks creation here


# 6717 25-Feb-1995 phk

make distribute change.


# 6177 04-Feb-1995 amurai

Adding ppp configuration files entry for distribution packages.


# 5948 27-Jan-1995 jkh

Edit out some extraneous tabs.


# 5690 17-Jan-1995 jkh

Remove the src tarball stuff from this Makefile - all the release
stuff is on its way out of here and into release/Makefile.


# 5646 15-Jan-1995 jkh

Catch the one I missed.


# 5630 15-Jan-1995 jkh

Make one last stab at making this work before I go.


# 5601 14-Jan-1995 jkh

Actually, there's a better way to do this whole srcdist tarball business.
Take first steps toward implementing it.


# 5599 14-Jan-1995 jkh

Clean up src-tarball definition.


# 5356 03-Jan-1995 ache

Remove adduser.conf & userids, not needed with new adduser


# 5271 28-Dec-1994 ache

Add adduser.conf & userids


# 4884 01-Dec-1994 dg

Install rc.serial.


# 4712 20-Nov-1994 phk

No point, what so ever, in installing /etc/myname


# 4487 14-Nov-1994 phk

Final changes. Now "make distribute" should work as advertised.


# 3992 29-Oct-1994 phk

Fixes related to release-production:
bdes only if !NOCRYPT
Always MAKEDEV in bindist, otherwise diskless installation is a mess.


# 3764 22-Oct-1994 phk

Reflect the fact that we only have one GENERIC kernel now.


# 3654 17-Oct-1994 phk

Various changes to the 1.1.5.1'sh install procedure.


# 3647 16-Oct-1994 phk

Some changes to the old floppies to handle the new /etc/init's way of doing
things.


# 3607 15-Oct-1994 phk

Format floppy before use. Make 1.44 Mb floppies for now.


# 3161 28-Sep-1994 ache

/etc/profile added (the similar stuff like in csh.login)


# 3018 23-Sep-1994 rgrimes

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.


# 3017 23-Sep-1994 rgrimes

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.


# 2906 19-Sep-1994 wollman

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.


# 2779 15-Sep-1994 rgrimes

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.


# 2619 09-Sep-1994 rgrimes

Correct path to crunch, and remove srccontrib tarballs (we have no more
srccontrib!)


# 2611 09-Sep-1994 rgrimes

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.


# 2570 08-Sep-1994 rgrimes

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.


# 2538 07-Sep-1994 pst

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


# 2499 05-Sep-1994 gpalmer

Change references of 'mount_isofs' to 'mount_cd9660' as needed by FBSD 2.0


# 1784 29-Jun-1994 jkh

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.


# 1782 29-Jun-1994 jkh

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.


# 1775 28-Jun-1994 jkh

Fix a simple makefile brain-o; didn't effect 1.1.5A since we don't compile
with CRYPT initially set.


# 1773 24-Jun-1994 jkh

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.


# 1769 24-Jun-1994 jkh

My last few changes to the release code plus a small termcap file
for the cpio floppy.


# 1768 22-Jun-1994 jkh

Whoops - missed a couple of intermediate files. Nuke 'em.


# 1767 22-Jun-1994 jkh

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.


# 1763 21-Jun-1994 jkh

Whoops - I missed a commit; EXTRACT scripts were misnamed. Correct.


# 1762 21-Jun-1994 jkh

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.


# 1759 20-Jun-1994 jkh

Commit some additional changes for making this work with obj dirs.


# 1739 15-Jun-1994 jkh

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.


# 1734 15-Jun-1994 jkh

Install manpath.config and mail.rc properly, and directly from the src
tree now (rather than having a local copy.


# 1731 15-Jun-1994 jkh

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


# 1695 08-Jun-1994 csgr

Change all lib*.so.1.0 to lib*.so.1.1
(Once again, pointed out by Volker Paepcke.)


# 1672 03-Jun-1994 jkh

Fix the absolute paths for boot blocks. Now uses ${DESTDIR}.


# 1664 31-May-1994 phk

added make.conf template, which does nothing.


# 1518 19-May-1994 guido

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


# 1515 19-May-1994 rgrimes

Add the installation of /var/crash/minfree with a value of 2048 so that
savecore will not FILL the /var partition.


# 1505 17-May-1994 jkh

Add manpath.config to the default list of things installed in /etc
for releases.


# 1448 03-May-1994 rgrimes

Use ISO9660/DOS compliant file names for the tar balls now.


# 1371 18-Apr-1994 rgrimes

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


# 1285 19-Mar-1994 rgrimes

Pull in changes just made to the BETA 1.1 branch for cd install floppy
support.


# 1243 06-Mar-1994 rgrimes

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


# 1205 23-Feb-1994 rgrimes

Update to generate the ISO9660 names for the floppy images, use fd1200
inplace of floppy5.


# 1195 21-Feb-1994 rgrimes

Whoops, forgot to $Id$ this file, and re-enable floppies target in
make release


# 1194 21-Feb-1994 rgrimes

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.


# 1133 09-Feb-1994 rgrimes

Add obj/ in front of freefall.cf so that the install works.


# 1130 08-Feb-1994 rgrimes

Update for new COPYRIGHT.* files.


# 1126 08-Feb-1994 rgrimes

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


# 1027 27-Jan-1994 ache

Remove obsoleted floppy partition from device name.


# 1014 25-Jan-1994 nate

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.


# 994 22-Jan-1994 rgrimes

Change ${RELEASEDIR}/filesystem to be filesys so hat it is ISO9660 compliant.


# 993 22-Jan-1994 rgrimes

Add SUPPORT.TXT and MIRROR.SITES to the top level FREEBSD files that get
installed in /.


# 813 01-Dec-1993 rgrimes

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.


# 644 21-Oct-1993 rgrimes

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.


# 568 10-Oct-1993 rgrimes

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


# 538 01-Oct-1993 rgrimes

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.


# 491 21-Sep-1993 rgrimes

Added BSD.local.dist to MTREE files so that it gets installed in /etc/mtree


# 482 18-Sep-1993 alm

Added /var/run to CPIO_DIRS


# 481 18-Sep-1993 alm

Added /etc/remote to CPIO files.


# 474 17-Sep-1993 alm

added /var/spool and /var/spool/lock to CPIO_DIRS. These are needed by
both tip and kermit.


# 463 14-Sep-1993 rgrimes

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!


# 461 13-Sep-1993 rgrimes

Removed DOS floppy build stuff, as this was just a poor idea that needs
a much better solution.


# 452 12-Sep-1993 rgrimes

More file shuffling between floppies, needed to get rm on filesystem
floppy. Removed duplicates from DOS floppy.


# 444 12-Sep-1993 rgrimes

Only put var and var/tmp in the cpio archive floppy, do not really need
the whole /var tree at this time.


# 436 10-Sep-1993 rgrimes

tar ball names converted from the form x.tar.gz.xx to x_tgz.xx so the
DOS folks are happy.


# 435 10-Sep-1993 rgrimes

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


# 418 08-Sep-1993 rgrimes

Made copy of sys/i386/floppy relative instead of abosolute path


# 412 08-Sep-1993 alm

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.


# 410 07-Sep-1993 rgrimes

Fixed missing slash after a ${DESTDIR} with no other path after it.


# 377 02-Sep-1993 rgrimes

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.


# 376 02-Sep-1993 rgrimes

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.


# 372 31-Aug-1993 rgrimes

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.


# 366 31-Aug-1993 rgrimes

Had to remove dd from the cpio floppy as we ran out of room due to some
growth in binaries.


# 358 30-Aug-1993 rgrimes

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.


# 355 29-Aug-1993 rgrimes

Added the RELNOTES.FreeBSD to the FREEBSD list. Changed all occurance
of make to ${MAKE}


# 347 28-Aug-1993 rgrimes

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.


# 333 26-Aug-1993 rgrimes

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.


# 320 22-Aug-1993 rgrimes

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.


# 288 13-Aug-1993 rgrimes

Enable lastlog install commands.


# 287 12-Aug-1993 rgrimes

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


# 286 12-Aug-1993 rgrimes

/etc/termcap is now created as a symlink to /usr/share/misc/termcap,
fixed creation of link for /etc/localtime.


# 284 12-Aug-1993 rgrimes

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!


# 277 10-Aug-1993 rgrimes

Added support to build i386-kc_floppy:, kernel copy floppy for FreeBSD.
Added support to build and install GENERICISA kernel in the binary
distribution.


# 266 09-Aug-1993 rgrimes

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.


# 264 09-Aug-1993 rgrimes

Fixed install of ${FREEBSD}, forgot to do a install -c so it removed the
files from src on the install of them!


# 263 09-Aug-1993 rgrimes

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.


# 258 08-Aug-1993 rgrimes

Removed man.conf since it is no longer used by the new manual page system


# 238 03-Aug-1993 root

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


# 207 29-Jul-1993 nate

Added a default host.conf (gethostnamadr() name resolver) which declares
to resolve all names via bind first and then try /etc/hosts.


# 196 26-Jul-1993 nate

Changed sys.386bsd to sys


# 169 20-Jul-1993 rgrimes

Fixed installation of sendmail. cd'ed to wrong directory. Now works
correctly.


# 168 20-Jul-1993 rgrimes

Added .if ${MACHINE} == "i386" section to do install of boot blocks, all
standard tools, copies of include files, and sendmail.


# 163 19-Jul-1993 rgrimes

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.


# 147 19-Jul-1993 rgrimes

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.


# 38 20-Jun-1993 rgrimes

This commit was generated by cvs2svn to compensate for changes in r37,
which included commits to RCS files with non-trunk default branches.


# 37 20-Jun-1993 rgrimes

Initial import of 386BSD 0.1 othersrc/etc