Commit Graph

4599 Commits

Author SHA1 Message Date
pooka
0d3ccf3fed tests/fs/zfs 2011-03-10 20:03:40 +00:00
pooka
9eacb1b321 rumpnet tests 2011-03-10 14:11:18 +00:00
jmmv
a3fddfa529 Enable the build of tmux and add the necessary directory and file entries. 2011-03-10 13:16:57 +00:00
pooka
d1535ddeaf shmif_dumpbus tests 2011-03-10 11:16:03 +00:00
joerg
aad599979d Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports
_rtld_tls_allocate and _rtld_tls_free. libpthread uses this functions to
setup the thread private area of all new threads. ld.elf_so is
responsible for setting up the private area for the initial thread.
Similar functions are called from _libc_init for static binaries, using
dl_iterate_phdr to access the ELF Program Header.

Add test cases to exercise the different TLS storage models. Test cases
are compiled and installed on all platforms, but are skipped on
platforms not marked for TLS support.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.

It is inspired by the TLS support in FreeBSD by Doug Rabson and the
clean ups of the DragonFly port of the original FreeBSD modifications.
2011-03-09 23:10:05 +00:00
jmcneill
0cce2c7d9b put a : in an otherwise empty function, makes this script work with bash 2011-03-07 23:21:13 +00:00
mrg
722355d60d install xorg-server.m4 at the request of jmcneill. 2011-03-06 22:15:29 +00:00
bouyer
063f96f3c2 merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
2011-03-06 17:08:10 +00:00
christos
6f0af47a9f too much quoting. pointed by anon ymous 2011-03-02 17:00:28 +00:00
phx
1b9ef66f08 Revert the major number for satmgr(4) back to 100 and allocate it from
majors.powerpc, as suggested by matt@.
2011-03-01 09:17:06 +00:00
ahoka
2b6ee22130 Import the Flash and NAND subsytem code contributed by the University
of Szeged, Hungary.

The commit includes:
 - Flash layer, which gives a common API to access flash devices
 - NAND controller subsystem for the flash layer
 - An example OMAP driver which is used on BeagleBoard or alike ARM boards
2011-02-26 18:07:13 +00:00
phx
a1b66a73cd Changed satmgr(4) device major number from 100 to 144, which is reserved
for local/vendor use according to src/sys/conf/majors. This prevents
problems when the shared PowerPC device majors list gets another entry.
2011-02-26 09:52:16 +00:00
pooka
f89c56e204 new testdirs 2011-02-24 10:29:04 +00:00
christos
555418b829 fix wrong path. Pointed by Anon Ymous 2011-02-20 19:23:19 +00:00
christos
ab765c5256 missing directory 2011-02-20 16:23:59 +00:00
matt
3c68128777 Build different kernel when mips64e[bl] 2011-02-20 08:27:32 +00:00
christos
63a9799e3a Add the libsaslc example dir. 2011-02-20 02:16:05 +00:00
pooka
051ff4a0eb hfs 2011-02-18 13:08:41 +00:00
jmcneill
a58d526ab8 Add rc.d script to make sure the system fontconfig cache is up to date. 2011-02-18 00:42:20 +00:00
uebayasi
51495ed0e7 Install "obsolete" files only when necessary. 2011-02-16 16:22:13 +00:00
uebayasi
0fe7ea2a0f Generate MAKEDEV only when really necessary. Write dependency correctly. 2011-02-16 16:20:06 +00:00
uebayasi
d47c36d993 To install 0-sized files, check if the destination already has one.
This avoids unnecessary updates (== timestamp changes in METALOG).
2011-02-16 15:52:51 +00:00
matt
9767c9385f Add missing / 2011-02-10 19:17:35 +00:00
matt
ad579a7d9b Add debugdirs for o32 and 64 2011-02-10 19:12:44 +00:00
obache
a0925f0154 remove obsolete "sieve 2000/tcp" entry. PR#42426. 2011-02-10 13:39:32 +00:00
jym
d67b6a35e5 Reinstate INSTALL kernel for embedded ramdisk installs.
Reasons being:
- INSTALL is GENERIC with an embedded ramdisk, and as such, can benefit from
features included within.
- INSTALL_FLOPPY has its own config(5) file, and is tailored for "small"
floppy images; it misses features/drivers that could be needed to boot
in a decent environment for recent x86 machines (like ACPI)
- makes it closer to floppies distrib available for amd64

While here, comment out INSTALL_FLOPPY and bootfloppy-big image build. NetBSD
does not use the 3.6MiB image for El Torito cdroms anymore.

Remove the FLOPPYMAX limit; i386 needs 4 floppies now. Modify boot.cfg and
release/contents to reflect reality.

See http://mail-index.netbsd.org/port-i386/2011/02/08/msg002307.html

No comments, no objections.
2011-02-10 00:43:19 +00:00
pooka
cf0dbcff8b more testies 2011-02-09 14:34:42 +00:00
pooka
deba567af1 oh no, more tests 2011-02-08 10:13:13 +00:00
pooka
c221725e98 librumphijack build infra 2011-02-06 18:47:55 +00:00
tsutsui
b04b7da893 Switch NetBSD/hp300 to wscons with rasops. Simply ported from OpenBSD/hp300.
- Only A1416 Kathmandu (topcat) framebuffer on 425t is tested, but
  all other variants (TigerShark, Hyperion, DaVinci, GatorBox, Renaissance)
  should also work if they are working on OpenBSD/hp300.
