Commit graph

111665 commits

Author SHA1 Message Date
Eric Bavier
37dd69b445
tests: Fix checks for expected failures.
Addresses <https://issues.guix.gnu.org/62406>.

With 'set -e', a return status inverted with '!' does not cause the shell to
exit immediately.  Instead use '&& false' to indicate an expected failure.

* tests/guix-archive.sh, tests/guix-build-branch.sh, tests/guix-build.sh,
tests/guix-daemon.sh, tests/guix-download.sh,
tests/guix-environment-container.sh, tests/guix-environment.sh,
tests/guix-gc.sh, tests/guix-git-authenticate.sh, tests/guix-graph.sh,
tests/guix-hash.sh, tests/guix-home.sh, tests/guix-pack-relocatable.sh,
tests/guix-pack.sh, tests/guix-package-aliases.sh, tests/guix-package-net.sh,
tests/guix-package.sh, tests/guix-refresh.sh, tests/guix-shell.sh,
tests/guix-style.sh, tests/guix-system.sh: Replace uses of '! ...' with
'... && false' or `test ! ...` as appropriate.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-04-21 16:16:38 +02:00
Ludovic Courtès
a09c7da8f8
tests: Fork and exec a new Guile for the marionette REPL.
By merely forking PID 1, details from PID 1 (shepherd) would leak into
the marionette process, such as the set of modules in scope and state
inherited from the shepherd process (<service> instances, fibers,
etc.).  Running a fresh Guile instance avoids that.

* gnu/tests.scm (marionette-program): New procedure.
(marionette-shepherd-service): Change 'start' to use
'make-forkexec-constructor', and run the result of 'marionette-program'.
2023-04-21 16:16:38 +02:00
Ludovic Courtès
fb32e226ce
tests: Use the client 'start-service' procedure.
The previous code worked "by chance": 'start' from (shepherd service)
happened to be in scope because the marionette REPL is created by a mere
'primitive-fork', and 'start' happened to kinda work.

* gnu/tests/base.scm (run-basic-test): Use 'start-service' from (gnu
services herd), not 'start' from (shepherd service), which is not
supposed to work.
* gnu/tests/install.scm (run-install): Likewise.
2023-04-21 16:16:38 +02:00
Ludovic Courtès
95731b4ef1
services: herd: 'load-services/safe' is synonymous with 'load-services'.
This is a followup to 547965aa27.

* gnu/services/herd.scm (load-services/safe): Make an alias for
'load-services'.
2023-04-21 16:16:37 +02:00
Ludovic Courtès
9385c82c54
services: nscd: Depend on syslogd.
This gets rid of nscd debug messages on the console at boot time.

* gnu/services/base.scm (nscd-shepherd-service): Add dependency on
'syslogd'.
2023-04-21 16:16:37 +02:00
Ludovic Courtès
e45306c198
services: postgresql: Add default package.
* gnu/services/databases.scm (<postgresql-configuration>)[postgresql]:
Add default value, moved from...
(postgresql-service-type)[default-value]: ... here.
2023-04-21 16:16:37 +02:00
Ludovic Courtès
1fa038324d
services: knot: Add 'configuration' action.
* gnu/services/dns.scm (knot-shepherd-service): Add 'actions' field.
2023-04-21 16:16:37 +02:00
Ludovic Courtès
70677d8822
services: rsync: Add 'configuration' action.
* gnu/services/rsync.scm (rsync-shepherd-service): Add 'actions' field.
2023-04-21 16:16:37 +02:00
Ludovic Courtès
0ac2ada05a
services: redis: Add 'configuration' action.
* gnu/services/databases.scm (redis-shepherd-service): Add 'actions'
field.
2023-04-21 16:16:36 +02:00
Ludovic Courtès
97f91aa4ac
services: mysql: Add 'configuration' action.
* gnu/services/databases.scm (mysql-shepherd-service): Add 'actions'
field.
2023-04-21 16:16:36 +02:00
Ludovic Courtès
a5fc3fc921
services: postgresql: Add 'configuration' action.
* gnu/services/databases.scm (postgresql-shepherd-service): Add
'actions' field.
2023-04-21 16:16:36 +02:00
Ludovic Courtès
7aaf278286
services: postgresql: Add the 'postgresql' Shepherd service name.
* gnu/services/databases.scm (postgresql-shepherd-service): Add
'postgresql' to 'provision'.
2023-04-21 16:16:36 +02:00
Maxim Cournoyer
0830059b9c
gnu: freerdp: Update to 2.2.0 [security fixes].
This fixes CVE-2022-39316, CVE-2022-39317, CVE-2022-39318, CVE-2022-39319,
CVE-2022-39320, CVE-2022-41877, CVE-2022-39347, CVE-2022-39282,
CVE-2022-39283, CVE-2021-41159 and CVE-2021-41160.

