diff options
| -rw-r--r-- | recipes-security/samhain/samhain.inc | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/recipes-security/samhain/samhain.inc b/recipes-security/samhain/samhain.inc index 7b71d9f..d25f653 100644 --- a/recipes-security/samhain/samhain.inc +++ b/recipes-security/samhain/samhain.inc | |||
| @@ -44,17 +44,18 @@ SAMHAIN_MODE = "${@oe.utils.ifelse(d.getVar('MODE_NAME') == 'standalone', 'no', | |||
| 44 | 44 | ||
| 45 | # supports mysql|postgresql|oracle|odbc but postgresql is the only one available | 45 | # supports mysql|postgresql|oracle|odbc but postgresql is the only one available |
| 46 | 46 | ||
| 47 | PACKAGECONFIG ??= "postgresql ps" | 47 | PACKAGECONFIG ??= "postgresql ps \ |
| 48 | PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}" | 48 | ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \ |
| 49 | PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit', '', d)}" | 49 | ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit', '', d)} \ |
| 50 | PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'acl', 'acl', '', d)}" | 50 | ${@bb.utils.contains('DISTRO_FEATURES', 'acl', 'acl', '', d)} \ |
| 51 | 51 | " | |
| 52 | PACKAGECONFIG[postgres] = "--with-database=postgresql --enable-xml-log, "", postgresql" | 52 | |
| 53 | PACKAGECONFIG[suidcheck] = "--enable-suidcheck","" , " | 53 | PACKAGECONFIG[postgresql] = "--with-database=postgresql --enable-xml-log, , postgresql" |
| 54 | PACKAGECONFIG[logwatch] = "--enable-login-watch,"" , " | 54 | PACKAGECONFIG[suidcheck] = "--enable-suidcheck, , " |
| 55 | PACKAGECONFIG[mounts] = "--enable-mounts-check","" , " | 55 | PACKAGECONFIG[logwatch] = "--enable-login-watch, , " |
| 56 | PACKAGECONFIG[userfiles] = "--enable-userfiles","" , " | 56 | PACKAGECONFIG[mounts] = "--enable-mounts-check, , " |
| 57 | PACKAGECONFIG[ipv6] = "--enable-ipv6,"--disable-ipv6"," | 57 | PACKAGECONFIG[userfiles] = "--enable-userfiles, , " |
| 58 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
| 58 | PACKAGECONFIG[selinux] = "--enable-selinux, --disable-selinux, libselinux attr" | 59 | PACKAGECONFIG[selinux] = "--enable-selinux, --disable-selinux, libselinux attr" |
| 59 | PACKAGECONFIG[acl] = " --enable-posix-acl , --disable-posix-acl, acl" | 60 | PACKAGECONFIG[acl] = " --enable-posix-acl , --disable-posix-acl, acl" |
| 60 | PACKAGECONFIG[audit] = "ac_cv_header_auparse_h=yes,ac_cv_header_auparse_h=no,audit" | 61 | PACKAGECONFIG[audit] = "ac_cv_header_auparse_h=yes,ac_cv_header_auparse_h=no,audit" |
| @@ -90,6 +91,7 @@ EOF | |||
| 90 | } | 91 | } |
| 91 | 92 | ||
| 92 | do_configure () { | 93 | do_configure () { |
| 94 | autoconf -f | ||
| 93 | ./configure \ | 95 | ./configure \ |
| 94 | --build=${BUILD_SYS} \ | 96 | --build=${BUILD_SYS} \ |
| 95 | --host=${HOST_SYS} \ | 97 | --host=${HOST_SYS} \ |
