Commit Graph

5132 Commits

Author SHA1 Message Date
christos 2f4a483dfc Use make -C instead of cd && make; this is done to preserve the logical path
for debugging info DW_AT_comp_dir
2017-02-07 21:18:05 +00:00
christos 7e6c542685 add + 2017-02-02 20:49:55 +00:00
christos 8fb3f05024 set 7 and 8 to close on exec. 2017-02-02 20:01:36 +00:00
christos 3d09c58a4d MAKE varies between builds because it contains the full pathname. 2017-01-24 17:54:52 +00:00
hauke 9f6b4eb870 Add carp as an alias for vrrp - after all, we do not ship vrrp, but we
do ship carp(4).

Restore the pfsync entry that was added with 1.20, then wiped out by
the 1.21 import. Please merge any wholesale imports properly.

Remove http://www.sethwklein.net/projects/iana-etc/ which 404s.

Should fix PR bin/51568
2017-01-16 09:39:26 +00:00
joerg b69d605610 Update Clang header directory. 2017-01-11 12:10:48 +00:00
christos da97bc8466 "kod" needs limited. 2017-01-09 20:05:29 +00:00
christos 583c58130b fix nsd home dir. 2017-01-09 14:26:58 +00:00
christos b575a4238e Instead of hard-coding all the MK* vars and constantly being out of date,
use _MKVARS.yes and _MKVARS.no to construct them.
2017-01-08 17:39:08 +00:00
christos 9b4226cef8 add nsd npfd 2017-01-07 22:37:22 +00:00
christos 09e56bb693 add nsd 2017-01-07 19:55:35 +00:00
christos 48a80eb186 npflog0.pcap is binary 2017-01-07 18:50:50 +00:00
christos 836d3605fd rotate npflog0.pcap 2017-01-07 16:34:50 +00:00
kiyohara 03aa6dbf80 Add CUBOX to v7 and v7hf. 2017-01-07 16:29:04 +00:00
christos 71cba524e4 add scripts for npfd 2017-01-05 14:39:09 +00:00
martin 9b0b62c8b6 Add mixerctl test directory 2017-01-02 20:37:12 +00:00
maya 9287afda0f Add blacklistd.conf so it gets backed up, too. 2016-12-27 17:13:45 +00:00
christos 4bb5b9d374 Add npf.conf so it gets backed up. 2016-12-27 16:48:12 +00:00
christos 9388ae5cb6 put also MAKEFILES in the MKREPRO section since they vary since they contain
paths.
2016-12-25 16:44:39 +00:00
kim ca8ef46246 Make precedence between {cat,man}[39]{,lua} logical:
- Search man3 right after cat3, before cat3lua (and man3lua).
- Search man9 right after cat9, before cat9lua (and man9lua).
2016-12-25 12:10:52 +00:00
christos 700b0bb18f For MKREPRO, don't print varying params. 2016-12-24 20:36:28 +00:00
mrg e640aa5924 create sysmon nodes, so wdogctl works. 2016-12-24 07:07:06 +00:00
kamil b8092d5dfa Add regs1 in arch/i386/t_ptrace_wait*
regs1:
    Call PT_GETREGS and iterate over General Purpose registers

Sponsored by <The NetBSD Foundation>
2016-12-13 18:00:10 +00:00
kamil 5e8d31ff24 Attach t_exect to ATF tests and distribution
Add missing SIGTRAP handler. Assert there that the signal is SIGTRAP as
expected and si_code TRAP_TRACE.

This test will break on some ports that have dummy or incomplete
implementation of exect(2).

This test works on amd64 correctly.

Sponsored by <The NetBSD Foundation>
2016-12-09 06:12:02 +00:00
nat 4bb9801b95 spkr->speaker. Found by kamil@ 2016-12-08 20:44:24 +00:00
nat 03783bb56a Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
2016-12-08 11:31:08 +00:00
tsutsui 97d3c24f2a Preliminary support for LUNA's HD647180X I/O processor (a.k.a. XP).
Demonstrated as "PSG tunes / PCM wav player on LUNA"
(using Z80 PSG/PCM drivers ported from NEC PC-6001)
at OSC2016 Kyoto and OSC2016 Hiroshima:
 http://mail-index.netbsd.org/netbsd-advocacy/2016/08/01/msg000712.html
 http://mail-index.netbsd.org/netbsd-advocacy/2016/11/29/msg000724.html
