Commit Graph

16374 Commits

Author SHA1 Message Date
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
ng0 e1b0b8f5b7
gnu: Fix name for ng0.
* gnu/packages/gnupg.scm: Change name in copyright header.
2016-11-15 14:36:58 -05:00
Tobias Geerinckx-Rice bb6e641588
gnu: Add httptunnel.
* gnu/packages/web.scm (httptunnel): New variable.
2016-11-15 20:27:14 +01:00
Ricardo Wurmus 84590149e6
gnu: hisat: Fix typo.
* gnu/packages/bioinformatics.scm (hisat)[arguments]: Fix directory
name in install phase.
2016-11-15 20:21:08 +01:00
Ricardo Wurmus 49c2665f7b
gnu: Add pcb-rnd.
* gnu/packages/engineering.scm (pcb-rnd): New variable.
2016-11-15 20:21:03 +01:00
Efraim Flashner b02b9a520e
gnu: libmicrohttpd: Update to 0.9.52.
* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.52.
[home-page]: Use https.
2016-11-15 15:25:15 +02:00
Efraim Flashner f5a077b10f
gnu: octave: Update to 4.2.0.
* gnu/packages/maths.scm (octave): Update to 4.2.0.
[native-inputs]: Add lzip.
[home-page]: Use https.
2016-11-15 15:21:15 +02:00
Efraim Flashner fccab9931c
gnu: parallel: Update to 20161022.
* gnu/packages/parallel.scm (parallel): Update to 20161022.
[home-page]: Use https.
2016-11-15 11:45:53 +02:00
Efraim Flashner 6312043ca5
gnu: libcdio: Update to 0.94.
* gnu/packages/cdrom.scm (libcdio): Update to 0.94.
[home-page]: Use https.
2016-11-15 11:13:24 +02:00
Efraim Flashner 3ded2761ab
gnu: gvpe: Update to 3.0.
* gnu/packages/vpn.scm (gvpe): Update to 3.0.
2016-11-15 11:06:15 +02:00
Efraim Flashner 336f830961
gnu: cryptsetup: Update to 1.7.3.
* gnu/packages/cryptsetup.scm (cryptsetup): Update to 1.7.3.
2016-11-15 09:45:37 +02:00
Efraim Flashner 538fe01934
gnu: python-vcversioner: Update to 2.16.0.0.
* gnu/packages/python.scm (python-vcversioner): Update to 2.16.0.0.
[inputs]: Remove python-setuptools.
[properties]: New field.
(python2-vcversioner): Use 'strip-python2-variant'.
[native-inputs]: Add python2-setuptools.
2016-11-15 09:45:28 +02:00
Tobias Geerinckx-Rice 1f781865fb
gnu: fish: Update to 2.4.0.
* gnu/packages/shells.scm (fish): Update to 2.4.0.
2016-11-15 01:17:01 +01:00
Tomáš Čech e25c904f2c
services: Require wpa-supplicant-service for connman-service.
* gnu/services/networking.scm (connman-shepherd-service): Add
  wpa-supplicant among list of requirements.
2016-11-15 00:19:23 +01:00
Tomáš Čech 2cccbc2af2
services: Add wpa-supplicant-service.
* gnu/services/networking.scm (wpa-supplicant-service): New procedure.
(wpa-supplicant-service-type): New variable.
* doc/guix.texi (Networking Services): Document it.
2016-11-15 00:19:17 +01:00
Tomáš Čech 028bf3c0b2
gnu: connman: Use localstatedir outside of store.
* gnu/packages/connman.scm (connman): Use localstatedir outside of store.
2016-11-15 00:13:29 +01:00
Efraim Flashner 8bcd6b91ff
gnu: python-jsonschema: Use 'nosetests'.
* gnu/packages/python.scm (python-jsonschema)[arguments]: Replace 'check
phase with python nosetests.
[native-inputs]: Add python-nose.
[home-page]: Use https.
(python2-jsonschema)[native-inputs]: Add python2-mock.
2016-11-14 22:49:50 +02:00
Efraim Flashner 571ffdebc3
gnu: accountsservice: Update to 0.6.43.
* gnu/packages/freedesktop.scm (accountsservice): Update to 0.6.43.
2016-11-14 21:02:10 +02:00
Ludovic Courtès a4cb821791
gnu: guix-devel: Update development snapshot.
* gnu/packages/package-management.scm (guix-devel): Update to commit
7ca37da855.
2016-11-14 15:39:32 +01:00
Ludovic Courtès 198eac2bca
gnu: guix: Really skip all the container tests.
* gnu/packages/package-management.scm (guix-0.11.0)[arguments]: Update
pattern in 'disable-container-tests' to match 'test-equal'.
2016-11-14 15:39:32 +01:00
Tobias Geerinckx-Rice 88eaed6174
gnu: libpsl: Update to 0.15.0.
* gnu/packages/web.scm (libpsl): Update to 0.15.0.
2016-11-14 14:12:50 +01:00
Efraim Flashner 7ca37da855
gnu: libinput: Enable GUI event tool.
* gnu/packages/freedesktop.scm (libinput)[inputs]: Add glib.
[native-inputs]: Add cairo, gtk+-3.
(libinput-minimal)[native-inputs]: Only pkg-config.
2016-11-14 13:06:02 +02:00
Efraim Flashner 73bb984ec4
gnu: freedesktop.scm: Reorder modules alphabetically.
* gnu/packages/freedesktop.scm: Reorder modules alphabetically.
2016-11-14 12:15:40 +02:00
Efraim Flashner 8c5cdf5f20
gnu: libinput: Update to 1.5.1.
* gnu/packages/freedesktop.scm (libinput): Update to 1.5.1.
2016-11-14 12:12:26 +02:00
Efraim Flashner b231b057cd
gnu: wayland-protocols: Update to 1.7.
* gnu/packages/freedesktop.scm (wayland-protocols): Update to 1.7.
2016-11-14 11:55:01 +02:00
Andy Patterson e66f0dd232
gnu: mpv: Use lua@5.2.
* gnu/packages/video.scm (mpv)[inputs]: Change 'lua' to 'lua-5.2'.
2016-11-14 09:03:55 +00:00
Alex Sassmannshausen c91b368e96
import/cpan: Maybe coerce version to string.
* guix/import/cpan.scm (cpan-module->sexp) <version>: Test if version in
  meta is string or number.  If it is number, coerce to string.
2016-11-14 00:06:09 +01:00
Leo Famulari d9721bcf27
gnu: readline-6.2: Fix CVE-2014-2524.
* gnu/packages/patches/readline-6.2-CVE-2014-2524.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/readline.scm (readline-6.2): Use it.
2016-11-13 17:01:01 -05:00
Leo Famulari 27d7c4e93a
gnu: signify: Update to 20.
* gnu/packages/crypto.scm (signify): Update to 20.
2016-11-13 17:01:01 -05:00
Ludovic Courtès 142530178d
gnu: mailutils: Update to 3.0.
* gnu/packages/mail.scm (mailutils): Update to 3.0.
[arguments]: Adjust 'pre-build' phase.
* gnu/packages/patches/m4-gets-undeclared.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2016-11-13 21:12:32 +01:00
Efraim Flashner d81850d438
gnu: guile-ncurses: Update to 2.1.
* gnu/packages/guile.scm (guile-ncurses): Update to 2.1.
[home-page]: Use https.
2016-11-13 22:02:05 +02:00