Commit graph

128857 commits

Author SHA1 Message Date
Ludovic Courtès
ca81317389
shepherd: Remove ‘make-forkexec-constructor/container’.
This was superseded by ‘least-authority-wrapper’.

* gnu/build/shepherd.scm (read-pid-file/container)
(make-forkexec-constructor/container): Remove.

Change-Id: I6acccdff2609a35807608f865a4d381146113a88
2023-12-22 00:31:42 +01:00
Ludovic Courtès
3d6583727e
services: Remove unnecessary references to (gnu build shepherd).
* gnu/services/databases.scm (memcached-shepherd-service): Remove
‘with-imported-modules’ form and ‘modules’ field.
* gnu/services/security-token.scm (pcscd-shepherd-service): Remove
‘with-imported-modules’ form.
* gnu/services/web.scm (hpcguix-web-shepherd-service): Likewise.

Change-Id: Ieb817508f1751e0c1ff551a0e078789a4a813c1c
2023-12-22 00:31:41 +01:00
Ludovic Courtès
62a08abea7
services: jami: Use ‘least-authority-wrapper’.
* gnu/services/telephony.scm (jami-configuration->command-line-arguments)
[wrapper]: New procedure.
Use it.
(jami-shepherd-services): In ‘start’ method of ‘jami’ service, use
‘fork+exec-command’ instead of ‘make-forkexec-constructor/container’.
Remove use of (gnu build shepherd).

Change-Id: Ic71c0c88477d92bf137d9d0a5832bae8721cc210
2023-12-22 00:31:41 +01:00
Ludovic Courtès
8bd1c14997
services: jami-dbus-session: Use ‘least-authority-wrapper’.
* gnu/services/telephony.scm (jami-shepherd-services): Use
‘least-authority-wrapper’ for ‘dbus-daemon’.  Use ‘fork+exec-command’
instead of ‘make-forkexec-constructor/container’ in the ‘start’ method’.
Remove reference to (gnu build shepherd).

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I9d9f8de6ecea77950000ff64aa8c8d097dc028a0
2023-12-22 00:31:41 +01:00
Ludovic Courtès
2cc881ac13
tests: jami: Double timeouts.
* gnu/tests/telephony.scm (run-jami-test): Pass #:timeout to
‘wait-for-service’.  Double number passed to ‘with-retries’.

Change-Id: Ib3c81a770c2d52b2eb40e4f28abc8e33f5c71fc8
2023-12-22 00:31:41 +01:00
Ludovic Courtès
204f08c43e
tests: jami: Check status of Jami D-Bus session.
* gnu/tests/telephony.scm (run-jami-test)["dbus session is up"]: New
test.

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Ifa9b57c732f3c64e1ec6bf3028b69a57cee56320
2023-12-22 00:31:41 +01:00
Ludovic Courtès
7578c25b93
least-authority: Add support for changing UIDs/GIDs before exec.
Fixes <https://issues.guix.gnu.org/67175>.

* guix/least-authority.scm (least-authority-wrapper): Add #:user
and #:group.
[code]: Add calls to ‘setgid’ and ‘setuid’ when appropriate.

Change-Id: I2aad8e5686b42b5c92fc306b114c5c60cb8bc551
2023-12-22 00:31:41 +01:00
Ludovic Courtès
d3ffa06a4d
services: bitlbee: Remove use of ‘make-forkexec-constructor/container’.
This will only affect systems running Shepherd < 0.9.0, which was
released in August 2022.

* gnu/services/messaging.scm (bitlbee-shepherd-service): Remove
‘with-imported-modules’ and ‘modules’ field.  Use
‘make-forkexec-constructor’ instead of
‘make-forkexec-constructor/container’ when ‘make-inetd-constructor’ is
missing.

Change-Id: I35a0487bccaee4799ad0d81388d540e5c7891f7e
2023-12-22 00:31:41 +01:00
Ludovic Courtès
bcad46cde6
services: pagekite: Add ‘configuration’ action.
* gnu/services/networking.scm (pagekite-shepherd-service): Add ‘actions’
field.

