Commit Graph

12937 Commits

Author SHA1 Message Date
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
isaki
2ccb98927e Obsolete pow(4) and rtcalarm(8). Discussed in port-x68k@.
Probably the combination of pow(4) ioctl and rtcalarm(8) does
not work for a long time, and nobody uses them.
I'll rewrite a part about power switch handler as a new device.
2011-11-19 12:27:42 +00:00
njoly
8de7333d7f Switch from COPYDIR to COPY/LINK when populating usr/mdec directory, to
avoid file duplication.
2011-11-18 21:32:46 +00:00
christos
c3b1b2f48c add kevent test 2011-11-17 01:22:30 +00:00
he
2f168eae0b Add the iscsi kernel module and directories for ibm4xx and booke variants.
Re-sort.
2011-11-16 17:26:24 +00:00
njoly
588634a938 +iscsictl.debug +iscsid.debug 2011-11-15 22:02:19 +00:00
riz
262c7a9290 Build and install new in-kernel iscsi initiator kernel module and associated
binaries (iscsid, iscsictl) if MKISCSI != no.  Initiator can also be built
into a kernel by adding 'pseudo-device iscsi' in kernel configuration.
2011-11-15 16:50:43 +00:00
jym
0cbbdfa92d pool_cache_sethiwat(9), pool_cache_setlowat(9), pool_cache_sethardlimit(9) 2011-11-15 00:50:55 +00:00
jym
1e8ad6eb02 pool_sethardlimit.9 => pool.9 2011-11-15 00:19:42 +00:00
christos
d8c88883a4 add t_evaltested 2011-11-14 20:25:15 +00:00
christos
02e7ae4899 add getfstypename 2011-11-13 22:25:21 +00:00
mbalmer
c70f5944c6 Add documentation for gpiopwm(4). 2011-11-13 12:35:40 +00:00
riz
bc636e4a7b Add /usr/tests/examples/Atffile to fix the build. 2011-11-12 19:39:01 +00:00
jmmv
2cd463aa6d Register the new asm examples and their tests. 2011-11-12 01:20:05 +00:00
chs
b594044edd add gcc-4.5/tgmath.h 2011-11-10 17:18:22 +00:00
yamt
9c5d9163d1 document pthread_curcpu_np 2011-11-10 14:01:11 +00:00
njoly
acbb866e79 +libtre.so.0.8.debug 2011-11-08 10:52:20 +00:00
njoly
eede09bd58 +agrep.debug 2011-11-08 10:49:41 +00:00
jruoho
945d534b41 Few naive checks for cpuset(3) and ftok(3). 2011-11-08 05:47:00 +00:00
he
abbf8bf0e6 Two more instances which need "return 0;" to fix the build. 2011-11-07 14:18:51 +00:00
he
e808022f5e Return 0 from md_pre_mount(), which is otherwise empty here, so that
this builds again.
2011-11-07 12:40:26 +00:00
christos
f57affd507 Add the libtre tests
XXX: It would be *really* nice to share the data with libc/regex since
this is just another copy.
2011-11-06 18:53:00 +00:00
christos
9d51999485 new regex tests 2011-11-06 17:05:02 +00:00
tron
d775ee19fd Add entries for "npf_alg_icmp" kernel module. 2011-11-06 13:27:25 +00:00
tron
e97d755f1c Add "npf" kernel module. 2011-11-06 11:51:42 +00:00
agc
04185816c8 add the lint library for libtre 2011-11-06 02:11:16 +00:00
christos
060aca6769 add tre to the sets. 2011-11-05 22:55:20 +00:00
jruoho
56b331c000 Move connect(2), listen(2) and socketpair(2) tests to the right place. 2011-11-05 18:19:01 +00:00
jruoho
06b5587b18 Few naive checks for time(3). 2011-11-05 18:07:15 +00:00
hannken
09bafcf1a9 Document virtio(4). 2011-11-05 09:22:43 +00:00
jruoho
62a65142c3 Add 21 unit tests for the XSI message queues. 2011-11-05 07:45:40 +00:00
martin
7a8c1b579b Add a new hook, md_pre_mount(), that is called after preparation of
the target filesystem, but before mounting it. Use this on sparc64
to install the primary boot block, but install the secondary boot
(/ofwboot) later.
This allows sysinst to run at securelevel 1 (as long as we don't do an
upgrade install on the hard disk we booted from).
2011-11-04 11:27:00 +00:00
christos
dd5e893baf add t_socketpair 2011-11-04 02:25:31 +00:00
he
786e1278a2 Make sure the value of MKCOMPATMODULES gets imported into sets.subr,
so that the "compatmodules" keyword is properly handled when creating
the set lists.  Fixes the build for evbppc.
2011-11-02 14:42:43 +00:00
pgoyette
aa36ba526f Add t_ether_aton test 2011-11-01 22:37:42 +00:00
yamt
358aee7f92 add skpc 2011-11-01 13:37:32 +00:00
yamt
f291fca369 add scanc 2011-11-01 13:35:38 +00:00
yamt
ac67f2ccea sort 2011-11-01 13:34:33 +00:00
martin
0d76365484 Enable INET6 in the installer 2011-11-01 09:28:14 +00:00
martin
e3288b80f0 If we are not building SMALLPROG, there is no need to strip out INET6
support.
2011-11-01 09:26:37 +00:00
tcort
fad5a928f9 Add new developer Thomas Cort (tcort) 2011-11-01 02:04:43 +00:00
christos
7b65040d43 add pipe2 tests 2011-10-31 15:37:17 +00:00
mrg
c23dc553e9 obsolete now useless (and wrongly set to "219" :-) HAVE_BINUTILS.
switch the sense of the gdb and gcc tests to list the platforms not
switched to gcc 4.5 or gdb 7, which is now:

GCC 4.1:
.if ${MACHINE_ARCH} == "alpha"	|| \
    ${MACHINE_CPU}  == "arm"	|| \
    ${MACHINE_CPU}  == "m68k"	|| \
    ${MACHINE_CPU}  == "vax"

GDB 6:
.if ${MACHINE_ARCH} == "alpha"	|| \
    ${MACHINE_ARCH} == "hppa"	|| \
    ${MACHINE_CPU}  == "mips"	|| \
    ${MACHINE_CPU}  == "sh3"	|| \
    ${MACHINE_ARCH} == "vax"

let's go, people!  (-:
2011-10-31 08:14:43 +00:00
jakllsch
a7f0be9651 As both of the "ns-wide.wide.ad.jp" and "light.imasy.or.jp" IPv6 resolvers
now refuse my queries, replace them with "google-public-dns-a.google.com"
and "google-public-dns-b.google.com".
2011-10-30 00:30:56 +00:00
mrg
617be419f6 mark all these modules with "compatmodules" as evbppc64 doesn't want them. 2011-10-29 11:52:15 +00:00
jruoho
0b7b86c410 Note briefly what MSRs are. Requested by wiz@. 2011-10-28 07:23:16 +00:00
rkujawa
d444bf1d27 Add info about FastATA 1200 2011-10-27 22:30:11 +00:00
rkujawa
25abb1786a Add driver for ELBOX FastATA 1200 Mk-III/Mk-IV (and the man page). 2011-10-27 22:12:23 +00:00
jruoho
32b5e91691 Also mention rdtsc() in passing. 2011-10-25 05:41:33 +00:00
jruoho
49124f6222 Briefly document the basic RDMSR/WRMSR functions. 2011-10-25 05:03:55 +00:00
yamt
fe16316a27 ucas.9 2011-10-24 07:33:26 +00:00
jmcneill
7bd854f074 hook xsetwallpaper into xorg build 2011-10-22 22:23:50 +00:00
jmcneill
fa6db268de try to match sys/kern/kern_module.c module path logic: for release branches,
use X.Y version (instead of eg. X.Y.0_PATCH or X.Y_STABLE) and for -current use X.Y.Z.
ok zafer@
2011-10-22 00:05:17 +00:00
christos
c85216986a Add proc_compare.3 2011-10-21 02:11:18 +00:00
wiz
9685fb523d Move vmt(4) to x86 subdir.
No obsolete entries added for set lists since original import was just an
hour ago.
2011-10-18 10:19:11 +00:00
wiz
21103913dd Add vmt(4) from OpenBSD. 2011-10-18 09:50:24 +00:00
jmcneill
71d8676fc4 add & enable vmt module 2011-10-18 00:33:47 +00:00
mbalmer
24e4901256 There is no doubt whether whether should have a 'h' after the 'w'. 2011-10-17 16:35:21 +00:00
chs
02dd92991a do not build profiling versions of libgcc or libgcc_eh.
they are not used, and they don't build on arm with gcc 4.5.
2011-10-17 14:20:54 +00:00
jruoho
9a2c9f3246 Basic checks for the root functions. 2011-10-16 08:25:40 +00:00
jruoho
a684ed294b Basic IEEE tests for the hyperbolic sine and cosine. 2011-10-16 07:40:47 +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
mbalmer
c1c0ad71d4 Link the sqlite Lua module to the build and add it to the set lists. 2011-10-15 10:46:24 +00:00
jruoho
d79436d44f Move the sigaction(2) test to the right place. 2011-10-15 07:00:48 +00:00
jruoho
d7cfdec1a4 Move the ucontext(2) test to the right place. 2011-10-15 06:54:52 +00:00
jruoho
e6064fc127 Move the writev(2) test to the right place. 2011-10-15 06:50:52 +00:00
jruoho
2a39986da0 Move the clock_gettime(2) timer test to the right place. 2011-10-15 06:42:16 +00:00
jruoho
175ae78538 Follow the design principles of tests(7) by merging 't_poll3w' to 't_poll'
as a test case instead of separate file.
2011-10-15 06:33:45 +00:00
jruoho
04c8b02c8d Move the mkdir(2) test to the right place. 2011-10-15 06:26:33 +00:00
jruoho
599acddbd9 Move the pipe(2) test to the right place. 2011-10-15 06:17:02 +00:00
jruoho
45e23a6a46 Move the posix_fadvise(2) test to the right place. 2011-10-15 06:10:26 +00:00
christos
21f0c7f9d4 move gpio.so to shl.mi where it belongs (requested by mrg@) 2011-10-15 01:32:11 +00:00
christos
e3b4b0657c fix sun2 build; mark lua shared object appropriately so that it is not required 2011-10-14 15:48:50 +00:00
njoly
02348c9c23 Add missing .debug entries for sqlite3. 2011-10-14 12:53:21 +00:00
joerg
ac86ba952c Hook up SQLite into the build 2011-10-13 22:08:16 +00:00
njoly
c6cf5c2525 Do not delete nul.in line, but tag it as obsolete. 2011-10-13 07:47:30 +00:00
mrg
0982d17428 psim builds on powerpc with gdb7. 2011-10-12 04:17:33 +00:00
dholland
56672c33d0 Don't use 'nul' in filenames as windows will belch.
(Caught by importing the tree into mercurial)
2011-10-11 23:04:20 +00:00
christos
6a7d0524dc add getcap 2011-10-11 19:34:38 +00:00
joerg
01476cad21 Update build system for mdocml 1.12.0. 2011-10-11 19:20:13 +00:00
joerg
9aa0541bdf Update LLVM/Clang snapshot to r141658. This primarily fixes a regression
preventing Qt4 from building.
2011-10-11 13:53:56 +00:00
dholland
4c6b92a6b0 Fix sets for new tzdata. 2011-10-11 05:19:38 +00:00
plunky
b053ea6a60 not sure that this is needed (Lua modules are built with -fPIC but
they are not conditional on MKPIC) but make this consistent with
the other instances
2011-10-10 10:40:35 +00:00
christos
7154510dcc add the regex exhaustion test 2011-10-09 18:25:28 +00:00
christos
c582df5417 both gdb6 and 7 have gdbtui and we don't have gdb5 anymore. 2011-10-09 17:41:06 +00:00
christos
66b6732ce0 forgot to commit this 2011-10-09 14:11:00 +00:00
dholland
0f01dd7acc When xprint was nuked, the .pc files from the libs were accidentally
removed from here instead of marked obsolete, so the files hang
around; this causes pkgsrc to think e.g. that a builtin libXprintUtil
is present, but it isn't really, so certain obscure and unimportant
packages fail to build. Bring the entries back marked obsolete. ok mrg
2011-10-09 04:29:14 +00:00
christos
dc4a8a20a5 add cleantags 2011-10-08 19:19:41 +00:00
christos
a1a72031de mark exa_g as debuglib 2011-10-08 18:00:40 +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
plunky
751a81a90f usr/lib/lua is base-sys-usr not base-sys-root 2011-10-07 16:36:23 +00:00
plunky
6d2e84eb2c install bsd.lua.mk into DESTDIR 2011-10-07 16:29:40 +00:00
mrg
4a9d1308c3 obsolete libgcc_pic and friends. all libgcc's are supposed to be pic
for platforms with shlibs already (and are.)

