Commit Graph

2622 Commits

Author SHA1 Message Date
bjh21 f6df033e2d Descend into distrib so as to ensure the INSTALL notes get built. 2002-04-04 23:30:35 +00:00
thorpej bb534232a9 Give the console entry the "default" gettytab entry. 2002-04-03 02:31:32 +00:00
bjh21 d4d04c5a9b Add a "ramdisk" set, and remove "minimal", since it served much the
same purpose.
2002-04-02 22:21:28 +00:00
briggs bc565cd41f Sync with walnut/conf.c (leaving alone devices that are present here, but not
in the configuration).  wd mismatch pointed out by smi@sm.sony.co.jp
in port-powerpc/16165.
2002-04-02 05:24:59 +00:00
thorpej f22a65a5af Add etc files for NetBSD/algor. 2002-04-01 23:32:17 +00:00
bjh21 3d0d823bd8 Fix up makesums line to use ${MAKESUMS} and the correct directory. 2002-04-01 19:12:16 +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
briggs 1d412354be Use a major number for random/urandom that agrees with walnut/conf.c
Fixes port-powerpc/16151 from smi@sm.sony.co.jp.
2002-04-01 15:48:56 +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
bjh21 1050fe6ae0 Put boot26 in the installation/misc directory, since that's where it's
documented as being.
2002-03-31 16:02:30 +00:00
thorpej 4439396ab7 Add "aout" to KERNEL_SUFFIXES. 2002-03-31 03:39:55 +00:00
tsutsui 139abed8af Make only necessary wscons devices for floppy. 2002-03-30 07:40:37 +00:00
thorpej 5c1d6ea346 Fix shark release building targets. 2002-03-30 06:55:17 +00:00
matt c10fde1f31 Add iso-image_md_pre (place boot & netbsd at root of ${RELEASEDIR})
Add iso-image_md_post (install bootblock).
Now make iso-image can make a bootable vax cdrom image.
2002-03-29 22:14:20 +00:00
thorpej 04964cce1a Add binary/gzimg to INSTALLATION_DIRS. 2002-03-29 20:20:24 +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
heinz 2a013fd8a8 synced field names with newsyslog.8 2002-03-29 02:47:26 +00:00
thorpej 45e7aa90b4 Add evbarm snapshot/release targets. 2002-03-28 22:18:23 +00:00
thorpej 710c13a6cd Add the IQ80321 kernel. 2002-03-28 20:55:58 +00:00
lukem e512d5dcf7 Set command_args to '-f ${sshd_conf_dir}/${name}.conf'.
This occurs before the first load_rc_config() so that it may be
overridden by the user, and appears in single quotes so the
variables don't get evaluated until the eval in run_rc_command().
Problem noted by Patrick Welche <prlw1@cam.ac.uk> in [bin/15912].
2002-03-27 09:15:54 +00:00
lukem 5ee7ac8886 Replace $critical_filesystems_beforenet with $critical_filesystems_local .
Replace  $critical_filesystems            with  $critical_filesystems_remote .

The new names are now consistent with the type argument that
mount_critical_filesystems() is called with, and allows for other types to
be easily supported by that function.

For backwards compatibility purposes, if the now obsolete variable is defined
(even empty), it takes precedence over the new form, and you will be warned.
If you want to stop the warnings, update your rc.conf(5) settings!
2002-03-27 08:53:39 +00:00
lukem 1dad4ca74f clean up warnings.
don't bother setting defcorename from obsolete $defcorename.
2002-03-27 08:03:08 +00:00
lukem 88eb34e804 clean up warning 2002-03-27 07:37:56 +00:00
lukem 5260db633f etc/ssh is mode 0755 not 0644. Noted by Toru TAKAMIZU on current-users. 2002-03-27 07:15:57 +00:00
uch 9c5fd0f84c change MAXPARTITIONS to 16. 2002-03-26 11:01:45 +00:00
wiz 7a92731e6f Fix typo in last (which broke the script). 2002-03-25 03:22:10 +00:00
wiz e90cd48a1b Sort a line. 2002-03-24 22:36:49 +00:00
bjh21 f0540e4a02 Rename man page directories, arm26 -> acorn26. 2002-03-24 22:31:13 +00:00
bjh21 2718876fd5 Rename etc.arm26 -> etc.acorn26 2002-03-24 21:20:38 +00:00
scw f2ac082f14 For md*, create md?a instead of just md?. 2002-03-24 17:58:54 +00:00
sommerfeld 626f81690e Improve information density of output -- add the dozen -reject routes
with "route -q" since they are always the same and convey no useful
information.

While we're here, use sysctl -qw instead of sysctl -w >/dev/null
2002-03-24 17:58:21 +00:00
lukem cb067e4b20 also check $rc_force != "" to determine if operation should occur 2002-03-24 15:52:41 +00:00
lukem 398a7fe250 remove unnecessary precmd 2002-03-24 15:51:26 +00:00
lukem c0685815ef - Add sanity checks recommended by Robert Elz in [bin/13871] (with slight mods)
- Use symbolic trap names
2002-03-24 15:08:58 +00:00
hamajima 478c242dda add audio device 2002-03-23 09:06:50 +00:00
shin 3697ddb919 now TX3922 support is in GENERIC. 2002-03-23 03:20:30 +00:00
shin 63a9e42e02 add lkm. 2002-03-23 03:17:01 +00:00
shin f8fe1d3f46 change MAXPARTITIONS to 16. 2002-03-23 03:14:54 +00:00
itojun f7086ae500 move ssh config file to /etc/ssh 2002-03-22 15:47:01 +00:00
thorpej 96776149fc Correct the "direction" of the barrier dependencies (DAEMON, LOGIN,
NETWORKING, and SERVERS) by specifying that certain things should
come BEFORE a given barrier, rather than having the barrier REQUIRE
a service.  This allows scripts to be removed without having to
edit the barrier dependencies.

