Commit Graph

13102 Commits

Author SHA1 Message Date
njoly ef99a623d5 Move module related debug entries to module.mi list to fix MKDEBUG=yes
and MKKMOD=no builds. Add missing k_helper3.debug line.
2012-04-30 13:47:51 +00:00
skrll f4018eb894 Add mudflag debug files. 2012-04-29 13:59:06 +00:00
he b7d0263700 Add the sdtemp and dbcool modules for the non-default powerpc variants. 2012-04-26 22:09:53 +00:00
christos 44e0e5da1d add vcoda module 2012-04-26 03:00:21 +00:00
pgoyette c30f8ca413 Actually create the if_axe module - driver was modularized a while ago. 2012-04-25 13:55:17 +00:00
pgoyette db696edd06 Actually create the dbcool(4) module. Driver was modularized a while ago. 2012-04-25 04:49:46 +00:00
pgoyette ca34f38e2b Create the module for sdtemp (driver itself was modularized some time ago) 2012-04-25 03:44:16 +00:00
rkujawa eb63b62e43 Fix markup, sort SilverSurfer 2012-04-24 13:55:51 +00:00
tsutsui f5e4f3d0bd Fix typo in comments. 2012-04-22 07:23:42 +00:00
tsutsui e70f6aa789 Add two optional variables for liveimage/installimage builds:
---
	MBR_BOOTCODE
		optional MBR bootcode which should be installed by fdisk(8)
		(default: empty)
		- specified MBR_BOOTCODE must exist in ${DESTDIR}/usr/mdec
		- if MBR_BOOTCODE is not specified,
		  MBR_DEFAULT_BOOTCODE (default: mbr) will be used
		  if the target ${MACHINE} has the one in /usr/mdec

	INSTALLBOOTOPTIONS
		options passed to installboot(8), e.g., -o console=com0
		(default: empty)
---
Proposed by Brook Milligan on current-users@:
http://mail-index.NetBSD.org/current-users/2012/04/16/msg019892.html

Also make USE_MBR work on ${MACHINE}s which don't have the default
/usr/mdec/mbr bootcode. (no such port has the liveimage target yet though)

XXX: tools fdisk(8) implicitly uses host's /usr/mdec/mbr for the default
XXX: bootcode even for non-x86 targets if host is x86
2012-04-22 05:24:39 +00:00
roy 258cf0abec Add capfile(5) to describe the termcap format.
Adjust various man pages and other documentation to point to capfile(5)
instead of termcap(5).
Remove getcap(3) as curses hasn't been building it for a long time.
Punt wrterm.c as tset no longer uses it.
2012-04-21 12:27:24 +00:00
jruoho 71224831e0 Add few unit tests for mlock(2), including a case for PR kern/44788. 2012-04-20 12:11:29 +00:00
jruoho c7358053ef Add a test case for PR bin/39546. 2012-04-19 18:51:35 +00:00
bouyer 24a7abc690 Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.
2012-04-19 17:50:49 +00:00
christos 9b0d6930b2 add _pic files 2012-04-18 22:44:43 +00:00
christos f03549c50e add mudflap 2012-04-18 19:29:01 +00:00
rkujawa 3b1a228346 Note clockport support and SilverSurfer driver. 2012-04-17 15:34:51 +00:00
khorben 446efaca9f Added myself to the list of NetBSD Developers 2012-04-17 14:11:59 +00:00
rkujawa c878064cd3 add a1k2cp(4) and clockport(4) man pages to distribution list 2012-04-17 10:14:12 +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 a3637b39d4 The k_helper3 module no longer gets installed in its own subdirectory. 2012-04-14 02:47:27 +00:00
jruoho e49dc377ca Add a helper program that loads a module and returns the errno from modctl(8).
XXX: As noted on tech-kern@, the syscall should be modified to fail
     consistently with a given predefined errno on non-MODULAR kernels.
2012-04-13 07:05:32 +00:00
christos 22b1441247 add getpassfd 2012-04-12 22:10:05 +00:00
christos eead6b2f0e add getpass_r 2012-04-12 19:36:34 +00:00
riz f75e70385a Change the pkgin repository *before* running pkgin update. Spotted
by imil@.
2012-04-12 16:05:48 +00:00
ttoth 196b7a71d5 Add myself. 2012-04-12 15:39:09 +00:00
jruoho a74ccce819 Test that sysctl(8) does not segfault, as reported by pgoyette@ on current
users.
2012-04-10 02:39:33 +00:00
jdf ccba2c41c9 Make sysinst not store the keyboard or network configuration used while
upgrading, as issued by PR install/35538.
2012-04-09 23:18:31 +00:00
riz a59062a175 s/Createing/Creating/ 2012-04-09 19:22:49 +00:00
uebayasi 60ebd64731 Remove duplicate English text. Remove ^M. Fix build. 2012-04-08 03:11:14 +00:00
riz 420ca486a3 French translation of new strings, and some other fixes.
From Matthew Mondor.
2012-04-07 23:25:18 +00:00
jdf 1671538f34 Fix for PR 45816: Restructuring the error menu when the CD ROM is missing. 2012-04-07 19:02:57 +00:00
christos fcef2dcd59 - add getdisk{raw,cooked}name
- bump libutil
2012-04-07 16:48:23 +00:00
nonaka 8be304c413 bump up ramdisk size. 2012-04-07 09:10:47 +00:00
christos b12b677b84 I guess pdisk gets installed everywhere now 2012-04-07 05:55:00 +00:00
christos a1048e6542 bump libutil and new getfsspecname 2012-04-07 04:09:54 +00:00
tsutsui d1ab79a2ea Use 1MB alignment rather than the default 63 sectors for
fdisk partition boundary for >128GB disks, as fdisk(8) does.
No particular comments for my PR install/45990.
2012-04-07 03:08:33 +00:00
riz ed2340b163 Implement a post-install configuration menu, as proposed on tech-install.
Enables the user to configure a few additional items, including using
pkgin to manage binary packages, in a post-install menu which replaces
the series of questions (Do you want to set a root password? etc).

