samhain: remove the buildpath
Ping.
Thanks,
Quoted 45 lines · Mingli
From: Mingli Yu <[email protected]>
Fixes:
WARNING: samhain-server-4.4.10-r0do_package_qa: QA Issue: File/var/lib/samhain/samhain-install.shin package samhain-server contains reference to TMPDIR [buildpaths]
WARNING: samhain-server-4.4.10-r0do_package_qa: QA Issue: File/usr/share/doc/samhain-server/scripts/samhain.ebuild-lightin package samhain-server-doc contains reference to TMPDIR File/usr/share/doc/samhain-server/scripts/samhain.ebuildin package samhain-server-doc contains reference to TMPDIR [buildpaths]Signed-off-by Mingli Yu <[email protected]>--- recipes-ids/samhain/samhain.inc | 4 ++++ 1 file changed, 4 insertions(+)recipes-ids/samhain/samhain.inc +4
-1@@ -59,6 +59,7 @@ PACKAGECONFIG[acl] = " --enable-posix-acl , --disable-posix-acl, acl" PACKAGECONFIG[audit] = "ac_cv_header_auparse_h=yes,ac_cv_header_auparse_h=no,audit" PACKAGECONFIG[ps] = "--with-ps-path=${base_bindir}/ps,,,procps" +EXTRA_OECONF += "INSTALL='install -p'" EXTRA_OEMAKE:append:aarch64 = " CPPFLAGS+=-DCONFIG_ARCH_AARCH64=1" EXTRA_OEMAKE:append:mips64 = " CPPFLAGS+=-DCONFIG_ARCH_MIPS64=1"@@ -89,6 +90,9 @@ ssp_cv_lib=no sh_cv_va_copy=yes EOF export CONFIG_SITE=${S}/config-site.${BP} + # remove the buildpath + sed -i -e 's;mydefarg;mydefargholder;g' ${S}/scripts/samhain.ebuild.in + sed -i -e 's;mydefarg;mydefargholder;g' ${S}/scripts/samhain.ebuild-light.in } do_configure () { -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#61277): https://lists.yoctoproject.org/g/yocto/message/61277
Mute This Topic: https://lists.yoctoproject.org/mt/101829267/3618448
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 2 lines · Mingli
Ping.
Its in master and nanbield
https://git.yoctoproject.org/meta-security/commit/?id=9769990db3ca6dae405049b632966cd6e08a8ada
BR,
Armin
Quoted 51 lines
Thanks,
Quoted 26 lines · Mingli
From: Mingli Yu <[email protected]>
Fixes:
WARNING: samhain-server-4.4.10-r0do_package_qa: QA Issue: File/var/lib/samhain/samhain-install.shin package samhain-server contains reference to TMPDIR [buildpaths]
WARNING: samhain-server-4.4.10-r0do_package_qa: QA Issue: File/usr/share/doc/samhain-server/scripts/samhain.ebuild-lightin package samhain-server-doc contains reference to TMPDIR File/usr/share/doc/samhain-server/scripts/samhain.ebuildin package samhain-server-doc contains reference to TMPDIR [buildpaths]Signed-off-by Mingli Yu <[email protected]>---
recipes-ids/samhain/samhain.inc | 4 ++++1 file changed, 4 insertions(+)recipes-ids/samhain/samhain.inc +0
-1@@ -59,6 +59,7 @@ PACKAGECONFIG[acl] = " --enable-posix-acl , --disable-posix-acl, acl"PACKAGECONFIG[audit] = "ac_cv_header_auparse_h=yes,ac_cv_header_auparse_h=no,audit" PACKAGECONFIG[ps] = "--with-ps-path=${base_bindir}/ps,,,procps" +EXTRA_OECONF += "INSTALL='install -p'"
EXTRA_OEMAKE:append:aarch64 = " CPPFLAGS+=-DCONFIG_ARCH_AARCH64=1" EXTRA_OEMAKE:append:mips64 = " CPPFLAGS+=-DCONFIG_ARCH_MIPS64=1"
@@ -89,6 +90,9 @@ ssp_cv_lib=no
sh_cv_va_copy=yes
EOFQuoted 13 lines
export
CONFIG_SITE=${S}/config-site.${BP}
+ # remove the buildpath
+ sed -i -e 's;mydefarg;mydefargholder;g'
${S}/scripts/samhain.ebuild.in
+ sed -i -e 's;mydefarg;mydefargholder;g'
${S}/scripts/samhain.ebuild-light.in
}
do_configure() {-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61642): https://lists.yoctoproject.org/g/yocto/message/61642
Mute This Topic: https://lists.yoctoproject.org/mt/102478928/3616698
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-