From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GMdqAXhSZWND2QAAbAwnHQ (envelope-from ) for ; Fri, 04 Nov 2022 18:57:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iKhzAXhSZWOCQQAA9RJhRA (envelope-from ) for ; Fri, 04 Nov 2022 18:57:12 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AA33B14721 for ; Fri, 4 Nov 2022 18:57:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1or0wC-0005gH-UU; Fri, 04 Nov 2022 13:57:05 -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 1or0wA-0005cO-Tr for guix-patches@gnu.org; Fri, 04 Nov 2022 13:57:02 -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 1or0wA-0006hd-L3 for guix-patches@gnu.org; Fri, 04 Nov 2022 13:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1or0wA-0005wv-DY for guix-patches@gnu.org; Fri, 04 Nov 2022 13:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#59019] [PATCH 1/1] gnu: Add cyrus-sasl-xoauth2. Resent-From: peter@polidoro.io Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 04 Nov 2022 17:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59019 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59019@debbugs.gnu.org Cc: Peter Polidoro X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166758459122812 (code B ref -1); Fri, 04 Nov 2022 17:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Nov 2022 17:56:31 +0000 Received: from localhost ([127.0.0.1]:54753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1or0vf-0005vs-Ew for submit@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 ) id 1or0va-0005vU-QR for submit@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 ) id 1or0va-0005Da-J5 for guix-patches@gnu.org; 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 ) id 1or0vY-0006f9-3x for guix-patches@gnu.org; Fri, 04 Nov 2022 13:56:26 -0400 X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io 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@polidoro.io X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|peter@polidoro.io 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@polidoro.io) 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@polidoro.io Date: Fri, 4 Nov 2022 13:56:05 -0400 Message-Id: <95c44daa0deb5d5104a40c97c15b38299ec34c01.1667583886.git.peter@polidoro.io> X-Mailer: git-send-email 2.38.0 In-Reply-To: References: 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@polidoro.io; 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-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: , Sender: "Guix-patches" Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667584631; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ck/v6+1VXI0mvpSwWeE597noKdsUURatkdAqjGOyV1o=; b=mpehcIzc28MoTF+pC7vFnTb6kklvqoahWne6IkH66FFRpY359kGdPgF/i05/qtisA7qE3x s9C5uTqziu4MF7OH1FppcALATY5uNQJ+KBZ30CwAnJaLTebr14A0VctUCld6DBIVBmYinh R4/qkzPY+xoXWX6BHHvFLyLy2yv9tJLDXKGFHqBw4HBnFQJoUc7A5D8Af+qFJ3m0lccHtu q9Z+p4wTbRBOjASHVnhV4Zfn7vAKW2m783TUmcQWBDgEAhsU1jb4//UvwFxv2C2SMvotDp Cw2XVTRXAYv4/JAJ1ZV6xpR9d0K1zU1wv+gnnPBdjyPX12cDleeIH+aCxKBqYA== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1667584631; a=rsa-sha256; cv=fail; b=ONMV8Frw3sMjYK4LlSZw/3IfFSyZOQ5iQZ/YK0h5yJejoxit8LX3wXIbMUNu/o5XgpAkkE UpRq0QbwFUo+HQ6Hur8ncbRYbkWfbsthFaFIPjh8eUb5SO22n4FfUGD/VWNny7lp/RmZ35 rLL5nB8OUoFIiQqqtT90a6Bjra+HrWvrETjRa8Y7CwhTwX3ab4gsBSpcj4BMW5l2etTJaX s+6YYSTDfBQ+v8TT904vk3tsV/LvE26LURE726YFAzGVD4c+tpFUgR6inC6lMgWHgg8T4f B8DhzFKCcA1rBVyhy0TYGt/FwpxLbYfL6vETcONxiC4CeCDQaxjA8mbiG5GlAA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=polidoro.io header.s=dreamhost header.b=3aGE069y; arc=reject ("signature check failed: fail, {[1] = sig:mailchannels.net:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 0.70 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=polidoro.io header.s=dreamhost header.b=3aGE069y; arc=reject ("signature check failed: fail, {[1] = sig:mailchannels.net:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: AA33B14721 X-Spam-Score: 0.70 X-Migadu-Scanner: scn0.migadu.com X-TUID: LZpdRr0oa9Q7 From: Peter Polidoro * 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 ;;; Copyright © 2016 Leo Famulari ;;; Copyright © 2019 Mathieu Othacehe +;;; Copyright © 2022 Peter Polidoro ;;; ;;; 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