As discussed on tech-userlevel, and approved by Luke.
2002-03-22 04:33:57 +00:00
lukem 1a286b1407 - Rename a bunch of "internal" run_rc_command() variables and officially
make them "externally" available:
	Previous	Current		Purpose
	--------	-------		-------
	_arg		rc_arg		Argument to command, after fast/force
					processing performed (and prefix
					removed)

	_flags		rc_flags	Flags to start the default command
					with.  Defaults to ${name}_flags,
					unless overridden by $flags from the
					environment.  This variable may be
					changed by the precmd method.

	_pid		rc_pid		PID of command (if appropriate).

	_rc_run_fast	rc_fast		Not empty is "fast" was provided.

	_rc_run_force	rc_force	Not empty is "force" was provided.

- Use rc_flags instead of _flags or ${name}_flags in various rc.d scripts,
  so that $flags from the environment overrides ${name}_flags from rc.conf(5).
  Fixes [bin/15800].
2002-03-22 04:16:38 +00:00
itojun 960e8c173d add postfix config files. PR15659 2002-03-22 04:03:44 +00:00
lukem 3c3d3219ff Implement rc.conf(5) variable `` $swapoff ''.
If set to yes, block-type swap partitions will be deleted upon shutdown.
This can be useful if swapping onto a RAIDframe device, but may cause
unnecessary delays during shutdown for the general case, so it's
disabled by default.
Should resolve [bin/14433] and [kern/14769].
2002-03-21 23:08:35 +00:00
lukem d40d675711 - Add run_rc_command() control variable $command_interpreter
If set, the first line of $command is read, the leading #! is
  removed, whitespace is normalised, the first word is checked
  against $command_interpreter, and the result is used as the
  string to match in the ps(1) output.
  This code isn't infallable, but works for common cases such as
	#!/bin/sh
	#!  /usr/pkg/bin/perl  -w
  This helps solve the problem described in [bin/15563], and by
  Ed Ravin on tech-userlevel.

- Move the common elements of check_process() and check_pidfile() into
  _find_processes(), and call appropriately.
2002-03-21 12:21:00 +00:00
bjh21 b15cf8e89f Correct "makesums" calls to use the correct directory name for installation
kernels.  This should fix PR port-arm/14145.
2002-03-20 17:05:52 +00:00
tshiozak dc7d18ff88 refine i18n stuffs.
- add libc/citrus directory.
    this directory contains the common stuffs not only for locale
    but also other facilities relating to i18n (e.g. iconv).
  - To keep the binary compatibility for the ctype modules easily,
    the interface between libc and the modules is simplified.
  - For the future integrated extension, module pool is renamed
    from "/usr/lib/runemodule" to "/usr/lib/i18n".
    In the future, this directory will contain the modules for "iconv",
    "collation", etc.
  - some cosmetic changes.
  - Bug fix for runetype.h; __attribute__((__packed__)) is placed at
    the wrong position and it is invalid unintentionally.
    But, the all members of the structures seem well-aligned.  Thus,
    this bug causes no problem, hopefully.

HEADS UP:
  - /usr/lib/rumemodule is obsoleted.  If you use the multibyte locales,
    you need to install /usr/lib/i18n/* from sys/lib/i18n_module .
  - The binary compatibility of /usr/share/locale/*/LC_CTYPE is probably kept.
    Perhaps, the bug fix about __packed__ mentioned above breaks the
    compatibility...  Be careful especially on 64bit platforms.
2002-03-17 22:14:05 +00:00
martin 093f5dbc55 Rename ISDN devices, per discussion on tech-kern. The network devices
become ippp (ISDN ppp) and irip (ISDN raw IP). The character device now
are called: /dev/isdn (isdnd <-> kernel communication), /dev/isdnctl (dialing
and other control), /dev/isdntrc* (tracing), /dev/isdnbchan* (raw B channel
access, i.e. for user land PPP) and /dev/isdntel* (telephone devices, i.e.
for answering machines).
2002-03-16 17:03:28 +00:00
ad 087ddca279 Move `stic*' before `st*' to avoid a false match. 2002-03-16 16:56:44 +00:00
tsutsui ffe9018d26 Remove st1 and unnecessary wscons devices from floppy. 2002-03-16 16:42:46 +00:00
tsutsui fbe3c6dd52 Make also sd2 and sd3 devices for install floppy. 2002-03-16 16:05:22 +00:00
jandberg 9ddf538d8e added wscons vts 2002-03-13 19:38:05 +00:00
lukem 9bcc098690 Use ${_arg}_postcmd even if we're not using the default ${_arg}_cmd method. 2002-03-13 06:58:34 +00:00
lukem 9cfa003dc7 Implement ${_arg}_postcmd support, which is run if a default
start/stop/reload/restart operation succeeds (i.e, zero exit code).
Code from Lubomir Sedlacik <salo@Xtrmntr.org>.
2002-03-13 04:50:08 +00:00
simonb f5612134fc Remove trailing semicolons from lines that don't need them.
TABify many lines.
2002-03-13 01:26:54 +00:00
simonb af03fa8023 Add an RCS id. 2002-03-11 11:29:29 +00:00
itojun 0a2445c3b6 move sshd config files to /etc/ssh 2002-03-11 04:57:55 +00:00
itojun ce418d6d8e dig /etc/ssh 2002-03-11 04:38:41 +00:00
bjh21 9d5896ee9e When making a release, build the release notes, and copy them and boot26
into the release directory.  Also make checksums for boot26.
2002-03-07 23:12:54 +00:00
thorpej f44b824188 Use ${PRINTOBJDIR}. 2002-03-05 19:53:19 +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
shiba c6fac1444f Clean up make release procedure. But just make through
in distrib/mac68k/miniroot.

Reviewed by fredb, briggs
2002-03-04 16:43:06 +00:00
lukem 6b68804273 various cleanups inspired by etc.i386/MAKEDEV:
* use "ln -fs foo bar" instead of "rm -f bar; ln -s foo bar"

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

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

* clean up whitespace

* wrap the main parser code in a function makedev(), and call makedev
  instead of "sh $0". (this is a bit faster)

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