this obsoletes our hacks for the libgcc specs to use libgcc_pic, and
fixes a couple of other issues reported to me directly.
2011-10-07 09:15:21 +00:00
wiz
5dbc169dd3 Install i2cscan(8). 2011-10-06 12:38:57 +00:00
mrg
92461b24a3 enable building/installing audiocfg(1). ok jmcneill. 2011-10-06 07:38:54 +00:00
jruoho
6f8d5ab1c7 Add kcpuset(9). Ok rmind@. 2011-10-06 05:23:39 +00:00
christos
a245c708da add new test 2011-10-04 20:20:32 +00:00
roy
38675efe19 Fix man pages for tiparm and ti_tiparm. 2011-10-03 13:12:15 +00:00
njoly
d20e1ca1b9 +i2cscan.debug 2011-10-03 09:52:23 +00:00
pgoyette
547c078b7d Add termname(3) entries 2011-10-02 21:19:35 +00:00
christos
959df2bbf2 fix broken sets. 2011-10-02 21:10:03 +00:00
pgoyette
173f2e95e5 Now that we're installing i2c/io.h usr/include/dev/i2c/ is no longer
obsolete!
2011-10-02 19:29:41 +00:00
jmcneill
f11f373e5d add userland implementation of I2C_SCAN code 2011-10-02 16:48:47 +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
mbalmer
f2b8ed7ad8 Build iic(4) and gpioiic(4) as modules. 2011-10-02 12:13:08 +00:00
jym
afca4e3b49 Fix an implementation inconsistency with the prop_*_send_syscall() and
prop_*_recv_syscall() functions from proplib(3). They now share the
same logic as the one from prop_*_send_ioctl() functions:
- returns an int
- 0 indicates "no error", otherwise returns the error number (and
set errno)

