Commit graph

167524 commits

Author SHA1 Message Date
Florian Pelz
f799d148ad
nls: Update translations.
* po/doc/guix-cookbook.zh_CN.po: New file.
* po/doc/local.mk: Add 'zh_CN' cookbook.
* po/packages/ru.po: New file.
* po/packages/LINGUAS: Add 'ru'.
* doc/local.mk: Add 'zh_CN' cookbook.
* doc/htmlxref.cnf: Update URLs for cookbook.
* doc/build.scm (%cookbook-languages): Add 'zh_CN'.
* doc/guix-cookbook.texi (Top): Mention 'zh_CN' cookbook.

Change-Id: Ic15114f01ee826a72060eebcbf1baf3bf619284f
2025-09-02 00:30:19 +02:00
Andreas Enge
0a88ef867a
gnu: bogofilter: Update to 1.2.5-0.e264b66.
* gnu/packages/mail.scm (bogofilter): Update to 1.2.5-0.e264b66.
[source]: Switch to git-fetch.
[inputs]: Remove bdb. Add sqlite and gsl.
[native-inputs]: Add autoconf, automake, gettext-minimal, pkg-config,
docbook-xml-4.1.2, docbook-xsl, libxml2, perl, xmlto.
[arguments]<#:phases>{chdir}: New phase.

Change-Id: Id33f8a5cf7cdc7308ab2d17077e9cd0b3f2c3b69
2025-09-01 22:45:14 +02:00
Andreas Enge
7f86f1eae0
gnu: Remove python-case.
* gnu/packages/python-check.scm (python-case): Delete variable.

Fixes: guix/guix#1742
Change-Id: I8963eae23565ecc3bd2157f42e3f91154f71d56b
2025-09-01 22:24:10 +02:00
Remco van 't Veer
7af4a57c30
gnu: ruby-3.3: Update to 3.3.9.
Bugfixes including CVE-2025-24294: "Possible Denial of Service in resolv
gem".

* gnu/packages/ruby.scm (ruby-3.3): Update to 3.3.9.

Change-Id: I5f73c8e523d6ce574b5cca8bab14c4abde2a6337
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-09-01 22:03:14 +02:00
Cayetano Santos
6a3d58fb06
gnu: openblas: Update to 0.3.30.
* gnu/packages/maths.scm (openblas): Update to 0.3.30.
(openblas-0.3.29): Remove unused alias.

Change-Id: Ida296e6e8854e29fe82f44399d4b7331e1308c0c
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-09-01 22:03:14 +02:00
Morgan Smith
8977d13d15
gnu: Add cyrus-sasl-xoauth2.
* gnu/packages/cyrus-sasl.scm (cyrus-sasl-xoauth2): New variable.

Change-Id: I853c8d3df1b4b4a2ea116b438e731f24a5b1fa34
Co-authored-by: Reily Siegel <mail@reilysiegel.com>
Co-authored-by: Liam Hupfer <liam@hpfr.net>
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-09-01 22:03:14 +02:00
Morgan Smith
6df3862787
gnu: cyrus-sasl: Add SASL_PATH plugin search path.
* gnu/packages/cyrus-sasl.scm (cyrus-sasl)[native-search-paths]: Add
SASL_PATH plugin search path.

Change-Id: Ie1ccbbe9dd02fe83f3417af86406b481cf259830
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-09-01 22:03:14 +02:00
Mathieu Laparie
719096e37a
gnu: cyrus-sasl: Enable login configure flag.
* gnu/packages/cyrus-sasl.scm [arguments]<#:configure-flags>: Add a flag.

Change-Id: I54a8fee0c5cd436364189774e8832cdc2185d8cd
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-09-01 22:03:14 +02:00
aragaer
940ac8eb62
gnu: cyrus-sasl: Fix time.h check.
This is needed for cross-compiling.

* gnu/packages/patches/cyrus-sasl-fix-time-h.patch: New file.
* gnu/packages/cyrus-sasl.scm (dist_patch_DATA): Register it.
* gnu/packages/cyrus-sasl.scm (cyrus-sasl)[source]: Use the patch.
[native-inputs]: Add autoconf, automake and libtool.
[arguments]<#:phases>{autoreconf}: New phase.

Change-Id: I46e3801d50758f79df0447dd3bd483b427277e12
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-09-01 22:03:14 +02:00
Andy Tai
443e22f44a
gnu: gsasl: Update to 2.2.2.
* gnu/packages/gsasl.scm (gsasl): Update to 2.2.2.

