Commit Graph

20269 Commits (e537833726cb093f101566793e083098d04ac58b)

Author SHA1 Message Date
Ludovic Courtès e537833726
ssh: Decompose 'connect-to-remote-daemon'.
* guix/ssh.scm (remote-daemon-channel): New procedure.
(connect-to-remote-daemon): Implement in terms of it.
2017-04-21 19:17:36 +02:00
Ludovic Courtès 615c5298f7
ssh: Move 'open-ssh-session' to (guix ssh).
* guix/scripts/copy.scm (%compression, open-ssh-session): Move to...
* guix/ssh.scm: ... here.  Use '&message' conditions instead of calling
'leave'.
2017-04-21 19:17:34 +02:00
Ludovic Courtès ba97e454bf
offload: Avoid using '_' as a 'match' pattern.
* guix/scripts/offload.scm (host-key->type+key, machine-load)
(process-request, guix-offload): Do not use '_' as a 'match' pattern.
2017-04-21 17:23:37 +02:00
Ludovic Courtès 3dff90ce34
store: Add support for remote connections via 'guix://' URIs.
* guix/store.scm (open-inet-socket): New procedure.
(connect-to-daemon): Support the 'guix' URI scheme.
* doc/guix.texi (The Store): Document it.
2017-04-21 17:23:37 +02:00
Ludovic Courtès 3b5cd17a97
store: Add 'system-error-to-connection-error' macro.
* guix/store.scm (system-error-to-connection-error): New macro.
(open-unix-domain-socket): Use it instead of 'catch'.
2017-04-21 17:23:37 +02:00
Ludovic Courtès 1397b422e2
store: 'GUIX_DAEMON_SOCKET' can now be a URI.
* guix/store.scm (%daemon-socket-file): Rename to...
(%daemon-socket-uri): ... this.
(connect-to-daemon): New procedure.
(open-connection): Rename 'file' to 'uri'.  Use 'connect-to-daemon'
instead of 'open-unix-domain-socket'.
* guix/tests.scm (open-connection-for-tests): Rename 'file' to 'uri'.
* tests/guix-build.sh: Add tests.
* tests/store.scm ("open-connection with file:// URI"): New tests.
2017-04-21 17:23:37 +02:00
Andy Wingo 031e6087c4
gnu: guile: Update to 2.2.2.
* gnu/packages/guile.scm (guile-2.2): Update to 2.2.2.
2017-04-21 16:58:13 +02:00
Marius Bakke 1aa78816f9
gnu: imlib2: Update to 1.4.10.
* gnu/packages/image.scm (imlib2): Update to 1.4.10.
2017-04-21 15:36:37 +02:00
Marius Bakke b5ceea9f0d
gnu: sdl-gfx: Update to 2.0.26.
* gnu/packages/sdl.scm (sdl-gfx): Update to 2.0.26.
2017-04-21 15:36:37 +02:00
Marius Bakke 80420acb5e
gnu: portaudio: Update to 190600.20161030.
* gnu/packages/audio.scm (portaudio): Update to 190600.20161030.
* gnu/packages/patches/portaudio-audacity-compat.patch: Adjust line endings.
2017-04-21 15:36:37 +02:00
Marius Bakke eb3574fb7d
gnu: soxr: Update to 0.1.2.
* gnu/packages/audio.scm (soxr): Update to 0.1.2.
2017-04-21 15:36:37 +02:00
Marius Bakke 833df99d62
gnu: python-pyopenssl: Update to 17.0.0.
* gnu/packages/python.scm (python-pyopenssl, python2-pyopenssl): Update to 17.0.0.
[native-inputs]: Change PYTHON-PYTEST to PYTHON-PYTEST-3.0.
* gnu/packages/patches/python-pyopenssl-skip-network-test.patch: Adjust.
2017-04-21 15:36:36 +02:00
Ben Woodcroft a7d12a9e71
gnu: proteinortho: Update to 5.16.
* gnu/packages/bioinformatics.scm (proteinortho): Update to 5.16.
2017-04-21 23:03:56 +10:00
Ben Woodcroft 37199768e8
gnu: diamond: Update to 0.8.38.
* gnu/packages/bioinformatics.scm (diamond): Update to 0.8.38.
2017-04-21 23:03:55 +10:00
Tobias Geerinckx-Rice 8a6f168c48
gnu: miniupnpc: Use @dfn mark-up.
gnu/packages/upnp.scm (miniupnpc)[description]: Use @dfn.
2017-04-21 14:46:49 +02:00
Tobias Geerinckx-Rice 05b1feb92a
gnu: miniupnpc: Update to 2.0.20170421.
gnu/packages/upnp.scm (miniupnpc): Update to 2.0.20170421.
2017-04-21 14:46:15 +02:00
Tobias Geerinckx-Rice ef27b4345f
gnu: fortify-headers: Use @code mark-up.
* gnu/packages/suckless.scm (fortify-headers)[description]: Use @code.
2017-04-21 12:32:54 +02:00
Tobias Geerinckx-Rice fea8b72989
gnu: Use HTTPS on 2f30.org.
* gnu/packages/suckless.scm (spoon, xbattmon, wificurse, skroll, sbm)
(prout, noice, fortify-headers, colors)[source, home-page]: Use HTTPS.
(human)[home-page]: Likewise.
* gnu/packages/version-control.scm (stagit)[source, home-page]: Likewise.
2017-04-21 12:32:53 +02:00
Tobias Geerinckx-Rice 9006f8bc59
gnu: version-control: Use HTTPS where possible.
* gnu/packages/version-control.scm (git)[home-page]: Use HTTPS.
(cvs)[source, home-page]: Likewise.
2017-04-21 12:32:53 +02:00
Tobias Geerinckx-Rice 79990ce31f
gnu: git-crypt: Double-space Texinfo mark-up.
* gnu/packages/version-control.scm (git-crypt)[description]: Use two spaces
where one would suffice.
2017-04-21 12:32:53 +02:00
Tobias Geerinckx-Rice 0aea268ae1
gnu: diffstat: Use @command mark-up.
* gnu/packages/version-control.scm (diffstat)[synopsis, description]:
Use @command.
2017-04-21 12:32:53 +02:00
Tobias Geerinckx-Rice 86bc52f9ba
gnu: diffstat: Update to 1.61.
* gnu/packages/version-control.scm (diffstat): Update to 1.61.
[source]: Add http://invisible-mirror.net mirror.
2017-04-21 12:32:52 +02:00
Tobias Geerinckx-Rice 35ad6b2e95
gnu: neon: Use @enumerate mark-up.
* gnu/packages/version-control.scm (neon)[description]: Use @enumerate.
2017-04-21 12:32:52 +02:00
Tobias Geerinckx-Rice 51eb4df69a
gnu: neon: Update to 0.30.2.
* gnu/packages/version-control.scm (neon): Update to 0.30.2.
2017-04-21 12:32:24 +02:00
Vasile Dumitrascu 136968fbde
gnu: cgit: Update to 1.1.
* gnu/packages/version-control.scm (cgit): Update to 1.1.
(git@2.9): Rename to...
(git@2.10): ... this.  Update to 2.10.
(cgit)[inputs]: Replace git@2.9 with git@2.10.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-04-21 10:54:23 +02:00
Vasile Dumitrascu 9b323c25d0
gnu: tmux: Update to 2.4.
* gnu/packages/tmux.scm (tmux): Update to 2.4.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-04-21 10:53:07 +02:00
Danny Milosavljevic f0eb0a4bb1
gnu: cargo: Simplify unpacking.
Fixes <http://bugs.gnu.org/26166>.

