Commit Graph

3986 Commits

Author SHA1 Message Date
xtraeme f48b67ffaf Forgot to add envsys.conf. 2007-07-01 11:04:31 +00:00
xtraeme bca6ba70fe Add the /etc/rc.d/envsys script required by envsys2. 2007-07-01 08:01:29 +00:00
xtraeme 08d5afa292 Imported envsys 2, a brief description of the new features:
(Part 4: documentation and configuration files)

* Support for detachable sensors.
* Cleaned up the API for simplicity and efficiency.
* Ability to send capacity/critical/warning events to powerd(8).
* Adapted all the code to the new locking order.
* Compatibility with the old envsys API: the ENVSYS_GTREINFO
  and ENVSYS_GTREDATA ioctl(2)s are supported.
* Added support for a 'dictionary based communication channel' between
  sysmon_power(9) and powerd(8), that means there is no 32 bytes event
  size restriction anymore.
* Binary compatibility with old envstat(8) and powerd(8) via COMPAT_40.
* All drivers with the n^2 gtredata bug were fixed, PR kern/36226.

Tested by:

blymn: smsc(4).
bouyer: ipmi(4), mfi(4).
kefren: ug(4).
njoly: viaenv(4), adt7463.c.
riz: owtemp(4).
xtraeme: acpiacad(4), acpibat(4), acpitz(4), aiboost(4), it(4), lm(4).
2007-07-01 07:55:51 +00:00
christos 4e8192be1a sync with IANA 2007-06-23 18:15:28 +00:00
christos 016b142ce7 Remove duplicate entries and document the procedure how to regenerate this
file.
2007-06-23 17:04:05 +00:00
simonb d1187d4dcb Use "default" for the getty type for the console and the serial
ports, like other evb* ports.
2007-06-22 03:47:42 +00:00
kiyohara bbec0bb7bf Added OpenBSD's zyd(4) driver.
Supports ZyDAS ZD1211/ZD1211B USB IEEE 802.11b/g wireless network device.
2007-06-09 11:20:54 +00:00
martti d405da7f9d Use "mktemp -d -t xxx" to create the temporary directories. This will use
TMPDIR environment variable if set, otherwise use /tmp.  (misc/35544)
2007-06-06 13:30:47 +00:00
agc 45743840cb Add /usr/pkg/{,s}bin to the default path for the default class for login.conf. 2007-06-01 19:01:51 +00:00
tsutsui 1f40a9d3d4 Remove more dup entries uniq(1) can't detect. 2007-05-24 15:55:50 +00:00
christos e3d9822168 PR/36384: Patrick Welche: triplicate udp entries in /etc/services
ran it through uniq
2007-05-24 15:01:47 +00:00
hubertf ae218465f7 Add GENERIC.NOACPI kernel that offers - surprise! - no ACPI
(in contrast to GENERIC).
2007-05-17 01:50:48 +00:00
martti 94f749229e Create /dev/bio 2007-05-16 13:06:03 +00:00
christos a77bf0b003 check if the source exists, not that it is a file. Reported by
Blair Sadewitz
2007-05-16 01:24:42 +00:00
christos 6ae2c5aec7 append services that got lost during the services conversion. 2007-05-15 19:58:27 +00:00
elad 6700cfccd6 Some Veriexec stuff that's been rotting in my tree for months.
Bug fixes:
  - Fix crash reported by Scott Ellis on current-users@.

  - Fix race conditions in enforcing the Veriexec rename and remove
    policies. These are NOT security issues.

  - Fix memory leak in rename handling when overwriting a monitored
    file.

  - Fix table deletion logic.

  - Don't prevent query requests if not in learning mode.


KPI updates:
  - fileassoc_table_run() now takes a cookie to pass to the callback.

  - veriexec_table_add() was removed, it is now done internally. As a
    result, there's no longer a need for VERIEXEC_TABLESIZE.

  - veriexec_report() was removed, it is now internal.

  - Perform sanity checks on the entry type, and enforce default type
    in veriexec_file_add() rather than in veriexecctl.

  - Add veriexec_flush(), used to delete all Veriexec tables, and
    veriexec_dump(), used to fill an array with all Veriexec entries.


New features:
  - Add a '-k' flag to veriexecctl, to keep the filenames in the kernel
    database. This allows Veriexec to produce slightly more accurate
    logs under certain circumstances. In the future, this can be either
    replaced by vnode->pathname translation, or combined with it.

  - Add a VERIEXEC_DUMP ioctl, to dump the entire Veriexec database.
    This can be used to recover a database if the file was lost.
    Example usage:

        # veriexecctl dump > /etc/signatures

    Note that only entries with the filename kept (that is, were loaded
    with the '-k' flag) will be dumped.

    Idea from Brett Lymn.

  - Add a VERIEXEC_FLUSH ioctl, to delete all Veriexec entries. Sample
    usage:

        # veriexecctl flush

  - Add a 'veriexec_flags' rc(8) variable, and make its default have
    the '-k' flag. On systems using the default signatures file
    (generaetd from running 'veriexecgen' with no arguments), this will
    use additional 32kb of kernel memory on average.

  - Add a '-e' flag to veriexecctl, to evaluate the fingerprint during
    load. This is done automatically for files marked as 'untrusted'.


Misc. stuff:
  - The code for veriexecctl was massively simplified as a result of
    eliminating the need for VERIEXEC_TABLESIZE, and now uses a single
    pass of the signatures file, making the loading somewhat faster.

  - Lots of minor fixes found using the (still under development)
    Veriexec regression testsuite.

  - Some of the messages Veriexec prints were improved.

  - Various documentation fixes.


All relevant man-pages were updated to reflect the above changes.

Binary compatibility with existing veriexecctl binaries is maintained.
2007-05-15 19:47:43 +00:00
christos ab7e2cbd0e add rcsid 2007-05-15 17:13:16 +00:00
christos a14fdbbe78 don't attempt to build the db file if the src file does not exist. 2007-05-13 17:23:56 +00:00
christos 2f776ce02e Move .db files for services and netgroup to /var/db per gimpy's request. 2007-05-10 17:45:50 +00:00
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
reed a5a4385fd4 Fix typo/mispelling in comment. 2007-02-10 19:36:56 +00:00
tron da3cb8f550 Increase the number of raid(4) device node sets to four and the number
of wd(4) device node sets to eight. This fixes another problem
reported in PR port-amd64/35532
2007-02-09 21:17:11 +00:00
riz 3ba975dea2 Fix off-by-one error in the creation of dk(4) device nodes. 2007-02-07 03:01:13 +00:00
dyoung df51b53ccc Create /dev/cmos. 2007-02-06 21:27:43 +00:00
elad 97d944e80d Use 0555 for the real tmp dir for now. 2007-02-06 16:54:27 +00:00
elad d488983ed2 Only override /tmp if needed. From perry@. 2007-02-05 01:47:48 +00:00
xtraeme a5c172888b Use mkdir -p to create ${per_user_tmp_dir}, otherwise if /private (this is
the default) doesn't exist there won't be any error.
2007-02-04 18:28:26 +00:00
xtraeme 470eb9feca Install the perusertmp file. 2007-02-04 16:36:07 +00:00
rpaulo ea9a233098 Add login.conf. 2007-02-04 14:44:34 +00:00
rpaulo 0231f1b5fe Add an commented out login.conf with a simple example based on OpenBSD.
Requested by Elad.
2007-02-04 14:43:03 +00:00
elad 5e2e282f9c Add support for per-user /tmp.
Enabled via per_user_tmp in /etc/rc.conf (default off).

See security(8) and rc.conf(5) for more details.

Lots of input from thorpej@ & christos@, thanks!
2007-02-04 08:19:26 +00:00
cbiere 28ea2557d4 Let timedc use the dedicated account "_timedc" for dropping privileges
instead of abusing the account "nobody".
2007-01-28 13:51:29 +00:00
hubertf 78b99d6807 _find_processes(): in addition to the existing "interpreter: /path/to/daemon"
also recognize "interpreter: daemon" in ps(1) output.

That case statement should be rewritten with expr(1) if more flexibility is
needed.

