GNU bug report logs - #59019
[PATCH 1/1] gnu: Add cyrus-sasl-xoauth2.

Previous Next

Package: guix-patches;

Reported by: peter <at> polidoro.io

Date: Fri, 4 Nov 2022 17:57:02 UTC

Severity: normal

Tags: moreinfo, patch

Merged with 58074, 59018, 74938

Done: Liam Hupfer <liam <at> hpfr.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59019 in the body.
You can then email your comments to 59019 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#59019; Package guix-patches. (Fri, 04 Nov 2022 17:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to peter <at> polidoro.io:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 04 Nov 2022 17:57:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: peter <at> polidoro.io
To: guix-patches <at> gnu.org
Cc: Peter Polidoro <peter <at> polidoro.io>
Subject: [PATCH 1/1] gnu: Add cyrus-sasl-xoauth2.
Date: Fri,  4 Nov 2022 13:56:05 -0400
From: Peter Polidoro <peter <at> polidoro.io>

* 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 <andreas <at> enge.fr>
 ;;; Copyright © 2016 Leo Famulari <leo <at> famulari.name>
 ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe <at> gmail.com>
+;;; Copyright © 2022 Peter Polidoro <peter <at> 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





Merged 59018 59019. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 15 Nov 2022 10:43:02 GMT) Full text and rfc822 format available.

Merged 58074 59018 59019 74938. Request was from Liam Hupfer <liam <at> hpfr.net> to control <at> debbugs.gnu.org. (Fri, 15 Aug 2025 05:39:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 58074 <at> debbugs.gnu.org and Morgan.J.Smith <at> outlook.com Request was from Liam Hupfer <liam <at> hpfr.net> to control <at> debbugs.gnu.org. (Fri, 15 Aug 2025 05:39:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 12 Sep 2025 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 83 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.