* gnu/packages/rust.scm (cargo)
[arguments]<:modules>: Add (srfi srfi-1).
[arguments]<:phases>: Adapt 'unpack-submodule-sources' phase to more clearly
seperate the tasks it does.  Add helper procedures 'unpack', 'touch',
'install-rust-library'.
[arguments]<:phases>: Rename 'set-cargo-home' to 'set-environment-up' and
make it use official cargo directories.
[arguments]<:phases>: Remove 'configure' phase.
2017-04-21 10:18:23 +02:00
Mark H Weaver 002c3e6dd6
gnu: icecat: Update to 52.0.2-gnu1; add fixes from ESR 52.1.
* gnu/packages/gnuzilla.scm (icecat): Update to 52.0.2-gnu1.
[source]: Remove all patches except "icecat-avoid-bundled-libraries.patch".
Add selected fixes from the upstream mozilla-esr52 repository, up to 52.1.
Remove "dom/devicestorage" in the snippet.
[inputs]: Remove gstreamer and gst-plugins-base.  Add ffmpeg and gtk+3.  Move
yasm to native-inputs.
[native-inputs]: Add autoconf-2.13 and yasm.
[arguments]: In configure-flags, remove the following switches which are no
longer accepted: --enable-{pango,svg,canvas,mathml,gstreamer=1.0} and
"--disable-gnomevfs".  Use "--enable-default-toolkit=cairo-gtk3" to switch to
Gtk+3.  Remove the 'remove-h264parse-from-blacklist' phase.  Adapt the
'arrange-to-link-libxul-with-libraries-it-might-dlopen' phase as needed.  In
the 'configure' phase, set the AUTOCONF environment variable.
(mozilla-patch): Update the URL pattern to fetch from the mozilla-esr52
repository.
* gnu/packages/patches/icecat-avoid-bundled-libraries.patch: Adapt to mozilla-esr52.
* gnu/packages/patches/icecat-binutils.patch: Remove file.
* gnu/packages/patches/icecat-bug-1299500-pt10.patch: New file.
* gnu/local.mk (dist_patch_DATA): Remove "icecat-binutils.patch".
Add "icecat-bug-1299500-pt10.patch".
2017-04-21 00:04:45 -04:00
Mark H Weaver fe18e2571c
gnu: Add autoconf@2.13.
* gnu/packages/autotools.scm (autoconf-2.13): New variable.
2017-04-21 00:04:43 -04:00
Mark H Weaver 6be43d95b5
gnu: nss: Disable long b64 tests.
Suggested by Marius Bakke <mbakke@fastmail.com> in
<https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00440.html>.

