Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2026 08:19:47 +0000
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bc09bbf79464 - main - www/cpp-httplib: update 0.30.2=?utf-8?Q? =E2=86=92 0.3?=1.0
Message-ID:  <698aea23.40334.659b85bb@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bc09bbf79464102d03d6f321556539f2c541d537

commit bc09bbf79464102d03d6f321556539f2c541d537
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-02-10 03:52:38 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-02-10 08:19:33 +0000

    www/cpp-httplib: update 0.30.2 → 0.31.0
    
    Reported by:    portscout
---
 www/cpp-httplib/Makefile                  |  9 +++++----
 www/cpp-httplib/distinfo                  |  6 +++---
 www/cpp-httplib/files/patch-test_Makefile | 29 ++++++++++++++---------------
 3 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/www/cpp-httplib/Makefile b/www/cpp-httplib/Makefile
index afa37deeeb24..cd8a0db16421 100644
--- a/www/cpp-httplib/Makefile
+++ b/www/cpp-httplib/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	cpp-httplib
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.30.2
+DISTVERSION=	0.31.0
 CATEGORIES=	www devel
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -47,9 +47,10 @@ SSL_CMAKE_BOOL=		HTTPLIB_REQUIRE_OPENSSL HTTPLIB_USE_OPENSSL_IF_AVAILABLE
 do-test:
 	@cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} ${GMAKE} CXXFLAGS="${CXXFLAGS} -I${WRKSRC}/test" LDFLAGS="${LDFLAGS}"
 
-# tests as of 0.30.0:
+# tests as of 0.31.0:
 # [----------] Global test environment tear-down
-# [==========] 542 tests from 117 test suites ran. (203930 ms total)
-# [  PASSED  ] 542 tests.
+# [==========] 567 tests from 125 test suites ran. (254378 ms total)
+# [  PASSED  ] 567 tests.
+
 
 .include <bsd.port.mk>
diff --git a/www/cpp-httplib/distinfo b/www/cpp-httplib/distinfo
index 5e0efe9240c9..216bb1e1ba57 100644
--- a/www/cpp-httplib/distinfo
+++ b/www/cpp-httplib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1770014784
-SHA256 (yhirose-cpp-httplib-v0.30.2_GH0.tar.gz) = 35fb1bc4cc688d81ca2e5a97e472b407bc57aeb5c3469a4260070b7c9cf8fc45
-SIZE (yhirose-cpp-httplib-v0.30.2_GH0.tar.gz) = 1351033
+TIMESTAMP = 1770694555
+SHA256 (yhirose-cpp-httplib-v0.31.0_GH0.tar.gz) = 35fd2ea19c1776af013c302e925950fd39a7ea413acb07dbbc2e40a1cd541fb6
+SIZE (yhirose-cpp-httplib-v0.31.0_GH0.tar.gz) = 1379520
diff --git a/www/cpp-httplib/files/patch-test_Makefile b/www/cpp-httplib/files/patch-test_Makefile
index f3e7d7b3699c..c00bc738f36a 100644
--- a/www/cpp-httplib/files/patch-test_Makefile
+++ b/www/cpp-httplib/files/patch-test_Makefile
@@ -1,16 +1,15 @@
---- test/Makefile.orig	2025-07-16 21:59:52 UTC
+--- test/Makefile.orig	2026-02-10 03:44:48 UTC
 +++ test/Makefile
-@@ -27,9 +27,6 @@ ifneq ($(OS), Windows_NT)
- 	ifeq ($(UNAME_S), Darwin)
- 		LIBS += -framework CoreFoundation -framework CFNetwork
+@@ -32,7 +32,7 @@ ifneq ($(OS), Windows_NT)
+ 		# Linux: use system paths
+ 		BROTLI_SUPPORT = -DCPPHTTPLIB_BROTLI_SUPPORT -lbrotlicommon -lbrotlienc -lbrotlidec
+ 		ZSTD_SUPPORT = -DCPPHTTPLIB_ZSTD_SUPPORT -lzstd
+-		LIBS = -lpthread -lcurl -lanl
++		LIBS = -lpthread -lcurl
  	endif
--	ifneq ($(UNAME_S), Darwin)
--		LIBS += -lanl
--	endif
  endif
  
- TEST_ARGS = gtest/src/gtest-all.cc gtest/src/gtest_main.cc -Igtest -Igtest/include $(OPENSSL_SUPPORT) $(ZLIB_SUPPORT) $(BROTLI_SUPPORT) $(ZSTD_SUPPORT) $(LIBS)
-@@ -70,13 +67,13 @@ test : test.cc include_httplib.cc ../httplib.h Makefil
+@@ -95,13 +95,13 @@ test : test.cc include_httplib.cc ../httplib.h Makefil
  	exit $$exit_code
  
  test : test.cc include_httplib.cc ../httplib.h Makefile cert.pem
@@ -24,18 +23,18 @@
 -	$(CXX) -o $@ $(CXXFLAGS) test.cc httplib.cc $(TEST_ARGS)
 +	$(CXX) -o $@ $(CXXFLAGS) test.cc httplib.cc ${LDFLAGS} $(TEST_ARGS)
  
- check_abi:
- 	@./check-shared-library-abi-compatibility.sh
-@@ -104,7 +101,7 @@ test_proxy : test_proxy.cc ../httplib.h Makefile cert.
+ # Mbed TLS backend targets
+ test_mbedtls : test.cc include_httplib.cc ../httplib.h Makefile cert.pem
+@@ -145,7 +145,7 @@ test_proxy : test_proxy.cc ../httplib.h Makefile cert.
  	fi
  
  test_proxy : test_proxy.cc ../httplib.h Makefile cert.pem
 -	$(CXX) -o $@ -I.. $(CXXFLAGS) test_proxy.cc $(TEST_ARGS)
 +	$(CXX) -o $@ -I.. $(CXXFLAGS) test_proxy.cc ${LDFLAGS} $(TEST_ARGS)
  
- # Runs server_fuzzer.cc based on value of $(LIB_FUZZING_ENGINE).
- # Usage: make fuzz_test LIB_FUZZING_ENGINE=/path/to/libFuzzer
-@@ -113,7 +110,7 @@ server_fuzzer : fuzzing/server_fuzzer.cc ../httplib.h 
+ test_proxy_mbedtls : test_proxy.cc ../httplib.h Makefile cert.pem
+ 	$(CXX) -o $@ -I.. $(CXXFLAGS) test_proxy.cc $(TEST_ARGS_MBEDTLS)
+@@ -157,7 +157,7 @@ server_fuzzer : fuzzing/server_fuzzer.cc ../httplib.h 
  
  # Fuzz target, so that you can choose which $(LIB_FUZZING_ENGINE) to use.
  server_fuzzer : fuzzing/server_fuzzer.cc ../httplib.h standalone_fuzz_target_runner.o


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?698aea23.40334.659b85bb>