This is by no means a perfect solution, nor should it discourage anyone
from working on more sweeping changes to sysinst.

Some bug fixes, and .de translation provided by Julian Fagir.

XXX .es, .fr and .pl translations still needed.  Please help!
2012-04-06 23:48:53 +00:00
christos 30044aadfd pdisk is now mi (except for rescue) 2012-04-06 22:46:15 +00:00
spz d5b7b4d73a adjust for expat-2.1.0 2012-04-06 10:49:27 +00:00
bsh 0e9f71e12b add phony targets to build gzimg files for specified kernels, instead
of building all gzimg files in TARGETS.
2012-04-04 07:32:29 +00:00
bsh 87767e019d enable X11 build for evbarm. 2012-04-04 01:23:26 +00:00
jruoho 47dea51ec6 Add regression tests for PR bin/3914 and PR bin/27140. 2012-03-30 09:27:10 +00:00
jruoho 06f1efeb34 Few fundamental consistency checks for the abs(3) family. 2012-03-29 06:16:56 +00:00
jruoho 0d64217da5 Few naive consistency checks for the atoi(3) family. 2012-03-29 05:42:31 +00:00
jruoho 53263fa593 Add a small test that checks that random(3) does not always return zero when
the RNG is initialized with zero. Prompoted by the recent nasty bug in the
OpenBSD libc.
2012-03-28 10:33:57 +00:00
christos b0fe139da0 add funopen2() and friends 2012-03-27 15:07:01 +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
jruoho 1e806afd68 Append a case for (fixed) PR bin/25899. From Min Sik Kim. 2012-03-27 07:39:00 +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
tron 406ffa5777 Update entries for IPFilter regression tests. 2012-03-24 18:27:53 +00:00
matt 51343b6f8a Mark ipf entries with ipfilter so that MKIPFILTER=no works. 2012-03-24 07:03:12 +00:00
christos a38c14bb60 add new tests 2012-03-23 23:59:50 +00:00
he 3752469789 Bump the ramdisk size with 100KB so that the contents fits again. 2012-03-23 18:37:42 +00:00
drochner a3b2d0861e obsolete kame_ipsec(4) 2012-03-22 20:52:47 +00:00
wiz 3957bea1ef Fix whitespace nits. Suggested by Bug Hunting. 2012-03-22 07:58:16 +00:00
matt c7757d6b3f Add a Makefile dependency 2012-03-21 05:49:39 +00:00
matt 912d25fe8b Use special ed and umount. 2012-03-21 05:49:17 +00:00
matt bda6ce62a2 Use C89 function definitions. 2012-03-21 05:43:55 +00:00
matt 41061f7ff7 Add missing MKDEBUG=yes X11 files 2012-03-21 05:43:09 +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
christos 461d32430f add t_cdefs 2012-03-18 15:32:23 +00:00
he 136d71a66c Bump the ramdisk size so that the contents fits again. 2012-03-18 14:12:55 +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 e626461e72 Add a case for PR lib/41558. It is unclear whether this is a bug, but at
least it is documented now. Probably it would be better to follow Linux,
where the test case does not fail.
2012-03-18 08:52:07 +00:00
jruoho 0a082b37fe Move the _lwp_ctl(2) preemption counter check to the right place. 2012-03-17 17:23:34 +00:00
jruoho 840bc631fa Adjust set lists and mtree. 2012-03-17 17:16:41 +00:00
jruoho 6aa27f04c2 Add few basic tests for realpath(3). 2012-03-17 16:40:14 +00:00
jruoho 2fb9c76e0d Adjust set lists and mtree. 2012-03-17 16:35:02 +00:00
jkoshy 936bd63786 Add an entry for myself. 2012-03-16 05:43:09 +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
elad 0c9d8d15c9 Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with
something meaningful. All relevant documentation has been updated or
written.

Most of these changes were brought up in the following messages:

    http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html
    http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html
    http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html

Thanks to christos, manu, njoly, and jmmv for input.