- sti(4) and SGC bus support are not pulled because I don't have 425e
  and I can't confirm that 362 and 382 actually have SGC bus.
  (I'll commit a DIO based dumb driver for 362 and 382 framebuffers later)
- Xorg server with wsfb driver will also be integrated soon
  once after keycode with NoSymbol problem is addressed.
  (We have to re-think what code should be used on WSDISPLAY_COMPAT_RAWKBD)
- MI HIL keyboard and mouse drivers are working fine though
  cngetc via hilkbd has some problem (still we can input commands).
- No old HP-UX like HIL ioctl compatibility (we removed COMPAT_HPUX anyway).
  grfinfo(8) and hilinfo(8) will be removed shortly.

Demonstrated on NetBSD booth at Open Source Conference 2011 Kagawa.
2011-02-06 18:26:51 +00:00
pooka
6e2c74cec3 + tests/usr.bin
+ tests/usr.bin/rump_server
2011-02-03 15:39:50 +00:00
rmind
07ac07d35f NPF checkpoint:
- Add libnpf(3) - a library to control NPF (configuration, ruleset, etc).
- Add NPF support for ftp-proxy(8).
- Add rc.d script for NPF.
- Convert npfctl(8) to use libnpf(3) and thus make it less depressive.
  Note: next clean-up step should be a parser, once dholland@ will finish it.
- Add more documentation.
- Various fixes.
2011-02-02 02:20:24 +00:00
jym
2ba7d66f55 Typo fix. 2011-02-01 21:28:43 +00:00
pooka
84a1daa21a add sandpoint dirs for man chapter 4, they seem to be required now 2011-01-26 15:00:56 +00:00
pooka
5f7e80a834 Add support for the Extensible MIPS ("eMIPS") platform. The
NetBSD/emips port runs on Xilinx and Beecube FPGA systems and the
Giano system simulator.

eMIPS is a platform developed at Microsoft Research for researching
reconfigurable computing.  eMIPS allows dynamic loading and scheduling
of application-specific circuits for the purpose of accelerating
computations based on the current workload.

NetBSD eMIPS support for NetBSD 4.x was written at Microsoft Research
by Alessandro Forin and Neil Pittman.  Microsoft Corporation has
donated full copyright to The NetBSD Foundation.

Platform support for eMIPS is the first part of Microsoft's
contribution.  The second part includes the hardware accelerator
framework and will be proposed on tech-kern soon.
2011-01-26 01:18:43 +00:00
jym
d2834deaa5 Build miniroot.kmod installation module for amd64. Hook GENERIC
with it.

See http://mail-index.netbsd.org/port-i386/2011/01/14/msg002247.html
2011-01-18 00:22:56 +00:00
pooka
0625d22c3c h_server is back, now testier than ever 2011-01-14 13:24:45 +00:00
haad
7532abd112 Use chown now when it's available without /usr mounted. 2011-01-13 22:30:09 +00:00
pgoyette
809681d76f Sets-list and mtree dance for t_inet_network 2011-01-13 13:54:23 +00:00
kefren
e0adf296c4 add ldpd rc script 2011-01-13 10:55:19 +00:00
pgoyette
1de58405f0 sets-list and mtree dance for moving t_mktime & t_strptime 2011-01-13 00:16:34 +00:00
pgoyette
893f5724c6 Hook up the getaddrinfo test in its new location 2011-01-12 02:59:16 +00:00
pgoyette
f923271858 sets-list dance for getaddrinfo test 2011-01-11 16:31:32 +00:00
pooka
f6b3a097e6 +tests/net/net 2011-01-11 10:55:27 +00:00
njoly
0938ffa1c1 Add lib/libc/sys test dirs. 2011-01-10 17:17:36 +00:00
pgoyette
99902ed6a7 sets-list dance for atf version of regex test 2011-01-08 18:11:21 +00:00
haad
2dc8282a58 Use /rescue/chown not chown from /usr/sbin which might not be available in
time of running this script.

XXX. Why is chown in /usr/sbin ? it should be moved to /sbin
2011-01-08 16:16:51 +00:00
pgoyette
871c88bcef mtree and set-list games for xdr test 2011-01-08 07:00:17 +00:00
pgoyette
27aeaab683 Hook the new atf db test 2011-01-07 15:06:37 +00:00
pgoyette
016a7f9b90 Hook t_cerror and t_ttyio into the build 2011-01-07 02:49:09 +00:00
haad
912a040b47 Allow operator to use lvm in read-only mode. Switch LVM lock dir to
/var/run/lvm and create it in rc.d/mountcritlocal. Fix dm control device
permissions to allow rw for operator.

Test if we are running lvm commands as operator and if that it's true do not
create vg backups and do not print confusing warning.
2011-01-05 14:57:27 +00:00
dholland
857817b9c3 Make the alternate name for "manet" caps so it's not a duplicate.
Gives the impression of closing PR 44311.
2011-01-04 06:54:59 +00:00
pgoyette
728b11b751 Add the new directory for hash test data 2011-01-02 22:04:45 +00:00
dbj
11be24bd28 add usr/tests/lib/libc/ieeefp and ./usr/libdata/debug/usr/tests/lib/libc/ieeefp 2011-01-02 11:34:13 +00:00
dbj
82507e5f0c add missing ./usr/tests/lib/libc/ieeefp 2011-01-02 09:30:08 +00:00
tsutsui
7afadd961b - build a GENERIC kernel on release for validation on releng daily build
- comment out targets which should be put once after src/distrib/amigappc
  is prepared
2011-01-02 08:49:33 +00:00
tsutsui
6320019e93 Make sure to build GENERIC kernel on release build.
This means there is no kernel binary in past releases. Oh well...
2011-01-02 08:17:24 +00:00
haad
082dce313a Remove optional keyword from directory definition. 2011-01-01 22:11:45 +00:00
haad
1d0e6bab66 Add /var/lock/lvm subdir for LVM it can be created automagically but I think
that it's better to have it created before.
2011-01-01 13:09:13 +00:00
haad
9ec41ae5fa Add /var/lock directory to base set it's used by LVM and other tools.
Change group owner to operator to enable LVM locking for him.
2011-01-01 12:49:48 +00:00
jruoho
7373892abb Use hw.acpi.sleep.state instead of machdep.sleep_state. 2010-12-31 09:36:15 +00:00
jruoho
e26a5e9d52 Remove the apm(8) example. Instead point to the sleep_button -script. 2010-12-31 09:33:10 +00:00
jruoho
d6f07c40ce Remove the sony(4) and piixpcib(4) based actions; all powerd(8) scripts
should either be machine-independent or provide hints for the user. Also
clean the script a little.
2010-12-31 09:29:43 +00:00
pgoyette
cfe38ef780 Move the various setjmp tests from regress to atf 2010-12-27 19:35:30 +00:00
christos
4f848eee4b `` -> $() 2010-12-27 03:38:52 +00:00
pgoyette
575e75ffe4 Migrate the ssp tests from regress to atf.
Of the 17 tests, 4 fail in both the regress and atf style.  3 additional
tests fails in atf that did NOT fail in regress: gets, fgets, and read.
I will investigate why, and update when I can, but it is still useful to
get these tests into the new format where they can be exercised.
2010-12-27 02:04:18 +00:00
pgoyette
f03970fd11 Migrate J.T.Conklin's public-domain str* tests from regress to atf.
While here, do some clean-up and knf.
2010-12-25 21:10:24 +00:00
phx
faa62f01c6 Add ttyE1-ttyE3 for wscons.
Use serial devices tty00, tty01, tty10 and tty11, which are configured
by MAKEDEV.
2010-12-21 19:18:46 +00:00
pgoyette
e02d91d677 Move the only regress/lib/libm test to the new atf format 2010-12-20 23:47:23 +00:00
jruoho
27cfff3b3e Make tcpdump(8) to drop root privileges and chroot(2) by default. 2010-12-17 09:54:27 +00:00
pooka
cff244c45d goop for initial raidframe test 2010-12-15 20:42:23 +00:00
pooka
43f4e42ae4 usr.sbin/traceroute 2010-12-15 00:19:05 +00:00
pooka
15e64e6489 don't create h_img2cgd dirs anymore since they'll just be harvested by obsolete 2010-12-15 00:18:37 +00:00
pooka
ae428f9a60 directory not used anymore 2010-12-13 13:41:41 +00:00
mrg
1cc7ce56fd if MKCOMPAT != "no", don't include the MD files for now -- they're only
used for compat right now.  we should fix this better later.
2010-12-10 07:17:00 +00:00
njoly
f23e744cdd Make tests set generation optional, skipped for MKATF=no build. 2010-12-08 23:56:01 +00:00
christos
26717b4ba7 new /usr/include/pcap directory. 2010-12-05 05:55:29 +00:00
jmmv
2a4ba28f3b Set the default localcypher to sha1 as discussed in current-users@. 2010-12-03 21:40:04 +00:00
abs
d5409df303 Add wd2 and wd3 to the default device set - noted by Donald Lee on port-macppc 2010-12-01 22:06:19 +00:00
pooka
024c6ce070 adjust previous a bit to attempt to deal with MKMONKEY 2010-12-01 07:03:21 +00:00
riz
b16d0da05a Add sets/mtree goop for new test program and accompanying dirs. 2010-11-30 23:18:25 +00:00
pooka
30ef7f96b5 build system gobbeldygook for tests 2010-11-30 22:14:02 +00:00
pooka
48e1b6d6d5 Add simple test for md(4) which just stuffs junk into /dev/rmd0d
and checks the same data can be retrieved.
2010-11-23 15:38:53 +00:00
christos
e614555f42 add want_agent to the commented line of pam_ssh 2010-11-13 19:19:40 +00:00
pooka
afd7c107ce build system worship for new tests. 2010-11-11 22:48:47 +00:00
pooka
b6e917cebd usual goop for new tp & dir 2010-11-07 19:55:58 +00:00
jmmv
52d94cef95 Add the _atf user and group to be able to run unprivileged tests automatically
without having to manually tweak the 'unprivileged-user' setting.  Suggested
by pooka@.
2010-11-07 17:47:47 +00:00
pooka
bfc769e859 debug entries are sacred too 2010-11-04 13:24:26 +00:00
pgoyette
2ce20f6d94 Remove lib/libc/stdio - no longer anything in there. 2010-11-04 13:01:42 +00:00
pooka
90989e51c9 + tests/lib/libc/stdio 2010-11-04 11:50:27 +00:00
christos
1197565d44 add otus 2010-11-03 21:46:36 +00:00
joerg
6960a12118 Install XZ's header files. 2010-11-02 19:12:46 +00:00
christos
29f0bfc6b2 From Anon Ymous:
Send the SIGALRM to the correct process when we timeout. See the note
in src/etc/rc regarding RC_PID.

The former code would leave you with a root shell when the prompt
timed out (if the tty is marked secure) while continuing the boot
process in another shell.  This was easily hidden if you started
xdm(1) at boot, while the root shell remains on another tty
(accessible with CTL-ALT-F1).
2010-11-01 14:42:08 +00:00
christos
a8684509ca add a cgd_stop function 2010-11-01 14:41:11 +00:00
mbalmer
aa94cc597c Link Lua to the build and add the resulting files to the distribution sets.
Document the addition of Lua and the change we made to the default settings.
2010-10-31 11:52:50 +00:00
macallan
3f7245fde9 adapt to how backlight control is supposed to work - just flip the switch and
we don't need to save the brightness level
2010-10-28 02:06:02 +00:00
jmmv
fc81f1bd0c Adjust file lists and directories to match atf 0.11. 2010-10-20 09:22:32 +00:00
kiyohara
c0bd6c34f8 Create installation/floppy directory. 2010-10-17 10:56:48 +00:00
kiyohara
6cd4de0c46 Add bktr.
Remove mms, lms.
2010-10-17 10:55:01 +00:00
christos
8dbfedf8e0 update from the IANA database 2010-10-04 22:31:11 +00:00
tsutsui
424c2d5c6b Build a raw binary format GENERIC kernel and put it into distribution dir.
This would make it possible to create a bootable CD using root on gdrom
without toolchain (i.e. without whole src tree).
2010-10-04 16:03:30 +00:00
tsutsui
807849c28e Change distribution filename for KERNEL_SETS kernels with KERNEL_SUFFIXES
in ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel/
from "netbsd.aout-GENERIC.gz" to "netbsd-GENERIC.aout.gz" or so
as src/distrib/common/Makefile.mdset does for mdroot ramdisk kernels.
2010-10-04 13:55:39 +00:00
tsutsui
82527754bc Copy ramdisk INSTALL.aout kernel into installation/instkernel in ${RELEASEDIR}
where it had been put and documented. Actually closes PR port-shark/41672.
2010-10-04 13:45:28 +00:00
apb
cc2db4f5f3 Collapse <abckslash><newline> sequences in /etc/ifconfig.xxx files read
by /etc/rc.d/network.  Fixes PR 41662 by Christoph Badura, which was
also reported independently by Jeremy C. Reed.
2010-09-26 18:52:04 +00:00
apb
f265a7c0e8 Add a collapse_backslash_newline function to rc.subr. 2010-09-26 18:37:14 +00:00
bad
712189440d Treat empty or missing fs_passno field like it has a value of 0 as fstab(5)
specifies.
Related to PR misc/43905 but does not fix the underlying issues.
2010-09-25 15:10:14 +00:00
wiz
9bdef74c0a Remove obsoleted directory /usr/share/doc/html/ntp/build/scripts 2010-09-25 10:34:13 +00:00
abs
54e08a2860 use '/etc/rc.d/apmd onestatus' rather than '/etc/rc.d/apmd status',
so we DTRT if apmd is set to NO in rc.conf
2010-09-19 21:47:28 +00:00
jakllsch
ae196f9835 Make pci(4) device nodes root:wheel 0640 by default.
Mortals do not need to be able to generate PCI Configuration Space
read transactions, which are not entirely without side effect, as
reported in PR#16300.
2010-09-19 20:52:23 +00:00
macallan
0b888e557e save backlight level and turn it off on lid close, restore on lid open 2010-09-14 04:37:04 +00:00
spz
e597134d90 releng has been on mollari for a while now. Also, add wiki 2010-09-12 05:00:21 +00:00
christos
f66c6b8ced add the keys directory to base. 2010-09-10 16:37:12 +00:00
christos
0cce27708f add glob tests. 2010-09-09 22:21:41 +00:00
tsutsui
f2af7cc187 Build install ramdisk kernel for JORNADA720. 2010-09-04 01:16:49 +00:00
tsutsui
48fa46df05 Fix yet another botch on mips64 merge. 2010-08-27 11:02:55 +00:00
jmmv
0e3d0af4e3 Add tests dir for libdes. 2010-08-25 16:44:25 +00:00
reed
fa29eada2b mail(8) is no longer in /bin.
(Trivia: this sentence is from the 4.0BSD from 1980.)
2010-08-25 15:38:44 +00:00
christos
a5fe3c0d6f Enable dnssec, and populate managed-keys.bind 2010-08-24 13:18:58 +00:00
christos
24854e5e7c Add directory for bind's managed keys. 2010-08-24 13:18:04 +00:00
pooka
c9a399cbba scsipi test 2010-08-24 11:31:48 +00:00
rmind
2e6f2099c6 Import NPF - a packet filter. Some features:
- Designed to be fully MP-safe and highly efficient.

- Tables/IP sets (hash or red-black tree) for high performance lookups.

- Stateful filtering and Network Address Port Translation (NAPT).
  Framework for application level gateways (ALGs).

- Packet inspection engine called n-code processor - inspired by BPF -
  supporting generic RISC-like and specific CISC-like instructions for
  common patterns (e.g. IPv4 address matching).  See npf_ncode(9) manual.

- Convenient userland utility npfctl(8) with npf.conf(8).

NOTE: This is not yet a fully capable alternative to PF or IPFilter.
Further work (support for binat/rdr, return-rst/return-icmp, common ALGs,
state saving/restoring, logging, etc) is in progress.

Thanks a lot to Matt Thomas for various useful comments and code review.
Aye by: board@
2010-08-22 18:56:18 +00:00
christos
9433b61fdf add x86 section 9 man directories 2010-08-21 06:41:09 +00:00
pooka
80e96e7716 tests/net/carp 2010-08-10 21:56:24 +00:00
pooka
102729d0d8 +tests/dev/sysmon 2010-08-06 16:13:55 +00:00
pooka
7bd8b6f405 dev + dev/audio test dirs 2010-08-04 13:18:50 +00:00
jmmv
e4c7b890ef Add directory for sort(1) tests. 2010-08-01 16:43:38 +00:00
kiyohara
a3950e3133 Add pci* and wscons for xserver. 2010-08-01 06:15:03 +00:00
tsutsui
6be2ca7ac4 Remove unneccesary ttyv0 (pccons), isdns, and openfirm. 2010-08-01 04:08:27 +00:00
tsutsui
8fb0c75b52 Create audio device node for uaudio(4). 2010-08-01 03:59:03 +00:00
pooka
0ad2fa281a nfs testdirs 2010-07-26 16:18:35 +00:00
pooka
5828037405 here we go loop if loop 2010-07-25 21:45:21 +00:00
jmmv
b4f7babb0e Add dirs for libobjc tests. 2010-07-18 12:43:17 +00:00
jmmv
5496453d33 Add directories for lint1 tests. 2010-07-18 10:11:31 +00:00
mrg
3172b07cfc build and install libxcb and xcb-util libraries. 2010-07-18 07:07:08 +00:00
jmmv
9609b16767 Add directories for the lib/csu/ and include/ tests. 2010-07-17 19:26:50 +00:00
jmmv
df453a7e8b Add dirs for libpthread tests. 2010-07-16 15:43:23 +00:00
jmmv
5ff82976a0 Add new tests dirs. 2010-07-16 13:56:52 +00:00
christos
7c27588142 make sparc64 search for sparc man pages for now. It might be better in
the long run to choose a different name for shared drivers though. Fixes
PR/18273.
2010-07-09 15:08:09 +00:00
christos
855db0253a add {man,cat,html4}/x86 2010-07-08 20:13:19 +00:00
njoly
d7d48e5d3f +./libdata/firmware/upgt 2010-07-06 23:33:28 +00:00
pooka
143a035ae5 +fs/puffs/h_dtfs 2010-07-06 14:47:48 +00:00
pooka
0fd3db8269 +testdir 2010-07-06 14:10:26 +00:00
mrg
10e130c4e6 add ./usr/libdata/firmware/radeon 2010-07-05 20:57:19 +00:00
njoly
1511eb19e2 Add test program that use sample code from kern/41937, and fs rump
helpers to check currently supported filesystems.

t_rmdirrace (1/1): 5 test cases
    ext2fs_race: Passed.
    ffs_race: Passed.
    msdosfs_race: Passed.
    sysvbfs_race: Passed.
    tmpfs_race: Passed.
2010-07-05 12:53:58 +00:00
pooka
c60e7744b1 the usual testdir boogie-woogie 2010-07-04 19:33:18 +00:00
njoly
8f58c357eb -./usr/libdata/debug/usr/tests/atf/test_programs
+./usr/libdata/debug/usr/tests/atf/test-programs
2010-07-03 15:29:22 +00:00
jmmv
fce55510a6 Adjust directories for atf 0.10. 2010-07-03 08:14:47 +00:00
pooka
9a0b38b6a5 more mtree fun for everyone with testdirs 2010-06-28 19:05:54 +00:00
pooka
2ae8bd1618 tests/lfs 2010-06-28 09:45:47 +00:00
spz
280a89ac22 i.root-servers.net. gained AAAA 2010-06-18 05:53:39 +00:00
pooka
48eab2d7f9 tests 2010-06-16 19:30:11 +00:00
pooka
00ce6b3c83 tests/fs/ptyfs 2010-06-14 14:53:08 +00:00
phx
15666f2d4c Adapted for NAS systems. Use vt100 with 115200bps instead of Pc3 console. 2010-06-13 15:30:37 +00:00
pooka
c46b8723d4 update 2010-06-10 22:04:52 +00:00
phx
39b0fd3abd The sandpoint port is now focussed on 824x based NAS boxes.
Replaced GENERIC by GENERIC.NAS.
Added INSTALL_KURO for KuroBox.
GENERIC.NAS and RAMDISK are no longer needed.
2010-06-09 17:34:32 +00:00
pooka
7560245bb8 arbor days are here again 2010-06-09 12:38:15 +00:00
christos
2ae8ee3aef use modulo instead of logical and. from pooka 2010-06-08 18:04:17 +00:00
christos
a3299c9005 explain why this code is there. 2010-06-08 13:48:58 +00:00
jruoho
f4cbf9faff Add "optional" keyword to rc.d/xdm and rc.d/xfs. Fixes PR misc/43307. 2010-06-07 04:48:47 +00:00
christos
d6169708b4 fix conditional, from dholland. 2010-06-06 12:37:57 +00:00
christos
520fd1e568 print human readable exit code. 2010-06-04 18:42:54 +00:00
christos
6583128e8d Add machine class manual paths. No manual pages have moved yet. 2010-06-04 18:42:32 +00:00
jmmv
b74ee5cefd Remove directories not required by atf-0.9 any more. 2010-06-04 08:35:35 +00:00
wiz
7163aafc26 Fix typo in sdpd, reported by Jukka Salmi in PR 43401.
This also affected bthcid, so I also fixed it there.
2010-06-01 21:08:13 +00:00
phx
d0e01c74e7 Make /dev/satmgr (Sandpoint-MPC824x specific) and /dev/power devices. 2010-05-30 10:17:33 +00:00
ghen
3d292e1813 Update to xkeyboard-config 1.9. 2010-05-28 17:17:12 +00:00
phx
56fbd52613 Make sure tty00 and tty01 are linked to com(4).
The default for the unified PPC devices was to set a hard link to ttyZ*,
which uses the zstty(4) driver (not used on any Sandpoint board so far).
2010-05-26 16:58:13 +00:00
mrg
d7630e6d89 intall libkms.h into the right place. fix some libdrm_radeon issues. 2010-05-22 23:19:44 +00:00
mrg
bd00795b4c deal with libdrm 2.4.40: new / moved headers, libdrm_radeon. 2010-05-22 23:03:13 +00:00
phx
b2b23a924e Excluded KUROBOX from GENERIC.NAS because console is on a different port.
Add INET6 option to GENERIC(.NAS).
Build KUROBOX kernel together with GENERIC and GENERIC.NAS.
Patch submitted by Toru Nishimura.
2010-05-17 22:52:17 +00:00
jmmv
be1bfc9e29 Update directories to match the atf 0.8 layout. 2010-05-08 08:13:12 +00:00
lukem
c786d8f8ac /usr/libdata/debug/usr/X11R6/lib 2010-05-08 05:04:58 +00:00
joerg
0246da9a5b Add a note to run services_mkdb after modifications. 2010-05-05 13:27:17 +00:00
hubertf
7c6ec9ae43 Add RCS ID, per PR 43243 2010-05-03 17:15:58 +00:00
skrll
7d9f1f6afe Allocate a major number for pci and created device nodes. 2010-05-03 08:45:43 +00:00
skrll
020f8ac55b Create tty0[0-3] devices. 2010-05-03 07:11:25 +00:00
lukem
9f5405f793 Fix MKDEBUG=yes for libraries on sparc64 for base. 2010-04-29 14:09:10 +00:00
lukem
617c68913a Fix MKDEBUG=yes library builds for amd64 2010-04-28 09:55:25 +00:00
lukem
a6b1868168 usr/libdata/debug directories for X11R7 2010-04-27 05:34:15 +00:00
dyoung
064e864242 Describe in a comment what the emit_dist_file target is for.
Under some circumstances, ${TOOL_CAT} may refer to an executable
that does not exist.  As a stopgap fix, use cat(1) instead of
${TOOL_CAT} in emit_dist_file.
2010-04-27 03:01:25 +00:00
lukem
cea1219aca add usr/libdata/debug/usr/lib and usr/libdata/debug/usr/lib/i18n 2010-04-27 02:51:04 +00:00
dyoung
ca088e5210 Do not try in postinstall(8) to replicate the code in etc/mtree/Makefile
that assembles /etc/mtree/NetBSD.dist.  Instead, use the Makefile's
new target, emit_dist_file, to assemble the correct NetBSD.dist.

Previously, 'postinstall -m amd64 -s $SRC_TOP' would install a
NetBSD.dist that was missing /usr/lib/i386/ et cetera.
2010-04-23 19:21:08 +00:00
pooka
4c1500491b bend over 2010-04-21 11:11:32 +00:00
pooka
e5f02a189b Also create ugen[123] by default -- my laptop attaches 2 ugens
already with just the builtin devices.
2010-04-19 04:34:42 +00:00
nonaka
b62fc9e203 Added Sharp W-ZERO3 series support. 2010-04-17 13:36:21 +00:00
pooka
994e33429b Build & install msdosfs snapshot test and deal with the happy happy
joy joy setlistdist etcetc. stuff.
2010-04-13 10:27:52 +00:00
nonaka
238763f6ce Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
2010-04-06 15:54:29 +00:00
pooka
b433d14156 add necessary build bucatini for kernfs tests 2010-03-31 19:18:39 +00:00
mrg
99c2a7aed7 make sure we pickup the powerpc majors file on powerpc64.
from dennis.c.ferguson@gmail.com in PR#43074.
2010-03-30 07:30:03 +00:00
pooka
cd45f4588a add nullfs/umapfs tests to setlists etc 2010-03-30 01:11:17 +00:00
pooka
e7c0f40884 .. then jump through the mtree hoops for adding a test 2010-03-29 18:21:29 +00:00
jakllsch
4af989b1cc Make device node for altq JoBS.
Should fix palindromic PR/43034.
2010-03-23 19:22:41 +00:00
pooka
3a8a23ba3e don't create obsoleted directories 2010-03-21 13:26:10 +00:00
jmmv
8199472ae1 Add the /usr/tests/sys/rc directory. 2010-03-15 19:00:53 +00:00
jmmv
bff64ddc47 Allow the run_rc_command function in rc.subr to pass extra parameters to
the command being executed.  This is to allow rc.d scripts to do:

    run_rc_command "${@}"

instead of:

    run_rc_command "${1}"

and let the command handler (start, stop, etc.) receive the arguments after
the command name.

None of the default commands allow extra arguments, and they will error out
if any are given.  This is mostly useful for script-specific commands that
are only supposed to be used through the command line and, therefore, need
to provide a friendly interface.

Proposed in tech-userlevel@.  No major objections except for some minor
concerns regarding whether this should be allowed or not at all.  Note that
I'm not touching any of the rc.d scripts in the base system, so this is
effectively a no-op from the user point of view.
2010-03-15 18:59:47 +00:00
mrg
4b35b5643b convert sparc64 to MULTIPROCESSOR kernel by default, and introduce
s/MP/UP/ kernels were otherwise in place.

in my testing on a U60, i couldn't really notice any different in
speed, but we need testing on a U1/U5/U10 systems to be sure that
GENERIC.UP isn't necessary.

for sparc64, this is some what required as USIIIi systems have the
memory controller on the CPU, and unless the CPU is spunup, a UP
kernel will not function on these systems.  (we obviously need to
join the NUMA-for-netbsd camp now, too! :-)


this should enable the installer to function on all systems that we
support, but also give the option for people to install GENERIC.UP
on their single-cpu systems if they choose.


XXX: i haven't actually tested sysinst with this, but i have built
both sparc and sparc64 release iso's successfully with this change
(sans having to comment out kern_ctf.c.)
2010-03-13 08:36:06 +00:00
roy
f4a46cfc64 Change the default console from wsemul_sun/sun-ss5 to wsemul_vt100/wsvt25.
This allows for a colour console, fixes home/end keys not working and
works with the embedded wsvt25 description in libterminfo.
2010-03-12 14:50:54 +00:00
plunky
cb3859a13e include ttyHS0 in usbs target [for uhso(4)] 2010-03-06 21:33:20 +00:00
plunky
800cedea24 Add uhso(4) driver and manpage for Option N.V. Wireless WAN modems 2010-03-06 21:05:36 +00:00
christos
55499e9fb3 Exclude root, since that is done in fsck_root. 2010-02-17 23:32:07 +00:00
mrg
c291955dfd only fsck / if we find it in /etc/fstab. diskless systems don't need
a / entry.

XXX: still get an error from "mount /" in etc/rc.d/root itself.
2010-02-16 02:46:02 +00:00
pgoyette
82c7774043 Add cases for new {high,maximum}-capacity events 2010-02-15 22:56:13 +00:00
jmmv
53cb2117e8 Deprecate the pkgdb_dir settings from daily.conf and security.conf in
favor of the PKG_DBDIR variable in /etc/pkg_install.conf.  The purpose
of this is to only have to define the location of the packages database
in a single place and have all other system components pick it up.

pkgdb_dir is still honored if defined and the scripts will spit out a
warning in that case, asking the administrator to migrate to the
PKG_DBDIR setting.  We can't remove this compatibility workaround until,
at least, after NetBSD 6 is released.
2010-02-05 16:29:02 +00:00
roy
89d790bdbe Move the emergancy terminfo database from /root to /rescue. 2010-02-05 09:44:23 +00:00
roy
70f7be699b Install a minimal .terminfo and .terminfo.db in /root.
This allows terminfo to be used when /usr is not available.
Fixes PR misc/6879.
2010-02-04 21:01:16 +00:00
jmmv
224ba7b2c8 Reset the umask while refreshing the vulnerabilities database so that it
remains world-readable.  Otherwise, it ends up with 600 permissions which
make it unusable for building pkgsrc packages as non-root.

Problem found by wiz@.
2010-01-27 16:22:41 +00:00
wiz
ad9684dee2 Install mom macro sets again, per request from Petar Bogdanovic.
Don't install generated PostScript files that were part of the reason
for the removal.

Based on a patch by him with slight changes.
2010-01-26 15:11:56 +00:00
joerg
1ca41e3237 Add a regression test for the SHA2 family that also checks for unaligned
accesses.
2010-01-24 21:12:17 +00:00
drochner
9b670cd37e fix an obvious typo in directory check 2010-01-23 17:44:44 +00:00
jmmv
8026500970 Default fetch_pkg_vulnerabilities to NO and complain if it is set to that
value when packages are found (so that the user knows he is not getting the
vulnerability checks).

Why?  People is complaining.  (And somehow, the argument that NetBSD doesn't
do any network operation by default convinces me that it should continue to
do so.)

But still, I will be adding a question to sysinst to enable/disable this.
2010-01-20 22:19:20 +00:00
jmmv
497b5f8044 Add the fetch_pkg_vulnerabilities option to the daily script to keep the
packages vulnerability database up to date.  This will only fetch the
file from the server if it has changed since the last run.

Add the check_pkg_vulnerabilities and check_pkg_signatures options to the
security script to check that the installed packages are sane.

All of these options are enabled by default but they will only run if
there is, at least, one installed package.
2010-01-19 22:08:11 +00:00
ahoka
f582d2426d Add examples to make switching wscons to ISO 8859-2 as easy as removing
some hashmarks.
2010-01-18 17:10:29 +00:00
jdc
568b4a7807 Add RSC ports (ttyh2, ttyh3) to all_md. 2010-01-18 10:35:18 +00:00
plunky
2ad83ccc31 also clean up NetBSD.dist.tmp as if a second build is done without the
NetBSD.dist changing, the tmp file will remain.
2010-01-18 10:25:29 +00:00
dholland
fd438cf632 Fix previous: use correct mode as well as owner/group.
My bad. PR misc/41544.
2010-01-12 04:44:06 +00:00
dholland
39f1d3fefb Fix installation permissions of /var/db/locate.database as per PR misc/41544. 2010-01-10 06:13:25 +00:00
elad
4fc2067c9d Securelevel might not be present, properly complain instead of printing
error messages from sysctl(8).
2009-12-29 17:06:10 +00:00
nonaka
bec75c8a18 delete makedev init from all_md entry. 2009-12-22 11:12:40 +00:00
uebayasi
ba7d4fb746 Make sure NetBSD.dist is updated when MKX11 is changed across update builds. 2009-12-18 04:12:36 +00:00
uebayasi
db427a195a NetBSD/mips64e[bl] userland is default to N32 ABI. It needs /usr/lib/o32
for O32 ABI and /usr/lib/64 for N64 ABI.
2009-12-14 13:23:56 +00:00
matt
1819481222 Merge from matt-nb5-mips64 2009-12-14 01:11:02 +00:00
nonaka
f97268b43d Added keyboard config files for Sharp Zaurus SL-C3x00. 2009-12-13 04:57:16 +00:00
mrg
c7b40f92d5 create /usr/lib/{i386,sparc}{,/security,/i18n} here, where they belong. 2009-12-13 01:02:25 +00:00
mrg
68657e0e89 replace NETBSD_DIST_X11_FILE and NETBSD_DIST_EXTSRC_FILE with EXTRA_DIST_FILES 2009-12-12 01:32:10 +00:00
he
66597865fb Move the test for evbppc out of sets.subr and into bsd.own.mk, to
decide whether to make kernel modules: set MKKMOD to no for evbppc.
Use this in etc/Makefile to decide whether to do the "modules"
obsolete sets.  Move the ./var/db/obsolete/modules entry from the
"mi" to the "module.mi" file set.

Fixes the build for evbppc.

Discussed with uebayasi@
2009-12-11 15:22:33 +00:00
nonaka
5210b539fa remove init entry.
add floppy entry.
2009-12-07 10:03:37 +00:00
pooka
70d4493c77 Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs.  User functionality remains the same.
2009-12-05 20:11:01 +00:00
pooka
4098e2664f Install obsolete lists for modules. 2009-12-05 19:14:39 +00:00
pooka
d6224f4507 Remove support for NetBSD/playstation2. 2009-12-05 16:29:10 +00:00
uebayasi
d166c4bf28 Support "extsrc", externally added programs and libraries. Users can write
their own reach-overs, cross-build, install, and get set files just like base
and X11 / X.org.  (These sets are not included as TNF releases.)
2009-11-30 16:13:22 +00:00
roy
dae79facc9 Hook openresolv into build. 2009-11-21 03:24:30 +00:00
drochner
9589066022 remove some unnecessary .OBJDIR prefixes in make targets
being here, add NetBSD.dist to CLEANFILES
2009-11-19 19:57:40 +00:00
tsutsui
468a515b3b Add a commented out "encoding us.swapctrlcaps" line as a popular example. 2009-11-15 07:43:13 +00:00
is
cc125f84ea Install a.out version of INSTALL kernel in release. Slightly modified
from a patch provided by Izumi Tsutsui as response to PR 41672.
2009-11-06 12:31:44 +00:00
stacktic
8acc973dc4 Fixed NetBSD.dist target 2009-11-02 10:23:40 +00:00
plunky
b2965573f9 add ATF tests for libevent 2009-11-02 10:15:45 +00:00
tsarna
6022b5b8d4 Major enhancements to mdnsd nsswitch support:
- nss_mdns renamed to nss_multicast_dns for clarity and less chance of
   confusion with nss_mdnsd (see next).
 - Support using mdnsd for all unicast too with new nss_mdnsd module
   (note: this mode requires an updated mdnsd too, not yet committed)
 - Implement resolv.conf "search" directive support. Needed for nss_mdnsd,
   potentially useful with nss_multicast_dns (you could now do
   "search example.com local" in resolv.conf if you wanted to and it would
   act as you might expect)
 - Add references in nsswitch.conf man page and sample file
 - Implement AI_CANONNAME
 - Various bug fixes
2009-10-25 00:17:06 +00:00
haad
f6e34e608b Add zfs volinit command, suggested by tnn@ this will initialize all zvols
defined in a system. So they can be mounted from fstab as regular block
devices.
2009-10-18 21:58:37 +00:00
stacktic
bafb6c06d9 Fixed build with read-only source tree. 2009-10-18 12:41:06 +00:00
tron
2af3a92c12 Add directory "/etc/zfs". 2009-10-12 08:54:19 +00:00
snj
f69ea56c7a Move libdrm headers up one level (out of the X11 directory) to match
the rest of the world and fix the inconsistency with libdrm.pc.
Fixes PR xsrc/42126.
2009-10-08 19:06:49 +00:00
tron
8b451badf9 Add proper error reporting via the return code:
Remember if any of the "route" commands failed and return an error in
that case.
2009-10-07 08:06:11 +00:00
tron
9435d86beb Add a "return 0" to avoid incorrect error returns because we ran out of
lines to read from "/etc/route.conf".
2009-10-07 07:51:28 +00:00
haad
cc9255a89b Add support for mounting zfs filesystems to mountall script. ZFS configuration
is stored in /etc/zpool.cache and it is automatically loaded to kernel from
filesystem. Filesystems are then configured accordingly to their properties
loaded from cache file.
2009-10-05 22:39:27 +00:00
christos
875c2ae09f mdnsd home should not be /var/www! 2009-10-04 01:40:53 +00:00
mrg
0086b255f2 don't create xkb/compiled as a directory any more. 2009-10-02 00:00:59 +00:00
tsarna
a4329df0cc mdnsd enhancements and fixes:
- Enhance the built-in drop-privs support and use it instead of
  having the rc.conf do it. Avoids log error on startup.
  From OpenSolaris, with enhancements.
- Add dumping of the unicast server list to the DumpStateLog
  debugging output, a'la Mac OS X.
- Fix a locking botch that caused warnings in the log.
- Fix FILE leak. From OpenSolaris.
2009-10-01 16:36:20 +00:00
tron
65817d0cbb Build the "MONOLITHIC" kernel configuration by default and include
in the release.

Using the modularise "GENERIC" kernel on an existing NetBSD 5.0 system
is difficult and error-prone. The "MONOLITHIC" kernel provides an
easy way to test a new kernel or to upgrade an existing system.
2009-10-01 11:51:03 +00:00
apb
db5a8e6176 Document the fact that wpa_supplicant won't start properly unless
/usr is mounted by mountcritlocal.
2009-09-30 18:17:22 +00:00
tsarna
a8bcd3b5c3 Multicast DNS ("Bonjour") support, based on Apple's mDNSResponder. 2009-09-29 23:56:26 +00:00