Commit Graph

2611 Commits

Author SHA1 Message Date
soren
f514efc600 Make the build machinery happy for now. 2002-05-13 01:26:27 +00:00
jdolecek
afd89a8792 kill leftovers from the original 2002-05-10 21:19:05 +00:00
mason
2607ebcf46 /usr/mdec/installboot no longer exists 2002-05-09 17:06:01 +00:00
jdolecek
bdab257c56 add skeleton snapshot/release build hook
someone should actually write the distrib bits for luna68k eventually
2002-05-08 13:50:22 +00:00
jdolecek
8c1a587c2e sgimips doesn't have GENERIC ATM 2002-05-08 12:17:47 +00:00
isaki
af51b338a9 Reduce pty to make more smaller install image. 2002-05-07 14:13:01 +00:00
isaki
62ed4db5a4 Dig installation/misc. because new distrib/x68k does not create it. 2002-05-07 14:11:37 +00:00
simonb
cb4eb5a74c Fix some white space niggles. 2002-05-07 11:29:37 +00:00
jdolecek
a2624ed432 add minimal disktab, with comments only (derived from pmax one) 2002-05-07 09:28:43 +00:00
jdolecek
f298b07c59 fix typos 2002-05-07 09:27:19 +00:00
lukem
42f8815d89 Change -s srcdir and -d destdir so that they don't contain the "/etc" portion.
srcdir now defaults to /usr/src (from /usr/src/etc).
destdir now defaults to / (from /etc).
2002-05-07 02:11:07 +00:00
lukem
f0e51dbf17 Check for obsolete "mux 1" wscons.conf(5) entries.
Suggested by George Coulouris <george@coulouris.org>.
2002-05-06 03:02:59 +00:00
jdolecek
5beaf30ad8 Move the sample fstab files to /usr/share/examples/fstab/. Duplicates
or very similar configs removed.
2002-05-04 20:06:09 +00:00
jdolecek
abadcdeb3e add /usr/share/exmples/fstab 2002-05-04 20:03:14 +00:00
jdolecek
074863cac2 Move the sample fstab files to /usr/share/examples/fstab/. Duplicates
or very similar configs removed.
2002-05-04 19:43:57 +00:00
tron
a3ed40ee7c Sync ipf(4) after starting or stopping. This is necesarry to make filter
rules for dynamically created interfaces like pppoe(4) effective.
2002-05-04 13:53:02 +00:00
sommerfeld
965e0acae4 Correct BUGS in BUILDING.mdoc now that most ports are USE_NEW_TOOLCHAIN
Obsolete NBUILDJOBS; build.sh just passes -jN through to make(1),
which inherits it cooperatively through the build tree.  Fix
documentation so that it's shown to be deprecated.

If you use build -jN, please save full build logs so that errors due
to missing dependancies can be analyzed and corrected.
2002-05-02 22:13:30 +00:00
wiz
bf527580b7 Remove previously empty /usr/share/man/{cat,html,man}9/arm32. 2002-05-02 17:03:57 +00:00
lukem
4ed3791a7a remove unused installation/tapeimage 2002-05-02 15:38:07 +00:00
lukem
2d1f93d643 - consistency cleanup
- ensure INSTALLATION_DIRS contains the appropriate extra directories
  for a given platform
2002-05-02 15:09:40 +00:00
martti
f6415ab206 Add POP password change service (pkgsrc/mail/poppassd) 2002-04-30 13:10:43 +00:00
lukem
d1d73e68b7 don't bother warning or supporting obsolete $critical_filesystems_beforenet
or $critical_filesystems; postinstall now checks for these
2002-04-29 12:29:53 +00:00
lukem
25bdefc720 don't bother warning or supporting obsolete $ip6forwarding;
postinstall now checks for this
2002-04-29 12:13:14 +00:00
lukem
2a48d151ab don't bother warning about obsolete $defcorename and $nfsiod_flags;
postinstall now checks for these
2002-04-29 12:10:23 +00:00
lukem
546b01ef65 don't bother warning about obsolete $amd_master; postinstall now does this 2002-04-29 12:08:17 +00:00
lukem
5d082ef225 - cmpdir(); use "cp -f" (instead of "cp") to copy files
- do-rc(); check for obsoleted rc.conf(5) variables
2002-04-29 12:05:45 +00:00
lukem
c83924b939 ssh: try renaming /etc/ssh/ssh{,d}.conf -> /etc/ssh/ssh{,d}_config before
/etc/ssh{,d}.conf -> /etc/ssh/ssh{,d}_config.
2002-04-29 08:31:01 +00:00
lukem
244b762de1 Complete the conversion back to the OpenSSH default configuration files of
"/etc/ssh/ssh_config" (from "/etc/ssh/ssh.conf") for ssh(1) and other
userland tools, and "/etc/ssh/sshd_config (from "/etc/ssh/sshd.conf")
for sshd(8).

