diff options
Diffstat (limited to 'meta-oe/recipes-extended/liblognorm')
4 files changed, 55 insertions, 22 deletions
diff --git a/meta-oe/recipes-extended/liblognorm/liblognorm.inc b/meta-oe/recipes-extended/liblognorm/liblognorm.inc deleted file mode 100644 index dc8abb91f1..0000000000 --- a/meta-oe/recipes-extended/liblognorm/liblognorm.inc +++ /dev/null @@ -1,17 +0,0 @@ -SUMMARY = "Fast samples-based log normalization library" -DESCRIPTION = "Briefly described, liblognorm is a tool to normalize log data." - -HOMEPAGE = "http://www.liblognorm.com" -SECTION = "base" - -LICENSE = "LGPL-2.1+" - -SRC_URI = "http://www.liblognorm.com/files/download/${BPN}-${PV}.tar.gz\ -" - -inherit autotools pkgconfig - -DEPENDS += "libee libestr json-c" - -PACKAGECONFIG[debug] = "--enable-debug,--disable-debug,," -PACKAGECONFIG[docs] = "--enable-docs,--disable-docs,sphinx," diff --git a/meta-oe/recipes-extended/liblognorm/liblognorm/0001-Add-asprintf-to-autoconf-function-check-macro.patch b/meta-oe/recipes-extended/liblognorm/liblognorm/0001-Add-asprintf-to-autoconf-function-check-macro.patch new file mode 100644 index 0000000000..abb09bc648 --- /dev/null +++ b/meta-oe/recipes-extended/liblognorm/liblognorm/0001-Add-asprintf-to-autoconf-function-check-macro.patch @@ -0,0 +1,28 @@ +From b8c65236cd6cd68b57004479006c683455680a82 Mon Sep 17 00:00:00 2001 +From: Alfred Wingate <parona@protonmail.com> +Date: Sun, 15 Oct 2023 12:34:52 +0100 +Subject: [PATCH] Add asprintf to autoconf function check macro + +Upstream-Status: Submitted [https://github.com/rsyslog/liblognorm/pull/376] +Signed-off-by: Alfred Wingate <parona@protonmail.com> +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index b6f92f1..b057550 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -55,7 +55,7 @@ AC_TYPE_SIZE_T + AC_FUNC_SELECT_ARGTYPES + AC_TYPE_SIGNAL + AC_FUNC_STRERROR_R +-AC_CHECK_FUNCS([strdup strndup strtok_r]) ++AC_CHECK_FUNCS([asprintf strdup strndup strtok_r]) + + LIBLOGNORM_CFLAGS="-I\$(top_srcdir)/src" + LIBLOGNORM_LIBS="\$(top_builddir)/src/liblognorm.la" +-- +2.43.0 + diff --git a/meta-oe/recipes-extended/liblognorm/liblognorm_1.0.1.bb b/meta-oe/recipes-extended/liblognorm/liblognorm_1.0.1.bb deleted file mode 100644 index 5d89e3540d..0000000000 --- a/meta-oe/recipes-extended/liblognorm/liblognorm_1.0.1.bb +++ /dev/null @@ -1,5 +0,0 @@ -require ${BPN}.inc - -SRC_URI[md5sum] = "7b9a826542af9686127110deab09d7a1" -SRC_URI[sha256sum] = "1f6cdfd901a8f6a97a3cb74bc6107c6746b3e9381f7889e4cd866a488e0c59a5" -LIC_FILES_CHKSUM = "file://COPYING;md5=ca016db57e008528dace002188c73dad" diff --git a/meta-oe/recipes-extended/liblognorm/liblognorm_2.0.6.bb b/meta-oe/recipes-extended/liblognorm/liblognorm_2.0.6.bb new file mode 100644 index 0000000000..0cc128c8c4 --- /dev/null +++ b/meta-oe/recipes-extended/liblognorm/liblognorm_2.0.6.bb @@ -0,0 +1,27 @@ +SUMMARY = "Liblognorm is a fast-samples based normalization library." +DESCRIPTION = "Briefly described, liblognorm is a tool to normalize log data." +HOMEPAGE = "http://www.liblognorm.com" +SECTION = "base" + +LICENSE = "LGPL-2.1-or-later" +LIC_FILES_CHKSUM = "file://COPYING;md5=ca016db57e008528dace002188c73dad" + +DEPENDS = "libfastjson libestr" + +SRC_URI = "git://github.com/rsyslog/liblognorm;branch=master;protocol=https \ + file://0001-Add-asprintf-to-autoconf-function-check-macro.patch \ + " +SRCREV = "46c6ee4c8e5f827893e485a4ef1aff04ea881273" + +S = "${WORKDIR}/git" + +inherit autotools pkgconfig + +PACKAGECONFIG ??= "testbench tools" +PACKAGECONFIG[regexp] = "--enable-regexp,--disable-regexp,pcre2," +PACKAGECONFIG[debug] = "--enable-debug,--disable-debug,," +PACKAGECONFIG[advstats] = "--enable-advanced-stats,--disable-advanced-stats,," +PACKAGECONFIG[docs] = "--enable-docs,--disable-docs,sphinx," +PACKAGECONFIG[testbench] = "--enable-testbench,--disable-testbench,," +PACKAGECONFIG[valgrind] = "--enable-valgrind,--disable-valgrind,," +PACKAGECONFIG[tools] = "--enable-tools,--disable-tools,," |