jackhill/guix/guix.git
7 years agotests: Adjust to the addition of a new Coreutils version.
Ludovic Courtès [Fri, 21 Apr 2017 20:53:59 +0000 (22:53 +0200)]
tests: Adjust to the addition of a new Coreutils version.

* tests/scripts-build.scm ("options->transformation, with-input"): Use
'specification->package' rather than refer to Coreutils by its
variable.  This is a followup to e162050dfc0dee708a7ac5bfcf37d2afd6081604.

7 years agoderivations: Restore UTF-8 encoding of build scripts.
Ludovic Courtès [Fri, 21 Apr 2017 20:43:28 +0000 (22:43 +0200)]
derivations: Restore UTF-8 encoding of build scripts.

Reported by Mark H Weaver <mhw@netris.org>
at <https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00457.html>.

* guix/derivations.scm (build-expression->derivation): Use a string
output port for the expression.  This reverts part of
2dce88d5bbe7a65e101c0734d1c6db44ecc8c299.
* tests/derivations.scm ("build-expression->derivation and builder
encoding"): New test.

7 years agognu: libsodium: Update to 1.0.12.
Leo Famulari [Fri, 21 Apr 2017 20:13:16 +0000 (16:13 -0400)]
gnu: libsodium: Update to 1.0.12.

* gnu/packages/crypto.scm (libsodium): Update to 1.0.12.

7 years agognu: Add crawl.
nee [Thu, 13 Apr 2017 20:45:18 +0000 (22:45 +0200)]
gnu: Add crawl.

* gnu/packages/games.scm (crawl): New variable.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
7 years agognu: Add libbson.
Corentin Bocquillon [Fri, 21 Apr 2017 12:05:30 +0000 (14:05 +0200)]
gnu: Add libbson.

* gnu/packages/serialization.scm (libbson): New variables.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: mutt: Update to 1.8.2.
Leo Famulari [Fri, 21 Apr 2017 19:23:58 +0000 (15:23 -0400)]
gnu: mutt: Update to 1.8.2.

* gnu/packages/mail.scm (mutt): Update to 1.8.2.

7 years agognu: neomutt: Don't rewrite the source file-name.
Leo Famulari [Fri, 21 Apr 2017 19:20:29 +0000 (15:20 -0400)]
gnu: neomutt: Don't rewrite the source file-name.

* gnu/packages/mail.scm (neomutt)[file-name]: Remove field.

7 years agognu: neomutt: Update to 20170421.
ng0 [Fri, 21 Apr 2017 15:23:38 +0000 (15:23 +0000)]
gnu: neomutt: Update to 20170421.

* gnu/packages/mail.scm (neomutt): Update to 20170421.
[native-inputs]: Add 'gettext-minimal'.
[description]: Clarify the state of neomutt as it is now a microfork of mutt.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: icecat: Fix GTK 3 file chooser crash.
Clément Lassieur [Fri, 21 Apr 2017 17:40:10 +0000 (19:40 +0200)]
gnu: icecat: Fix GTK 3 file chooser crash.

* gnu/packages/gnuzilla.scm (icecat)[arguments]: Add a 'wrap-program' phase to
set XDG_DATA_DIRS.

7 years agognu: Add mcomix.
nee [Fri, 14 Apr 2017 17:09:40 +0000 (19:09 +0200)]
gnu: Add mcomix.

* gnu/packages/image-viewers.scm (mcomix): New variable.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
7 years agostore: Support 'ssh://' URIs in 'GUIX_DAEMON_SOCKET'.
Ludovic Courtès [Fri, 21 Apr 2017 17:13:32 +0000 (19:13 +0200)]
store: Support 'ssh://' URIs in 'GUIX_DAEMON_SOCKET'.

This allows 'guix' commands to talk to a remote store over SSH.

* guix/store.scm (connect-to-daemon)[connect]: Call 'resolve-interface'
for unknown URI schemes.
* guix/store/ssh.scm: New file.
* Makefile.am (MODULES): Add it.
* doc/guix.texi (The Store): Document it.  Mark remote access as
experimental.

7 years agossh: Decompose 'connect-to-remote-daemon'.
Ludovic Courtès [Fri, 21 Apr 2017 17:01:03 +0000 (19:01 +0200)]
ssh: Decompose 'connect-to-remote-daemon'.

* guix/ssh.scm (remote-daemon-channel): New procedure.
(connect-to-remote-daemon): Implement in terms of it.

7 years agossh: Move 'open-ssh-session' to (guix ssh).
Ludovic Courtès [Fri, 21 Apr 2017 16:44:59 +0000 (18:44 +0200)]
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'.

7 years agooffload: Avoid using '_' as a 'match' pattern.
Ludovic Courtès [Fri, 21 Apr 2017 15:18:54 +0000 (17:18 +0200)]
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.

7 years agostore: Add support for remote connections via 'guix://' URIs.
Ludovic Courtès [Fri, 21 Apr 2017 12:57:02 +0000 (14:57 +0200)]
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.

7 years agostore: Add 'system-error-to-connection-error' macro.
Ludovic Courtès [Fri, 21 Apr 2017 09:48:57 +0000 (11:48 +0200)]
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'.

7 years agostore: 'GUIX_DAEMON_SOCKET' can now be a URI.
Ludovic Courtès [Fri, 21 Apr 2017 09:39:49 +0000 (11:39 +0200)]
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.

7 years agognu: guile: Update to 2.2.2.
Andy Wingo [Fri, 21 Apr 2017 14:56:45 +0000 (16:56 +0200)]
gnu: guile: Update to 2.2.2.

* gnu/packages/guile.scm (guile-2.2): Update to 2.2.2.

7 years agognu: imlib2: Update to 1.4.10.
Marius Bakke [Fri, 21 Apr 2017 13:33:29 +0000 (15:33 +0200)]
gnu: imlib2: Update to 1.4.10.

* gnu/packages/image.scm (imlib2): Update to 1.4.10.

7 years agognu: sdl-gfx: Update to 2.0.26.
Marius Bakke [Fri, 21 Apr 2017 13:01:17 +0000 (15:01 +0200)]
gnu: sdl-gfx: Update to 2.0.26.

* gnu/packages/sdl.scm (sdl-gfx): Update to 2.0.26.

7 years agognu: portaudio: Update to 190600.20161030.
Marius Bakke [Fri, 21 Apr 2017 12:44:07 +0000 (14:44 +0200)]
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.

7 years agognu: soxr: Update to 0.1.2.
Marius Bakke [Fri, 21 Apr 2017 12:25:40 +0000 (14:25 +0200)]
gnu: soxr: Update to 0.1.2.

* gnu/packages/audio.scm (soxr): Update to 0.1.2.

7 years agognu: python-pyopenssl: Update to 17.0.0.
Marius Bakke [Fri, 21 Apr 2017 12:25:05 +0000 (14:25 +0200)]
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.

7 years agognu: proteinortho: Update to 5.16.
Ben Woodcroft [Fri, 21 Apr 2017 12:52:26 +0000 (22:52 +1000)]
gnu: proteinortho: Update to 5.16.

* gnu/packages/bioinformatics.scm (proteinortho): Update to 5.16.

7 years agognu: diamond: Update to 0.8.38.
Ben Woodcroft [Fri, 21 Apr 2017 12:40:34 +0000 (22:40 +1000)]
gnu: diamond: Update to 0.8.38.

* gnu/packages/bioinformatics.scm (diamond): Update to 0.8.38.

7 years agognu: miniupnpc: Use @dfn mark-up.
Tobias Geerinckx-Rice [Fri, 21 Apr 2017 12:46:49 +0000 (14:46 +0200)]
gnu: miniupnpc: Use @dfn mark-up.

gnu/packages/upnp.scm (miniupnpc)[description]: Use @dfn.

7 years agognu: miniupnpc: Update to 2.0.20170421.
Tobias Geerinckx-Rice [Fri, 21 Apr 2017 12:46:15 +0000 (14:46 +0200)]
gnu: miniupnpc: Update to 2.0.20170421.

gnu/packages/upnp.scm (miniupnpc): Update to 2.0.20170421.

7 years agognu: fortify-headers: Use @code mark-up.
Tobias Geerinckx-Rice [Fri, 21 Apr 2017 10:27:16 +0000 (12:27 +0200)]
gnu: fortify-headers: Use @code mark-up.

* gnu/packages/suckless.scm (fortify-headers)[description]: Use @code.

7 years agognu: Use HTTPS on 2f30.org.
Tobias Geerinckx-Rice [Fri, 21 Apr 2017 10:16:05 +0000 (12:16 +0200)]
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.

7 years agognu: version-control: Use HTTPS where possible.
Tobias Geerinckx-Rice [Fri, 21 Apr 2017 10:25:34 +0000 (12:25 +0200)]
gnu: version-control: Use HTTPS where possible.

* gnu/packages/version-control.scm (git)[home-page]: Use HTTPS.
(cvs)[source, home-page]: Likewise.

7 years agognu: git-crypt: Double-space Texinfo mark-up.
Tobias Geerinckx-Rice [Fri, 21 Apr 2017 07:38:36 +0000 (09:38 +0200)]
gnu: git-crypt: Double-space Texinfo mark-up.

* gnu/packages/version-control.scm (git-crypt)[description]: Use two spaces
where one would suffice.

7 years agognu: diffstat: Use @command mark-up.
Tobias Geerinckx-Rice [Fri, 21 Apr 2017 07:32:53 +0000 (09:32 +0200)]
gnu: diffstat: Use @command mark-up.

* gnu/packages/version-control.scm (diffstat)[synopsis, description]:
Use @command.

7 years agognu: diffstat: Update to 1.61.
Tobias Geerinckx-Rice [Fri, 21 Apr 2017 07:31:17 +0000 (09:31 +0200)]
gnu: diffstat: Update to 1.61.

* gnu/packages/version-control.scm (diffstat): Update to 1.61.
[source]: Add http://invisible-mirror.net mirror.

7 years agognu: neon: Use @enumerate mark-up.
Tobias Geerinckx-Rice [Thu, 20 Apr 2017 05:09:46 +0000 (07:09 +0200)]
gnu: neon: Use @enumerate mark-up.

* gnu/packages/version-control.scm (neon)[description]: Use @enumerate.

7 years agognu: neon: Update to 0.30.2.
Tobias Geerinckx-Rice [Thu, 20 Apr 2017 05:08:19 +0000 (07:08 +0200)]
gnu: neon: Update to 0.30.2.

* gnu/packages/version-control.scm (neon): Update to 0.30.2.

7 years agognu: cgit: Update to 1.1.
Vasile Dumitrascu [Thu, 20 Apr 2017 22:34:54 +0000 (00:34 +0200)]
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>
7 years agognu: tmux: Update to 2.4.
Vasile Dumitrascu [Thu, 20 Apr 2017 21:46:46 +0000 (23:46 +0200)]
gnu: tmux: Update to 2.4.

* gnu/packages/tmux.scm (tmux): Update to 2.4.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: cargo: Simplify unpacking.
Danny Milosavljevic [Thu, 13 Apr 2017 22:04:02 +0000 (00:04 +0200)]
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.

7 years agognu: icecat: Update to 52.0.2-gnu1; add fixes from ESR 52.1.
Mark H Weaver [Thu, 20 Apr 2017 04:41:32 +0000 (00:41 -0400)]
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".

7 years agognu: Add autoconf@2.13.
Mark H Weaver [Thu, 20 Apr 2017 04:42:15 +0000 (00:42 -0400)]
gnu: Add autoconf@2.13.

* gnu/packages/autotools.scm (autoconf-2.13): New variable.

7 years agognu: nss: Disable long b64 tests.
Mark H Weaver [Thu, 20 Apr 2017 21:42:52 +0000 (17:42 -0400)]
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.

7 years agognu: nss: Update to 3.30.2 [fixes CVE-2017-5461].
Mark H Weaver [Thu, 20 Apr 2017 18:55:31 +0000 (14:55 -0400)]
gnu: nss: Update to 3.30.2 [fixes CVE-2017-5461].

* gnu/packages/gnuzilla.scm (nss): Update to 3.30.2.

7 years agognu: graphite2: Add fixes for CVE-2017-5436 and other bugs.
Mark H Weaver [Thu, 20 Apr 2017 19:10:54 +0000 (15:10 -0400)]
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.

7 years agognu: hypre: Delete unused patches.
Eric Bavier [Fri, 21 Apr 2017 03:06:00 +0000 (22:06 -0500)]
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.

7 years agoderivations: Avoid string-to-bytevector conversions.
Ludovic Courtès [Thu, 20 Apr 2017 16:46:38 +0000 (18:46 +0200)]
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.

7 years agognu: ceph: Disable SSE3 instructions.
Marius Bakke [Thu, 20 Apr 2017 16:57:16 +0000 (18:57 +0200)]
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.

7 years agognu: nss-certs: Update to 3.30.2.
Marius Bakke [Thu, 20 Apr 2017 16:08:43 +0000 (18:08 +0200)]
gnu: nss-certs: Update to 3.30.2.

* gnu/packages/certs.scm (nss-certs): Update to 3.30.2.

7 years agognu: gst-plugins-base: Remove dead comment.
Leo Famulari [Thu, 20 Apr 2017 18:22:40 +0000 (14:22 -0400)]
gnu: gst-plugins-base: Remove dead comment.

This is a followup to 1d8e7273578e95f6b5e4293ac34c4f6fe5d5c579.

* gnu/packages/gstreamer.scm (gst-plugins-base): Remove dead comment.

7 years agognu: qemu: Update to 2.9.0 [security fixes].
Leo Famulari [Fri, 7 Apr 2017 13:03:28 +0000 (09:03 -0400)]
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.

7 years agognu: tuxpaint: Disable parallel build.
Marius Bakke [Thu, 20 Apr 2017 17:30:00 +0000 (19:30 +0200)]
gnu: tuxpaint: Disable parallel build.

* gnu/packages/games.scm (tuxpaint)[arguments]<#:parallel-build?>: New parameter.

7 years agognu: xorg-server: Hide the for-test variant.
Ludovic Courtès [Thu, 20 Apr 2017 16:33:15 +0000 (18:33 +0200)]
gnu: xorg-server: Hide the for-test variant.

* gnu/packages/xorg.scm (xorg-server-1.19.2): Wrap in 'hidden-package'
call.

7 years agognu: Add Meson.
Corentin Bocquillon [Wed, 19 Apr 2017 20:30:07 +0000 (22:30 +0200)]
gnu: Add Meson.

* gnu/packages/build-tools.scm (meson): New variables.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: gnurl: Update to 7.54.0 [fixes CVE-2017-7468]
ng0 [Thu, 20 Apr 2017 00:38:25 +0000 (00:38 +0000)]
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>
7 years agognu: icu4c: Fix CVE-2017-{7867,7868}.
Leo Famulari [Wed, 19 Apr 2017 23:22:50 +0000 (19:22 -0400)]
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.

7 years agognu: python-nbxmpp: Update to 0.5.5.
Tobias Geerinckx-Rice [Wed, 19 Apr 2017 22:18:31 +0000 (00:18 +0200)]
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.

7 years agomailmap: Update entries for ng0.
ng0 [Thu, 20 Apr 2017 00:38:26 +0000 (00:38 +0000)]
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>
7 years agognu: moreutils: Update to 0.60.
Efraim Flashner [Thu, 20 Apr 2017 10:06:46 +0000 (13:06 +0300)]
gnu: moreutils: Update to 0.60.

* gnu/packages/moreutils.scm (moreutils): Update to 0.60.

7 years agognu: ffmpeg: Update to 3.3.
Efraim Flashner [Thu, 20 Apr 2017 08:57:38 +0000 (11:57 +0300)]
gnu: ffmpeg: Update to 3.3.

* gnu/packages/video.scm (ffmpeg): Update to 3.3.
[arguments]: Remove 'enable-x11grab' from #:configure-flags.

7 years agognu: icecat: Label patches that have since been assigned CVEs.
Mark H Weaver [Thu, 20 Apr 2017 00:28:01 +0000 (20:28 -0400)]
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.

7 years agognu: Delete unused patches.
Leo Famulari [Wed, 19 Apr 2017 23:10:53 +0000 (19:10 -0400)]
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.

7 years agognu: curl: Replace with curl@7.54.0 [fixes CVE-2017-7468]
Leo Famulari [Wed, 19 Apr 2017 22:16:22 +0000 (18:16 -0400)]
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.

7 years agognu: guile: Update to 2.2.1.
Ludovic Courtès [Wed, 19 Apr 2017 21:43:19 +0000 (23:43 +0200)]
gnu: guile: Update to 2.2.1.

* gnu/packages/guile.scm (guile-2.2): Update to 2.2.1.

7 years agopublish: Add a handler for / and /index.html.
Ludovic Courtès [Wed, 19 Apr 2017 21:39:27 +0000 (23:39 +0200)]
publish: Add a handler for / and /index.html.

Suggested by Quiliro <quiliro@riseup.net>
in <https://bugs.gnu.org/26567>.

* guix/scripts/publish.scm (render-home-page): New procedure.
(make-request-handler): Handle it.

7 years agodoc: Update exim service documentation.
Carlo Zancanaro [Wed, 19 Apr 2017 13:58:24 +0000 (23:58 +1000)]
doc: Update exim service documentation.

* doc/guix.texi (Mail Services): Update exim service documentation to remove
mail-aliases, add mail-aliases-service-type documentation.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agotests: mail: Add test for exim
Carlo Zancanaro [Thu, 30 Mar 2017 04:13:56 +0000 (15:13 +1100)]
tests: mail: Add test for exim

* gnu/tests/mail.scm (%exim-os, %test-exim): New variables.
(run-exim-test): New procedure.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agoservices: Make exim-service-type use mail-aliases-service-type
Carlo Zancanaro [Thu, 30 Mar 2017 04:28:26 +0000 (15:28 +1100)]
services: Make exim-service-type use mail-aliases-service-type

* gnu/services/mail.scm (exim-configuration)[aliases]: Remove field.
(exim-activation, exim-shepherd-service): Remove alias from matches.
(exim-etc): Remove procedure.
(exim-service-type): Extend mail-aliases-service-type instead of
etc-service-type.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agoservices: Add mail-aliases-service-type.
Carlo Zancanaro [Thu, 30 Mar 2017 04:25:58 +0000 (15:25 +1100)]
services: Add mail-aliases-service-type.

* gnu/services/mail.scm (mail-aliases-etc): New procedure.
(mail-aliases-service-type): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: Add workaround for `date` regression in coreutils@8.26.
Marius Bakke [Tue, 18 Apr 2017 18:13:45 +0000 (20:13 +0200)]
gnu: Add workaround for `date` regression in coreutils@8.26.

See <https://bugs.gnu.org/23035> and <https://bugs.gnu.org/26238>.

* gnu/packages/base.scm (coreutils-8.27): New variable.
* gnu/system.scm (%base-packages): Use that instead of COREUTILS.

7 years agognu: emacs-exwm: Let shell wrapper work with arguments.
Feng Shu [Tue, 18 Apr 2017 22:14:44 +0000 (06:14 +0800)]
gnu: emacs-exwm: Let shell wrapper work with arguments.

* gnu/packages/emacs.scm (emacs-exwm): Pass shell wrapper arguments to emacs.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
7 years agoservices: guix-publish: Add 'cache', 'workers', and 'ttl' config knobs.
Ludovic Courtès [Wed, 19 Apr 2017 15:16:21 +0000 (17:16 +0200)]
services: guix-publish: Add 'cache', 'workers', and 'ttl' config knobs.

* gnu/services/base.scm (<guix-publish-configuration>)[cache, workers,
ttl]: New fields.
(guix-publish-shepherd-service): Honor them.
(guix-publish-activation): New procedure.
(guix-publish-service-type): Extend ACTIVATION-SERVICE-TYPE.
* doc/guix.texi (Base Services): Document it.

7 years agogexp: 'gexp-modules' accepts plain Scheme objects.
Ludovic Courtès [Wed, 19 Apr 2017 14:11:25 +0000 (16:11 +0200)]
gexp: 'gexp-modules' accepts plain Scheme objects.

* guix/gexp.scm (gexp-modules): Return '() when not (gexp? GEXP).
* tests/gexp.scm ("gexp-modules and literal Scheme object"): New test.

7 years agoservices: guix-publish: Fix getter names.
Ludovic Courtès [Wed, 19 Apr 2017 14:04:53 +0000 (16:04 +0200)]
services: guix-publish: Fix getter names.

Fixes a typo introduced in 697ddb8850d7aeb612ec9402e86f82c44edf8c96.

* gnu/services/base.scm (<guix-publish-configuration>): Add missing
'configuration' word in getters for 'compression-level' and 'nar-path'.

7 years agognu: Add balsa.
rennes [Tue, 18 Apr 2017 17:35:41 +0000 (12:35 -0500)]
gnu: Add balsa.

* gnu/packages/mail.scm (balsa): New variable.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
7 years agognu: linux-libre: Update to 4.10.11.
Mark H Weaver [Wed, 19 Apr 2017 01:17:49 +0000 (21:17 -0400)]
gnu: linux-libre: Update to 4.10.11.

* gnu/packages/linux.scm (%linux-libre-version): Update to 4.10.11.
(%linux-libre-hash): Update hash.

7 years agognu: linux-libre@4.9: Update to 4.9.23.
Mark H Weaver [Wed, 19 Apr 2017 01:16:44 +0000 (21:16 -0400)]
gnu: linux-libre@4.9: Update to 4.9.23.

* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.23.

7 years agognu: linux-libre@4.4: Update to 4.4.62.
Mark H Weaver [Wed, 19 Apr 2017 01:15:51 +0000 (21:15 -0400)]
gnu: linux-libre@4.4: Update to 4.4.62.

* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.62.

7 years agognu: baobab: Update to 3.24.0.
Kei Kebreau [Wed, 19 Apr 2017 00:18:13 +0000 (20:18 -0400)]
gnu: baobab: Update to 3.24.0.

* gnu/packages/gnome.scm (baobab): Update to 3.24.0.

7 years agognu: adwaita-icon-theme: Update to 3.24.0.
Kei Kebreau [Wed, 19 Apr 2017 00:02:49 +0000 (20:02 -0400)]
gnu: adwaita-icon-theme: Update to 3.24.0.

* gnu/packages/gnome.scm (adwaita-icon-theme): Update to 3.24.0.

7 years agognu: gnome-terminal: Update to 3.24.1.
Kei Kebreau [Tue, 18 Apr 2017 23:13:28 +0000 (19:13 -0400)]
gnu: gnome-terminal: Update to 3.24.1.

* gnu/packages/gnome.scm (gnome-terminal): Update to 3.24.1.

7 years agognu: guix: Update development snapshot.
Ludovic Courtès [Tue, 18 Apr 2017 21:44:09 +0000 (23:44 +0200)]
gnu: guix: Update development snapshot.

* gnu/packages/package-management.scm (guix-devel): Update to d72b420.

7 years agognu: libressl: Do not use 'getentropy'.
Ludovic Courtès [Tue, 18 Apr 2017 21:39:03 +0000 (23:39 +0200)]
gnu: libressl: Do not use 'getentropy'.

* gnu/packages/tls.scm (libressl)[arguments]: New field.

7 years agognu: Add adb.
Julien Lepiller [Sat, 15 Apr 2017 16:17:27 +0000 (18:17 +0200)]
gnu: Add adb.

* gnu/packages/android.scm: New file.
* gnu/packages/patches/libbase-fix-includes.patch: New file.
* gnu/packages/patches/libbase-use-own-logging.patch: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES, dist_patch_DATA): Add them.

