Commit Graph

4599 Commits

Author SHA1 Message Date
isaki
b1d94e60d6 Remove unnecessary checkyesno which I commited before.
${rcvar}_start is skipped if rcvar is not set to YES.
Pointed out by joerg@ and tsutsui@.
Should be pulled up to netbsd-6.
2012-06-17 02:13:13 +00:00
joerg
c9196b81ce Update LLVM/Clang snapshot to r158533. This brings in support for
stack-realignment in functions using alloca on x86. Move to
/usr/include/clang-3.2 to reflect the version.
2012-06-16 17:01:02 +00:00
sborrill
25290a5966 Set commented out maxproc-cur and openfiles-cur default values to the actual
defaults from sys/sys/syslimits.h. Bump maxproc-max too to a typical value.
2012-06-14 09:28:02 +00:00
riz
49449523c7 Add firmware for the RealTek RTL8192CU family of wireless chipsets, and
adapt the urtwn(4) driver to use the new files.  The firmware files were
extracted from the Linux driver at www.realtek.com, version 0005.1230.2011
and the license permits redistribution without modification.

While I'm here, install the files in /libdata/firmware/if_urtwn, like
most of the other network adapter firmware.

urtwn(4) can now operate without needing external files installed.  Tested
on my Edimax adapter.
2012-06-14 04:14:35 +00:00
martin
c2e51849fc Per discussion on tech-userlevel, finally fix PR 10127:
move all ttyE* entries that use "vt100" emulation to wsvt25 term type.
The terminfo vt220 entry lacked (correctly) a delete key entry, which
was a regression against the netbsd-5 termcap entry. On the other hand,
only a very small number of foreign systems lacks support for wsvt25
nowadays.
2012-06-13 20:49:11 +00:00
isaki
f28248caf4 Allows you to disable it if makemandb=NO in rc.conf.
Thanks tsutsui@ and Yasushi Oshima.
2012-06-12 02:25:29 +00:00
martin
c1004a7836 Add a basic test for infocmp - this would have cought todays terminfo
lossage (PR lib/46553).
2012-06-06 21:23:10 +00:00
tsutsui
ac2c5cf13a Invoke MAKEDEV.local via $HOST_SH (default ${HOST_SH:=sh}) instead of
hardcoded "sh" to avoid unexpected errors on cross build hosts in
src/distrib/common/Makefile.makedev etc.

Should fix PR toolchain/46537, ok apb@
2012-06-05 13:20:01 +00:00
joerg
1907ec3a61 Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
2012-06-03 21:42:44 +00:00
christos
44184cf8bf PR/46521: Jim Bernard: remove duplicate -o 2012-06-02 15:52:24 +00:00
nonaka
c9051a9fd6 Use /libdata/firmware/run instead of /libdata/firmware/rum for run(4) firmwares. 2012-06-01 13:19:38 +00:00
martin
f1b12ec580 Add new test directory 2012-05-27 23:03:24 +00:00
riz
3debe0af82 Create /dev/iscsi0 as part of 'all'. 2012-05-26 00:36:15 +00:00
skrll
bc77bb37cd Add a GENERIC.MP kernel config and add it to the build list so that it
gets build tested.
2012-05-23 08:19:40 +00:00
jruoho
af62c3b4d8 Add a test case for PR kern/46463. From Richard Hansen. 2012-05-18 15:25:25 +00:00
gendalia
7591311640 Add the ability for staticroute to evaluate lines from /etc/route.conf
as shell script fragments, add example to the route.conf man page of
evaluating variables.

Remove route.conf man page statement that staticroute is enabled in
rc.conf since that's incorrect.

Wrap the staticroute while in parens, per <apb> & <christos>, and
quote all the arguments for the evals.
2012-05-02 15:57:15 +00:00
tsutsui
0ffe024507 Update entries for proper PSX16550 com port device names. 2012-04-29 07:21:10 +00:00
tsutsui
058310c688 Create ttyC0 and ttyC1 for PSX16550 com ports. 2012-04-29 07:19:08 +00:00
riz
a1da65bdfb Change root's default shell to /bin/sh, to provide a default which
has command line editing, tab completion, and other features users
have come to expect from a modern OS.

Discussed on current-users approximately two weeks ago.  Should be
pulled up for NetBSD 6.0.
2012-04-25 16:11:26 +00:00
jruoho
c7358053ef Add a test case for PR bin/39546. 2012-04-19 18:51:35 +00:00
jruoho
0953dc8744 Add a test case for PR kern/46328 (tested naively with tcpdump(8)). 2012-04-14 12:21:45 +00:00
pgoyette
df3c343ded Revert previous - k_helper3 does not get installed in a subdirectory.
Doing it this way will prevent us from creating the subdirectory on
non-MODULAR systems.  That would have caused a build break due to the
unexpected empty directory.
2012-04-14 02:48:44 +00:00
pgoyette
04ec1fc554 Create the directory for the helper program; hopefully fixes the build
break.

