Commit Graph

43203 Commits

Author SHA1 Message Date
Ludovic Courtès 1ac6c33cae
vm-image: Use the actual file name of the current file.
* gnu/system/examples/vm-image.tmpl (this-file): Use 'basename' and
'current-source-location'.
2019-04-26 16:47:11 +02:00
Ludovic Courtès 272db5bcf5
doc: Use ftp.gnu.org for downloads.
From now on, everything will be uploaded to ftp.gnu.org instead of
alpha.gnu.org.

* doc/guix.texi (BASE-URL): Switch to ftp.gnu.org.
2019-04-26 14:19:37 +02:00
Ludovic Courtès b57dd2006b
doc: Add 'BASE-URL' variable.
* doc/guix.texi (BASE-URL): New variable.
(Binary Installation, USB Stick and DVD Installation)
(Running Guix in a VM): Use it instead of hard-coded URL.
2019-04-26 14:19:36 +02:00
Ludovic Courtès 98f035482f
installer: Actually reboot when the user presses "Reboot."
* gnu/installer/newt/final.scm (run-install-success-page): Return
'success.
* gnu/installer.scm (installer-program): Check the result of the 'final
step and reboot upon success.
2019-04-26 14:19:36 +02:00
Ludovic Courtès 9529f7850e
installer: Take 'guix system init' exit code into account.
This allows the installer to distinguish success from failure, and also
ensures the shell that runs 'guix system init' exits upon completion.

* gnu/installer/utils.scm (run-shell-command)[pause]: New procedure.
Add "exec" before COMMAND in the script.  Guard 'invoke' call and handle
'invoke-error?'.  Add call to 'pause' on completion.
* gnu/installer/final.scm (install-system): Remove 'false-if-exception'.
2019-04-26 14:19:36 +02:00
Ludovic Courtès 6c849cdb98
installer: Run wrapped program with 'execl', not 'system'.
'system' invokes /bin/sh, which is certainly not needed here.

* gnu/installer.scm (installer-program): Use 'execl', not 'system'.
2019-04-26 14:19:36 +02:00
Ludovic Courtès 538b99f31f
system: Provide a new VM image configuration.
* gnu/system/examples/vm-image.tmpl: Rewrite.
* doc/guix.texi (Running Guix in a VM): Adjust accordingly.
2019-04-26 14:19:36 +02:00
Ludovic Courtès 504a0fc636
accounts: Always honor the configured user account shell.
Starting from commit 0ae735bcc8, Guix
System would preserve the user shell across reconfigure and reboot.
This was done so as to allow for the use of 'chsh'.

This proved to be a misguided decision.  This commit goes back to
considering user shells as config and not "state."

* gnu/build/accounts.scm (allocate-passwd): Do not use shell from
PREVIOUS.
2019-04-26 14:19:36 +02:00
Miguel Ángel Arruga Vivas 9ca5ff882e
bootstrap: Break automake dependency on generated files.
* bootstrap: Generate stub files for the manual translations whose
generated files are not included in the VCS.
* doc/contributing.de.texi: Remove file.
* doc/contributing.es.texi: Remove file.
* doc/contributing.fr.texi: Remove file.
* doc/contributing.zh_CN.texi: Remove file.
* doc/guix.de.texi: Remove file.
* doc/guix.es.texi: Remove file.
* doc/guix.fr.texi: Remove file.
* doc/guix.zh_CN.texi: Remove file.
* .gitignore: Add them.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2019-04-26 11:21:32 +02:00
Tobias Geerinckx-Rice 7342923d98
gnu: wgetpaste: Add and use wget input.
This package has but one purpose; late binding's overkill.

