Commit Graph

16394 Commits

Author SHA1 Message Date
Ludovic Courtès 1cd1d8a7ea
offload: Call 'machine-load' only once per machine.
This fixes a longstanding issue where 'choose-build-machine' would make
on average O(N log(N)) calls to 'machine-load', plus an extra call for
the selected machine, instead of N calls.

* guix/scripts/offload.scm (machine-load): Add comment.
(machine-power-factor, machine-less-loaded-or-faster?): Remove.
(choose-build-machine)[machines+slots]: Rename to...
[machines+slots+loads]: ... this.
[undecorate]: Adjust accordingly.
[machine-less-loaded-or-faster?]: New procedure.
Remove extra 'machine-load' call in body.
2016-11-26 23:21:37 +01:00
Toni Reina c3e2a2471c
gnu: Add Mozilla Fira Mono font.
* gnu/packages/fonts.scm (font-fira-mono): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-11-26 23:21:37 +01:00
Leo Famulari cd65d600ac
gnu: cyrus-sasl: Fix CVE-2013-4122.
* gnu/packages/patches/cyrus-sasl-CVE-2013-4122.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/cyrus-sasl.scm (cyrus-sasl)[replacement]: New field.
(cyrus-sasl/fixed): New variable.
[source]: Use patch.
2016-11-26 16:21:02 -05:00
Efraim Flashner 439a2f62ce
gnu: ffmpeg: Update to 3.2.1.
* gnu/packages/video.scm (ffmpeg): Update to 3.2.1.
2016-11-26 22:53:13 +02:00
Leo Famulari 9e46245b89
gnu: gst-plugins-good: Fix CVE-2016-{9634,9635,9636} and other security issues.
* gnu/packages/patches/gst-plugins-good-fix-crashes.patch,
gnu/packages/patches/gst-plugins-good-fix-invalid-read.patch,
gnu/packages/patches/gst-plugins-good-fix-signedness.patch,
gnu/packages/patches/gst-plugins-good-flic-bounds-check.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/gstreamer.scm (gst-plugins-good): Use them.
2016-11-26 14:27:24 -05:00
Julien Lepiller 5305ed2002
services: Factorize configuration abstraction.
* gnu/services/mail.scm and gnu/services/cups.scm (&configuration-error)
(configuration-error, configuration-field-error)
(configuration-missing-field, configuration-field, serialize-configuration)
(validate-configuration, define-configuration, uglify-field-name)
(serialize-field, serialize-package, serialize-string)
(serialize-space-separated-string-list, space-separated-string-list?)
(serialize-file-name, file-name?, serialize-field-name)
(generate-documentation): Move duplicate code...
* gnu/services/configuration.scm: ...to this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add configuration.scm.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-11-26 19:46:01 +01:00
Leo Famulari cf3678df6e
gnu: psyclpc: Update comment.
This is a followup to commit eaa45301f4.

* gnu/packages/messaging.scm (psyclpc): Update comment.
2016-11-26 13:36:51 -05:00
ng0 ebfc2ecc3c
gnu: Move content of (gnu packages psyc) into (gnu packages messaging).
* gnu/packages/psyc.scm (perl-net-psyc, libpsyc, psyclpc): Move this ...
* gnu/packages/messaging.scm (perl-net-psyc, libpsyc, psyclpc): ... here.
* gnu/local.mk (GNU_SYSTEM_MODULES): Remove psyc.scm.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-11-26 13:23:46 -05:00
ng0 eaa45301f4
gnu: psyclpc: Upgrade to 20160821-2.61cf9aa.
This makes the package reproducible.