XXX It's odd that k_helper3 needs to have its directory pre-created, when
XXX k_helper, k_helper2, and k_uvm don't need it...
2012-04-14 00:14:22 +00:00
dholland
5ba1ea26d4 fix use of setenv in a comment, noted by "stu314" on freenode. 2012-04-10 19:02:30 +00:00
jruoho
23fb23b458 Gracefully shutdown upon reaching critical temperature levels. Prevents few
laptops (ThinkPad T61 and x61s, among others) from hitting the in-CPU reset.
2012-04-10 13:58:52 +00:00
christos
850b856e4a back out change that makes onestart work, to be committed at some other time. 2012-04-07 17:28:44 +00:00
christos
05e9a23818 give wedges to everyone 2012-04-07 17:22:10 +00:00
apb
f932526a86 The error message when /var is not a file system chhanged from
mount: unknown special file or file system `/var'
to
mount: Unknown special file or file system `/var'
so match them both.
2012-04-07 16:39:32 +00:00
spz
c6302b7410 change security so that there is a configuration value for the list of
users who will not be considered for duplicate uid check.
Seed it with 'toor' in defaults/security.conf.
2012-04-05 09:09:27 +00:00
jruoho
47dea51ec6 Add regression tests for PR bin/3914 and PR bin/27140. 2012-03-30 09:27:10 +00:00
jruoho
651e2c6948 Add regression tests for the 1990s bugs PR bin/3538 and PR bin/4841. 2012-03-27 08:16:33 +00:00
nonaka
db4c04c984 Added urtwn(4), a driver for Realtek RTL8188CU/RTL8192CU USB IEEE 802.11b/g/n wireless network devices. 2012-03-25 00:11:16 +00:00
jruoho
327776ba0b Add regression tests for PR bin/12424, PR bin/12316, and PR bin/14253,
all fixed long time ago.
2012-03-20 06:18:33 +00:00
njoly
d0df4f4862 Adjust to unbreak mkdebug build. 2012-03-19 11:16:36 +00:00
jruoho
3a662fafc9 Add regression tests for PR bin/2642 and PR bin/23836, both fixed long ago. 2012-03-19 07:05:18 +00:00
jruoho
1ff69b68e3 Add a case for PR bin/44973. 2012-03-18 12:40:42 +00:00
jruoho
0498995f9f Add a test case for PR bin/28126. Does not fail with GNU sed. 2012-03-18 10:12:30 +00:00
jruoho
840bc631fa Adjust set lists and mtree. 2012-03-17 17:16:41 +00:00
jruoho
2fb9c76e0d Adjust set lists and mtree. 2012-03-17 16:35:02 +00:00
martin
87ec685886 Disable generation of boot floppy images for sparc, which do not fit on
floppy disks anymore, to unbreak the build (for now).
If someone feels like adding and testing ustarfs support in the floppy
/boot, please reenable again.
2012-03-14 13:26:43 +00:00
jruoho
869580eb48 Adjust set lists and mtree. 2012-03-11 18:45:19 +00:00
he
7a324bfe36 Point first to 6.0 packages, then to packages for 5.1 or 5.0.
The latter have reduced usefullness in -current or netbsd-6 until
we have a compat50 package.
2012-03-11 17:28:47 +00:00
he
50de5b0f94 Can't use Bourne shell syntax here... (Even in comments, for PKG_PATH.) 2012-03-11 17:23:55 +00:00
christos
c513c5c06e add awk test directory 2012-03-10 19:11:36 +00:00
shattered
4e4e8d92ec Quoting sys/dev/vme/files.vme commit log: "vmegeneric never saw the
light of the source tree.  After 7 years, I guess nobody missed it."

OK by wiz@
2012-02-25 10:55:27 +00:00
tron
7b6c3db855 Four instances of atabus(4) are not enough for modern systems as the
system will report one instance for each SATA port. Create eight
device nodes by default.
2012-02-25 09:19:30 +00:00
martin
f7c0729136 Remove ttyv0 - there is no such device on this arch. 2012-02-23 09:35:44 +00:00
nakayama
81cae6fbb5 Avoid rebuilding services database every boot time.
The database has been renamed since the default was changed to CDB format.
2012-02-21 12:30:32 +00:00
joerg
0b4daf6018 Add entries for bzip2 and xz. 2012-02-16 22:57:19 +00:00
njoly
481c9a313f Do not create obsolete ./usr/include/quota directory anymore. 2012-02-16 22:22:27 +00:00