Huge thanks to pgoyette for spinning these changes through some build
cycles and ATF.
2012-03-13 18:40:26 +00:00
njoly e2c1d0fe71 Small typo. 2012-03-11 23:10:43 +00:00
jruoho 869580eb48 Adjust set lists and mtree. 2012-03-11 18:45:19 +00:00
riz 4f660bc31a Add bootxx_fat12 to sets, to fix the build. 2012-03-11 06:53:18 +00:00
joerg 99c3eea80c P1003_1B_SEMAPHORE is no longer optional. 2012-03-10 21:51:48 +00:00
christos 8d1c40e771 add awk tests 2012-03-10 19:10:06 +00:00
joerg 4acff4c01b Implement sem_timedwait. 2012-03-08 21:59:24 +00:00
tron afa136001d Add support for SQLite look-up tables to postfix(1), see sqlite_table(5)
for more details.

While here stop installation of pcre_table(5) as this table type
is not supported.
2012-03-04 16:12:24 +00:00
matt 10383bcb15 Add flashctl, date, df, vmstat, mount_tmpfs, mount_msdos, etc. 2012-03-03 06:45:09 +00:00
tsutsui 34ae6a8457 Remove trailing whitespaces where explicit line break is not necessary:
- paragraph break (two newlines)
 - list indent (leading tab)

