Commit Graph

18273 Commits

Author SHA1 Message Date
Ludovic Courtès 328f7cbe43
daemon: Define 'NIX_STORE' before invoking 'guix perform-download'.
Reported by rohit yadav <rohityadav@utexas.edu>
at <https://lists.gnu.org/archive/html/guix-devel/2017-02/msg00191.html>.

This fixes a regression whereby 'guix perform-download' would always see
NIX_STORE as unset and thus use "/gnu/store", leading it to miscompute
the hydra.gnu.org content-addressed URLs when the store file name is not
"/gnu/store".

* nix/libstore/builtins.cc (builtinDownload): Add 'setenv' call for
'NIX_STORE'.
2017-02-07 14:51:17 +01:00
Ludovic Courtès ef753a1a8f
gnu: grub-efi: Really build the EFI variant.
Fixes a regression introduced in
d846834fc2 where '--with-platform=efi'
would no longer be passed.

* gnu/packages/grub.scm (grub-efi)[arguments]: Provide a default value
for #:configure-flags.
2017-02-07 11:15:33 +01:00
Mark H Weaver 6f48d9db10
gnu: epiphany: Update to 3.22.6 [security update].
See <https://bugzilla.gnome.org/show_bug.cgi?id=752738>.

* gnu/packages/gnome.scm (epiphany): Update to 3.22.6.
[arguments]: Add #:configure-flags '("CFLAGS=-std=gnu99").
2017-02-06 22:25:18 -05:00
Ludovic Courtès a062b6ca99
services: bitlbee: Run in a container.
* gnu/services/networking.scm (bitlbee-shepherd-service): Wrap in
'with-imported-modules' and add 'modules' field.  Use
'make-forkexec-constructor/container' and pass #:mappings.
2017-02-07 00:08:11 +01:00
Ludovic Courtès 63302a4e55
Add (gnu build shepherd).
* gnu/build/shepherd.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2017-02-07 00:08:11 +01:00
Ludovic Courtès c90db25f4c
linux-container: Add 'container-excursion*'.
* gnu/build/linux-container.scm (container-excursion*): New procedure.
* tests/containers.scm ("container-excursion*")
("container-excursion*, same namespaces"): New tests.
2017-02-07 00:08:10 +01:00
Ludovic Courtès b9a5efa596
services: bitlbee: Read the PID file.
* gnu/services/networking.scm (bitlbee-shepherd-service): Pass
  #:pid-file to 'make-forkexec-constructor'.
2017-02-07 00:08:10 +01:00
Ludovic Courtès f2c66fbe1f
bash completion: Complete subcommands for the current word.
* etc/completion/bash/guix (_guix_complete_subcommand): Refer to
the $COMP_CWORD element instead of the last element.
2017-02-07 00:08:10 +01:00
Ludovic Courtès a93c1c5921
bash completion: Properly complete 'guix container exec'.
* etc/completion/bash/guix (_guix_complete_pid): New function.
(_guix_complete): Add case for "container".
2017-02-07 00:08:10 +01:00
Ludovic Courtès e109ed3922
bash completion: Complete file names after 'guix system COMMAND'.
* etc/completion/bash/guix (_guix_complete): When the command is
"system" and $COMP_CWORD > 2, use _guix_complete_file.
2017-02-07 00:08:10 +01:00
Ludovic Courtès 3454f7edf9
bash completion: Complete 'guix gc' with file names.
Reported by a couple of cool folks at a bar in Brussels.

* etc/completion/bash/guix (_guix_complete): Use '_guix_complete_file'
for 'guix gc'.  This fixes completion of 'guix gc -d'.
2017-02-07 00:08:10 +01:00
Ludovic Courtès 7597478e2e
file-systems: Add '%network-configuration-files' and '%network-file-mappings'.
* gnu/system/file-systems.scm (%network-configuration-files)
(%network-file-mappings): New variables.
* guix/scripts/environment.scm (%network-configuration-files): Remove.
(launch-environment/container): Refer to '%network-file-mappings'
instead of calling 'filter-map'.
2017-02-07 00:08:10 +01:00
Marius Bakke a24fda8114
gnu: bdb: Correct license.
* gnu/packages/databases.scm (bdb)[license]: Replace with up-to-date
information. Move previous contents to ...
(bdb-5.3)[license]: ... here.
2017-02-06 17:33:58 +01:00
Marius Bakke 5f0f368630
gnu: dosfstools: Update to 4.1.
* gnu/packages/disk.scm (dosfstools): Update to 4.1.
[arguments]: Enable tests.
[native-inputs]: Add VIM.
2017-02-06 14:22:16 +01:00
Marius Bakke d846834fc2
gnu: grub: Update to 2.02rc1.
* gnu/packages/grub.scm (grub, grub-efi): Update to 2.02rc1.
[arguments]: Don't disable grub_func_test. Remove #:configure-flags.
2017-02-06 14:22:16 +01:00
Leo Famulari 686d425904
gnu: certbot, python-acme: Update to 0.11.1.
* gnu/packages/tls.scm (python-acme, python2-acme): Update to 0.11.1.
(certbot): Update to 0.11.1.
[version]: Use python-acme's version.
2017-02-06 13:46:45 +01:00
Leo Famulari 6edc15798d
gnu: tcpdump: Fetch source from tcpdump.org.
* gnu/packages/admin.scm (tcpdump)[source]: Remove temporary alternate URL.
2017-02-06 13:08:59 +01:00
Marius Bakke 416c57f071
gnu: ddrescue: Update to 1.22.
* gnu/packages/disk.scm (ddrescue): Update to 1.22.
[home-page]: Use HTTPS.
2017-02-06 12:03:27 +01:00
Sergei Trofimovich cc1c3977d5
gnu: Add re2c.
* gnu/packages/re2c.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add re2c.scm.

