You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ma...@apache.org on 2026/02/18 11:51:24 UTC
(nifi-minifi-cpp) branch main updated (9187c2efd -> 2ac1f1b86)
This is an automated email from the ASF dual-hosted git repository.
martinzink pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git
from 9187c2efd MINIFICPP-2709 Fix site to site receive using HTTP protocol
new 961f352f0 MINIFICPP-2713 curl: upgrade to 8.18.0
new 3b9711e69 MINIFICPP-2720 Overwrite agent_version.cpp instead of appending
new 2ac1f1b86 MINIFICPP-2721 Fix rocky linux docker image name retrieval in CI
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/ci.yml | 2 +-
cmake/BundledLibcURL.cmake | 8 ++++++--
generateVersion.bat | 2 +-
thirdparty/curl/module-path.patch | 17 ++++++++---------
4 files changed, 16 insertions(+), 13 deletions(-)
(nifi-minifi-cpp) 01/03: MINIFICPP-2713 curl: upgrade to 8.18.0
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
martinzink pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git
commit 961f352f0366e7b69d5a97f57baf49e2904f353e
Author: Marton Szasz <sz...@apache.org>
AuthorDate: Wed Feb 18 12:49:34 2026 +0100
MINIFICPP-2713 curl: upgrade to 8.18.0
Closes #2100
Signed-off-by: Martin Zink <ma...@apache.org>
---
cmake/BundledLibcURL.cmake | 8 ++++++--
thirdparty/curl/module-path.patch | 17 ++++++++---------
2 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/cmake/BundledLibcURL.cmake b/cmake/BundledLibcURL.cmake
index ffcdeebc4..fa2b6b565 100644
--- a/cmake/BundledLibcURL.cmake
+++ b/cmake/BundledLibcURL.cmake
@@ -52,6 +52,8 @@ function(use_bundled_curl SOURCE_DIR BINARY_DIR)
-DCURL_USE_LIBPSL=OFF
-DCURL_USE_OPENSSL=ON
-DUSE_NGHTTP2=OFF
+ -DCURL_ZSTD=OFF
+ -DCURL_BROTLI=OFF
)
append_third_party_passthrough_args(CURL_CMAKE_ARGS "${CURL_CMAKE_ARGS}")
@@ -59,8 +61,8 @@ function(use_bundled_curl SOURCE_DIR BINARY_DIR)
# Build project
ExternalProject_Add(
curl-external
- URL "https://github.com/curl/curl/releases/download/curl-8_11_1/curl-8.11.1.tar.gz"
- URL_HASH "SHA256=a889ac9dbba3644271bd9d1302b5c22a088893719b72be3487bc3d401e5c4e80"
+ URL "https://github.com/curl/curl/releases/download/curl-8_18_0/curl-8.18.0.tar.gz"
+ URL_HASH "SHA256=e9274a5f8ab5271c0e0e6762d2fce194d5f98acc568e4ce816845b2dcc0cf88f"
SOURCE_DIR "${BINARY_DIR}/thirdparty/curl-src"
LIST_SEPARATOR % # This is needed for passing semicolon-separated lists
CMAKE_ARGS ${CURL_CMAKE_ARGS}
@@ -98,5 +100,7 @@ function(use_bundled_curl SOURCE_DIR BINARY_DIR)
target_link_libraries(CURL::libcurl INTERFACE "-framework CoreFoundation")
target_link_libraries(CURL::libcurl INTERFACE "-framework SystemConfiguration")
target_link_libraries(CURL::libcurl INTERFACE "-framework CoreServices")
+ elseif (WIN32)
+ target_link_libraries(CURL::libcurl INTERFACE Iphlpapi.lib)
endif()
endfunction(use_bundled_curl SOURCE_DIR BINARY_DIR)
diff --git a/thirdparty/curl/module-path.patch b/thirdparty/curl/module-path.patch
index 90b3a2dbe..f141cc38f 100644
--- a/thirdparty/curl/module-path.patch
+++ b/thirdparty/curl/module-path.patch
@@ -1,12 +1,11 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index a0fe76c24..e12b81b91 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -63,7 +63,7 @@
-
- cmake_minimum_required(VERSION 3.7...3.16 FATAL_ERROR)
-
--set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake;${CMAKE_MODULE_PATH}")
+diff -rupN a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt 2026-01-07 07:57:50.000000000 +0100
++++ b/CMakeLists.txt 2026-02-06 16:52:59.927109936 +0100
+@@ -45,7 +45,7 @@ if(NOT "$ENV{CURL_BUILDINFO}$ENV{CURL_CI
+ endforeach()
+ endif()
+
+-set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake" ${CMAKE_MODULE_PATH})
+list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake")
include(Utilities)
include(Macros)
(nifi-minifi-cpp) 03/03: MINIFICPP-2721 Fix rocky linux docker image name retrieval in CI
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
martinzink pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git
commit 2ac1f1b866432a095e8929ac8c8d6b3858f18ea4
Author: Gabor Gyimesi <ga...@gmail.com>
AuthorDate: Wed Feb 18 12:49:52 2026 +0100
MINIFICPP-2721 Fix rocky linux docker image name retrieval in CI
Docker update in the CI environment changed the `docker images` output format, so we need to update the image name retrieval
Closes #2109
Signed-off-by: Martin Zink <ma...@apache.org>
---
.github/workflows/ci.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 48745d3f5..6fd0ed556 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -411,7 +411,7 @@ jobs:
echo '/cores/core.%e.%p' | sudo tee /proc/sys/kernel/core_pattern
sudo mkdir /cores
sudo chmod 777 /cores
- docker run --name rocky-test --init --ulimit core=-1 --mount type=bind,source=/cores,target=/cores apacheminificpp:$(docker images | grep apacheminificpp | grep rocky | awk '{print $2}') bash -c 'cd /opt/minifi/build && make test ARGS="--timeout 300 -j8 --output-on-failure"'
+ docker run --name rocky-test --init --ulimit core=-1 --mount type=bind,source=/cores,target=/cores $(docker images apacheminificpp --format "{{.Repository}}:{{.Tag}}" | grep rocky | head -n1) bash -c 'cd /opt/minifi/build && make test ARGS="--timeout 300 -j8 --output-on-failure"'
- name: check-cores
if: ${{ failure() && steps.test.conclusion == 'failure' }}
run: |
(nifi-minifi-cpp) 02/03: MINIFICPP-2720 Overwrite agent_version.cpp instead of appending
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
martinzink pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git
commit 3b9711e69dd0d41ebf2443987f681f0f03398004
Author: Ferenc Gerlits <fg...@gmail.com>
AuthorDate: Wed Feb 18 12:49:43 2026 +0100
MINIFICPP-2720 Overwrite agent_version.cpp instead of appending
If you run cmake multiple times, you get an agent_version.cpp file containing multiple copies of these constants, leading to multiple definition errors.
This is a PR containing a (minus) one character change. :)
Closes #2108
Signed-off-by: Martin Zink <ma...@apache.org>
---
generateVersion.bat | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/generateVersion.bat b/generateVersion.bat
index cf9bfb76e..e5ed1753d 100644
--- a/generateVersion.bat
+++ b/generateVersion.bat
@@ -52,7 +52,7 @@ set /a count=0
echo } // namespace org::apache::nifi::minifi
-) >> "%out_dir%/agent_version.cpp"
+) > "%out_dir%/agent_version.cpp"
goto :EOF