Fixes PR 35366 by Dominik Joe Pantucek, debugged with much assistance
by him on IRC.
2007-01-27 14:30:26 +00:00
kardel 54a07e0f01 PR/25482
reinstate NTP html pages (sans gif's/img tags).
The important man pages are now generated by autogen and
thus match again the code again.
2007-01-20 16:50:29 +00:00
hubertf 6a5bb11672 Fix MAKEDEV on shark: Move ses(4) devices from MI code (MAKEDEV.tmpl) to
those platforms that actually have the driver.

See also:
http://mail-index.netbsd.org/tech-userlevel/2007/01/08/0001.html

Fixes PR 26511 properly.

OK'd by wrstuden@
2007-01-15 23:35:11 +00:00
jklos 7974dc0773 Replaced tty00 - tty07 with ttyZ0 - ttyZ1 because tty00 and friends don't
exist (and symlinks aren't acceptable in many instances).
2007-01-14 00:06:24 +00:00
pooka e56cecb8ea create /dev/puffs in 'all' 2007-01-09 15:34:15 +00:00
elad bfba6c5bc8 "Verified exec" -> "Veriexec", in comment. 2006-12-30 11:06:04 +00:00
ad 7334cf17bb Enable /dev/io for COMPAT_FREEBSD. 2006-12-29 19:16:30 +00:00
hubertf bfc0884386 Make the daily script immune to changes of the current working directory
in /etc/daily.local. Fixed PR misc/33461.
2006-12-17 23:24:09 +00:00
peter 1fac5dea9c Add zaurus specific etc files. 2006-12-17 16:09:15 +00:00
reed daf4c6e3eb Remove comment about "hand-crafted".
Mention this file may be overwritten on upgrades, where to put
custom specs instead, and point to manual page.
2006-12-14 02:28:30 +00:00
reed 0dfdbcd57a Add comment about not modifying this file, where to put custom specs,
and point to man page.
2006-12-14 02:24:21 +00:00
dyoung 5eaf8c7227 Forward options -f, -m, -s to the MAKEDEV.local script, with the
help of some Bourne-shell magic from David Laight.
2006-12-10 08:14:32 +00:00
skrll ecf6232588 Some installation fixes:
- add a ses(4) major number as the MI MAKEDEV tries to create the
	  nodes. hi elad.

	- create audio devices.

	- provide mount_kernfs and a dmesg command.

	- start sysinst automagically and fix backspace key.

Mostly prompted by David H. Gutteridge on port-hp700.
2006-12-06 10:27:00 +00:00
tsutsui 535e9512ea Rename pccons(4) device node from ttyC0 to MI ttyv0
to avoid conflict with com(4).
2006-12-03 05:37:36 +00:00
freza e388b581bd Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
2006-12-02 22:18:47 +00:00
mhitch d2a191da79 It's possible to use RaidFrame now, add some raid devices on the install
miniroot.
2006-11-29 03:26:39 +00:00
tnozaki dec2eb4c9d 1. move GB*.esdb from i18n/esdb/MISC to i18n/esdb/GB directory.
2. add iconv support for Chinese Tradisional GB12345.
2006-11-23 03:25:24 +00:00
dsl bc1f6e73ad Stop building the INSTALL_SMALL, INSTALL_TINY, INSTALL_PS2, GENERIC_TINY and
GENERIC_PS2TINY kernels.
These kernels are for i386 (and small i486) systems that have almost all
long since met their makers.
Add ALL (to help avoid bitrot).
2006-11-19 11:21:19 +00:00
dsl 7e3bc3c991 Put the kernels one per line for easier commenting out 2006-11-18 21:04:40 +00:00
dogcow 02ef5933d0 add TCVN to mtree from the recent i18n changes. (hi, tnozaki!) 2006-11-13 22:28:47 +00:00
christos 3353f7d077 goodbye uucp 2006-11-12 01:20:00 +00:00
scw 0c2bb6eb97 Add CP3100 and CP3100_INSTALL to kernel/build sets. 2006-11-09 00:34:49 +00:00
christos 97be580a50 add /usr/include/ssp 2006-11-08 22:43:34 +00:00
joerg fc0bc19fc7 Add rum(4) for newer USB Ralink devices. Obtained from OpenBSD.
Special thanks to Sepherosa Ziehau for helping debugging USB issues.
Hook up rum(4) for i386 config files.
2006-10-31 22:21:16 +00:00
pooka c1b5a38fea add puffs device, but I didn't add it to MAKEDEV all on purpose
just quite yet, too experimental
2006-10-22 23:02:08 +00:00
he 099b977bfe Add the GUMSTIX kernels now that the distrib setup tries to find
those kernels.
2006-10-18 10:13:58 +00:00
elad 4c99077841 PR/31497: Robert Elz: rc.d/accounting should have KEYWORD: shutdown 2006-10-08 18:08:39 +00:00
elad dcd438d489 PR/33434: Jukka Salmi: wrong lp spool directory name in default printcap
Patch applied, thanks!
2006-10-08 15:28:49 +00:00
elad 7eab5cff73 PR/33029: Frank Kardel: /etc/services not up to date?
We probably won't be synchronizing with the IANA list (which is above 14k
lines), but would rather add the services <1024.
2006-10-08 14:30:26 +00:00
dogcow 859dcf3c5f add all the proper fields to _proxy 2006-10-08 02:34:51 +00:00
elad debd0acd05 Back out previous. This was a dup of PR/29144 that was fixed differently.
Thanks to pavel@ for pointing out, okay oster@.
2006-10-07 23:08:03 +00:00
apb dc5994b41f /etc/shrc is used by both sh and ksh, but ksh doesn't support
se -o tabcomplete, so test before using it.  Problem reported
by Pavel Cahyna, and fix tested by him.
2006-10-07 22:50:51 +00:00
rpaulo 6080ffe830 PR 30716: rc.d/ntpd{,ate} precedes rc.d/rtsold. By Ed Hynan.
rc.d/rtsold should be in the same start up line as dhclient.
2006-10-07 21:41:41 +00:00
rpaulo 20c84defc6 PR 34692: wpa_supplicant script.
By Jukka Salmi.
2006-10-07 20:52:52 +00:00
rpaulo e3c4f7c039 PR 34692: wpa_supplicant script.
By Jukka Salmi.
2006-10-07 16:50:34 +00:00
rpaulo 1921cb5602 PR 30870: Add user ``_proxy'' and make pf's ftp-proxy use it.
Initial patch by rivo nurges, thanks!
2006-10-07 15:10:17 +00:00
elad fa3f94a430 PR/32004: Ed Ravin: command interpreter test in rc.subr doesn't accomodate
chroots

Patch applied, thanks!

okay apb@
2006-10-07 11:25:15 +00:00
apb 6101aaea5a set -o tabcomplete if interactive. Discussed on tech-userlevel. 2006-10-07 10:47:03 +00:00
elad 0141f6f58f PR/22340: Benedikt Meurer: cleartmp should honor ifile on LFS
Patch applied, thanks!
2006-10-07 07:01:21 +00:00
riz 7338f92d29 Trap SIGINT so that if fsck is interrupted by ^C, we drop into single-user
mode.  Fixes misc/29822 from der Mouse, fix from Arnaud Lacombe with
comment rework by me.
2006-10-07 04:11:23 +00:00
sketch de3bf5da0e Tidy output so it matches other rc scripts. 2006-10-01 15:17:51 +00:00
jnemeth 38322a9a53 fix a couple of comments 2006-09-27 01:41:45 +00:00
tron fc8a2f9593 Remove key for "tgm.netbsd.org". The machine was put out of service when
the new autobuild cluster was brought up.
2006-09-26 21:57:06 +00:00
tron 820a357648 Improve security check for "/etc/exports":
1.) Properly handle line continuation and network exports.
2.) Make the report more compact.