Co-Authored-By: Marius Bakke <mbakke@fastmail.com>
7 years agopublish: Remove expired cache entries when '--ttl' is used.
Ludovic Courtès [Tue, 18 Apr 2017 21:12:35 +0000 (23:12 +0200)]
publish: Remove expired cache entries when '--ttl' is used.

* guix/scripts/publish.scm (narinfo-files): New procedure.
(render-narinfo/cached)[delete-file]: New procedure.  Add call to
'maybe-remove-expired-cache-entries'.
* doc/guix.texi (Invoking guix publish): Document the interation between
--cache and --ttl.

7 years agoAdd (guix cache) and use it in (guix scripts substitute).
Ludovic Courtès [Tue, 18 Apr 2017 20:07:49 +0000 (22:07 +0200)]
Add (guix cache) and use it in (guix scripts substitute).

* guix/cache.scm, tests/cache.scm: New files.
* Makefile.am (MODULES, SCM_TESTS): Add them.
* guix/scripts/substitute.scm (obsolete?): Remove.
(remove-expired-cached-narinfos): Rename to...
(cached-narinfo-expiration-time): ... this.  Remove the removal part and
only keep the expiration time part.
(narinfo-cache-directories): Add optional 'directory' parameter and
honor it.
(maybe-remove-expired-cached-narinfo): Remove.
(cached-narinfo-files): New procedure.
(guix-substitute): Use 'maybe-remove-expired-cache-entries' instead of
'maybe-remove-expired-cached-narinfo'.