XXX: msgc(1) lacks description about formatings.
2012-03-03 03:06:30 +00:00
tsutsui c92748bcf3 Remove unused pasto messages. No Human68k on hp300. 2012-03-03 02:46:13 +00:00
tsutsui e2ddea308d Remove trailing whitespaces in messages where line break is not expected. 2012-03-03 02:34:13 +00:00
tsutsui fa87856d54 Remove (harmless) trailing tab. 2012-03-03 02:26:45 +00:00
matt 3e4f5725ad Fix libexpat.so debug entry 2012-03-02 23:13:55 +00:00
christos 2b01a8ad07 PR/46111: Wolfgang Stukenbrock: Add yp_setbindtries(3) so that yp operations
don't hang forever if requested.
2012-03-02 17:27:48 +00:00
apb 63809dc566 Add usr/share/zoneinfo/America/Creston to set lists,
after tzdata2012a update.
2012-03-02 06:07:24 +00:00
tsutsui e4fbe1f59d Remove trailing spaces not in message format. 2012-03-01 18:08:56 +00:00
tsutsui 9db2bcabd6 Remove trailing spaces not in message format. 2012-03-01 17:40:31 +00:00
tsutsui a77ac84a0c Put back more spaces at EOL for line breaks. 2012-03-01 17:27:29 +00:00
mbalmer 2e5c623416 Put back spaces at EOL where needed (in a message file, a space at EOL
means a line break, a line break means a space...)
This should fix PR 46042.
2012-03-01 16:22:13 +00:00
tron df92d05dec Move "libexpat" from X11 into base which fixes PR lib/40346.
This change was approved by the Core Group.
2012-02-29 20:07:51 +00:00
agc 1923fda99b consolidate all of the volatile /var.* directories which are mounted as tmpfs
into a single one for /var - same as /root, /etc
2012-02-29 04:49:50 +00:00
joerg 312af31841 Merge XZ 5.0.3. 2012-02-28 14:22:21 +00:00
mbalmer b3d36785a0 Fold long lines and a little KNF. 2012-02-26 10:17:44 +00:00
nonaka a6b3c113bf Build evbarm-${MACHINE_ARCH}cd.iso instead of evbarmcd.iso. 2012-02-23 11:03:53 +00:00
kiyohara 0fefe00c6d Fix build failure. Remove unknown device ttyv0. 2012-02-23 00:22:07 +00:00
martin 550cdc2ff9 Fix typo in usage 2012-02-22 16:12:34 +00:00
wiz 32a64c4a9c Mark /usr/include/netinet/ipf_rb.h as obsolete until ipf is upgraded again.
Sort while here.
2012-02-21 10:10:43 +00:00
rmind ad12c77015 Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3!
Approved by core@.
2012-02-19 21:05:51 +00:00
njoly e46cff4057 Tweak MAKEDEVSPEC target to properly report MAKEDEV failures:
- No need to ignore `rm -f' failures which should not happen.
- Do not pipe MAKEDEV output, but use a temp file.
2012-02-18 14:26:27 +00:00
jmmv 1cf12d0216 Add a test to ensure that PAGE_SIZE is available in kernel modules.
This test reproduces the error condition in PR port-macppc/46041 and
therefore it is an xfail in this particular platform.
2012-02-17 22:36:50 +00:00
plunky 555be44f20 document config_detach_children(9) 2012-02-17 09:44:12 +00:00
riz d77699356b Use a new variable, MODULEVER, for kernel modules, tracking what's been
done elsewhere.
2012-02-17 00:33:24 +00:00
christos ca7f79a7ea use osrelease.sh -k instead of hand-rolled logic. 2012-02-17 00:00:39 +00:00
joerg 52a4c27e3e Add _dlauxinfo helper function to provide access to the ELF auxilary
vector. This can normally be found via __ps_strings, but libc is
initialised too early when linked dynamically and doesn't have access to
it yet, so provide an alternative mechanism via ld.elf_so.
Bump libc minor.
2012-02-16 23:00:38 +00:00
christos b8714878d6 add cpuconf.h to the sets 2012-02-16 21:15:05 +00:00
njoly 988d7e3a8e window.debug is now obsolete. 2012-02-16 18:40:29 +00:00
wiz 5a797cff4f Fix tags in set lists for window removal. 2012-02-16 12:29:11 +00:00
jmmv 7054f14003 Remove window(1).
window(1) was replaced by tmux(1) on March 2011.  The source code has
been reimported into othersrc/usr.bin/window and an up-to-date package
is available in pkgsrc/misc/window.

This removal was approved by core@, with the condition that it be done
once netbsd-6 had been brached.  And the branching has just happened!
2012-02-16 04:52:47 +00:00
riz f8a1d7977c Back out the recent import of IPFilter 5.1.1 for the upcoming branch,
which will now have IPFilter 4.1.34.  IPFilter 5.1.1 will be restored
post-branch.

ok: core, releng.
2012-02-15 17:55:03 +00:00
joerg bc53156751 Build release notes if groff is present (MKGROFF!=no), not if man pages
are requested (MKMAN!=no).
2012-02-14 19:39:37 +00:00
plunky 18e80c41ff add aubtfwl.4 to the build 2012-02-14 17:35:11 +00:00
njoly 5f059f74c0 Kill dup lines. 2012-02-14 17:29:51 +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
riz 0530c57f24 Fix the build after ipfilter tests were added. 2012-02-14 00:39:08 +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
njoly 7aa97625c3 No need for quotadump.debug. quotadump is a link to repquota, and will
use its debug file.
2012-02-13 12:49:25 +00:00
dholland 2a4bf12d53 Remove quotactl(8). Successor for backup purposes is quotarestore(8).
Note that as of this writing the tool continues to work with the old
proplib-xml packet interface against the new libquota(3), so anyone
who has a use for it can bring it back from the Attic and/or create a
pkgsrc package.

Approved by releng for the freeze, and specifically okayed by core a
couple months ago.
2012-02-13 01:43:22 +00:00
dholland aa498c6e1e Add quotadump(8), which is a link to repquota, and quotarestore(8),
which is new. Includes man page updates. Approved by releng for
freeze.
2012-02-13 01:35:06 +00:00
dholland 62cfdf3316 Quota-related docs fixes:
- Remove old quotactl(2); replace with new __quotactl(2).
- Document quota_getrestrictions(3), the semantic restriction codes,
  and quota_quotaon/off(3).
- Update VFS_QUOTACTL(9), which was still describing the pre-proplib API.

Approved by releng for the freeze.
2012-02-13 01:24:00 +00:00
njoly f9ebaf519d Adjust debug objects for recent libc minor bump. 2012-02-12 10:01:57 +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
tsutsui ddafd3b8c8 More SL-C7x0/860 support for Xorg server usage:
- pull touchpanel adjustment ioctls to w100lcd.c for SL-C7x0/860
  from zlcd.c for SL-C1000/3x00
- add sample xorg.conf for C7x0/860 (which have hardware screen rotation)
- rename old xorg.conf.sample for C1000/C3x00 to xorg.conf.C3x00
- adjust md set list

Ok releng@ nonaka@
2012-02-10 11:25:42 +00:00
ast 7964aa2984 Update the amd64 and i386 examples to use /usr/mdec/bootxx_ffsv2,
i.e. DEFAULT_UFS2 as src/distrib/utils/sysinst/bsddisklabel.c does
since post-NetBSD5.  This avoids rendering an i386 or amd64 system
unbootable if the given example is thoughtlessly cut-and-pasted on
a NetBSD6.x system (been there, done that ;-) Qualify the descriptions
of /usr/mdec/bootxx_ffsv{1,2} along those lines.

Fixed a small typo in comment of distrib/utils/sysinst/arch/amd64/md.h.

Ok by releng@
2012-02-09 18:35:44 +00:00
wiz eeae6ab447 Fix a typo. 2012-02-09 11:58:35 +00:00
njoly b3085522af Remove extra slash in makemandb.debug line. 2012-02-08 16:52:39 +00:00
njoly 4cf2fcef29 Error out if a path has consecutive slashes which is unsupported and
made awk enter an infinite loop while creating set lists.
2012-02-08 16:51:09 +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
nisimura 1858b8306e - add MBR editing menu to sysinst.
- fix typos in timecounter names.
- make sure to drain Tx FIFO to avoid clobbering
  kernel boot messages.
- allow to have the 3rd UART.
- add missing time-of-day clock support.

Ok by releng.
2012-02-07 09:06:04 +00:00
dholland 7609b9bc56 Migrate one last leftover bit (used only by the kernel now) to
sys/ufs/ufs and remove the old quota headers and no-longer-used shared
code. Ok by releng.
2012-02-05 14:19:02 +00:00
he e0e72b8a73 Bump the install image size so that this builds again. 2012-02-04 22:27:25 +00:00
joerg a9315a99ce Fix support for negative keywords: the keyword is prefixed directly with
! without space, so that the splitting works as expected. Adjust entries
for bsdgrep.
2012-02-03 22:18:04 +00:00
nisimura 9aa0874ef1 Add Mini2440 entry to sysinst kernel selection. 2012-02-03 00:35:35 +00:00
phx 678263a5d4 Translate some new messages into german. 2012-02-02 22:15:04 +00:00
phx bd07308fb4 Use sync(8) instead of echo(1) to avoid writing an RDB disklabel.
echo(1) is not part of the miniroot file system.
2012-02-02 21:58:31 +00:00
tsutsui 8e1b1dc1f4 Build INSTALL_C700 ramdisk kernel and install into releasedir. 2012-02-02 16:02:44 +00:00
tsutsui 96d29df0a1 Select a proper kernel set (GENERIC or C700) per running INSTALL kernel name. 2012-02-02 16:00:35 +00:00
matt 37e06c30ca Add ext2/msdos support, allow mount from udf, add flashctl. 2012-02-01 22:25:46 +00:00
matt 48bb1d5677 Put ld0/ld1 on the ramdisk (for sdmmc). 2012-02-01 21:57:13 +00:00
dholland 8ca6501118 Set list updates for libquota bump. 2012-02-01 17:53:54 +00:00
dholland 59b296daa7 Change the syscall API for quotas over to the new non-proplib one.
- struct vfs_quotactl_args -> struct quotactl_args
   - add sys/stdint.h to sys/quotactl.h for clean userland build
   - install sys/quotactl.h in /usr/include
   - update set lists for same
   - add new marshalling code in libquota
   - add new unmarshalling code in vfs_syscalls.c
   - discard proplib interpreter code in vfs_quotactl.c
   - add dispatching code for the 14 quotactl ops in vfs_quotactl.c
   - mark the proplib quotactl syscall obsolete
   - add a new syscall number for the new quotactl syscall
   - change the name of the syscall to __quotactl()
   - remove the decl of the old quotactl from quota/quotaprop.h
   - add a decl of the new quotactl to sys/quotactl.h
   - update the libc build
   - update ktruss
   - remove proplib marshalling code from libquota
   - update copy of syscall table in gdb ppc sources
   - hack rumphijack to accomodate new quotactl name (as I recall,
     pooka wanted such a name change to simplify something, but I
     don't really see what/how)

This change appears to require a kernel version bump for rumpish
reasons.
2012-02-01 05:34:38 +00:00
nisimura 94c24683fe add MINI2440_INSTALL image to the distribution. 2012-02-01 03:35:14 +00:00
nisimura 6e0f9f1c21 introduce evbarm bootmini2440(8) man entry. 2012-01-31 12:23:32 +00:00
tls 286b7417a0 Add ipf_rb.h to setlist -- missed in earlier commits in ipf 5.1.1 import. 2012-01-30 22:51:51 +00:00
dholland f674bc87d8 Set list updates for libquota minor bump.
(the 32-bit lib and debug lib lists really ought to be automatically
generated)
2012-01-30 16:54:46 +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
joerg a7dacf1e8f Bump libsqlite3 minor version for new functions in 3.7.10. 2012-01-29 23:29:00 +00:00
phx 2be87fafe3 Add support for RDB-partitioned disks.
When an RDB block was found on the disk we cannot change the disk layout,
and everything which has to do with MBR partitioning will be skipped.
2012-01-29 16:01:36 +00:00
phx ba87b849a9 Introduce some initial documentation for NetBSD/ofppc. 2012-01-29 15:54:35 +00:00
phx 36f7200ab1 Update list of supported NAS products. 2012-01-28 21:48:32 +00:00
phx 0de3893ab5 Use MAX3232 instead of MAX232 for the serial converter. 2012-01-28 21:48:00 +00:00
pgoyette 2f1f723965 Add new directories for trousers to sets lists. The directories get
created even if they're not populated.

Hello again, christos!
2012-01-28 15:10:24 +00:00
jnemeth 4ce18a15d5 put back accidentally obsoleted pxeboot 2012-01-27 08:47:52 +00:00
jnemeth a9a0f4b79c Stop building boot ROM images for old PC NICs as discussed on tech-kern. 2012-01-27 08:41:35 +00:00
tsutsui c1e4c0e11a zaurus zboot supports UFS2. (as defined in zaurus/stand/zboot/conf.c) 2012-01-26 16:12:14 +00:00
phx c43563e336 netboot is called altboot now 2012-01-25 19:03:35 +00:00
dholland 2cd8cfd233 Set list update for libquota manpage 2012-01-25 17:54:32 +00:00
christos 1897181a72 From tnozaki@: make fpos_t a complex object that keeps track of the parse
state of the stream. Change argument of the seek function to funopen() from
fpos_t to off_t. Make f{g,s}etpos() use the new fpos_t struct, while providing
backwards compatible entry points. Approved by releng@
2012-01-22 18:36:14 +00:00
tsutsui 02828259e9 Appease warnings `"expr 0 \* 1024 \* 1024 / 512" returned non-zero status.'
SWAPMB could be zero (in install-image case) and
expr(1) returns exit status 1 in that case.  Umm.
2012-01-22 16:56:22 +00:00
tsutsui 99c3f09a00 Fix checks for RELEASEDIR (and xxxxIMGBASE) variables to perform it
only on live_image or install_image targets.  PR toolchain/45864
2012-01-22 16:50:00 +00:00
jnemeth 08503b5d53 Fix build break: put back accidentally deleted tp.html. 2012-01-22 08:58:13 +00:00
christos 6fb39d18da add a tpm driver from bsssd.sourceforge.net 2012-01-22 06:44:28 +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 2d602d5f8b Remove my (isaki@) acknowledgement. 2012-01-21 04:43:54 +00:00
agc d2e3329102 While the resulting image from mkimage can always be mounted with vnd,
and then modified, it is much easier to let this late, user-oriented
customisation be done automatically.  These mods let mkimage change
information based on files in a "custom" directory, which can be set
in mkimage using -c customdir.