2016-12-03 17:38:02 +00:00
kamil 96cf2030eb Refactor location of amd64-specific ATF tests to new dir kernel/arch/amd64
Rename
 - tests/kernel/t_ptrace_amd64_wait.c
to
 - tests/kernel/arch/amd64/t_ptrace_wait.c
and adapt appropriate files accordingly.

New directory will be used for more amd64-specific tests, verifying the
MD parts of the kernel.

Remove old entries from distrib/sets/lists as they were added a while ago.

Sponsored by <The NetBSD Foundation>
2016-12-02 05:54:14 +00:00
ozaki-r 6d9a9bf113 Add basic tests for vlan(4) 2016-11-26 03:19:48 +00:00
snj 7e075c29bc update for xkeyboard-config 2.19 2016-11-22 19:51:37 +00:00
kre 8ad774dbf7 Undo change to a comment made when I thought another change to the
script was needed ... the unnecessary script change was never committed,
but the comment that described it was...    No functional change.
2016-11-19 01:14:58 +00:00
kre 1675d6af19 The config file is not required to exist (unless specified via -d).
(reported by rhialto@falu.nl)  Don't fail to start if it doesn't.

Make sure the directory for the config file exists inside the chroot before
attempting to copy into it ("confdir" was calculated, but never used...)

While here, fix getopts usage (obviously only ever previously tested when
the -c arg was the first option...) and don't use test(1)'s -o operator
(especially not when one of the other args is an unknown string).
If -c is given (and we will chroot), require filename to be full path.

Misc minor style cleanups.
2016-11-18 23:10:05 +00:00
kamil 8fce8aab12 Add new test-suite t_dummy for libpthread_dbg
At the moment this test does nothing except reports failure from td_open()
for overloaded (implemented) dummy1_proc_lookup() (.proc_lookup from
td_proc_callbacks_t) of the following form:

static int
dummy1_proc_lookup(void *arg, const char *sym, caddr_t *addr)
{
        return TD_ERR_ERR;
}

This file and directory with tests is placeholder for new ones, without
further need to alter mtree and distribution sets.

The libpthread_dbg interface and library is used by gdb(1) to handle
threads in applications.

Sponsored by <The NetBSD Foundation>
2016-11-16 21:36:22 +00:00
matt 4bd7beee2d An awk file is not a directory. 2016-11-15 22:31:07 +00:00
skrll 880c0915ea Fix librefuse falout.... Hi pho 2016-11-15 12:59:33 +00:00
flxd 9ff8fe6273 Add new USB-enabled kernel config(s) based upon GENERIC for pmax, include it as kernel set in the build and make it a choice in sysinst.
OK simonb@
2016-11-04 19:18:50 +00:00
riastradh 6b3de624e6 Handle variable expansion and comma/space separators in postconf.
From Timo Buhrmester:
https://mail-index.netbsd.org/tech-userlevel/2016/08/20/msg010301.html
2016-10-30 15:47:06 +00:00
taca 897c08e2b7 Update root.cache to 2016102001 (October 20, 2016). 2016-10-27 15:20:32 +00:00
christos 3e2e1df44f mention that -a valid does not work, requested by felix. 2016-10-25 17:16:34 +00:00
abhinav 6cddff1a99 Add tests for uniq(1) based on the example test cases provided in the POSIX man page.
Ok christos
2016-10-22 14:13:39 +00:00
flxd b54ff8f604 Bless pmax with USB device files/majors and make kernel configs with USB and typical drivers work.
OK christos@ simonb@
2016-10-21 18:11:59 +00:00
christos 90ff2f0a25 Adjust for new ifconfig address/mask output. 2016-10-19 21:27:10 +00:00
mrg 30db75397d build new pt_PT.UTF-8 locale from libX11 1.6.4. 2016-10-04 23:52:02 +00:00
nonaka 4a15838ffa Fix to cannnot be opened a nvme(4) namespace device file. 2016-09-08 15:00:08 +00:00
nonaka 30c261211c fix incorrect nvme controller number. 2016-09-08 14:44:44 +00:00
skrll 5dae601e33 Add ub and elf32 to KERNEL_SUFFIXES 2016-09-05 07:23:43 +00:00
ozaki-r 13445aedf0 Add very basic tests for tun devices 2016-09-05 02:26:48 +00:00
taca 66840c3126 Update root.cache to 2016/8/25 version, l.root-servers.net has AAAA record
now.
2016-09-04 14:36:31 +00:00
christos c90b9921a5 unbound additions 2016-08-20 11:21:50 +00:00
mrg 870f1fd842 build and install libepoxy 2016-08-18 08:11:22 +00:00
jakllsch 64d64ddcb3 tests for sys/dev/clock_subr.c 2016-08-14 14:55:41 +00:00
scole e0fd82f4fc PR port-ia64/51261
Stubs for ia64
2016-08-05 16:22:08 +00:00
pgoyette 6e4e96b573 Add the real directory as well as the debug directory. 2016-07-29 10:09:38 +00:00
pgoyette 9c91731aa4 Add destination directory for new dev/fss test 2016-07-29 09:52:46 +00:00
kre 04e8d55d65 Always define MKNOD, even if we don't think we need it (turns out we do,
sometimes...)   Noticed by Michael Plass reported on current-users.
2016-07-23 06:48:27 +00:00
kre a5229b934a Cause rc to abort if mounting any of the critical local filesystems fails
rather than just ignoring the error.

