Commit Graph

21919 Commits

Author SHA1 Message Date
Ludovic Courtès afd06f605b
environment: Disable profile collision checks.
Reported by Efraim Flashner.
This is a followup to a654dc4bcf.

* guix/profiles.scm (profile-derivation): Add #:allow-collisions? and
honor it.
* guix/scripts/environment.scm (inputs->profile-derivation): Pass
 #:allow-collisions? #f to 'profile-derivation'.
* tests/guix-environment.sh: Test "guix environment guix".
2017-06-21 16:53:22 +02:00
Ludovic Courtès cba988ed85
gnu: a2ps: Build reproducibly.
* gnu/packages/pretty-print.scm (a2ps)[source](modules, snippet): New
fields.
2017-06-21 16:33:51 +02:00
Ludovic Courtès 44fa0dbec7
services: network-manager: Specify a default value.
* gnu/services/networking.scm (network-manager-service-type)[default-value]:
New field.
2017-06-21 14:52:30 +02:00
Ludovic Courtès 2e2b5ad7bb
profiles: Move 'manifest-entry-dependencies' user after definition.
Reported by Efraim Flashner.

* guix/profiles.scm (manifest-transitive-entries): Move after
<manifest-entry> definition.
2017-06-21 11:59:33 +02:00
Efraim Flashner 1804d21017
gnu: efl: Add missing inputs.
* gnu/packages/enlightenment.scm (efl)[inputs]: Add libxau, libxdamage,
libxfixes, libxrender. Remove libxkbfile.
2017-06-21 12:31:10 +03:00
Ludovic Courtès 8c9e90debf
guix package: '--search-paths' shows search paths from propagated inputs.
* guix/scripts/package.scm (process-query) <'search-paths>: Use
'manifest-transitive-entries' instead of 'manifest-entries'.
2017-06-21 11:05:53 +02:00
Ludovic Courtès a654dc4bcf
profiles: Catch and report collisions in the profile.
* guix/profiles.scm (&profile-collision-error): New error condition.
(manifest-transitive-entries, manifest-entry-lookup, lower-manifest-entry)
(check-for-collisions): New procedures.
(profile-derivation): Add call to 'check-for-collisions'.
* guix/ui.scm (call-with-error-handling): Handle '&profile-collision-error'.
* tests/profiles.scm ("collision", "collision of propagated inputs")
("no collision"): New tests.
2017-06-21 11:05:53 +02:00
Ludovic Courtès 81e3485c0d
guix package: Always upgrade packages that have propagated inputs.
* guix/scripts/package.scm (transaction-upgrade-entry): Always upgrade
packages that have propagated inputs.
2017-06-21 11:05:53 +02:00
Ludovic Courtès b3a00885c0
profiles: Manifest entries keep a reference to their parent entry.
* guix/profiles.scm (<manifest-entry>)[parent]: New field.
(package->manifest-entry): Add #:parent parameter.  Fill out the
'parent' field of <manifest-entry>; pass #:parent in recursive calls.
* guix/profiles.scm (sexp->manifest)[sexp->manifest-entry]: New
procedure.  Use it for version 3.
* tests/profiles.scm ("manifest-entry-parent"): New procedure.
("read-manifest")[entry->sexp]: Add 'manifest-entry-parent' to the
result.
2017-06-21 11:05:52 +02:00
Ludovic Courtès 55b4715fd4
profiles: Represent propagated inputs as manifest entries.
* guix/profiles.scm (package->manifest-entry): Turn DEPS into a list of
manifest entries.
(manifest->gexp)[entry->gexp]: Call 'entry->gexp' on DEPS.
Bump version to 3.
(sexp->manifest)[infer-dependency]: New procedure.
Use it for versions 1 and 2.  Parse version 3.
(manifest-inputs)[entry->gexp]: New procedure.
Adjust to 'dependencies' being a list of <manifest-entry>.
* tests/profiles.scm ("packages->manifest, propagated inputs")
("read-manifest"): New fields.
2017-06-21 11:05:52 +02:00
Ludovic Courtès a431929d3d
gnu: unbound: Do not build static libraries.
* gnu/packages/dns.scm (unbound)[arguments]: Add "--disable-static" to
  #:configure-flags.  Suggested by Gregor Giesen <giesen@zaehlwerk.net>.
2017-06-21 11:05:52 +02:00
Roel Janssen fa3f5f472c
gnu: Add python-regex.
* gnu/packages/python.scm (python-regex, python2-regex): New variables.
2017-06-21 10:36:07 +02:00
Mathieu Othacehe a48a20fb98
tests: Add extlinux gpt test.
* gnu/tests/install.scm (%test-installed-extlinux-os): New exported
  variable.
