diff options
| -rw-r--r-- | meta-oe/recipes-extended/fluentbit/fluentbit/0001-lib-Do-not-use-private-makefile-targets-in-CMakelist.patch | 14 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/fluentbit/fluentbit/0002-flb_info.h.in-Do-not-hardcode-compilation-directorie.patch | 8 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/fluentbit/fluentbit/0003-CMakeLists.txt-Revise-init-manager-deduction.patch | 8 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/fluentbit/fluentbit/0004-chunkio-Link-with-fts-library-with-musl.patch | 7 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/fluentbit/fluentbit/0005-Use-posix-strerror_r-with-musl.patch | 31 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/fluentbit/fluentbit_4.2.0.bb (renamed from meta-oe/recipes-extended/fluentbit/fluentbit_4.0.1.bb) | 3 |
6 files changed, 26 insertions, 45 deletions
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/0001-lib-Do-not-use-private-makefile-targets-in-CMakelist.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0001-lib-Do-not-use-private-makefile-targets-in-CMakelist.patch index 32f4fdec51..1756d74560 100644 --- a/meta-oe/recipes-extended/fluentbit/fluentbit/0001-lib-Do-not-use-private-makefile-targets-in-CMakelist.patch +++ b/meta-oe/recipes-extended/fluentbit/fluentbit/0001-lib-Do-not-use-private-makefile-targets-in-CMakelist.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 7e6295f14ea057562a235fbf6762d867e739a181 Mon Sep 17 00:00:00 2001 | 1 | From 4b47a8f0e3d1d429356cdda8efa7682ab88d344a Mon Sep 17 00:00:00 2001 |
| 2 | From: Niko Mauno <niko.mauno@vaisala.com> | 2 | From: Niko Mauno <niko.mauno@vaisala.com> |
| 3 | Date: Sun, 29 Sep 2024 12:00:00 +0000 | 3 | Date: Sun, 29 Sep 2024 12:00:00 +0000 |
| 4 | Subject: [PATCH] lib: Do not use private makefile targets in CMakelists.txt | 4 | Subject: [PATCH] lib: Do not use private makefile targets in CMakelists.txt |
| @@ -28,6 +28,8 @@ Upstream-Status: Submitted [https://github.com/fluent/fluent-bit/pull/9450] | |||
| 28 | lib/monkey/CMakeLists.txt | 4 +--- | 28 | lib/monkey/CMakeLists.txt | 4 +--- |
| 29 | 4 files changed, 7 insertions(+), 21 deletions(-) | 29 | 4 files changed, 7 insertions(+), 21 deletions(-) |
| 30 | 30 | ||
| 31 | diff --git a/lib/cfl/CMakeLists.txt b/lib/cfl/CMakeLists.txt | ||
| 32 | index 489570026..06d99cbbe 100644 | ||
| 31 | --- a/lib/cfl/CMakeLists.txt | 33 | --- a/lib/cfl/CMakeLists.txt |
| 32 | +++ b/lib/cfl/CMakeLists.txt | 34 | +++ b/lib/cfl/CMakeLists.txt |
| 33 | @@ -40,12 +40,8 @@ if(NOT MSVC) | 35 | @@ -40,12 +40,8 @@ if(NOT MSVC) |
| @@ -45,6 +47,8 @@ Upstream-Status: Submitted [https://github.com/fluent/fluent-bit/pull/9450] | |||
| 45 | 47 | ||
| 46 | 48 | ||
| 47 | 49 | ||
| 50 | diff --git a/lib/cmetrics/CMakeLists.txt b/lib/cmetrics/CMakeLists.txt | ||
| 51 | index 5421f8c80..0dcf7645c 100644 | ||
| 48 | --- a/lib/cmetrics/CMakeLists.txt | 52 | --- a/lib/cmetrics/CMakeLists.txt |
| 49 | +++ b/lib/cmetrics/CMakeLists.txt | 53 | +++ b/lib/cmetrics/CMakeLists.txt |
| 50 | @@ -60,12 +60,8 @@ if(NOT MSVC) | 54 | @@ -60,12 +60,8 @@ if(NOT MSVC) |
| @@ -61,11 +65,13 @@ Upstream-Status: Submitted [https://github.com/fluent/fluent-bit/pull/9450] | |||
| 61 | +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__CMT_FILENAME__=__FILE__") | 65 | +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__CMT_FILENAME__=__FILE__") |
| 62 | 66 | ||
| 63 | # Configuration options | 67 | # Configuration options |
| 64 | option(CMT_DEV "Enable development mode" No) | 68 | option(CMT_DEV "Enable development mode" No) |
| 69 | diff --git a/lib/ctraces/CMakeLists.txt b/lib/ctraces/CMakeLists.txt | ||
| 70 | index 73723433d..9f60699d5 100644 | ||
| 65 | --- a/lib/ctraces/CMakeLists.txt | 71 | --- a/lib/ctraces/CMakeLists.txt |
| 66 | +++ b/lib/ctraces/CMakeLists.txt | 72 | +++ b/lib/ctraces/CMakeLists.txt |
| 67 | @@ -30,12 +30,8 @@ set(CTR_VERSION_MINOR 6) | 73 | @@ -30,12 +30,8 @@ set(CTR_VERSION_MINOR 6) |
| 68 | set(CTR_VERSION_PATCH 4) | 74 | set(CTR_VERSION_PATCH 6) |
| 69 | set(CTR_VERSION_STR "${CTR_VERSION_MAJOR}.${CTR_VERSION_MINOR}.${CTR_VERSION_PATCH}") | 75 | set(CTR_VERSION_STR "${CTR_VERSION_MAJOR}.${CTR_VERSION_MINOR}.${CTR_VERSION_PATCH}") |
| 70 | 76 | ||
| 71 | -# Define __FILENAME__ consistently across Operating Systems | 77 | -# Define __FILENAME__ consistently across Operating Systems |
| @@ -79,6 +85,8 @@ Upstream-Status: Submitted [https://github.com/fluent/fluent-bit/pull/9450] | |||
| 79 | 85 | ||
| 80 | # Configuration options | 86 | # Configuration options |
| 81 | option(CTR_DEV "Enable development mode" No) | 87 | option(CTR_DEV "Enable development mode" No) |
| 88 | diff --git a/lib/monkey/CMakeLists.txt b/lib/monkey/CMakeLists.txt | ||
| 89 | index 3fbace595..1c6ad031c 100644 | ||
| 82 | --- a/lib/monkey/CMakeLists.txt | 90 | --- a/lib/monkey/CMakeLists.txt |
| 83 | +++ b/lib/monkey/CMakeLists.txt | 91 | +++ b/lib/monkey/CMakeLists.txt |
| 84 | @@ -15,10 +15,8 @@ include(GNUInstallDirs) | 92 | @@ -15,10 +15,8 @@ include(GNUInstallDirs) |
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/0002-flb_info.h.in-Do-not-hardcode-compilation-directorie.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0002-flb_info.h.in-Do-not-hardcode-compilation-directorie.patch index 025f8729ea..4c6cac0cbd 100644 --- a/meta-oe/recipes-extended/fluentbit/fluentbit/0002-flb_info.h.in-Do-not-hardcode-compilation-directorie.patch +++ b/meta-oe/recipes-extended/fluentbit/fluentbit/0002-flb_info.h.in-Do-not-hardcode-compilation-directorie.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From c8c9dd3aeb49ab2ec94c3ab081e2368736a5da20 Mon Sep 17 00:00:00 2001 | 1 | From 596a53c35166e6cc5c20fb1d28bb5c92a248f695 Mon Sep 17 00:00:00 2001 |
| 2 | From: Paulo Neves <ptsneves@gmail.com> | 2 | From: Paulo Neves <ptsneves@gmail.com> |
| 3 | Date: Thu, 28 Jul 2022 11:42:31 +0200 | 3 | Date: Thu, 28 Jul 2022 11:42:31 +0200 |
| 4 | Subject: [PATCH] flb_info.h.in: Do not hardcode compilation directories | 4 | Subject: [PATCH] flb_info.h.in: Do not hardcode compilation directories |
| @@ -7,12 +7,14 @@ Including the source dir in the header makes the header not | |||
| 7 | reproducible and contaminates it with host builder paths. Instead | 7 | reproducible and contaminates it with host builder paths. Instead |
| 8 | make it take CMAKE_DEBUG_SRCDIR that can be set to a known | 8 | make it take CMAKE_DEBUG_SRCDIR that can be set to a known |
| 9 | reproducible value | 9 | reproducible value |
| 10 | --- | ||
| 11 | Upstream-Status: Pending | ||
| 12 | 10 | ||
| 11 | Upstream-Status: Pending | ||
| 12 | --- | ||
| 13 | include/fluent-bit/flb_info.h.in | 2 +- | 13 | include/fluent-bit/flb_info.h.in | 2 +- |
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) | 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 15 | 15 | ||
| 16 | diff --git a/include/fluent-bit/flb_info.h.in b/include/fluent-bit/flb_info.h.in | ||
| 17 | index 3a08f8051..aa6a48f29 100644 | ||
| 16 | --- a/include/fluent-bit/flb_info.h.in | 18 | --- a/include/fluent-bit/flb_info.h.in |
| 17 | +++ b/include/fluent-bit/flb_info.h.in | 19 | +++ b/include/fluent-bit/flb_info.h.in |
| 18 | @@ -23,7 +23,7 @@ | 20 | @@ -23,7 +23,7 @@ |
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/0003-CMakeLists.txt-Revise-init-manager-deduction.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0003-CMakeLists.txt-Revise-init-manager-deduction.patch index 909d1be28d..6bd4c6bbb6 100644 --- a/meta-oe/recipes-extended/fluentbit/fluentbit/0003-CMakeLists.txt-Revise-init-manager-deduction.patch +++ b/meta-oe/recipes-extended/fluentbit/fluentbit/0003-CMakeLists.txt-Revise-init-manager-deduction.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From bf4e832544e8aa5866ef57859f95b71bd8811154 Mon Sep 17 00:00:00 2001 | 1 | From 5cc79bdede89e75d713e23cf0fde26634320bc3e Mon Sep 17 00:00:00 2001 |
| 2 | From: Niko Mauno <niko.mauno@vaisala.com> | 2 | From: Niko Mauno <niko.mauno@vaisala.com> |
| 3 | Date: Mon, 21 Oct 2024 16:02:46 +0000 | 3 | Date: Mon, 21 Oct 2024 16:02:46 +0000 |
| 4 | Subject: [PATCH] CMakeLists.txt: Revise init manager deduction | 4 | Subject: [PATCH] CMakeLists.txt: Revise init manager deduction |
| @@ -14,9 +14,11 @@ Upstream-Status: Inappropriate [configuration] | |||
| 14 | src/CMakeLists.txt | 4 ++-- | 14 | src/CMakeLists.txt | 4 ++-- |
| 15 | 1 file changed, 2 insertions(+), 2 deletions(-) | 15 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 16 | 16 | ||
| 17 | diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt | ||
| 18 | index ac5fe5ef8..f47a01b82 100644 | ||
| 17 | --- a/src/CMakeLists.txt | 19 | --- a/src/CMakeLists.txt |
| 18 | +++ b/src/CMakeLists.txt | 20 | +++ b/src/CMakeLists.txt |
| 19 | @@ -569,7 +569,7 @@ if(FLB_BINARY) | 21 | @@ -600,7 +600,7 @@ if(FLB_BINARY) |
| 20 | set(SYSTEMD_UNITDIR /lib/systemd/system) | 22 | set(SYSTEMD_UNITDIR /lib/systemd/system) |
| 21 | endif() | 23 | endif() |
| 22 | 24 | ||
| @@ -25,7 +27,7 @@ Upstream-Status: Inappropriate [configuration] | |||
| 25 | if (FLB_AMAZON_LINUX2) | 27 | if (FLB_AMAZON_LINUX2) |
| 26 | set(FLB_SYSTEMD_SCRIPT "${PROJECT_SOURCE_DIR}/init/${FLB_OUT_NAME}.service") | 28 | set(FLB_SYSTEMD_SCRIPT "${PROJECT_SOURCE_DIR}/init/${FLB_OUT_NAME}.service") |
| 27 | configure_file( | 29 | configure_file( |
| 28 | @@ -594,7 +594,7 @@ if(FLB_BINARY) | 30 | @@ -625,7 +625,7 @@ if(FLB_BINARY) |
| 29 | install(FILES ${FLB_SYSTEMD_SCRIPT} COMPONENT binary DESTINATION ${SYSTEMD_UNITDIR}) | 31 | install(FILES ${FLB_SYSTEMD_SCRIPT} COMPONENT binary DESTINATION ${SYSTEMD_UNITDIR}) |
| 30 | install(DIRECTORY DESTINATION ${FLB_INSTALL_CONFDIR} COMPONENT binary) | 32 | install(DIRECTORY DESTINATION ${FLB_INSTALL_CONFDIR} COMPONENT binary) |
| 31 | endif() | 33 | endif() |
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/0004-chunkio-Link-with-fts-library-with-musl.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0004-chunkio-Link-with-fts-library-with-musl.patch index c34a0ba71d..6df53613c3 100644 --- a/meta-oe/recipes-extended/fluentbit/fluentbit/0004-chunkio-Link-with-fts-library-with-musl.patch +++ b/meta-oe/recipes-extended/fluentbit/fluentbit/0004-chunkio-Link-with-fts-library-with-musl.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From a07df56092e529627db0946c025cb4964567280c Mon Sep 17 00:00:00 2001 | 1 | From cc688b91c02df9a45ca8816a1d09649fadb9dc4a Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Wed, 10 Aug 2022 01:27:16 -0700 | 3 | Date: Wed, 10 Aug 2022 01:27:16 -0700 |
| 4 | Subject: [PATCH] chunkio: Link with fts library with musl | 4 | Subject: [PATCH] chunkio: Link with fts library with musl |
| @@ -7,14 +7,15 @@ Fixes | |||
| 7 | cio_utils.c:(.text+0x64): undefined reference to `fts_read' | 7 | cio_utils.c:(.text+0x64): undefined reference to `fts_read' |
| 8 | 8 | ||
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 10 | --- | 10 | |
| 11 | Upstream-Status: Pending | 11 | Upstream-Status: Pending |
| 12 | --- | ||
| 12 | 13 | ||
| 13 | lib/chunkio/src/CMakeLists.txt | 1 + | 14 | lib/chunkio/src/CMakeLists.txt | 1 + |
| 14 | 1 file changed, 1 insertion(+) | 15 | 1 file changed, 1 insertion(+) |
| 15 | 16 | ||
| 16 | diff --git a/lib/chunkio/src/CMakeLists.txt b/lib/chunkio/src/CMakeLists.txt | 17 | diff --git a/lib/chunkio/src/CMakeLists.txt b/lib/chunkio/src/CMakeLists.txt |
| 17 | index bb52273d4..524500919 100644 | 18 | index 3590143fd..b43f08928 100644 |
| 18 | --- a/lib/chunkio/src/CMakeLists.txt | 19 | --- a/lib/chunkio/src/CMakeLists.txt |
| 19 | +++ b/lib/chunkio/src/CMakeLists.txt | 20 | +++ b/lib/chunkio/src/CMakeLists.txt |
| 20 | @@ -14,6 +14,7 @@ set(src | 21 | @@ -14,6 +14,7 @@ set(src |
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/0005-Use-posix-strerror_r-with-musl.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0005-Use-posix-strerror_r-with-musl.patch deleted file mode 100644 index 281bf66fb9..0000000000 --- a/meta-oe/recipes-extended/fluentbit/fluentbit/0005-Use-posix-strerror_r-with-musl.patch +++ /dev/null | |||
| @@ -1,31 +0,0 @@ | |||
| 1 | From 0c4310483875509f464883fa345f54e0d3ae25a5 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Wed, 10 Aug 2022 01:23:48 -0700 | ||
| 4 | Subject: [PATCH] Use posix strerror_r with musl | ||
| 5 | |||
| 6 | Default with glibc is GNU extention of strerror_r | ||
| 7 | where as musl uses posix variant, call that out | ||
| 8 | |||
| 9 | Upstream-Status: Inappropriate [Need wider porting beyond linux/musl/glibc] | ||
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 11 | |||
| 12 | Resolved conflicts while upgrading recipe from v1.9.9 to v3.1.9. | ||
| 13 | |||
| 14 | Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> | ||
| 15 | --- | ||
| 16 | src/flb_network.c | 2 +- | ||
| 17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 18 | |||
| 19 | diff --git a/src/flb_network.c b/src/flb_network.c | ||
| 20 | index 8f8ca33f6..dd098a2ea 100644 | ||
| 21 | --- a/src/flb_network.c | ||
| 22 | +++ b/src/flb_network.c | ||
| 23 | @@ -605,7 +605,7 @@ static int net_connect_async(int fd, | ||
| 24 | /* Connection is broken, not much to do here */ | ||
| 25 | #if ((defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200112L) || \ | ||
| 26 | (defined(_XOPEN_SOURCE) || _XOPEN_SOURCE - 0L >= 600L)) && \ | ||
| 27 | - (!defined(_GNU_SOURCE)) | ||
| 28 | + (!defined(_GNU_SOURCE)) || (!defined(__GLIBC__)) | ||
| 29 | ret = strerror_r(error, so_error_buf, sizeof(so_error_buf)); | ||
| 30 | if (ret == 0) { | ||
| 31 | str = so_error_buf; | ||
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit_4.0.1.bb b/meta-oe/recipes-extended/fluentbit/fluentbit_4.2.0.bb index 05e4fd937f..279486eee3 100644 --- a/meta-oe/recipes-extended/fluentbit/fluentbit_4.0.1.bb +++ b/meta-oe/recipes-extended/fluentbit/fluentbit_4.2.0.bb | |||
| @@ -17,7 +17,7 @@ DEPENDS = "\ | |||
| 17 | " | 17 | " |
| 18 | DEPENDS:append:libc-musl = " fts" | 18 | DEPENDS:append:libc-musl = " fts" |
| 19 | 19 | ||
| 20 | SRCREV = "b12e507090273576d1156342780c7c6d358fa579" | 20 | SRCREV = "6bc014390c5485b96521c56b98369b44b9faa08b" |
| 21 | SRC_URI = "\ | 21 | SRC_URI = "\ |
| 22 | git://github.com/fluent/fluent-bit.git;branch=master;protocol=https \ | 22 | git://github.com/fluent/fluent-bit.git;branch=master;protocol=https \ |
| 23 | file://0001-lib-Do-not-use-private-makefile-targets-in-CMakelist.patch \ | 23 | file://0001-lib-Do-not-use-private-makefile-targets-in-CMakelist.patch \ |
| @@ -26,7 +26,6 @@ SRC_URI = "\ | |||
| 26 | " | 26 | " |
| 27 | SRC_URI:append:libc-musl = "\ | 27 | SRC_URI:append:libc-musl = "\ |
| 28 | file://0004-chunkio-Link-with-fts-library-with-musl.patch \ | 28 | file://0004-chunkio-Link-with-fts-library-with-musl.patch \ |
| 29 | file://0005-Use-posix-strerror_r-with-musl.patch \ | ||
| 30 | " | 29 | " |
| 31 | 30 | ||
| 32 | # prefix tag with "v" to avoid upgrade to random tags like "20220215" | 31 | # prefix tag with "v" to avoid upgrade to random tags like "20220215" |
