Commit Graph

363 Commits

Author SHA1 Message Date
perry
9c429c8cc6 add default passwd.conf file 2002-04-15 03:01:31 +00:00
lukem
818750e0b3 if UNPRIVED, call ${PAX} with -N ${_SRC_TOP}/etc 2002-04-10 15:12:37 +00:00
lukem
cf1352743d now <bsd.kernobj.mk> defines KERNSRCDIR correctly, pull it in earlier
and clean up related goop
2002-04-10 14:57:45 +00:00
lukem
fbeeec837c When building kern-*.tgz, output an mtree specfile to pipe into
${PAX} -M so that the contents get the appropriate ownership.
Fixes [toolchain/16161] from Ben Harris <bjh21@netbsd.org>
2002-04-10 12:05:20 +00:00
matt
a6a8089c11 Don't install pcs750.bin in here anymore. 2002-04-09 18:07:24 +00:00
wiz
f4c143690e arm32 is not a valid MACHINE_ARCH anymore. 2002-04-07 15:52:27 +00:00
bjh21
9f2fd14aea When doing a "for" loop over a potentially-empty list
(${KERNEL_SUFFIXES}), put the list in a shell variable and use that.
Both bash (before 2.05a) and Solaris /usr/xpg4/bin/sh report a syntax
error otherwise.
2002-04-01 17:32:19 +00:00
bjh21
3f0d7066b3 Add a MAKESUMS variable which invokes makesums with CKSUM in its environment.
Use this whenever we want to invoke makesums.
2002-03-31 16:07:53 +00:00
matt
e4d7babf1f Change pcs750.bin processing so it works UNPRIVED=. XXX this needs to be
moved to someplace with an objdir.
2002-03-29 04:45:37 +00:00
lukem
4b99ad4ad4 provide check_DESTDIR and check_RELEASEDIR targets in <bsd.own.mk>
and use those rather than local versions
2002-03-05 03:51:21 +00:00
chs
4318a1a32b copy kernels to the releasedir even when KERNELS_DONE is defined
(i.e. only skip building the kernels).  fix some comments while I'm here.
2002-03-01 06:22:09 +00:00
lukem
7b1ed2d086 - add check_destdir and check_releasedir targets, and use appropriately
(easier to read that large nested .if's
- use INSTALL_FILE, INSTALL_LINK and INSTALL_SYMLINK instead of INSTALL
- when creating release directories, don't bother setting owner and group
2002-02-09 11:09:29 +00:00
lukem
6af35d5a81 - replace "tar -cf - ... | gzip -9 > foo" with "GZIP=-9 ${PAX} -zwf foo ... "
- more comment hacking
2002-01-27 06:49:22 +00:00
lukem
03a5940a64 - add the following targets to the DESTDIR=="" check:
install-etc-files iso_image_mi iso-image_md_pre iso-image_md_post snap_kern
- add the following targets to the RELEASEDIR=="" check:
    iso_image_mi iso-image_md_pre iso-image_md_post snap_kern
- improve comments around make .flow control statements (including adding
  some helper # { ... # } comments around large .if statements for (ab)use
  with vi showmatch mode)
- clean up whitespace
2002-01-27 01:44:02 +00:00
tv
a2291b79c0 MKfoo=no -> NOfoo= 2001-12-12 00:07:45 +00:00
jmc
5baaa9092b Make pwd_mkdb a conditional set so bsd.own.mk can override it 2001-12-07 02:30:22 +00:00
thorpej
8aa58740cf Add support for specifying extra kernel name suffixes to search for
when building the kernel sets and placing gzip'd kernels in binary/kernels.
For example, if KERNEL_SUFFIXES were set to "ecoff srec", then the kernel
set would include:

	netbsd
	netbsd.ecoff (only if it exists in the kernel compile directory)
	netbsd.srec (only if it exists in the kernel compile directory)

This is useful for packaging kernel sets for platforms which have
extra special requirements for loading the kernel.
2001-11-30 18:50:09 +00:00
thorpej
44f4566e1a Change the way kernel sets are specified, and make them
more consistent.  To quote the comment in etc/Makefile
that describes how it's done:

# This target builds the kernels specified by each port.  A port may
# specify the following kernels:
#
#       KERNEL_SETS             The list of kernels that will be
#                               packaged into sets, named
#                               kern-${kernel}.tgz.  These kernels
#                               are also placed in the binary/kernels
#                               area of the release package as
#                               netbsd-${kernel}.gz.
#
#       EXTRA_KERNELS           Additional kernels to place in the
#                               binary/kernels area of the release
#                               package as netbsd-${kernel}.gz, but
#                               which are not placed into sets. This
#                               allows a port to provide e.g. a netbootable
#                               installation kernel containing a ramdisk.
#
#       BUILD_KERNELS           Additional kernels to build which are
#                               not placed into sets nor into the
#                               binary/kernels area of the release
#                               package.  These are typically kernels
#                               that are built for inclusion only in
#                               installation disk/CD-ROM/tape images.
#
2001-11-29 22:45:53 +00:00
thorpej
ff0f6d3aec Fix oversight in the addition of install-etc-files target; move the
.endif for DISTRIBUTION_DONE to the right place.
2001-11-25 18:19:14 +00:00
perry
33c33d421a Synthetically generate metadata entries for passwd, spwd.db, pwd.db.
XXX Note that it can easily be argued that these should be generated by
the installer, not shipped in the tar files, but that's for another day.
2001-11-24 21:41:12 +00:00
thorpej
ba119b4fb0 Split the "distribution" target into "distribution" and "install-etc-files",
the latter being called by the "distribution" target.  This allows the
various /etc/... files to be installed manually in a convenient way, if
desired.

NOTE: It is INTENTIONAL that this target is not named "install".
2001-11-20 16:07:59 +00:00
perry
2d02e3afad UNPRIVILEGED->UNPRIVED 2001-11-19 05:05:06 +00:00
tv
0b5c0ba712 Make the TARGET_ENDIANNESS check only valid when making release, snapshot,
or distribution.

Also, clean up the check and include <sys/endian.h> instead -- some platforms'
<machine/endian_machdep.h> pull in the definitions of _BIG_ENDIAN and
_LITTLE_ENDIAN, invalidating the test; this makes the check values uniformly
"4321" and "1234" respectively.
2001-11-13 17:14:27 +00:00
jmc
7526979e21 Don't run rules unless DESTDIR is set *and* contains a value. Fixes PR 14410 2001-10-31 02:58:58 +00:00
perry
6476719bea Add rm's before symlink and hard link commands.
Shouldn't be needed, but install has no other good way to deal with
this.

Pointed out by Rob Windsor in PR 14394 -- I committed his patch plus
one for something he didn't hit yet.
2001-10-29 22:18:28 +00:00
perry
6ca8767be9 Now that it will actually work, replace instances of ln with install. 2001-10-29 01:19:19 +00:00
jmc
6d536163de Change defaults for kernel compiles. Default all to USETOOLS?=no and have
the etc Makefile override that by putting USETOOLS into $.MAKEOVERRIDES
This way the default for kernel compiles is still to use the installed
toolchain instead of depending on $TOOLDIR. $TOOLDIR can be used by
simply adding USETOOLS=yes to the command line as usual.

Adjust each ports template to set the default no setting and also pull in
bsd.own.mk if they weren't already to ensure they'll build correctly
with the new toolchain setup.
2001-10-26 06:45:33 +00:00
tv
3f973487e6 Since <bsd.prog.mk> is included, we already have a full list of default
build rules for all standard targets.  Remove the manually-created list
of empty rules.
2001-10-24 02:43:13 +00:00
tv
80439f53c0 Do not run MAKEDEV on "make distribution". The device nodes are not part
of the resultant tarballs; only the MAKEDEV script itself is.  Running
MAKEDEV here can futz with cross build hosts.
2001-10-19 15:07:48 +00:00
lukem
6c2d977e6f A few more changes, from more discussions with Andrew Brown.
- Resurrect /etc/changelist, even if it's an "empty" file by default,
  because it's easier to use than /etc/mtree/special.local for adding
  a couple of simple files. Back by popular demand (hi @@@! :-)
- Add /etc/rc.d/* to the list of "dynamic" files; this notices changes
  in user-added scripts
- Only calculate the mtree -I nomail list once, and re-use
- Use "cat foo | while read file" instead of "for file in `cat foo`" ;
  handles whitespace better...
2001-10-13 14:22:11 +00:00
lukem
96a1608ee4 Major overhaul, with help from Andrew Brown <atatat@netbsd.org>.
Features:
- Add a bunch of stuff to /etc/mtree/special to enable removal of
  /etc/changelist:
	- files which we want to monitor for changes but don't want to
	  see the diffs of (master.passwd, ssh_host_key, ...) are
	  tagged with "nomail"
	- files which we don't want to monitor are tagged with "exclude"
	  (such as netgroup.db, kvm.db, ...)
	- monitor /etc/mtree/special.local, /root/.ssh/*
	- remove /etc/changelist, and a bunch of XXX comments
	- use mtree(8)'s -D, -I, and -E to generate lists of files to
	  actually do the changelist stuff on.
	- support /etc/mtree/special.local as an optional user-provided
	  version of /etc/mtree/special (effectively, an enhanced
	  /etc/changelist)
- Add code to monitor: /etc/ifconfig.* /etc/raid*.conf /etc/rc.conf.d/*
  including support for these files being added and removed at will.
- If /sbin/fdisk exists, backup the output of "fdisk $disk" for all
  the active disk drives as part of $check_disklabels
- Check permissions on: ~/.ssh/* ~/.shosts

Details:
- Reorder initialisation of defaults
- Remove special case for /etc/master.passwd "monitor but don't email diffs"
  with general case for other similar files.
- Keep all `autogenerated' files (such as disklabel.*, setuid.current, ...)
  in "$backup_dir/work", to minimise name clashes.
- Add migrate_file(old, new) to do the hard work of migrating files
  from the old `top level' /var/backups mechanism to the `full path'
  mechanism recently added. Use this appropriately.
- Add backup_and_diff(file, printdiffs), to the hard work of backing-up
  and diff-ing files.
- Cleanup use of shell redirects
- /bin/sh supports ~root globbing, so use it.
- Improve umask checking; use awk regex rather than awk math
2001-10-12 05:18:23 +00:00
chs
d15ad88d82 skip "distribution" step if DISTRIBUTION_DONE is set. 2001-10-10 06:58:56 +00:00
enami
a28fcd776c Make mtree a host tool and use it when appropriate. 2001-10-09 05:19:03 +00:00
tv
c4d13adb05 Append / to ${DESTDIR} in distrib-dirs rule; fixes PR bin/14080. 2001-10-04 16:46:22 +00:00
mrg
31be837848 support kernel configs called `../../sparc64/conf/GENERIC32', and the like,
by stripping the dirname off by using ${configfile:C/.*\///} where necessary.
2001-08-23 14:37:02 +00:00
matt
799202c512 Fix botched commit (a conflict was committed). 2001-08-05 03:37:37 +00:00
tsutsui
e6b1a09d07 Use "mtree -U" instead of "mtree -u" on making distrib-dirs
to ignore file hierarchy unmatches and check exit status of mtree
to detect actual errors on it (like "unknown user/group" etc).
2001-08-04 18:41:18 +00:00
itojun
7759c4c1c7 do not try to install rtadvd.conf 2001-01-21 15:03:22 +00:00
christos
410cfa811a more dup target fixes... snap_md_post should be fixed in etc.i386
Makefile.inc not to work if $RELEASEDIR or $DESTDIR is not defined.
2001-01-14 06:08:24 +00:00
christos
79c236a085 protect against multiple target definition for parse_md_post 2001-01-14 05:31:36 +00:00
simonb
04935f138a Only need to "make distribution" in usr.bin/ssh once. 2001-01-09 02:13:54 +00:00
jlam
4275d75e69 Correct comment for KERNOBJDIR. 2000-12-02 18:04:45 +00:00
simonb
13e5202536 Get the TARGET_ENDIANNESS by running ${CC} -E over
<machine/endian_machdep.h>.  Fixes problems where
<machine/endian_machdep.h> just includes another file
without defining _BYTE_ORDER itself.
2000-11-30 11:31:05 +00:00
jdolecek
8b43f30672 Call pwd_mkdb with proper flag, so that it creates database in same
endianness as compile target. This is primarily for cross compiles.
Hopefully this method (looking into
${DESTDIR}/usr/include/machine/endian_machdep.h) is okay.

Patch sent by Andrew Brown in bin/11454.
2000-11-09 20:01:54 +00:00
thorpej
a84221b9db Just nuke the "build aliases.db" stuff from here. It's not
necessary, as /etc/rc.d/sendmail will already rebuild DB files
automatically if necessary, and doing aliases.db here just
totally breaks cross-compiling.
2000-10-30 21:48:20 +00:00
jmc
52645e1ee3 Moved comment about rm out of shell command area. (typo) 2000-10-29 05:16:53 +00:00
jmc
6349db47e1 Ignore errors from the rm in snap_pre. RELEASEDIR could be a mountpoint and
rm complains because it can't actually nuke the mount point. Anything serious
like permissions or I/O errors will get caught in the install's after this
anyways.
2000-10-23 01:50:37 +00:00
garbled
b1fd9718d4 When building kernels for a release (snap_kern) use "distclean" instead of
"clean" to get rid of any .depend files that might be lying about in the
kernel build directory.
2000-10-19 17:53:41 +00:00
simonb
654fd3b749 cd to skel during "make distribution".
Part of fix for PR bin/10985.
2000-10-16 13:18:36 +00:00
hubertf
144164c6e4 Fix typo in iso-image target that led to the cdrom-directory not being
excluded in the iso image (nothing harmful).
2000-10-14 16:45:42 +00:00
thorpej
bf69b1a900 Do the `distribution' target for usr.bin/ssh, too. 2000-10-01 22:31:04 +00:00
lukem
b5b6e95c7b move default config files from /etc/default -> /etc/defaults, to be
consistent with what FreeBSD uses /etc/defaults for, and since SVR4
uses /etc/default for another purpose.
as discussed on tech-userlevel, and no objections were made.
2000-10-01 05:49:26 +00:00
hubertf
b4b75848de Add standalone "iso-image" target that can be run with DESTDIR and RELEASEDIR
set in src/etc after a "make release" in both "src" and "xsrc", to create a
ISO-image of the release in $RELEASEDIR/installation/cdrom.

Hook for architecture dependent pre/post-processing in etc/etc.*/Makefile.inc
are available as 'iso-image_md_post' and 'iso-image_md_pre', see
etc/etc.i386/Makefile.inc as an example. Might be useful for setting up
bootable CDs on alpha, sparc, ...

Reviewed by Todd Whitesel and Thomas Klausner.
2000-09-11 21:53:30 +00:00
jhawk
3635b53ea7 As .ifndef RELEASEDIR checks for targets:
snap_pre snap_md_pre snap_md_post
so should .ifndef DESTDIR
2000-08-23 20:48:42 +00:00
lukem
801142dbde - install files in etc/default/
- migrate rc.wscons to (already existing) rc.d/ wscons
2000-08-21 23:03:10 +00:00
fvdl
4ed8b47725 Do not create the binary/security directory, there is no seperate
security set anymore.
2000-08-06 18:10:48 +00:00
kleink
a8c7e91153 As discussed with Hubert Feyrer in private mail, install UTC as the default
time zone; while amounting to the same offset, the time zone 'name' of
Factory violates the prinicple of least surprise.
2000-08-03 13:00:02 +00:00
hubertf
343777f0d3 Change default timezone from US/Pacific to Factory:
Before:
    Wed Aug  2 06:53:04 PDT 2000

After:
    Wed Aug  2 13:52:52 Local time zone must be set--see zic manual page 2000
2000-08-02 14:40:45 +00:00
thorpej
fe54e81eb3 Also do ../usr.bin/ssh for the `distribution' target. 2000-07-25 19:07:39 +00:00
thorpej
e7d6b96938 Merge a bunch of things from crypto-us and crypto-intl into basesrc,
adding support for Heimdal/KTH Kerberos where easy to do so.  Eliminate
bsd.crypto.mk.

There is still a bunch more work to do, but crypto is now more-or-less
fully merged into the base NetBSD distribution.
2000-06-20 06:00:24 +00:00
fredb
21fcee54a9 Loosen sendmail's permission checks for building the aliases.db file
even further. Particularly, allow ${DESTDIR} to be within a world writable
directory, such as /var/tmp.
2000-06-12 06:23:21 +00:00
perry
4d477e62b7 install ttyaction if it exists 2000-06-03 23:53:17 +00:00
fvdl
02cd59a751 * Portmap is now called rpcbind.
* Add IPv6 RPC entries to inetd.conf (commented out by default, as the others)
* Add netconfig file, needed for TI-RPC code.
2000-06-02 22:54:08 +00:00
lukem
78abee064b remove netstart 2000-05-13 08:07:01 +00:00
sjg
4157176c27 Added an obj target to ensure that KERNOBJDIR exists - in case
we are using MAKEOBJDIRPREFIX.
Fixed the comment about why we grab ../Makefile.inc
2000-05-06 07:52:19 +00:00
itojun
14e9ff0043 correct typo (sendmail upgrade) 2000-05-03 11:37:16 +00:00
itojun
366bbade5a sync with sendmail upgrade.
- sendmail configuration files are in /etc/mail, not /etc.
- src/etc/aliases will be installed into /etc/mail/aliases (confusing)
- rc.d/sendmail warns if /etc/sendmail.cf exists.
2000-05-03 10:55:19 +00:00
sjg
45fb67b360 remove/change missleading comments 2000-05-03 00:10:33 +00:00
sjg
734bcf16ec Use bsd.kernobj.mk
Also if KERNELS_DONE is defined skip building kernels.  Handy if re-spinning
due to errors in distrib later on.
2000-05-02 06:41:44 +00:00
thorpej
0a43d29758 Install the localhost namedb file. 2000-05-01 05:29:34 +00:00
perry
31d7194c3f Add "make distribution" for Postfix. 2000-04-30 21:45:55 +00:00
tsarna
163510ecf4 The file /etc/sysctl.conf is now run with sysctl -f at boot time.
This replaces the previous /etc/rc.d/sysctl. Also, the variables are now
set earlier, between ipf/ipnat and the network coming up.

The rc.conf defcorename and securelevel variables are no more. You can
set them directly in sysctl.conf now.
2000-04-08 23:02:53 +00:00
thorpej
47cd48f3db Use distrib/sets/Makefile in the release: and new cryptoset: targets. 2000-03-28 00:39:17 +00:00
lukem
c132a440d2 install rc.d scripts 2000-03-10 11:59:35 +00:00
joda
89c2906ea5 explicitly allow writable directories when rebuilding the alias
database, otherwise this will fail if any directory in ${DESTDIR} is
g+w.
2000-03-01 16:48:35 +00:00
itojun
627898817e sync with etc/namedb change (IPv6 loopback reverse database file) 2000-03-01 11:21:13 +00:00
mycroft
f4665e12b2 Install a blank sendmail.st here. 2000-02-26 18:42:31 +00:00
mycroft
ad78992969 Always checksum binary/kernel, now that there is at least one file in it. 2000-02-20 03:32:37 +00:00
mycroft
f10265540b Always install GENERIC in the kernels directory. 2000-02-20 03:10:50 +00:00
erh
aae51fbc36 Check for CRYPTOPATH variable instead of "../domestic" when deciding to build the secr set. 2000-02-14 18:37:39 +00:00
tron
c089f6c69a "sendmail" is in "src/gnu/usr.sbin/sendmail" now. 2000-02-09 08:15:12 +00:00
jlam
4a47d48db2 Install correct ld.so.conf if etc.${MACHINE}/ld.so.conf exists. 2000-02-05 18:25:01 +00:00
veego
bba35f4508 Install named/0000:0000:0000:0000:0000:0000:000 and ntp.conf to fix the
damage in distrib/lists.
2000-02-04 09:24:08 +00:00
veego
f250672496 We don't have a bind4. 2000-02-03 17:51:51 +00:00
christos
2c7fa0c23b Pick up a machine dependent ld.so.conf 1999-12-13 10:19:32 +00:00
mycroft
6c011bf076 Install root's .shrc. 1999-11-05 11:31:40 +00:00
perry
ddcff2dcf5 Add an at.deny file by default, so that (by default) users can use at
and batch (as is historic practice, and as was our practice before
last year.) If someone wants to disable such use, they can just remove
the file.
1999-10-20 17:57:55 +00:00
mjl
e7795f36b9 Use sendmail.cf from $DESTDIR/etc instead of /etc for building the
aliases.db since that fails if we have a sendmail.cf installed that
has no MAILER(local) like nullclient.
1999-09-26 21:40:13 +00:00
sommerfeld
ef22c28d6f Use ${CONFIG} rather than config so cross-builds can correctly select which one to use. 1999-09-16 00:30:06 +00:00
simonb
b729f2c755 Use ${INSTPRIV} with ${INSTALL}. 1999-08-21 06:27:29 +00:00
is
805851f4c7 Provide a script to compute the distribution set checksums.
Make the Makefile use it, instead of calling cksum manually.
1999-07-22 20:10:16 +00:00
mycroft
b28948e638 Make an aliases.db file when we install the aliases file. 1999-07-21 06:51:30 +00:00
fvdl
ec3e468086 sparc and i386 do not have ld.so.conf anymore now that they're switched
(or about to switch) to ELF.
1999-07-04 22:11:06 +00:00
itojun
134b5f49f2 rtadvd: advertise IPv6 prefix info via router advertisement.
(to be run on routers)
1999-07-02 09:28:16 +00:00
ross
59c991a23e Document BUILD_KERNELS. 1999-06-30 18:42:03 +00:00
gwr
551aad7b51 The snap_kern target is not sufficiently flexible.
Allow Makefile.in to provide its own.
1999-05-21 03:45:50 +00:00
simonb
ae25beb28c + Put directories to create in ${RELEASEDIR} into a variable that
port-specific Makefiles can add to.
+ Separate snap_md into snap_md_pre and snap_md_post that are depended
  on before and after snap_kern.
+ Build all kernels listing in ${BUILD_KERNELS}, but don't put them in
  ${RELEASEDIR}.
1999-04-27 03:08:02 +00:00
fair
31f06c6bd1 OK, adjust the kernel finder one more time to handle the case of a config
file that just does "include" GENERIC, and therefore has no "config" line.
It's simplest to assume that "netbsd" will be the result in that case.
Rather than duplicate config(8)'s parser in awk (or something), we should
adjust config to parse the config file and spit out the kernel names, and
then use that to replace this awk script thing.
1999-04-10 04:41:52 +00:00
fair
d023c654fd Slight tweak to the EXTRA_KERNELS build commands to work around a shell
parsing wierdness.
1999-04-08 08:24:44 +00:00
fair
5048fc1b17 NetBSD's very clever kernel build system can make more than one
kernel per config file and the resulting kernel need not be named
"netbsd"; therefore paw through the config file after the kernel
builds are done, find them all, and put them where they belong per
release(7). This all done with some clever awk/sh scripting, from
PR 7180 by David Forbes.
1999-04-04 09:57:11 +00:00
fair
2f7a39463f Create /var/log/aculog with appropriate permissions, per PR 6675 1999-04-03 09:40:38 +00:00
perry
7824e2333c NO_POSTFIX should have been BUILD_POSTFIX with reversed sense. 1999-03-29 16:40:44 +00:00
simonb
e8d9f12b08 Add a NO_POSTFIX check to allow \'make distribution\' to work. 1999-03-28 21:31:11 +00:00
mrg
3018f8d67b postfix support. 1999-03-27 05:17:08 +00:00
drochner
d8f89f1b7b install wscons.conf 1999-03-24 20:12:21 +00:00
drochner
0fc97689ec introduce a "wscons" rc.conf flag and run /etc/rc.wscons from /etc/rc
if it is set
1999-03-14 14:04:40 +00:00
scottr
a443f8c15c Make the includes and install targets consistent, and shove the
ugly hack into the etc/Makefile distribution target instead of
the top-level build target.  Problem noted by Mycroft.
1999-03-10 19:10:14 +00:00
cjs
34d3f1c35f Add comment that release is a synonym for snapshot, and make release
present everywhere snapshot is.
1999-03-08 02:37:56 +00:00
mycroft
73230d62d0 Only install ld.so.conf on machines where we install ld.aout_so. 1999-03-05 07:21:44 +00:00
itohy
72e04f8dd5 Make "make release" work without US domestic source
and with more than one extra kernels.
1999-02-19 05:58:40 +00:00
fair
108440dc7b The "secr" set is not made by default by maketars; add stuff to
make it unless EXPORTABLE_SYSTEM is set.
1999-02-18 19:42:51 +00:00
fair
36fe2839e4 Remove "tar" command from EXTRA_KERNELS section; those files are
expected to be ".gz" not ".tgz"
1999-02-18 19:03:44 +00:00
lukem
dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
cjs
205851f433 Use slightly cleaner syntax for release/snapshot target. 1999-02-11 22:48:11 +00:00
cjs
f0ddf07eb2 Add a release' target, which is a synonym for snapshot.' 1999-02-11 18:19:21 +00:00
cjs
c95ddabf17 Change a BUILD to an UPDATE that I missed in the last commit. 1999-02-09 19:55:58 +00:00
cjs
c8a68d41ad .ifndef BUILD should be .ifndef UPDATE (to avoid `make clean'). 1999-02-07 06:51:41 +00:00
cjs
7d1e96cc2f Update all this crap so that `make snapshot' makes snapshots in release(7)
format, rather than in some unknown format. Also clean up the code a bit,
remove some code duplication, and add documentation to the Makefile.
1999-02-05 03:01:49 +00:00
mycroft
09e3c8fe87 Make the default named configuration more ... sane. 1999-01-22 01:41:19 +00:00
lukem
f1a39bf406 install sample nsswitch.conf 1999-01-16 14:25:47 +00:00
abs
dd22f79d3e Install /etc/skeykeys 600 - from PR6519 by andrew@untraceable.net, tested OK. 1999-01-06 06:08:37 +00:00
perry
5d4a051b53 add mailer.conf, and leave a bit more room in the BIN1 lines for the future 1998-12-25 22:18:19 +00:00
tron
c801fd815d BIND 8 is the default now. 1998-11-19 19:53:33 +00:00
kim
2c6f26cf27 Pay attention to NO_SENDMAIL and USE_BIND8 1998-11-02 03:32:22 +00:00
bad
96cda5fe94 A basic /etc/rc.shutdown. Bails out if do_rcshutdown!=YES in /etc/rc.conf
(default is YES).  Kills xdm and waits for it to terminate if it was enabled
in rc.conf (based on a code snippet from Ignatios).
1998-10-29 20:24:56 +00:00
lukem
06b0ffe181 distclean is a synonym for cleandir 1998-09-05 14:46:13 +00:00
perry
c750c6fddc Add a variable, INSTALL_DONE, that indicates that a make install was
already done (say, by "make build"). This is often of help when
building releases.
1998-07-22 16:37:54 +00:00
mikel
1895ff2657 back out last change, /etc/aliases.db now auto-rebuilt by default sendmail.cf 1997-12-22 05:58:58 +00:00
mikel
91b08a9d37 build $DESTDIR/etc/aliases.db in distribution: target 1997-12-18 06:31:33 +00:00
perry
b1e6db6460 add an ld.so.conf for all ports 1997-12-17 22:41:05 +00:00
mrg
c854ff0798 create etc/mtree/Makefile and let it deal with what files are installed. 1997-12-02 06:52:14 +00:00
perry
71c588580c cribloo -> criblog 1997-11-24 02:03:44 +00:00
mrg
e7f9829b60 install empty games data files with the correct perms for a distribution. 1997-11-20 08:53:06 +00:00
jonathan
8fb5daf0f7 Allow etc.{$MACHINE_ARCH}/Makefile.inc to add files to BIN1, BIN2, BIN3. 1997-11-11 04:37:17 +00:00
chuck
dcab1fe15c fix typeo in prev commit 1997-10-23 22:53:30 +00:00
hubertf
576b498857 Install BSD.pkg.dist in ${DESTDIR}/etc/mtree
(used from within bsd.port.mk)
1997-10-19 15:27:25 +00:00
mycroft
ca61184b11 Add a BIN3 for files installed with mode 0600 (e.g. hosts.equiv). 1997-10-08 10:47:42 +00:00
mycroft
33aa7a562f f before t... 1997-09-12 17:42:08 +00:00
mycroft
0d67d0dcc3 Nuke myname. 1997-09-07 10:08:31 +00:00
veego
08b399c5ce Add rc.subr to BIN1 1997-08-29 09:28:50 +00:00
perry
9dee21c94e add a default minfree file (requested by David Brownlee, pr-1577) 1997-07-30 22:17:55 +00:00
mikel
8736878363 add sample /etc/profile, cribbed shamelessly from csh.login. consists
solely of comments.
1997-06-21 06:07:38 +00:00
cjs
7a66732d34 Back out BUILDDIR and NOINSTALL changes. 1997-05-31 21:21:13 +00:00
cjs
5fd7ce7066 These updates to the build allow building against include files
and libs in the object tree, if you use a separate object tree,
while maintaining backward compatability with other build methods.
See the notes in src/share/mk/bsd.README for full details. Note
that the `make includes' target now only installs the include files
in the build directory (if you use one--otherwise they go in DESTDIR
just like before); `make install' will install include files in
DESTDIR.
1997-05-26 03:55:19 +00:00
perry
3deb2910ff Add /var/log/authlog and /var/log/xferlog.
The permissions and especially ownerships of all the /var/log files
should be re-examined -- bin:bin really isn't right for these files.
1997-04-02 05:23:49 +00:00
perry
9e2aafedeb remove chroot on pwd_mkdb -- use -d option instead 1997-03-24 18:10:00 +00:00
perry
9eac259efc mtree/4.4BSD.dist -> mtree/NetBSD.dist 1997-03-13 04:32:11 +00:00
mikel
1e59980d14 merge in 4.4BSD-Lite2 changes. only SCCS IDs were changed, since all
of the lite1-lite2 differences were either already present or
inappropriate.
1997-02-25 07:37:19 +00:00
mikel
57a32a3776 merge lite-1 changes (ftpwelcome, .klogin perms).
also eliminate redundant copy of motd.
1997-02-21 08:14:08 +00:00
pk
e55f4e99bf Missing `)'. 1997-02-10 00:19:08 +00:00
mikel
85e2541022 install namedb files from subshell so distribution target will work
with -j; from PR misc/3116
1997-01-22 04:10:42 +00:00
perry
21e443a885 mail.rc now installed by 'make distribution' -- fixes pr-3015 1997-01-16 23:10:16 +00:00
thorpej
81e84482e0 Add missing "\". 1997-01-09 06:38:16 +00:00
mrg
4dcb246ef0 add files related to the new rc world order. 1997-01-08 23:59:50 +00:00
jtk
840a8b60a9 add floppy formatting table 1996-11-29 16:31:54 +00:00
lukem
b06fb1f02b - send authpriv to /var/log/secure only (not to console or /var/log/messages)
(closed [misc/574])
- send ftp to /var/log/xferlog
- prevent anything that goes to a restricted file (e.g., /var/cron/log)
  ending up in /var/log/messages
