Commit Graph

21336 Commits

Author SHA1 Message Date
Ludovic Courtès f0a0b58bfa
daemon: Report hash mismatches in a cleaner way.
Suggested by Hartmut Goebel.

* nix/libstore/build.cc (DerivationGoal::registerOutputs): Report hash
mismatches on 3 lines for clarity.
(SubstitutionGoal::finished): Likewise.
2017-05-30 18:08:37 +02:00
Christopher Baines a88d41d11c
doc: Move the NGinx service configuration documentation together.
* doc/guix.texi (Web Services): Add documentation for
  nginx-upstream-configuration and nginx-location-configuration.
  (VPN Services): Remove documentation for nginx-upstream-configuration and
  nginx-location-configuration.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-30 18:08:37 +02:00
Ludovic Courtès 41db5a7563
activation: Change permissions on /root to #o700.
Reported by Alex Griffin <a@ajgrf.com>.
Fixes <http://bugs.gnu.org/27135>.

* gnu/build/activation.scm (add-user): When UID is zero, add 'chmod'
call.
* gnu/tests/base.scm (run-basic-test)["permissions on /root"]: New test.
2017-05-30 18:08:37 +02:00
Christopher Baines 151cb9738a
git-download: Fix 'git-predicate' to use absolute paths.
git ls-files will return paths relative to the repository directory. This
commit prepends the repository directory to those paths when calling lstat,
such that 'git-predicate' works if the current working directory is not the
repository directory.

* guix/git-download.scm (git-predicate): Prepend repository directory to the
  file path when calling lstat.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-30 18:08:37 +02:00
Ricardo Wurmus 294739b5b8
gnu: libntlm: Update to 1.4.
* gnu/packages/gsasl.scm (libntlm): Update to 1.4.
2017-05-30 17:57:48 +02:00
Marius Bakke eea879d74c
gnu: sudo: Update to 1.8.20p1 [fixes CVE-2017-1000367].
* gnu/packages/admin.scm (sudo): Update to 1.8.20p1.
2017-05-30 17:40:23 +02:00
Alex Kost 91762db6fe
gnu: emacs-debbugs: Install missing file.
This is a followup to commit d879685176.

* gnu/packages/emacs.scm (emacs-debbugs)[arguments]: Include ".wsdl"
along with ".el" and ".info".
2017-05-30 18:30:39 +03:00
Alex Kost f753c28299
doc: htmlxref: Fix link to Emacs-Guix manual.
Reported-by: Ludovic Courtès <ludo@gnu.org>

This fixes a regression introduced by commit
8ca0c88a89.

* doc/htmlxref.cnf (EMACS_GUIX): Fix the link to 'html_node'.
2017-05-30 18:30:39 +03:00
Ricardo Wurmus 93c103ab59
gnu: classpath-devel: Ensure initial heap size is less than maximum.
Fixes <https://bugs.gnu.org/27142>.

* gnu/packages/java.scm (classpath-devel)[arguments]: Pass Xms option with a
value lower than Xmx.
2017-05-30 15:56:25 +02:00
Ludovic Courtès 27fd13c3c2
download: Work around GnuTLS bug with UTF-8 certificate file names.
Reported by Mark H Weaver <mhw@netris.org>
at <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26948#17>.

* guix/build/download.scm (set-certificate-credentials-x509-trust-file!*):
New procedure.
(make-credendials-with-ca-trust-files): Use it instead of
'set-certificate-credentials-x509-trust-file!'.
2017-05-30 13:24:55 +02:00
Alex Griffin 98b9732cb8
gnu: asciinema: Update to 1.4.0.
* gnu/packages/terminals.scm (asciinema): Update to 1.4.0.
[source]: Use pypi-uri.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2017-05-29 22:37:34 +05:30
Leo Famulari 4a897c4990
gnu: jasper: Update to 2.0.13.
* gnu/packages/image.scm (jasper): Update to 2.0.13.
[source]: Use GitHub URL and set the file-name. Remove
'jasper-CVE-2017-6850.patch'.
* gnu/packages/patches/jasper-CVE-2017-6850.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2017-05-29 12:52:30 -04:00
Ludovic Courtès be99170ddb
gnu: cross-base: Turn '%xgcc' into a macro.
Previously:

  ./pre-inst-env guile -c '(use-modules (gnu packages gcc))'

would fail due to circular dependencies.

