Commit Graph

30700 Commits (a4197ad29cd5b1b521fa7e7f332b6d8a171cb6d0)

Author SHA1 Message Date
Chris Marusich 7874e9e047
gnu: Refactor boot-service-type and activation-service-type.
* gnu/services.scm (boot-service-type) <compose>: Use the "identity"
  procedure instead of the "append" procedure because it more accurately
  reflects the intent, which is to simply return the single list of
  extensions to which fold-services applies the "compose" procedure.
  (activation-service-type) <compose>: Likewise.
2018-03-29 08:38:49 +02:00
Chris Marusich 881c61d062
doc: Improve <service-type> documentation.
* doc/guix.texi (Service Reference): Correct and clarify some statements
  regarding the "compose" and "extend" procedures of <service-type>.
2018-03-29 07:29:49 +02:00
Chris Marusich 3cd4447f56
guix-install.sh: Explicitly set root's home directory.
* etc/guix-install.sh (ROOT_HOME): New variable.
  (sys_create_store, sys_enable_guix_daemon, sys_authorize_build_farms):
  Use ROOT_HOME instead of ~root or the HOME environment variable.
* doc/guix.texi (Binary Installation): Instead of assuming that ~ and
  $HOME refer to root's directory simply because commands are being run
  as root, explicilty refer to it via ~root.

Fixes: <https://bugs.gnu.org/30728>
2018-03-29 07:03:37 +02:00
Marius Bakke 61565a5f4a
gnu: tcl, tk: Update to 8.6.8.
* gnu/packages/tcl.scm (tcl, tk): Update to 8.6.8.
2018-03-29 02:56:23 +02:00
Marius Bakke ce35dc84a1
gnu: python: Update to 3.6.5.
* gnu/packages/python.scm (python-3.6): Update to 3.6.5.
2018-03-29 02:56:00 +02:00
Marius Bakke 7a08150429
gnu: icu4c: Update to 61.1.
* gnu/packages/icu4c.scm (icu4c): Update to 61.1.
2018-03-29 02:54:09 +02:00
Marius Bakke ab0bdd5456
gnu: util-linux: Update to 2.32.
* gnu/packages/patches/util-linux-tests.patch: Adjust context.
* gnu/packages/patches/util-linux-CVE-2018-7738.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/linux.scm (util-linux): Update to 2.32.
[source](patches): Remove 'util-linux-CVE-2018-7738.patch'.
2018-03-29 02:43:06 +02:00
Jelle Licht ce353a548f
gnu: node: Update to 9.10.0.
* gnu/packages/node.scm (node): Update to 9.10.0.
2018-03-28 23:33:53 +02:00
Jelle Licht b63af9b7c7
gnu: http-parser: Update to 2.8.0.
* gnu/packages/web.scm (http-parser): Update to 2.8.0.
2018-03-28 23:33:43 +02:00
Marius Bakke 0a8985f395
gnu: xf86-video-ati: Update to 18.0.1.
* gnu/packages/xorg.scm (xf86-video-ati): Update to 18.0.1.
2018-03-28 21:23:21 +02:00
Marius Bakke 4d967992d8
gnu: xf86-input-libinput: Update to 0.27.0.
* gnu/packages/xorg.scm (xf86-input-libinput): Update to 0.27.0.
2018-03-28 21:23:21 +02:00
Leo Famulari 935806b822
gnu: ntp: Update to 4.2.8p11 [security-fixes].
Fixes CVE-2016-1549 and CVE-2018-{7170,7182,7183,7184,7185}.

* gnu/packages/ntp.scm (ntp): Update to 4.2.8p11.
2018-03-28 14:59:47 -04:00
Leo Famulari 590bdc149b
gnu: openssl: Replace with OpenSSL 1.0.2o [fixes CVE-2018-0739].
* gnu/packages/tls.scm (openssl)[replacement]: New field.
(openssl-1.0.2o): New variable.
2018-03-28 14:07:45 -04:00
Konrad Hinsen 1cde746700
gnu: Add r-parsedate.
* gnu/packages/cran.scm (r-parsedate): New variable.

Signed-off-by: Ludovic Courtès <ludovic.courtes@inria.fr>
2018-03-28 17:18:20 +02:00
Maxim Cournoyer 3481c714c6
gnu: mu: Fix tests failures triggered by DST.
* gnu/packages/mail.scm (mu)[phases]: Add 'fix-date-tests.

Signed-off-by: Ludovic Courtès <ludovic.courtes@inria.fr>
2018-03-28 17:14:40 +02:00
Nadya Voronova 910deec66c
gnu: Add tcalc.
* gnu/packages/maths.scm (tcalc): New variables.

Signed-off-by: Ludovic Courtès <ludovic.courtes@inria.fr>
2018-03-28 17:13:00 +02:00
Ludovic Courtès c5e7bca248
build: Build (guix ci) and (guix scripts weather) when HAVE_GUILE_JSON.
* Makefile.am (MODULES): Move guix/ci.scm and guix/scripts/weather.scm
to the HAVE_GUILE_JSON-guarded block.
2018-03-28 17:06:33 +02:00
Ludovic Courtès 183445a6ed
weather: Report continuous integration stats.
* guix/scripts/weather.scm (histogram, throughput, queued-subset): New
procedures.
(report-server-coverage): Report CI information.
* doc/guix.texi (Invoking guix weather): Document it.
2018-03-28 16:17:06 +02:00
Ludovic Courtès b3517f3f9f
Add (guix ci).
* guix/ci.scm: New file.
* Makefile.am (MODULES): Add it.
2018-03-28 16:17:06 +02:00
Arun Isaac 733d66a532
gnu: culmus: Rename to font-culmus.
* gnu/packages/fonts.scm (culmus): Rename to...
(font-culmus): ...this. Re-indent.
2018-03-28 14:58:34 +05:30
Arun Isaac 0328c514ed
gnu: culmus: Switch to font-build-system.
* gnu/packages/fonts.scm (culmus): Switch to font-build-system.
[arguments]: Replace system* with invoke.
2018-03-28 14:58:34 +05:30
Arun Isaac 15795e0723
gnu: font-linuxlibertine: Switch to font-build-system.
* gnu/packages/fonts.scm (font-linuxlibertine): Switch to font-build-system.
[arguments]: Replace system* with invoke.
2018-03-28 14:58:34 +05:30
Arun Isaac 803b9e8bf4
gnu: font-lato: Switch to font-build-system.
* gnu/packages/fonts.scm (font-lato): Switch to font-build-system.
[source]: Use url-fetch/zipbomb.
2018-03-28 14:58:33 +05:30
Mark H Weaver 5f69388d70
gnu: openssl: Update to 1.0.2o.
* gnu/packages/tls.scm (openssl): Update to 1.0.2o.  Remove snippet.
2018-03-28 04:20:33 -04:00
Mark H Weaver d4040f6e23
gnu: elogind: Fix build with glibc-2.27.
* gnu/packages/patches/elogind-glibc-2.27.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/freedesktop.scm (elogind)[source]: Add patch.
[arguments]: Replace the bootstrap phase with what was previously the
autogen phase.
2018-03-28 00:04:35 -04:00
Mark H Weaver 78666a68a5
gnu: liba52: Use invoke.
* gnu/packages/video.scm (liba52)[arguments]: Use invoke in the custom
bootstrap phase.
2018-03-27 21:35:49 -04:00
Mark H Weaver 3595e83dc5
gnu: aalib: Use invoke.
* gnu/packages/video.scm (aalib)[arguments]: Use invoke in the custom
configure phase.
2018-03-27 21:35:47 -04:00
Mark H Weaver 5f55ca2105
gnu: aspell-dict-*: Use invoke.
* gnu/packages/aspell.scm (aspell-dictionary): Use invoke in the custom
configure phase.
2018-03-27 21:35:45 -04:00
Mark H Weaver 1e868858fd
tests: Use invoke and return #t from all builders.
* tests/packages.scm ("package-source-derivation, snippet", "trivial")
("trivial with local file as input", "trivial with source")
("trivial with system-dependent input", "trivial with #:allowed-references")
("--search-paths with pattern", "--search-paths with single-item search path")
("replacement also grafted"): In the builders, raise an exception on errors
and otherwise return #t.  Use invoke.
2018-03-27 21:35:43 -04:00
Mark H Weaver e3cfef22c4
gnu: Use invoke and return #t from all builders.
* gnu/packages/admin.scm, gnu/packages/android.scm, gnu/packages/audio.scm,
gnu/packages/avr.scm, gnu/packages/base.scm, gnu/packages/bioinformatics.scm,
gnu/packages/certs.scm, gnu/packages/check.scm, gnu/packages/code.scm,
gnu/packages/commencement.scm, gnu/packages/dictionaries.scm,
gnu/packages/docbook.scm, gnu/packages/emacs.scm, gnu/packages/embedded.scm,
gnu/packages/fonts.scm, gnu/packages/games.scm, gnu/packages/gnome.scm,
gnu/packages/gnu-doc.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm,
gnu/packages/javascript.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lxde.scm,
gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm,
gnu/packages/pkg-config.scm, gnu/packages/qt.scm, gnu/packages/rust.scm,
gnu/packages/scheme.scm, gnu/packages/sdl.scm, gnu/packages/statistics.scm,
gnu/packages/syncthing.scm, gnu/packages/tex.scm, gnu/packages/web.scm,
gnu/packages/wine.scm, gnu/packages/xfce.scm: In the builders of packages
using 'trivial-build-system', use invoke where appropriate, raise exceptions
on errors, and otherwise return #t.
2018-03-27 21:35:41 -04:00
Mark H Weaver 6715e1c24f
gnu: 0ad-data: Use invoke.
* gnu/packages/games.scm (0ad-data)[source]: Use invoke in the snippet.
2018-03-27 21:35:37 -04:00
Mark H Weaver 22fc1b90f0
gnu: vera: Use invoke.
* gnu/packages/dictionaries.scm (vera)[arguments]: Use invoke and remove
vestigial plumbing in the builder.
2018-03-27 21:35:35 -04:00
Mark H Weaver 09b8c04e22
gnu: sicp: Use invoke.
* gnu/packages/scheme.scm (sicp)[arguments]: Use invoke and remove vestigial
plumbing in the builder.
2018-03-27 21:35:29 -04:00
Mark H Weaver 6ef66d3f12
gnu: icecat: Add fix for CVE-2018-5148.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add the fix for CVE-2018-5148
from the upstream mozilla-esr52 repository.
2018-03-27 21:08:15 -04:00
Tobias Geerinckx-Rice 6076496b51
gnu: curl: Use nghttp2's ‘lib’ output.
This follows up on commit 1300e4ee5b,
which was based on a monolithic nghttp2.

