Commit Graph

35467 Commits

Author SHA1 Message Date
Arun Isaac 9926b8f809
gnu: services: Add iptables service.
* gnu/services/networking.scm (<iptables-configuration>): New record type.
(iptables-service-type): New variable.
* gnu/tests/networking.scm (run-iptables-test): New procedure.
(%test-iptables): New variable.
* doc/guix.texi (Networking Services): Document it.
2018-09-20 13:09:55 +05:30
Tobias Geerinckx-Rice 3e63a83c0f
gnu: u-boot: Use HTTPS home page.
* gnu/packages/bootloaders.scm (u-boot)[home-page]: Use HTTPS.
2018-09-20 04:50:34 +02:00
Tobias Geerinckx-Rice 84c7fbfd6d
gnu: ccid: Update to 1.4.30.
* gnu/packages/security-token.scm (ccid): Update to 1.4.30.
2018-09-20 04:50:34 +02:00
Tobias Geerinckx-Rice 4eb161962f
gnu: opusfile: Update to 0.11.
* gnu/packages/xiph.scm (opusfile): Update to 0.11.
2018-09-20 04:50:33 +02:00
Tobias Geerinckx-Rice e61c2991e4
Use INVOKE in (gnu packages xdisorg).
* gnu/packages/xdisorg.scm (scrot, unclutter, xautolock, nxbelld)
[arguments]: Use INVOKE.
2018-09-20 04:17:04 +02:00
Tobias Geerinckx-Rice 2385ecb224
Use INVOKE in (gnu packages shells).
* gnu/packages/shells.scm (mksh)[arguments]: Use INVOKE...
(scsh)[arguments]: ...and also return #t from all phases.
2018-09-20 04:17:04 +02:00
Tobias Geerinckx-Rice 9923d5a40f
gnu: Use INVOKE & return #t from Ruby package phases.
* gnu/packages/maths.scm (ruby-asciimath)[arguments]: Return #t from
all phases.
* gnu/packages/rails.scm (ruby-debug-inspector)[arguments]: Substitute
INVOKE for SYSTEM*.
* gnu/packages/ruby.scm (ruby-permutation, ruby-blankslate)
(ruby-minitest-pretty-diff, ruby-guard, ruby-rb-inotify, ruby-tins)
(ruby-gem-hadar, ruby-term-ansicolor, ruby-json-pure)
(ruby-activesupport, ruby-redcloth, ruby-netrc, ruby-unf-ext, ruby-yard)
(ruby-turn, ruby-sqlite3, ruby-shoulda-context, ruby-shoulda-matchers)
(ruby-shoulda, ruby-httpclient, ruby-ansi, ruby-bio-commandeer)
(ruby-rubytest, ruby-brass, ruby-qed, ruby-ae, ruby-lemon, ruby-hashery)
(ruby-rc4, ruby-concurrent)[arguments]: Likewise.
2018-09-20 04:17:04 +02:00
Tobias Geerinckx-Rice 4f66ae2899
gnu: ruby-heredoc-unindent: Fix typo in description.
* gnu/packages/ruby.scm (ruby-heredoc-unindent)[description]: Fix typo.
2018-09-20 04:17:03 +02:00
Tobias Geerinckx-Rice 7616d75fd6
Use INVOKE in (gnu packages telephony).
* gnu/packages/telephony.scm (libiax2, mumble)[arguments]: Use INVOKE.
2018-09-20 04:17:03 +02:00
Tobias Geerinckx-Rice e564d33ce8
gnu: gourmet: Use HTTPS home page.
* gnu/packages/nutrition.scm (gourmet)[home-page]: Use HTTPS.
2018-09-20 04:17:03 +02:00
Tobias Geerinckx-Rice 29a000b602
gnu: sg3-utils: Update to 1.44.
* gnu/packages/scsi.scm (sg3-utils): Update to 1.44.
2018-09-20 04:17:02 +02:00
Leo Famulari e266043e67
gnu: shotwell: Update to 0.28.4.
* gnu/packages/gnome.scm (shotwell): Update to 0.28.4.
2018-09-19 17:31:49 -04:00
Leo Famulari 508d5c5fa8
gnu: OpenSC: Update to 0.19.0 [security fixes].
Fixes CVE-2018-{16391,16392,16393,16418,16419,16420,16421,16422,16423,16424,
16425,16426,16427}.