* gnu/packages/wget.scm (wgetpaste)[arguments]: Add ‘use-inputs’ phase.
[inputs]: Add wget.
2019-04-26 04:36:02 +02:00
Tobias Geerinckx-Rice 4f7db08571
gnu: hcxdumptool: Update to 5.1.4.
* gnu/packages/networking.scm (hcxdumptool): Update to 5.1.4.
2019-04-26 00:58:16 +02:00
Tobias Geerinckx-Rice 03c443ce8f
gnu: hcxtools: Update to 5.1.4.
* gnu/packages/networking.scm (hcxtools): Update to 5.1.4.
2019-04-26 00:58:06 +02:00
Tobias Geerinckx-Rice 55036ddc9a
gnu: soundtouch: Update to 2.1.1.
* gnu/packages/audio.scm (soundtouch): Update to 2.1.1.
[source]: Use GIT-FETCH and GIT-FILE-NAME.
Remove patches.
* gnu/packages/patches/soundtouch-CVE-2018-1000223.patch,
gnu/packages/patches/soundtouch-CVE-2018-14044-14045.patch:
Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
2019-04-26 00:56:32 +02:00
Tobias Geerinckx-Rice 88507036f6
gnu: tmux-xpanes: Update to 4.1.0.
* gnu/packages/tmux.scm (tmux-xpanes): Update to 4.1.0.
2019-04-26 00:54:00 +02:00
Arun Isaac 9be92490b5
gnu: librepcb: Update to 0.1.1.
* gnu/packages/engineering.scm (librepcb): Update to 0.1.1.
2019-04-26 01:58:30 +05:30
Julien Lepiller 92eb600f8a
gnu: knot-service: Add includes field in configuration.
* gnu/services/dns.scm (knot-configuration): Add includes field.
(verify-knot-configuration): Check includes content.
(knot-config-file): Serialize includes.
* doc/guix.texi (DNS Services): Document it.
2019-04-25 21:44:55 +02:00
Leo Famulari ca3cf2d58e
gnu: tmux: Update to 2.9.
* gnu/packages/tmux.scm (tmux): Update to 2.9.
2019-04-25 13:57:09 -04:00
Julien Lepiller b68aff1f05
gnu: certbot: Add support for manual plugin.
* gnu/services/certbot.scm (certificate-configuration): Add challenge,
auth-hook and cleanup-hook fields.
(certbot-command): Use them.
* doc/guix.texi (Certificate Services): Document them.
2019-04-25 19:46:18 +02:00
Julien Lepiller c3634df2a4
gnu: ocaml@4.02: Remove the package, affected by a CVE, and its dependent
packages.

This fixes <https://bugs.gnu.org/27462>.

