Commit Graph

17889 Commits

Author SHA1 Message Date
Ludovic Courtès 150309726f
syscalls: Add utmpx procedures and data structure.
* guix/build/syscalls.scm (<utmpx-entry>): New record type.
(%utmpx): New C struct.
(login-type): New bits.
(setutxent, endutxent, getutxent, utmpx-entries): New procedures.
2017-01-19 23:21:25 +01:00
Ludovic Courtès 57f068bec5
syscalls: Extract 'bytes->string'.
* guix/build/syscalls.scm (bytes->string): New procedure.
(bytevector->string-list): Use it.
2017-01-19 23:20:57 +01:00
Ludovic Courtès 0691c9c05d
gnu: ansible: Update to 2.2.1 [fixes CVE-2016-9587].
* gnu/packages/admin.scm (ansible): Update to 2.2.1.
2017-01-19 17:59:23 +01:00
Mathieu OTHACEHE d18b79fed8
import: github: Catch HTTP 403 error during fetch.
* guix/import/github.scm (json-fetch*): Catch 403 HTTP error that may be
  raised if a github token has not been set.

Signed-off-by: Mathieu OTHACEHE <m.othacehe@gmail.com>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-01-19 17:17:16 +01:00
Ludovic Courtès 11f3885bb5
tests: Add 'nginx-service-type' test.
* gnu/tests/web.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2017-01-19 14:44:59 +01:00
Ludovic Courtès dc72a7f7f7
services: nginx: Add default values for <nginx-configuration> fields.
* gnu/services/web.scm (<nginx-configuration>)[nginx, log-directory]
[run-directory, server-blocks, upstream-blocks, file]: Add default
values.
2017-01-19 14:44:59 +01:00
Christopher Baines 9c557a69ae
services: nginx: Add support for 'location' blocks.
* gnu/services/web.scm (<nginx-server-configuration>): Add field 'locations'.
(<nginx-location-configuration>): New record type.
(<nginx-named-location-configuration>): New record type.
(nginx-location-config): New function.
(default-nginx-server-config): Include locations.
* doc/guix.texi (Web Services): Document the new nginx-location-configuration
and nginx-named-location-configuration data types, as well as the changes to
the nginx-server-configuration.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-01-19 14:44:59 +01:00
Christopher Baines cb341293fa
services: nginx: Add support the 'upstream' module.
* gnu/services/web.scm (<nginx-upstream-configuration>): New record type.
(<nginx-configuration>): Add new field upstream-blocks.
(nginx-upstream): New function.
(default-nginx-config): Add upstream-list parameter.
(nginx-service): Add optional upstream list keyword argument.
* doc/guix.texi (Web Services): Document the new nginx-upstream-configuration
data type and changes to the nginx function.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-01-19 14:44:59 +01:00
Christopher Baines cb6d322afc
gnu: dnsmasq: Enable dbus support.
* gnu/pacakges/dns.scm (dnsmasq): Enable dbus support to allow for
NetworkManager to use dnsmasq.
[native-inputs]: Add pkg-config.
[inputs]: Add dbus.
[arguments]: Add COPTS="-DHAVE_DBUS" to make-flags.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2017-01-19 20:05:24 +08:00
Ricardo Wurmus e87cb754a6
gnu: Add libgig.
* gnu/packages/music.scm (libgig): New variable.
2017-01-19 09:54:15 +01:00
Leo Famulari 8a9cffb202
doc: Show how to deploy any version of Guix.
* doc/guix.texi (Invoking guix pull): Give some examples of how to deploy
arbitrary Guix versions with the --url option.
2017-01-18 22:01:30 -05:00
Ludovic Courtès 840f38ba37
guix environment, build: Allow absolute file names with '--root'.
Reported by Chris Webber.