Patch contributed by Jukka Salmi in PR bin/24583.
2006-09-26 08:32:40 +00:00
jmcneill b11beef4fa Add acadapter, lid_switch, and sleep_button powerd scripts. 2006-09-26 02:19:56 +00:00
jmcneill 788671871d Install all example powerd scripts by default. 2006-09-26 02:18:16 +00:00
jmcneill d54c2134a8 Add useful example scripts for powerd acadapter, lid_switch, and
sleep_button events. These use the /dev/apm interface, so should be useful
on more than just i386.
2006-09-26 02:17:38 +00:00
snj 03e091a960 Fix a sorting error in the last change. Pointed out by Jukka Salmi. 2006-09-25 21:26:27 +00:00
snj beecc65b09 Add missing rc.d scripts (cgd, ftpd, hostapd, ifwatchd, ipfs, irdaattach,
moused, rtclocaltime, staticroute, tpctl).

From Jukka Salmi in PR misc/33626.
2006-09-24 23:10:47 +00:00
manu 62e38c2a6a Restore twa as major 187, this time with the flag so that it does not get
used in kernels that do not include the driver.
2006-09-24 08:23:36 +00:00
manu 2a6884acfb Back out the twa device:
- if allocated in the MI range, it breaks the builds for ports that do
  not use it
- if allocated in the MD range, 3ware's tw_cli tool will break because it
  hardcodes the major
2006-09-24 03:46:30 +00:00
snj 9f4b947629 Add lpa[0-2]. 2006-09-23 22:31:48 +00:00
manu a2d5fc8a9e Add twa device 2006-09-23 22:24:51 +00:00
elad e23e9cfd2a PR/26511: Stephen Borrill: ses devices are not created with MAKEDEV all
Patch applied, thanks!
2006-09-23 20:23:09 +00:00
elad a333c21fa0 PR/18476: reed at reedmedia dot net: add /etc/skel to special mtree
Slightly different patch applied (entry was made optional), thanks!
2006-09-23 09:42:31 +00:00
jmcneill 64b4f9dcf8 PR #26490: /etc/security is not aware of sha1 passwords 2006-09-23 04:07:01 +00:00
christos b4d99722ef add linux emulation examples 2006-09-22 15:39:51 +00:00
taca 7a5ecb8445 Make sure to the file end with EOL ("\n").
Without EOL, pkgsrc/pkgtools/pkg_comp cause mysterious error.
2006-09-22 08:00:33 +00:00
hubertf a021833b49 Remove last traces of /var/log/aculog
OK'd by perry@
2006-09-18 22:39:37 +00:00
dbj 58ced62fd0 remove ./usr/share/examples/veriexecctl which is now listed in obsolete file 2006-09-18 08:41:21 +00:00
pavel d8b49bb74e Factor out common settings from /root/.shrc and /etc/skel/.shrc to a
new file /etc/shrc.

As proposed on tech-userlevel.
2006-09-14 13:01:31 +00:00
plunky 4f1cbddc12 update to bluetooth device attachment:
remove pseudo-device btdev(4) and inherent limitations

add bthub(4) which autoconfigures at bluetooth controllers as they
are enabled. bluetooth devices now attach here.

btdevctl(8) and its cache is updated to handle new semantics

etc/rc.d/btdevctl is updated to configure devices from a list
in /etc/bluetooth/btdevctl.conf
2006-09-10 15:45:55 +00:00
christos 156b02eae7 make postconf configurable 2006-09-07 15:26:08 +00:00
christos 4f593623cc - find the correct newaliases program from postconf
(suggested by Geert Hendrickx)
- only check for hash files.
2006-09-07 14:16:55 +00:00
ad 44f6463cc4 Add /dev/lockstat. 2006-09-07 01:18:01 +00:00
rumble 3691c21c61 Minor english nits. 2006-09-06 14:59:15 +00:00
ad b126141ea3 Remove 'makedev mouse'. 2006-09-06 11:09:58 +00:00
christos e32e513967 Find the alias file name from the postfix configuration. From our anonymous
user.
2006-09-05 22:10:51 +00:00
uwe 1fd097bf15 Initial import of NetBSD/landisk port by NONAKA Kimihiro <nonaka@NetBSD.org> 2006-09-01 21:26:18 +00:00
tron 94087192f4 Actually install "dot.shrc" to fix the build. 2006-09-01 13:01:55 +00:00
hubertf 3a3624455e Sync behaviour of sh and ksh dotfiles for new users with those of root.
Addresses PR 32215 by Wouter Schoot
2006-08-31 22:49:55 +00:00
hubertf d0b2986f47 Sync order with src/etc/skel/dot.cshrc, no functional change. 2006-08-31 22:33:14 +00:00
christos fea3bc82d3 PR/34274: Brian A. Seklecki: Check for uustat before blindly executing since
it might not be there if uucp is not installed.
2006-08-30 18:06:09 +00:00
matt 194d4b6b59 Remove entries for netns and netccitt. Add entry for netbt. 2006-08-25 23:29:33 +00:00
he 035291d378 Remove references to no-longer-existing NC_WSCONS RPC_WSCONS kernel
configuration files.
2006-08-16 19:33:52 +00:00
hubertf 684450bffb current is not a release - s/release/version,
as suggested by Christian Hattemer <krille@users.sourceforge.net>
on tech-userlevel.
2006-08-15 22:35:01 +00:00
bjh21 68f9c8ffc9 Don't try to create nodes for old console devices, or for a few other
obsolete devices either.
2006-08-14 22:20:59 +00:00
plunky 99a7113fbc Fix typo in variable name 2006-08-14 18:55:18 +00:00
martin 7699ba8851 Typo 2006-08-13 18:53:31 +00:00
jmmv d2cb59a6d2 Add a "how to report bugs" message for STABLE branches too, as they really
are development snapshots (although not as "bleeding edge" as current).
Per tron@'s suggestion.

This way we get consistent messages along the development process.  Otherwise,
STABLE could carry no message while a RC could, disappearing again after the
real formal release.  With this change only formal releases do not carry any
special message in motd.
2006-08-13 14:11:36 +00:00
plunky 885b13c515 rename btcontrol(8) as btdevctl(8) to make it fit with the NetBSD naming
scheme for control programs. This fixes pr 34051.
2006-08-13 09:03:21 +00:00
christos 415fb2fa98 - add creation of wedges /dev/{r,}dkN
- use $() instead of ``
2006-08-12 19:47:28 +00:00
dyoung 08605a2dd4 Per lukem's request, revert previous change which skipped installation
of /etc/rc.d/ipfilter and family if MKIPFILTER=no.  As lukem points
out, skipping installation of etc/rc.d/ scripts is not inconsistent
with other optional components, such as pf, x11, etc.
2006-08-07 02:08:47 +00:00
dyoung 50097c84af Only install ipfilter, ipfs, ipmon, and ipnat if MKIPFILTER=no. 2006-08-05 17:26:14 +00:00
jmmv dc6d1a3c9f When using a development version of the system (be it current, a beta or
a release candidate), tell the user that he might expect problems and how
to effectively report them to the developers.

