Re: [announce] skarnet.org Summer 2022 release

2022-06-15 Thread Alexis



And the new releases in the man page repos:

* 
 https://github.com/flexibeast/execline-man-pages/releases/tag/v2.9.0.0.1


* 
 https://github.com/flexibeast/s6-man-pages/releases/tag/v2.11.1.1.1


* 
 https://github.com/flexibeast/s6-networking-man-pages/releases/tag/v2.5.1.1.1


* 
 https://github.com/flexibeast/s6-portable-utils-man-pages/releases/tag/v2.2.5.0.1



Alexis.


[announce] skarnet.org Summer 2022 release

2022-06-14 Thread Laurent Bercot



 Hello,

 New versions of some skarnet.org packages are available.

 skalibs has undergone a major update, mostly to yet again revamp
librandom. This time I am happy with the API and implementation: I 
believe

it finally addresses all the cases in a satisfying way, providing cross-
platform failure-free pseudorandom number generation with options to 
choose

between waiting until the entropy pool has been initialized and possibly
getting less cryptographically secure data if the entropy pool is too
shallow. It wasn't easy to design; it's here at last.

 Compatibility with previous skalibs version is not assured, but apart
from librandom, and one additional function, no other interface has been
modified, so the compatibility breaks are minimal and a lot of software
will still build with this version without needing any modification.

 Most of the rest of the skarnet.org software stack has undergone at 
least
a release bump, in order to build with the new skalibs; a large part of 
it

has also received some changes and fixes. Some packages did not need
changing at all: no release is provided for these, they should keep 
building

with the new stack.

 execline comes with a quality-of-life parser change: backslashes at the
end of lines are now ignored, which makes it possible to directly copy
some multiline commands from shell scripts.

 s6-linux-utils comes with a new utility, rngseed, which is an original
implementation of Jason Donenfeld's seedrng[1]. This is the work that
made it necessary to get librandom right once and for all. With rngseed,
no Linux system should ever have uninitialized entropy pool problems 
ever

again.

 The new versions are the following:

skalibs-2.12.0.0  (major)
utmps-0.1.2.0 (minor)
execline-2.9.0.0  (major)
s6-2.11.1.1   (release)
s6-rc-0.5.3.2 (release)
s6-linux-init-1.0.8.0 (minor)
s6-portable-utils-2.2.5.0 (minor)
s6-linux-utils-2.6.0.0(major)
s6-dns-2.3.5.4(release)
s6-networking-2.5.1.1 (release)
mdevd-0.1.5.2 (release)
dnsfunnel-0.0.1.4 (release)

 Details of some of these package changes follow.


* skalibs-2.12.0.0
  

 - librandom rewritten. random_init and random_finish functions removed.
The new random_buf function, which replaces random_strin), never fails.
It blocks if the entropy pool is not initialized; the new 
random_buf_early

function is the same, but does not block. random_devurandom is now
exported, but should not be needed except in very specific cases 
(rngseed).

 - New functions added: waitn_posix and waitn_reap_posix, openc*_at.
 - readnclose is now exported.
 - openreadnclose_at() now returns an ssize_t, aligning with 
openreadnclose().
You should check your code for any use of openreadnclose_at(), and adapt 
it
to the new API. (Previously it returned a size_t and the user was 
supposed
to assume an error if it didn't fill the entire length of the buffer. 
Now

errors are reported with -1.)
 - Endianness conversion primitives reworked. The nonportability of 
endian.h
and bswap has always been a pain point; the new portable functions in 
skalibs
should now be just as efficient as the system-dependent endian.h 
functions.

 - Added an implementation of the blake2s hash.

 https://skarnet.org/software/skalibs/
 git://git.skarnet.org/skalibs


* utmps-0.1.2.0
  -

 - Nothing to do with the new skalibs; utmps-0.1.2.0 has been available 
for

a while, but was never properly announced. The main feature is that
utmps-wtmpd can now take an argument naming its database file. This is
useful for implementing btmp, one of the numerous idiosyncrasies of 
historic

Linux software.

 https://skarnet.org/software/utmps/
 git://git.skarnet.org/utmps


* execline-2.9.0.0
  

 - Bugfixes.
 - The execlineb parser has been rewritten and its transition table is 
now

documented.
 - The wait command can now wait for *one* of the listed processes, in
addition to its original capability of waiting for *all* of them. It can
also stop waiting after a timeout. The new features can be used even 
when

wait is used in posix mode.

 https://skarnet.org/software/execline/
 git://git.skarnet.org/execline


* s6-linux-init-1.0.8.0
  -

 - The system scandir is now configurable at compile-time via the
--scandir configure option. It is a relative path under the tmpfsdir.
The default is still "service", for a /run/service default scandir.

 https://skarnet.org/software/s6-linux-init/
 git://git.skarnet.org/s6-linux-init


* s6-portable-utils-2.2.5.0
  -

 - s6-test now understands the =~ operator, matching its left argument
against an extended regular expression given as its right argument (this
is originally a GNU bash extension to test).

 https://skarnet.org/software/s6-portable-utils/
 git://git.skarnet.org/s6-portable-utils


* s6-linux-utils-2.6.0.0
  --

 - New command: