Commit graph

75232 commits

Author SHA1 Message Date
Nicolas Goaziou
95b13ec637
gnu: Add rust-hyper-0.14.
* gnu/packages/crates-io.scm (rust-hyper-0.14): New variable.
(rust-hyper-0.13): Inherit from above.
2021-03-10 23:49:56 +01:00
Nicolas Goaziou
b31d9a2fe6
gnu: Add rust-http-body-0.4.
* gnu/packages/crates-io.scm (rust-http-body-0.4): New variable.
(rust-http-body-0.3): Inherit from above.
2021-03-10 23:49:56 +01:00
Nicolas Goaziou
0846ddb129
gnu: Add rust-h2-0.3.
* gnu/packages/crates-io.scm (rust-h2-0.3): New variable.
(rust-h2-0.2): Inherit from above.
2021-03-10 23:49:55 +01:00
Nicolas Goaziou
50f7108957
gnu: Add rust-tokio-util-0.6.
* gnu/packages/crates-io.scm (rust-tokio-util-0.6): New variable.
(rust-tokio-util-0.3): Inherit from above.
2021-03-10 23:49:55 +01:00
Nicolas Goaziou
92075bd48d
gnu: Add rust-httpdate-0.3.
* gnu/packages/crates-io.scm (rust-httpdate-0.3): New variable.
2021-03-10 23:49:55 +01:00
Nicolas Goaziou
ec64626f15
gnu: Add rust-hyper-rustls-0.22.
* gnu/packages/crates-io.scm (rust-hyper-rustls-0.22): New variable.
(rust-hyper-rustls-0.21): Inherit from above.
2021-03-10 23:49:54 +01:00
Nicolas Goaziou
4f2202bf30
gnu: Add rust-ct-logs-0.8.
* gnu/packages/crates-io.scm (rust-ct-logs-0.8): New variable.
(rust-ct-logs-0.7): Inherit from above.
2021-03-10 23:49:54 +01:00
Nicolas Goaziou
d08a4c776f
gnu: Add rust-rustls-native-certs-0.5.
* gnu/packages/crates-io.scm (rust-rustls-native-certs-0.5): New variable.
(rust-rustls-native-certs-0.4): Inherit from above.
2021-03-10 23:49:54 +01:00
Nicolas Goaziou
aab798976a
gnu: Add rust-webpki-roots-0.21.
* gnu/packages/crates-io.scm (rust-webpki-roots-0.21): New variable.
(rust-webpki-roots-0.20): Inherit from above.
2021-03-10 23:49:53 +01:00
Nicolas Goaziou
d5249b0240
gnu: Add rust-hyper-tls-0.5.
* gnu/packages/crates-io.scm (rust-hyper-tls-0.5): New variable.
(rust-hyper-tls-0.4): Inherit from above.
2021-03-10 23:49:53 +01:00
Nicolas Goaziou
7945e1611f
gnu: Add rust-tokio-native-tls-0.3.
* gnu/packages/crates-io.scm (rust-tokio-native-tls-0.3): New variable.
(rust-tokio-native-tls-0.1): Inherit from above.
2021-03-10 23:49:53 +01:00
Nicolas Goaziou
f8e2758ec4
gnu: Add rust-tokio-socks-0.5.
* gnu/packages/crates-io.scm (rust-tokio-socks-0.5): New variable.
(rust-tokio-socks-0.3): Inherit from above.
2021-03-10 23:49:52 +01:00
Nicolas Goaziou
aa0038b640
gnu: rust-native-tls-0.2: Update to 0.2.7.
* gnu/packages/crates-io.scm (rust-native-tls-0.2): Update to 0.2.7.
2021-03-10 23:49:52 +01:00
Nicolas Goaziou
74efdfc4e9
gnu: Add rust-test-cert-gen-0.1.
* gnu/packages/crates-io.scm (rust-test-cert-gen-0.1): New variable.
2021-03-10 23:49:52 +01:00
Nicolas Goaziou
0d279640ce
gnu: Add rust-trust-dns-resolver-0.20.
* gnu/packages/crates-io.scm (rust-trust-dns-resolver-0.20): New variable.
(rust-trust-dns-resolver-0.19): Inherit from above.
2021-03-10 23:49:51 +01:00
Nicolas Goaziou
785cbb0989
gnu: Add rust-resolv-conf-0.7.
* gnu/packages/crates-io.scm (rust-resolv-conf-0.7): New variable.
(rust-resolv-conf-0.6): Inherit from above.
2021-03-10 23:49:51 +01:00
Nicolas Goaziou
3843fc8fc8
gnu: Add rust-tokio-openssl-0.6.
* gnu/packages/crates-io.scm (rust-tokio-openssl-0.6): New variable.
(rust-tokio-openssl-0.4): Inherit from above.
2021-03-10 23:49:51 +01:00
Nicolas Goaziou
43212fcaf6
gnu: Add rust-trust-dns-https-0.20.
* gnu/packages/crates-io.scm (rust-trust-dns-https-0.20): New variable.
(rust-trust-dns-https-0.19): Inherit from above.
2021-03-10 23:49:50 +01:00
Nicolas Goaziou
46f8eecb51
gnu: Add rust-trust-dns-rustls-0.20.
* gnu/packages/crates-io.scm (rust-trust-dns-rustls-0.20): New variable.
(rust-trust-dns-rustls-0.19): Inherit from above.
2021-03-10 23:49:50 +01:00
Nicolas Goaziou
58e89cb0b9
gnu: Add rust-trust-dns-openssl-0.20.
* gnu/packages/crates-io.scm (rust-trust-dns-openssl-0.20): New variable.
(rust-trust-dns-openssl-0.19): Inherit from above.
2021-03-10 23:49:50 +01:00
Nicolas Goaziou
ba777a3cc4
gnu: Add rust-trust-dns-native-tls-0.20.
* gnu/packages/crates-io.scm (rust-trust-dns-native-tls-0.20): New variable.
(rust-trust-dns-native-tls-0.19): Inherit from above.
2021-03-10 23:49:49 +01:00
Nicolas Goaziou
3e6a0f1985
gnu: Add rust-trust-dns-proto-0.20.
* gnu/packages/crates-io.scm (rust-trust-dns-proto-0.20): New variable.
(rust-trust-dns-proto-0.19): Inherit from above.
2021-03-10 23:49:49 +01:00
Nicolas Goaziou
31be44a8aa
gnu: rust-openssl-sys-0.9: Update to 0.9.60.
* gnu/packages/crates-io.scm (rust-openssl-sys-0.9): Update to 0.9.60.
2021-03-10 23:49:49 +01:00
Nicolas Goaziou
b950ff3dbf
gnu: rust-backtrace-0.3: Update to 0.3.56.
* gnu/packages/crates-io.scm (rust-backtrace-0.3): Update to 0.3.56.
2021-03-10 23:49:48 +01:00
Nicolas Goaziou
fbc807f3b6
gnu: Add rust-addr2line-0.14.
* gnu/packages/crates-io.scm (rust-addr2line-0.14): New variable.
(rust-addr2line-0.11): Inherit from above.
2021-03-10 23:49:48 +01:00
Nicolas Goaziou
406fe167e1
gnu: Add rust-cpp-demangle-0.3.
* gnu/packages/crates-io.scm (rust-cpp-demangle-0.3): New variable.
(rust-cpp-demangle-0.2): Inherit from above.
2021-03-10 23:49:48 +01:00
Nicolas Goaziou
8e54e5243b
gnu: Add rust-gimli-0.23.
* gnu/packages/crates-io.scm (rust-gimli-0.23): New variable.
(rust-gimli-0.20): Inherit from above.
2021-03-10 23:49:47 +01:00
Nicolas Goaziou
8cc3a16cbb
gnu: Add rust-object-0.22.
* gnu/packages/crates-io.scm (rust-object-0.22): New variable.
2021-03-10 23:49:47 +01:00
Nicolas Goaziou
b6a627e9c0
gnu: Add rust-object-0.23.
* gnu/packages/crates-io.scm (rust-object-0.23): New variable.
(rust-object-0.17): Inherit from above.
2021-03-10 23:49:47 +01:00
Nicolas Goaziou
6cadf34d1f
gnu: Add rust-wasmparser-0.57.
* gnu/packages/crates-io.scm (rust-wasmparser-0.57): New variable.
2021-03-10 23:49:46 +01:00
Léo Le Bouter
00c1793ce8
gnu: ungoogled-chromium: Add xdg-utils to PATH with wrapper.
This will ensure that 'mailto:' links work out of the box, among others.

* gnu/packages/chromium.scm (ungoogled-chromium): Modify replacement 'install
phase to add xdg-utils to PATH with wrap-program.
2021-03-10 23:38:53 +01:00
Léo Le Bouter
9b52ae19b1
gnu: containerd: Update to 1.3.10 [security fixes].
* gnu/packages/docker.scm (containerd): Update to 1.3.10.
2021-03-10 23:37:52 +01:00
Léo Le Bouter
83cda00bc6
gnu: docker: Update to 19.03.15 [security fixes].
* gnu/packages/docker.scm (%docker-version): Bump to 19.03.15.
(docker-libnetwork): Bump to 19.03-1.55e924b.
(docker):
[source]: Set git-reference url to 'https://github.com/moby/moby'.
[arguments]<#:phases>: Modify 'delete-failing-tests phase to delete
'signal_linux_test.go'.
2021-03-10 23:37:52 +01:00
Ludovic Courtès
b665dd4a99
file-systems: 'mount-file-system' preserves the right mount flags.
Fixes <https://bugs.gnu.org/47007>.
Reported by Jelle Licht <jlicht@fsfe.org>.

Since commit dcb640f02b, we could end up
applying the wrong mount flags because the (find ...) expression could
pick the "wrong" mount point in the presence of bind mounts.