* gnu/packages/ocaml.scm (ocaml-4.02, camlp4-4.02, ocaml4.02-menhir)
(ocaml4.02-lablgtk, ocaml4.02-findlib, ocaml4.02-ounit)
(ocaml4.02-camlzip, ocaml4.02-ocamlmod, ocaml4.02-zarith)
(ocaml4.02-qcheck, ocaml4.02-qtest, ocaml4.02-stringext)
(ocaml4.02-bisect, ocaml4.02-bitstring, ocaml4.02-result)
(ocaml4.02-topkg, ocaml4.02-rresult, ocaml4.02-sqlite3, ocaml4.02-csv)
(ocaml4.02-mtime, ocaml4.02-cmdliner, ocaml4.02-fmt, ocaml4.02-astring)
(ocaml4.02-alcotest, ocaml4.02-ppx-tools, ocaml4.02-react, ocaml4.02-ssl)
(ocaml4.02-lwt, ocaml4.02-lwt-log, ocaml4.02-logs, ocaml4.02-fpath)
(ocaml4.02-bos, ocaml4.02-xmlm, ocaml4.02-ulex, ocaml4.02-uchar)
(ocaml4.02-uutf, ocaml4.02-jsonm, ocaml4.02-ocurl, ocaml4.02-base64)
(ocaml4.02-omake, ocaml4.02-batteries, ocaml4.02-pcre, ocaml4.02-oasis)
(ocaml4.02-js-build-tools, ocaml4.02-bin-prot, ocaml4.02-fieldslib)
(ocaml4.02-ppx-core, ocaml4.02-ppx-optcomp, ocaml4.02-ppx-driver)
(ocaml4.02-cppo, ocaml4.02-ppx-deriving, ocaml4.02-ppx-type-conv)
(ocaml4.02-ppx-inline-test, ocaml4.02-ppx-bench, ocaml4.02-ppx-compare)
(ocaml4.02-sexplib, ocaml4.02-typerep, ocaml4.02-variantslib)
(ocaml4.02-ppx-sexp-conv, ocaml4.02-ppx-variants-conv)
(ocaml4.02-ppx-here, ocaml4.02-ppx-assert, ocaml4.02-ppx-enumerate)
(ocaml4.02-ppx-let, ocaml4.02-ppx-typerep-conv, ocaml4.02-ppx-sexp-value)
(ocaml4.02-ppx-pipebang, ocaml4.02-ppx-bin-prot, ocaml4.02-ppx-fail)
(ocaml4.02-ppx-custom-printf, ocaml4.02-ppx-sexp-message)
(ocaml4.02-ppx-fields-conv, ocaml4.02-seq, ocaml4.02-re)
(ocaml4.02-ppx-expect, ocaml4.02-ppx-jane, ocaml4.02-core-kernel)
(ocaml4.02-async-kernel, ocaml4.02-async-rpc-kernel, ocaml4.02-core)
(ocaml4.02-async-unix, ocaml4.02-async-extra, ocaml4.02-async)
(ocaml4.02-ocplib-endian, ocaml4.02-easy-format, optcomp)
(ocaml4.02-piqilib, ocaml4.02-uuidm, ocaml4.02-graph, ocaml4.02-piqi)
(ocaml4.02-camomile, ocaml4.02-zed, ocaml4.02-lambda-term): Remove variables.
* guix/build-system/ocaml.scm (default-ocaml4.02)
(default-ocaml4.02-findlib, package-with-ocaml4.02)
(strip-ocaml4.02-variant): Remove variables.
2019-04-25 19:01:31 +02:00
Julien Lepiller 6e49426761
gnu: ocamlify: Downgrade to 0.0.1.
Version 0.0.2 cannot be built with the latest OCaml, whereas this
version does.  This is also the version used by opam.

* gnu/packages/ocaml.scm (ocamlify): Downgrade to 0.0.1.
[arguments]: Do not use ocaml-4.02.
2019-04-25 19:01:05 +02:00
Julien Lepiller 0705f389d1
gnu: Remove ocaml-jbuilder.
Jbuilder is deprecated and replaced by dune.

* gnu/packages/ocaml.scm (ocaml-jbuilder): Remove variable.
(ocaml-zed, ocaml-utop): Use dune-build-system.
2019-04-25 19:00:48 +02:00
Julien Lepiller bbe9915b30
gnu: bap: Update to 1.6.0.
* gnu/packages/ocaml.scm (bap): Update to 1.6.0.
(ocaml-frontc): Update to 3.4.1.
(ocaml-fileutils, ocaml-cstruct, ocaml-hex, ocaml-ezjsonm, ocaml-uri):
New variables.
(ocaml4.02-fileutils, ocaml4.02-cstruct, ocaml4.02-hex,
ocaml4.02-ezjsonm, ocaml4.02-uri): Remove variables.
2019-04-25 19:00:25 +02:00
Julien Lepiller ce9a30e6f4
gnu: Add ocaml-bigarray-compat.
* gnu/packages/ocaml.scm (ocaml-bigarray-compat): New variable.
2019-04-25 18:59:55 +02:00
Julien Lepiller 57e2b24dc0
nls: Update 'es' translation. 2019-04-25 18:55:12 +02:00
Julien Lepiller 9d92774a22
nls: Update 'de' translation. 2019-04-25 18:55:09 +02:00
Julien Lepiller 518acc73c1
nls: Update 'fr' translation. 2019-04-25 18:54:46 +02:00
Nicolas Goaziou 92e1e0ec4b
gnu: fltk: Update to 1.3.5.
* gnu/packages/fltk.scm (fltk): Update to 1.3.5.
2019-04-25 14:59:16 +02:00
Ludovic Courtès 187122b902
installer: Ask for confirmation of the user passwords.
* gnu/installer/newt/user.scm (run-user-add-page): Add #:name and
 #:home-directory and honor them.  Add call to 'confirm-password'.
