jackhill/guix/guix.git
6 years agognu: isc-dhcp: Update bundled bind to 9.9.11-P1 [fixes CVE-2017-3145].
Leo Famulari [Tue, 16 Jan 2018 22:06:12 +0000 (14:06 -0800)]
gnu: isc-dhcp: Update bundled bind to 9.9.11-P1 [fixes CVE-2017-3145].

* gnu/packages/admin.scm (isc-dhcp): Update to 9.9.11-P1.

6 years agognu: bind: Update to 9.11.2-P1 [fixes CVE-2017-3145].
Tobias Geerinckx-Rice [Tue, 16 Jan 2018 21:19:39 +0000 (22:19 +0100)]
gnu: bind: Update to 9.11.2-P1 [fixes CVE-2017-3145].

* gnu/packages/dns.scm (isc-bind): Update to 9.11.2-P1.

6 years agognu: haskell-check: Use HTTPS for hspec.github.io home pages.
Tobias Geerinckx-Rice [Tue, 16 Jan 2018 16:15:52 +0000 (17:15 +0100)]
gnu: haskell-check: Use HTTPS for hspec.github.io home pages.

* gnu/packages/haskell-check.scm (hspec-discover, ghc-hspec-core)
(ghc-hspec-meta, ghc-hspec, ghc-hspec-contrib)[home-page]: Use HTTPS.

6 years agognu: python: Use HTTPS for ipython.org home pages.
Tobias Geerinckx-Rice [Tue, 16 Jan 2018 16:13:31 +0000 (17:13 +0100)]
gnu: python: Use HTTPS for ipython.org home pages.

* gnu/packages/python.scm (python-ipython-genutils, python-traitlets)
(python-ipykernel, python-ipython, python-widgetsnbextension)
(python-ipywidgets)[home-page]: Use HTTPS.

6 years agognu: lxde: Use HTTPS for lxde.org home pages.
Tobias Geerinckx-Rice [Tue, 16 Jan 2018 16:09:41 +0000 (17:09 +0100)]
gnu: lxde: Use HTTPS for lxde.org home pages.

* gnu/packages/lxde.scm (libfm, lxappearance, lxrandr, lxtask, lxterminal)
(menu-cache, pcmanfm, lxmenu-data, lxde-icon-theme, lxde-common, lxinput)
(lxsession, lxpanel)[home-page]: Use HTTPS.

6 years agognu: american-fuzzy-lop: Update to 2.52b.
Efraim Flashner [Tue, 16 Jan 2018 20:16:45 +0000 (22:16 +0200)]
gnu: american-fuzzy-lop: Update to 2.52b.

* gnu/packages/debug.scm (american-fuzzy-lop): Update to 2.52b.
[inputs]: custom-qemu now inherits from qemu-minimal.
(qemu-2.3.0): Remove variable.

6 years agognu: transmission: Mention CVE-2018-5702.
Leo Famulari [Tue, 16 Jan 2018 18:51:46 +0000 (10:51 -0800)]
gnu: transmission: Mention CVE-2018-5702.

* gnu/packages/bittorrent.scm (transmission): Add comment.

6 years agognu: python-libxml2: Inherit the replacement source of libxml2.
Leo Famulari [Sat, 13 Jan 2018 17:55:42 +0000 (09:55 -0800)]
gnu: python-libxml2: Inherit the replacement source of libxml2.

Previously, python-libxml2 would inherit the ungrafted libxml2, missing
several patches on the libxml2 source code.

* gnu/packages/xml.scm (python-libxml2, python2-libxml2): Use
package/inherit.

6 years agognu: libxml2: Fix CVE-2017-15412.
Leo Famulari [Sat, 13 Jan 2018 17:16:07 +0000 (09:16 -0800)]
gnu: libxml2: Fix CVE-2017-15412.

* gnu/packages/patches/libxml2-CVE-2017-15412.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/xml.scm (libxml2/fixed)[source]: Use it.

6 years agognu: Add curlftpfs.
Danny Milosavljevic [Tue, 16 Jan 2018 16:34:22 +0000 (17:34 +0100)]
gnu: Add curlftpfs.

* gnu/packages/file-systems.scm (curlftpfs): New variable.

6 years agognu: Add eureka.
nee [Mon, 15 Jan 2018 22:21:20 +0000 (23:21 +0100)]
gnu: Add eureka.

* gnu/packages/game-development.scm (eureka): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
6 years agognu: freedom: add native search-paths.
nee [Mon, 15 Jan 2018 22:21:19 +0000 (23:21 +0100)]
gnu: freedom: add native search-paths.

* gnu/packages/games.scm (freedoom) [native-search-paths]: Set DOOMWADDIR and
  DOOMWADPATH, so source ports and map editors can find the freedoom IWAD.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
6 years agognu: python-matplotlib: Fix import failure
Konrad Hinsen [Mon, 15 Jan 2018 15:22:29 +0000 (16:22 +0100)]
gnu: python-matplotlib: Fix import failure

