Commit Graph

13251 Commits

Author SHA1 Message Date
Efraim Flashner a228579883
gnu: Add rlwrap.
* gnu/packages/readline.scm (rlwrap): New variable.
2016-07-17 08:56:03 +03:00
Alex Griffin 334c00f2bc
gnu: Add reptyr.
* gnu/packages/screen.scm (reptyr): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-16 20:00:53 -04:00
Leo Famulari a1537ac2ba
gnu: gd: Fix CVE-2016-{5766,6128,6132,6214}.
* gnu/packages/patches/gd-CVE-2016-5766.patch,
gnu/packages/patches/gd-CVE-2016-6128.patch,
gnu/packages/patches/gd-CVE-2016-6132.patch,
gnu/packages/patches/gd-CVE-2016-6214.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/gd.scm (gd): Use patches.
2016-07-16 12:49:22 -04:00
Leo Famulari b9174ff449
gnu: gd: Update to 2.2.2 [fixes CVE-2016-{5767,6161}].
* gnu/packages/gd.scm (gd): Update to 2.2.2.
2016-07-16 12:49:21 -04:00
Leo Famulari e31f05d435
gnu: pidgin: Update to 2.11.0 [security fixes].
Fixes CVE-2016-{2365,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,
2377,2378,2379,2380,4323}.

* gnu/packages/messaging.scm (pidgin): Update to 2.11.0.
2016-07-16 11:54:20 -04:00
Ricardo Wurmus 12356eb8b0
gnu: geda-gaf: Update to 1.9.2.
* gnu/packages/engineering.scm (geda-gaf): Update to 1.9.2.
2016-07-16 17:19:26 +02:00
Ricardo Wurmus 2352c97df4
gnu: geda-gaf: Use modify-phases syntax.
* gnu/packages/engineering.scm (geda-gaf)[arguments]: Use modify-phases
  syntax.
2016-07-16 17:19:22 +02:00
Vincent Legoll 1187a27112
guix gc: Display of saved space for garbage collection.
Fixes <http://bugs.gnu.org/23979>.

* guix/scripts/gc.scm (guix-gc): Display freed bytes.

Signed-off-by: Vincent Legoll <vincent.legoll@idgrilles.fr>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-16 14:41:39 +02:00
Tobias Geerinckx-Rice fb8a5d633a
gnu: Add encfs.
* gnu/packages/crypto.scm (rlog, encfs): New variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-16 14:41:39 +02:00
Ludovic Courtès f82ce8f6b1
build: Substitute URLs now default to "mirror.hydra.gnu.org" alone.
* config-daemon.ac: Remove "hydra.gnu.org" from 'guix_substitute_urls'.
* guix/store.scm (%default-substitute-urls): Remove "hydra.gnu.org".
2016-07-16 14:41:39 +02:00
Ludovic Courtès b9bb50c608
services: dbus: Synchronize startup using dbus-daemon's PID file.
* gnu/services/dbus.scm (dbus-shepherd-service): Pass #:pid-file to
'make-forkexec-constructor'.
2016-07-16 14:41:39 +02:00
Andreas Enge ee6a5d0e3e
gnu: lm-sensors: Add alternate source URL.
* gnu/packages/linux.scm (lm-sensors)[source]: Add URL.
2016-07-15 19:18:36 +02:00
Leo Famulari 2d74d94b17 gnu: borg: Update to 1.0.6.
* gnu/packages/backup.scm (borg): Update to 1.0.6.
[source]: Use pypi-uri.
2016-07-15 12:20:29 -04:00
David Craven 71b0601a97
services: Add 'dropbear-service'.
* gnu/services/ssh.scm (<dropbear-configuration>): New record type.
(dropbear-activation, dropbear-shepherd-service, dropbear-service): New
procedures.
(dropbear-service-type): New variable.
* doc/guix.texi (Networking Services): Document it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-07-15 17:57:28 +02:00
David Craven 2102ae2e30
gnu: lsh: Move to (gnu packages ssh)
* gnu/packages/lsh.scm: Remove.  Move 'lsh and liboop' to...
* gnu/packages/ssh.scm (liboop, lsh): ... here.  New variables.
* gnu/services/ssh.scm, gnu/services/base.scm: Adjust accordingly.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-15 17:57:28 +02:00
Leo Famulari e538a245f3
gnu: diffoscope: Update to 54.
* gnu/packages/package-management.scm (diffoscope): Update to 54.
2016-07-15 11:40:02 -04:00
Tobias Geerinckx-Rice 7fb18f578a
gnu: Import (guix licenses) with #:prefix.
* gnu/packages/crypto.scm: Add 'license:' #:prefix for (guix licenses).