(these files should really be automagically generated...)
2002-03-04 14:02:29 +00:00
minoura 3b21dd73bb rm ; ln -s -> ln -fs 2002-03-04 09:56:41 +00:00
lukem 6afd7807f4 be consistent with every other port and use symlinks rather than hardlinks 2002-03-04 07:10:46 +00:00
nathanw 3d66460938 Add sysmon devices. 2002-03-03 18:19:02 +00:00
toshii 0d030b3347 Use a tab instead of 7 spaces. 2002-03-03 14:15:58 +00:00
mrg 685d1c413a clean up a little:
- don't set the securelevel to the same thing
	- don't try to lower the securelevel

inspired by PR#13647
2002-03-01 17:58:00 +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 c5a625870b ipmon: set -D via command_args rather than the default ipmon_flags.
resolves [install/15753]
2002-02-28 01:06:13 +00:00
scw 5b72ef673a MD etc glue for mvmeppc. 2002-02-27 21:17:52 +00:00
kleink 80f8e27ae5 Bring pseudo terminal devices' major numbers in sync with reality again. 2002-02-26 21:13:32 +00:00
kleink 696ed33e26 Bring pseudo terminal devices' major numbers in sync with reality again. 2002-02-26 20:46:59 +00:00
itojun 9820da6ce1 supply reverse lookup for ::1 on ip6.arpa too 2002-02-26 08:48:35 +00:00
lukem 1f04f759a5 remove chown root:wheel . that I added in 1.164; too many warnings with fdesc 2002-02-25 13:03:36 +00:00
lukem 80ce7c6cb7 Fixes derived from [bin/15563] submitted by Ron Roskens:
- Don't su(1) to ${name}_user if running as that user.
- Support $procname as the name of the process to search for.
  Defaults to the value of $command.
2002-02-25 12:49:33 +00:00
lukem 5bf3bfa2bb fix spelo. crank copyright year 2002-02-25 08:11:23 +00:00
atatat 681a706ec7 Change a 62 to a 16, so that the proper number of slots is skipped.
Fixes PR 15650.
2002-02-25 07:34:55 +00:00
lukem 04784cf374 Don't run "status" as if "force" is set, thus reverting part of rev 1.29.
I can't remember the rationale for why I made that change in the first place,
and there's been some good arguments presented to me as to why the rcvar
should be checked before status is run.
2002-02-25 07:12:47 +00:00
lukem 0ccd65df49 run_rc_script() improvements:
- always unset the variables used by run_rc_command() before sourcing an
  rc.d script, rather than just when rc_fast_and_loose is in effect.
  this allows run_rc_command() to be used in .sh scripts (with care).
- remove comment describing now-former limitation of .sh scripts.
- make the rc_fast_and_loose check only after the `` not *.sh / not scratch
  / script-is-executable '' checks.  rc_fast_and_loose now behaves a lot more
  like the normal operation, in that it skips scratch files and
  non-executable files
2002-02-25 06:58:14 +00:00
wiz a287908210 Mark mk.conf optional, addressing install/15572. 2002-02-24 17:17:48 +00:00
lukem 7d6824228d Support alternate config dir for sshd conf file and keys (defaults to "/etc").
Based on [misc/12473] from Jim Bernard.
2002-02-24 12:50:08 +00:00
ad 5fcb6944f5 - Make stic0 as part of wscons.
- Remove wsmouse0/wskbd0 from all, since it already calls MAKEDEV wscons.
2002-02-22 16:20:44 +00:00
thorpej 2658062b61 Add "bin" to the list of valid kernel suffixes. 2002-02-22 05:08:16 +00:00
garbled 120f0525b3 add a note requesting people edit share/sushi/system/rcconf/form when editing
this file to keep it in sync.
2002-02-21 19:59:09 +00:00
lukem 0c7bc63d83 oops; forgot to retain previous setting of $_flags (aka $syslogd_flags)
which adding "-P /var/run/syslogd.sockets"...
2002-02-20 01:49:59 +00:00
veego 908b0c7ea5 Add ./etc/ipf6.conf 2002-02-19 21:33:13 +00:00
tron 17e6126494 Back out last change as suggested by Hubert Feyrer in private e-mail:
The "ttys" file is modified by "sysinst" during installation.
2002-02-17 21:04:31 +00:00
tron b08c6b723c Enable for "getty" processes because because the i386 port used wscons(4)
default these days and the default "wsconf.conf" creates four screens.
2002-02-17 20:41:42 +00:00
ross a70d2bc993 Comments here are harvested for a man page, so avoid &<>. 2002-02-14 13:42:05 +00:00
martti 8f0fa118e2 Added ttyp[g-zA-Z] (bin/15594). 2002-02-13 09:46:01 +00:00
gmcgarry 9c180c43cc EXTRA_KERNELS -> BUILD_KERNELS 2002-02-13 06:30:46 +00:00
reinoud d4a4f7bbb8 Remove an old `shark' comment and enable ttyv0 for now until we completely
switch over to wscons.
2002-02-12 14:01:58 +00:00
lukem a402e4cd01 populate /var/spool/postfix/etc with /etc/{localtime,resolv.conf,services}.
per suggestion from perry.
2002-02-12 02:19:27 +00:00
lukem 852ef3de6f improve comment, and clean up a test 2002-02-12 01:26:36 +00:00
lukem 62498fc17a reset perms of ptyX[0-9a-zA-Z] instead of just ptyX[0-9a-f] 2002-02-12 01:23:11 +00:00
skrll dd6c2b08f4 Add in the changes tls@netbsd.org made to all the other ports recently. 2002-02-11 15:57:54 +00:00
augustss afcd602367 Create the ulpt devices that don't reset the printer on open.
(I don't get this, I could have sworn I committed these files a while ago.)
2002-02-11 14:57:31 +00:00
lukem a8aa7922b1 don't forget to install ipfs... 2002-02-11 14:00:35 +00:00
lukem 84ea7917fd - Remove previous hack; rc.subr warns about the variable not being set
for a reason, which is usually ``your /etc/defaults/rc.conf is not up
  to date''.
- Consolidate `rm's into one line.
2002-02-11 13:55:42 +00:00
martti 89122f4056 Don't try to execute this script if ipfs is not set to YES. Otherwise
you'll see the following message:

   # /etc/rc.d/ipfs stop
   /etc/rc.d/ipfs: WARNING: $ipfs is not set properly.

