Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

79.7. cyrus-sasl-xoauth2-0.2

The XOAUTH2 SASL mechanism — what mbsync authenticates with where a provider has withdrawn app passwords

0.2-1 · MIT · 0.2 SBU · 21.8 KiB, 4 files · 41_system, 172 of 1047 · ports/core/auth/cyrus-sasl-xoauth2

Homepage: https://github.com/moriyoshi/cyrus-sasl-xoauth2

Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/auth.txt:

The XOAUTH2 mechanism mbsync authenticates through, a plugin for the cyrus-sasl loader 30_foundation installs. A provider that has withdrawn application passwords requires it; without it, an account there can be read in aerc and sent through msmtp and cannot be mirrored into a local Maildir.

Depends on: cyrus-sasl, autoconf, automake, libtool.

Required by (1): isync.

Sources: cyrus-sasl-xoauth2-0.2.tar.gz (13.8 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install cyrus-sasl-xoauth2'

build.sh:

libtoolize
install -d m4
aclocal -I m4
autoheader
automake -c -a --foreign
autoconf

./configure \
	--prefix=/usr \
	--with-cyrus-sasl=/usr \
	--disable-static

make
make DESTDIR=$PKG install

rm -f "$PKG/usr/lib/sasl2/libxoauth2.la"

Directories: /usr/share/licenses/cyrus-sasl-xoauth2.