* gnu/packages/security-token.scm (opensc): Update to 0.19.0.
2018-09-19 15:08:00 -04:00
Andy Patterson 1d98b44ea6
gnu: sbcl-slynk: Fix the build.
* gnu/packages/lisp.scm (sbcl-slynk-boot0): Update to commit
cbf84c36c4eca8b032e3fd16177a7bc02df3ec4c.
[origin]<snippet>: Replace slynk/util references with the built system name
slynk-util. Remove compile-time invocations of slynk-require.
(sbcl-slynk-util): Inherit from sbcl-slynk-boot0.
[inputs]: Add sbcl-slynk-boot0.
[arguments]: Set an appropriate asd-file and asd-system-name.
(sbcl-slynk-arglists)[arguments]: Set an appropriate asdf-system-name.
(sbcl-slynk-fancy-inspector)[arguments]: Likewise.
(sbcl-slynk-package-fu)[arguments]: Likewise.
(sbcl-slynk-mrepl)[arguments]: Likewise.
(sbcl-slynk-trace-dialog)[arguments]: Likewise.
(sbcl-slynk-profiler)[arguments]: Likewise.
(sbcl-slynk-indentation)[arguments]: Likewise.
(sbcl-slynk-retro)[arguments]: Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-09-19 18:25:28 +02:00
Andy Patterson 5f6908d664
build-system/asdf: Adopt asdf conventions.
The asdf documentation specifies that asdf:load-asd should be preferred to
calling load on a system definition file.

* guix/build/lisp-utils.scm (compile-system): Replace load with asdf:load-asd.
(system-dependencies): Likewise.
(test-system): Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-09-19 18:25:28 +02:00
Andy Patterson e831a1668b
build-system/asdf: Use invoke.
* guix/build/lisp-utils.scm (lisp-eval-program): Replace system* and error
handling with invoke.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-09-19 18:25:28 +02:00
Andy Patterson 29a3ffb446
build-system/asdf: Log lisp system invocations.
* guix/build/lisp-system.scm: (lisp-eval-program): Log the arguments to
system*.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-09-19 18:25:28 +02:00
Andy Patterson 7b6b7cdcc5
build-system/asdf: Handle all asdf dependency specifications.
Add support for dependencies of the form (:version <name> <version>),
(:feature <feature> <dependency-specification>) and (:require <module-name>),
as defined by
<https://common-lisp.net/project/asdf/asdf.html#The-defsystem-grammar>.

