Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Update WWW - Update version requirement of BUILD_DEPENDS - Use USES=pathfix to fix .pc installation - Use complete arguments/options - Update pkg-descr - Take maintainership Changes: https://github.com/babelouest/rhonabwy/releases
- Loading branch information
Showing
6 changed files
with
45 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,40 @@ | ||
PORTNAME= rhonabwy | ||
PORTVERSION= 1.1.11 | ||
DISTVERSIONPREFIX= v | ||
DISTVERSION= 1.1.9 | ||
CATEGORIES= security | ||
|
||
MAINTAINER= ports@FreeBSD.org | ||
MAINTAINER= sunpoet@FreeBSD.org | ||
COMMENT= Javascript Object Signing and Encryption (JOSE) library | ||
WWW= https://github.com/babelouest/rhonabwy | ||
WWW= https://babelouest.github.io/rhonabwy/ \ | ||
https://github.com/babelouest/rhonabwy | ||
|
||
LICENSE= LGPL21 | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
BUILD_DEPENDS= yder>1.4.14:devel/yder \ | ||
orcania>2.2.1:devel/orcania \ | ||
gnutls>0:security/gnutls | ||
|
||
BUILD_DEPENDS= jansson>=2.4:devel/jansson \ | ||
orcania>=2.3.2:devel/orcania \ | ||
ulfius>=2.7.13:www/ulfius \ | ||
yder>=1.4.19:devel/yder | ||
LIB_DEPENDS= libcurl.so:ftp/curl \ | ||
libgmp.so:math/gmp \ | ||
libnettle.so:security/nettle \ | ||
libjansson.so:devel/jansson \ | ||
libgnutls.so:security/gnutls \ | ||
libjansson.so:devel/jansson \ | ||
libnettle.so:security/nettle \ | ||
liborcania.so:devel/orcania \ | ||
libulfius.so:www/ulfius \ | ||
libyder.so:devel/yder | ||
|
||
USES= cmake | ||
USES= cmake pathfix pkgconfig | ||
|
||
CMAKE_OFF= BUILD_RHONABWY_DOCUMENTATION BUILD_RHONABWY_TESTING BUILD_RPM DOWNLOAD_DEPENDENCIES | ||
CMAKE_ON= BUILD_RNBYC BUILD_STATIC INSTALL_HEADER SEARCH_ORCANIA_R SEARCH_YDER_R WITH_CURL WITH_ULFIUS | ||
|
||
PLIST_SUB= PORTVERSION=${PORTVERSION} | ||
|
||
USE_GITHUB= yes | ||
GH_ACCOUNT= babelouest | ||
|
||
PLIST_SUB= DISTVERSION=${DISTVERSION} | ||
|
||
CMAKE_ARGS= -DWITH_JOURNALD=off | ||
post-install: | ||
${INSTALL_DATA} ${INSTALL_WRKSRC}/librhonabwy.a ${STAGEDIR}${PREFIX}/lib/ | ||
|
||
.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1670088829 | ||
SHA256 (babelouest-rhonabwy-v1.1.9_GH0.tar.gz) = 57c5b67c8826e8071b9a93ec96303fa58749964dc056574d65a5e6035ffde278 | ||
SIZE (babelouest-rhonabwy-v1.1.9_GH0.tar.gz) = 401523 | ||
TIMESTAMP = 1686496692 | ||
SHA256 (babelouest-rhonabwy-v1.1.11_GH0.tar.gz) = 78021d176615a48477927eae9cad404760d345c70b62b86e5620eb9f80969d2e | ||
SIZE (babelouest-rhonabwy-v1.1.11_GH0.tar.gz) = 382916 |
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
File renamed without changes.
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 |
---|---|---|
@@ -1,12 +1,16 @@ | ||
Javascript Object Signing and Encryption (JOSE) library - JWK, JWKS, JWS, JWE | ||
and JWT | ||
Rhonabwy library is made to manage JWK, JWKS, JWS, JWE and JWT according to | ||
their respective RFCs: | ||
- JSON Web Keys (JWK) and JSON Web Keys Set (JWKS) | ||
- JSON Web Signatures (JWS) | ||
- JSON Web Encryption (JWE) | ||
- JSON Web Token (JWT) | ||
|
||
* Create, modify, parse, import or export JSON Web Keys (JWK) and | ||
JSON Web Keys Set (JWKS) | ||
* Create, modify, parse, validate or serialize JSON Web Signatures (JWS) | ||
* Create, modify, parse, validate or serialize JSON Web Encryption (JWE) | ||
* Create, modify, parse, validate or serialize JSON Web Token (JWT) | ||
Rhonabwy is based on the following libraries and actively uses them: | ||
- GnuTLS for the cryptographic functions | ||
- Jansson for the JSON manipulation | ||
- Yder for the logs | ||
- Libcurl when it requires to retrieve keys from an URL | ||
|
||
JWT Relies on JWS and JWE functions, so it supports the same functionalities as | ||
the other 2. JWT functionalities also support nesting serialization (JWE nested | ||
in a JWS or the opposite). | ||
When relevant, a function can accept or return GnuTLS or Jansson data. But if | ||
you're not using those in your application and prefer raw data, you can use the | ||
more agnostic functions. |
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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
bin/rnbyc | ||
include/rhonabwy-cfg.h | ||
include/rhonabwy.h | ||
lib/librhonabwy.a | ||
lib/librhonabwy.so | ||
lib/librhonabwy.so.1.1 | ||
lib/librhonabwy.so.%%DISTVERSION%% | ||
lib/librhonabwy.so.%%PORTVERSION%% | ||
libdata/pkgconfig/librhonabwy.pc | ||
share/man/man1/rnbyc.1.gz |