jackhill/guix/guix.git
8 years agognu: julia: Update to 0.4.5.
Ricardo Wurmus [Wed, 25 May 2016 15:25:23 +0000 (17:25 +0200)]
gnu: julia: Update to 0.4.5.

* gnu/packages/julia.scm (julia): Update to 0.4.5.
(libuv-julia): Update commit.

8 years agognu: Add r-knitrbootstrap.
Ricardo Wurmus [Tue, 24 May 2016 12:53:31 +0000 (14:53 +0200)]
gnu: Add r-knitrbootstrap.

* gnu/packages/statistics.scm (r-knitrbootstrap): New variable.

8 years agodaemon: rounds: Keep the differing output if -K is given.
Eelco Dolstra [Tue, 12 Jan 2016 17:25:57 +0000 (18:25 +0100)]
daemon: rounds: Keep the differing output if -K is given.

Regardless of -K, we now also print which output differs.

8 years agodaemon: Canonicalize gids to 0.
Eelco Dolstra [Tue, 12 Jan 2016 16:27:40 +0000 (17:27 +0100)]
daemon: Canonicalize gids to 0.

Previously files in the Nix store were owned by root or by nixbld,
depending on whether they were created by a substituter or by a
builder. This doesn't matter much, but causes spurious diffoscope
differences. So use root everywhere.

8 years agodaemon: check: Keep the differing output if -K is given.
Eelco Dolstra [Tue, 12 Jan 2016 15:44:26 +0000 (16:44 +0100)]
daemon: check: Keep the differing output if -K is given.

This makes it easier to investigate the non-determinism, e.g.

  $ nix-build pkgs/stdenv/linux -A stage1.pkgs.zlib --check -K
  error: derivation ‘/nix/store/l54i8wlw22656i4pk05c52ngv9rpl39q-zlib-1.2.8.drv’ may not be deterministic: output ‘/nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8’ differs from ‘/nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8-check’

  $ diffoscope /nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8 /nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8-check
  ...
  ├── lib/libz.a
  │   ├── metadata
  │   │ @@ -1,15 +1,15 @@
  │   │ -rw-r--r-- 30001/30000   3096 Jan 12 15:20 2016 adler32.o
  ...
  │   │ +rw-r--r-- 30001/30000   3096 Jan 12 15:28 2016 adler32.o
  ...

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
8 years agodaemon: check: Fix "failed to produce output path".
Eelco Dolstra [Tue, 12 Jan 2016 14:13:47 +0000 (15:13 +0100)]
daemon: check: Fix "failed to produce output path".

This occured when sandbox building is disabled, at least one output
exists, and at least one other output does not.

8 years agodaemon: check: Fix assertion failure when some outputs are missing.
Eelco Dolstra [Tue, 12 Jan 2016 13:54:39 +0000 (14:54 +0100)]
daemon: check: Fix assertion failure when some outputs are missing.

E.g.

  $ nix-build pkgs/stdenv/linux/ -A stage1.pkgs.perl --check
  nix-store: src/libstore/build.cc:1323: void nix::DerivationGoal::tryToBuild(): Assertion `buildMode != bmCheck || validPaths.size() == drv->outputs.size()' failed.

when perl.out exists but perl.man doesn't. The fix is to only check
the outputs that exist. Note that "nix-build -A stage1.pkgs.all
--check" will still give a (proper) error in this case.

8 years agodaemon: When repairing, rebuild if there is no substituter.
Eelco Dolstra [Wed, 6 Jan 2016 21:07:59 +0000 (22:07 +0100)]
daemon: When repairing, rebuild if there is no substituter.

8 years agodaemon: Fix --repair failure on multiple-output derivations.
Eelco Dolstra [Wed, 6 Jan 2016 20:49:32 +0000 (21:49 +0100)]
daemon: Fix --repair failure on multiple-output derivations.

If repair found a corrupted/missing path that depended on a
multiple-output derivation, and some of the outputs of the latter were
not present, it failed with a message like

  error: path ‘/nix/store/cnfn9d5fjys1y93cz9shld2xwaibd7nn-bash-4.3-p42-doc’ is not valid

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
8 years agodaemon: ~PathLocks(): Handle exceptions.
Eelco Dolstra [Mon, 4 Jan 2016 10:32:46 +0000 (11:32 +0100)]
daemon: ~PathLocks(): Handle exceptions.

Otherwise, since the call to write a "d" character to the lock file
can fail with ENOSPC, we can get an unhandled exception resulting in a
call to terminate().

8 years agodaemon: Handle /tmp being a symlink.
Eelco Dolstra [Tue, 22 Dec 2015 16:16:17 +0000 (17:16 +0100)]
daemon: Handle /tmp being a symlink.

* nix/libstore/build.cc (DerivationGoal::startBuilder): Call 'canonPath'
on "/tmp".

8 years agoservices: urandom-seed: Set umask to 077 while shutting down.
Leo Famulari [Sun, 29 May 2016 15:13:59 +0000 (11:13 -0400)]
services: urandom-seed: Set umask to 077 while shutting down.

* gnu/services/base.scm (urandom-seed-shepherd-service): Call 'umask'.

8 years agognu: libxml2: Update replacement to 2.9.4 [security fixes].
Leo Famulari [Fri, 27 May 2016 02:29:24 +0000 (22:29 -0400)]
gnu: libxml2: Update replacement to 2.9.4 [security fixes].

This fixes CVE-2016-{1762, 1833, 1834, 1835, 1836, 1837, 1838, 1839,
1840, 3627, 3705, 4483}.

* gnu/packages/patches/libxml2-CVE-2016-3627.patch,
gnu/packages/patches/libxml2-CVE-2016-3705.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
* gnu/packages/xml.scm (libxml2/fixed): Update to 2.9.4.
[source]: Remove patches.

8 years agocontainer: Gracefully report mount errors in the child process.
Ludovic Courtès [Mon, 30 May 2016 20:44:58 +0000 (22:44 +0200)]
container: Gracefully report mount errors in the child process.

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

* gnu/build/linux-container.scm (run-container): Use 'socketpair'
instead of 'pipe'.  Rename 'in' to 'child' and 'out' to 'parent'.  Send
a 'ready message or an exception argument list from the child to the
parent; adjust the parent accordingly.
* tests/containers.scm ("call-with-container, mnt namespace, wrong bind
mount"): New test.
* tests/guix-environment-container.sh: Add test with
--expose=/does-not-exist.

8 years agocontainer: Gracefully handle failure to set up user namespaces.
Ludovic Courtès [Mon, 30 May 2016 20:13:09 +0000 (22:13 +0200)]
container: Gracefully handle failure to set up user namespaces.

* gnu/build/linux-container.scm (run-container): Exit when the parent
process doesn't say 'ready.

8 years agodownload: Update CPAN mirrors.
Efraim Flashner [Mon, 30 May 2016 21:05:54 +0000 (00:05 +0300)]
download: Update CPAN mirrors.

* guix/download.scm (mirrors)[cpan]: Add to mirror list.

8 years agognu: vapoursynth: Update to 32.
Efraim Flashner [Sun, 29 May 2016 11:52:15 +0000 (14:52 +0300)]
gnu: vapoursynth: Update to 32.

* gnu/packages/video.scm (vapoursynth): Update to 32.

8 years agognu: Add zimg.
Efraim Flashner [Sun, 29 May 2016 11:48:42 +0000 (14:48 +0300)]
gnu: Add zimg.

* gnu/packages/image.scm (zimg): New variable.

8 years agognu: mcrypt: Fix CVE-2012-4409, CVE-2012-4426, CVE-2012-4527.
Efraim Flashner [Mon, 30 May 2016 18:45:00 +0000 (21:45 +0300)]
gnu: mcrypt: Fix CVE-2012-4409, CVE-2012-4426, CVE-2012-4527.

* gnu/packages/mcrypt.scm (mcrypt)[source]: Add patches.
* gnu/packages/patches/mcrypt-CVE-2012-4409.patch,
gnu/packages/patches/mcrypt-CVE-2012-4426.patch,
gnu/packages/patches/mcrypt-CVE-2012-4527.patch: New variables.
* gnu/local.mk (dist_patch_DATA): Add them.

8 years agognu: imagemagick: Update to 6.9.4-5.
Leo Famulari [Mon, 30 May 2016 17:25:20 +0000 (13:25 -0400)]
gnu: imagemagick: Update to 6.9.4-5.

* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.4-5.

8 years agognu: Remove xgcc-avr.
David Thompson [Thu, 14 Apr 2016 12:48:47 +0000 (08:48 -0400)]
gnu: Remove xgcc-avr.

We now have a dedicated package module for the AVR toolchain with
important modifications on top of what cross-gcc produces.

* gnu/packages/cross-base.scm (xgcc-avr): Delete.

8 years agognu: Add avr-toolchain.
David Thompson [Thu, 14 Apr 2016 12:48:18 +0000 (08:48 -0400)]
gnu: Add avr-toolchain.

* gnu/packages/avr.scm (avr-toolchain): New procedure.
(avr-toolchain-4.9, avr-toolchain-5): New variables.

8 years agognu: avr-libc: Update to 2.0.0.
David Thompson [Fri, 15 Apr 2016 13:14:28 +0000 (09:14 -0400)]
gnu: avr-libc: Update to 2.0.0.

* gnu/packages/avr.scm (avr-libc): Update to 2.0.0.

8 years agognu: avr-libc: Fix build.
David Thompson [Thu, 14 Apr 2016 12:44:46 +0000 (08:44 -0400)]
gnu: avr-libc: Fix build.

* gnu/packages/avr.scm (avr-libc): Update to 2.0.0.
[native-inputs]: Use new avr-gcc and avr-binutils.
[arguments]: Add phase to unset C_INCLUDE_PATH.

8 years agognu: Add avr-gcc-5.
David Thompson [Fri, 15 Apr 2016 13:48:26 +0000 (09:48 -0400)]
gnu: Add avr-gcc-5.

* gnu/packages/avr.scm (avr-gcc-5): New variable.

8 years agognu: Add avr-gcc.
David Thompson [Thu, 14 Apr 2016 12:43:56 +0000 (08:43 -0400)]
gnu: Add avr-gcc.

* gnu/packages/avr.scm (avr-gcc): New variable.

8 years agognu: Add avr-binutils.
David Thompson [Thu, 14 Apr 2016 12:42:42 +0000 (08:42 -0400)]
gnu: Add avr-binutils.

* gnu/packages/avr.scm (avr-binutils): New variable.

8 years agognu: wordnet: Use 'modify-phases'.
Efraim Flashner [Mon, 30 May 2016 17:19:04 +0000 (20:19 +0300)]
gnu: wordnet: Use 'modify-phases'.

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

8 years agognu: wordnet: Fix CVE-2008-2149, CVE-2008-3908.
Efraim Flashner [Mon, 30 May 2016 17:11:39 +0000 (20:11 +0300)]
gnu: wordnet: Fix CVE-2008-2149, CVE-2008-3908.

* gnu/packages/wordnet.scm (wordnet)[source]: Add patches.
* gnu/packages/patches/wordnet-CVE-2008-2149.patch,
gnu/packages/patches/wordnet-CVE-2008-3908-pt1.patch,
gnu/packages/patches/wordnet-CVE-2008-3908-pt2.patch: New variables.
* gnu/local.mk (dist_patch_DATA): Add them.

8 years agognu: id3lib: Fix CVE-2007-4460.
Efraim Flashner [Mon, 30 May 2016 14:17:09 +0000 (17:17 +0300)]
gnu: id3lib: Fix CVE-2007-4460.

* gnu/packages/mp3.scm (id3lib)[source]: Add patch.
* gnu/packages/patches/id3lib-CVE-2007-4460.patch: New variable.
* gnu/local.mk (dist_patch_DATA): Add it.

8 years agognu: cyrus-sasl: Update URLs.
Leo Famulari [Mon, 30 May 2016 16:51:09 +0000 (12:51 -0400)]
gnu: cyrus-sasl: Update URLs.

* gnu/packages/cyrus-sasl.scm (cyrus-sasl)[source]: Use HTTPS URL.
[home-page]: Update home-page URL.

8 years agognu: devil: Fix CVE-2009-3994.
Leo Famulari [Mon, 30 May 2016 16:30:49 +0000 (12:30 -0400)]
gnu: devil: Fix CVE-2009-3994.

* gnu/packages/patches/devil-CVE-2009-3994.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/image.scm (devil): Use it.

8 years agognu: iptables: Update to 1.4.21.
Leo Famulari [Mon, 30 May 2016 16:18:27 +0000 (12:18 -0400)]
gnu: iptables: Update to 1.4.21.

* gnu/packages/linux.scm (iptables): Update to 1.4.21.

8 years agognu: Add emacs-better-defaults.
David Thompson [Fri, 27 May 2016 14:09:18 +0000 (10:09 -0400)]
gnu: Add emacs-better-defaults.

* gnu/packages/emacs.scm (emacs-better-defaults): New variable.

8 years agognu: emacs: Remove uncompressed-file-fetch.
David Thompson [Mon, 30 May 2016 15:04:47 +0000 (11:04 -0400)]
gnu: emacs: Remove uncompressed-file-fetch.

* gnu/packages/emacs.scm (uncompressed-file-fetch): Delete.
(emacs-rfcview, emacs-ffap-rfc-space, emacs-queue, emacs-spinner):
Replace uncompressed-file-fetch with url-fetch.

8 years agobuild: emacs: Handle sources that are a single elisp file.
David Thompson [Fri, 27 May 2016 13:58:39 +0000 (09:58 -0400)]
build: emacs: Handle sources that are a single elisp file.

* guix/build/emacs-build-system.scm (gnu:unpack)
(store-file->elisp-source-file, unpack): New procedures.
(%standard-phases): Use the new unpack procedure.

8 years agognu: Add emacs-seq.
humanitiesNerd [Sun, 29 May 2016 11:44:00 +0000 (13:44 +0200)]
gnu: Add emacs-seq.

* gnu/packages/emacs.scm (emacs-seq): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
8 years agognu: Add emacs-spinner.
humanitiesNerd [Sun, 29 May 2016 08:25:21 +0000 (10:25 +0200)]
gnu: Add emacs-spinner.

* gnu/packages/emacs.scm (emacs-spinner): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
8 years agognu: Add emacs-pkg-info.
humanitiesNerd [Sun, 29 May 2016 08:23:00 +0000 (10:23 +0200)]
gnu: Add emacs-pkg-info.

* gnu/packages/emacs.scm (emacs-pkg-info): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
8 years agognu: Add emacs-queue.
humanitiesNerd [Fri, 27 May 2016 08:01:59 +0000 (10:01 +0200)]
gnu: Add emacs-queue.

*  gnu/packages/emacs.scm (emacs-queue): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
8 years agognu: emacs: Fix indentation of scheme keyword lists.
Alex Kost [Thu, 26 May 2016 08:45:16 +0000 (11:45 +0300)]
gnu: emacs: Fix indentation of scheme keyword lists.

* gnu/packages/patches/emacs-fix-scheme-indent-function.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/emacs.scm (emacs)[source]: Use it.

8 years agognu: gegl: Fix CVE-2012-4433.
Efraim Flashner [Mon, 30 May 2016 09:01:32 +0000 (12:01 +0300)]
gnu: gegl: Fix CVE-2012-4433.

* gnu/packages/gimp.scm (gegl)[source]: Add patch.
* gnu/packages/patches/gegl-CVE-2012-4433.patch: New variable.
* gnu/local.mk (dist_patch_DATA): Add it.

8 years agognu: vte-0.28: Fix CVE-2012-2738.
Efraim Flashner [Mon, 30 May 2016 08:53:45 +0000 (11:53 +0300)]
gnu: vte-0.28: Fix CVE-2012-2738.

* gnu/packages/gnome.scm (vte-0.28)[source]: Add patches.
* gnu/packages/patches/vte-CVE-2012-2738-pt1.patch,
gnu/packages/patches/vte-CVE-2012-2738-pt2.patch: New variables.
* gnu/local.mk (dist_patch_DATA): Add them.

8 years agognu: t1lib: Fix CVE-2010-2642, CVE-2011-{0764, 1552, 1553, 1554}.
Efraim Flashner [Mon, 30 May 2016 08:46:12 +0000 (11:46 +0300)]
gnu: t1lib: Fix CVE-2010-2642, CVE-2011-{0764, 1552, 1553, 1554}.

* gnu/packages/fontutils.scm (t1lib)[source]: Add patches.
* gnu/packages/patches/t1lib-CVE-2010-2642.patch,
gnu/packages/patches/t1lib-CVE-2011-0764.patch,
gnu/packages/patches/t1lib-CVE-2011-1552+CVE-2011-1553+CVE-2011-1554.patch: New variables.
* gnu/local.mk (dist_patch_DATA): Add them.

8 years agodownload: Update Sourceforge mirrors.
Efraim Flashner [Mon, 30 May 2016 08:37:03 +0000 (11:37 +0300)]
download: Update Sourceforge mirrors.

* guix/download.scm (mirrors)[sourceforge]: Update mirror list.

8 years agognu: dtach: Use 'modify-phases'.
Efraim Flashner [Mon, 30 May 2016 07:21:48 +0000 (10:21 +0300)]
gnu: dtach: Use 'modify-phases'.

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

8 years agognu: dtach: Update to 0.9 [Fixes CVE-2012-3368].
Efraim Flashner [Mon, 30 May 2016 07:20:23 +0000 (10:20 +0300)]
gnu: dtach: Update to 0.9 [Fixes CVE-2012-3368].

* gnu/packages/screen.scm (dtach): Update to 0.9.

8 years agognu: tinyproxy: Update to 1.8.4 [Fixes CVE-2012-3505].
Efraim Flashner [Mon, 30 May 2016 07:16:42 +0000 (10:16 +0300)]
gnu: tinyproxy: Update to 1.8.4 [Fixes CVE-2012-3505].

* gnu/packages/web.scm (tinyproxy): Update to 1.8.4.
[source]: Download from new location.
[home-page]: Project has moved to Github.

8 years agognu: jansson: Fix CVE-2016-4425.
Efraim Flashner [Mon, 30 May 2016 06:56:39 +0000 (09:56 +0300)]
gnu: jansson: Fix CVE-2016-4425.

* gnu/packages/web.scm (jansson)[source]: Add patch.
* gnu/packages/patches/jansson-CVE-2016-4425.patch: New variable.
* gnu/local.mk (dist_patch_DATA): Add it.

8 years agognu: antiword: Fix CVE-2014-8123.
Efraim Flashner [Mon, 30 May 2016 06:35:10 +0000 (09:35 +0300)]
gnu: antiword: Fix CVE-2014-8123.

* gnu/packages/textutils.scm (antiword)[source]: Add patch.
* gnu/packages/patches/antiword-CVE-2014-8123: New variable.
* gnu/local.mk (dist_patch_DATA): Add it.

8 years agognu: a2ps: Use 'modify-phases'.
Efraim Flashner [Mon, 30 May 2016 04:15:42 +0000 (07:15 +0300)]
gnu: a2ps: Use 'modify-phases'.

* gnu/packages/pretty-print.scm (a2ps)[arguments]: Use 'modify-phases'.

8 years agognu: a2ps: Fix CVE-2001-1593, CVE-2014-0466.
Efraim Flashner [Mon, 30 May 2016 04:13:47 +0000 (07:13 +0300)]
gnu: a2ps: Fix CVE-2001-1593, CVE-2014-0466.

* gnu/packages/pretty-print.scm (a2ps)[source]: Add patches.
* gnu/packages/patches/a2ps-CVE-2001-1593.patch,
gnu/packages/patches/a2ps-CVE-2014-0466.patch: New variables.
* gnu/local.mk (dist_patch_DATA): Add them.

8 years agognu: pcre2: Fix CVE-2016-3191.
Leo Famulari [Sun, 29 May 2016 18:38:54 +0000 (14:38 -0400)]
gnu: pcre2: Fix CVE-2016-3191.

* gnu/packages/patches/pcre2-CVE-2016-3191.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/pcre.scm (pcre2): Use it.

8 years agognu: libyaml: Fix CVE-2014-9130.
Leo Famulari [Sat, 28 May 2016 05:16:43 +0000 (01:16 -0400)]
gnu: libyaml: Fix CVE-2014-9130.

* gnu/packages/patches/libyaml-CVE-2014-9130.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/web.scm (libyaml): Use it.

8 years agognu: graphicsmagick: Fix CVE-2016-5118.
Leo Famulari [Mon, 30 May 2016 03:36:37 +0000 (23:36 -0400)]
gnu: graphicsmagick: Fix CVE-2016-5118.

* gnu/packages/patches/graphicsmagick-CVE-2016-5118.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/imagemagick.scm (graphicsmagick): Use it.

8 years agognu: vorbis-tools: Fix CVE-2014-9638, CVE-2014-9639, CVE-2014-9640.
Efraim Flashner [Mon, 30 May 2016 03:42:02 +0000 (06:42 +0300)]
gnu: vorbis-tools: Fix CVE-2014-9638, CVE-2014-9639, CVE-2014-9640.

* gnu/packages/xiph.scm (vorbis-tools)[source]: Add patches.
* gnu/packages/patches/vorbis-tools-CVE-2014-9638+CVE-2014-9639.patch,
gnu/packages/patches/vorbis-tools-CVE-2014-9640.patch: New variables.
* gnu/local.mk (dist_patch_DATA): Add them.

8 years agognu: libtar: Fix CVE-2013-4420.
Efraim Flashner [Mon, 30 May 2016 03:04:46 +0000 (06:04 +0300)]
gnu: libtar: Fix CVE-2013-4420.

* gnu/packages/compression.scm (libtar)[source]: Add patch.
* gnu/packages/patches/libtar-CVE-2013-4420.patch: New variable.
* gnu/local.mk (dist_patch_DATA): Add it.

This is a follow-up to 89d80159b1da81c4017b46a575c3ec5dd9a96c90.

8 years agognu: glibc: Refer to the target kernel headers when cross-compiling.
Ludovic Courtès [Sun, 29 May 2016 21:15:14 +0000 (23:15 +0200)]
gnu: glibc: Refer to the target kernel headers when cross-compiling.

This fixes a regression introduced in
efc4eb147512fa7a2c6d74d9b296cfc22b1ef198 whereby the build process
corresponding to 'guix build glibc --target=mips64el-linux-gnu' would
refer to the native headers instead of the target headers, leading to a
build failure:

  ../sysdeps/unix/sysv/linux/statfs64.c: In function ‘__statfs64’:
  ../sysdeps/unix/sysv/linux/statfs64.c:73:1: error: control reaches end of non-void function [-Werror=return-type]
   }
   ^

When we were using CROSS_CPATH instead of CROSS_C_INCLUDE_PATH, the
problem was hidden by the fact that CPATH corresponds to '-I' whereas
C_INCLUDE_PATH corresponds to '-isystem', and '-isystem' directories are
searched after '-I' directories.

* gnu/packages/base.scm (glibc)[arguments]: Refer to the kernel headers
from '%build-target-inputs' when cross-building.

8 years agognu: libtar: Update to 1.2.20 [fixes CVE-2013-4397, CVE-2013-4420].
Efraim Flashner [Sun, 29 May 2016 19:46:29 +0000 (22:46 +0300)]
gnu: libtar: Update to 1.2.20 [fixes CVE-2013-4397, CVE-2013-4420].

* gnu/packages/compression.scm (libtar): Update to 1.2.20.
[source]: Add Debian mirror.
[arguments]: Add 'autoconf phase.
[native-inputs]: Add autoconf, automake, libtool.
[inputs]: Add zlib.
[home-page]: Point to temporary home.

8 years agognu: pciutils: Add kmod support.
Efraim Flashner [Sun, 29 May 2016 18:58:57 +0000 (21:58 +0300)]
gnu: pciutils: Add kmod support.

* gnu/packages/pciutils.scm (pciutils)[inputs]: Add kmod.

8 years agognu: pciutils: Use 'modify-phases'.
Efraim Flashner [Sun, 29 May 2016 18:50:27 +0000 (21:50 +0300)]
gnu: pciutils: Use 'modify-phases'.

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

8 years agognu: pciutils: Update to 3.5.1.
Efraim Flashner [Sun, 29 May 2016 18:45:43 +0000 (21:45 +0300)]
gnu: pciutils: Update to 3.5.1.

* gnu/packages/pciutils.scm (pciutils): Update to 3.5.1.

8 years agognu: rpm: Fix CVE-2014-8118.
Leo Famulari [Sun, 29 May 2016 17:57:56 +0000 (13:57 -0400)]
gnu: rpm: Fix CVE-2014-8118.

* gnu/packages/patches/rpm-CVE-2014-8118.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/package-management.scm (rpm): Use it.

8 years agognu: rpm: Update to 4.12.0.1.
Leo Famulari [Sun, 29 May 2016 17:57:13 +0000 (13:57 -0400)]
gnu: rpm: Update to 4.12.0.1.

* gnu/packages/package-management.scm (rpm): Update to 4.12.0.1.

8 years agognu: zeromq: Update to 4.0.7 [fixes CVE-2014-9721].
Leo Famulari [Sun, 29 May 2016 17:31:29 +0000 (13:31 -0400)]
gnu: zeromq: Update to 4.0.7 [fixes CVE-2014-9721].

* gnu/packages/networking.scm (zeromq): Update to 4.0.7.

8 years agognu: libsodium: Update to 1.0.10.
Leo Famulari [Sun, 29 May 2016 17:26:22 +0000 (13:26 -0400)]
gnu: libsodium: Update to 1.0.10.

* gnu/packages/crypto.scm (libsodium): Update to 1.0.10.

8 years agognu: procmail: Fix CVE-2014-3618.
Leo Famulari [Sun, 29 May 2016 17:02:23 +0000 (13:02 -0400)]
gnu: procmail: Fix CVE-2014-3618.

* gnu/packages/patches/procmail-CVE-2014-3618.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/mail.scm (procmail): Use it.

8 years agognu: elfutils: Update to 0.166 [fixes CVE-2014-9447].
Leo Famulari [Sun, 29 May 2016 16:46:12 +0000 (12:46 -0400)]
gnu: elfutils: Update to 0.166 [fixes CVE-2014-9447].

* gnu/packages/elf.scm (elfutils): Update to 0.166.

8 years agognu: luajit: Update to 2.0.4.
Efraim Flashner [Sun, 29 May 2016 06:12:47 +0000 (09:12 +0300)]
gnu: luajit: Update to 2.0.4.

* gnu/packages/lua.scm (luajit): Update to 2.0.4.

8 years agognu: lua: Update to 5.2.4.
Efraim Flashner [Sun, 29 May 2016 05:57:27 +0000 (08:57 +0300)]
gnu: lua: Update to 5.2.4.

* gnu/packages/lua.scm (lua): Update to 5.2.4.

8 years agognu: lua: Use 'modify-phases'.
Efraim Flashner [Sun, 29 May 2016 05:56:07 +0000 (08:56 +0300)]
gnu: lua: Use 'modify-phases'.

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

8 years agognu: lua-5.1: Fix CVE-2014-5461.
Efraim Flashner [Sun, 29 May 2016 05:50:15 +0000 (08:50 +0300)]
gnu: lua-5.1: Fix CVE-2014-5461.

* gnu/packages/lua.scm (lua-5.1)[source]: Add patch.
* gnu/packages/patches/lua-CVE-2014-5461: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

8 years agognu: retroarch: Update to 1.3.4.
宋文武 [Sun, 29 May 2016 03:09:11 +0000 (11:09 +0800)]
gnu: retroarch: Update to 1.3.4.

* gnu/packages/games.scm (retroarch): Update to 1.3.4.

8 years agognu: libyaml: Update to 0.1.6 [fixes CVE-2014-2525].
Leo Famulari [Sat, 28 May 2016 05:14:49 +0000 (01:14 -0400)]
gnu: libyaml: Update to 0.1.6 [fixes CVE-2014-2525].

* gnu/packages/web.scm (libyaml): Update to 0.1.6.

8 years agoservices: Add urandom-seed-service.
Leo Famulari [Sat, 28 May 2016 17:41:21 +0000 (13:41 -0400)]
services: Add urandom-seed-service.

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

* gnu/services/base.scm (urandom-seed-service): New procedure.
(%random-seed-file, urandom-seed-service-type): New variables.
(%urandom-seed-shepherd-service): New procedure.
(%base-services): Call 'urandom-seed-service'.
* doc/guix.texi (Base Services): Document it.

8 years agognu: potrace: Update to 1.13 [fixes CVE-2013-7437].
Efraim Flashner [Sat, 28 May 2016 19:57:16 +0000 (22:57 +0300)]
gnu: potrace: Update to 1.13 [fixes CVE-2013-7437].

* gnu/packages/fontutils.scm (potrace): Update to 1.13.

8 years agognu: Add Guile-GNOME.
Patrick Hetu [Sat, 28 May 2016 16:01:48 +0000 (18:01 +0200)]
gnu: Add Guile-GNOME.

* gnu/packages/gtk.scm (guile-gnome): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
8 years agognu: Update diamond to 0.8.3.
Ben Woodcroft [Sat, 28 May 2016 13:44:16 +0000 (23:44 +1000)]
gnu: Update diamond to 0.8.3.

* gnu/packages/bioinformatics.scm (diamond): Update to 0.8.3.

8 years agognu: Add gcide.
宋文武 [Sat, 28 May 2016 04:53:01 +0000 (12:53 +0800)]
gnu: Add gcide.

* gnu/packages/dictionaries.scm (gcide): New variable.

8 years agognu: wxmaxima: Wrap with GSETTINGS_SCHEMA_DIR and XDG_DATA_DIRS.
宋文武 [Sun, 15 May 2016 07:26:46 +0000 (15:26 +0800)]
gnu: wxmaxima: Wrap with GSETTINGS_SCHEMA_DIR and XDG_DATA_DIRS.

Fixes <http://bugs.gnu.org/22709> and <http://bugs.gnu.org/23260>.

* gnu/packages/math.scm (wxmaxima)[arguments]: Wrap with
GSETTINGS_SCHEMA_DIR and XDG_DATA_DIRS.

8 years agognu: gprolog: Don't install files into "$out/gprolog-1.4.4".
宋文武 [Thu, 26 May 2016 13:42:15 +0000 (21:42 +0800)]
gnu: gprolog: Don't install files into "$out/gprolog-1.4.4".

* gnu/packages/gprolog.scm (gprolog)[arguments]: Pass '--with-install-dir'
to #:configure-flags.

8 years agognu: Add wiredtiger.
宋文武 [Sun, 15 May 2016 02:20:05 +0000 (10:20 +0800)]
gnu: Add wiredtiger.

* gnu/packages/database.scm (wiredtiger): New variable.

8 years agocve: Use a more compact format for the list of package/versions.
Ludovic Courtès [Fri, 27 May 2016 22:44:36 +0000 (00:44 +0200)]
cve: Use a more compact format for the list of package/versions.

On a warm cache, "guix lint -c cve vorbis-tools" goes down
from 6.5s to 2.4s.

* guix/cve.scm (cpe->package-name): Change to return two values instead
of a pair.
(cpe->product-alist): New procedure.
(%parse-vulnerability-feed): Use it instead of 'filter-map'.
(fetch-vulnerabilities): Bump sexp format version to 1.
(vulnerabilities->lookup-proc): Adjust accordingly.  When #:version is
omitted, return a list of vulnerabilities instead of a list of
version/vulnerability pairs.
* tests/cve.scm (%expected-vulnerabilities)
("vulnerabilities->lookup-proc): Adjust accordingly.

8 years agoguix package: Inherit the transformed version number.
Ludovic Courtès [Fri, 27 May 2016 13:17:42 +0000 (15:17 +0200)]
guix package: Inherit the transformed version number.

Previously, 'guix package -i emacs --with-source=./emacs-42.tar.gz'
would fail to use "42" as the version number in the manifest entry.

Reported by piyo on #guix.

* guix/scripts/package.scm (process-actions)[transform-entry]: Inherit
the version number from the result of TRANSFORM when it's a package.
* tests/guix-package.sh: Test it.

8 years agognu: gd: Update to 2.2.1 [fixes CVE-2015-{8874, 8877}].
Leo Famulari [Fri, 27 May 2016 15:42:22 +0000 (11:42 -0400)]
gnu: gd: Update to 2.2.1 [fixes CVE-2015-{8874, 8877}].

* gnu/packages/patches/gd-CVE-2016-3074.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/gd.scm (gd): Update to 2.2.1.
[source]: Remove patch. Update source URL.

8 years agognu: scrot: Add source mirror.
Efraim Flashner [Fri, 27 May 2016 13:49:12 +0000 (16:49 +0300)]
gnu: scrot: Add source mirror.

* gnu/packages/xdisorg.scm (scrot)[source]: Add fossies mirror.

8 years agognu: serf: Update project source.
Efraim Flashner [Fri, 27 May 2016 13:40:05 +0000 (16:40 +0300)]
gnu: serf: Update project source.

* gnu/packages/web.scm (serf)[source]: Releases are now hosted by Apache.
[home-page]: Project is now hosted by Apache.

8 years agognu: xlockmore: Update to 5.47.
Efraim Flashner [Fri, 27 May 2016 13:35:47 +0000 (16:35 +0300)]
gnu: xlockmore: Update to 5.47.

* gnu/packages/xdisorg.scm (xlockmore): Update to 5.47.

8 years agognu: t1lib: Add source mirror.
Efraim Flashner [Fri, 27 May 2016 13:23:21 +0000 (16:23 +0300)]
gnu: t1lib: Add source mirror.

* gnu/packages/fontutils.scm (t1lib)[souce]: Add fossies mirror.

8 years agognu: synergy: Update to 1.7.6.
Efraim Flashner [Fri, 27 May 2016 13:07:20 +0000 (16:07 +0300)]
gnu: synergy: Update to 1.7.6.

* gnu/packages/synergy.scm (synergy): Update to 1.7.6.

8 years agognu: synergy: Use 'modify-phases'.
Efraim Flashner [Fri, 27 May 2016 12:54:10 +0000 (15:54 +0300)]
gnu: synergy: Use 'modify-phases'.

* gnu/packages/synergy.scm (synergy)[arguments]; Use 'modify-phases'.

8 years agognu: synergy: Update project source.
Efraim Flashner [Fri, 27 May 2016 11:56:49 +0000 (14:56 +0300)]
gnu: synergy: Update project source.

* gnu/packages/synergy.scm (synergy)[source]: Use new location.
[home-page]: Use project's new website.

8 years agognu: eyed3: Update to 0.7.9.
Efraim Flashner [Fri, 27 May 2016 08:37:12 +0000 (11:37 +0300)]
gnu: eyed3: Update to 0.7.9.

* gnu/packages/mp3.scm (eyed3): Update to 0.7.9.

8 years agognu: mpc123: Use 'modify-phases'.
Efraim Flashner [Fri, 27 May 2016 08:34:44 +0000 (11:34 +0300)]
gnu: mpc123: Use 'modify-phases'.

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

8 years agognu: mpc123: Add new source location.
Efraim Flashner [Fri, 27 May 2016 08:29:21 +0000 (11:29 +0300)]
gnu: mpc123: Add new source location.

* gnu/packages/mp3.scm (mpc123)[source]: Add Debian mirror.
[home-page]: Project has moved to Github.

8 years agodownload: Default to a 10s connection establishment timeout.
Ludovic Courtès [Fri, 27 May 2016 08:33:23 +0000 (10:33 +0200)]
download: Default to a 10s connection establishment timeout.

* guix/build/download.scm (ftp-fetch): Add #:timeout and pass it to
'ftp-open'.
(http-fetch): Add #:timeout and pass it to 'open-connection-for-uri' and
in recursive calls.
(url-fetch): Add #:timeout and pass it to 'http-fetch' and 'ftp-fetch'.

8 years agodownload: Use URI objects for content-addressed mirrors.
Ludovic Courtès [Fri, 27 May 2016 08:29:10 +0000 (10:29 +0200)]
download: Use URI objects for content-addressed mirrors.

This fixes a bug whereby 'http-fetch' would be passed a string instead
of a URI object.

* guix/build/download.scm (url-fetch): Rename 'content-addressed-urls'
to 'content-addressed-uris', and call 'string->uri'.

8 years agognu: Add emacs-epl.
humanitiesNerd [Wed, 25 May 2016 23:31:30 +0000 (01:31 +0200)]
gnu: Add emacs-epl.

* gnu/packages/emacs.scm (emacs-epl): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
8 years agognu: emacs-async: Update to 1.9.
Alex Kost [Thu, 26 May 2016 09:09:51 +0000 (12:09 +0300)]
gnu: emacs-async: Update to 1.9.

* gnu/packages/emacs.scm (emacs-async): Update to 1.9.

8 years agognu: magit: Update to 2.7.0.
Alex Kost [Thu, 26 May 2016 09:09:36 +0000 (12:09 +0300)]
gnu: magit: Update to 2.7.0.

* gnu/packages/emacs.scm (magit): Update to 2.7.0.