Change-Id: I04daa846d505b0700b574a82472ecd99b492d7c4
2023-12-22 00:31:41 +01:00
Ludovic Courtès
43acd98e41
services: pagekite: Use ‘least-authority-wrapper’.
* gnu/services/networking.scm (pagekite-shepherd-service): Define
‘config-file’ and ‘mappings’; define ‘pagekite’ in terms of
‘least-authority-wrapper’.  Remove now-unneeded ‘with-imported-modules’
form and ‘modules’ field.  Use ‘make-forkexec-constructor’ instead of
‘make-forkexec-constructor/container’.

Change-Id: I7c6c6266785f6a0f81a69d85f070779a0d6edd91
2023-12-22 00:31:40 +01:00
Ludovic Courtès
11a454f9da
gexp: #:references-graphs accepts and honors <gexp-input> records.
* guix/gexp.scm (lower-reference-graphs)[tuple->gexp-input]: Add
‘gexp-input?’ case.
(gexp->derivation): Update docstring.
* doc/guix.texi (G-Expressions): Adjust accordingly.
* tests/gexp.scm ("references-file, non-default output"): New test.

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I595cb75da0867ab8ab44552887dc06ed1d23315e
2023-12-22 00:31:40 +01:00
Ludovic Courtès
d9190abbd2
gexp: Add compiler for <gexp-input>.
* guix/gexp.scm (gexp-input-compiler): New procedure.
* tests/gexp.scm ("gexp references non-existent output")
("gexp-input, as first-class input"): New tests.
* doc/guix.texi (G-Expressions): Document it.

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I95b58d6e4d77a54364026b4324fbb00125a9402e
2023-12-22 00:31:40 +01:00
Clément Lassieur
4771960e5d
teams: mozilla: Add icecat-extension.scm and browser-extensions.scm.
* etc/teams.scm (mozilla): Add "gnu/build/icecat-extension.scm" and
"gnu/packages/browser-extensions.scm".

Change-Id: Id59fb307256e5870b3c19f0b7c41446775a57d9e
2023-12-22 00:06:25 +01:00
Jack Hill
04b63ea195
gnu: openssh: Update to 9.6p1 [security-fixes].
Fixes CVE-2023-48795.

* gnu/packages/ssh.scm (openssh): Update to 9.6p1.
[arguments]<#:parallel-tests?>: Disable.

Change-Id: I8b7707894d904ec8bcccb943908fff2e69a1a027
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2023-12-21 12:34:56 -05:00
Jack Hill
97e517a568
gnu: libssh: Update to 0.10.6 [security-fixes].
Fixes CVE-2023-6004, CVE-2023-48795, and CVE-2023-6918.

* gnu/packages/ssh.scm (libssh): Update to 0.10.6.

Change-Id: Ie9d304d78b2629f41af9836e5c7eab5df6f26bb5
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2023-12-21 12:30:15 -05:00
Benjamin Slade
49a7a95ba4
gnu: Syncthing: Update to 1.27.1.
* gnu/packages/syncthing.scm (syncthing): Update to 1.27.1.

Signed-off-by: Leo Famulari <leo@famulari.name>
Change-Id: Ib95828dee7b2b8b5f852a47026f3bbff69361329
2023-12-20 19:09:15 -05:00
Clément Lassieur
aa22cdd363
teams: Add entry for Clément Lassieur.
* etc/teams.scm ("Clément Lassieur"): New member.

Change-Id: If6456d9496f59b0a26608ad5e55aa8fdfb8af492
2023-12-20 17:47:03 +01:00
Mădălin Ionel Patrașcu
2b12c1238c
gnu: Add r-ncmisc.
* gnu/packages/cran.scm (r-ncmisc): New variable.