Change-Id: If68ae0a5fda6c0768a9067abab1af167cab2c47c
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-09-01 22:03:13 +02:00
fanquake
79fce89fd0
gnu: gcc@12: Update to 12.5.0.
* gnu/packages/gcc.scm (gcc-12): Update to 12.5.0.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-09-01 22:03:13 +02:00
Andreas Enge
7d89da8c89
gnu: libvpx: Update to 1.15.2.
* gnu/packages/patches/libvpx-CVE-2025-5262.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Unregister file.
* gnu/packages/video.scm (libvpx): Update to 1.15.2.
[source]: Remove patch.

Change-Id: If7f5d584204a5bab29156f53930e45f76a4a68e3
2025-09-01 22:03:13 +02:00
Andy Tai
6ae6e8ae2a
gnu: libidn: Update to 1.43.
* gnu/packages/libidn.scm (libidn): Update to 1.43.

Change-Id: I6a1c6b5ed22da4cf88dc063e598ca200c97ee329
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-09-01 22:03:13 +02:00
Andy Tai
6b427adc63
gnu: bc: Update to 1.08.2.
* gnu/packages/algebra.scm (bc): Update to 1.08.2.
  [source](origin): Remove patch.
  [license]: Change from gpl2+ to gpl3+.
* gnu/packages/patches/bc-fix-cross-compilation.patch: Delete.
* gnu/local.mk: Unregister deleted file.

Change-Id: Iada592d2deeeec91f875306a0fb6f8c4056ccfad
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-09-01 22:03:13 +02:00
Andy Tai
60e7a9e9bd
gnu: gperf: Update to 3.3.
* gnu/packages/gperf.scm (gperf): Update to 3.3.

Change-Id: I34c9e5705cd0ec0b5122f341d14abeb9bed249de
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-09-01 22:03:13 +02:00
Andreas Enge
3eb30a1cfb
gnu: mit-krb5: Update to 1.21.
* gnu/packages/kerberos.scm (mit-krb5): Update to 1.21.
[native-inputs]: Remove tcl.

Change-Id: Iffd99adce260306d7671bd2dd029e373e911ae4a
2025-09-01 22:03:13 +02:00
fanquake
449b44a34a
gnu: datefudge: Update to 1.27.
* gnu/packages/time.scm (datefudge): Update to 1.27.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-09-01 22:03:13 +02:00
Antoine Côté
1b1fb4693e
gnu: dav1d: Update to 1.5.1.
* gnu/packages/video.scm (dav1d): Update to 1.5.1.

Change-Id: I2a2cbf458a867f3e0c98328e567d2f4b194abe14
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-09-01 22:03:13 +02:00
Jake Forster
3e4573497c
gnu: mariadb: Fix paths in installed scripts.
Fixes: guix/guix#1391.

* gnu/packages/databases.scm (mariadb)[arguments]<#:phases>{post-install}:
Prevent double prefix in bindir.

Change-Id: I304995fed0cbec19c159a2e34b965815fec853a1
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-09-01 22:03:05 +02:00
John Kehayias
3269a30987
gnu: linux: Add modconfig option to customize-linux.
* gnu/packages/linux.scm (customize-linux): New keyword argument modconfig.
[arguments]{phases}: Use it in configure phase to run make localmodconfig.

Change-Id: I5fbfb9617b41155eaa59197c2a7fe79c5c63c72d
2025-09-01 14:15:31 -04:00
Zheng Junjie
ecfbeb3e68
gnu: Add radicle.
* gnu/packages/rust-apps.scm (radicle): New variable.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs): Add radicle.

Change-Id: I2512928406ceab65ea3f14e64591c4614323408a
Signed-off-by: Hilton Chain <hako@ultrarare.space>
Modified-by: Hilton Chain <hako@ultrarare.space>
2025-09-02 01:46:38 +08:00
Hilton Chain
db43751ec3
gnu: niri: Install completions.
* gnu/packages/wm.scm (niri) [arguments] <#:phases>: Install completions.
[native-inputs]: Add self when cross-compiling.

Change-Id: If9a6725ee13c87b5a76b959c3d6fe9804e884415
2025-09-02 01:46:38 +08:00
Hilton Chain
6412cbf0d5
gnu: xwayland-satellite: Update to 0.7.
* gnu/packages/xorg.scm (xwayland-satellite): Update to 0.7.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs) [xwayland-satellite]:
Update entry.