No objections in tech-userlevel@; only positive responses.
2006-08-05 13:07:30 +00:00
ad d8360081f7 Remove RASTERCONSOLE support from the pmax port. 2006-07-29 19:10:56 +00:00
martti b0c5d0bc0c Create /dev/ipsync, /dev/ipscan and /dev/iplookup (misc/33504). 2006-07-27 06:49:06 +00:00
tron fdeefd9c3e Bluetooth fixes by Iain Hibbert:
Create "/etc/rc.d/btcontrol" to attach bluetooth devices at boot.
2006-07-26 11:14:55 +00:00
tron ebe62ad714 Bluetooth fixes by Iain Hibbert:
Remove bluetooth.conf(5) and config parsing from libbluetooth(3)
as this is no longer required.
2006-07-26 11:11:04 +00:00
tron 4241fec1bf Bluetooth fixes by Iain Hibbert:
Change the way in which bluetooth devices attach to system. The
new way is for devices to attach directly to a btdevN device via
its own control file /dev/btdevN.
- bthub(4) is replaced by btdev(4).
- /dev/bthubctl is replaced by /dev/btdevN.
- configuration now uses proplib(3) property lists.
- btcontrol(8) updated to use new API, and now uses private
- XML config file /var/db/btdev.xml.
2006-07-26 10:30:59 +00:00
bouyer d252c65e9c Add a /dev/amr* control file for amr(4) devices, which allows sending raw
commands to the controller.
Add a amrctl(8) control tool, which for now only allows to get status
from the adapter (status of adapter, logical volumes and and individual
drives).
From FreeBSD, with some adjustements by Andrew Doran and me.
2006-07-23 12:01:25 +00:00
lukem 9cd638deef document MKDEBUG MKDEBUGLIB in /etc/release 2006-07-23 11:44:55 +00:00
lukem cacf5bfacc Implement MKDEBUG:
If "no", don't build and install separate debugging symbols
	into /usr/libdata/debug.
	Default: no
2006-07-23 11:41:24 +00:00
reed 3cf0bfc678 Fix typo in xtp comment. 2006-07-18 20:52:39 +00:00
lukem 3d374e9191 add HAVE_GCC and HAVE_GDB to etc/release 2006-07-12 13:12:03 +00:00
yamt 660afa3bf2 fix xsd_kva. 2006-07-07 17:21:19 +00:00
bouyer 75e3593f2c Add new xen device xsd_kva (for Xen3 dom0 operations) 2006-07-04 21:39:55 +00:00
lukem 6676b0d744 Use -publisher instead of -P, since mkisofs 2.01 whines about the latter. 2006-07-03 05:37:00 +00:00
bouyer 2707ad28d9 Add a kernel config file for Xen3 Dom0, built as part or i386 release. 2006-07-02 21:28:39 +00:00
peter 4e40f16c41 Add:
./usr/share/man/cat4/hpcarm
./usr/share/man/man4/hpcarm
./usr/share/man/html4/hpcarm
2006-06-27 14:59:38 +00:00
christos a61ffc83dc PR/33837: Bucky Katz: crossbuild of release fails because $MAKE not passed 2006-06-27 12:34:54 +00:00
mrg 9db1a19397 don't install crypto files with MKCRYPTO=no. with these changes, a
MKCRYPTO=no build completes.
2006-06-26 19:50:56 +00:00
mrg 2ed89a9707 add support for MKISCSI=no. 2006-06-24 05:14:01 +00:00
garbled d6f2802fd2 Build the INSTALL_SMALL kernel 2006-06-20 17:42:22 +00:00
rpaulo 6c7e5e5535 Enable altq for macppc. 2006-06-19 21:36:56 +00:00
tnozaki 2bcfe3b4c8 added Chinese Tradisional Big5 family,
Big5-2003, Big5-ETen, Big5-IBM, Big-5E, Big-5+.

``Big5 is now the alias of Big5-ETen,
if you want Unicode.org's obsolete mappings, use Big5-IBM instead.
2006-06-19 17:28:24 +00:00
gdamore a5c89047c0 Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@,
NetBSD Foundation Membership still pending.)  This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.
2006-06-19 15:44:33 +00:00
christos 8ab9b7b454 PR/33760: dieter roelants: a default install can't send mail due to
missing aliases.db
2006-06-18 14:05:34 +00:00
tnozaki a302e2a921 added iconv support for georgian-ps, georgian-academy. 2006-06-15 15:34:20 +00:00
ghen 339893b2fe Remove send-mail again; /usr/bin/mail no longer uses it. 2006-06-15 13:09:24 +00:00
tron c93d58d1b7 Remove obsolete directory "/usr/include/libmilter". 2006-06-13 11:51:43 +00:00
tron 9d3dfcdb0d Remove obsolete directory "/usr/libexec/sm.bin". 2006-06-13 11:26:17 +00:00
wiz 93efb1479c The comment here really meant /usr/sbin/sendmail -- restore it.
Found by Jukka Salmi in PR 33701.
2006-06-12 16:50:30 +00:00
tron 54a902424e Remove entries for "/var/spool/mqueue" (used by "sendmail" only). 2006-06-09 21:08:51 +00:00
tron 1efd685555 Remove obsolete entries for "sendmail". Patch suppled by Yoshito Komatsu
in PR misc/33658
2006-06-09 14:39:53 +00:00
tron e230eea94b Don't create "/etc/mail/local-host-names" anymore after "sendmail"
has been removed from the base distribution.
2006-06-09 12:09:46 +00:00
hubertf b6eda27950 Rename XEN kernel config files to be more consistent:
INSTALL_XEN3_U        -> INSTALL_XEN3_DOMU
  INSTALL_XENU          -> INSTALL_XEN2_DOMU
  XEN0                  -> XEN2_DOM0
  XEN3_U                -> XEN3_DOMU
  XENU                  -> XEN2_DOMU

