[PATCH 1/1] gnu: Add cyrus-sasl-xoauth2.

  • Done
  • quality assurance status badge
Details
3 participants
  • Liam Hupfer
  • Ludovic Courtès
  • peter
Owner
unassigned
Submitted by
peter
Severity
normal
Merged with

Debbugs page

P
P
peter wrote on 4 Nov 2022 10:56
(address . guix-patches@gnu.org)(name . Peter Polidoro)(address . peter@polidoro.io)
95c44daa0deb5d5104a40c97c15b38299ec34c01.1667583886.git.peter@polidoro.io
From: Peter Polidoro <peter@polidoro.io>

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

Toggle diff (56 lines)
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@enge.fr>
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
+;;; Copyright © 2022 Peter Polidoro <peter@polidoro.io>
;;;
;;; 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
L
L
Ludovic Courtès wrote on 15 Nov 2022 02:42
control message for bug #59019
(address . control@debbugs.gnu.org)
87wn7wmrcm.fsf@gnu.org
merge 59019 59018
quit
L
L
Liam Hupfer wrote on 14 Aug 22:37 -0700
Re: [bug#58074] [PATCH staging v3 2/2] gnu: Add cyrus-sasl-xoauth2.
87wm754023.fsf@hpfr.net
merge 59018 74938 58074
close 58074
thanks

We’ll see if I got the Debbugs incantations right…

I’ve been carrying this version of the patch locally for some time as
well. I found two more patch submissions for the same package as well,
so clearly there’s some demand! This one seems to be in the best state,
so I resuscitated it on Codeberg at
‘world-rebuild’ branch proposed by Andreas recently in [Branches and
other updates], but it needs a rebase so the PR currently has quite a bit
of noise. Next time I’ll be sure to branch directly off the target,
since Codeberg seems to have some performance issues with cases like
this.

—Liam


[Branches and
?
Your comment

This issue is archived.

To comment on this conversation send an email to 59019@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 59019
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch