From patchwork Tue Mar 21 04:25:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Lechner X-Patchwork-Id: 48486 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A4B0616F4C; Tue, 21 Mar 2023 04:26:22 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 96D3E16F42 for ; Tue, 21 Mar 2023 04:26:21 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peTZU-0007QM-8d; Tue, 21 Mar 2023 00:26:04 -0400 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 1peTZS-0007Ol-C9 for guix-patches@gnu.org; Tue, 21 Mar 2023 00:26:02 -0400 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 1peTZR-0002y0-P8 for guix-patches@gnu.org; Tue, 21 Mar 2023 00:26:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peTZR-0002h2-LD for guix-patches@gnu.org; Tue, 21 Mar 2023 00:26:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62156] [PATCH v4 1/2] gnu: Add atftp. References: In-Reply-To: Resent-From: Felix Lechner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Mar 2023 04:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62156 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62156@debbugs.gnu.org Cc: Sergey Trofimov , Felix Lechner Received: via spool by 62156-submit@debbugs.gnu.org id=B62156.167937274910320 (code B ref 62156); Tue, 21 Mar 2023 04:26:01 +0000 Received: (at 62156) by debbugs.gnu.org; 21 Mar 2023 04:25:49 +0000 Received: from localhost ([127.0.0.1]:57338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peTZF-0002gO-5g for submit@debbugs.gnu.org; Tue, 21 Mar 2023 00:25:49 -0400 Received: from sail-ipv4.us-core.com ([208.82.101.137]:34210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peTZC-0002g8-QQ for 62156@debbugs.gnu.org; Tue, 21 Mar 2023 00:25:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=zo0ptVX2qCUKhhN RNmZoi3+8v4hA97nv4y28P2pLR6Q=; h=date:subject:cc:to:from; d=lease-up.com; b=DkT5eono61DkTiCt3pWsIz8Hi1bexsWsK7UgysbJCXlsj6EpApui Ww/f2CPho64XVseCKCut+yueodJushKMFxdqlQ0+heAzUfeb8uyx1Oi+fRi36AQSBBjwXu 9Q9xnF9it5KYiJt5Ff+oRH1LGVmXVpSRW/AD8MsP0pAqYBKpI= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 8cef7a52 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Tue, 21 Mar 2023 04:25:44 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id a96d765a; Tue, 21 Mar 2023 04:25:44 +0000 (UTC) Date: Mon, 20 Mar 2023 21:25:40 -0700 Message-Id: X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 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: List-Help: List-Subscribe: , Reply-to: Felix Lechner X-ACL-Warn: , Felix Lechner via Guix-patches X-Patchwork-Original-From: Felix Lechner via Guix-patches via From: Felix Lechner Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/networking.scm (atftp): New variable. Thanks to Josselin Poiret and Bruno Victal for their generous and detailed reviews of this item! --- gnu/packages/networking.scm | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) base-commit: f9702aa9fdfded5c62da43197f8cea5eeba30803 diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 3fac05c411..7f843214fb 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -2916,6 +2916,49 @@ (define-public speedtest-cli speedtest.net.") (license license:asl2.0))) +(define-public atftp + (package + (name "atftp") + (version "0.8.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.code.sf.net/p/atftp/code") + (commit (string-append "v" version)))) + (sha256 + (base32 "019qrh2wpvr577ksvs3s82q6kiqm5i6869aj7qba326b59lhkxrc")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'autoreconf + (lambda _ + (invoke "autoreconf" "-vif")))))) + (native-inputs + (list autoconf + automake + perl + pkg-config)) + (inputs + (list pcre2 + procps + readline + tcp-wrappers)) + (home-page "https://sourceforge.net/projects/atftp/") + (synopsis "Advanced TFTP server and client") + (description + "Multi-threaded TFTP server that implements all options, including all +extensions, as specified in RFC 1350, RFC 2090, RFC 2347, RFC 2348, RFC 2349 +and RFC7440. Atftpd also supports a multicast protocol known as mtftp, which +was defined in the PXE specification. + +The server is socket activated by default but supports being started from +inetd(8) as well as in daemon mode.") + (license license:gpl2+))) + (define-public tftp-hpa (package (name "tftp-hpa")