From patchwork Thu Jun 8 21:18:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Christopher Howard X-Patchwork-Id: 50775 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 8F7FA27BBEA; Thu, 8 Jun 2023 22:20:29 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD,SPF_HELO_PASS, URIBL_BLOCKED autolearn=no 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 922EE27BBE2 for ; Thu, 8 Jun 2023 22:20:27 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7N36-0007eB-KA; Thu, 08 Jun 2023 17:20: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 1q7N34-0007dB-DD for guix-patches@gnu.org; Thu, 08 Jun 2023 17:20: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 1q7N33-0007P3-Ud for guix-patches@gnu.org; Thu, 08 Jun 2023 17:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q7N33-0006M9-PB for guix-patches@gnu.org; Thu, 08 Jun 2023 17:20:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63964] [PATCH] gnu: Add kineto. Resent-From: Christopher Howard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Jun 2023 21:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63964 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63964@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168625914724345 (code B ref -1); Thu, 08 Jun 2023 21:20:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Jun 2023 21:19:07 +0000 Received: from localhost ([127.0.0.1]:57730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7N29-0006KZ-8g for submit@debbugs.gnu.org; Thu, 08 Jun 2023 17:19:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:47882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7N1x-0006Jz-6r for submit@debbugs.gnu.org; Thu, 08 Jun 2023 17:19:03 -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 1q7N1x-0007Uk-0Z for guix-patches@gnu.org; Thu, 08 Jun 2023 17:18:53 -0400 Received: from mx.kolabnow.com ([212.103.80.154]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q7N1u-0007Ek-SN for guix-patches@gnu.org; Thu, 08 Jun 2023 17:18:52 -0400 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id 3275C12BE for ; Thu, 8 Jun 2023 23:18:40 +0200 (CEST) Authentication-Results: ext-mx-out002.mykolab.com (amavisd-new); dkim=pass (4096-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:content-disposition:content-type :content-type:mime-version:message-id:subject:subject:from:from :date:date:received:received:received; s=dkim20160331; t= 1686259116; x=1688073517; bh=NPYPwQD2Wn8lbT4iATbg7xQLXfcrdGe6G4W KyudvcZk=; b=wTjg4/rdVmaaeCduaeuV4o3m871fnWJzQEYCoylwFPd2tIaw4/v 8GdGEd87bh+r0RzNxHQgUiNarMDr3lBFiZQ9loHXtwXFpMt1R7VD1TVXg23neEFh PwwIRLNu3daHyx/zaqHaGDqWpPT5ln4B29mdkrOW3KTUfSVK7GE/P3bkWXSRqQBl rXPQJivzF77R9y9oG45NKLyBhb2OtRWaIYwkKku6HG6GxuDjtEYw0gW+CLQB00gw /ZE9HFlHBm6Uv8PSpIaik6IYv8td+eWnFL8b5Jo5tmXIf+5+7/dP14XAALOsO0YE 47ALqtQfnQjmnsmNG5eUn2JXAUPwQlD2giErTqtekcjCxe1KX+EpoIHoOuX6eCJ5 y/x4QVqXNxva2Gqr9p0xQFQ56kPuZqmBIKBkRTKzd1NPps7VzHpjQul7oNl/Kl8i D3v1yC7V62SutZV0pNrYV6nV9PiGNkrcixE4uiL73++wi8w0QGM1jRy5XdalSO9J d/3JNde8EOhY3aKiHA5rhPIic5iCt7k+zCKGDRfC490NMgKo7fCJC4xBUDzo3AHL DXeBIpudKup0zcdO3jwfMWdp78x4Fk0WUE5Hu9bFSgq/eDV2MWT0e7y+YWKpaXp8 gheRyJn4ThE/URiSoK04fqArLytN1nHkBAQm64NAjknvfrdvqn29UICE= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CExvhOc4gjsZ for ; Thu, 8 Jun 2023 23:18:36 +0200 (CEST) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by mx.kolabnow.com (Postfix) with ESMTPS id 73A1C641 for ; Thu, 8 Jun 2023 23:18:35 +0200 (CEST) Received: from ext-subm002.mykolab.com (unknown [10.9.6.2]) by int-mx001.mykolab.com (Postfix) with ESMTPS id 85EB08BB for ; Thu, 8 Jun 2023 23:18:35 +0200 (CEST) Date: Thu, 8 Jun 2023 13:18:30 -0800 From: Christopher Howard Message-ID: MIME-Version: 1.0 Content-Disposition: inline Autocrypt: addr=christopher@librehacker.com; prefer-encrypt=mutual; keydata= mDMEZEqk5BYJKwYBBAHaRw8BAQdAE/Dh4NUrMO5mxlZwV1H0X6DKaISWC/G5ws7voqpK6Xa0MEN ocmlzdG9waGVyIEhvd2FyZCA8Y2hyaXN0b3BoZXJAbGlicmVoYWNrZXIuY29tPoiQBBMWCAA4Fi EEMeL/OZnSMyOqPiAnGsX8bo2P8gwFAmRKpOQCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AAC gkQGsX8bo2P8gxyYgEA/ioHjyd0Bm3+YyW/vOLJZkDg1xx//zN9803Oayahz/gBAKwtHu69sqFZ /upw6mmyeP7ZndriTijMBZwfzcqDQWIMuDgEZEqk5RIKKwYBBAGXVQEFAQEHQO2aMfukvGwfyK7 f6DUkayD6h+RO+n6LGg0c0StFhF1CAwEIB4h4BBgWCAAgFiEEMeL/OZnSMyOqPiAnGsX8bo2P8g wFAmRKpOUCGwwACgkQGsX8bo2P8gxD6AEAncJh7NhGGBlNG43b5rMeeyrYVewJirj4hk2qk1iL3 KgA/301OIl9HuuM1hBLPOSTftjwKJUWDbzBFqbyGUFWaCUB Received-SPF: none client-ip=212.103.80.154; envelope-from=christopher@librehacker.com; helo=mx.kolabnow.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Patch attached to add kineto, an HTTP proxy for the Gemini protocol. diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 3af4aa0b8d..21e9579ac6 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -62,6 +62,7 @@ ;;; Copyright © 2023 Paul A. Patience ;;; Copyright © 2022 Bruno Victal ;;; Copyright © 2023 David Thompson +;;; Copyright © 2023 Christopher Howard ;;; ;;; This file is part of GNU Guix. ;;; @@ -8502,6 +8503,36 @@ (define-public vger @command{stunnel} on @command{inetd}.") (license license:bsd-2))) +(define-public kineto + (package + (name "kineto") + (version "0.0.0-20211105093215-857f8c97ebc5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~sircmpwn/kineto") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1r17c904i76yy5ilvhjczmhnq5g7r4nkjwmsjcfxcqzly0ia7m2k")))) + (build-system go-build-system) + (arguments + '(#:import-path "git.sr.ht/~sircmpwn/kineto/")) + (propagated-inputs `(("go-git-sr-ht-sircmpwn-getopt" + ,go-git-sr-ht-sircmpwn-getopt) + ("go-git-sr-ht-adnano-go-gemini" + ,go-git-sr-ht-adnano-go-gemini))) + (home-page "https://git.sr.ht/~sircmpwn/kineto/") + (synopsis "HTTP proxy for Gemini") + (description + "This is an @@url{https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol,HTTP} +to @@url{https://gemini.circumlunar.space/,Gemini} proxy designed to provide +service for a single domain, i.e. to make your Gemini site available over HTTP. +It can proxy to any domain in order to facilitate linking to the rest of +Geminispace, but it defaults to a specific domain.") + (license license:gpl3))) + (define-public libzim (package (name "libzim")