Commit Graph

16397 Commits

Author SHA1 Message Date
riastradh
25154f5f0c Clarify wg(4)'s relation to WireGuard, pending further discussion.
Still planning to replace wgconfig(8) and wg-keygen(8) by one wg(8)
tool compatible with wireguard-tools; update wg(4) for the minor
changes from the 2018-06-30 spec to the 2020-06-01 spec; &c.  This just
clarifies the current state of affairs as it exists in the development
tree for now.

Mark the man page EXPERIMENTAL for extra clarity.
2020-08-26 16:03:40 +00:00
riastradh
e96b516f47 Restore obsolete entries for make's modorder tests.
These tests were removed a week ago, but their set list entries were
removed rather than marked obsolete.
2020-08-24 18:41:22 +00:00
martin
dec88ece21 Backout previous, commiter was dazed and confused 2020-08-24 18:22:30 +00:00
martin
1247dfe5c0 Add modorder* make unit test files 2020-08-24 18:18:51 +00:00
rillig
482afa8a7b make(1): add tests for numeric comparisons in .if directives 2020-08-23 13:50:17 +00:00
rillig
95cca86b4e make(1): add test for the newly added .SHELL variable 2020-08-23 09:18:25 +00:00
rillig
526dac9499 make(1): add test for expanding wildcards in directories
This test covers DirExpandInt.
2020-08-22 21:55:54 +00:00
rillig
e980b3204c make(1): add test for assigning to the variable named ""
This has been possible at least since 2013, probably much longer.
2020-08-22 20:23:14 +00:00
rillig
78b4692a94 make(1): add test for deferred variable expansion in dependencies 2020-08-22 16:51:25 +00:00
rillig
6c388b1dca make(1): add test for the special "..." in shell commands 2020-08-22 11:27:02 +00:00
rillig
49fef3ca66 make(1): add test for combining :: and .USEBEFORE 2020-08-22 08:29:13 +00:00
riastradh
0252686c58 Fill out WireGuard man pages. 2020-08-20 21:35:59 +00:00
riastradh
61fd7d67f5 [ozaki-r] Add wg files 2020-08-20 21:28:00 +00:00
rillig
001513ee3c make(1): add test for parsing functions in .if conditions 2020-08-20 17:45:46 +00:00
nakayama
ffe8239bf9 Quoted from the top of the file:
# Note: don't delete entries from here - mark them as "obsolete" instead.
2020-08-18 07:13:59 +00:00
perseant
c7e481e284 Add skipped test for in-kernel roll-forward agent 2020-08-18 03:02:50 +00:00
rillig
94b00ca35c make(1): move tests for the :Ox modifier into separate file
The test has been extended by ensuring that the shuffled words are still
the same.  Comparing two shuffled lists is probabilistic, but comparing
their sorted results is not, therefore that's completely sensible to do.

When writing this test, by coincidence I discovered how to generate the
"Undefined variable" error message.  Unfortunately, the error message is
wrong since the variable NUMBERS is defined at that point.  In summary,
that error message is shown when it shouldn't, and when it should it is
not shown.  Still, I'm glad that I finally found it.
2020-08-16 20:43:01 +00:00
rillig
54a8ac11f2 make(1): move tests for the :M modifier into separate files
The test for the different escaping has been adjusted to actually show
the different parsing results in the test output.  To do this, it had to
get its own file since it needs the -dv debug flag and specialized
post-processing.
2020-08-16 20:03:52 +00:00
rillig
d126d9d551 make(1): add dummies for fine-grained tests, one per single feature
The test names have been derived from the current manual page.

All these tests are dummies right now, and the code from the existing
tests will be moved into the new tests step by step.

This is done to prevent modmisc, escape, varmod-edge and varmisc from
growing without any bounds, and to reduce the side-effects of one test
to the others.
2020-08-16 12:07:50 +00:00
mrg
5f6277270e bump image from 3000k to 3.5M. thanks, time. 2020-08-16 11:43:36 +00:00
isaki
76c2ed7cdd Replace boot_ustar with xxboot_ustarfs.
The old boot_ustar had many hard coding and was small(<1KB).
The new xxboot_ustarfs is a part of integrated larger(<8KB) xxboot.
We had to maintain three similar but not the same bootloaders, but
now we have two!
2020-08-16 07:03:45 +00:00
riastradh
bdad8b2721 New system call getrandom() compatible with Linux and others.
Three ways to call:

getrandom(p, n, 0)              Blocks at boot until full entropy.
                                Returns up to n bytes at p; guarantees
                                up to 256 bytes even if interrupted
                                after blocking.  getrandom(0,0,0)
                                serves as an entropy barrier: return
                                only after system has full entropy.

getrandom(p, n, GRND_INSECURE)  Never blocks.  Guarantees up to 256
                                bytes even if interrupted.  Equivalent
                                to /dev/urandom.  Safe only after
                                successful getrandom(...,0),
                                getrandom(...,GRND_RANDOM), or read
                                from /dev/random.

