From: reza via Guix-patches via <guix-patches@gnu.org>
To: 74938@debbugs.gnu.org <74938@debbugs.gnu.org>
Cc: reza <reza@housseini.me>
Subject: [bug#74938] [PATCH 2/2] gnu: Add cyrus-sasl-xoauth2.
Date: Wed, 18 Dec 2024 08:58:59 +0000 [thread overview]
Message-ID: <01020193d8fde8da-f22a8a06-dc8d-4e4b-a11f-ae25b8f943ba-000000@eu-west-1.amazonses.com> (raw)
In-Reply-To: <cover.1734511804.git.reza@housseini.me>
* gnu/packages/cyrus-sasl.scm (cyrus-sasl-xoauth2): New variable.
Change-Id: I2e7d415c2ae18467d9901118c987155aa3f0edca
---
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 ee8ad14d08..4ef5564d41 100644
--- a/gnu/packages/cyrus-sasl.scm
+++ b/gnu/packages/cyrus-sasl.scm
@@ -77,3 +77,35 @@ (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 url-fetch)
+ (uri (string-append "https://github.com/moriyoshi/"
+ "cyrus-sasl-xoauth2/archive/tags/v"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0hz95rp2n0xrkc0y2fgif2s7d61hlhd4qki5m8q0s44qc1b2cb56"))))
+ (build-system gnu-build-system)
+ (inputs (list autoconf
+ automake
+ libtool
+ cyrus-sasl))
+ (arguments
+ (list #:configure-flags
+ #~(list (string-append "--with-cyrus-sasl=" #$output))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'add-shebang
+ (lambda _
+ (substitute* "autogen.sh"
+ (("libtoolize") "#!/bin/sh\nlibtoolize")))))))
+ (synopsis "XOAUTH2 mechanism plugin for cyrus-sasl")
+ (description
+ "This is a plugin implementation of XOAUTH2 for cyrus-sasl.")
+ (home-page "https://github.com/moriyoshi/cyrus-sasl-xoauth2")
+ (license license:expat)))
--
2.46.0
prev parent reply other threads:[~2024-12-18 9:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1734511804.git.reza@housseini.me>
2024-12-18 8:53 ` [bug#74938] [PATCH 0/2] Enable plugins for cyrus-sasl and add xoauth2 plugin reza via Guix-patches via
[not found] ` <0c257a6fa32e3285988a8ac474cc67cb58f6a08c.1734511804.git.reza@housseini.me>
2024-12-18 8:58 ` [bug#74938] [PATCH 1/2] gnu: cyrus-sasl: Add native-search-paths reza via Guix-patches via
[not found] ` <87db700cc361eedb650e084b9c0ae1032eb46f43.1734511804.git.reza@housseini.me>
2024-12-18 8:58 ` reza via Guix-patches via [this message]
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=01020193d8fde8da-f22a8a06-dc8d-4e4b-a11f-ae25b8f943ba-000000@eu-west-1.amazonses.com \
--to=guix-patches@gnu.org \
--cc=74938@debbugs.gnu.org \
--cc=reza@housseini.me \
/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).