(%minimal-extlinux-os, %minimal-extlinux-os-source): New variables.
(%extlinux-gpt-installation-script): New variable.
(run-install)[packages]: New argument. The packages specified are
appended to the installation image.
2017-06-21 09:57:12 +02:00
Mathieu Othacehe dbaef95aab
bootloader: extlinux: Add extlinux-bootloader-gpt.
* gnu/bootloader/extlinux.scm (extlinux-bootloader-gpt): New exported
  variable.
 (install-extlinux)[mbr]: New argument.
 (install-extlinux-mbr, install-extlinux-gpt): New variables.
 (extlinux-bootloader)[installer]: Use install-extlinux-mbr.
2017-06-21 09:57:12 +02:00
Mekeor Melire cffaca959a
gnu: xmonad: Update to 0.13.
* gnu/packages/wm.scm (xmonad): Update to 0.13.
[inputs]: Add ghc-directory.
(ghc-xmonad-contrib): Update to 0.13.
2017-06-21 09:35:39 +02:00
Mekeor Melire 48ca045c8d
gnu: ghc-x11: Update to 1.8.
* gnu/packages/haskell.scm (ghc-x11): Update to 1.8.
2017-06-21 09:35:17 +02:00
Efraim Flashner 6d96af5eaa
gnu: busybox: Fix indentation.
* gnu/packages/busybox.scm (busybox)[arguments]: Whitespace changes.
2017-06-21 10:13:39 +03:00
Efraim Flashner 5897428f1c
gnu: busybox: Update to 1.26.2.
* gnu/packages/busybox.scm (busybox): Update to 1.26.2.
2017-06-21 10:10:39 +03:00
Efraim Flashner d2885c8392
gnu: cvs-fast-export: Update to 1.43.
* gnu/packages/version-control.scm (cvs-fast-export): Update to 1.43.
[arguments]: Add phases to not build architecture-specific optimized
code and to force python-2. Disable parallel building.
2017-06-21 09:55:52 +03:00
Kei Kebreau ca508f1cfb
gnu: openttd: Add 'install-data' phase.
* gnu/packages/games.scm (openttd)[arguments]: Add it.
[native-inputs]: Add openttd-opengfx.
2017-06-20 19:50:27 -04:00
Kei Kebreau 4df9495e68
gnu: Add openttd-opengfx.
* gnu/packages/games.scm (openttd-opengfx): New variable.
2017-06-20 19:50:27 -04:00
Kei Kebreau 94a66dd92a
gnu: Add grfcodec.
* gnu/packages/game-development.scm (grfcodec): New variable.
2017-06-20 19:50:27 -04:00
Kei Kebreau 2f6e988da3
gnu: Add dos2unix.
* gnu/packages/textutils.scm (dos2unix): New variable.
2017-06-20 19:50:27 -04:00
Kei Kebreau 7357fcf286
gnu: Add nml.
* gnu/packages/game-development.scm (nml): New variable.
2017-06-20 19:50:19 -04:00
Ludovic Courtès 92321b76a6
gnu: wine64: Remove redundant description.
* gnu/packages/wine.scm (wine64)[description]: Remove.
2017-06-20 23:41:13 +02:00
Rutger Helling b3623b6fe7
gnu: Add nzbget.
* gnu/packages/networking.scm (nzbget): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-06-20 23:41:00 +02:00
Rutger Helling 7e9e1a36b0
gnu: tor: Add seccomp support.
* gnu/packages/tor.scm (tor)[inputs]: Add libseccomp.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-06-20 23:40:07 +02:00
Gregor Giesen 7e61a16c97
gnu: Add unbound.
* gnu/packages/dns.scm (unbound): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-06-20 23:40:07 +02:00
Marius Bakke e2de6bbdd5
gnu: xf86-video-intel: Update to 2.99.917-6-6babcf1.
Consult this URL for changes since the last update (six commits):

<https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/log/?qt=range&q=b57abe20e81f4b8e4dd203b6a9eda7ff441bc8ce..6babcf15dd605ef40de53f5c34f95b7fd195edbe>

* gnu/packages/xorg.scm (xf86-video-intel): Update to 2.99.917-6-6babcf1.
2017-06-20 22:48:57 +02:00
Rutger Helling b3ebd24162
gnu: Add wine64.
* gnu/packages/wine.scm (wine64): New variable.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2017-06-20 22:33:09 +02:00
Marius Bakke 3f56740d72
gnu: nasm: Update to 2.13.01.
* gnu/packages/assembly.scm (nasm): Update to 2.13.01.
[arguments]: Adjust Makefile substitutions.
2017-06-20 22:16:45 +02:00
Marius Bakke fe435b3af6
gnu: gstreamer: Update to 1.12.1.
* gnu/packages/gstreamer.scm (gstreamer, gst-plugins-base, gst-plugins-good,
gst-plugins-bad, gst-plugins-ugly, gst-libav, python-gst, python2-gst): Update
to 1.12.1.
2017-06-20 19:16:53 +02:00
Marius Bakke 4afd813711
gnu: c-ares: Update to 1.13.0 [fixes CVE-2017-1000381].
* gnu/packages/adns.scm (c-ares): Update to 1.13.0.
2017-06-20 19:04:06 +02:00
Arun Isaac 148585c240
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-20 18:10:35 +05:30
Mark H Weaver 2e701cd384
gnu: linux-libre-arm-generic: Add mitigation for CVE-2017-1000364.
This is a followup to commit 91c623aae0.

