Commit Graph

2435 Commits

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