* gnu/packages/python.scm (python-matplotlib)[propagated-inputs]: Add
  python-pyqt.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
6 years agognu: clojure: Update to 1.9.0.
Alex Vong [Mon, 15 Jan 2018 14:52:59 +0000 (22:52 +0800)]
gnu: clojure: Update to 1.9.0.

* gnu/packages/java.scm (clojure): Update to 1.9.0. Add "core-specs-alpha-src"
and "spec-alpha-src". Remove "java-classpath-src" and "tools-reader-src".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
6 years agodoc: Fix typo.
Ludovic Courtès [Tue, 16 Jan 2018 14:37:53 +0000 (15:37 +0100)]
doc: Fix typo.

Reported by Nicolas Goaziou.

* doc/guix.texi (Invoking guix archive): Fix typo.

6 years agognu: fish-guix: Remove it.
ng0 [Sun, 14 Jan 2018 17:25:31 +0000 (17:25 +0000)]
gnu: fish-guix: Remove it.

fish-guix has been merged into Guix in 'etc/completion/fish'

* gnu/packages/shells.scm (fish-guix): Remove it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
6 years agoetc: Add completions for fish.
ng0 [Sun, 14 Jan 2018 17:23:00 +0000 (17:23 +0000)]
etc: Add completions for fish.

* etc/completion/fish/guix.fish: New file.
* Makefile.am: Register the file.
* configure.ac: Add the fish vendor-completions directory.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
6 years agognu: mc: Update to 4.8.20.
Tobias Geerinckx-Rice [Tue, 16 Jan 2018 13:36:05 +0000 (14:36 +0100)]
gnu: mc: Update to 4.8.20.

* gnu/packages/mc.scm (mc): Update to 4.8.20.
[arguments]: Rename ‘fix-absolutism’ to (hopefully) more accurate
‘patch-FHS-file-names’.  Patch more.  Fix new VFS test.

6 years agognu: mc: Use HTTPS for home page.
Tobias Geerinckx-Rice [Tue, 16 Jan 2018 13:30:17 +0000 (14:30 +0100)]
gnu: mc: Use HTTPS for home page.

* gnu/packages/mc.scm (mc)[home-page]: Use HTTPS.

6 years agognu: opensmtpd: Support PAM authentication.
Tobias Geerinckx-Rice [Tue, 16 Jan 2018 12:05:39 +0000 (13:05 +0100)]
gnu: opensmtpd: Support PAM authentication.

* gnu/packages/mail.scm (opensmtpd)[arguments]: Add ‘--with-auth-pam’
to #:configure-flags.

6 years agognu: opensmtpd: Update to 6.0.3p1.
Tobias Geerinckx-Rice [Tue, 16 Jan 2018 11:53:12 +0000 (12:53 +0100)]
gnu: opensmtpd: Update to 6.0.3p1.

* gnu/packages/mail.scm (opensmtpd): Update to 6.0.3p1.

6 years agognu: Use HTTPS for invisible-island.net home pages.
Tobias Geerinckx-Rice [Tue, 16 Jan 2018 02:02:21 +0000 (03:02 +0100)]
gnu: Use HTTPS for invisible-island.net home pages.

* gnu/packages/ncurses.scm (dialog)[home-page]: Use HTTPS.
* gnu/packages/version-control.scm (diffstat)[home-page]: Likewise.
* gnu/packages/xorg.scm (xterm)[home-page]: Likewise.

6 years agognu: dialog: Update to 1.3-20171209.
Tobias Geerinckx-Rice [Tue, 16 Jan 2018 01:56:46 +0000 (02:56 +0100)]
gnu: dialog: Update to 1.3-20171209.

* gnu/packages/ncurses.scm (dialog): Update to 1.3-20171209.

6 years agognu: audio: Use HTTPS for kokkinizita.linuxaudio.org home pages.
Tobias Geerinckx-Rice [Tue, 16 Jan 2018 01:00:16 +0000 (02:00 +0100)]
gnu: audio: Use HTTPS for kokkinizita.linuxaudio.org home pages.

* gnu/packages/audio.scm (clalsadrv, amb-plugins, mcp-plugins, rev-plugins)
(fil-plugins, ste-plugins, vco-plugins, wah-plugins, g2reverb)
(zita-convolver, zita-resampler, zita-alsa-pcmi)[home-page]: Use HTTPS.

6 years agognu: java: Use HTTPS for osgi.org home pages.
Tobias Geerinckx-Rice [Tue, 16 Jan 2018 00:54:03 +0000 (01:54 +0100)]
gnu: java: Use HTTPS for osgi.org home pages.

* gnu/packages/java.scm (java-osgi-annotation, java-osgi-core)
(java-osgi-service-event, java-osgi-cmpn)
(java-osgi-service-component-annotations, java-osgi-dto, java-osgi-resource)
(java-osgi-namespace-contract, java-osgi-namespace-extender)
(java-osgi-namespace-service, java-osgi-util-function)
(java-osgi-util-promise, java-osgi-service-metatype-annotations)
(java-osgi-service-repository, java-osgi-framework, java-osgi-service-log)
(java-osgi-service-jdbc, java-osgi-service-resolver, java-osgi-util-tracker)
(java-osgi-service-cm, java-osgi-service-packageadmin)[home-page]: Use HTTPS.

6 years agognu: mpg123: Use HTTPS for home page.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 14:27:30 +0000 (15:27 +0100)]
gnu: mpg123: Use HTTPS for home page.

* gnu/packages/mp3.scm (mpg123)[home-page]: Use HTTPS.

6 years agognu: mpg123: Update to 1.25.8.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 14:26:37 +0000 (15:26 +0100)]
gnu: mpg123: Update to 1.25.8.

* gnu/packages/mp3.scm (mpg123): Update to 1.25.8.

6 years agognu: compression, text-editors: Use Savannah mirror://.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 15:20:51 +0000 (16:20 +0100)]
gnu: compression, text-editors: Use Savannah mirror://.

* gnu/packages/compression.scm (lunzip, clzip, lzlib, plzip)[source]: Use
mirror:// URI.
* gnu/packages/text-editors.scm (leafpad)[source]: Likewise.

6 years agoservices: bitlbee: Add test.
Ludovic Courtès [Mon, 15 Jan 2018 22:08:08 +0000 (23:08 +0100)]
services: bitlbee: Add test.

* gnu/tests/messaging.scm (run-bitlbee-test): New procedure.
(%test-bitlbee): New variable.

6 years agodoc: Deprecate 'bitlbee-service' procedure.
Ludovic Courtès [Mon, 15 Jan 2018 21:16:36 +0000 (22:16 +0100)]
doc: Deprecate 'bitlbee-service' procedure.

* gnu/services/messaging.scm (bitlbee-service): Mark as deprecated.
* doc/guix.texi (Messaging Services): Document 'bitlbee-service-type'
and 'bitlbee-configuration'.  Remove 'bitlbee-service'.

6 years agoservices: bitlbee: Move to (gnu services messaging).
Ludovic Courtès [Mon, 15 Jan 2018 21:04:55 +0000 (22:04 +0100)]
services: bitlbee: Move to (gnu services messaging).

* gnu/services/networking.scm (<bitlbee-configuration>)
(bitlbee-shepherd-service, %bitlbee-accounts, %bitlbee-activation)
(bitlbee-service-type, bitlbee-service): Move to...
* gnu/services/messaging.scm: ... here.
* doc/guix.texi (Networking Services): Move 'bitlbee-service' doc to...
(Messaging Services): ... here.

6 years agolinux-container: Work around EBADF errors upon exit.
Ludovic Courtès [Mon, 15 Jan 2018 15:01:10 +0000 (16:01 +0100)]
linux-container: Work around EBADF errors upon exit.

Typically 'read-pid-file/container' would fail when starting services in
containers such as BitlBee.

* gnu/build/linux-container.scm (call-with-clean-exit): Use
'primitive-_exit' instead of 'primitive-exit'.
(container-excursion*): Close OUT.

6 years agoui: Disable '%fresh-auto-compile' only for Guile 2.2.3.
Ludovic Courtès [Mon, 15 Jan 2018 14:43:53 +0000 (15:43 +0100)]
ui: Disable '%fresh-auto-compile' only for Guile 2.2.3.

Mitigates <https://bugs.gnu.org/29881>.
Reported by Diego Nicola Barbato <dnbarbato@posteo.de>.

* guix/ui.scm (load*): Unset '%fresh-auto-compile' only on Guile 2.2.3.

6 years agodoc: Connect "guix archive", "guix pack", and co.
Ludovic Courtès [Mon, 15 Jan 2018 13:44:55 +0000 (14:44 +0100)]
doc: Connect "guix archive", "guix pack", and co.

* doc/guix.texi (Invoking guix pack): Add xrefs to "guix publish", "guix
copy", and "guix archive".
(Invoking guix archive): Add xref to "guix pack".

6 years agooffload: Look at machine loads for the past minute.
Ludovic Courtès [Sun, 14 Jan 2018 22:09:28 +0000 (23:09 +0100)]
offload: Look at machine loads for the past minute.

Previously we were looking at the load of the past 5 minutes, which
means that, after a build, we could end up waiting for 5 minutes for
that metric to be low enough.

* guix/scripts/offload.scm (machine-load): Compute RAW based on ONE, not
FIVE.

6 years agoruby-build-system: Fix build error.
Danny Milosavljevic [Mon, 15 Jan 2018 15:56:03 +0000 (16:56 +0100)]
ruby-build-system: Fix build error.

* gnu/build/ruby-build-system.scm: Import (ice-9 rdelim).

Follow-up to d9df4bf055f2bef8c2c428db34c5fa056bdeba73.

6 years agognu: talloc: Update to 2.1.11.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 06:30:13 +0000 (07:30 +0100)]
gnu: talloc: Update to 2.1.11.

* gnu/packages/samba.scm (talloc): Update to 2.1.11.
[arguments]: Run all tests.  Use INVOKE.

6 years agognu: iniparser: Update to 4.1.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 06:30:08 +0000 (07:30 +0100)]
gnu: iniparser: Update to 4.1.

* gnu/packages/samba.scm (iniparser): Update to 4.1.
[arguments]: Update library SONAME.
[home-page]: Abandon outdated home page with no mention of version 4.

6 years agognu: iniparser: Use INSTALL-FILE.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 06:30:03 +0000 (07:30 +0100)]
gnu: iniparser: Use INSTALL-FILE.

* gnu/packages/samba.scm (iniparser)[arguments]: Simplify ‘install’ phase by
replacing COPY-FILE with INSTALL-FILE.

6 years agognu: iniparser: Use #:make-flags.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 06:29:59 +0000 (07:29 +0100)]
gnu: iniparser: Use #:make-flags.

* gnu/packages/samba.scm (iniparser)[arguments]: Use #:make-flags to set
‘CC’ instead of patching the Makefile.  Remove fruitless SYMLINK call.

6 years agognu: iniparser: Fix documentation directory.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 06:29:54 +0000 (07:29 +0100)]
gnu: iniparser: Fix documentation directory.

* gnu/packages/samba.scm (iniparser)[arguments]: Install documentation to
‘/share/doc/iniparser’ instead of ‘/share/doc’.

6 years agognu: ccache: Update to 3.3.5.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 06:29:49 +0000 (07:29 +0100)]
gnu: ccache: Update to 3.3.5.

* gnu/packages/ccache.scm (ccache): Update to 3.3.5.
[arguments]: Don't substitute ‘which’ in ‘setup-tests’ phase.
Add new ‘munge-failing-test’ phase to make test suite pass.

6 years agognu: Add emacs-json-mode.
Oleg Pykhalov [Sat, 14 Oct 2017 10:29:15 +0000 (13:29 +0300)]
gnu: Add emacs-json-mode.

* gnu/packages/emacs.scm (emacs-json-mode): New public variable.

6 years agognu: Add emacs-json-reformat.
Oleg Pykhalov [Mon, 11 Dec 2017 22:41:08 +0000 (01:41 +0300)]
gnu: Add emacs-json-reformat.

* gnu/packages/patches/emacs-json-reformat-fix-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add this.
* gnu/packages/emacs.scm (emacs-json-reformat): New variable.

6 years agognu: ghc-hmatrix-special: Update to 0.4.0.1.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 06:29:44 +0000 (07:29 +0100)]
gnu: ghc-hmatrix-special: Update to 0.4.0.1.

* gnu/packages/haskell.scm (ghc-hmatrix-special): Update to 0.4.0.1.

6 years agognu: ghc-hmatrix-gsl-stats: Update to 0.4.1.7.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 06:29:39 +0000 (07:29 +0100)]
gnu: ghc-hmatrix-gsl-stats: Update to 0.4.1.7.

* gnu/packages/haskell.scm (ghc-hmatrix-gsl-stats): Update to 0.4.1.7.

6 years agognu: ghc-hmatrix-gsl: Update to 0.18.0.1.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 06:29:34 +0000 (07:29 +0100)]
gnu: ghc-hmatrix-gsl: Update to 0.18.0.1.

* gnu/packages/haskell.scm (ghc-hmatrix-gsl): Update to 0.18.0.1.

6 years agognu: ghc-hmatrix: Update to 0.18.1.0.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 06:29:30 +0000 (07:29 +0100)]
gnu: ghc-hmatrix: Update to 0.18.1.0.

* gnu/packages/haskell.scm (ghc-hmatrix): Update to 0.18.1.0.

6 years agognu: ghc-juicypixels: Update to 3.2.9.3.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 06:29:25 +0000 (07:29 +0100)]
gnu: ghc-juicypixels: Update to 3.2.9.3.

* gnu/packages/haskell.scm (ghc-juicypixels): Update to 3.2.9.3.

6 years agognu: ghc-iproute: Use HTTPS for home page.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 06:29:20 +0000 (07:29 +0100)]
gnu: ghc-iproute: Use HTTPS for home page.

* gnu/packages/haskell.scm (ghc-iproute)[home-page]: Use HTTPS.

6 years agognu: ghc-iproute: Update to 1.7.1.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 06:29:15 +0000 (07:29 +0100)]
gnu: ghc-iproute: Update to 1.7.1.

* gnu/packages/haskell.scm (ghc-iproute): Update to 1.7.1.

6 years agognu: opusfile: Update to 0.9.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 06:29:11 +0000 (07:29 +0100)]
gnu: opusfile: Update to 0.9.

* gnu/packages/xiph.scm (opusfile): Update to 0.9.

6 years agognu: xiph: Use HTTPS for home pages where possible.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 06:29:06 +0000 (07:29 +0100)]
gnu: xiph: Use HTTPS for home pages where possible.

* gnu/packages/xiph.org (libogg, libvorbis, libtheora, ao, flac)
(vorbis-tools, opusfile, icecast)[home-page]: Use HTTPS.

6 years agognu: linux: Use HTTPS for home pages where possible.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 06:29:02 +0000 (07:29 +0100)]
gnu: linux: Use HTTPS for home pages where possible.

* gnu/packages/linux.scm (ltrace, libnl, pflask, acpi, module-init-tools)
(snapscreenshot)[home-page]: Use HTTPS.

6 years agognu: tls: Use HTTPS for home pages where possible.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 06:28:57 +0000 (07:28 +0100)]
gnu: tls: Use HTTPS for home pages where possible.

* gnu/packages/tls.scm (openssl, p11-kit, python-acme)[home-page]: Use
HTTPS instead of HTTP, irony.

6 years agognu: geos: Update to 3.6.2.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 06:28:53 +0000 (07:28 +0100)]
gnu: geos: Update to 3.6.2.

* gnu/packages/geo.scm (geos): Update to 3.6.2.

6 years agognu: gpsbabel: Complete licencing information.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 06:28:47 +0000 (07:28 +0100)]
gnu: gpsbabel: Complete licencing information.

* gnu/packages/gps.scm (gpsbabel)[source]: Remove unused files in a snippet.
[license]: Add expat.

6 years agognu: gpsbabel: Use HTTPS for home page.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 06:28:43 +0000 (07:28 +0100)]
gnu: gpsbabel: Use HTTPS for home page.

* gnu/packages/gps.scm (gpsbabel)[home-page]: Use HTTPS.

6 years agognu: libedit: Update to 20170329-3.1.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 06:28:38 +0000 (07:28 +0100)]
gnu: libedit: Update to 20170329-3.1.

* gnu/packages/libedit.scm (libedit): Update to 20170329-3.1.
[arguments]: Remove deprecated ‘--enable-widec’ from #:configure-flags.

6 years agognu: libedit: Use HTTPS for home page.
Tobias Geerinckx-Rice [Mon, 15 Jan 2018 06:28:34 +0000 (07:28 +0100)]
gnu: libedit: Use HTTPS for home page.

* gnu/packages/libedit.scm (libedit)[home-page]: Use HTTPS.

6 years agognu: Remove redundant wrapping from packages using ruby-build-system.
Christopher Baines [Tue, 10 Oct 2017 07:42:02 +0000 (08:42 +0100)]
gnu: Remove redundant wrapping from packages using ruby-build-system.

Now that the build system does wrapping automatically, it can be removed from
the packages that do it manually.

* gnu/packages/databases.scm (es-dump-restore)[arguments]: Remove #:phases.
* gnu/packages/ruby.scm (ruby-redcloth)[arguments]: Remove #:phases.
  (ruby-httpclient)[arguments]: Remove 'wrap-bin-httpclient from the modified
  phases.

6 years agoruby-build-system: Add a new wrap phase.
Christopher Baines [Tue, 10 Oct 2017 06:41:19 +0000 (07:41 +0100)]
ruby-build-system: Add a new wrap phase.

Wrap files in bin/ and sbin/ with the location of the gem itself and the
location of any other gems in use (GEM_PATH). This ensures that the bin files
will run with the right environment when executed.

It does however mean that native-inputs will also get wrapped up in any
binaries, which is not good, as it increases the size of the closure, and
risks this code being used at runtime.

* guix/build/ruby-build-system.scm (wrap): New procedure.
  (%standard-phases): Add the wrap phase.

6 years agoruby-build-system: Add wrap-ruby-program.
Christopher Baines [Tue, 10 Oct 2017 06:39:12 +0000 (07:39 +0100)]
ruby-build-system: Add wrap-ruby-program.

A modified copy of wrap-program from (guix build utils). The wrap-program
procedure doesn't work well for Ruby scripts, as it breaks using the -S flag
with ruby to execute the script, as when -S is passed to ruby, it expects the
script on the PATH to use ruby in the shebang, and not bash.

Therefore, to wrap the program, but keep the shebang as ruby, wrap it with a
ruby script instead.

wrap-ruby-program uses .real/foo rather than .foo-real, as this might be
neater. This procedure also includes a call to Gem.clear_paths to make it
possible to set the GEM_PATH through this method, and for it to take effect.

* gnu/build/ruby-build-system.scm (wrap-ruby-program): New procedure.

6 years agoguix: build: ruby-build-system: Install to the vendor directory
Christopher Baines [Sun, 17 Dec 2017 08:25:44 +0000 (08:25 +0000)]
guix: build: ruby-build-system: Install to the vendor directory

* guix/build/ruby-build-system.scm (install): Install gems to the vendor
  directory, rather than the GEM_HOME. The vendor directory does not include
  the version of ruby used to install the gem in the path, which makes it
  easier to add it to the GEM_PATH for all versions of ruby to use.
  (gem-home): Remove procedure.
* gnu/packages/ruby.scm (ruby, ruby-2.1)[native-search-paths]: Switch to
  lib/ruby/vendor_ruby.
  (ruby-1.8)[native-search-paths]: Remove native-search-paths.
  (gem-directory): Remove procedure.
  (ruby-ansi, ruby-ae)[arguments]: Remove use of gem-directory.
  (ruby-metaclass, ruby-instantiator, ruby-introspection, ruby-mocha,
  ruby-nokogiri, ruby-minitest-tu-shim, ruby-redcloth)[arguments]: Remove use
  of gem-home.
  (ruby-git, ruby-httpclient)[arguments]: Remove use of GEM_HOME.
* gnu/packages/databases.scm (es-dump-restore)[arguments]: Remove use of
  GEM_HOME.

6 years agoarb: Update to 2.12.0.
Andreas Enge [Sun, 14 Jan 2018 20:11:04 +0000 (21:11 +0100)]
arb: Update to 2.12.0.

* gnu/packages/algebra.scm (arb): Update to 2.12.0.

6 years agognu: pari-gp: Update to 2.9.4.
Andreas Enge [Sun, 14 Jan 2018 20:07:31 +0000 (21:07 +0100)]
gnu: pari-gp: Update to 2.9.4.

* gnu/packages/algebra.scm (pari-gp): Update to 2.9.4.

6 years agodoc: Correct documentation of NGINX-LOCATION-CONFIGURATION.
Andreas Enge [Wed, 10 Jan 2018 18:41:32 +0000 (19:41 +0100)]
doc: Correct documentation of NGINX-LOCATION-CONFIGURATION.

* doc/guix.texi (Web Services): The body of an NGINX-LOCATION-CONFIGURATION
is a list of strings and not a string.

6 years agognu: rct: Re-categorize some inputs.
Leo Famulari [Sun, 14 Jan 2018 01:21:42 +0000 (17:21 -0800)]
gnu: rct: Re-categorize some inputs.

OpenSSL and zlib are referred to by the built package, so we make them
regular inputs.

This is a followup to commit e8b409741baf3b9de30faa8683722375196dd1e9.

* gnu/packages/cpp.scm (rct)[native-inputs]: Move openssl and zlib to ...
[inputs]: ... new field.

6 years agognu: Add rct.
Fis Trivial [Sun, 14 Jan 2018 00:59:01 +0000 (16:59 -0800)]
gnu: Add rct.

* gnu/packages/cpp.scm (rct): New variable.

6 years agognu: flashrom: Update to 1.0.
Tobias Geerinckx-Rice [Sat, 13 Jan 2018 20:16:51 +0000 (21:16 +0100)]
gnu: flashrom: Update to 1.0.

* gnu/packages/flashing-tools.scm (flashrom): Update to 1.0.

6 years agognu: flashrom: Use HTTPS for home page.
Tobias Geerinckx-Rice [Sat, 13 Jan 2018 20:16:23 +0000 (21:16 +0100)]
gnu: flashrom: Use HTTPS for home page.

* gnu/packages/flashing-tools.scm (flashrom)[home-page]: Use HTTPS.

6 years agognu: mpd: Remove (gnu packages gcc) import.
Tobias Geerinckx-Rice [Sat, 13 Jan 2018 19:58:06 +0000 (20:58 +0100)]
gnu: mpd: Remove (gnu packages gcc) import.

This follows up commit 7641266b0328f8a3a4f3643560d00dcf82d539b3.

* gnu/packages/mpd.scm: Don't #:use-module (gnu packages gcc).

6 years agognu: mpd: Use HTTPS for musicpd.org home pages.
Tobias Geerinckx-Rice [Sat, 13 Jan 2018 19:49:14 +0000 (20:49 +0100)]
gnu: mpd: Use HTTPS for musicpd.org home pages.

* gnu/packages/mpd.scm (libmpdclient, mpd, mpd-mpc, ncmpc)[home-page]: Use
HTTPS.

6 years agognu: mpdscribble: Update home page.
Tobias Geerinckx-Rice [Sat, 13 Jan 2018 19:46:43 +0000 (20:46 +0100)]
gnu: mpdscribble: Update home page.

* gnu/packages/mpd.scm (mpdscribble)[home-page]: This package seems to have
found a home.  Use it.

6 years agognu: libmpdclient: Update to 2.13.
Tobias Geerinckx-Rice [Sat, 13 Jan 2018 19:42:52 +0000 (20:42 +0100)]
gnu: libmpdclient: Update to 2.13.

* gnu/packages/mpd.scm (libmpdclient): Update to 2.13.
[build-system]: Switch to meson-build-system.
[native-inputs]: Add pkg-config and check.
[arguments]: Enable tests and build documentation.

6 years agognu: pcre: Use HTTPS for home pages.
Tobias Geerinckx-Rice [Sat, 13 Jan 2018 19:25:10 +0000 (20:25 +0100)]
gnu: pcre: Use HTTPS for home pages.

* gnu/packages/pcre.scm (pcre, pcre2)[home-page]: Use HTTPS.

6 years agognu: gsm: Update to 1.0.17.
Tobias Geerinckx-Rice [Sat, 13 Jan 2018 19:05:34 +0000 (20:05 +0100)]
gnu: gsm: Update to 1.0.17.

* gnu/packages/audio.scm (gsm): Update to 1.0.17.

6 years agognu: youtube-dl: Update to 2018.01.14.
Tobias Geerinckx-Rice [Sat, 13 Jan 2018 19:04:44 +0000 (20:04 +0100)]
gnu: youtube-dl: Update to 2018.01.14.

* gnu/packages/video.scm (youtube-dl): Update to 2018.01.14.

6 years agognu: libcap-ng: Use HTTPS for home page.
Tobias Geerinckx-Rice [Sat, 13 Jan 2018 16:07:27 +0000 (17:07 +0100)]
gnu: libcap-ng: Use HTTPS for home page.

* gnu/packages/admin.scm (libcap-ng)[home-page]: Use HTTPS.

6 years agognu: lz4: Update to 1.8.1.
Tobias Geerinckx-Rice [Sat, 13 Jan 2018 11:23:57 +0000 (12:23 +0100)]
gnu: lz4: Update to 1.8.1.

* gnu/packages/compression.scm (lz4): Update to 1.8.1.
[arguments]: Enable ‘#:parallel-tests?’, now considered safe upstream.
Use ‘more GNU’-style lowercase ‘prefix=’.

6 years agognu: krita: Update to 3.3.3.
Leo Famulari [Sat, 13 Jan 2018 15:42:21 +0000 (07:42 -0800)]
gnu: krita: Update to 3.3.3.

* gnu/packages/kde.scm (krita): Update to 3.3.3.

6 years agognu: xfce: Use HTTPS for xfce.org home pages.
Tobias Geerinckx-Rice [Sat, 13 Jan 2018 15:14:15 +0000 (16:14 +0100)]
gnu: xfce: Use HTTPS for xfce.org home pages.

* gnu/packages/xfce.scm (gtk-xfce-engine, libxfce4util, xfconf, libxfce4ui)
(exo, garcon, tumbler, xfce4-panel, xfce4-battery-plugin)
(xfce4-clipman-plugin, xfce4-pulseaudio-plugin, xfce4-xkb-plugin)
(xfce4-appfinder, xfce4-session, xfce4-settings, thunar, thunar-volman)
(xfwm4, xfdesktop, xfce4-terminal, xfce, xfce4-power-manager, ristretto)
(xfce4-taskmanager, orage)[home-page]: Use HTTPS.

6 years agognu: xfce4-terminal: Update to 0.8.6.
Tobias Geerinckx-Rice [Sat, 13 Jan 2018 15:02:37 +0000 (16:02 +0100)]
gnu: xfce4-terminal: Update to 0.8.6.

* gnu/packages/xfce.scm (xfce4-terminal): Update to 0.8.6.

6 years agognu: gl2ps: Update to 1.4.0.
Tobias Geerinckx-Rice [Sat, 13 Jan 2018 11:57:22 +0000 (12:57 +0100)]
gnu: gl2ps: Update to 1.4.0.

* gnu/packages/gl.scm (gl2ps): Update to 1.4.0.

6 years agognu: dmidecode: Update to 3.1.
Tobias Geerinckx-Rice [Sat, 13 Jan 2018 15:33:42 +0000 (16:33 +0100)]
gnu: dmidecode: Update to 3.1.

* gnu/packages/admin.scm (dmidecode): Update to 3.1.

6 years agognu: gpgme: Update to 1.10.0.
Tobias Geerinckx-Rice [Fri, 12 Jan 2018 16:40:03 +0000 (17:40 +0100)]
gnu: gpgme: Update to 1.10.0.

* gnu/packages/gnupg.scm (gpgme): Update to 1.10.0.
[arguments]: Remove ‘patch-cmake-file’ work-around for fixed bug.

6 years agognu: offlineimap: Update to 7.1.5.
Tobias Geerinckx-Rice [Sat, 13 Jan 2018 13:57:36 +0000 (14:57 +0100)]
gnu: offlineimap: Update to 7.1.5.

* gnu/packages/mail.scm (offlineimap): Update to 7.1.5.

6 years agognu: lcov: Update to 1.13.
Tobias Geerinckx-Rice [Fri, 12 Jan 2018 16:23:08 +0000 (17:23 +0100)]
gnu: lcov: Update to 1.13.

* gnu/packages/code.scm (lcov): Update to 1.13.
[arguments]: Remove superfluous #:make-flags.

6 years agognu: java-powermock-modules-junit4: Fix junit version detection.
Julien Lepiller [Wed, 13 Dec 2017 20:20:30 +0000 (21:20 +0100)]
gnu: java-powermock-modules-junit4: Fix junit version detection.

* gnu/packages/java.scm (java-powermock-modules-junit4)[arguments]: Fix
junit version detection.

6 years agognu: java-powermock-core: Include resources.
Julien Lepiller [Wed, 13 Dec 2017 20:18:50 +0000 (21:18 +0100)]
gnu: java-powermock-core: Include resources.

* gnu/packages/java.scm (java-powermock-core)[arguments]: Add a phase to
include resources.

