Commit Graph

8984 Commits

Author SHA1 Message Date
mrg
bdac6522d5 install new evbarm/rktsadc(4) manual. 2019-06-06 05:32:29 +00:00
hannken
25da6a6235 Implement xdrmem_control(), used as xdr_control(xdr, XDR_GET_BYTES_AVAIL ...
and bump libc minor number.

Final goal is to remove the unmaintained XDR implementation
at external/cddl/osnet/dist/uts/common/rpc.
2019-06-04 08:44:08 +00:00
kamil
a30683d61b Fix CATPAGES entries in distrib files
Register CMSG_DATA.0, getcchar.0, acorn32/boot.0.

These files were marked as obsolete which is no longer true.
2019-06-01 21:42:02 +00:00
kamil
707a3080aa Add ATF KERN_PROC_CWD tests 2019-06-01 19:49:02 +00:00
jmcneill
f3cfa6f6ce Install ssh-copy-id(1) from the OpenSSH 8.0p1 portable distribution. 2019-06-01 13:21:27 +00:00
mrg
aaea552db1 radeon_drv major was bumped. 2019-06-01 07:55:31 +00:00
christos
4f265e8e66 sort. 2019-05-26 21:04:56 +00:00
hannken
7ec1cb816f Add entries for the recent tests/lib/libcurses commit. 2019-05-26 20:01:07 +00:00
mlelstv
b1f23fc946 Add experimental userland interface to IPMI driver. Currently, transactions
(like sensor readout) are locked, so that a userland program may interfere with
envsys operation.

To use this you need a program like ipmitool built with OpenIPMI support.
2019-05-18 08:38:00 +00:00
uki
5e0b33a7be Change package name "-obsolete-" to "<category>-obsolete". It is a little step. 2019-05-13 08:38:45 +00:00
maxv
907a706c0b Add smtoff, an rc.d script that disables Simultaneous Multi-Threading. It
parses the output of cpuctl, and executes "cpuctl offline" for each CPU
that has SmtID!=0.

The default is "smtoff=NO", which means that SMT remains enabled.
2019-05-11 19:31:03 +00:00
christos
c975cf3b97 Undo previous 2019-05-11 13:41:52 +00:00
christos
914397cddf Add cpufunc.h 2019-05-11 13:04:40 +00:00
isaki
b040836639 Update manpages respond to isaki-audio2 branch. 2019-05-08 14:25:38 +00:00
thorpej
02d67d1066 Add installboot(8) support for evbarm (and, in the future, other evb*)
boards that use u-boot.  A known board database lists boards and their
respective u-boot packages.  u-boot packages are discovered at run-time
(in /usr/pkg/share/u-boot, by default).  These packages contain board
database overlays that describe u-boot installation procedure that's
specific for that board.

Support this as a native tool and as a host tool.  The native tool
will attempt to determine the running board type using OpenFirmware
calls.  Host tool and native tool alike may also specify a board type
directly using the "-o board=xxx option" or have installboot(8) determine
the board type from a device tree blob using "-o dtb=/path/to/board.dtb".
A "-o media=xxx" option is provided for boards that have different u-boot
binaries and/or installation procedures for different media types (e.g.
SDMMC, eMMC, or USB).

This is trivial to extend to other evb* platforms that use u-boot, even if
they don't use FDT for autoconfiguration.
2019-05-07 05:02:41 +00:00
sevan
41dcfb613c Mark the set obsolete as well.
Heads up <jmcneill>
2019-05-04 17:03:39 +00:00
sevan
b59b1793d5 sup.NetBSD.org is no longer around. 2019-05-03 11:29:06 +00:00
mlelstv
e0c8918e3e Add man pages for Amiga clock chips 2019-05-01 06:47:45 +00:00
christos
d75e0e3089 bump bind 2019-04-28 00:03:46 +00:00
kamil
0c003f5999 Add a C99 symbol to libm: nexttowardl
It's an alias for an already existing symbol nextafterl.

Patch obtained from <mgorny>

Detected by the LLVM buildbot breakage in tests.
2019-04-27 23:04:31 +00:00
maya
ff9d8a09c1 Add a test case for signbit.
(paranoia prior to a libm change)
2019-04-26 08:52:16 +00:00
maya
3cdbcb3e1b document cosl with MLINKS and in the man page 2019-04-25 23:17:24 +00:00
roy
d73f7f4f61 Don't install YP rc.d files with MKYP=no 2019-04-25 08:56:21 +00:00
kamil
945ffcea06 Bump the libpthread(3) minor number to 4
Added C11 Threading library support.
2019-04-24 13:01:52 +00:00
kamil
a9ca1710c0 Add a complete C11 threads(3) implementation
C11 Thread support library is a portable threading C API between OSs,
similar to std::threads in the C++ world.

The library is implemented as a thin shim over POSIX interfaces.

NetBSD implements the API as a part of the POSIX threading library
(libpthread(3)).

C11 threads(3) are in the process of making them an integral part
of the POSIX standard. The interface has been implemented in major
OSs and used with stopgap libraries for older versions of them.

C11 threading library is already used (with a stopgap implementation)
in the NetBSD distribution in MESA.

Original implementation by myself from 2016.

ATF tests are new and cover almost all interfaces.

Proposed on tech-userlevel@.
2019-04-24 11:43:19 +00:00
wiz
3229b961ff Fix typo. 2019-04-24 10:43:00 +00:00
roy
81b96f23a9 Don't install YP headers when MKYP=no 2019-04-24 10:26:08 +00:00
maya
dc81fb4d95 Add awge(4) man page 2019-04-22 21:58:56 +00:00
christos
045eecf05c bump libssh 2019-04-20 17:24:06 +00:00
mrg
badcd40f23 - various updates for GCC 7 riscv definitions: -mabi and -march changed
- add missing LIBGCC_MACHINE_ARCH
- add the new ldscripts for riscv64 MKCOMPAT.
2019-04-18 10:07:07 +00:00
rin
1b7de8e902 Add missing ./var/db/dhcpcd 2019-04-18 03:50:12 +00:00
mrg
81f4fdd260 fix MKCOMPAT=no builds. 2019-04-17 07:55:33 +00:00
mrg
1ce78da3f1 enable EGL and glamor. partly from maya@.
for x86 and evbarm:
- install headers and libEGL
- install xorg-server glamoregl component
- link xorg drivers against gbm/egl

bonus fix:
- fix some wrongly marked compatx11file files


build tested on shark, sgimips, evbarm64-el, amd64 and i386.
run tested on radeon, intel and nvidia on amd64, including
'modesetting' driver on amd64.  however, my systems disable
it due to llvmpipe so i'm not sure what is happening.
2019-04-16 21:20:50 +00:00
uki
9b084d16c2 Fix "build.sh syspkgs" error when creating base-util-root package 2019-04-11 08:34:19 +00:00
sevan
768ee5838e typo, pasto 2019-04-10 00:35:25 +00:00
sevan
967446d222 Include npf_boot rc.d scripts which loads an interim config early in boot.
By default /etc/default/npf.boot.conf which can be overriden by /etc/npf.boot.conf.
2019-04-10 00:32:15 +00:00
kamil
13a8069b3f Register t_ufetchstore.debug in distrib files 2019-04-06 12:34:30 +00:00
kamil
929bdb0fb7 Correct ustore(9) entry for MKCATPAGES=yes 2019-04-06 12:33:18 +00:00
kamil
f8e2ee8875 Revert llvm -> llvmcmds unintended changes in distrib files 2019-04-06 09:33:07 +00:00
thorpej
91bfaeb675 Overhaul the API used to fetch and store individual memory cells in
userspace.  The old fetch(9) and store(9) APIs (fubyte(), fuword(),
subyte(), suword(), etc.) are retired and replaced with new ufetch(9)
and ustore(9) APIs that can return proper error codes, etc. and are
implemented consistently across all platforms.  The interrupt-safe
variants are no longer supported (and several of the existing attempts
at fuswintr(), etc. were buggy and not actually interrupt-safe).

Also augmement the ucas(9) API, making it consistently available on
all plaforms, supporting uniprocessor and multiprocessor systems, even
those that do not have CAS or LL/SC primitives.

Welcome to NetBSD 8.99.37.
2019-04-06 03:06:23 +00:00
kamil
d6a1bc3f07 Upgrade indent(1)
Merge all the changes from the recent FreeBSD HEAD snapshot
into our local copy.

FreeBSD actively maintains this program in their sources and their
repository contains over 100 commits with changes.

Keep the delta between the FreeBSD and NetBSD versions to absolute
minimum, mostly RCS Id and compatiblity fixes.

Major chages in this import:

 - Added an option -ldi<N> to control indentation of local variable names.
 - Added option -P for loading user-provided files as profiles
 - Added -tsn for setting tabsize
 - Rename -nsac/-sac ("space after cast") to -ncs/-cs
 - Added option -fbs Enables (disables) splitting the function declaration and opening brace across two lines.
 - Respect SIMPLE_BACKUP_SUFFIX environment variable in indent(1)
 - Group global option variables into an options structure
 - Use bsearch() for looking up type keywords.
 - Don't produce unneeded space character in function declarators
 - Don't unnecessarily add a blank before a comment ends.
 - Don't ignore newlines after comments that follow braces.

Merge the FreeBSD intend(1) tests with our ATF framework.
All tests pass.

Upgrade prepared by Manikishan Ghantasala.
Final polishing by myself.
2019-04-04 15:22:13 +00:00
joerg
da48f03c8a Revert MKLLVMCMDS changes. 2019-04-03 15:12:44 +00:00
jmcneill
c00f8285c0 Add bootarm.efi 2019-03-30 13:02:39 +00:00
pgoyette
538fa6a5ce Update sets lists for new srt(4) man page. 2019-03-26 12:22:07 +00:00
pgoyette
aa88590260 Now that the if_srt module has a chance of working (ie, it now
actually attaches/detaches the cdevsw!), add the required srt
module to allow module autoload triggered by opening /dev/srtN

XXX As noted in the recent commit to if_srt.c, someone(tm) needs
XXX to create the /dev/srt* device nodes with major 179. :)
2019-03-26 00:36:14 +00:00
maxv
ba0aa175c4 Remove compat_osf1, discussed on tech-kern@. 2019-03-25 19:24:29 +00:00
pgoyette
9c4fa8bcb0 Add a loadable module for tap(4).
The code was already modularized, we simply didn't build the loadable
module.

Note also that since the tap(4) device can be reasonably accessed by
either creating a  device instance (using ifconfig(8)) or by opening
/dev/tap, we need to create both if_tap.kmod and tap.kmod (similar to
what is done with tun(4)).
2019-03-24 11:20:26 +00:00
rin
37add47636 Fix MKCOMPAT=no build for sparc64;
Remove duplicate entry for ./usr/include/g++/bits/sparc.

Reported by K. Schreiner.
2019-03-24 01:16:43 +00:00
uki
223e0973b5 give syspkg names to "-unknown-" files under comp category 2019-03-22 11:09:43 +00:00
uki
0eb9388fa1 give syspkg names to -unknown- files under debug category 2019-03-21 07:44:05 +00:00