* guix/scripts/build.scm (register-root): If ROOT is absolute, keep it
as is.
* guix/scripts/environment.scm (register-gc-root): Likewise.
* tests/guix-environment.sh (expected): Add test.
2017-01-19 00:11:15 +01:00
Ludovic Courtès 67fee545cc
gnu: Add Heimdal.
* gnu/packages/kerberos.scm (heimdal): New variable.
2017-01-19 00:11:15 +01:00
Ludovic Courtès 89e34644d9
gnu: Move Kerberos implemetations to (gnu packages kerberos).
* gnu/packages/mit-krb5.scm: Remove.
* gnu/packages/shishi.scm: Remove.
* gnu/packages/kerberos.scm: New file, from the concatenation of these
two.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/admin.scm, gnu/packages/cyrus-sasl.scm,
gnu/packages/gnome.scm, gnu/packages/gnuzilla.scm,
gnu/packages/gsasl.scm, gnu/packages/java.scm,
gnu/packages/networking.scm, gnu/packages/nfs.scm,
gnu/packages/onc-rpc.scm, gnu/packages/ssh.scm,
gnu/packages/web.scm: Adjust accordingly.
2017-01-19 00:11:15 +01:00
ng0 877c6163fa
gnu: stagit: Update to 0.5.
* gnu/packages/version-control.scm (stagit): Update to 0.5.
2017-01-18 22:46:50 +01:00
Efraim Flashner 9ca1972767
gnu: qemu: Fix CVE-2017-5525, CVE-2017-5526.
* gnu/packages/qemu.scm (qemu)[source]: Add patches.
* gnu/packages/patches/qemu-CVE-2017-5525.patch,
gnu/packages/patches/qemu-CVE-2017-5526.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register them.
2017-01-18 23:32:49 +02:00
Marius Bakke df893a3855
gnu: Add python-cram.
* gnu/packages/python.scm (python-cram, python2-cram): New variables.
2017-01-18 21:28:59 +01:00
Marius Bakke b9f771a795
gnu: Add leveldb.
* gnu/packages/databases.scm (leveldb): New variable.
2017-01-18 21:23:23 +01:00
ng0 cd4a232dd5
gnu: Add mcabber.
* gnu/packages/messaging.scm (mcabber): New variable.

