From nobody Wed Dec 25 19:18:42 2024 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 4YJM4M1Vzbz5hnCQ; Wed, 25 Dec 2024 19:18:43 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YJM4L4N7Sz45GS; Wed, 25 Dec 2024 19:18:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735154322; 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=k8XYSKzLdtqe2QHGc7kFCxsxUPoh9XFZMgF9olqtX0s=; b=e7C3pkFpTnxymMQLlxfWiSViR4fs2bcO9VuyVUaaZZK1WNxOdi+N445GdIaV5vpGdGDtmT U9KwZrxmf4k0rig7rea2Pa5/yUBZple9vVpdI01MDx+YDPsFxlLSBX1kvLuUs4XLKwVNJa NnfDI0Gz35FMUMvUKjWnznNpQxGTtka7+KDMqbvTmgtV7+d8Hurl3j2273WFNupxaJgdh2 H6VJNu5MV0EB+J4PzL+VanhzUQpFShSxAQoSbu0b8E2/29qiXAQIHJ8hiuJhVHoL0djg8X 3dzMbyChlINmMk9S7C+D1GvmbJg7CubS2Tb9JpxquKQE1P2+4rmC08A9sDIsig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735154322; 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=k8XYSKzLdtqe2QHGc7kFCxsxUPoh9XFZMgF9olqtX0s=; b=XvVroN9n9g197ATNlzX7UQ44sLcEi1baVyLrNnomgp3+Npq6WUNYUD5iCZMXucBWputRFs AYBhcji+dn1KxsW+WzVAm+DKZVgg/0aWJ6F/wAd+tQ6WkHpwDgf4ECL8sPt23L8N8CSSLH 8n7218oIZUBFHcCRA1enR/SetEv2rDbGPEZAowIxMfItFtUdAh4C54wJ8rk4pDQFM4BJkw lO+hPAz3EoyfxRkvpa00TDgdjsvr/QfnJpgOT5fEaJfE+SQX6IQT0qY+8gguRa/NGnfJ3y e8HN2wYYs4hWYJZuVM+/PYWD2l7tDHVSoqyCr6NhY+1bhfPuPZiA5QqNFboFjA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735154322; a=rsa-sha256; cv=none; b=RlG9A9yYrRezRYKfRcA88UIa4pjAzP+RrlKV1VpkqNEqals5jFn383nfaM1C7tsRsHCcXf +bzHLB6a3V6+uT0f7nw0JGKGV48wDlOqikPuQmr0kX3LJJ+HVI0Czg9ohi9c5MYc2jXeQQ RWdy6/Jqq0vPm26VQ0WyzIwOj48+sRewar8R3EpJF6bV3tlua9+FK0lpSPvsdfAs8hL4x9 RWvBJlrkbdKDYNzSOkVO00tUV7eDp8QhyZd+UNsg1NiXlCMVjM84sXZBIcLHyI+KOKxMZH /OYDcqdgug23nh2r1Pj/MvcmHE85xSb9XQHcoGHD/iqANiQWMxwfxmxxnQDyyw== 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 4YJM4L387NzLp5; Wed, 25 Dec 2024 19:18:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4BPJIgtL089684; Wed, 25 Dec 2024 19:18:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BPJIga2089681; Wed, 25 Dec 2024 19:18:42 GMT (envelope-from git) Date: Wed, 25 Dec 2024 19:18:42 GMT Message-Id: <202412251918.4BPJIga2089681@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: 6be39c0939a9 - main - www/libjwt: Update to 1.18.3 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-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: 6be39c0939a99d78bb738630a877288457f34b33 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=6be39c0939a99d78bb738630a877288457f34b33 commit 6be39c0939a99d78bb738630a877288457f34b33 Author: Po-Chuan Hsieh AuthorDate: 2024-12-25 18:46:59 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-12-25 19:15:08 +0000 www/libjwt: Update to 1.18.3 Changes: https://github.com/benmcollins/libjwt/releases --- www/libjwt/Makefile | 6 +++--- www/libjwt/distinfo | 6 +++--- www/libjwt/files/patch-openssl | 13 +++++++++++++ www/libjwt/pkg-plist | 2 +- 4 files changed, 20 insertions(+), 7 deletions(-) diff --git a/www/libjwt/Makefile b/www/libjwt/Makefile index c289260aef34..e0d6a9036bde 100644 --- a/www/libjwt/Makefile +++ b/www/libjwt/Makefile @@ -1,7 +1,7 @@ PORTNAME= libjwt -PORTVERSION= 1.17.2 -MASTER_SITES= https://github.com/benmcollins/libjwt/releases/download/v${PORTVERSION}/ +PORTVERSION= 1.18.3 CATEGORIES= www +MASTER_SITES= https://github.com/benmcollins/libjwt/releases/download/v${PORTVERSION}/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= JSON Web Token implementation in C @@ -14,7 +14,7 @@ BUILD_DEPENDS= jansson>=2.0:devel/jansson LIB_DEPENDS= libjansson.so:devel/jansson TEST_DEPENDS= check>=0.9.4:devel/check -USES= autoreconf gmake libtool pathfix pkgconfig ssl tar:bz2 +USES= gmake libtool pathfix pkgconfig ssl tar:bz2 CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" diff --git a/www/libjwt/distinfo b/www/libjwt/distinfo index b31ef4d5a665..29700c5afc09 100644 --- a/www/libjwt/distinfo +++ b/www/libjwt/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1721148486 -SHA256 (libjwt-1.17.2.tar.bz2) = f11c4544f61a31f105720b8329409fea009d6f9ef41c9361f98c2de48152eeae -SIZE (libjwt-1.17.2.tar.bz2) = 419762 +TIMESTAMP = 1734888080 +SHA256 (libjwt-1.18.3.tar.bz2) = 7c582667fe3e6751897c8d9c1b4c8c117bbfa9067d8398524adb5dded671213e +SIZE (libjwt-1.18.3.tar.bz2) = 418553 diff --git a/www/libjwt/files/patch-openssl b/www/libjwt/files/patch-openssl new file mode 100644 index 000000000000..13d65a112c7d --- /dev/null +++ b/www/libjwt/files/patch-openssl @@ -0,0 +1,13 @@ +--- libjwt/jwt-openssl.c.orig 2024-12-03 21:35:02 UTC ++++ libjwt/jwt-openssl.c +@@ -160,8 +160,10 @@ static int jwt_degree_for_key(EVP_PKEY *pkey, jwt_t *j + char groupNameBuffer[24] = {0}; + size_t groupNameBufferLen = 0; + ++#if OPENSSL_VERSION_NUMBER >= 0x30000000L + if (!EVP_PKEY_get_group_name(pkey, groupNameBuffer, sizeof(groupNameBuffer), &groupNameBufferLen)) + return -EINVAL; ++#endif + + groupNameBuffer[groupNameBufferLen] = '\0'; + diff --git a/www/libjwt/pkg-plist b/www/libjwt/pkg-plist index 250e83694f30..08f3b58b8b17 100644 --- a/www/libjwt/pkg-plist +++ b/www/libjwt/pkg-plist @@ -4,5 +4,5 @@ include/jwt.h lib/libjwt.a lib/libjwt.so lib/libjwt.so.2 -lib/libjwt.so.2.10.2 +lib/libjwt.so.2.10.6 libdata/pkgconfig/libjwt.pc