GNU bug report logs - #59019
[PATCH 1/1] gnu: Add cyrus-sasl-xoauth2.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: peter@HIDDEN; Keywords: patch; merged with #59018; dated Fri, 4 Nov 2022 17:57:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Merged 59018 59019. Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Nov 2022 17:56:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 04 13:56:31 2022
Received: from localhost ([127.0.0.1]:54753 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1or0vf-0005vs-Ew
	for submit <at> debbugs.gnu.org; Fri, 04 Nov 2022 13:56:31 -0400
Received: from lists.gnu.org ([209.51.188.17]:34500)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <peter@HIDDEN>) id 1or0va-0005vU-QR
 for submit <at> debbugs.gnu.org; Fri, 04 Nov 2022 13:56:30 -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 <peter@HIDDEN>) id 1or0va-0005Da-J5
 for guix-patches@HIDDEN; Fri, 04 Nov 2022 13:56:26 -0400
Received: from aye.elm.relay.mailchannels.net ([23.83.212.6])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <peter@HIDDEN>) id 1or0vY-0006f9-3x
 for guix-patches@HIDDEN; Fri, 04 Nov 2022 13:56:26 -0400
X-Sender-Id: dreamhost|x-authsender|peter@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id 671E55C2224;
 Fri,  4 Nov 2022 17:56:18 +0000 (UTC)
Received: from pdx1-sub0-mail-a262 (unknown [127.0.0.6])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id E48435C1F7B;
 Fri,  4 Nov 2022 17:56:17 +0000 (UTC)
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1667584577; a=rsa-sha256;
 cv=none;
 b=i1G4ay4nbw1N9xpThuc5G35VdiXJnik7CksAYDxpjockrqBig7gjkuOqrNA7T85X8YbdVI
 aUSopahnk2+8FLqd5pIIlrdUU5WIXhfzPGnfoK5JGemcrqmEKdzRs/IrRqH5XHN5l8urKZ
 q6hkPDX1hilNGIzpcUziOw6GFt/ldvzygDhZ/sPMl6AdiGwgz6GRGinJArtkuD/1SAZ1uS
 ftP/59TOyQVdROQZbdMQaYe9/U6jzq7qGU4loFqerNEUCU953cbDqtQ3zVvh6kI3I270R/
 9Yk4W6GjLPuFoY8ZdeZayoBQQ0ULeUZQ+Ea0FNEQ2gXn+5sl/K1zNXMKbaArxA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mailchannels.net; s=arc-2022; t=1667584577;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references:dkim-signature;
 bh=ck/v6+1VXI0mvpSwWeE597noKdsUURatkdAqjGOyV1o=;
 b=kpD5mPdG+SrsJkFZGxe1N/CyOLnZR15JXghOyRg+xJOry7u6kaHV6UiBoBd7yBBQsXI081
 AvTraMOwubNyzs4b0kaaKHt840X8BWeKTK0Cbterhi7G6L1wlsOt743bBwnUzv8B3yZmAm
 bToFQYLLOP1wgPyovq3ztIwrL0eT5B4DFsI20n/6pf8DUgaX/Qj32vzU9gOKR46Pawy+AX
 wxWG+gYTsLn4QkKOSpufAfhGCIlnySJrMTL7i/q6nsgQevA2H2FMRa2Eu2O9Tk0xsY9/s1
 hLbElltra27UIYiL4Wcn/azNATJpLJjxUj21WTIsr8S8N8AS0whV7IcG9hdmAw==
ARC-Authentication-Results: i=1; rspamd-5cb65d95c4-zksxf;
 auth=pass smtp.auth=dreamhost smtp.mailfrom=peter@HIDDEN
X-Sender-Id: dreamhost|x-authsender|peter@HIDDEN
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|peter@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Arch-Cellar: 142470eb6620203c_1667584578177_3684726973
X-MC-Loop-Signature: 1667584578177:307832290
X-MC-Ingress-Time: 1667584578176
Received: from pdx1-sub0-mail-a262 (pop.dreamhost.com [64.90.62.162])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384)
 by 100.126.30.9 (trex/6.7.1); Fri, 04 Nov 2022 17:56:18 +0000
