Commit Graph

2288 Commits

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