Commit Graph

2804 Commits

Author SHA1 Message Date
perry 9ae5a89aa8 it is okay for the sendmail and postfix .cf files to be writable by root 2003-01-08 15:34:18 +00:00
jhawk 2c3ae584e1 Run ldconfig with ${rc_flags} so you can set ldconfig_flags in rc.conf
to specify additional a.out directories to merge into the runtime link
cache.
2003-01-08 04:17:19 +00:00
tron 2005231632 Revert last change for now. It causes hangs during system shutdown when
NFS filesystems are mounted.
2003-01-07 08:41:55 +00:00
wiz 1035faff1d writable, not writeable. 2003-01-06 20:30:28 +00:00
wiz 74994bbeaf Add comments for ld and mlx (hi allen!). 2003-01-06 19:14:51 +00:00
lukem bc4b0716ee Missed a 'cd ${.CURDIR}' when adding the OBJDIR support here,
causing "make distribution" to fail on "install-etc-files".
(oops!)
2003-01-06 14:47:28 +00:00
wiz c053751628 compatibility, not compatiblity. 2003-01-06 13:26:24 +00:00
tron 74efbb051c Add keyword "shutdown" so that this script is really executed on system
shutdown to delete clone interfaces.
2003-01-06 10:11:14 +00:00
lukem ef98b9ddca Fix logic error I introduced recently into mount_critical_filesystems().
Noted by kilbi@rad.rwth-aachen.de in [bin/19703].
2003-01-05 22:59:35 +00:00
christos 611f2a6106 say what don't you like about $when, approved by luke. 2003-01-05 22:47:12 +00:00
briggs f23e0c65e4 Understand how to create device nodes for mlx and ld.
As part of 'all', create mlx0 and ld0-3.
Pointed out by Daniel Eggert in PR 18487.
2003-01-05 19:24:05 +00:00
lukem dd2a7e0da5 'if ! command;' is not POSIX sh, even though our /bin/sh supports it 2003-01-05 11:40:29 +00:00
lukem 7b4296a270 - Enable OBJ support for etc/; a scratch dir is needed for iso-image.
- Add ${.CURDIR} to various rules.
- Remove the ${KERNOBJDIR} (sys/arch/${MACHINE}/compile) objdir creation
  from here.
- Rework iso-image to copy temporary files (such as kernels or boot files)
  into a temporary directory instead of stomping over ${RELEASEDIR}, and
  use mkisofs -graft-points to merge the temporary directory and
  ${RELEASEDIR}/${MACHINE}.
	NOTE: mkisofs 2.0 is highly recommended for functioning -graft-points
- Add some more comments
2003-01-04 15:49:29 +00:00
lukem 15388316f6 Change how internal boolean variables are used to:
if ! ${_somevar:-false}; then
		_somevar=true
	fi
(Consisent, slightly quicker, and slightly cleaner)
2003-01-04 15:27:43 +00:00
lukem a250e57c96 Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
"${RELEASEDIR}/...".

