From nobody Fri Jun 30 07:18:18 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 4QsmrC142Xz4kp3G; Fri, 30 Jun 2023 07:18:19 +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 4QsmrC0Lrbz3kNy; Fri, 30 Jun 2023 07:18:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688109499; 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=soLc5yhzH2Mu8DdSgbimNlFxR+38Bgz38hoCl5RcoXQ=; b=JtJVp9RTgYuiHGNQBUUIdKBzCKFJTd9UbHX3MSxjzOaQgMhAwQpkeLfTomzUqB7+j5VBcd /bZqjl16TpCdfUIfxqsszFXtNsWl+VsO3bedt6auhtcxq1ZekHNeBiQs5vk47kAlvPcj4J heleSu9CblzWP1Uk/yIELnjdllaBLZnd6ciY6zEvXNdvjqxFzc8YzmT7PtDWxulsg7QkvN pISxxaN8kAoCmPF+KiEUNyNpETyEupR7btp45PPq+35NfasIe2UgC6DuX2rpJK94oFouoZ MUMDbnNMd2n4/svlCvbF3sMdumCkF7PnN41ze4XOfbEWjVxy4+7tJwaUA6qgDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688109499; 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=soLc5yhzH2Mu8DdSgbimNlFxR+38Bgz38hoCl5RcoXQ=; b=WX+6g5N5itClRc7uqtSvkLcUeALDtr7afQ24RdFh5yrj3pWecFgDzL1LpsKUM/4IwV3cLN Qfg+cqo4Md12t2FO3bk8TKuN72c1DGO6sOo2oeAAsf2q3kFNvCqrezY9sPY6xyDXM2zgNs L4og2dQYa2Wz6QbtV4n1QgobuXFkAk/QIF1+jnbIcRGBIXNXiIRPfg8lBf4dvmcnUHCpyd 51k5RKNHH3Zh3Asrbb4X9K4ZFP6tUZKvP/97iw7zQrJQO86BIm0IC87u3XhbsoOn+tUn9y n+8LoaHvopkhPuAFQMQ3Kfd91Ex8mjry83tc9ESJzTkrN7JmSUf9ZxQNn4bgfA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688109499; a=rsa-sha256; cv=none; b=OxNPdyeXDGtFNBTfqOZQgreIbGqP/P4CJ1BLkPZV35q5qs+9FDGLvMWELAhg1h96+UzLO9 sJNEQGtVqYBpBlr5ClkQb8gvulXkUXTXNIPzoiowCkJtXjRIqJM5rULvdOK6v9jKVYK+Al AGV7QvF065lzya7PLkn3YOq48KlaQY3FjXxPsb7So99wAri9uFBL62l5I8OSF+K0hR7ync Mw537B/r78R+9NLyVqcpRScgFp4kOTjfCwZlIv/bwLmnp2JURmzgM/JU7ysii19823oBVI T/puW6U4qz7EX3EwDWXoXDnLZStCEZho3taGnvxgwE5jbq3RruQ0pAwcSMUWMw== 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 4QsmrB6TqvzqN4; Fri, 30 Jun 2023 07:18:18 +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 35U7IIWh064844; Fri, 30 Jun 2023 07:18:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 35U7IIqV064843; Fri, 30 Jun 2023 07:18:18 GMT (envelope-from git) Date: Fri, 30 Jun 2023 07:18:18 GMT Message-Id: <202306300718.35U7IIqV064843@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: ccdf31503d33 - main - security/rhonabwy: Update to 1.1.11 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ccdf31503d33df89a93ee5b9d0c81e4cdd3a901f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=ccdf31503d33df89a93ee5b9d0c81e4cdd3a901f commit ccdf31503d33df89a93ee5b9d0c81e4cdd3a901f Author: Po-Chuan Hsieh AuthorDate: 2023-06-30 07:02:15 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-06-30 07:02:15 +0000 security/rhonabwy: Update to 1.1.11 - 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 --- security/rhonabwy/Makefile | 32 +++++++++++++--------- security/rhonabwy/distinfo | 6 ++-- security/rhonabwy/files/patch-CMakeLists.txt | 9 ++++-- ....cmake => patch-cmake-modules-FindNettle.cmake} | 0 security/rhonabwy/pkg-descr | 24 +++++++++------- security/rhonabwy/pkg-plist | 3 +- 6 files changed, 45 insertions(+), 29 deletions(-) diff --git a/security/rhonabwy/Makefile b/security/rhonabwy/Makefile index 59aa8c6cb943..3889a27c5580 100644 --- a/security/rhonabwy/Makefile +++ b/security/rhonabwy/Makefile @@ -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 diff --git a/security/rhonabwy/distinfo b/security/rhonabwy/distinfo index 4da3403e0a90..3dd3da607a9e 100644 --- a/security/rhonabwy/distinfo +++ b/security/rhonabwy/distinfo @@ -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 diff --git a/security/rhonabwy/files/patch-CMakeLists.txt b/security/rhonabwy/files/patch-CMakeLists.txt index 81ac445f6200..d5037798ade4 100644 --- a/security/rhonabwy/files/patch-CMakeLists.txt +++ b/security/rhonabwy/files/patch-CMakeLists.txt @@ -1,6 +1,11 @@ ---- CMakeLists.txt.orig 2022-07-08 18:38:40 UTC +--- CMakeLists.txt.orig 2023-02-08 14:06:47 UTC +++ CMakeLists.txt -@@ -171,7 +171,7 @@ set_target_properties(rhonabwy PROPERTIES +@@ -167,11 +167,11 @@ endif () + + add_library(rhonabwy SHARED ${LIB_SRC}) + set_target_properties(rhonabwy PROPERTIES +- COMPILE_OPTIONS "-Wextra;-Wconversion" ++ COMPILE_OPTIONS "-Wextra;-Wconversion;-Wno-sign-conversion;-Wno-unknown-warning-option" PUBLIC_HEADER "${INC_DIR}/rhonabwy.h;${PROJECT_BINARY_DIR}/rhonabwy-cfg.h" VERSION "${LIBRARY_VERSION}" SOVERSION "${LIBRARY_SOVERSION}") diff --git a/security/rhonabwy/files/patch-cmake-modules_FindNettle.cmake b/security/rhonabwy/files/patch-cmake-modules-FindNettle.cmake similarity index 100% rename from security/rhonabwy/files/patch-cmake-modules_FindNettle.cmake rename to security/rhonabwy/files/patch-cmake-modules-FindNettle.cmake diff --git a/security/rhonabwy/pkg-descr b/security/rhonabwy/pkg-descr index 8d6ea6a7ae4b..a7ad8e249010 100644 --- a/security/rhonabwy/pkg-descr +++ b/security/rhonabwy/pkg-descr @@ -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. diff --git a/security/rhonabwy/pkg-plist b/security/rhonabwy/pkg-plist index e8d03fd49fe6..b32f616755a0 100644 --- a/security/rhonabwy/pkg-plist +++ b/security/rhonabwy/pkg-plist @@ -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