Commit Graph

265514 Commits

Author SHA1 Message Date
Jörg Thalheim
a8bc079d6a
phonetisaurus: 2020-07-31 -> 0.9.1 2021-01-23 12:16:55 +01:00
Sander van der Burg
01ea0b5722 s6-linux-init: init at 1.0.6.0 2021-01-23 12:16:41 +01:00
Sander van der Burg
9af95960e2 skawarePackages: 2021-01 release
Maintainer notes
-----
The execline exec function interface changed quite drastically, and
backwards-compatibility to the old functions was dropped in-between
the last release and this one. Thus, downstream code might break.
At the end of this commit message is a compatibility interface.

-----
Release notes
-----

 Hello,

 Happy New Year to everyone!
 New versions of the skarnet.org packages are available.

 This is a major release. The skalibs major version number has been
bumped, which means that compatibility with previous versions is not
ensured. Other packages have been updated to build against the new
skalibs. If they only had their patch number increased, that's all
the modifications they had (save for possible bugfixes); but some
packages also received significant changes and underwent either a major
(compatibility not ensured) or minor (simple additions) release.

 Support for the 2.9.* branch of skalibs, and associated versions of
the other packages, is still ensured for a while, but users are always
strongly encouraged to upgrade.

 * General
   -------

 - Some rarely-triggered build bugs have been fixed.
 - -fno-stack-protector is not part of the default CFLAGS anymore;
stack protector policy now defaults to the compiler's settings.

* skalibs-2.10.0.0
  ----------------

 - Bugfixes.
 - Significant code cleanup.
 - New sysdep: chroot.
 - Lots of new functions, mostly to optimize the number of needed
fcntl() calls at open() time. Traces should generally be marginally
shorter than they were before.
 - Removal of the DJBUNIX_FLAG_NB and DJBUNIX_FLAG_COE macros, replaced
by the POSIX O_NONBLOCK and O_CLOEXEC macros wherever they were used.
 - Removal of the skalibs/webipc.h header, and better header separation.
 - Complete revamping of the pathexec functions, now separated into
exec_* (simple execution) and mexec_* (execution with merging of the
environment first). In true skalibs fashion, there is a little code,
and 3 pages of convenience macros (the exec.h header).
 - Complete rewrite of the locking functions, with a change of
underlying mechanisms. The skalibs locking primitives are now named
fd_lock(), fd_unlock() and fd_islocked().
 The Unix locks primitive space is a horror show. flock() is not
POSIX and does not have a way to test for a lock without taking it.
The POSIX lockf() only has exclusive locks, not shared ones. The least
bad option is fcntl(), which has shared and exclusive locks *and* a way
to check for a lock without taking it, but does not allow taking a
shared lock via a O_WRONLY file descriptor. Of all inconveniences this
is the most minor one, so now skalibs uses fcntl().

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

 * nsss-0.1.0.0
   ------------

 - New --enable-libc-includes configure option. Without this option,
the pwd.h, grp.h and shadow.h headers are not installed anymore, so
by default installing nsss on a FHS system does not overwrite the
libc headers.

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

 * utmps-0.1.0.0
   -------------

 - New --enable-libc-includes configure option. Without this option,
the utmpx.h header is not installed anymore, so by default installing
utmps on a FHS system does not overwrite the libc headers.

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

 * execline-2.7.0.0
   ----------------

 - Bugfixes.
 - The trap program has changed. The "timeout" directive has been
