summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* system: Accept gexps in 'setuid-programs'.Ludovic Courtès2021-08-12
| | | | | | | | | | | | | | | | | 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.
* system: Handle 'setuid-programs' deprecation handling as a field sanitizer.Ludovic Courtès2021-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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'.
* records: Support field sanitizers.Ludovic Courtès2021-08-12
| | | | | | | | | | * 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.
* gnu: jsonnet: Do not build static libraries.Ludovic Courtès2021-08-12
| | | | * gnu/packages/cpp.scm (jsonnet)[arguments]: Pass "-DBUILD_STATIC_LIBS=OFF".
* gnu: Add jsonnet.Vivien Kraus2021-08-12
| | | | | | * gnu/packages/cpp.scm (jsonnet): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: cuirass: Update to 1.1.0-2.830817a.Mathieu Othacehe2021-08-12
| | | | * gnu/packages/ci.scm (cuirass): Update to 1.1.0-2.830817a.
* gnu: cl-plump: Update to 2.0.0-2.3584275.Charles2021-08-12
| | | | | | * gnu/packages/lisp-xyz.scm (sbcl-plump): Update to 2.0.0-2.3584275. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
* gnu: markets: Fix running on non-Gnome desktops.Efraim Flashner2021-08-12
| | | | | * gnu/packages/gnome-xyz.scm (markets)[inputs]: Add gsettings-desktop-schemas.
* gnu: markets: Update to 0.5.2.Vinicius Monego2021-08-12
| | | | | | | | | * 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>
* gnu: sakura: Update to 3.8.3.Pierre Langlois2021-08-11
| | | | * gnu/packages/terminals.scm (sakura): Update to 3.8.3.
* gnu: qjackctl: Update to 0.9.4.Pierre Langlois2021-08-11
| | | | * gnu/packages/audio.scm (qjackctl): Update to 0.9.4.
* gnu: ardour: Update to 6.8.Pierre Langlois2021-08-11
| | | | * gnu/packages/audio.scm (ardour): Update to 6.8.
* gnu: gpodder: Update to 3.10.21.Pierre Langlois2021-08-11
| | | | * gnu/packages/gpodder.scm (gpodder): Update to 3.10.21.
* gnu: ruby@2.7: Inherit source snippet from ruby@2.6.Marius Bakke2021-08-12
| | | | | | This is a follow-up to 507472b036f8cdd3d1a88c401017d2e43620bc20. * gnu/packages/ruby.scm (ruby-2.7)[source]: Inherit fields from RUBY.
* gnu: rapidjson: Remove unused configure flag.Marius Bakke2021-08-11
| | | | | | | * 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.
* gnu: rapidjson: Adjust for GCC 10.Marius Bakke2021-08-11
| | | | * gnu/packages/patches/rapidjson-gcc-compat.patch: Add additional patch.
* gnu: VDE 2: Update to 2.3.2-0.8c65ebc.Leo Famulari2021-07-27
| | | | | | | | | | | | 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.
* gnu: Add wolfSSL.Leo Famulari2021-07-27
| | | | * gnu/packages/tls.scm (wolfssl): New variable.
* gnu: Restore the correct order of the golang module.Leo Famulari2021-07-27
| | | | | * gnu/packages/golang.scm: Move the Go compilers back to the beginning of the file.
* gnu: pigx-rnaseq: Update to 0.0.18.Ricardo Wurmus2021-08-11
| | | | * gnu/packages/bioinformatics.scm (pigx-rnaseq): Update to 0.0.18.
* gnu: linux-libre 4.4: Update to 4.4.280.Leo Famulari2021-07-27
| | | | | * gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.280. (linux-libre-4.4-pristine-source): Update hash.
* gnu: Duplicity: Depend on python-paramiko.Leo Famulari2021-07-27
| | | | | | Fixes <https://bugs.gnu.org/49979>. * gnu/packages/backup.scm (duplicity)[native-inputs]: Add python-paramiko.
* gnu: Add unclutter-xfixesiKaSeRo2021-08-11
| | | | | | * gnu/packages/xdisorg.scm (unclutter-xfixes): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* transformations: 'with-patch' works on non-origin sources.Ludovic Courtès2021-08-11
| | | | | | | | | | | 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.
* gnu: rocm-opencl-runtime: Shorten patch file name.Ludovic Courtès2021-08-11
| | | | | | | | | | 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.
* gnu: rocm-opencl-runtime: Use a non-redirecting source URL.Ludovic Courtès2021-08-11
| | | | | * gnu/packages/rocm.scm (rocm-opencl-runtime)[source]: Use 'home-page' as the URL; since it lacks the ".git" prefix, that placates 'guix lint'.
* gnu: emacs-vertico: Update to 0.14.Xinglu Chen2021-08-11
| | | | | | * gnu/packages/emacs-xyz.scm (emacs-vertico): Update to 0.14. Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
* gnu: emacs-marginalia: Update to 0.8.Xinglu Chen2021-08-11
| | | | | | * gnu/packages/emacs-xyz.scm (emacs-marginalia): Update to 0.8. Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
* gnu: emacs-consult: Update to 0.10.Xinglu Chen2021-08-11
| | | | | | * gnu/packages/emacs-xyz.scm (emacs-consult): Update to 0.10. Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
* gnu: emacs-corfu: Update to 0.11.Xinglu Chen2021-08-11
| | | | | | * gnu/packages/emacs-xyz.scm (emacs-corfu): Update to 0.11. Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
* gnu: python-aiorpcx: Update to 0.22.1.Milkey Mouse2021-08-11
| | | | | | | | * 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>
* gnu: emacs-project: Update to 0.6.1.Xinglu Chen2021-08-11
| | | | | | * gnu/packages/emacs-xyz.scm (emacs-project): Update to 0.6.1. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
* gnu: emacs-emms: Update to 7.6.Xinglu Chen2021-08-11
| | | | | | * gnu/packages/emacs-xyz.scm (emacs-emms): Update to 7.6. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
* gnu: icedove: Update to 78.13.0.Jonathan Brielmaier2021-08-11
| | | | * gnu/packages/gnuzilla.scm (icedove): Update to 78.13.0.
* gnu: uBlock Origin: Update to 1.37.2.Marius Bakke2021-08-11
| | | | | * gnu/packages/browser-extensions.scm (uassets): Update to 54e217d90. (ublock-origin): Update to 1.37.2.
* gnu: ungoogled-chromium: Update to 92.0.4515.131-0.4a9534c.Marius Bakke2021-08-11
| | | | | | | | | | | | | * 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.
* gnu: libcacard: Enable PC/SC support.Marius Bakke2021-08-11
| | | | * gnu/packages/spice.scm (libcacard)[propagated-inputs]: Add PCSC-LITE.
* gnu: icecat: Update to 78.13.0-guix0-preview1 [security fixes].Mark H Weaver2021-08-10
| | | | | | | | 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.
* gnu: Borg: Use bundled msgpack.Leo Famulari2021-07-27
| | | | | | | | | | 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'.
* gnu: mit-krb5: Update to 1.18.4 [fixes CVE-2021-36222].Leo Famulari2021-07-27
| | | | | * gnu/packages/kerberos.scm (mit-krb5)[replacement]: New field. (mit-krb5-1.18.4): New variable.
* gnu: python-libusb1: Update to 1.9.3.Milkey Mouse2021-08-10
| | | | | | | * 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>
* gnu: Add task-spooler.Ivan Gankevich2021-08-10
| | | | | | * gnu/packages/task-runners.scm (task-spooler): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: sendmail: Install executables to $prefix/sbin and $prefix/bin directories.Ivan Gankevich2021-08-10
| | | | | | | | | | | | | | | | | 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>
* etc/committer: Pass command-line arguments to main.Sarah Morgensen2021-08-10
| | | | | | * etc/committer.scm.in: Call main with command line arguments. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* etc/committer: Support custom commit messages.Sarah Morgensen2021-08-10
| | | | | | | | | | | | 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>
* gnu: rocksdb: set TEST_TMPDIR for faster test i/o.Ryan Sundberg2021-08-10
| | | | | | | | | | | 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>
* gnu: dealii-openmpi: Add Trilinos dependency.Paul A. Patience2021-08-10
| | | | | | | * 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>
* store: Add 'map/accumulate-builds' cutoff to address pathological cases.Ludovic Courtès2021-08-10
| | | | | | | | | | | | | | | | | | | | | 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.
* gnu: mu: Update to 1.6.2.Pierre Langlois2021-08-10
| | | | | | | | * 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.
* gnu: gcompris-qt: Switch to qt-build-system.Efraim Flashner2021-08-10
| | | | | | * gnu/packages/education.scm (gcompris-qt)[build-system]: Switch from cmake-build-system to qt-build-system. [arguments]: Remove custom 'wrap-executable phase.