- rotate /var/lgo/secure
- install the default logs with permissions consistant with those
  set by newsyslog.conf (and commonsense)
1996-11-20 04:33:24 +00:00
ragge
85ac030199 Move vax-specific microcode install stuff into etc.vax. 1996-10-26 08:12:09 +00:00
thorpej
871c9c08af Use ${INSTALL}. 1996-10-18 02:37:51 +00:00
perry
a49720ce9d add a comment documenting what the NOOBJ variable is here for. 1996-10-16 01:30:11 +00:00
perry
f306045ae7 remove md tahoe conditionals -- we don't need them. 1996-10-15 23:59:32 +00:00
cgd
49919b46dc add a no-op 'includes' target for completeness. make 'make distribution'
do a 'make includes' as well as install, so that distribution trees will
contain includes.
1996-06-05 21:55:13 +00:00
mrg
ae9c1a8712 install mrouted.conf, networks and rbootd.conf. pr#2288 1996-05-22 01:27:34 +00:00
pk
46261e552d Include `usr/libdata' in snapshot (from Arne Juul; PR#1711). 1995-11-01 13:52:40 +00:00
thorpej
93ef912509 New-style RCS id. 1995-10-17 08:58:11 +00:00
tls
1edde6992c distribution target should run MAKEDEV; it's both harmless for tar distributions and useful for making bootable distribution media 1995-10-08 04:09:06 +00:00
deraadt
db311cc316 in the name of compatibility, link /etc/rmt -> /usr/sbin/rmt, since
"/etc/rmt" is hardcoded into many old rmt-using programs.
1994-06-28 21:48:46 +00:00
cgd
fc92eef735 update for new mtree, and a bit or paranoia! 1994-06-19 04:40:28 +00:00
deraadt
f9ee61ab81 motd defaults to 664 root:wheel, and the mode is not changed every reboot 1994-06-16 18:59:14 +00:00
cgd
91778fe0ca update to new security script 1994-06-15 04:28:06 +00:00
deraadt
9400c4fae6 create skey password file 1994-05-24 06:09:47 +00:00
glass
6cc6cf15ee move bootpd from othersrc to libexec. add bootptab file 1994-04-18 05:15:36 +00:00
cgd
24eb7e91c0 add default ftpchroot (with bogus entry) for the latest ftpd mods 1994-04-06 20:54:01 +00:00
cgd
ec44c19a27 add 'snapshot' target, including machine-dependent targets 1994-03-05 08:06:41 +00:00
cgd
485a51fe35 daily, montly, weekly no longer special 1994-02-19 11:04:45 +00:00
cgd
43e93f90a8 msgs stuff 1994-02-19 08:08:30 +00:00
cgd
dfe4ca78d7 dtrt with /var/cron/log 1994-02-17 00:12:56 +00:00
cgd
d69870dda1 make DESTDIR in distrib-dirs if it doesn't already exist. 1994-02-10 23:23:34 +00:00
cgd
43c245f03b slight consistency 1994-02-09 07:32:23 +00:00
cgd
2902d380f1 install a prototype sendmail.cf 1994-02-09 07:29:36 +00:00
cgd
6b38148aa1 fix jtc's recent Makefile.inc change, and be paranoid about 'make distribution' 1994-02-06 06:48:46 +00:00
cgd
4127f9529e pull ttys out of ${MACHINE} 1994-02-05 07:26:19 +00:00
jtc
30907e519a Include etc.${MACHINE}/Makefile.inc if it exists.
This will allow us to separate machine dependant and machine independant
install stuff/make targets/etc.
1994-02-05 02:01:49 +00:00
jtc
e31d091b11 Use mtree to install ${DESTDIR}/usr 1994-01-28 00:50:30 +00:00
jtc
619b9ca426 Use mtree to install ${DESTDIR}/var 1994-01-08 03:09:05 +00:00
jtc
87abaf9c31 Have to create ${DESTDIR} before mtree can do its thing. 1994-01-08 00:27:42 +00:00
jtc
fb70ef717c Remove lots of mkdirs/chmods/chowns and enable root "mtree". 1994-01-07 23:55:00 +00:00
jtc
51923ce5e2 Added mtree commands to distrib-dirs target.
(Currently commented out until mtree files are updated)
1994-01-07 23:29:07 +00:00
mycroft
a9f932a6a3 Add at(1) directories to distrib-dirs. 1993-12-11 07:49:52 +00:00
jtc
adbcdfe314 Create /var/msgs. 1993-10-26 18:07:31 +00:00
mycroft
cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
cgd
14f24649d0 do the right thing with TZDIR 1993-07-17 14:17:24 +00:00
cgd
707634cdb7 fix stupid vi typo 1993-05-31 02:04:42 +00:00
cgd
a2a6f44162 fix makefile for new f***ing cron, once and for all. 1993-05-28 09:22:20 +00:00
cgd
a5a32a3cd7 adjust owner/group for new cron security checking 1993-05-28 09:10:43 +00:00
deraadt
6877343009 Make the /etc/localtime symbolic link in "make distribution" instead 1993-05-25 09:16:14 +00:00
cgd
640e7bf41e arrange for all log rotations to be handled by /usr/bin/newsyslog 1993-05-21 14:45:16 +00:00
cgd
d4fd306b8d make sys point to /usr/src/sys 1993-05-17 06:01:15 +00:00
cgd
a21ff8dbcd make /usr/obj and /var/db/locate.database when making distribtion 1993-04-30 05:18:53 +00:00
cgd
1614399ffc forgot a \... 1993-04-13 16:17:59 +00:00
cgd
fd29a1fd79 oops. screwed that up... 1993-04-13 16:15:29 +00:00