diff options
| author | Clayton Casciato <majortomtosourcecontrol@gmail.com> | 2026-01-21 20:51:42 -0700 |
|---|---|---|
| committer | Scott Murray <scott.murray@konsulko.com> | 2026-03-04 12:12:43 +0200 |
| commit | 83008a93aabd14deb6e17a3957094f2049c11549 (patch) | |
| tree | 5ab2d36ec151c21af8e2565ec05a1d51522d8188 | |
| parent | 9e6d962250aab6e5319215f15b0201ef233c46cd (diff) | |
| download | meta-security-83008a93aabd14deb6e17a3957094f2049c11549.tar.gz | |
suricata: improve PACKAGECONFIG[unittests] control
Allow downstream users to explicitly select desired PACKAGECONFIG
options (e.g. via "=").
Users are currently forced to use ":remove" (with "ptest").
Signed-off-by: Clayton Casciato <majortomtosourcecontrol@gmail.com>
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
| -rw-r--r-- | recipes-ids/suricata/suricata_7.0.13.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-ids/suricata/suricata_7.0.13.bb b/recipes-ids/suricata/suricata_7.0.13.bb index b0d2c82..936c057 100644 --- a/recipes-ids/suricata/suricata_7.0.13.bb +++ b/recipes-ids/suricata/suricata_7.0.13.bb | |||
| @@ -46,8 +46,8 @@ PACKAGECONFIG ??= "file \ | |||
| 46 | cap-ng \ | 46 | cap-ng \ |
| 47 | net \ | 47 | net \ |
| 48 | ${@bb.utils.filter('DISTRO_FEATURES', 'seccomp', d)} \ | 48 | ${@bb.utils.filter('DISTRO_FEATURES', 'seccomp', d)} \ |
| 49 | ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'unittests', '', d)} \ | ||
| 49 | " | 50 | " |
| 50 | PACKAGECONFIG:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'unittests', '', d)}" | ||
| 51 | 51 | ||
| 52 | PACKAGECONFIG[pcre2] = "--with-libpcre2-includes=${STAGING_INCDIR} --with-libpcre2-libraries=${STAGING_LIBDIR}, ,libpcre2 ," | 52 | PACKAGECONFIG[pcre2] = "--with-libpcre2-includes=${STAGING_INCDIR} --with-libpcre2-libraries=${STAGING_LIBDIR}, ,libpcre2 ," |
| 53 | PACKAGECONFIG[yaml] = "--with-libyaml-includes=${STAGING_INCDIR} --with-libyaml-libraries=${STAGING_LIBDIR}, ,libyaml ," | 53 | PACKAGECONFIG[yaml] = "--with-libyaml-includes=${STAGING_INCDIR} --with-libyaml-libraries=${STAGING_LIBDIR}, ,libyaml ," |