OK'd by bouyer@
2006-06-08 22:17:07 +00:00
tron a7484bfcf0 Don't install "/etc/mail/aliases" if "MKPOSTFIX" is set to "no". 2006-06-08 11:05:31 +00:00
rpaulo 04a78127de /libdata/firmware/ral 2006-06-08 00:13:25 +00:00
christos 12cf891332 Put back send-mail; /usr/bin/mail uses it. 2006-06-04 05:22:32 +00:00
christos f7c063da99 Remove send-mail program. This is sendmail specific only. Requested by perry. 2006-06-03 01:07:50 +00:00
hubertf f3513c1e13 Add & enable boot-CDs (with ramdisk kernels only, no install sets),
built as part of a regular release. For more information, see
http://mail-index.netbsd.org/tech-install/2006/05/11/0001.html

OK: core@
2006-06-02 22:35:21 +00:00
rpaulo 9637f337f2 s/mountall/mountcritremote/
Noticed by Jukka Salmi.
2006-06-02 01:06:16 +00:00
christos 7754caa257 remove some more smmsp for sendmail. 2006-05-30 02:10:01 +00:00
christos ace25de76c Remove sendmail (approved by core) 2006-05-30 00:40:22 +00:00
jdolecek 94172cbcb1 in short netstat output, use 12 characters for [IO]pkts columns, so that
it doesn't overflow too easily
2006-05-27 08:56:47 +00:00
lukem 6d23caf285 Implement check_devices_ignore_paths, which is a list of paths to
avoid traversing during check_devices.
2006-05-25 02:38:10 +00:00
liamjfoy 4876c304b1 Integrate Common Address Redundancy Procotol (CARP) from OpenBSD
'pseudo-device	carp'

Thanks to: joerg@ christos@ riz@ and others who tested
Ok: core@
2006-05-18 09:05:49 +00:00
simonb c1cf826a2c In the rc.d file list, start a new line for each first letter of
the rc.d scripts.  Indent by an extra tab to match indentation of
usr.sbin/postinstall/postinstall
2006-05-14 15:43:54 +00:00
mrg c31382a543 add /usr/include/g++/{debug,tr1}. 2006-05-12 01:57:59 +00:00
rpaulo b70b378d36 add missing files 2006-04-30 19:57:07 +00:00
rpaulo 80cb906203 Add a script to start irdaattach on boot. 2006-04-30 15:18:19 +00:00
rpaulo c90cd3ee2c ./usr/share/examples/hostapd 2006-04-30 13:54:16 +00:00
rpaulo 32cb3ed274 Remove wrong comment. 2006-04-30 13:00:04 +00:00
rpaulo 6971718ee3 rc script to control hostapd. 2006-04-30 12:54:26 +00:00
thorpej 7906863b14 Add /usr/include/prop 2006-04-28 03:27:49 +00:00
blymn f79b447e34 Fix rtc offset calculation for timezones that are not integral hours. 2006-04-26 09:57:01 +00:00
hubertf 831546110a When switching the /etc/etc.current symlink, make it relative to /etc,
not absolute.

This affects an update with sysinst, which will try to look at
/targetroot/etc/fstab, which points to /etc/etc.whatever, which is
not there during the upgrade, and results in all (/targetroot)/etc
files getting nuked!
2006-04-23 23:26:26 +00:00
uwe 0bef15d29d Build GENERIC kernel as part of make release. 2006-04-22 02:19:47 +00:00
veego f43a65b85e Don't try to backup a 'nfs' disklabel, which will happen because of the
recent iostat changes.
Patch supplied in pr# 33274 by Geoff C. Wing.
2006-04-17 07:38:53 +00:00
rpaulo 94c889ba30 Add dict port numbers. 2006-04-16 23:29:29 +00:00
nonaka 407f05e765 A port of NetBSD to the I-O DATA HDL-G "Giga LANDISK".
Please refer to following URL for this machine.
http://www.iodata.com/products/products.php?cat=HNP&sc=HDL&ts=2&tsc=14&sc=HDL&pId=HDL-G400U
2006-04-16 02:22:33 +00:00
tnozaki a3e63d71ca add following encoding support to iconv:
* KOI-7(iso-ir-37, iso-5427)
	* KOI-8(old KOI8)
	* KOI7-switched(iso-2022 variant)
	* KOI8-C -- Pablo Saratxaga's  X_LOCALE KOI8-C(Caucasus)
	* KOI8-CyrillicOld -- Serge Winitzki's KOI8-C(Cyrillic-Old)
	  ** not exported yet **
	* KOI8-E(iso-ir-111, ecma-cyrillic)
	* KOI8-RU
	* KOI8-T
