Commit Graph

41059 Commits

Author SHA1 Message Date
Maxim Cournoyer ccdfae388d
services: openntpd: Fix the config generation code.
This fixes issue #37318 (see: http://bugs.gnu.org/37318).

* gnu/services/networking.scm (openntpd-configuration->string): Rewrite in
order to make the "openntpd configuration generation sanity check" test pass.
2019-09-08 23:15:32 +09:00
Maxim Cournoyer 2625abc6aa
services: openntpd: Add test for issue #3731.
See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37318.

* gnu/services/networking.scm (openntpd-configuration->string): New procedure,
extracted from top of the `openntpd-shepherd-service' to make it testable.
(openntpd-shepherd-service): Adapt following the move of the code to the above
procedure.
* tests/networking.scm: Add a test for the `openntpd-configuration->string'
procedure.
2019-09-08 23:15:32 +09:00
Maxim Cournoyer afd39a76e2
services: openntpd: Remove useless let.
* gnu/services/networking.scm (openntpd-shepherd-service): Remove useless let.
2019-09-08 23:15:31 +09:00
Maxim Cournoyer f92cf9d356
gnu: openntpd: Fix error CA errors when using constraints.
The error printed by nttpd was "constraint: failed to load constraint ca" when
libressl tried loading the file /etc/ssl/cert.pem.  The problem was
investigated as part of fixing issue 37318 (see:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37318).

* gnu/packages/ntp.scm (openntpd)[configure-flags]: Use the '--with-cacert'
flag to specify the location of the certificate authority file of libressl.
2019-09-08 23:15:31 +09:00
Maxim Cournoyer 5658ae8a0a
services: ntp: Support different NTP server types and options.
* gnu/services/networking.scm (ntp-server-types): New enum.
(<ntp-server>): New record type.
(ntp-server->string): New procedure.
(%ntp-servers): Define in terms of <htp-server> records.  Use the first
entrypoint server as a pool instead of a list of static servers.  This is more
resilient since a new server of the pool can be interrogated on every
request.  Add the 'iburst' options.
(ntp-configuration-servers): Define a custom accessor that warns but honors
the now deprecated server format.
(<ntp-configuration>): Use it.
(%openntpd-servers): New variable,
(<openntpd-configuration>): Use it, as a pool ('servers' field) instead of a
regular server.
* tests/networking.scm: New file.
* Makefile.am (SCM_TESTS): Register it.
* doc/guix.texi: Update documentation.
2019-09-08 23:15:31 +09:00
Maxim Cournoyer d4de2f9ea4
services: ntp: Fix KOD warning.
Otherwise the following messages would be printed by ntpd:

Sep  2 05:18:21 localhost ntpd[15849]: restrict default: KOD does nothing without LIMITE.
Sep  2 05:18:21 localhost ntpd[15849]: restrict ::: KOD does nothing without LIMITED.

