jackhill/guix/guix.git
7 years agognu: linux-libre: Adjust for PowerPC.
Carlos Sánchez de La Lama [Wed, 4 Jan 2017 22:50:37 +0000 (23:50 +0100)]
gnu: linux-libre: Adjust for PowerPC.

* gnu/packages/linux.scm (system->defconfig): New procedure.
(linux-libre-headers)[arguments]: Use it in 'build' phase to determine
the target name.
* gnu/packages/cross-base.scm (cross-kernel-headers)[xlinux-headers]
(arguments): Likewise.

7 years agognu: gcc: Adjust for PowerPC.
Carlos Sánchez de La Lama [Wed, 4 Jan 2017 22:47:24 +0000 (23:47 +0100)]
gnu: gcc: Adjust for PowerPC.

* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Add powerpc specific
substitutions for dynamic linker and start files locations in
'pre-configure' phase.
* gnu/packages/make-bootstrap.scm (%gcc-static)[arguments]: Add
"gcc/config/rs6000/sysv4.h" to the list of files in 'remove-lgcc_s'
phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: m4: Update to 1.4.18.
Marius Bakke [Tue, 3 Jan 2017 18:55:36 +0000 (19:55 +0100)]
gnu: m4: Update to 1.4.18.

* gnu/packages/m4.scm (m4): Update to 1.4.18.
[source]: Use xz compressed tarball.

7 years agognu: tar: Fix CVE-2016-6321.
Alex Vong [Fri, 30 Dec 2016 16:05:49 +0000 (00:05 +0800)]
gnu: tar: Fix CVE-2016-6321.

* gnu/packages/patches/tar-CVE-2016-6321.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/base.scm (tar)[source]: Use it.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: gmp: Update to 6.1.2.
Andreas Enge [Thu, 29 Dec 2016 23:38:24 +0000 (00:38 +0100)]
gnu: gmp: Update to 6.1.2.

* gnu/packages/multiprecision.scm (gmp): Update to 6.1.2.

7 years agognu: icu4c: Update to 58.2.
Leo Famulari [Thu, 29 Dec 2016 00:34:57 +0000 (19:34 -0500)]
gnu: icu4c: Update to 58.2.

* gnu/packages/icu4c.scm (icu4c): Update to 58.2.

7 years agognu: util-linux: Update to 2.28.2.
Tobias Geerinckx-Rice [Tue, 27 Dec 2016 21:24:06 +0000 (22:24 +0100)]
gnu: util-linux: Update to 2.28.2.

* gnu/packages/linux.scm (util-linux): Update to 2.28.2.

7 years agognu: libssh2: Update to 1.8.0.
Leo Famulari [Thu, 22 Dec 2016 05:14:54 +0000 (00:14 -0500)]
gnu: libssh2: Update to 1.8.0.

* gnu/packages/ssh.scm (libssh2): Update to 1.8.0.

7 years agognu: libgcrypt: Update to 1.7.5.
Leo Famulari [Sat, 17 Dec 2016 05:56:09 +0000 (00:56 -0500)]
gnu: libgcrypt: Update to 1.7.5.

* gnu/packages/gnupg.scm (libgcrypt): Update to 1.7.5.

7 years agognu: libcap: Update to 2.25.
Tobias Geerinckx-Rice [Thu, 15 Dec 2016 22:46:38 +0000 (23:46 +0100)]
gnu: libcap: Update to 2.25.

* gnu/packages/linux.scm (libcap): Update to 2.25.

7 years agognu: xkeyboard-config: Update to 2.19.
Tobias Geerinckx-Rice [Tue, 13 Dec 2016 23:33:40 +0000 (00:33 +0100)]
gnu: xkeyboard-config: Update to 2.19.

* gnu/packages/xorg.scm (xkeyboard-config): Update to 2.19.

7 years agognu: xproto: Update to 7.0.31.
Marius Bakke [Tue, 13 Dec 2016 19:46:25 +0000 (20:46 +0100)]
gnu: xproto: Update to 7.0.31.

* gnu/packages/xorg.scm (xproto): Update to 7.0.31.