* gnu/packages/psyc.scm (psyclpc): Upgrade to 20160821-2.61cf9aa.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-11-26 13:23:46 -05:00
Danny Milosavljevic c6c80104ab
gnu: python-flask: Update to 0.11.1.
* gnu/packages/python.scm (python-flask): Update to 0.11.1.
[native-inputs]: Add python-click.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-11-26 16:35:07 +01:00
Danny Milosavljevic 61684de287
gnu: python-pyopenssl: Update to 16.2.0.
* gnu/packages/python.scm (python-pyopenssl): Update to 16.2.0.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-11-26 16:35:07 +01:00
Danny Milosavljevic b2e6e150aa
gnu: python-simplejson: Update to 3.10.0.
* gnu/packages/python.scm (python-simplejson): Update to 3.10.0.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-11-26 16:35:07 +01:00
宋文武 5aed7f10f3
pull: Add guile-ssh to the dependencies.
Fix regression introduced in 9e76eed.

* build-aux/build-self.scm (guile-ssh): New variable.
(build)[builder]: Add 'guile-ssh' to %load-path and %load-compiled-path.
2016-11-26 22:03:23 +08:00
ng0 faa29e4bdb
gnu: Add mumble.
* gnu/packages/telephony.scm (mumble): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-11-26 12:32:22 +01:00
Marius Bakke 4f55441fe3
gnu: transmission: Update to 2.92.
* gnu/packages/bittorrent.scm (transmission): Update to 2.92.
[inputs]: Add cyrus-sasl.
2016-11-26 12:32:01 +01:00
Ben Woodcroft 5e0a0f4226
gnu: roary: Update to 3.7.0.
* gnu/packages/bioinformatics.scm (roary): Update to 3.7.0.
2016-11-26 20:15:39 +10:00
Ben Woodcroft 31a9d653ad
gnu: Add proteinortho.
* gnu/packages/bioinformatics.scm (proteinortho): New variable.
2016-11-26 20:15:37 +10:00
Julien Lepiller d3eff97afd
gnu: Add python-polib.
* gnu/packages/python.scm (python-polib, python2-polib): New variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-11-26 10:29:29 +01:00
John Darrington fc5dc4e81c
gnu: Whitespace changes
* gnu/services/kerberos.scm: Fold lines to 80 character limit.
2016-11-26 07:37:33 +01:00
ng0 75675e4556
mailmap: Associate all commits by ng0 with ng0.
Signed-off-by: Leo Famulari <leo@famulari.name>
2016-11-26 01:00:58 -05:00
Leo Famulari 53d892dd92
gnu: imagemagick: Update to 6.9.6-6 [fixes CVE-2016-9556].
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.6-6.
2016-11-26 00:38:45 -05:00
宋文武 c940b8e682
doc: mysql-configuration: Fix typo.
* doc/guix.texi (Database Services): Fix typo of 'mysql-configuration'.
2016-11-26 12:50:11 +08:00
宋文武 f88371e866
services: Add opensmtpd service.
* gnu/services/mail.scm (<opensmtpd-configuration>): New record type.
(%default-opensmtpd-config-file, %opensmtpd-accounts): New variables.
(opensmtpd-shepherd-service, opensmtpd-activation): New procedures.
(opensmtpd-service-type): New variable.
* doc/guix.texi (Mail Services): Document it.
2016-11-26 12:50:11 +08:00
Leo Famulari 0959478c72
gnu: Add missing module import to (gnu packages ldc).
This is a followup to commit e44b511298.

