summary refs log tree commit diff
path: root/gnu/services/networking.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-06-12 00:24:20 +0200
committerLudovic Courtès <ludo@gnu.org>2021-06-14 18:35:17 +0200
commitf70c3429ed0064eb4554722b4a60031385fd6785 (patch)
tree1d36ad97598183152c5847b894aed93cde01a46f /gnu/services/networking.scm
parent73622e613b417c4e1f3dc7388cbc8081ad51df1b (diff)
downloadguix-f70c3429ed0064eb4554722b4a60031385fd6785.tar.gz
services: Remove deprecated service procedures.
These service procedures were deprecated in January 2019, for instance
in commit 65a67bf711b14bc7200f6730c0f173375ca12974.

* gnu/services/avahi.scm (avahi-service): Remove.
* gnu/services/base.scm (console-keymap, guix-service)
(guix-publish-service, gpm-service, urandom-seed-service): Remove.
* gnu/services/desktop.scm (upower-service, colord-service): Remove.
* gnu/services/mcron.scm (mcron-service): Remove.
* gnu/services/messaging.scm (bitlbee-service): Remove.
* gnu/services/networking.scm (dhcp-client-service, ntp-service)
(tor-service): Remove.
* gnu/services/xorg.scm (slim-service, gdm-service): Remove.
Diffstat (limited to 'gnu/services/networking.scm')
-rw-r--r--gnu/services/networking.scm39
1 files changed, 0 insertions, 39 deletions
diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index 87b3d754a3..1ae58041d3 100644
--- a/gnu/services/networking.scm
+++ b/gnu/services/networking.scm
@@ -73,7 +73,6 @@
   #:re-export (static-networking-service
                static-networking-service-type)
   #:export (%facebook-host-aliases
-            dhcp-client-service
             dhcp-client-service-type
 
             dhcpd-service-type
@@ -99,7 +98,6 @@
             ntp-server-address
             ntp-server-options
 
-            ntp-service
             ntp-service-type
 
             %openntpd-servers
@@ -126,7 +124,6 @@
             tor-configuration
             tor-configuration?
             tor-hidden-service
-            tor-service
             tor-service-type
 
             wicd-service-type
@@ -310,12 +307,6 @@ fe80::1%lo0 apps.facebook.com\n")
    (description "Run @command{dhcp}, a Dynamic Host Configuration
 Protocol (DHCP) client, on all the non-loopback network interfaces.")))
 
-(define-deprecated (dhcp-client-service #:key (dhcp isc-dhcp))
-  dhcp-client-service-type
-  "Return a service that runs @var{dhcp}, a Dynamic Host Configuration
-Protocol (DHCP) client, on all the non-loopback network interfaces."
-  (service dhcp-client-service-type dhcp))
-
 (define-record-type* <dhcpd-configuration>
   dhcpd-configuration make-dhcpd-configuration
   dhcpd-configuration?
@@ -541,21 +532,6 @@ daemon of the @uref{http://www.ntp.org, Network Time Foundation}.  The daemon
 will keep the system clock synchronized with that of the given servers.")
                 (default-value (ntp-configuration))))
 
-(define-deprecated (ntp-service #:key (ntp ntp)
-                                (servers %ntp-servers)
-                                allow-large-adjustment?)
-  ntp-service-type
-  "Return a service that runs the daemon from @var{ntp}, the
-@uref{http://www.ntp.org, Network Time Protocol package}.  The daemon will
-keep the system clock synchronized with that of @var{servers}.
-@var{allow-large-adjustment?} determines whether @command{ntpd} is allowed to
-make an initial adjustment of more than 1,000 seconds."
-  (service ntp-service-type
-           (ntp-configuration (ntp ntp)
-                              (servers servers)
-                              (allow-large-adjustment?
-                               allow-large-adjustment?))))
-
 
 ;;;
 ;;; OpenNTPD.
@@ -1059,21 +1035,6 @@ HiddenServicePort ~a ~a~%"
                  "Run the @uref{https://torproject.org, Tor} anonymous
 networking daemon.")))
 
-(define-deprecated (tor-service #:optional
-                                (config-file (plain-file "empty" ""))
-                                #:key (tor tor))
-  tor-service-type
-  "Return a service to run the @uref{https://torproject.org, Tor} anonymous
-networking daemon.
-
-The daemon runs as the @code{tor} unprivileged user.  It is passed
-@var{config-file}, a file-like object, with an additional @code{User tor} line
-and lines for hidden services added via @code{tor-hidden-service}.  Run
-@command{man tor} for information about the configuration file."
-  (service tor-service-type
-           (tor-configuration (tor tor)
-                              (config-file config-file))))
-
 (define tor-hidden-service-type
   ;; A type that extends Tor with hidden services.
   (service-type (name 'tor-hidden-service)