diff options
| -rw-r--r-- | meta-oe/recipes-support/syslog-ng/files/0001-Fix-buildpaths-warning.patch | 55 | ||||
| -rw-r--r-- | meta-oe/recipes-support/syslog-ng/syslog-ng_4.0.1.bb (renamed from meta-oe/recipes-support/syslog-ng/syslog-ng_3.38.1.bb) | 3 |
2 files changed, 57 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/syslog-ng/files/0001-Fix-buildpaths-warning.patch b/meta-oe/recipes-support/syslog-ng/files/0001-Fix-buildpaths-warning.patch new file mode 100644 index 0000000000..c7bb4a64d9 --- /dev/null +++ b/meta-oe/recipes-support/syslog-ng/files/0001-Fix-buildpaths-warning.patch | |||
| @@ -0,0 +1,55 @@ | |||
| 1 | From d85a7a3ae2bb9f5267b2af43784633ae8f011f21 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Changqing Li <changqing.li@windriver.com> | ||
| 3 | Date: Mon, 13 Mar 2023 09:50:15 +0800 | ||
| 4 | Subject: [PATCH] Fix buildpaths warning | ||
| 5 | |||
| 6 | Fix buildpath warning: | ||
| 7 | WARNING: syslog-ng-4.0.1-r0 do_package_qa: QA Issue: File /usr/include/syslog-ng/syslog-ng-config-64.h in package syslog-ng-dev contains reference to TMPDIR [buildpaths] | ||
| 8 | WARNING: syslog-ng-4.0.1-r0 do_package_qa: QA Issue: File /usr/bin/syslog-ng-update-virtualenv in package syslog-ng contains reference to TMPDIR | ||
| 9 | File /usr/bin/pdbtool in package syslog-ng contains reference to TMPDIR [buildpaths] | ||
| 10 | WARNING: syslog-ng-4.0.1-r0 do_package_qa: QA Issue: File /usr/lib/syslog-ng/libdbparser.so in package syslog-ng-libs contains reference to TMPDIR [buildpaths] | ||
| 11 | |||
| 12 | * SYSLOG_NG_PATH_TOPSRC_DIR is /yocto/build/tmp/work/core2-64-poky-linux/syslog-ng/4.0.1-r0, | ||
| 13 | which is used to get xsd dir in build SYSLOG_NG_PATH_TOPSRC_DIR/doc/xsd, | ||
| 14 | which is not suitable for target, set it to "/source" for fixing this buildpath warning | ||
| 15 | |||
| 16 | * SYSTEM_PYTHON is /yocto/build/tmp/hosttools/python3, set to python3 | ||
| 17 | for target. | ||
| 18 | |||
| 19 | Upstream-Status: Inappropriate [oe specific] | ||
| 20 | |||
| 21 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
| 22 | --- | ||
| 23 | configure.ac | 2 +- | ||
| 24 | scripts/syslog-ng-update-virtualenv.in | 2 +- | ||
| 25 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
| 26 | |||
| 27 | diff --git a/configure.ac b/configure.ac | ||
| 28 | index 79a1502..1ad6508 100644 | ||
| 29 | --- a/configure.ac | ||
| 30 | +++ b/configure.ac | ||
| 31 | @@ -1930,7 +1930,7 @@ AC_DEFINE_UNQUOTED(PYTHON_SYSCONF_MODULE_DIR, "$python_sysconf_moduledir", [Pyth | ||
| 32 | AC_DEFINE_UNQUOTED(PATH_LOGGENPLUGINDIR, "$loggenplugindir", [loggenplugin installation directory]) | ||
| 33 | AC_DEFINE_UNQUOTED(MODULE_PATH, "$module_path", [module search path]) | ||
| 34 | AC_DEFINE_UNQUOTED(JAVA_MODULE_PATH, "$java_module_path", [java module search path]) | ||
| 35 | -AC_DEFINE_UNQUOTED(PATH_TOPSRC_DIR, "$abs_topsrcdir", [self-defined top_srcdir path]) | ||
| 36 | +AC_DEFINE_UNQUOTED(PATH_TOPSRC_DIR, "/source", [self-defined top_srcdir path]) | ||
| 37 | AC_DEFINE_UNQUOTED(PACKAGE_NAME, "$PACKAGE_NAME", [package name]) | ||
| 38 | |||
| 39 | |||
| 40 | diff --git a/scripts/syslog-ng-update-virtualenv.in b/scripts/syslog-ng-update-virtualenv.in | ||
| 41 | index ed85baf..b1a9e34 100755 | ||
| 42 | --- a/scripts/syslog-ng-update-virtualenv.in | ||
| 43 | +++ b/scripts/syslog-ng-update-virtualenv.in | ||
| 44 | @@ -62,7 +62,7 @@ done | ||
| 45 | set -e | ||
| 46 | |||
| 47 | REQUIREMENTS_FILE=${python_moduledir}/requirements.txt | ||
| 48 | -SYSTEM_PYTHON=@PYTHON@ | ||
| 49 | +SYSTEM_PYTHON=python3 | ||
| 50 | VENV_PYTHON=${python_venvdir}/bin/python | ||
| 51 | |||
| 52 | if [ "$display_prompt" -ne 0 ]; then | ||
| 53 | -- | ||
| 54 | 2.25.1 | ||
| 55 | |||
diff --git a/meta-oe/recipes-support/syslog-ng/syslog-ng_3.38.1.bb b/meta-oe/recipes-support/syslog-ng/syslog-ng_4.0.1.bb index 182a253d35..4521593ed7 100644 --- a/meta-oe/recipes-support/syslog-ng/syslog-ng_3.38.1.bb +++ b/meta-oe/recipes-support/syslog-ng/syslog-ng_4.0.1.bb | |||
| @@ -22,10 +22,11 @@ SRC_URI = "https://github.com/balabit/syslog-ng/releases/download/${BP}/${BP}.ta | |||
| 22 | file://volatiles.03_syslog-ng \ | 22 | file://volatiles.03_syslog-ng \ |
| 23 | file://syslog-ng-tmp.conf \ | 23 | file://syslog-ng-tmp.conf \ |
| 24 | file://syslog-ng.service-the-syslog-ng-service.patch \ | 24 | file://syslog-ng.service-the-syslog-ng-service.patch \ |
| 25 | file://0001-Fix-buildpaths-warning.patch \ | ||
| 25 | " | 26 | " |
| 26 | SRC_URI:append:powerpc64le = " file://0001-plugin.c-workaround-powerpc64le-segfaults-error.patch" | 27 | SRC_URI:append:powerpc64le = " file://0001-plugin.c-workaround-powerpc64le-segfaults-error.patch" |
| 27 | 28 | ||
| 28 | SRC_URI[sha256sum] = "5491f686d0b829b69b2e0fc0d66a62f51991aafaee005475bfa38fab399441f7" | 29 | SRC_URI[sha256sum] = "c16eafe447191c079f471846182876b7919d3d789af8c1f9fe55ab14521ceb2c" |
| 29 | 30 | ||
| 30 | UPSTREAM_CHECK_URI = "https://github.com/balabit/syslog-ng/releases" | 31 | UPSTREAM_CHECK_URI = "https://github.com/balabit/syslog-ng/releases" |
| 31 | 32 | ||
