From patchwork Mon Oct 30 01:08:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 55597 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 E18A327BBEC; Sun, 29 Oct 2023 22:12:07 +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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=ham 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 19A8827BBE9 for ; Sun, 29 Oct 2023 22:12:07 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxDzk-00065q-Qh; Sun, 29 Oct 2023 18:10:56 -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 1qxDzg-0005zB-Vv for guix-patches@gnu.org; Sun, 29 Oct 2023 18:10:53 -0400 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 1qxDzb-0000Zl-GP for guix-patches@gnu.org; Sun, 29 Oct 2023 18:10:50 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qxE08-0005bo-81 for guix-patches@gnu.org; Sun, 29 Oct 2023 18:11:20 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66827] [PATCH 21/67] gnu: go-github-com-gorilla-csrf: Move to (gnu packages golang-web). Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Oct 2023 22:11:20 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66827 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66827@debbugs.gnu.org Cc: Sharlatan Hellseher Received: via spool by 66827-submit@debbugs.gnu.org id=B66827.169861746521252 (code B ref 66827); Sun, 29 Oct 2023 22:11:20 +0000 Received: (at 66827) by debbugs.gnu.org; 29 Oct 2023 22:11:05 +0000 Received: from localhost ([127.0.0.1]:43791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxDzs-0005WI-9n for submit@debbugs.gnu.org; Sun, 29 Oct 2023 18:11:05 -0400 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]:58460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxDzX-0005Pi-9c for 66827@debbugs.gnu.org; Sun, 29 Oct 2023 18:10:43 -0400 Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2c50ec238aeso53748021fa.0 for <66827@debbugs.gnu.org>; Sun, 29 Oct 2023 15:10:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698617404; x=1699222204; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XuB6kwIMCMQgti7VZrUbkOo+DGaAR9XGP9Af4pGp+Xw=; b=IvAigx4CqxJb+yHPQGSQIcXprHdE/IdXarpitIBxLhbAWRnsDI3wjigUXwCUr6gT2q xKSWyIrMefb6gjHfJ5dd7RG1jc/aPefMt4DmS8mplyWptLEfwFTdELbyEUTfvqSc6Y0D 6jUHsvZZXYV1R3OcfO6dNbsDhRi2NKjvCmNLwEvRP4YoWhTdFh9B5ykpOU2eRZyjOox6 6ydMhBEA0tYDzuc5UceaSHkJ6aYMxbi881uN5yKjODPkGyZvgNJgSmKTiiITrGZt92xJ HJEPMPsR6PWqpkWv9T6m4hmARr4Ez7ygL4rbaUcwHQ95bMZkPsp72Qn2+RQcyJg20J2C mYlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698617404; x=1699222204; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XuB6kwIMCMQgti7VZrUbkOo+DGaAR9XGP9Af4pGp+Xw=; b=bejdjRwwYb3X9jQSeiyVDP4a2fDDW/qabbyIYnUkVJ6BJQHTrNj/0MqUl0lNhzTY82 MmQtYs40VHDscMIDAFd/GeijKNMSLJeaMTeaQI5QCArkssjLYdXQGSZ+SLG6/lFA8iwY kkDCbYlUKZtc5I+lLVcy8eOKfraRTrutkgkDE8MDcwP60coqPm45z9E3O+gODXqjInNH MxeNG00fikL+IYmJIQeaj3G33A+ETZV2gIrE5jCypSy7cHKeArxRxUF8/73+nDdg+jJJ GXU5RJp8DSQEOWLy2TxQeuBudifs3KJ1g8AYYtrv4vQbAx04zdVXfWiyAvF90rHY1Bqm JXpA== X-Gm-Message-State: AOJu0YxRuT9X8+P711Yf/yfJj59J8GpJu788yp4kj17wMsBpKnNNpEi+ 6PROmV7wq6InBERp4T3N2Q1pNt4gbkFY0A== X-Google-Smtp-Source: AGHT+IGo+SOaipL0gmVXGY3F5XXWdPEO69+hYGO1YfK2xcNnOj4ZC5GDX9o+SCfdxS9dREoWxFnSiA== X-Received: by 2002:a2e:b53c:0:b0:2bf:b133:dd65 with SMTP id z28-20020a2eb53c000000b002bfb133dd65mr5842523ljm.38.1698617404589; Sun, 29 Oct 2023 15:10:04 -0700 (PDT) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id 3-20020a05600c234300b004063cced50bsm7527511wmq.23.2023.10.29.15.10.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 15:10:04 -0700 (PDT) From: Sharlatan Hellseher Date: Mon, 30 Oct 2023 01:08:35 +0000 Message-ID: <948af30905730edce02bf56ee04506048b04d419.1698627461.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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-github-com-gorilla-csrf): Move from here... * gnu/packages/golang-web.scm: ...to here. Change-Id: I77bcbdaf515152b95418f9e2632d810202a1e23a --- gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++ gnu/packages/golang.scm | 27 --------------------------- 2 files changed, 26 insertions(+), 27 deletions(-) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 8ced6a4c6f..5be08caf2e 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -144,6 +144,32 @@ (define-public go-github-com-felixge-httpsnoop application's http.Handlers.") (license license:expat))) +(define-public go-github-com-gorilla-csrf + (package + (name "go-github-com-gorilla-csrf") + (version "1.7.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gorilla/csrf") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0iryq0z48yi7crfbd8jxyn7lh1gsglpiglvjgnf23bz6xfisssav")))) + (build-system go-build-system) + (propagated-inputs + `(("github.com/gorilla/securecookie" ,go-github-com-gorilla-securecookie) + ("github.com/pkg/errors" ,go-github-com-pkg-errors))) + (arguments + '(#:import-path "github.com/gorilla/csrf")) + (home-page "https://github.com/gorilla/csrf") + (synopsis "Cross Site Request Forgery (CSRF) prevention middleware") + (description + "Gorilla/csrf provides Cross Site Request Forgery (CSRF) prevention +middleware for Go web applications and services.") + (license license:bsd-3))) + (define-public go-github-com-gorilla-css (package (name "go-github-com-gorilla-css") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 37eaa0fc2c..969cbd886f 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4607,33 +4607,6 @@ (define-public go-github-com-andybalholm-brotli @url{https://github.com/andybalholm/c2go,https://github.com/andybalholm/c2go}.") (license license:expat))) -(define-public go-github-com-gorilla-csrf - (package - (name "go-github-com-gorilla-csrf") - (version "1.7.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/gorilla/csrf") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0iryq0z48yi7crfbd8jxyn7lh1gsglpiglvjgnf23bz6xfisssav")))) - (build-system go-build-system) - (propagated-inputs - `(("github.com/gorilla/securecookie" ,go-github-com-gorilla-securecookie) - ("github.com/pkg/errors" ,go-github-com-pkg-errors))) - (arguments - '(#:import-path "github.com/gorilla/csrf")) - (home-page "https://github.com/gorilla/csrf") - (synopsis "Cross Site Request Forgery (CSRF) prevention middleware") - (description - "Gorilla/csrf provides Cross Site Request Forgery (CSRF) prevention -middleware for Go web applications and services.") - (license license:bsd-3))) - (define-public go-github-com-jonboulle-clockwork (let ((commit "e3653ace2d63753697e0e5b07b9393971c0bba9d") (revision "0"))