From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id AKRCKE0qzGQWhQEASxT56A (envelope-from ) for ; Fri, 04 Aug 2023 00:29:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6D0qKE0qzGRmlgAA9RJhRA (envelope-from ) for ; Fri, 04 Aug 2023 00:29:33 +0200 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 337D240BB9 for ; Fri, 4 Aug 2023 00:29:33 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reilysiegel.com header.s=default header.b=Xxe+HXT1; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=reilysiegel.com (policy=none); arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691101773; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=MHJ8YD6ovpq2h+386w2BOVKOywt5dhBI2UQVlpB0qYg=; b=RCW2F117BLk+5NX/Q1gwQPd3iyX7VQEwaToI+A/lIXoy36UOkJhcmYKJnlrkEVCNqhCf7s vc7RuK6YOBfPNxprttaQZy5zKX+NzGpYHiCe0vdPORNUmcizjRDQROY6Z8aQA29gm9ARvj Dc0gp8a0srSkYocvhpa2mH/7vqf38fKZZdyMvMVlRmgXF774l27ThgYuyRzemUndP0i8z1 NX54YOVl4inaOTN6Kqxl0nT+69zeefPamiDGcZEpUxqUdBSntV6TOO41BitrFDkWIEFSzs CFFPUDIJJ/UCwgkBaUFxUXSy3vKLOUwPyxCWPpkKoacBWHpnasn1ZdPjMTT4CA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reilysiegel.com header.s=default header.b=Xxe+HXT1; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=reilysiegel.com (policy=none); arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1691101773; a=rsa-sha256; cv=fail; b=moLzpwZk0iCdb3rDofckGe//q817hg9uzlsWoElC1VgbBEcNcht2sO/s8QUVWm6kZKZVYA lWWM7Dt+F84xFhXf0sPJWIP2YE7rfAJbBD43kP2c3QbTH9YTCT1/QVUnpGiVOBkfMrqE8t CvdTIwf0D5nB2DaDtubrWdeTwcihy2xPIabbWtXubxySvd8WYmM93pI/rQkNh0Vh+29Ovk yS5fYG2PBVbEdDqADeikZ7d6LLlZxkF8MTS1BsfJVGsmVVUQMbS/3vNNsZ1cy6w8KMxVo3 TZd/Unk6x5uSjVxNnnJbvpLd+3oSSbL+CFdsVK8DWcfHEwkdW4x0qDNuRIn4rA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qRftX-0007gJ-7n; Thu, 03 Aug 2023 17:30:07 -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 1qRftT-0007fn-He for guix-patches@gnu.org; Thu, 03 Aug 2023 17:30:03 -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 1qRftT-0002yX-2q for guix-patches@gnu.org; Thu, 03 Aug 2023 17:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qRftS-0001hN-U8 for guix-patches@gnu.org; Thu, 03 Aug 2023 17:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58074] [PATCH staging v3 2/2] gnu: Add cyrus-sasl-xoauth2. References: Resent-From: Reily Siegel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Aug 2023 21:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58074 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo patch To: 58074@debbugs.gnu.org Received: via spool by 58074-submit@debbugs.gnu.org id=B58074.16910982006486 (code B ref 58074); Thu, 03 Aug 2023 21:30:02 +0000 Received: (at 58074) by debbugs.gnu.org; 3 Aug 2023 21:30:00 +0000 Received: from localhost ([127.0.0.1]:53054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRftP-0001gW-63 for submit@debbugs.gnu.org; Thu, 03 Aug 2023 17:30:00 -0400 Received: from sender4-of-o54.zoho.com ([136.143.188.54]:21465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRftM-0001gN-IV for 58074@debbugs.gnu.org; Thu, 03 Aug 2023 17:29:58 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1691098195; cv=none; d=zohomail.com; s=zohoarc; b=LJbm43OGmaHOXX6yjODMhubijH8osgEZ7gcc5L7fUc9KH9BOtQ4miy/91uICZS7q2YnL2kxT3+UvLBYWB3WR7abScN6k8wrW1S6qwrLD4T8bLxSgzQcqPkWtuH7VN7uAt+d68qwrrW0vrxr9d05/hh3suZHmuWZZ0QhHF/gILWA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1691098195; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:MIME-Version:Message-ID:Subject:To; bh=MHJ8YD6ovpq2h+386w2BOVKOywt5dhBI2UQVlpB0qYg=; b=lUZmzJ6LVE4n0+kI9HWTgQNVbOs7tOtyepP7+OuRS5ZTXPWFhwR+YOtE/PSgDLQ5GYhXTCbPGh7nrhz94JpHo3nC4a6CdoI6HdhXYGv5XNku1iAoYhym8Eoho7a6ePnsfkSKjFFb6c572dywlvnoIpxfFKPWcln6khOB1q7pojA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=reilysiegel.com; spf=pass smtp.mailfrom=mail@reilysiegel.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1691098195; s=default; d=reilysiegel.com; i=mail@reilysiegel.com; h=From:From:To:To:Subject:Subject:In-Reply-To:Date:Date:Message-Id:Message-Id:MIME-Version:Content-Type:Content-Transfer-Encoding:Reply-To:Cc; bh=MHJ8YD6ovpq2h+386w2BOVKOywt5dhBI2UQVlpB0qYg=; b=Xxe+HXT1BcAc1vMWCvlSts8rxBDPvc4u+lBCOyqHWS36rmlqYA1x4q0bJyGPDTkN 5TvIm8SjxqXqC+8eArX+J5yBEzLP1DW4naIJamEuJwdPU3pP5oajl98PjbqQqB3RK59 Tx0IfXumIeBC/w4sQ5xgOMMutsW/d1Qt9nfiOEqk= Received: from luden (reilysiegel-laptop.dyn.wpi.edu [130.215.13.112]) by mx.zohomail.com with SMTPS id 1691098192814546.4105085123259; Thu, 3 Aug 2023 14:29:52 -0700 (PDT) From: Reily Siegel In-Reply-To: <90f054c85b00bb046fb29af990e24eddb472134c.1691097881.git.mail@reilysiegel.com> Date: Fri, 23 Dec 2022 14:27:43 -0500 Message-Id: <18f46f62bb9eadb0c065fe31b135b844d4d2774f.1691097881.git.mail@reilysiegel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 337D240BB9 X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: 7.35 X-Migadu-Spam-Score: 7.35 X-TUID: bp3vfFxa0Le2 From: Morgan Smith * gnu/packages/cyrus-sasl.scm (cyrus-sasl-xoauth2): New variable. --- gnu/packages/cyrus-sasl.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/cyrus-sasl.scm b/gnu/packages/cyrus-sasl.scm index 8254e04993..efeeb519c4 100644 --- a/gnu/packages/cyrus-sasl.scm +++ b/gnu/packages/cyrus-sasl.scm @@ -4,6 +4,7 @@ ;;; Copyright =C2=A9 2016 Leo Famulari ;;; Copyright =C2=A9 2019 Mathieu Othacehe ;;; Copyright =C2=A9 2022 Marius Bakke +;;; Copyright =C2=A9 2022 Morgan Smith ;;; ;;; This file is part of GNU Guix. ;;; @@ -30,6 +31,7 @@ (define-module (gnu packages cyrus-sasl) #:use-module (guix gexp) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system gnu)) =20 (define-public cyrus-sasl @@ -76,3 +78,34 @@ (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 + (list #:configure-flags #~(list (string-append "--with-cyrus-sasl=3D" + #$output) + "--disable-static") + #:phases #~(modify-phases %standard-phases + (add-before 'bootstrap 'fix-autogen + (lambda _ + ;; autogen.sh is executable but does not have = a shebang. + (chmod "autogen.sh" #o400)))))) + (inputs (list cyrus-sasl)) + (native-inputs (list autoconf automake libtool)) + (home-page "https://github.com/moriyoshi/cyrus-sasl-xoauth2") + (synopsis "XOAUTH2 plugin for Cyrus SASL") + (description "Adds support for XOAUTH2 authentication to Cyrus SASL. = This +package can be used with isync to fetch mail from servers that support it.= ") + (license license:expat)))