Commit Graph

17651 Commits

Author SHA1 Message Date
Ludovic Courtès 4c80d4c481
download: Do not offload 'builtin:download' derivations.
* guix/download.scm (built-in-download): Pass #:local-build? #t.
2016-11-18 18:28:02 +01:00
Ludovic Courtès 8134dc1f74
gnu: guile@2.0.13: Fix non-determinism issue in REPL server test.
* gnu/packages/patches/guile-repl-server-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/guile.scm (guile-2.0.13)[source]: Use it.
2016-11-18 18:28:02 +01:00
Danny Milosavljevic 651049789f
gnu: xonsh: Update to 0.4.7.
* gnu/packages/shells.scm (xonsh): Update to 0.4.7.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-11-18 17:02:30 +01:00
宋文武 d7da76044b
gnu: opensmtpd: Build man pages.
* gnu/packages/mail.scm (opensmtpd)[native-inputs]: Add groff.
2016-11-18 22:19:49 +08:00
Efraim Flashner 4d17fe2ad3
gnu: python-gst: Update to 1.10.1.
* gnu/packages/gstreamer.scm (python-gst, python2-gst): Update to 1.10.1.
2016-11-18 14:26:40 +02:00
Efraim Flashner 950548b0f7
gnu: gst-libav: Update to 1.10.1.
* gnu/packages/gstreamer.scm (gst-libav): Update to 1.10.1.
2016-11-18 14:26:40 +02:00
Efraim Flashner 2e747a3ff6
gnu: gst-plugins-ugly: Update to 1.10.1.
* gnu/packages/gstreamer.scm (gst-plugins-ugly): Update to 1.10.1.
2016-11-18 14:26:39 +02:00
Efraim Flashner 95e89a4510
gnu: gst-plugins-bad: Update to 1.10.1 (Fixes security issues).
* gnu/packages/gstreamer.scm (gst-plugins-bad): Update to 1.10.1.
2016-11-18 14:26:39 +02:00
Efraim Flashner faa3c13920
gnu: gst-plugins-good: Update to 1.10.1.
* gnu/packages/gstreamer.scm (gst-plugins-good): Update to 1.10.1.
2016-11-18 10:01:29 +02:00
Efraim Flashner de0e591a53
gnu: gst-plugins-base: Update to 1.10.1.
* gnu/packages/gstreamer.scm (gst-plugins-base): Update to 1.10.1.
2016-11-18 10:01:29 +02:00
Efraim Flashner 28e3663134
gnu: gstreamer: Update to 1.10.1.
* gnu/packages/gstreamer.scm (gstreamer): Update to 1.10.1.
2016-11-18 10:01:17 +02:00
Roel Janssen 88bdbb2a0f
guix package: Display newline after generation diffs.
* guix/ui.scm (display-profile-content-diff): Display an extra newline.
2016-11-17 23:49:29 +01:00
Ludovic Courtès 1f9803c2a4
services: static-networking: Add netmask.
Reported by Mathieu Lirzin and Andreas Enge.

* gnu/services/networking.scm (<static-networking>)[netmask]: New
field.
(static-networking-service-type): Honor it.
* gnu/services/networking.scm (static-networking-service): Add #:netmask
and honor it.
* doc/guix.texi (Networking Services): Adjust accordingly.
2016-11-17 23:21:48 +01:00
Ludovic Courtès 056d0b4034
tests: basic: Fix harmless thinko.
* gnu/tests/base.scm (run-basic-test)["login on tty1"]: Move the
file-waiting loop inside the 'marionette-eval' body.  Before that, we
were waiting for the file to appear on the host, which would never
happen, meaning that we were always waiting for 15 seconds.
2016-11-17 23:21:48 +01:00
Ludovic Courtès e9ff8d9ff1
syscalls: 'configure-network-interface' has a #:netmask parameter.
* guix/build/syscalls.scm (configure-network-interface): Add #:netmask
keyword parameter and honor it.
2016-11-17 23:21:47 +01:00
Leo Famulari 175c910380
gnu: mpop: Use 'sourceforge' mirror.
This is a followup to commit 5837e69936.

* gnu/packages/mail.scm (mpop)[source]: Use 'sourceforge' mirror.
2016-11-17 15:56:06 -05:00
Arun Isaac 5837e69936
gnu: mpop: Update to 1.2.6.
* gnu/packages/mail.scm (mpop): Update to 1.2.6.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-11-17 17:45:38 +01:00
Efraim Flashner e5294500d6
gnu: obs: Update to 0.16.5.
* gnu/packages/video.scm (obs): Update to 0.16.5.
2016-11-17 07:26:20 +02:00
Efraim Flashner ca569eb89f
gnu: aria2: Update to 1.29.0.
* gnu/packages/bittorrent.scm (aria2): Update to 1.29.0.
2016-11-17 07:26:20 +02:00
Mark H Weaver 2f63e087fe
Revert "gnu: icecat: Enable gtk3 support."
This reverts commit eaf72e218e.

IceCat misbehaves with gtk+3, most notably the scroll bar handles are
invisible.  Here we revert back to gtk+2 until these problems can be
addressed.
2016-11-16 22:34:11 -05:00
Eric Bavier fe047e1380
gnu: Add Handbrake.
* gnu/packages/video.scm (handbrake): New variable.
* gnu/packages/patches/handbrake-pkg-config-path.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.
2016-11-16 20:58:12 -06:00
Leo Famulari 1339a8ed1c
gnu: libtiff: Fix some buffer overflows.
* gnu/packages/patches/libtiff-uint32-overflow.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/image.scm (libtiff/fixed)[source]: Use it.
2016-11-16 19:59:28 -05:00
Leo Famulari 7cea56e2ac
gnu: libtiff: Fix CVE-2016-9297.
* gnu/packages/patches/libtiff-CVE-2016-9297.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/image.scm (libtiff/fixed)[source]: Use it.
2016-11-16 19:59:24 -05:00
Ludovic Courtès 67e5f3b71d
syscalls: Add bindings for SIOCGIFNETMASK and SIOCSIFNETMASK.
* guix/build/syscalls.scm (SIOCGIFNETMASK, SIOCSIFNETMASK): New
variables.
(set-network-interface-netmask, network-interface-netmask): New
procedures.
* tests/syscalls.scm ("network-interface-netmask lo")
("set-network-interface-netmask"): New tests.
2016-11-16 23:38:06 +01:00
Ludovic Courtès 9d9d0c9c98
syscalls: Use 'define-c-struct' for 'struct ifconf'.
* guix/build/syscalls.scm (ifconf-struct): Remove.
(%ifconf-struct): New C struct.
(network-interface-names): Use 'make-bytevector' and 'write-ifconf!'
instead of 'make-c-struct', and 'read-ifconf' instead of
'parse-c-struct'.
2016-11-16 23:38:05 +01:00
Ludovic Courtès f43714e620
syscalls: C struct writer correctly handles pointer fields.
* guix/build/syscalls.scm (write-type): Add case for '*.
2016-11-16 23:38:05 +01:00
Efraim Flashner d87c201f96
gnu: jasper: Update to 1.900.29.
* gnu/packages/image.scm (jasper): Update to 1.900.29.
[inputs]: Add libjpeg.
2016-11-16 22:06:33 +02:00
Mark H Weaver 9cdb405b81
gnu: icecat: Remove unneeded patch.
This is a followup to commit 1a87aa7567.

* gnu/packages/gnuzilla.scm (icecat)[sources][patches]: Remove patch for
CVE-2016-5296, which is for a bundled copy of pixman that is
subsequently deleted by a snippet.
2016-11-16 14:14:25 -05:00
Marius Bakke d3e5dc0a44
gnu: perl-dbd-mysql: Update to 4.039 [Fixes CVE-2016-1249].
* gnu/packages/databases.scm (perl-dbd-mysql): Update to 4.039.
[source]: Update CPAN URI.
2016-11-16 18:33:57 +00:00
Leo Famulari 1d87fdf531
gnu: ncmpcpp: Update to 0.7.7.
* gnu/packages/mpd.scm (ncmpcpp): Update to 0.7.7.
2016-11-16 13:09:36 -05:00
Leo Famulari 0ffa8b8e7b
gnu: shotwell: Update to 0.25.0.1.
* gnu/packages/gnome.scm (shotwell): Update to 0.25.0.1.
2016-11-16 13:09:36 -05:00
Mark H Weaver 1a87aa7567
gnu: icecat: Add fixes from Firefox ESR 45.5.0.
Includes fixes for CVE-2016-5290, CVE-2016-5291, CVE-2016-5297, CVE-2016-9064,
and CVE-2016-9066.