Signed-off-by: Andreas Enge <andreas@enge.fr>
2016-07-15 14:31:37 +02:00
Andreas Enge e05647add7
Update e-mail address for Tobias Geerinckx-Rice.
* .mailmap: Add Tobias Geerinckx-Rice.
* gnu/packages/disk.scm: Replace "tobias.geerinckx.rice@gmail.com" with
"me@tobias.gr".
* gnu/packages/linux.scm: Likewise.
* gnu/packages/networking.scm: Likewise.

Co-authored-by: Tobias Geerinckx-Rice <me@tobias.gr>
2016-07-15 14:29:22 +02:00
Andreas Enge f0fbf2c11c
install: Add mdadm to the image.
* gnu/system/install.scm (installation-os)[packages]: Add mdadm.
2016-07-15 10:41:14 +02:00
Alex Vong 9ce2a95c30
gnu: racket: Update to 6.5.
* gnu/packages/scheme.scm (racket): Update to 6.5.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2016-07-15 10:31:02 +02:00
Leo Famulari f0344d9369
gnu: git: Update to 2.9.1.
* gnu/packages/version-control.scm (git): Update to 2.9.1.
(git-manpages)[source]: Update hash.
2016-07-14 16:58:55 -04:00
Leo Famulari a16db014d1
doc: Mention commit signatures in HACKING.
* HACKING: Mention commit signatures.
2016-07-14 15:37:51 -04:00
Ludovic Courtès babc2c80a7
records: Improve reporting of invalid field specifiers.
Fixes <http://bugs.gnu.org/23969>.
Reported by Vincent Legoll <vincent.legoll@gmail.com>.

* guix/records.scm (report-invalid-field-specifier): New procedure.
* tests/records.scm ("define-record-type* & wrong field specifier"): New
test.
2016-07-14 19:07:07 +02:00
Ludovic Courtès db8f6b3412
challenge: Disable grafting.
* guix/scripts/challenge.scm (guix-challenge): Set %GRAFT? to #f.
2016-07-14 19:07:07 +02:00
Ludovic Courtès a7a3b39060
substitute: Gracefully handle trailing slashes in URLs.
Previously, using something like
"--substitute-urls=http://example.org///" would lead to a
'cache-narinfo!' call with #f as its second argument.

It would also do the wrong thing for URLs with a non-empty initial path
component, such as "http://example.org/foo/bar".

* guix/scripts/substitute.scm (fetch-narinfos)[handle-narinfo-response]:
Add call to 'basename' for PATH.
2016-07-14 19:07:07 +02:00
Ricardo Wurmus 6619f9c769
gnu: Add eigensoft.
* gnu/packages/bioinformatics.scm (eigensoft): New variable.
2016-07-14 08:58:35 +02:00
Efraim Flashner 42d6d0d0d6
gnu: python-setuptools-scm: Update to 1.11.1.
* gnu/packages/python.scm (python-setuptools-scm): Update to 1.11.1.
2016-07-14 05:51:03 +03:00
Ludovic Courtès db97a03a89
doc: Explain 'guix hash -r' for Git checkouts.
* doc/guix.texi (origin Reference): Add xref to "guix download" and
"guix hash".
(Invoking guix hash): Provide an example to compute the hash of a Git
checkout.

Co-authored-by: Troy Sankey <sankeytms@gmail.com>
2016-07-13 23:51:17 +02:00
Ludovic Courtès 2d94702ff4
system: Change the shell of 'nobody' to 'nologin'.
Fixes <http://bugs.gnu.org/23971>.
Reported by Vincent Legoll <vincent.legoll@gmail.com>.