* gnu/packages/cross-base.scm (%xgcc): Turn into a macro.
2017-05-29 13:46:25 +02:00
Efraim Flashner 0f3847bfd8
gnu: Add translate-shell.
* gnu/packages/dictionaries.scm (translate-shell): New variable.
2017-05-29 13:25:38 +03:00
Ludovic Courtès 0b8e89f6bb
gnu: libtiff@4.0.8: Fix source URL.
* gnu/packages/image.scm (libtiff-4.0.8)[origin]: Use 'ftp://' not
'http://'.
2017-05-29 11:52:19 +02:00
Efraim Flashner 5a6527e43d
byzanz: Add file-name for source.
* gnu/packages/gnome.scm (byzanz)[source]: Add file-name field.
2017-05-29 10:16:45 +03:00
Ben Woodcroft 0d2b2fd4f4
gnu: diamond: Update to 0.9.3.
* gnu/packages/bioinformatics.scm (diamond): Update to 0.9.3.
2017-05-28 21:06:06 -04:00
Leo Famulari 4fed93a1a3
doc: Fix typo.
* doc/guix.texi (USB Stick Installation): Fix typo.
2017-05-28 20:34:10 -04:00
Marius Bakke 6c1db130a8
gnu: parallel: Update to 20170522.
* gnu/packages/parallel.scm (parallel): Update to 20170522.
2017-05-28 23:45:41 +02:00
Christopher Baines a8d0c9cbcc
gnu: Add emacs-direnv.
* gnu/packages/emacs.scm (emacs-direnv): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-28 23:13:40 +02:00
ng0 78dfc9e2dd
gnu: Add spectrwm.
* gnu/packages/wm.scm (spectrwm): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-28 23:13:40 +02:00
James Richardson ce67601564
gnu: Add emacs-restclient.
* gnu/packages/emacs.scm (emacs-restclient): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-28 23:13:39 +02:00
Ludovic Courtès 8902d0f267
scripts: Set thread names.
This allows 'guix publish' threads as well as 'guix substitute' and
'guix offload' processes to be properly labeled in 'top', 'pstree', etc.

* guix/workers.scm (worker-thunk): Add #:thread-name parameter and honor it.
(make-pool): Likewise.
* guix/scripts/publish.scm (http-write): Add calls to 'set-thread-name'
in bodies of 'call-with-new-thread'.
(guix-publish): Call 'set-thread-name'.   Pass #:thread-name to 'make-pool'.
* guix/scripts/offload.scm (guix-offload): Call 'set-thread-name'.
* guix/scripts/substitute.scm (guix-substitute): Likewise.
2017-05-28 23:13:39 +02:00
Ludovic Courtès aa401f9ba6
syscalls: Add 'thread-name' and 'set-thread-name'.
* guix/build/syscalls.scm (PR_SET_NAME, PR_GET_NAME)
(%max-thread-name-length): New variables.
(%prctl, set-thread-name, thread-name): New procedures.
* tests/syscalls.scm ("set-thread-name"): New test.
2017-05-28 23:13:39 +02:00
Leo Famulari 2b95f24721
gnu: certbot, python-acme: Update to 0.14.2.
* gnu/packages/tls.scm (certbot, python-acme, python2-acme): Update to 0.14.2.
2017-05-28 15:33:08 -04:00
Leo Famulari 0fd0bb56a8
gnu: rxvt-unicode: Disable an unwanted code execution vector.
* gnu/packages/patches/rxvt-unicode-escape-sequences.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/xdisorg.scm (rxvt-unicode)[source]: Use it.
2017-05-28 14:41:46 -04:00
Leo Famulari 5cd0122e60
gnu: synfigstudio: Fix patch name in 'gnu/local.mk'.
This is a followup to commit 2ac2b17251.

* gnu/local.mk (dist_patch_DATA): Fix typo.
2017-05-28 14:34:43 -04:00
Leo Famulari 22e6656d25
gnu: libtiff: Update replacement to 4.0.8 [security fixes].
See 'ChangeLog' in the source distribution for more information about
the bugs and security issues fixed in this release.

* gnu/packages/image.scm (libtiff)[replacement]: Replace with libtiff-4.0.8.
(libtiff/fixed): Replace with ...
(libtiff-4.0.8): New variable.
* gnu/packages/patches/libtiff-CVE-2017-7593.patch,
gnu/packages/patches/libtiff-CVE-2017-7594.patch,
gnu/packages/patches/libtiff-multiple-UBSAN-crashes.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
2017-05-28 14:34:43 -04:00
Tobias Geerinckx-Rice 3cae15023f
gnu: offlineimap: Update to 7.1.1.
* gnu/packages/mail.scm (offlineimap): Update to 7.1.1.
2017-05-28 18:29:34 +02:00
Arun Isaac e46e0de1b5
gnu: font-bitstream-vera: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-bitstream-vera): Switch to 'font-build-system'.
2017-05-28 19:30:05 +05:30
Arun Isaac 2e88401941
gnu: font-dejavu: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-dejavu): Switch to 'font-build-system'.
2017-05-28 19:30:05 +05:30
Arun Isaac 5978658841
gnu: font-ubuntu: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-ubuntu): Switch to 'font-build-system'.
2017-05-28 19:30:05 +05:30
Arun Isaac b2f89c19fc
gnu: font-inconsolata: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-inconsolata): Switch to 'font-build-system'.
2017-05-28 19:30:05 +05:30
Arun Isaac 3d90fa982b
build-system: Add 'font-build-system'.
* Makefile.am (MODULES): Add 'guix/build-system/font.scm' and
  'guix/build/font-build-system.scm'.