etc/postinstall will detect this, and if "fix" is given, rename the files.
2002-04-29 08:23:34 +00:00
lukem
21d59649a5 add (optional) etc/postinstall 2002-04-29 07:28:27 +00:00
lukem
a65f716c1b - ssh: check for obsolete sshd_conf_dir
- add extra arg to cmpdir() (before files list), which is the target
  mode of copied files
- implement rcconf_isset(), which checks if an rc.conf(5) variable is set
  and warns if so.
- minor tweaks
2002-04-29 06:05:24 +00:00
lukem
b3cffe8cbf deprecate $sshd_conf_dir and hardcode /etc/ssh.
$sshd_conf_dir wasn't as flexible as liked (it didn't work for ssh(1),
host keys or known_hosts).
2002-04-29 05:55:05 +00:00
bjh21
8dd390a3ac This script is run on the host for cross builds, so it can't use mktemp -d.
Use a tidied-up version of my shell fragment from maketars instead.
2002-04-28 22:17:43 +00:00
shiba
a26fd009c9 Add IDE drive support.
Note:
   (1) Character device major number chages to 49 from 48(in my original
       code). So it is necessary to rebuild device files.
   (2) Must use Booter 2.0.0a10 or later.
   (3) Default mode is cpu busy wait. It is defined by flags 0x1000.
       It will be more slow than before.
       No flags means hardware interrupt mode. But it might be able to
       get no interrupts.

Support machines:
   (1) Quadra 630 series
   (2) PowerBook 150

Non tested machine:
   (1) PowerBook 190 series

Approved by: briggs
2002-04-27 19:29:08 +00:00
lukem
3fa66e9068 - use "cp" instead of "cp -p", as the files in ${SRC_ETC} might not be owned
by root
- set umask to 022
2002-04-26 16:32:49 +00:00
lukem
8feb052770 s/_SRC_TOP_/NETBSDSRCDIR/ 2002-04-26 16:23:14 +00:00
lukem
9830579350 add 'help' as a synonym for 'usage' 2002-04-26 15:49:09 +00:00
lukem
9ada96166d install postinstall 2002-04-26 15:43:39 +00:00
lukem
6cc319cec4 postinstall -- check for or fix configuration changes that occur over time
as NetBSD evolves.

checks/fixes supported in initial version:
  defaults      /etc/defaults being up to date
  mtree         /etc/mtree being up to date
  rc            /etc/rc* and /etc/rc.d/ being up to date
  periodic      /etc/{daily,weekly,monthly,security} being up to date
  ssh           ssh configuration file relocation
2002-04-26 15:37:25 +00:00
lukem
39a9178088 - Improve wscons.conf(5)
- Add support for "setvar", which allows setting of arbitrary wsconsctl(8)
  variables.  Per email on tech-userlevel from Julio Merino <jmmv@hispabsd.org>
2002-04-26 00:06:53 +00:00
lukem
2c1cfc8e8c - in <bsd.files.mk>, don't clear FILES after using it, as that prevents
make -V FILES
  from being useful (and given that every other variable can be
  extracted using make -V, the behaviour was unusually inconsistent
  given that the original reason for clearing it doesn't seem to be
  relevant anymore)
- use <bsd.prog.mk> instead of directly including <bsd.files.mk>
  (and possibly <bsd.man.mk> or <bsd.own.mk>)