Change-Id: I54bbaf23244767bdb7cce9f31e604ba6998448a4
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2023-12-20 11:40:57 +01:00
Bruno Victal
9dbb618a80
gnu: i2pd: Update to 2.50.0.
* gnu/packages/i2p.scm (i2pd): Update to 2.50.0.
[native-inputs]: Add pkg-config, check.
[arguments]: Use G-Expressions.
<#:configure-flags>: Drop obsolete and defaulted flags. Enable testing with
cmake.
<#:phases>: Drop obsolete 'check replacement.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Change-Id: If276d475587fa9431fbb9b55b051e71a2f5d39e3
2023-12-20 11:05:55 +01:00
Michael Ford
51c0490267
gnu: bitcoin-core: Update to 26.0.
* gnu/packages/finance.scm (bitcoin-core): Update to 26.0.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Change-Id: Ied4b14221f862e05f37fc0516392d1b474bc6d19
2023-12-20 10:42:23 +01:00
Oleg Pykhalov
4af710b2ea
gnu: Add obs-pipewire-audio-capture.
* gnu/packages/video.scm (obs-pipewire-audio-capture): New variable.

Change-Id: I6f8e400a8ec81b84c65d948b6c30d41d74bd5dca
2023-12-20 11:46:40 +03:00
Mark H Weaver
352594e812
gnu: icecat: Update to 115.6.0-guix0-preview1 [security fixes].
Includes fixes for CVE-2023-6856, CVE-2023-6857, CVE-2023-6858,
CVE-2023-6859, CVE-2023-6860, CVE-2023-6861, CVE-2023-6862,
CVE-2023-6863, CVE-2023-6864, CVE-2023-6865, and CVE-2023-6867.

* gnu/packages/gnuzilla.scm (%icecat-base-version, %icecat-build-id): Update.
(icecat-source): Update gnuzilla commit, base version, and hashes.
2023-12-20 02:19:05 -05:00
Ricardo Wurmus
dc2b59ddc1
gnu: axoloti-patcher: Remove trailing #T.
* gnu/packages/axoloti.scm (axoloti-patcher)[arguments]: Remove trailing #T
from build phase.

Change-Id: I1a741e41e7ae167cd72542c3f9cf9a13046bcd3c
2023-12-20 01:00:45 +01:00
Ricardo Wurmus
1adf1e36d2
gnu: axoloti-patcher: Fix include paths.
* gnu/packages/axoloti.scm (axoloti-patcher)[arguments]: Add missing "c++"
sub-directory to search paths.

Change-Id: Ia3297cb24e02f92ad7af40881b9021af25093e67
2023-12-20 01:00:45 +01:00
Efraim Flashner
a512bbd23a
gnu: ovmf: Set target to #f.
* gnu/packages/firmware.scm (ovmf)[arguments]: Set target to #f.

Change-Id: Iee1b731977f2731277d2e907ee2db2ad85af195f
2023-12-19 16:27:13 +02:00
Efraim Flashner
d542593092
gnu: Add ovmf-riscv64.
* gnu/packages/firmware.scm (ovmf-riscv64): New variable.

Change-Id: I483bc4496d7874cc0e9983de36cfc7a90ef7591c
2023-12-19 16:27:13 +02:00
Efraim Flashner
7a7ba2d075
gnu: ovmf: Build with newer gcc.
* gnu/packages/firmware.scm (ovmf)[arguments]: Remove 'hide-implicit-gcc
phase.
[native-inputs]: Remove gcc-5.