7 years agognu: libgcrypt: Update to 1.7.4.
Tobias Geerinckx-Rice [Mon, 12 Dec 2016 11:58:24 +0000 (12:58 +0100)]
gnu: libgcrypt: Update to 1.7.4.

* gnu/packages/gnupg.scm (libgcrypt): Update to 1.7.4.

7 years agognu: gnutls: Update to 3.5.7.
Tobias Geerinckx-Rice [Mon, 12 Dec 2016 11:57:17 +0000 (12:57 +0100)]
gnu: gnutls: Update to 3.5.7.

* gnu/packages/tls.scm (gnutls): Update to 3.5.7.

7 years agognu: Default to GCC 5.
Ludovic Courtès [Mon, 12 Dec 2016 00:01:13 +0000 (01:01 +0100)]
gnu: Default to GCC 5.

This reinstates and adjusts
commit e3d0fcbf7e55e8cbe8d0a1c5a24d73f341d7243b.

* gnu/packages/patches/gcc-libiberty-printf-decl.patch: New file.
* gnu/packages/gcc.scm (gcc-5)[source]: Use it.
[patches]: Add "gcc-arm-bug-71399.patch".
(gcc): Switch to GCC-5.
* gnu/packages/commencement.scm (libstdc++-boot0): New variable.
(gcc-boot0)[inputs]: Add it.
(gcc-toolchain-4.9): Switch to GCC-4.9.
(gcc-toolchain-5): Switch to GCC-FINAL.
* gnu/local.mk (dist_patch_DATA): Add 'gcc-libiberty-printf-decl.patch'.

7 years agognu: sqlite: Update to 3.15.2.
Marius Bakke [Mon, 12 Dec 2016 21:54:25 +0000 (22:54 +0100)]
gnu: sqlite: Update to 3.15.2.

* gnu/packages/databases.scm (sqlite): Update to 3.15.2.

7 years agognu: guile: Update to 2.0.13.
Ludovic Courtès [Sun, 11 Dec 2016 23:42:32 +0000 (00:42 +0100)]
gnu: guile: Update to 2.0.13.

* gnu/packages/guile.scm (guile-2.0): Update to 2.0.13.
[source](patches): New field.
[replacement]: Remove.
(guile-2.0.13): Remove.

7 years agognu: grep: Update to 2.27.
Efraim Flashner [Sat, 10 Dec 2016 20:10:30 +0000 (22:10 +0200)]
gnu: grep: Update to 2.27.

* gnu/packages/base.scm (grep): Update to 2.27.

7 years agognu: libunistring: Update to 0.9.7.
Efraim Flashner [Sat, 3 Dec 2016 17:35:27 +0000 (19:35 +0200)]
gnu: libunistring: Update to 0.9.7.

* gnu/packages/libunistring.scm (libunistring): Update to 0.9.7.
[home-page]: Use https.
[license]: License has changed to dual lgpl3+ gpl2.

7 years agognu: coreutils: Update to 8.26.
Efraim Flashner [Sat, 3 Dec 2016 15:30:33 +0000 (17:30 +0200)]
gnu: coreutils: Update to 8.26.

* gnu/packages/base.scm (coreutils): Update to 8.26.

7 years agognu: flex: Update to 2.6.2.
David Craven [Sat, 29 Oct 2016 14:48:43 +0000 (16:48 +0200)]
gnu: flex: Update to 2.6.2.

* gnu/packages/flex.scm (flex): Update to 2.6.2.
  [native-inputs]: Add help2man.
  [origin]: Update uri to github. Remove CVE-2016-6354 patch.
  (flex-2.6.1): Remove variable.
* gnu/packages/patches/flex-CVE-2016-6354.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Update.
* gnu/packages/kde-frameworks.scm (solid, kservice)[native-inputs]: Use
  flex.

7 years agognu: gnutls: Update 3.5.6.
Tobias Geerinckx-Rice [Wed, 30 Nov 2016 13:13:14 +0000 (14:13 +0100)]
gnu: gnutls: Update 3.5.6.

* gnu/packages/tls.scm (gnutls): Update to 3.5.6.

7 years agognu: glibc-hurd: Force mach/hurd/libpthread subdirs to build first.
Manolis Ragkousis [Sun, 13 Nov 2016 13:19:46 +0000 (15:19 +0200)]
gnu: glibc-hurd: Force mach/hurd/libpthread subdirs to build first.