2019-04-25 12:23:54 +02:00
Ludovic Courtès 8f2b7e3cb4
installer: Ask for confirmation of the root password.
* gnu/installer/newt/user.scm (confirm-password): New procedure.
(run-root-password-page): Add call to 'confirm-password'.
2019-04-25 12:23:54 +02:00
Ludovic Courtès 453c976501
installer: Use FLAG-PASSWORD for the encryption passphrase confirmation.
* gnu/installer/newt/partition.scm (prompt-luks-passwords)
<password-confirm-page>: Pass #:input-flags to 'run-input-page'.
2019-04-25 12:23:54 +02:00
Chris Marusich 4728806185
gnu: Add python-yubikey-manager and python2-yubikey-manager.
* gnu/packages/security-token.scm (python-yubikey-manager)
(python2-yubikey-manager): New variables.
2019-04-24 21:08:39 -07:00
Chris Marusich 5297e97599
gnu: Add python-fido2 and python2-fido2.
* gnu/packages/security-token.scm (python-fido2, python2-fido2): New
variables.
2019-04-24 21:08:39 -07:00
Chris Marusich 41553c90e4
gnu: Add public-suffix-list.
* gnu/packages/dns.scm (public-suffix-list): New variable.
2019-04-24 21:08:39 -07:00
Chris Marusich 5f7d151c77
gnu: Add libu2f-host.
* gnu/packages/security-token.scm (libu2f-host): New variable.
2019-04-24 21:08:39 -07:00
Chris Marusich 404037f83d
gnu: Add python-pyscard and python2-pyscard.
* gnu/packages/security-token.scm (python-pyscard, python2-pyscard): New
variables.
2019-04-24 21:08:38 -07:00
Chris Marusich 968e86bd93
gnu: Add python-pyfakefs and python2-pyfakefs.
* gnu/packages/patches/python-pyfakefs-remove-bad-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add the patch.
* gnu/packages/check.scm (python-pyfakefs, python2-pyfakefs): New
  variables.