Change-Id: Ia39cc1808375f55f1ba0c3c4553198e4d096780f
2025-09-02 01:46:38 +08:00
Hilton Chain
51e5af2851
gnu: niri: Update to 25.08.
* gnu/packages/wm.scm (niri): Update to 25.08.
[arguments] <#:phases>: Disable parallel testing.
* gnu/packages/rust-sources.scm (rust-pipewire-0.8.0.93138d0)
(rust-smithay-0.7.0.20d2dac): New variables.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs) [niri]: Update entry.
[rust-pipewire-0.8.0.93138d0, rust-smithay-0.7.0.20d2dac]: New entries.

Change-Id: I0ca02f2a8aa360cbdbe94f569e37ac175ead8d1e
2025-09-02 01:46:35 +08:00
Danny Milosavljevic
dd2ec4ecd0
gnu: qemu: Enable execlog disassembly.
* gnu/packages/virtualization.scm (qemu)[inputs]: Add capstone.
[arguments]<#:phases>[install-plugins]: Install contrib.

Closes: #2081
Change-Id: I47365707e58a7b61e0d7195e48f819f0a1551f84
2025-09-01 17:35:11 +02:00
Ludovic Courtès
db6361bc2b
news: Add entry for the ‘content-addressed-mirrors’ security fix.
* etc/news.scm: Add entry.

Change-Id: Ia96a6f80d6ec557e222f2b5ee17e7c79c0eb3cbf
2025-09-01 17:30:39 +02:00
Ludovic Courtès
1618ca7aa2
gnu: guix: Update to 9202921 [security].
Fixes guix/guix#2419.

* gnu/packages/package-management.scm (guix): Update to 9202921.

Change-Id: I7476c4e90be61a9607731731534d988eba168104
2025-09-01 17:28:38 +02:00
Reepca Russelstein
9202921e81
perform-download: Use (ice-9 sandbox) for mirrors.
"guix perform-download" is used to implement the daemon's "download" and
"git-download" builtin builders.  Because these are builtins, it runs without
any additional isolation beyond merely running as a build user.  In such a
context, allowing arbitrary user-supplied code to be evaluated will easily
lead to the build user being taken over, which can then be used to corrupt
future builds, enable exploitation of certain vulnerabilities, and in the case
of the rootless daemon completely take over guix-daemon.

Use (ice-9 sandbox) to ensure that only safe bindings are available during the
evaluation of the content-addressed-mirrors file.

* guix/perform-download.scm (%safe-bindings, %sandbox-module): new variables.
  (syntax-noop): new syntax.
  (eval-content-addressed-mirrors, assert-store-file,
   call-with-input-file/no-symlinks): new procedures.
  (perform-download): use assert-store-file to ensure files are in the store
  before being read.  Use call-with-input-file/no-symlinks for opening
  untrusted files.  Use eval-content-addressed-mirrors to evaluate the
  content-addressed-mirrors file.

Change-Id: I8ed27a95d84dbcc7d72d0d75f172d113f8be6c79
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-09-01 16:13:29 +02:00
Reepca Russelstein
f607aaaaaa
download: Handle content-addressed-mirrors returning #f.
* guix/build/download.scm (url-fetch): don't pass the return value from a
  content-addressed-mirror procedure to 'string->uri' if it is #f.

Change-Id: Ic4f94f86fcfebe6f2e60cb3c4330ce57886ab647
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-09-01 16:13:19 +02:00
Reepca Russelstein
2a333541e8
perform-download: Ensure reading never evaluates code.
Since this is used to implement the "download" and "git-download" builtins,
which are run outside of any chroot, this is trusted code with respect to the
user-supplied strings it reads.

* guix/scripts/perform-download.scm (read/safe): new procedure.
  (perform-download, perform-git-download): use it.
  (guix-perform-download): explicitly set 'read-eval?' to #f and
  'read-hash-procedures' to '().  #f is the default value of 'read-eval?' on
  startup, but set it anyway to be certain.

Change-Id: I93cb8e32607a6f9a559a26c1cbd6b88212ead884
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-09-01 16:13:11 +02:00
Omar Bassam
43bb79fc29
gnu: sbcl-clss: Update to 0.3.1-3.cd5f603
* gnu/packages/lisp-xyz.scm (sbcl-clss): Update to 0.3.1-3.cd5f603

Change-Id: I479a79b1a1d3ac45ef31d9c02cc187fa072bf219
Signed-off-by: Omar Bassam <omar.bassam88@gmail.com>
Signed-off-by: jgart <jgart@dismail.de>
2025-08-31 10:51:52 -05:00
Artyom V. Poptsov
f73a492ac4
gnu: lr: Update to 2.0.
* gnu/packages/admin.scm (lr): Update to 2.0.
[arguments]: Use GEXPs.