* gnu/build/file-systems.scm (mount-file-system): Use 'statfs' to
compute FLAGS whe FS is a bind mount.
2021-03-10 23:21:33 +01:00
Ludovic Courtès
9a6ea2f8dc
syscalls: Define the ST_* constants and add 'statfs-flags->mount-flags'.
* guix/build/syscalls.scm (linux?): New variable.
(define-statfs-flags): New macro.
(ST_RDONLY, ST_NOSUID, ST_NODEV, ST_NOEXEC, ST_SYNCHRONOUS)
(ST_MANDLOCK, ST_WRITE, ST_APPEND, ST_IMMUTABLE, ST_NOATIME)
(ST_NODIRATIME, ST_RELATIME): New variables.
(statfs-flags->mount-flags): New procedure.
2021-03-10 23:21:33 +01:00
Léo Le Bouter
b610e4b9a7
gnu: lib3mf: Update to 2.1.1 [security fixes].
Non-exhaustively, fixes CVE-2021-21772.

* gnu/packages/engineering.scm (lib3mf): Update to 2.1.1.
[arguments]<#:phases>: Remove.
[arguments]<#:configure-flags>: Do not use zlib, libzip, gtest and libressl
vendored sources.
[native-inputs]: Remove googletest-source, add googletest and pkg-config.
[inputs]: Add libzip, libressl and zlib.
2021-03-10 22:22:04 +01:00
Léo Le Bouter
6c5d358cc2
gnu: python-django-2.2: Update to 2.2.19 [security fixes].
* gnu/packages/django.scm (python-django-2.2): Update to 2.2.19.
2021-03-10 21:50:06 +01:00
Léo Le Bouter
1997ded2f4
gnu: python-django: Update to 3.1.7 [security fixes].
* gnu/packages/django.scm (python-django): Update to 3.1.7.
2021-03-10 21:50:05 +01:00
Taylan Kammer
b1eb744837
gnu: guile-bytestructures: Update to 1.0.10.
* gnu/packages/guile.scm (guile-bytestructures): Update to 1.0.10.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
See: <https://logs.guix.gnu.org/guix/2021-03-10.log#205043>
2021-03-10 21:22:42 +01:00
Mathieu Othacehe
60174c9c8c
gnu: cuirass: Update to 0.0.1-77.88f3cf6.
* gnu/packages/ci.scm (cuirass): Update to 0.0.1-77.88f3cf6.
2021-03-10 19:26:24 +01:00
Pierre Neidhardt
6e70211b20
gnu: sbcl-quri: Update to 0.3.0.
* gnu/packages/lisp-xyz.scm (sbcl-quri): Update to 0.3.0.
2021-03-10 18:20:05 +01:00
Pierre Neidhardt
336088d521
gnu: Add fof.
* gnu/packages/lisp-xyz.scm (cl-fof, ecl-fof, sbcl-fof): New variables.
2021-03-10 18:20:05 +01:00
Pierre Neidhardt
c3e53066bd
gnu: sbcl-hu.dwim.defclass-star: Update to 20210309.
* gnu/packages/lisp-xyz.scm (sbcl-hu.dwim.defclass-star): Update to 20210309.
2021-03-10 18:20:05 +01:00
Ludovic Courtès
2673324efa
news: Add entry for 'guix import go'.
* etc/news.scm: Add entry.
2021-03-10 18:03:34 +01:00
Ludovic Courtès
d028aef31c
import: go: Compute the hash of Git checkouts.
* guix/import/go.scm (vcs-file?, file-hash, git-checkout-hash): New
procedures.
(vcs->origin): Use 'git-checkout-hash' in the 'git case.
2021-03-10 18:01:48 +01:00
Katherine Cox-Buday
02e2e093e8
import: Add Go importer.
This patch adds a 'guix import go' command.

