Commit graph

93028 commits

Author SHA1 Message Date
Ludovic Courtès ca87601dd9
git-authenticate: Ensure the target is a descendant of the introductory commit.
Fixes a bug whereby authentication of a commit *not* descending from the
introductory commit could succeed, provided the commit verifies the
authorization invariant.

In the example below, A is a common ancestor of the introductory commit
I and of commit X.  Authentication of X would succeed, even though it is
not a descendant of I, as long as X is authorized according to the
'.guix-authorizations' in A:

   X   	 I
    \   /
      A

This is because, 'authenticate-repository' would not check whether X
descends from I, and the call (commit-difference X I) would return X.

In practice that only affects forks because it means that ancestors of
the introductory commit already contain a '.guix-authorizations' file.

* guix/git-authenticate.scm (authenticate-repository): Add call to
'commit-descendant?'.
* tests/channels.scm ("authenticate-channel, not a descendant of introductory commit"):
New test.
* tests/git-authenticate.scm ("authenticate-repository, target not a descendant of intro"):
New test.
* tests/guix-git-authenticate.sh: Expect earlier test to fail since
9549f0283a is not a descendant of
$intro_commit.  Add new test targeting an ancestor of the introductory
commit, and another test targeting the v1.2.0 commit.
* doc/guix.texi (Specifying Channel Authorizations): Add a sentence.
2022-02-14 11:23:08 +01:00
Ludovic Courtès 87d49346f3
git: Add 'commit-descendant?'.
* guix/git.scm (commit-descendant?): New procedure.
* tests/git.scm ("commit-descendant?"): New test.
2022-02-14 11:23:07 +01:00
Ludovic Courtès 36cb04df96
git-authenticate: Test introductory commit signature verification.
These tests mimic similar tests already in 'tests/channels.scm', but
without using the higher-level 'authenticate-channel'.

* tests/git-authenticate.scm ("introductory commit, valid signature")
("introductory commit, missing signature")
("introductory commit, wrong signature"): New tests.
2022-02-14 11:23:07 +01:00
Ludovic Courtès ef6d127190
tests: Set a hard build timeout.
* guix/tests.scm (open-connection-for-tests): Pass #:timeout to
'set-build-options'.
(call-with-external-store): Add call to 'set-build-options'.
2022-02-14 11:23:07 +01:00
Nicolas Goaziou 03cde0f288
gnu: emacs-howm: Update to 1.4.8.
* gnu/packages/emacs-xyz.scm (emacs-howm): Update to 1.4.8.
2022-02-14 11:21:29 +01:00
Nicolas Goaziou 3e0ea7417f
gnu: emacs-package-lint: Update to 0.16.
* gnu/packages/emacs-xyz.scm (emacs-package-lint): Update to 0.16.
2022-02-14 11:19:28 +01:00
Jai Vetrivelan 403d60de30
gnu: tiled: Update to 1.8.1.
* gnu/packages/game-development.scm (tiled): Update to 1.8.1.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-14 11:09:32 +01:00
Jai Vetrivelan 54c8b44444
gnu: neon: Update to 0.32.2.
* gnu/packages/version-control.scm (neon): Update to 0.32.2.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-14 11:08:36 +01:00
Jai Vetrivelan cca2b90aaa
gnu: srain: Update to 1.3.2.
* gnu/packages/irc.scm (srain): Update to 1.3.2.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-14 11:04:47 +01:00
Jai Vetrivelan b7349559cf
gnu: hexchat: Update to 2.16.1.
* gnu/packages/messaging.scm (hexchat): Update to 2.16.1.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-14 11:02:42 +01:00
Jai Vetrivelan 919251ed62
gnu: Add rtss.
* gnu/packages/rust-apps.scm (rtss): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-14 10:59:31 +01:00
Jai Vetrivelan 066cdbfa92
gnu: feh: Update to 3.8.
* gnu/packages/image-viewers.scm (feh): Update to 3.8.
[inputs]: Sort lexically.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-14 10:57:45 +01:00
Michael Rohleder 8487383030
gnu: udpcast: Update to 20211207.
* gnu/packages/admin.scm (udpcast): Update to 20211207.
[source]: Remove buildroot.net uri.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-14 10:56:40 +01:00
Aleksandr Vityazev 7e3f44cc4d
gnu: alfis: Fix build.
* gnu/packages/rust-apps: (alfis): [arguments]<#:phases>:
Relax the rust-zeroize requirements for rust-chacha20poly1305
and rust-chacha20 in the 'relax-requirements' phase.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-14 10:54:58 +01:00
Aleksandr Vityazev b8c856e215
gnu: rust-chacha20poly1305: Fix build.
* gnu/packages/crates-io: (rust-chacha20poly1305):
[arguments]<#:phases>: Add a new 'relax-requirements' phase.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-14 10:54:40 +01:00
Michael Rohleder c079e68f3f
gnu: xfce4-notifyd: Update to 0.6.3.
* gnu/packages/xfce.scm (xfce4-notifyd): Update to 0.6.3.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-14 10:52:53 +01:00
jgart ecaada08ea
gnu: Add cl-wordnet.
* gnu/packages/lisp-xyz.scm (cl-wordnet, ecl-wordnet, sbcl-wordnet): New
  variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-02-14 10:09:11 +01:00