Change-Id: I3264ccc86aa699a1e77c0388b48c801c5a4392ac
2025-08-31 17:11:53 +03:00
Maxim Cournoyer
acc331fa15
gnu: ghc-hsopenssl: Update to 0.11.7.9.
* gnu/packages/haskell-crypto.scm (ghc-hsopenssl): Update to 0.11.7.9.
[#:configure-flags]: New argument.

Change-Id: I2719bdef7e6bbd76fe4c079d663917839a787e81
2025-08-31 22:58:04 +09:00
Maxim Cournoyer
0260cf87dc
gnu: qemu: Update to 10.1.0.
* gnu/packages/virtualization.scm (qemu): Update to 10.1.0.
[source] <patches>: Remove qemu-disable-bios-tables-test and
qemu-glibc-2.41.patch patches; add qemu-fix-test-virtio-version.patch.
* gnu/packages/patches/qemu-disable-bios-tables-test.patch: Rebase.
* gnu/packages/patches/qemu-disable-migration-test.patch: Delete file.
* gnu/packages/patches/qemu-glibc-2.41.patch: Likewise.
* gnu/packages/patches/qemu-fix-test-virtio-version.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.

Change-Id: I0203137a144f89dcc502d1bcb2fa6f717b7223ff
2025-08-31 22:58:04 +09:00
Nicolas Graves
d431f4620a
cve: Upgrade to JSON 2.0 feeds.
Fixes guix/guix#2213.  The 1.1-formatted-data is no longer available
from NIST.

* guix/cve.scm (string->date*, <cve-item>,
reference-data->cve-configuration, cpe-match->cve-configuration,
configuration-data->cve-configurations, json->cve-items,
yearly-feed-uri, cve-item->vulnerability): Upgrade to JSON 2.0 feeds
schema.
(<cve>): Remove uneeded record.
* tests/cve-sample.json: Update them. Remove CVE-2019-0005 (no value
added, lots of lines).
* tests/cve.scm (%expected-vulnerabilities): Upgrade accordingly.
(json->cve-items, vulnerabilities->lookup-proc tests): Update accordingly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-08-31 12:39:24 +02:00
Nicolas Graves
ad5e0fc720
gnu: wget: Graft secure package.
* gnu/packages/wget.scm (wget/fixed): Add new variable.
(wget): Hide package. Graft wget/fixed.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-08-31 12:39:24 +02:00
Nicolas Graves
8f310b6f27
gnu: mercurial: Add package and rename former to mercurial/pinned.
Mercurial currently has CVEs. IMHO, it's unsafe to carry them around
in a profile.  However, updating mercurial potential leads to a lot of
rebuilds and I don't want to tackle this right now.

As for other packages, the way forward is to add a variant of the
package only used for hg-fetch, here mercurial/pinned.

* gnu/packages/version-control.scm
(mercurial-check-phase): Add helper variable.
(mercurial): Update to 7.1.
[arguments]: Use gexps.
<#:phases>: Refresh them. Add phase 'add-install-to-pythonpath for
running tests. Run tests after install. Add phase 'configure-check.
<#:imported-modules, #:modules>: Add them for
'add-install-for-pythonpath.k
[native-inputs]: Remove python-nose. Add python-setuptools-next,
python-setuptools-scm-next.
(mercurial/pinned): Inherit from mercurial, but build the exact same
derivation as the previous mercurial variable.

* guix/hg-download.scm (hg-package): Use mercurial/pinned.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-08-31 12:21:12 +02:00
Nicolas Graves
6c71c8dc4a
gnu: subversion: Add package and rename former to subversion/pinned.
Subversion currently has CVEs. IMHO, it's unsafe to carry them around
in a profile. However, updating subversion potential leads to a lot of
rebuilds and I don't want to tackle this right now.

As for other packages, the way forward is to add a variant of the
package only used for svn-fetch, here subversion/pinned.

* gnu/packages/version-control.scm (subversion): Update to 1.14.5.
(subversion/pinned): Inherit from subversion, but build the exact same
derivation as the previous subversion variable.

* guix/svn-download.scm (subversion-package): Use subversion/pinned.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-08-31 12:21:09 +02:00
Ludovic Courtès
a5ff617c24
gnu: guile-fibers: Provide correct ‘git-reference’.
This is a followup to 6a45a2aac0.

* gnu/packages/guile-xyz.scm (guile-fibers-1.4)[source]: Add missing ‘uri’
field.

Change-Id: Ie17a4e70c18c021aac9d5d88f1789c16fd4c7ad9
2025-08-31 12:16:57 +02:00
Hugo Buddelmeijer
19f2030b3c
gnu: Add python-edps.
* gnu/packages/astronomy.scm (python-edps): New variable.

Change-Id: Ia7235a34575538d5532c94d0bad7e358a1e6aaa3
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-31 15:25:47 +07:00
Hugo Buddelmeijer
f7f78d12d8
gnu: Add python-pyesorex.
* gnu/packages/astronomy.scm (python-pyesorex): New variable.

Change-Id: I9da8fe817fb11faab7718cfbd718622e75ef0db1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-31 15:25:46 +07:00
Hugo Buddelmeijer
6c025178a4
gnu: Add python-pycpl.
* gnu/packages/astronomy.scm (python-pycpl): New variable.

Change-Id: Ieded5de94b146be76269fe0868ff55a21ac5f325
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-31 15:25:44 +07:00
Hugo Buddelmeijer
20542abcf7
gnu: Add esorex.
* gnu/packages/astronomy.scm (esorex): New variable.

Change-Id: I62d901f1d4659cca01f4530bb84614628f876b47
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-31 15:25:43 +07:00
Hugo Buddelmeijer
355023e38f
gnu: Add cpl.
* gnu/packages/astronomy.scm (cpl): New variable.

Change-Id: I07e6ee15f2366b73335740abc51fd4540ab9d1e6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-31 15:25:42 +07:00
Sharlatan Hellseher
1ae3d4ea0b
gnu: uraniborg: Update to 0.0.10.
* gnu/packages/astronomy.scm (uraniborg): Update to 0.0.10.
[arguments] <tests?>: Enable as post-install-check phase.
[phase]{patch-config}: Adjust default base directory to store path.
{post-install-check}: New phase.
{check}: Delete phase.
[description]: Mention about default base location.

Change-Id: I1dc2184b97c6bcaf6c5df0c0f3154ea2a25263f3
2025-08-31 15:25:40 +07:00
Sharlatan Hellseher
b69eaec7cb
gnu: stellarium: Update to 25.2, build with Qt6.
* gnu/packages/astronomy.scm (stellarium): Update to 25.2.
[arguments] <configure-flags>: Enable Qt6 build (it's default), adjust
search for qtserialport and qtpositioning.
[inputs]: Remove calcmysky-qt5, qtbase-5, qtcharts-5, qtlocation-5,
qtmultimedia-5, qtscript-5, qtserialport-5, qtwayland-5, qtwebengine-5,
and qxlsx-qt5; add calcmysky, eigen, glm, qtbase, qtcharts, qtlocation,
qtmultimedia, qtserialport, qtwayland, qtwebengine, and qxlsx.
[native-inputs]: Remove qttools-5; add qttools.

Change-Id: Ic37a06fd4d15872bf18a0f75901359f2021cac2f
2025-08-31 15:25:39 +07:00
Sharlatan Hellseher
637fec08e8
gnu: python-sunkit-magex: Fix tests.
* gnu/packages/astronomy.scm (python-sunkit-magex) [native-inputs]:
Remove python-setuptools and python-wheel; add nss-certs-for-test and
python-setuptools-next.

Change-Id: I9b0e7e3be5736c34ba9811b50f2720cdb5b9ea5e
2025-08-31 15:25:38 +07:00
Sharlatan Hellseher
b5af78bc01
gnu: python-sunkit-image: Fix tests.
* gnu/packages/astronomy.scm (python-sunkit-image) [native-inputs]: Add
nss-certs-for-test.

Change-Id: Icfd874f410afbca78db08b59ad090bf01367420c
2025-08-31 15:25:36 +07:00
Sharlatan Hellseher
1cbd2329e8
gnu: python-space-dolphin: Update to 1.1.3.
* gnu/packages/astronomy.scm (python-space-dolphin): Update to 1.1.3.

Change-Id: I86ec95645ce663dc8a6902d4fdf35196c62f9cac
2025-08-31 15:25:35 +07:00
Sharlatan Hellseher
2922eb4897
gnu: python-romancal: Fix indentation
* gnu/packages/astronomy.scm (python-romancal): Fix indentation

Change-Id: I65302e8b678dbc26c3ade3e23e5ae8eb869580b2
2025-08-31 15:25:34 +07:00