Change-Id: I2bcaea77019bb69214878713aa57cbef49c473db
2023-12-19 16:27:13 +02:00
spacecadet@purge.sh
edb794bbd4
gnu: ovmf-arm: Update to use GCC5.
* gnu/packages/firmware.scm (ovmf-arm): Updating OVMF to 202308 requires
GCC5, packages inheriting from ovmf also need to be updated.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I3a7b3f450e0da39129e7cffce7482b8e391e3858
2023-12-19 16:27:13 +02:00
spacecadet@purge.sh
c67e8c12d8
gnu: ovmf-aarch64: Update to use GCC5.
* gnu/packages/firmware.scm (ovmf-aarch64): Updating OVMF to 202308
requires GCC5, packages inheriting from ovmf also need to be updated.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: Iccd674f82c2f0160fa8097a09d10154be9736042
2023-12-19 16:27:13 +02:00
spacecadet@purge.sh
1c9908fad5
gnu: ovmf: Add OVMF_CODE and OVMF_VARS files.
* gnu/packages/firmware.scm (ovmf)[arguments]: Add OVMF_CODE.fd and
OVMF_VARS.fs to outputs as ovmf_code_arch.bin and ovmf_vars_arch.bin,
respectively, for both ia32 and x64 architectures.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: Ie329f3f3515e7d015d9fbad01b8c2b82dc7da76e
2023-12-19 16:27:11 +02:00
spacecadet@purge.sh
57aaaf2903
gnu: ovmf: Update to 202308.
* gnu/packages/firmware.scm (ovmf): Update to 202308.
[arguments]: Adjust phases to not hardcode gcc toolchain version.
[native-inputs]: Remove python-2.  Add perl, python-3.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I74a7bd26240821aacf35e5020d9687406e7da9ed
2023-12-19 16:26:33 +02:00
Ekaitz Zarraga
aa373871cf
gnu: qemu: Update to 8.1.3.
* gnu/packages/virtualization.scm (qemu): Update to 8.1.3.

Change-Id: I9e9e90b836a0307637ead5893594b20d6850fe90
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-19 16:22:02 +02:00
Efraim Flashner
8c07a2c2ba
gnu: composer-classloader: Use copy-build-system.
* gnu/packages/php-xyz.scm (composer-classloader)[build-system]: Switch
to the copy-build-system.
[arguments]: Adjust accordingly.

Change-Id: Idb39ba92d973362bd6d8c1dd944a5d46919de5df
2023-12-19 16:21:24 +02:00
Saku Laesvuori
fa92a7c2fe
gnu: font-jetbrains-mono: Use the correct license.
The build scripts are licensed under asl2.0 but the packaged font files
are licensed under silofl1.1.

* gnu/packages/fonts.scm (font-jetbrains-mono)[license]: Use silofl1.1
instead of asl2.0.

Change-Id: I256a89b6e4bdb368c9cc94cae0808f72c76e7599
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2023-12-19 21:48:48 +08:00
Saku Laesvuori
96f704548c
gnu: font-jetbrains-mono: Update to 2.304
* gnu/packages/fonts.scm (font-jetbrains-mono): Update to version 2.304.

Change-Id: Id325fda8f9b50cf830107823c6ca1b439a6bdca0
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2023-12-19 21:48:42 +08:00
Timotej Lazar
04c9af0b00
gnu: traceroute: Update to 2.1.5.
* gnu/packages/networking.scm (traceroute): Update to 2.1.5.

Change-Id: I400292cd62afd76ca66e00071ae3afa45302735c
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2023-12-19 21:48:37 +08:00
Jaeme Sifat
dfc950689f
gnu: wireplumber: Update to 0.4.17.
* gnu/packages/linux.scm (wireplumber): Update to 0.4.17.

Change-Id: I1cdc156fde4cbbe6201f967db0701bb5dfdf1d7e
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2023-12-19 21:48:32 +08:00
Jaeme Sifat
d9c8432cb1
gnu: hyfetch: Update to 1.4.11.
* gnu/packages/admin.scm (hyfetch): Update to 1.4.11.

Change-Id: I244020ef556911107040e913ef76932ed97ae6e9
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2023-12-19 21:48:27 +08:00
Hilton Chain
491ca36e32
gnu: emacs-mbsync: Update to 0.1.2-5.d3c81da.
* gnu/packages/emacs-xyz.scm (emacs-mbsync): Update to 0.1.2-5.d3c81da.

Change-Id: Idf9a1807a2bdfec8bb12f6eee90c6ee12ca29877
2023-12-19 21:48:22 +08:00
Hilton Chain
6884770464
gnu: Add iptables-nft.
* gnu/packages/linux.scm (iptables-nft): New variable.

