~ruther/guix-local

6a76811c — Juliana Sims 3 years ago
gnu: Add emacs-gerbil-mode.

* gnu/packages/emacs-xyz.scm (emacs-gerbil-mode): Add emacs-gerbil-mode.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
76cda178 — Peter Polidoro 3 years ago
gnu: kicad: Update to 7.0.2.

* gnu/packages/engineering.scm (kicad): Update to 7.0.2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
1df54cea — Ludovic Courtès 3 years ago
packages: 'package-direct-sources' correctly handles non-origin sources.

Previously 'package-direct-sources' would trigger a wrong-type-arg error
when passed a package whose 'source' is not an origin, such as
'ruby-sorbet-runtime'.

* guix/packages.scm (package-direct-sources): Call 'expand' if and only
if (package-source package) is an origin.
61a6b058 — Ludovic Courtès 3 years ago
tests: Relax two tests that expected a non-zero error code.

* tests/guix-package-aliases.sh: "guix upgrade foo bar" has always
returned zero; adjust accordingly.
* tests/guix-refresh.sh: "guix refresh -t test idutils" and similar
return zero; adjust accordingly.
37dd69b4 — Eric Bavier 3 years ago
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>
a09c7da8 — Ludovic Courtès 3 years ago
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'.
fb32e226 — Ludovic Courtès 3 years ago
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.
95731b4e — Ludovic Courtès 3 years ago
services: herd: 'load-services/safe' is synonymous with 'load-services'.

This is a followup to 547965aa27b6a09cadf42130b7ec7db3f1aee61f.

* gnu/services/herd.scm (load-services/safe): Make an alias for
'load-services'.
9385c82c — Ludovic Courtès 3 years ago
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'.
e45306c1 — Ludovic Courtès 3 years ago
services: postgresql: Add default package.

* gnu/services/databases.scm (<postgresql-configuration>)[postgresql]:
Add default value, moved from...
(postgresql-service-type)[default-value]: ... here.
1fa03832 — Ludovic Courtès 3 years ago
services: knot: Add 'configuration' action.

* gnu/services/dns.scm (knot-shepherd-service): Add 'actions' field.
70677d88 — Ludovic Courtès 3 years ago
services: rsync: Add 'configuration' action.

* gnu/services/rsync.scm (rsync-shepherd-service): Add 'actions' field.
0ac2ada0 — Ludovic Courtès 3 years ago
services: redis: Add 'configuration' action.

* gnu/services/databases.scm (redis-shepherd-service): Add 'actions'
field.
97f91aa4 — Ludovic Courtès 3 years ago
services: mysql: Add 'configuration' action.

* gnu/services/databases.scm (mysql-shepherd-service): Add 'actions'
field.
a5fc3fc9 — Ludovic Courtès 3 years ago
services: postgresql: Add 'configuration' action.

* gnu/services/databases.scm (postgresql-shepherd-service): Add
'actions' field.
7aaf2782 — Ludovic Courtès 3 years ago
services: postgresql: Add the 'postgresql' Shepherd service name.

* gnu/services/databases.scm (postgresql-shepherd-service): Add
'postgresql' to 'provision'.
0830059b — Maxim Cournoyer 3 years ago
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.
2c1e1707 — Maxim Cournoyer 3 years ago
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
9f890e39 — Maxim Cournoyer 3 years ago
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.
2c67e98b — Maxim Cournoyer 3 years ago
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.
Next