Many consumers of the prop_*_{ioctl, syscall} expect errno to be set
on error and use err() to display the error message. As such, ensures that
errno gets set before returning from these functions.

prop_*_send_syscall() functions returned a boolean, and now return an int.
Fix all call sites to use the new paradigm (only quota2 is affected in src).

As the prop_*_{send,recv}_syscall() API appeared in -current and is only
used by the recent quota2 code, I am not bumping the lib. The API change
only affects the prop_*_send_syscall() function (recv_syscall()s were
already used correctly), so ensure you are not mixing "old" -current
quota binaries with a new proplib(3) (or the other way around). This
change will be announced via a HEADS-UP and UPDATING.

Does not affect the kernel part of proplib.

Document the correct API in prop_array(3) and prop_dictionary(3).

Thanks to Francois Tigeot for noticing the API inconsistency and
reporting it on tech-kern@.

ok bouyer@.
2011-09-30 22:08:18 +00:00
sjg
1919f85697 Install the man page for filemon(4). 2011-09-29 23:35:48 +00:00
christos
46431da88a add vpanic(9) 2011-09-29 20:59:27 +00:00
sjg
3a3c1d94e3 Add filemon to the modules we build. 2011-09-29 17:40:19 +00:00
christos
0ee040705b Add a sockaddr_un test. 2011-09-28 16:14:04 +00:00
jruoho
a179648071 Add a simple cpufreq(9).
This is slightly improved version presented on tech-kern@ with proper
locking and few additional functions, mainly required for ioctl(9)/cpuctl(8).
2011-09-28 10:55:46 +00:00
jym
586001f7c7 Document new *ASSERTMSG() prototype, and update KASSERT(9).
See also
http://mail-index.netbsd.org/tech-kern/2011/09/07/msg011427.html
2011-09-27 00:36:49 +00:00
mrg
62b8778341 fix the spelling of libgomp_g.a. 2011-09-26 00:07:26 +00:00
mrg
44263bdc53 fix the libgomp compat entries. 2011-09-25 12:56:46 +00:00
mrg
c760ed2066 add new files for binutils 2.21. 2011-09-25 07:00:45 +00:00
christos
294b161d40 - bump libbfd and libopcodes for new binutils.
- new elfedit program
2011-09-25 04:11:47 +00:00
christos
2aef2eeedd Add rfc6056 tests 2011-09-24 18:36:03 +00:00
christos
3680431868 Add rfc6056.h 2011-09-24 17:55:30 +00:00
christos
c86cf6c731 add new rfc6056 man page 2011-09-24 17:09:29 +00:00
christos
95e5824591 Add the pty test. 2011-09-24 15:55:22 +00:00
jruoho
008d0db94d Also note /etc/saslc.d. 2011-09-23 15:24:35 +00:00
jruoho
ce1c27eb07 Build and install MLINKS for the libsaslc(3) functions. 2011-09-23 15:17:31 +00:00
jruoho
bb5956aa49 Move i386/fdc(4), i386/lpt(4), and i386/mem(4) to man4.x86.
Part of PR port-amd64/36350.
2011-09-23 14:45:06 +00:00
mrg
8b0b8ab146 build and install libgomp, as needed by "cc -fopenmp", and its
suplimentary files like libgomp.spec and omp.h.
2011-09-23 06:47:54 +00:00
christos
4719f3b41e buildfloppies.sh: Image is 29012 bytes (28 KB) too big to fit on 2 disks
So make it 3 floppes until someone finds a way to conserve space. The
build has been broken for months.
2011-09-21 16:13:51 +00:00
pgoyette
324d22a412 Mark the tests/lib/libc/ieefp directory obsolete, as well as its former
contents.
2011-09-19 18:16:06 +00:00
njoly
0a0381cf04 Small typo (t_fpsclassify -> t_fpclassify). 2011-09-19 11:57:11 +00:00
jruoho
eef73475b4 Add missing entries. 2011-09-19 11:04:33 +00:00
jruoho
9ebeca8a64 Move duplicate ldexp(3) test out from the tests/libc. 2011-09-19 05:40:38 +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
christos
0c54db1c1e bump libc 2011-09-19 00:19:50 +00:00
jruoho
81fd6738d6 IEEE checks for the exponential family. 2011-09-18 05:19:18 +00:00
jruoho
e0a0895c11 IEEE checks for the arcus functions. 2011-09-17 18:08:35 +00:00
rkujawa
def7d667b2 Add mppb man page to distrib lists, mention the new driver in install notes. 2011-09-17 17:06:47 +00:00
jruoho
99d89af157 Few tests for the error functions. 2011-09-17 12:00:50 +00:00
jruoho
719ceba55f IEEE corner case tests for the pow(3) family (incl. PR lib/45372). 2011-09-17 08:15:43 +00:00
joerg
6818646ac8 Use __dead 2011-09-16 15:39:25 +00:00
christos
7efa108354 add h{create,destroy,search}_r 2011-09-14 23:37:32 +00:00
christos
c719768729 fix fprintfs with no format strings. 2011-09-14 12:35:19 +00:00
jruoho
8f667ecf71 Some tests for sine, cosine, and tangent. 2011-09-14 05:18:18 +00:00
christos
1d24951773 add getkernelname 2011-09-12 21:13:31 +00:00
jruoho
bfd4049668 Merge 't_floor' to 't_ceil', and simplify. 2011-09-12 16:48:48 +00:00
jruoho
e409403697 Start systematic testing of libm(3) by first evaluating the corner cases
(NaN, +0.0, -0.0, +Inf, -Inf) for the ldexp(3) and scalbn(3) families.
2011-09-12 15:27:40 +00:00
njoly
a033fc3df4 + arpaname.debug, named-journalprint.debug, nsec3hash.debug 2011-09-12 09:57:42 +00:00
njoly
7e9ef33b17 Fix bad substitution, comp-debugd-bin -> comp-bind-bin. 2011-09-12 09:13:28 +00:00
christos
406d48f289 bump libisc too. 2011-09-12 00:45:25 +00:00
christos
735f026cf4 sets for bind. 2011-09-11 19:10:55 +00:00
apb
27a59698d1 Add bsd.clean.mk to set lists 2011-09-11 16:19:41 +00:00
jruoho
f972aad29e See that system(3) works. 2011-09-11 10:32:23 +00:00
jruoho
6629be1b13 Naive tests for the naive putc(3) family. 2011-09-11 09:02:45 +00:00
jruoho
4c55f62c75 Few unit tests for the fopen(3) family. 2011-09-11 07:31:20 +00:00
jruoho
1c183744f5 Couple of unit tests for fflush(3). 2011-09-11 05:15:55 +00:00
marino
bc3992397d Add John Marino to the list of developers. 2011-09-10 19:07:57 +00:00
riz
894f750d42 Fix up amd64 set lists for MKDEBUGLIB=yes build. There are still
issues for other arches.
2011-09-07 20:26:13 +00:00
christos
80241483b8 bump libssh 2011-09-07 17:54:10 +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
riz
b146b6f7a7 Build and install the skeleton manpage for devpubd - it's better than
nothing.
2011-09-06 21:30:12 +00:00
wiz
b93a4df878 Improve previous: As the comment at the top says, don't remove entries,
but mark them obsolete instead (hi christos!)