Debian uses the same set of "restrict" keywords (see:
https://sources.debian.org/src/ntp/1:4.2.8p13+dfsg-2/debian/ntp.conf).

* gnu/services/networking.scm (ntp-shepherd-service): Add the 'limited'
keyword to both the IPv4 and IPv6 'restrict' directives.
2019-09-08 23:15:30 +09:00
Maxim Cournoyer 08b4a10fa6
services: ntp: Allow large adjustment by default.
This is documented as best practice in `man ntpd', and is required to allow
the date to be set correctly when traveling (without having to manually update
the hardware clock in the BIOS/UEFI).

* gnu/services/networking.scm (<ntp-server>)[allow-large-adjustment?]: Set the
default value to #t.
* doc/guix.texi (Networking Services): Update documentation.
2019-09-08 23:15:29 +09:00
L p R n d n 3426c0e531
gnu: thunar-volman: Update to 0.9.5.
* gnu/packages/xfce.scm (thunar-volman): Update to 0.9.5.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-09-08 14:43:41 +02:00
L p R n d n 2bb2971883
gnu: tumbler: Remove unused gstreamer.
* gnu/packages/xfce.scm (tumbler)[inputs]: Remove gstreamer.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-09-08 14:43:41 +02:00
L p R n d n 2a6f5190cf
gnu: tumbler: Fix pdf thumbnailer.
* gnu/packages/xfce.scm (tumbler)[inputs]: Add cairo.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-09-08 14:43:41 +02:00
Ludovic Courtès befac35876
gnu: libraft: Fetch source from Git.
* gnu/packages/cluster.scm (libraft)[source]: Switch to GIT-FETCH.
2019-09-08 14:43:41 +02:00
Andrew Miloradovsky 45151bcb94
gnu: Add libraft
* gnu/packages/cluster.scm (libraft): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-09-08 14:43:41 +02:00
Ludovic Courtès 74781c65f3
gnu: guix: Update to cc98b00.
* gnu/packages/package-management.scm (guix): Update to cc98b00.
(guix-daemon)[arguments]: Remove 'install' phase; add
'change-default-guix' phase.
2019-09-08 14:43:41 +02:00
Efraim Flashner 28ac73358f
gnu: micropython: Update to 1.11.
* gnu/packages/python.scm (micropython): Update to 1.11.
2019-09-08 14:43:15 +03:00
Efraim Flashner 78249ebf5b
gnu: wget2: Update to 1.99.2.
* gnu/packages/wget.scm (wget2): Update to 1.99.2.
[source]: Download from gnu mirrors.
[arguments]: Remove custom 'bootstrap phase, update custom
'skip-network-tests phase. Don't build static library.
[inputs]: Add bzip2, gpgme, zlib.
[native-inputs]: Remove autoconf, automake, flex, gettext-minimal,
libtool, python-2.
2019-09-08 13:53:26 +03:00
Efraim Flashner 7fb742215c
gnu: wget.scm: Use license: prefix.
* gnu/packages/wget.scm (wget, wgetpaste, wget2)[license]: Use
'license:' prefix.
2019-09-08 13:53:26 +03:00
raingloom 7fcc2f9355
gnu: Add fmit.
* gnu/packages/music.scm (fmit): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2019-09-08 11:08:46 +02:00
Efraim Flashner 799d8d3ca6
gnu: haskell-xyz.scm: Correctly hide packages.
* gnu/packages/haskell-xyz.scm (ghc-attoparsec-bootstrap,
ghc-integer-logarithms-bootstrap, ghc-scientific-bootstrap,
ghc-semigroups-bootstrap, ghc-unordered-containers-bootstrap,
ghc-wcwidth-bootstrap)[properties]: Fix typo, make 'hidden?' a tuple.
2019-09-08 11:18:39 +03:00
Ricardo Wurmus e0819e5ca2
gnu: Add emacs-tao-theme.
* gnu/packages/emacs-xyz.scm (emacs-tao-theme): New variable.
2019-09-08 09:27:26 +02:00
Vagrant Cascadian bc5aa38667
gnu: Add odt2txt.
* gnu/packages/textutils (odt2txt): New variable.
* gnu/packages/package-management (diffoscope)[native-inputs]: Add odt2txt.
  [use-modules]: Remove accidentally added libreoffice package module.
2019-09-08 00:21:21 -07:00
Vagrant Cascadian d54ca1cd4d
gnu: Add sng.
* gnu/packages/images (sng): New variable.
* gnu/packages/package-management (diffoscope)[native-inputs]: Add sng.
2019-09-07 23:44:04 -07:00
Vagrant Cascadian 68fea604b0
gnu: Add pngsuite.
* gnu/packages/image (pngsuite): New variable.
2019-09-07 23:44:01 -07:00
Vagrant Cascadian 37ecf2d905
gnu: diffoscope: Enable even more tests.
* gnu/packages/package-management (diffoscope)[native-inputs]: Add additional
  dependencies for tests.
  [use-module]: Add corresponding package modules.
2019-09-07 20:28:48 -07:00
Vagrant Cascadian 3dd20da0cb
gnu: diffoscope: Enable additional tests.
* gnu/packages/package-management (diffoscope) [native-inputs]: Add additional
  packages used for tests.
2019-09-07 20:28:35 -07:00
Vagrant Cascadian 3ec8c0ca94
gnu: diffoscope: Update to 123.
* gnu/packages/package-management (diffoscope): Update to 123.
  [arguments]: Update phase writable-test-data to include tests directory.
    Add phase remove-ocaml-test.
2019-09-07 20:28:18 -07:00
Vagrant Cascadian 9f74bd317f
gnu: python-debian: Update to 0.1.36.
* gnu/packages/python-xyz (python-debian): Update to 0.1.36.
  [source]: Switch to using git-fetch.
  [arguments]: Add phase to delete tests depending on tools not yet present in
  guix.
  [propagated-inputs]: Add python-chardet.
2019-09-07 20:27:34 -07:00
Ricardo Wurmus f791b1eecc
gnu: r-rsubread: Update to 1.34.7.
* gnu/packages/bioconductor.scm (r-rsubread): Update to 1.34.7.
2019-09-08 00:30:33 +02:00
Ricardo Wurmus a39222d7e2
gnu: r-regioner: Update to 1.16.3.
* gnu/packages/bioconductor.scm (r-regioner): Update to 1.16.3.
2019-09-08 00:30:33 +02:00
Ricardo Wurmus d40ebbf228
gnu: r-gprofiler: Update to 0.6.8.
* gnu/packages/bioinformatics.scm (r-gprofiler): Update to 0.6.8.
2019-09-08 00:30:33 +02:00
Ricardo Wurmus 8e70b33c56
gnu: r-annotationhub: Update to 2.16.1.
* gnu/packages/bioinformatics.scm (r-annotationhub): Update to 2.16.1.
2019-09-08 00:30:33 +02:00
Ricardo Wurmus f70599cb78
gnu: r-edger: Update to 3.26.8.
* gnu/packages/bioinformatics.scm (r-edger): Update to 3.26.8.
2019-09-08 00:30:33 +02:00
Ricardo Wurmus 801dc98f1f
gnu: r-ggraph: Update to 2.0.0.
* gnu/packages/cran.scm (r-ggraph): Update to 2.0.0.
[propagated-inputs]: Add r-graphlayouts, r-rlang, and r-tidygraph; remove
r-plyr.
2019-09-08 00:30:33 +02:00
Ricardo Wurmus 995a20e892
gnu: r-msigdbr: Update to 7.0.1.
* gnu/packages/cran.scm (r-msigdbr): Update to 7.0.1.
2019-09-08 00:30:33 +02:00
Ricardo Wurmus f396d343b7
gnu: r-ggeffects: Update to 0.12.0.
* gnu/packages/cran.scm (r-ggeffects): Update to 0.12.0.
2019-09-08 00:30:33 +02:00
Ricardo Wurmus 9a4706828c
gnu: r-ggformula: Update to 0.9.2.
* gnu/packages/cran.scm (r-ggformula): Update to 0.9.2.
2019-09-08 00:30:33 +02:00
Ricardo Wurmus c90eebf791
gnu: r-insight: Update to 0.5.0.
* gnu/packages/cran.scm (r-insight): Update to 0.5.0.
2019-09-08 00:30:33 +02:00
Ricardo Wurmus f11920c759
gnu: r-ggpubr: Update to 0.2.3.
* gnu/packages/cran.scm (r-ggpubr): Update to 0.2.3.
2019-09-08 00:30:32 +02:00
Ricardo Wurmus 9960ad55be
gnu: r-geometry: Update to 0.4.4.
* gnu/packages/cran.scm (r-geometry): Update to 0.4.4.
2019-09-08 00:30:32 +02:00
Ricardo Wurmus 02efab6917
gnu: r-feather: Update to 0.3.4.
* gnu/packages/cran.scm (r-feather): Update to 0.3.4.
2019-09-08 00:30:32 +02:00
Ricardo Wurmus 5e7c6e54c8
gnu: r-matrixstats: Update to 0.55.0.
* gnu/packages/statistics.scm (r-matrixstats): Update to 0.55.0.
2019-09-08 00:30:32 +02:00
Ricardo Wurmus de162a1509
gnu: r-rcpparmadillo: Update to 0.9.700.2.0.
* gnu/packages/statistics.scm (r-rcpparmadillo): Update to 0.9.700.2.0.
2019-09-08 00:30:32 +02:00
Ricardo Wurmus 2b705168e9
gnu: r-devtools: Update to 2.2.0.
* gnu/packages/statistics.scm (r-devtools): Update to 2.2.0.
[propagated-inputs]: Add r-covr, r-crayon, r-desc, r-dt, r-ellipsis, r-glue,
and r-rversions.
2019-09-08 00:30:32 +02:00
Ricardo Wurmus e5cf3722c6
gnu: r-gdtools: Update to 0.2.0.
* gnu/packages/statistics.scm (r-gdtools): Update to 0.2.0.
[inputs]: Add freetype.
[propagated-inputs]: Add r-systemfonts; remove r-withr.
2019-09-08 00:30:32 +02:00
Ricardo Wurmus 9567bd8dd9
gnu: Add r-tidygraph.
* gnu/packages/cran.scm (r-tidygraph): New variable.
2019-09-08 00:30:32 +02:00
Ricardo Wurmus 9390300915
gnu: Add r-graphlayouts.
* gnu/packages/cran.scm (r-graphlayouts): New variable.
2019-09-08 00:30:32 +02:00
Ricardo Wurmus 6983178b06
gnu: Add r-systemfonts.
* gnu/packages/cran.scm (r-systemfonts): New variable.
2019-09-08 00:30:32 +02:00
Ricardo Wurmus 7a5ed348c0
gnu: Add r-covr.
* gnu/packages/cran.scm (r-covr): New variable.
2019-09-08 00:30:32 +02:00
Arun Isaac 9d280ef2a8
gnu: poussetaches: Update to 0.0.2.
* gnu/packages/web.scm (poussetaches): Update to 0.0.2.
2019-09-08 00:02:59 +05:30
Julien Lepiller e877f4d012
gnu: nml: Fix for newer pillow version.
* gnu/packages/game-development.scm (nml)[arguments]: Add a phase to fix
for newer pillow.
2019-09-07 20:14:50 +02:00
Kei Kebreau c3a7dae831
gnu: qtermwidget: Enable UTF-8 support.
* gnu/packages/lxqt.scm (qtermwidget)[inputs]: Add utf8proc.
2019-09-07 09:17:34 -04:00