From: Reily Siegel <mail@reilysiegel.com>
To: 58074@debbugs.gnu.org
Subject: [bug#58074] [PATCH staging v3 2/2] gnu: Add cyrus-sasl-xoauth2.
Date: Fri, 23 Dec 2022 14:27:43 -0500 [thread overview]
Message-ID: <18f46f62bb9eadb0c065fe31b135b844d4d2774f.1691097881.git.mail@reilysiegel.com> (raw)
In-Reply-To: <90f054c85b00bb046fb29af990e24eddb472134c.1691097881.git.mail@reilysiegel.com>
From: Morgan Smith <Morgan.J.Smith@outlook.com>
* 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 © 2016 Leo Famulari <leo@famulari.name>
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2022 Morgan Smith <Morgan.J.Smith@outlook.com>
;;;
;;; 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))
(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="
+ #$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)))
next prev parent reply other threads:[~2023-08-03 22:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-25 15:15 [bug#58074] [PATCH] gnu: Add cyrus-sasl-xoauth2 Morgan.J.Smith
2022-10-06 20:47 ` Ludovic Courtès
2022-12-23 19:27 ` [bug#58074] [PATCH staging v3 1/2] gnu: cyrus-sasl: Set SASL_PATH to find plugins Reily Siegel
2022-12-23 19:27 ` Reily Siegel [this message]
2024-02-12 18:48 ` Samuel Fadel
2022-12-23 19:27 ` [bug#58074] [PATCH staging v2 " Morgan.J.Smith
2024-03-15 14:46 ` [bug#58074] [PATCH] gnu: Add cyrus-sasl-xoauth2 Zac Berkowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18f46f62bb9eadb0c065fe31b135b844d4d2774f.1691097881.git.mail@reilysiegel.com \
--to=mail@reilysiegel.com \
--cc=58074@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).