From patchwork Sun Mar 19 23:03:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Lechner X-Patchwork-Id: 48132 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 4525016F21; Sun, 19 Mar 2023 23:05:18 +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=unavailable 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 A0AC616EC7 for ; Sun, 19 Mar 2023 23:05:16 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pe25J-0007ju-E4; Sun, 19 Mar 2023 19:05:05 -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 1pe25G-0007iO-UN for guix-patches@gnu.org; Sun, 19 Mar 2023 19:05: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 1pe25G-0003yG-GB for guix-patches@gnu.org; Sun, 19 Mar 2023 19:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pe25F-0004KO-R2 for guix-patches@gnu.org; Sun, 19 Mar 2023 19:05:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62156] [PATCH v2] gnu: Add atftp. References: In-Reply-To: Resent-From: Felix Lechner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 19 Mar 2023 23:05: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: Felix Lechner Received: via spool by 62156-submit@debbugs.gnu.org id=B62156.167926705016569 (code B ref 62156); Sun, 19 Mar 2023 23:05:01 +0000 Received: (at 62156) by debbugs.gnu.org; 19 Mar 2023 23:04:10 +0000 Received: from localhost ([127.0.0.1]:52950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pe24P-0004JB-M9 for submit@debbugs.gnu.org; Sun, 19 Mar 2023 19:04:10 -0400 Received: from sail-ipv4.us-core.com ([208.82.101.137]:44262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pe24N-0004J2-6e for 62156@debbugs.gnu.org; Sun, 19 Mar 2023 19:04:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=aMLwG7HWI5Ye1jJ 36eyNez1+vlxXXowK3k002ezWRF8=; h=date:subject:cc:to:from; d=lease-up.com; b=Gj9RPkb3mnI3eBO6xgohGvoqOdIocgIyDmMOu5gt3H1a8erF7ndf MzNPVxlows+KrHgUzwHFVDOpquZTlnyy0M5014uRQblWEBZvUuE8lDv5nXGG85sSfQ/Ifv godO7ZhQy/xzsU5Ef099GWA4yormvLYjHScWG2Ema5Mglq6dA= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 779379e1 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sun, 19 Mar 2023 23:04:05 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 0b014656; Sun, 19 Mar 2023 23:04:04 +0000 (UTC) Date: Sun, 19 Mar 2023 16:03:51 -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. The new URL still produces a lint warning. A user on IRC surmised that sf.net may filter by user agent: atftp@0.8.0: URI https://git.code.sf.net/p/atftp/code not reachable: 404 ("Not Found") The same user states that Git makes this request: GET /p/atftp/code/info/refs?service=git-upload-pack HTTP/1.1 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")