Commit Graph

4848 Commits

Author SHA1 Message Date
christos 6975538bda add beagleboard 2013-02-10 16:40:21 +00:00
christos 84874dc42c always use ${MKNOD} for consistency 2013-02-10 14:54:33 +00:00
christos 158210c439 pass more tools down. 2013-02-10 14:26:32 +00:00
christos 96add05603 Follow a different approach to install the kernel and compress the image. 2013-02-10 01:24:40 +00:00
christos f73dde4fda get the kernel from the release directory. 2013-02-09 20:47:06 +00:00
christos 02bfcabc8d merge back changes I undid 2013-02-09 18:59:19 +00:00
christos 8070b25e81 hook image building for rpi. 2013-02-09 18:49:55 +00:00
christos df473aee24 PR/47540: Felix Deichmann: DSA keys can only be 1024 bits. 2013-02-07 19:32:19 +00:00
matt 6c17c16f94 build the armv5t, armv6 and armv7 kernels for earm but only the v6 and v7
for earmhf.
2013-02-06 01:31:55 +00:00
matt 4c0c51981c Only include debug set obsolete set if MKDEBUG is not no 2013-02-05 16:39:26 +00:00
matt 2947c6f2d5 Add earmhf support 2013-02-05 07:34:07 +00:00
matt ea2a4e9bad Add debug to the list of OBSOLETE_FILES 2013-02-05 07:32:44 +00:00
tron b1d97a6429 Make custom "reload" target work. Before this fix it would have tried
to send a HUP signal to "wpa_supplicant" instead.
2013-02-01 13:29:33 +00:00
christos 80695a814b spwd.db should be 0600 (Brooks Davis) 2013-01-29 20:21:02 +00:00
apb 162b6b9919 The console major number is not always 0; when creating a temporary
console while populating a memory disk, use %CONSOLE_CMAJOR% instead
of 0, and let MAKEDEV.awk substitute the appropriate machine-dependent
major number.

This fixes a bug that I introduced in revision 1.82 dated 2007-03-11.
2013-01-26 18:44:21 +00:00
joerg fa9d9d71df Update LLVM/Clang snapshot to r172366. Catch up with the move past 3.2
release.
2013-01-23 15:02:52 +00:00
mlelstv e6e5cc51b8 Support a release build restricted to ALL_KERNELS. This file was missed
by the first commit.
2013-01-14 20:05:42 +00:00
tsutsui bf86f39b04 Add an entry for wscons ttyE0. 2013-01-14 09:23:45 +00:00
tsutsui a91aefab1f Tweak ramdisk devices.
- create sd2 and sd3 for external SCSI disks on LUNA-II
 - ipty (2 ptys) is enough for sysinst rather than opty (16 ptys)
