Skip to contentSkip to conversation

openvpn: not use the hardcoded libdir

PATCH In review [email protected] 2 participants 5 messages Jul 24, 2014 – Jul 25, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openvpn: not use the hardcoded libdir

From: Roy Li <[email protected]>

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]

---
 meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb +1 -1
index a3322a0..48e04b7 100644
@@ -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"
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 7 lines · On Thu, Jul 24, 2014 at 02:43:01PM +0800, [email protected] wrote:

From: Roy Li <[email protected]>

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

Quoted 24 lines
---
 meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb +1 -1
index a3322a0..48e04b7 100644
@@ -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"
Signature · 7 lines
1.7.10.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw
Quoted 5 lines · Martin Jansa
Quoted 4 lines · On Thu, Jul 24, 2014 at 02:43:01PM +0800, [email protected] wrote:

From: Roy Li <[email protected]>

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

Quoted 8 lines
Quoted 3 lines

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

Quoted 27 lines
Quoted 24 lines
---
  meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb +1 -2
index a3322a0..48e04b7 100644
@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 2 lines
Best Reagrds,
Roy | RongQing Li
#3 lore raw
In reply to Martin Jansa
Quoted 5 lines · Martin Jansa
Quoted 4 lines · On Thu, Jul 24, 2014 at 02:43:01PM +0800, [email protected] wrote:

From: Roy Li <[email protected]>

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

Quoted 8 lines
Quoted 3 lines

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

Quoted 27 lines
Quoted 24 lines
---
  meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb +1 -2
index a3322a0..48e04b7 100644
@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 2 lines
Best Reagrds,
Roy | RongQing Li
#4 lore raw
Quoted 14 lines · Rongqing Li
Quoted 11 lines · Martin Jansa
Quoted 7 lines · On Thu, Jul 24, 2014 at 02:43:01PM +0800, [email protected] wrote:

From: Roy Li <[email protected]>

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?

Quoted 7 lines
Quoted 2 lines

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.

Quoted 4 lines

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

Quoted 31 lines
Quoted 27 lines
Quoted 24 lines
---
  meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/openvpn/openvpn_2.3.4.bb +1 -2
index a3322a0..48e04b7 100644
@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 2 lines
Best Reagrds,
Roy | RongQing Li
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]