guix/gnu
Bruno Victal 9be1ee6a49
services: tor: Deprecate 'tor-hidden-service' procedure.
Due to (now renamed) 'hidden-service' record type not being exported, the only
way Onion services (formely hidden services) could have worked is through the
now deprecated 'tor-hidden-service' procedure.

This commit updates the Tor service documentation, corrects some inconsistently
named accessors in <tor-configuration> record-type, renames and refactors
tor-hidden-service-configuration to tor-onion-service-configuration using
define-configuration and also exports it, allowing Onion services to be
configured directly within a <tor-configuration> record.
Lastly, it also deprecates the 'tor-hidden-service' procedure.

* doc/guix.texi (Networking Services): Substitute mentions of “Hidden services”
with “Onion Services”. Add a Tor Onion service configuration example.
Document <tor-onion-service-configuration>. Remove mention of
'tor-hidden-service' procedure.
* gnu/services/networking.scm: Export tor-configuration-tor,
tor-configuration-config-file, tor-configuration-hidden-services,
tor-configuration-socks-socket-type, tor-configuration-control-socket-path,
tor-onion-service-configuration, tor-onion-service-configuration?,
tor-onion-service-configuration-name, tor-onion-service-configuration-mapping.
(<tor-configuration>)[control-socket?]: Rename accessor.
(<hidden-service>): Replace with …
(<tor-onion-service-configuration>): … this.
(tor-configuration->torrc): Update record-type name.
(tor-activation): Ditto.
(tor-hidden-service-type): Remove variable.
(tor-hidden-service): Deprecate procedure.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-04-25 17:19:21 +02:00
..
bootloader
build file-systems: Validate 'no-diratime flag. 2023-02-26 01:00:07 +01:00
home
installer installer: final: Delete SQLite WAL and shm files upon completion. 2022-12-18 01:17:17 +01:00
machine
packages gnu: ghc-8.10: Avoid testsuite timeouts on i686. 2023-04-25 16:54:57 +02:00
services services: tor: Deprecate 'tor-hidden-service' procedure. 2023-04-25 17:19:21 +02:00
system
tests
artwork.scm
bootloader.scm
ci.scm
compression.scm
home.scm
image.scm system: image: Add wsl2 support. 2022-09-24 14:49:09 +02:00
installer.scm
local.mk Merge remote-tracking branch 'origin/master' into core-updates 2023-04-25 15:19:29 +02:00
machine.scm
packages.scm
services.scm
system.scm
tests.scm