2019-04-24 21:08:36 -07:00
Tobias Geerinckx-Rice 0406434baa
gnu: bind: Update to 9.12.4-P1 [fixes CVE-2018-5743, CVE-2019-6467].
* gnu/packages/dns.scm (isc-bind): Update to 9.12.4-P1.
[source]: Add patch.
[inputs]: Add python and python-ply.
* packages/patches/bind-fix-unused-pk11-ecc-constants.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2019-04-25 04:42:17 +02:00
Tobias Geerinckx-Rice 9b19734c50
gnu: r-yamss: Fix typo in description.
* gnu/packages/bioconductor.scm (r-yamss)[description]: Fix typo.
2019-04-25 04:42:16 +02:00
Tobias Geerinckx-Rice 61985d650b
gnu: python-dill: Fix typo in description.
* gnu/packages/python-xyz.scm (python-dill)[description]: Fix typo.
2019-04-25 04:42:16 +02:00
Tobias Geerinckx-Rice 52beae7b8a
gnu, guix: Yearly ritual purging of the filesystems.
* gnu/packages/android.scm (android-ext4-utils)[synopsis]: Fix ‘file
system’ spelling.
* gnu/packages/disk.scm (rmlint)[synopsis, description]: Likewise.
* gnu/packages/golang.scm (go-github-com-kr-fs)[synopsis, description]:
Likewise & edit for grammar.
* gnu/packages/ipfs.scm (gx, go-ipfs)[description]: Likewise.
* /gnu/packages/java.scm (java-commons-vfs)[synopsis]: Likewise.
* gnu/packages/linux.scm (fuseiso)[description]: Likewise.
(genext2fs)[synopsis, description]: Likewise.
* gnu/packages/package-management.scm (libostree)[description]: Likewise.
* gnu/packages/python-xyz.scm (python-requests-file)[description]:
Likewise & mark up.
* gnu/packages/rails.scm (ruby-with-advisory-lock)[description]:
Likewise.
* gnu/packages/ruby.scm (ruby-rerun)[description]: Likewise.
* guix/build/go-build-system.scm (setup-go-environment)<docstring>:
Likewise.
* guix/store/deduplication.scm (get-temp-link)<docstring>: Likewise.
2019-04-25 04:42:16 +02:00
Tobias Geerinckx-Rice 7ecd1761a2
gnu: bubblewrap: Edit description.
* gnu/packages/virtualization.scm (bubblewrap)[description]: Mark up & edit.
2019-04-25 04:42:16 +02:00
Tobias Geerinckx-Rice ac32a451fa
gnu: perl-filesys-notify-simple: Edit description.
* gnu/packages/perl.scm (perl-filesys-notify-simple)[description]: Mark up & edit.
2019-04-25 04:42:16 +02:00
Tobias Geerinckx-Rice ddfd529cc9
gnu: libimobiledevice: Edit description.
* gnu/packages/libusb.scm (libimobiledevice)[description]: Fix grammar & spelling.
2019-04-25 04:42:16 +02:00
Tobias Geerinckx-Rice 2cffa2f240
gnu: libsvm: Update to 3.23.
* gnu/packages/machine-learning.scm (libsvm): Update to 3.23.
2019-04-25 04:42:16 +02:00
Tobias Geerinckx-Rice 5ed720976a
gnu: openfst: Update to 1.7.2.
* gnu/packages/machine-learning.scm (openfst): Update to 1.7.2.
2019-04-25 04:42:16 +02:00
Ludovic Courtès ecb33b87aa
vm: Adjust FAT serial number code to 32-bit Guile.
On 32-bit systems, 'string-hash' would raise an out-of-range exception
when the second argument was 2^32.

* gnu/build/vm.scm (make-iso9660-image): Pass 2^32 - 1 to 'string-hash'.
2019-04-25 00:45:35 +02:00
Ludovic Courtès e7c7b73320
installer: Preserve order of user accounts.
* gnu/installer/newt/user.scm (run-user-page): Add call to 'reverse'.
2019-04-25 00:45:35 +02:00
Ludovic Courtès 5be7aecd14
vm: 'system-disk-image' no longer requires the OS to define the "/" file system.
Previously 'guix system disk-image' would fail if the OS didn't define a
"/" file system, even though it actually overrides that file system.

* gnu/system/vm.scm (system-disk-image)[root-uuid]: Turn into a
procedure.
Call 'root-uuid' on a variant of OS with a "/" file system and inherit
from that.
2019-04-25 00:45:35 +02:00
Ludovic Courtès 91a7c4998f
installer: Ask for the root account password.
Fixes <https://bugs.gnu.org/35399>.

* gnu/installer/newt/user.scm (run-root-password-page): New procedure.
* gnu/installer/user.scm (users->configuration): Filter out the "root"
account.
* gnu/installer/final.scm (create-user-database): Set 'uid' field in
'user-account' form.
2019-04-25 00:45:35 +02:00
Ludovic Courtès 399c31d40a
installer: 'run-input-page' has a new #:input-flags parameter.
* gnu/installer/newt/page.scm (run-input-page): Add #:input-flags and
honor it.
2019-04-25 00:45:35 +02:00