Commit Graph

22243 Commits

Author SHA1 Message Date
Ludovic Courtès 1071f781d9
daemon: '--listen' can be passed several times, can specify TCP endpoints.
* nix/nix-daemon/guix-daemon.cc (DEFAULT_GUIX_PORT): New macro.
(listen_options): New variable.
(parse_opt): Push back '--listen' options to LISTEN_OPTIONS.
(open_unix_domain_socket, open_inet_socket)
(listening_sockets): New functions.
(main): Use it.  Pass SOCKETS to 'run'.
* nix/nix-daemon/nix-daemon.cc (matchUser): Remove.
(SD_LISTEN_FDS_START): Remove.
(acceptConnection): New function.
(daemonLoop): Rewrite to take a vector of file descriptors, to select(2)
on them, and to call 'acceptConnection'.
(run): Change to take a vector of file descriptors.
* tests/guix-daemon.sh: Add test.
2017-06-22 10:59:07 +02:00
Ludovic Courtès 5df1395a8d
store: Define a default port for TCP connections.
* guix/store.scm (%default-guix-port): New variable.
(connect-to-daemon)[connect]: Use it when (uri-port uri) is #f.
* doc/guix.texi (The Store): Mention the default port number.
2017-06-22 10:59:07 +02:00
Ludovic Courtès 7ae97a4c3f
store: Pass a socket type hint to 'getaddrinfo'.
* guix/store.scm (open-inet-socket): Pass hints in the 'getaddrinfo'
call.
2017-06-22 10:59:06 +02:00
Leo Famulari ace6cc12d3
gnu: webkitgtk: Update to 2.16.4 [fixes CVE-2017-2538].
* gnu/packages/webkit.scm (webkitgtk): Update to 2.16.4.
2017-06-22 03:11:34 -04:00
Ricardo Wurmus d92621cf45
gnu: python-drmaa: Update source URL.
* gnu/packages/python.scm (python-drmaa)[source]: Use pypi-uri.
2017-06-22 08:54:44 +02:00
Leo Famulari d9f806710f
gnu: mbedtls-apache: Update to 2.5.1.
* gnu/packages/tls.scm (mbedtls-apache): Update to 2.5.1.
2017-06-22 02:00:12 -04:00
Leo Famulari 688c8c6744
gnu: openvpn: Update to 2.4.3 [fixes CVE-2017-{7508,7512,7520,7521,7522}].
See 'Changes.rst' in the source distribution for more information about the
security-related changes.

* gnu/packages/vpn.scm (openvpn): Update to 2.4.3.
2017-06-22 01:00:03 -04:00
Roel Janssen f70f3407ca
gnu: Update calibre to 3.0.0.
* gnu/local.mk: Remove patch.
* gnu/packages/ebook.scm (calibre): Update to 3.0.0.
* gnu/packages/patches/calibre-dont-load-remote-icons.patch: Remove file.
2017-06-22 00:07:58 +02:00
Ricardo Wurmus bb19b2ebf3
gnu: propeller-gcc: Default to version 4.
* gnu/packages/embedded.scm (propeller-gcc): Rename this...
(propeller-gcc-6): ...to this.
(propeller-gcc-4): Inherit from propeller-gcc-6.
(propeller-gcc): New alias for propeller-gcc-4.
2017-06-21 22:47:39 +02:00
Tobias Geerinckx-Rice c7d0444a68
gnu: knot: Update to 2.5.1.
* gnu/packages/dns.scm (knot): Update to 2.5.1.
[inputs]: Add python-2 and python2-lmdb.
[arguments]: Adapt #:configure-flags.  Add ‘wrap-python-scripts’ phase.
2017-06-21 21:59:52 +02:00
Tobias Geerinckx-Rice 07041d95b1
gnu: Add python-lmdb.
* gnu/packages/databases.scm (python-lmdb, python2-lmdb): New variables.
2017-06-21 21:58:39 +02:00
Tobias Geerinckx-Rice fda852ff40
gnu: lmdb: Expand description.
* gnu/packages/databases.scm (lmdb)[synopsis]: Capitalise.
[description]: Elaborate.
2017-06-21 21:58:38 +02:00
Tobias Geerinckx-Rice 9b8016612c
gnu: python-pycodestyle: Update to 2.3.1.
* gnu/packages/python.scm (python-pycodestyle): Update to 2.3.1.
2017-06-21 21:58:38 +02:00
Tobias Geerinckx-Rice b1a686bbd0
gnu: cracklib: Fix up description.
* gnu/packages/password-utils.scm (cracklib)[description]: Fix typos, add
mark-up, and drop unclear reference to the ancient ‘Crack 5’ tool.
2017-06-21 21:58:38 +02:00
Tobias Geerinckx-Rice 4a577fef73
gnu: libpwquality: Update to 1.4.0.
* gnu/packages/password-utils.scm (libpwquality): Update to 1.4.0.
2017-06-21 21:58:38 +02:00
Tobias Geerinckx-Rice 636437ec50
gnu: Remove unused python-flake8-2.2.4.
* gnu/packages/python.scm (python-flake8-2.2.4): Remove variable.
2017-06-21 21:58:37 +02:00
Tobias Geerinckx-Rice 3b66438983
gnu: python-hacking: Update to 0.13.0.
* gnu/packages/openstack.scm (python-hacking): Update to 0.13.0.
[arguments]: Re-enable tests.
[propagated-inputs]: Use latest python-flake8.
[native-inputs]: Add python-eventlet, python-mock, python-reno, and
python-testrepository for tests.
2017-06-21 21:58:37 +02:00
Tobias Geerinckx-Rice 5150d8b4b4
gnu: python-eventlet: Skip failing test phase.
* gnu/packages/python.scm (python-eventlet)[arguments]: Disable tests.
2017-06-21 21:58:37 +02:00
Tobias Geerinckx-Rice 0b84a530c8
gnu: python-vobject: Update to 0.9.4.1.
* gnu/packages/python.scm (python-vobject): Update to 0.9.4.1.
2017-06-21 21:58:37 +02:00
Leo Famulari 7641266b03
gnu: mpd: Build with the default GCC.
* gnu/packages/mpd.scm (mpd)[native-inputs]: Remove gcc-5.
2017-06-21 15:15:07 -04:00
Leo Famulari 99d8b07981
gnu: opus-tools: Update to 0.1.10.
* gnu/packages/xiph.scm (opus-tools): Update to 0.1.10.
[home-page]: Use HTTPS URL.
2017-06-21 15:15:07 -04:00
Leo Famulari a8bcc5ffe9
gnu: opus: Update to 1.2.
* gnu/packages/xiph.scm (opus): Update to 1.2.
[home-page]: Use HTTPS URL.
2017-06-21 15:15:00 -04:00
Arun Isaac f885fc0512
gnu: gsl: Update to 2.4.
* gnu/packages/maths.scm (gsl): Update to 2.4.
[arguments]: Remove #:parallel-tests?.
2017-06-21 23:15:56 +05:30
Julien Lepiller f3853a259b
gnu: services: use seconds instead of duration strings.
* gnu/services/dns.scm (zone-file, knot-policy-configuration): Use numbers
instead of duration strings.
(verify-knot-policy-configuration): Fix typo.
* doc/guix.texi (DNS Services): Update documentation.
2017-06-21 19:29:57 +02:00
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