- remove obsolete NOPROG
2002-04-24 08:18:45 +00:00
fredette
d39487cb88 Added support for the __ramdisk pseudo-argument. When given,
we make fewer devices to conserve inodes on the ramdisk.
2002-04-22 21:09:14 +00:00
gmcgarry
8212c0741f Use INSTALLATION_DIRS for directory creation. 2002-04-22 03:37:12 +00:00
lukem
46de584226 When building kernel .tgz sets, take advantage of pax's new ability to
not store optional directory entries when copying from a specfile.
2002-04-21 00:06:03 +00:00
enami
c52dde84e4 Don't assume that $0 is this script. 2002-04-19 23:13:44 +00:00
enami
8a4552987f Wrap long lines. 2002-04-19 23:12:26 +00:00
gmcgarry
b6e2bd1d9e Make the install notes before trying to install them. 2002-04-19 07:32:08 +00:00
bjh21
bb6c644707 "make release" in distrib/acorn26 too. 2002-04-19 00:05:25 +00:00
wiz
95bc0b09e2 Remove opms(4) for bebox (superseded by pms(4)).
Approved by christos.
2002-04-18 15:44:20 +00:00
wiz
1f28a82ce5 Remove /dev/pms0 creation from ports that do not have the driver;
obsolete it on the ones that had it in the 'all' target.
2002-04-18 13:24:56 +00:00
wiz
c6dc851f64 Remove opms(4) and its device, /dev/pms0, from the i386 port, because
it has been obsoleted by pms(4).

Reviewed by fvdl and christos.
2002-04-18 12:54:09 +00:00
lukem
2f01f87528 add a PROVIDE line 2002-04-18 07:33:42 +00:00
lukem
892c0453dd consistently set rc_(fast|force)=yes 2002-04-18 07:18:05 +00:00
lukem
69a8b3e4e9 Revert previous:
+ it was not discussed first
+ it is not consistent with the rest of the rc.d system. everything else:
	- has defaults & example configuration in /etc/defaults/rc.conf
	- uses lower-case variable names, including ipmon itself

Similar functionality added by the change I'm backing out may be
reintroduced in the future once it's been changed to meet our de-facto
rc.d standards, as opposed to something that appears to have been
lifted from a non-NetBSD source (HP/UX ?) ...
2002-04-18 05:02:00 +00:00
darrenr
011bcd6f48 load_rc_config needs to be called earlier to pickup the variables from the
config file so they can be used in the rc script itself.
2002-04-17 11:42:54 +00:00
darrenr
661fb19baa remove the "#!/bin/sh" - this file isn't meant to be executed, ever, just
sourced for data.
2002-04-17 11:11:43 +00:00
darrenr
eff84cd1e7 Modify the script to use variable names provided by the ipmon conf file to
enable/disable "key" features.
2002-04-17 11:05:12 +00:00
darrenr
3ca92bc1fd Create an a parameters file for the ipmon startup script. Comments and
descriptive variable names (without obscure stuff) should make tuning the
behaviour of ipmon easier.
2002-04-17 11:04:16 +00:00
leo
aad4d0a45a Build as sets:
- BOOT : TT030/Falcon
 - HADES : Hades
 - MILAN-ISAIDE,MILAN-PCIIDE: Milan