Co-authored-by: Marius Bakke <mbakke@fastmail.com>
2017-01-18 20:24:18 +01:00
ng0 fdfb4b9604
gnu: Add loudmouth.
* gnu/packages/messaging.scm (loudmouth): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-01-18 20:24:16 +01:00
ng0 395751c05d
gnu: Add menumaker.
* gnu/packages/wm.scm (menumaker): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-01-18 19:11:22 +01:00
Marius Bakke 0d53d55cca
gnu: xf86-input-evdev: Update to 2.10.5.
* gnu/packages/xorg.scm (xf86-input-evdev): Update to 2.10.5.
2017-01-18 18:28:35 +01:00
Marius Bakke e19b0bd157
gnu: xf86-video-r128: Update to 6.10.2.
* gnu/packages/xorg.scm (xf86-video-r128): Update to 6.10.2.
2017-01-18 18:25:55 +01:00
Marius Bakke a354c7d8b4
gnu: xf86-video-savage: Update to 2.3.9.
* gnu/packages/xorg.scm (xf86-video-savage): Update to 2.3.9.
2017-01-18 18:23:53 +01:00
Marius Bakke 619ff9329d
gnu: xf86-video-trident: Update to 1.3.8.
* gnu/packages/xorg.scm (xf86-video-trident): Update to 1.3.8.
2017-01-18 18:22:12 +01:00
Marius Bakke a0029fda3b
gnu: xf86-video-glint: Update to 1.2.9.
* gnu/packages/xorg.scm (xf86-video-glint): Update to 1.2.9.
[source]: Remove upstreamed patch.
* gnu/packages/patches/xf86-video-glint-remove-mibstore.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2017-01-18 18:19:49 +01:00
Marius Bakke f733e60345
gnu: xf86-video-nv: Update to 2.1.21.
* gnu/packages/xorg.scm (xf86-video-nv): Update to 2.1.21.
[source]: Remove upstreamed patch.
* gnu/packages/patches/xf86-video-nv-remove-mibstore.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2017-01-18 18:15:56 +01:00
Marius Bakke 3a50b71298
gnu: xf86-video-siliconmotion: Update to 1.7.9.
* gnu/packages/xorg.scm (xf86-video-siliconmotion): Update to 1.7.9.
2017-01-18 18:11:42 +01:00
Marius Bakke c2a970582e
gnu: xf86-video-mga: Update to 1.6.5.
* gnu/packages/xorg.scm (xf86-video-mga): Update to 1.6.5.
2017-01-18 18:10:04 +01:00
Marius Bakke 798dd616e3
gnu: xf86-video-sis: Update to 0.10.9.
* gnu/packages/xorg.scm (xf86-video-sis): Update to 0.10.9.
2017-01-18 18:08:35 +01:00
Marius Bakke 76400ca594
gnu: xf86-video-tdfx: Update to 1.4.7.
* gnu/packages/xorg.scm (xf86-video-tdfx): Update to 1.4.7.
2017-01-18 18:05:40 +01:00
Ricardo Wurmus 1778ea740e
gnu: multiqc: Add python-nose to inputs.
* gnu/packages/bioinformatics.scm (multiqc)[propagated-inputs]: Add
python-nose.
2017-01-18 16:09:49 +01:00
Efraim Flashner 7c524e0f6b
gnu: screen: Update to 4.5.0.
* gnu/packages/screen.scm (screen): Update to 4.5.0.
[home-page]: Use https.
2017-01-18 15:51:04 +02:00
ng0 899bcad310
gnu: Add emacs-sx.
* gnu/packages/emacs.scm (emacs-sx): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2017-01-18 12:57:23 +03:00
Christopher Baines cf006d2e73
gnu: Add emacs-ag.
* gnu/packages/emacs.scm (emacs-ag): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2017-01-18 12:57:23 +03:00
Feng Shu 12b8f6b401
gnu: Add font-wqy-microhei.
* gnu/packages/fonts.scm (font-wqy-microhei): New variable.
2017-01-18 09:43:14 +01:00
ng0 3163a289ab
gnu: Add mlmmj.
* gnu/packages/mail.scm (mlmmj): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-01-17 23:57:15 +01:00
Ludovic Courtès 6cd1059340
doc: Add '--manifest' example using 'specification->package+output'.
* doc/guix.texi (Invoking guix package): Add --manifest example using
'specification->package+output'.
2017-01-17 23:57:15 +01:00
Ludovic Courtès 1f4f2360ad
gnu: guile-json: Update to 0.6.0.
* gnu/packages/guile.scm (guile-json): Update to 0.6.0.
2017-01-17 23:57:15 +01:00
Julien Lepiller fd6e260ef7
gnu: Add ocaml-ocurl.
* gnu/pcakages/ocaml.scm (ocaml-ocurl): New variable.
2017-01-17 23:22:07 +01:00
Julien Lepiller 800ab1fb16
gnu: Add ocaml-jsonm.
* gnu/packages/ocaml.scm (ocaml-jsonm): New variable.
2017-01-17 23:21:42 +01:00
Julien Lepiller 84290923d9
gnu: Add ocaml-uutf.
* gna/packages/ocaml.scm (ocaml-uutf): New variable.
2017-01-17 23:21:22 +01:00
Julien Lepiller 33f16b9a57
gnu: Add ocaml-uchar.
* gnu/packages/ocaml.scm (ocaml-uchar): New variable.
2017-01-17 23:20:55 +01:00
Julien Lepiller 6e9b678efe
gnu: Add ocaml-ulex.
* gnu/packages/ocaml.scm (ocaml-ulex): New variable.
2017-01-17 23:20:13 +01:00
Julien Lepiller 036b857978
gnu: Add ocaml-xmlm.
* gnu/packages/ocaml.scm (ocaml-xmlm): New variable.
2017-01-17 23:14:42 +01:00
Julien Lepiller 33e0702d8a
gnu: Add ocaml-bos.
* gnu/packages/ocaml.scm (ocaml-bos): New variable.
2017-01-17 23:14:38 +01:00
Julien Lepiller fbf38b0985
gnu: Add ocaml-fpath.
* gnu/packages/ocaml.scm (ocaml-fpath): New variable.
2017-01-17 23:14:34 +01:00
Julien Lepiller 9dc7dcb261
gnu: Add ocaml-logs.
* gnu/packages/ocaml.scm (ocaml-logs): New variable.
2017-01-17 23:13:19 +01:00
Ricardo Wurmus 66da3a9f31
gnu: Add r-msnid.
* gnu/packages/bioinformatics.scm (r-msnid): New variable.
2017-01-17 21:46:50 +01:00
Ricardo Wurmus 11879284cb
gnu: Add r-msnbase.
* gnu/packages/bioinformatics.scm (r-msnbase): New variable.
2017-01-17 21:46:50 +01:00