CC: ng0 <contact.ng0@cryptolab.net>
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-02-06 10:51:25 +01:00
Sergei Trofimovich 1ca0f20a7d
config-daemon.ac: detect host AR
The problem is seen when we try to use explicit host:

    ./configure --prefix=/usr --localstatedir=/var/lib --host=x86_64-pc-linux-gnu
    make V=1

Before the change:
    ar cru libstore.a nix/libstore/libstore_a-gc.o
After the change:
    x86_64-pc-linux-gnu-ar cru libstore.a

* config-daemon.ac: use AM_PROG_AR to detect host AR

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-02-06 10:51:25 +01:00
Ludovic Courtès 36c4917c91
linux-container: Add comment on exception handling.
* gnu/build/linux-container.scm (run-container): Add note about writing
the exceptions.
2017-02-06 10:51:25 +01:00
Ludovic Courtès 168aba2978
linux-container: Do not rely on 'isatty?'.
This avoids problems where 'isatty?' return #t but 'ttyname' fails with
ENOTTY or such.

* gnu/build/linux-container.scm (mount-file-systems): Remove call of
'isatty?'.  Directly call 'ttyname' and catch 'system-error'.
2017-02-06 10:51:25 +01:00
Danny Milosavljevic e69dc54559
gnu: xonsh: Update to 0.5.3.
* gnu/packages/shell.scm (xonsh): Update to 0.5.3.
2017-02-06 10:24:24 +01:00
Danny Milosavljevic 15308f6dc3
gnu: u-boot: Update to 2017.01.
* gnu/packages/u-boot.scm (u-boot): Update to 2017.01.
2017-02-06 10:00:24 +01:00
Danny Milosavljevic 40c4e3bbda
gnu: u-boot: Use scandir.
* gnu/packages/u-boot.scm (make-u-boot-package): Modify.
2017-02-06 09:53:20 +01:00
Leo Famulari 2d92eca154
gnu: imagemagick: Update to 6.9.7-7.
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.7-7.
2017-02-06 03:22:55 +01:00
Leo Famulari dd2c73f6a0
gnu: wget: Use libidn2.
Suggested by Efraim Flashner <efraim@flashner.co.il>.

Fixes support for internationalized domain names.

* gnu/packages/wget.scm (wget)[inputs]: Replace libidn with libidn2.
2017-02-06 02:33:39 +01:00
Leo Famulari 0418ff7a37
gnu: libidn2: Update to 0.16.
* gnu/packages/libidn.scm (libidn2): Update to 0.16.
[inputs]: Add libunistring.
2017-02-06 02:33:31 +01:00
Mark H Weaver 2b742c2bb0
gnu: linux-libre: Update to 4.9.8.
* gnu/packages/linux.scm (%linux-libre-version, %linux-libre-hash)
(linux-libre): Update to 4.9.8.
2017-02-05 01:22:44 -05:00
Mark H Weaver f719fe5219
gnu: linux-libre@4.4: Update to 4.4.47.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.47.
2017-02-05 01:20:55 -05:00
José Miguel Sánchez García d160698319
gnu: youtube-dl: Update to 2017.02.01
* gnu/packages/video.scm (youtube-dl): Update to 2017.02.01.
2017-02-04 14:53:15 +01:00
ng0 1a0a5509dd
gnu: Add python-lzo.
* gnu/packages/compression.scm (python-lzo): New variable.

Co-authored-by: Danny Milosavljevic <dannym@scratchpost.org>
2017-02-04 14:45:31 +01:00
ng0 1ae60db842
gnu: Add python-lz4.
* gnu/packages/compression.scm (python-lz4): New variable.
2017-02-04 14:45:31 +01:00
Marius Bakke 706998e73a
gnu: xscreensaver: Update license URI.
* gnu/packages/xdisorg.scm (xscreensaver)[license]: Point to current URL.
2017-02-04 10:45:41 +01:00
Marius Bakke 744dcb4910
gnu: redshift: Remove uneeded input.
This is a followup to b4c400a75c.