2006-04-08 14:15:48 +00:00
gdamore 232fbf8220 OMSAL-400 and MTX-1 should only be built little endian. 2006-04-07 15:26:59 +00:00
drochner 9a7f5fbd60 cdk is obsolete 2006-04-07 12:40:10 +00:00
gdamore f212995691 Remove AR531X. Its too soon for this to be released, IMO. We may need
to change this kernel to AP30 and add other configs for AP43, AP51, etc.
2006-04-07 05:08:04 +00:00
uwe dff51916a7 Spell "baud" correctly. 2006-04-06 22:31:11 +00:00
tsutsui a149bb200b Create /dev/panel0 on target all_md. 2006-04-06 15:02:12 +00:00
scw 34b4a96dbb Add a kernel driver and userland program for the Topfield TF5000PVR range
of digital video recorders popular in Europe and Australia.

These devices have a USB client port which can be used to upload and
download recordings (and other files, such as MIPS binaries for execution
on the DVR's CPU) to/from their internal hard disk, in addition to some
other operations on files and directories.
2006-04-03 08:15:48 +00:00
jdolecek dbfcc2f3c5 don't check ntfs and msdosfs for devices/set[ug]id files; neither of those
are supported on the filesystem, so no need for checking

PR: 33092 by Aleksey Cheusov
2006-04-01 17:13:19 +00:00
he 5e1904ecea In order to handle some perl scripts running as daemons, add a
pattern which also matches "`basename $interpreter`: $command" in the
ps listing.  Should fix PR#31932.
2006-04-01 10:05:50 +00:00
tnozaki b37120b682 add iconv support for Armenian State Standard encoding:
ARMSCII-7, ARMSCII-8, ARMSCII-8A
2006-04-01 04:13:21 +00:00
he 588e007881 If we're building for mipsel, we need to build the INSTALL_OMSAL400 kernel
so that the build of the install image works.
2006-03-31 21:25:59 +00:00
gdamore dc7ac4a98c Added kernels for AR531X, DBAU1500, DBAU1550, and MTX-1. 2006-03-28 18:18:12 +00:00
shige c4e1d3e7c7 Add OMSAL400. 2006-03-28 18:00:30 +00:00
tnozaki 307ce80709 add kk_KZ.PT154 locale and iconv support for PTCP154. 2006-03-28 14:44:00 +00:00
ghen 5f73509dc3 Document the defaultroute6 rc.conf variable and the /etc/mygate6 file in
/etc/defaults/rc.conf, /etc/mtree/special, and rc.conf(5).  Ok with wiz.
2006-03-27 10:07:07 +00:00
christos 6aba0a176a Add parentheses. 2006-03-25 17:19:02 +00:00
tnozaki ade0b1e1b5 add following locales:
af_AZ.ISO8859-1/15
	be_BY.ISO8859-5
	en_NZ.ISO8859-1/15
	et_EE.ISO8859-15
	eu_ES.ISO8859-1/15
	pt_BR.ISO8859-1
	ro_RO.ISO8859-2
	sr_YU.ISO8859-2/5
	ukUA.CP1251/ISO8859-5
2006-03-23 23:23:38 +00:00
wiz eaefa28b52 Remove some more kerberosIV remnants. 2006-03-23 20:02:56 +00:00
itojun 682cc4ce96 disable recursion by attackers (yes, attackers do use recursion to perform DoS). 2006-03-23 13:50:44 +00:00
hubertf 2785aa55bc Add to comment for "mapfile": see also /usr/share/wscons/keymaps 2006-03-22 00:13:44 +00:00
bouyer 2c84df432e Build XEN3_U and INSTALL_XEN3_U kernels as part of release process. 2006-03-20 22:36:37 +00:00
christos ad4cee0d1e remove KerberosV 2006-03-20 04:14:42 +00:00
christos 85e611dd01 Goodbye KerberosIV 2006-03-20 04:03:10 +00:00
tnozaki 10269f58df added be_BY.CP1251, ru_BY.CP1251, ru_RU.CP1251 locale.
requested by cheusov AT tut DOT by, thanks.
2006-03-14 16:16:44 +00:00
tnozaki 274950e65d added macintosh encodings(single-byte only). 2006-03-13 19:45:35 +00:00
scw 0647057b83 Add NSLU2 to armeb KERNEL_SETS. 2006-02-28 20:41:31 +00:00
wiz e793469a2f Remove ./usr/include/dev/vinum, already marked as obsolete. 2006-02-25 10:30:11 +00:00