From patchwork Sat Apr 22 16:27:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 49392 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 E5BA527BBEA; Sat, 22 Apr 2023 17:28:22 +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=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,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 5351927BBE2 for ; Sat, 22 Apr 2023 17:28:22 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqG5m-0004cb-Kd; Sat, 22 Apr 2023 12:28:06 -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 1pqG5k-0004bt-Is for guix-patches@gnu.org; Sat, 22 Apr 2023 12:28:04 -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 1pqG5j-0000mh-Vq for guix-patches@gnu.org; Sat, 22 Apr 2023 12:28:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pqG5j-0008Hd-NW for guix-patches@gnu.org; Sat, 22 Apr 2023 12:28:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63017] [PATCH 03/24] gnu: Add go-github-com-gorilla-sessions. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 22 Apr 2023 16:28:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63017 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63017@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 63017-submit@debbugs.gnu.org id=B63017.168218087931771 (code B ref 63017); Sat, 22 Apr 2023 16:28:03 +0000 Received: (at 63017) by debbugs.gnu.org; 22 Apr 2023 16:27:59 +0000 Received: from localhost ([127.0.0.1]:43948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqG5f-0008GL-5l for submit@debbugs.gnu.org; Sat, 22 Apr 2023 12:27:59 -0400 Received: from 6.mo560.mail-out.ovh.net ([87.98.165.38]:59315) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqG5c-0008FZ-Em for 63017@debbugs.gnu.org; Sat, 22 Apr 2023 12:27:57 -0400 Received: from director9.ghost.mail-out.ovh.net (unknown [10.109.138.183]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 4F95B25F40 for <63017@debbugs.gnu.org>; Sat, 22 Apr 2023 16:27:55 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-jl74c (unknown [10.110.171.144]) by director9.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 1BF001FD37; Sat, 22 Apr 2023 16:27:55 +0000 (UTC) Received: from ngraves.fr ([37.59.142.106]) by ghost-submission-6684bf9d7b-jl74c with ESMTPSA id 0BrXAAsLRGQ6CDMA/g2Fmw (envelope-from ); Sat, 22 Apr 2023 16:27:55 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-106R00665cdce8c-3a68-45aa-8505-54b92472aff6, E9913F706B0966FB98C2C1C62831F8C2A85A18CE) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 Date: Sat, 22 Apr 2023 18:27:29 +0200 Message-Id: <20230422162750.17012-3-ngraves@ngraves.fr> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230422162750.17012-1-ngraves@ngraves.fr> References: <20230422162750.17012-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 795729763287950050 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrfedtiedguddttdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrddutdeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeifedtudejseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedtpdhmohguvgepshhmthhpohhuth 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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-sessions): New variable. --- gnu/packages/golang.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index a1f85e207d..ebc79b08f7 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4273,6 +4273,31 @@ (define-public go-github-com-gorilla-securecookie encrypted cookie values for Go web applications.") (license license:bsd-3))) +(define-public go-github-com-gorilla-sessions + (package + (name "go-github-com-gorilla-sessions") + (version "1.2.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gorilla/sessions") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1zjw2s37yggk9231db0vmgs67z8m3am8i8l4gpgz6fvlbv52baxp")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/gorilla/sessions")) + (propagated-inputs (list go-github-com-gorilla-securecookie)) + (home-page "https://github.com/gorilla/sessions") + (synopsis "Manage user sessions in web applications") + (description + "This package that provides infrastructure for creating and +managing user sessions in web applications. It supports cookie and +filesystem-based sessions, flash messages, custom backends, and more.") + (license license:bsd-3))) + (define-public go-github-com-gorilla-csrf (package (name "go-github-com-gorilla-csrf")