Received: from minotaur.hhmi.org (unknown [206.241.0.254])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 (Authenticated sender: peter@HIDDEN)
 by pdx1-sub0-mail-a262 (Postfix) with ESMTPSA id 4N3pG92pMrzDX;
 Fri,  4 Nov 2022 10:56:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io;
 s=dreamhost; t=1667584577;
 bh=ck/v6+1VXI0mvpSwWeE597noKdsUURatkdAqjGOyV1o=;
 h=From:To:Cc:Subject:Date:Content-Type:Content-Transfer-Encoding;
 b=3aGE069yr1fyDhBndXNglC3TVlgGHqsy9PE5Y2q7B5L7ov87nLUiQ9tN+UpnlsIeW
 dbISevKfHPnYERjP7dmlx6+5o1a7byd7b9A+Lb9vT65aFHz+11gNPefdrZ/g1A7Rtn
 Czc4T2eZW1fLUnu7GRY6a/6K6u1oKYg0YWmTWRwpIavmwdD19o3SihDyjcCYcC0rqT
 9y65CQ8pdiABoQplJaUt2kgaTzwwrHSgTxd8hUvMy2CDxPFbkAh0IF6nM7lxwDQIUf
 +4K/mi//YXzTmtKDRbt9T4pA0PF2Pa9WKjDmOTFeBXvWLIFnJ5B4BZ+7ctB6bajMGh
 fcKcKPiy1wU3A==
From: peter@HIDDEN
To: guix-patches@HIDDEN
Subject: [PATCH 1/1] gnu: Add cyrus-sasl-xoauth2.
Date: Fri,  4 Nov 2022 13:56:05 -0400
Message-Id: <95c44daa0deb5d5104a40c97c15b38299ec34c01.1667583886.git.peter@HIDDEN>
X-Mailer: git-send-email 2.38.0
In-Reply-To: <cover.1667583886.git.peter@HIDDEN>
References: <cover.1667583886.git.peter@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=23.83.212.6; envelope-from=peter@HIDDEN;
 helo=aye.elm.relay.mailchannels.net
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
Cc: Peter Polidoro <peter@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

From: Peter Polidoro <peter@HIDDEN>

* gnu/packages/cyrus-sasl.scm (cyrus-sasl-xoauth2): New variable.
---
 gnu/packages/cyrus-sasl.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/cyrus-sasl.scm b/gnu/packages/cyrus-sasl.scm
index 2cd18f3e5e..ddb8c476ac 100644
--- a/gnu/packages/cyrus-sasl.scm
+++ b/gnu/packages/cyrus-sasl.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2013 Andreas Enge <andreas@HIDDEN>
 ;;; Copyright © 2016 Leo Famulari <leo@HIDDEN>
 ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@HIDDEN>
+;;; Copyright © 2022 Peter Polidoro <peter@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -28,6 +29,7 @@ (define-module (gnu packages cyrus-sasl)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module (guix build-system gnu))
 
 (define-public cyrus-sasl
@@ -78,3 +80,33 @@ (define-public cyrus-sasl
    (license (license:non-copyleft "file://COPYING"
                                   "See COPYING in the distribution."))
    (home-page "https://cyrusimap.org/sasl/")))
+
+(define-public cyrus-sasl-xoauth2
+  (package
+    (name "cyrus-sasl-xoauth2")
+    (version "0.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/moriyoshi/cyrus-sasl-xoauth2")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1py9f1mn5k5xihrk0lfrwr6723c22gjb7lmgya83ibvislm2x3wl"))))
+    (build-system gnu-build-system)
+    (arguments
+     ;; Not sure what is required here in order to get this installed into the
+     ;; correct location. Maybe it needs to be installed in the plugindir for
+     ;; the cyrus-sasl package above? Not sure how to reference that directory
+     ;; in this package though.
+    '(#:configure-flags (list (string-append "--prefix="
+                                             (assoc-ref %outputs "out")
+                                             "/lib/sasl2"))))
+    (native-inputs (list autoconf automake libtool))
+    (inputs (list cyrus-sasl))
+    (home-page "https://github.com/moriyoshi/cyrus-sasl-xoauth2")
+    (synopsis "XOAUTH2 mechanism plugin for cyrus-sasl")
+    (description "XOAUTH2 mechanism plugin for cyrus-sasl.")
+    (license (list license:expat license:expat))))
+
-- 
2.38.0





Acknowledgement sent to peter@HIDDEN:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#59019; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 15 Nov 2022 10:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.