Commit graph

66892 commits

Author SHA1 Message Date
Maxime Devos
520bac7ed0
services: Prevent following symlinks during activation.
This addresses a potential security issue, where a compromised
service could trick the activation code in changing the permissions,
owner and group of arbitrary files.  However, this patch is
currently only a partial fix, due to a TOCTTOU (time-of-check to
time-of-use) race, which can be fixed once guile has bindings
to openat and friends.

Fixes: <https://lists.gnu.org/archive/html/guix-devel/2021-01/msg00388.html>

* gnu/build/activation.scm: new procedure 'mkdir-p/perms'.
* gnu/services/authentication.scm
  (%nslcd-activation, nslcd-service-type): use new procedure.
* gnu/services/cups.scm (%cups-activation): likewise.
* gnu/services/dbus.scm (dbus-activation): likewise.
* gnu/services/dns.scm (knot-activation): likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-03-10 18:01:47 +01:00
Ludovic Courtès
1a1d0fe505
gnu: hwloc: Update to 2.4.1.
* gnu/packages/mpi.scm (hwloc-2): Update to 2.4.1.  Adjust URL.
2021-03-10 18:01:47 +01:00
Mathieu Othacehe
c1baf9b824
gnu: cuirass: Update to 0.0.1-76.5f830da.
* gnu/packages/ci.scm (cuirass): Update to 0.0.1-76.5f830da.
2021-03-10 16:41:42 +01:00
Nicolas Goaziou
efed8e6cb9
gnu: python-pikepdf: Update to 2.8.0.post2.
* gnu/packages/python-xyz.scm (python-pikepdf): Update to 2.8.0.post2.
2021-03-10 16:03:27 +01:00
Mathieu Othacehe
c260aff63e
gnu: cuirass: Update to 0.0.1-75.94a7f87.
* gnu/packages/ci.scm (cuirass): Update to 0.0.1-75.94a7f87.
2021-03-10 16:01:36 +01:00
Mathieu Othacehe
6bed29b798
gnu: guix: Update to 1.2.0-15.f8953be.
* gnu/packages/package-management.scm (guix): Update to 1.2.0-15.f8953be.
2021-03-10 14:25:05 +01:00
Mathieu Othacehe
f8953bea85
gnu: cuirass: Update to 0.0.1-74.c8051f3.
* gnu/packages/ci.scm (cuirass): Update to 0.0.1-74.c8051f3.
2021-03-10 13:59:44 +01:00
Léo Le Bouter
e5f89570c1
gnu: mongodb: Update to 3.4.24 [security fixes].
* gnu/packages/patches/mongodb-support-unknown-linux-distributions.patch:
Remove patch.
* gnu/local.mk (dist_patch_DATA): Ditto.
* gnu/packages/databases.scm (mongodb): Update to 3.4.24.
[source]: Drop patch. Update third_party libs folder names.
2021-03-10 13:03:12 +01:00
Léo Le Bouter
fdf82830d4
gnu: mysql: Update to 5.7.33 [security fixes].
* gnu/packages/databases.scm (mysql): Update to 5.7.33.
2021-03-10 12:22:55 +01:00
Lars-Dominik Braun
999a1cba54
gnu: python-sanic: Update to 20.12.2.
* gnu/packages/python-web.scm (python-sanic) [version]: Update to 20.12.2.
[arguments]: Relax dependency versions.
[native-inputs]: Add python-pytest-asyncio.
[home-page]: Update.
[synopsis]: Remove Python version.
[description]: Ditto.
2021-03-10 12:01:50 +01:00
Lars-Dominik Braun
955fcf0a19
gnu: python-pytest-sanic: Update to 1.7.0.
* gnu/packages/python-check.scm (python-pytest-sanic) [version]: Update to
1.7.0.
[propagated-inputs]: Replace python-aiohttp with python-httpx and add
python-websockets.
2021-03-10 12:01:49 +01:00
Lars-Dominik Braun
548d0ddd7f
gnu: python-aiofiles: Update to 0.6.0.
* gnu/packages/python-xyz.scm (python-aiofiles): Update to 0.6.0.
2021-03-10 12:01:48 +01:00
Lars-Dominik Braun
d58a7b45cd
gnu: python-ujson: Update to 4.0.2.
* gnu/packages/python-xyz.scm (python-ujson): Update to 4.0.2.
2021-03-10 12:01:47 +01:00
Lars-Dominik Braun
e7a3ae1e85
gnu: python-tortoise-orm: Update to 0.16.21.
* gnu/packages/databases.scm (python-tortoise-orm) [version]: Update to 0.16.21.
[arguments]: Relax version requirements.
2021-03-10 12:01:46 +01:00
Lars-Dominik Braun
281fd9ad71
gnu: python-aiosqlite: Update to 0.17.0.
* gnu/packages/databases.scm (python-aiosqlite) [version]: Update to 0.17.0.
[arguments]: Run tests.
[propagated-inputs]: Add python-typing-extensions.
2021-03-10 12:01:45 +01:00
Lars-Dominik Braun
f73ee73da7
gnu: python-pypika: Update to 0.47.6.
* gnu/packages/databases.scm (python-pypika): Update to 0.47.6.
2021-03-10 12:01:43 +01:00
Lars-Dominik Braun
b431840cbe
gnu: python-aiounittest: Update to 1.4.0.
* gnu/packages/check.scm (python-aiounittest) [version]: Update to 1.4.0.
[source]: Switch to git repository.
[arguments]: Run notetests.
[propagated-inputs]: Add python-wrapt.
2021-03-10 12:01:42 +01:00
Lars-Dominik Braun
38b0c64d7b
gnu: python-shouldbe: Remove.
Unmaintained upstream and its only dependent (python-gssapi) dropped it.

