Commit Graph

248 Commits

Author SHA1 Message Date
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
cgd
d0664cff6a make /var/spool/output and /kern, and disable example printer 1993-04-13 16:12:56 +00:00
cgd
f9487a0fe3 needed -f on that rm... 1993-04-12 09:44:53 +00:00
cgd
0ce421dcab get rid of /sys before you try to make the symlink... 1993-04-10 20:20:21 +00:00
cgd
acb8f0aa7e forgot to get rid of a \... 1993-04-10 20:11:57 +00:00
cgd
bfe8764966 make chmods explicit 1993-04-10 20:08:35 +00:00
cgd
d86bd05aad goddamned v macro added rcsid... 1993-04-10 11:46:28 +00:00
cgd
92beacd393 added distrib-dirs (which distribution depends on) to make the
dirs necessary for a distribution (e.g. /root, /tmp, /var/*, etc.)
1993-04-10 11:11:40 +00:00
cgd
897a62b804 move prototype fstab files into /etc rather than / 1993-04-04 06:14:47 +00:00
glass
b3d044e80e Added /etc/rpc for librpc support
fixed crontab so it works (oops)
fixed /etc/daily whatis.db support
1993-04-03 01:12:21 +00:00
cgd
2533074547 added `myname' to list of things to install (in support of
"better netstart")
1993-04-02 07:54:01 +00:00
glass
f1944c19e2 installs crontab in right place 1993-04-02 07:18:23 +00:00
cgd
62d312fac7 make passwd db right on "distribution" 1993-03-30 00:07:40 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00