diff options
author | Mingli Yu <mingli.yu@windriver.com> | 2023-10-08 14:36:57 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2023-11-08 07:09:20 -0500 |
commit | 9769990db3ca6dae405049b632966cd6e08a8ada (patch) | |
tree | c392261a2f708ab55fc281299bc4baa6632af67c | |
parent | ad7dd6cc443d1ca130a1071e87142e9ae840f82d (diff) | |
download | meta-security-9769990db3ca6dae405049b632966cd6e08a8ada.tar.gz |
samhain: remove the buildpath
Fixes:
WARNING: samhain-server-4.4.10-r0 do_package_qa: QA Issue: File /var/lib/samhain/samhain-install.sh in package samhain-server contains reference to TMPDIR [buildpaths]
WARNING: samhain-server-4.4.10-r0 do_package_qa: QA Issue: File /usr/share/doc/samhain-server/scripts/samhain.ebuild-light in package samhain-server-doc contains reference to TMPDIR
File /usr/share/doc/samhain-server/scripts/samhain.ebuild in package samhain-server-doc contains reference to TMPDIR [buildpaths]
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | recipes-ids/samhain/samhain.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-ids/samhain/samhain.inc b/recipes-ids/samhain/samhain.inc index 2788bc3..f5bea1d 100644 --- a/recipes-ids/samhain/samhain.inc +++ b/recipes-ids/samhain/samhain.inc | |||
@@ -59,6 +59,7 @@ PACKAGECONFIG[acl] = " --enable-posix-acl , --disable-posix-acl, acl" | |||
59 | PACKAGECONFIG[audit] = "ac_cv_header_auparse_h=yes,ac_cv_header_auparse_h=no,audit" | 59 | PACKAGECONFIG[audit] = "ac_cv_header_auparse_h=yes,ac_cv_header_auparse_h=no,audit" |
60 | PACKAGECONFIG[ps] = "--with-ps-path=${base_bindir}/ps,,,procps" | 60 | PACKAGECONFIG[ps] = "--with-ps-path=${base_bindir}/ps,,,procps" |
61 | 61 | ||
62 | EXTRA_OECONF += "INSTALL='install -p'" | ||
62 | EXTRA_OEMAKE:append:aarch64 = " CPPFLAGS+=-DCONFIG_ARCH_AARCH64=1" | 63 | EXTRA_OEMAKE:append:aarch64 = " CPPFLAGS+=-DCONFIG_ARCH_AARCH64=1" |
63 | EXTRA_OEMAKE:append:mips64 = " CPPFLAGS+=-DCONFIG_ARCH_MIPS64=1" | 64 | EXTRA_OEMAKE:append:mips64 = " CPPFLAGS+=-DCONFIG_ARCH_MIPS64=1" |
64 | 65 | ||
@@ -89,6 +90,9 @@ ssp_cv_lib=no | |||
89 | sh_cv_va_copy=yes | 90 | sh_cv_va_copy=yes |
90 | EOF | 91 | EOF |
91 | export CONFIG_SITE=${S}/config-site.${BP} | 92 | export CONFIG_SITE=${S}/config-site.${BP} |
93 | # remove the buildpath | ||
94 | sed -i -e 's;mydefarg;mydefargholder;g' ${S}/scripts/samhain.ebuild.in | ||
95 | sed -i -e 's;mydefarg;mydefargholder;g' ${S}/scripts/samhain.ebuild-light.in | ||
92 | } | 96 | } |
93 | 97 | ||
94 | do_configure () { | 98 | do_configure () { |