* gnu/system/shadow.scm (%base-user-accounts): Add 'shell' field.  Set
'home-directory' to "/nonexistent".
2016-07-13 23:42:35 +02:00
Jan Nieuwenhuizen 4c7260011e
gnu: grub: Update to 2.02~beta3.
* gnu/packages/grub.scm (grub): Update to 2.02~beta3.
[arguments]: Modify tests/grub_func_test.in in 'patch-stuff' phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-13 23:26:04 +02:00
Ludovic Courtès 66f8f5f9c3
gnu: screen: Remove unneeded configure flags.
* gnu/packages/screen.scm (screen)[arguments]: Remove --infodir and
--mandir, which are no longer needed.
2016-07-13 23:26:04 +02:00
George Clemmer a7e7981c7d
gnu: screen: Support 256 colors.
* gnu/packages/screen.scm (screen)[arguments]: Pass --enable-colors256.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-13 23:26:04 +02:00
Mark H Weaver 7a7d6b2bde
gnu: linux-libre: Update to 4.6.4.
* gnu/packages/linux.scm (linux-libre): Update to 4.6.4.
2016-07-12 22:09:08 -04:00
Mark H Weaver 8f1488c639
gnu: linux-libre-4.4: Update to 4.4.15.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.15.
2016-07-12 22:08:58 -04:00
Ludovic Courtès bfcb3d767b
lint: 'validate-uri' reports suspiciously small 200 responses.
* guix/scripts/lint.scm (validate-uri): Upon 200 http-response, check
the 'response-content-length' and emit a warning when it is <= 1000.
* tests/lint.scm (call-with-http-server): Add 'data' parameter.
(with-http-server): Likewise.
(%long-string): New variable.
("home-page: 200"): Pass %LONG-STRING to 'with-http-server'.
("home-page: 404", "source: 200", "source: 404"): Likewise.
("home-page: 200 but short length"): New test.
("source: 200 but short length"): New test.
2016-07-13 00:50:05 +02:00
Ludovic Courtès cd4c41fdcf
download: Attempt to update SourceForge mirror URLs.
* guix/download.scm (%mirrors)[sourceforge]: End in "/project" instead
of "/sourceforge".  Remove a couple of dangling URLs.
2016-07-13 00:32:36 +02:00
Jan Nieuwenhuizen abba1d087e
gnu: Add gptfdisk.
* gnu/packages/disk.scm (gptfdisk): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-13 00:32:21 +02:00
Ludovic Courtès bdff55eac3
gnu: emacs-flycheck: Add missing dependency on emacs-seq.
Fixes a regression introduced in
afb6fdaa5d.