* gnu/packages/linux.scm (linux-libre-arm-generic): Add patch to mitigate
CVE-2017-1000364.
2017-06-20 03:38:35 -04:00
Nicolas Goaziou 53321ad388
gnu: giac-xcas: Update to 1.2.3-51.
* gnu/packages/algebra.scm (giac-xcas): Update to 1.2.3-51.
2017-06-20 08:51:58 +02:00
Danny Milosavljevic 5f3d46ce67
gnu: rustc: Enable tests.
* gnu/packages/rust.scm (rustc)[source]: Remove bundled llvm.
[native-inputs]: Add bison, flex, procps.
[inputs]: Update llvm to llvm-3.9.1.
[arguments]: Patch and enable tests.
2017-06-20 07:18:01 +02:00
Mark H Weaver 16b0f205cf
gnu: guile@2.2: Increase max-silent-time to 10 hours.
* gnu/packages/guile.scm (guile-2.2)[properties]: Increase max-silent-time to
10 hours.
2017-06-20 00:23:00 -04:00
Mark H Weaver 91c623aae0
gnu: linux-libre: Add mitigation for CVE-2017-1000364.
This increases the stack guard gap size from one page to 1 MiB in
linux-libre-4.11, 4.9, and 4.4, to mitigate CVE-2017-1000364 (Stack Clash).

* gnu/packages/linux.scm (linux-libre, linux-libre-4.9, linux-libre-4.4): Add
patch.
2017-06-19 23:26:59 -04:00
Leo Famulari 53c2dc3108
gnu: exim: Update to 4.89.
* gnu/packages/mail.scm (exim): Update to 4.89.
2017-06-19 20:20:57 -04:00
Leo Famulari 4dd8d28085
gnu: exim: Fix CVE-2017-1000369.
* gnu/packages/patches/exim-CVE-2017-1000369.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/mail.scm (exim)[source]: Use it.
2017-06-19 20:20:54 -04:00
Ludovic Courtès e037e9dbec
store: Buffer RPC writes.
For a command like:

  guix build python2-numpy -n

this reduces the number of 'write' syscalls from 9.5K to 2.0K.

* guix/store.scm (<nix-server>)[buffer, flush]: New fields.
(open-connection): Adjust accordingly.  Call 'buffering-output-port' to
compute the two new fields.
(write-buffered-output, buffering-output-port): New procedures.
(operation): Write to (nix-server-output-port server).  Call
'write-buffered-output'.
2017-06-19 23:23:14 +02:00
Nicolas Goaziou ec450c3642
gnu: wireshark: Update to 2.2.7.
* gnu/packages/networking.scm (wireshark): Update to 2.2.7.
2017-06-19 23:01:12 +02:00
Leo Famulari 030f3219c3
gnu: httpd: Update to 2.4.26 [fixes CVE-2017-7659].
* gnu/packages/web.scm (httpd): Update to 2.5.26.
2017-06-19 16:49:11 -04:00
Efraim Flashner 299b05254f
gnu: glpk: Update to 4.62.
* gnu/packages/maths.scm (glpk): Update to 4.62.
2017-06-19 22:07:15 +03:00
Leo Famulari fed1898d4e
gnu: certbot: Build with Python 3.
* gnu/packages/tls.scm (certbot): Use python-3 to build.
[native-inputs, propagated-inputs]: Use Python 3 variants of dependencies. Use
python-mock-2.
2017-06-19 13:07:20 -04:00
Leo Famulari 731b0c727c
gnu: Add python-mock-2.
* gnu/packages/python.scm (python-mock-2): New variable.
2017-06-19 13:07:20 -04:00
Efraim Flashner 7e60206dff
gnu: enlightenment: Patch more hardcoded paths.
* gnu/packages/enlightenment.scm (enlightenment)[arguments]: Patch
hardcoded paths to mount, umount, eject, halt, reboot.
[native-inputs]: Add util-linux.
2017-06-19 09:50:45 +03:00
Ricardo Wurmus 00f037ca44
build-system/texlive: Update to texlive-2017.1, revision 44591.
* guix/build-system/texlive.scm (%texlive-tag): Change to texlive-2017.1.
(%texlive-revision): Change to 44591.
2017-06-19 08:22:04 +02:00
Ricardo Wurmus 83474718f2
gnu: texlive-latex-l3packages: Update to revision 44591.
* gnu/packages/tex.scm (texlive-latex-l3packages): Update to revision 44591.
2017-06-19 08:22:04 +02:00