7 years agopublish: Add '--cache' and '--workers'.
Ludovic Courtès [Mon, 17 Apr 2017 21:13:40 +0000 (23:13 +0200)]
publish: Add '--cache' and '--workers'.

Fixes <http://bugs.gnu.org/26201>.
Reported by <dian_cecht@zoho.com>.

These options allow nars to be "baked" off-line and cached instead of
being compressed on the fly.  As a side-effect, this allows us to
provide a 'Content-Length' header for nars.

* guix/scripts/publish.scm (show-help, %options): Add '--cache' and
'--workers'.
(%default-options): Add 'workers'.
(nar-cache-file, narinfo-cache-file, run-single-baker): New procedures.
(single-baker): New macro.
(render-narinfo/cached, bake-narinfo+nar)
(render-nar/cached): New procedures.
(make-request-handler): Add #:cache and #:pool parameters and honor
them.
(run-publish-server): Likewise.
(guix-publish): Honor '--cache' and '--workers'.
* tests/publish.scm ("with cache"): New test.
* doc/guix.texi (Invoking guix publish): Document it.

7 years agopublish: Use 'sendfile' when possible.
Ludovic Courtès [Mon, 17 Apr 2017 22:28:39 +0000 (00:28 +0200)]
publish: Use 'sendfile' when possible.

