Commit Graph

7316 Commits

Author SHA1 Message Date
Ludovic Courtès 081bd3bd29 service: shepherd: Guard against exceptions raised by 'start'.
Fixes <http://bugs.gnu.org/22548>.
Reported by Albin <albin@fripost.org>, Mark H Weaver, and Alex Kost.

* gnu/services/shepherd.scm (shepherd-configuration-file)[config]: Guard
against 'service-error?'.
2016-02-05 14:01:46 +01:00
Ludovic Courtès 1d6b7d5847 guix system: Simply warn if we cannot talk to the shepherd.
Before that 'open-connection' would return #f, and thus
'current-services' would return a single #f value when its continuation
expects two.

Reported by calher on #guix.

* gnu/services/herd.scm (open-connection): Rethrow system-error
exceptions.
(with-shepherd): Expect CONNECTION to always be true; remove useless
'dynamic-wind'.
* guix/scripts/system.scm (warn-on-system-error): New macro.
(upgrade-shepherd-services): Wrap body in 'warn-on-system-error'.
2016-02-05 14:01:46 +01:00
Ludovic Courtès 6b55ee8889 gnu: net-tools: Update URLs.
Reported by Jookia <166291@gmail.com> and Leo Famulari <leo@famulari.name>.

* gnu/packages/linux.scm (net-tools)[home-page]: Switch to SourceForge.
[source]: Add SourceForge and ibiblio.org URLs.
2016-02-05 14:01:46 +01:00
Tobias Geerinckx-Rice 0f860464bd gnu: Add sdparm.
* gnu/packages/disk.scm (sdparm): New variable.
2016-02-05 09:30:29 +01:00
Mark H Weaver b9da375999 gnu: mplayer: Update to 1.2.1.
* gnu/packages/video.scm (mplayer): Update to 1.2.1.
2016-02-04 22:06:01 -05:00
Leo Famulari 90bcecc568 gnu: jasper: Add fixes for several security flaws.
* gnu/packages/patches/jasper-CVE-2007-2721.patch,
gnu/packages/patches/jasper-CVE-2008-3520.patch,
gnu/packages/patches/jasper-CVE-2011-4516-and-CVE-2011-4517.patch,
gnu/packages/patches/jasper-CVE-2014-8137.patch,
gnu/packages/patches/jasper-CVE-2014-8138.patch,
gnu/packages/patches/jasper-CVE-2014-8157.patch,
gnu/packages/patches/jasper-CVE-2014-8158.patch,
gnu/packages/patches/jasper-CVE-2014-9029.patch,
gnu/packages/patches/jasper-CVE-2016-1867.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/image.scm (jasper)[source]: Add patches.
2016-02-04 15:09:41 -05:00
Ludovic Courtès a6312f1dd0 install: Add glibc to the global profile.
Suggested by petter on #guix.

* gnu/system/install.scm (installation-os)[packages]: Add glibc.
2016-02-04 12:21:34 +01:00
Leo Famulari 202e2e412a gnu: harfbuzz: Update to 1.0.6 [fixes CVE-2016-2052].
* gnu/packages/gtk.scm (harfbuzz): Update to 1.0.6.
2016-02-04 00:15:21 -05:00
Mark H Weaver 5fb205c638 gnu: perl-io-socket-ssl: Add workaround for OpenSSL-1.0.2f.
* gnu/packages/patches/perl-io-socket-ssl-openssl-1.0.2f-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/web.scm (perl-io-socket-ssl)[source]: Add patch.
2016-02-04 00:15:21 -05:00
Mark H Weaver 19f339526f gnu: openssl: Update to 1.0.2f [fixes CVE-2015-3197 and CVE-2016-0701].
* gnu/packages/tls.scm (openssl): Update to 1.0.2f.
  [arguments]: Remove the 'fix-broken-symlinks' phase.