* guix/build/lisp-utils.scm (normalize-dependency): New variable.
(make-asd-file)[dependencies]: Use it to generate dependencies with normalized
names.
[dependency-name]: New variable.
[registry]: Use it to flatten the normalized dependencies.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-09-19 18:25:28 +02:00
Ludovic Courtès 241358dc94
services: networking: Remove unbound variable reference in 'stop'.
* gnu/services/base.scm (static-networking-shepherd-service): Remove
spurious ":" in 'stop' method inadvertently introduced in commit
c9436025a9.
2018-09-19 18:25:28 +02:00
Ludovic Courtès 7fd3082522
services: udev: Simplify 'start' method.
* gnu/services/base.scm (udev-shepherd-service)[start](find): Remove.
(udev): Hardwire the eudev file name.
Use 'fork+exec-command' instead of 'primitive-fork' and 'exec-command'.
2018-09-19 18:25:27 +02:00
Marius Bakke 4d679255da
gnu: glm: Update to 0.9.9.2.
* gnu/packages/maths.scm (glm): Update to 0.9.9.2.
2018-09-19 15:20:21 +02:00
Marius Bakke f6ae59c2e0
gnu: feh: Update to 2.28.
* gnu/packages/image-viewers.scm (feh): Update to 2.28.
2018-09-19 15:20:21 +02:00
Marius Bakke f03c4ec649
gnu: arpack-ng: Update to 3.6.3.
* gnu/packages/maths.scm (arpack-ng): Update to 3.6.3.
2018-09-19 15:20:21 +02:00
Marius Bakke 622ef2b90a
gnu: arpack-ng: Don't use unstable tarball.
* gnu/packages/maths.scm (arpack-ng)[source]: Use GIT-FETCH.
2018-09-19 15:20:21 +02:00
Marius Bakke c5c1e410cf
gnu: Reinstate xf86-video-ast.
* gnu/packages/patches/xf86-video-ast-remove-mibstore.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/xorg.scm (xf86-video-ast): New public variable.
2018-09-19 15:20:21 +02:00
Danny Milosavljevic 6c1a658414
gnu: rust@1.19.0: Install libtest.
* gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[build]: Build
libtest.
2018-09-19 14:41:01 +02:00
Danny Milosavljevic 4a90fcf9e7
gnu: mrustc: Enable tests.
* gnu/packages/rust.scm (mrustc)[arguments]: Add #:test-target.
<#:phases>[install]: Don't install test output.
2018-09-19 14:41:01 +02:00
Pierre Neidhardt 1cfcb841ed
gnu: git-credential-netrc: Add Git.pm to PERL5LIB.
* gnu/packages/version-control.scm (git)[credential-netrc]: Add Git.pm to PERL5LIB.
2018-09-19 09:07:12 +02:00
Ludovic Courtès 20f8d73fac
pull: Use /etc/ssl/certs by default if it exists and is non-empty.
Previously, on machines where /etc/ssl/certs did exist, we'd have this:

  $ unset SSL_CERT_DIR
  $ unset SSL_CERT_FILE
  $ guix pull
  Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
  guix pull: error: Git error: the SSL certificate is invalid

This is because we'd let OpenSSL look for certificates in its default
location, which is an empty directory in its own prefix.

* guix/scripts/pull.scm (honor-x509-certificates): New procedure.
(guix-pull): Use it instead of calling 'honor-lets-encrypt-certificates!'.
2018-09-18 23:23:44 +02:00
Ludovic Courtès 1d2b542d34
pull: Assume 'set-tls-certificate-locations!' is available.
* guix/scripts/pull.scm (honor-lets-encrypt-certificates!): Call
'set-tls-certificate-locations!' unconditionally.
2018-09-18 23:23:44 +02:00
Ludovic Courtès 0058888c7e
gnu: Add guile-debbugs.
* gnu/packages/guile.scm (guile-debbugs): New variable.
2018-09-18 23:23:44 +02:00
Ludovic Courtès 912adda316
describe: Work correctly on generation-less profiles.
Previously a command like:

  $(readlink -f ~/.config/guix/current)/bin/guix describe

would succeed without printing anything.

* guix/scripts/describe.scm (display-profile-info): Don't call
'generation-file-name' when NUMBER is zero.
* guix/scripts/pull.scm (display-profile-content): Likewise.
2018-09-18 23:23:44 +02:00
Ludovic Courtès cda08dd339
tests: Skip 'self-contained-tarball' test unconditionally.
* tests/pack.scm ("self-contained-tarball"): Skip unconditionally.
2018-09-18 23:23:44 +02:00
Ludovic Courtès 000bbe02e2
store: Add another missing buffer flush.
This is a followup to 3809824199.

