From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eIQyKx+HXGIxagEAgWs5BA (envelope-from ) for ; Sun, 17 Apr 2022 23:31:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aAWsJx+HXGJNVwAAauVa8A (envelope-from ) for ; Sun, 17 Apr 2022 23:31:11 +0200 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 27CA617C2B for ; Sun, 17 Apr 2022 23:31:11 +0200 (CEST) Received: from localhost ([::1]:55314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngCUA-0002Tx-9H for larch@yhetil.org; Sun, 17 Apr 2022 17:31:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngCU3-0002Tp-EK for guix-patches@gnu.org; Sun, 17 Apr 2022 17:31:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43579) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ngCU2-0003wx-5s for guix-patches@gnu.org; Sun, 17 Apr 2022 17:31:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ngCU2-0002jG-25 for guix-patches@gnu.org; Sun, 17 Apr 2022 17:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54998] [PATCH] gnu: Add servefile. Resent-From: Stefan =?UTF-8?Q?Reich=C3=B6r?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Apr 2022 21:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54998 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54998@debbugs.gnu.org Cc: Stefan =?UTF-8?Q?Reich=C3=B6r?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165023102110437 (code B ref -1); Sun, 17 Apr 2022 21:31:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Apr 2022 21:30:21 +0000 Received: from localhost ([127.0.0.1]:37476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngCTH-0002i9-KR for submit@debbugs.gnu.org; Sun, 17 Apr 2022 17:30:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:42816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngCTF-0002hy-1i for submit@debbugs.gnu.org; Sun, 17 Apr 2022 17:30:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36386) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngCTE-0002M6-R0 for guix-patches@gnu.org; Sun, 17 Apr 2022 17:30:12 -0400 Received: from dd3624.kasserver.com ([85.13.130.11]:50950) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngCTC-0003o6-PM for guix-patches@gnu.org; Sun, 17 Apr 2022 17:30:12 -0400 Received: from localhost (37-186-9-252.ip.as39912.net [37.186.9.252]) by dd3624.kasserver.com (Postfix) with ESMTPA id 88B18840A3F; Sun, 17 Apr 2022 23:30:04 +0200 (CEST) From: Stefan =?UTF-8?Q?Reich=C3=B6r?= Date: Sun, 17 Apr 2022 23:29:54 +0200 Message-Id: <20220417212954.93893-1-stefan@xsteve.at> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=85.13.130.11; envelope-from=stefan@xsteve.at; helo=dd3624.kasserver.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650231071; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=uX8R+Vrjt/JX/gI+QZy2tx/fBXSWYMdMeh7vOWhkeiM=; b=J88Jjvu3YgNu3k0ZDTLHha1hIj+CN3f4bNuO+vTNEcDcyH4f1RqVAD5vzyoYv64TDL/7bi cJ4qpCcXEabG0TI4nOv9h7zMdmfYritn9Nnes7Bq+bER7EwyeNay2KrqsZ2S8bTn+8Hdr0 P3Z0eNvBJcu0LOjxHM/0aBqyn9/pgJcq8FqWflq/SCipApyDoGjvtYjOZ8VSaelDLuaR5T u1XqC6FzJvG3Qdtpk/0++soVFS3CuNVBjEB0X8sfj+LPsRAJ6RyKmVw/60jeo2KSFsn3en 4MrKOIhN2A+EkwtLzsMm8GNqHjqm3/OdF0kOkvzcosRou7GqUNrc6+c5AdTS4A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650231071; a=rsa-sha256; cv=none; b=Uj3+yGMgV/qQwXUZGMP4750Q4lJA6ngrlszJS9cHgnCOZY1XFDqenehFdtPW+wyJ7hFtEW NqW7gEGgORY7YA6dzJ5J2Km2sN15MB447G6Wcy0AsROzf7XNYrb+wHm84lloN9/m9Zedt2 HrwOK5BB4kBgUl5BCq4+5DLTisPynnI9ZQLVr3D83uCTjtiWLM0SAAz/zrCAMmlecaKE4x c1yOVXEsLRidpqV4k/YqDD/m7sg/4Vf9S/79Tdj/jrmpQHKGS8RZFU04YFEpBmQnku/hcn JKTRuEfufigIpzOuCeuAdKKSX2n2k6YXJk++Cl6bjvvSnym/8KUw+6mokkhW7w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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" X-Migadu-Spam-Score: -1.74 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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" X-Migadu-Queue-Id: 27CA617C2B X-Spam-Score: -1.74 X-Migadu-Scanner: scn0.migadu.com X-TUID: D9U/WcR6vuB6 * gnu/packages/web.scm (servefile): New variable. --- gnu/packages/web.scm | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index ee74a4385d..9df55d21cc 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -47,7 +47,7 @@ ;;; Copyright © 2020, 2021 Ryan Prior ;;; Copyright © 2020 Alexandru-Sergiu Marton ;;; Copyright © 2021 Maxim Cournoyer -;;; Copyright © 2021 Stefan Reichör +;;; Copyright © 2021, 2022 Stefan Reichör ;;; Copyright © 2021 la snesne ;;; Copyright © 2021 Matthew James Kraai ;;; Copyright © 2021 Sarah Morgensen @@ -5000,6 +5000,27 @@ can easily be invoked on a single file. Your partner can access the file with tools they trust (e.g. wget).") (license license:gpl2+))) +(define-public servefile + (package + (name "servefile") + (version "0.5.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "servefile" version)) + (sha256 + (base32 + "1ywi9yzc2l24nxfb2mvmkha7qfaapjvqchd6rhjbc54ijwrdq9m1")))) + (build-system python-build-system) + (inputs (list python-pyopenssl)) + (arguments + '(#:tests? #f)) ; tests fail + (home-page "https://github.com/sebageek/servefile") + (synopsis "Serve or receive files from shell via a small HTTP server") + (description "Serve files from shell via a small HTTP server. It +also supports uploads, SSL, HTTP basic auth and directory listings.") + (license license:gpl3+))) + (define netsurf-buildsystem (package (name "netsurf-buildsystem") -- 2.25.1