Commit Graph

16206 Commits

Author SHA1 Message Date
Ricardo Wurmus ced12a7bff
gnu: ghmm: Run tests after install.
* gnu/packages/machine-learning.scm (ghmm)[arguments]: Move "check"
phase after "install"; add phase "fix-PYTHONPATH".
2016-10-04 08:54:55 +02:00
Ricardo Wurmus 4262d178a7
gnu: raincat: Add missing input.
* gnu/packages/games.scm (raincat)[inputs]: Add freeglut.
2016-10-04 08:48:55 +02:00
Ricardo Wurmus d910d584b7
gnu: supertux: Update to 0.5.0.
* gnu/packages/games.scm (supertux): Update to 0.5.0.
[arguments]: Add flag to disable static boost libraries.
2016-10-04 08:38:09 +02:00
Leo Famulari c88cd83b71
gnu: parallel: Update to 20160922.
* gnu/packages/parallel.scm (parallel): Update to 20160922.
2016-10-03 23:59:29 -04:00
Mark H Weaver 1927839dcb
gnu: linux-libre: Update to 4.8.
* gnu/packages/linux.scm (linux-libre): Update to 4.8.
* gnu/packages/linux-libre-4.7-x86_64.conf,
gnu/packages/linux-libre-4.7-i686.conf: Delete files.
* gnu/packages/linux-libre-4.8-x86_64.conf,
gnu/packages/linux-libre-4.8-i686.conf: New files.
* Makefile.am (KCONFIGS): Update accordingly.
2016-10-03 22:05:51 -04:00
Mark H Weaver e9b718a05a
gnu: nss: Increase build timeout to 60 hours.
* gnu/packages/gnuzilla.scm (nss)[properties]: Increase build timeout to
60 hours.
2016-10-03 22:05:32 -04:00
ng0 6adda006be
gnu: gnunet: Add inputs.
* gnu/packages/gnunet.scm (gnunet)[inputs]: Add perl, jansson, nss, gmp, bluez,
glib, libogg.
[native-inputs]: Move python-2 from here ...
[inputs]: ... to here.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-10-03 17:43:23 -04:00
Ludovic Courtès 9bee2bd1b0
lint: 'cve' checker reports the replacement's vulnerabilities.
Before, 'guix lint -c cve' would report the vulnerabilities of the
original package while pretending they are the vulnerabilities of the
replacement.

