Commit Graph

11541 Commits

Author SHA1 Message Date
Ludovic Courtès b879b3e848 substitute: Do not leak file descriptors for TLS connections.
Partially fixes <http://bugs.gnu.org/20145>.

* guix/scripts/substitute.scm (fetch, download-cache-info):
(http-multiple-get, fetch-narinfos, progress-report-port): Use
'close-connection' instead of 'close-port'.
2016-03-17 23:53:53 +01:00
Ludovic Courtès 958fb14cdb substitute: Cache transient HTTP errors for 10mn.
* guix/scripts/substitute.scm (fetch-narinfos)[handle-narinfo-response]:
Cache transient errors for 10mn.
(%narinfo-transient-error-ttl): New variable.
2016-03-17 23:53:53 +01:00
Ludovic Courtès 14d6ca3e4d lint: Do not leak file descriptors for TLS connections.
Partially fixes <http://bugs.gnu.org/20145>.

* guix/scripts/lint.scm (probe-uri): Use 'close-connection' instead of
'close-port'.
2016-03-17 23:53:53 +01:00
Ludovic Courtès 097a951e96 download: Add 'close-connection'.
Partially fixes <http://bugs.gnu.org/20145>.

* guix/build/download.scm (add-weak-reference): Remove.
(%tls-ports): New variable.
(register-tls-record-port): New procedure.
(tls-wrap): Use it instead of 'add-weak-reference'.
(close-connection): New procedure.
2016-03-17 23:53:53 +01:00
Ludovic Courtès fc3ea24bf4 substitute: Update progress for responses different from 200/404.
* guix/scripts/substitute.scm (fetch-narinfos)[handle-narinfo-response]:
Add missing call to 'update-progress!'.
2016-03-17 23:53:53 +01:00
Efraim Flashner f1723b8be6 gnu: postgresql: Update to 9.5.1.
* gnu/packages/databases.scm (postgresql): Update to 9.5.1.
2016-03-17 21:59:32 +02:00
Efraim Flashner 23bbd7dd60 gnu: mysql: Update to 5.7.11.
* gnu/packages/databases.scm (mysql): Update to 5.7.11.
[source]: Add archives as alternate download location.
[arguments]: Remove custom phase 'strip-extra-references. Add
substitution to target boost-1.60.
2016-03-17 21:59:32 +02:00
Andy Wingo 2914af3c96 gnu: gnome-session: Add elogind input.
* gnu/packages/gnome.scm (gnome-session): Add elogind input, while
  disabling the use of systemd's journal.
2016-03-17 18:11:42 +01:00
Ricardo Wurmus 953c12232f gnu: bless: Remove bundled sources for sparsehash.
* gnu/packages/bioinformatics.scm (bless)[source]: Delete
"google-sparsehash" sources.
[inputs]: Add "sparsehash".
2016-03-17 13:01:31 +01:00
Ricardo Wurmus 6c1305f9ec gnu: Add CD-HIT.
* gnu/packages/bioinformatics.scm (cd-hit): New variable.
2016-03-17 13:01:31 +01:00
Ludovic Courtès b53daad064 doc: Add missing comma after @xref.
Reported by Alex Kost <alezost@gmail.com>.

* doc/guix.texi (Service Reference): Add comma after @xref.
2016-03-17 09:49:05 +01:00
Ludovic Courtès 5fe01c2d9b doc: GNOME is now available.
* doc/guix.texi (Limitations): Rephrase item about GNOME and KDE.
2016-03-17 09:49:05 +01:00
Andy Wingo fa4b8badf0 gnu: elogind: Update to 219.14.
* gnu/packages/freedesktop.scm (elogind): Update to 219.14.
2016-03-17 09:44:32 +01:00
Alex Kost e6527d643e gnu: emacs-pdf-tools: Add missing input.
This is a followup to commit eccd0b57a1.