* gnu/packages/patches/python-shouldbe-0.1.2-cpy3.8.patch: Remove.
* gnu/local.mk: Drop patch file.
* gnu/packages/python-xyz.scm (python-shouldbe): Remove.
2021-03-10 12:01:41 +01:00
Lars-Dominik Braun
714465ec7c
gnu: python-asyncssh: Update to 2.5.0.
* gnu/packages/ssh.scm (python-asyncssh): Update to 2.5.0.
2021-03-10 12:01:40 +01:00
Lars-Dominik Braun
9a05af61ac
gnu: python-gssapi: Update to 1.6.12.
* gnu/packages/python-xyz.scm (python-gssapi) [version]: Update to 1.6.12.
[arguments]: Tests have been fixed upstream, remove.
[native-inputs]: python-shouldbea is not required any more, remove.
2021-03-10 12:01:35 +01:00
Léo Le Bouter
70128b8afa
gnu: cyrus-sasl: Fix CVE-2019-19906.
* gnu/packages/patches/cyrus-sasl-CVE-2019-19906.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/cyrus-sasl.scm (cyrus-sasl/fixed): New variable. Apply patch.
(cyrus-sasl)[replacement]: Graft.
2021-03-10 11:51:09 +01:00
Raghav Gururajan
fb4ccb86c2
gnu: gajim: Update to 1.3.1.
* gnu/packages/messaging.scm (gajim): Update to 1.3.1.
[arguments]: Modify custom 'disable-failing-tests phase.
2021-03-10 12:22:42 +02:00
Simon South
e6cd049e2f
gnu: sdcc: Update to 4.1.0.
* gnu/packages/embedded.scm (sdcc): Update to 4.1.0.
* gnu/packages/patches/sdcc-disable-non-free-code.patch: Update to match new
version.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-03-10 12:22:42 +02:00
Léo Le Bouter
47ce29666b
gnu: botan: Update to 2.17.3 [fixes CVE-2021-24115].
* gnu/packages/crypto.scm (botan): Update to 2.17.3.
[arguments]: Add 'library-path-for-tests phase to fix 'check phase by setting
LD_LIBRARY_PATH to intermediate build directory so tests can find libbotan.
2021-03-10 11:20:08 +01:00
Léo Le Bouter
f7fdafeff5
gnu: zziplib: Update to 0.13.72 [security fixes].
Non-exhaustively, fixes CVE-2018-16548 and CVE-2018-17828.