* gnu/packages/gnuzilla.scm (icecat)[source][patches]: Add fixes for
aforementioned CVEs and other selected fixes from Firefox ESR 45.5.0.  Note
that the first six patches of CVE-2016-5290 and the patch for CVE-2016-9066
were already present, but were labeled by mozilla bug number instead of CVE.
* gnu/packages/patches/icecat-CVE-2016-9064.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2016-11-16 13:04:02 -05:00
Mark H Weaver 56ac2bf442
gnu: pixman: Add fix for CVE-2016-5296.
* gnu/packages/patches/pixman-CVE-2016-5296.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/xdisorg.scm (pixman)[replacement]: New field.
(pixman/fixed): New variable.
2016-11-16 13:03:56 -05:00
Ludovic Courtès 05ceb8dcaf
download: Use the built-in 'download' builder when available.
Fixes <http://bugs.gnu.org/22774>.
Reported by Christopher W Carpenter.

* guix/download.scm (built-in-builders*, raw-derivation)
(built-in-download): New procedures.
(in-band-download): New procedure, with code formerly in 'url-fetch'.
(url-fetch): Call 'built-in-builders*' and dispatch between
'built-in-download' and 'in-band-download'.
2016-11-16 18:19:55 +01:00
Ludovic Courtès f9aefa2d5f
daemon: Add 'built-in-builders' RPC.
* nix/libstore/builtins.cc (builtinBuilderNames): New function.
* nix/libstore/builtins.hh (builtinBuilderNames): New declaration.
* nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump to 0x160.
(WorkerOp)[wopBuiltinBuilders]: New value.
* nix/nix-daemon/nix-daemon.cc (performOp): Handle it.
* guix/store.scm (operation-id)[built-in-builders]: New value.
* guix/store.scm (read-arg): Add 'string-list'.
(built-in-builders): New procedure.
* tests/derivations.scm ("built-in-builders"): New test.
2016-11-16 18:19:54 +01:00
Ludovic Courtès 94d92c7796
daemon: Add "builtin:download" derivation builder.
This ensures that 1) the derivation doesn't change when Guix changes;
2) the derivation closure doesn't contain Guix and its dependencies; 3)
we don't have to rely on ugly chroot hacks.

Adapted from Nix commit 0a2bee307b20411f5b0dda0c662b1f9bb9e0e131.

* nix/libstore/build.cc (DerivationGoal::runChild): Add special case for
'isBuiltin(drv)'.  Disable chroot when 'isBuiltin(drv)'.
* nix/libstore/builtins.cc, nix/libstore/builtins.hh,
nix/scripts/download.in, guix/scripts/perform-download.scm: New files.
* guix/ui.scm (show-guix-help)[internal?]: Add 'perform-download'.
* nix/local.mk (libstore_a_SOURCES): Add builtins.cc.
(libstore_headers): Add builtins.hh.
(nodist_pkglibexec_SCRIPTS): Add 'scripts/download'.
* config-daemon.ac: Emit 'scripts/download'.
* Makefile.am (MODULES): Add 'guix/scripts/perform-download.scm'.
* tests/derivations.scm ("unknown built-in builder")
("'download' built-in builder")
("'download' built-in builder, invalid hash")
("'download' built-in builder, not found")
("'download' built-in builder, not fixed-output"): New tests.