* gnu/packages/emacs.scm (emacs-pdf-tools)[propagated-inputs]: Add
'let-alist'.
2016-03-17 10:49:45 +03:00
Alex Kost 1bcae5c5c5 gnu: emacs-pdf-tools: Use emacs-build-system for elisp side.
* gnu/packages/emacs.scm (emacs-pdf-tools)[arguments]: Add phases from
emacs-build-system to build elisp side.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-03-17 10:49:45 +03:00
Ricardo Wurmus 5e3161d38e gnu: Add WAH plugins.
* gnu/packages/audio.scm (wah-plugins): New variable.
2016-03-17 08:25:21 +01:00
Ricardo Wurmus c04b4e7aea gnu: Add STE plugins.
* gnu/packages/audio.scm (ste-plugins): New variable.
2016-03-17 08:25:21 +01:00
Ricardo Wurmus 75f45d16d4 gnu: Add FIL plugins.
* gnu/packages/audio.scm (fil-plugins): New variable.
2016-03-17 08:25:21 +01:00
Ricardo Wurmus dffb6c3be6 gnu: Add REV plugins.
* gnu/packages/audio.scm (rev-plugins): New variable.
2016-03-17 08:25:21 +01:00
Ricardo Wurmus 8ba62f92ec gnu: Add AMB plugins.
* gnu/packages/audio.scm (amb-plugins): New variable.
2016-03-17 08:25:21 +01:00
Ricardo Wurmus ed17465d3d gnu: Add g2reverb.
* gnu/packages/audio.scm (g2reverb): New variable.
2016-03-17 08:25:21 +01:00
Ricardo Wurmus eb4fca7ebf gnu: Add vco-plugins.
* gnu/packages/audio.scm (vco-plugins): New variable.
2016-03-17 08:25:21 +01:00
Ricardo Wurmus fb2e072cec gnu: Add mcp-plugins.
* gnu/packages/audio.scm (mcp-plugins): New variable.
2016-03-17 08:25:21 +01:00
Roel Janssen f88ce395e6 licenses: Add Apache Software License 1.1.
* guix/licenses.scm (asl1.1): New variables.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-03-17 00:49:30 -04:00
Jochem Raat 65829fec47 gnu: Add perl-text-neattemplate.
* gnu/packages/perl.scm (perl-text-neattemplate): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-03-17 00:39:33 -04:00
Tobias Geerinckx-Rice 08e9daf505 gnu: Add freefall.
* gnu/packages/linux.scm (freefall): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-03-17 00:25:41 -04:00
Efraim Flashner e3bf5d2cb2 gnu: mariadb: Update to 10.1.12.
* gnu/packages/databases.scm (mariadb): Update to 10.1.12.
2016-03-17 02:17:04 +02:00
Eric Bavier 97966e6d65 build: Do not remake doc/guix.1.
* doc.am (doc/guix.1): Do not depend on $(sub_commands_mans) which will
  always appear out-of-date.
2016-03-16 18:32:25 -05:00
Eric Bavier dfdf571688 gnu: petsc: Fix compiler configuration references.
* gnu/packages/maths.scm (petsc)[arguments]: When patching compiler
  driver paths, do not assume they come from fortran input.
2016-03-16 18:32:25 -05:00
Eric Bavier d588422e13 gnu: slepc: Set origin file-name.
* gnu/packages/maths.scm (slepc)[source]: Add file-name.
2016-03-16 18:32:25 -05:00
Mark H Weaver ce362de86e gnu: Fix definitions of gcc-toolchain-4.8 and gcc-toolchain-4.9.
* gnu/packages/commencement.scm (gcc-toolchain-4.8): Use gcc-4.8,
not gcc-final.
(gcc-toolchain-4.9): Use gcc-final, not gcc-4.9.
* gnu/packages/gcc.scm (gcc): Add reminder comment for the future.
2016-03-16 18:06:52 -04:00
Ludovic Courtès 092dd6541f gnu: guix: Update development snapshot to 71e2065.
* gnu/packages/package-management.scm (guix-devel): Update to 71e2065.
2016-03-16 19:03:12 +01:00
Efraim Flashner 87f7625bf5 gnu: offlineimap: Update to 6.7.0.
* gnu/packages/mail.scm (offlineimap): Update to 6.7.0.
2016-03-16 19:52:40 +02:00
Ludovic Courtès 71e2065a38 substitute: Honor client-provided empty URL list.
Before that, 'guix build --substitute-urls=""' would lead to using the
daemon's own URL list instead of the empty list.  The 'or*' hack, which
is to blame, had become unnecessary since commit
fb4bf72be3.

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

* guix/scripts/substitute.scm (or*): Remove.
(%cache-urls): Use 'or' instead of 'or*'.
* tests/store.scm ("substitute query, alternating URLs"): Add test with
empty URL list.
* doc/guix.texi (Common Build Options): Mention the empty string.
2016-03-16 18:34:53 +01:00
Ludovic Courtès 1ac94ae166 build: Write emacs-autoloads.el to $(builddir).
* emacs.am ($(AUTOLOADS)): Write to $(builddir), not $(srcdir).
2016-03-16 17:02:53 +01:00
Ludovic Courtès 23d60ba65c substitute: Honor the 'max-age' of 'Cache-Control' headers.
This allows substitute servers to tell 'guix substitute' how long they
can cache narinfo lookups.