* gnu/packages/rdesktop.scm (freerdp): Update to 2.2.0.
[arguments]: Use gexps.  Do not set DOCBOOKXSL_DIR in #:configureflags.
2023-04-21 09:56:59 -04:00
Maxim Cournoyer
2c1e17071d
services: syslog: Log auth.info to /var/log/secure in default configuration.
This causes authentication failures such as those generated by SSH brute force
attacks to appear in /var/log/secure, which is picked up by tools such as
fail2ban.

* gnu/services/base.scm (%default-syslog.conf): Add a auth.info selector for
the /var/log/secure log.

Series-to: 62802@debbugs.gnu.org
2023-04-21 09:04:40 -04:00
Maxim Cournoyer
9f890e39e4
services/syslog: Strip leading white space indent in syslog.conf.
This is a cosmetic change.

* gnu/services/base.scm (%default-syslog.conf): Add a comment referencing the
documentation.  Strip the extraneous leading trailing white space indent.
2023-04-21 09:04:40 -04:00
Maxim Cournoyer
2c67e98b37
services: syslog: Add a reload action.
* gnu/services/base.scm (syslog-service-type) [actions]: Add a reload action.
* doc/guix.texi (Base Services): Document it.
2023-04-21 09:04:40 -04:00
Maxim Cournoyer
1ae279d7c8
services: syslog: Move configuration to /etc/syslog.conf.
Having the configuration live at a static location makes it possible to
hot-reload it.

* gnu/services/base.scm (syslog.conf): New variable.
(syslog-etc, syslog-shepherd-service): New procedures.
(syslog-service-type): Rewrite using the above new variable and procedures,
extending etc-service-type with its configuration file.
2023-04-21 09:04:39 -04:00
Mădălin Ionel Patrașcu
184658e282
gnu: bppsuite: Update to 2.4.1.
* gnu/packages/bioinformatics.scm (bppsuite): Update to 2.4.1.
[source]: Remove the commit and use the release version. Changed to the github
repo.
[arguments]: Remove the disabled parallel-build.
[inputs]: Use list.
[home-page]: Changed to github page.
2023-04-21 14:01:25 +02:00
Mădălin Ionel Patrașcu
2a20acf24b
gnu: bpp-popgen: Update to 2.4.1.
* gnu/packages/bioinformatics.scm (bpp-popgen): Update to 2.4.1.
[source]: Remove the commit and use the release version. Changed to the github
repo.
[arguments]: Remove the disabled parallel-build.
[home-page]: Changed to new host Université Claude-Bernard Lyon 1.
2023-04-21 14:01:22 +02:00
Mădălin Ionel Patrașcu
2babf3d7d7
gnu: Add maffilter.
* gnu/packages/bioinformatics.scm (maffilter): New variable.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
2023-04-21 13:15:02 +02:00
Mădălin Ionel Patrașcu
7c75228c8b
gnu: Add bpp-phyl-omics.
* gnu/packages/bioinformatics.scm (bpp-phyl-omics): New variable.
2023-04-21 12:56:39 +02:00
Mădălin Ionel Patrașcu
722a8b2296
gnu: Add bpp-seq-omics.
* gnu/packages/bioinformatics.scm (bpp-seq-omics): New variable.
2023-04-21 12:56:39 +02:00
Mădălin Ionel Patrașcu
5107a8a1a3
gnu: bpp-phyl: Update to 2.4.1.
* gnu/packages/bioinformatics.scm (bpp-phyl): Update to 2.4.1.

