From patchwork Tue Sep 15 15:14:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Batista?= X-Patchwork-Id: 24152 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 1822327BBE8; Tue, 15 Sep 2020 16:15:42 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 67F3527BBE7 for ; Tue, 15 Sep 2020 16:15:41 +0100 (BST) Received: from localhost ([::1]:45974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kICgG-0000G4-JO for patchwork@mira.cbaines.net; Tue, 15 Sep 2020 11:15:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kICfg-0000EI-OG for guix-patches@gnu.org; Tue, 15 Sep 2020 11:15:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48642) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kICfd-00016a-QX for guix-patches@gnu.org; Tue, 15 Sep 2020 11:15:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kICfd-0007A4-N4 for guix-patches@gnu.org; Tue, 15 Sep 2020 11:15:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42380] [PATCH 7/9] gnu: Add go-gitlab-com-yawning-utls Resent-From: =?utf-8?b?QW5kcsOp?= Batista Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Sep 2020 15:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42380 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 42380@debbugs.gnu.org Received: via spool by 42380-submit@debbugs.gnu.org id=B42380.160018289827508 (code B ref 42380); Tue, 15 Sep 2020 15:15:01 +0000 Received: (at 42380) by debbugs.gnu.org; 15 Sep 2020 15:14:58 +0000 Received: from localhost ([127.0.0.1]:60188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kICfV-00079W-VJ for submit@debbugs.gnu.org; Tue, 15 Sep 2020 11:14:58 -0400 Received: from mx1.riseup.net ([198.252.153.129]:40570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kICfU-00079O-7p for 42380@debbugs.gnu.org; Tue, 15 Sep 2020 11:14:52 -0400 Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4BrRbv5f0DzFrNp for <42380@debbugs.gnu.org>; Tue, 15 Sep 2020 08:14:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1600182891; bh=1NKp+lyAVrEFT4deV2Ibk4jlTMmi19s4byCjZPP5rXE=; h=Date:From:To:Subject:References:In-Reply-To:From; b=KztG/6QM5qOBoPDuYCZ0xOgqdJ6G4SIGhnRTE4fKmWv4LCN2aeQVK4SlDIuZ2Kwas FW1PzlGqcSW8mruzUjndgcB0nBQpOy07k5gT9WvwQgyHGS0VvcUufoyVox/cmULdAo 8uSsiNM9VoriS51C9fxfmZKTmsMa5f+M4Xl83SA4= X-Riseup-User-ID: CB88866184C288CCC82C1671946F2E4529C4C4EA37074172D8456DC0B990647D Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 4BrRbt4Q4TzJmhL for <42380@debbugs.gnu.org>; Tue, 15 Sep 2020 08:14:50 -0700 (PDT) Date: Tue, 15 Sep 2020 12:14:11 -0300 From: =?utf-8?b?QW5kcsOp?= Batista Message-ID: <20200915151411.GG13296@andel> References: <20200715211547.GA17146@andel> <20200725144930.GA13751@andel> <20200803125556.GA18868@andel> <87blihhdz6.fsf@gnu.org> <20200909022429.GA24930@andel> <878sdjo1qv.fsf@gnu.org> <20200915142128.GA12025@andel> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200915142128.GA12025@andel> 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" X-getmail-retrieved-from-mailbox: Patches From 4f31263215dffb94e47a4c9e7256e095fb68c1e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Batista?= Date: Mon, 14 Sep 2020 18:47:38 -0300 Subject: [PATCH] gnu: Add go-gitlab-com-yawning-utls. To: 42380@debbugs.gnu.org * gnu/packages/golang.scm (go-gitlab-com-yawning-utls): New variable. --- gnu/packages/golang.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 7c68f36c2a..55975d3e30 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -19,6 +19,7 @@ ;;; Copyright © 2020 Jack Hill ;;; Copyright © 2020 Jakub Kądziołka ;;; Copyright © 2020 Nicolas Goaziou +;;; Copyright © 2020 André Batista ;;; ;;; This file is part of GNU Guix. ;;; @@ -5825,3 +5826,34 @@ with hardware support for AES New Instructions (AES-NI) and a sufficiently recent Go runtime, it will transparently call crypto/aes when NewCipher is invoked.") (license (license:non-copyleft "file://LICENSE.txt"))))) + +(define-public go-gitlab-com-yawning-utls + (package + (name "go-gitlab-com-yawning-utls") + (version "0.0.10-1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/yawning/utls.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "15c46s56r45n22rmq9spnczydnkqrnxff28h5mpnk5yvcqif3lgb")))) + (build-system go-build-system) + (arguments + '(#:tests? #f ;; Tries to connect and fails. + #:import-path "gitlab.com/yawning/utls.git")) + (propagated-inputs + `(("go-schwanenlied-me-yawning-bsaes" ,go-schwanenlied-me-yawning-bsaes) + ("go-github-com-dsnet-compress" ,go-github-com-dsnet-compress) + ("go-golang-org-x-crypto" ,go-golang-org-x-crypto))) + (home-page "https://gitlab.com/yawning/utls.git") + (synopsis "Go library for uTLS") + (description "This library is a fork of the main Transport Layer Security +protocol in Go (crypto/tls) which provides ClientHello fingerprinting resistance, +low level access to handshakes and fake session tickets among other features. +This fork was made for the specific purpose of improving obfs4proxy's meek_lite +transport protocol.") + (license license:gpl3+)))