From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MF1zLPBb+mM6SAAAbAwnHQ (envelope-from ) for ; Sat, 25 Feb 2023 20:05:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aMxYLPBb+mPQeQEAauVa8A (envelope-from ) for ; Sat, 25 Feb 2023 20:05:20 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8E941207A for ; Sat, 25 Feb 2023 20:05:20 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677351920; a=rsa-sha256; cv=none; b=kPG/p8v/4V1lJ2ihAbjjmuyHprDckyr4Hykrj1NYzsTbZFkGuhe51yOmabnOpYbSCgSPuH A+MubD8e+11xAjWIyAmYXqbtZLbuUoZv3JDgImPDF8isjtVRuwdQ2C1OAQqT0j+pBfgTP3 ZWCKUfltZUaUHRV+cGwvRR3/pXVehoTGCBB9BDmGnaQv2Q8oJ0O3dRlErfncoU8VFZ6Nrg EL7tlAVxsXdEmLFT1/xGctp9AS45yMRCo/IHJJyKEugdDziUBWHEuLgA70IFUaRrOqqEDa wz+he1vhg3UUY2tIjBicMdh81A+BbzHrsPhelubSZuhgQDEgB5cTcHDlX0umsQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677351920; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=xPf5R1KDv94ZFVxY83J6DW/gRq21RQ5746cCWFLLav8=; b=sylXVI+aKn+SP2xpP635tJpR6JGe67D+8xtGwMm526YecR02/evCwT6MED9HW4inzvE2jK qBvNWsvupnNBYtzmByLs3W/VVc2ZmExpA6VVvCUNBblJJUs7gqL8qolxspL7CtBxMWreA8 e7NUhgkcdQxnxqpWn1TQG4+Yi42Gx7DOg9oQgjWgJQPLRoJ3auYud4Boxz9VU6Jmy0Bq28 N19dPb2Ydk0xxCUBfqpfJZCoSQmCozsin0sYETQBzvu2BuGEC64v6HHyFaEknjCDEOn2FM WbabXzPGfIEBiuHdBvZ0atw07mk6bBOSf6dFDlL+yfX5sMsxzsi3GIX9qaWiIA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVzqz-0004te-3X; Sat, 25 Feb 2023 14:05:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVzqx-0004ss-6c for guix-patches@gnu.org; Sat, 25 Feb 2023 14:05:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pVzqw-0002Kt-Po for guix-patches@gnu.org; Sat, 25 Feb 2023 14:05:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pVzqw-0008Dz-Kx for guix-patches@gnu.org; Sat, 25 Feb 2023 14:05:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61789] [PATCH 13/27] services: ssh: Deprecate 'dropbear-service' procedure. Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 25 Feb 2023 19:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61789 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61789@debbugs.gnu.org Cc: Bruno Victal Received: via spool by 61789-submit@debbugs.gnu.org id=B61789.167735187231560 (code B ref 61789); Sat, 25 Feb 2023 19:05:02 +0000 Received: (at 61789) by debbugs.gnu.org; 25 Feb 2023 19:04:32 +0000 Received: from localhost ([127.0.0.1]:41551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVzqR-0008Cw-TH for submit@debbugs.gnu.org; Sat, 25 Feb 2023 14:04:32 -0500 Received: from smtpm6.myservices.hosting ([185.26.105.207]:37098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVzqP-0008Ci-Id for 61789@debbugs.gnu.org; Sat, 25 Feb 2023 14:04:30 -0500 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm6.myservices.hosting (Postfix) with ESMTP id 23EE920D46 for <61789@debbugs.gnu.org>; Sat, 25 Feb 2023 20:04:28 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id DAB19800A1; Sat, 25 Feb 2023 19:58:22 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id i8aF-s3EGx8o; Sat, 25 Feb 2023 19:58:22 +0100 (CET) Received: from guix-nuc.home.arpa (bl9-119-177.dsl.telepac.pt [85.242.119.177]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 0A2408009F; Sat, 25 Feb 2023 19:58:20 +0100 (CET) From: Bruno Victal Date: Sat, 25 Feb 2023 18:57:59 +0000 Message-Id: X-Mailer: git-send-email 2.39.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: 8E941207A X-Spam-Score: -3.18 X-Migadu-Spam-Score: -3.18 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: ZLWE+H5+A9U5 * 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{} -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{} 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{} object." -- 2.39.1