From nobody Tue Dec 31 16:00:50 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 4YMyPK1b87z5jf39; Tue, 31 Dec 2024 16:00:53 +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 4YMyPH0Cylz42q2; Tue, 31 Dec 2024 16:00:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735660851; 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=IwzPuZClxA6ZeQuZN7btyKb2wPLURYf/0TwSsEk/ryg=; b=Er57IMf22zKw3S2kK/ytfhiKoetTKCKlR4KHs3nLGbmYv4oAqTe7l0MPT7pe2/+3jukHAw 7Omwfanh1sUi7ssB2RcWmrxgrwjsifMCfZR/VGiv4XzD3damMpDNB0H22DyLCW/UAGPWPU vK7FX6zZUC5078NMK+kPZJA0fi9Nb2Ja9QaL6VPIvDfiB5PYH97FER7Pj0TULci1DzFxSF HzNoqs72jLKBQQkWC8QKUujpmWQbNTKRFciPmU48NrlXgtO+DRmO816F12d1D0HlmueNIL 3y7XNzVIX6xK+18Zej1e2EsAdau/SWTU2RFQ0t6nXfqhYayrM68Leuwy2vKP1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735660851; 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=IwzPuZClxA6ZeQuZN7btyKb2wPLURYf/0TwSsEk/ryg=; b=R+fvyXNATJfpt03A3LDno/n/Jk3XxMiYeC5SkqZFaWAr8DyayqNgTh/RnLrYUjnwiTcbiO O9wA6z9m0jLpk1s3GQ8uvZS9kP+fehpH8Ud2hhfu9yyyX6bjUfK2Oa9FKkgy6eUJSdPRTu WmWrcNeucY/Tx5aYsICKKfRCqzDo5xE1gCpe6VFP6OHK2QZ1+rSuOrEITs1VmqvY4POJQK eKpGIbwu4yKzeMXmJ/tx22vEDHBILj+opU5EMBacVbhTsUKCN9OaHYJzqn3MOd3+Fue/Ql iRaIw36s0PtVT54DDVNWaaFCue994GG+jpWw/31JSWMhkIaUnluUNbj6ni/oYQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735660851; a=rsa-sha256; cv=none; b=PbUD+C7nKKyZQ6KlxDXyvjzRGoFKAaWRgw1yUvIm5XUPXPu8q3IUqFcIk9f/9dsDYqCe44 aSW76BX2Idrye7gksCYvSpvXmEvAb5yW9smYqVm+/KoTvjBQGDHoSgU6deyMLFF5dItGp9 oX9sZLyBZxL/rdU9rOBGGGwrFiaEJTPBxN0yQ54U1/KmJV6E9q83nj4bTrcofz7BbDk1jL lfbLqM71m+ybu0zdqkzUfe9LSE9BUJDAqBWzYiy3RMoAJRlTbUul26c2Cn1uCW+/IlqdFf n76J5NDFMSZDU97HpZyDlA21RpqhzrNhxH1syMz6MXoBObFLmWew1PfM0iIo2w== 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 4YMyPG5sPkzmP0; Tue, 31 Dec 2024 16:00:50 +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 4BVG0o9x082469; Tue, 31 Dec 2024 16:00:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BVG0oVr082466; Tue, 31 Dec 2024 16:00:50 GMT (envelope-from git) Date: Tue, 31 Dec 2024 16:00:50 GMT Message-Id: <202412311600.4BVG0oVr082466@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: 983e31f6e844 - main - www/libjwt: Update to 2.1.1 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: 983e31f6e844833c5d1b3c9dfecc011a530d753c Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=983e31f6e844833c5d1b3c9dfecc011a530d753c commit 983e31f6e844833c5d1b3c9dfecc011a530d753c Author: Po-Chuan Hsieh AuthorDate: 2024-12-31 15:47:22 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-12-31 15:47:22 +0000 www/libjwt: Update to 2.1.1 - Add GNUTLS option Changes: https://github.com/benmcollins/libjwt/releases --- www/libjwt/Makefile | 17 ++++++++++++++++- www/libjwt/distinfo | 6 +++--- www/libjwt/files/patch-openssl | 13 ------------- www/libjwt/pkg-plist | 2 +- 4 files changed, 20 insertions(+), 18 deletions(-) diff --git a/www/libjwt/Makefile b/www/libjwt/Makefile index e0d6a9036bde..3a84bf3cc48e 100644 --- a/www/libjwt/Makefile +++ b/www/libjwt/Makefile @@ -1,5 +1,5 @@ PORTNAME= libjwt -PORTVERSION= 1.18.3 +PORTVERSION= 2.1.1 CATEGORIES= www MASTER_SITES= https://github.com/benmcollins/libjwt/releases/download/v${PORTVERSION}/ @@ -16,6 +16,16 @@ TEST_DEPENDS= check>=0.9.4:devel/check USES= gmake libtool pathfix pkgconfig ssl tar:bz2 +CONFIGURE_ARGS= --disable-doxygen-chi \ + --disable-doxygen-chm \ + --disable-doxygen-doc \ + --disable-doxygen-dot \ + --disable-doxygen-html \ + --disable-doxygen-man \ + --disable-doxygen-pdf \ + --disable-doxygen-ps \ + --disable-doxygen-rtf \ + --disable-doxygen-xml CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" GNU_CONFIGURE= yes @@ -24,4 +34,9 @@ TEST_ARGS= CFLAGS+=-I${LOCALBASE}/include LIBS+="-L${LOCALBASE}/lib -lcheck" TEST_TARGET= check USE_LDCONFIG= yes +OPTIONS_DEFINE= GNUTLS + +GNUTLS_CONFIGURE_WITH= gnutls +GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls + .include diff --git a/www/libjwt/distinfo b/www/libjwt/distinfo index 29700c5afc09..edfdc197114c 100644 --- a/www/libjwt/distinfo +++ b/www/libjwt/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1734888080 -SHA256 (libjwt-1.18.3.tar.bz2) = 7c582667fe3e6751897c8d9c1b4c8c117bbfa9067d8398524adb5dded671213e -SIZE (libjwt-1.18.3.tar.bz2) = 418553 +TIMESTAMP = 1735227808 +SHA256 (libjwt-2.1.1.tar.bz2) = e50e7d88a5a6f04e3dbaffca5218869b7a14a26d8ecc9c791df858a1442a04d7 +SIZE (libjwt-2.1.1.tar.bz2) = 424656 diff --git a/www/libjwt/files/patch-openssl b/www/libjwt/files/patch-openssl deleted file mode 100644 index 13d65a112c7d..000000000000 --- a/www/libjwt/files/patch-openssl +++ /dev/null @@ -1,13 +0,0 @@ ---- 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 08f3b58b8b17..7e170208be0c 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.6 +lib/libjwt.so.2.11.2 libdata/pkgconfig/libjwt.pc