All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-networking][PATCH] snort: fix paths in pkgconfig files
@ 2016-04-26  8:54 Chen Qi
  2016-04-27  7:50 ` Martin Jansa
  0 siblings, 1 reply; 2+ messages in thread
From: Chen Qi @ 2016-04-26  8:54 UTC (permalink / raw)
  To: openembedded-devel

Fix paths in pkgconfig files and remove snort from blacklist.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb b/meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb
index 7d946af..69180c8 100644
--- a/meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb
+++ b/meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb
@@ -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"
-- 
2.8.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-networking][PATCH] snort: fix paths in pkgconfig files
  2016-04-26  8:54 [meta-networking][PATCH] snort: fix paths in pkgconfig files Chen Qi
@ 2016-04-27  7:50 ` Martin Jansa
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2016-04-27  7:50 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1785 bytes --]

On Tue, Apr 26, 2016 at 04:54:14PM +0800, Chen Qi wrote:
> Fix paths in pkgconfig files and remove snort from blacklist.

There is also undeclared dependency as shown by QA warning:
snort-2.9.7.5: snort rdepends on liblzma, but it isn't a build dependency, missing xz in DEPENDS or PACKAGECONFIG? [build-deps]

Please fix that before unblacklisting.

> 
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
>  meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb b/meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb
> index 7d946af..69180c8 100644
> --- a/meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb
> +++ b/meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb
> @@ -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"
> -- 
> 2.8.1
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-27  7:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-26  8:54 [meta-networking][PATCH] snort: fix paths in pkgconfig files Chen Qi
2016-04-27  7:50 ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.