mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
snort: fix to remove from blacklist
Fix paths in pkgconfig files and remove snort from blacklist. Also add 'xz' to DEPENDS to avoid the following QA issue. 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] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
committed by
Joe MacDonald
parent
b2eae93d0a
commit
3683e46e05
@@ -4,7 +4,7 @@ SECTION = "net"
|
||||
LICENSE = "GPL-2.0"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=78fa8ef966b48fbf9095e13cc92377c5"
|
||||
|
||||
DEPENDS = "libpcap libpcre daq libdnet util-linux"
|
||||
DEPENDS = "xz libpcap libpcre daq libdnet util-linux"
|
||||
|
||||
SRC_URI = " ${GENTOO_MIRROR}/${BP}.tar.gz;name=tarball \
|
||||
file://snort.init \
|
||||
@@ -56,6 +56,8 @@ do_install_append() {
|
||||
install -m 755 ${WORKDIR}/snort.init ${D}${sysconfdir}/init.d/snort
|
||||
mkdir -p ${D}${localstatedir}/log/snort
|
||||
install -d ${D}/var/log/snort
|
||||
|
||||
sed -i 's/-fdebug-prefix-map[^ ]*//g; s#${STAGING_DIR_TARGET}##g' ${D}${libdir}/pkgconfig/*.pc
|
||||
}
|
||||
|
||||
FILES_${PN} += " \
|
||||
@@ -84,6 +86,3 @@ FILES_${PN}-dev += " \
|
||||
${libdir}/snort_dynamicrules/*.so \
|
||||
${prefix}/src/snort_dynamicsrc \
|
||||
"
|
||||
|
||||
# http://errors.yoctoproject.org/Errors/Details/35137/
|
||||
PNBLACKLIST[snort] ?= "BROKEN: QA Issue: snort_preproc.pc, snort_output.pc, snort.pc"
|
||||
|
||||
Reference in New Issue
Block a user