From nobody Sun Oct 15 20:34:05 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S7sR21jyKz4xMt9; Sun, 15 Oct 2023 20:34:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S7sR214wpz4qlk; Sun, 15 Oct 2023 20:34:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697402046; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uv17HNG6HvP1dM+scidRqvtJaelwVYZ4xJLXJ4t/CgI=; b=UCLOEq8kOdtZO8SONPz3Ieuj5cPY0wkEYmBRRffL8O6TtAVqpsoYnd1I69QWWR45ImrS0v t5HnNB2g9sPpq9XMHa+7os+pkKBBmaiNYcpAHRW9zUo/3W/dTYkH5GgsLeT95NQipMQMUr OES1uZts+XQcv86N+yMTWS3jhdShoqPyGn9DX/kU5x77zyZ1lfb811U1VC268YMaSSwra3 +jOV4hG2t7//Rn/pcSruyQCkkwcEK5iYlmQjutiZmxN1XSf/n9EJK0guJMAgZRlFjdiR57 IhhzwrNpahJ2E/nplEVsnTdAp8UfBKGYpX1ZFBJ77XoUpGKjuoh0zXLoEapGEA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697402046; a=rsa-sha256; cv=none; b=j6JAMukm6tjHATBKxtSitn3vsF/yBtl/wOMYLRSu3+m175JVPAjZK7n0nYZNfB5Ul1HWCf hfyafoVZ75a6gQSDwgRucRUgL/NE2fcNUHtYK0QMcyH915LrRq/eT773xqay/kfhNwos7g jwsQ4wNbyT2EeZJe8o6H5Q/ilQTJ1WbHJEhwVPlF9FXapTy5EVGfZn7/kVTo1izv4/piHk YG1/ApC5SyvBJOd2yVdo1ORFMn6i3fSTLYOz7sjJOoUSfcma2Qr1fDl+kUjnpurm2Me5wi GEu8tGHVMG5IQ4ft6OBCxLNTCIrOnf91Bj4fjwSzGJeOfEtgvd+n7bCj4e13MA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697402046; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uv17HNG6HvP1dM+scidRqvtJaelwVYZ4xJLXJ4t/CgI=; b=f9VF55pCMVRLbH9NrF2r+nlK/McIr1cHHH6w8WzzJFyD2byyvpRgh//aKSuis6n8nSJwX0 eu+MKLfdgP627m2BoVWHIHM1BDR5q/Vfyf0CAYFfewBozZHGn97kPOQtr6Fg6QpwcTggyn 2w2gkpDBN3oRhsbqceD/1hNcARr2Bwvz4RGaIXoz2UlUEDkiZO7Wbk6zR1v2H2adCU41Jg SLuBEyubsGSQO40gQktSNIOD5YKjaZw8MclKFKdYRP3OGYhbs4FJpGMgCP+hqnwcxRJTv2 wIL90EnI2ATytzVF7IEVw3h3UANjl+nOUGbIWv2LbzU39W3qMtaGi/VCgKBBGw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S7sR208GRz1QPR; Sun, 15 Oct 2023 20:34:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39FKY5TE091842; Sun, 15 Oct 2023 20:34:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39FKY5uA091839; Sun, 15 Oct 2023 20:34:05 GMT (envelope-from git) Date: Sun, 15 Oct 2023 20:34:05 GMT Message-Id: <202310152034.39FKY5uA091839@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Joseph Mingrone Subject: git: 3c7361b99fac - main - security/cyrus-sasl2-xoauth2: New port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jrm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3c7361b99facd93c93ed9d8e1b83ffc07c42aea8 Auto-Submitted: auto-generated The branch main has been updated by jrm: URL: https://cgit.FreeBSD.org/ports/commit/?id=3c7361b99facd93c93ed9d8e1b83ffc07c42aea8 commit 3c7361b99facd93c93ed9d8e1b83ffc07c42aea8 Author: Joseph Mingrone AuthorDate: 2023-10-15 20:05:05 +0000 Commit: Joseph Mingrone 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 --- security/Makefile | 1 + security/cyrus-sasl2-xoauth2/Makefile | 36 ++++++++++++++++++++++++++++++++++ security/cyrus-sasl2-xoauth2/distinfo | 3 +++ security/cyrus-sasl2-xoauth2/pkg-descr | 6 ++++++ 4 files changed, 46 insertions(+) diff --git a/security/Makefile b/security/Makefile index 3d06298314ca..0cdd3c6f96d9 100644 --- a/security/Makefile +++ b/security/Makefile @@ -120,6 +120,7 @@ SUBDIR += cyrus-sasl2 SUBDIR += cyrus-sasl2-gssapi SUBDIR += cyrus-sasl2-ldapdb + SUBDIR += cyrus-sasl2-xoauth2 SUBDIR += cyrus-sasl2-saslauthd SUBDIR += cyrus-sasl2-sql SUBDIR += cyrus-sasl2-srp diff --git a/security/cyrus-sasl2-xoauth2/Makefile b/security/cyrus-sasl2-xoauth2/Makefile new file mode 100644 index 000000000000..0f0c1fcc83ad --- /dev/null +++ b/security/cyrus-sasl2-xoauth2/Makefile @@ -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 diff --git a/security/cyrus-sasl2-xoauth2/distinfo b/security/cyrus-sasl2-xoauth2/distinfo new file mode 100644 index 000000000000..f064eb906974 --- /dev/null +++ b/security/cyrus-sasl2-xoauth2/distinfo @@ -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 diff --git a/security/cyrus-sasl2-xoauth2/pkg-descr b/security/cyrus-sasl2-xoauth2/pkg-descr new file mode 100644 index 000000000000..20e232b1f46b --- /dev/null +++ b/security/cyrus-sasl2-xoauth2/pkg-descr @@ -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.