* gnu/packages/curl.scm (curl)[inputs]: Use nghttp2's ‘lib’ output.
2018-03-28 02:27:07 +02:00
Leo Famulari 4d99a3215c
gnu: mupdf: Fix CVE-2018-{6544,1000051}.
* gnu/packages/patches/mupdf-CVE-2018-1000051.patch,
gnu/packages/patches/mupdf-CVE-2018-6544.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/pdf.scm (mupdf)[source]: Use them.
2018-03-27 19:00:03 -04:00
Nicolas Goaziou 5bd43f7fd1
gnu: emacs-org, emacs-org-contrib: Update to 9.1.9.
* gnu/packages/emacs.scm (emacs-org):
(emacs-org-contrib): Update to 20180327, a.k.a. release 9.1.9.
2018-03-27 23:29:52 +02:00
ng0 78ba71b0b4
gnu: alpine: Update to 2.21.999.
* gnu/packages/mail.scm (alpine): Update to 2.21.999.
[source]: Change to new upstream location.
[home-page]: Use new location.

Signed-off-by: Ludovic Courtès <ludovic.courtes@inria.fr>
2018-03-27 23:26:15 +02:00
Konrad Hinsen 6fcb90eebd
guix environment: load manifest files like "guix package" does
* guix/scripts/environment.scm (options/resolve-packages): When loading
manifest files, use the same module environment as in "guix package".

