Commit Graph

4599 Commits

Author SHA1 Message Date
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
njoly
3f1f7fac1b +./usr/libdata/debug/usr/tests/lib/libtre 2011-11-07 13:39:54 +00:00
christos
d85ad0736b add libtre test directories 2011-11-06 18:45:04 +00:00
yamt
85ccb2e960 update RELEASEVARS 2011-11-02 16:39:23 +00:00
apb
bddc18304e Change the pattern for matching ttys to allow any number of digits,
(tty[0-9]*).  This should fix PR 45514.
2011-10-26 09:02:20 +00:00
christos
f78b488307 put back a commented out EXINIT entry. 2011-10-19 14:42:37 +00:00
dholland
3d0061d217 Re-enable EDITOR=vi because otherwise stuff breaks. (Or runs ed, which
is arguably equivalent to breaking.)

Per the discussion on tech-userlevel, document the settings offered.

(All of this needs quite a bit more work still.)
2011-10-19 11:27:26 +00:00
tsutsui
a27f299c14 Cleanup ancient entries derived from 4.4BSD Lite2 merge
for newer useradd(8) users:
- remove all aliases
- remove annoying EXINIT setting
- comment out other environment settings

Discussed on tech-userlevel@.
2011-10-19 10:14:35 +00:00
jmcneill
3ed028dc67 restart dhcpcd if we get a "released" event from the vmt0 driver 2011-10-17 23:27:41 +00:00
tsutsui
b1979e41c3 Make sure to put a.out GENERIC kernel into distribution. 2011-10-17 14:42:42 +00:00
mbalmer
e0c22d6455 Install, and add to the set lists, example code to illustrate Lua module use. 2011-10-15 13:00:59 +00:00
apb
a844ed90bd Exit with non-zero status when asked to create an unrecognised device. 2011-10-12 20:57:55 +00:00
njoly
7c1e53294f PR/45452: Fix pasto (found by tsutsui@) which prevented ra* device
special files creation.
2011-10-12 17:03:49 +00:00
tsutsui
f6bedb7e36 Create sysmon(4) devices. Noticed by Y.Sugahara. 2011-10-11 12:08:20 +00:00
mbalmer
63bfe64311 Link the gpio(4) Lua module to the build and add it to the set lists.
(There is no manual page yet, since we have not yet decided where to put
them for Lua modules.)
2011-10-08 13:14:03 +00:00
hauke
087ced08e5 Create the sysmon device node for the software watchdog 2011-10-04 10:55:53 +00:00
pgoyette
c2d58f1a39 Also re-add usr/include/dev/i2c to the mtree file 2011-10-02 19:31:45 +00:00
jmcneill
ab747348b5 Install dev/i2c/i2c_io.h and implement the API in the iic(4) driver.
Obsolete the I2C_SCAN option as this can now be done from userland.
2011-10-02 16:39:45 +00:00
christos
ca07041815 mention kern.tty.qsize requested by Matthew Mondor. 2011-09-25 21:47:22 +00:00
apb
b80ac66c04 Don't try to fsck root device if "/" is not mentioned in fstab.
Also don't assume that all network mounts are "nfs".
2011-09-20 12:13:21 +00:00
jruoho
4a45a29ad9 Move the tests/libc/ieeefp to tests/libc/gen to match the structure of libc.
Also rename the test files to gain functional scope.
2011-09-19 05:25:50 +00:00
jym
256df2d4a9 - use -q to test for presence of a sysctl(7) variable silently
- modify powerd(8) sleep_button script so it can handle the soon-to-be
Xen suspend command.
2011-09-17 14:44:18 +00:00
apb
00aba3793b Revert previous now that "make cleandir" uses bsd.clean.mk to clean
both the obj dir and the src dir.
2011-09-10 17:02:46 +00:00
riz
6fc3b870af Create and install an rc.d file for devpubd - a daemon to listen
on drvctl and autocreate device nodes in /dev for those which don't have any.
Set the default to "NO" for now.
2011-09-06 21:32:29 +00:00
apb
f11ca724cb Change foo*) case patterns to foo[0-9]*) in MD MAKEDEV.conf files,
as was done earlier today for the MI MAKEDEV.tmpl.  There are
also a few instances of slightly different changes in the
case patterns.
2011-09-06 14:40:10 +00:00
apb
99fac48d4f MAKEDEV dk<n> should create only the dk<n> device, but it previously
looped creating everything from dk0 to dk<n>.
Reported by M. Levinson.

Also add comments to cases where MAKEDEV loops creating multiple
devices.
2011-09-06 13:34:44 +00:00
apb
4bf21f27b6 In most case patterns, change foo*) to foo[0-9]*). There are also
a few where foo*) changes to foo|foo[0-9]*) or some other slightly
more complex pattern.

This should prevent "MAKEDEV foobar0" from accidentally matching
the foo* pattern when it should really give an error, and it
should make the order of the patterns less critical.
2011-09-06 10:54:03 +00:00
apb
ed56faf952 Use ${.OBJDIR}/NetBSD.dist.tmp instead of just NetBSD.dist.tmp.
This fixes a problem in which NetBSD.dist.tmp had been created in
the SRCDIR by an earlier build (performed without an OBJDIR), and
the existence of the file in the SRCDIR confused a subsequent build
(performed with an OBJDIR).
2011-09-05 09:57:02 +00:00
mbalmer
d88fd18413 Terminate line with a '.', not the word 'done', for consistency with other
startup scripts.
2011-09-02 07:13:28 +00:00
bouyer
9f200f93cc Add a INSTALL_LOONGSON kernel with a ramdisk.
build LOONGSON and INSTALL_LOONGSON for evbmips-mip64el
2011-08-29 18:32:18 +00:00
mrg
f385d8f556 add the device publish daemon, written by jmcneill@.
listens on drvctl for new devices and invokes MAKEDEV for them.

