Bug 252676 - [NEW PORT]: security/cyrus-sasl2-xoauth2 to allow OAUTH2 logins with SASL
Summary: [NEW PORT]: security/cyrus-sasl2-xoauth2 to allow OAUTH2 logins with SASL
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Joseph Mingrone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-14 17:25 UTC by Thierry Dussuet
Modified: 2023-10-15 20:38 UTC (History)
4 users (show)

See Also:


Attachments
cyrus-sasl2-xoauth2.shar (1.67 KB, application/x-shellscript)
2021-01-14 17:25 UTC, Thierry Dussuet
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Dussuet 2021-01-14 17:25:38 UTC
Created attachment 221569 [details]
cyrus-sasl2-xoauth2.shar

cyrus-sasl2-xoauth2 is a plugin for cyrus-sasl2 which enables the OAuth2 login mechanism for example for mail transfer/delivery agents.
Comment 1 Michael Osipov 2021-11-24 14:24:11 UTC
I wonder how you obtain the token in a non-interactive way to be used with Sendmail or alike. this came up here at work as well.
Comment 2 Yonas Yanfa 2022-01-20 05:27:38 UTC
Thanks Thierry.

Got here from https://wiki.archlinux.org/title/isync#Using_XOAUTH2 . Is there anything holding back inclusion of this port?
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-10-15 20:34:26 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3c7361b99facd93c93ed9d8e1b83ffc07c42aea8

commit 3c7361b99facd93c93ed9d8e1b83ffc07c42aea8
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2023-10-15 20:05:05 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2023-10-15 20:33:31 +0000

    security/cyrus-sasl2-xoauth2: New port

    This is a plugin implementation of XOAUTH2 for cyrus-sasl2.

    WWW:            https://github.com/moriyoshi/cyrus-sasl-xoauth2/
    PR:             252676
    Sponsored by:   The FreeBSD Foundation

    Co-authored-by: Thierry Dussuet <thierry.dussuet@protonmail.com>

 security/Makefile                            |  1 +
 security/cyrus-sasl2-xoauth2/Makefile (new)  | 36 ++++++++++++++++++++++++++++
 security/cyrus-sasl2-xoauth2/distinfo (new)  |  3 +++
 security/cyrus-sasl2-xoauth2/pkg-descr (new) |  6 +++++
 4 files changed, 46 insertions(+)
Comment 4 Joseph Mingrone freebsd_committer freebsd_triage 2023-10-15 20:38:13 UTC
Thanks for submitting.

A few changes were required.
- Fix build due to incorrectly specified USE_LDCONFIG
- Move WWW to Makefile
- Pet portlint/portclippy/portfmt
- Extent pkg-descr
- Add missing entry to security/Makefile

Please open a new issue (and feel free to tag me) if you see any problems.

Thanks again,

Joe