Commit graph

23907 commits

Author SHA1 Message Date
Ludovic Courtès
a9468b422b
substitute: Download from unauthorized sources that provide the right content.
This allows substitutes to be downloaded from unauthorized servers, as
long as they advertise the same hash and references as one of the
authorized servers.

* guix/scripts/substitute.scm (assert-valid-narinfo): Remove.
(valid-narinfo?): Add #:verbose?.  Handle each case of
'signature-case'.
(equivalent-narinfo?): New procedure.
(lookup-narinfos/diverse): Add 'authorized?' parameter and honor it.
[select-hit]: New procedure.
(lookup-narinfo): Add 'authorized?' parameter and pass it.
(process-query): Adjust callers accordingly.
(process-substitution): Remove call to 'assert-valid-narinfo'.  Check
whether 'lookup-narinfo' returns true and call 'leave' if not.
* tests/substitute.scm (%main-substitute-directory)
(%alternate-substitute-directory): New variables.
(call-with-narinfo): Make 'narinfo-directory' a parameter.  Call
'mkdir-p' to create it.  Change unwind handler to check whether
CACHE-DIRECTORY exists before deleting it.
(with-narinfo*): New macro.
("substitute, no signature")
("substitute, invalid hash")
("substitute, unauthorized key"): Change expected error message to "no
valid substitute".
("substitute, unauthorized narinfo comes first")
("substitute, unsigned narinfo comes first")
("substitute, first narinfo is unsigned and has wrong hash")
("substitute, first narinfo is unsigned and has wrong refs")
("substitute, unsigned narinfo comes first")
("substitute, two invalid narinfos"): New tests.
* doc/guix.texi (Substitutes): Explain the new behavior.
2017-09-11 11:10:21 +02:00
Ludovic Courtès
218f6eccaf
substitute: Make substitute URLs a SRFI-39 parameter.
* guix/scripts/substitute.scm (%cache-urls): Rename to...
(%default-substitute-urls): ... this.
(substitute-urls): New variable.
(guix-substitute): Use it instead of %CACHE-URLS.
* tests/substitute.scm: Likewise.
2017-09-11 11:10:21 +02:00
Theodoros Foradis
79228a52d2
gnu: Add monero-core.
* gnu/packages/finance.scm (monero-core): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-09-11 11:10:21 +02:00
Theodoros Foradis
8514662b20
gnu: Add monero.
* gnu/packages/finance.scm (monero): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-09-11 11:10:20 +02:00
Efraim Flashner
e5f3d1183c
gnu: libffcall: Update to 2.0.
* gnu/packages/libffcall.scm (libffcall): Update to 2.0.
2017-09-11 11:16:11 +03:00
Mark H Weaver
4b4869ce97
gnu: linux-libre: Update to 4.13.1.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.13.1.
(%linux-libre-hash): Update hash.
2017-09-11 00:42:09 -04:00
Mark H Weaver
3abc12d6d2
gnu: linux-libre@4.9: Update to 4.9.49.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.49.
2017-09-11 00:41:24 -04:00
Jelle Licht
cfd34f4316
gnu: python-apsw: Build with all extensions.
* gnu/packages/python.scm (python-apsw)[phases]: Replace build phase; add flag
  to build all extensions. Add build-test-helper to allow testing of
  extensions.
2017-09-11 01:12:59 +02:00
Tobias Geerinckx-Rice
c1b815a5b8
gnu: gnome-sudoku: Update to 3.26.0.
* gnu/packages/gnome.scm (gnome-sudoku): Update to 3.26.0.
2017-09-11 00:54:03 +02:00
Tobias Geerinckx-Rice
55a9f04052
gnu: gnome-klotski: Update to 3.22.2.
* gnu/packages/gnome.scm (gnome-klotski): Update to 3.22.2.
2017-09-11 00:54:02 +02:00
Tobias Geerinckx-Rice
da40501ba5
gnu: libgnome-games-support: Update to 1.2.3.
* gnu/packages/gnome.scm (libgnome-games-support): Update to 1.2.3.
2017-09-11 00:54:01 +02:00
Tobias Geerinckx-Rice
e0f4966448
gnu: cloc: Fix typo in description.
* gnu/packages/code.scm (cloc)[description]: Fix typo.
2017-09-11 00:54:01 +02:00
Tobias Geerinckx-Rice
7ca001c33d
gnu: cloc: Update to 1.74.
* gnu/packages/code.scm (cloc): Update to 1.74.
[source]: Update source URL.
2017-09-11 00:54:00 +02:00
Tobias Geerinckx-Rice
4e4de30a4b
gnu: youtube-dl: Update to 2017.09.10.
* gnu/packages/video.scm (youtube-dl): Update to 2017.09.10.
2017-09-11 00:54:00 +02:00
Kei Kebreau
4561498e1f
gnu: Fix build failures caused by commit
d10092b849.