* gnu/packages/xdisorg.scm (redshift): Remove LIBJPEG.
2017-02-04 10:43:45 +01:00
Marius Bakke 38eefbb185
gnu: wget: Update to 1.19.
* gnu/packages/wget.scm (wget): Update to 1.19.
[home-page]: Use HTTPS.
2017-02-04 10:14:43 +01:00
Ben Woodcroft 182dde82ed
gnu: cddlib: Fix source URI.
* gnu/packages/maths.scm (cddlib)[source]: Update source URI.
2017-02-04 15:26:26 +10:00
Ludovic Courtès ad167d028e
file-systems: Remove dependency on (guix store).
(gnu system file-systems) is used on the "build" side since commit
5970e8e248.

* gnu/system/file-systems.scm: Remove dependency on (guix store).
(%store-prefix): New procedure.
* tests/file-systems.scm ("does not pull (guix config)"): New test.
2017-02-04 02:13:43 +01:00
Ludovic Courtès cf98d342b0
activation: Set the right owner for home directories.
This fixes a regression introduced in
ae763b5b0b whereby home directories and
skeletons would be root-owned.

* gnu/build/activation.scm (copy-account-skeletons): Make 'directory' a
keyword parameter.  Add #:uid and #:gid and honor them.
[set-owner]: New procedure.
(activate-user-home): Add call to 'getpw' and 'chown'.  Pass UID and GID
to 'copy-account-skeletons'.
* gnu/tests/base.scm (run-basic-test)["skeletons in home directories"]:
Test file ownership under HOME.
2017-02-04 02:13:43 +01:00
Tobias Geerinckx-Rice 33f7b5d20e
gnu: vim: Update to 8.0.0300.
* gnu/packages/vim.scm (vim): Update to 8.0.0300.
2017-02-04 00:27:44 +01:00
Efraim Flashner dfb493ceed
gnu: abcde: Update to 2.8.1.
* gnu/packages/cdrom.scm (abcde): Update to 2.8.1.
2017-02-03 22:33:49 +02:00
Efraim Flashner 1ac675a583
gnu: p7zip: Fix CVE-2016-9256.
* gnu/packages/compression.scm (p7zip)[source]: Add patch.
* gnu/packages/patches/p7zip-CVE-2016-9296.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2017-02-03 22:17:41 +02:00
Efraim Flashner b352b57655
gnu: qemu: Patch CVE-2017-{2615, 5578, 5579, 5856}.
* gnu/packages/qemu.scm (qemu)[source]: Add patches.
* gnu/packages/patches/qemu-CVE-2017-2615,
gnu/packages/patches/qemu-CVE-2017-5578,
gnu/packages/patches/qemu-CVE-2017-5579,
gnu/packages/patches/qemu-CVE-2017-5856: New files.
* gnu/local.mk (dist_patch_DATA): Register them.
2017-02-03 21:56:35 +02:00
Thomas Danckaert 3e9750c368
gnu: Add emacs-mew.
* gnu/packages/mail.scm (emacs-mew): New variable.

Co-authored-by: Alex Kost <alezost@gmail.com>
2017-02-03 22:50:20 +03:00
Adonay Felipe Nogueira efc12a81ad
gnu: abbaye: Update to 2.0.1.
* gnu/packages/games.scm: (abbaye): Update to 2.0.1.
[snippet]: Delete the bundled fonts.
[arguments]: Adjust 'patch-makefile' phase to patch only Makefile.  Add
"CC" make flag.
[inputs]: Use only required sdl2 packages.
[home-page]: Update to the new location.
[license]: Use the proper license.

Signed-off-by: Alex Kost <alezost@gmail.com>
2017-02-03 22:50:20 +03:00
Raoul Jean Pierre Bonnal c6dced88f2
gnu: Add r-rann.
* gnu/packages/statistics.scm (r-rann): New variable.

Signed-off-by: Kei Kebreau <kei@openmailbox.org>
2017-02-03 14:21:22 -05:00
Raoul Jean Pierre Bonnal 37337699d7
gnu: Add r-randomforest.
* gnu/packages/statistics.scm (r-randomforest): New variable.

Signed-off-by: Kei Kebreau <kei@openmailbox.org>
2017-02-03 14:12:51 -05:00
Efraim Flashner f2de078a10
gnu: git: Update to 2.11.1.
* gnu/packages/version-control.scm (git): Update to 2.11.1.
2017-02-03 19:54:30 +02:00
Efraim Flashner effd7198b9
gnu: zpaq: Tune for 'generic-armv7-a' on armhf.
* gnu/packages/compression.scm (zpaq)[arguments]: Change the CXXFLAGS so
on armhf-linux we build with '-mtune=generic-armv7-a' and not '-mtune=generic'.
2017-02-03 19:17:47 +02:00
Tobias Geerinckx-Rice 89eb56f05f
gnu: fish: Update to 2.5.0.
* gnu/packages/shells.scm (fish): Update to 2.5.0.
[native-inputs]: Add autoconf, automake, and libtool.
[arguments]: Add ‘bootstrap’ phase.
2017-02-03 15:06:08 +01:00