* doc/guix.texi (Requirements): Mention Guile-Lib dependency.
(Invoking guix import): Document 'guix import go'.
* gnu/packages/package-management.scm (guix)[inputs, propagated-inputs]:
Add GUILE-LIB.
* guix/self.scm (compiled-guix)[guile-lib]: New variable.
[dependencies]: Add it.
(specification->package): Add "guile-lib".
* guix/build-system/go.scm (go-version->git-ref): New procedure.
* guix/import/go.scm, guix/scripts/import/go.scm, tests/go.scm: New files.
* guix/scripts/import.scm: Declare subcommand guix import go
* po/guix/POTFILES.in: Add 'guix/scripts/import/go.scm'.
* Makefile.am (MODULES): Add 'guix/import/go.scm' and
'guix/scripts/import/go.scm'.
(SCM_TESTS): Add 'tests/go.scm'.

Co-Authored-By: Helio Machado <0x2b3bfa0@gmail.com>
Co-Authored-By: Francois Joulaud <francois.joulaud@radiofrance.com>
Co-Authored-By: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Co-Authored-by: Ludovic Courtès <ludo@gnu.org>
2021-03-10 18:01:48 +01:00
Maxime Devos
520bac7ed0
services: Prevent following symlinks during activation.
This addresses a potential security issue, where a compromised
service could trick the activation code in changing the permissions,
owner and group of arbitrary files.  However, this patch is
currently only a partial fix, due to a TOCTTOU (time-of-check to
time-of-use) race, which can be fixed once guile has bindings
to openat and friends.

Fixes: <https://lists.gnu.org/archive/html/guix-devel/2021-01/msg00388.html>

* gnu/build/activation.scm: new procedure 'mkdir-p/perms'.
* gnu/services/authentication.scm
  (%nslcd-activation, nslcd-service-type): use new procedure.
* gnu/services/cups.scm (%cups-activation): likewise.
* gnu/services/dbus.scm (dbus-activation): likewise.
* gnu/services/dns.scm (knot-activation): likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-03-10 18:01:47 +01:00
Ludovic Courtès
1a1d0fe505
gnu: hwloc: Update to 2.4.1.
* gnu/packages/mpi.scm (hwloc-2): Update to 2.4.1.  Adjust URL.
2021-03-10 18:01:47 +01:00
Mathieu Othacehe
8f999e1ac2
channels: Add the channel branch in sexp->channel.
* guix/channels.scm (sexp->channel): Add the channel branch.
2021-03-10 16:53:51 +01:00
Mathieu Othacehe
c1baf9b824
gnu: cuirass: Update to 0.0.1-76.5f830da.
* gnu/packages/ci.scm (cuirass): Update to 0.0.1-76.5f830da.
2021-03-10 16:41:42 +01:00