Commit Graph

16474 Commits

Author SHA1 Message Date
roy
4b44dc0b5e vether: Implement a virtual ethernet interface
The vether interface simulates a normal Ethernet interface by encapsulating
standard network frames with an Ethernet header, specifically for use as
a member in a bridge(4).

To use vether the administrator needs to configure an address onto the
interface so that packets can be routed to it. An Ethernet header will
be prepended and, if the vether interface is a member of a bridge(4),
the frame will show up there.

Taken from OpenBSD.
2020-09-27 13:31:04 +00:00
jmcneill
c9f4e317e7 Add HAVE_NVMM and use it to control the build of NVMM related components.
Defined to "yes" on amd64, "no" everywhere else.
2020-09-26 17:49:49 +00:00
skrll
584896eb82 G/C arm/atomic.h 2020-09-26 10:06:25 +00:00
rillig
6c4e4cfc20 make(1): add test for harmless bug in Parse_File
When there is a dependency group at the end of a top-level makefile,
this dependency group is not finished properly.  This allows to add
further commands to the targets of this dependency group, which was not
intended.
2020-09-25 23:24:49 +00:00
rillig
b4b854cf1c make(1): add test for deleting the suffixes during parsing 2020-09-25 18:18:25 +00:00
rillig
df955ddda3 make(1): add test for partial expansion of undefined variables 2020-09-25 05:56:59 +00:00
pgoyette
47b23bc72c As indicated at the top of the file, don't simply remove entries. Instead
we need to mark them "obsolete" so they will get removed if already in the
$DESTDIR
2020-09-24 14:14:18 +00:00
nia
499e9f4300 add a script for dynamically generating a menu in the ctwm desktop
this parses the files in /usr/pkg/share/applications and provides a
submenu for launching applications.

TODO: make /usr/pkg configurable somehow?
2020-09-23 15:30:36 +00:00
rillig
cf2410f348 make(1): add variant of the counter test
I had expected that using the ::+= modifier instead of the ::= modifier
would work, since the assignment modifier for COUNTER no longer contains
a reference to itself.  But instead of ending up at 4, the counter even
goes up to 6.
2020-09-23 03:33:54 +00:00
rillig
84ce7c67b4 make(1): fix assertion failure in -j mode with .END node
There had been two separate global variables for the .END node, and in
parallel mode, only the one in jobs.c was initialized.

The code in JobRun heads over to Compat_Make without calling Compat_Run
first, which left the variable ENDNode uninitialized.
2020-09-23 03:06:38 +00:00
nia
c17662fdc1 remove getentropy 2020-09-22 23:12:06 +00:00
snj
fde9d6c257 alpha: GENERIC.MP is no more 2020-09-22 02:53:52 +00:00
kamil
8f03799314 Add new RTLD test file for r_debug
New tests:
 - self
 - dlopen

Both check whether the r_debug structure seems to be well-formed, without
and with a dlopen(3) call.
2020-09-22 01:09:32 +00:00
kim
7448e6b5a0 Add MLINKS for empb.4 2020-09-21 14:03:15 +00:00
nia
cb99bd5907 ancient ARM stuff 2020-09-16 09:58:37 +00:00
mrg
284829f6eb bump bebox and prep image sizes for GCC 9. 2020-09-15 08:13:51 +00:00
nia
2cfdce2a15 new dtb set needs reflecting in instructions 2020-09-15 07:15:21 +00:00
mrg
ebc1bdaad3 actually, disable tsan on everything but amd64.
it fails to build on mips64 and arm64 for me as well as others..
2020-09-15 07:00:03 +00:00
mrg
5fd8bd8464 mark tsan files as !machine=sparc64. 2020-09-15 06:22:33 +00:00
rillig
10c6f48261 make(1): add test for undefined expressions in conditions in lint mode 2020-09-14 06:44:50 +00:00
rillig
b444745605 make(1): add tests for numbers in conditions 2020-09-14 06:22:59 +00:00
rin
0ed4729c3f Revert previous to make iscsi kernel headers optional again, as
required by kamil.

Now, sanitizer in GCC9 has been fixed differently for MKISCSI=no.
2020-09-14 00:40:02 +00:00
rin
0bb512d8c8 Revert previous to make iscsi kernel headers optional again, as
required by kamil.