* gnu/packages/bioinformatics.scm (seek)[arguments]: Restore previous phase
order.
* gnu/packages/ci.scm (cuirass)[arguments]: Add patch-/bin/sh phase.
2017-09-10 18:21:35 -04:00
Ludovic Courtès
1e8d398abc
install: Add OpenSSH to the global profile.
Suggested by Jan Nieuwenhuizen.

* gnu/system/install.scm (installation-os)[packages]: Add OPENSSH.
2017-09-10 23:34:29 +02:00
Ludovic Courtès
903ae630a0
install: Add 'passwd' to $PATH.
Suggested by Jan Nieuwenhuizen.

* gnu/system/install.scm (installation-os)[setuid-programs]: Add 'passwd'.
2017-09-10 23:34:29 +02:00
Jan Nieuwenhuizen
4aafce22ab
gnu: Add emacs-bash-completion.
* gnu/packages/emacs.scm (emacs-bash-completion): New variable.
2017-09-10 22:43:05 +02:00
Efraim Flashner
338b58e0ea
gnu: openjpeg: Fix CVE-2017-14164.
* gnu/packages/image.scm (openjpeg)[source]: Add patch.
* gnu/packages/patches/openjpeg-CVE-2017-14164.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2017-09-10 22:00:35 +03:00
Efraim Flashner
224bb4b6f9
gnu: graphicsmagick: Fix CVE-2017-14165.
* gnu/packages/imagemagick.scm (graphicsmagick)[source]: Add patch.
* gnu/packages/patches/graphicsmagick-CVE-2017-14165.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2017-09-10 21:45:45 +03:00
Christopher Baines
814da59fcc
gnu: Add emacs-wgrep.
* gnu/packages/emacs.scm (emacs-wgrep): New variable.
2017-09-10 19:27:00 +01:00
Christopher Baines
81808194ac
gnu: Add emacs-rspec.
* gnu/packages/emacs.scm (emacs-rspec): New variable.
2017-09-10 19:26:51 +01:00
Kei Kebreau
2cc752c0b0
gnu: graphicsmagick: Fix CVE-2017-14042.
* gnu/packages/imagemagick.scm (graphicsmagick)[source]: Add patch.
* gnu/packages/patches/graphicsmagick-CVE-2017-14042.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register them.
2017-09-10 09:33:56 -04:00
Christopher Baines
c2a59a92bb
doc: Replace upstream-list with upstream-blocks.
This fixes the documentation to match the implementation.

* doc/guix.texi (Web Services): Replace 'upstream-list' with
  'upstream-blocks'.
2017-09-10 12:00:03 +01:00
Oleg Pykhalov
fb1cba687e
doc: Replace server-list with server-blocks.
* doc/guix.texi (Web Services): Replace 'server-list' with 'server-blocks'.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2017-09-10 11:59:59 +01:00
Christopher Baines
575065bd1c
vm: Add comment about deduplication in make-iso9660-image.
* gnu/build/vm.scm (make-iso9660-image): Add comment about the use of
  #:deduplicate #f when calling register-closure.
2017-09-10 11:59:55 +01:00
Tobias Geerinckx-Rice
bc64676c46
gnu: btrfs-progs: Update to 4.13.
* gnu/packages/linux.scm (btrfs-progs): Update 4.13.
[native-inputs]: Add acl.
2017-09-10 12:50:32 +02:00
Ludovic Courtès
67a37c6311
gnu: foomatic-filters: Add missing patches.
This is a followup to commit d02aabaf1b.

* gnu/packages/patches/foomatic-filters-CVE-2015-8327.patch: New file.
* gnu/packages/patches/foomatic-filters-CVE-2015-8560.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add them.
2017-09-10 12:00:25 +02:00
Ludovic Courtès
5db0a1cd5a
gnu: Add foo2zjs.
* gnu/packages/cups.scm (foo2zjs): New variable.
2017-09-09 23:01:52 +02:00
Ludovic Courtès
d02aabaf1b
gnu: Add foomatic-filters.
* gnu/packages/cups.scm (foomatic-filters): New procedure.
2017-09-09 23:01:52 +02:00
Leo Famulari
45bed1d3ea
gnu: python2-acme: Remove package.
This package has not built successfully for a long time. Since it
appears to have no users, we remove it for now.

* gnu/packages/tls.scm (python2-acme): Remove variable.
2017-09-08 19:55:34 -04:00
Leo Famulari
73a2ef3697
gnu: tcpdump: Remove alternate source URL.
* gnu/packages/admin.scm (tcpdump)[source]: Remove alternate URL.
2017-09-08 19:36:04 -04:00
Leo Famulari
72fe8956f5
gnu: certbot, python-acme: Update to 0.18.1.
* gnu/packages/tls.scm (certbot, python-acme, python2-acme): Update to 0.18.1.
2017-09-08 19:26:55 -04:00
Oleg Pykhalov
1eb6b72483
gnu: Add python-betamax-matchers.
* gnu/packages/python.scm (python-betamax-matchers, python2-betamax-matchers):
  New variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-09-08 18:12:51 +02:00
Oleg Pykhalov
4967946b8a
gnu: Add python-uritemplate.
* gnu/packages/python.scm (python-uritemplate, python2-uritemplate): New
  variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-09-08 18:08:58 +02:00
