summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-12system: install, hurd: Use 'setuid-programs'.Ludovic Courtès
This is a followup to a7ac19851baab3fbcc40c4b2cf5b00a6ac9cd2f3. * gnu/system/install.scm (installation-os)[setuid-programs]: Use 'setuid-program'. * gnu/system/hurd.scm (%setuid-programs/hurd): Use 'file-like->setuid-program'.
2021-08-12system: Accept gexps in 'setuid-programs'.Ludovic Courtès
Commit a7ac19851baab3fbcc40c4b2cf5b00a6ac9cd2f3 led configs such as the following one, which were previously valid, to be rejected: (operating-system ;; ... (setuid-programs (cons #~(string-append #$wireshark "/bin/dumpcap") %setuid-programs))) They are now accepted again. Reported by wonko on #guix. * gnu/system.scm (%ensure-setuid-program-list): Handle the case where PROGRAM is not a file-like.
2021-08-12system: Handle 'setuid-programs' deprecation handling as a field sanitizer.Ludovic Courtès
Previously, evaluating an OS configuration with a childhurd (for instance) would produce tens of lines like: guix system: warning: representing setuid programs with '#<file-append #<package shadow@4.8.1 gnu/packages/admin.scm:798 7ff97f6f7640> "/bin/passwd">' is deprecated; use 'setuid-program' instead Now, it prints this one line: gnu/system/hurd.scm:105:2: warning: representing setuid programs with file-like objects is deprecated; use 'setuid-program' instead This change also means that extensions of 'setuid-program-service-type' now have to provide a list of <setuid-program>, so it's stricter in this sense. * gnu/services.scm (setuid-program-file-like-deprecated): Remove. (setuid-program-service-type)[extend]: Remove 'setuid-program-file-like-deprecated' call. Assume CONFIG and EXTENSIONS are already lists of <setuid-program> records. * gnu/system.scm (<operating-system>)[setuid-programs]: Add 'sanitize' property. Change accessor name from '%operating-system-setuid-programs' to 'operating-system-setuid-programs'. (operating-system-default-essential-services) (hurd-default-essential-services): Adjust accordingly. (ensure-setuid-program-list): New macro. (%ensure-setuid-program-list): New procedure, based on 'setuid-program-file-like-deprecated'.
2021-08-12records: Support field sanitizers.Ludovic Courtès
* guix/records.scm (make-syntactic-constructor): Add #:sanitizers. [field-sanitizer]: New procedure. [wrap-field-value]: Honor F's sanitizer. (define-record-type*)[field-sanitizer]: New procedure. Pass #:sanitizer to 'make-syntactic-constructor'. * tests/records.scm ("define-record-type* & sanitize") ("define-record-type* & sanitize & thunked"): New tests.
2021-08-12gnu: jsonnet: Do not build static libraries.Ludovic Courtès
* gnu/packages/cpp.scm (jsonnet)[arguments]: Pass "-DBUILD_STATIC_LIBS=OFF".
2021-08-12gnu: Add jsonnet.Vivien Kraus
* gnu/packages/cpp.scm (jsonnet): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-12gnu: cuirass: Update to 1.1.0-2.830817a.Mathieu Othacehe
* gnu/packages/ci.scm (cuirass): Update to 1.1.0-2.830817a.
2021-08-12gnu: cl-plump: Update to 2.0.0-2.3584275.Charles
* gnu/packages/lisp-xyz.scm (sbcl-plump): Update to 2.0.0-2.3584275. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-08-12gnu: markets: Fix running on non-Gnome desktops.Efraim Flashner
* gnu/packages/gnome-xyz.scm (markets)[inputs]: Add gsettings-desktop-schemas.
2021-08-12gnu: markets: Update to 0.5.2.Vinicius Monego
* gnu/packages/gnome-xyz.scm (markets): Update to 0.5.2. [arguments]<#:phases>: Don't return #t. [inputs]: Use libhandy-1. [license]: Use gpl3+. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-08-11gnu: sakura: Update to 3.8.3.Pierre Langlois
* gnu/packages/terminals.scm (sakura): Update to 3.8.3.
2021-08-11gnu: qjackctl: Update to 0.9.4.Pierre Langlois
* gnu/packages/audio.scm (qjackctl): Update to 0.9.4.
2021-08-11gnu: ardour: Update to 6.8.Pierre Langlois
* gnu/packages/audio.scm (ardour): Update to 6.8.
2021-08-11gnu: gpodder: Update to 3.10.21.Pierre Langlois
* gnu/packages/gpodder.scm (gpodder): Update to 3.10.21.
2021-08-12gnu: ruby@2.7: Inherit source snippet from ruby@2.6.Marius Bakke
This is a follow-up to 507472b036f8cdd3d1a88c401017d2e43620bc20. * gnu/packages/ruby.scm (ruby-2.7)[source]: Inherit fields from RUBY.
2021-08-11gnu: rapidjson: Remove unused configure flag.Marius Bakke
* gnu/packages/web.scm (rapidjson)[arguments]: Remove #:configure-flags, as the entry is not honored by the build system and would only affect tests and examples, which are not installed. [source](snippet): Remove trailing #t.
2021-08-11gnu: rapidjson: Adjust for GCC 10.Marius Bakke
* gnu/packages/patches/rapidjson-gcc-compat.patch: Add additional patch.
2021-07-27gnu: VDE 2: Update to 2.3.2-0.8c65ebc.Leo Famulari
Updating to this unreleased revision allows us to package VDE 2 with wolfSSL instead of the obsolete OpenSSL 1.0: https://github.com/virtualsquare/vde-2/issues/2 * gnu/packages/networking.scm (vde2): Update to 2.3.2-0.8c65ebc. [source]: Use git-fetch. [native-inputs]: Add autoconf, automake, and libtool [inputs]: Replace openssl-1.0 with wolfssl.
2021-07-27gnu: Add wolfSSL.Leo Famulari
* gnu/packages/tls.scm (wolfssl): New variable.
2021-07-27gnu: Restore the correct order of the golang module.Leo Famulari
* gnu/packages/golang.scm: Move the Go compilers back to the beginning of the file.
2021-08-11gnu: pigx-rnaseq: Update to 0.0.18.Ricardo Wurmus
* gnu/packages/bioinformatics.scm (pigx-rnaseq): Update to 0.0.18.
2021-07-27gnu: linux-libre 4.4: Update to 4.4.280.Leo Famulari
* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.280. (linux-libre-4.4-pristine-source): Update hash.
2021-07-27gnu: Duplicity: Depend on python-paramiko.Leo Famulari
Fixes <https://bugs.gnu.org/49979>. * gnu/packages/backup.scm (duplicity)[native-inputs]: Add python-paramiko.
2021-08-11gnu: Add unclutter-xfixesiKaSeRo
* gnu/packages/xdisorg.scm (unclutter-xfixes): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-11transformations: 'with-patch' works on non-origin sources.Ludovic Courtès
Fixes <https://issues.guix.gnu.org/49697>. Reported by Philippe Swartvagher <philippe.swartvagher@inria.fr>. * guix/transformations.scm (patched-source): New procedure. (transform-package-patches)[package-with-extra-patches]: Use it when (package-source p) is not an origin. * tests/transformations.scm ("options->transformation, with-commit + with-patch"): New test.
2021-08-11gnu: rocm-opencl-runtime: Shorten patch file name.Ludovic Courtès
This appeases 'guix lint -c patch-file-names'. * gnu/packages/patches/rocm-opencl-runtime-3.10.0-add-rocclr-include-directories.patch: Rename to... * gnu/packages/patches/rocm-opencl-runtime-3.10.0-includes.patch: ... this. * gnu/packages/rocm.scm (rocm-opencl-runtime)[source]: Adjust accordingly. * gnu/local.mk (dist_patch_DATA): Likewise.
2021-08-11gnu: rocm-opencl-runtime: Use a non-redirecting source URL.Ludovic Courtès
* gnu/packages/rocm.scm (rocm-opencl-runtime)[source]: Use 'home-page' as the URL; since it lacks the ".git" prefix, that placates 'guix lint'.
2021-08-11gnu: emacs-vertico: Update to 0.14.Xinglu Chen
* gnu/packages/emacs-xyz.scm (emacs-vertico): Update to 0.14. Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
2021-08-11gnu: emacs-marginalia: Update to 0.8.Xinglu Chen
* gnu/packages/emacs-xyz.scm (emacs-marginalia): Update to 0.8. Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
2021-08-11gnu: emacs-consult: Update to 0.10.Xinglu Chen
* gnu/packages/emacs-xyz.scm (emacs-consult): Update to 0.10. Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
2021-08-11gnu: emacs-corfu: Update to 0.11.Xinglu Chen
* gnu/packages/emacs-xyz.scm (emacs-corfu): Update to 0.11. Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
2021-08-11gnu: python-aiorpcx: Update to 0.22.1.Milkey Mouse
* gnu/packages/finance.scm (electrum)[inputs]: Use python-aiorpcx-0.18. * gnu/packages/python-web.scm (python-aiorpcx): Update to 0.22.1. (python-aiorpcx-0.18): New variable. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2021-08-11gnu: emacs-project: Update to 0.6.1.Xinglu Chen
* gnu/packages/emacs-xyz.scm (emacs-project): Update to 0.6.1. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2021-08-11gnu: emacs-emms: Update to 7.6.Xinglu Chen
* gnu/packages/emacs-xyz.scm (emacs-emms): Update to 7.6. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2021-08-11gnu: icedove: Update to 78.13.0.Jonathan Brielmaier
* gnu/packages/gnuzilla.scm (icedove): Update to 78.13.0.
2021-08-11gnu: uBlock Origin: Update to 1.37.2.Marius Bakke
* gnu/packages/browser-extensions.scm (uassets): Update to 54e217d90. (ublock-origin): Update to 1.37.2.
2021-08-11gnu: ungoogled-chromium: Update to 92.0.4515.131-0.4a9534c.Marius Bakke
* gnu/packages/chromium.scm (%preserved-third-party-files): Adjust for 92. (%chromium-version): Set to 92.0.4515.131. (%ungoogled-revision): Set to 92.0.4515.131-1-0-g4a9534c. (%ungoogled-origin): Update hash. (ungoogled-chromium-snippet): Remove obsolete substitution and trailing #t. (ungoogled-chromium)[source]: Update hash. [arguments]: Remove trailing #t's. [native-inputs]: Remove PYTHON-BEAUTIFULSOUP4 and PYTHON-HTML5LIB. Add PYTHON-WRAPPER. [inputs]: Add LINUX-LIBRE-HEADERS-5.10.
2021-08-11gnu: libcacard: Enable PC/SC support.Marius Bakke
* gnu/packages/spice.scm (libcacard)[propagated-inputs]: Add PCSC-LITE.
2021-08-10gnu: icecat: Update to 78.13.0-guix0-preview1 [security fixes].Mark H Weaver
Includes fixes for CVE-2021-29980, CVE-2021-29984, CVE-2021-29985, CVE-2021-29986, CVE-2021-29988, and CVE-2021-29989. * gnu/packages/gnuzilla.scm (%icecat-version, %icecat-build-id): Update. (icecat-source): Update upstream source hash.
2021-07-27gnu: Borg: Use bundled msgpack.Leo Famulari
This is an old and customized version of msgpack-python. * gnu/packages/backup.scm (borg)[source]: In the snippet, don't delete the bundled 'msgpack' directory, and remove the related substition applied to setup.py. [arguments]: Remove the 'use-system-msgpack' phase. [inputs]: Remove 'python-msgpack-transitional'.
2021-07-27gnu: mit-krb5: Update to 1.18.4 [fixes CVE-2021-36222].Leo Famulari
* gnu/packages/kerberos.scm (mit-krb5)[replacement]: New field. (mit-krb5-1.18.4): New variable.
2021-08-10gnu: python-libusb1: Update to 1.9.3.Milkey Mouse
* gnu/packages/libusb.scm (python-libusb1): Update to 1.9.3. [inputs], [propagated-inputs]: Change libusb to a propagated-input. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-10gnu: Add task-spooler.Ivan Gankevich
* gnu/packages/task-runners.scm (task-spooler): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-10gnu: sendmail: Install executables to $prefix/sbin and $prefix/bin directories.Ivan Gankevich
Currently "sendmail" installs executables to $PREFIX/usr/sbin and $PREFIX/usr/bin directories. This patch changes them to $PREFIX/sbin and $PREFIX/bin respectively. Also this patch fixes broken symlinks in $PREFIX/bin and updates package definitions that use old sendmail paths. * gnu/packages/mail.scm (sendmail): Set new paths. [arguments]<#:phases>{replace-/usr}: Remove /usr prefix. [arguments]<#:phases>{post-install}: Fix broken symlinks [arguments]<#:phases>{configure}: Set paths without /usr prefix. * gnu/packages/mail.scm (claws-mail): Use new sendmail paths. * gnu/packages/version-control.scm (python-git-multimail): Use new sendmail paths. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-10etc/committer: Pass command-line arguments to main.Sarah Morgensen
* etc/committer.scm.in: Call main with command line arguments. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-10etc/committer: Support custom commit messages.Sarah Morgensen
Allow custom change commit messages by supplying a commit message and optionally a changelog message as arguments. * etc/committer.scm.in (break-string-with-newlines) (custom-commit-message): New procedures. (main)[change-commit-message*]: New sub-procedure. Use them. (main): Use it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-10gnu: rocksdb: set TEST_TMPDIR for faster test i/o.Ryan Sundberg
The rocksdb test can take an egregious amount of time on a spinning HDD. This will inherit guixbuild's /tmp mount for the rocksdb testing directory. * gnu/packages/databases.scm (rocksdb)[arguments]: set TEST_TMPDIR for check phase Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-10gnu: dealii-openmpi: Add Trilinos dependency.Paul A. Patience
* gnu/packages/maths.scm (trilinos-for-dealii-openmpi): New variable. (dealii-openmpi)[propagated-inputs]: Add trilinos-for-dealii-openmpi. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-10store: Add 'map/accumulate-builds' cutoff to address pathological cases.Ludovic Courtès
Fixes <https://bugs.gnu.org/49439>. Reported by Ricardo Wurmus <rekado@elephly.net>. Previously, a command such as: guix environment pigx-scrnaseq could lead to unbounded memory growth and could even fail to complete when some items are missing from the store. This was because 'map/accumulate-builds' callees would keep making .drv build requests that were turned into <unresolved> nodes; in this case, there are often many identical build requests. Stopping accumulation earlier allows us to unlock the situation by proceeding with the first few build requests instead of spinning until we've accumulated all the build requests. * guix/store.scm (map/accumulate-builds): Define 'accumulation-cutoff'. Use a loop when iterating over LST and maintain a counter of unresolved nodes met so far; return when the counter exceeds ACCUMULATION-CUTOFF.
2021-08-10gnu: mu: Update to 1.6.2.Pierre Langlois
* gnu/packages/mail.scm (mu): Update to 1.6.2. [inputs]: Use guile-3.0. [arguments]: Remove autotools substitutions for guile-2.2. Update 'patch-bin-sh-in-tests phase to new tests. Do not return #t in the remaining phases.