* guix/build-system/font.scm: New file.
* guix/build/font-build-system.scm: New file.
* doc/guix.texi (Build Systems): Add 'font-build-system'.
2017-05-28 19:30:05 +05:30
Ricardo Wurmus 2ac2b17251
gnu: synfigstudio: Fix UI bug.
* gnu/packages/patches/synfigstudio-fix-ui-with-gtk3.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/animation.scm (synfigstudio)[source]: Apply patch.
2017-05-28 15:59:52 +02:00
Andreas Enge 802907e423
gnu: pari-gp: Update to 2.9.2.
* gnu/packages/algebra.scm (pari-gp): Update to 2.9.2.
2017-05-28 15:57:17 +02:00
Marius Bakke 3803b069f6
gnu: gajim: Fix CVE-2016-10376.
* gnu/packages/patches/gajim-CVE-2016-10376.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/messaging.scm (gajim)[source]: Use it.
2017-05-28 13:18:24 +02:00
Ben Woodcroft ca40d4e7c5
gnu: diamond: Update to 0.9.2.
* gnu/packages/bioinformatics.scm (diamond): Update to 0.9.2.
2017-05-27 22:03:00 -04:00
Ricardo Wurmus 21fea1d1a9
gnu: synfigstudio: Update to 1.2.0.
* gnu/packages/patches/synfig-build-fix.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove patch.
* gnu/packages/animation.scm (etl): Update to 0.04.22.
(synfig): Update to 1.2.0.
[source]: Remove patch.
[arguments]: Remove obsolete build phases.
[propagated-inputs]: Add fftw.
(synfigstudio): Update to 1.2.0.
[source]: Remove unnecessary snippet.
[arguments]: Remove.
2017-05-27 22:37:48 +02:00
Muriithi Frederick Muriuki 65e7d52a0c
gnu: Add python-radon
* gnu/packages/python.scm (python-radon, python2-radon): New variables.
2017-05-27 13:46:40 -04:00
ng0 574e4e16d8
gnu: Add florence.
* gnu/packages/accessibility.scm: New file.
* gnu/local.mk: (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Leo Famulari <leo@famulari.name>
2017-05-27 13:35:02 -04:00
Adriano Peluso 16855482fd
gnu: Add tryton.
* gnu/packages/tryton.scm (tryton): New variable.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2017-05-27 18:41:13 +05:30
Adriano Peluso 48174fb9aa
gnu: Add trytond.
* gnu/packages/tryton.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/tryton.scm (trytond): New variable.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2017-05-27 18:41:12 +05:30
Adriano Peluso ecca63b654
gnu: Add python-relatorio.
* gnu/packages/python.scm (python-relatorio, python2-relatorio): New variables.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2017-05-27 18:41:12 +05:30
Adriano Peluso b208f71b9b
gnu: Add python-genshi.
* gnu/packages/python.scm (python-genshi, python2-genshi): New variables.
 * gnu/packages/patches/python-genshi-add-support-for-python-3.4-AST.patch: New file.
 * gnu/packages/patches/python-genshi-buildable-on-python-2.7.patch: New file.
 * gnu/packages/patches/python-genshi-disable-speedups-on-python-3.3.patch: New file.
 * gnu/packages/patches/python-genshi-fix-tests-on-python-3.5.patch: New file.
 * gnu/packages/patches/python-genshi-isstring-helper.patch: New file.
 * gnu/packages/patches/python-genshi-stripping-of-unsafe-script-tags.patch: New file.
 * gnu/local.mk (dist_patch_DATA): Add them.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2017-05-27 18:41:12 +05:30
Adriano Peluso ad2ef26073
gnu: Add python-sql.
* gnu/packages/python.scm (python-sql, python2-sql): New variables.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2017-05-27 18:12:34 +05:30
Danny Milosavljevic 3dba9b3782
gnu: build: Improve docstrings.
* gnu/build/file-systems.scm (iso9660-superblock?,
read-iso9660-superblock, iso9660-superblock-uuid): Improve docstrings.
2017-05-27 12:35:43 +02:00
Arun Isaac dc443f5149
gnu: emacs-exwm: Fix DISPLAY environment variable issue.
* gnu/packages/emacs.scm (emacs-exwm): Set DISPLAY environment variable in
  shell wrapper.
2017-05-27 15:20:12 +05:30
Julien Lepiller ba69e8f7ce
gnu: Add knot-service-type.
* gnu/services/dns.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* doc/guix.texi (DNS Services): New subsubsection.
2017-05-27 10:40:24 +02:00
Mark H Weaver d771ba62f8
gnu: icecat: Add more fixes from upstream mozilla-esr52.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add selected fixes from the
upstream mozilla-esr52 repository.
2017-05-27 03:06:39 -04:00