${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.
2003-01-03 15:34:30 +00:00
lukem cdee7cbdf4 Don't remove ${RELEASEDIR} if UPDATE is defined. 2003-01-03 14:27:54 +00:00
shin 031dbfcca0 add PCI bus access device. 2002-12-31 06:54:13 +00:00
tron 08eb23c3fe Do last change differently so that the script doesn't print out "//" if
"DESTDIR" is set to "/" as suggested by Luke Mewburn in private e-mail.
2002-12-30 13:16:43 +00:00
tron f0df353967 Fix postinstall message for builds with "${DESTDIR}" set to "/". 2002-12-30 12:24:45 +00:00
tsutsui 8fda9330fe Make gdrom device on ramdisk. 2002-12-29 18:31:12 +00:00
lukem 8ab934ee29 If "check" and some items failed, output the postinstall command-line
required to fix the issues.
2002-12-27 00:04:49 +00:00
grant 47224db054 fix /etc/security stderr redirection.
from rad@twig.com in PR bin/19553.
2002-12-25 02:41:03 +00:00
lukem 144b55005f Rework METALOG manipulation:
- add '-D ${DESTDIR}' to INSTPRIV, so install(8) removes the leading
  ${DESTDIR} from the metalogged path
- provide ${METADB.add} variable (for "${CAT} -l >> ${METALOG}"), to make
  it easier to replace manual metalog manipulation in the future.
- with manual metalog additions, don't add the leading ${DESTDIR} in the path
- in maketars, use "mtree -C ..." instead of
  "mtree -D ... | sed -e 's,\(.*\) \(\..*\),\2 \1,";

Benefits:
- maketars "Parsing METALOG" step speeds up from 29 seconds to 1.2 seconds
  on a P3-600.
  (This also benefits "make installworld" at the top level.)
- ${DESTDIR}/METALOG is easier to read without the leading "${DESTDIR}"
  on all the pathnames, and it's smaller as well.
2002-12-23 06:52:48 +00:00
lukem d9aa9519e8 Invoke ${PAX} with '-O' so that various errors don't hang the make
or the command with an interactive question.  (This also prevents
weird problems if a directory element of '-f path' is missing and
'make -j N' is being used).
2002-12-21 15:54:48 +00:00
lukem ebdb5fe2ad Remove /usr/local (and children) from the base distribution; we shouldn't
be creating directories or modifying permissions under there.

(/usr/local/* is still retained in various default PATHs, for convenience)
2002-12-20 06:39:53 +00:00
lukem 9dac6e17e3 Remove /sys -> /usr/src/sys symlink. 2002-12-19 23:04:26 +00:00
jdolecek 67705b22ff use single minimal default disktab file for most archs, replacing
MD disktab where possible (everything but vax)
the MD disktab was often either empty, or contained entries even for disks
which support geometry autodetection (SCSI), and/or non-interesting/long
obsolete entries

the old records are still available in example disktab in
/usr/share/examples/disktab/disktab in case anyone would need them
2002-12-19 20:03:46 +00:00
jdolecek 0565cccc1a remove entries which were used for distrib builds only 2002-12-19 13:54:19 +00:00
lukem 9f5d4466a9 Always invoke mtree & pax with "-N ${NETBSDSRCDIR}/etc" so that user & group
lookups occur from there rather than from the host system.
2002-12-19 12:35:01 +00:00
wiz 76a3ef11cd Describe twe device. 2002-12-18 20:27:25 +00:00
jdolecek 1e127d86d1 ttyaction is ${MACHINE}-specific, not per ${MACHINE_ARCH}
remove special ttyaction hook from etc/etc.sun[23]/Makefile.inc, it's no longer
  needed
ld.so.conf is ${MACHINE}-specific, the code happened to work for i386 and sparc
  only because ${MACHINE} == ${MACHINE_ARCH} there
remove basesrc/etc/ld.so.conf and its special vax/ns32k/m68k hook in Makefile -
  vax & m68k are ELF now, and ns32k doesn't need to be handled here
2002-12-17 15:54:59 +00:00
jdolecek 7043473827 reference disktab(5) and /usr/share/examples/disktab/ rather than
duplicating the Key info here
2002-12-17 15:20:04 +00:00
jdolecek 800e198ba6 add example disktab file 2002-12-17 15:16:40 +00:00
jdolecek bd9e4effc1 g/c, not used anywhere anymore 2002-12-17 13:18:49 +00:00
lukem f1de01bbc3 - makedev: look for MAKEDEV in ${SRC_DIR}/etc/etc.${MACHINE} & ${SRC_DIR}/dev,
so that postinstall on an extracted etc.tgz set works for this check
- implement find_file_in_dirlist(), and use in do_makedev() and do_postfix()
2002-12-17 12:47:48 +00:00
perry 6bb51beb04 add postfix html directory 2002-12-17 04:26:42 +00:00
pooka b79588a8fa remove duplicate https entry added in last commit
noticed by salo
2002-12-16 10:48:59 +00:00
pooka 1890d52963 add https (443) and microsoft-ds (445) 2002-12-15 22:23:53 +00:00
seb dc89e919cf Reorder dpti and dpt cases so that 'dptiN' is not interpreted as dpt unit number
'iN'.
2002-12-15 16:56:10 +00:00
tsutsui ef2ce0a66d Fix some disk entries to match MAXPARTITIONS == 16. 2002-12-14 05:28:47 +00:00
christos 0cc4fbf335 add twe control device 2002-12-13 23:26:47 +00:00
fvdl 56b55c3081 Nearly-empty disktab file (only floppy types). 2002-12-10 19:50:28 +00:00
scw 69e33812c6 Delete section 8 manpage dirs for walnut, and add evbppc. 2002-12-09 12:48:22 +00:00
scw 0ca6c9c4d5 Move etc.walnut/* to etc.evbppc and tweak BUILD_KERNELS in Makefile.inc
to pick up the renamed install kernel.
2002-12-09 12:37:10 +00:00
lukem 557baa699b mipsco actually needs the RAMDISK kernel for distrib/ ... 2002-12-09 05:20:29 +00:00
ad ee3446eabf Create dpt(4) nodes. 2002-12-07 19:50:58 +00:00
jdolecek 79c873ff0a Make the release bits more complete for hpcsh & dreamcast.
Change sent by FUKAUMI Naoki in private e-mail, thanks.
2002-12-06 09:09:05 +00:00
lukem e1af106002 remove unnecessary cruft after the recent etc/Makefile cleanup 2002-12-06 00:14:11 +00:00
jdolecek a32cc4158a seems like dreamcast distrib/ build needs GENERIC_MD kernel 2002-12-05 17:58:02 +00:00
jdolecek 6b5b4d2940 distrib/hpcsh appears to need the RAMDISK kernel for miniroot 2002-12-05 17:53:02 +00:00
wiz 247d6694f7 Handle links to absolute paths too. Closes my PR 19125. 2002-12-05 16:52:58 +00:00
fvdl 4d6d0b8806 Makefile for kernels and other additional things. Incomplete at
the moment.
2002-12-05 02:33:32 +00:00
lukem 5859913176 add .endif accidentally lost in rev 1.18.
noted by Lubomir Sedlacik in [port-sparc64/19259]
2002-12-04 06:15:01 +00:00
lukem 75876480da delint 2002-12-02 13:33:14 +00:00
lukem efbc87e9ab consistency tweaks 2002-12-02 13:31:16 +00:00
lukem 14b6cd8fa4 build GENERIC & INSTALL kernels as part of the release... 2002-12-02 13:30:59 +00:00
lukem fe5f6ce974 - add snap_post, which makes "clean depend all release" in ../distrib/
for all platforms.
- remove now unnecessary replicated code in the various snap_md_post targets
- remove snap_md_pre; nothing uses it any more
- use ${NETBSDSRCDIR} and ${KERNSRCDIR} as appropriate
2002-12-02 13:18:03 +00:00
rtr 5c184fab23 Document additional line required to emulate sendmail using postfix.
Without line error will be appended to mailed output of daily script.
Solves part of PR bin/18800
Patch provided by Ryo HAYASAKA <ryoh@jaist.ac.jp>
2002-12-01 11:36:53 +00:00
isaki 0875e475a6 add bmd, memory disk driver for Nereid bank memory. 2002-12-01 09:01:07 +00:00
martin cb91c83448 Add entries for /dev/bpp (parallel port on sbus machines) 2002-11-28 19:29:19 +00:00
hamajima e59bf4f94d add midi and sequencer. 2002-11-28 16:56:26 +00:00
perry 28e7d3260f Set a CRON_WITHIN of 7200 (2 hours). This should not be noticed on
most machines, but ones that are slept overnight (like laptops) will
no longer suddenly have all overnight jobs start simultaneously upon
awakening, rendering the machine useless. I thought I had done this
long ago, but it turned out I'd only done it for my own machines.
2002-11-27 15:09:17 +00:00
lukem aa17e07211 SYS_INCLUDE=symlinks has been deprecated; reenable obsolete check 2002-11-26 23:37:09 +00:00
pk f42168e71f On sparc v8 CPUs, map libsparc_v8.so in front of libc.so 2002-11-26 16:43:55 +00:00
martin 81f10d2dcd Add support for /dev/lpt* 2002-11-24 20:53:53 +00:00
blymn 6ad0917189 Added veriexecctl to examples tree. 2002-11-23 10:30:04 +00:00
thorpej a46e31a46c Disable "obsolete" for now, since it has major problems with
SYS_INCLUDES=symlinks.
2002-11-22 15:51:42 +00:00
lukem e7bf86cbd5 Separate snap_kern into three targets, to allow finer control over
which bits to build, and to allow "make -j N" actually do something in
parallel:
- build_kernels: for each of ${ALL_KERNELS}, create kern-${NAME} target
  which configures & builds the kernel ${NAME}.
- build_kernsets: for each of ${KERNEL_SETS}, create kernset-${NAME} target
  to create ${RELEASEDIR}/binary/sets/kern-${NAME}.tgz
- build_releasekernels: for each of ${KERNEL_SETS} ${EXTRA_KERNELS}, create
  ${RELEASEDIR}/binary/kernel/netbsd-${NAME}.gz (et al)
(The latter two .WAIT until build_kernels has completed)
2002-11-18 07:09:46 +00:00
itohy 590fc1bda3 Add {cat,man,html}4/dreamcast, html4/evbarm 2002-11-17 06:12:52 +00:00
itohy 30ce0d4185 Unification: "Maple Bus", "Maple" -> "Maple bus" 2002-11-17 05:45:26 +00:00
itojun 81a0af7afd ${setdir} is not needed as we chdir to ${setdir}. 2002-11-17 04:14:00 +00:00
lukem 3b1e0611c6 Add support for using the obsolete sets to check for and remove obsolete files. 2002-11-17 03:22:47 +00:00
lukem 1be07ae391 In ssh check, ensure that ${DESTDIR}/etc/moduli is up to date.
Supports either ${SRCDIR}/crypto/dist/ssh (if using -s on a src tree)
or ${SRCDIR}/etc (if using -s on an extracted etc.tgz set) for the
"source" location of moduli.
2002-11-17 01:04:46 +00:00
lukem 4befe83846 todo item: check etc/moduli (if possible) 2002-11-17 00:49:54 +00:00
itohy d071615e40 Add maple devices to comment. 2002-11-16 04:53:55 +00:00
itohy 161076c9dc Add mmem* and mlcd*.
Fix some disk assumed 8 partitions (actually 16).
2002-11-15 14:45:40 +00:00
jdc 91c0886bdf clockctl is major 94, not 84
Avoids confusing messages like :
  rhuidean su: jdc to root on /dev/clockctl
2002-11-07 18:19:07 +00:00
enami cb97efbe27 Add more files to obsolete rc.d files (actually, files found in rc.d/Attic). 2002-11-07 06:12:50 +00:00
perry 9bde75052d Update to 20021105 version 2002-11-05 21:22:21 +00:00
fair 97a835073c Add the radio(4) driver to NetBSD/alpha 2002-11-05 04:45:09 +00:00
blymn d52b0596b3 Added verified exec device (veriexec) 2002-10-29 14:11:17 +00:00
christos 56bafd7e79 make nobody's shell back /sbin/nologin. we'll use su -m for xdm. 2002-10-27 20:13:00 +00:00
christos b4a6515ec6 Don't make the shell of nobody /sbin/nologin. There are programs that expect
to be executing su nobody -c 'command', such as xdm's Xwilling do this.
2002-10-27 00:07:47 +00:00
martin ab9854138a Document wscons devices. 2002-10-26 13:48:34 +00:00
martin 6d2c171dab Add wscons devices.
Patch from Valeriy E. Ushakov's patch set for JavaStations.
2002-10-26 13:15:04 +00:00
jdolecek b083bd07e0 actually, don't make /dev/io on i386 neither; the kernel only supports
it as backwards compat with COMPAT_10 option
2002-10-24 12:19:21 +00:00
jdolecek c84fb609f6 add comment regarding /dev/io 2002-10-23 22:57:40 +00:00
jdolecek e51f1ff7d3 don't bother creating /dev/io on archs which don't support it 2002-10-23 22:56:29 +00:00
perry 59af185fe1 Add hackdir/perm and hackdir/record
move larn files into alphabetical order
2002-10-23 20:35:45 +00:00
perry e0ea033b82 add code to include (primitive) package tag names
XXX This file has gotten big and ugly enough that a bit of a rewrite
is likely in order.
2002-10-23 19:50:30 +00:00
thorpej 3ab37e2fb0 Add iscsi at 3260/tcp. 2002-10-21 22:44:34 +00:00
lukem 2cc646d2d1 ipmon -D writes a pidfile; use it 2002-10-21 05:20:00 +00:00
lukem bc22c3f4d9 whitespace consistency cleanup 2002-10-21 04:14:47 +00:00
lukem 77607821ec various cleanups inspired by etc.i386/MAKEDEV (some of which are
needed to fully support the "new distrib world order"):

* remove unnecessary trailing ;

* clean up whitespace

* remove unnecessary chown root or chgrp wheel directives; older code here
  didn't bother doing this, so why be inconsistent

* don't barf when we have fdesc mounted; just skip the devices fdesc provides

* when making directories, don't use -p and don't redirect stdout to /dev/null

* add /dev/fd/* support [hp300]

* convert to new pty generation [hp300]
2002-10-21 03:58:38 +00:00
lukem b29e8cecdd - replace 'sh -$- $0' with 'makedev' (missed this a while ago)
- TABify
2002-10-21 03:26:39 +00:00
lukem f7cd7f0c9e no need to chown root / chgrp wheel 2002-10-21 03:20:25 +00:00
christos 0068b7227d add ipfilter. 2002-10-20 00:35:21 +00:00
soren e596a26d09 Comment out the "real" Sendmail entries also to force the user to choose. 2002-10-17 16:52:40 +00:00
soren 0f79acf93f Add commented-out Postfix examples. 2002-10-17 15:41:54 +00:00
lukem 407233e842 Set
ALL_KERNELS ?= ${KERNEL_SETS} ${EXTRA_KERNELS} ${BUILD_KERNELS}
and use ALL_KERNELS instead of the latter three in the loop to configure
& build kernels. This allows ALL_KERNELS to be overridden in make(1)'s
environment or on make(1)'s command line... (I got sick of waiting for
all eleven i386 kernels to rebuild when I was only testing one)
2002-10-16 02:30:48 +00:00