2016-02-04 00:15:21 -05:00
Leo Famulari bdbb7c1852 gnu: curl: Update to 7.47.0 [fixes CVE-2016-0755].
* gnu/packages/curl.scm (curl): Update to 7.47.0.
2016-02-04 00:15:21 -05:00
Mark H Weaver dfb9001ad8 linux-initrd: Add serpent_generic and wp512 to the default set of modules.
Adds modules needed for encrypted root partitions using the Serpent cipher or
Whirlpool digest algorithms.

* gnu/system/linux-initrd.scm (base-initrd)[linux-modules]: Add
  "serpent_generic" and "wp512".
2016-02-03 16:48:06 -05:00
Mark H Weaver cc023e320e linux-initrd: Add hid-generic and hid-apple to the default set of modules.
Fixes keyboard of MacBook2,1 during early boot, e.g. for typing a password to
mount an encrypted root partition.

* gnu/system/linux-initrd.scm (base-initrd)[linux-modules]: Add "hid-generic"
  and "hid-apple".
2016-02-03 16:43:42 -05:00
Ludovic Courtès 37dd1e6a34 services: 'file-union' makes sure each source file exists.
Before that, specifying an invalid timezone in 'operating-system' would
lead to a dangling symlink in the 'etc' directory, which in turn would
lead to a kernel panic at boot time.

Reported by pizzaiolo on #guix.

* gnu/services.scm (file-union): Add 'stat' call for SOURCE.
2016-02-03 22:28:28 +01:00
Ludovic Courtès 240b57f0ca guix system: 'reconfigure' loads and starts new services.
Partly fixes <http://bugs.gnu.org/22039>.

* gnu/services/herd.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu/services/shepherd.scm (shepherd-service-canonical-name): New
procedure.
(shepherd-service-file): Export.
* guix/scripts/system.scm (upgrade-shepherd-services): New procedure.
(switch-to-system): Use it.
* guix/ui.scm (info): New procedure.
* doc/guix.texi (Invoking guix system): Mention system services.
2016-02-03 22:28:28 +01:00
Efraim Flashner 98416109d5 gnu: libdvdcss: Update to 1.4.0.
* gnu/packages/video.scm (libdvdcss): Update to 1.4.0.
[source]: Change source url.
2016-02-03 22:20:56 +02:00
Efraim Flashner 321a0299a7 gnu: youtube-dl: Update to 2016.02.01.
* gnu/packages/video.scm (youtube-dl): Update to 2016.02.01.
2016-02-03 22:20:56 +02:00
Efraim Flashner dabd7c9b68 gnu: enlightenment: Update to 0.20.5.
* gnu/packages/enlightenment.scm (enlightenment): Update to 0.20.5.
2016-02-03 22:20:56 +02:00
Efraim Flashner e11e76b68e gnu: emotion-generic-players: Update to 1.17.0.
* gnu/packages/enlightenment.scm (emotion-generic-players): Update to 1.17.0.
2016-02-03 22:20:56 +02:00
Efraim Flashner da5e7616a0 gnu: evas-generic-loaders: Update to 1.17.0.
* gnu/packages/enlightenment.scm (evas-generic-loaders): Update to 1.17.0.
2016-02-03 22:20:56 +02:00
Efraim Flashner 58fc31670a gnu: elementary: Update to 1.17.0.
* gnu/packages/enlightenment.scm (elementary): Update to 1.17.0.
2016-02-03 22:20:56 +02:00
Efraim Flashner 7b2f2fbf08 gnu: efl: Update to 1.17.0.
* gnu/package/enlightenment.scm (efl): Update to 1.17.0.
2016-02-03 22:20:56 +02:00
Andreas Enge 37d6b0978c gnu: hwloc: Build without numactl support on armhf.
* gnu/packages/mpi.scm (hwloc)[inputs]: Drop numactl on armhf, where the
  package is not available.
2016-02-03 21:05:51 +01:00
Andreas Enge 35dfcdd753 gnu: numactl: Remove unsupported system armhf-linux.
* gnu/packages/linux.scm (numactl)[supported-systems]: Remove armhf.
2016-02-03 21:03:46 +01:00
Mark H Weaver d120b1d433 gnu: Remove linux-libre-4.2.5.
This series is no longer supported upstream.

* gnu/packages/linux.scm (linux-libre-4.2.5): Remove variable.
2016-02-03 14:26:57 -05:00
Andreas Enge 11b953a1b1 gnu: pius: Update to 2.2.2.
* gnu/packages/gnupg.scm (pius): Update to 2.2.2.
2016-02-03 15:49:07 +01:00
Andreas Enge cea18ab00b gnu: gnupg: Update to 2.1.11.
* gnu/packages/gnupg.scm (gnupg): Update to 2.1.11.
2016-02-03 15:49:07 +01:00
Efraim Flashner 35f6c4972e gnu: ao: Update to 1.2.0.
* gnu/packages/xiph.scm (ao): Update to 1.2.0.
2016-02-03 13:10:37 +02:00
Ludovic Courtès 2a5f0db4c4 system: /etc/profile reads /etc/environment for the sake of lshd.
Fixes <http://bugs.gnu.org/22175>.

* gnu/system.scm (operating-system-etc-service)[profile]: Add hack to
define variables from /etc/environment.
2016-02-03 11:21:11 +01:00
Federico Beffa 3a6a0f6013 gnu: Add Italian Aspell dictionary.
* gnu/packages/aspell.scm (aspell-dict-it): New variable.
2016-02-03 10:48:36 +01:00
Federico Beffa 05f5ce0c39 gnu: sbcl: Generate and install documentation.
* gnu/packages/lisp.scm (sbcl): Add 'doc' output.
  [arguments]: Add 'build-doc' and 'install-doc' phases.
  [native-inputs]: Add 'texlive' and 'texinfo'.
2016-02-03 10:48:36 +01:00
Federico Beffa 1ee131df42 gnu: sbcl: Convert to the 'modify-phases' syntax.
* gnu/packages/lisp.scm (sbcl): Do it.
2016-02-03 10:48:36 +01:00
Federico Beffa 85960693e4 gnu: Add emacs-slime.
* gnu/packages/emacs.scm (emacs-slime): New variable.
2016-02-03 10:48:36 +01:00
Federico Beffa f163c290f1 gnu: mit-scheme: Generate and install documentation.
* gnu/packages/scheme.scm (mit-scheme): Add 'doc' output.
  [arguments]: Add phases 'configure-doc, 'build-doc and 'install-doc.
  [native-inputs]: Add 'texlive'. Move 'texinfo' and 'm4' from inputs.
2016-02-03 10:48:36 +01:00
Federico Beffa af00e63352 gnu: mit-scheme: Convert to the 'modify-phases' syntax.
* gnu/packages/scheme.scm (mit-scheme): Do it.
2016-02-03 10:48:36 +01:00
Federico Beffa e5045f303a gnu: Add emacs-constants.
* gnu/packages/emacs.scm (emacs-constants): New variable.
* gnu/packages/patches/emacs-constants-lisp-like.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
2016-02-03 10:48:36 +01:00
Federico Beffa 58a7dc1340 gnu: Add emacs-mit-scheme-doc.
* gnu/packages/emacs.scm (emacs-mit-scheme-doc): New variable.
2016-02-03 10:47:21 +01:00
Federico Beffa aad4a48ab4 gnu: scmutils: Generate 'scmutils-autoloads.el' file.
* gnu/packages/scheme.scm (scmutils): Do it.
2016-02-03 10:47:21 +01:00
Federico Beffa e037a09f1d gnu: Add emacs-scheme-complete.
* gnu/packages/emacs.scm (emacs-scheme-complete): New variable.
* gnu/packages/patches/emacs-scheme-complete-scheme-r5rs-info.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add the new patch.
2016-02-03 10:47:21 +01:00
Mark H Weaver fd9a5b0fc3 gnu: qemu: Update to 2.5.0; add fixes for security flaws.
* gnu/packages/patches/qemu-CVE-2015-6855.patch: Delete file.
* gnu/packages/patches/qemu-virtio-9p-use-accessor-to-get-thread-pool.patch,
  gnu/packages/patches/qemu-CVE-2015-8558.patch,
  gnu/packages/patches/qemu-CVE-2015-8567.patch,
  gnu/packages/patches/qemu-CVE-2015-8613.patch,
  gnu/packages/patches/qemu-CVE-2015-8701.patch,
  gnu/packages/patches/qemu-CVE-2015-8743.patch,
  gnu/packages/patches/qemu-CVE-2016-1568.patch,
  gnu/packages/patches/qemu-CVE-2016-1922.patch: New files.
* gnu-system.am (dist_patch_DATA): Remove 'qemu-CVE-2015-6855.patch'; add the
  new patches.
* gnu/packages/qemu.scm (qemu): Update to 2.5.0.
  [source]: Remove old patches and add new ones.
  [arguments]: Add 'disable-test-qga' phase.
  (%glib-memory-vtable-patch, %glib-duplicate-test-patch): Remove variables.
2016-02-03 00:05:22 -05:00
Mark H Weaver 80cc3a0a4a gnu: openssl: When computing URI, use 'string-trim-right' not 'string-take'.
* gnu/packages/tls.scm (openssl)[source]: When computing URI, use
  'string-trim-right' instead of 'string-take'.
2016-02-02 21:16:44 -05:00
宋文武 4c28ca1df4 gnu: yelp: Update to 3.18.1.
* gnu/packages/gnome.scm (yelp): Update to 3.18.1.
2016-02-03 09:54:14 +08:00
宋文武 6a203844c5 gnu: webkitgtk: Update to 2.10.7.
* gnu/packages/webkit.scm (webkitgtk): Update to 2.10.7.
2016-02-03 09:37:47 +08:00
Efraim Flashner e81e5fa507 gnu: openssl: Add alternate url.
* gnu/packages/tls.scm (openssl)[source]: Add alternate url.
2016-02-02 23:23:24 +02:00
Ludovic Courtès 400ed6acdd gnu: eudev: Add variant that depends on libblkid.
This fixes a bug whereby /dev/disk/by-{label,id} would be missing on
GuixSD (/dev/disk/by-id would still contain device-mapped partitions
though.)

Reported by Mark H Weaver <mhw@netris.org>.

* gnu/packages/linux.scm (eudev-with-blkid): New variable.
* gnu/services/base.scm (udev-service): #:udev defaults to
EUDEV-WITH-BLKID.
* gnu/system.scm (%base-packages): Replace EUDEV with EUDEV-WITH-BLKID.
2016-02-02 21:16:59 +01:00
Federico Beffa 81fc64da7e gnu: aspell: Wrap binary to find dictionaries.
* gnu/packages/aspell.scm (aspell): Add 'wrap-aspell' phase.
* gnu/system.scm (operating-system-etc-service): Remove 'ASPELL_CONF'
definition.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-02-02 21:16:59 +01:00
Leo Famulari 8c44dabc5a gnu: vdirsyncer: Update to 0.8.1.
* gnu/packages/dav.scm (vdirsyncer): Update to 0.8.1.
[native-inputs]: Add python-hypothesis, python-pytest-subtesthack.
2016-02-02 14:49:26 -05:00
Leo Famulari 7517e73c75 gnu: Add python-pytest-subtesthack.
* gnu/packages/python.scm (python-pytest-subtesthack,
python2-pytest-subtesthack): New variables.
2016-02-02 14:49:26 -05:00
Leo Famulari 6a44697d01 gnu: Add python-hypothesis.
* gnu/packages/python.scm (python-hypothesis, python2-hypothesis): New
variables.
2016-02-02 14:49:26 -05:00
David Thompson f861b8b8e0 gnu: Add awscli.
* gnu/packages/python.scm (awscli): New variable.
2016-02-02 09:24:17 -05:00