Now, sanitizer in GCC9 has been fixed differently for MKISCSI=no.
2020-09-14 00:40:01 +00:00
mrg
b9e25dab96 fix earmv7eb builds -- add the dtb set items. 2020-09-14 00:01:51 +00:00
rillig
edc36b2d67 make(1): add recently added tests to distrib file list 2020-09-13 13:03:15 +00:00
kamil
0de11bbf9c Currently restrict GCC TSan files to gcc=9 2020-09-13 03:43:16 +00:00
kamil
4b3dee3027 Build and install GCC TSan for 64-bit CPUs 2020-09-13 02:37:31 +00:00
jmcneill
0d54a9589a Add HAVE_ACPI and HAVE_UEFI flags to bsd.own.mk and use them to
conditionally include ACPI and UEFI bits instead of relying on adhoc
MACHINE_ARCH tests.
2020-09-12 15:25:41 +00:00
roy
c04fae54cf Include nd.h in sets 2020-09-12 12:11:19 +00:00
jakllsch
66078c4dd6 Limit bootarm.efi expectation further.
Should fix iyonix, and zaurus builds.  Also probably fixes all oarm AKA
'arm' builds too.
2020-09-11 15:21:48 +00:00
jmcneill
f2c0a93275 Build acpi tools and iasl on aarch64eb, and fix set lists for MKDEBUG. 2020-09-11 14:06:00 +00:00
jakllsch
0fe0802f28 fix earmv7hfeb set list for bootarm.efi
Do this by explicitly marking all the non-earmv7hf* arm archs as not wanted,
because the set lists processor doesn't have a better way to be told.
2020-09-10 15:17:23 +00:00
martin
18aaa0a559 Add iavf 2020-09-10 04:56:00 +00:00
rin
6aef683d05 Unconditionally install kernel headers for iSCSI as required by
sanitizer shipped with GCC9.

Fix build release with HAVE_GCC=9 for sun2, where MKISCSI=no by default.
2020-09-10 01:53:22 +00:00
kamil
b1012e3f8c Register getrandom.0
Fixes MKCATPAGES=yes build.
2020-09-09 14:38:41 +00:00
jmcneill
e3afd33ec2 Look for the string "amazon" in a few different sysctl nodes. There doesn't
seem to be a single spot to check that works with both XenPVHVM and KVM
instances.
2020-09-09 13:25:48 +00:00
mrg
154bfe8e08 install new libstdc++ pstl headers. remove some dead makefile
code and consolidate some of the header installation.
2020-09-09 07:23:45 +00:00
mrg
949f2e0433 add new /usr/include/g++/pstl for GCC 9. 2020-09-09 06:50:33 +00:00
rillig
1276186758 distrib/sets/fmt-list: add no-action mode
This is useful for finding parse errors only.  Inspired by some entries
that are obsolete and have more than the "obsolete" flag.  There are
only few of these entries though, and they don't seem worth fixing.
2020-09-08 19:11:30 +00:00
rillig
45a9907314 lists/man/mi: remove extraneous space 2020-09-08 19:06:49 +00:00
jmcneill
6a59eace58 Build EFI bootloader on big endian armv7 and aarch64 targets. 2020-09-08 16:39:36 +00:00
martin
e6dd42d44f Add if_iavf 2020-09-08 14:57:32 +00:00
martin
bdb3c472cf Remove if_iavf 2020-09-08 14:55:44 +00:00
martin
3f05a659fd Add if_iavf 2020-09-08 14:53:10 +00:00
christos
cf8329dab9 Add bind test 2020-09-08 14:17:03 +00:00
adam
1575e0afaa Restore libgomp, liblsan, and libstdc++ as GCC-only 2020-09-08 13:01:47 +00:00
martin
fdb483b5a5 Adjust for MOUNTCRITLOCAL -> CRITLOCALMOUNTED rename 2020-09-08 12:52:44 +00:00
yamaguchi
f474b47c56 Added iavf(4) that is based on OpenBSD's iavf(4) implementation
reviewed by msaitoh@n.o and knakahara@n.o
2020-09-08 10:05:47 +00:00
mrg
43051be004 bump image size for pmax64 builds. 2020-09-07 09:05:10 +00:00
mrg
80ab9949eb fix mips and powerpc GCC 9 builds. 2020-09-07 00:19:04 +00:00