Troy Sankey
a5d6b0a3d2
gnu: notmuch-addrlookup-c: Update to 8-1.88f156d.
* gnu/packages/mail.scm (notmuch-addrlookup-c): Update to 8-1.88f156d.
[source]: Use git-fetch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-09-08 18:08:31 +02:00
ng0
a79830d035
gnu: neomutt: Update to 20170907.
* gnu/packages/mail.scm (neomutt): Update to 20170907.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-09-08 17:43:37 +02:00
Ludovic Courtès
1b58f1c8ba
build: Use -Wmacro-use-before-definition.
* build-aux/compile-all.scm (warnings): Add 'macro-use-before-definition'.
2017-09-08 12:48:08 +02:00
Ludovic Courtès
8bfa40eae5
gnu: hwloc: Update to 1.11.8.
* gnu/packages/mpi.scm (hwloc): Update to 1.11.8.
2017-09-08 12:48:08 +02:00
Mark H Weaver
b3a63e697d
gnu: linux-libre@4.9: Update to 4.9.48.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.48.
2017-09-08 03:46:16 -04:00
Mark H Weaver
5c6f434d74
gnu: linux-libre@4.4: Update to 4.4.87.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.87.
2017-09-08 03:45:30 -04:00
Ludovic Courtès
4e39604111
tests: Fix incorrect use of 'file-append'.
Fixes a regression introduced in fbc7b1f125.

* gnu/tests/install.scm (run-install)[install]: Don't use 'file-append'
with a string as its first argument; use a gexp with 'string-append' instead.
Use a gexp instead of a list for "-cdrom IMG".
2017-09-08 00:11:21 +02:00
Ludovic Courtès
cd1ad27e6c
gnu: elogind: Use itself as the cgroup controller.
Fixes a regression introduced in
fa67d56541 whereby elogind would fail to
start with:

  Cannot determine cgroup we are running in: No data available
  Out of memory.

thereby preventing log-in altogether.

* gnu/packages/freedesktop.scm (elogind)[arguments]: Pass
"--with-cgroup-controller=elogind".
* gnu/tests/desktop.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2017-09-08 00:11:21 +02:00
Ludovic Courtès
cf42428a4a
services: elogind: Add default value.
* gnu/services/desktop.scm (elogind-service-type)[default-value]: New
field.
2017-09-08 00:11:21 +02:00
Ludovic Courtès
13877c3453
marionette: 'wait-for-file' can be passed a read procedure.
* gnu/build/marionette.scm (wait-for-file): Add #:read parameter and
honor it.
* gnu/tests/base.scm (run-basic-test)["login on tty1"]: Use
'wait-for-file' instead of inline code.
2017-09-08 00:11:21 +02:00
Ludovic Courtès
505760ed08
gnu: elogind: Remove unnecessary configure flag.
* gnu/packages/freedesktop.scm (elogind)[arguments]: Remove
"--with-libcap" configure flag, which is no longer needed.
2017-09-08 00:11:21 +02:00
Ludovic Courtès
acc2ab65bc
doc: Update elogind URL.
* doc/guix.texi (Desktop Services): Update elogind URL.
2017-09-08 00:11:20 +02:00
Leo Famulari
81635ad03e
gnu: tcpdump: Update to 4.9.2 [security fixes].
Fixes CVE-2017-{12893,12894,12895,12896,12897,12898,12899,12900,12901,12902,
12985,12986,12987,12988,12989,12990,12991,12992,12993,12994,12995,12996,12997,
12998,12999,13000,13001,13002,13003,13004,13005,13006,13007,13008,13009,13010,
13012,13013,13014,13015,13016,13017,13018,13019,13020,13021,13022,13023,13024,
13025,13026,13027,13028,13029,13030,13031,13032,13033,13034,13035,13036,13037,
13038,13039,13040,13041,13042,13043,13044,13045,13046,13047,13048,13049,13050,
13051,13052,13053,13054,13055,13687,13688,13689,13690,13725}.

* gnu/packages/admin.scm (tcpdump): Update to 4.9.2.
[source]: Remove patches and add alternate source URL.
* gnu/packages/patches/tcpdump-CVE-2017-11541.patch,
gnu/packages/patches/tcpdump-CVE-2017-11542.patch,
gnu/packages/patches/tcpdump-CVE-2017-11543.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
2017-09-07 17:44:20 -04:00
Leo Famulari
3b2802f8c4
gnu: certbot, python-acme: Update to 0.18.0.
* gnu/packages/tls.scm (certbot, python-acme, python2-acme): Update to 0.18.0.
2017-09-07 15:47:01 -04:00
Leo Famulari
6a7bd25bf2
gnu: qemu: Fix CVE-2017-{13711,14167}.
* gnu/packages/patches/qemu-CVE-2017-14167.patch
gnu/packages/patches/qemu-CVE-2017-13711.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/virtualization.scm (qemu)[source]: Use them.
2017-09-07 15:46:57 -04:00