[source]: Remove the commit and use the release version. Changed to the github
repo.
[arguments]: Remove the disabled parallel-build and out-of-source.
[home-page]: Changed to new host Université Claude-Bernard Lyon 1.
[synopsis]: Use proper capitalization.
2023-04-21 12:56:39 +02:00
Mădălin Ionel Patrașcu
627049872b
gnu: bpp-seq: Update to 2.4.1.
* gnu/packages/bioinformatics.scm (bpp-seq): Update to 2.4.1.

[source]: Remove the commit and use the release version. Changed to the github
repo.
[arguments]: Remove the disabled parallel-build and out-of-source.
[home-page]: Changed to new host Université Claude-Bernard Lyon 1.
2023-04-21 12:56:38 +02:00
Mădălin Ionel Patrașcu
51ef858c94
gnu: bpp-core: Update to 2.4.1.
* gnu/packages/bioinformatics.scm (bpp-core): Update to 2.4.1.

[source]: Remove the commit and use the release version. Changed to the github
stored sources.
[arguments]: Remove the disabled parallel-build.
[home-page]: Changed to new host Université Claude-Bernard Lyon 1.
2023-04-21 12:56:38 +02:00
Nicolas Goaziou
7cfc226d1e
gnu: luakit: Further improve style.
This is a followup to d3bc56da04.

* gnu/packages/web-browsers.scm (luakit)[arguments]<#:phases>: Remove
unnecessary INPUTS key.
[inputs]: Sort alphabetically.
2023-04-21 12:42:36 +02:00
Nicolas Goaziou
d3bc56da04
gnu: luakit: Improve package style.
* gnu/packages/web-browsers.scm (luakit)[arguments]<#:tests?>: Properly
disable tests instead of deleting CHECK phase.
<#:make-flags, #:phases>: Use G-expressions.  Remove trailing #T.
<#:test-targes>: Add it, for the record.
[inputs]: Remove labels.
2023-04-21 11:18:56 +02:00
Yovan Naumovski
1027f10199
gnu: Add alienblaster.
* gnu/packages/games.scm (alienblaster): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-04-21 10:50:55 +02:00
Antero Mejr
2662f074a0
gnu: Add clog.
* gnu/packages/parallel.scm (clog): New variable.
* gnu/packages/patches/clog-fix-shared-build.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-04-21 10:50:55 +02:00
Andy Tai
9d7ba42dbf
gnu: a2ps: Update to 4.15.4
* gnu/packages/pretty-print.scm (a2ps): Update to 4.15.4

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-04-21 10:50:55 +02:00
Eidvilas Markevičius
1322672667
gnu: kakoune: update to 2022.10.31.
* gnu/packages/text-editors.scm (kakoune): Update to 2022.10.31.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-04-21 10:50:54 +02:00
Andy Tai
482196a855
gnu: terminator: Update to 2.1.3
* gnu/packages/gnome.scm (terminator): Update to 2.1.3

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-04-21 10:50:54 +02:00
kiasoc5
c3f51e1599
gnu: wlr-randr: Update to 0.3.0.
* gnu/packages/wm.scm (wlr-randr): Update to 0.3.0.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-04-21 10:50:54 +02:00
kiasoc5
87e37ac723
gnu: mpdevil: Update to 1.10.2.
* gnu/packages/mpd.scm (mpdevil): Update to 1.10.2.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-04-21 10:50:54 +02:00
Andy Tai
74e2ac6a0e
gnu: icewm: Update to 3.3.3.
* gnu/packages/wm.scm (icewm): Update to 3.3.3.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-04-21 10:50:53 +02:00
Brendan Tildesley
604f911d2c
gnu: python-txtorcon: Fix build.
gnu/packages/python-crypto.scm (python-txtorcon): Fix build failure.
[propagated-inputs]: Add PYTHON-PYOPENSSL.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-04-21 10:50:53 +02:00
Nicolas Goaziou
db4daa4192
gnu: wireshark: Update to 4.0.5.
* gnu/packages/networking.scm (wireshark): Update to 4.0.5.
2023-04-21 10:50:53 +02:00
Liliana Marie Prikler
b7747824d8
gnu: komikku: Update to 1.17.0.
This fixes a version incompatibility with WebkitGTK.