6 years agognu: guix: Update snapshot to 0dcf675.
Ludovic Courtès [Fri, 12 Jan 2018 23:57:52 +0000 (00:57 +0100)]
gnu: guix: Update snapshot to 0dcf675.

* gnu/packages/package-management.scm (guix): Update to 0dcf675.

6 years agognu: hunspell-dict-en: Include all the .dic files.
Ludovic Courtès [Fri, 12 Jan 2018 23:32:55 +0000 (00:32 +0100)]
gnu: hunspell-dict-en: Include all the .dic files.

Fixes a regression introduced in
d4d7d70912642be18d93c9ce6470f8650097b5e5 which broke
'hunspell-dict-en' (but not the 'hunspell-dict-en-*' variants.)

* gnu/packages/aspell.scm (aspell-word-list)[install]: Check whether
'LANGUAGE.dic' exist before installing it.  If it doesn't exist, install
all of *.dic.

6 years agossh: Switch back to 'get-bytevector-some'.
Ludovic Courtès [Fri, 12 Jan 2018 22:32:25 +0000 (23:32 +0100)]
ssh: Switch back to 'get-bytevector-some'.

This mostly reverts 17af5d51de7c40756a4a39d336f81681de2ba447.
Suggested by Andy Wingo <wingo@igalia.com>.

* guix/ssh.scm (remote-daemon-channel)[redirect]: Remove 'read!' FFI
hack.  Use buffered ports.

6 years agooffload: 'test' reports Guile and module errors more nicely.
Ludovic Courtès [Fri, 12 Jan 2018 22:16:53 +0000 (23:16 +0100)]
offload: 'test' reports Guile and module errors more nicely.

Fixes <https://bugs.gnu.org/26008>.
Reported by Myles English <mylesenglish@gmail.com>.

* guix/ssh.scm (retrieve-files*): Move error reporting to...
(report-guile-error, report-module-error): ... here.  New procedures.
* guix/scripts/offload.scm (assert-node-repl): Use 'report-guile-error'.
(assert-node-has-guix): Explicitly check for 'use-modules' first.  Use
'report-module-error'.

6 years agooffload: 'test' gracefully handles 'node-repl-error'.
Ludovic Courtès [Fri, 12 Jan 2018 21:51:41 +0000 (22:51 +0100)]
offload: 'test' gracefully handles 'node-repl-error'.

Fixes <https://bugs.gnu.org/28057>.
Reported by Ricardo Wurmus <rekado@elephly.net>.

* guix/scripts/offload.scm (assert-node-has-guix): Catch
'node-repl-error' and call 'leave'.

6 years agossh: 'retrieve-files' now only retrieves what's missing.
Ludovic Courtès [Fri, 12 Jan 2018 21:32:52 +0000 (22:32 +0100)]
ssh: 'retrieve-files' now only retrieves what's missing.

* guix/ssh.scm (retrieve-files): Remove the subset of FILES that is
valid in LOCAL.
(store-export-channel): Add comment.

6 years agooffload: Fix regression in file retrieval.
Ludovic Courtès [Fri, 12 Jan 2018 21:20:30 +0000 (22:20 +0100)]
offload: Fix regression in file retrieval.

This fixes a regression in 'retrieve-files*' introduced in
896fec476f728183b331cbb6e2afb891207b4205, whereby (guix scripts offload)
would not read the initial sexp now sent by the remote host via
'store-export-channel'.  This would effectively prevent file retrieval
entirely when offloading.

* guix/ssh.scm (retrieve-files*): New procedure, like former
'retrieve-files' but with an extra #:import parameter.
(retrieve-files): Rewrite in terms of 'retrieve-files*'.
(file-retrieval-port): Make private.
* guix/scripts/offload.scm (transfer-and-offload): Pass #:import to
'retrieve-files*'.
(retrieve-files*): Remove.

6 years agognu: transmission: Fix a DNS rebinding vulnerability that allows RCE.
Leo Famulari [Thu, 11 Jan 2018 23:18:04 +0000 (15:18 -0800)]
gnu: transmission: Fix a DNS rebinding vulnerability that allows RCE.

* gnu/packages/patches/transmission-fix-dns-rebinding-vuln.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/bittorrent.scm (transmission)[source]: Use it.

6 years agognu: dtc: Update to 1.4.6.
Tobias Geerinckx-Rice [Fri, 12 Jan 2018 15:43:24 +0000 (16:43 +0100)]
gnu: dtc: Update to 1.4.6.

* gnu/packages/bootloaders.scm (dtc): Update to 1.4.6.
[source]: Remove both patches.
* gnu/packages/patches/dtc-format-modifier.patch: Delete file.
* gnu/packages/patches/dtc-32-bits-check.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): Remove both.

6 years agognu: harminv: Update to 1.4.1.
Tobias Geerinckx-Rice [Fri, 12 Jan 2018 12:49:46 +0000 (13:49 +0100)]
gnu: harminv: Update to 1.4.1.

* gnu/packages/engineering.scm (harminv): Update to 1.4.1.
[source, home-page]: Switch to new host.