Commit Graph

3767 Commits

Author SHA1 Message Date
christos 66ee23cc21 iana-generated protocols file using:
http://www.sethwklein.net/projects/iana-etc/
2007-05-08 20:40:12 +00:00
christos 5258fdfda2 iana-generated services file using: http://www.sethwklein.net/projects/iana-etc/ 2007-05-08 20:38:37 +00:00
christos f3418d6240 - don't trash utmp{,x} needlessly
- also support netgroup services and password
- pretty print
2007-05-08 20:33:59 +00:00
skrll 13951ee3d4 Add an INSTALL kernel for landisk and enable building it.
Also add an installation/misc directory for a boot.fs image which is WIP.
2007-05-02 08:02:00 +00:00
tron e848cdf438 Terminate amd(8) gracefully during system shutdown.
This should avoid occasional problems with syncing or unmounting
filesystems on machines which use the automounter. Tested
successfully under NetBSD-i386 3.1_STABLE and 4.0_BETA2.
2007-04-23 14:27:30 +00:00
tron 01f7150efa The "routed" and "route6d" scripts must be run early during system startup
because they are part of the network initialization. Use similar
dependences as the "rtsold" script.

This should fix PR misc/36171.
2007-04-21 15:20:07 +00:00
pooka 11931abec3 add 9P file/resource protocol: tcp/udp 564 2007-04-20 16:18:02 +00:00
bouyer dcb3400385 Sync ISO target directory and name with distrib/common/Makefile.bootcd:
target directory is ${RELEASEDIR}/iso/, named ${MACHINE}cd.iso by
default.
2007-04-11 20:46:09 +00:00
scw 5764a76889 Remove support for NetBSD/{,evb}sh5. 2007-04-08 09:35:21 +00:00
apb 31edfc6f0f * Add a stop_boot() function in rc.subr, to terminate a multi-user boot
by killing the parent process.  The parent's PID is saved in $RC_PID.
* In all rc.d/* scripts that previously tried to stop the boot,
  replace in-line code with "stop_boot".
* Document this.

This should fix PR 29822.
2007-04-06 14:20:08 +00:00
mishka 833cf25850 Provide yet more functionality to wscons.conf's "setvar" (see
examples in the wscons.conf). Now, you have to specify wscons
control device and put variable name and parameter on separate
fields.

NB: changes ARE NOT backward compatible and config file must be
checked (but default config doesn't utilizing setvar).
2007-04-02 12:42:42 +00:00
tnozaki fd2dd8ec0d add new encoding support to iconv(3):
- RISCOS-LATIN1
	- DEC-MCS
	- DEC-HANYU(libDECHanyu)
2007-04-01 18:52:28 +00:00
jnemeth f2e950685d PR/36058 -- fix check for group/other writable home directories from
Jukka Salmi
2007-03-27 08:37:58 +00:00
dyoung aa85121e03 Make './MAKEDEV local' work as expected, whether we are counting
the number of /dev nodes or not.
2007-03-21 23:07:00 +00:00
garbled c81799dbbe Create /dev/residual on prep 2007-03-21 04:26:07 +00:00
dyoung 46abb5c0e8 Remove whitespace from ends of lines. 2007-03-21 03:39:41 +00:00
plunky c6f8856e3c For sdpd(8), change default user/group from nobody/nobody to _sdpd/_sdpd 2007-03-18 15:53:54 +00:00
abs bde6709836 Ignore comment (starting with #) lines in mixerctl.conf 2007-03-16 22:30:22 +00:00
bad ae77ae0ca1 Recent versions of mkisofs (I've tested starting with cdrtools-2.01.01a20)
can't find the el-torito boot image with the old syntax. This can be
fixed by removed the leading "i386/" from the -b argument, but then
the mkisofs from the current cdrtools-2.01 package won't find the boot image.

Change the graf-point specifications so that a trailing / terminates
the grafted directories. This way both versions of mkisofs can find the
boot loader.
2007-03-16 21:12:17 +00:00
tnozaki aeadbd280f add tr_TR.ISO8859-9 locale. 2007-03-14 15:49:25 +00:00
tnozaki 9eae719a71 1. added iconv support of KZ-1048 encoding
2. move PTCP154 to KAZAKH directory.
2007-03-13 16:34:37 +00:00
apb 1f33f6e66f Test whether pax works; if not, fall back to mknod.
This is intended for use on install media that might not have pax.
2007-03-11 16:08:11 +00:00
apb f5b5e05c27 * Add "-p pax" flag, to create all device nodes at once using pax,
instead of one by one using mknod.  This is much faster (speed
  increases of up to 20 times have been observed, but 3 to 5 times is
  more common).
* One "-M" flag will create the mfs file system but not redirect output
  to a temporary console; "-M -M" will also redirect output.
* Change the way we accumulate options to pass to MAKEDEV.local.
2007-03-11 15:52:30 +00:00
jmmv a9a41f6c67 Convert shark's installation kernel image (netbsd-INSTALL) to a.out format
so that it can be loaded by the machine's firmware.  Put the resulting
image inside the 'installation/instkernel' release subdirectory, as the
installation instructions explain.

Fixes port-shark/35563.
2007-03-10 17:57:41 +00:00
dsl b1c0dd5ffc Replace hexprint with a version that is much faster for values > 15.
Since I managed to commit my alternate scheme for zeropad, delete
the commented out lines and replace the only other use.
I've not deleted the function itself though.
2007-03-09 19:16:47 +00:00
dsl 5c2f2286e3 Add a globally applied substitution pattern for the console major number.
Use it when creating a temporary node for the console.
MAKEDEV -M should now output what it is doing.
2007-03-09 13:57:54 +00:00
tnozaki ab9a36c548 add nn_NO(Nynorsk) and nb_NO(Bokmal) locale. 2007-03-08 16:26:26 +00:00
bouyer 144d1a5c9c Make iso-image do nothing for all but mac68k, which still
relies on mkisofs to create bootable ISO image. macppc should also be there,
but it seems the code to make an iso bootable never got added in etc.macppc/
2007-03-06 21:59:40 +00:00
bouyer ff6bcd05a5 For the benefit of modern hardware, enable ACPI by default in INSTALL and
GENERIC kernels. If ACPI is an issue on your hardware, 'boot -c' and
'disable acpi' should be a workaround. ACPI-enabled kernels works fine
on pre-acpi hardware.
for amd64:
- add ACPI to INSTALL and GENERIC, remove the *_ACPI config files.
- get rid of the bootfloppy-big.fs boot image, and got to a 3-floppy boot
  image
for i386:
- introduce INSTALL_LARGE which has ACPI and some devices with big firmware
- move some devices from INSTALL to INSTALL_LARGE
- Boot floppies still use INSTALL, and bootfloppy-big.fs is still there
  (for thoses who want to build el-torito floppy emulation boot CD) and use
  INSTALL.
For both, drop the 'iso-image' code in etc/ to make the iso bootable, we'll
use something else to build bootable CDs.
2007-03-06 21:47:45 +00:00
tnozaki 806c2e8ee3 add zh_HK.Big5-HKSCS locale, derrived from FreeBSD. 2007-03-06 15:50:45 +00:00
tsutsui 1427320b39 Create /dev/pci0. 2007-03-04 10:36:00 +00:00
apb 68723a5b5f Remove MAKEDEV.subr. This removes the risk of third party scripts (or
human procedures) breaking because they assume it's enough to copy
MAKEDEV fom one place to another.

Let MAKEDEV return after defining shell functions but before doing any
real work, if MAKEDEV_AS_LIBRARY is set.

Let MAKEDEV.local load MAKEDEV as a function library via
"MAKEDEV_AS_LIBRARY=1 . MAKEDEV".
2007-03-03 06:36:00 +00:00
dsl 7bb36ad737 Use the correct major number for the temporary console node 2007-03-02 22:44:16 +00:00
dsl 5c38fc826c Add code that can be used by init(1) to request MAKEDEV create a mfs
filesystem and then populate it.
Determine the actual number of inodes that will be needed and add 10%.
Use "mount_mfs -o union" to save us having to copy MADEDEV (in case
anyone wishes to see it.
2007-03-02 21:29:23 +00:00
apb f21f1a9ef9 If we are called as 'sh MAKEDEV ...', then we would previously have
tried to do '. MAKEDEV.subr'.  That doesn't work, we need to do
'. ./MAKEDEV.subr' in that case.
2007-03-01 20:48:26 +00:00
garbled 1d2057e71c update mtree for man4.prep 2007-03-01 18:47:49 +00:00
apb 2b64520a8c Avoid using dirname(1), which is not available in installation
ramdisk images.
2007-02-28 19:45:37 +00:00
apb 11b77839b6 s/MAKEDEV.tmpl/MAKEDEV.subr/ in a comment 2007-02-28 13:14:38 +00:00
he 5f00d6d5a0 Install pxeboot_ia32.bin as part of a "make release" on i386 and amd64. 2007-02-27 18:17:28 +00:00
garbled cba36b0811 add nvram device 2007-02-26 23:54:48 +00:00
apb 142606111b Provide a new MAKEDEV.subr file containing utility functions for
use by both MAKEDEV and MAKEDEV.local.  This allows MAKEDEV.local
to accept the same command line arguments as MAKEDEV.

The installed MAKEDEV.subr is generated from MAKEDEV.subr.tmpl.

Replace the licence on MAKEDEV.local with a NetBSD licence, since I
rewrote the entire file.

Reviewed by christos and agc
2007-02-26 20:44:03 +00:00
briggs d298894138 Install sys/dev/bluetooth/btuart.h.
Descend into and build/install usr.sbin/btuartd.
Install etc/rc.d/btuartd.
2007-02-20 21:29:08 +00:00
kiyohara 10abd6f2e2 Supprot Bluetooth HCI UART (H4) driver and daemon. 2007-02-20 16:53:20 +00:00
reed cfbdfbc5a7 Remove unused references to "clean_uucp" variable. (Code was already
removed.)

Add rebuild_whatisdb weekly variable that defaults to NO.
This is for running makewhatis weekly.
This defaults to NO because it is not needed using just base sets/default
install which provide the whatis.db file(s).
2007-02-15 23:04:10 +00:00
tron 8704d644d4 Remove unnessary "if [ X"$foo" ... ]" hack which is not necessary if
you quote things properly which this script does.
2007-02-15 13:27:35 +00:00
xtraeme da18ab0b5b * Use checkyesno rather than using a harcoded value.
* If per_user_tmp is disabled and /tmp equals to ${per_user_tmp_dir}/@uid,
  remove it and recreate it with proper permissions (1777).

This fixes the problem when per_user_tmp is enabled and will put /tmp
on its original state when it's disabled.
2007-02-15 08:47:38 +00:00
xtraeme 6092e365cb Add missing quotes in readlink to compare with ${per_user_tmp_dir}/@uid,
to avoid an error about missing operator.
2007-02-15 08:44:34 +00:00
reed b173114f5c Fix typo/mispelling in comment. 2007-02-10 19:40:58 +00:00
reed 5e11b7d474 Fix spelling/typo. 2007-02-10 19:40:10 +00:00
reed ed94d203e5 Fix mispelling in comment. 2007-02-10 19:39:02 +00:00