* guix/scripts/lint.scm (check-vulnerabilities): Consider the package
replacement before calling 'package-vulnerabilities'.
* tests/lint.scm ("cve: vulnerability fixed in replacement version"):
New test.
2016-10-03 23:30:49 +02:00
Ludovic Courtès 0f7cd95b81
gnu: gctp: 'license' field now has a <license> value.
* gnu/packages/maths.scm (gctp)[license]: Change to a <license> record.
2016-10-03 23:20:23 +02:00
Ludovic Courtès b1cb9f281a
gnu: libgcrypt@1.7: Replacement now has an accurate 'version' field.
* gnu/packages/gnupg.scm (libgcrypt-1.7.3)[version]: New field.
2016-10-03 23:16:48 +02:00
Ludovic Courtès 8389e6f06e
gnu: openssl@1.0: Replacement now has an accurate 'version' field.
* gnu/packages/tls.scm (openssl-1.0.2j)[name, version]: New fields.
2016-10-03 23:16:48 +02:00
Ludovic Courtès 57bdd79e48
grafts: Allow the replacement to have a different name.
* guix/build/graft.scm (replace-store-references): REPLACEMENT is now
the full string, not just the hash.
(rewrite-directory)[hash-mapping](valid-suffix?): Remove.
(hash+suffix): Rename to...
(hash+rest): ... this.  Change to return the whole string as the second
element of the list.  Adjust 'match-lambda' expression accordingly;
check whether the string length of the origin and replacement match.
* tests/grafts.scm ("graft-derivation, grafted item uses a different
name"): New test.
* doc/guix.texi (Security Updates): Update sentence on the name/version
restriction.
2016-10-03 23:16:48 +02:00
Leo Famulari 6524c1cfcf
gnu: libarchive: Incorporate grafted security patches.
* gnu/packages/backup.scm (libarchive)[source]: Add patches from
libarchive/fixed.
[replacement]: Remove field.
(libarchive/fixed): Remove variable.
2016-10-03 17:08:23 -04:00
Leo Famulari 9c2130757c
Merge branch 'master' into core-updates 2016-10-03 17:08:05 -04:00
Leo Famulari b38e97e03b
gnu: libarchive: Fix several security issues.
* gnu/packages/backup.scm (libarchive)[replacement]: New field.
(libarchive/fixed): New variable.
* gnu/packages/patches/libarchive-7zip-heap-overflow.patch,
gnu/packages/patches/libarchive-fix-symlink-check.patch,
gnu/packages/patches/libarchive-fix-filesystem-attacks.patch,
gnu/packages/patches/libarchive-safe_fprintf-buffer-overflow.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
2016-10-03 16:52:28 -04:00
Leo Famulari 85358aef8e
gnu: perl-dbd-mysql: Update to 4.037 [fixes CVE-2016-1246].
* gnu/packages/databases.scm (perl-dbd-mysql): Update to 4.037.
2016-10-03 14:39:11 -04:00
Ludovic Courtès d223ac4acc
tests: Adjust 'guix build -S' test for source-less packages.
This is a followup to 8a54c0ec69.

* tests/guix-build.sh: Allow 'guix build -S' to succeed with source-less
packages.  Check that the result is the empty string.
2016-10-03 15:24:21 +02:00
Ludovic Courtès 2b4363891c
tests: ssh: Add Dropbear test.
* gnu/tests/ssh.scm (run-ssh-test): Try authenticating with
'userauth-none!' when 'userauth-password!' fails.
(%test-dropbear): New variable.
2016-10-03 15:18:51 +02:00
Ludovic Courtès 0e59885060
tests: ssh: Generalize.
* gnu/tests/ssh.scm (%openssh-os): Rename to...
(%base-os): ... this.
[services]: Remove 'openssh-service-type' instance.
(os-with-service): New procedure.
(run-openssh-test): Rename to...
(run-ssh-test): ... this.  Add 'ssh-service' and 'pid-file' parameters.
Use 'os-with-service' to add SSH-SERVICE to %BASE-OS.  Honor PID-FILE.
(%test-openssh): Adjust accordingly.
2016-10-03 15:18:28 +02:00
Ludovic Courtès 26cfc415be
services: rottlog: Add Rottlog to the global profile.
* gnu/services/admin.scm (rottlog-service-type): Extend
PROFILE-SERVICE-TYPE.
2016-10-03 14:48:44 +02:00
Ludovic Courtès 4d67ed70a3
services: rottlog: Improve default weekly rotations.
* gnu/services/admin.scm (%rotated-files): Add "/var/log/maillog".
(syslog-rotation-config): Change parameter to 'files'.  Return a
string-append gexp for all of FILES.
(simple-rotation-config): Remove unnecessary 'postrotate' and
'endscript'.
(%default-rotations): Adjust accordingly.
2016-10-03 14:47:55 +02:00
Ludovic Courtès d5b0c9024e
tests: Add 'openssh-service-type' test.
* gnu/tests/ssh.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2016-10-03 00:38:28 +02:00
Ludovic Courtès d8f3128119
services: openssh-service-type: Expose 'openssh-configuration'.
* gnu/services/ssh.scm (<openssh-configuration>): Add default values.
[pubkey-authentication?]: Rename to...
[public-key-authentication?]: ... this.
(openssh-service): Remove.
* doc/guix.texi (Networking Services): Adjust accordingly.
2016-10-03 00:38:28 +02:00
Jan Nieuwenhuizen 92c03a8715
services: Add rottlog.
* gnu/services/admin.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* doc/guix.texi (Log Rotation): New node.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-10-03 00:38:28 +02:00
Ricardo Wurmus d79e8f65b5
gnu: ghc-process: Replace reference to /bin/sh.
* gnu/packages/haskell.scm (ghc-process)[arguments]: Add phases
"patch-reference-to-/bin/sh" to replace reference to /bin/sh.
2016-10-02 17:31:40 +02:00
Ricardo Wurmus 2d47cee25b
gnu: Do not propagate inputs in haskell.scm.
* gnu/packages/haskell.scm
(ghc-streaming-commons)[propagated-inputs]: Move ghc-random...
[inputs]: ...to here; remove ghc-async, add ghc-directory, add
ghc-transformers; move ghc-quickcheck, ghc-hspec...
[native-inputs]: ...to here; add hspec-discover.

(ghc-test-framework)[propagated-inputs]: Move all from here...
[inputs]: ...to here; move ghc-hunit and ghc-quickcheck...
[native-inputs]: ...to here.

(ghc-attoparsec)[propagated-inputs]: Move ghc-scientific...
[inputs]: ...to here; move ghc-quickcheck, ghc-quickcheck-unicode,
ghc-test-framework, ghc-test-framework-quickcheck2, ghc-vector...
[native-inputs]: ...to here.

(ghc-zip-archive)[propagated-inputs]: Move all inputs from here...
[inputs]: ...to here; move ghc-hunit from here...
[native-inputs]: ...to here.

(ghc-network-uri)[inputs]: Add ghc-parsec; move ghc-hunit from here...
[native-inputs]: ...to here.
[propagated-inputs]: Remove.

(ghc-wai)[propagated-inputs]: Move all inputs from here...
[inputs]: ...to here; move ghc-quickcheck, ghc-hunit, and ghc-hspec from
here...
[native-inputs]: ...to here.  Add hspec-discover.

(ghc-wai-extra)[propagated-inputs]: Remove ghc-hspec and ghc-hunit; move
all other inputs from here...
[inputs]: ...to here.
[native-inputs]: Add hspec-discover, ghc-hspec, and ghc-hunit.

(ghc-resourcet, ghc-xss-sanitize, ghc-parsec, ghc-vector, ghc-http,
ghc-base-compat, ghc-base-orphans, ghc-word8)[inputs]: Move all inputs
from here...
[native-inputs]: ...to here.

(ghc-haddock-library, ghc-hspec-contrib, ghc-base-compat,
ghc-base-orphans, ghc-fast-logger, ghc-word8, ghc-aeson-qq,
ghc-logging-facade, ghc-mockery, ghc-yaml, ghc-hslua)[native-inputs]:
Add hspec-discover.

(ghc-fast-logger)[inputs]: Move ghc-hspec from here...
[native-inputs]: ...to here.

(ghc-data-default,
ghc-data-default-instances-base,
ghc-data-default-instances-containers,
ghc-data-default-instances-dlist,
ghc-haddock-api,
ghc-happy,
ghc-haskell-src-exts,
ghc-resourcet,
ghc-xss-sanitize,
ghc-sdl-mixer,
ghc-sdl-image,
ghc-glut,
ghc-gluraw,
ghc-opengl,
cpphs,
ghc-old-time,
ghc-data-default-instances-old-locale,
cabal-install,
ghc-x11,
ghc-x11-xft,
ghc-hashable,
ghc-test-framework-hunit,
ghc-test-framework,
ghc-tf-random,
ghc-transformers-base,
ghc-unix-time,
ghc-http-types,
ghc-iproute,
ghc-regex-base,
ghc-regex-posix,
ghc-regex-tdfa-rc,
ghc-parsers,
ghc-trifecta,
ghc-distributive,
ghc-comonad,
ghc-polyparse,
ghc-profunctors,
ghc-reducers,
ghc-xml,
ghc-exceptions,
ghc-temporary,
ghc-temporary-rc,
ghc-smallcheck,
ghc-tasty-ant-xml,
ghc-quickcheck-instances,
ghc-quickcheck,
ghc-case-insensitive,
ghc-chasingbottoms,
ghc-unordererd-containers,
ghc-uniplate,
ghc-ansi-wl-pprint,
ghc-parsec,
ghc-vector,
ghc-vector-binary-instances,
ghc-http,
ghc-hspec,
ghc-hspec-contrib,
ghc-hspec-core,
ghc-hspec-meta,
ghc-vault,
ghc-monad-control,
ghc-blaze-builder,
ghc-blaze-markup,
ghc-blaze-html,
ghc-async,
ghc-optparse-applicative,
ghc-charset,
ghc-void,
ghc-kan-extensions,
ghc-statevar,
ghc-lens,
ghc-cheapskate,
ghc-semigroupoids,
ghc-contrvariant,
ghc-semigroups,
ghc-free,
ghc-adjunctions,
ghc-fast-logger,
ghc-doctest,
ghc-lifted-base,
ghc-tasty-quickcheck,
ghc-tasty-golden,
ghc-tasty,
ghc-cookie,
ghc-scientific,
ghc-aeson,
ghc-wai-logger,
ghc-pandoc-types,
ghc-texmath,
ghc-regex-pcre-builtin,
ghc-highlighting-kate,
ghc-cmark,
ghc-enclosed-exceptions,
ghc-th-lift,
ghc-th-expand-syns,
ghc-th-reify-many,
ghc-th-orphans,
ghc-haskell-src-meta,
ghc-aeson-qq,
ghc-conduit,
ghc-mockery,
ghc-yaml,
ghc-filemanip,
ghc-juicypixels,
ghc-hslua,
ghc-mime-types,
ghc-http-client,
ghc-hourglass,
ghc-pem,
ghc-asn1-types,
ghc-asn1-encoding,
ghc-asn1-parse,
ghc-tasty-kat,
ghc-cryptonite,
ghc-x509,
ghc-x509-store,
ghc-x509-validation,
ghc-x509-system,
ghc-tls,
ghc-socks,
ghc-connection,
ghc-http-client-tls,
ghc-pandoc)[propagated-inputs]: Move inputs from here...
[inputs]: ...to here.
2016-10-02 17:31:39 +02:00
Ricardo Wurmus 88cf917b74
gnu: r-plotly: Update to 4.5.2.
* gnu/packages/statistics.scm (r-plotly): Update to 4.5.2.
[propagated-inputs]: Remove r-plyr; remove r-viridis; add r-dplyr; add
r-lazyeval; add r-purrr; add r-tibble; add r-viridislite.
2016-10-02 17:31:39 +02:00
Ricardo Wurmus a3c6445be5
gnu: Add r-purrr.
* gnu/packages/statistics.scm (r-purrr): New variable.
2016-10-02 17:31:39 +02:00
Ricardo Wurmus c6ab73e8ff
gnu: Add r-viridislite.
* gnu/packages/statistics.scm (r-viridislite): New variable.
2016-10-02 17:31:36 +02:00
Mark H Weaver 6a703976f4
gnu: libotf: Fix source URI.
* gnu/packages/fontutils.scm (libotf)[source]: Fix suorce URI.
2016-10-02 10:49:22 -04:00
Ludovic Courtès e543c8a2c6
gnu: bash-minimal: Remove 'move-development-files' phase.
* gnu/packages/bash.scm (bash-minimal)[arguments]: Delete
'move-development-files' phase.
(static-bash)[arguments]: Remove deletion of 'move-development-files'
phase.
2016-10-02 15:16:21 +02:00
Ben Woodcroft 4bdc3df92d
gnu: vsearch: Update to 2.1.2.
* gnu/packages/bioinformatics.scm (vsearch): Update to 2.1.2.
2016-10-02 22:25:39 +10:00
Efraim Flashner 10bc741619
gnu: ffmpeg: Update to 3.1.4.
* gnu/packages/video.scm (ffmpeg): Update to 3.1.4.
2016-10-02 11:38:32 +03:00
Mark H Weaver 79992a3e6f
gnu: linux-libre: Update to 4.7.6.
* gnu/packages/linux.scm (linux-libre): Update to 4.7.6.
2016-10-01 18:22:43 -04:00
Mark H Weaver 2bfa61c034
gnu: linux-libre@4.4: Update to 4.4.23.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.23.
2016-10-01 18:20:28 -04:00
Ricardo Wurmus 09a86196e9
gnu: guitarix: Update to 0.35.1.
* gnu/packages/audio.scm (guitarix): Update to 0.35.1.
2016-10-01 22:31:10 +02:00
Ricardo Wurmus 89fa2219a7
gnu: eigen: Update to 3.2.9.
* gnu/packages/algebra.scm (eigen): Update to 3.2.9.
2016-10-01 21:36:36 +02:00
Ricardo Wurmus d70f5139da
gnu: julia: Update to 0.5.0.
* gnu/packages/julia.scm (libuv-julia): Update to commit
8d5131b6c1595920dd30644cd1435b4f344b46c8.
(libunwind-for-julia): New variable.
(julia): Update to 0.5.0.
[arguments]: Disable stripping of binaries; modify "prepare-deps" phase;
add "fix-llvm-flag" phase; add "set-home" phase; adjust
"hardcode-soname-map" phase; remove fix for "double-conversion" from
"fix-include-and-link-paths" phase; enable "repl" and "replcompletions"
tests; disable "backtrace", "compile", "replutil", and "cmdlineargs"
tests; remove USE_SYSTEM_RMATH flag; remove USE_SYSTEM_GRISU flag.
[inputs]: Replace "llvm-3.5" with "llvm"; replace "libunwind" with
"libunwind-for-julia"; remove "double-conversion"; remove "rmath-julia";
update "suitesparse" origin; replace "virtualenv" origin with
"python2-virtualenv".
[native-inputs]: Add "openssl".
2016-10-01 21:36:36 +02:00
Ricardo Wurmus 9b72ce60fb
gnu: utf8proc: Update to 2.0.2.
* gnu/packages/textutils.scm (utf8proc): Update to 2.0.2.
2016-10-01 21:36:35 +02:00
Leo Famulari 917de2511b
gnu: gd: Fix CVE-2016-7568.
* gnu/packages/patches/gd-CVE-2016-7568.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gd.scm (gd)[source]: Use it.
2016-10-01 12:27:37 -04:00
Ludovic Courtès 5bde29685b
gnu: perl: Make builds reproducible again.
* gnu/packages/patches/perl-reproducible-build-date.patch: Add hunks to
set 'myuname', 'cf_time', and 'cf_by' in 'Configure'.
2016-10-01 15:20:08 +02:00
Ben Woodcroft 156c0810e9
gnu: perl: Enable threading support.
* gnu/packages/perl.scm (perl)[arguments]: Configure with '-Dusethreads'.
* gnu/packages/commencement.scm (perl-boot0)[arguments]: Omit inherited
'-Dusethreads' flag during configure.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-10-01 14:34:33 +02:00
Ben Woodcroft 56ee1d2015
gnu: perl: Use configure-flags.
* gnu/packages/perl.scm (perl)[arguments]: Use configure-flags.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-10-01 14:34:31 +02:00
Ludovic Courtès 8d29bfa9fc
gnu: bash-minimal: Disable loadable module support.
* gnu/packages/bash.scm (bash-minimal)[arguments]: Add
'ac_cv_func_dlopen=no' to #:configure-flags.
2016-10-01 12:15:02 +02:00
Ludovic Courtès 712b62d8f7
gnu: make-boot0: Use 'install-file'.
* gnu/packages/commencement.scm (gnu-make-boot0)[arguments]: Use
'install-file' in 'install' phase instead of 'copy-file' etc.
2016-10-01 11:55:09 +02:00
Ludovic Courtès 8e5e8724d2
gnu: make-boot0: Use 'modify-phases'.
* gnu/packages/commencement.scm (gnu-make-boot0)[arguments]: Use
'modify-phases'.
2016-10-01 11:55:09 +02:00
John Darrington d31860b9de
build-system/gnu: Add 'patch-dot-desktop-files' phase.
* guix/build/gnu-build-system.scm (patch-dot-desktop-files): New
procedure.
(%standard-phases): Add it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-10-01 11:55:06 +02:00
John Darrington 43f7af428e
gnu: rpcbind-configuration: Rename pkg to nfs-utils
* gnu/services/nfs.scm (<rpcbind-configuration>): "pkg" --> "nfs-utils"
2016-10-01 09:26:07 +02:00
Ivan Vilata i Balaguer 37356e0bf8
gnu: Add quickswitch-i3.
* gnu/packages/wm.scm (quickswitch-i3): New variable.
* gnu/packages/patches/quickswitch-fix-dmenu-check.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-10-01 10:56:11 +08:00
Ivan Vilata i Balaguer c165591d47
gnu: Add python-i3-py.
* gnu/packages/wm.scm (python-i3-py, python2-i3-py): New variables.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-10-01 10:44:44 +08:00