* gnu/packages/patches/nss-disable-long-b64-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gnuzilla.scm (nss)[source]: Add patch.
2017-04-21 00:04:42 -04:00
Mark H Weaver 1aa9e42214
gnu: nss: Update to 3.30.2 [fixes CVE-2017-5461].
* gnu/packages/gnuzilla.scm (nss): Update to 3.30.2.
2017-04-21 00:04:40 -04:00
Mark H Weaver bab9a8ba0f
gnu: graphite2: Add fixes for CVE-2017-5436 and other bugs.
* gnu/packages/fontutils.scm (graphite2)[replacement]: New field.
(graphite2/fixed): New variable.
* gnu/packages/patches/graphite2-CVE-2017-5436.patch,
gnu/packages/patches/graphite2-check-code-point-limit.patch,
gnu/packages/patches/graphite2-fix-32-bit-wrap-arounds.patch,
gnu/packages/patches/graphite2-non-linear-classes-even-number.patch:
New files.
* gnu/local.mk (dist_patch_DATA): Add them.
2017-04-21 00:04:34 -04:00
Eric Bavier f920e79426
gnu: hypre: Delete unused patches.
* gnu/packages/patches/hypre-doc-tables.patch,
gnu/packages/patches/hypre-ldflags.patch: Delete.
* gnu/local.mk (dist_patch_DATA): Remove them.
2017-04-20 22:06:00 -05:00
Ludovic Courtès 2dce88d5bb
derivations: Avoid string-to-bytevector conversions.
On Guile 2.2.1, this yields a 5% speedup on:

  guix build libreoffice xmonad certbot -n --no-substitutes --no-build-hook

* guix/derivations.scm (derivation->string): Rename to...
(derivation->bytevector): ... this.  Use 'open-bytevector-output-port'
instead of 'call-with-output-string'.
(derivation-hash): Remove string-to-bytevector conversion before
'sha256' call.
(build-expression->derivation): Use 'add-data-to-store' and an
bytevector port instead of a string port for the expression.
2017-04-20 23:35:55 +02:00
Marius Bakke 358b10b22b
gnu: ceph: Disable SSE3 instructions.
Some early 64-bit AMD processors do not support this instruction set.

* gnu/packages/patches/ceph-disable-cpu-optimizations.patch: Disable SSE3.
2017-04-20 20:28:15 +02:00
Marius Bakke daaec43120
gnu: nss-certs: Update to 3.30.2.
* gnu/packages/certs.scm (nss-certs): Update to 3.30.2.
2017-04-20 20:28:15 +02:00
Leo Famulari 45636d08eb
gnu: gst-plugins-base: Remove dead comment.
This is a followup to 1d8e727357.

* gnu/packages/gstreamer.scm (gst-plugins-base): Remove dead comment.
2017-04-20 14:23:35 -04:00
Leo Famulari dfa663c963
gnu: qemu: Update to 2.9.0 [security fixes].
Fixes CVE-2017-{5857,5973,5987,6058,6505,7377,7471,7718}.