After all other configuration, the files under custom/ will be copied
into the main image.  The files under custom/ are taken into account
when performing autosizing.

Also, generalise the sets directory to point to the current machine
architecture, although this can be overwritten from the command line
by anyone making cross-images.

An example to make a user image with an embedded read-only 100 MB
iSCSI target:

% ./mkimage -c custom
=== making a new 272 MB image in usermode.img ===
272+0 records in
272+0 records out
285212672 bytes transferred in 7.616 secs (37449142 bytes/sec)
=== mounting image via vnd vnd0 ===
/dev/rvnd0a: 272.0MB (557056 sectors) block size 8192, fragment size 1024
        using 6 cylinder groups of 45.34MB, 5803 blks, 11264 inodes.
super-block backups (for fsck_ffs -b #) at:
32, 92880, 185728, 278576, 371424, 464272,
=== installing sets ===
base
etc
modules
=== performing customisations ===
=== making extra directories ===
=== customising /var/tmp ===
=== user customisations from files in custom ===
Filesystem    1K-blocks       Used      Avail %Cap Mounted on
/dev/vnd0a       269967     263958      -7489 102% /mnt
% ls -l -R custom
total 8
drwxr-xr-x  3 agc  agc  512 Jan 18 03:58 etc
drwxr-xr-x  2 agc  agc  512 Jan 18 04:00 iscsi

custom/etc:
total 8
drwxr-xr-x  2 agc  agc  512 Jan 18 03:58 iscsi
-rw-r--r--  1 agc  agc  564 Jan 18 03:58 rc.conf

custom/etc/iscsi:
total 6
-r--r--r--  1 agc  agc  799 Jan 18 04:27 targets

custom/iscsi:
total 102484
-rw-r--r--  1 agc  agc  104857600 Jan 18 04:00 iscsi-target0
% sudo vnconfig vnd0 usermode.img
% sudo mount /dev/vnd0a /mnt
% cat /mnt/etc/iscsi/targets
# $NetBSD: targets,v 1.2 2006/02/16 19:30:57 agc Exp $
#
# Structure of this file:
#
# + an extent is a straight (offset, length) pair of a file or device
#   it's the lowest common storage denominator
#   at least one is needed
# + a device is made up of one or more extents or other devices
#   devices can be added in a hierachical manner, to enhance resilience
# + in this example, no device definitions are necessary, as the target
#   will just use a simple extent for persistent storage
# + a target is made up of 1 or more devices
# The code does not support RAID1 recovery at present

# Simple file showing 1 extent, mapped straight into 1 target

# extent        file or device          start           length
extent0         /iscsi/iscsi-target0    0               100MB

# target        flags   storage         netmask
target0         ro      extent0         0.0.0.0/0
% ls -l /mnt/iscsi/iscsi-target0
-rw-r--r--  1 agc  agc  104857600 Jan 18 04:00 /mnt/iscsi/iscsi-target0
% diff custom/etc/iscsi/targets /mnt/etc/iscsi/targets
%
2012-01-20 02:19:47 +00:00
bouyer 9427679519 Make parts of the quota tests useable for more than quotas:
- rename h_quota2_server to h_ffs_server, there's nothing about quotas
  in there.
- extract non-quota parts of quotas_common.sh to ffs_common.sh
2012-01-18 20:51:23 +00:00
riz e37e023b0f Setlist fix for MKDEBUGLIB=yes on amd64. Probably needs a similar
fix on sparc64.
2012-01-18 17:32:41 +00:00
joerg 83683d552a kpasswd depends on MKKERBEROS, not USE_KERBEROS 2012-01-17 18:53:22 +00:00
jakllsch f4a9de15e0 Add lm, lm_isa_common, lm_isa, lm_wbsio and wbsio modules to the x86 build. 2012-01-17 16:59:37 +00:00
mbalmer 04ad68ff98 Add uts(4) man pages 2012-01-17 08:13:41 +00:00
jmcneill 4b2d521801 use ${CDIMAGE} instead of ${CDBASE}.iso 2012-01-15 22:34:33 +00:00
joerg e5f626f9f7 Add nhpow(4) 2012-01-15 17:33:23 +00:00
agc 00c311bc00 Add 3 scripts which are useful for making images for usermode, or any
embedded platform in particular.

+ mkimage will make an autosized image in a file (using vnd) from sets
the resulting image can be mounted read-only, with tmpfs used for volatile
files on top of read-only bases

+ mkpkgs will make an autosized image in a file (using vnd) from binary
packages

+ usermode is an easy way to invoke usermode, making sure that bridging
is set up properly, and that the host syscallemu module is loaded. This
script then runs usermode with two file images (as produced by mkimage
and mkpkgs)
2012-01-15 02:01:02 +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
joerg 0cd0c897dd Update LLVM/Clang snapshot to r147888. Most importantly, this fixes a
number of ABI issues for i386 and provides the correct
__FLT_EVAL_METHOD__ when using i387.
2012-01-11 23:24:46 +00:00
rkujawa f4dbc84931 Add cv3dpb(4) page to set list 2012-01-11 17:28:52 +00:00
gson f6c2d0baa7 Add support for installing source sets as discussed on tech-install,
with improved German translations from Martin Husemann and Julian
Djamil Fagir.  French, Spanish, and Polish translations are
still needed.  OK christos, riz.
2012-01-10 21:02:47 +00:00
rkujawa 5375f8165e Add p5membar(4) to man set list. 2012-01-10 20:47:01 +00:00
snj c86bce3cfd spz and riz request that we don't list ftp.NetBSD.org's IP addresses. 2012-01-10 01:57:27 +00:00
sborrill 1e3389e580 Add dkctl to install ramdisk so that you can enable disk writecaches before
install, if necessary.
2012-01-09 17:45:03 +00:00
skrll b2ab995d00 Fix set list. kame_ipsec.html was missing. 2012-01-09 16:59:36 +00:00
skrll d2845d9eb6 Add a mkboot(8) man page. 2012-01-09 16:04:45 +00:00
dholland e15d192c7f Bump minor version of libquota.so. 2012-01-09 15:24:37 +00:00
dholland 0d7dfe62fa Add <quota.h> with the new libquota API.
This is the user/application API and does not include the kernel
interface. Definitions shared with the kernel are found in
<sys/quota.h>.

Since I've been working on a local branch I have taken the liberty of
moving the latest-so-far version of <quota.h> to the front of the
patch queue. This loses (a small amount of) history but has the
advantage of avoiding unnecessary version bumps of libquota.so.
2012-01-09 15:19:44 +00:00
drochner d107562abc Make FAST_IPSEC the default IPSEC implementation which is built
into the kernel if the "IPSEC" kernel option is given.
The old implementation is still available as KAME_IPSEC.
Do some minimal manpage adjustment -- kame_ipsec(4) is a copy
of the old ipsec(4) and the latter is now a copy of fast_ipsec(4).
2012-01-09 15:16:30 +00:00
sborrill 513c5af341 Add /sbin/dkctl. This allows you to drop to a command prompt and enable
writecaches before installing, if necessary.
2012-01-09 11:52:43 +00:00
skrll ccf87b9e24 Error if the root partition exceeds the PDC 2GB limit. The check now
catches invalid "existing" partitions. PR/45742

Thanks to martin for the German translation. The others are all my fault.

Thanks to mrg for comments
2012-01-09 11:51:41 +00:00
riz 9dc21a478b Copy resolv.conf into target even if it was created by DHCP, since in
that case, it will be replaced on next boot anyway.
2012-01-09 02:52:50 +00:00
riz a457d440cf Use the "doingwhat" message for the multiple disks case, not just the
single-disk case.

XXX Native speakers of .fr, .es, .de, and .pl please make sure the
replacement makes sense.  Thanks!
2012-01-09 01:51:47 +00:00
riz 1bfc197123 Add defs.h to DPSRCS. 2012-01-08 21:20:40 +00:00
christos ecad436e9c work for both X11R6 and X11R7 2012-01-08 02:32:00 +00:00
christos 56ed22796c this is only valid for X11R6; we never had a.out X11R7 2012-01-08 02:24:32 +00:00
christos 4e3ddc38b5 only deal with X11R7 now. 2012-01-07 18:54:30 +00:00
christos 4a6887196f add strspct 2012-01-07 18:42:38 +00:00
riz 924cc21636 Don't use snprintf() to format, when run_program() will do it nicely on
its own.  Suggested by joerg.
2012-01-06 20:52:43 +00:00
riz 39a56bcacc Use getfslabelname() instead of trying to access fstypenames[] directly. 2012-01-06 20:41:28 +00:00
drochner 47a381e15e more IPSEC header cleanup: don't install unneeded headers to userland,
and remove some differences berween KAME and FAST_IPSEC
2012-01-06 14:17:10 +00:00
christos c9ef664a0f we want the label name not the fstype name. 2012-01-05 22:18:36 +00:00
christos c4873f6cd0 eliminate logging variable from md code. 2012-01-05 21:32:35 +00:00
christos 4ea9182c55 eliminate useless booleans and use the file pointers as conditionals. 2012-01-05 21:29:24 +00:00
christos c03a5a1e01 - add printflike and fix the broken formats
- make sure we don't exceed the number of partitions we have
2012-01-05 21:22:49 +00:00
christos 947502beba kill unused variable 2012-01-05 20:22:33 +00:00
christos 00d7813e05 use getfstypename from libutil. 2012-01-05 20:21:35 +00:00
christos ede9eac481 - avoid dereferencing junk if fstype is out of bounds.
- kill mountnames since it is not used.
2012-01-05 19:43:59 +00:00
ast 2fe5d8d678 Add ast@ to the list of NetBSD developers. 2012-01-05 05:48:27 +00:00
yamt 9753d46d1c install tprof related commands and man pages. 2012-01-04 16:25:13 +00:00
drochner 8fd6dadaf8 include <netipsec/ipsec.h> rather than <netinet6/ipsec.h> from userland
where possible, for consistency and compatibility to FreeBSD
(exception: KAME specific statistics gathering in netstat(1) and systat(1))
2012-01-04 16:09:40 +00:00
yamt f40ab0e98f install fincore. 2012-01-04 15:54:37 +00:00
riz 7e46691679 Build in 'utils' subdir before building miniroot, or the MD bits.
When making changes to 'sysinst', for example, one would expect them
reflected in the generated installers.
2012-01-04 03:43:34 +00:00
riz 35e4abfb48 Fix typo in comment. 2012-01-01 23:26:22 +00:00
pgoyette f9ecf89138 Add the Atffile for libcrypt tests 2011-12-27 17:13:10 +00:00
christos 0f3025d28c undo the pam bump. requested by joerg. 2011-12-27 16:52:52 +00:00
christos 9e865358c0 Add crypt tests. 2011-12-27 00:49:16 +00:00
christos e8ad55a311 openpam changes 2011-12-25 23:28:32 +00:00
christos e55e1f1e31 more lint tests 2011-12-25 20:15:34 +00:00
pgoyette 23a56681fd Include the fifofs Atffile 2011-12-21 07:36:02 +00:00
christos 5ef9683a49 add the directories 2011-12-21 01:57:55 +00:00
christos 770e6bc355 Add a fifofs test. 2011-12-21 00:23:30 +00:00
njoly e4757f8055 Add eeprom.debug, and while here sort list. 2011-12-19 15:09:52 +00:00
joerg 7939bbfd79 libgcc_pic is still needed for GCC 4.1. 2011-12-19 14:04:56 +00:00
tsutsui e7c3c9d266 Update ftp.NetBSD.org IPv4/IPv6 addresses.
(should be pulled up to all release branches?)
2011-12-17 15:40:22 +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
tsutsui 17d9647811 Build and install isibootd(8). 2011-12-17 13:27:49 +00:00
wiz a107b19ebf Split extattr(3) into two man pages to get rid of ugly duplicate Nd.
Work done by Abhinav Upadhyay with minimal cleanup.
2011-12-16 12:46:00 +00:00
macallan ad3b6c9f6b add eeprom 2011-12-15 07:52:13 +00:00
njoly be26ac6354 Add missing x11 tag for xfree debug files, and add xorg debug files. 2011-12-14 14:18:19 +00:00
he b8e262ecc5 Add the secmodel_extensions variants of the kernel modules. 2011-12-07 22:14:43 +00:00
jym 20cbd76bbd Set list fix... 2011-12-05 02:04:34 +00:00
jym f3effc5ec2 Improvements in secmodel(9). Document secmodel_register(9), _deregister(9)
and _eval(9).

Add secmodel_extensions(9), and indicate the new sysctl(7) to let
ordinary users control the CPU affinity (user_set_cpu_affinity).
2011-12-04 21:08:37 +00:00
he f58262c542 Add the chfs module for powerpc-4xx and powerpc-booke. 2011-11-29 10:05:28 +00:00
tls 7db676852a Add (links for) missing "cross-references" from cprng(9). Some of the
functions replaced by cprng were never documented at all.
2011-11-29 03:40:41 +00:00
tls 2a139c3401 Add cprng(9) manual page, remove arc4random(9) manual page 2011-11-28 20:19:25 +00:00
tron bb4b748000 Don't build postscreen(8) if "MKCRYPTO" is set to "no". It cannot be
built without TLS support, at least not without major surgery.
I've only tested this by building with "MKCRYPTO" set to "yes"
because the build fails much ealier otherwise.

Problem reported by Nick Hudson in private e-mail.
2011-11-28 16:22:14 +00:00
sekiya c4f5060af2 Note kern-SHEEVAPLUG. 2011-11-28 06:16:40 +00:00
isaki 9289c438ac Add powsw(4) for x68k power switch. It substitutes for a part about
power switch handler of pow(4) deleted before.
Benefits than pow(4):
- separate a front switch (= powsw0) and an EXPWON line (= powsw1)
  completely. Only powsw0 is enabled in GENERIC by default.
- prevent chattering in some hardware individuals.
  thank you for a report and a test: Yasushi Oshima and Y.Sugahara.
2011-11-27 09:00:32 +00:00
tsutsui 305f313ce1 Also add vioif(4) and viomb(4) to a set list. 2011-11-26 15:39:49 +00:00
njoly 97f73c2bd9 +mount_chfs.debug 2011-11-25 07:50:36 +00:00
ahoka bfe8f86e03 add chfs.kmod 2011-11-24 21:46:15 +00:00
ahoka dac60b7b08 add /sbin/mount_chfs 2011-11-24 21:44:19 +00:00
ahoka 1beb357e78 add mount_chfs.8 2011-11-24 21:42:08 +00:00
christos 09a433306f add t_subr_prf 2011-11-24 01:49:39 +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
cheusov 91dbf71977 Regression tests for awk(1) (PR 44063) 2011-11-22 20:22:09 +00:00
joerg 9cf8fb38ac Add test cases for strcspn, strpbrk, strspn, wcscspn, wcspbrk and
wcsspn.
2011-11-21 23:50:44 +00:00
njoly 0a4b126e70 Add Xorg modules debug entries. 2011-11-20 21:50:38 +00:00