* guix/scripts/publish.scm (http-write): In the
'application/octet-stream' case, use 'sendfile' when OUTPUT is a file
port.

7 years agopublish: Introduce 'actual-compression'.
Ludovic Courtès [Mon, 17 Apr 2017 21:11:28 +0000 (23:11 +0200)]
publish: Introduce 'actual-compression'.

* guix/scripts/publish.scm (actual-compression): New procedure.
(narinfo-string): Use it.

7 years agoAdd (guix workers).
Ludovic Courtès [Mon, 17 Apr 2017 20:04:31 +0000 (22:04 +0200)]
Add (guix workers).

* guix/workers.scm, tests/workers.scm: New files.
* Makefile.am (MODULES, SCM_TESTS): Add them.
* .dir-locals.el: Add rule for 'eventually'.

7 years agoservices: nginx: Use mime.types.
Julien Lepiller [Mon, 17 Apr 2017 21:06:04 +0000 (23:06 +0200)]
services: nginx: Use mime.types.

* gnu/service/web.scm (default-nginx-config): Add 'nginx' parameter
and honor it.  Adjust callers.

7 years agognu: vte: Update to 0.48.2.
Kei Kebreau [Tue, 18 Apr 2017 19:13:00 +0000 (15:13 -0400)]
gnu: vte: Update to 0.48.2.