* gnu/packages/qemu.scm (qemu): Update to 2.9.0.
[source]: Remove obsolete patches.
* gnu/packages/patches/qemu-CVE-2016-10155.patch,
gnu/packages/patches/qemu-CVE-2017-5525.patch,
gnu/packages/patches/qemu-CVE-2017-5526.patch,
gnu/packages/patches/qemu-CVE-2017-5552.patch,
gnu/packages/patches/qemu-CVE-2017-5578.patch,
gnu/packages/patches/qemu-CVE-2017-5579.patch,
gnu/packages/patches/qemu-CVE-2017-5856.patch,
gnu/packages/patches/qemu-CVE-2017-5898.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
2017-04-20 14:21:31 -04:00
Marius Bakke 7252964244
gnu: tuxpaint: Disable parallel build.
* gnu/packages/games.scm (tuxpaint)[arguments]<#:parallel-build?>: New parameter.
2017-04-20 19:31:45 +02:00
Ludovic Courtès 1f49cd546e
gnu: xorg-server: Hide the for-test variant.
* gnu/packages/xorg.scm (xorg-server-1.19.2): Wrap in 'hidden-package'
call.
2017-04-20 18:37:00 +02:00
Corentin Bocquillon 162dd29000
gnu: Add Meson.
* gnu/packages/build-tools.scm (meson): New variables.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2017-04-20 18:37:00 +02:00
ng0 eba3cd31fd
gnu: gnurl: Update to 7.54.0 [fixes CVE-2017-7468]
* gnu/packages/gnunet.scm (gnurl): Update to 7.54.0.

Signed-off-by: Leo Famulari <leo@famulari.name>
2017-04-20 12:06:41 -04:00
Leo Famulari e795a3d2ce
gnu: icu4c: Fix CVE-2017-{7867,7868}.
* gnu/packages/patches/icu4c-CVE-2017-7867-CVE-2017-7868.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/icu4c.scm (icu4c/fixed)[source]: Use it.
2017-04-20 11:59:05 -04:00
Tobias Geerinckx-Rice 46cb089f31
gnu: python-nbxmpp: Update to 0.5.5.
* gnu/packages/messaging.scm (python-nbxmpp): Update to 0.5.5.
[source]: Use PYPI-URI.
[home-page]: Use HTTPS.
[description]: Fix up.
2017-04-20 17:43:10 +02:00
ng0 9a14cd7f35
mailmap: Update entries for ng0.
* .mailmap: Add new address for ng0 and map all existing commits to it.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2017-04-20 17:29:25 +02:00
Efraim Flashner 95de359b30
gnu: moreutils: Update to 0.60.
* gnu/packages/moreutils.scm (moreutils): Update to 0.60.
2017-04-20 17:50:45 +03:00
Efraim Flashner 80678090e2
gnu: ffmpeg: Update to 3.3.
* gnu/packages/video.scm (ffmpeg): Update to 3.3.
[arguments]: Remove 'enable-x11grab' from #:configure-flags.
2017-04-20 17:50:41 +03:00
Mark H Weaver ad00ac6811
gnu: icecat: Label patches that have since been assigned CVEs.
Label patches that address the following CVEs: CVE-2017-5429, CVE-2017-5432,
CVE-2017-5433, CVE-2017-5434, CVE-2017-5435, CVE-2017-5436, CVE-2017-5438,
CVE-2017-5439, CVE-2017-5440, CVE-2017-5441, CVE-2017-5442, CVE-2017-5443,
CVE-2017-5444, CVE-2017-5445, CVE-2017-5446, CVE-2017-5447, CVE-2017-5448,
CVE-2017-5459, CVE-2017-5460, CVE-2017-5464, CVE-2017-5465, and CVE-2017-5469.

* gnu/packages/gnuzilla.scm (icecat)[source][patches]: Add comments indicating
CVE assignments.
2017-04-19 20:38:24 -04:00
Leo Famulari 90d118cab6
gnu: Delete unused patches.
* gnu/packages/patches/icu4c-CVE-2014-6585.patch,
gnu/packages/patches/icu4c-CVE-2015-1270.patch,
gnu/packages/patches/icu4c-CVE-2015-4760.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
2017-04-19 19:28:48 -04:00
Leo Famulari e1444afa2d
gnu: curl: Replace with curl@7.54.0 [fixes CVE-2017-7468]
* gnu/packages/curl.scm (curl)[replacement]: New field.
(curl-7.54.0): New variable.
2017-04-19 18:29:00 -04:00