From nobody Thu Jun 06 19:07:48 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 4VwDP13Glbz5LQ5S; Thu, 06 Jun 2024 19:07:49 +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 4VwDP10ydXz4bSs; Thu, 6 Jun 2024 19:07:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717700869; 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=zbRrZJHBIQ24iIpP3ApoV4WlJfRlZxsrQpf/e5JzTR4=; b=RFrG+yTlzkHpNduDrog131JZIAf9hEv68E86psavEOw4WZFts3KvRkVU2ju+NzKYGHMmDW uZPtSVJnKN5jlZEQfcIdtQDm/RXPLtYyu3hKl3kH4kk9gLKaWV/DgKFXQpwMPVgvDBjkuN jTqFqFIYLtnov3eTBurI0K2pYn5Cy8dei/VvcIGz+XTZ5ZZ9ZaMMgwKo6sS4JrFaWr4UUB 49jyX3sj//gMaIknY7oGDj5eDlm50o/gcubAd6OchdvJfxxU772uEyxZqCUc74/pCgOmOW 3m36IOGapXX+HNKku6jOQTD8Y0LOAuP3Ybqq3geMgLDHSVRdoUrEU2Z75bEMxA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717700869; a=rsa-sha256; cv=none; b=ZMYe294k2jPzBa9352a+EFvXgCpM4shw1PZZem5XCGbHy9pCUIJ9d1sdWARC/L8Y52zgmf ht5WwMdXN2NMYkpF21rhq1RAIUAE9EAbMUx3Wu8vrYcnrKxRX/PuKp2ZprOp1dOoKVUuOR UzEQWyUgxQY8RfWS0XTmLsbyR8B2eedWkuI23kCO8mGc+Pmk4aKHU9cXOUuj7oFvwS/UFz nhqmzd4mWnbynAG16Z4/4CtiBu8GtP9mSTbIn1Xok/eYdL+jdiNToAU3To7UHXQNQFrRTD 175yWgsMlpyH1xL0F58oSJBnaWec6GxQihBUVgXHhuR4b/jSqNCJ7htBsXkB2A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717700869; 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=zbRrZJHBIQ24iIpP3ApoV4WlJfRlZxsrQpf/e5JzTR4=; b=n+QNnwlDjXd+6welellNTzz25U2JzMTPEA1pqmvBTKN5DsVoZyYF0yezSXJ74yShpahfoj qH6zWk/zMZ+gkMHlTXnFBonK00nqli8zKEG7fwdJFBNtz5fbzUP3YB2XpYAuLevSgDHYYt KmiEKmEz+LqNIi8AlbZWo133JiNx9CkZrnfjURWoO8e7r7Vzs9twZrFWJofmNOrPr0znm/ uYVHAQ+YRlz3KXeCtyMz+cVyTZ9zUaO5EpeEWDT720mk62onTtC/CGYgN70vntWqqCJ7pi ARrBeAsbsoPlK9/IMVdCKxuKdTklSWxOW/zgEDuuPNYCCbZWh056orvFob6VdA== 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 4VwDP105Zmzy1j; Thu, 6 Jun 2024 19:07:49 +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 456J7mq4076926; Thu, 6 Jun 2024 19:07:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 456J7m11076923; Thu, 6 Jun 2024 19:07:48 GMT (envelope-from git) Date: Thu, 6 Jun 2024 19:07:48 GMT Message-Id: <202406061907.456J7m11076923@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: e670e294551e - main - www/libnghttp3: Improve port 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: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e670e294551e70e244f06997d37957680e955fb5 Auto-Submitted: auto-generated The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=e670e294551e70e244f06997d37957680e955fb5 commit e670e294551e70e244f06997d37957680e955fb5 Author: Daniel Engberg AuthorDate: 2024-06-05 19:54:00 +0000 Commit: Daniel Engberg CommitDate: 2024-06-06 19:05:47 +0000 www/libnghttp3: Improve port * Switch to CMake for faster builds * Remove C++ requirements, we don't build anything that's written in C++ * Rearrange Makefile to follow Porters Handbook more closely and for readability * Enable "make test" PR: 274761 Approved by: portmgr (maintainer timeout, 3+ weeks) --- www/libnghttp3/Makefile | 16 ++++++++-------- www/libnghttp3/distinfo | 2 +- www/libnghttp3/files/patch-Makefile.in | 14 -------------- 3 files changed, 9 insertions(+), 23 deletions(-) diff --git a/www/libnghttp3/Makefile b/www/libnghttp3/Makefile index ec31e881245a..01f1413e7b23 100644 --- a/www/libnghttp3/Makefile +++ b/www/libnghttp3/Makefile @@ -1,7 +1,8 @@ PORTNAME= nghttp3 -PORTVERSION= 1.3.0 +DISTVERSION= 1.3.0 +PORTREVISION= 1 CATEGORIES= www net -MASTER_SITES= https://github.com/ngtcp2/nghttp3/releases/download/v${PORTVERSION}/ +MASTER_SITES= https://github.com/ngtcp2/${PORTNAME}/releases/download/v${DISTVERSION}/ PKGNAMEPREFIX= lib MAINTAINER= sunpoet@FreeBSD.org @@ -12,12 +13,11 @@ WWW= https://nghttp2.org/nghttp3/ \ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING -USES= compiler:c++17-lang libtool pathfix pkgconfig tar:xz - -CONFIGURE_ARGS= --enable-lib-only -GNU_CONFIGURE= yes -INSTALL_TARGET= install-strip -USE_CXXSTD= c++17 +USES= cmake pathfix tar:xz USE_LDCONFIG= yes +TEST_TARGET= check + +CMAKE_ON= ENABLE_LIB_ONLY + .include diff --git a/www/libnghttp3/distinfo b/www/libnghttp3/distinfo index 04b98100afcc..406d4110dd19 100644 --- a/www/libnghttp3/distinfo +++ b/www/libnghttp3/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1715842554 +TIMESTAMP = 1715403946 SHA256 (nghttp3-1.3.0.tar.xz) = 450525981d302f23832b18edd1a62cf58019392ca6402408d0eb1a7f3fd92ecf SIZE (nghttp3-1.3.0.tar.xz) = 390176 diff --git a/www/libnghttp3/files/patch-Makefile.in b/www/libnghttp3/files/patch-Makefile.in deleted file mode 100644 index 130c25e3faba..000000000000 --- a/www/libnghttp3/files/patch-Makefile.in +++ /dev/null @@ -1,14 +0,0 @@ ---- Makefile.in.orig 2022-01-22 09:12:33 UTC -+++ Makefile.in -@@ -404,9 +404,9 @@ top_srcdir = @top_srcdir@ - # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION - # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION - # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --SUBDIRS = lib tests doc examples -+SUBDIRS = lib - ACLOCAL_AMFLAGS = -I m4 --dist_doc_DATA = README.rst -+dist_doc_DATA = - EXTRA_DIST = \ - cmakeconfig.h.in \ - CMakeLists.txt \