Guillaume Le Vaillant 2c9f1c4389
gnu: freecad: Update to 0.19.3-0.09a05a9.
* gnu/packages/engineering.scm (freecad): Update to 0.19.3-0.09a05a9.
  [source]: Remove patches.
  [arguments]: Remove unneeded variables for pyside2 and shiboken2 from
  'configure-flags'.
* gnu/packages/patches/freecad-boost-serialization.patch: Remove file.
* gnu/packages/patches/freecad-vtk9.patch: Remove file.
* gnu/locak.mk (dist_patch_DATA): Remove "freecad-boost-serialization.patch"
  and "freecad-vtk9.patch".
2022-02-14 10:06:04 +01:00
Leo Famulari 7241ca87d0
gnu: WebKitGTK: Update to 2.34.5 [security fixes].
Fixes CVE-2022-22589, CVE-2022-22590, CVE-2022-22592:

https://webkitgtk.org/security/WSA-2022-0002.html

* gnu/packages/webkit.scm (webkitgtk): Update to 2.34.5.
2022-02-13 21:45:36 -05:00
Sughosha 6bfb3fc1f4
gnu: non-sequencer: Build with libsigc++ 2.
This fixes the build:

------
Configuring sequencer
Checking for 'sigc++-2.0' >= 2.0.0                   : not found
The configuration failed
------

* gnu/packages/music.scm (non-sequencer)[inputs]: Replace libsigc++ with
libsigc++-2.
2022-02-13 19:24:26 -05:00
Nicolas Goaziou c81b0dcc72
gnu: qview: Update to 5.0.
* gnu/packages/image-viewers.scm (qview): Update to 5.0.
[build-system]: Use QT-BUILD-SYSTEM.
[arguments]<#:phases>: Use G-expressions.  Remove trailing #T.  Add a new phase
for tests.
[native-inputs]: Add QTTOOLS.
[inputs]: Re-order alphabetically.
2022-02-14 00:45:33 +01:00
Leo Famulari d65979c46c
gnu: Mutt: Update to 2.2.0.
* gnu/packages/mail.scm (mutt): Update to 2.2.0.
2022-02-13 13:02:40 -05:00
Vinicius Monego 7e3b63ce5e
gnu: libngspice: Update to 36.
* gnu/packages/engineering.scm (libngspice, ngspice): Update to 36.
(libngspice)[inputs]: Remove labels.
2022-02-13 14:39:50 -03:00
Vinicius Monego c054e025a3
gnu: cozy: Update to 1.2.0.
* gnu/packages/ebook.scm (cozy): Update to 1.2.0.
[native-inputs]: Remove labels.
[inputs]: Add bash-minimal to please 'guix lint'.
2022-02-13 14:39:50 -03:00
Vinicius Monego 371b074171
gnu: gnome-commander: Update to 1.14.0.
* gnu/packages/gnome.scm (gnome-commander): Update to 1.14.0.
[native-inputs]: Add flex.
[inputs]: Remove deprecated gnome-vfs. Add glib.
2022-02-13 14:39:38 -03:00
Vinicius Monego 4d07f12b26
gnu: python-astropy: Update to 5.0.1.
* gnu/packages/astronomy.scm (python-astropy): Update to 5.0.1.
2022-02-13 14:37:09 -03:00
Vinicius Monego 1290856590
gnu: libredwg: Update to 0.12.5.
* gnu/packages/engineering.scm (libredwg): Update to 0.12.5.
[native-inputs]: Remove labels.
2022-02-13 14:37:09 -03:00
Vinicius Monego c42cfec3f6
gnu: openxr: Update to 1.0.22.
* gnu/packages/graphics.scm (openxr): Update to 1.0.22.
2022-02-13 14:37:04 -03:00
Leo Famulari e0168c72bd
gnu: linux-libre 4.14.266: Fix source code hash.
This is a followup to commit 54ac2ec4e9.