* gnu/packages/emacs.scm (flycheck)[propagated-inputs]: Add EMACS-SEQ.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 1929fdba80
packages: <origin> no longer has an 'imported-modules' field.
* guix/packages.scm (<origin>)[imported-modules]: Remove.
(patch-and-repack): Remove #:imported-modules.  Use
'with-imported-modules'.  Remove #:modules argument to
'gexp->derivation'.
(origin->derivation): Adjust accordingly.
* doc/guix.texi (origin Reference): Adjust accordingly.
2016-07-12 22:47:08 +02:00
Ludovic Courtès c1629416d8
gnu: Remove unneeded 'imported-modules' fields for 'origin'.
* gnu/packages/engineering.scm (fastcap)[source](modules,
imported-modules): Remove.
* gnu/packages/wm.scm (awesome)[source](imported-modules): Remove.
* tests/packages.scm ("package-source-derivation, snippet"): Remove
'imported-modules' field.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 66a35ceb43
gexp: Remove more uses of #:modules.
* guix/scripts/system.scm (switch-to-system): Adjust comment.
* tests/gexp.scm ("gexp->derivation #:references-graphs"): Use
'with-imported-modules' instead of #:modules.
* tests/grafts.scm ("graft-derivation, preserve empty directories"):
Likewise.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 9c14a487bb
gexp: 'program-file' and 'gexp->script' no longer have #:modules.
* guix/gexp.scm (<program-file>)[modules]: Remove.
(program-file): Remove #:modules and adjust accordingly.
(program-file-compiler): Likewise.
(gexp->script): Likewise.
2016-07-12 22:47:08 +02:00
Ludovic Courtès a769bffb65
gexp: 'computed-file' no longer has a #:modules parameter.
* guix/gexp.scm (<computed-file>)[modules]: Remove.
(computed-file): Remove #:modules.
(computed-file-compiler): Likewise.
* doc/guix.texi (G-Expressions): Adjust accordingly.
2016-07-12 22:47:08 +02:00
Ludovic Courtès e9b046fdda
download: Use 'with-imported-modules'.
* guix/cvs-download.scm (cvs-fetch): Use 'with-imported-modules' instead
of the #:modules argument of 'gexp->derivation'.
* guix/download.scm (url-fetch): Likewise.
* guix/git-download.scm (git-fetch): Likewise.
* guix/hg-download.scm (hg-fetch): Likewise.
* guix/svn-download.scm (svn-fetch): Likewise.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 99b231dee6
profiles: Use 'with-imported-modules'.
* guix/profiles.scm (info-dir-file): Use 'with-imported-modules' instead
of the #:module argument to 'gexp->derivation'.
(ghc-package-cache-file): Likewise.
(ca-certificate-bundle): Likewise.
(gtk-icon-themes): Likewise.
(xdg-desktop-database): Likewise.
(xdg-mime-database): Likewise.
(profile-derivation): Likewise.
2016-07-12 22:47:08 +02:00
Ludovic Courtès a91c3fc727
services: <shepherd-service> no longer has an 'imported-modules' field.
* gnu/services/shepherd.scm (<shepherd-service>)[imported-modules]:
Remove.
(%default-imported-modules): Make private.
(shepherd-service-file): Use 'with-imported-modules'.
(shepherd-configuration-file): Remove 'modules' and the calls to
'imported-modules' and 'compiled-modules'.  Use
'with-imported-modules' instead.
* doc/guix.texi (Shepherd Services): Adjust accordingly.
* gnu/services/base.scm (file-system-shepherd-service): Use
'with-imported-modules'.  Remove 'imported-modules' field.
* gnu/system/mapped-devices.scm (device-mapping-service-type): Remove
'imported-modules'.
(open-luks-device): Use 'with-imported-modules'.
* gnu/tests.scm (marionette-shepherd-service): Remove 'imported-modules'
field and use 'with-imported-modules'.
2016-07-12 22:47:08 +02:00
Ludovic Courtès fd12989398
gnu: Use 'gexp->file' in conjunction with 'with-imported-modules'.
* gnu/services.scm (activation-script): Remove code to set '%load-path'
and use 'with-imported-modules' instead.
(cleanup-gexp): Likewise.
* gnu/system/vm.scm (%vm-module-closure): New variable.
(expression->derivation-in-linux-vm): Remove #:modules.
[loader]: Remove code to set '%load-path'.
[builder]: Use %VM-MODULE-CLOSURE.
(qemu-image): Use 'with-imported-modules'.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 2b4185792d
gexp: 'gexp->file' emits code to set '%load-path'.
* guix/gexp.scm (gexp->file): Add #:set-load-path? parameter and honor it.
* gnu/system.scm (operating-system-parameters-file): Pass
  #:set-load-path? #f.
* doc/guix.texi (G-Expressions): Adjust accordingly.
2016-07-12 22:47:08 +02:00
Ludovic Courtès dd8d1a3046
gexp: Factorize load-path-setting expression.
* guix/gexp.scm (load-path-expression): New procedure.
(gexp->script): Use it.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 43dcce8674
linux-container: Fix list of imported modules.
This fixes a regression introduced in
958dd3ce68.

* gnu/system/linux-container.scm (container-script)[script]: Add (guix
combinators) to the list of imported modules.
2016-07-12 22:47:08 +02:00