From patchwork Wed Dec 27 21:12:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Cl=C3=A9ment_Lassieur?= X-Patchwork-Id: 58116 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 2E20327BBE2; Wed, 27 Dec 2023 21:14:38 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,TVD_SPACE_RATIO, 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 5FB7827BBE9 for ; Wed, 27 Dec 2023 21:14:36 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rIbE6-0003w9-G0; Wed, 27 Dec 2023 16:14:06 -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 1rIbE4-0003vS-SN for guix-patches@gnu.org; Wed, 27 Dec 2023 16:14:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rIbE4-0000HE-Kn for guix-patches@gnu.org; Wed, 27 Dec 2023 16:14:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rIbE3-00078v-DF; Wed, 27 Dec 2023 16:14:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68067] [PATCH 7/8] gnu: Add go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-lyrebird. Resent-From: =?utf-8?q?Cl=C3=A9ment?= Lassieur Original-Sender: "Debbugs-submit" Resent-CC: cox.katherine.e+guix@gmail.com, guix-patches@gnu.org Resent-Date: Wed, 27 Dec 2023 21:14:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68067 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 68067@debbugs.gnu.org Cc: =?utf-8?q?Cl=C3=A9ment?= Lassieur , Katherine Cox-Buday X-Debbugs-Original-Xcc: Katherine Cox-Buday Received: via spool by 68067-submit@debbugs.gnu.org id=B68067.170371158427345 (code B ref 68067); Wed, 27 Dec 2023 21:14:03 +0000 Received: (at 68067) by debbugs.gnu.org; 27 Dec 2023 21:13:04 +0000 Received: from localhost ([127.0.0.1]:37926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIbD6-00076t-9O for submit@debbugs.gnu.org; Wed, 27 Dec 2023 16:13:04 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:42923) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIbD0-000750-76 for 68067@debbugs.gnu.org; Wed, 27 Dec 2023 16:12:58 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 405045C00C3; Wed, 27 Dec 2023 16:12:59 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 27 Dec 2023 16:12:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lassieur.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm1; t=1703711579; x= 1703797979; bh=YBuRu1oZED62u7e7m3i1LrPRr+0fy+lc+yXJRgPcda0=; b=C 104nYBcoM16IktFEnRlszKpHxi7icfCpozzz+I2TJY4ZbKLYbJFnOcTjndTRmZz1 kpUazJhlFtEGHPC02zGxiHO+6JQ1wRRF8N48MvTknGxQiF+cQQ8KMp1nEZwcsM8F CFRyKoXGgrSZ3F4yScq9Ad7M7EX7fMVEqf63Y0niIXg5EZK4s/P1OOr1rvoTpxnY h/15TZZ0l4N0bGtaMbKcJVWv+GW1zpduT8LESn55/U5Ae/uvcljA7DXMKEQ/pM2r 3Hcn+HABbFLHRGuYP8glunrePGgGt2shJxENH1MKt2GujLnEhvuuGIM6NmDlohVc YeVLA8Zuy2v1zqxprg72A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1703711579; x= 1703797979; bh=YBuRu1oZED62u7e7m3i1LrPRr+0fy+lc+yXJRgPcda0=; b=A IPDC/z2JlmnjaPuZiTTroduytpOuyvVnergO7ppvJwcGL0vtqy5Yy9yBgbo3x13R zKcSmtZNULWmOyaa/1JZbmLGKB7kwWRmJzmml0qRqfhRV7Ulqay8xtafopzQ5z62 Yf4nQMUeY+iNyWPDKm1hKqabwGSeF7M2eTaqMH6ExuXIZbTcGyDJ6h9CiLr4mo0J aRhGaamVGKcewXx9L8R5M4ep+yjosXH4zOFBcADvlxPo4iDgIHGa3/a9qoAo7FlL b4m/DsI6BoQeRZ5/H7yrnqF/7xkTz0Y08KWLKKDlrogueSUNThNA6eQmk1+QV8r9 MWIIqrj76jetEjjTJaksg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvddvledgudegkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgjfhgggfestd ekredtredtjeenucfhrhhomhepvehlrohmvghnthcunfgrshhsihgvuhhruceotghlvghm vghntheslhgrshhsihgvuhhrrdhorhhgqeenucggtffrrghtthgvrhhnpefgveefjeeuud dugefhkedtvdekjeekffffuedvhfejudffgfdvjedtgfdvvedtffenucffohhmrghinhep thhorhhprhhojhgvtghtrdhorhhgpdhgihhtlhgrsgdrtghomhenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegtlhgvmhgvnhhtsehlrghsshhi vghurhdrohhrgh X-ME-Proxy: Feedback-ID: i4c21472a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 27 Dec 2023 16:12:57 -0500 (EST) From: =?utf-8?q?Cl=C3=A9ment?= Lassieur Date: Wed, 27 Dec 2023 22:12:13 +0100 Message-ID: <8f9c818605c1899b71243f1ea53648a3a44bc721.1703711347.git.clement@lassieur.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <87plyrjqzl.fsf@lassieur.org> References: <87plyrjqzl.fsf@lassieur.org> 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: , 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/golang.scm (go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-lyrebird): New variable. Change-Id: I03b390aa6e8644646622a4f5b89f25e6cd2f7bb0 --- gnu/packages/golang.scm | 48 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index cc9a36481f07..b74863c37083 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2570,6 +2570,54 @@ (define-public go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports Go.") (license license:cc0))) +(define-public go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-lyrebird + (package + (name "go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-lyrebird") + (version "0.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird") + (commit (string-append "lyrebird-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0rifg5kgqp4c3b44j48fjmx00m00ai7fa4gaqrgphiqs1fc5586s")))) + (build-system go-build-system) + (arguments + `(#:unpack-path "gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird" + #:import-path "gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird/cmd/lyrebird" + #:go ,go-1.20 + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'substitutions + (lambda _ + (with-directory-excursion + "src/gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird" + (for-each + (lambda (file) + (substitute* file + (("edwards25519-extra.git") "edwards25519-extra"))) + (list "common/ntor/ntor_test.go" + "internal/x25519ell2/x25519ell2.go")) + (substitute* "internal/x25519ell2/x25519ell2.go" + (("gitlab.com/yawning/obfs4.git") + "gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird")))))))) + (propagated-inputs + (list go-filippo-io-edwards25519 + go-github-com-dchest-siphash + go-github-com-refraction-networking-utls + go-gitlab-com-yawning-edwards25519-extra + go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-goptlib + go-golang-org-x-crypto + go-golang-org-x-net + go-golang-org-x-text)) + (home-page "https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird") + (synopsis "Look-like nothing obfuscation protocol") + (description "This is a look-like nothing obfuscation protocol that +incorporates ideas and concepts from Philipp Winter's ScrambleSuit protocol.") + (license (list license:bsd-2 license:bsd-3)))) + (define-public go-github-com-sevlyar-go-daemon (package (name "go-github-com-sevlyar-go-daemon")