[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#61789] [PATCH 13/27] services: ssh: Deprecate 'dropbear-service' pr
From: |
Bruno Victal |
Subject: |
[bug#61789] [PATCH 13/27] services: ssh: Deprecate 'dropbear-service' procedure. |
Date: |
Sat, 25 Feb 2023 18:57:59 +0000 |
* doc/guix.texi (Networking Services): Replace 'dropbear-service' with
'dropbear-service-type'.
* gnu/services/ssh.scm (dropbear-service): Deprecate procedure.
---
doc/guix.texi | 17 ++++++++---------
gnu/services/ssh.scm | 6 ++++--
2 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 50ac49e65f..9f6f1f8794 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -20998,19 +20998,18 @@ Networking Services
@end table
@end deftp
-@deffn {Scheme Procedure} dropbear-service [@var{config}]
-Run the @uref{https://matt.ucc.asn.au/dropbear/dropbear.html,Dropbear SSH
-daemon} with the given @var{config}, a @code{<dropbear-configuration>}
-object.
+@defvar dropbear-service-type
+Type of the service that runs the
+@url{https://matt.ucc.asn.au/dropbear/dropbear.html, Dropbear SSH daemon},
+whose value is a @code{<dropbear-configuration>} object.
-For example, to specify a Dropbear service listening on port 1234, add
-this call to the operating system's @code{services} field:
+For example, to specify a Dropbear service listening on port 1234:
@lisp
-(dropbear-service (dropbear-configuration
- (port-number 1234)))
+(service dropbear-service-type (dropbear-configuration
+ (port-number 1234)))
@end lisp
-@end deffn
+@end defvar
@deftp {Data Type} dropbear-configuration
This data type represents the configuration of a Dropbear SSH daemon.
diff --git a/gnu/services/ssh.scm b/gnu/services/ssh.scm
index 3baa55731d..b76544c1a8 100644
--- a/gnu/services/ssh.scm
+++ b/gnu/services/ssh.scm
@@ -52,7 +52,7 @@ (define-module (gnu services ssh)
dropbear-configuration
dropbear-configuration?
dropbear-service-type
- dropbear-service
+ dropbear-service ; deprecated
autossh-configuration
autossh-configuration?
@@ -717,7 +717,9 @@ (define dropbear-service-type
dropbear-activation)))
(default-value (dropbear-configuration))))
-(define* (dropbear-service #:optional (config (dropbear-configuration)))
+(define-deprecated (dropbear-service #:optional
+ (config (dropbear-configuration)))
+ dropbear-service-type
"Run the @uref{https://matt.ucc.asn.au/dropbear/dropbear.html,Dropbear SSH
daemon} with the given @var{config}, a @code{<dropbear-configuration>}
object."
--
2.39.1
- [bug#61789] [PATCH 11/27] services: tor: Deprecate 'tor-hidden-service' procedure., (continued)
- [bug#61789] [PATCH 11/27] services: tor: Deprecate 'tor-hidden-service' procedure., Bruno Victal, 2023/02/25
- [bug#61789] [PATCH 17/27] services: desktop: Deprecate 'accountsservice-service' procedure., Bruno Victal, 2023/02/25
- [bug#61789] [PATCH 24/27] services: lirc: Deprecate 'lirc-service' procedure., Bruno Victal, 2023/02/25
- [bug#61789] [PATCH 20/27] services: desktop: Deprecate 'geoclue-service' procedure., Bruno Victal, 2023/02/25
- [bug#61789] [PATCH 16/27] services: elogind-configuration: Do not ignore 'handle-hibernate-key' by default., Bruno Victal, 2023/02/25
- [bug#61789] [PATCH 22/27] services: mail: Deprecate 'dovecot-service' procedure., Bruno Victal, 2023/02/25
- [bug#61789] [PATCH 25/27] services: spice: Deprecate 'spice-vdagent-service' procedure., Bruno Victal, 2023/02/25
- [bug#61789] [PATCH 21/27] services: desktop: Deprecate 'bluetooth-service' procedure., Bruno Victal, 2023/02/25
- [bug#61789] [PATCH 15/27] services: desktop: Deprecate 'elogind-service' procedure., Bruno Victal, 2023/02/25
- [bug#61789] [PATCH 27/27] services: dbus: Deprecate 'dbus-service' procedure., Bruno Victal, 2023/02/25
- [bug#61789] [PATCH 13/27] services: ssh: Deprecate 'dropbear-service' procedure.,
Bruno Victal <=
- [bug#61789] [PATCH 06/27] services: base: Deprecate 'nscd-service' procedure., Bruno Victal, 2023/02/25