Package Details: cyrus-sasl-xoauth2-git r22.43d03523fecf-2

Git Clone URL: (read-only, click to copy)
Package Base: cyrus-sasl-xoauth2-git
Description: XOAUTH2 mechanism plugin for cyrus-sasl
Upstream URL:
Licenses: MIT
Submitter: tohojo
Maintainer: tohojo
Last Packager: tohojo
Votes: 2
Popularity: 0.103732
First Submitted: 2019-01-23 08:16 (UTC)
Last Updated: 2021-03-16 10:13 (UTC)

Latest Comments

tohojo commented on 2021-03-16 10:14 (UTC)

Ah, that's because of a difference in the git short revision length... Should be fixed in the -2 update I just pushed...

japhir commented on 2021-03-16 09:53 (UTC)

Since a few days every paru command asks me to update this package. I think something in pkgver is going wrong?

paru -Qs cyrus-sasl
local/cyrus-sasl-xoauth2-git r22.43d0352-1
    XOAUTH2 mechanism plugin for cyrus-sasl

when I paru it says the update is for:

Aur (1) cyrus-sasl-xoauth2-git-r22.43d03523fecf-1

VannTen commented on 2020-04-08 11:23 (UTC) (edited on 2020-04-08 11:23 (UTC) by VannTen)

By the way, when building I add some warning by my package manager and did some editing on the PKGBUILD. Feel free to use it if you want (git patch below)

From ee65008b0fd6d5ce2984f24fd9766dd345b8a531 Mon Sep 17 00:00:00 2001
From: VannTen <>
Date: Wed, 8 Apr 2020 10:03:03 +0200
Subject: [PATCH] Using makepkg to git clone instead of manual

 PKGBUILD | 38 ++++++++++++++------------------------
 1 file changed, 14 insertions(+), 24 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 242848b..9ade5fb 100644
@@ -1,40 +1,24 @@
 # Maintainer: Toke Høiland-Jørgensen <>
 pkgdesc="XOAUTH2 mechanism plugin for cyrus-sasl"

 pkgver() {
-  cd "cyrus-sasl-xoauth2"
+  cd "$_pkgname"
   printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"

 build() {
-  cd "$srcdir"
-  msg "Connecting to GIT server...."
-  if [[ -d "$_gitname" ]]; then
-    cd "$_gitname" && git pull origin
-    msg "The local files are updated."
-  else
-    git clone "$_gitroot" "$_gitname"
-  fi
-  msg "GIT checkout done or server timeout"
-  msg "Starting build..."
-  rm -rf "$srcdir/$_gitname-build"
-  git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
-  cd "$srcdir/$_gitname-build"
+  cd "$_pkgname"

@@ -44,9 +28,15 @@ build() {

+check() {
+  cd "$_pkgname"
+  make check
 package() {
-  cd "$srcdir/$_gitname-build"
+  cd "$_pkgname"
   make DESTDIR="$pkgdir/" install
+  install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE

 # vim:set ts=2 sw=2 et:

VannTen commented on 2020-04-07 15:46 (UTC) (edited on 2020-04-07 15:49 (UTC) by VannTen)

Weird. I suppose that's depend on the usage that the application makes of libsasl, but I don't really know the internals of that.

I'll try to make an issue on the github when I'll have a bit of time

tohojo commented on 2020-04-07 10:38 (UTC)

Works fine for me with postfix for authenticating against gmail...

VannTen commented on 2020-04-06 15:54 (UTC)

The plugin does not seem to works. For example when used with mbsync connecting by imap and using sasl, it hangs at login. Another implementation ( does work though.