Fixes PR-16366
2002-04-16 13:39:19 +00:00
tsutsui
ac00a8493f Set KERNEL_SUFFIXES=ecoff 2002-04-15 14:41:39 +00:00
ad
4f7cf03e41 Add an RCS Id, and comment out the settings since they represent what the
defaults are - per Andrew Brown's suggestion.
2002-04-15 07:48:00 +00:00
perry
9c429c8cc6 add default passwd.conf file 2002-04-15 03:01:31 +00:00
gmcgarry
aae385ef40 Drop into ${.CURDIR}/../distrib/${MACHINE} and make release. 2002-04-14 20:50:20 +00:00
tsutsui
f33a18bc93 Build distrib sets for release. 2002-04-14 14:20:05 +00:00
thorpej
c68b9ddc6c Add a sample SCSI disk fstab. 2002-04-13 00:53:00 +00:00
thorpej
4cb1844574 Make an Npwr kernel set, and build the Npwr install kernel. 2002-04-13 00:51:57 +00:00
toshii
d5185f221c Add a minimal set of etc.hpcarm/* files. 2002-04-13 00:07:25 +00:00
tv
99249da7dd Do sums of installation/* correctly. 2002-04-13 00:00:20 +00:00
tv
df1d86fd88 Go into the new stand/misc directory to grab the host-OS prebuilt tools
for installation/misc.
2002-04-12 23:13:23 +00:00
thorpej
cb7aff10a4 Add an installation/instkernel subdirectory to the release. 2002-04-12 22:10:21 +00:00
skrll
d16056a869 Add "aout" to KERNEL_SUFFIXES. 2002-04-12 09:31:01 +00:00
briggs
24e6b2b0cf Remove devices from 'all' that we can't make. 2002-04-12 03:25:00 +00:00
heinz
23630072ae typo in device name isdntrc fixed 2002-04-11 20:27:40 +00:00
skrll
ac60400580 The results of my cats NWDO hacking.
This was tested using a custom INSTALL kernel. The current one is >4Mb
which the cats firmware can't currently boot. We need to decide what
needs to be removed from INSTALL.
2002-04-11 16:33:58 +00:00
martin
c095b10bc5 Now that isdnd does auto-UP/DOWN itself, remove it from the rc.d script.
Remove all related rc.conf options as well, we now have fine-grained
controll in /etc/isdn/isdnd.rc.
2002-04-10 23:37:12 +00:00
lukem
818750e0b3 if UNPRIVED, call ${PAX} with -N ${_SRC_TOP}/etc 2002-04-10 15:12:37 +00:00
lukem
cf1352743d now <bsd.kernobj.mk> defines KERNSRCDIR correctly, pull it in earlier
and clean up related goop
2002-04-10 14:57:45 +00:00
simonb
520668b4aa Add sbmips "etc" files.
Fixes PR port-sbmips/16229 from Ben Harris.
2002-04-10 14:21:46 +00:00
simonb
13a96398e5 Add evbmips "etc" files.
Fixes PR port-evbmips/16230 from Ben Harris.
2002-04-10 14:21:00 +00:00
lukem
fbeeec837c When building kern-*.tgz, output an mtree specfile to pipe into
${PAX} -M so that the contents get the appropriate ownership.
Fixes [toolchain/16161] from Ben Harris <bjh21@netbsd.org>
2002-04-10 12:05:20 +00:00
matt
a6a8089c11 Don't install pcs750.bin in here anymore. 2002-04-09 18:07:24 +00:00
matt
fb9c66dec9 Use ${INSTALLBOOT}. Nuke pcs850.bin handling because it's now in
sys/arch/vax/stand/pcs.
2002-04-09 18:06:45 +00:00
tron
ddec80a3a4 Back out last change because we now have a special disktab for the
FFS regression test.
2002-04-09 14:11:22 +00:00
tron
78e9ad7e9c Add missing "floppy288" entry required for FFS regression test. 2002-04-09 12:40:33 +00:00
tron
b91dc87fb8 Add a comment to the "floppy288" entry that it is needed for the
FFS regression test.
2002-04-09 12:40:01 +00:00
wiz
d92b984e3e Fix typo in last, noted by tron. 2002-04-08 19:12:42 +00:00
wiz
661bc4b6ca Not needed any longer. 2002-04-07 15:54:23 +00:00
wiz
f4c143690e arm32 is not a valid MACHINE_ARCH anymore. 2002-04-07 15:52:27 +00:00
wiz
a4508a9aaa Remove cat8/man8 for arm32; add html8 for algor, cats, evbsh3, mvmepcc,
playstation2, shark (what's that hierarchy good for?).
2002-04-07 15:31:56 +00:00
wiz
c6efee995e Add man8/cat8 for algor, cats, evbsh3, mvmeppc, playstation2, shark. 2002-04-07 15:26:13 +00:00
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