Change-Id: I281514fcf05e70b4d62f374269c50c76bb676f78
2023-12-19 21:48:17 +08:00
nafkhamdc
521247658f
gnu: r-sccustomize: Update to 2.0.1-1.3973745.
* gnu/packages/bioinformatics.scm (r-sccustomize): Update to 2.0.1-1.3973745.

Change-Id: I4e4b499a658eaed0396263d1d9fd277a541a13d9
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2023-12-19 14:44:13 +01:00
Ricardo Wurmus
ee93015b54
import/cran: Export a few more variables and procedures.
This allows users of this module to provide e.g. caching alternatives to the
download and fetch procedures.

* guix/import/cran.scm (%bioconductor-version, download, fetch-description):
Make these variables public.

Change-Id: I9ce14db9be9b8b3314b06fa9eb50a4e24c5dd718
2023-12-19 14:12:59 +01:00
Maxim Cournoyer
bed9103579
gnu: guile-udev: Fix dlopen error at run time.
* gnu/packages/guile-xyz.scm (guile-udev)
[arguments]: Add patch-extension-path phase.

Change-Id: I4620c234e8ac45dcc1c2a3ab8871b8ab9d9c35c0
2023-12-19 00:36:30 -05:00
Ludovic Courtès
6454788a5c
build-system/composer: Do not import host-side Guile-JSON modules.
Importing host-side (json …) modules would make builds dependent on the
Guile-JSON version currently installed by the user.  Use
‘with-extensions’ instead.

* guix/build-system/composer.scm (%composer-build-system-modules):
Remove (json …) modules.
(composer-build)[guile-json]: New variable.
[builder]: Wrap body in ‘with-extensions’.

Change-Id: Ibe565572d60481b31292d73c6fa23d42aa3ceecb
2023-12-18 23:16:57 +01:00
Nicolas Graves
9dab758791
build-system: Add ‘composer-build-system’.
* guix/build-system/composer.scm: New file.
* guix/build/composer-build-system.scm: New file.
* gnu/packages/aux-files/findclass.php: New file.
* Makefile.am: Add them.
* doc/guix.texi (Build Systems): Document it.

Co-authored-by: Julien Lepiller <julien@lepiller.eu>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: Ie6a05b42ff04d3ad774a0a20278a77e4820bb8f6
2023-12-18 23:16:55 +01:00
Nicolas Graves
e8fd78d54e
gnu: Add composer-classloader.
* gnu/packages/php-xyz.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-18 23:16:28 +01:00
Nicolas Graves
b7e3945283
guix: import: Add composer importer.
* guix/import/composer.scm: New file.
* guix/scripts/import/composer.scm: New file.
* guix/tests/composer.scm: New file.
* Makefile.am: Add them.
* guix/scripts/import.scm: Add composer importer.
* doc/guix.texi (Invoking guix import): Mention it.

Change-Id: I44a89b8cc80ef5b4a3cd15e8fbba4a18c1cea0b1

Co-authored-by: Julien Lepiller <julien@lepiller.eu>
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2023-12-18 23:16:28 +01:00
Ludovic Courtès
32d4f40589
maint: Build more development packages for GNU/Hurd.
* etc/hurd-manifest.scm: Add Autotools and Guile-related packages.

Change-Id: I6ded9623543a8f5444e9d6bb04284e9ca2aa2dcd
2023-12-18 23:16:28 +01:00
Maxim Cournoyer
d1eac4f3b7
Update cookbook Texinfo menus.
Automated via C-c C-u C-a with Emacs.

Change-Id: I9e595430529f8f994988c1ac3c919bdaef930dc1
2023-12-18 15:01:09 -05:00
antlers
0a99d3a79d
gnu: zfs: Update to 2.1.14.
* gnu/packages/file-systems.scm (zfs): Update to 2.1.14.

Change-Id: I696467868924f1135ba678e8e743955d3767618f
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-18 21:10:38 +02:00