Don't bother attempting to clear the contents of /var/run if /var/run
does not exist.

In that case the mkdir of /var/run/lvm would have failed - correct that
by using mkdir -p (which as a side effect will ensure /var/run exists
and is available for later scripts to use if for some reason it did not exist.)
2016-07-23 01:38:35 +00:00
kre 93bca39382 As discussed at the biginning of last week (June 6 & 7, 2016) on
tech-kern in messages with a Subject starting [Re:] /dev/sdN -> /dev/sdN[cd]
and in PR port-amd64/51216 :

Create bare (no letter suffix) device names (block & raw) that
refer to the raw device ('c' or 'd' partition as appropriate).

This commit was delayed waiting to see if there was to be any more
discussion - there wasn't a lot.

Caution: this is going to consume 2 more inodes per disc device
configured, everywhere that devices are configured using MAKEDEV
2016-06-16 15:33:38 +00:00
christos 0390a67c3a Mark phone so we rebuild every time. 2016-06-09 04:26:07 +00:00
christos 1fa5958a6b Don't run .BEGIN if we are cleaning or making obj. 2016-06-09 04:07:46 +00:00
christos b3a11f7281 Avoid most of the .CURDIR hackery by letting make locate the files. 2016-06-09 03:44:01 +00:00
mrg 8ee72997ca make sure the build dist files are build before we try to use them. 2016-06-09 00:19:31 +00:00
mrg 0fd293a610 don't give NetBSD.dist.tmp any inputs, as then it won't rebuild ever
unless they change, and we want to rebuild based upon what inputs are
present, not when they were last touched.

this fixes update builds that switch options that change the dirlist
like MKX11 or MKCOMPAT, restoring a portion of rev 1.14.

note that some opertions like turning off MKX11=yes will also require
a fresh DESTDIR, in addition to this fix.  there may be more issues
remaining, but i am now able to enable MKX11=yes successfully without
any other change.
2016-06-08 22:12:42 +00:00
nonaka e7c0cc5d9a Add NVMe command passthrough support. 2016-06-04 16:11:50 +00:00
ryo ec48232126 Add initial support for Freescale i.MX7 SoC and
Atmark Techno Armadillo-IoT G3 boards.

Contributed by Internet Initiative Japan Inc.
2016-05-17 06:44:45 +00:00
christos 5d3395496d Adjust to new freetype structure. 2016-05-16 22:19:41 +00:00
dholland 796a3ac327 Avoid unnecessary use of basename(1). From Jukka Salmi a long, long time
ago on a tech-kern far, far away.
2016-04-23 21:24:31 +00:00
ozaki-r c73a69e593 Add a new test case for PPPoE using PAP
From s-yamaguchi@IIJ (with some tweaks by me)
2016-04-15 01:38:16 +00:00
gson 5973801c0c Add regression tests for some past gdb bugs. 2016-04-08 10:09:16 +00:00
taca 8dc05bf9dd Update root.cache to 2016/3/23 version, l.root-servers.net's AAAA record
has changed.
2016-04-03 08:01:34 +00:00
mrg 3d2fbcae7f add /usr/include/gcc-5 directory to the distribution and adjust the
GCC 5 parts of the build (not yet enabled) to install/look there.
2016-03-12 23:07:05 +00:00
mlelstv 9da4c9a5be tset was useful for fixed terminals and rarely changing configurations.
But for current software terminal emulators and varying network
logins it's just confusing.

No longer run tset when logging in.

