From patchwork Wed Nov 29 22:34:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 57058 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 0749127BBE2; Wed, 29 Nov 2023 19:37:52 +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=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 A590B27BBEA for ; Wed, 29 Nov 2023 19:37:50 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r8QN3-0007Vs-Ud; Wed, 29 Nov 2023 14:37:17 -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 1r8QMx-0007Qo-CS for guix-patches@gnu.org; Wed, 29 Nov 2023 14:37:11 -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 1r8QMx-0008Rt-4H for guix-patches@gnu.org; Wed, 29 Nov 2023 14:37:11 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r8QN4-0005xL-OQ; Wed, 29 Nov 2023 14:37:18 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66827] [PATCH v3 21/66] gnu: go-github-com-gorilla-csrf: Move to (gnu packages golang-web). Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: cox.katherine.e+guix@gmail.com, guix-patches@gnu.org Resent-Date: Wed, 29 Nov 2023 19:37:18 +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 , Katherine Cox-Buday X-Debbugs-Original-Xcc: Katherine Cox-Buday Received: via spool by 66827-submit@debbugs.gnu.org id=B66827.170128663022732 (code B ref 66827); Wed, 29 Nov 2023 19:37:18 +0000 Received: (at 66827) by debbugs.gnu.org; 29 Nov 2023 19:37:10 +0000 Received: from localhost ([127.0.0.1]:51251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8QMv-0005uC-IW for submit@debbugs.gnu.org; Wed, 29 Nov 2023 14:37:10 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:56641) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8QMV-0005mi-BQ for 66827@debbugs.gnu.org; Wed, 29 Nov 2023 14:36:43 -0500 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-40b54261442so933395e9.1 for <66827@debbugs.gnu.org>; Wed, 29 Nov 2023 11:36:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701286590; x=1701891390; 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=TC0MZ4+llDN9cBAGwVHsbavr78V8UJFrmOep5u7m/ew=; b=M2uoP6BnYJ0D1Kw5z5WmbCWIDVgD3EcVKg2Q4d9qsnc2sfFo/7pKzlOg23YvH9Yv2r 2hSkW4JkL3jlnHioyPpenWbk6vNKrUPZnSzyVnjg7zP7HEq5euIAZauHx10LP0zVdqK3 8cKStdbN2f6tP1hkBBYoFFNpnvApq6srr9xVST1LzWj4VIq2iP7YhDD6UM5HVz/aBGNt 4+nOpTB3boWmSVIRSs/9dkV0SUJR4/qGgZnYHMCzckl9RgAxQ2HqkjBH9e2zuu5DgE4f nBIm3arqIFF++RA70WqGwDzsFHhQwbe9d+5zhx48dCEWgH9dCFgYosl1pbxg53DVV+su AntA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701286590; x=1701891390; 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=TC0MZ4+llDN9cBAGwVHsbavr78V8UJFrmOep5u7m/ew=; b=vg6Dz1ncVxMwIZCJyygrF8jYXyMvwXiPdvd5wxkWI4BcHW99VZhXhtlvnvxttLKKux bW99yUgaKQgkCnJ5SL5Brm5Z0t+RV7eQF/rvEDLCERrAAZ67KdtytrSbAK2oqQbUqc93 AA1fGbyXz9IEDPxKkz1lFVISZCgYSQ9upYDM4mc4VCS3wHP9e+Cpg77gVoNv15XU2O96 g9jAhwqbbVgRAvHOSJ0s8XRgbc9gDtWqNkwTsOGWhELwDGZwawmaFOHvXQo1GBOshD2Z 3mi1s3NbTThUur2x4PhT9WQVicLlx6+GPOie4zIuc27nx36koiXcUFwyD7QQAeq9R/bY m0qw== X-Gm-Message-State: AOJu0YyhjDP8nC5VNhwDeySkNHAgG2TR4JZ09kzY1iv8QBKWiB/BOrE6 pASB/GbeZRHa8nU1kOFwM7/7ekR9Rg+JBg== X-Google-Smtp-Source: AGHT+IFHgy0NktItEdRtjFKZBX61Joj2UivF8ik1WkzSChy3hQRHOw+C9NPZpxmlO1t+W+JNn5tmdg== X-Received: by 2002:a05:600c:4ed2:b0:40b:4da2:d292 with SMTP id g18-20020a05600c4ed200b0040b4da2d292mr4005328wmq.8.1701286589918; Wed, 29 Nov 2023 11:36:29 -0800 (PST) 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 q17-20020a05600c46d100b0040836519dd9sm3239674wmo.25.2023.11.29.11.36.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 11:36:29 -0800 (PST) From: Sharlatan Hellseher Date: Wed, 29 Nov 2023 22:34:59 +0000 Message-ID: <0a93ff5572f23c604e77ac3abcba2ac80af26664.1701297273.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <123a0b9b76c24c29184c527dabb652384f7be762.1701297273.git.sharlatanus@gmail.com> References: <123a0b9b76c24c29184c527dabb652384f7be762.1701297273.git.sharlatanus@gmail.com> 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 ba9d3a80a9..15c32b9b6a 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4643,33 +4643,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"))