git: 5068e4ea4488 - main - sysutils/fluent-bit: update to 2.0.10

From: Palle Girgensohn <girgen_at_FreeBSD.org>
Date: Mon, 20 Mar 2023 14:56:05 UTC
The branch main has been updated by girgen:

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

commit 5068e4ea4488707edf5c7c2c011b4da3dd9e3426
Author:     Palle Girgensohn <girgen@FreeBSD.org>
AuthorDate: 2023-03-20 14:53:40 +0000
Commit:     Palle Girgensohn <girgen@FreeBSD.org>
CommitDate: 2023-03-20 14:54:46 +0000

    sysutils/fluent-bit: update to 2.0.10
    
    Release notes:  https://fluentbit.io/announcements/v2.0.10/
---
 sysutils/fluent-bit/Makefile                                |  2 +-
 sysutils/fluent-bit/distinfo                                |  6 +++---
 sysutils/fluent-bit/files/nono-patch-cmake__headers.cmake   | 13 +++++++++++++
 sysutils/fluent-bit/files/nono-patch-cmake__libraries.cmake | 11 +++++++++++
 4 files changed, 28 insertions(+), 4 deletions(-)

diff --git a/sysutils/fluent-bit/Makefile b/sysutils/fluent-bit/Makefile
index 9ede90a03bdb..db72ad50b9ee 100644
--- a/sysutils/fluent-bit/Makefile
+++ b/sysutils/fluent-bit/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	fluent-bit
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.0.9
+DISTVERSION=	2.0.10
 CATEGORIES=	sysutils
 
 MAINTAINER=	girgen@FreeBSD.org
diff --git a/sysutils/fluent-bit/distinfo b/sysutils/fluent-bit/distinfo
index 9c33dab6b03a..3687c1c1c2b6 100644
--- a/sysutils/fluent-bit/distinfo
+++ b/sysutils/fluent-bit/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1675688824
-SHA256 (fluent-fluent-bit-v2.0.9_GH0.tar.gz) = 393ad4a6ced48c327607653d610ef273843085a17b6e5c8013877abdf31e6945
-SIZE (fluent-fluent-bit-v2.0.9_GH0.tar.gz) = 22404154
+TIMESTAMP = 1679269163
+SHA256 (fluent-fluent-bit-v2.0.10_GH0.tar.gz) = aad5176cb4dcadacacd379ca43160074c6690012d37c4749536ac3b977d50495
+SIZE (fluent-fluent-bit-v2.0.10_GH0.tar.gz) = 22417199
diff --git a/sysutils/fluent-bit/files/nono-patch-cmake__headers.cmake b/sysutils/fluent-bit/files/nono-patch-cmake__headers.cmake
new file mode 100644
index 000000000000..8e769265818e
--- /dev/null
+++ b/sysutils/fluent-bit/files/nono-patch-cmake__headers.cmake
@@ -0,0 +1,13 @@
+--- cmake/headers.cmake.orig	2023-02-07 10:29:14.434376000 +0100
++++ cmake/headers.cmake	2023-02-07 10:29:49.032926000 +0100
+@@ -23,8 +23,8 @@
+   ${CMAKE_CURRENT_BINARY_DIR}/lib/chunkio/include
+ 
+   # LuaJIT
+-  ${FLB_PATH_ROOT_SOURCE}/${FLB_PATH_LIB_LUAJIT}/src
+-  ${CMAKE_CURRENT_BINARY_DIR}/lib/luajit-cmake
++#  ${FLB_PATH_ROOT_SOURCE}/${FLB_PATH_LIB_LUAJIT}/src
++#  ${CMAKE_CURRENT_BINARY_DIR}/lib/luajit-cmake
+ 
+   ${FLB_PATH_ROOT_SOURCE}/${FLB_PATH_LIB_MONKEY}/include
+   ${FLB_PATH_ROOT_SOURCE}/${FLB_PATH_LIB_MONKEY}/include/monkey
diff --git a/sysutils/fluent-bit/files/nono-patch-cmake__libraries.cmake b/sysutils/fluent-bit/files/nono-patch-cmake__libraries.cmake
new file mode 100644
index 000000000000..a8d9032aeabf
--- /dev/null
+++ b/sysutils/fluent-bit/files/nono-patch-cmake__libraries.cmake
@@ -0,0 +1,11 @@
+--- cmake/libraries.cmake.orig	2023-02-07 10:27:13.362305000 +0100
++++ cmake/libraries.cmake	2023-02-07 10:29:06.625482000 +0100
+@@ -9,7 +9,7 @@
+ set(FLB_PATH_LIB_MSGPACK     "lib/msgpack-c")
+ set(FLB_PATH_LIB_AVRO        "lib/avro")
+ set(FLB_PATH_LIB_CHUNKIO     "lib/chunkio")
+-set(FLB_PATH_LIB_LUAJIT      "lib/luajit-3065c9")
++# install from ports: set(FLB_PATH_LIB_LUAJIT      "lib/luajit-3065c9")
+ set(FLB_PATH_LIB_MONKEY      "lib/monkey")
+ set(FLB_PATH_LIB_JSMN        "lib/jsmn")
+ set(FLB_PATH_LIB_MBEDTLS     "lib/mbedtls-2.28.0")