ok @martin
2016-03-08 09:51:15 +00:00
christos d6c8225a0e use kat, a version of cat that strips comments 2016-03-06 18:50:06 +00:00
christos 709030f1f5 Introduce kat() a built-in version of cat(1) that strips shell-like comments. 2016-03-06 18:49:42 +00:00
ozaki-r be7deda7eb Add tests for tap(4) 2016-03-04 02:44:45 +00:00
riastradh 25e09ac3be Record current raid configurations too in /etc/security. 2016-02-29 16:16:42 +00:00
joerg ba87356165 Update build system for LLVM 3.8.0rc3. 2016-02-27 21:47:30 +00:00
tsutsui c7ed7eb92f Drop almost unnecessary devices for floppy to shrink sysinst.fs.
Briefly tested on TT030.
2016-01-29 18:03:16 +00:00
riz 4145877bea Create dtrace device as part of "all" 2016-01-28 19:06:39 +00:00
christos 9f840dd1f7 Add /dev/full 2016-01-17 23:18:18 +00:00
roy dddc1afbdc Move 10-wpa_supplicant, 15-timezone, 29-lookup-hostname and 50-ypbind
from /libexec/dhcpcd-hooks to /usr/share/examples/dhcpcd/hooks so they
are not run by default.
2016-01-07 22:07:18 +00:00
roy 2357a4fb46 Use the new -P option to work out which pidfile dhcpcd will use. 2016-01-07 22:03:00 +00:00
roy d0367588d0 Instead of waiting for a duration based in IPv6 DAD count sysctl,
wait for 15 seconds for tentative flags to clear allowing 5 seconds
for detached flags to clear as well from configured addresses.

This is now protocol independant and allows time for the interfaces to
work out if they have a carrier or not.
2016-01-07 11:51:07 +00:00
jakllsch 2ba22c9356 Add some tests for the kernel HID parser. 2016-01-05 17:22:38 +00:00
jakllsch 3a26fec827 tests for libusbhid (many of which fail) 2016-01-01 21:38:53 +00:00
plunky d86700ce1a "ip6addrctl_enable" is now "ip6addrctl", set the default appropriately 2015-12-26 21:05:11 +00:00
christos dd01c08e97 remove some stuff we don't have; rename rc command variable. 2015-12-23 04:38:00 +00:00
christos 7065e20960 give the kernel pax invocating the MKREPRO_TIMESTAMP treatment. 2015-12-20 02:35:34 +00:00
christos 572dbd7b73 Freeze the BUILDER and the BUILD_DATE for repeatable builds 2015-12-19 23:37:43 +00:00
jmcneill 0572689e04 Remove JETSONTK1 and NYAN-BIG kernels, add a new unified kernel named TEGRA. 2015-12-13 23:02:56 +00:00
christos 4f497f781b Add defaults for ip6addrctl 2015-12-13 02:27:06 +00:00
christos ff0756d560 Add ip6addrctl 2015-12-13 02:05:15 +00:00
christos 11ff782d8f Add gpt tests 2015-12-04 17:19:33 +00:00
taca 3eef035ce3 Update to 2015120100.
* Addresses of H.ROOT-SERVERS.NET has updated.
* Make IPv6 address lower case.
2015-12-03 10:41:22 +00:00
darcy c5291a928e Of course we can always not do something. Doesn't mean that we "can't"
(or "cannot").  In any case make the messages consistent and move the
period to inside the quotes.
2015-11-28 14:20:32 +00:00
plunky 52267b078d clean up: remove FreeBSD cvs tags, update URLS, fix spelling
and add in PSMs defined in recent versions of specifications
2015-11-28 07:46:33 +00:00
christos 0e5ab369bd PR/49380: KAMADA Ken'ichi: ntpd_chrootdir does not work on NetBSD 7.0_BETA
Provide /etc/resolv.conf so that it can resolve names. This is needed because
of deferred name resolution.
XXX: pullup -7
2015-11-23 19:56:47 +00:00
pgoyette b094e9b9cd Add the filemon(4) device. 2015-11-21 12:11:56 +00:00
christos be39cd8f18 reapply 1.25 to fix upstream inconsistencies 2015-11-18 16:16:36 +00:00
christos fb472d3ca7 refresh 2015-11-14 16:25:48 +00:00
jakllsch 22439287a1 Add tty2 tty3 devices to evbarm MAKEDEV; JETSONTK1 has console on com3. 2015-11-11 16:20:43 +00:00