Skip to content

Commit 3c7361b

Browse files
committed
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>
1 parent 292f3a8 commit 3c7361b

File tree

4 files changed

+46
-0
lines changed

4 files changed

+46
-0
lines changed

‎security/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@
120120
SUBDIR += cyrus-sasl2
121121
SUBDIR += cyrus-sasl2-gssapi
122122
SUBDIR += cyrus-sasl2-ldapdb
123+
SUBDIR += cyrus-sasl2-xoauth2
123124
SUBDIR += cyrus-sasl2-saslauthd
124125
SUBDIR += cyrus-sasl2-sql
125126
SUBDIR += cyrus-sasl2-srp
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
PORTNAME= cyrus-sasl2-xoauth2
2+
DISTVERSIONPREFIX= v
3+
DISTVERSION= 0.2
4+
CATEGORIES= security
5+
6+
MAINTAINER= thierry.dussuet@protonmail.com
7+
COMMENT= XOAUTH2 plugin for cyrus-sasl2
8+
WWW= https://github.com/moriyoshi/cyrus-sasl-xoauth2/
9+
10+
LICENSE= MIT
11+
LICENSE_FILE= ${WRKSRC}/COPYING
12+
13+
LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
14+
15+
USES= autoreconf libtool
16+
USE_GITHUB= yes
17+
GH_ACCOUNT= moriyoshi
18+
GH_PROJECT= cyrus-sasl-xoauth2
19+
USE_LDCONFIG= ${PREFIX}/lib/sasl2
20+
21+
GNU_CONFIGURE= yes
22+
CONFIGURE_ARGS= --with-cyrus-sasl=${PREFIX}
23+
24+
post-extract:
25+
${MKDIR} ${WRKSRC}/m4
26+
27+
post-install:
28+
${INSTALL_LIB} ${WRKSRC}/.libs/libxoauth2.so.0.0.0 ${STAGEDIR}${PREFIX}/lib/sasl2
29+
${INSTALL_PROGRAM} ${WRKSRC}/.libs/libxoauth2.a ${STAGEDIR}${PREFIX}/lib/sasl2
30+
31+
PLIST_FILES= lib/sasl2/libxoauth2.a \
32+
lib/sasl2/libxoauth2.so \
33+
lib/sasl2/libxoauth2.so.0 \
34+
lib/sasl2/libxoauth2.so.0.0.0
35+
36+
.include <bsd.port.mk>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
TIMESTAMP = 1610623425
2+
SHA256 (moriyoshi-cyrus-sasl-xoauth2-v0.2_GH0.tar.gz) = a62c26566098100d30aa254e4c1aa4309876b470f139e1019bb9032b6e2ee943
3+
SIZE (moriyoshi-cyrus-sasl-xoauth2-v0.2_GH0.tar.gz) = 14120
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
This is a plugin implementation of XOAUTH2 for cyrus-sasl2.
2+
3+
OAuth 2.0 is a protocol for authorization. The specification and
4+
extensions are being developed within the IETF OAuth Working Group.
5+
XOAUTH2 is standard OAuth 2.0 plus a nonstandard SASL binding for OAuth
6+
that allows clients to send OAuth 2.0 access tokens.

0 commit comments

Comments
 (0)