2013-01-14 09:15:57 +00:00
prlw1 281a5e1fdb Add ppp=YES variable. Currently pppd(8) starts automatically if ppp_peers
is not empty. Adding a ppp variable allows the default peer to be set,
and ppp set to NO so that dialing can happen with /etc/rc.d/ppp onestart.
Default set to YES so that old behaviour is preserved.
http://mail-index.netbsd.org/tech-userlevel/2012/08/21/msg006656.html
2013-01-13 18:47:57 +00:00
riastradh 9dc19ed03b Nix `-b 1024' from ssh_keygen_flags in /etc/defaults/rc.conf.
No objections on tech-security:

http://mail-index.NetBSD.org/tech-security/2012/09/03/msg000548.html

The security of generating keys at boot remains questionable, but
this change makes that no worse.
2013-01-11 04:32:41 +00:00
skrll 5c014ba1cf Create a plcom0 device node for RaspberryPI 2013-01-10 13:38:37 +00:00
taca 43eb4b820e D.ROOT-SERVERS.NET changes IPv4 address. 2013-01-08 11:15:49 +00:00
christos 191ca062bf add a sync to make it less likely to boot with /etc pointing to nothing after
a crash.
2012-12-31 23:21:27 +00:00
christos 7c8b13934d better messages, more quoting. 2012-12-29 22:15:07 +00:00
spz 93a9300055 add entries built for MKDEBUG and MKDEBUGLIB to the set lists
Thanks to Hisashi T Fujinaka <htodd@twofifty.com> for pointing out the gap.
2012-12-18 22:45:12 +00:00
apb 448aa50d4c Reinstate the dirname invocations that were recently removed from
rc.d/random_seed.  The new dirname shell function provided by rc.subr
will be used, so it should work before the /usr file system is mounted.

This should fix a problem in which the fs_safe shell function failed when
passed the name of a file that did not exist.
2012-12-17 18:20:50 +00:00
apb 532fa0d9ae Add shell implementations of basename and dirname to rc.subr. They
are supposed to mimic basename(1) and dirname(1), except that they
are usable before /usr/bin is mounted.
2012-12-17 18:17:27 +00:00
apb c755e023f2 Avoid using programs from /usr/bin. This should fix PR 47326.
- no need for "dirname", because "df -G" can take a file name directly.
- replace use of "awk" with a shell while read loop.
- replace use of "stat -s" with "ls -ldn".
- no need for "tail" now that the use of "stat" has changed.

While here, also add some shell quotes and improve the grammar in a comment.
2012-12-14 18:42:25 +00:00
wiz 0450412e67 Revert previous.
At the least, it was committed with the wrong commit message.
2012-12-13 21:51:52 +00:00
roy 8c91938135 Add a pidfile and the reload command. 2012-12-13 15:51:17 +00:00
spz 0d6a8650f8 Make the compat libs of npf extension shared libraries go to the
compat directories instead of overwriting the arch native libs.
Also, make sure the compat directories get created. Tested on amd64.
2012-12-09 22:06:21 +00:00
prlw1 4d6ed13889 Make sure that ntpd creates a pid file for the rc machinery to work.
http://mail-index.netbsd.org/current-users/2012/11/19/msg021518.html
2012-12-04 16:38:40 +00:00
apb 3e31590ff0 Add src/etc/Makefile.params, containing the definition of the
RELEASEVARS variable, and commands related to printing the values of
the variables whose names are in RELEASEVARS.

Add an awk script to remove noise printed by "make -j" or high levels
of MAKEVERBOSE, so we get only the variables names and values.  The
values are escaped so that variables containing embedded newlines,
quotation marks, and backslashes, are passed through safely.

Adapt src/etc/Makefile and src/Makefile to use the new ${PRINT_PARAMS}
command defined in src/etc/Makefile.params.

Now ${DESTDIR}/etc/release and the params file in the top-level
.OBJDIR should never contain unwanted noise, even after a build with
MAKEVERBOSE=4.
2012-12-03 13:53:28 +00:00
njoly a23dfbdc09 Adjust for usr/tests/lib/libc/c063 debug entries. 2012-11-23 08:36:47 +00:00
pgoyette 7feb2e8135 Also give install a place to put the atf tests for netpgpverify 2012-11-20 15:41:43 +00:00
pgoyette 7e4aef559e Fix the build - give install a place to put verify.h ! 2012-11-20 15:02:44 +00:00
manu a76c1cc17f Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
2012-11-18 17:41:51 +00:00
uwe 00ed5c3931 We don't need to include <bsd.prog.mk> to install a few config files
just <bsd.files.mk> and <bsd.links.mk> is enough.

Noticed because <bsd.prog.mk> sets LINKSMODE to BINMODE and that does
the wrong thing at least for unprivileged builds.
2012-11-17 23:08:38 +00:00
njoly a02a44ee48 Adjust for tests/lib/{libbpfjit,libsljit} debug entries. 2012-11-12 09:03:52 +00:00
alnsn 062bf78a84 Build libbpfjit test to the build. 2012-11-11 17:41:31 +00:00
apb 5f5f1a05cc Cause /etc/rc.d/random_seed to be the first script to run
after mountcritlocal.  Everything else that runs after
mountcritlocal depends directly or indirectly on bootconf, so
making random_seed run before bootconf has the desired result.
2012-11-10 15:10:22 +00:00
apb e36b9f4a97 Make /etc/rc.d/ttys run after /etc/rc.d/bootconf.sh,
because bootconf could conceivably change /etc/ttys.
2012-11-10 15:08:36 +00:00
alnsn ffd8736098 Build sljit test when MKSLJIT != no and set MKSLJIT to yes on amd64 and i386. 2012-11-05 00:57:39 +00:00
apb acfd2b168d motd needs to be re-generated when DISTRIBVER changes, so change he
Makefile to use the new ${_NETBSD_VERSION_DEPENDS} mechanism defined in
bsd.own.mk.

Rename the default motd file in the source tree from "motd" to
"motd.default", because otherwise it would conflict with the motd file
that is now created in the .OBJDIR.
2012-11-04 11:09:14 +00:00
apb 040e0f875d Add DISTRIBVER to the list of variables under RELEASEVARS. 2012-11-04 11:04:10 +00:00
yamt a015b2b8c4 print something before sleeping so that a user like me can see
what the mysterious pause is.
2012-11-02 08:36:13 +00:00
mrg 578c31536d catch up with npfctl moving to /sbin.
untested, but i guess so was the move itself ;)
2012-11-01 06:06:14 +00:00
apb 410421ee21 Avoid using glob patterns that might match enough files to give
"Arg list too long" errors.  Change the "find" command to use
"-exec ... +" instead of "-exec ... \;" to make it more efficient.
2012-10-24 21:23:55 +00:00
jakllsch d5c3f2d0b1 Add the next three /dev/pci nodes.
Marvell Orion already exposes two.
2012-10-13 01:13:59 +00:00
wiz b1203a9851 Make mandb path configurable. makemandb (and related tools) use
the path from the _mandb variable from man.conf now.

Set _mandb in man.conf to same value as was used before.

From Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>.
2012-10-06 15:33:59 +00:00
christos d60db5e056 PR/47024: Taylor R Campbell: handle "keys" directory and directory
permissions in general
2012-10-01 18:46:43 +00:00
chs 35b7579ba4 add more sd and pci devices.
remove duplicate ch0.
2012-09-23 01:15:17 +00:00
bouyer f2b31f39d0 Add a pass-through ioctl for mfi(4), allowing userland to send raw commands
to the controller. This is compatible with the linux and FreeBSD
implementations.
Add the needed conversion for mfi ioctls in COMPAT_LINUX
Allocate a character major number, and create /dev/mfi0 by default
on amd64 and i386.
This allows (along with a hand-created /emul/linux/proc/devices file)
to run the MegaCLI linux binary provided by LSI.
2012-09-19 21:24:28 +00:00
skrll 2d427fcfd7 Add ./usr/libdata/debug/usr/lib/npf for rmind 2012-09-18 15:12:31 +00:00
msaitoh 9ee81fc63b - Add OPENRD.
- Compile BEAGLEBOARD_INSTALL.
2012-09-17 15:37:33 +00:00
rmind 94cf4e2062 Add /usr/lib/npf. 2012-09-16 16:15:29 +00:00
martin e8e9f65b79 New test directory for npf 2012-09-12 14:07:10 +00:00
martin 647d3a97c1 Make the "init" target create optys as well - those were removed from "all",
but we still need them in emergency setups and some install media.
Should fix PR install/46902.
2012-09-05 08:25:53 +00:00
matt 982f691177 Add BCM5301X 2012-09-01 02:03:35 +00:00
matt 47aef1fbf4 Add lots more ldN dkN
Add drvctl to md
2012-09-01 01:45:17 +00:00
wiz c9ea1856a7 Use new makemandb -Q flag to be really quiet. 2012-08-29 20:34:18 +00:00
christos 0ac85cc05d - fix manet alias to MANET; giving an alias with the same name is a no/op
- protocol 84 is defined for as ttp and iptm, merge the two entries since
  libc getprotoent() does not read the whole file and merge in the "files"
  implementation.
2012-08-28 07:53:45 +00:00
pgoyette 9f498223f2 Handle any reports of state changes for INDICATORs 2012-08-27 21:50:19 +00:00
jmmv 80b30d8cdf Add placeholder test programs for share/mk files.
The main goal of this change is to simplify the further addition of test
cases for the share/mk infrastructure by adding a few placeholder test
programs to the tests tree.

To not leave these test programs empty, I have added a bunch of extremely
simple test cases to them.
2012-08-26 23:03:20 +00:00
christos 1ebd502870 Fresh from IANA 2012-08-25 11:14:33 +00:00
spz c60c5ec2d8 actually install the new npf examples
add examples for a hash table file and a tree table file
add an ID string to host-npf.conf
2012-08-22 06:45:15 +00:00
abs 6b4ba5789b Seems like all the trendy ramdisks are using "makedev ipty" rather than
"makedev pty0" now. Update vax to match so install media doesn't fail
with
.../MAKEDEV: pty0: creating BSD style tty nodes with ptyfs is a security issue
2012-08-18 00:50:37 +00:00
riz a727e4697d Install live images and install images into ${RELEASEDIR}/images by
default, to keep all the large files (such as ISOs) together.
2012-08-17 16:59:26 +00:00
abs 7e916bb8a9 Add 'bpf' to all ramdisk targets (*), or floppy targets if ramdisk calls that.
Sort bpf to come directly after 'std' where relevant.
* (apart from etc.evbppc who's ramdisk target *only* builds md0,
  which just doesn't make sense).
Should allow a fighting chance for dhcpcd to get an IP address.
2012-08-16 13:31:24 +00:00
alnsn e7e64dcaa1 Build and install t_bpfilter. 2012-08-14 19:13:54 +00:00
christos 79aa9f3662 add fdpass directories 2012-08-13 11:17:43 +00:00
christos a0fa559338 Don't create BSD style pty nodes by default anymore since ptyfs is mounted
by default. Mention that this is a security issue, since it allows pty access
through the old style node.
2012-08-13 08:30:51 +00:00
christos ba9bed30be No need to specify nfsd flags anymore. The defaults DTRT. 2012-08-13 08:20:44 +00:00
matt 127e888ae2 Add earm/earmeb changes 2012-08-06 07:51:13 +00:00
christos 3351729a81 only announce fetching vulnerabilities file if we do. 2012-08-03 10:52:46 +00:00
kiyohara ba9c08beed Add ub to KERNEL_SUFFIXES. 2012-08-03 09:11:31 +00:00
matt 93654fca4a Add TWRP1025 and INSTALL_TWRP1025 2012-08-01 05:46:13 +00:00
jdf 45c7c05a4b Call `makemandb -f -q` instead of `makemandb -f`, as Edgar Fuß proposed for daily. 2012-07-31 12:11:50 +00:00
christos 778f4384b4 PR/46757: Check for fetch_pkg_vulnerabilities unset first. 2012-07-31 09:23:09 +00:00
jdf 890333e6c9 Call `makemandb -q` instead of `makemandb`, as proposed by Edgar Fuss on
tech-userlevel on 20th of July 2012, 12:38.
2012-07-30 22:13:38 +00:00
christos da43ca12af PR/46757: Edgar Fuß: Change default to pkg_vulnerabilities from NO to unset,
and make unset insted of NO to produce warnings, so that setting it to NO does
produce warnings (if it is inappropriate for the machine to warn about this).
2012-07-30 17:09:33 +00:00
christos e763a079db PR/46756: Edgar Fuß: Enable ignoring subdirectories in daily's find_core 2012-07-30 17:06:51 +00:00
njoly 734339d201 Add testcase for PR/46743 2012-07-28 16:08:39 +00:00
skrll b6cf8ec026 Add RPI to KERNEL_SETS 2012-07-26 20:50:44 +00:00
joerg c91c5846f7 + /usr/tests/usr.bin/nbperf 2012-07-22 21:04:44 +00:00
christos bdb2cc007b MKCRYPTO_{IDEA,MDC2} is no more 2012-07-14 04:01:11 +00:00
rkujawa fd0228cf47 Also build WSCONS kernel. 2012-07-09 18:12:11 +00:00
hans f9669c1ea4 It's msdos, not msdosfs. 2012-07-08 14:25:49 +00:00
reinoud 40d2eec2c6 Disable GENERIC_USERMODE kernel auto-build to avoid problems with the current
autobuild-system.
2012-07-04 13:54:20 +00:00
abs da54453f2c Ensure the ramdisk has bpf for dhcpcd 2012-07-04 08:03:08 +00:00
abs bd1c4855ff All apply to vax only:
- Drop KERNFS from INSTALL kernel
- Add dmesg to sysinst ramdisk
- Add 'ramdisk' target to MAKEDEV and use
- Add dhcpcd to sysinst ramdisk
- Drop old install.md script
- Misc install image cleanup (reduce diff to zaurus of all things)
2012-07-03 21:49:55 +00:00
reinoud e631798833 Move i386 and amd64 usermode configurations to their respective directories
and make the usermode kernels buildalbe under build.sh.

The resulting kernels are build and packaged correctly as are the associated
modules.
2012-06-30 15:03:56 +00:00
kefren 690d3837f6 add ldpd rc.d script here too 2012-06-28 16:34:06 +00:00
macallan cb9b109d3a do as sparc64 does and switch the default terminal type to wsvt25 2012-06-26 02:05:43 +00:00
jnemeth 55657a2741 PR/46601 - Jim Bernard -- add support for rc_directories 2012-06-25 07:22:45 +00:00
abs 351c7b5d8f - Add racd* devices for MSCP based CD-ROM drives (RRD40s), as opposed
to mixing them in with the ra* disks, modelled loosely on how MSCP
  rx* floppies are handled
- racd* defaults to the same single iso9660 partition as cd*
- Cleanup config option handling slightly so any combination of ra*,
  rx* (and now raccd*) can be defined without build errors.
- Avoid ugly printf when disks have all zero disklabel magic number
2012-06-22 20:42:22 +00:00
jdc a1f0720d45 Add raid0 to init), in case we have /tmp on mfs. 2012-06-21 19:22:07 +00:00
pgoyette ef11cb81d1 Add directory for usr/include/dev/filemon/ 2012-06-21 04:30:04 +00:00
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
joerg 0ca3cd9bc0 Run makemandb with the normal 022 umask, not the restrictive 077. 2012-02-15 23:30:11 +00:00
jakllsch 8205b4eb47 Bump MV2120 SYMTAB_SPACE.
Add kernels variants for root on the primary partitions of "Drive 1".
Add MV2120 to evbarm release.
2012-02-14 15:09:02 +00:00
wiz eb3bd4bbdc Obsolete /usr/share/man/cat3f that never contained any files, nor will it. 2012-02-14 14:03:34 +00:00
martin 0ce98f42a7 Move posix_spawn tests to lib/libc/gen/posix_spawn - they test both libc
and kernel, but that is an implementation detail unrelated to the tests
themselfs.
Ok: releng
2012-02-13 21:03:06 +00:00
martin 19f52532ad Add userland part of posix_spawn. Libc functions imported from FreeBSD.
Based on Charles Zhang's summer of code project.
2012-02-11 23:31:22 +00:00
nakayama 6d92376f3a Remove "spif[0-9]*" case from ports other than sparc{,64} by using
%stty_chr% and %sbpp_chr%.

Fix "MAKEDEV: bpp: unknown device" error on sparc{,64}, which is
observed in PR toolchain/45620 but not the fix.

Approved by releng.
2012-02-10 20:54:11 +00:00
joerg e795c61763 Don't overwrite run_makemandb. The default is already set in daily.conf. 2012-02-09 13:38:44 +00:00
joerg 1c98a590d5 Include argument in command line 2012-02-07 23:15:33 +00:00
joerg 42e8e6b10a Kill one more invocation of tbl. Noticed by wiz 2012-02-07 21:13:34 +00:00
joerg 849ff56477 Switch to using mandoc for formatting man pages as new default.
Stop building catpages by default.
2012-02-07 19:33:19 +00:00
joerg 410d0f4380 Import the new apropos/whatis.
This code has been developed by Abhinav Upadhyay as part of Google's Summer
of Code 2011. It uses libmandoc to parse man pages and builds a Full
Text Index in a SQLite database. The combination of indexing the full
manual page, filtering out stop words and ranking individual matches
based on the section gives a much improved user experience.

The old makewhatis and friends are kept under MKMAKEMANDB=no for now.
2012-02-07 19:13:24 +00:00
mbalmer 2e290c8200 For the sake of consistency with other scripts, output a full stop after the
word 'done'.  releng ok.
2012-02-07 10:36:01 +00:00
he 61f445c845 Fix spello for the INSTALL_P2020* kernel configs. 2012-02-04 10:32:11 +00:00
tsutsui 8e1b1dc1f4 Build INSTALL_C700 ramdisk kernel and install into releasedir. 2012-02-02 16:02:44 +00:00
matt fe1bf23cfb Build the INSTALL kernels for the P2020DS and P2020RDB 2012-02-01 21:56:40 +00:00
nisimura 2c31d574e0 add the missing backslash. 2012-01-30 09:48:11 +00:00
nisimura 77b78cdcff Add FriendlyARM Mini2440 support.
- new code for Samsung S3C2440 SoC.
- update for other S3C2xx0.
This port was done by Paul Fleischer.
2012-01-30 03:28:33 +00:00
tsutsui 7b5ba30568 Build additional C700 kernel (for now). 2012-01-29 10:36:33 +00:00
pgoyette d7450be19d Use the correct userid
Hello, christos
2012-01-28 05:32:49 +00:00
christos 493ac06fcb - add _tss user for tcsd, and needed directories for TrouSerS.
This is all unused as of now because the trousers is not connected to
the build yet.
2012-01-28 02:17:29 +00:00
christos 6fb39d18da add a tpm driver from bsssd.sourceforge.net 2012-01-22 06:44:28 +00:00
macallan be2c1ce5d3 use a more appropriate terminal type for ttyE* 2012-01-22 06:13:55 +00:00
macallan e911228872 enable powerd by default 2012-01-22 06:10:35 +00:00
tsutsui 3cf69f27e2 Add "live-image" and "install-image" target support to build.sh.
"live-image" target builds pre-installed disk images that can be used on
emulators or boot from USB memory sticks to try NetBSD without installation.
Currently amd64, i386, pmax, sparc, sparc64, sun2, sun3, and vax
(which have working emulators and don't require extra tools like preparing
 msdosfs or partitioning MD label structures) support this target.

"install-image" target builds an bootable installation disk image that can
be used as an install CD but burned into USB memory sticks etc.
Current only amd64 and i386 (which would support USB boot) have this target.

For more details (and known issue) see following posts on netbsd-bugs@:
http://mail-index.NetBSD.org/netbsd-bugs/2011/08/06/msg023639.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/09/23/msg024207.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/07/msg025166.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/08/msg025178.html

No particular comments about implementation, and
"go ahead" comments from mrg@, riz@ and christos@.

Closes PR toolchain/45153 and PR misc/45155.
2012-01-22 03:53:29 +00:00
isaki 43fa5f922b Clean up pow(4) (which I had removed in Nov 2011). 2012-01-21 02:52:50 +00:00
christos dc7062b2b8 use the join URL. 2012-01-16 22:20:45 +00:00
christos 3dfcf5c1ba Instead of using the general servers, use the ones allocated specifically
for the NetBSD project.
2012-01-16 22:12:41 +00:00
joerg 6bc6b7aae6 Now that the name of the ISO image is no longer stable, rename the
variable to make it possible to overwrite the default with
build.sh -V CDROM_IMAGE=...
2012-01-15 17:36:55 +00:00
jmcneill ce4646dd28 PR# install/44593: Please give release ISO's more meaningful names
Change release ISO filenames, what was once 'i386cd.iso' will now look
like 'NetBSD-5.99.60-i386.iso'.

ok snj@
2012-01-14 22:56:30 +00:00
skrll 53e460df81 Create device nodes for wscons, raid, wd, and sysmon.
PR/45783
2012-01-07 16:12:30 +00:00
pgoyette 5dd52f2538 Add directory for libcrypt tests 2011-12-27 14:51:15 +00:00
tsutsui b25081130c Add a default for isibootd(8). Pointed out by nonaka@. 2011-12-23 05:05:04 +00:00
mlelstv 149eeb0360 bootmenu doesn't parse "prompt" as part of a command list, it must
stand alone.
2011-12-21 14:33:13 +00:00
christos 19bd33b453 add fifofs 2011-12-21 01:58:46 +00:00
tsutsui a7f5216f76 Add an rc.d(8) script for isibootd(8). Taken from ndbootd(8). 2011-12-17 13:37:49 +00:00
darcy 5bc4a2e2d4 Add option to include daily insecurity output in daily output.
PR bin/17029
2011-12-17 12:27:42 +00:00
tls 1177cf8de7 Use random seed file (saved entropy) from default location by default
in i386 and amd64 boot.cfg.
2011-12-09 06:50:36 +00:00
taca 093293c2cb According to /etc/rc.d/mdnsd, /var/run/mdnsd is owned by _mdnsd:_mdnsd
if it created.  So, set owner/group of /var/run/mdnsd.

It stop a useless warning in /etc/security.
2011-12-08 01:15:02 +00:00
jmcneill 0ce410dc8d default powerd=YES if acpi is present 2011-12-04 13:09:07 +00:00
tsutsui fd9f1e835b - create scsibus1 for external SCSI bus on LUNA-II
- also create sd1 sd2 sd3 cd0 cd1 st1 devices on all_md
2011-12-02 16:01:50 +00:00
sekiya 71d1bc8567 Enable SHEEVAPLUG for build. 2011-11-28 06:15:48 +00:00
tls aae64c95c0 Make the rndsave structure public -- the kernel will learn to read it
and sysinst may learn to write it (since, on some systems, most of
the keyboard input they ever get happens to be during install).  Fix a
couple of minor problems with the random_seed rc script addition.
2011-11-26 01:17:17 +00:00
tls 4924aa205a Load entropy at system boot (only works at securelevel < 1); save
at system shutdown.  Disable with random_seed=NO in rc.conf if desired.

Goes to some trouble to never load or save to network filesystems.

Entropy should really be loaded by the boot loader but I am still
sorting out how to pass it to the kernel.
2011-11-23 10:47:48 +00:00
darcy 77a099d5ff Allow pf flags to be specified in rc.conf.
Add default to defaults/rc.d as suggested by lukem@
2011-11-21 20:56:21 +00:00
tsutsui e60b9ec2c8 Add an entry for romcons. 2011-11-20 17:21:15 +00:00
tsutsui b05caac801 Create romcons device node. 2011-11-20 17:18:34 +00:00
mbalmer f6673607c2 Better wording. 2011-11-19 17:30:09 +00:00
agc a5b83a6434 grab major 203 for the iSCSI communications device (between kernel
driver and /sbin/iscsid)
2011-11-19 16:41:55 +00:00
jmmv ccfedeb2ca Register directories for the new asm examples and their tests. 2011-11-12 01:19:40 +00:00
apb bbc5f4100a The previous change made "nooutput -2" discard both stdout and
stderr, whereas it should discard only stderr.  This commit
should fix that problem.
2011-11-08 19:36:30 +00:00
apb 97355391d0 In the nooutput function, don't mess with file descritor 4
at the outer level; do it inside a subshell context so as not
to interfere with a different use of fd 4 by the caller.

This should fix PR 45590.
2011-11-08 19:11:19 +00:00