* gnu/packages/ldc.scm: Import (gnu packages python).
2016-11-25 23:18:29 -05:00
Danny Milosavljevic e44b511298
gnu: ldc: Update to 0.17.2.
* gnu/packages/ldc.scm (ldc): Update to 0.17.2.
* gnu/packages/patches/ldc-disable-tests.patch: Fix timezone file name.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-11-25 23:54:51 +01:00
Ludovic Courtès bc1ad4e334
offload: Drop 'remote-pipe'.
* guix/scripts/offload.scm (remote-pipe): Remove.
(machine-load): Use 'open-remote-pipe*' instead of 'remote-pipe'.
2016-11-25 23:44:21 +01:00
Ludovic Courtès cf283dd92e
offload: Rewrite to make direct RPCs to the remote daemon.
* guix/scripts/offload.scm (<build-machine>)[daemon-socket]: New field.
(connect-to-remote-daemon): New procedure.
(%gc-root-file, register-gc-root, remove-gc-roots, offload): Remove.
(transfer-and-offload): Rewrite using 'connect-to-remote-daemon' and
RPCs over SSH.
(store-import-channel, store-export-channel): New procedures.
(send-files, retrieve-files): Rewrite using these.
2016-11-25 23:44:20 +01:00
Ludovic Courtès e8a5db80d5
offload: Remove 'with-nar-error-handling' macro.
* guix/scripts/offload.scm (with-nar-error-handling): Remove.
(guix-offload): Use 'with-error-handling' instead.
2016-11-25 23:44:20 +01:00
Ludovic Courtès 6230d6f04f
store: 'open-connection' can taken an open port.
* guix/store.scm (open-unix-domain-socket): New procedure.
(open-connection): Add #:port parameter and honor it.
2016-11-25 23:44:20 +01:00
Ludovic Courtès 9e76eed37f
offload: Reuse SSH session during 'transfer-and-offload'.
* guix/scripts/offload.scm (remote-pipe): Replace 'machine' parameter
with 'session'.  Remove 'open-ssh-session' call.
(register-gc-root): Replace 'machine' with 'session'.  Use '
session-get' instead of 'build-machine-name'.
(remove-gc-roots, offload, send-files, retrieve-files): Likewise.
(transfer-and-offload): Add 'open-ssh-session' call.  Handle 'offload'
errors here.
(machine-load): Add call to 'open-ssh-session'.
2016-11-25 23:44:20 +01:00
Ludovic Courtès 21531add32
offload: Use Guile-SSH instead of GNU lsh.
* guix/scripts/offload.scm (<build-machine>)[ssh-options]: Remove.
[host-key, host-key-type]: New fields.
(%lsh-command, %lshg-command, user-lsh-private-key): Remove.
(user-openssh-private-key, private-key-from-file*): New procedures.
(host-key->type+key, open-ssh-session): New procedures.
(remote-pipe): Remove 'mode' parameter.  Rewrite in terms of
'open-ssh-session' etc.  Update users.
(send-files)[missing-files]: Rewrite using the bidirectional channel
port.
Remove call to 'call-with-compressed-output-port'.
(retrieve-files): Remove call to 'call-with-decompressed-port'.
(machine-load): Remove exit status logic.
* doc/guix.texi (Requirements): Mention Guile-SSH.
(Daemon Offload Setup): Document 'host-key' and 'private-key'.  Show the
default value on each @item line.
* m4/guix.m4 (GUIX_CHECK_GUILE_SSH): New macro.
* config-daemon.ac: Use 'GUIX_CHECK_GUILE_SSH'.  Set
'HAVE_DAEMON_OFFLOAD_HOOK' as a function of that.
2016-11-25 23:44:20 +01:00
Ludovic Courtès 6634180f9e
gnu: guile-ssh: Update to 0.10.2.
* gnu/packages/ssh.scm (guile-ssh): Update to 0.10.2.
[home-page]: Update.
[source]: Use the 'url-fetch' method and a GitHub generated
tarball.
[arguments] <autoreconf>: Remove now unneeded 'chmod' call.
2016-11-25 23:44:20 +01:00
Ricardo Wurmus 7276b5604d
gnu: hydrogen: Update to 0.9.7.
* gnu/packages/music.scm (hydrogen): Update to 0.9.7.
2016-11-25 21:44:16 +01:00
Tobias Geerinckx-Rice d66cbd1adc
gnu: btrfs-progs: Update to 4.8.4.
* gnu/packages/linux.scm (btrfs-progs): Update to 4.8.4.
2016-11-25 17:00:51 +01:00
Tobias Geerinckx-Rice fc89cb691d
gnu: lz4: Update to 1.7.4.2.
* gnu/packages/compression.scm (lz4): Update to 1.7.4.2.
2016-11-25 16:31:20 +01:00
Tobias Geerinckx-Rice dead1067c3
gnu: hplip: Update to 3.16.11.
* gnu/packages/cups.scm (hplip): Update to 3.16.11.
2016-11-25 16:31:10 +01:00
Ricardo Wurmus aaaf8b3844
gnu: qtractor: Update to 0.8.0.
* gnu/packages/music.scm (qtractor): Update to 0.8.0.
2016-11-25 13:08:06 +01:00
Alex Kost 1e34721435
gnu: qemu: Install all required info files.
* gnu/packages/qemu.scm (qemu)[arguments]: Adjust 'install-info' phase
to find all info files (including "*.info-N").
2016-11-25 16:09:22 +03:00
Theodoros Foradis 8f528bd442
gnu: Add kicad-library.
* gnu/packages/engineering.scm (kicad-library): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-11-25 00:38:11 -05:00
Theodoros Foradis befc9ff643
gnu: Add kicad.
* gnu/packages/engineering.scm (kicad): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-11-25 00:38:11 -05:00
Theodoros Foradis b353c7d201
gnu: Add python2-wxpython.
* gnu/packages/wxwidgets.scm (python2-wxpython): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-11-25 00:38:10 -05:00
Theodoros Foradis 2cd3b6fd03
gnu: Add wxwidgets-gtk2.
* gnu/packages/wxwidgets.scm (wxwidgets-gtk2): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-11-25 00:38:10 -05:00
Leo Famulari 88d45b74c1
gnu: nginx: Update to 1.11.6.
* gnu/packages/web.scm (nginx): Update to 1.11.6.
[arguments]: Remove the obsolete option --with-ipv6 from #:configure-flags.
2016-11-25 00:07:40 -05:00
Tobias Geerinckx-Rice e0f8a520ed
gnu: miniupnpc: Improve synopsis and description.
* gnu/packages/upnp.scm (miniupnp)[synopsis, description]: Edit, fix typos,
add some relevant (search) terms from the home page, and expand acronyms.
2016-11-25 02:21:51 +01:00
Tobias Geerinckx-Rice 5af82630fe
gnu: miniupnpc: Use the correct ‘upnpc’ in ‘external-ip’.
* gnu/packages/upnp.scm (miniupnpc)[arguments]: Add ‘qualify-paths’ phase.
2016-11-25 02:21:51 +01:00
Tobias Geerinckx-Rice cdbdaf7b6b
gnu: miniupnpc: Use ‘modify-phases’ syntax.
* gnu/packages/upnp.scm (miniupnpc)[arguments]: Use ‘modify-phases’.
2016-11-25 02:21:50 +01:00
Tobias Geerinckx-Rice 2d3b0203f4
gnu: miniupnpc: Update to 2.0.
* gnu/packages/upnp.scm (miniupnpc): Update to 2.0.
2016-11-25 02:21:50 +01:00
Tobias Geerinckx-Rice ade5848576
gnu: vim: Update to 8.0.0101.
* gnu/packages/vim.scm (vim, vim-full): Update to 8.0.0101.
2016-11-25 02:21:49 +01:00
Ludovic Courtès df31e36a40
doc: Fix typos in "Kerberos Services".
* doc/guix.texi (Kerberos Services): Fix typos.
2016-11-24 23:21:20 +01:00
Ludovic Courtès 13fb1bd94e
doc: Document encrypted root partitions.
This is a followup to f7f292d359.

* doc/guix.texi (Preparing for Installation): Give commands for
encrypted root installation.
(Proceeding with the Installation): Add item about mapped devices.
(File Systems): Mention that 'dependencies' can list <mapped-device>
objects.
* gnu/system/examples/desktop.tmpl (mapped-devices): New field.
(file-systems): Add 'dependencies' field.
2016-11-24 23:20:41 +01:00