Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Showing
4 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
PORTNAME= cyrus-sasl2-xoauth2 | ||
DISTVERSIONPREFIX= v | ||
DISTVERSION= 0.2 | ||
CATEGORIES= security | ||
|
||
MAINTAINER= thierry.dussuet@protonmail.com | ||
COMMENT= XOAUTH2 plugin for cyrus-sasl2 | ||
WWW= https://github.com/moriyoshi/cyrus-sasl-xoauth2/ | ||
|
||
LICENSE= MIT | ||
LICENSE_FILE= ${WRKSRC}/COPYING | ||
|
||
LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 | ||
|
||
USES= autoreconf libtool | ||
USE_GITHUB= yes | ||
GH_ACCOUNT= moriyoshi | ||
GH_PROJECT= cyrus-sasl-xoauth2 | ||
USE_LDCONFIG= ${PREFIX}/lib/sasl2 | ||
|
||
GNU_CONFIGURE= yes | ||
CONFIGURE_ARGS= --with-cyrus-sasl=${PREFIX} | ||
|
||
post-extract: | ||
${MKDIR} ${WRKSRC}/m4 | ||
|
||
post-install: | ||
${INSTALL_LIB} ${WRKSRC}/.libs/libxoauth2.so.0.0.0 ${STAGEDIR}${PREFIX}/lib/sasl2 | ||
${INSTALL_PROGRAM} ${WRKSRC}/.libs/libxoauth2.a ${STAGEDIR}${PREFIX}/lib/sasl2 | ||
|
||
PLIST_FILES= lib/sasl2/libxoauth2.a \ | ||
lib/sasl2/libxoauth2.so \ | ||
lib/sasl2/libxoauth2.so.0 \ | ||
lib/sasl2/libxoauth2.so.0.0.0 | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1610623425 | ||
SHA256 (moriyoshi-cyrus-sasl-xoauth2-v0.2_GH0.tar.gz) = a62c26566098100d30aa254e4c1aa4309876b470f139e1019bb9032b6e2ee943 | ||
SIZE (moriyoshi-cyrus-sasl-xoauth2-v0.2_GH0.tar.gz) = 14120 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
This is a plugin implementation of XOAUTH2 for cyrus-sasl2. | ||
|
||
OAuth 2.0 is a protocol for authorization. The specification and | ||
extensions are being developed within the IETF OAuth Working Group. | ||
XOAUTH2 is standard OAuth 2.0 plus a nonstandard SASL binding for OAuth | ||
that allows clients to send OAuth 2.0 access tokens. |