This horrible change is needed because of the "shutdown" keyword.
2002-02-11 13:39:14 +00:00
lukem 9ee14b2e73 be consistent, and use "mkdir foo 2>/dev/null" instead of "mkdir -p foo"
(to suppress errors if foo already exists)
2002-02-11 12:54:13 +00:00
martti 52d30cc560 Use "mkdir -p" instead of "mkdir" to create /dev/altq 2002-02-11 12:27:10 +00:00
martti d7bcd10a27 ipfs allows state information created for NAT entries and rules using
keep state to be locked (modification prevented) and then saved to disk,
allowing for the system to experience a reboot, followed by the restoration
of that information, resulting in connections not being interrupted.

To activate this feature, set ipfs=YES in /etc/rc.conf
2002-02-11 10:19:55 +00:00
is 725d029d19 Remove INSTWDCPCM, because for a while now, GENERIC (and INSTALL) have
included both pcmcia support, and wdc instead of idesc as the driver for
the Amiga internal ATA connector.
2002-02-10 20:43:33 +00:00
pooka 13d4fb6acf Breathe life into etc.shark files by moving them over from etc.arm32
and modifying them appropriately in the process.

Remove the obsolete etc.arm32 files
2002-02-10 19:30:41 +00:00
gmcgarry 6804ab704a Compile new installation kernel. 2002-02-10 01:09:54 +00:00
thorpej 0c1012f0a0 Add /usr/share/dhcpd 2002-02-09 21:09:27 +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 448dcd6d93 do not bother setting owner or group when ${INSTALL}ing releases 2002-02-09 09:27:20 +00:00
ross 7b48561479 Add share/man/html? and the lower machine directories. 2002-02-07 02:52:14 +00:00
lukem bfa72435ba remove unnecessary 'chown root.wheel' and be consistent with the rest
of this file...
2002-02-05 09:14:12 +00:00
augustss 2f3db30ca0 Make ulpn device nodes (no reset on open). 2002-02-05 00:45:46 +00:00
lukem 205eb9cc73 - ensure . is owned by root:wheel (so new entries inherit the correct group)
- wrap the main parser code in a function makedev(), and call makedev
  instead of 'sh $0'. (this is a bit faster)
- remove unnecessary chown root or chgrp wheel directives; older code here
  didn't bother doing this, so why be inconsistent
- when making directories, don't use -p and don't redirect stdout to /dev/null
2002-02-04 08:21:27 +00:00
tsutsui 182244fcd9 Add MD Makefile.inc for newsmips to make release.
XXX distrib/notes/newsmips is not yet.
2002-02-03 11:23:45 +00:00
veego 6ff44bd71d etc/rc.d/NETWORK was renamed to etc/rc.d/NETWORKING 2002-02-03 08:33:14 +00:00
tls 59b84cdaa8 Fix minor mistake made while increasing number of pty devices: where we had
"pty0 pty1 pty2 pty3" before, for a total of 64 device nodes, we now want
just "pty0" for a total of 62 -- the original commit had "pty0 pty1" for a
total of 124, which ate too many inodes and made "ls /dev" a bit messy.
2002-02-02 20:58:43 +00:00
ragge b1ce179c55 ttyw0 is virtual consoles on vax, ttyv0 was old controlling terminal for
QVSS/QDSS. ttySx and ttyTx are DHU11 serial ports.
2002-02-02 11:23:16 +00:00
tls 1977a7b24e Add support for many more (930 or 992) ptys than the current 256.
Changes taken from the i386 MAKEDEV.  Note that the unusual use of 'dd'
to index an array was chosen because 'dd' is on all ports' install media.

This form of this change comes from Andrew Brown; the original idea to
bump the number of ptys this way comes from Brian Marcotte at Panix.
2002-02-02 07:04:44 +00:00
tls 85383e6e68 fix another typo in previous commit: the version committed was missing the end of the opty) case. 2002-02-02 05:57:47 +00:00
tls 9f05a494a9 fix typo in previous commit -- pty device number is 6, not 5! 2002-02-02 05:55:19 +00:00
tls c6652502b9 Add support for up to 930 pty devices (instead of the current 256).
The openpty() routine has been modified to use the extra pty names
before the "traditional" names, so that programs too dumb to use
openpty() will, hopefully, find one of the "traditional" ptys free
even if many others are in use.  The modifications to MAKEDEV are
courtesy Andrew Brown, and are pretty clever: the unit numbers used
by the "traditional" names stay the same, to avoid trouble when
upgrading existing systems.  The unusual use of "dd" to index an
array in MAKEDEV is because no other simple method seemed feasible
using only the programs on the install media for all ports.
2002-02-02 05:48:30 +00:00
fredb 36db822e71 Remove a comment that's no longer true: it's no longer necessary for a
release builder to generate the INSTALLSBC and GENERICSBC kernels by hand.
2002-02-01 04:57:24 +00:00
reinoud 81f2164941 Fix typo from copying 2002-01-31 02:15:28 +00:00
lukem e00fb37f16 Rename NETWORK to NETWORKING, to allow rc.d to be on a case insensitive
file system (prevents conflict with 'network').  PROVIDE both NETWORKING
and NETWORK (the latter for compatibility with 3rd party scripts).
2002-01-31 01:26:05 +00:00
reinoud 7d372c5d03 Oeps... update the kernel names and use the acorn32 distrib directory 2002-01-31 01:07:44 +00:00
bouyer 42b4a64371 If check_disks=YES, check for failed components in RAIDframe devices. 2002-01-27 22:08:50 +00:00
lukem 6c5c021900 use the recently added hw.disknames value from sysctl(8) to determine
the list of currently configured disk devices, and start raid parity
rebuilds on devices which match "raid[0-9]*"
2002-01-27 14:16:33 +00:00
lukem e5182cb71d use ${PAX} instead of tar | gzip 2002-01-27 07:03:04 +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
perry 7f6d795f45 add usr/share/games/ching 2002-01-25 05:07:57 +00:00
eeh 5092e6e3e9 Create ttyC00 and ttyC01 for NS16550 serial ports. 2002-01-24 22:22:26 +00:00
skrll f29db86be5 Add initial etc.cats support so that make snapshot/release will work.
Mostly copied across from etc.arm32 with some obvious things removed, e.g.
RiscPC/Shark devices, the disktab cut down and a mfs entry added in fstab.
2002-01-23 15:41:42 +00:00
itojun d1f5dc17b6 do not taint ::/124 for localhost reverse table. 2002-01-22 03:27:24 +00:00
abs b537fda1d5 Move 'wscons' to directly after 'std'. Various MAKEDEVs had it pretty much
at the end, and as wscons (actually ttyE0) is required to login on the console,
it is probably better that an out of space MAKEDEV fail on some other device.
2002-01-21 16:19:17 +00:00
lukem 6405cef9be minor cosmetic changes (no functional change) 2002-01-21 14:33:25 +00:00
oster e474b1951e Update the various MAKEDEV's to reflect the default of 8 RAIDframe devices. 2002-01-19 18:59:17 +00:00
lukem f9d5a55631 commented out entry for ntpd_chrootdir 2002-01-18 10:53:29 +00:00
lukem 5982fec3a6 setup ntpd chroot cage under /var/chroot/ntpd 2002-01-18 10:52:24 +00:00
lukem e3e168f629 if $ntpd_chrootdir != "", ensure that the following files, devices,
and links exist:
        ${ntpd_chrootdir}/dev/clockctl
        /var/db/ntp.drift -> ${ntpd_chrootdir}/var/db/ntp.drift
and then start ntpd with the appropriate options to run chroot(2)ed
under $ntpd_chrootdir as user ntpd group ntpd.

to take advantage of this, set ntpd_chrootdir in /etc/rc.conf.

[this is based on similar work i did for rc.d/named]
2002-01-18 10:51:30 +00:00
lukem c22b780e2f * build /var/run/syslogd.sockets to contain list of sockets in chrooted cages
that we know about, and start syslogd with -P /var/run/syslogd.sockets
  if necessary.
* add ${ntpd_chrootdir}/var/run/log to known sockets
2002-01-18 10:48:41 +00:00
tron dd70720ed9 Add port number for UUCP over SSL. 2002-01-17 12:31:37 +00:00
deberg dd427cee59 add nsmb device 2002-01-14 06:18:20 +00:00
manu b2fd9eed95 Changed clockctl group to ntpd 2002-01-13 14:31:44 +00:00
manu 98572ccabc Added clockctl 2002-01-13 14:21:26 +00:00
manu eef6a7a7c6 Changed clockctl group to ntpd 2002-01-13 14:20:59 +00:00
manu 8f66a3364c Added clockctl 2002-01-13 14:18:35 +00:00
manu de8d612984 Added clockctl 2002-01-13 14:08:48 +00:00
wiz a4397af56d Add /usr/include/fs/smbfs. 2002-01-11 01:36:28 +00:00
lukem d5767e945e fix a couple of spelling mistakes in the i4b* descriptions 2002-01-08 02:46:10 +00:00
wiz 4cbb128b70 Obsolete /usr/include/smbfs. 2002-01-02 18:33:06 +00:00
wiz b84c911d8e Fix typo in last. 2002-01-01 22:55:49 +00:00
augustss 63efc4537f Make radio devices. 2002-01-01 22:49:32 +00:00
mrg efaa45dd2e add clcd device support, plus document magma support. 2002-01-01 07:55:26 +00:00
wiz b83df16226 Standardize ch* and uk* descriptions. 2001-12-19 18:29:56 +00:00
wiz 2646ef33cd Standardize ss* description. 2001-12-19 18:14:21 +00:00
wiz cd49e4ea2b Add ss, uk, ch descriptions. 2001-12-19 18:11:22 +00:00
wiz e25c7d21da Remove some unnecessary comments. 2001-12-19 18:10:56 +00:00
wiz 864c94c933 Standardize scsibus* description. 2001-12-19 17:58:05 +00:00
wiz c2dc1afe60 Remove descriptions for ss*, uk*, and ch*, which actually have no rules. 2001-12-19 17:57:06 +00:00
wiz 15c4d1fbda Sync comment for clockctl device. 2001-12-19 13:35:02 +00:00
wiz 622172b7ca Add comment for clockctl device. 2001-12-19 13:34:43 +00:00
augustss ab3a85f919 Remove the "mux 1" line, it's the default in the kernel now. 2001-12-19 09:36:36 +00:00
minoura ef34cec2d6 clockctl. 2001-12-19 06:39:03 +00:00
minoura 3f711e3b68 make dependall -> make depend && make for distrib/notes.
XXX: make dependall should work; need investigation.
2001-12-18 13:15:38 +00:00
lukem 6297d767ef Ignore errors from /var/account/acct.[123] rotation.
Fix from Katsuomi Hamajima in [misc/13804]
2001-12-18 00:51:16 +00:00
lukem 0770a23f52 Correctly detect empty mailq with new sendmail versions.
Fix from Anne Bennett in [bin/12901]
2001-12-18 00:48:05 +00:00
lukem 9fe1ef5dc8 Add nullfs to the list of file system types to skip during the "big finds".
Fix from Alan Barrett in [misc/14957].
2001-12-18 00:44:20 +00:00
briggs f39915890f Supply a snap_md_post for sandpoint. 2001-12-17 14:41:49 +00:00
wiz e5c73347f0 Add /usr/include/dev/ir. 2001-12-15 09:09:51 +00:00
lukem 1fd357560b - set NOPROG before .include <bsd.own.mk>
- reformat FILES= lines for easier future additions
2001-12-12 12:19:09 +00:00
tv a2291b79c0 MKfoo=no -> NOfoo= 2001-12-12 00:07:45 +00:00
kleink 8633e23bfa Create pci devices. 2001-12-11 21:03:10 +00:00
kleink 9a2f2f4f64 Create wsfont device. 2001-12-11 20:50:06 +00:00
uwe 0c7d92c1c1 Add pci bus device. 2001-12-11 04:48:15 +00:00
chris 66df5c94fc Add clockctl, pci# and wsfont devices to MAKEDEV. Probably others that are missing. 2001-12-11 00:46:00 +00:00
martin 2859135383 Add rc.d support for ifwatchd (used to run ip-up/ip-down scripts for
in-kernel pppoe interfaces).
2001-12-10 16:53:06 +00:00
bjh21 c59d1f8772 Add sd0 and sd1 to "all". 2001-12-08 00:35:24 +00:00
minoura 55442b0bbd Do not descend to distrib. Call notes and MACHINE directory directly instead.
New target `release' added to sys/arch/x68k/stand/loadbsd.
2001-12-07 06:59:20 +00:00
briggs 5ff99309b4 Add a floppyinstfs 2001-12-07 05:25:24 +00:00
briggs b63ee4da76 Add INSTALL as a BUILD_KERNEL. 2001-12-07 05:24:20 +00:00
briggs 7a5658c94a 16 partitions 2001-12-07 05:23:41 +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
minoura 3661bbfbf5 Set partition type = 4.2BSD. 2001-12-06 04:18:01 +00:00
wiz 70fe6c1246 Add MAKEDEV(8) for acorn32 and necessary directories. 2001-12-02 18:56:47 +00:00
augustss 47cad643f9 Make cir and irframe. 2001-12-02 10:50:26 +00:00
gmcgarry 5585cbd30c Allow sd15, to remain consistent throughout. 2001-12-02 02:51:28 +00:00
thorpej dd174632c2 Add KERNEL_SUFFIXES; it currently includes "srec". 2001-11-30 18:51:18 +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
reinoud 1a67790534 Forgot to add this directory to the repository when creating arch/acorn32
...
2001-11-30 14:22:33 +00:00
thorpej 8bfa8833dc Add release-building glue for NetBSD/evbarm. Currently we build
two kernel sets: one for INTEGRATOR, one for IQ80310.
2001-11-29 22:46:42 +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
lukem 69c7349d44 fix mfs examples 2001-11-26 16:34:56 +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
atatat 8d76c9bee4 Watching inode usage is important, too. 2001-11-23 04:20:27 +00:00
soren 7e84b9e1db Add wscons devices. 2001-11-22 04:50:04 +00:00
itojun 53805e1cd5 uucpd supports IPv6 2001-11-21 10:27:53 +00:00
soren e5c4213a9f etc Makefile.inc for sgimips. 2001-11-20 16:41:44 +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
lukem 6a4937a4c8 use reverse_list() (from rc.subr) to reverse the list 2001-11-19 03:19:28 +00:00
lukem 50b7dbcb07 Add reverse_list(), which prints the reverse of the list of words.
Doesn't attempt to handle words with whitespace, etc.
2001-11-19 03:18:32 +00:00
augustss 6424a6316a Make more USB controller devices. You can easily have 6 these days. 2001-11-15 22:16:17 +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
soren f6d503d78f Fix vnd blk/chr number. 2001-11-11 00:39:33 +00:00
wiz 6714016a2d add /usr/share/man/{cat,man}8/evbarm 2001-11-10 22:56:18 +00:00
thorpej 33e8c8e58d Add evbarm "etc" files. 2001-11-10 18:55:52 +00:00
thorpej bc4df2b935 Remove speed specification from the "default" entry. This allows
/etc/ttys to specify "default" and inherit whatever speed the device
is currently using (very useful for some serial console configurations).
2001-11-10 18:49:13 +00:00
lukem 949fa9ae03 remove blank lines from the lists of files to backup_and_diff 2001-11-09 09:01:20 +00:00
gmcgarry 66105909dc placeholders for wscons 2001-11-08 06:29:24 +00:00
lukem 25ebf09ae0 add various directories under /usr/include (kernel includes) and
/usr/share/nls that have previously been created by <bsd.kinc.mk>
and <bsd.nls.mk>
2001-11-06 10:56:46 +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
augustss 0f4c5ed617 Add moused, default off. 2001-10-29 23:25:00 +00:00
augustss 8abd9b8182 Create wsmuxN and wsmuxctlN together.
Use separate nodes for wsmouse and wskbd.
2001-10-29 22:50:40 +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
perry b159dba912 Fix a mysterious
csh: Permission denied
	csh: Trying to start from "/var/log"
message.

This was caused by the
	su -m uucp -c "uustat -a"
line being executed in a directory not readable by uucp. The login
shell implied by -m is of course root's shell, /bin/csh, which doesn't
like not being able to read the dir it is in, and thus the errors. By
temporarily cd'ing to /tmp the problem is fixed.

What is really needed, of course, is a way to tell su what shell you
want to use explicitly, especially for use in scripts where the
vagaries of which shell the login executing the script uses should not
be depended on. No such method exists. One should be added.

Indeed, it might also be nice to have a way of telling su to directly
execute a command with -c rather than using a shell to interpret the
command.

I cannot find any standards documents that specify su at the moment,
though. SuSv2 is silent on su(8).
2001-10-23 18:39:03 +00:00
perry 0d724a7b06 stylistic nit: dump -W, not dump W 2001-10-23 17:34:53 +00:00
jmc e6a08ecc0f Fix typo on pci* add's. Missing bash 2001-10-20 05:57:32 +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 11336572c3 add -dgq to check_pkgs ls(1). suggested by @@@ 2001-10-18 16:08:24 +00:00
taca 4f34915dce Add -T option to ls(1) when -l option is specified.
This fixes none-changed files under ${backup_dir}/pkgs as bellow:

======
/var/backups/pkgs diffs (OLD < > NEW)
======
159c159
< -rw-r--r--  1 root  wheel     528 Apr 19 01:11 ja-less-332/+CONTENTS
---
> -rw-r--r--  1 root  wheel     528 Apr 19  2001 ja-less-332/+CONTENTS
2001-10-18 14:50:17 +00:00
uch 0cbd019fc3 playstation2 support 2001-10-15 16:22:50 +00:00
lukem 98228effd2 Use "nodiff" instead of "nomail" for the tag which is used to exclude
files from having the changes diff generated.  Suggested by Michael Graff.
2001-10-15 03:00:22 +00:00
lukem 9d713861f1 monitor etc/changelist again 2001-10-15 02:56:42 +00:00
lukem 74cf1ec6f4 minor optimisation suggested by christos 2001-10-14 00:42:31 +00:00
augustss 9cf0f0364b Allow creation of wsmuxctl devices. 2001-10-13 20:20:54 +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
lukem 01c63bc35a - add "ntpd" user (homedir: /var/chroot/ntpd) and "ntpd" group, for use by
future work to support a chroot(8)ed ntpd
- move /var/named -> /var/chroot/named for consistency with ntpd
2001-10-11 07:21:07 +00:00
lukem f28a27bd16 if named_chrootdir is set, always repoint the /var/run/named.pid and
/var/run/ndc symlinks, because named_chrootdir might change between
restarts and the symlinks weren't getting updated correctly in the old code.
2001-10-11 07:10:08 +00:00
chs d15ad88d82 skip "distribution" step if DISTRIBUTION_DONE is set. 2001-10-10 06:58:56 +00:00
veego 0674841150 Put the 'uustat -a' into double quotes.
It still doesn't work, but you won't get the error about an Unknown option: `-a'
anymore.

