From owner-svn-ports-all@freebsd.org Mon Jul 15 17:44:07 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B714EBF8E6; Mon, 15 Jul 2019 17:44:07 +0000 (UTC) (envelope-from sunpoet@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9AB486D95B; Mon, 15 Jul 2019 17:44:07 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 71ADD2127A; Mon, 15 Jul 2019 17:44:07 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x6FHi7xA021698; Mon, 15 Jul 2019 17:44:07 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x6FHi6RA021695; Mon, 15 Jul 2019 17:44:06 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201907151744.x6FHi6RA021695@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 15 Jul 2019 17:44:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r506677 - in head/www: . rubygem-atlassian-jwt X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/www: . rubygem-atlassian-jwt X-SVN-Commit-Revision: 506677 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 9AB486D95B X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.94 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.95)[-0.945,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2019 17:44:07 -0000 Author: sunpoet Date: Mon Jul 15 17:44:06 2019 New Revision: 506677 URL: https://svnweb.freebsd.org/changeset/ports/506677 Log: Add rubygem-atlassian-jwt 0.2.0 In order to access the Atlassian Connect REST APIs, an app authenticates using a JSON Web Token (JWT). The token is generated using the app's secret key and contains a claim which includes the app's key and a hashed version of the API URL the app is accessing. This gem simplifies generating the claim. This gem provides helpers for generating Atlassian specific JWT claims. It also exposes the ruby-jwt gem's encode and decode methods. https://bitbucket.org/atlassian/atlassian-jwt-ruby Added: head/www/rubygem-atlassian-jwt/ head/www/rubygem-atlassian-jwt/Makefile (contents, props changed) head/www/rubygem-atlassian-jwt/distinfo (contents, props changed) head/www/rubygem-atlassian-jwt/pkg-descr (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Mon Jul 15 17:41:30 2019 (r506676) +++ head/www/Makefile Mon Jul 15 17:44:06 2019 (r506677) @@ -1959,6 +1959,7 @@ SUBDIR += rubygem-anemone SUBDIR += rubygem-asana SUBDIR += rubygem-async_sinatra + SUBDIR += rubygem-atlassian-jwt SUBDIR += rubygem-best_in_place SUBDIR += rubygem-best_in_place-rails5 SUBDIR += rubygem-bluecloth Added: head/www/rubygem-atlassian-jwt/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/rubygem-atlassian-jwt/Makefile Mon Jul 15 17:44:06 2019 (r506677) @@ -0,0 +1,21 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= atlassian-jwt +PORTVERSION= 0.2.0 +CATEGORIES= www rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Authenticate with the Atlassian Connect REST APIs + +LICENSE= APACHE20 + +RUN_DEPENDS= rubygem-jwt21>=2.1.0:www/rubygem-jwt21 + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +.include Added: head/www/rubygem-atlassian-jwt/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/rubygem-atlassian-jwt/distinfo Mon Jul 15 17:44:06 2019 (r506677) @@ -0,0 +1,3 @@ +TIMESTAMP = 1563126988 +SHA256 (rubygem/atlassian-jwt-0.2.0.gem) = 52e653e9d6062d7a740c3675b0e79fa08367927c6fc17f5476d1b6b3798c6eb2 +SIZE (rubygem/atlassian-jwt-0.2.0.gem) = 8704 Added: head/www/rubygem-atlassian-jwt/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/rubygem-atlassian-jwt/pkg-descr Mon Jul 15 17:44:06 2019 (r506677) @@ -0,0 +1,9 @@ +In order to access the Atlassian Connect REST APIs, an app authenticates using a +JSON Web Token (JWT). The token is generated using the app's secret key and +contains a claim which includes the app's key and a hashed version of the API +URL the app is accessing. This gem simplifies generating the claim. + +This gem provides helpers for generating Atlassian specific JWT claims. It also +exposes the ruby-jwt gem's encode and decode methods. + +https://bitbucket.org/atlassian/atlassian-jwt-ruby