Sort while here.
2011-09-05 18:29:36 +00:00
christos
45bb3a7d65 remove 3 empty directories 2011-09-04 21:28:02 +00:00
christos
1a6f6eba38 adjust sets for new zoneinfo code 2011-09-04 16:09:18 +00:00
plunky
4a5403fbdd update set list for pcc-20110901 (libpcc is not required) 2011-09-01 13:08:17 +00:00
mbalmer
2e4cf7046d Link the gpioow(4) and onewire(4) modules to the build and add them to the
lists.
2011-08-31 13:25:49 +00:00
bouyer
a47e2eb758 Add getlabelusesmbr(), as proposed in
http://mail-index.netbsd.org/tech-userlevel/2011/08/25/msg005404.html
This is used by disk tools such as disklabel(8) to dynamically decide is
the undelyling platform uses a disklabel-in-mbr-partition or not
(instead of using a compile-time list of ports).
getlabelusesmbr() reads the sysctl kern.labelusesmbr, takes its value from the
machdep #define LABELUSESMBR.
For evbmips, make LABELUSESMBR 1 if the platform uses pmon
as bootloader, and 0 (the previous value) otherwise.
2011-08-30 12:39:49 +00:00
jruoho
82f9e3ab66 Install the emdtv(4) manual page, based on earlier feedback from jmcneill@
(includes some XXX comments; should be updated alongside with the driver).
Also use the new dtviic(4) links to build a list of supported cards.
2011-08-30 07:07:04 +00:00
jruoho
bd1a818de3 Deprecate the tuner(4) page (link to bktr(4)), as the name is too general
and nowadays misleading.
2011-08-30 05:59:44 +00:00
jruoho
14947402ca Hopefully all the difficult links went ok, but the main page was missing. 2011-08-30 05:51:15 +00:00