summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-security/samhain/samhain.inc17
1 files changed, 7 insertions, 10 deletions
diff --git a/recipes-security/samhain/samhain.inc b/recipes-security/samhain/samhain.inc
index 23bc8f5..5c0142b 100644
--- a/recipes-security/samhain/samhain.inc
+++ b/recipes-security/samhain/samhain.inc
@@ -25,17 +25,14 @@ INITSCRIPT_PARAMS ?= "defaults"
25 25
26PACKAGECONFIG ??= "" 26PACKAGECONFIG ??= ""
27 27
28# We have to unpack the tar ball twice to get to the source. 28do_unpack_samhain() {
29# Also as soon as OE gets the tar ball it unpacks and 29 cd ${WORKDIR}
30# proceeds to apply the patches. But what you still have after 30 tar -xzvf samhain-${PV}.tar.gz
31# the first unpack is another tar ball. So we do a do_unpack_extra() 31}
32# and tell OE to do the second unpack before do_patch(), otherwise 32
33# do_patch() will fail when trying to apply the patches. 33python do_unpack_append() {
34do_unpack_extra () { 34 bb.build.exec_func('do_unpack_samhain', d)
35 cd ${WORKDIR}
36 tar -xzvf samhain-${PV}.tar.gz
37} 35}
38addtask unpack_extra after do_unpack before do_patch
39 36
40do_configure_prepend_arm() { 37do_configure_prepend_arm() {
41 export sh_cv___va_copy=yes 38 export sh_cv___va_copy=yes