Signed-off-by: Ludovic Courtès <ludovic.courtes@inria.fr>
2018-03-27 23:26:15 +02:00
Ludovic Courtès f7a5cf7a2d
nss: Remove '%compat' from the defaults.
* gnu/system/nss.scm (%compat): Add comment.
(<name-service-switch>)[group, password, shadow]: Remove %COMPAT from
the default value.
2018-03-27 23:26:15 +02:00
Tobias Geerinckx-Rice 75176f1b94
gnu: zstd: Update to 1.3.4.
* gnu/packages/compression.scm (zstd): Update to 1.3.4.
2018-03-27 22:08:57 +02:00
Tobias Geerinckx-Rice 15ff38f1b4
gnu: dovecot: Update to 2.3.1.
* gnu/packages/mail.scm (dovecot): Update to 2.3.1.
[arguments]: Rename ‘patch-other-shebangs’ phase to the more accurate
‘patch-other-file-names’... then patch more file names.
2018-03-27 22:02:01 +02:00
Tobias Geerinckx-Rice 8960b2e64d
gnu: lyx: Use HTTPS home page.
* gnu/packages/tex.scm (lyx)[home-page]: Use HTTPS.
2018-03-27 22:00:14 +02:00
Leo Famulari 0fc3af7d88
gnu: openssl@1.1.0: Update to 1.1.0h [security fixes].
Fixes CVE-2017-3738 and CVE-2018-{0733,0739}.

* gnu/packages/tls.scm (openssl-next): Update to 1.1.0h.
2018-03-27 15:45:41 -04:00
Marius Bakke fbeca8cec6
gnu: libatomic-ops: Update to 7.6.4.
* gnu/packages/bdw-gc.scm (libatomic-ops): Update to 7.6.4.
2018-03-27 15:42:52 +02:00
Marius Bakke 2b786f6753
gnu: bzip2: Provide libbz2.so and libbz2.so.1.
Fixes <https://bugs.gnu.org/30006>.

* gnu/packages/compression.scm (bzip2)[arguments]: Rework
INSTALL-SHARED-LIBS-PHASE to manage all library symlinks.
2018-03-27 15:37:08 +02:00
Ludovic Courtès 8980eea5ab
guix gc: Add '--derivers'.
* guix/scripts/gc.scm (show-help, %options): Add '--derivers'.
(guix-gc): Handle 'list-derivers'.
* tests/guix-gc.sh: Add test.
* doc/guix.texi (Invoking guix gc): Document it.
2018-03-27 14:51:44 +02:00
Ludovic Courtès b06a70e05d
graph: Add "module" node type.
* guix/scripts/graph.scm (module-from-package)
(source-module-dependencies*): New procedures.
(%module-node-type): New variable.
(%node-types): Add it.
* guix/modules.scm (source-module-dependencies): Export.
* tests/graph.scm ("module graph"): New test.
* doc/guix.texi (Invoking guix graph): Document it.
2018-03-27 14:51:44 +02:00
Ludovic Courtès de0021322d
gnu: Remove unnecessary import.
* gnu/packages/guile.scm: Remove unnecessary import.
2018-03-27 14:51:44 +02:00
Ludovic Courtès 82b71ac366
activation: Pass '-d HOME' to 'usermod'.
Fixes a bug whereby changes to user home directories in the OS config
would never be effective.

Reported by Pierre Neidhardt <ambrevar@gmail.com>.

* gnu/build/activation.scm (modify-user): Pass '-d HOME'.
2018-03-27 14:51:44 +02:00