Commit Graph

26816 Commits

Author SHA1 Message Date
Christopher Baines 2881f85220
services: web: Add support for configuring the nginx server names hash.
The nginx service can fail to start if the server names hash bucket size is
too small, which can happen on some systems, and when using QEMU, depending on
the CPU.

* gnu/services/web.scm (<nginx-configuration>): Add
  server-names-hash-bucket-size and server-names-hash-bucket-max-size.
  (default-nginx-config): Add support for the new hash bucket size parameters.
  (nginx-service, nginx-activation): Pass the new hash bucket size parameters
  through to the default-nginx-config procedure.
* doc/guix.texi (Web Services): Document the new hash bucket size parameters.
2017-12-11 20:57:34 +00:00
Christopher Baines c48aa70a9a
services: web: Remove default certificate and key files for nginx.
If nginx is configured with a ssl-certificate file, and ssl-certificate-key,
it will fail to start unless these exist. To avoid this happening, change the
default to #f.

* gnu/services/web.scm (<nginx-server-configuration>)
  [ssl-certificate,ssl-certificate-key]: Set the defaults to #f.
* gnu/tests/web.scm (%nginx-servers): Remove redundant
  nginx-server-configuration fields.
* doc/guix.texi (Web Services): Update examples and documentation.
2017-12-11 20:36:43 +00:00
Christopher Baines b7db2c63ed
web: Don't error about missing ssl related files.
Erroring here prevents doing things like building a system using nginx on a
different machine from where it's intended to be deployed, or creating
containers and VMs that use the ssl-certificate parts of the nginx
configuration, without also getting these files to exist.

* gnu/services/web.scm (emit-nginx-server-config): Don't error on missing ssl
  related files.
2017-12-11 20:36:35 +00:00
Efraim Flashner 0d57068333
gnu: cargo: Add file-name field to input sources.
* gnu/packages/rust.scm (cargo)[inputs]: Add 'file-name' field to all
source inputs.
2017-12-11 21:21:46 +02:00
Efraim Flashner e85d681cbf
gnu: rust: Add support for all platforms.
* gnu/packages/rust.scm (%rust-bootstrap-binaries): Add entries for all
platforms supported by Guix.
(rustc-bootstrap, cargo-bootstrap)[supported-systems]: Remove field.
2017-12-11 21:21:45 +02:00
Efraim Flashner fd3ddefa1f
gnu: %rust-bootstrap-binaries: Add missing catch-all entry.
* gnu/packages/rust.scm (%rust-bootstrap-binaries): Add missing
catch-all entry to prevent various errors in Guix.
2017-12-11 21:21:41 +02:00
Christopher Baines 9cf5f134d5
gnu: Switch to using the version-major procedure.
* gnu/packages/audio.scm (ardour)[arguments]: Switch to using version-major.
  (hmmer)[source]: Switch to using version-major.
  (pidgin)[native-search-paths]: Switch to using version-major.
  (r-minimal)[source]: Switch to using version-major.
2017-12-11 19:12:33 +00:00
nee 47dc9a0dae
guix: utils: Add version-major.
* guix/utils.scm (version-major): New procedure.
2017-12-11 19:12:23 +00:00
Arun Isaac 1e52fd83c2
gnu: Add afew.
* gnu/packages/mail.scm (afew): New variable.
2017-12-12 00:03:48 +05:30
Maxim Cournoyer 42e891c27b
gnu: Add emacs-diff-hl.
* gnu/packages/emacs.scm (emacs-diff-hl): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-12-11 17:14:36 +01:00
Z. Ren 73138fd146
gnu: skalibs: Fix non-reproducibility issue.
* gnu/packages/skarnet.scm (skalibs)[arguments]: In 'reproducible'
phase, insert a 'sort' call in "Makefile".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-12-11 17:14:36 +01:00
Maxim Cournoyer cdba3a8469
gnu: Add emacs-string-inflection.
* gnu/packages/emacs.scm (emacs-string-inflection): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-12-11 17:14:36 +01:00
Maxim Cournoyer fbc60db895
gnu: Add emacs-grep-a-lot.
* gnu/packages/emacs.scm (emacs-grep-a-lot): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-12-11 17:14:36 +01:00
Maxim Cournoyer 9faa46ee48
gnu: Add emacs-csv-mode.
* gnu/packages/emacs.scm (emacs-csv-mode): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-12-11 17:14:35 +01:00
Maxim Cournoyer 397d7980b7
gnu: Add emacs-ws-butler.
* gnu/packages/emacs.scm (emacs-ws-butler): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-12-11 17:14:35 +01:00
ng0 b0a2dc7245
gnu: Add i3lock-fancy.
* gnu/packages/wm.scm (i3lock-fancy): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-12-11 17:14:35 +01:00
ng0 4b563b3472
gnu: Add i3lock-color.
* gnu/packages/wm.scm (i3lock-color): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-12-11 17:14:35 +01:00
Oleg Pykhalov ca3c1439e1
gnu: Add gource.
* gnu/packages/version-control.scm (gource): New variable.
2017-12-11 18:19:44 +03:00
Mark Meyer 8be84d31ea
gnu: darktable: Add configure option 2017-12-11 11:16:23 +01:00
Efraim Flashner 16a7a74561
Revert "gnu: libinput: Update to 1.9.3."
This reverts commit 5f5083749c.