removed; a "default" directive has been added, to handle all signals
for which a specific directive has not been given. Subprograms are
now run with the SIGNAL environment variable set to the signal number
(in addition to ! always being set to the application's pid).
 - The forstdin program has changed. It now exits 0 if it has read at
least one line, and 1 otherwise.
 - The default list of delimiters for backtick, withstdinas, forstdin
and forbacktickx has been set to "\n", so by default those programs
will read and/or split on lines and only lines.
 - The backtick, withstdinas, forstdin, forbacktickx, forx, getpid
and getcwd programs now have a -E option to activate autoimport.
(This saves the user from manually adding "importas var var" after
every use of these programs.)

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

 * s6-2.10.0.0
   -----------

 It is imperative to restart your supervision trees, by rebooting if
necessary, after upgrading s6 to the new version. Otherwise, new s6
binaries interacting with service directories maintained by old
s6-supervise binaries may not work.
 If you are using s6-linux-init, it is necessary to upgrade to the
latest version of s6-linux-init at the same time as s6.

 - Bugfixes.
 - Significant code refactoring.
 - The internal locking system of service directories has changed,
allowing for a cleaner permissions model and official support of
relaxed permissions.
 - New binary to implement those relaxed permissions: s6-svperms.
 - The "nosetsid" file is not supported anymore in service directories.
Services are now always started in a new session.
 - s6-supervise now traps SIGINT: before dying, it sends a SIGINT to its
service's process group. This allows correct transmission of ^C when a
supervision tree is running in a terminal, even though every service
runs in its own session.
 - s6-svc -X doesn't exist anymore. s6-supervise now always closes stdin
and stdout on the last execution of the service.
 - The semantics of SIGHUP and SIGQUIT have changed for s6-supervise.
 - The set of commands sent by s6-svscanctl and received by s6-svscan
has been cleaned up and made more logical.
 - When told to exit normally (typically via s6-svscanctl -t), s6-svscan
now first waits for the whole supervision tree to die. The
.s6-svscan/finish script can now assume that all services are completely
down. (s6-svscanctl -b is an exception; it should not be used in normal
circumstances.)
 - The -s and -S options to s6-svscan are not supported anymore. Signal
management in s6-svscan has been streamlined: signals have a default
handler that can be overridden by a corresponding executable
.s6-svscan/SIGfoo file.
 - Default signal handlers for s6-svscan have more intuitive semantics.
 - New binary to help with management of user-owned supervision trees:
s6-usertree-maker.

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

s6 now has man pages! Thanks to flexibeast for performing the conversion

work. Please allow some time for the man pages to be updated to reflect
the current HTML documentation. The repository can be found here:

 https://github.com/flexibeast/s6-man-pages

 * s6-linux-init-1.0.6.0
   ---------------------

 It *is necessary* to upgrade s6-linux-init at the same time as s6.
 It *is recommended*, although not strictly necessary, to create your
run-image directory again via a s6-linux-init-maker invocation. Old
images will still boot, as long as you are using an upgraded version
of s6-linux-init; but they may incorrectly handle signals sent to init,
so for instance Ctrl-Alt-Del may not work anymore, until you run
s6-linux-init-maker again.

 - New internal binary: s6-linux-init-nuke. This program is not meant
to be invoked by users directly: it simply removes a dependency to the
'kill' program in a rare case involving containers.

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

 * s6-dns-2.3.4.0
   --------------

 - New library function: s6dns_message_parse_question().

 https://skarnet.org/software/s6-dns/
 git://git.skarnet.org/s6-dns

 * s6-networking-2.4.0.0
   ---------------------

 - Important refactoring of the tls code. The crypto tunnel now runs
as a child of the application, instead of the other way around. It is
now isolated in a s6-tls[cd]-io binary; s6-tlsc is now a simple wrapper
around s6-tlsc-io, and s6-tlsd is a simple wrapper around s6-tlsd-io.
 - New binaries: s6-ucspitlsc and s6-ucspitlsd. Those implement
opportunistic TLS via the UCSPI-TLS protocol.
 - The -K option to the tls binaries has changed semantics: it now
enforces a timeout for the handshake instead of dropping the connection
after some inactivity. Note that this option is only useful with the
bearssl backend: the libtls backend always performs a synchronous
handshake, with no way of interrupting it after a timeout expires.
 - The execline dependency is now optional. Disabling execline, however,
changes the behaviour of s6-tcpserver-access (which cannot support
exec files without it).

 https://skarnet.org/software/s6-networking/
 git://git.skarnet.org/s6-networking

 It is now possible to build the s6-networking package against OpenSSL
instead of LibreSSL, thanks to the libretls project:
 https://git.causal.agency/libretls/about/

 * mdevd-0.1.3.0
   -------------

 - New -C option to the mdevd program. This option makes mdevd
automatically spawn a mdevd-coldplug program when it's ready, allowing
mdevd to be used as a drop-in mdev -d replacement. (Note that the
coldplug is also performed if mdevd restarts after being killed, so
this feature should not be used in place of a proper service startup
sequence with a mdevd-coldplug oneshot depending on the mdevd longrun.
It has only been added for convenience.)

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

 * Other packages
   --------------

 The following packages have received an update so they build with the

latest version of skalibs and other dependencies, but nothing has changed

except possibly some bugfixes, and hopefully not too many bug additions.

 - s6-rc-0.5.2.1. (It is not necessary to recompile your service
database. However, it is necessary to upgrade s6-rc along with s6, and
to reboot the system ASAP after upgrading.)
 - s6-portable-utils-2.2.3.1
 - s6-linux-utils-2.5.1.4
 - bcnm-0.0.1.2

 Enjoy,
 Bug-reports welcome.

--
 Laurent

-----
execline compat interface
-----

    /* Compatibility */

    #define pathexec_run(file, argv, envp) exec_ae(file, argv, envp)
    #define pathexec0_run(file, argv, envp) exec0_ae(file, argv, envp)
    #define xpathexec_run(file, argv, envp) xexec_ae(file, argv, envp)
    #define xpathexec0_run(file, argv, envp) xexec0_ae(file, argv, envp)

    #define pathexec_env(key, value) env_mexec(key, value)
    #define pathexec_fromenv(argv, envp, envlen) mexec_f(argv, envp, envlen)
    #define pathexec(argv) mexec(argv)
    #define pathexec0(argv) mexec0(argv)
    #define xpathexec_fromenv(argv, envp, envlen) xmexec_f(argv, envp, envlen)
    #define xpathexec(argv) xmexec(argv)
    #define xpathexec0(argv) xmexec0(argv)

    #define pathexec_r_name(file, argv, envp, envlen, modif, modiflen) mexec_afm(file, argv, envp, envlen, modif, modiflen)
    #define pathexec_r(argv, envp, envlen, modif, modiflen) mexec_fm(argv, envp, envlen, modif, modiflen)
    #define xpathexec_r_name(file, argv, envp, envlen, modif, modiflen) xmexec_afm(file, argv, envp, envlen, modif, modiflen)
    #define xpathexec_r(argv, envp, envlen, modif, modiflen) xmexec_fm(argv, envp, envlen, modif, modiflen)

    #endif

copied from 18e4356557 (diff-69efbe5d997280a1430a6af2fa38e3f5105e706076a26fc751885c505ca598c6R140)
2021-01-23 12:16:41 +01:00
Michael Weiss
86897c8f63
nixos/tests/chromium: Fix another potential race condition
The create_new_win() function could open multiple windows when used
incorrectly. This change makes sure that a new window will only be
created if the main window could be selected successfully.

This also ignores the out return values as they're never used.
2021-01-23 12:15:56 +01:00
Pavol Rusnak
a6f6f739c8
Merge pull request #109655 from prusnak/stdenv-lib-mobile
pkgs/development/mobile: stdenv.lib -> lib
2021-01-23 12:11:03 +01:00
Michael Weiss
fac05ac695
chromium: Don't set "channel" in the environment
The "channel" variable shouldn't be part of the final derivation. This
also makes it possible to avoid unnecessary rebuilds for identical
channels (e.g. major updates are tested via the "beta" channel first and
usually neither the source-code archive nor the dependencies change when
the update makes it into the "stable" channel - this means we could
better use chromiumBeta to test major updates in advance).
2021-01-23 11:54:11 +01:00
Jörg Thalheim
f6a583eeec
Merge pull request #110465 from siraben/development-compilers-stdenv-lib
pkgs/development/compilers: stdenv.lib -> lib
2021-01-23 10:07:31 +00:00
Sandro
3698438873
Merge pull request #110572 from doronbehar/stdenv/no-stdenv.lib
treewide: Remove usages of stdenv.lib by @doronbehar
2021-01-23 10:43:20 +01:00
Doron Behar
f9c6e07c67 treewide: Remove usages of stdenv.lib by @doronbehar
Per: https://github.com/NixOS/nixpkgs/issues/108938
2021-01-23 10:52:19 +02:00
Frederik Rietdijk
4affc40a50 sqlite: test sqlalchemy when updating
This is an important Python package that should keep functioning on an
upgrade.
2021-01-23 08:35:54 +01:00
Jörg Thalheim
103dfe655e
Merge pull request #109722 from euank/libvirt-ebtables-iptables
libvirt: don't use iptables-nftables
2021-01-23 07:29:31 +00:00
Stig
b8c3cd1318
Merge pull request #110321 from stigtsp/package/perl-5.33.6
perldevel: 5.33.5 -> 5.33.6, perl-cross: b444794 -> 4c55233
2021-01-23 03:17:03 +01:00
Stig
63333a977f
Merge pull request #110298 from stigtsp/perl/remove-parallel-building-patch
perl: remove obsolete parallel building patch
2021-01-23 03:02:49 +01:00
Ben Siraphob
acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
Stig
c52a11e741
Merge pull request #110389 from tnias/usbguard_test_pr
nixos/tests/usbguard: init
2021-01-23 02:50:50 +01:00
zowoq
f8013960c6 minikube: 1.16.0 -> 1.17.0
https://github.com/kubernetes/minikube/releases/tag/v1.17.0
2021-01-23 11:31:36 +10:00
Stig
2bc16b381e
Merge pull request #110440 from zakame/updates/perl-IO-Async-0.78
perlPackages.IOAsync: 0.77 -> 0.78
2021-01-23 02:10:48 +01:00
Mario Rodas
4766c5e8be
Merge pull request #110510 from r-ryantm/auto-update/nfpm
nfpm: 2.2.2 -> 2.2.3
2021-01-22 19:57:34 -05:00
Mario Rodas
d65c354710
Merge pull request #110528 from r-ryantm/auto-update/pgmetrics
pgmetrics: 1.10.3 -> 1.10.5
2021-01-22 19:57:04 -05:00
Zak B. Elep
79ff3de8a5 perlPackages.IOAsync: 0.77 -> 0.78 2021-01-23 08:33:41 +08:00
Philipp Bartsch
b912846267 nixos/tests/usbguard: init 2021-01-23 01:19:11 +01:00
Ryan Mulligan
dbc7805691
Merge pull request #110527 from r-ryantm/auto-update/pg_tileserv
pg_tileserv: 1.0.4 -> 1.0.5
2021-01-22 15:40:54 -08:00
Florian Klink
e1c86b9a1d
Merge pull request #110293 from pjjw/python-extension-musl-fix
cpython: fix extensions when using a musl toolchain
2021-01-23 00:23:24 +01:00
Florian Klink
994e221f16
Merge pull request #106988 from drewrisinger/dr-pr-qemu-bump
qemu: 5.1.0 -> 5.2.0
2021-01-23 00:20:06 +01:00
Peter Woodman
858eebe1f9 cpython: fix extensions when using a musl toolchain 2021-01-22 23:56:19 +01:00
Euan Kemp
f0b1cdb189 libvirt: don't use iptables-nftables
Per a comment on the PR that made this change, it turns out to cause
issues in some cases: https://github.com/NixOS/nixpkgs/pull/109332#issuecomment-762005163

For now, let's revert back. Presumably the issues derive from the system
iptables not matching libvirt's iptables.

In the future, #81172 should move us back into the future, and I'm
perfectly fine waiting for that PR to handle this separately.
2021-01-22 22:44:20 +00:00
Maximilian Bosch
c6d4197e4f
Merge pull request #110283 from r-ryantm/auto-update/docker-compose
docker-compose: 1.27.4 -> 1.28.0
2021-01-22 23:25:29 +01:00
Maximilian Bosch
3d4ee7c660
Merge pull request #110344 from ilian/u/reaper
reaper: 6.19 -> 6.20
2021-01-22 23:23:49 +01:00
Maximilian Bosch
cf3130641a
Merge pull request #110097 from r-ryantm/auto-update/mdbook
mdbook: 0.4.5 -> 0.4.6
2021-01-22 23:15:03 +01:00
Robert Schütz
c173f673ed pythonPackages.hbmqtt: disable on Python 3.9
See https://github.com/beerfactory/hbmqtt/issues/223.
2021-01-22 14:11:34 -08:00
Robert Schütz
8c1ce4ec70 pythonPackages.transitions: 0.8.5 -> 0.8.6 2021-01-22 14:11:34 -08:00
Jonathan Ringer
0bc275e634
Revert "lib: Clean up how linux and gcc config is specified"
This is a stdenv-rebuild, and should not be merged
into master

This reverts commit 8929989614.
2021-01-22 14:07:06 -08:00
Maximilian Bosch
2e5475381b
Merge pull request #110049 from r-ryantm/auto-update/libfilezilla
libfilezilla: 0.25.0 -> 0.26.0
2021-01-22 23:06:28 +01:00
Michele Guerini Rocco
1bf54f0770
Merge pull request #110449 from matthiasbeyer/update-mutt
mutt: 2.0.4 -> 2.0.5
2021-01-22 23:00:33 +01:00
Ryan Mulligan
ffdc2886fa
Merge pull request #110498 from r-ryantm/auto-update/matrix-corporal
matrix-corporal: 2.0.1 -> 2.1.0
2021-01-22 13:57:19 -08:00
Maximilian Bosch
7c0db07752
Merge pull request #110297 from bbigras/feh
feh: 3.6.1 -> 3.6.2
2021-01-22 22:18:26 +01:00
Maximilian Bosch
e47aca4524
Merge pull request #110373 from r-ryantm/auto-update/bingrep
bingrep: 0.8.2 -> 0.8.5
2021-01-22 22:14:39 +01:00
Maximilian Bosch
932d8850c8
Merge pull request #110372 from bbigras/httplz
httplz: dropping maintainership
2021-01-22 22:09:10 +01:00
Martin Weinelt
c245e9d2ff
Merge pull request #110530 from mweinelt/python-mpd
python3Packages.mpd2: 3.0.2 -> 3.0.3
2021-01-22 21:37:49 +01:00
Ryan Mulligan
406a590802
Merge pull request #110503 from r-ryantm/auto-update/mlkit
mlkit: 4.5.2 -> 4.5.6
2021-01-22 12:34:56 -08:00
Jörg Thalheim
fa521222a4
Merge pull request #110511 from r-ryantm/auto-update/nix-direnv
nix-direnv: 1.2 -> 1.2.1
2021-01-22 20:17:31 +00:00
John Ericson
d95aebbe0e
Merge pull request #107214 from Ericson2314/linux-config-cleanup
lib: Clean up how linux and gcc config is specified
2021-01-22 15:15:58 -05:00
Martin Weinelt
b4f60bfcac
python3Packages.mpd2: add hexa to maintainers 2021-01-22 21:14:54 +01:00
Peter Simons
412a9e7d7c all-cabal-hashes: update to Hackage at 2021-01-22T18:56:49Z 2021-01-22 20:43:02 +01:00
Peter Simons
7cb633be79
Merge pull request #109474 from NixOS/haskell-updates
Update Haskell package set to Stackage Nightly 2021-01-20 (plus other fixes)
2021-01-22 20:36:24 +01:00
Malte Brandy
952ebcf65f haskellPackages.haskell-language-server: Fixing build
by pinning apply-refact
2021-01-22 20:34:28 +01:00
Peter Simons
d07ff60c02 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.16.0-9-ga573266 from Hackage revision
61c759fc79.
2021-01-22 20:34:22 +01:00
Peter Simons
c3792f6cdd Consistently use 'lib' instead of 'stdenv.lib' in the Haskell infrastructure.
Part of https://github.com/NixOS/nixpkgs/issues/108938.
2021-01-22 20:34:21 +01:00
Malte Brandy
71e660bb8d haskellPackages.universe-dependent-sum: Remove broken flag 2021-01-22 20:34:21 +01:00
Peter Simons
4a8f6f4230 hnix-store-core: add missing test dependency by way of override
See https://github.com/haskell-nix/hnix-store/issues/127.
2021-01-22 20:34:21 +01:00