* guix/scripts/substitute.scm (cache-narinfo!): Add 'ttl' parameter.
[cache-entry]: Honor it.
(fetch-narinfos)[handle-narinfo-response]: Check the 'Cache-Control'
header of RESPONSE and pass its 'max-age' value to 'cache-narinfo!'.
2016-03-16 15:57:47 +01:00
Ludovic Courtès 1cf7e31898 substitute: Make room for a 'ttl' field in cached entries.
* guix/scripts/substitute.scm (cached-narinfo): Expect 'narinfo' sexp
version 2 with a 'ttl' field.
(cache-narinfo!)[cache-entry]: Produce 'narinfo' sexp version 2 with a
'ttl' field.
(remove-expired-cached-narinfos)[expired?]: Read 'narinfo' sexp version 2.
2016-03-16 15:57:47 +01:00
Andreas Enge 81b55bf7a9 gnu: cm: Update to 0.3.
* gnu/packages/algebra.scm (cm): Update to 0.3.
  [license]: Change to gpl3+.
2016-03-16 14:29:36 +01:00
Ludovic Courtès df061d079b build: Default to "https://mirror.hydra.gnu.org/" for substitutes.
* config-daemon.ac: Check for (gnutls) and define 'GUIX_SUBSTITUTE_URLS'.
* nix/nix-daemon/guix-daemon.cc (main): Use GUIX_SUBSTITUTE_URLS.
* guix/store.scm (%default-substitute-urls): Use 'https' when (gnutls)
is available.
* doc/guix.texi (Binary Installation): Mention mirrors
(Invoking guix-daemon): Mention mirror.hydra.gnu.org.
(Substitutes): Mention mirrors.
(Invoking guix archive): Show https URLs.
2016-03-16 11:27:37 +01:00
Ludovic Courtès 409e4ac6e3 http-client: No 'setvbuf' for non-file ports.
* guix/http-client.scm (http-fetch): Do not call 'setvbuf' on non-file
ports.
2016-03-16 11:27:37 +01:00
Roel Janssen 247d498aaa gnu: Add r-dnacopy.
* gnu/packages/bioinformatics.scm (r-dnacopy): New variable.
2016-03-16 11:23:27 +01:00
Rob Syme 6a35566df7 gnu: Add codingquarry.
* gnu/packages/bioinformatics.scm (codingquarry): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-03-16 04:49:27 -04:00
Tobias Geerinckx-Rice 8e14e059c4 gnu: Add idle3-tools.
* gnu/packages/disk.scm (idle3-tools): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-03-16 02:35:06 -04:00
Efraim Flashner 892f92b7aa gnu: neon: Update to 0.30.1.
* gnu/packages/version-control.scm (neon): Update to 0.30.1.
2016-03-16 05:46:50 +02:00
Efraim Flashner 5575917d13 gnu: mercurial: Update to 3.7.2.
* gnu/packages/version-control.scm (mercurial): Update to 3.7.2.
[source]: Update to mercurial-scm.org.
[home-page]: Same.
2016-03-16 05:46:50 +02:00
宋文武 34dc3907ac gnu: Add gdk-pixbuf+svg.
* gnu/packages/gtk.scm (gdk-pixbuf+svg): New variable.
2016-03-16 09:07:00 +08:00
Leo Famulari 1714e2c39c gnu: git: Update to 2.7.3 [unspecified security fixes].
* gnu/packages/version-control.scm (git): Update to 2.7.3.
(git-manpages)[source]: Update hash.
2016-03-15 19:41:23 -04:00
Andy Wingo 7a2413e46d gnu: services: Add GNOME and XFCE desktop services.
* gnu/services/desktop.scm (package-direct-input-selector): New
  function.
  (<gnome-desktop-configuration>, gnome-desktop-service-type)
  (<xfce-desktop-configuration>, xfce-desktop-service-type): New
  variables.
  (gnome-desktop-service, xfce-desktop-service): New public variables.

* doc/guix.texi (Desktop Services): Document new variables.
2016-03-15 21:03:27 +01:00
Mark H Weaver a3b84f70d8 Merge branch 'master' into security-updates 2016-03-15 12:40:53 -04:00
Leo Famulari 20095cc513 gnu: xfce: Add xfce4-power-manager.
* gnu/packages/xfce.scm (xfce)[propagated-inputs]: Add xfce4-power-manager.
2016-03-15 11:57:40 -04:00