Ninja FTBFS on armhf-linux and thus cannot build libinput.
2017-12-11 11:40:52 +02:00
Eric Bavier aa5c206348
gnu: jemalloc: Fix tests for aarch64.
* gnu/packages/patches/jemalloc-arm-address-bits.patch: New patch.
* gnu/packages/jemalloc.scm (jemalloc)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.
2017-12-10 16:04:16 -06:00
Eric Bavier 7f04197fef
utils: Fix cond-expand for Guile 2.0.
* guix/build/download.scm (tls-wrap): Use 'guile-2.2' feature instead.
2017-12-10 15:58:55 -06:00
Nikolai Merinov d53fb678a7
gnu: rust: Update rust to 1.22.1 and cargo to 1.23.0.
* gnu/packages/rust.scm (%rust-bootstrap-binaries-version): Update version.
(%rust-bootstrap-binaries): Use x86_64 rust bootstrap package for x86_64 build.
(%cargo-reference-project-file): Use specific file as "project" file when
patching rust vendored sources.
(%cargo-reference-hash): sha256 sum for %cargo-reference-project-file.
(rustc-bootstrap): Use bootstrap package with host architecture.
(cargo-bootstrap): Use bootstrap package with host architecture.
(rustc): Add new test dependency, fix build issues, use "./x.py" script for
build instead of "./configure".
(cargo): Update dependencies, patch shebangs for vendored sources
* gnu/packages/jemalloc.scm: Add jemalloc-4.5.0 release.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2017-12-11 00:05:30 +01:00
Ludovic Courtès 3b80b81358
ui: Display hints to resolve profile collisions.
Fixes <https://bugs.gnu.org/29255>.
Reported by Ben Sturmfels <ben@sturm.com.au>.

* guix/ui.scm (display-collision-resolution-hint): New procedure.
(call-with-error-handling): Call it upon '&profile-collistion-error'.
2017-12-10 23:44:58 +01:00
Ludovic Courtès 8bc1935c7c
build-system/asdf: Use 'mlambda'.
* guix/build-system/asdf.scm (package-with-build-system): Use 'mlambda'
instead of 'memoize'.
2017-12-10 23:44:58 +01:00
Tobias Geerinckx-Rice 6146603d54
gnu: youtube-dl: Update to 2017.12.10.
* gnu/packages/video.scm (youtube-dl): Update to 2017.12.10.
2017-12-10 22:19:05 +01:00
Efraim Flashner 9c2d2c13ce
gnu: t1lib: Change how patched CVEs are listed.
* gnu/packages/fontutils.scm (t1lib)[source]: Change patch name.
[properties]: New field, register patched CVEs.
* gnu/packages/patches/CVE-2011-1552+CVE-2011-1553+CVE-2011-1554.patch:
Rename to CVE-2011-1552+.patch.
* gnu/local.mk (dist_patch_DATA): Change patch name.
2017-12-10 21:59:08 +02:00
Efraim Flashner f4007b2547
lint: 'check-vulnerabilities' also checks package properties.
* guix/scripts/lint.scm (check-vulnerabilities): Also check for CVEs
listed as mitigated in the package properties.
* tests/lint.scm ("cve: known safe from vulnerability"): New test.
2017-12-10 21:59:07 +02:00
Alex Kost 308b8f79c5
gnu: emacs-smartparens: Update to 1.11.0.
* gnu/packages/emacs.scm (emacs-smartparens): Update to 1.11.0.
2017-12-10 22:38:43 +03:00
Alex Kost 6d21272b22
gnu: git-modes: Rename to 'emacs-git-modes'.
* gnu/packages/emacs.scm (git-modes)[name]: Change to "emacs-git-modes".
(git-modes/old-name): New variable.
2017-12-10 22:38:43 +03:00
Marius Bakke 0f4ab4a59f
gnu: graphicsmagick: Update to 1.3.27.
* gnu/packages/patches/graphicsmagick-CVE-2017-11403+CVE-2017-14103.patch,
gnu/packages/patches/graphicsmagick-CVE-2017-12935.patch,
gnu/packages/patches/graphicsmagick-CVE-2017-12936.patch,
gnu/packages/patches/graphicsmagick-CVE-2017-12937.patch,
gnu/packages/patches/graphicsmagick-CVE-2017-13775.patch,
gnu/packages/patches/graphicsmagick-CVE-2017-13776+CVE-2017-13777.patch,
gnu/packages/patches/graphicsmagick-CVE-2017-14042.patch,
gnu/packages/patches/graphicsmagick-CVE-2017-14165.patch,
gnu/packages/patches/graphicsmagick-CVE-2017-14649.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
* gnu/packages/imagemagick.scm (graphicsmagick): Update to 1.3.27.
[source](patches): Remove.
2017-12-10 19:15:44 +01:00
Marius Bakke 4cb7794115
gnu: gstreamer: Update to 1.12.4.
* gnu/packages/gstreamer.scm (gstreamer, gst-plugins-base, gst-plugins-good,
gst-plugins-ugly, gst-libav, python-gst): Update to 1.12.4.
(gst-plugins-bad): Likewise.
[arguments]: Remove #:phases.
2017-12-10 16:15:23 +01:00
Marius Bakke 831db64fe3
gnu: notmuch: Update to 0.25.3.
* gnu/packages/mail.scm (notmuch): Update to 0.25.3.
2017-12-10 15:56:57 +01:00
Marius Bakke 73b3eaf047
gnu: xapian: Update to 1.4.5.
* gnu/packages/search.scm (xapian, python-xapian-bindings): Update to 1.4.5.
2017-12-10 15:56:44 +01:00
Efraim Flashner 316fd29f9b
gnu: picprog: Fix non-Intel support.
* gnu/packages/patches/picprog-non-intel-support.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/embedded.scm (picprog)[source]: Add patch.
[arguments]: Skip building the 'testport' binary.
2017-12-10 12:38:48 +02:00
Danny Milosavljevic 981bccf11c
gnu: Add picprog.
* gnu/packages/embedded.scm (picprog): New variable.
2017-12-10 11:01:02 +01:00
Efraim Flashner 439980b707
gnu: perl-sql-abstract: Update source uri.
* gnu/packages/databases.scm (perl-sql-abstract)[source]: Update source uri.
2017-12-10 11:35:28 +02:00
Efraim Flashner dec2ade108
gnu: glpk: Update to 4.64.
* gnu/packages/maths.scm (glpk): Update to 4.64.
2017-12-09 23:18:33 +02:00
Efraim Flashner 0e1b4d8eec
gnu: aspell-dict-en: Update to 2017.08.24-0.
* gnu/packages/aspell.scm (aspell-dict-en): Update to 2017.08.24-0.
2017-12-09 23:18:32 +02:00
Efraim Flashner 74a40ddd64
gnu: aspell.scm: Alphabetize dictionaries.
* gnu/packages/aspell.scm: Reorder the dictionaries alphabetically.
2017-12-09 23:18:29 +02:00
ng0 d8c9be8079
gnu: gnurl: Use new download URL.
* gnu/packages/gnunet.scm (gnurl)[source]: Use mirror://gnu.

Signed-off-by: Leo Famulari <leo@famulari.name>
2017-12-09 16:17:34 -05:00
ng0 78f60e04b1
gnu: neomutt: Update to 20171208.
* gnu/packages/mail.scm (neomutt): Update to 20171208.

Signed-off-by: Leo Famulari <leo@famulari.name>
2017-12-09 16:17:34 -05:00
ng0 18b1589b82
gnu: blists: Update to 2.0.
* gnu/packages/mail.scm (blists): Update to 2.0.

Signed-off-by: Leo Famulari <leo@famulari.name>
2017-12-09 16:17:33 -05:00
Christopher Baines 8733fc91e0
gnu: Add emacs-robe.
* gnu/packages/emacs.scm (emacs-robe): New variable.
2017-12-09 21:12:27 +00:00
Tobias Geerinckx-Rice f88c1c5d89
gnu: chez-scheme: Update to 9.5.
* gnu/packages/chez.scm (chez-scheme): Update to 9.5.
[arguments]: Add ‘patch-broken-documentation’ phase.
2017-12-09 14:13:16 +01:00
Ricardo Wurmus 83b9d121a7
gnu: bedtools-2.18: Fix build.
* gnu/packages/bioinformatics.scm (bedtools-2.18)[arguments]: Restore custom
install phase.

Reported by Mark H Weaver <mhw@netris.org>.
2017-12-09 13:01:15 +01:00
Mark H Weaver 145a5310cd
gnu: icecat: Fix CVE-2017-7843.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add upstream fix for
CVE-2017-7843.
2017-12-09 03:55:47 -05:00
Mark H Weaver 437a2c3c7a
gnu: linux-libre@4.1: Update to 4.1.47.
* gnu/packages/linux.scm (linux-libre-4.1): Update to 4.1.47.
2017-12-09 03:38:14 -05:00
ng0 6b855102b1
gnu: fvwm: Update to 2.6.7.
* gnu/packages/fvwm.scm (fvwm): Update to 2.6.7.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2017-12-09 16:00:48 +08:00
Tobias Geerinckx-Rice 881e102813
gnu: libmicrohttpd: Update to 0.9.58.
* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.58.
2017-12-08 23:24:07 +01:00