* gnu/packages/gnome.scm (vte): Update to 0.48.2.

7 years agognu: fabric: Enable tests.
Ben Sturmfels [Tue, 18 Apr 2017 16:24:57 +0000 (02:24 +1000)]
gnu: fabric: Enable tests.

* gnu/packages/patches/fabric-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/admin.scm (fabric)[source]: Use it.
[native-inputs]: Add PYTHON2-FUDGE, PYTHON2-JINJA2 and PYTHON2-NOSE.
[arguments]<#:tests>: Remove.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: Add python-fudge.
Ben Sturmfels [Tue, 18 Apr 2017 16:16:18 +0000 (02:16 +1000)]
gnu: Add python-fudge.

* gnu/packages/python.scm (python-fudge): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agodoc: Replace --no-grub by --no-bootloader.
Mathieu Othacehe [Tue, 18 Apr 2017 09:25:53 +0000 (11:25 +0200)]
doc: Replace --no-grub by --no-bootloader.

Fixes <http://bugs.gnu.org/26551>.

Followup to a9eadc06ac57846aaa8fdeb550b32e44f59c9437.

* doc/guix.texi: Replace all references to "--no-grub" by
"--no-bootloader".

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
7 years agognu: multipath-tools: Update to 0.7.1.
Marius Bakke [Tue, 18 Apr 2017 13:42:40 +0000 (15:42 +0200)]
gnu: multipath-tools: Update to 0.7.1.