* gnu/packages/compression.scm (zziplib/fixed): New variable.
(zziplib)[replacement]: Graft.
2021-03-10 10:59:12 +01:00
Guillaume Le Vaillant
b8e71b390d
gnu: Add unixcw.
* gnu/packages/radio.scm (unixcw): New variable.
2021-03-10 10:54:56 +01:00
Guillaume Le Vaillant
e212f32dce
gnu: Add aldo.
* gnu/packages/radio.scm (aldo): New variable.
2021-03-10 10:54:56 +01:00
Raghav Gururajan
f4fd7bda51
gnu: python-nbxmpp: Update to 2.0.2.
* gnu/packages/messaging.scm (python-nbxmpp) [version]: Update to 2.0.2.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-03-10 11:03:46 +02:00
Léo Le Bouter
b66fc0a64b
gnu: bsdiff: Fix CVE-2014-9862.
* gnu/packages/patches/bsdiff-CVE-2014-9862.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/compression.scm (bsdiff): Apply it.
2021-03-10 09:54:27 +01:00
Mathieu Othacehe
207ef1a2b4
tests: cuirass: Remove cuirass simple test.
This is a follow-up of 6c883d0f1d.

* gnu/tests/cuirass.scm (simple-cuirass-service, %cuirass-simple-test): Remove
them.
2021-03-10 09:37:48 +01:00
Mathieu Othacehe
6c883d0f1d
services: cuirass: Remove simple cuirass configuration.
The Cuirass configuration has been simplified so that this is no longer
needed.

* gnu/services/cuirass.scm (<build-manifest>, <simple-cuirass-configuration>,
simple-cuirass-configuration->specs): Remove them.
2021-03-10 09:05:02 +01:00
Mathieu Othacehe
76bea3f8bc
ci: Remove hydra support.
This removes hydra support to use Cuirass as the only continuous integration
system.

* build-aux/hydra/gnu-system.scm: Remove it.
* build-aux/hydra/guix-modular.scm: Ditto.
* build-aux/hydra/guix.scm: Ditto.
* build-aux/cuirass/hydra-to-cuirass.scm: Ditto.
* Makefile.am (EXTRA_DIST): Update it.
(hydra-jobs.scm): Remove it.
(cuirass-jobs.scm): Update it.
* build-aux/hydra/evaluate.scm: Move it to ...
* build-aux/cuirass/evaluate.scm: ... here.
* build-aux/cuirass/guix-modular.scm: Remove it.
* build-aux/cuirass/gnu-system.scm: Ditto.
* guix/packages.scm (%hydra-supported-systems): Rename it to ...
(%cuirass-supported-systems): ... this variable.
* build-aux/check-final-inputs-self-contained: Adapt it.
* etc/release-manifest.scm: Ditto.
* gnu/ci.scm (package->alist): Remove it.
(derivation->job): New procedure.
(package-job, package-cross-job, cross-jobs, image-jobs, system-test-jobs,
tarball-jobs): Use it.
(guix-jobs): New procedure.
(hydra-jobs): Rename it to ...
(cuirass-jobs): ... this procedure.
2021-03-10 08:49:48 +01:00
Mathieu Othacehe
0be2474d42
services: cuirass: Do not create the database directory.
Fixes: <https://issues.guix.gnu.org/46683>.