* gnu/packages/base.scm (glibc/hurd)[arguments]: Replace 'build' phase.

Co-authored-by: Ludovic Court<C3><A8>s <ludo@gnu.org>
7 years agognu: libarchive: Update to 3.2.2.
Leo Famulari [Tue, 29 Nov 2016 02:09:44 +0000 (21:09 -0500)]
gnu: libarchive: Update to 3.2.2.

* gnu/packages/backup.scm (libarchive): Update to 3.2.2.
[source]: Remove obsolete patches.
* gnu/packages/patches/libarchive-7zip-heap-overflow.patch,
gnu/packages/patches/libarchive-fix-filesystem-attacks.patch,
gnu/packages/patches/libarchive-fix-symlink-check.patch,
gnu/packages/patches/libarchive-safe_fprintf-buffer-overflow.patch:
Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.

7 years agognu: libarchive: Fix typo in 'libarchive-safe_fprintf-buffer-overflow.patch'.
Leo Famulari [Tue, 29 Nov 2016 02:06:24 +0000 (21:06 -0500)]
gnu: libarchive: Fix typo in 'libarchive-safe_fprintf-buffer-overflow.patch'.

* gnu/packages/patches/libarchive-safe_fprintf-buffer-overflow.patch:
Use correct URL in patch documentation.

7 years agobuild-system/perl: Don't create non-deterministic 'perllocal.pod' files.
Marius Bakke [Wed, 23 Nov 2016 17:40:53 +0000 (18:40 +0100)]
build-system/perl: Don't create non-deterministic 'perllocal.pod' files.

* guix/build/perl-build-system.scm (configure): Add "NO_PERLLOCAL=1"
to Makefile.PL arguments.

7 years agognu: mpfr: Update to 3.1.5.
Efraim Flashner [Sun, 27 Nov 2016 08:45:23 +0000 (10:45 +0200)]
gnu: mpfr: Update to 3.1.5.

* gnu/packages/multiprecision.scm (mpfr): Update to 3.1.5.

7 years agognu: sed: Use 'modify-phases' syntax.
Efraim Flashner [Sun, 27 Nov 2016 08:25:45 +0000 (10:25 +0200)]
gnu: sed: Use 'modify-phases' syntax.

* gnu/packages/base.scm (sed)[arguments]: Use 'modify-phases' syntax.

7 years agognu: grep: Update to 2.26.
Efraim Flashner [Sun, 27 Nov 2016 08:23:59 +0000 (10:23 +0200)]
gnu: grep: Update to 2.26.

* gnu/packages/base.scm (grep): Update to 2.26.

7 years agognu: nettle: Update to 3.3.
Efraim Flashner [Sun, 27 Nov 2016 07:44:48 +0000 (09:44 +0200)]
gnu: nettle: Update to 3.3.

* gnu/packages/nettle.scm (nettle): Update to 3.3.
[home-page]: Use https.

7 years agognu: bash: Update to patch level 5.
Efraim Flashner [Sun, 27 Nov 2016 07:24:17 +0000 (09:24 +0200)]
gnu: bash: Update to patch level 5.

* gnu/packages/bash.scm (%patch-url-seqno): Update for bash-4.4.
(%patch-series-4.4): Add patches 1 to 5.

7 years agognu: icu4c: Use 'modify-phases' syntax.
Efraim Flashner [Sun, 27 Nov 2016 07:21:48 +0000 (09:21 +0200)]
gnu: icu4c: Use 'modify-phases' syntax.

* gnu/packages/icu4c.scm (icu4c)[arguments]: Use 'modify-phases' syntax.

7 years agognu: icu4c: Update to 58.1.
Efraim Flashner [Sat, 26 Nov 2016 20:16:16 +0000 (22:16 +0200)]
gnu: icu4c: Update to 58.1.

* gnu/packages/icu4c.scm (icu4c): Update to 58.1.
[source]: Download from their website.
[arguments]: Remove extra bash replacement.

7 years agognu: cyrus-sasl: Incorporate grafted patch.
Leo Famulari [Sat, 26 Nov 2016 21:22:25 +0000 (16:22 -0500)]
gnu: cyrus-sasl: Incorporate grafted patch.

* gnu/packages/cyrus-sasl.scm (cyrus-sasl)[source]: Use
'cyrus-sasl-CVE-2013-4122.patch'.
[replacement]: Remove field.
(cyrus-sasl/fixed): Remove variable.

7 years agoMerge branch 'master' into core-updates
Leo Famulari [Sat, 26 Nov 2016 21:21:47 +0000 (16:21 -0500)]
Merge branch 'master' into core-updates

7 years agognu: cyrus-sasl: Fix CVE-2013-4122.
Leo Famulari [Sat, 26 Nov 2016 20:03:06 +0000 (15:03 -0500)]
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.

7 years agognu: ffmpeg: Update to 3.2.1.
Efraim Flashner [Sat, 26 Nov 2016 20:53:13 +0000 (22:53 +0200)]
gnu: ffmpeg: Update to 3.2.1.

* gnu/packages/video.scm (ffmpeg): Update to 3.2.1.

7 years agognu: gst-plugins-good: Fix CVE-2016-{9634,9635,9636} and other security issues.
Leo Famulari [Fri, 25 Nov 2016 06:47:14 +0000 (01:47 -0500)]
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.

7 years agoservices: Factorize configuration abstraction.
Julien Lepiller [Wed, 23 Nov 2016 20:43:42 +0000 (21:43 +0100)]
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>
7 years agognu: psyclpc: Update comment.
Leo Famulari [Sat, 26 Nov 2016 18:25:08 +0000 (13:25 -0500)]
gnu: psyclpc: Update comment.

This is a followup to commit eaa45301f46f13a3f71bcae6089d312f31174801.

* gnu/packages/messaging.scm (psyclpc): Update comment.

7 years agognu: Move content of (gnu packages psyc) into (gnu packages messaging).
ng0 [Wed, 23 Nov 2016 19:04:37 +0000 (19:04 +0000)]
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>
7 years agognu: psyclpc: Upgrade to 20160821-2.61cf9aa.
ng0 [Sat, 26 Nov 2016 18:18:01 +0000 (13:18 -0500)]
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>
7 years agognu: python-flask: Update to 0.11.1.
Danny Milosavljevic [Sat, 26 Nov 2016 13:51:22 +0000 (14:51 +0100)]
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>
7 years agognu: python-pyopenssl: Update to 16.2.0.
Danny Milosavljevic [Sat, 26 Nov 2016 13:51:21 +0000 (14:51 +0100)]
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>
7 years agognu: python-simplejson: Update to 3.10.0.
Danny Milosavljevic [Sat, 26 Nov 2016 13:51:20 +0000 (14:51 +0100)]
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>
7 years agopull: Add guile-ssh to the dependencies.
宋文武 [Sat, 26 Nov 2016 13:44:37 +0000 (21:44 +0800)]
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.

7 years agognu: Add mumble.
ng0 [Tue, 22 Nov 2016 23:31:25 +0000 (23:31 +0000)]
gnu: Add mumble.

* gnu/packages/telephony.scm (mumble): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: transmission: Update to 2.92.
Marius Bakke [Fri, 25 Nov 2016 02:27:40 +0000 (03:27 +0100)]
gnu: transmission: Update to 2.92.

* gnu/packages/bittorrent.scm (transmission): Update to 2.92.
[inputs]: Add cyrus-sasl.

7 years agognu: roary: Update to 3.7.0.
Ben Woodcroft [Sat, 26 Nov 2016 09:00:17 +0000 (19:00 +1000)]
gnu: roary: Update to 3.7.0.

* gnu/packages/bioinformatics.scm (roary): Update to 3.7.0.

7 years agognu: Add proteinortho.
Ben Woodcroft [Sat, 26 Nov 2016 04:59:30 +0000 (14:59 +1000)]
gnu: Add proteinortho.

* gnu/packages/bioinformatics.scm (proteinortho): New variable.

7 years agognu: Add python-polib.
Julien Lepiller [Fri, 25 Nov 2016 14:29:08 +0000 (15:29 +0100)]
gnu: Add python-polib.

* gnu/packages/python.scm (python-polib, python2-polib): New variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: sqlite: Update to 3.15.1.
Marius Bakke [Thu, 24 Nov 2016 16:05:47 +0000 (17:05 +0100)]
gnu: sqlite: Update to 3.15.1.

* gnu/packages/databases.scm (sqlite): Update to 3.15.1.
[source]: Download from sqlite.org.
[home-page]: Use HTTPS.
(sqlite-3.15.1): Remove.
* gnu/packages/php.scm (php)[inputs]: Change 'sqlite-3.15.1' to 'sqlite'.

7 years agobuild-system/gnu: Make libraries writable before stripping.
Marius Bakke [Thu, 24 Nov 2016 08:11:39 +0000 (09:11 +0100)]
build-system/gnu: Make libraries writable before stripping.

* guix/build/gnu-build-system.scm (strip)[strip-dir]: Change mode of
files before running strip-command.

7 years agognu: Whitespace changes
John Darrington [Thu, 24 Nov 2016 07:15:55 +0000 (08:15 +0100)]
gnu: Whitespace changes

* gnu/services/kerberos.scm: Fold lines to 80 character limit.

7 years agomailmap: Associate all commits by ng0 with ng0.
ng0 [Wed, 23 Nov 2016 22:23:52 +0000 (22:23 +0000)]
mailmap: Associate all commits by ng0 with ng0.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: imagemagick: Update to 6.9.6-6 [fixes CVE-2016-9556].
Leo Famulari [Sat, 26 Nov 2016 05:34:21 +0000 (00:34 -0500)]
gnu: imagemagick: Update to 6.9.6-6 [fixes CVE-2016-9556].

* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.6-6.

7 years agodoc: mysql-configuration: Fix typo.
宋文武 [Sat, 26 Nov 2016 04:47:14 +0000 (12:47 +0800)]
doc: mysql-configuration: Fix typo.

* doc/guix.texi (Database Services): Fix typo of 'mysql-configuration'.

7 years agoservices: Add opensmtpd service.
宋文武 [Mon, 21 Nov 2016 12:41:17 +0000 (20:41 +0800)]
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.

7 years agognu: Add missing module import to (gnu packages ldc).
Leo Famulari [Sat, 26 Nov 2016 04:17:30 +0000 (23:17 -0500)]
gnu: Add missing module import to (gnu packages ldc).

This is a followup to commit e44b511298590ecc87c2c85d1cbc043a638dd1e0.

* gnu/packages/ldc.scm: Import (gnu packages python).

7 years agognu: ldc: Update to 0.17.2.
Danny Milosavljevic [Thu, 24 Nov 2016 20:58:40 +0000 (21:58 +0100)]
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>
7 years agooffload: Drop 'remote-pipe'.
Ludovic Courtès [Fri, 25 Nov 2016 21:47:37 +0000 (22:47 +0100)]
offload: Drop 'remote-pipe'.

* guix/scripts/offload.scm (remote-pipe): Remove.
(machine-load): Use 'open-remote-pipe*' instead of 'remote-pipe'.

7 years agooffload: Rewrite to make direct RPCs to the remote daemon.
Ludovic Courtès [Fri, 4 Nov 2016 23:47:34 +0000 (00:47 +0100)]
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.

7 years agooffload: Remove 'with-nar-error-handling' macro.
Ludovic Courtès [Fri, 4 Nov 2016 23:46:04 +0000 (00:46 +0100)]
offload: Remove 'with-nar-error-handling' macro.

* guix/scripts/offload.scm (with-nar-error-handling): Remove.
(guix-offload): Use 'with-error-handling' instead.

7 years agostore: 'open-connection' can taken an open port.
Ludovic Courtès [Wed, 2 Nov 2016 21:50:31 +0000 (22:50 +0100)]
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.

7 years agooffload: Reuse SSH session during 'transfer-and-offload'.
Ludovic Courtès [Wed, 2 Nov 2016 11:00:47 +0000 (12:00 +0100)]
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'.

7 years agooffload: Use Guile-SSH instead of GNU lsh.
Ludovic Courtès [Sun, 2 Mar 2014 21:39:48 +0000 (22:39 +0100)]
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.

7 years agognu: guile-ssh: Update to 0.10.2.
Ludovic Courtès [Fri, 25 Nov 2016 16:30:32 +0000 (17:30 +0100)]
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.

7 years agognu: hydrogen: Update to 0.9.7.
Ricardo Wurmus [Fri, 25 Nov 2016 20:43:17 +0000 (21:43 +0100)]
gnu: hydrogen: Update to 0.9.7.

* gnu/packages/music.scm (hydrogen): Update to 0.9.7.

7 years agognu: btrfs-progs: Update to 4.8.4.
Tobias Geerinckx-Rice [Fri, 25 Nov 2016 16:00:51 +0000 (17:00 +0100)]
gnu: btrfs-progs: Update to 4.8.4.

* gnu/packages/linux.scm (btrfs-progs): Update to 4.8.4.

7 years agognu: lz4: Update to 1.7.4.2.
Tobias Geerinckx-Rice [Thu, 24 Nov 2016 19:22:25 +0000 (20:22 +0100)]
gnu: lz4: Update to 1.7.4.2.

* gnu/packages/compression.scm (lz4): Update to 1.7.4.2.

7 years agognu: hplip: Update to 3.16.11.
Tobias Geerinckx-Rice [Thu, 24 Nov 2016 19:22:25 +0000 (20:22 +0100)]
gnu: hplip: Update to 3.16.11.

* gnu/packages/cups.scm (hplip): Update to 3.16.11.

7 years agognu: qtractor: Update to 0.8.0.
Ricardo Wurmus [Thu, 24 Nov 2016 10:10:42 +0000 (11:10 +0100)]
gnu: qtractor: Update to 0.8.0.

* gnu/packages/music.scm (qtractor): Update to 0.8.0.

7 years agognu: qemu: Install all required info files.
Alex Kost [Wed, 23 Nov 2016 20:25:27 +0000 (23:25 +0300)]
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").

7 years agognu: Add kicad-library.
Theodoros Foradis [Tue, 15 Nov 2016 20:53:24 +0000 (22:53 +0200)]
gnu: Add kicad-library.

* gnu/packages/engineering.scm (kicad-library): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: Add kicad.
Theodoros Foradis [Tue, 15 Nov 2016 20:53:23 +0000 (22:53 +0200)]
gnu: Add kicad.

* gnu/packages/engineering.scm (kicad): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: Add python2-wxpython.
Theodoros Foradis [Tue, 15 Nov 2016 20:53:22 +0000 (22:53 +0200)]
gnu: Add python2-wxpython.

* gnu/packages/wxwidgets.scm (python2-wxpython): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: Add wxwidgets-gtk2.
Theodoros Foradis [Tue, 15 Nov 2016 20:53:21 +0000 (22:53 +0200)]
gnu: Add wxwidgets-gtk2.

* gnu/packages/wxwidgets.scm (wxwidgets-gtk2): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: nginx: Update to 1.11.6.
Leo Famulari [Fri, 25 Nov 2016 04:20:24 +0000 (23:20 -0500)]
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.

7 years agognu: miniupnpc: Improve synopsis and description.
Tobias Geerinckx-Rice [Thu, 24 Nov 2016 18:28:52 +0000 (19:28 +0100)]
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.

7 years agognu: miniupnpc: Use the correct ‘upnpc’ in ‘external-ip’.
Tobias Geerinckx-Rice [Thu, 24 Nov 2016 17:48:15 +0000 (18:48 +0100)]
gnu: miniupnpc: Use the correct ‘upnpc’ in ‘external-ip’.

* gnu/packages/upnp.scm (miniupnpc)[arguments]: Add ‘qualify-paths’ phase.

7 years agognu: miniupnpc: Use ‘modify-phases’ syntax.
Tobias Geerinckx-Rice [Thu, 24 Nov 2016 17:47:09 +0000 (18:47 +0100)]
gnu: miniupnpc: Use ‘modify-phases’ syntax.

* gnu/packages/upnp.scm (miniupnpc)[arguments]: Use ‘modify-phases’.

7 years agognu: miniupnpc: Update to 2.0.
Tobias Geerinckx-Rice [Thu, 24 Nov 2016 17:46:27 +0000 (18:46 +0100)]
gnu: miniupnpc: Update to 2.0.

* gnu/packages/upnp.scm (miniupnpc): Update to 2.0.

7 years agognu: vim: Update to 8.0.0101.
Tobias Geerinckx-Rice [Thu, 24 Nov 2016 16:43:05 +0000 (17:43 +0100)]
gnu: vim: Update to 8.0.0101.

* gnu/packages/vim.scm (vim, vim-full): Update to 8.0.0101.

7 years agodoc: Fix typos in "Kerberos Services".
Ludovic Courtès [Thu, 24 Nov 2016 22:21:08 +0000 (23:21 +0100)]
doc: Fix typos in "Kerberos Services".

* doc/guix.texi (Kerberos Services): Fix typos.

7 years agodoc: Document encrypted root partitions.
Ludovic Courtès [Thu, 24 Nov 2016 22:03:04 +0000 (23:03 +0100)]
doc: Document encrypted root partitions.

This is a followup to f7f292d359e0eb77617f4ecf6b3164f868ec1784.

* 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.

7 years agodoc: Document 'wpa-supplicant-service-type'.
Ludovic Courtès [Thu, 24 Nov 2016 20:53:57 +0000 (21:53 +0100)]
doc: Document 'wpa-supplicant-service-type'.

Reported by Chris Marusich <cmmarusich@gmail.com>.

* doc/guix.texi (Networking Services): Remove 'wpa-supplicant-service'
procedure, which doesn't exist, and document
'wpa-supplicant-service-type'.

7 years agoservices: network-manager: Depend on 'wpa-supplicant'.
Ludovic Courtès [Thu, 24 Nov 2016 20:35:57 +0000 (21:35 +0100)]
services: network-manager: Depend on 'wpa-supplicant'.

Suggested by Chris Marusich <cmmarusich@gmail.com>.

* gnu/services/networking.scm (network-manager-shepherd-service)
[requirement]: Add 'wpa-supplicant'.

7 years agoservices: network-manager: Install polkit actions.
Ludovic Courtès [Thu, 24 Nov 2016 20:29:13 +0000 (21:29 +0100)]
services: network-manager: Install polkit actions.

Reported by Chris Marusich <cmmarusich@gmail.com>
at <https://lists.gnu.org/archive/html/help-guix/2016-11/msg00038.html>.

* gnu/services/networking.scm (network-manager-service-type)[extensions]:
Add POLKIT-SERVICE-TYPE.

7 years agoservices: Move polkit to (gnu services dbus).
Ludovic Courtès [Thu, 24 Nov 2016 20:27:21 +0000 (21:27 +0100)]
services: Move polkit to (gnu services dbus).

* gnu/services/desktop.scm (<polkit-configuration>, %polkit-accounts)
(%polkit-pam-services, polkit-directory, polkit-etc-files)
(polkit-setuid-programs, polkit-service-type, polkit-service): Move
to...
* gnu/services/dbus.scm: ... here.

7 years agognu: hdf5: Build the C++ interface.
Ludovic Courtès [Thu, 24 Nov 2016 10:55:15 +0000 (11:55 +0100)]
gnu: hdf5: Build the C++ interface.

* gnu/packages/maths.scm (hdf5)[arguments]: Add #:configure-flags.

7 years agognu: vim: Update to 8.0.0096.
Tobias Geerinckx-Rice [Thu, 24 Nov 2016 15:56:46 +0000 (16:56 +0100)]
gnu: vim: Update to 8.0.0096.

* gnu/packages/vim.scm (vim, vim-full): Update to 8.0.0096.

7 years agoAdd system start-up files for "guix publish".
Hartmut Goebel [Thu, 24 Nov 2016 08:23:11 +0000 (09:23 +0100)]
Add system start-up files for "guix publish".

* .gitignore: add etc/guix-publish.conf and /etc/guix-publish.service.
* etc/guix-publish.conf.in: New file.
* etc/guix-publish.service.in: New file.
* nix/local.mk (etc/guix-%.service, etc/guix-%.conf): Generalized former
  build-rules for by using patterns.
  (nodist_systemdservice_DATA): Add etc/guix-publish.service, update
  comment.
  (nodist_upstartjob_DATA): Add etc/guix-publish.conf, update comment.
* doc/guix.texi (Invoking guix publish): Add description for enabling
  "guix publish" on host distros using the new files.

7 years agodoc: Symlink daemon start-up files.
Hartmut Goebel [Thu, 17 Nov 2016 23:49:09 +0000 (00:49 +0100)]
doc: Symlink daemon start-up files.

This patch ensures that always the current profile's daemon will be used.

The .service file contains the path to the guix-daemon within the store. Thus
when copying the file, it will point to the very version of guix-daemon used
at the time of copying – even after system upgrade or when this version has
been garbage collected from the store.

* doc/guix.texi (Binary Installation): Change example code for installing
  the systemd and Upstart files to use symbolic links instead of copying
  the files.

7 years agognu: ir: Use archived tarball and home page.
Tobias Geerinckx-Rice [Thu, 24 Nov 2016 05:33:46 +0000 (06:33 +0100)]
gnu: ir: Use archived tarball and home page.

* gnu/packages/audio.scm (ir)[source]: Use a list of archive mirrors.
[home-page]: Link to an Internet Archive snapshot.

7 years agognu: ir: Use ‘modify-phases’ syntax.
Tobias Geerinckx-Rice [Thu, 24 Nov 2016 05:29:31 +0000 (06:29 +0100)]
gnu: ir: Use ‘modify-phases’ syntax.

* gnu/packages/audio.scm (ir)[arguments]: Use ‘modify-phases’.

7 years agognu: libgc-7.2: Remove package.
Leo Famulari [Thu, 24 Nov 2016 04:03:37 +0000 (23:03 -0500)]
gnu: libgc-7.2: Remove package.

This package variant was unused.

* gnu/packages/bdw-gc.scm (libgc-7.2): Delete variable.

7 years agotests: Remove 'GUIX_LOCPATH' hack that had been added for glibc@2.23.
Ludovic Courtès [Wed, 23 Nov 2016 20:10:49 +0000 (21:10 +0100)]
tests: Remove 'GUIX_LOCPATH' hack that had been added for glibc@2.23.

* gnu/tests/base.scm (run-basic-test)[test]("locale"): Remove
'GUIX_LOCPATH' hack, which is no longer needed since
commit 9f58fe3d1c32e3f0ced065e286532a10cad1b5e3.

7 years agoinstall: Enable "cryptodisk" handling in GRUB.
Ludovic Courtès [Wed, 23 Nov 2016 19:59:13 +0000 (20:59 +0100)]
install: Enable "cryptodisk" handling in GRUB.

This allows 'grub-install' to do the right thing when / or /boot is a
LUKS-encrypted partition.

Fixes <http://bugs.gnu.org/21843>.

* gnu/build/install.scm (install-grub): Add 'setenv' to set
'GRUB_ENABLE_CRYPTODISK'.
(wait-for-screen-text): New test.
* gnu/tests/base.scm (run-basic-test): Add #:initialization parameter
and honor it.
* gnu/tests/install.scm (%encrypted-root-os)[kernel-arguments]: Remove.
(%encrypted-root-installation-script): Pass '--uuid' to 'cryptsetup
luksFormat'.  Remove 'sed' invocation.
(enter-luks-passphrase): New procedure.
(%test-encrypted-os)[value]: Pass #:initialization to 'run-basic-test'.

7 years agomapped-devices: Use 'cryptsetup-static' in 'luks-device-mapping'.
Ludovic Courtès [Wed, 23 Nov 2016 19:50:41 +0000 (20:50 +0100)]
mapped-devices: Use 'cryptsetup-static' in 'luks-device-mapping'.

* gnu/system/mapped-devices.scm (open-luks-device): Use
CRYPTSETUP-STATIC instead of CRYPTSETUP.  Use 'file-append'.
(close-luks-device): Likewise.

7 years agomarionette: Add 'marionette-screen-text' using OCR.
Ludovic Courtès [Wed, 23 Nov 2016 12:56:42 +0000 (13:56 +0100)]
marionette: Add 'marionette-screen-text' using OCR.

* gnu/build/marionette.scm (marionette-screen-text): New procedure.
* gnu/tests/base.scm (run-basic-test)["screen text"]: New test.