* gnu/packages/linux.scm (linux-libre-4.14-pristine-source): Fix hash.
2022-02-13 12:36:42 -05:00
Leo Famulari 3f73542e7c
gnu: linux-libre 4.9: Update to 4.9.301.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.301.
(linux-libre-4.9-pristine-source): Update hash.
2022-02-13 12:26:27 -05:00
Leo Famulari 54ac2ec4e9
gnu: linux-libre 4.14: Update to 4.14.266.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.266.
(linux-libre-4.14-pristine-source): Update hash.
2022-02-13 12:26:27 -05:00
Leo Famulari 975c24b244
gnu: linux-libre 4.19: Update to 4.19.229.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.229.
(linux-libre-4.19-pristine-source): Update hash.
2022-02-13 12:26:27 -05:00
Leo Famulari d178b233bf
gnu: linux-libre 5.4: Update to 5.4.179.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.179.
(linux-libre-5.4-pristine-source): Update hash.
2022-02-13 12:26:26 -05:00
Leo Famulari fce4897e8d
gnu: linux-libre 5.10: Update to 5.10.100.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.100.
(linux-libre-5.10-pristine-source): Update hash.
2022-02-13 12:26:26 -05:00
Leo Famulari dda92c3bda
gnu: linux-libre: Update to 5.15.23.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.23.
(linux-libre-5.15-pristine-source): Update hash.
2022-02-13 12:26:26 -05:00
Leo Famulari b3671ef639
gnu: linux-libre 5.16: Update to 5.16.9.
* gnu/packages/linux.scm (linux-libre-5.16-version): Update to 5.16.9.
(linux-libre-5.16-pristine-source): Update hash.
2022-02-13 12:26:19 -05:00
Efraim Flashner e8af2ea63a
gnu: cpu: Add detection for AMD CPUs.
* guix/cpu.scm <cpu>: Add vendor field.
(current-cpu): Also fill in the 'vendor' field.
(cpu->gcc-architecture): Add detection logic for AMD CPUs.
2022-02-13 14:58:43 +02:00
Efraim Flashner 73373ce5f8
guix: cpu: Rewrite based on feature flags.
* guix/cpu.scm (cpu->gcc-architecture): Rewrite detection based on
detected feature flags.
2022-02-13 14:48:08 +02:00
Efraim Flashner 1ddef634b0
gnu: gcc: Add compiler-cpu-architectures for armhf.
* gnu/packages/gcc.scm (%gcc-7.5-armhf-micro-architectures,
%gcc-10-armhf-micro-architectures): New variables.
(gcc-7, gcc-10)[properties]: Add armhf compiler-cpu-architectures.
2022-02-13 14:47:03 +02:00
Efraim Flashner c31eed7107
gnu: gcc: Add compiler-cpu-architectures for aarch64.
* gnu/packages/gcc.scm (%gcc-7.5-aarch64-micro-architectures,
%gcc-10-aarch64-micro-architectures): New variables.
(gcc-7, gcc-10)[properties]: Add aarch64 compiler-cpu-architectures.
2022-02-13 14:47:01 +02:00
Marius Bakke 7b1185b6af
gnu: monado: Remove input labels.
* gnu/packages/graphics.scm (monado)[inputs]: Remove labels.
2022-02-13 13:33:56 +01:00
Marius Bakke f13f04583b
gnu: monado: Provide missing input.
* gnu/packages/graphics.scm (monado)[inputs]: Add PYTHON.
2022-02-13 13:33:56 +01:00
Marius Bakke 8863395217
gnu: fping: Update to 5.1.
* gnu/packages/networking.scm (fping): Update to 5.1.
2022-02-13 13:33:56 +01:00
Marius Bakke b38ce8489f
doc: Zabbix: Improvide description.
* doc/guix.texi (Monitoring Services): Document the various 'zabbix-*' service
types, and expand description of all Zabbix services.  Use less marketing terms.
(Web Services): Add subsubheading for PHP-FPM, and anchors for
cross-referencing.
* gnu/services/monitoring.scm (zabbix-front-end-configuration): Use @ref
instead of @pxref for cross-referencing.
2022-02-13 13:33:56 +01:00
Marius Bakke b1fb01e659
gnu: Zabbix: Update to 5.4.10.
* gnu/packages/monitoring.scm (zabbix-agentd): Update to 5.4.10.
[source](snippet): Simplify fping substitution.
2022-02-13 13:33:56 +01:00
Marius Bakke ae0ba592ba
gnu: zabbix-agentd: Use the correct license.
* gnu/packages/monitoring.scm (zabbix-agentd)[license]: Change from GPL2 to GPL2+.
2022-02-13 13:33:56 +01:00
Marius Bakke b8f280baec
gnu: zabbix-agentd: Add release-monitoring-url.
* gnu/packages/monitoring.scm (zabbix-agentd)[properties]: New field.
2022-02-13 13:33:56 +01:00
Marius Bakke e6474dc7b5
gnu: qt5ct: Update to 1.5.
* gnu/packages/qt.scm (qt5ct): Update to 1.5.
[arguments]: Remove trailing #t.
2022-02-13 13:33:56 +01:00
Efraim Flashner a4f7d66ce5
gnu: enlightenment: Update to 0.25.3.
* gnu/packages/enlightenment.scm (enlightenment): Update to 0.25.3.
2022-02-13 11:59:57 +02:00
Efraim Flashner 7d0cbe7148
gnu: Add julia-optim.
* gnu/packages/julia-xyz.scm (julia-optim): New variable.
2022-02-13 11:59:54 +02:00