* gnu/packages/gnome.scm (komikku): Update to 1.17.0.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-04-21 10:50:52 +02:00
Raphaël Mélotte
b833e481c6
gnu: luakit: Update to 2.3.3.
* gnu/packages/web-browsers.scm (luakit): Update to 2.3.3

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-04-21 10:50:52 +02:00
Nicolas Goaziou
823b1567cb
gnu: emacs-no-littering: Update to 1.3.0.
* gnu/packages/emacs-xyz.scm (emacs-no-littering): Update to 1.3.0.
[propagated-inputs]: Add EMACS-COMPAT.
2023-04-21 10:50:52 +02:00
Nicolas Goaziou
ec13119d20
gnu: emacs-embark: Update to 0.22.1.
* gnu/packages/emacs-xyz.scm (emacs-embark): Update to 0.22.1.
2023-04-21 10:50:52 +02:00
Nicolas Goaziou
4c6524d981
gnu: emacs-elfeed-score: Build and install info documentation.
* gnu/packages/emacs-xyz.scm (emacs-elfeed-score)[arguments]<#:phases>: Add
a phase to build info files.
[native-inputs]: Add TEXINFO.
2023-04-21 10:50:51 +02:00
Nicolas Goaziou
c0d324095e
gnu: emacs-elfeed-score: Update to 1.2.5.
* gnu/packages/emacs-xyz.scm (emacs-elfeed-score): Update to 1.2.5.
2023-04-21 10:50:51 +02:00
Nicolas Goaziou
85f56611da
gnu: emacs-doom-modeline: Update to 3.4.0.
* gnu/packages/emacs-xyz.scm (emacs-doom-modeline): Update to 3.4.0.
2023-04-21 10:50:51 +02:00
Nicolas Goaziou
4c88e73786
gnu: emacs-buttercup: Update to 1.31.
* gnu/packages/emacs-xyz.scm (emacs-buttercup): Update to 1.31.
2023-04-21 10:50:50 +02:00
Nicolas Goaziou
0460ff069e
gnu: emacs-emms: Update to 15.
* gnu/packages/emacs-xyz.scm (emacs-emms): Update to 15.
2023-04-21 10:50:50 +02:00
Leo Famulari
ccfae52855
gnu: linux-libre 4.14: Update to 4.14.313.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.313.
(linux-libre-4.14-pristine-source): Update hash.
2023-04-20 23:45:13 -04:00
Leo Famulari
4c0afe137c
gnu: linux-libre 4.19: Update to 4.19.281.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.281.
(linux-libre-4.19-pristine-source): Update hash.
2023-04-20 23:45:12 -04:00
Leo Famulari
f2863d0c99
gnu: linux-libre 5.4: Update to 5.4.241.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.241.
(linux-libre-5.4-pristine-source): Update hash.
2023-04-20 23:45:12 -04:00
Leo Famulari
85a50e9b82
gnu: linux-libre 5.10: Update to 5.10.178.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.178.
(linux-libre-5.10-pristine-source): Update hash.
2023-04-20 23:45:12 -04:00