missing:
  - manual page
  - rc.d script
  - more testing

but it works well enough to make new disk nodes appear in /dev when
netbsd sees them and they're missing.  you will need to make sure
you have a new /dev/MAKEDEV for this to work properly (postinstall
should handle this normally, of course.)


thanks jared!
2011-08-29 11:38:48 +00:00
dyoung
581feba28b Straggler from last: add the directory for ppath(3) tests. 2011-08-27 19:02:29 +00:00
dyoung
9943264696 Build and install ppath(3), property-list paths library. 2011-08-26 21:22:07 +00:00
matt
b26c11e6b8 Build the GDIUM64 kernel (since it tests 16KB pages). 2011-08-24 16:03:34 +00:00
jym
cec3d05bda Arch-specific rc.conf files are not really autonomous rc.conf
files, they are appended to the end of etc/defaults/rc.conf.

So rename them to rc.conf.append for clarity, as suggested by mrg@. Adapt
Makefile accordingly.
2011-08-22 20:48:38 +00:00
jym
f56903492e Modify etc/defaults/Makefile so that architectures can specify an additional
rc.conf file. This one should reside under etc/etc.${MACHINE}/, and will
get automatically appended to etc/defaults/rc.conf at build time if present.

This is used by i386 and amd64 to append a small MD rc.conf(5) configuration
at the end of the defaults/rc.conf file, so that powerd(8) can be started
by default when we are running in a Xen environment. This is needed to support
save/restore functions for domains.

From all the alternatives proposed to fix that issue (from /etc/rc.conf
parsing in postinstall to etc/defaults/rc.conf arch-hooks) I believe
this one will appease everyone because it:
- does not touch etc/defaults/rc.conf template file,
- patches it at build time for MD hooks only when required,
- does not need to parse/modify a user-specified file like /etc/rc.conf (which
is a complex, error-prone operation),
- only enables powerd(8) by default when conditions are met (Xen environment)
while still allowing root to shoot himself in the foot if he wants to
override this manually in /etc/rc.conf.

See also http://mail-index.netbsd.org/tech-userlevel/2011/07/25/msg005246.html
2011-08-22 18:54:05 +00:00
phx
7084cee0f3 Turn off ttyE1-ttyE3 to avoid "Device not configured" messages after a
fresh installation with wscons disabled.
2011-08-21 10:41:51 +00:00
uwe
53fc796546 Revert previous as it introduces "Circular dependency on provision
`mountcritremote'".

route6d is "BEFORE: NETWORKING" and was made to "REQUIRE: mountcritremote",
but mountcritremote "REQUIRE: NETWORKING".
2011-08-18 16:46:14 +00:00
gdt
ef4e1527ca Make route6d REQUIRE: mountcritremote.
route6d is in /usr/sbin, and thus on systems with separate / and /usr,
/etc/rc.d/route6d can be run before /usr is mounted, resulting in
route6d mysteriously failing to start.
2011-08-17 16:39:29 +00:00
apb
7535058544 Allow "echo -n" to work as expected in rc.d scripts that are executed
by /etc/rc.  Similarly for printf with a format that does not end with
"\n".  Previously, the partial line would not be visible on the console
until a newline was printed, possibly after an annoying delay.

This is done by adding echo() and printf() shell functions to rc.subr,
so that naive use of the echo and printf commands in rc.d scripts will
call these functions instead of the underlying commands.  These shell
functions send a new "nop" metadata message after the partial line, and
the rc_postprocess function in /etc/rc disentangles the partial line of
plain output from the metadata "nop".

Also add a "-n" option to the print_rc_normal function in rc.subr,
and make some cosmetic changes.
2011-08-11 22:52:46 +00:00
mbalmer
a8d3ab0aa2 Print 'Keyboard encoding -> sg' instead of just 'encoding -> sg' on the
console.
2011-08-09 08:08:10 +00:00
jmcneill
abbd5e9f62 add -u flag that causes the MAKEDEV script to only create a device node if it
doesn't exist
2011-08-06 12:29:39 +00:00
jmmv
bbf950e188 Rename the _atf user to _tests. The _atf name will get obsoleted if/when
we migrate to Kyua (atf v2), so it's better to use a generic name that does
not depend on the specific implementation.  Also, this user has not gone
out yet into any stable release, so we can easily rename it.

Suggested by jruoho@.
2011-08-05 14:43:41 +00:00
matt
ebed4b3440 Add CPMBR1400 and GDIUM as kernels to be built 2011-08-01 23:18:10 +00:00
taca
98fbd2eb78 Update to 2011060800.
- IPv6 address was added to D.ROOT-SERVERS.NET.
2011-08-01 10:04:27 +00:00
simonb
fb56a64524 Restore "duplicate" entries, but use 0. and 1. names to ensure that
same hosts aren't used by both entries.
2011-07-28 22:28:07 +00:00
mbalmer
9e924e522c Remove duplicate (but commented out) entries. 2011-07-28 12:55:35 +00:00
christos
3c5f87c86e generate ecdsa key 2011-07-25 03:04:23 +00:00
mbalmer
e37f33931b is is -> is 2011-07-24 08:28:11 +00:00
mrg
a57ef5ffad remove unused directory. 2011-07-23 12:13:17 +00:00