* gnu/services/cuirass.scm (cuirass-activation): Since the PostgreSQL switch,
it is no longer needed to create the database directory.
2021-03-10 08:49:48 +01:00
Mathieu Othacehe
ff52d1156c
gnu: cuirass: Update to 0.0.1-73.14e1335.
* gnu/packages/ci.scm (cuirass): Update to 0.0.1-73.14e1335.
[arguments]: Enable tests and add new 'set-PATH-for-tests phase.
[native-inputs]: Add ephemeralpg.
2021-03-10 08:49:47 +01:00
Mathieu Othacehe
0d5e2c587f
gnu: guile-simple-zmq: Update to 0.0.0-9.b2ea97e.
* gnu/packages/guile-xyz.scm (guile-simple-zmq): Update to 0.0.0-9.b2ea97e.
2021-03-10 08:49:47 +01:00
Léo Le Bouter
80739ea480
gnu: gnucobol: Update to 3.1.2 [security fixes].
* gnu/packages/cobol.scm (gnucobol): Update to 3.1.2.
[arguments]: Add 'set-TERM phase before 'check to set the TERM environment
variable for tests that expect it.
2021-03-10 06:54:58 +01:00
Léo Le Bouter
ca15eaeb06
gnu: osc: Update to 0.172.0 [fixes CVE-2019-3681].
* gnu/packages/build-tools.scm (osc): Update to 0.172.0.
[native-inputs]: Add python-chardet. Required by tests.
2021-03-10 05:01:38 +01:00
Léo Le Bouter
f736dedc4f
gnu: python-m2crypto: Disable tests because they are date-sensitive.
* gnu/packages/python-crypto.scm (python-m2crypto)[arguments]: Set '#:tests?'
to '#f'.
2021-03-10 05:01:38 +01:00
Leo Famulari
014ef060ea
gnu: linux-libre 5.4: Update to 5.4.104.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.104.
(linux-libre-5.4-pristine-source): Update hash.
2021-03-09 22:10:23 -05:00
Leo Famulari
79aafab07d
gnu: linux-libre 5.10: Update to 5.10.22.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.22.
(linux-libre-5.10-pristine-source): Update hash.
2021-03-09 22:10:23 -05:00
Leo Famulari
b38f73f35c
gnu: linux-libre: Update to 5.11.5.
* gnu/packages/linux.scm (linux-libre-5.11-version): Update to 5.11.5.
(linux-libre-5.11-pristine-source): Update hash.
2021-03-09 22:10:16 -05:00
Léo Le Bouter
674474f646
gnu: c-ares: Update to 1.17.1 [fixes CVE-2020-8277].
* gnu/packages/adns.scm (c-ares/fixed): New variable.
(c-ares)[replacement]: Graft.
2021-03-10 03:52:04 +01:00
Léo Le Bouter
852ba914a4
gnu: imagemagick/fixed: Retain version length for successful grafting.
* gnu/packages/imagemagick.scm (imagemagick/fixed):
[version]: Append 'g'.
[source]: Hardcode version.
2021-03-10 01:36:26 +01:00
Sébastien Lerique
81404a858c
gnu: password-store: Update to 1.7.3-1.918992c.
* gnu/packages/password-utils.scm (password-store): Update to
1.7.3-1.918992c.
[arguments]<#:phases>['wrap-path]: Add "wl-clipboard".
[inputs]: Add "wl-clipboard".

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-03-10 01:16:08 +01:00
Tobias Geerinckx-Rice
5d0f394b85
gnu: dcmtk: Update to 3.6.6.
* gnu/packages/image-processing.scm (dcmtk): Update to 3.6.6.
[inputs]: Add icu4c.
2021-03-10 01:16:07 +01:00
Tobias Geerinckx-Rice
4aef8e0af5
gnu: electron-cash: Update to 4.2.4.
* gnu/packages/finance.scm (electron-cash): Update to 4.2.4.
2021-03-10 01:16:07 +01:00
Tobias Geerinckx-Rice
d5542627fa
gnu: range-v3: Fix typo in description.
* gnu/packages/cpp.scm (range-v3)[description]: Fix typo.
2021-03-10 01:16:07 +01:00
Tobias Geerinckx-Rice
42364648ba
gnu: fcitx5: Update to 5.0.5.
* gnu/packages/fcitx5.scm (fcitx5): Update to 5.0.5.
2021-03-10 01:16:07 +01:00
Tobias Geerinckx-Rice
5f299b4a31
gnu: lmdb: Update to 0.9.28.
* gnu/packages/databases.scm (lmdb): Update to 0.9.28.
2021-03-10 01:16:07 +01:00
Léo Le Bouter
cbb5b5c4d5
gnu: git: Update to 2.30.2 [fixes CVE-2021-21300].
* gnu/packages/version-control.scm (git): Update to 2.30.2.
2021-03-10 01:09:26 +01:00