getrandom(p, n, GRND_RANDOM)    May block at any time.  Returns up to n
                                bytes at p, but no guarantees about how
                                many -- may return as short as 1 byte.
                                Equivalent to /dev/random.  Legacy.
                                Provided only for source compatibility
                                with Linux.

Can also use flags|GRND_NONBLOCK to fail with EWOULDBLOCK/EAGAIN
without producing any output instead of blocking.

- The combination GRND_INSECURE|GRND_NONBLOCK is the same as
  GRND_INSECURE, since GRND_INSECURE never blocks anyway.

- The combinations GRND_INSECURE|GRND_RANDOM and
  GRND_INSECURE|GRND_RANDOM|GRND_NONBLOCK are nonsensical and fail
  with EINVAL.

As proposed on tech-userlevel, tech-crypto, tech-security, and
tech-kern, and subsequently adopted by core (minus the getentropy part
of the proposal, because other operating systems and participants in
the discussion couldn't come to an agreement about getentropy and
blocking semantics):

https://mail-index.netbsd.org/tech-userlevel/2020/05/02/msg012333.html
2020-08-14 00:53:15 +00:00
christos
c9979bce58 new openldap.h 2020-08-11 13:19:15 +00:00
rillig
c0e93ee0a8 make(1): add test for .USE combined with inference rule without commands
Discovered by christos.
2020-08-09 16:32:28 +00:00
rillig
0a54428996 make(1): add test for non-obvious .MAKE.EXPORTED edge case 2020-08-09 12:59:16 +00:00
rillig
98f2f3e4fd make(1): add test for exporting variables 2020-08-07 19:24:27 +00:00
snj
61057d564f s/developement/development/ 2020-08-07 00:43:47 +00:00
snj
036ace7152 fix typo.
new sentence, new line.
2020-08-07 00:27:11 +00:00
rillig
4d4fd97a93 make(1): add test for unintended "recursive variable" in -dL mode 2020-08-06 05:36:32 +00:00
jmcneill
4f13f64982 Add support for EC2 and resize root to AMD64 live images. 2020-08-05 01:35:18 +00:00
christos
fffaea8800 bump bind9 libs 2020-08-03 17:30:17 +00:00
christos
3293ee94c7 Make bind-9 arm obsolete for now since we lack the tools in base to build it. 2020-08-03 17:26:13 +00:00
rillig
35fd6fe173 make(1): in lint mode, disallow dynamic variable names in :@ modifier
This is an extremely obscure feature that hopefully nobody ever
considered using.
2020-08-03 15:43:31 +00:00
rillig
e2ff37d040 make(1): add test for nested VAR_SUBST assignments 2020-08-02 14:53:01 +00:00
rillig
ed8690bbc2 make(1): add test for braces in dependency lines
The comment at DirExpandCurly says something about "recursively", but the
nested braces don't work.

The manual page only mentions that "{} may be used", but it keeps quiet
about the exact meaning and also doesn't mention any nesting.
2020-07-31 16:42:51 +00:00
rillig
b12a565098 make(1): add test for setting .OBJDIR via the command line 2020-07-28 22:44:44 +00:00
rillig
1417e3eec0 make(1): add tests for parsing directives like .if and .info 2020-07-27 20:46:17 +00:00
rillig
05105f4250 make(1): add very basic test for archive handling
The whole code in arch.c had been uncovered by tests before.

The code coverage shows that neither the archive name nor the member
contain any $, even though archive.mk looks like it.  It could be
necessary to place the variable assignments below the dependency line,
to force late evaluation.
2020-07-27 18:51:03 +00:00
rillig
4c360672c6 make(1): add test for off-by-one error in Var_Parse 2020-07-26 22:15:36 +00:00
nia
afd659dfcd replace KDE with a desktop that's actually current in pkgsrc 2020-07-26 18:53:50 +00:00
christos
df1af03d3a extattr.3 is obsolete 2020-07-26 18:11:43 +00:00
jdolecek
6b6d7b2ff3 add rudimentary wwanc(4) manpage 2020-07-26 15:13:09 +00:00
riastradh
ddd4654428 Another /usr/libdata/usr/tests/sys/crypto/chacha set list entry.
(Why do we need this here _and_ in debug/mi?)
2020-07-26 14:22:22 +00:00
jmcneill
e18ed6ff5c Remove Arm OABI -> EABI change notice 2020-07-26 11:05:39 +00:00
jmcneill
8fcd3028c3 ARM -> Arm 2020-07-26 11:00:28 +00:00
jmcneill
32bd1eb491 Remove duplicate word 2020-07-26 10:58:59 +00:00
jmcneill
5c3f3fd6a3 List all supported Amlogic SoCs 2020-07-26 10:58:27 +00:00
jmcneill
74a4a39d4f Add i.MX8MQ 2020-07-26 10:55:36 +00:00
jmcneill
b136bcde77 ThunderX is covered by SBBR+SBSA 2020-07-26 10:52:17 +00:00
jmcneill
60b4f060be Add BCM2711 2020-07-26 10:51:57 +00:00