* gnu/packages/linux.scm (multipath-tools): Update to 0.7.1.
[native-inputs]: Add PERL and PKG-CONFIG.
[inputs]: Add JSON-C.
[arguments]: Add two more substitutions in 'patch-source' phase.

7 years agognu: multipath-tools: Don't install to /usr sub-folders.
Marius Bakke [Tue, 18 Apr 2017 13:30:22 +0000 (15:30 +0200)]
gnu: multipath-tools: Don't install to /usr sub-folders.

* gnu/packages/linux.scm (multipath-tools)<#:make-flags>: Add SYSTEMDPATH entry.
<#:phases>: Add new 'patch-source' phase.

7 years agognu: Add emacs-exwm.
Feng Shu [Sat, 15 Apr 2017 12:23:10 +0000 (20:23 +0800)]
gnu: Add emacs-exwm.

* gnu/packages/emacs.scm (emacs-exwm): New variable.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
7 years agognu: Add emacs-xelb.
Feng Shu [Fri, 14 Apr 2017 15:06:15 +0000 (23:06 +0800)]
gnu: Add emacs-xelb.

* gnu/packages/emacs.scm (emacs-xelb): New variable.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
7 years agognu: mate-themes: Update to 3.22.10.
Kei Kebreau [Tue, 18 Apr 2017 01:22:40 +0000 (21:22 -0400)]
gnu: mate-themes: Update to 3.22.10.

* gnu/packages/mate.scm (mate-themes): Update to 3.22.10.

7 years agognu: you-get: Update to 0.4.715.
Feng Shu [Mon, 17 Apr 2017 22:04:12 +0000 (06:04 +0800)]
gnu: you-get: Update to 0.4.715.

* gnu/packages/video.scm (you-get): Update to 0.4.715.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agoRevert "gnu: nss, nss-certs: Update to 3.30.1."
Marius Bakke [Mon, 17 Apr 2017 22:25:39 +0000 (00:25 +0200)]
Revert "gnu: nss, nss-certs: Update to 3.30.1."

This version fails to build on some architectures:

https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00365.html
https://bugzilla.mozilla.org/show_bug.cgi?id=1351459

This reverts commit 96e98d51a7057b443a1c1b32046f8be6a1987a2f.