The login shell for uucp is /usr/libexec/uucp/uucico, so su -m doesn't work.
This needs to be fixed.
2001-10-09 05:28:42 +00:00
enami a28fcd776c Make mtree a host tool and use it when appropriate. 2001-10-09 05:19:03 +00:00
lukem a9b011ff87 remove unnecessary uname=root 2001-10-08 02:48:49 +00:00
lukem ff2aa3f8e8 Take advantage of mtree(8)'s recently added support for absolute paths.
Use a default "/set uname=root gname=wheel".
This drastically reduces the size of the file, as well as making it
far more maintainable. The differences are:
	lines   words  bytes  filename
	  342    1633  16272  special-relative
	  295     998  11971  special-absolute
2001-10-05 16:11:46 +00:00
lukem 877f022d22 Take advantage of mtree(8)'s recently added support for absolute paths.
This drastically reduces the size of the file, as well as making it
far more maintainable. The differences are:
	lines   words  bytes  filename
	3240    3847   43634  NetBSD.dist-relative
	 632     696   17166  NetBSD.dist-absolute
2001-10-05 16:09:38 +00:00
lukem a938c1418c minor whitespace fix 2001-10-05 01:06:17 +00:00
tv c4d13adb05 Append / to ${DESTDIR} in distrib-dirs rule; fixes PR bin/14080. 2001-10-04 16:46:22 +00:00
lukem 8c4fc91c36 replace "pkg_dbdir" with "pkgdb_dir", to be consistent with "backup_dir" 2001-10-03 15:41:25 +00:00
cjs 350cdd6a80 Since we store the output of ls for use later, make sure that we have TZ=UTC.
(Otherwise time zone changes cause us to believe that files have changed
when they have not.)
2001-10-03 07:04:32 +00:00
lukem f263bbb1eb - clean up a couple of comments
- reformat some awk blocks
- replace "sed 1d | awk '...'" with "awk 'NR==1 {next;} ...'"
2001-10-03 00:12:17 +00:00
lukem 451df90b87 add /etc/defaults/*.conf 2001-10-02 03:02:10 +00:00
lukem 937f059e75 remove rule for pkgsrc - we don't have one for any of the other source
directories.   requested in [bin/13818]
2001-10-02 01:21:27 +00:00
lukem 3e5fe9c71e add etc/rc.d/*. fixes [bin/12729] 2001-10-02 01:08:11 +00:00
lukem 10887c7f1f rc.local is technically an optional file... 2001-10-02 00:26:07 +00:00
lukem d15062c3c7 add ssh{,d}.conf, ssh_known_hosts{,2}, ssh_host_{[rd]sa_,}key{.pub,} 2001-10-02 00:16:36 +00:00
lukem 6d044e5a56 add a bunch of optional etc stuff from changelist:
Distfile bootparams bootptab ccd.conf daily.local defaultdomain
	dhclient-enter-hooks dhclient-exit-hooks dhclient.conf dhcpd.conf
	disktab ethers ftpd.conf ftpwelcome gateways hesiod.conf hosts.allow
	hosts.deny hosts.lpd ifaliases ipf.conf ipnat.conf ipsec.conf
	monthly.local mygate myname netgroup netgroup.db netstart.local
	ntp.conf passwd.conf rbootd.conf rtadvd.conf security.local
	ttyaction usermgmt.conf weekly.local
- add required stuff from changelist:
	etc/floppytab etc/netconfig etc/sysctl.conf
    	var/cron/tabs/root
	var/yp/Makefile
sort mail/ into its proper place
add some comments to remind us of things to look at in the future
2001-10-01 08:01:36 +00:00
atatat 9202500182 Add a chunk of code to check the installed pkgs list by making a list
of all installed pkgs and their +CONTENTS and +REQUIRED_BY files (if
they have one) and handling this file along with all the other
CHANGELIST stuff.

Greg Woods gets points for coming up with the idea.

Luke Mewburn asked me to do it, and provided lots of criticism along
the way.
2001-10-01 02:21:20 +00:00
hubertf d8250777f4 Make rtsol_flags default to -a, to do Router Solicitation on all
interfaces when someone sets rtsol=YES.

OK'd by Itojun.
2001-09-24 11:34:11 +00:00
lukem 5a212acf6e remove acd (non existant), add ld (for hw raid logical drives) 2001-09-24 03:19:43 +00:00
perry 5f93a646a5 add raid, remove cd drives and floppy drives from the nightly disk
permissions checks.

note: This whole thing needs to be rototilled. And yes, I'm
volunteering to do it.
2001-09-23 19:51:20 +00:00
perry 247041e342 Update the password sanity checking thusly:
1) If a password entry is of the form \*[A-z-]+, do not complain that
   the account is off but has a valid password. Thus you can do
   passwords like *ssh to indicate ssh only logins.
   We should come up with a standard scheme for what various *keywords mean.
   Note that if the field length is 13, 20 or 34 you'll still get
   bitched at.
   This code should be cleaned up. (So should the password scheme.)
2) If the entry is for "toor", don't complain that the account is off
   but has a valid shell. We ship with toor:*:, there is no point in
   complaining about it.

Part of the campaign against spurious security warning output.
2001-09-23 19:10:25 +00:00
perry 215d097e45 run mtree on the special file using the new -l option, so it will not
complain about things like files set 444 instead of 644.

part of the campaign against spurious output in the nightly security run.
2001-09-22 04:06:23 +00:00
ad fcf00dcc00 Add `dpti', which is an I2O vendor extension implementing the DPT/Adaptec
control interface. This makes it possible to run the Linux versions of
dptmgr, raidutil, dptelog and other tools under NetBSD.
2001-09-21 23:44:19 +00:00
mason 80e5affebe language corrections 2001-09-19 23:42:21 +00:00
ad 1bdee7b3c6 Create stic devices. 2001-09-18 19:58:41 +00:00
toshii 90d9e7e552 Add a new IANA registered service: italk. (a multilingual chat system) 2001-09-18 03:50:43 +00:00
hubertf a6d42bbc31 Run uustat with uid=uucp, not with euid=uucp/uid=root, to prevent
some badboys gaining back root privs. Inspided by OpenBSD.
Not that we didn't have this forever... (SA, anyone?)
2001-09-17 23:41:32 +00:00
veego 06eedf1e47 Create wsfont in the wscons target, so it would be created during a
MAKEDEV all.
2001-09-16 08:19:06 +00:00
manu c7abdf2c7c Added the clockctl device for macppc 2001-09-16 07:31:07 +00:00
mrg 3ca38a76ec add comments for previous; fixes MAKEDEV.8 generation. noted by wiz. 2001-09-15 18:31:50 +00:00
mrg 57dca874e2 create ss, ch, uk and pci devices. 2001-09-15 17:44:47 +00:00
thorpej 5fdfced15e Make pci and agp device nodes. 2001-09-15 04:45:28 +00:00
thorpej e27d25403e Fix a typo. 2001-09-15 04:42:45 +00:00
thorpej 5cd421c8c0 Create dtyC* devices, as well. 2001-09-15 04:41:46 +00:00
nathanw a089a25a28 Add PCI bus devices. 2001-09-14 21:15:03 +00:00
thorpej 6813f628ef Make pci device nodes. 2001-09-13 22:09:15 +00:00
jdolecek 41f3e70221 build GENERIC_PS2TINY and make kern-ps2tiny kern set 2001-09-13 18:08:13 +00:00
augustss 504f009161 Add an entry to make wsmux devices. 2001-09-10 21:23:53 +00:00
fvdl a00e8936cb Add agp device(s) 2001-09-10 12:58:35 +00:00
martin ef3e53a669 Add downinterfaces. Noticed by Thomas Klausner. 2001-09-08 06:06:52 +00:00
martin 552b2e3600 Make this work without parameters (i.e. manual invocation) 2001-09-04 20:40:40 +00:00
martin d7e4ab316c Add support to down some interfaces before shutting down the system. All
pppoe*  interfaces are automatically shut down by this script, others may be
added to the force_down_interfaces variable in /etc/rc.conf.
2001-09-04 18:09:13 +00:00
drochner c2335854a1 add comments for automatic manpage creation
(pointed out by Thomas Klausner)
2001-09-03 18:37:15 +00:00
drochner 19e9e70941 add vmegen and wsfont devices 2001-09-03 18:18:25 +00:00
matt cc353c4912 Sync hpcarm & arm32 conf.c (this entails shifting the i4b major numbers
up by one on arm32 and and adding notdef entries on hpcarm).
2001-09-03 01:33:38 +00:00
wiz 09c135bad9 Add some dirs needed for texinfo locale files. 2001-09-02 22:55:08 +00:00
simonb e60403a3f9 Remove rz/tz support for pmax, switch to MI SCSI. 2001-08-26 11:55:38 +00:00
eeh 97ff24357e Clean this up so it works again. 2001-08-26 05:31:28 +00:00
mrg a826a2ecf0 clean up a bit; also fix a snap_pre_md segment to be in snap_md_pre so it is actually executed. 2001-08-23 16:01:56 +00:00
mrg 5b9869d189 don't clobber INSTALLATION_DIRS, just add to it. add support for building
32 bit libraries, crt and ld.elf_so on 64 bit platforms (disabled by default).
2001-08-23 14:40:21 +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
wiz 8624e48221 Add /usr/share/man/{cat,man}8/netwinder. 2001-08-23 01:35:36 +00:00
matt 44c7bc97b4 Add some etc.netwinder support for netwinder. XXX Far from complete
but makes snapshots possible.
2001-08-22 18:34:48 +00:00
yamt 4f36ab62b6 chown user.group -> chown user:group
according to cvs log of basesrc/etc/etc.sun3/ttyaction and
archive of source-changes, it was backed out with MAKEDEV
because of portability issue.
but i think ttyaction doesn't have that issue as it's never
executed on non-NetBSD environment.
2001-08-21 15:16:59 +00:00
mrg bf0195348a the installation directory is called miniroot not xminiroot. 2001-08-19 14:18:39 +00:00
ad e74599e179 Make newsyslog at boot optional, as it should have been. 2001-08-18 19:50:19 +00:00
wiz 8d6595d978 Add /usr/share/man/{man,cat}4/sun2 2001-08-17 07:15:12 +00:00
lukem e2773e5d61 run fsck with "-n -f" instead of just "-n"; recent changes to fsck
mean that file systems mounted read-write are skipped unless -f is given.
problem noted by andrew brown.
2001-08-09 15:30:30 +00:00
lukem ed97fbd98d create /var/named 0755 root:wheel instead of 0750 root:named 2001-08-09 01:32:46 +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
garbled d472541074 And add sshdconf here too. Christ there are alot of files to update. 2001-08-02 05:47:59 +00:00
ad aaf3c7c88b Hook in the mly control interface on i386. 2001-08-01 20:54:16 +00:00
wiz d2b1c33dc5 Undo last: glob(3) isn't used for _whatdb (yet?).
[broke e.g. installation of devel/netcdf]
2001-07-29 15:50:29 +00:00
wiz a9356936b4 seperate -> separate 2001-07-22 13:33:58 +00:00