Co-authored-by: Eelco Dolstra <eelco.dolstra@logicblox.com>
2016-11-16 18:19:47 +01:00
Ludovic Courtès 17ab08bcf0
tests: Move HTTP server to (guix tests http).
* tests/lint.scm (%http-server-port, %local-url)
(%http-server-socket, http-write, %http-server-lock)
(%http-server-ready, http-open, stub-http-server)
(call-with-http-server, with-http-server): Move to (guix tests http).
Adjust tests for %HTTP-SERVER-SOCKET as a promise and %LOCAL-URL as a
parameter.
* guix/tests/http.scm: New file.
* Makefile.am (dist_noinst_DATA): Add it.
(GOBJECTS): Add .go files for all of $(dist_noinst_DATA).
(make-go): Depend on $(dist_noinst_DATA).
2016-11-16 18:00:41 +01:00
Ludovic Courtès 1bcc87bb68
guix download: Add '-o' option.
* guix/scripts/download.scm (download-to-file, download-to-store*): New
procedures.
(%default-options): Add 'download-proc'.
(show-help): Adjust description and document '-o'.
(%options): Add '-o'.
(guix-download): Remove 'store' variable.  Add 'fetch' and define 'path'
to as its result.
* tests/guix-download.sh: Add test.
2016-11-16 18:00:41 +01:00
宋文武 eb4b3e4bef
gnu: opensmtpd: Update to 6.0.2p1.
* gnu/packages/mail.scm (opensmtpd): Update to 6.0.2p1.
[arguments]: Pass '--with-path-sock=/var/run' to #:configure-flags.
2016-11-16 21:00:40 +08:00
Mark H Weaver d55019136e
gnu: linux-libre: Update to 4.8.8.
* gnu/packages/linux.scm (%linux-libre-version, %linux-libre-hash)
(linux-libre): Update to 4.8.8.
2016-11-16 00:08:19 -05:00
Mark H Weaver 7d154949c9
gnu: linux-libre@4.4: Update to 4.4.32.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.32.
2016-11-16 00:06:46 -05:00
Hartmut Goebel caa9b834e7
guxi: cmake-build-system: Enable output for failing test-cases.
* guix/build/cmake-build-system.scm (cmake-build-system): Set
  environment variable CTEST_OUTPUT_ON_FAILURE to an non-empty value.
2016-11-15 22:40:25 +01:00
Hartmut Goebel d46491779e
gnu: python-awscli: fix inputs.
* gnu/packages/python.scm (python-awscli): [inputs] change to
  [native-inputs].
2016-11-15 22:36:22 +01:00
Hartmut Goebel 8fa6890b6c
gnu: python-botocore: fix inputs.
* gnu/packages/python.scm (python-botocore): [inputs] change to
  [native-inputs].
2016-11-15 22:36:21 +01:00
Hartmut Goebel 05e2e4cf00
gnu: python-pip: fix inputs.
* gnu/packages/python.scm (python-pip): [inputs] change to
  [native-inputs].
2016-11-15 22:36:21 +01:00
Hartmut Goebel e62600feb6
gnu: python2-ipython: fix inputs.
* gnu/packages/python.scm (python2-ipython): [inputs] change to
  [native-inputs].
2016-11-15 22:36:20 +01:00
Hartmut Goebel 5b1416d983
gnu: python-betamax: fix inputs.
* gnu/packages/python.scm (python-betamax): [inputs] change to
  [propagated-inputs].
2016-11-15 22:36:19 +01:00
Hartmut Goebel 1b5241c515
gnu: python-scikit-learn: Remove useless property "python2-variant".
The Python 2 packages does not change the definition, thus the
propery is useless.

* gnu/packages/python.scm (python-scikit-learn): [properties]:
  Remove  "python2-variant". (python2-scikit-learn): Remove
  now needless "strip-python2-variant".
2016-11-15 22:36:18 +01:00
Hartmut Goebel bac23672ee
gnu: python-tables: Remove python byte-code files from source.
* gnu/packages/python.scm (python-tables)[source]: Add snippet.
2016-11-15 22:36:18 +01:00
Hartmut Goebel b9c8ccce04
gnu: python-flake8-2.2.4: Remove python byte-code files from source.
* gnu/packages/python.scm (python-flake8-2.2.4)[source]: Add snippet.
2016-11-15 22:36:17 +01:00