* guix/store.scm (add-file-tree-to-store): Add 'write-buffered-output'
call.
2018-09-18 23:23:43 +02:00
Leo Famulari 32b3611375
gnu: Go 1.10: Update to 1.10.4.
* gnu/packages/golang.scm (go-1.10): Update to 1.10.4.
2018-09-18 15:30:03 -04:00
Tobias Geerinckx-Rice 56c180750c
gnu: busybox: Update to 1.29.3.
* gnu/packages/busybox.scm (busybox): Update to 1.29.3.
2018-09-18 14:18:43 +02:00
Tobias Geerinckx-Rice d99051715a
gnu: xorriso: Update to 1.5.0.
* gnu/packages/cdrom.scm (xorriso): Update to 1.5.0.
2018-09-18 13:50:32 +02:00
Tobias Geerinckx-Rice 8190578fa0
gnu: libisofs: Update to 1.5.0.
* gnu/packages/cdrom.scm (libisofs): Update to 1.5.0.
2018-09-18 13:50:32 +02:00
Tobias Geerinckx-Rice 4999f45ea9
gnu: libburn: Update to 1.5.0.
* gnu/packages/cdrom.scm (libburn): Update to 1.5.0.
2018-09-18 13:50:32 +02:00
Tobias Geerinckx-Rice 487cf5aaf6
gnu: rc: Simplify.
* gnu/packages/shells.scm (rc)[source]: Replace magic commit ID with the
tagged release. Use GIT-FILE-NAME.
[arguments]: Remove 'autoreconf' phase (relying on Guix's built-in
'bootstrap' phase instead) and adjust the ordering of 'patch-trip.rc'
accordingly.
2018-09-18 13:50:09 +02:00
Tobias Geerinckx-Rice 7c0ed27a8b
gnu: ncmpc: Update to 0.30.
* gnu/packages/mpd.scm (ncmpc): Update to 0.30.
[arguments]: Add 'expand-C++-include-path' phase.
[inputs]: Add gcc-8.
2018-09-18 13:50:09 +02:00
Tobias Geerinckx-Rice 8ecd843df5
gnu: exfat-utils: Update to 1.3.0.
* gnu/packages/mtools.scm (exfat-utils): Update to 1.3.0.
2018-09-18 13:50:09 +02:00
Tobias Geerinckx-Rice b22c44f1ea
gnu: cinnamon-desktop: Use Guix's built-in bootstrap phase.
* gnu/packages/cinnamon.scm (cinnamon-desktop)[arguments]: Remove
'autoconf' phase. Add 'skip-premature-configure' phase.
2018-09-18 13:49:23 +02:00
Tobias Geerinckx-Rice 0edc232be9
gnu: gourmet: Use INVOKE.
* gnu/packages/nutrition.scm (gourmet)[arguments]: Substitute INVOKE for
SYSTEM*.
2018-09-18 13:49:23 +02:00
Ludovic Courtès 56c240ba8c
gnu: Add confusion-mdl.
* gnu/packages/lisp.scm (confusion-mdl): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-09-17 23:19:45 +02:00
Ludovic Courtès e83b2b0fdd
git: Choose a saner default for '%repository-cache-directory'.
* guix/git.scm (%repository-cache-directory): Use 'cache-directory'
by default unless running as root.
2018-09-17 22:10:31 +02:00
Ludovic Courtès 3809824199
store: Add missing buffer flushes.
This could result in deadlock in unusual situations, whereby we'd start
waiting for a reply while the query hasn't been flushed to the socket.

* guix/store.scm (buffering-output-port)[flush]: Add call to
'force-output'.
(add-to-store): Add call to 'write-buffered-output'.
2018-09-17 22:10:31 +02:00
Tobias Geerinckx-Rice d68aa41573
gnu: enlightenment: Update to 0.22.4.
* gnu/packages/enlightenment.scm (enlightenment): Update to 0.22.4.
2018-09-17 12:50:21 +02:00
Tobias Geerinckx-Rice ee127549a3
gnu: efl: Update to 1.21.1.
* gnu/packages/enlightenment.scm (efl): Update to 1.21.1.
2018-09-17 12:50:21 +02:00
Tobias Geerinckx-Rice f6a4d57e06
gnu: foo2zjs: Update to 20180910.
* gnu/packages/cups.scm (foo2zjs): Update to 20180910.
2018-09-17 12:50:21 +02:00