[oe] [PATCH][meta-networking] openvpn: not use the hardcoded libdir

2014-07-23 Thread rongqing.li
From: Roy Li 

it will lead to QA failure, since .debug dir can not be installed into dbg 
package

ERROR: QA Issue: non debug package contains .debug directory: openvpn path
/work/core2-64-wrs-linux/openvpn/2.3.4-r0/packages-split/openvpn/usr/lib64i
/openvpn/plugins/.debug/openvpn-plugin-down-root.so [debug-files]

Signed-off-by: Roy Li 
---
 meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb 
b/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb
index a3322a0..48e04b7 100644
--- a/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb
+++ b/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb
@@ -28,4 +28,4 @@ do_install_append() {
 
 RRECOMMENDS_${PN} = "kernel-module-tun"
 
-FILES_${PN}-dbg += "/usr/lib/openvpn/plugins/.debug"
+FILES_${PN}-dbg += "${libdir}/openvpn/plugins/.debug"
-- 
1.7.10.4

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH][meta-networking] openvpn: not use the hardcoded libdir

2014-07-24 Thread Martin Jansa
On Thu, Jul 24, 2014 at 02:43:01PM +0800, rongqing...@windriver.com wrote:
> From: Roy Li 
> 
> it will lead to QA failure, since .debug dir can not be installed into dbg 
> package
> 
> ERROR: QA Issue: non debug package contains .debug directory: openvpn path
> 
> /work/core2-64-wrs-linux/openvpn/2.3.4-r0/packages-split/openvpn/usr/lib64i
> /openvpn/plugins/.debug/openvpn-plugin-down-root.so [debug-files]

Can you please check this floating dependency?

snort/snort/latest lost dependency on  util-linux-libuuid   
  

> 
> Signed-off-by: Roy Li 
> ---
>  meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb |2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb 
> b/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb
> index a3322a0..48e04b7 100644
> --- a/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb
> +++ b/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb
> @@ -28,4 +28,4 @@ do_install_append() {
>  
>  RRECOMMENDS_${PN} = "kernel-module-tun"
>  
> -FILES_${PN}-dbg += "/usr/lib/openvpn/plugins/.debug"
> +FILES_${PN}-dbg += "${libdir}/openvpn/plugins/.debug"
> -- 
> 1.7.10.4
> 
> -- 
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

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


signature.asc
Description: Digital signature
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH][meta-networking] openvpn: not use the hardcoded libdir

2014-07-24 Thread Rongqing Li



On 07/24/2014 07:02 PM, Martin Jansa wrote:

On Thu, Jul 24, 2014 at 02:43:01PM +0800, rongqing...@windriver.com wrote:

From: Roy Li 

it will lead to QA failure, since .debug dir can not be installed into dbg 
package

 ERROR: QA Issue: non debug package contains .debug directory: openvpn path
 /work/core2-64-wrs-linux/openvpn/2.3.4-r0/packages-split/openvpn/usr/lib64i
 /openvpn/plugins/.debug/openvpn-plugin-down-root.so [debug-files]


Can you please check this floating dependency?

snort/snort/latest lost dependency on  util-linux-libuuid



Ok, I will check it.

-Roy





Signed-off-by: Roy Li 
---
  meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb |2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb 
b/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb
index a3322a0..48e04b7 100644
--- a/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb
+++ b/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb
@@ -28,4 +28,4 @@ do_install_append() {

  RRECOMMENDS_${PN} = "kernel-module-tun"

-FILES_${PN}-dbg += "/usr/lib/openvpn/plugins/.debug"
+FILES_${PN}-dbg += "${libdir}/openvpn/plugins/.debug"
--
1.7.10.4

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel






--
Best Reagrds,
Roy | RongQing Li
--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH][meta-networking] openvpn: not use the hardcoded libdir

2014-07-24 Thread Rongqing Li



On 07/24/2014 07:02 PM, Martin Jansa wrote:

On Thu, Jul 24, 2014 at 02:43:01PM +0800, rongqing...@windriver.com wrote:

From: Roy Li 

it will lead to QA failure, since .debug dir can not be installed into dbg 
package

 ERROR: QA Issue: non debug package contains .debug directory: openvpn path
 /work/core2-64-wrs-linux/openvpn/2.3.4-r0/packages-split/openvpn/usr/lib64i
 /openvpn/plugins/.debug/openvpn-plugin-down-root.so [debug-files]


Can you please check this floating dependency?

snort/snort/latest lost dependency on  util-linux-libuuid



Hi, martin:


This patch is fixing the openvpn, not snort, it should be a good fix.

About snort dependency, snort will check if util-linux-libuuid exist or
not when do configuration, and no configuration options can control it,
so PACKAGECONFIG can not be used on snort, so I like leave it to wait
until I have time

-Roy





Signed-off-by: Roy Li 
---
  meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb |2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb 
b/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb
index a3322a0..48e04b7 100644
--- a/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb
+++ b/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb
@@ -28,4 +28,4 @@ do_install_append() {

  RRECOMMENDS_${PN} = "kernel-module-tun"

-FILES_${PN}-dbg += "/usr/lib/openvpn/plugins/.debug"
+FILES_${PN}-dbg += "${libdir}/openvpn/plugins/.debug"
--
1.7.10.4

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel






--
Best Reagrds,
Roy | RongQing Li
--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH][meta-networking] openvpn: not use the hardcoded libdir

2014-07-25 Thread Martin Jansa
On Fri, Jul 25, 2014 at 10:37:42AM +0800, Rongqing Li wrote:
> 
> 
> On 07/24/2014 07:02 PM, Martin Jansa wrote:
> > On Thu, Jul 24, 2014 at 02:43:01PM +0800, rongqing...@windriver.com wrote:
> >> From: Roy Li 
> >>
> >> it will lead to QA failure, since .debug dir can not be installed into dbg 
> >> package
> >>
> >>  ERROR: QA Issue: non debug package contains .debug directory: openvpn 
> >> path
> >>  
> >> /work/core2-64-wrs-linux/openvpn/2.3.4-r0/packages-split/openvpn/usr/lib64i
> >>  /openvpn/plugins/.debug/openvpn-plugin-down-root.so [debug-files]
> >
> > Can you please check this floating dependency?
> >
> > snort/snort/latest lost dependency on  util-linux-libuuid
> >
> 
> Hi, martin:
> 
> 
> This patch is fixing the openvpn, not snort, it should be a good fix.

Ah sorry, I wanted to write it in your next patch which is changing
snort.

> About snort dependency, snort will check if util-linux-libuuid exist or
> not when do configuration, and no configuration options can control it,
> so PACKAGECONFIG can not be used on snort, so I like leave it to wait
> until I have time

OK, I won't block it because of this dependency, but if you're using
snort, then please fix it when you can.


Thanks

> >>
> >> Signed-off-by: Roy Li 
> >> ---
> >>   meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb |2 +-
> >>   1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb 
> >> b/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb
> >> index a3322a0..48e04b7 100644
> >> --- a/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb
> >> +++ b/meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb
> >> @@ -28,4 +28,4 @@ do_install_append() {
> >>
> >>   RRECOMMENDS_${PN} = "kernel-module-tun"
> >>
> >> -FILES_${PN}-dbg += "/usr/lib/openvpn/plugins/.debug"
> >> +FILES_${PN}-dbg += "${libdir}/openvpn/plugins/.debug"
> >> --
> >> 1.7.10.4
> >>
> >> --
> >> ___
> >> Openembedded-devel mailing list
> >> Openembedded-devel@lists.openembedded.org
> >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >
> >
> >
> 
> -- 
> Best Reagrds,
> Roy | RongQing Li

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


signature.asc
Description: Digital signature
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel