Commit Graph

227 Commits

Author SHA1 Message Date
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