Skip to contentSkip to conversation

snort: Add lzma to PACKAGECONFIG

PATCH New [email protected] 1 participant 1 message Aug 10, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 snort: Add lzma to PACKAGECONFIG

From: Mingli Yu <[email protected]>

Add lzma to PACKAGECONFIG to remove below warning:
WARNING: snort-2.9.7.5-r0 do_package_qa: QA Issue:
snort rdepends on liblzma, but it isn't a build dependency, missing xz in DEPENDS or PACKAGECONFIG? [build-deps]

---
 meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb +2 -1
index fb71799..c62a8d3 100644
@@ -42,8 +42,9 @@ EXTRA_OECONF = " \
 # if you want to disable it, you need to patch configure.in first
 # AC_CHECK_HEADERS([openssl/sha.h],, SHA_H="no")
 # is called even with --without-openssl-includes
-PACKAGECONFIG ?= "openssl"
+PACKAGECONFIG ?= "openssl lzma"
 PACKAGECONFIG[openssl] = "--with-openssl-includes=${STAGING_INCDIR} --with-openssl-libraries=${STAGING_LIBDIR}, --without-openssl-includes --without-openssl-libraries, openssl,"
+PACKAGECONFIG[lzma] = "--with-lzma-includes=${STAGING_INCDIR} --with-lzma-libraries=${STAGING_LIBDIR}, --without-lzma-includes --without-lzma-libraries, xz,"
 
 do_install_append() {
     install -d ${D}${sysconfdir}/snort/rules
Signature · 1 line
2.8.1