[oe] [meta-oe][PATCH] iperf3 :upgrade to 3.1

2015-10-19 Thread b40290
From: Chunrong Guo 

---
 .../iperf3/iperf3/automake-foreign.patch   |  14 ++-
 .../iperf3/iperf3/fix-examples.patch   | 107 -
 meta-oe/recipes-benchmark/iperf3/iperf3_git.bb |   9 +-
 3 files changed, 10 insertions(+), 120 deletions(-)
 delete mode 100644 meta-oe/recipes-benchmark/iperf3/iperf3/fix-examples.patch

diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3/automake-foreign.patch 
b/meta-oe/recipes-benchmark/iperf3/iperf3/automake-foreign.patch
index a27b61e..06c394e 100644
--- a/meta-oe/recipes-benchmark/iperf3/iperf3/automake-foreign.patch
+++ b/meta-oe/recipes-benchmark/iperf3/iperf3/automake-foreign.patch
@@ -2,18 +2,16 @@ Pass the 'foreign' option to automake to enable iperf3 to 
build.
 
 Upstream-Status: Inappropriate [configuration]
 
-Signed-off-by: Ben Shelton 

+Signed-off-by: Chunrong Guo 
 
-diff -rupN iperf-3.0.10.old/configure.ac iperf-3.0.10/configure.ac
 iperf-3.0.10.old/configure.ac  2014-12-16 13:39:58.0 -0600
-+++ iperf-3.0.10/configure.ac  2014-12-29 15:09:27.534992643 -0600
-@@ -32,7 +32,7 @@ AC_CONFIG_AUX_DIR(config)
+--- a/configure.ac 2015-10-19 02:49:30.471867352 -0500
 b/configure.ac 2015-10-19 02:46:36.207873572 -0500
+@@ -33,7 +33,7 @@
  
  
  # Initialize the automake system
 -AM_INIT_AUTOMAKE
 +AM_INIT_AUTOMAKE([foreign])
- 
  AM_MAINTAINER_MODE
- AM_CONFIG_HEADER(src/config.h)
+ AM_CONFIG_HEADER(src/iperf_config.h)
+ 
diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3/fix-examples.patch 
b/meta-oe/recipes-benchmark/iperf3/iperf3/fix-examples.patch
deleted file mode 100644
index 445570d..000
--- a/meta-oe/recipes-benchmark/iperf3/iperf3/fix-examples.patch
+++ /dev/null
@@ -1,107 +0,0 @@
-The Makefiles for the examples only work properly when the build is
-done in the same directory as the source.  Fix this in Makefile.am and
-run bootstrap.sh to regenerate Makefile.in.
-
-Upstream-Status: Pending [iperf-...@googlegroups.com]
-
-Signed-off-by: Ben Shelton 

-
-diff -rupN iperf-3.0.10.old/examples/Makefile.am 
iperf-3.0.10/examples/Makefile.am
 iperf-3.0.10.old/examples/Makefile.am  2014-12-16 13:39:58.0 
-0600
-+++ iperf-3.0.10/examples/Makefile.am  2014-12-29 17:12:02.238979626 -0600
-@@ -2,11 +2,13 @@ noinst_PROGRAMS  = mic mis   # 
Build, but
- 
- mic_SOURCES   = mic.c
- mic_CFLAGS= -g
--mic_LDADD = ../src/libiperf.la
-+mic_LDADD = $(top_builddir)/src/libiperf.la
- mic_LDFLAGS   = -g
-+mic_CPPFLAGS  = -I$(top_srcdir)/src
- 
- mis_SOURCES   = mis.c
- mis_CFLAGS= -g
--mis_LDADD = ../src/libiperf.la
-+mis_LDADD = $(top_builddir)/src/libiperf.la
- mis_LDFLAGS   = -g
-+mis_CPPFLAGS  = -I$(top_srcdir)/src
- 
-diff -rupN iperf-3.0.10.old/examples/Makefile.in 
iperf-3.0.10/examples/Makefile.in
 iperf-3.0.10.old/examples/Makefile.in  2014-12-16 13:39:58.0 
-0600
-+++ iperf-3.0.10/examples/Makefile.in  2014-12-29 17:12:07.518979616 -0600
-@@ -94,7 +94,7 @@ CONFIG_CLEAN_VPATH_FILES =
- PROGRAMS = $(noinst_PROGRAMS)
- am_mic_OBJECTS = mic-mic.$(OBJEXT)
- mic_OBJECTS = $(am_mic_OBJECTS)
--mic_DEPENDENCIES = ../src/libiperf.la
-+mic_DEPENDENCIES = $(top_builddir)/src/libiperf.la
- AM_V_lt = $(am__v_lt_@AM_V@)
- am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
- am__v_lt_0 = --silent
-@@ -104,7 +104,7 @@ mic_LINK = $(LIBTOOL) $(AM_V_lt) --tag=C
-   $(mic_LDFLAGS) $(LDFLAGS) -o $@
- am_mis_OBJECTS = mis-mis.$(OBJEXT)
- mis_OBJECTS = $(am_mis_OBJECTS)
--mis_DEPENDENCIES = ../src/libiperf.la
-+mis_DEPENDENCIES = $(top_builddir)/src/libiperf.la
- mis_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-   $(LIBTOOLFLAGS) --mode=link $(CCLD) $(mis_CFLAGS) $(CFLAGS) \
-   $(mis_LDFLAGS) $(LDFLAGS) -o $@
-@@ -286,12 +286,14 @@ top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
- mic_SOURCES = mic.c
- mic_CFLAGS = -g
--mic_LDADD = ../src/libiperf.la
-+mic_LDADD = $(top_builddir)/src/libiperf.la
- mic_LDFLAGS = -g
-+mic_CPPFLAGS = -I$(top_srcdir)/src
- mis_SOURCES = mis.c
- mis_CFLAGS = -g
--mis_LDADD = ../src/libiperf.la
-+mis_LDADD = $(top_builddir)/src/libiperf.la
- mis_LDFLAGS = -g
-+mis_CPPFLAGS = -I$(top_srcdir)/src
- all: all-am
- 
- .SUFFIXES:
-@@ -375,32 +377,32 @@ distclean-compile:
- @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
- 
- mic-mic.o: mic.c
--@am__fastdepCC_TRUE@  $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) 
$(AM_CPPFLAGS) $(CPPFLAGS) $(mic_CFLAGS) $(CFLAGS) -MT mic-mic.o -MD -MP -MF 
$(DEPDIR)/mic-mic.Tpo -c -o mic-mic.o `test -f 'mic.c' || echo 
'$(srcdir)/'`mic.c
-+@am__fastdepCC_TRUE@  $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) 
$(mic_CPPFLAGS) $(CPPFLAGS) $(mic_CFLAGS) $(CFLAGS) -MT mic-mic.o -MD -MP -MF 
$(DEPDIR)/mic-mic.Tpo -c -o mic-mic.o `test -f 'mic.c' 

[oe] [meta-oe][fido][PATCH] polkit: do not hardcode the libdir

2015-05-13 Thread b40290
From: Chunrong Guo b40...@freescale.com

  libdir is defined as ${prefix}/lib/, but we want it to support multilib path

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../polkit/0001-do-not-hardcoded-libdir.patch  | 44 ++
 meta-oe/recipes-extended/polkit/polkit_0.112.bb|  1 +
 2 files changed, 45 insertions(+)
 create mode 100644 
meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch

diff --git 
a/meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch 
b/meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch
new file mode 100644
index 000..e605e30
--- /dev/null
+++ b/meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch
@@ -0,0 +1,44 @@
+From c9e09d9b101109832b1dcb050f0c8b588e276686 Mon Sep 17 00:00:00 2001
+From: Zhenhua Luo zhenhua@freescale.com
+Date: Mon, 4 May 2015 04:11:27 -0500
+Subject: [PATCH] do not hardcoded libdir
+
+Upstream-Status: Pending
+
+libdir is hardcoded to ${prefix}/lib, but we want it to support multilib
+
+Signed-off-by: Chunrong Guo b40...@freescale.com
+---
+ polkitagent/Makefile.am   | 2 +-
+ polkitbackend/Makefile.am | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/polkitagent/Makefile.am b/src/polkitagent/Makefile.am
+index 3bc364e..7d1ac0e 100644
+--- a/src/polkitagent/Makefile.am
 b/src/polkitagent/Makefile.am
+@@ -78,7 +78,7 @@ libpolkit_agent_1_la_LIBADD =
\
+ 
+ libpolkit_agent_1_la_LDFLAGS = -export-symbols-regex '(^polkit_.*)'
+ 
+-libprivdir = $(prefix)/lib/polkit-1
++libprivdir = $(libdir)/polkit-1
+ libpriv_PROGRAMS = polkit-agent-helper-1
+ 
+ polkit_agent_helper_1_SOURCES =   \
+diff --git a/src/polkitbackend/Makefile.am b/src/polkitbackend/Makefile.am
+index 9f430d0..1f7610b 100644
+--- a/src/polkitbackend/Makefile.am
 b/src/polkitbackend/Makefile.am
+@@ -67,7 +67,7 @@ rules_DATA = 50-default.rules
+ 
+ # 

+ 
+-libprivdir = $(prefix)/lib/polkit-1
++libprivdir = $(libdir)/polkit-1
+ libpriv_PROGRAMS = polkitd
+ 
+ polkitd_SOURCES = \
+-- 
+2.3.3
+
diff --git a/meta-oe/recipes-extended/polkit/polkit_0.112.bb 
b/meta-oe/recipes-extended/polkit/polkit_0.112.bb
index 72b182b..f20e1a4 100644
--- a/meta-oe/recipes-extended/polkit/polkit_0.112.bb
+++ b/meta-oe/recipes-extended/polkit/polkit_0.112.bb
@@ -21,6 +21,7 @@ PAM_SRC_URI = file://polkit-1_pam.patch
 SRC_URI = 
http://www.freedesktop.org/software/polkit/releases/polkit-${PV}.tar.gz \
${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', 
d)} \

file://0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch \
+   file://0001-do-not-hardcoded-libdir.patch \
 
 
 SRC_URI[md5sum] = b0f2fa00a55f47c6a5d88e9b73f80127
-- 
1.9.2

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


[oe] [meta-oe][fido][PATCH] mozjs: fix the compile error of powerpc64

2015-05-13 Thread b40290
From: Chunrong Guo b40...@freescale.com

 fix the following error
 |error: 'jsuword' does not name a type

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../mozjs/fix-the-compile-error-of-powerpc64.patch | 18 ++
 meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb |  1 +
 2 files changed, 19 insertions(+)
 create mode 100644 
meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch

diff --git 
a/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch 
b/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch
new file mode 100644
index 000..43c4590
--- /dev/null
+++ 
b/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch
@@ -0,0 +1,18 @@
+fix the compile error of powerpc64
+ 
+Upstream-status: Accepted
+
+ fix the following error
+ |error: 'jsuword' does not name a type
+
+
+--- a/js/src/jsval.hold2015-04-24 01:15:06.692970731 -0500
 b/js/src/jsval.h   2015-04-24 01:15:41.792969478 -0500
+@@ -304,7 +304,6 @@
+ int32_ti32;
+ uint32_t   u32;
+ JSWhyMagic why;
+-jsuwordword;
+ } payload;
+ } s;
+ double asDouble;
diff --git a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb 
b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
index 91ee9a2..f6e4157 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
+++ b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
@@ -11,6 +11,7 @@ SRC_URI =  \
 file://0004-mozbug746112-no-decommit-on-large-pages.patch;patchdir=../../ \
 file://0005-aarch64-64k-page.patch;patchdir=../../ \
 file://0001-regenerate-configure.patch;patchdir=../../ \ 
+file://fix-the-compile-error-of-powerpc64.patch;patchdir=../../ \
   
 
 SRC_URI[md5sum] = 20b6f8f1140ef6e47daa3b16965c9202
-- 
1.9.2

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


[oe] [meta-oe][PATCH v2] polkit: do not hardcode the libdir

2015-05-07 Thread b40290
From: Chunrong Guo b40...@freescale.com

 libdir is defined as ${prefix}/lib/, but we want it to support multilib path

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../polkit/0001-do-not-hardcoded-libdir.patch  | 44 ++
 meta-oe/recipes-extended/polkit/polkit_0.112.bb|  1 +
 2 files changed, 45 insertions(+)
 create mode 100644 
meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch

diff --git 
a/meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch 
b/meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch
new file mode 100644
index 000..3ccedcd
--- /dev/null
+++ b/meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch
@@ -0,0 +1,44 @@
+From c9e09d9b101109832b1dcb050f0c8b588e276686 Mon Sep 17 00:00:00 2001
+From: Zhenhua Luo zhenhua@freescale.com
+Date: Mon, 4 May 2015 04:11:27 -0500
+Subject: [PATCH] do not hardcoded libdir
+
+Upstream-Status: Pending
+
+libdir is hardcoded to ${prefix}/lib, but we want it to support multilib
+
+Signed-off-by: Chunrong Guo b40...@freescale.com
+---
+ polkitagent/Makefile.am   | 2 +-
+ polkitbackend/Makefile.am | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/polkitagent/Makefile.am b/src/polkitagent/Makefile.am
+index 3bc364e..7d1ac0e 100644
+--- a/src/polkitagent/Makefile.am
 b/src/polkitagent/Makefile.am
+@@ -78,7 +78,7 @@ libpolkit_agent_1_la_LIBADD =
\
+ 
+ libpolkit_agent_1_la_LDFLAGS = -export-symbols-regex '(^polkit_.*)'
+ 
+-libprivdir = $(prefix)/lib/polkit-1
++libprivdir = $(libdir)/polkit-1
+ libpriv_PROGRAMS = polkit-agent-helper-1
+ 
+ polkit_agent_helper_1_SOURCES =   \
+diff --git a/src/polkitbackend/Makefile.am b/src/polkitbackend/Makefile.am
+index 9f430d0..1f7610b 100644
+--- a/src/polkitbackend/Makefile.am
 b/src/polkitbackend/Makefile.am
+@@ -67,7 +67,7 @@ rules_DATA = 50-default.rules
+ 
+ # 

+ 
+-libprivdir = $(prefix)/lib/polkit-1
++libprivdir = $(libdir)/polkit-1
+ libpriv_PROGRAMS = polkitd
+ 
+ polkitd_SOURCES = \
+-- 
+2.3.3
+
diff --git a/meta-oe/recipes-extended/polkit/polkit_0.112.bb 
b/meta-oe/recipes-extended/polkit/polkit_0.112.bb
index 72b182b..f20e1a4 100644
--- a/meta-oe/recipes-extended/polkit/polkit_0.112.bb
+++ b/meta-oe/recipes-extended/polkit/polkit_0.112.bb
@@ -21,6 +21,7 @@ PAM_SRC_URI = file://polkit-1_pam.patch
 SRC_URI = 
http://www.freedesktop.org/software/polkit/releases/polkit-${PV}.tar.gz \
${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', 
d)} \

file://0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch \
+   file://0001-do-not-hardcoded-libdir.patch \
 
 
 SRC_URI[md5sum] = b0f2fa00a55f47c6a5d88e9b73f80127
-- 
1.9.2

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


[oe] [meta-oe][fido][PATCH] polkit: do not hardcode the libdir

2015-05-04 Thread b40290
From: Chunrong Guo b40...@freescale.com

  libdir is defined as ${prefix}/lib/, but we want it to support multilib path

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../polkit/0001-do-not-hardcoded-libdir.patch  | 44 ++
 meta-oe/recipes-extended/polkit/polkit_0.112.bb|  1 +
 2 files changed, 45 insertions(+)
 create mode 100644 
meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch

diff --git 
a/meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch 
b/meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch
new file mode 100644
index 000..3ccedcd
--- /dev/null
+++ b/meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch
@@ -0,0 +1,44 @@
+From c9e09d9b101109832b1dcb050f0c8b588e276686 Mon Sep 17 00:00:00 2001
+From: Zhenhua Luo zhenhua@freescale.com
+Date: Mon, 4 May 2015 04:11:27 -0500
+Subject: [PATCH] do not hardcoded libdir
+
+Upstream-Status: Pending
+
+libdir is hardcoded to ${prefix}/lib, but we want it to support multilib
+
+Signed-off-by: Chunrong Guo b40...@freescale.com
+---
+ polkitagent/Makefile.am   | 2 +-
+ polkitbackend/Makefile.am | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/polkitagent/Makefile.am b/src/polkitagent/Makefile.am
+index 3bc364e..7d1ac0e 100644
+--- a/src/polkitagent/Makefile.am
 b/src/polkitagent/Makefile.am
+@@ -78,7 +78,7 @@ libpolkit_agent_1_la_LIBADD =
\
+ 
+ libpolkit_agent_1_la_LDFLAGS = -export-symbols-regex '(^polkit_.*)'
+ 
+-libprivdir = $(prefix)/lib/polkit-1
++libprivdir = $(prefix)/${base_libdir}/polkit-1
+ libpriv_PROGRAMS = polkit-agent-helper-1
+ 
+ polkit_agent_helper_1_SOURCES =   \
+diff --git a/src/polkitbackend/Makefile.am b/src/polkitbackend/Makefile.am
+index 9f430d0..1f7610b 100644
+--- a/src/polkitbackend/Makefile.am
 b/src/polkitbackend/Makefile.am
+@@ -67,7 +67,7 @@ rules_DATA = 50-default.rules
+ 
+ # 

+ 
+-libprivdir = $(prefix)/lib/polkit-1
++libprivdir = $(prefix)/${base_libdir}/polkit-1
+ libpriv_PROGRAMS = polkitd
+ 
+ polkitd_SOURCES = \
+-- 
+2.3.3
+
diff --git a/meta-oe/recipes-extended/polkit/polkit_0.112.bb 
b/meta-oe/recipes-extended/polkit/polkit_0.112.bb
index 72b182b..f20e1a4 100644
--- a/meta-oe/recipes-extended/polkit/polkit_0.112.bb
+++ b/meta-oe/recipes-extended/polkit/polkit_0.112.bb
@@ -21,6 +21,7 @@ PAM_SRC_URI = file://polkit-1_pam.patch
 SRC_URI = 
http://www.freedesktop.org/software/polkit/releases/polkit-${PV}.tar.gz \
${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', 
d)} \

file://0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch \
+   file://0001-do-not-hardcoded-libdir.patch \
 
 
 SRC_URI[md5sum] = b0f2fa00a55f47c6a5d88e9b73f80127
-- 
1.9.2

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


[oe] [meta-oe][PATCH] polkit: do not hardcode the libdir

2015-05-04 Thread b40290
From: Chunrong Guo b40...@freescale.com

 libdir is defined as ${prefix}/lib/, but we want it to support multilib path

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../polkit/0001-do-not-hardcoded-libdir.patch  | 44 ++
 meta-oe/recipes-extended/polkit/polkit_0.112.bb|  1 +
 2 files changed, 45 insertions(+)
 create mode 100644 
meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch

diff --git 
a/meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch 
b/meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch
new file mode 100644
index 000..3ccedcd
--- /dev/null
+++ b/meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch
@@ -0,0 +1,44 @@
+From c9e09d9b101109832b1dcb050f0c8b588e276686 Mon Sep 17 00:00:00 2001
+From: Zhenhua Luo zhenhua@freescale.com
+Date: Mon, 4 May 2015 04:11:27 -0500
+Subject: [PATCH] do not hardcoded libdir
+
+Upstream-Status: Pending
+
+libdir is hardcoded to ${prefix}/lib, but we want it to support multilib
+
+Signed-off-by: Chunrong Guo b40...@freescale.com
+---
+ polkitagent/Makefile.am   | 2 +-
+ polkitbackend/Makefile.am | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/polkitagent/Makefile.am b/src/polkitagent/Makefile.am
+index 3bc364e..7d1ac0e 100644
+--- a/src/polkitagent/Makefile.am
 b/src/polkitagent/Makefile.am
+@@ -78,7 +78,7 @@ libpolkit_agent_1_la_LIBADD =
\
+ 
+ libpolkit_agent_1_la_LDFLAGS = -export-symbols-regex '(^polkit_.*)'
+ 
+-libprivdir = $(prefix)/lib/polkit-1
++libprivdir = $(prefix)/${base_libdir}/polkit-1
+ libpriv_PROGRAMS = polkit-agent-helper-1
+ 
+ polkit_agent_helper_1_SOURCES =   \
+diff --git a/src/polkitbackend/Makefile.am b/src/polkitbackend/Makefile.am
+index 9f430d0..1f7610b 100644
+--- a/src/polkitbackend/Makefile.am
 b/src/polkitbackend/Makefile.am
+@@ -67,7 +67,7 @@ rules_DATA = 50-default.rules
+ 
+ # 

+ 
+-libprivdir = $(prefix)/lib/polkit-1
++libprivdir = $(prefix)/${base_libdir}/polkit-1
+ libpriv_PROGRAMS = polkitd
+ 
+ polkitd_SOURCES = \
+-- 
+2.3.3
+
diff --git a/meta-oe/recipes-extended/polkit/polkit_0.112.bb 
b/meta-oe/recipes-extended/polkit/polkit_0.112.bb
index 72b182b..f20e1a4 100644
--- a/meta-oe/recipes-extended/polkit/polkit_0.112.bb
+++ b/meta-oe/recipes-extended/polkit/polkit_0.112.bb
@@ -21,6 +21,7 @@ PAM_SRC_URI = file://polkit-1_pam.patch
 SRC_URI = 
http://www.freedesktop.org/software/polkit/releases/polkit-${PV}.tar.gz \
${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', 
d)} \

file://0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch \
+   file://0001-do-not-hardcoded-libdir.patch \
 
 
 SRC_URI[md5sum] = b0f2fa00a55f47c6a5d88e9b73f80127
-- 
1.9.2

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


[oe] [meta-browser][PATCH] firefox_10.0.11esr: ${PN} usage in SRC_URI Should use ${BPN} instead to avoid breaking multilib

2015-04-30 Thread b40290
From: Chunrong Guo b40...@freescale.com

fix the following warning:
|WARNING: Unable to get checksum for lib32-firefox SRC_URI entry 
mozilla-lib32-firefox.png: file could not be found
|WARNING: Unable to get checksum for lib32-firefox SRC_URI entry 
mozilla-lib32-firefox.desktop: file could not be found

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 recipes-mozilla/firefox/firefox_10.0.11esr.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-mozilla/firefox/firefox_10.0.11esr.bb 
b/recipes-mozilla/firefox/firefox_10.0.11esr.bb
index cd303ff..f89da58 100644
--- a/recipes-mozilla/firefox/firefox_10.0.11esr.bb
+++ b/recipes-mozilla/firefox/firefox_10.0.11esr.bb
@@ -8,8 +8,8 @@ LICENSE = MPLv1 | GPLv2+ | LGPLv2.1+
 LIC_FILES_CHKSUM = 
file://toolkit/content/license.html;endline=39;md5=9cb02f27e77e702043b827c9418bfbf8
 
 SRC_URI = 
ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}.source.tar.bz2;name=archive
 \
-   file://mozilla-${PN}.png \
-   file://mozilla-${PN}.desktop \
+   file://mozilla-${BPN}.png \
+   file://mozilla-${BPN}.desktop \

file://fixes/Allow-.js-preference-files-to-set-locked-prefs-with-.patch \

file://fixes/Avoid-spurious-Run-items-in-application-handlers-con.patch \

file://fixes/Properly-launch-applications-set-in-HOME-.mailcap.patch \
-- 
1.9.2

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


[oe] [meta-networking][fido][PATCH] lmsensors-config: fix a warning about not existant S

2015-04-27 Thread b40290
From: Chunrong Guo b40...@freescale.com

  Set the S variable to $WORKDIR to remove the warning about S being not 
existant
  (which is true for this package, since there are no original sources for it).

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 meta-oe/recipes-support/lm_sensors/lmsensors-config_1.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/lm_sensors/lmsensors-config_1.0.bb 
b/meta-oe/recipes-support/lm_sensors/lmsensors-config_1.0.bb
index 343971f..fe2f499 100644
--- a/meta-oe/recipes-support/lm_sensors/lmsensors-config_1.0.bb
+++ b/meta-oe/recipes-support/lm_sensors/lmsensors-config_1.0.bb
@@ -11,6 +11,7 @@ SRC_URI = file://fancontrol \
file://sensord.conf \
file://sensors.conf \
 
+S = ${WORKDIR}
 
 RDEPENDS_${PN}-dev = 
 
-- 
1.9.2

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


[oe] [meta-networking][fido][PATCH] lmsensors-config: add rrdtool to lmsensors-config-cgi RDEPENDS

2015-04-27 Thread b40290
From: Chunrong Guo b40...@freescale.com

  QA reports a warning because lmsensors-config-cgi uses rrdtool, but does not 
declare runtime dependency on it.
  Add rrdtool to RDEPENDS_${PN}-cgi.

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 meta-oe/recipes-support/lm_sensors/lmsensors-config_1.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/lm_sensors/lmsensors-config_1.0.bb 
b/meta-oe/recipes-support/lm_sensors/lmsensors-config_1.0.bb
index fe2f499..df834a3 100644
--- a/meta-oe/recipes-support/lm_sensors/lmsensors-config_1.0.bb
+++ b/meta-oe/recipes-support/lm_sensors/lmsensors-config_1.0.bb
@@ -46,7 +46,7 @@ PACKAGES =+ ${PN}-fancontrol
 # sensord web cgi support
 PACKAGES =+ ${PN}-cgi
 RRECOMMENDS_${PN}-cgi = lighttpd lighttpd-module-cgi
-RDEPENDS_${PN}-cgi = ${PN}-sensord
+RDEPENDS_${PN}-cgi = ${PN}-sensord rrdtool
 FILES_${PN}-cgi = /www/* 
 
 # libsensors configuration file
-- 
1.9.2

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


[oe] [meta-oe][PATCH] mozjs: fix the compile error of powerpc64

2015-04-24 Thread b40290
From: Chunrong Guo b40...@freescale.com

  fix the following error
  |error: 'jsuword' does not name a type

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../mozjs/fix-the-compile-error-of-powerpc64.patch | 18 ++
 meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb |  1 +
 2 files changed, 19 insertions(+)
 create mode 100644 
meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch

diff --git 
a/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch 
b/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch
new file mode 100644
index 000..43c4590
--- /dev/null
+++ 
b/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch
@@ -0,0 +1,18 @@
+fix the compile error of powerpc64
+ 
+Upstream-status: Accepted
+
+ fix the following error
+ |error: 'jsuword' does not name a type
+
+
+--- a/js/src/jsval.hold2015-04-24 01:15:06.692970731 -0500
 b/js/src/jsval.h   2015-04-24 01:15:41.792969478 -0500
+@@ -304,7 +304,6 @@
+ int32_ti32;
+ uint32_t   u32;
+ JSWhyMagic why;
+-jsuwordword;
+ } payload;
+ } s;
+ double asDouble;
diff --git a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb 
b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
index 263e940..ac6ce4e 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
+++ b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
@@ -11,6 +11,7 @@ SRC_URI =  \
 file://0004-mozbug746112-no-decommit-on-large-pages.patch;patchdir=../../ \
 file://0005-aarch64-64k-page.patch;patchdir=../../ \
 file://0001-regenerate-configure.patch;patchdir=../../ \ 
+file://fix-the-compile-error-of-powerpc64.patch;patchdir=../../ \
   
 
 SRC_URI[md5sum] = 20b6f8f1140ef6e47daa3b16965c9202
-- 
1.9.2

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


[oe] [meta-oe][PATCH] fbset-modes: fix a warning about not existant S

2015-04-24 Thread b40290
From: Chunrong Guo b40...@freescale.com

   Set the S variable to $WORKDIR to remove the warning about S being not
existant

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 meta-oe/recipes-support/fbset/fbset-modes.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/fbset/fbset-modes.bb 
b/meta-oe/recipes-support/fbset/fbset-modes.bb
index 1310e6f..88f7a4f 100644
--- a/meta-oe/recipes-support/fbset/fbset-modes.bb
+++ b/meta-oe/recipes-support/fbset/fbset-modes.bb
@@ -6,6 +6,7 @@ PV = 0.1.0
 PR = r6
 
 SRC_URI = file://fb.modes
+S = ${WORKDIR}
 
 do_install() {
 install -d ${D}${sysconfdir}
-- 
1.9.2

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


[oe] [meta-oe][PATCH] libhugetlbfs: arm 32bit support

2014-06-17 Thread b40290
From: Chunrong Guo b40...@freescale.com

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../libhugetlbfs/files/arm32-support.patch | 29 ++
 .../libhugetlbfs/libhugetlbfs_git.bb   |  3 ++-
 2 files changed, 31 insertions(+), 1 deletion(-)
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch

diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch 
b/meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch
new file mode 100644
index 000..96f162d
--- /dev/null
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch
@@ -0,0 +1,29 @@
+Upstream-Status: Submitted
+
+This patch adds support for arm32.
+
+Signed-off-by: Chunrong Guo b40...@freescale.com
+
+--- a/Makefileold  2014-06-17 21:55:23.131058918 -0500
 b/Makefile 2014-06-17 21:56:08.726098531 -0500
+@@ -59,6 +59,12 @@
+ TMPLIB32 = lib
+ CPPFLAGS += -DPPC_NO_SEGMENTS
+ else
++ifeq ($(ARCH),arm)
++CC32 = $(CC)
++TMPLIB32 = lib
++ELF32 += armelf_linux_eabi
++CUSTOM_LDSCRIPTS = no
++else
+ ifeq ($(ARCH),armv7l)
+ CC32 = $(CC)
+ TMPLIB32 = lib
+@@ -116,6 +122,7 @@
+ endif
+ endif
+ endif
++endif
+ 
+ ifdef CC32
+ OBJDIRS += obj32
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb 
b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
index 5645add..879f2a0 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
@@ -14,11 +14,12 @@ SRC_URI = git://git.code.sf.net/p/libhugetlbfs/code \
 file://0001-aarch64-fix-cross-compilation.patch \
 file://0001-aarch64-fix-page-size-not-properly-computed.patch \
 file://0001-replace-lib-lib64-hardcoded-values-by-LIBDIR32-LIBDI.patch \
+file://arm32-support.patch \
 
 
 S = ${WORKDIR}/git
 
-COMPATIBLE_HOST = (x86_64|powerpc|powerpc64|aarch64).*-linux*
+COMPATIBLE_HOST = (x86_64|powerpc|powerpc64|aarch64|arm).*-linux*
 
 LIBARGS = LIB32=${baselib} LIB64=${baselib}
 EXTRA_OEMAKE = 'ARCH=${TARGET_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} 
V=1
-- 
1.9.2

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


[oe] [meta-networking][PATCH ] sethdlc: don't search host directories for header files

2014-04-16 Thread b40290
From: Chunrong Guo b40...@freescale.com

*The build process hard-codes searches of various directories
 in /usr/src/linux/include when looking for header files,
 delete this to avoid host contamination

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../sethdlc/files/fix-includedir.patch| 15 +++
 meta-networking/recipes-connectivity/sethdlc/sethdlc.bb   | 11 +++
 2 files changed, 18 insertions(+), 8 deletions(-)
 create mode 100644 
meta-networking/recipes-connectivity/sethdlc/files/fix-includedir.patch

diff --git 
a/meta-networking/recipes-connectivity/sethdlc/files/fix-includedir.patch 
b/meta-networking/recipes-connectivity/sethdlc/files/fix-includedir.patch
new file mode 100644
index 000..49d6d42
--- /dev/null
+++ b/meta-networking/recipes-connectivity/sethdlc/files/fix-includedir.patch
@@ -0,0 +1,15 @@
+--- a/Makefileold  2014-04-16 22:05:58.070199084 -0500
 b/Makefile 2014-04-16 22:06:27.153074058 -0500
+@@ -1,11 +1,10 @@
+ CC = gcc
+ CFLAGS = -O2 -Wall -W -Wno-long-long -pipe
+-INCLUDES = -I/usr/src/linux/include -I/usr/src/linux-2.6/include
+ 
+ all:  sethdlc
+ 
+ sethdlc:  sethdlc.c
+-  $(CC) $(CFLAGS) $(INCLUDES) -o $@ $
++  $(CC) $(CFLAGS)  -o $@ $
+ 
+ install:
+   install -C -p -s sethdlc /usr/local/sbin/
diff --git a/meta-networking/recipes-connectivity/sethdlc/sethdlc.bb 
b/meta-networking/recipes-connectivity/sethdlc/sethdlc.bb
index 3a9692f..3459a36 100644
--- a/meta-networking/recipes-connectivity/sethdlc/sethdlc.bb
+++ b/meta-networking/recipes-connectivity/sethdlc/sethdlc.bb
@@ -1,27 +1,22 @@
 DESCRIPTION = set Linux HDLC packet radio modem driver port information
 HOMEPAGE = https://www.kernel.org/pub/linux/utils/net/hdlc;
 LICENSE = GPLv2  GPLv2+ 
-LIC_FILES_CHKSUM = file://Makefile;md5=19aada31930b2be84bf7138420d77263
-
+LIC_FILES_CHKSUM = 
file://sethdlc.c;beginline=1;endline=10;md5=90f936879e9f8b755a138aeb348782eb
 
 SRC_URI = https://www.kernel.org/pub/linux/utils/net/hdlc/${BPN}-1.18.tar.gz \
+   file://fix-includedir.patch \
 
 SRC_URI[md5sum] = 9016878156a5eadb06c0bae71cc5c9ab
 SRC_URI[sha256sum] = 
21b1e2e1cb0e288b0ec8fcfd9fed449914e0f8e6fc273706bd5b3d4f6ab6b04e
 
-
 S = ${WORKDIR}/${BPN}-1.18
 
-DEPENDS=virtual/kernel
-
-EXTRA_OEMAKE=CROSS_COMPILE=${TARGET_PREFIX} CC='${CC} ${LDFLAGS}' \
-  KERNEL_DIR=${STAGING_KERNEL_DIR} 
+EXTRA_OEMAKE=CROSS_COMPILE=${TARGET_PREFIX} CC='${CC} ${LDFLAGS}' 
 
 do_compile_prepend () {
 oe_runmake clean
 }
 
-
 do_install() {
 install -d ${D}/${bindir}
 install sethdlc ${D}/${bindir}/
-- 
1.8.3.2


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


[oe] [meta-oe][PATCH] daq: update to 2.0.2

2014-03-28 Thread b40290
From: Chunrong Guo b40...@freescale.com

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 meta-oe/recipes-connectivity/daq/{daq_2.0.1.bb = daq_2.0.2.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-connectivity/daq/{daq_2.0.1.bb = daq_2.0.2.bb} (73%)

diff --git a/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb 
b/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb
similarity index 73%
rename from meta-oe/recipes-connectivity/daq/daq_2.0.1.bb
rename to meta-oe/recipes-connectivity/daq/daq_2.0.2.bb
index c12ccde..2675e2a 100644
--- a/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb
+++ b/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb
@@ -10,7 +10,7 @@ DEPENDS = libpcap libpcre 
 SRC_URI = http://fossies.org/linux/misc/daq-${PV}.tar.gz \
 file://disable-run-test-program-while-cross-compiling.patch 
 
-SRC_URI[md5sum] = 044aa3663d44580d005293eeb8ccf175
-SRC_URI[sha256sum] = 
ebba87c2ec76ac65d2980934423b0597909caead3a86ce5d1ba1ea6ce518ec6d
+SRC_URI[md5sum] = 865bf9b750a2a2ca632591a3c70b0ea0
+SRC_URI[sha256sum] = 
d65d1e67c4994e02c3142c49a648642e780b7e3d942b4a51f605309beac269a8
 
 inherit autotools
-- 
1.8.3.2


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


[oe] [meta-networking][PATCH ] sethdlc : add recipe

2014-03-20 Thread b40290
From: Chunrong Guo b40...@freescale.com

   * sethdlc: get/set Linux HDLC packet radio modem driver port information
   * sethdlc is  a  program designed to set and/or report the configuration
 information associated with a soundcard radio modem port. This information
 includes  the  modem type, what I/O port, IRQ and DMA channel a particular
 modem port is using, and where to output a transmitter  keying (PTT) 
signal.

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../recipes-connectivity/sethdlc/sethdlc.bb| 30 ++
 1 file changed, 30 insertions(+)
 create mode 100644 meta-networking/recipes-connectivity/sethdlc/sethdlc.bb

diff --git a/meta-networking/recipes-connectivity/sethdlc/sethdlc.bb 
b/meta-networking/recipes-connectivity/sethdlc/sethdlc.bb
new file mode 100644
index 000..3a9692f
--- /dev/null
+++ b/meta-networking/recipes-connectivity/sethdlc/sethdlc.bb
@@ -0,0 +1,30 @@
+DESCRIPTION = set Linux HDLC packet radio modem driver port information
+HOMEPAGE = https://www.kernel.org/pub/linux/utils/net/hdlc;
+LICENSE = GPLv2  GPLv2+ 
+LIC_FILES_CHKSUM = file://Makefile;md5=19aada31930b2be84bf7138420d77263
+
+
+SRC_URI = https://www.kernel.org/pub/linux/utils/net/hdlc/${BPN}-1.18.tar.gz \
+
+SRC_URI[md5sum] = 9016878156a5eadb06c0bae71cc5c9ab
+SRC_URI[sha256sum] = 
21b1e2e1cb0e288b0ec8fcfd9fed449914e0f8e6fc273706bd5b3d4f6ab6b04e
+
+
+S = ${WORKDIR}/${BPN}-1.18
+
+DEPENDS=virtual/kernel
+
+EXTRA_OEMAKE=CROSS_COMPILE=${TARGET_PREFIX} CC='${CC} ${LDFLAGS}' \
+  KERNEL_DIR=${STAGING_KERNEL_DIR} 
+
+do_compile_prepend () {
+oe_runmake clean
+}
+
+
+do_install() {
+install -d ${D}/${bindir}
+install sethdlc ${D}/${bindir}/
+}
+
+FILES_${PN} += ${bindir}/sethdlc
-- 
1.8.3.2


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


[oe] [meta-oe][PATCH] python-mako: remove

2014-01-15 Thread b40290
From: Chunrong Guo b40...@freescale.com

*This recipe is now back in OE-Core.

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../recipes-devtools/python/python-mako_0.7.2.bb   | 22 --
 1 file changed, 22 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/python/python-mako_0.7.2.bb

diff --git a/meta-oe/recipes-devtools/python/python-mako_0.7.2.bb 
b/meta-oe/recipes-devtools/python/python-mako_0.7.2.bb
deleted file mode 100644
index 1d2bdd7..000
--- a/meta-oe/recipes-devtools/python/python-mako_0.7.2.bb
+++ /dev/null
@@ -1,22 +0,0 @@
-DESCRIPTION = Templating library for Python
-SECTION = devel/python
-LICENSE = MIT
-LIC_FILES_CHKSUM = file://LICENSE;md5=da8dd26ed9751ee0cfdf9df1a16bbb54
-
-PR = r2
-
-SRC_URI = http://www.makotemplates.org/downloads/Mako-${PV}.tar.gz;
-SRC_URI[md5sum] = e3c0a677aa4216da9e89ef8fa76cbafb
-SRC_URI[sha256sum] = 
fe8698e845035586bd711a6748e4e40a208a58de276b9138026164700494b68f
-
-S = ${WORKDIR}/Mako-${PV}
-
-inherit setuptools
-
-RDEPENDS_${PN} = python-threading \
-  python-netclient \
-  python-html \
-
-RDEPENDS_${PN}_class-native = 
-
-BBCLASSEXTEND = native nativesdk
-- 
1.8.3.2


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


[oe] [meta-oe][PATCH] python-nose: remove

2014-01-15 Thread b40290
From: Chunrong Guo b40...@freescale.com

   *This recipe is now back in OE-Core.

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 meta-oe/recipes-devtools/python/python-nose_1.2.1.bb | 14 --
 1 file changed, 14 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/python/python-nose_1.2.1.bb

diff --git a/meta-oe/recipes-devtools/python/python-nose_1.2.1.bb 
b/meta-oe/recipes-devtools/python/python-nose_1.2.1.bb
deleted file mode 100644
index 083d052..000
--- a/meta-oe/recipes-devtools/python/python-nose_1.2.1.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-DESCRIPTION = nose extends the test loading and running features of unittest, 
\
-making it easier to write, find and run tests.
-SECTION = devel/python
-LICENSE = LGPLv2.1
-LIC_FILES_CHKSUM = file://lgpl.txt;md5=a6f89e2100d9b6cdffcea4f398e37343
-
-SRC_URI = http://pypi.python.org/packages/source/n/nose/nose-${PV}.tar.gz;
-
-SRC_URI[md5sum] = 735e3f1ce8b07e70ee1b742a8a53585a
-SRC_URI[sha256sum] = 
2171e9202d118d302d5db1decb52dd862b79e2a626ca19653a6914574a6ca7d9
-
-S = ${WORKDIR}/nose-${PV}
-
-inherit distutils
-- 
1.8.3.2


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


[oe] [meta-oe][PATCH] python-numpy :remove

2014-01-15 Thread b40290
From: Chunrong Guo b40...@freescale.com

   *This recipe is now back in OE-Core.

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../python/python-numpy/aarch64/_numpyconfig.h |  30 -
 .../python/python-numpy/aarch64/config.h   | 139 -
 .../python/python-numpy/arm/config.h   |  21 
 .../python/python-numpy/arm/numpyconfig.h  |  17 ---
 .../python/python-numpy/armeb/config.h |  21 
 .../python/python-numpy/armeb/numpyconfig.h|  17 ---
 .../python/python-numpy/i586/config.h  | 108 
 .../python/python-numpy/i586/numpyconfig.h |  24 
 .../python/python-numpy/mipsel/config.h|  21 
 .../python/python-numpy/mipsel/numpyconfig.h   |  17 ---
 .../python/python-numpy/powerpc/config.h   |  21 
 .../python/python-numpy/powerpc/numpyconfig.h  |  17 ---
 .../python/python-numpy/powerpc64/_numpyconfig.h   |  30 -
 .../python/python-numpy/powerpc64/config.h | 139 -
 .../python/python-numpy/trycompile.diff|  33 -
 .../python/python-numpy/unbreak-assumptions.diff   |  16 ---
 .../python/python-numpy/x86-64/_numpyconfig.h  |  30 -
 .../python/python-numpy/x86-64/config.h| 139 -
 .../recipes-devtools/python/python-numpy_1.7.0.bb  |  87 -
 19 files changed, 927 deletions(-)
 delete mode 100644 
meta-oe/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h
 delete mode 100644 
meta-oe/recipes-devtools/python/python-numpy/aarch64/config.h
 delete mode 100644 meta-oe/recipes-devtools/python/python-numpy/arm/config.h
 delete mode 100644 
meta-oe/recipes-devtools/python/python-numpy/arm/numpyconfig.h
 delete mode 100644 meta-oe/recipes-devtools/python/python-numpy/armeb/config.h
 delete mode 100644 
meta-oe/recipes-devtools/python/python-numpy/armeb/numpyconfig.h
 delete mode 100644 meta-oe/recipes-devtools/python/python-numpy/i586/config.h
 delete mode 100644 
meta-oe/recipes-devtools/python/python-numpy/i586/numpyconfig.h
 delete mode 100644 meta-oe/recipes-devtools/python/python-numpy/mipsel/config.h
 delete mode 100644 
meta-oe/recipes-devtools/python/python-numpy/mipsel/numpyconfig.h
 delete mode 100644 
meta-oe/recipes-devtools/python/python-numpy/powerpc/config.h
 delete mode 100644 
meta-oe/recipes-devtools/python/python-numpy/powerpc/numpyconfig.h
 delete mode 100644 
meta-oe/recipes-devtools/python/python-numpy/powerpc64/_numpyconfig.h
 delete mode 100644 
meta-oe/recipes-devtools/python/python-numpy/powerpc64/config.h
 delete mode 100644 meta-oe/recipes-devtools/python/python-numpy/trycompile.diff
 delete mode 100644 
meta-oe/recipes-devtools/python/python-numpy/unbreak-assumptions.diff
 delete mode 100644 
meta-oe/recipes-devtools/python/python-numpy/x86-64/_numpyconfig.h
 delete mode 100644 meta-oe/recipes-devtools/python/python-numpy/x86-64/config.h
 delete mode 100644 meta-oe/recipes-devtools/python/python-numpy_1.7.0.bb

diff --git 
a/meta-oe/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h 
b/meta-oe/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h
deleted file mode 100644
index be57ac2..000
--- a/meta-oe/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h
+++ /dev/null
@@ -1,30 +0,0 @@
-#define NPY_HAVE_ENDIAN_H 1
-#define NPY_SIZEOF_SHORT SIZEOF_SHORT
-#define NPY_SIZEOF_INT SIZEOF_INT
-#define NPY_SIZEOF_LONG SIZEOF_LONG
-#define NPY_SIZEOF_FLOAT 4
-#define NPY_SIZEOF_COMPLEX_FLOAT 8
-#define NPY_SIZEOF_DOUBLE 8
-#define NPY_SIZEOF_COMPLEX_DOUBLE 16
-#define NPY_SIZEOF_LONGDOUBLE 16
-#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32
-#define NPY_SIZEOF_PY_INTPTR_T 8
-#define NPY_SIZEOF_PY_LONG_LONG 8
-#define NPY_SIZEOF_LONGLONG 8
-#define NPY_NO_SMP 0
-#define NPY_HAVE_DECL_ISNAN
-#define NPY_HAVE_DECL_ISINF
-#define NPY_HAVE_DECL_ISFINITE
-#define NPY_HAVE_DECL_SIGNBIT
-#define NPY_USE_C99_COMPLEX 1
-#define NPY_HAVE_COMPLEX_DOUBLE 1
-#define NPY_HAVE_COMPLEX_FLOAT 1
-#define NPY_HAVE_COMPLEX_LONG_DOUBLE 1
-#define NPY_USE_C99_FORMATS 1
-#define NPY_VISIBILITY_HIDDEN __attribute__((visibility(hidden)))
-#define NPY_ABI_VERSION 0x0109
-#define NPY_API_VERSION 0x0007
-
-#ifndef __STDC_FORMAT_MACROS
-#define __STDC_FORMAT_MACROS 1
-#endif
diff --git a/meta-oe/recipes-devtools/python/python-numpy/aarch64/config.h 
b/meta-oe/recipes-devtools/python/python-numpy/aarch64/config.h
deleted file mode 100644
index c30b868..000
--- a/meta-oe/recipes-devtools/python/python-numpy/aarch64/config.h
+++ /dev/null
@@ -1,139 +0,0 @@
-#define HAVE_ENDIAN_H 1
-#define SIZEOF_PY_INTPTR_T 8
-#define SIZEOF_PY_LONG_LONG 8
-#define MATHLIB m
-#define HAVE_SIN 1
-#define HAVE_COS 1
-#define HAVE_TAN 1
-#define HAVE_SINH 1
-#define HAVE_COSH 1
-#define HAVE_TANH 1
-#define HAVE_FABS 1
-#define HAVE_FLOOR 1
-#define HAVE_CEIL 1
-#define HAVE_SQRT 1
-#define HAVE_LOG10 1
-#define HAVE_LOG 1
-#define HAVE_EXP 1
-#define HAVE_ASIN 1

[oe] [meta-oe][PATCH] piglit: remove

2014-01-15 Thread b40290
From: Chunrong Guo b40...@freescale.com

  *This recipe is now back in OE-Core.

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 meta-oe/recipes-graphics/piglit/piglit_git.bb | 44 ---
 1 file changed, 44 deletions(-)
 delete mode 100644 meta-oe/recipes-graphics/piglit/piglit_git.bb

diff --git a/meta-oe/recipes-graphics/piglit/piglit_git.bb 
b/meta-oe/recipes-graphics/piglit/piglit_git.bb
deleted file mode 100644
index 7c4f9a0..000
--- a/meta-oe/recipes-graphics/piglit/piglit_git.bb
+++ /dev/null
@@ -1,44 +0,0 @@
-SUMMARY = OpenGL driver testing framework
-LICENSE = MIT  LGPLv2+  GPLv3  GPLv2+  BSD-3-Clause
-LIC_FILES_CHKSUM = file://COPYING;md5=b2beded7103a3d8a442a2a0391d607b0
-
-SRC_URI = git://anongit.freedesktop.org/piglit
-
-# From 2012/12/30.
-SRCREV = bbeff5d21b06d37338ad28e42d88f499bef13268
-# (when PV goes above 1.0 remove the trailing r)
-PV = 1.0+gitr${SRCPV}
-
-S = ${WORKDIR}/git
-
-DEPENDS = virtual/libx11 waffle virtual/libgl libglu python-mako-native 
python-numpy-native
-
-inherit cmake pythonnative
-
-# CMake sets the rpath at build time with the source tree, and will reset it at
-# install time. As we don't install this doesn't happen, so force the rpath to
-# what we need.
-EXTRA_OECMAKE = -DCMAKE_BUILD_WITH_INSTALL_RPATH=1 
-DCMAKE_INSTALL_RPATH=${libdir}/piglit/lib
-
-do_install() {
-   install -d ${D}${bindir}
-install -m 0755 piglit-*.py ${D}${bindir}
-
-install -d ${D}${libdir}/piglit/
-
-install -d ${D}${libdir}/piglit/bin
-install -m 755 ${S}/bin/* ${D}${libdir}/piglit/bin
-
-cp -a lib/ ${D}${libdir}/piglit/
-cp -a framework/ ${D}${libdir}/piglit/
-cp -a generated_tests/ ${D}${libdir}/piglit/
-cp -a tests/ ${D}${libdir}/piglit/
-cp -a templates/ ${D}${libdir}/piglit/
-
-sed -i -e 's|sys.path.append(.*)|sys.path.append(${libdir}/piglit)|' 
${D}${bindir}/piglit-*.py
-sed -i -e 's|^templatedir = .*$|templatedir = 
${libdir}/piglit/templates|' ${D}${bindir}/piglit-summary-html.py
-}
-
-FILES_${PN}-dbg += ${libdir}/piglit/*/.debug/
-
-RDEPENDS_${PN} = python waffle python-json python-subprocess 
python-multiprocessing python-textutils python-netserver python-shell 
mesa-demos
-- 
1.8.3.2


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


[oe] [meta-oe][PATCH] python-mako: fix SRC_URI

2014-01-14 Thread b40290
From: Chunrong Guo b40...@freescale.com

   The package is no longer available in the
   official Mako site, so download it from a mirror.

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 meta-oe/recipes-devtools/python/python-mako_0.7.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/python/python-mako_0.7.2.bb 
b/meta-oe/recipes-devtools/python/python-mako_0.7.2.bb
index 1d2bdd7..6993a3f 100644
--- a/meta-oe/recipes-devtools/python/python-mako_0.7.2.bb
+++ b/meta-oe/recipes-devtools/python/python-mako_0.7.2.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = 
file://LICENSE;md5=da8dd26ed9751ee0cfdf9df1a16bbb54
 
 PR = r2
 
-SRC_URI = http://www.makotemplates.org/downloads/Mako-${PV}.tar.gz;
+SRC_URI = https://pypi.python.org/packages/source/M/Mako/Mako-${PV}.tar.gz;
 SRC_URI[md5sum] = e3c0a677aa4216da9e89ef8fa76cbafb
 SRC_URI[sha256sum] = 
fe8698e845035586bd711a6748e4e40a208a58de276b9138026164700494b68f
 
-- 
1.8.3.2


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


[oe] [meta-networking][PATCH v3 2/3] barnyard2: add recipe

2013-11-03 Thread b40290
From: Chunrong Guo b40...@freescale.com

  *Barnyard2 is a output system for Snort

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../barnyard2-1.8/barnyard2-cross-fix.patch|   21 
 .../barnyard2/barnyard2_1.8.bb |   18 +
 2 files changed, 39 insertions(+), 0 deletions(-)
 create mode 100644 
meta-networking/recipes-connectivity/barnyard2/barnyard2-1.8/barnyard2-cross-fix.patch
 create mode 100644 
meta-networking/recipes-connectivity/barnyard2/barnyard2_1.8.bb

diff --git 
a/meta-networking/recipes-connectivity/barnyard2/barnyard2-1.8/barnyard2-cross-fix.patch
 
b/meta-networking/recipes-connectivity/barnyard2/barnyard2-1.8/barnyard2-cross-fix.patch
new file mode 100644
index 000..0e94598
--- /dev/null
+++ 
b/meta-networking/recipes-connectivity/barnyard2/barnyard2-1.8/barnyard2-cross-fix.patch
@@ -0,0 +1,21 @@
+Index: barnyard2-1.8/configure.in
+===
+--- barnyard2-1.8.orig/configure.in2010-08-03 15:12:06.0 +0400
 barnyard2-1.8/configure.in 2010-08-03 15:13:46.0 +0400
+@@ -73,7 +73,6 @@
+ # libpcap doesn't even LOOK at the timeout you give it under Linux
+ AC_DEFINE([PCAP_TIMEOUT_IGNORED],[1],[Define if pcap timeout is ignored])
+ AC_SUBST(extra_incl)
+-extra_incl=-I/usr/include/pcap
+ ;;
+   *-hpux10*|*-hpux11*)
+ AC_DEFINE([HPUX],[1],[Define if HP-UX 10 or 11])
+@@ -230,7 +229,7 @@
+ # In case INADDR_NONE is not defined (like on Solaris)
+ have_inaddr_none=no
+ AC_MSG_CHECKING([for INADDR_NONE])
+-AC_RUN_IFELSE(
++AC_COMPILE_IFELSE(
+ [AC_LANG_PROGRAM(
+ [[
+ #include sys/types.h
diff --git a/meta-networking/recipes-connectivity/barnyard2/barnyard2_1.8.bb 
b/meta-networking/recipes-connectivity/barnyard2/barnyard2_1.8.bb
new file mode 100644
index 000..14acdac
--- /dev/null
+++ b/meta-networking/recipes-connectivity/barnyard2/barnyard2_1.8.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = Barnyard2 is a fork of the original barnyard project, designed 
specifically for Snort's new unified2 file format
+HOMEPAGE = http://www.securixlive.com/barnyard2/;
+LICENSE = GPLv2
+LIC_FILES_CHKSUM = file://LICENSE;md5=751419260aa954499f7abaabaa882bbe
+DEPENDS = libpcap
+
+SRC_URI =  \
+   http://www.securixlive.com/download/barnyard2/${BP}.tar.gz \
+   file://barnyard2-cross-fix.patch \
+   
+SRC_URI[md5sum] = 72fc6c490db6ea6a0f46c27d24998067
+SRC_URI[sha256sum] = 
1abfe6530d721debd98921421722b02c844c289564730b1e85729e4915b2bb7a
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = --enable-prelude --enable-gre --without-mysql
+
+CONFFILES_${PN} = ${sysconfdir}/barnyard2.conf
-- 
1.7.5.4


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


[oe] [meta-networking][PATCH v3 3/3] libdnet: add recipe

2013-11-03 Thread b40290
From: Chunrong Guo b40...@freescale.com

   *dumb networking library
   *snort depends libdnet

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../recipes-connectivity/libdnet/libdnet_1.12.bb   |   14 ++
 1 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb

diff --git a/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb 
b/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
new file mode 100644
index 000..40b5758
--- /dev/null
+++ b/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
@@ -0,0 +1,14 @@
+DESCRIPTION = dumb networking library
+HOMEPAGE = http://code.google.com/p/libdnet/;
+LICENSE = BSD
+LIC_FILES_CHKSUM = file://LICENSE;md5=0036c1b155f4e999f3e0a373490b5db9
+
+SRC_URI = http://libdnet.googlecode.com/files/libdnet-${PV}.tgz;
+
+SRC_URI[md5sum] = 9253ef6de1b5e28e9c9a62b882e44cc9
+SRC_URI[sha256sum] = 
83b33039787cf0e977cef7f18a5d5e7aaffc4505548a83d31bd3515eb026
+
+inherit autotools 
+
+acpaths = -I ./config/
+
-- 
1.7.5.4


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


[oe] [meta-oe][PATCH v3 1/3 ] snort: add recipe

2013-11-01 Thread b40290
From: Chunrong Guo b40...@freescale.com

   *snort - a free lightweight network intrusion detection
 system for UNIX and Windows

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../snort/files/disable-dap-address-space-id.patch |   52 +
 .../snort/files/disable-inaddr-none.patch  |   75 ++
 .../recipes-connectivity/snort/files/snort.init|  109 
 .../recipes-connectivity/snort/snort_2.9.4.6.bb|   71 +
 4 files changed, 307 insertions(+), 0 deletions(-)
 create mode 100644 
meta-networking/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
 create mode 100644 
meta-networking/recipes-connectivity/snort/files/disable-inaddr-none.patch
 create mode 100644 meta-networking/recipes-connectivity/snort/files/snort.init
 create mode 100644 meta-networking/recipes-connectivity/snort/snort_2.9.4.6.bb

diff --git 
a/meta-networking/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
 
b/meta-networking/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
new file mode 100644
index 000..39e5c9c
--- /dev/null
+++ 
b/meta-networking/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
@@ -0,0 +1,52 @@
+Upstream-Status:Inappropriate [embedded specific]
+
+fix the below error:
+checking for dap address space id... configure: 
+configure: error: cannot run test program while cross compiling
+
+
+Signed-off-by: Chunrong Guo b40...@freescale.com
+
+--- a/configure.in 2013-08-23 00:06:37.239361932 -0500
 b/configure.in 2013-08-23 00:07:32.860266534 -0500
+@@ -679,23 +679,23 @@
+ 
+ AC_CHECK_FUNCS([daq_hup_apply] [daq_acquire_with_meta])
+ 
+-AC_MSG_CHECKING([for daq address space ID])
+-AC_RUN_IFELSE(
+-[AC_LANG_PROGRAM(
+-[[
+-#include daq.h
+-]],
+-[[
+-   DAQ_PktHdr_t hdr;
+-   hdr.address_space_id = 0;
+-]])],
+-[have_daq_address_space_id=yes],
+-[have_daq_address_space_id=no])
+-AC_MSG_RESULT($have_daq_address_space_id)
+-if test x$have_daq_address_space_id = xyes; then
+-AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1],
+-[DAQ version supports address space ID in header.])
+-fi
++#AC_MSG_CHECKING([for daq address space ID])
++#AC_RUN_IFELSE(
++#[AC_LANG_PROGRAM(
++#[[
++##include daq.h
++#]],
++#[[
++#   DAQ_PktHdr_t hdr;
++#   hdr.address_space_id = 0;
++#]])],
++have_daq_address_space_id=yes
++#[have_daq_address_space_id=no])
++#AC_MSG_RESULT($have_daq_address_space_id)
++#if test x$have_daq_address_space_id = xyes; then
++#AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1],
++#[DAQ version supports address space ID in header.])
++#fi
+ 
+ # any sparc platform has to have this one defined.
+ AC_MSG_CHECKING(for sparc)
diff --git 
a/meta-networking/recipes-connectivity/snort/files/disable-inaddr-none.patch 
b/meta-networking/recipes-connectivity/snort/files/disable-inaddr-none.patch
new file mode 100644
index 000..9dafe63
--- /dev/null
+++ b/meta-networking/recipes-connectivity/snort/files/disable-inaddr-none.patch
@@ -0,0 +1,75 @@
+Upstream-Status: Inappropriate [embedded specific]
+
+fix the below error:
+checking for INADDR_NONE... configure:
+configure: error: cannot run test program while cross compiling
+
+Signed-off-by: Chunrong Guo b40...@freescale.com
+
+
+--- a/configure.in 2013-08-21 03:56:17.197414789 -0500
 b/configure.in 2013-08-21 23:19:05.298553560 -0500
+@@ -281,25 +281,7 @@
+ AC_CHECK_TYPES([boolean])
+ 
+ # In case INADDR_NONE is not defined (like on Solaris)
+-have_inaddr_none=no
+-AC_MSG_CHECKING([for INADDR_NONE])
+-AC_RUN_IFELSE(
+-[AC_LANG_PROGRAM(
+-[[
+-#include sys/types.h
+-#include netinet/in.h
+-#include arpa/inet.h
+-]],
+-[[
+-  if (inet_addr(10,5,2) == INADDR_NONE);
+-return 0;
+-]])],
+-[have_inaddr_none=yes],
+-[have_inaddr_none=no])
+-AC_MSG_RESULT($have_inaddr_none)
+-if test x$have_inaddr_none = xno; then
+-  AC_DEFINE([INADDR_NONE],[-1],[For INADDR_NONE definition])
+-fi
++have_inaddr_none=yes
+ 
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+ #include stdio.h
+@@ -397,21 +379,21 @@
+   fi
+ fi
+ 
+-AC_MSG_CHECKING([for pcap_lex_destroy])
+-AC_RUN_IFELSE(
+-[AC_LANG_PROGRAM(
+-[[
+-#include pcap.h
+-]],
+-[[
+-   pcap_lex_destroy();
+-]])],
+-[have_pcap_lex_destroy=yes],
+-[have_pcap_lex_destroy=no])
+-AC_MSG_RESULT($have_pcap_lex_destroy)
+-if test x$have_pcap_lex_destroy = xyes; then
+-AC_DEFINE([HAVE_PCAP_LEX_DESTROY],[1],[Can cleanup lex buffer stack 
created by pcap bpf filter])
+-fi
++#AC_MSG_CHECKING([for pcap_lex_destroy])
++#AC_RUN_IFELSE(
++#[AC_LANG_PROGRAM(
++#[[
++##include pcap.h
++#]],
++#[[
++#   pcap_lex_destroy();
++#]])],
++have_pcap_lex_destroy=yes
++#[have_pcap_lex_destroy=no])
++#AC_MSG_RESULT($have_pcap_lex_destroy)
++#if test x$have_pcap_lex_destroy = xyes; then
++#AC_DEFINE([HAVE_PCAP_LEX_DESTROY],[1],[Can cleanup lex buffer stack 
created by pcap bpf filter])
++#fi
+ 
+ AC_MSG_CHECKING([for pcap_lib_version])
+ AC_LINK_IFELSE(
diff --git 

[oe] [meta-oe][PATCH v3 2/3 ] barnyard2: add recipe

2013-11-01 Thread b40290
From: Chunrong Guo b40...@freescale.com

*Barnyard2 is a output system for Snort

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../barnyard2-1.8/barnyard2-cross-fix.patch|   21 
 .../barnyard2/barnyard2_1.8.bb |   18 +
 2 files changed, 39 insertions(+), 0 deletions(-)
 create mode 100644 
meta-networking/recipes-connectivity/barnyard2/barnyard2-1.8/barnyard2-cross-fix.patch
 create mode 100644 
meta-networking/recipes-connectivity/barnyard2/barnyard2_1.8.bb

diff --git 
a/meta-networking/recipes-connectivity/barnyard2/barnyard2-1.8/barnyard2-cross-fix.patch
 
b/meta-networking/recipes-connectivity/barnyard2/barnyard2-1.8/barnyard2-cross-fix.patch
new file mode 100644
index 000..0e94598
--- /dev/null
+++ 
b/meta-networking/recipes-connectivity/barnyard2/barnyard2-1.8/barnyard2-cross-fix.patch
@@ -0,0 +1,21 @@
+Index: barnyard2-1.8/configure.in
+===
+--- barnyard2-1.8.orig/configure.in2010-08-03 15:12:06.0 +0400
 barnyard2-1.8/configure.in 2010-08-03 15:13:46.0 +0400
+@@ -73,7 +73,6 @@
+ # libpcap doesn't even LOOK at the timeout you give it under Linux
+ AC_DEFINE([PCAP_TIMEOUT_IGNORED],[1],[Define if pcap timeout is ignored])
+ AC_SUBST(extra_incl)
+-extra_incl=-I/usr/include/pcap
+ ;;
+   *-hpux10*|*-hpux11*)
+ AC_DEFINE([HPUX],[1],[Define if HP-UX 10 or 11])
+@@ -230,7 +229,7 @@
+ # In case INADDR_NONE is not defined (like on Solaris)
+ have_inaddr_none=no
+ AC_MSG_CHECKING([for INADDR_NONE])
+-AC_RUN_IFELSE(
++AC_COMPILE_IFELSE(
+ [AC_LANG_PROGRAM(
+ [[
+ #include sys/types.h
diff --git a/meta-networking/recipes-connectivity/barnyard2/barnyard2_1.8.bb 
b/meta-networking/recipes-connectivity/barnyard2/barnyard2_1.8.bb
new file mode 100644
index 000..14acdac
--- /dev/null
+++ b/meta-networking/recipes-connectivity/barnyard2/barnyard2_1.8.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = Barnyard2 is a fork of the original barnyard project, designed 
specifically for Snort's new unified2 file format
+HOMEPAGE = http://www.securixlive.com/barnyard2/;
+LICENSE = GPLv2
+LIC_FILES_CHKSUM = file://LICENSE;md5=751419260aa954499f7abaabaa882bbe
+DEPENDS = libpcap
+
+SRC_URI =  \
+   http://www.securixlive.com/download/barnyard2/${BP}.tar.gz \
+   file://barnyard2-cross-fix.patch \
+   
+SRC_URI[md5sum] = 72fc6c490db6ea6a0f46c27d24998067
+SRC_URI[sha256sum] = 
1abfe6530d721debd98921421722b02c844c289564730b1e85729e4915b2bb7a
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = --enable-prelude --enable-gre --without-mysql
+
+CONFFILES_${PN} = ${sysconfdir}/barnyard2.conf
-- 
1.7.5.4


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


[oe] [meta-oe][PATCH v3 3/3 ] libdnet: add recipe

2013-11-01 Thread b40290
From: Chunrong Guo b40...@freescale.com

*dumb networking library
*snort depends libdnet

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../recipes-connectivity/libdnet/libdnet_1.12.bb   |   14 ++
 1 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb

diff --git a/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb 
b/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
new file mode 100644
index 000..40b5758
--- /dev/null
+++ b/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
@@ -0,0 +1,14 @@
+DESCRIPTION = dumb networking library
+HOMEPAGE = http://code.google.com/p/libdnet/;
+LICENSE = BSD
+LIC_FILES_CHKSUM = file://LICENSE;md5=0036c1b155f4e999f3e0a373490b5db9
+
+SRC_URI = http://libdnet.googlecode.com/files/libdnet-${PV}.tgz;
+
+SRC_URI[md5sum] = 9253ef6de1b5e28e9c9a62b882e44cc9
+SRC_URI[sha256sum] = 
83b33039787cf0e977cef7f18a5d5e7aaffc4505548a83d31bd3515eb026
+
+inherit autotools 
+
+acpaths = -I ./config/
+
-- 
1.7.5.4


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


Re: [oe] [meta-networking][PATCH v2 1/3] snort : add recipe

2013-10-29 Thread Guo Chunrong-B40290
Hi, Joe MacDonald

Thank you for your comments.

The current snort simply do not need sysvinit config.


Thanks,
Chunrong

-Original Message-
From: Joe MacDonald [mailto:j...@deserted.net] 
Sent: Wednesday, October 30, 2013 3:20 AM
To: openembedded-devel@lists.openembedded.org
Cc: Guo Chunrong-B40290
Subject: Re: [oe] [meta-networking][PATCH v2 1/3] snort : add recipe

Hi Chunrong,

Sorry about the confusion here, there were still at least a couple of 
outstanding questions / requests, I thought.

I had a quick look back at the latest barnyard recipe and it appears to be 
removing the include path as opposed to using -I=/usr/include/pcap that Khem 
suggested, I was hoping to hear back on the question I had as well WRT barnyard 
versus barnyard2 (I could make the license tweak myself since I'm confident 
that won't invalidate any of your work) and the Gentoo mirror as the primary 
source for this version of Barnyard.

I also noticed that in the most recent version of the snort recipe the sysvinit 
components have been dropped entirely.  Was that due to problems inheriting 
update-rc.d as Koen suggested?  (Or perhaps the current snort simply doesn't 
have a functional sysvinit config?  I hope that's not the case.)  I'm probably 
not the only one still making use of sysvinit stuff in some scenarios.  :-)

-J.

[Re: [oe] [meta-networking][PATCH v2 1/3] snort : add recipe] On 13.10.28 (Mon 
02:23) Guo Chunrong-B40290 wrote:

 pings
 
 -Original Message-
 From: Guo Chunrong-B40290
 Sent: Friday, October 18, 2013 4:22 PM
 To: openembedded-devel@lists.openembedded.org
 Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Guo Chunrong-B40290
 Subject: [meta-networking][PATCH v2 1/3] snort : add recipe
 
 From: Chunrong Guo b40...@freescale.com
 
*snort - a free lightweight network intrusion detection
 system for UNIX and Windows
 
 Signed-off-by: Chunrong Guo b40...@freescale.com
 ---
  .../snort/files/disable-dap-address-space-id.patch |   52 ++
  .../snort/files/disable-inaddr-none.patch  |   75 
 
  .../recipes-connectivity/snort/snort_2.9.4.6.bb|   64 +
  3 files changed, 191 insertions(+), 0 deletions(-)  create mode 
 100644 
 meta-networking/recipes-connectivity/snort/files/disable-dap-address-s
 pace-id.patch  create mode 100644 
 meta-networking/recipes-connectivity/snort/files/disable-inaddr-none.p
 atch  create mode 100644 
 meta-networking/recipes-connectivity/snort/snort_2.9.4.6.bb
 
 diff --git 
 a/meta-networking/recipes-connectivity/snort/files/disable-dap-address
 -space-id.patch 
 b/meta-networking/recipes-connectivity/snort/files/disable-dap-address
 -space-id.patch
 new file mode 100644
 index 000..39e5c9c
 --- /dev/null
 +++ b/meta-networking/recipes-connectivity/snort/files/disable-dap-add
 +++ re
 +++ ss-space-id.patch
 @@ -0,0 +1,52 @@
 +Upstream-Status:Inappropriate [embedded specific]
 +
 +fix the below error:
 +checking for dap address space id... configure: 
 +configure: error: cannot run test program while cross compiling
 +
 +
 +Signed-off-by: Chunrong Guo b40...@freescale.com
 +
 +--- a/configure.in   2013-08-23 00:06:37.239361932 -0500
  b/configure.in   2013-08-23 00:07:32.860266534 -0500
 +@@ -679,23 +679,23 @@
 + 
 + AC_CHECK_FUNCS([daq_hup_apply] [daq_acquire_with_meta])
 + 
 +-AC_MSG_CHECKING([for daq address space ID]) -AC_RUN_IFELSE( 
 +-[AC_LANG_PROGRAM( -[[ -#include daq.h -]], -[[
 +-   DAQ_PktHdr_t hdr;
 +-   hdr.address_space_id = 0;
 +-]])],
 +-[have_daq_address_space_id=yes],
 +-[have_daq_address_space_id=no])
 +-AC_MSG_RESULT($have_daq_address_space_id)
 +-if test x$have_daq_address_space_id = xyes; then
 +-AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1],
 +-[DAQ version supports address space ID in header.])
 +-fi
 ++#AC_MSG_CHECKING([for daq address space ID]) #AC_RUN_IFELSE( 
 ++#[AC_LANG_PROGRAM( #[[ ##include daq.h #]], #[[
 ++#   DAQ_PktHdr_t hdr;
 ++#   hdr.address_space_id = 0;
 ++#]])],
 ++have_daq_address_space_id=yes
 ++#[have_daq_address_space_id=no])
 ++#AC_MSG_RESULT($have_daq_address_space_id)
 ++#if test x$have_daq_address_space_id = xyes; then
 ++#AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1],
 ++#[DAQ version supports address space ID in header.])
 ++#fi
 + 
 + # any sparc platform has to have this one defined.
 + AC_MSG_CHECKING(for sparc)
 diff --git 
 a/meta-networking/recipes-connectivity/snort/files/disable-inaddr-none
 .patch 
 b/meta-networking/recipes-connectivity/snort/files/disable-inaddr-none
 .patch
 new file mode 100644
 index 000..9dafe63
 --- /dev/null
 +++ b/meta-networking/recipes-connectivity/snort/files/disable-inaddr-
 +++ no
 +++ ne.patch
 @@ -0,0 +1,75 @@
 +Upstream-Status: Inappropriate [embedded specific]
 +
 +fix the below error:
 +checking for INADDR_NONE... configure:
 +configure: error: cannot run test program while cross compiling
 +
 +Signed-off-by: Chunrong Guo b40...@freescale.com
 +
 +
 +--- a/configure.in

Re: [oe] [meta-networking][PATCH v2 1/3] snort : add recipe

2013-10-27 Thread Guo Chunrong-B40290
pings

-Original Message-
From: Guo Chunrong-B40290 
Sent: Friday, October 18, 2013 4:22 PM
To: openembedded-devel@lists.openembedded.org
Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Guo Chunrong-B40290
Subject: [meta-networking][PATCH v2 1/3] snort : add recipe

From: Chunrong Guo b40...@freescale.com

   *snort - a free lightweight network intrusion detection
system for UNIX and Windows

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../snort/files/disable-dap-address-space-id.patch |   52 ++
 .../snort/files/disable-inaddr-none.patch  |   75 
 .../recipes-connectivity/snort/snort_2.9.4.6.bb|   64 +
 3 files changed, 191 insertions(+), 0 deletions(-)  create mode 100644 
meta-networking/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
 create mode 100644 
meta-networking/recipes-connectivity/snort/files/disable-inaddr-none.patch
 create mode 100644 meta-networking/recipes-connectivity/snort/snort_2.9.4.6.bb

diff --git 
a/meta-networking/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
 
b/meta-networking/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
new file mode 100644
index 000..39e5c9c
--- /dev/null
+++ b/meta-networking/recipes-connectivity/snort/files/disable-dap-addre
+++ ss-space-id.patch
@@ -0,0 +1,52 @@
+Upstream-Status:Inappropriate [embedded specific]
+
+fix the below error:
+checking for dap address space id... configure: 
+configure: error: cannot run test program while cross compiling
+
+
+Signed-off-by: Chunrong Guo b40...@freescale.com
+
+--- a/configure.in 2013-08-23 00:06:37.239361932 -0500
 b/configure.in 2013-08-23 00:07:32.860266534 -0500
+@@ -679,23 +679,23 @@
+ 
+ AC_CHECK_FUNCS([daq_hup_apply] [daq_acquire_with_meta])
+ 
+-AC_MSG_CHECKING([for daq address space ID]) -AC_RUN_IFELSE( 
+-[AC_LANG_PROGRAM( -[[ -#include daq.h -]], -[[
+-   DAQ_PktHdr_t hdr;
+-   hdr.address_space_id = 0;
+-]])],
+-[have_daq_address_space_id=yes],
+-[have_daq_address_space_id=no])
+-AC_MSG_RESULT($have_daq_address_space_id)
+-if test x$have_daq_address_space_id = xyes; then
+-AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1],
+-[DAQ version supports address space ID in header.])
+-fi
++#AC_MSG_CHECKING([for daq address space ID]) #AC_RUN_IFELSE( 
++#[AC_LANG_PROGRAM( #[[ ##include daq.h #]], #[[
++#   DAQ_PktHdr_t hdr;
++#   hdr.address_space_id = 0;
++#]])],
++have_daq_address_space_id=yes
++#[have_daq_address_space_id=no])
++#AC_MSG_RESULT($have_daq_address_space_id)
++#if test x$have_daq_address_space_id = xyes; then
++#AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1],
++#[DAQ version supports address space ID in header.])
++#fi
+ 
+ # any sparc platform has to have this one defined.
+ AC_MSG_CHECKING(for sparc)
diff --git 
a/meta-networking/recipes-connectivity/snort/files/disable-inaddr-none.patch 
b/meta-networking/recipes-connectivity/snort/files/disable-inaddr-none.patch
new file mode 100644
index 000..9dafe63
--- /dev/null
+++ b/meta-networking/recipes-connectivity/snort/files/disable-inaddr-no
+++ ne.patch
@@ -0,0 +1,75 @@
+Upstream-Status: Inappropriate [embedded specific]
+
+fix the below error:
+checking for INADDR_NONE... configure:
+configure: error: cannot run test program while cross compiling
+
+Signed-off-by: Chunrong Guo b40...@freescale.com
+
+
+--- a/configure.in 2013-08-21 03:56:17.197414789 -0500
 b/configure.in 2013-08-21 23:19:05.298553560 -0500
+@@ -281,25 +281,7 @@
+ AC_CHECK_TYPES([boolean])
+ 
+ # In case INADDR_NONE is not defined (like on Solaris) 
+-have_inaddr_none=no
+-AC_MSG_CHECKING([for INADDR_NONE])
+-AC_RUN_IFELSE(
+-[AC_LANG_PROGRAM(
+-[[
+-#include sys/types.h
+-#include netinet/in.h
+-#include arpa/inet.h
+-]],
+-[[
+-  if (inet_addr(10,5,2) == INADDR_NONE);
+-return 0;
+-]])],
+-[have_inaddr_none=yes],
+-[have_inaddr_none=no])
+-AC_MSG_RESULT($have_inaddr_none)
+-if test x$have_inaddr_none = xno; then
+-  AC_DEFINE([INADDR_NONE],[-1],[For INADDR_NONE definition])
+-fi
++have_inaddr_none=yes
+ 
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+ #include stdio.h
+@@ -397,21 +379,21 @@
+   fi
+ fi
+ 
+-AC_MSG_CHECKING([for pcap_lex_destroy]) -AC_RUN_IFELSE( 
+-[AC_LANG_PROGRAM( -[[ -#include pcap.h -]], -[[
+-   pcap_lex_destroy();
+-]])],
+-[have_pcap_lex_destroy=yes],
+-[have_pcap_lex_destroy=no])
+-AC_MSG_RESULT($have_pcap_lex_destroy)
+-if test x$have_pcap_lex_destroy = xyes; then
+-AC_DEFINE([HAVE_PCAP_LEX_DESTROY],[1],[Can cleanup lex buffer stack 
created by pcap bpf filter])
+-fi
++#AC_MSG_CHECKING([for pcap_lex_destroy]) #AC_RUN_IFELSE( 
++#[AC_LANG_PROGRAM( #[[ ##include pcap.h #]], #[[
++#   pcap_lex_destroy();
++#]])],
++have_pcap_lex_destroy=yes
++#[have_pcap_lex_destroy=no])
++#AC_MSG_RESULT($have_pcap_lex_destroy)
++#if test x$have_pcap_lex_destroy = xyes; then
++#AC_DEFINE([HAVE_PCAP_LEX_DESTROY],[1],[Can cleanup lex buffer stack 
created by pcap

[oe] [meta-networking][PATCH v2 1/3] snort : add recipe

2013-10-18 Thread b40290
From: Chunrong Guo b40...@freescale.com

   *snort - a free lightweight network intrusion detection
system for UNIX and Windows

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../snort/files/disable-dap-address-space-id.patch |   52 ++
 .../snort/files/disable-inaddr-none.patch  |   75 
 .../recipes-connectivity/snort/snort_2.9.4.6.bb|   64 +
 3 files changed, 191 insertions(+), 0 deletions(-)
 create mode 100644 
meta-networking/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
 create mode 100644 
meta-networking/recipes-connectivity/snort/files/disable-inaddr-none.patch
 create mode 100644 meta-networking/recipes-connectivity/snort/snort_2.9.4.6.bb

diff --git 
a/meta-networking/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
 
b/meta-networking/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
new file mode 100644
index 000..39e5c9c
--- /dev/null
+++ 
b/meta-networking/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
@@ -0,0 +1,52 @@
+Upstream-Status:Inappropriate [embedded specific]
+
+fix the below error:
+checking for dap address space id... configure: 
+configure: error: cannot run test program while cross compiling
+
+
+Signed-off-by: Chunrong Guo b40...@freescale.com
+
+--- a/configure.in 2013-08-23 00:06:37.239361932 -0500
 b/configure.in 2013-08-23 00:07:32.860266534 -0500
+@@ -679,23 +679,23 @@
+ 
+ AC_CHECK_FUNCS([daq_hup_apply] [daq_acquire_with_meta])
+ 
+-AC_MSG_CHECKING([for daq address space ID])
+-AC_RUN_IFELSE(
+-[AC_LANG_PROGRAM(
+-[[
+-#include daq.h
+-]],
+-[[
+-   DAQ_PktHdr_t hdr;
+-   hdr.address_space_id = 0;
+-]])],
+-[have_daq_address_space_id=yes],
+-[have_daq_address_space_id=no])
+-AC_MSG_RESULT($have_daq_address_space_id)
+-if test x$have_daq_address_space_id = xyes; then
+-AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1],
+-[DAQ version supports address space ID in header.])
+-fi
++#AC_MSG_CHECKING([for daq address space ID])
++#AC_RUN_IFELSE(
++#[AC_LANG_PROGRAM(
++#[[
++##include daq.h
++#]],
++#[[
++#   DAQ_PktHdr_t hdr;
++#   hdr.address_space_id = 0;
++#]])],
++have_daq_address_space_id=yes
++#[have_daq_address_space_id=no])
++#AC_MSG_RESULT($have_daq_address_space_id)
++#if test x$have_daq_address_space_id = xyes; then
++#AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1],
++#[DAQ version supports address space ID in header.])
++#fi
+ 
+ # any sparc platform has to have this one defined.
+ AC_MSG_CHECKING(for sparc)
diff --git 
a/meta-networking/recipes-connectivity/snort/files/disable-inaddr-none.patch 
b/meta-networking/recipes-connectivity/snort/files/disable-inaddr-none.patch
new file mode 100644
index 000..9dafe63
--- /dev/null
+++ b/meta-networking/recipes-connectivity/snort/files/disable-inaddr-none.patch
@@ -0,0 +1,75 @@
+Upstream-Status: Inappropriate [embedded specific]
+
+fix the below error:
+checking for INADDR_NONE... configure:
+configure: error: cannot run test program while cross compiling
+
+Signed-off-by: Chunrong Guo b40...@freescale.com
+
+
+--- a/configure.in 2013-08-21 03:56:17.197414789 -0500
 b/configure.in 2013-08-21 23:19:05.298553560 -0500
+@@ -281,25 +281,7 @@
+ AC_CHECK_TYPES([boolean])
+ 
+ # In case INADDR_NONE is not defined (like on Solaris)
+-have_inaddr_none=no
+-AC_MSG_CHECKING([for INADDR_NONE])
+-AC_RUN_IFELSE(
+-[AC_LANG_PROGRAM(
+-[[
+-#include sys/types.h
+-#include netinet/in.h
+-#include arpa/inet.h
+-]],
+-[[
+-  if (inet_addr(10,5,2) == INADDR_NONE);
+-return 0;
+-]])],
+-[have_inaddr_none=yes],
+-[have_inaddr_none=no])
+-AC_MSG_RESULT($have_inaddr_none)
+-if test x$have_inaddr_none = xno; then
+-  AC_DEFINE([INADDR_NONE],[-1],[For INADDR_NONE definition])
+-fi
++have_inaddr_none=yes
+ 
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+ #include stdio.h
+@@ -397,21 +379,21 @@
+   fi
+ fi
+ 
+-AC_MSG_CHECKING([for pcap_lex_destroy])
+-AC_RUN_IFELSE(
+-[AC_LANG_PROGRAM(
+-[[
+-#include pcap.h
+-]],
+-[[
+-   pcap_lex_destroy();
+-]])],
+-[have_pcap_lex_destroy=yes],
+-[have_pcap_lex_destroy=no])
+-AC_MSG_RESULT($have_pcap_lex_destroy)
+-if test x$have_pcap_lex_destroy = xyes; then
+-AC_DEFINE([HAVE_PCAP_LEX_DESTROY],[1],[Can cleanup lex buffer stack 
created by pcap bpf filter])
+-fi
++#AC_MSG_CHECKING([for pcap_lex_destroy])
++#AC_RUN_IFELSE(
++#[AC_LANG_PROGRAM(
++#[[
++##include pcap.h
++#]],
++#[[
++#   pcap_lex_destroy();
++#]])],
++have_pcap_lex_destroy=yes
++#[have_pcap_lex_destroy=no])
++#AC_MSG_RESULT($have_pcap_lex_destroy)
++#if test x$have_pcap_lex_destroy = xyes; then
++#AC_DEFINE([HAVE_PCAP_LEX_DESTROY],[1],[Can cleanup lex buffer stack 
created by pcap bpf filter])
++#fi
+ 
+ AC_MSG_CHECKING([for pcap_lib_version])
+ AC_LINK_IFELSE(
diff --git a/meta-networking/recipes-connectivity/snort/snort_2.9.4.6.bb 
b/meta-networking/recipes-connectivity/snort/snort_2.9.4.6.bb
new file mode 100644
index 

[oe] [meta-networking][PATCH v2 2/3] libdnet: add recipe

2013-10-18 Thread b40290
From: Chunrong Guo b40...@freescale.com

*dumb networking library
*snort depends libdnet

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../recipes-connectivity/libdnet/libdnet_1.12.bb   |   14 ++
 1 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb

diff --git a/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb 
b/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
new file mode 100644
index 000..40b5758
--- /dev/null
+++ b/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
@@ -0,0 +1,14 @@
+DESCRIPTION = dumb networking library
+HOMEPAGE = http://code.google.com/p/libdnet/;
+LICENSE = BSD
+LIC_FILES_CHKSUM = file://LICENSE;md5=0036c1b155f4e999f3e0a373490b5db9
+
+SRC_URI = http://libdnet.googlecode.com/files/libdnet-${PV}.tgz;
+
+SRC_URI[md5sum] = 9253ef6de1b5e28e9c9a62b882e44cc9
+SRC_URI[sha256sum] = 
83b33039787cf0e977cef7f18a5d5e7aaffc4505548a83d31bd3515eb026
+
+inherit autotools 
+
+acpaths = -I ./config/
+
-- 
1.7.5.4


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


[oe] [meta-networking][PATCH v2 3/3] barnyard: add recipe

2013-10-18 Thread b40290
From: Chunrong Guo b40...@freescale.com

  *Barnyard is a output system for Snort

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../barnyard/barnyard_0.2.0.bb |   20 
 1 files changed, 20 insertions(+), 0 deletions(-)
 create mode 100644 
meta-networking/recipes-connectivity/barnyard/barnyard_0.2.0.bb

diff --git a/meta-networking/recipes-connectivity/barnyard/barnyard_0.2.0.bb 
b/meta-networking/recipes-connectivity/barnyard/barnyard_0.2.0.bb
new file mode 100644
index 000..09c5506
--- /dev/null
+++ b/meta-networking/recipes-connectivity/barnyard/barnyard_0.2.0.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = Barnyard is a output system for Snort.
+HOMEPAGE = http://www.snort.org/;
+LICENSE = QPL-1.0
+LIC_FILES_CHKSUM = file://LICENSE.QPL;md5=1b8ff8c0012b5a2d647357699bf44b41
+
+DEPENDS = libpcap
+
+SRC_URI =  ${GENTOO_MIRROR}/${BP}.tar.gz;name=tarball \
+  
+SRC_URI[tarball.md5sum] = be3283028cf414b52b220308ceb411e9
+SRC_URI[tarball.sha256sum] = 
09e0f8e095e79cfe70ea069d13e7d02521a504a1f400a45556a634dccfd31a3a
+
+
+inherit autotools pkgconfig
+
+do_configure_prepend () {
+   #fix hardcoded include path
+   sed -i -e 's:extra_incl=/usr/include/pcap::g' ${S}/configure.in
+}
+
-- 
1.7.5.4


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


[oe] [meta-networking][PATCH 1/3] snort : add recipe

2013-10-16 Thread b40290
From: Chunrong Guo b40...@freescale.com

  *snort - a free lightweight network intrusion detection
system for UNIX and Windows

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../recipes-connectivity/snort/files/default   |   42 ++
 .../snort/files/disable-dap-address-space-id.patch |   52 +++
 .../snort/files/disable-inaddr-none.patch  |   75 
 .../recipes-connectivity/snort/files/logrotate |   12 +
 .../recipes-connectivity/snort/files/snort.init|  425 
 .../recipes-connectivity/snort/files/volatiles |2 +
 .../recipes-connectivity/snort/snort_2.9.4.6.bb|   83 
 7 files changed, 691 insertions(+), 0 deletions(-)
 create mode 100644 meta-networking/recipes-connectivity/snort/files/default
 create mode 100644 
meta-networking/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
 create mode 100644 
meta-networking/recipes-connectivity/snort/files/disable-inaddr-none.patch
 create mode 100644 meta-networking/recipes-connectivity/snort/files/logrotate
 create mode 100755 meta-networking/recipes-connectivity/snort/files/snort.init
 create mode 100644 meta-networking/recipes-connectivity/snort/files/volatiles
 create mode 100644 meta-networking/recipes-connectivity/snort/snort_2.9.4.6.bb

diff --git a/meta-networking/recipes-connectivity/snort/files/default 
b/meta-networking/recipes-connectivity/snort/files/default
new file mode 100644
index 000..afd3840
--- /dev/null
+++ b/meta-networking/recipes-connectivity/snort/files/default
@@ -0,0 +1,42 @@
+# Parameters for the daemon
+# Add any additional parameteres here.
+PARAMS=-m 027 -D -d 
+#
+# Snort user
+# This user will be used to launch snort. Notice that the 
+# preinst script of the package might do changes to the user 
+# (home directory, User Name) when the package is upgraded or
+# reinstalled.  So, do *not* change this to 'root' or to any other user 
+# unless you are sure there is no problem with those changes being introduced.
+# 
+SNORTUSER=snort
+#
+# Logging directory
+# Snort logs will be dropped here and this will be the home
+# directory for the SNORTUSER. If you change this value you should
+# change the /etc/logrotate.d/snort definition too, otherwise logs
+# will not be rotated properly.
+#
+LOGDIR=/var/log/snort
+#
+# Snort group
+# This is the group that the snort user will be added to.
+#
+SNORTGROUP=snort
+# 
+# Allow Snort's init.d script to work if the configured interfaces
+# are not available. Set this to yes if you configure Snort with
+# multiple interfaces but some might not be available on boot
+# (e.g. wireless interfaces)
+# 
+# Note: In order for this to work the 'iproute' package needs to 
+# be installed.
+ALLOW_UNAVAILABLE=no
+
+# Local configs
+#
+LOCAL_SNORT_STARTUP=boot
+LOCAL_SNORT_HOME_NET=192.168.0.0/16
+LOCAL_SNORT_INTERFACE=
+LOCAL_SNORT_STATS_RCPT=root
+LOCAL_SNORT_STATS_THRESHOLD=1
diff --git 
a/meta-networking/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
 
b/meta-networking/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
new file mode 100644
index 000..39e5c9c
--- /dev/null
+++ 
b/meta-networking/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
@@ -0,0 +1,52 @@
+Upstream-Status:Inappropriate [embedded specific]
+
+fix the below error:
+checking for dap address space id... configure: 
+configure: error: cannot run test program while cross compiling
+
+
+Signed-off-by: Chunrong Guo b40...@freescale.com
+
+--- a/configure.in 2013-08-23 00:06:37.239361932 -0500
 b/configure.in 2013-08-23 00:07:32.860266534 -0500
+@@ -679,23 +679,23 @@
+ 
+ AC_CHECK_FUNCS([daq_hup_apply] [daq_acquire_with_meta])
+ 
+-AC_MSG_CHECKING([for daq address space ID])
+-AC_RUN_IFELSE(
+-[AC_LANG_PROGRAM(
+-[[
+-#include daq.h
+-]],
+-[[
+-   DAQ_PktHdr_t hdr;
+-   hdr.address_space_id = 0;
+-]])],
+-[have_daq_address_space_id=yes],
+-[have_daq_address_space_id=no])
+-AC_MSG_RESULT($have_daq_address_space_id)
+-if test x$have_daq_address_space_id = xyes; then
+-AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1],
+-[DAQ version supports address space ID in header.])
+-fi
++#AC_MSG_CHECKING([for daq address space ID])
++#AC_RUN_IFELSE(
++#[AC_LANG_PROGRAM(
++#[[
++##include daq.h
++#]],
++#[[
++#   DAQ_PktHdr_t hdr;
++#   hdr.address_space_id = 0;
++#]])],
++have_daq_address_space_id=yes
++#[have_daq_address_space_id=no])
++#AC_MSG_RESULT($have_daq_address_space_id)
++#if test x$have_daq_address_space_id = xyes; then
++#AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1],
++#[DAQ version supports address space ID in header.])
++#fi
+ 
+ # any sparc platform has to have this one defined.
+ AC_MSG_CHECKING(for sparc)
diff --git 
a/meta-networking/recipes-connectivity/snort/files/disable-inaddr-none.patch 
b/meta-networking/recipes-connectivity/snort/files/disable-inaddr-none.patch
new file mode 100644
index 000..9dafe63
--- /dev/null
+++ 

[oe] [meta-networking][PATCH 2/3] libdnet: add recipe

2013-10-16 Thread b40290
From: Chunrong Guo b40...@freescale.com

*dumb networking library
*snort depends libdnet

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../recipes-connectivity/libdnet/libdnet_1.12.bb   |   14 ++
 1 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb

diff --git a/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb 
b/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
new file mode 100644
index 000..40b5758
--- /dev/null
+++ b/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
@@ -0,0 +1,14 @@
+DESCRIPTION = dumb networking library
+HOMEPAGE = http://code.google.com/p/libdnet/;
+LICENSE = BSD
+LIC_FILES_CHKSUM = file://LICENSE;md5=0036c1b155f4e999f3e0a373490b5db9
+
+SRC_URI = http://libdnet.googlecode.com/files/libdnet-${PV}.tgz;
+
+SRC_URI[md5sum] = 9253ef6de1b5e28e9c9a62b882e44cc9
+SRC_URI[sha256sum] = 
83b33039787cf0e977cef7f18a5d5e7aaffc4505548a83d31bd3515eb026
+
+inherit autotools 
+
+acpaths = -I ./config/
+
-- 
1.7.5.4


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


[oe] [meta-oe][PATCH 1/3] libhugetlbfs: install static 4G-edge testcases

2013-10-12 Thread b40290
From: Chunrong Guo b40...@freescale.com

   *TESTS_64 is empty, install will fail due to missing file operand.

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../libhugetlbfs/files/install64-fix.patch |   20 
 ...Makefile-install-static-4G-edge-testcases.patch |   17 +
 .../libhugetlbfs/libhugetlbfs_git.bb   |2 +-
 3 files changed, 18 insertions(+), 21 deletions(-)
 delete mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/install64-fix.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/tests-Makefile-install-static-4G-edge-testcases.patch

diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/install64-fix.patch 
b/meta-oe/recipes-benchmark/libhugetlbfs/files/install64-fix.patch
deleted file mode 100644
index 9652c3d..000
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/install64-fix.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-Upstream-Status: Inappropriate [oe-core specific]
-
-TESTS_64 is empty, install will fail due to missing file operand
-
-
-Signed-off-by: Chunrong Guo b40...@freescale.com
-
-Index: git/tests/Makefile
-===
 git.orig/tests/Makefile
-+++ git/tests/Makefile
-@@ -292,7 +292,7 @@ obj64/install:
-   $(INSTALL) -m 755 wrapper-utils.sh $(DESTDIR)$(INST_TESTSDIR64)/obj64
-   $(INSTALL) -m 755 $(HELPERS:%=obj64/%) 
$(DESTDIR)$(INST_TESTSDIR64)/obj64
-   $(INSTALL) -m 755 $(HELPER_LIBS:%=obj64/%) 
$(DESTDIR)$(INST_TESTSDIR64)/obj64
--  $(INSTALL) -m 755 $(TESTS_64:%=obj64/%) 
$(DESTDIR)$(INST_TESTSDIR64)/obj64
-+# $(INSTALL) -m 755 $(TESTS_64:%=obj64/%) 
$(DESTDIR)$(INST_TESTSDIR64)/obj64
-   $(INSTALL) -m 755 run_tests.py $(DESTDIR)$(INST_TESTSDIR64)
- 
- install: $(OBJDIRS:%=%/install)
diff --git 
a/meta-oe/recipes-benchmark/libhugetlbfs/files/tests-Makefile-install-static-4G-edge-testcases.patch
 
b/meta-oe/recipes-benchmark/libhugetlbfs/files/tests-Makefile-install-static-4G-edge-testcases.patch
new file mode 100644
index 000..249f6e1
--- /dev/null
+++ 
b/meta-oe/recipes-benchmark/libhugetlbfs/files/tests-Makefile-install-static-4G-edge-testcases.patch
@@ -0,0 +1,17 @@
+Upstream-Status: Submitted
+
+TESTS_64 is empty, install will fail due to missing file operand
+
+Signed-off-by: Ting Liu b28...@freescale.com
+
+--- a/tests/Makefileold2013-10-12 02:32:55.262391998 -0500
 b/tests/Makefile   2013-10-12 02:33:45.929394722 -0500
+@@ -292,7 +292,7 @@
+   $(INSTALL) -m 755 wrapper-utils.sh $(DESTDIR)$(INST_TESTSDIR64)/obj64
+   $(INSTALL) -m 755 $(HELPERS:%=obj64/%) 
$(DESTDIR)$(INST_TESTSDIR64)/obj64
+   $(INSTALL) -m 755 $(HELPER_LIBS:%=obj64/%) 
$(DESTDIR)$(INST_TESTSDIR64)/obj64
+-  $(INSTALL) -m 755 $(TESTS_64:%=obj64/%) 
$(DESTDIR)$(INST_TESTSDIR64)/obj64
++  $(INSTALL) -m 755 $(TESTS_64_STATIC:%=obj64/%_static) 
$(DESTDIR)$(INST_TESTSDIR64)/obj64
+   $(INSTALL) -m 755 run_tests.py $(DESTDIR)$(INST_TESTSDIR64)
+ 
+ install: $(OBJDIRS:%=%/install)
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb 
b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
index 7835300..475c502 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
@@ -10,10 +10,10 @@ SRC_URI = git://git.code.sf.net/p/libhugetlbfs/code \
 file://aarch64-support.patch \
 file://aarch64-unit-test-fixes.patch \
 file://add-PROT-NONE-to-the-mprotest-test.patch \
-file://install64-fix.patch \
 file://skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch \
 file://libhugetlbfs-avoid-search-host-library-path-for-cros.patch \
 file://fix-lib64-can-not-be-shiped-in-64bit-target.patch \
+file://tests-Makefile-install-static-4G-edge-testcases.patch \
 
 
 S = ${WORKDIR}/git
-- 
1.7.5.4


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


[oe] [meta-oe][PATCH 2/3] libhugetlbfs: not use hard coded path in run_tests.py

2013-10-12 Thread b40290
From: Chunrong Guo b40...@freescale.com

  *Hard coded path makes the script impossible to run out of source tree.
  *After 'make install', we can use hugeadm utility under DESTDIR.

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 py-not-use-hard-coded-path-.-obj-hugeadm.patch |   43 
 .../libhugetlbfs/libhugetlbfs_git.bb   |1 +
 2 files changed, 44 insertions(+), 0 deletions(-)
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/0001-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch

diff --git 
a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch
 
b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch
new file mode 100644
index 000..3082d7e
--- /dev/null
+++ 
b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch
@@ -0,0 +1,43 @@
+From a85fc43243f8bfad12d306a4a0e230fb8b3e828a Mon Sep 17 00:00:00 2001
+From: Ting Liu b28...@freescale.com
+Date: Wed, 21 Aug 2013 15:44:57 +0800
+Subject: [PATCH] run_test.py: not use hard coded path ../obj/hugeadm
+
+Hard coded path makes the script impossible to run out of source tree.
+After 'make install', we can use hugeadm utility under DESTDIR.
+
+Upstream-Status: Submitted
+
+Signed-off-by: Ting Liu b28...@freescale.com
+---
+ tests/run_tests.py |   12 +++-
+ 1 files changed, 11 insertions(+), 1 deletions(-)
+
+diff --git a/tests/run_tests.py b/tests/run_tests.py
+index d9a6b35..a9bab8f 100755
+--- a/tests/run_tests.py
 b/tests/run_tests.py
+@@ -232,9 +232,19 @@ def get_pagesizes():
+ Use libhugetlbfs' hugeadm utility to get a list of page sizes that have
+ active mount points and at least one huge page allocated to the pool.
+ 
++local_env = os.environ.copy()
++local_env[PATH] = ../obj:%s % local_env.get(PATH, )
+ sizes = set()
+ out = 
+-(rc, out) = bash(../obj/hugeadm --page-sizes)
++try:
++p = subprocess.Popen(hugeadm --page-sizes, shell=True, 
env=local_env, stdout=subprocess.PIPE)
++rc = p.wait()
++except KeyboardInterrupt:
++return sizes
++except OSError:
++return sizes
++out = p.stdout.read().strip()
++
+ if rc != 0 or out == : return sizes
+ 
+ for size in out.split(\n): sizes.add(int(size))
+-- 
+1.7.3.4
+
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb 
b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
index 475c502..5b871e9 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
@@ -14,6 +14,7 @@ SRC_URI = git://git.code.sf.net/p/libhugetlbfs/code \
 file://libhugetlbfs-avoid-search-host-library-path-for-cros.patch \
 file://fix-lib64-can-not-be-shiped-in-64bit-target.patch \
 file://tests-Makefile-install-static-4G-edge-testcases.patch \
+file://0001-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch \
 
 
 S = ${WORKDIR}/git
-- 
1.7.5.4


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


[oe] [meta-oe][PATCH 3/3] libhugetlbfs: install perl lib to directory perl instead of perl5

2013-10-12 Thread b40290
From: Chunrong Guo b40...@freescale.com

   *libhugetlbfs depends on perl, and perl installs a directory 'perl'
and make a symlink 'perl5' to it. So just install perl libs in
libhugetlbfs to directory 'perl' instead of 'perl5'. This can avoid
the following error:
| CalledProcessError: Command 'tar -cf - -C 
.../perl/5.14.3-r1/sysroot-destdir
| -ps . | tar -xf - -C .../tmp/sysroots/t4240qds'
| returned non-zero exit status 2 with output
| tar: ./usr/lib/perl5: Cannot create symlink to `perl': File exists
| tar: Exiting with failure status due to previous errors

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 ...rl-lib-to-directory-perl-instead-of-perl5.patch |   39 
 .../libhugetlbfs/libhugetlbfs_git.bb   |4 +-
 2 files changed, 41 insertions(+), 2 deletions(-)
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/0001-install-perl-lib-to-directory-perl-instead-of-perl5.patch

diff --git 
a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-install-perl-lib-to-directory-perl-instead-of-perl5.patch
 
b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-install-perl-lib-to-directory-perl-instead-of-perl5.patch
new file mode 100644
index 000..0b8d0e4
--- /dev/null
+++ 
b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-install-perl-lib-to-directory-perl-instead-of-perl5.patch
@@ -0,0 +1,39 @@
+Upstream-Status: Inappropriate [oe-core specific]
+
+libhugetlbfs depends on perl, and perl installs a directory 'perl'
+and make a symlink 'perl5' to it. So just install perl libs in
+libhugetlbfs to directory 'perl' instead of 'perl5'. This can avoid
+the following error:
+| CalledProcessError: Command 'tar -cf - -C .../perl/5.14.3-r1/sysroot-destdir
+| -ps . | tar -xf - -C .../tmp/sysroots/t4240qds'
+| returned non-zero exit status 2 with output
+| tar: ./usr/lib/perl5: Cannot create symlink to `perl': File exists
+| tar: Exiting with failure status due to previous errors
+
+
+Signed-off-by: Ting Liu b28...@freescale.com
+
+--- a/Makefileold  2013-10-11 23:07:31.759421318 -0500
 b/Makefile 2013-10-11 23:08:01.935571122 -0500
+@@ -173,17 +173,17 @@
+ DOCDIR = $(PREFIX)/share/doc/libhugetlbfs
+ 
+ ifdef CC32
+-PMDIR = $(PREFIX)/lib/perl5/TLBC
++PMDIR = $(PREFIX)/lib/perl/TLBC
+ endif
+ 
+ ifdef CC64
+ ifeq ($(ARCH),x86_64)
+-PMDIR = $(PREFIX)/lib/perl5/TLBC
++PMDIR = $(PREFIX)/lib/perl/TLBC
+ else
+ ifeq ($(ARCH),aarch64)
+-PMDIR = $(PREFIX)/lib/perl5/TLBC
++PMDIR = $(PREFIX)/lib/perl/TLBC
+ else
+-PMDIR = $(PREFIX)/lib64/perl5/TLBC
++PMDIR = $(PREFIX)/lib64/perl/TLBC
+ endif
+ endif
+ endif
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb 
b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
index 5b871e9..24480c3 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
@@ -15,6 +15,7 @@ SRC_URI = git://git.code.sf.net/p/libhugetlbfs/code \
 file://fix-lib64-can-not-be-shiped-in-64bit-target.patch \
 file://tests-Makefile-install-static-4G-edge-testcases.patch \
 file://0001-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch \
+file://0001-install-perl-lib-to-directory-perl-instead-of-perl5.patch \
 
 
 S = ${WORKDIR}/git
@@ -43,10 +44,9 @@ do_install() {
 
 PARALLEL_MAKE_pn-${PN} = 
 
-PACKAGES =+ ${PN}-perl ${PN}-tests ${PN}-perl5
+PACKAGES =+ ${PN}-perl ${PN}-tests 
 FILES_${PN}-dbg += ${libdir}/libhugetlbfs/tests/obj32/.debug 
${libdir}/libhugetlbfs/tests/obj64/.debug
 FILES_${PN}-perl = ${libdir}/perl
-FILES_${PN}-perl5 = ${libdir}/perl5 
 FILES_${PN}-tests += /opt/libhugetlbfs/tests
 
 INHIBIT_PACKAGE_DEBUG_SPLIT = 1
-- 
1.7.5.4


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


[oe] [meta-oe][PATCH v3] libhugetlbfs: add recipe

2013-09-23 Thread b40290
From: Chunrong Guo b40...@freescale.com

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../libhugetlbfs/files/aarch64-support.patch   |   88 +
 .../files/aarch64-unit-test-fixes.patch|   62 
 .../files/add-PROT-NONE-to-the-mprotest-test.patch |   38 
 ...x-lib64-can-not-be-shiped-in-64bit-target.patch |   75 +++
 .../libhugetlbfs/files/install64-fix.patch |   20 
 ...s-avoid-search-host-library-path-for-cros.patch |   99 
 ...ng-LIB32-and-LIB64-if-they-point-to-the-s.patch |   48 ++
 .../libhugetlbfs/libhugetlbfs_git.bb   |   51 ++
 8 files changed, 481 insertions(+), 0 deletions(-)
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/aarch64-support.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/aarch64-unit-test-fixes.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/add-PROT-NONE-to-the-mprotest-test.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/fix-lib64-can-not-be-shiped-in-64bit-target.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/install64-fix.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-avoid-search-host-library-path-for-cros.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch
 create mode 100644 meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb

diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/aarch64-support.patch 
b/meta-oe/recipes-benchmark/libhugetlbfs/files/aarch64-support.patch
new file mode 100644
index 000..ceac6b4
--- /dev/null
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/aarch64-support.patch
@@ -0,0 +1,88 @@
+Upstream-Status: Pending
+
+From 52b8430eb4f03e35721f29862de33041fe9c9768 Mon Sep 17 00:00:00 2001
+From: Steve Capper steve.cap...@linaro.org
+Date: Wed, 10 Apr 2013 14:51:12 +0100
+Subject: [PATCH] Aarch64 support.
+
+This patch adds support for Aarch64.
+
+As with ARMv7, We do not add the xBT/xBDT style linker scripts as
+these have been deprecated in favour of adjusting the page sizes
+via command line parameter to ld.
+
+Signed-off-by: Steve Capper steve.cap...@linaro.org
+---
+ Makefile   |7 +++
+ sys-aarch64elf_linux.S |   34 ++
+ 2 files changed, 41 insertions(+)
+ create mode 100644 sys-aarch64elf_linux.S
+
+diff --git a/Makefile b/Makefile
+index 48205af..28ceade 100644
+--- a/Makefile
 b/Makefile
+@@ -57,6 +57,12 @@ TMPLIB32 = lib
+ ELF32 += armelf_linux_eabi
+ CUSTOM_LDSCRIPTS = no
+ else
++ifeq ($(ARCH),aarch64)
++CC64 = gcc
++ELF64 = aarch64elf_linux
++TMPLIB64 = lib64
++CUSTOM_LDSCRIPTS = no
++else
+ ifeq ($(ARCH),i386)
+ CC32 = gcc
+ ELF32 = elf_i386
+@@ -100,6 +106,7 @@ endif
+ endif
+ endif
+ endif
++endif
+ 
+ ifdef CC32
+ OBJDIRS += obj32
+diff --git a/sys-aarch64elf_linux.S b/sys-aarch64elf_linux.S
+new file mode 100644
+index 000..699ff4c
+--- /dev/null
 b/sys-aarch64elf_linux.S
+@@ -0,0 +1,34 @@
++/*
++ * libhugetlbfs - Easy use of Linux hugepages
++ * Copyright (C) 2013 Linaro Ltd.
++ *
++ * This library is free software; you can redistribute it and/or
++ * modify it under the terms of the GNU Lesser General Public License
++ * version 2.1 as published by the Free Software Foundation.
++ *
++ * This library is distributed in the hope that it will be useful, but
++ * WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++ * Lesser General Public License for more details.
++ *
++ * You should have received a copy of the GNU Lesser General Public
++ * License along with this library; if not, write to the Free Software
++ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
++ */
++
++.text
++
++.globl  direct_syscall
++
++
++direct_syscall:
++  uxtwx8, w0
++  mov x0, x1
++  mov x1, x2
++  mov x2, x3
++  mov x3, x4
++  mov x4, x5
++  mov x5, x6
++  mov x6, x7
++  svc 0x0
++  RET
+-- 
+1.7.9.5
+
diff --git 
a/meta-oe/recipes-benchmark/libhugetlbfs/files/aarch64-unit-test-fixes.patch 
b/meta-oe/recipes-benchmark/libhugetlbfs/files/aarch64-unit-test-fixes.patch
new file mode 100644
index 000..0b6fd8a
--- /dev/null
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/aarch64-unit-test-fixes.patch
@@ -0,0 +1,62 @@
+Upstream-Status: Pending
+
+From 9bb940bd6a86f09280bdcd48a7177a835d72a25c Mon Sep 17 00:00:00 2001
+From: Steve Capper steve.cap...@linaro.org
+Date: Wed, 10 Apr 2013 15:52:46 +0100
+Subject: [PATCH] Aarch64 unit test fixes.
+
+On Aarch64, zero bytes are illegal instructions, this is added to
+the icache-hygiene test.
+
+In mremap-expand-slice-collision, if __LP64__ is defined then
+mappings are attempted at 1TB 

[oe] [meta-networking][PATCH 1/3] snort: add recipe

2013-09-23 Thread b40290
From: Chunrong Guo b40...@freescale.com

  *snort - a free lightweight network intrusion detection
 system for UNIX and Windows

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../recipes-connectivity/snort/files/default   |   42 ++
 .../snort/files/disable-dap-address-space-id.patch |   52 +++
 .../snort/files/disable-inaddr-none.patch  |   75 
 .../recipes-connectivity/snort/files/logrotate |   12 +
 .../recipes-connectivity/snort/files/snort.init|  425 
 .../recipes-connectivity/snort/files/volatiles |2 +
 .../recipes-connectivity/snort/snort_2.9.4.6.bb|   86 
 7 files changed, 694 insertions(+), 0 deletions(-)
 create mode 100644 meta-networking/recipes-connectivity/snort/files/default
 create mode 100644 
meta-networking/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
 create mode 100644 
meta-networking/recipes-connectivity/snort/files/disable-inaddr-none.patch
 create mode 100644 meta-networking/recipes-connectivity/snort/files/logrotate
 create mode 100755 meta-networking/recipes-connectivity/snort/files/snort.init
 create mode 100644 meta-networking/recipes-connectivity/snort/files/volatiles
 create mode 100644 meta-networking/recipes-connectivity/snort/snort_2.9.4.6.bb

diff --git a/meta-networking/recipes-connectivity/snort/files/default 
b/meta-networking/recipes-connectivity/snort/files/default
new file mode 100644
index 000..afd3840
--- /dev/null
+++ b/meta-networking/recipes-connectivity/snort/files/default
@@ -0,0 +1,42 @@
+# Parameters for the daemon
+# Add any additional parameteres here.
+PARAMS=-m 027 -D -d 
+#
+# Snort user
+# This user will be used to launch snort. Notice that the 
+# preinst script of the package might do changes to the user 
+# (home directory, User Name) when the package is upgraded or
+# reinstalled.  So, do *not* change this to 'root' or to any other user 
+# unless you are sure there is no problem with those changes being introduced.
+# 
+SNORTUSER=snort
+#
+# Logging directory
+# Snort logs will be dropped here and this will be the home
+# directory for the SNORTUSER. If you change this value you should
+# change the /etc/logrotate.d/snort definition too, otherwise logs
+# will not be rotated properly.
+#
+LOGDIR=/var/log/snort
+#
+# Snort group
+# This is the group that the snort user will be added to.
+#
+SNORTGROUP=snort
+# 
+# Allow Snort's init.d script to work if the configured interfaces
+# are not available. Set this to yes if you configure Snort with
+# multiple interfaces but some might not be available on boot
+# (e.g. wireless interfaces)
+# 
+# Note: In order for this to work the 'iproute' package needs to 
+# be installed.
+ALLOW_UNAVAILABLE=no
+
+# Local configs
+#
+LOCAL_SNORT_STARTUP=boot
+LOCAL_SNORT_HOME_NET=192.168.0.0/16
+LOCAL_SNORT_INTERFACE=
+LOCAL_SNORT_STATS_RCPT=root
+LOCAL_SNORT_STATS_THRESHOLD=1
diff --git 
a/meta-networking/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
 
b/meta-networking/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
new file mode 100644
index 000..39e5c9c
--- /dev/null
+++ 
b/meta-networking/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
@@ -0,0 +1,52 @@
+Upstream-Status:Inappropriate [embedded specific]
+
+fix the below error:
+checking for dap address space id... configure: 
+configure: error: cannot run test program while cross compiling
+
+
+Signed-off-by: Chunrong Guo b40...@freescale.com
+
+--- a/configure.in 2013-08-23 00:06:37.239361932 -0500
 b/configure.in 2013-08-23 00:07:32.860266534 -0500
+@@ -679,23 +679,23 @@
+ 
+ AC_CHECK_FUNCS([daq_hup_apply] [daq_acquire_with_meta])
+ 
+-AC_MSG_CHECKING([for daq address space ID])
+-AC_RUN_IFELSE(
+-[AC_LANG_PROGRAM(
+-[[
+-#include daq.h
+-]],
+-[[
+-   DAQ_PktHdr_t hdr;
+-   hdr.address_space_id = 0;
+-]])],
+-[have_daq_address_space_id=yes],
+-[have_daq_address_space_id=no])
+-AC_MSG_RESULT($have_daq_address_space_id)
+-if test x$have_daq_address_space_id = xyes; then
+-AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1],
+-[DAQ version supports address space ID in header.])
+-fi
++#AC_MSG_CHECKING([for daq address space ID])
++#AC_RUN_IFELSE(
++#[AC_LANG_PROGRAM(
++#[[
++##include daq.h
++#]],
++#[[
++#   DAQ_PktHdr_t hdr;
++#   hdr.address_space_id = 0;
++#]])],
++have_daq_address_space_id=yes
++#[have_daq_address_space_id=no])
++#AC_MSG_RESULT($have_daq_address_space_id)
++#if test x$have_daq_address_space_id = xyes; then
++#AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1],
++#[DAQ version supports address space ID in header.])
++#fi
+ 
+ # any sparc platform has to have this one defined.
+ AC_MSG_CHECKING(for sparc)
diff --git 
a/meta-networking/recipes-connectivity/snort/files/disable-inaddr-none.patch 
b/meta-networking/recipes-connectivity/snort/files/disable-inaddr-none.patch
new file mode 100644
index 000..9dafe63
--- /dev/null
+++ 

[oe] [meta-networking][PATCH 2/3] libdnet: add recipe

2013-09-23 Thread b40290
From: Chunrong Guo b40...@freescale.com

 *dumb networking library
 *snort depends libdnet

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../recipes-connectivity/libdnet/libdnet_1.12.bb   |   16 
 1 files changed, 16 insertions(+), 0 deletions(-)
 create mode 100644 meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb

diff --git a/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb 
b/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
new file mode 100644
index 000..88b893b
--- /dev/null
+++ b/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = dumb networking library
+HOMEPAGE = http://code.google.com/p/libdnet/;
+LICENSE = BSD
+LIC_FILES_CHKSUM = file://LICENSE;md5=0036c1b155f4e999f3e0a373490b5db9
+
+SRC_URI = http://libdnet.googlecode.com/files/libdnet-${PV}.tgz;
+
+SRC_URI[md5sum] = 9253ef6de1b5e28e9c9a62b882e44cc9
+SRC_URI[sha256sum] = 
83b33039787cf0e977cef7f18a5d5e7aaffc4505548a83d31bd3515eb026
+
+inherit autotools 
+
+
+do_configure_prepend() {
+   cp ${S}/config/acinclude.m4 ${S}/
+}
-- 
1.7.5.4


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


[oe] [meta-networking][PATCH 3/3] barnyard: add recipe

2013-09-23 Thread b40290
From: Chunrong Guo b40...@freescale.com

  *Barnyard is a output system for Snort

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../barnyard/barnyard_0.2.0.bb |   19 +++
 1 files changed, 19 insertions(+), 0 deletions(-)
 create mode 100644 
meta-networking/recipes-connectivity/barnyard/barnyard_0.2.0.bb

diff --git a/meta-networking/recipes-connectivity/barnyard/barnyard_0.2.0.bb 
b/meta-networking/recipes-connectivity/barnyard/barnyard_0.2.0.bb
new file mode 100644
index 000..c5e0e78
--- /dev/null
+++ b/meta-networking/recipes-connectivity/barnyard/barnyard_0.2.0.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = Barnyard is a output system for Snort.
+HOMEPAGE = http://www.snort.org/;
+LICENSE = QPL
+LIC_FILES_CHKSUM = file://LICENSE.QPL;md5=1b8ff8c0012b5a2d647357699bf44b41
+
+DEPENDS = libpcap
+
+SRC_URI =  ${GENTOO_MIRROR}/${BP}.tar.gz;name=tarball \
+  
+SRC_URI[tarball.md5sum] = be3283028cf414b52b220308ceb411e9
+SRC_URI[tarball.sha256sum] = 
09e0f8e095e79cfe70ea069d13e7d02521a504a1f400a45556a634dccfd31a3a
+
+inherit autotools pkgconfig
+
+do_configure_prepend () {
+   #fix hardcoded include path
+   sed -i -e 's:extra_incl=-I/usr/include/pcap::g' ${S}/configure.in
+}
+
-- 
1.7.5.4


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


[oe] [meta-oe][PATCH v2 ] libhugetlbfs: add recipe

2013-09-22 Thread b40290
From: Chunrong Guo b40...@freescale.com

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 ...fs-Remove-segment-based-alignment-restric.patch |  131 
 ...-run_tests.py-fix-typo-in-test-invocation.patch |   30 +
 .../files/Fix-cross-compiling-on-PPC.patch |   28 
 .../libhugetlbfs/files/aarch64-support.patch   |   88 +
 .../files/aarch64-unit-test-fixes.patch|   62 +
 .../files/add-PROT-NONE-to-the-mprotest-test.patch |   38 ++
 .../files/checks-if-mtab-is-a-symlink.patch|   30 +
 .../libhugetlbfs/files/cross-compile.patch |   83 
 ...x-lib64-can-not-be-shiped-in-64bit-target.patch |   64 ++
 .../libhugetlbfs/files/install64-fix.patch |   20 +++
 ...s-Fix-perl-lib-can-not-be-shiped-to-sub-p.patch |   31 +
 ...s-avoid-search-host-library-path-for-cros.patch |   99 +++
 ...ng-LIB32-and-LIB64-if-they-point-to-the-s.patch |   48 +++
 .../libhugetlbfs/libhugetlbfs_git.bb   |   58 +
 14 files changed, 810 insertions(+), 0 deletions(-)
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/0003-libhugetlbfs-Remove-segment-based-alignment-restric.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/0004-tests-run_tests.py-fix-typo-in-test-invocation.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/Fix-cross-compiling-on-PPC.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/aarch64-support.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/aarch64-unit-test-fixes.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/add-PROT-NONE-to-the-mprotest-test.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/checks-if-mtab-is-a-symlink.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/cross-compile.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/fix-lib64-can-not-be-shiped-in-64bit-target.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/install64-fix.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-Fix-perl-lib-can-not-be-shiped-to-sub-p.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-avoid-search-host-library-path-for-cros.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch
 create mode 100644 meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb

diff --git 
a/meta-oe/recipes-benchmark/libhugetlbfs/files/0003-libhugetlbfs-Remove-segment-based-alignment-restric.patch
 
b/meta-oe/recipes-benchmark/libhugetlbfs/files/0003-libhugetlbfs-Remove-segment-based-alignment-restric.patch
new file mode 100644
index 000..31f0516
--- /dev/null
+++ 
b/meta-oe/recipes-benchmark/libhugetlbfs/files/0003-libhugetlbfs-Remove-segment-based-alignment-restric.patch
@@ -0,0 +1,131 @@
+Upstream-Status: Accepted
+
+From eee53989d5b7393352d77451b66066768113072a Mon Sep 17 00:00:00 2001
+From: Becky Bruce bec...@kernel.crashing.org
+Date: Tue, 19 Apr 2011 14:13:18 -0500
+Subject: [PATCH 1/2] libhugetlbfs: Remove segment-based alignment restrictions
+
+The existing library code enforces classic PPC segment restrictons on the
+alignment and allocation of hugepages.  BookE Freescale processors
+don't have this restriction and allowing it to remain in place
+is overly restrictive on 32-bit processors.  Define PPC_NO_SEGMENTS to
+turn this off.
+
+Signed-off-by: Becky Bruce bec...@kernel.crashing.org
+---
+ Makefile   |2 +-
+ elflink.c  |7 ---
+ libhugetlbfs_internal.h|3 ++-
+ morecore.c |2 +-
+ tests/brk_near_huge.c  |2 +-
+ tests/truncate_above_4GB.c |6 --
+ 6 files changed, 13 insertions(+), 9 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index d781871..3160f83 100644
+--- a/Makefile
 b/Makefile
+@@ -29,7 +29,7 @@ INSTALL = install
+ LDFLAGS += -Wl,-z,noexecstack -ldl
+ CFLAGS ?= -O2 -g
+ CFLAGS += -Wall -fPIC
+-CPPFLAGS += -D__LIBHUGETLBFS__
++CPPFLAGS += -D__LIBHUGETLBFS__ -DPPC_NO_SEGMENTS
+ 
+ ARCH = $(shell uname -m | sed -e s/i.86/i386/)
+ 
+diff --git a/elflink.c b/elflink.c
+index c24bedc..432f3d7 100644
+--- a/elflink.c
 b/elflink.c
+@@ -552,7 +552,8 @@ bail2:
+   seg-extrasz = end_orig - start;
+ }
+ 
+-#if defined(__powerpc64__) || defined (__powerpc__)
++#if defined(__powerpc64__) || \
++  (defined(__powerpc__)  !defined(PPC_NO_SEGMENTS))
+ #define SLICE_LOW_TOP (0x1UL)
+ #define SLICE_LOW_SIZE(1UL  SLICE_LOW_SHIFT)
+ #define SLICE_HIGH_SIZE   (1UL  SLICE_HIGH_SHIFT)
+@@ -574,7 +575,7 @@ static unsigned long hugetlb_slice_start(unsigned long 
addr)
+   return SLICE_LOW_TOP;
+   else
+   return ALIGN_DOWN(addr, SLICE_HIGH_SIZE);
+-#elif 

Re: [oe] [meta-oe][PATCH] libhugetlbfs: add recipe

2013-09-16 Thread Guo Chunrong-B40290
Hello ,
Please give some comments about patch .

Thanks,
chunrong

-Original Message-
From: Guo Chunrong-B40290 
Sent: Tuesday, September 10, 2013 10:03 AM
To: openembedded-devel@lists.openembedded.org
Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Guo Chunrong-B40290; Guo 
Chunrong-B40290
Subject: [meta-oe][PATCH] libhugetlbfs: add recipe

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 ...fs-Remove-segment-based-alignment-restric.patch |  131 
 ...-run_tests.py-fix-typo-in-test-invocation.patch |   30 +
 .../files/Fix-cross-compiling-on-PPC.patch |   28 
 .../libhugetlbfs/files/aarch64-support.patch   |   88 +
 .../files/aarch64-unit-test-fixes.patch|   62 +
 .../files/add-PROT-NONE-to-the-mprotest-test.patch |   38 ++
 .../files/checks-if-mtab-is-a-symlink.patch|   30 +
 .../libhugetlbfs/files/cross-compile.patch |   83 
 ...x-lib64-can-not-be-shiped-in-64bit-target.patch |   64 ++
 .../libhugetlbfs/files/install64-fix.patch |   20 +++
 ...s-Fix-perl-lib-can-not-be-shiped-to-sub-p.patch |   31 +
 ...s-avoid-search-host-library-path-for-cros.patch |   99 +++
 ...ng-LIB32-and-LIB64-if-they-point-to-the-s.patch |   48 +++
 .../libhugetlbfs/libhugetlbfs_git.bb   |   51 
 14 files changed, 803 insertions(+), 0 deletions(-)  create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/0003-libhugetlbfs-Remove-segment-based-alignment-restric.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/0004-tests-run_tests.py-fix-typo-in-test-invocation.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/Fix-cross-compiling-on-PPC.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/aarch64-support.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/aarch64-unit-test-fixes.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/add-PROT-NONE-to-the-mprotest-test.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/checks-if-mtab-is-a-symlink.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/cross-compile.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/fix-lib64-can-not-be-shiped-in-64bit-target.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/install64-fix.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-Fix-perl-lib-can-not-be-shiped-to-sub-p.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-avoid-search-host-library-path-for-cros.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch
 create mode 100644 meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb

diff --git 
a/meta-oe/recipes-benchmark/libhugetlbfs/files/0003-libhugetlbfs-Remove-segment-based-alignment-restric.patch
 
b/meta-oe/recipes-benchmark/libhugetlbfs/files/0003-libhugetlbfs-Remove-segment-based-alignment-restric.patch
new file mode 100644
index 000..31f0516
--- /dev/null
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0003-libhugetlbfs-Rem
+++ ove-segment-based-alignment-restric.patch
@@ -0,0 +1,131 @@
+Upstream-Status: Accepted
+
+From eee53989d5b7393352d77451b66066768113072a Mon Sep 17 00:00:00 2001
+From: Becky Bruce bec...@kernel.crashing.org
+Date: Tue, 19 Apr 2011 14:13:18 -0500
+Subject: [PATCH 1/2] libhugetlbfs: Remove segment-based alignment 
+restrictions
+
+The existing library code enforces classic PPC segment restrictons on 
+the alignment and allocation of hugepages.  BookE Freescale processors 
+don't have this restriction and allowing it to remain in place is 
+overly restrictive on 32-bit processors.  Define PPC_NO_SEGMENTS to 
+turn this off.
+
+Signed-off-by: Becky Bruce bec...@kernel.crashing.org
+---
+ Makefile   |2 +-
+ elflink.c  |7 ---
+ libhugetlbfs_internal.h|3 ++-
+ morecore.c |2 +-
+ tests/brk_near_huge.c  |2 +-
+ tests/truncate_above_4GB.c |6 --
+ 6 files changed, 13 insertions(+), 9 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index d781871..3160f83 100644
+--- a/Makefile
 b/Makefile
+@@ -29,7 +29,7 @@ INSTALL = install
+ LDFLAGS += -Wl,-z,noexecstack -ldl
+ CFLAGS ?= -O2 -g
+ CFLAGS += -Wall -fPIC
+-CPPFLAGS += -D__LIBHUGETLBFS__
++CPPFLAGS += -D__LIBHUGETLBFS__ -DPPC_NO_SEGMENTS
+ 
+ ARCH = $(shell uname -m | sed -e s/i.86/i386/)
+ 
+diff --git a/elflink.c b/elflink.c
+index c24bedc..432f3d7 100644
+--- a/elflink.c
 b/elflink.c
+@@ -552,7 +552,8 @@ bail2:
+   seg-extrasz = end_orig - start;
+ }
+ 
+-#if defined(__powerpc64__) || defined (__powerpc__)
++#if defined(__powerpc64__) || \
++  (defined(__powerpc__)  !defined(PPC_NO_SEGMENTS))
+ #define SLICE_LOW_TOP (0x1UL)
+ #define

Re: [oe] [meta-fsl-ppc][PATCH v2] tclap: update SRC_URI

2013-09-10 Thread Guo Chunrong-B40290
Please ignore it

-Original Message-
From: Guo Chunrong-B40290 
Sent: Tuesday, September 10, 2013 2:54 PM
To: openembedded-devel@lists.openembedded.org
Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Guo Chunrong-B40290
Subject: [meta-fsl-ppc][PATCH v2] tclap: update SRC_URI

From: Chunrong Guo b40...@freescale.com

  *fix unfetchable SRC_URI

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb 
b/meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb
index 7075664..8cbe912 100644
--- a/meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb
+++ b/meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb
@@ -4,7 +4,7 @@ LICENSE = MIT
 LIC_FILES_CHKSUM = file://COPYING;md5=c8ab0ff134bcc584d0e6b5b9f8732453
 
 SRCREV = 3627d9402e529770df9b0edf2aa8c0e0d6c6bb41
-SRC_URI = git://tclap.git.sourceforge.net/gitroot/tclap/tclap \
+SRC_URI = git://git.code.sf.net/p/tclap/code \
 file://Makefile.am-disable-docs.patch \   
 
--
1.7.5.4


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


[oe] [meta-fsl-ppc][PATCH v2] tclap: update SRC_URI

2013-09-10 Thread b40290
From: Chunrong Guo b40...@freescale.com

  *fix unfetchable SRC_URI

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb 
b/meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb
index 7075664..8cbe912 100644
--- a/meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb
+++ b/meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb
@@ -4,7 +4,7 @@ LICENSE = MIT
 LIC_FILES_CHKSUM = file://COPYING;md5=c8ab0ff134bcc584d0e6b5b9f8732453
 
 SRCREV = 3627d9402e529770df9b0edf2aa8c0e0d6c6bb41
-SRC_URI = git://tclap.git.sourceforge.net/gitroot/tclap/tclap \
+SRC_URI = git://git.code.sf.net/p/tclap/code \
 file://Makefile.am-disable-docs.patch \
  
 
-- 
1.7.5.4


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


[oe] [meta-oe][PATCH v2] tclap: update SRC_URI

2013-09-10 Thread b40290
From: Chunrong Guo b40...@freescale.com

  *fix unfetchable SRC_URI

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb 
b/meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb
index 7075664..8cbe912 100644
--- a/meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb
+++ b/meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb
@@ -4,7 +4,7 @@ LICENSE = MIT
 LIC_FILES_CHKSUM = file://COPYING;md5=c8ab0ff134bcc584d0e6b5b9f8732453
 
 SRCREV = 3627d9402e529770df9b0edf2aa8c0e0d6c6bb41
-SRC_URI = git://tclap.git.sourceforge.net/gitroot/tclap/tclap \
+SRC_URI = git://git.code.sf.net/p/tclap/code \
 file://Makefile.am-disable-docs.patch \
  
 
-- 
1.7.5.4


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


[oe] [meta-oe][PATCH V4 ] daq: add recipe

2013-08-30 Thread b40290
From: Chunrong Guo b40...@freescale.com

   *The dump DAQ test the various inline mode features
   *snort depends daq

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 meta-oe/recipes-connectivity/daq/daq_2.0.1.bb  |   16 +++
 ...le-run-test-program-while-cross-compiling.patch |   29 
 2 files changed, 45 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-connectivity/daq/daq_2.0.1.bb
 create mode 100644 
meta-oe/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch

diff --git a/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb 
b/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb
new file mode 100644
index 000..4c1be44
--- /dev/null
+++ b/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = The dump DAQ test the various inline mode features 
+HOMEPAGE = http://www.snort.org;
+LICENSE = GPLv2
+LIC_FILES_CHKSUM = file://COPYING;md5=f9ce51a65dd738dc1ae631d8b21c40e0
+
+PARALLEL_MAKE = 
+
+DEPENDS = libpcap libpcre 
+
+SRC_URI = http://fossies.org/linux/misc/daq-${PV}.tar.gz \
+file://disable-run-test-program-while-cross-compiling.patch 
+
+SRC_URI[md5sum] = 044aa3663d44580d005293eeb8ccf175
+SRC_URI[sha256sum] = 
ebba87c2ec76ac65d2980934423b0597909caead3a86ce5d1ba1ea6ce518ec6d
+
+inherit autotools
diff --git 
a/meta-oe/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch
 
b/meta-oe/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch
new file mode 100644
index 000..12a6cba
--- /dev/null
+++ 
b/meta-oe/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch
@@ -0,0 +1,29 @@
+Upstream-Status:Inappropriate [embedded specific]
+
+fix the below error:
+configure: error: cannot run test program while cross compiling
+
+Signed-off-by: Chunrong Guo b40...@freescale.com
+
+--- a/m4/sf.m4old  2013-08-30 04:08:18.768409680 -0500
 b/m4/sf.m4 2013-08-30 04:09:24.591367890 -0500
+@@ -135,19 +135,6 @@
+ exit 1
+ fi
+ AC_MSG_CHECKING([for libpcap version = $1])
+-AC_RUN_IFELSE(
+-[AC_LANG_PROGRAM(
+-[[
+-#include pcap.h
+-#include string.h
+-extern char pcap_version[];
+-]],
+-[[
+-if (strcmp(pcap_version, $1)  0)
+-return 1;
+-]])],
+-[libpcap_version_1x=yes],
+-[libpcap_version_1x=no])
+ if test x$libpcap_version_1x = xno; then
+ AC_MSG_RESULT(no)
+ echo
-- 
1.7.5.4


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


Re: [oe] [meta-oe][PATCH V2 ] daq: add recipe

2013-08-29 Thread Guo Chunrong-B40290
Hello,
fossies.org changed source URLs to 
http://fossies.org/linux/misc/daq-2.0.1.tar.gz.
So Fails to fetch.
I will submit new patch about it .

Thanks,
chunrong

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org 
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of Martin 
Jansa
Sent: Thursday, August 29, 2013 1:40 PM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [meta-oe][PATCH V2 ] daq: add recipe

On Mon, Aug 26, 2013 at 03:44:19PM +0800, b40...@freescale.com wrote:
 From: Chunrong Guo b40...@freescale.com
 
*The dump DAQ test the various inline mode features
*snort depends daq
 
 Signed-off-by: Chunrong Guo b40...@freescale.com
 ---
  meta-oe/recipes-connectivity/daq/daq_2.0.0.bb  |   17 +
  .../daq/files/disable-check-pcap-version.patch |   19 +++
  2 files changed, 36 insertions(+), 0 deletions(-)  create mode 100644 
 meta-oe/recipes-connectivity/daq/daq_2.0.0.bb
  create mode 100644 
 meta-oe/recipes-connectivity/daq/files/disable-check-pcap-version.patc
 h
 
 diff --git a/meta-oe/recipes-connectivity/daq/daq_2.0.0.bb 
 b/meta-oe/recipes-connectivity/daq/daq_2.0.0.bb
 new file mode 100644
 index 000..0a71894
 --- /dev/null
 +++ b/meta-oe/recipes-connectivity/daq/daq_2.0.0.bb
 @@ -0,0 +1,17 @@
 +DESCRIPTION = The dump DAQ test the various inline mode features 
 +HOMEPAGE = http://www.snort.org;
 +LICENSE = GPLv2
 +LIC_FILES_CHKSUM = file://COPYING;md5=f9ce51a65dd738dc1ae631d8b21c40e0
 +
 +
 +DEPENDS = libpcap libpcre 
 +
 +SRC_URI[md5sum] = a00855a153647df76d47f1ea454f74ae
 +SRC_URI[sha256sum] = 
 fbafc8e362a96fcadc69731f91203ef90845507aae0a4774d5c2825e9d2c1c38
 +
 +SRC_URI = http://fossies.org/linux/misc/daq-2.0.0.tar.gz\
 +   file://disable-check-pcap-version.patch 

Fails to fetch:

ERROR: Fetcher failure: Fetch command failed with exit code 8, output:
http://fossies.org/linux/misc/daq-2.0.0.tar.gz:
2013-08-28 19:37:00 ERROR 410: Gone.

 +
 +
 +inherit autotools
 +
 diff --git 
 a/meta-oe/recipes-connectivity/daq/files/disable-check-pcap-version.pa
 tch 
 b/meta-oe/recipes-connectivity/daq/files/disable-check-pcap-version.pa
 tch
 new file mode 100644
 index 000..05f4031
 --- /dev/null
 +++ b/meta-oe/recipes-connectivity/daq/files/disable-check-pcap-versio
 +++ n.patch
 @@ -0,0 +1,19 @@
 +Upstream-Status:Inappropriate [embedded specific]
 +
 +fix the below error:
 +checking for libpcap version = 1.0.0... configure
 +configure: error: cannot run test program while cross compiling
 +
 +Signed-off-by: Chunrong Guo b40...@freescale.com
 +
 +--- a/configure.ac   2013-08-22 02:37:02.453253534 -0500
  b/configure.ac   2013-08-22 02:37:53.008254362 -0500
 +@@ -179,7 +179,7 @@
 +   [enable_pcap_module=$enableval], 
 +[enable_pcap_module=$DEFAULT_ENABLE])
 + if test $enable_pcap_module = yes; then
 + AC_CHECK_HEADER([pcap.h], [], [enable_pcap_module=no])
 +-AC_CHECK_PCAP_VER(1.0.0)
 ++#AC_CHECK_PCAP_VER(1.0.0)
 + if test $enable_pcap_module = yes; then
 + STATIC_LIBS=${STATIC_LIBS} -lpcap
 + fi
 --
 1.7.5.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

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


[oe] [meta-oe][PATCH V3 ] daq: add recipe

2013-08-29 Thread b40290
From: Chunrong Guo b40...@freescale.com

  *The dump DAQ test the various inline mode features
  *snort depends daq

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 meta-oe/recipes-connectivity/daq/daq_2.0.1.bb  |   18 ++
 .../daq/files/disable-check-pcap-version.patch |   19 +++
 2 files changed, 37 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-connectivity/daq/daq_2.0.1.bb
 create mode 100644 
meta-oe/recipes-connectivity/daq/files/disable-check-pcap-version.patch

diff --git a/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb 
b/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb
new file mode 100644
index 000..e3ddf09
--- /dev/null
+++ b/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = The dump DAQ test the various inline mode features 
+HOMEPAGE = http://www.snort.org;
+LICENSE = GPLv2
+
+LIC_FILES_CHKSUM = file://COPYING;md5=f9ce51a65dd738dc1ae631d8b21c40e0
+
+
+DEPENDS = libpcap libpcre 
+
+SRC_URI[md5sum] = 044aa3663d44580d005293eeb8ccf175
+SRC_URI[sha256sum] = 
ebba87c2ec76ac65d2980934423b0597909caead3a86ce5d1ba1ea6ce518ec6d
+
+SRC_URI = http://fossies.org/linux/misc/daq-${PV}.tar.gz\
+   file://disable-check-pcap-version.patch 
+
+inherit autotools
+
+
diff --git 
a/meta-oe/recipes-connectivity/daq/files/disable-check-pcap-version.patch 
b/meta-oe/recipes-connectivity/daq/files/disable-check-pcap-version.patch
new file mode 100644
index 000..05f4031
--- /dev/null
+++ b/meta-oe/recipes-connectivity/daq/files/disable-check-pcap-version.patch
@@ -0,0 +1,19 @@
+Upstream-Status:Inappropriate [embedded specific]
+
+fix the below error:
+checking for libpcap version = 1.0.0... configure
+configure: error: cannot run test program while cross compiling
+
+Signed-off-by: Chunrong Guo b40...@freescale.com
+
+--- a/configure.ac 2013-08-22 02:37:02.453253534 -0500
 b/configure.ac 2013-08-22 02:37:53.008254362 -0500
+@@ -179,7 +179,7 @@
+   [enable_pcap_module=$enableval], 
[enable_pcap_module=$DEFAULT_ENABLE])
+ if test $enable_pcap_module = yes; then
+ AC_CHECK_HEADER([pcap.h], [], [enable_pcap_module=no])
+-AC_CHECK_PCAP_VER(1.0.0)
++#AC_CHECK_PCAP_VER(1.0.0)
+ if test $enable_pcap_module = yes; then
+ STATIC_LIBS=${STATIC_LIBS} -lpcap
+ fi
-- 
1.7.5.4


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


[oe] [meta-oe][PATCH ] libhugetlbfs: add recipe

2013-08-27 Thread b40290
From: Chunrong Guo b40...@freescale.com

  *libhugetlbfs is a library which provides easy access to huge pages of memory

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 ...ler-to-be-override-regardless-of-32-or-64.patch |   94 ++
 ...rl-lib-to-directory-perl-instead-of-perl5.patch |   41 ++
 ...s-avoid-search-host-library-path-for-cros.patch |   70 +++
 .../files/0002-Fix-cross-compiling-on-PPC.patch|   39 ++
 ...fs-Remove-segment-based-alignment-restric.patch |  130 
 ...-run_tests.py-fix-typo-in-test-invocation.patch |   29 +
 .../files/checks-if-mtab-is-a-symlink.patch|   30 +
 ...s-Fix-perl-lib-can-not-be-shiped-to-sub-p.patch |   34 +
 ...ng-LIB32-and-LIB64-if-they-point-to-the-s.patch |   47 +++
 ...Makefile-install-static-4G-edge-testcases.patch |   29 +
 .../libhugetlbfs/libhugetlbfs_git.bb   |   49 
 11 files changed, 592 insertions(+), 0 deletions(-)
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Allow-compiler-to-be-override-regardless-of-32-or-64.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/0001-install-perl-lib-to-directory-perl-instead-of-perl5.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/0001-libhugetlbfs-avoid-search-host-library-path-for-cros.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/0002-Fix-cross-compiling-on-PPC.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/0003-libhugetlbfs-Remove-segment-based-alignment-restric.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/0004-tests-run_tests.py-fix-typo-in-test-invocation.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/checks-if-mtab-is-a-symlink.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-Fix-perl-lib-can-not-be-shiped-to-sub-p.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch
 create mode 100644 
meta-oe/recipes-benchmark/libhugetlbfs/files/tests-Makefile-install-static-4G-edge-testcases.patch
 create mode 100644 meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb

diff --git 
a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Allow-compiler-to-be-override-regardless-of-32-or-64.patch
 
b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Allow-compiler-to-be-override-regardless-of-32-or-64.patch
new file mode 100644
index 000..ee9138b
--- /dev/null
+++ 
b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Allow-compiler-to-be-override-regardless-of-32-or-64.patch
@@ -0,0 +1,94 @@
+From efba2e8dae0d2140289acd7a7fcc0e30ff00d676 Mon Sep 17 00:00:00 2001
+From: Chunrong Guo b40...@freescale.com
+Date: Mon, 5 Aug 2013 21:36:57 -0500
+Subject: [PATCH] Allow compiler to be override regardless of 32 or 64-bit build
+
+Provide an easy means for cross compiling to override the compiler
+without having to know if we intend a 32-bit or 64-bit build.
+
+
+Upstream-Status: Accepted
+Signed-off-by: Kumar Gala ga...@kernel.crashing.org
+Signed-off-by: Chunrong b40...@freescale.com
+---
+ Makefile |   23 ---
+ 1 file changed, 12 insertions(+), 11 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 48205af..878c71b 100644
+--- a/Makefile
 b/Makefile
+@@ -33,58 +33,59 @@ CFLAGS += -Wall -fPIC
+ CPPFLAGS += -D__LIBHUGETLBFS__
+ 
+ ARCH = $(shell uname -m | sed -e s/i.86/i386/)
++CC = gcc
+ 
+ CUSTOM_LDSCRIPTS = yes
+ 
+ ifeq ($(ARCH),ppc64)
+-CC64 = gcc -m64
++CC64 = $(CC) -m64
+ ELF64 = elf64ppc
+ TMPLIB64 = lib64
+ TMPLIB32 = lib
+ ifneq ($(BUILDTYPE),NATIVEONLY)
+-CC32 = gcc -m32
++CC32 = $(CC) -m32
+ ELF32 = elf32ppclinux
+ endif
+ else
+ ifeq ($(ARCH),ppc)
+-CC32 = gcc -m32
++CC32 = $(CC) -m32
+ ELF32 = elf32ppclinux
+ TMPLIB32 = lib
+ else
+ ifeq ($(ARCH),armv7l)
+-CC32 = gcc
++CC32 = $(CC)
+ TMPLIB32 = lib
+ ELF32 += armelf_linux_eabi
+ CUSTOM_LDSCRIPTS = no
+ else
+ ifeq ($(ARCH),i386)
+-CC32 = gcc
++CC32 = $(CC)
+ ELF32 = elf_i386
+ TMPLIB32 = lib
+ else
+ ifeq ($(ARCH),x86_64)
+-CC64 = gcc -m64
++CC64 = $(CC) -m64
+ ELF64 = elf_x86_64
+ TMPLIB64 = lib64
+ TMPLIB32 = lib
+ ifneq ($(BUILDTYPE),NATIVEONLY)
+-CC32 = gcc -m32
++CC32 = $(CC) -m32
+ ELF32 = elf_i386
+ endif
+ else
+ ifeq ($(ARCH),ia64)
+-CC64 = gcc
++CC64 = $(CC)
+ TMPLIB64 = lib64
+ CFLAGS += -DNO_ELFLINK
+ else
+ ifeq ($(ARCH),sparc64)
+-CC64 = gcc -m64
++CC64 = $(CC) -m64
+ TMPLIB64 = lib64
+ CFLAGS += -DNO_ELFLINK
+ else
+ ifeq ($(ARCH),s390x)
+-CC64 = gcc -m64
+-CC32 = gcc -m31
++CC64 = $(CC) -m64
++CC32 = $(CC) -m31
+ ELF32 = elf_s390
+ ELF64 = elf64_s390
+ TMPLIB64 = lib64
+-- 
+1.7.9.7
+
diff --git 
a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-install-perl-lib-to-directory-perl-instead-of-perl5.patch
 
b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-install-perl-lib-to-directory-perl-instead-of-perl5.patch
new file mode 100644
index 

[oe] [meta-oe][PATCH V2 ] daq: add recipe

2013-08-26 Thread b40290
From: Chunrong Guo b40...@freescale.com

   *The dump DAQ test the various inline mode features
   *snort depends daq

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 meta-oe/recipes-connectivity/daq/daq_2.0.0.bb  |   17 +
 .../daq/files/disable-check-pcap-version.patch |   19 +++
 2 files changed, 36 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-connectivity/daq/daq_2.0.0.bb
 create mode 100644 
meta-oe/recipes-connectivity/daq/files/disable-check-pcap-version.patch

diff --git a/meta-oe/recipes-connectivity/daq/daq_2.0.0.bb 
b/meta-oe/recipes-connectivity/daq/daq_2.0.0.bb
new file mode 100644
index 000..0a71894
--- /dev/null
+++ b/meta-oe/recipes-connectivity/daq/daq_2.0.0.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = The dump DAQ test the various inline mode features 
+HOMEPAGE = http://www.snort.org;
+LICENSE = GPLv2
+LIC_FILES_CHKSUM = file://COPYING;md5=f9ce51a65dd738dc1ae631d8b21c40e0
+
+
+DEPENDS = libpcap libpcre 
+
+SRC_URI[md5sum] = a00855a153647df76d47f1ea454f74ae
+SRC_URI[sha256sum] = 
fbafc8e362a96fcadc69731f91203ef90845507aae0a4774d5c2825e9d2c1c38
+
+SRC_URI = http://fossies.org/linux/misc/daq-2.0.0.tar.gz\
+   file://disable-check-pcap-version.patch 
+
+
+inherit autotools
+
diff --git 
a/meta-oe/recipes-connectivity/daq/files/disable-check-pcap-version.patch 
b/meta-oe/recipes-connectivity/daq/files/disable-check-pcap-version.patch
new file mode 100644
index 000..05f4031
--- /dev/null
+++ b/meta-oe/recipes-connectivity/daq/files/disable-check-pcap-version.patch
@@ -0,0 +1,19 @@
+Upstream-Status:Inappropriate [embedded specific]
+
+fix the below error:
+checking for libpcap version = 1.0.0... configure
+configure: error: cannot run test program while cross compiling
+
+Signed-off-by: Chunrong Guo b40...@freescale.com
+
+--- a/configure.ac 2013-08-22 02:37:02.453253534 -0500
 b/configure.ac 2013-08-22 02:37:53.008254362 -0500
+@@ -179,7 +179,7 @@
+   [enable_pcap_module=$enableval], 
[enable_pcap_module=$DEFAULT_ENABLE])
+ if test $enable_pcap_module = yes; then
+ AC_CHECK_HEADER([pcap.h], [], [enable_pcap_module=no])
+-AC_CHECK_PCAP_VER(1.0.0)
++#AC_CHECK_PCAP_VER(1.0.0)
+ if test $enable_pcap_module = yes; then
+ STATIC_LIBS=${STATIC_LIBS} -lpcap
+ fi
-- 
1.7.5.4


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


[oe] [meta-oe][PATCH 1/4] snort: add recipe

2013-08-25 Thread b40290
From: Chunrong Guo b40...@freescale.com

   *snort - a free lightweight network intrusion detection
 system for UNIX and Windows

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 meta-oe/recipes-connectivity/snort/files/default   |   42 ++
 .../snort/files/disable-dap-address-space-id.patch |   52 +++
 .../snort/files/disable-inaddr-none.patch  |   75 
 meta-oe/recipes-connectivity/snort/files/logrotate |   12 +
 .../recipes-connectivity/snort/files/snort.init|  425 
 meta-oe/recipes-connectivity/snort/files/volatiles |2 +
 .../recipes-connectivity/snort/snort_2.9.4.6.bb|   88 
 7 files changed, 696 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-connectivity/snort/files/default
 create mode 100644 
meta-oe/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
 create mode 100644 
meta-oe/recipes-connectivity/snort/files/disable-inaddr-none.patch
 create mode 100644 meta-oe/recipes-connectivity/snort/files/logrotate
 create mode 100755 meta-oe/recipes-connectivity/snort/files/snort.init
 create mode 100644 meta-oe/recipes-connectivity/snort/files/volatiles
 create mode 100644 meta-oe/recipes-connectivity/snort/snort_2.9.4.6.bb

diff --git a/meta-oe/recipes-connectivity/snort/files/default 
b/meta-oe/recipes-connectivity/snort/files/default
new file mode 100644
index 000..afd3840
--- /dev/null
+++ b/meta-oe/recipes-connectivity/snort/files/default
@@ -0,0 +1,42 @@
+# Parameters for the daemon
+# Add any additional parameteres here.
+PARAMS=-m 027 -D -d 
+#
+# Snort user
+# This user will be used to launch snort. Notice that the 
+# preinst script of the package might do changes to the user 
+# (home directory, User Name) when the package is upgraded or
+# reinstalled.  So, do *not* change this to 'root' or to any other user 
+# unless you are sure there is no problem with those changes being introduced.
+# 
+SNORTUSER=snort
+#
+# Logging directory
+# Snort logs will be dropped here and this will be the home
+# directory for the SNORTUSER. If you change this value you should
+# change the /etc/logrotate.d/snort definition too, otherwise logs
+# will not be rotated properly.
+#
+LOGDIR=/var/log/snort
+#
+# Snort group
+# This is the group that the snort user will be added to.
+#
+SNORTGROUP=snort
+# 
+# Allow Snort's init.d script to work if the configured interfaces
+# are not available. Set this to yes if you configure Snort with
+# multiple interfaces but some might not be available on boot
+# (e.g. wireless interfaces)
+# 
+# Note: In order for this to work the 'iproute' package needs to 
+# be installed.
+ALLOW_UNAVAILABLE=no
+
+# Local configs
+#
+LOCAL_SNORT_STARTUP=boot
+LOCAL_SNORT_HOME_NET=192.168.0.0/16
+LOCAL_SNORT_INTERFACE=
+LOCAL_SNORT_STATS_RCPT=root
+LOCAL_SNORT_STATS_THRESHOLD=1
diff --git 
a/meta-oe/recipes-connectivity/snort/files/disable-dap-address-space-id.patch 
b/meta-oe/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
new file mode 100644
index 000..39e5c9c
--- /dev/null
+++ 
b/meta-oe/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
@@ -0,0 +1,52 @@
+Upstream-Status:Inappropriate [embedded specific]
+
+fix the below error:
+checking for dap address space id... configure: 
+configure: error: cannot run test program while cross compiling
+
+
+Signed-off-by: Chunrong Guo b40...@freescale.com
+
+--- a/configure.in 2013-08-23 00:06:37.239361932 -0500
 b/configure.in 2013-08-23 00:07:32.860266534 -0500
+@@ -679,23 +679,23 @@
+ 
+ AC_CHECK_FUNCS([daq_hup_apply] [daq_acquire_with_meta])
+ 
+-AC_MSG_CHECKING([for daq address space ID])
+-AC_RUN_IFELSE(
+-[AC_LANG_PROGRAM(
+-[[
+-#include daq.h
+-]],
+-[[
+-   DAQ_PktHdr_t hdr;
+-   hdr.address_space_id = 0;
+-]])],
+-[have_daq_address_space_id=yes],
+-[have_daq_address_space_id=no])
+-AC_MSG_RESULT($have_daq_address_space_id)
+-if test x$have_daq_address_space_id = xyes; then
+-AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1],
+-[DAQ version supports address space ID in header.])
+-fi
++#AC_MSG_CHECKING([for daq address space ID])
++#AC_RUN_IFELSE(
++#[AC_LANG_PROGRAM(
++#[[
++##include daq.h
++#]],
++#[[
++#   DAQ_PktHdr_t hdr;
++#   hdr.address_space_id = 0;
++#]])],
++have_daq_address_space_id=yes
++#[have_daq_address_space_id=no])
++#AC_MSG_RESULT($have_daq_address_space_id)
++#if test x$have_daq_address_space_id = xyes; then
++#AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1],
++#[DAQ version supports address space ID in header.])
++#fi
+ 
+ # any sparc platform has to have this one defined.
+ AC_MSG_CHECKING(for sparc)
diff --git a/meta-oe/recipes-connectivity/snort/files/disable-inaddr-none.patch 
b/meta-oe/recipes-connectivity/snort/files/disable-inaddr-none.patch
new file mode 100644
index 000..9dafe63
--- /dev/null
+++ b/meta-oe/recipes-connectivity/snort/files/disable-inaddr-none.patch
@@ -0,0 +1,75 @@
+Upstream-Status: Inappropriate [embedded specific]
+
+fix the 

[oe] [meta-oe][PATCH 2/4] libdnet: add recipe

2013-08-25 Thread b40290
From: Chunrong Guo b40...@freescale.com

 *dumb networking library
 *snort depends libdnet

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../recipes-connectivity/libdnet/libdnet_1.12.bb   |   16 
 1 files changed, 16 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-connectivity/libdnet/libdnet_1.12.bb

diff --git a/meta-oe/recipes-connectivity/libdnet/libdnet_1.12.bb 
b/meta-oe/recipes-connectivity/libdnet/libdnet_1.12.bb
new file mode 100644
index 000..88b893b
--- /dev/null
+++ b/meta-oe/recipes-connectivity/libdnet/libdnet_1.12.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = dumb networking library
+HOMEPAGE = http://code.google.com/p/libdnet/;
+LICENSE = BSD
+LIC_FILES_CHKSUM = file://LICENSE;md5=0036c1b155f4e999f3e0a373490b5db9
+
+SRC_URI = http://libdnet.googlecode.com/files/libdnet-${PV}.tgz;
+
+SRC_URI[md5sum] = 9253ef6de1b5e28e9c9a62b882e44cc9
+SRC_URI[sha256sum] = 
83b33039787cf0e977cef7f18a5d5e7aaffc4505548a83d31bd3515eb026
+
+inherit autotools 
+
+
+do_configure_prepend() {
+   cp ${S}/config/acinclude.m4 ${S}/
+}
-- 
1.7.5.4


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


[oe] [meta-oe][PATCH 3/4] daq: add recipe

2013-08-25 Thread b40290
From: Chunrong Guo b40...@freescale.com

  *The dump DAQ test the various inline mode features
  *snort depends daq

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 meta-oe/recipes-connectivity/daq/daq_2.0.0.bb  |   17 +
 .../daq/files/disable-check-pcap-version.patch |   11 +++
 2 files changed, 28 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-connectivity/daq/daq_2.0.0.bb
 create mode 100644 
meta-oe/recipes-connectivity/daq/files/disable-check-pcap-version.patch

diff --git a/meta-oe/recipes-connectivity/daq/daq_2.0.0.bb 
b/meta-oe/recipes-connectivity/daq/daq_2.0.0.bb
new file mode 100644
index 000..0a71894
--- /dev/null
+++ b/meta-oe/recipes-connectivity/daq/daq_2.0.0.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = The dump DAQ test the various inline mode features 
+HOMEPAGE = http://www.snort.org;
+LICENSE = GPLv2
+LIC_FILES_CHKSUM = file://COPYING;md5=f9ce51a65dd738dc1ae631d8b21c40e0
+
+
+DEPENDS = libpcap libpcre 
+
+SRC_URI[md5sum] = a00855a153647df76d47f1ea454f74ae
+SRC_URI[sha256sum] = 
fbafc8e362a96fcadc69731f91203ef90845507aae0a4774d5c2825e9d2c1c38
+
+SRC_URI = http://fossies.org/linux/misc/daq-2.0.0.tar.gz\
+   file://disable-check-pcap-version.patch 
+
+
+inherit autotools
+
diff --git 
a/meta-oe/recipes-connectivity/daq/files/disable-check-pcap-version.patch 
b/meta-oe/recipes-connectivity/daq/files/disable-check-pcap-version.patch
new file mode 100644
index 000..416ef65
--- /dev/null
+++ b/meta-oe/recipes-connectivity/daq/files/disable-check-pcap-version.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac 2013-08-22 02:37:02.453253534 -0500
 b/configure.ac 2013-08-22 02:37:53.008254362 -0500
+@@ -179,7 +179,7 @@
+   [enable_pcap_module=$enableval], 
[enable_pcap_module=$DEFAULT_ENABLE])
+ if test $enable_pcap_module = yes; then
+ AC_CHECK_HEADER([pcap.h], [], [enable_pcap_module=no])
+-AC_CHECK_PCAP_VER(1.0.0)
++#AC_CHECK_PCAP_VER(1.0.0)
+ if test $enable_pcap_module = yes; then
+ STATIC_LIBS=${STATIC_LIBS} -lpcap
+ fi
-- 
1.7.5.4


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


[oe] [meta-oe][PATCH 4/4] barnyard: add recipe

2013-08-25 Thread b40290
From: Chunrong Guo b40...@freescale.com

  *Barnyard is a output system for Snort

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 meta-oe/licenses/QPL   |   99 
 .../barnyard/barnyard_0.2.0.bb |   22 +
 2 files changed, 121 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/licenses/QPL
 create mode 100644 meta-oe/recipes-connectivity/barnyard/barnyard_0.2.0.bb

diff --git a/meta-oe/licenses/QPL b/meta-oe/licenses/QPL
new file mode 100644
index 000..af39932
--- /dev/null
+++ b/meta-oe/licenses/QPL
@@ -0,0 +1,99 @@
+THE Q PUBLIC LICENSE
+ version 1.0
+
+  Copyright (C) 1999 Troll Tech AS, Norway.
+  Everyone is permitted to copy and
+  distribute this license document.
+
+The intent of this license is to establish freedom to share and change the
+software regulated by this license under the open source model.
+
+This license applies to any software containing a notice placed by the
+copyright holder saying that it may be distributed under the terms of
+the Q Public License version 1.0.  Such software is herein referred to as
+the Software.  This license covers modification and distribution of the
+Software, use of third-party application programs based on the Software,
+and development of free software which uses the Software.
+
+Granted Rights
+
+1. You are granted the non-exclusive rights set forth in this license
+   provided you agree to and comply with any and all conditions in this
+   license.  Whole or partial distribution of the Software, or software
+   items that link with the Software, in any form signifies acceptance of
+   this license.
+
+2. You may copy and distribute the Software in unmodified form provided
+   that the entire package, including - but not restricted to - copyright,
+   trademark notices and disclaimers, as released by the initial developer
+   of the Software, is distributed.
+
+3. You may make modifications to the Software and distribute your
+   modifications, in a form that is separate from the Software, such as
+   patches. The following restrictions apply to modifications:
+
+ a. Modifications must not alter or remove any copyright notices in
+the Software.
+
+ b. When modifications to the Software are released under this
+license, a non-exclusive royalty-free right is granted to the
+initial developer of the Software to distribute your modification
+in future versions of the Software provided such versions remain
+available under these terms in addition to any other license(s) of
+the initial developer.
+
+4. You may distribute machine-executable forms of the Software or
+   machine-executable forms of modified versions of the Software, provided
+   that you meet these restrictions:
+
+ a. You must include this license document in the distribution.
+
+ b. You must ensure that all recipients of the machine-executable forms
+are also able to receive the complete machine-readable source code
+to the distributed Software, including all modifications, without
+any charge beyond the costs of data transfer, and place prominent
+notices in the distribution explaining this.
+
+ c. You must ensure that all modifications included in the
+machine-executable forms are available under the terms of this
+license.
+
+5. You may use the original or modified versions of the Software to
+   compile, link and run application programs legally developed by you
+   or by others.
+
+6. You may develop application programs, reusable components and other
+   software items that link with the original or modified versions of the
+   Software.  These items, when distributed, are subject to the following
+   requirements:
+
+ a. You must ensure that all recipients of machine-executable forms of
+these items are also able to receive and use the complete
+machine-readable source code to the items without any charge
+beyond the costs of data transfer.
+
+ b. You must explicitly license all recipients of your items to use
+and re-distribute original and modified versions of the items in
+both machine-executable and source code forms. The recipients must
+be able to do so without any charges whatsoever, and they must be
+able to re-distribute to anyone they choose.
+
+
+ c. If the items are not available to the general public, and the
+initial developer of the Software requests a copy of the items,
+then you must supply one.
+
+   Limitations of Liability
+
+In no event shall the initial developers or copyright holders be liable
+for any damages whatsoever, including - but not restricted to - lost
+revenue or profits or other direct, indirect, 

Re: [oe] [meta-oe,v2][PATCH] iperf: Fix license

2013-08-05 Thread Guo Chunrong-B40290
Ping.

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org 
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of Paul 
Barker
Sent: Wednesday, July 31, 2013 10:29 PM
To: Openembedded Discussion
Subject: Re: [oe] [meta-oe,v2][PATCH] iperf: Fix license

On 31 July 2013 03:16,  b40...@freescale.com wrote:
 From: Chunrong Guo b40...@freescale.com

  *the current version of Iperf has a false LICENSE set,
  so fix license with the generic BSD license

 Signed-off-by: Chunrong Guo b40...@freescale.com

Acked-by: Paul Barker p...@paulbarker.me.uk

 ---
  meta-oe/recipes-benchmark/iperf/iperf_2.0.4.bb |2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

 diff --git a/meta-oe/recipes-benchmark/iperf/iperf_2.0.4.bb 
 b/meta-oe/recipes-benchmark/iperf/iperf_2.0.4.bb
 index 8107701..4261c95 100644
 --- a/meta-oe/recipes-benchmark/iperf/iperf_2.0.4.bb
 +++ b/meta-oe/recipes-benchmark/iperf/iperf_2.0.4.bb
 @@ -1,7 +1,7 @@
  DESCRIPTION = Iperf is a tool to measure maximum TCP bandwidth, allowing 
 the tuning of various parameters and UDP characteristics
  HOMEPAGE = http://dast.nlanr.net/Projects/Iperf/;
  SECTION = console/network
 -LICENSE = NewBSD
 +LICENSE = BSD-2-Clause
  LIC_FILES_CHKSUM = file://COPYING;md5=e8478eae9f479e39bc34975193360298

  SRC_URI =  \
 --
 1.7.5.4


-- 
Paul Barker

Email: p...@paulbarker.me.uk
http://www.paulbarker.me.uk
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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


Re: [oe] [meta-oe][PATCH] iperf: Fix license

2013-07-30 Thread Guo Chunrong-B40290
Hello,paul barker

Thank you for your comments. 
I agree it . 

Thanks,
chunrong

-Original Message-
From: paul.betaf...@gmail.com [mailto:paul.betaf...@gmail.com] On Behalf Of 
Paul Barker
Sent: Tuesday, July 30, 2013 10:15 PM
To: Openembedded Discussion
Cc: Guo Chunrong-B40290; Yu Zongchun-B40527
Subject: Re: [oe] [meta-oe][PATCH] iperf: Fix license

On 29 July 2013 10:45, Guo Chunrong-B40290 b40...@freescale.com wrote:
 Hello,

 I'd appreciate if someone can review.


I'll take a quick look...

 -LICENSE = NewBSD
 +LICENSE = BSD

Comparing http://sourceforge.net/p/iperf/code/82/tree/trunk/COPYING
and the common licenses in openembedded-core, it looks like BSD-2-Clause 
would be more accurate. Could you take a look and let me know if you agree? 
Currently on the move so can't diff the files myself.

--
Paul Barker

Email: p...@paulbarker.me.uk
http://www.paulbarker.me.uk


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


[oe] [meta-oe,v2][PATCH] iperf: Fix license

2013-07-30 Thread b40290
From: Chunrong Guo b40...@freescale.com

 *the current version of Iperf has a false LICENSE set,
 so fix license with the generic BSD license

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 meta-oe/recipes-benchmark/iperf/iperf_2.0.4.bb |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta-oe/recipes-benchmark/iperf/iperf_2.0.4.bb 
b/meta-oe/recipes-benchmark/iperf/iperf_2.0.4.bb
index 8107701..4261c95 100644
--- a/meta-oe/recipes-benchmark/iperf/iperf_2.0.4.bb
+++ b/meta-oe/recipes-benchmark/iperf/iperf_2.0.4.bb
@@ -1,7 +1,7 @@
 DESCRIPTION = Iperf is a tool to measure maximum TCP bandwidth, allowing the 
tuning of various parameters and UDP characteristics
 HOMEPAGE = http://dast.nlanr.net/Projects/Iperf/;
 SECTION = console/network
-LICENSE = NewBSD
+LICENSE = BSD-2-Clause
 LIC_FILES_CHKSUM = file://COPYING;md5=e8478eae9f479e39bc34975193360298
 
 SRC_URI =  \
-- 
1.7.5.4


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


Re: [oe] [meta-oe][PATCH] iperf: Fix license

2013-07-29 Thread Guo Chunrong-B40290
Hello,

I'd appreciate if someone can review.

Thanks
chunrong

-Original Message-
From: Guo Chunrong-B40290 
Sent: Thursday, July 25, 2013 5:28 PM
To: openembedded-devel@lists.openembedded.org
Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Guo Chunrong-B40290; Yu 
Zongchun-B40527; Guo Chunrong-B40290
Subject: [meta-oe][PATCH] iperf: Fix license

*the current version of Iperf has a false LICENSE set,
 so fix license with the generic BSD license

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 meta-oe/recipes-benchmark/iperf/iperf_2.0.4.bb |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta-oe/recipes-benchmark/iperf/iperf_2.0.4.bb 
b/meta-oe/recipes-benchmark/iperf/iperf_2.0.4.bb
index 8107701..03b8fe0 100644
--- a/meta-oe/recipes-benchmark/iperf/iperf_2.0.4.bb
+++ b/meta-oe/recipes-benchmark/iperf/iperf_2.0.4.bb
@@ -1,7 +1,7 @@
 DESCRIPTION = Iperf is a tool to measure maximum TCP bandwidth, allowing the 
tuning of various parameters and UDP characteristics
 HOMEPAGE = http://dast.nlanr.net/Projects/Iperf/;
 SECTION = console/network
-LICENSE = NewBSD
+LICENSE = BSD
 LIC_FILES_CHKSUM = file://COPYING;md5=e8478eae9f479e39bc34975193360298
 
 SRC_URI =  \
-- 
1.7.5.4


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


Re: [oe] [meta-networking][PATCH] Install a systemd unit into ${systemd_unitdir} only with systemd in DISTRO_FEATURES

2013-07-23 Thread Guo Chunrong-B40290
Please apply the patch .


-Original Message-
From: Guo Chunrong-B40290 
Sent: Friday, July 05, 2013 1:29 PM
To: openembedded-devel@lists.openembedded.org
Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Guo Chunrong-B40290; Yu 
Zongchun-B40527; Guo Chunrong-B40290
Subject: [meta-networking][PATCH] Install a systemd unit into 
${systemd_unitdir} only with systemd in DISTRO_FEATURES

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../recipes-protocols/net-snmp/net-snmp_5.7.2.bb   |   11 +++
 .../recipes-support/dnsmasq/dnsmasq.inc|5 -
 .../recipes-support/nis/yp-tools_2.12.bb   |8 +---
 .../recipes-support/nis/ypbind-mt_1.36.bb  |8 +---
 meta-networking/recipes-support/ntp/ntp.inc|   12 +++-
 5 files changed, 28 insertions(+), 16 deletions(-)

diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.bb 
b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.bb
index d21995a..2eece50 100644
--- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.bb
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = 
file://README;beginline=3;endline=8;md5=7f7f00ba639ac8e8deb5
 
 DEPENDS = openssl libnl pciutils
 
-PR = r1
+PR = r2
 
 SRC_URI = ${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.tar.gz \
 file://init \
@@ -51,9 +51,12 @@ do_install_append() {
 -e s@^includedir=.*@includedir=${STAGING_INCDIR}@g \
 -e s@^libdir=.*@libdir=${STAGING_LIBDIR}@g \
 -i ${STAGING_BINDIR}/net-snmp-config
-install -d ${D}${systemd_unitdir}/system
-install -m 0644 ${WORKDIR}/snmpd.service ${D}${systemd_unitdir}/system
-install -m 0644 ${WORKDIR}/snmptrapd.service ${D}${systemd_unitdir}/system
+
+if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then
+install -d ${D}${systemd_unitdir}/system
+install -m 0644 ${WORKDIR}/snmpd.service ${D}${systemd_unitdir}/system
+install -m 0644 ${WORKDIR}/snmptrapd.service 
${D}${systemd_unitdir}/system
+fi
 }
 
 PACKAGES = ${PN}-dbg ${PN}-doc ${PN}-dev ${PN}-staticdev ${PN}-static 
${PN}-libs \ diff --git a/meta-networking/recipes-support/dnsmasq/dnsmasq.inc 
b/meta-networking/recipes-support/dnsmasq/dnsmasq.inc
index 0f5b273..242f143 100644
--- a/meta-networking/recipes-support/dnsmasq/dnsmasq.inc
+++ b/meta-networking/recipes-support/dnsmasq/dnsmasq.inc
@@ -31,9 +31,11 @@ do_install () {
 install -m 644 ${WORKDIR}/dnsmasq.conf ${D}${sysconfdir}/
 install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/dnsmasq
 
+if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; 
+ then
 install -d ${D}${systemd_unitdir}/system
 install -m 0644 ${WORKDIR}/dnsmasq.service ${D}${systemd_unitdir}/system
-
+fi
+   
 if [ ${@base_contains('PACKAGECONFIG', 'dbus', 'dbus', '', d)} !=  ]; 
then
 install -d ${D}${sysconfdir}/dbus-1/system.d
 install -m 644 dbus/dnsmasq.conf ${D}${sysconfdir}/dbus-1/system.d/
@@ -46,3 +48,4 @@ RPROVIDES_${PN} += ${PN}-systemd
 RREPLACES_${PN} += ${PN}-systemd
 RCONFLICTS_${PN} += ${PN}-systemd
 SYSTEMD_SERVICE_${PN} = dnsmasq.service
+
diff --git a/meta-networking/recipes-support/nis/yp-tools_2.12.bb 
b/meta-networking/recipes-support/nis/yp-tools_2.12.bb
index 0017845..65c4429 100644
--- a/meta-networking/recipes-support/nis/yp-tools_2.12.bb
+++ b/meta-networking/recipes-support/nis/yp-tools_2.12.bb
@@ -1,7 +1,7 @@
 # This package builds tools to manage NIS  # The source package is 
utils/net/NIS/yp-tools  # -PR = r3
+PR = r4
 DESCRIPTION=\
 Network Information Service tools.  \
 This package contains ypcat, ypmatch, ypset, \ @@ -26,6 +26,8 @@ 
RCONFLICTS_${PN} += ${PN}-systemd
 SYSTEMD_SERVICE_${PN} = domainname.service
 
 do_install_append() {
-install -d ${D}${systemd_unitdir}/system
-install -m 0644 ${WORKDIR}/domainname.service ${D}${systemd_unitdir}/system
+if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then
+install -d ${D}${systemd_unitdir}/system
+install -m 0644 ${WORKDIR}/domainname.service 
${D}${systemd_unitdir}/system
+fi
 }
diff --git a/meta-networking/recipes-support/nis/ypbind-mt_1.36.bb 
b/meta-networking/recipes-support/nis/ypbind-mt_1.36.bb
index 35ef16a..85ecaf8 100644
--- a/meta-networking/recipes-support/nis/ypbind-mt_1.36.bb
+++ b/meta-networking/recipes-support/nis/ypbind-mt_1.36.bb
@@ -1,7 +1,7 @@
 # This package builds the NIS ypbind daemon  # The source package is 
utils/net/NIS/ypbind-mt  # -PR = r3
+PR = r4
 DESCRIPTION=\
 Multithreaded NIS bind service (ypbind-mt).  \  ypbind-mt is a complete new 
implementation of a NIS \ @@ -40,8 +40,10 @@ do_install_append () {
 # TODO, use update-rc.d
 ln -s ../init.d/ypbind ${D}${sysconfdir}/rcS.d/S44ypbind
 
-install -d ${D}${systemd_unitdir}/system
-install -m 0644 ${WORKDIR}/ypbind.service ${D}${systemd_unitdir}/system
+if ${@base_contains

Re: [oe] [meta-oe][PATCH] licences: Add iozone3, SMAIL_GPL

2013-07-21 Thread Guo Chunrong-B40290
ping

-Original Message-
From: Guo Chunrong-B40290 
Sent: Thursday, July 18, 2013 1:06 PM
To: Guo Chunrong-B40290; openembedded-devel@lists.openembedded.org
Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Yu Zongchun-B40527
Subject: RE: [meta-oe][PATCH] licences: Add iozone3, SMAIL_GPL

Hello,
Please apply this patch .

Thanks,
chunrong

-Original Message-
From: Guo Chunrong-B40290
Sent: Thursday, July 11, 2013 10:32 AM
To: openembedded-devel@lists.openembedded.org
Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Guo Chunrong-B40290; Yu 
Zongchun-B40527; Guo Chunrong-B40290
Subject: [meta-oe][PATCH] licences: Add iozone3, SMAIL_GPL

 *fix the fllowing warning
 |WARNING:debianutils: No generic license file exists for: SMAIL_GPL in any 
provider
 |WARNING:iozone3: No generic license file exists for: iozone3 in any 
provider

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 meta-oe/conf/layer.conf|2 +
 meta-oe/licenses/SMAIL_GPL |  164 
 meta-oe/licenses/iozone3   |   62 +
 3 files changed, 228 insertions(+), 0 deletions(-)  create mode 100644 
meta-oe/licenses/SMAIL_GPL  create mode 100644 meta-oe/licenses/iozone3

diff --git a/meta-oe/conf/layer.conf b/meta-oe/conf/layer.conf index 
68f7823..bc025bb 100644
--- a/meta-oe/conf/layer.conf
+++ b/meta-oe/conf/layer.conf
@@ -23,6 +23,8 @@ BBFILE_PATTERN_openembedded-layer := ^${LAYERDIR}/
 
 BBFILE_PRIORITY_openembedded-layer = 6
 
+LICENSE_PATH += ${LAYERDIR}/licenses
+
 SIGGEN_EXCLUDERECIPES_ABISAFE +=  \
   pointercal-xinput \
   mplayer-common \
diff --git a/meta-oe/licenses/SMAIL_GPL b/meta-oe/licenses/SMAIL_GPL new file 
mode 100644 index 000..dfc3fd1
--- /dev/null
+++ b/meta-oe/licenses/SMAIL_GPL
@@ -0,0 +1,164 @@
+This is the Debian GNU/Linux package debianutils.
+
+It is an original Debian package.  Programs in it were maintained by 
+Guy Maor m...@debian.org, and are now maintained by Clint Adams 
+sch...@debian.org.
+
+All its programs except readlink, savelog, and which may be 
+redistributed under the terms of the GNU GPL, Version 2 or later, found 
+on Debian systems in the file /usr/share/common-licenses/GPL.
+
+which is in the public domain.
+
+readlink is Copyright (c) 1997 Kenneth Stailey, and may also be 
+distributed under the terms of the BSD copyright.
+
+savelog may be redistributed under the following terms: (The rest of 
+this file consists of savelog's distribution terms.)
+
+#ident @(#)smail:RELEASE-3_2:COPYING,v 1.2 1996/06/14 18:59:10 woods Exp
+
+SMAIL GENERAL PUBLIC LICENSE
+  (Clarified 11 Feb 1988)
+
+ Copyright (C)  1988 Landon Curt Noll  Ronald S. Karr Copyright (C)
+ 1992 Ronald S. Karr Copyleft (GNU) 1988 Landon Curt Noll  Ronald S. 
+ Karr
+
+ Everyone is permitted to copy and distribute verbatim copies of this 
+ license, but changing it is not allowed.  You can also use this 
+ wording to make the terms for other programs.
+
+  The license agreements of most software companies keep you at the 
+mercy of those companies.  By contrast, our general public license is 
+intended to give everyone the right to share SMAIL.  To make sure that 
+you get the rights we want you to have, we need to make restrictions 
+that forbid anyone to deny you these rights or to ask you to surrender 
+the rights.  Hence this license agreement.
+
+  Specifically, we want to make sure that you have the right to give 
+away copies of SMAIL, that you receive source code or else can get it 
+if you want it, that you can change SMAIL or use pieces of it in new 
+free programs, and that you know you can do these things.
+
+  To make sure that everyone has such rights, we have to forbid you to 
+deprive anyone else of these rights.  For example, if you distribute 
+copies of SMAIL, you must give the recipients all the rights that you 
+have.  You must make sure that they, too, receive or can get the source 
+code.  And you must tell them their rights.
+
+  Also, for our own protection, we must make certain that everyone 
+finds out that there is no warranty for SMAIL.  If SMAIL is modified by 
+someone else and passed on, we want its recipients to know that what 
+they have is not what we distributed, so that any problems introduced 
+by others will not reflect on our reputation.
+
+  Therefore we (Landon Curt Noll and Ronald S. Karr) make the following 
+terms which say what you must do to be allowed to distribute or change 
+SMAIL.
+
+
+   COPYING POLICIES
+
+  1. You may copy and distribute verbatim copies of SMAIL source code 
+as you receive it, in any medium, provided that you conspicuously and 
+appropriately publish on each copy a valid copyright notice Copyright
+(C) 1988 Landon Curt Noll  Ronald S. Karr (or with whatever year is 
+appropriate); keep intact the notices on all files that refer to this 
+License Agreement and to the absence of any warranty; and give any 
+other recipients

Re: [oe] [meta-oe][PATCH] licences: Add iozone3, SMAIL_GPL

2013-07-17 Thread Guo Chunrong-B40290
Hello,
Please apply this patch .

Thanks,
chunrong

-Original Message-
From: Guo Chunrong-B40290 
Sent: Thursday, July 11, 2013 10:32 AM
To: openembedded-devel@lists.openembedded.org
Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Guo Chunrong-B40290; Yu 
Zongchun-B40527; Guo Chunrong-B40290
Subject: [meta-oe][PATCH] licences: Add iozone3, SMAIL_GPL

 *fix the fllowing warning
 |WARNING:debianutils: No generic license file exists for: SMAIL_GPL in any 
provider
 |WARNING:iozone3: No generic license file exists for: iozone3 in any 
provider

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 meta-oe/conf/layer.conf|2 +
 meta-oe/licenses/SMAIL_GPL |  164 
 meta-oe/licenses/iozone3   |   62 +
 3 files changed, 228 insertions(+), 0 deletions(-)  create mode 100644 
meta-oe/licenses/SMAIL_GPL  create mode 100644 meta-oe/licenses/iozone3

diff --git a/meta-oe/conf/layer.conf b/meta-oe/conf/layer.conf index 
68f7823..bc025bb 100644
--- a/meta-oe/conf/layer.conf
+++ b/meta-oe/conf/layer.conf
@@ -23,6 +23,8 @@ BBFILE_PATTERN_openembedded-layer := ^${LAYERDIR}/
 
 BBFILE_PRIORITY_openembedded-layer = 6
 
+LICENSE_PATH += ${LAYERDIR}/licenses
+
 SIGGEN_EXCLUDERECIPES_ABISAFE +=  \
   pointercal-xinput \
   mplayer-common \
diff --git a/meta-oe/licenses/SMAIL_GPL b/meta-oe/licenses/SMAIL_GPL new file 
mode 100644 index 000..dfc3fd1
--- /dev/null
+++ b/meta-oe/licenses/SMAIL_GPL
@@ -0,0 +1,164 @@
+This is the Debian GNU/Linux package debianutils.
+
+It is an original Debian package.  Programs in it were maintained by 
+Guy Maor m...@debian.org, and are now maintained by Clint Adams 
+sch...@debian.org.
+
+All its programs except readlink, savelog, and which may be 
+redistributed under the terms of the GNU GPL, Version 2 or later, found 
+on Debian systems in the file /usr/share/common-licenses/GPL.
+
+which is in the public domain.
+
+readlink is Copyright (c) 1997 Kenneth Stailey, and may also be 
+distributed under the terms of the BSD copyright.
+
+savelog may be redistributed under the following terms: (The rest of 
+this file consists of savelog's distribution terms.)
+
+#ident @(#)smail:RELEASE-3_2:COPYING,v 1.2 1996/06/14 18:59:10 woods Exp
+
+SMAIL GENERAL PUBLIC LICENSE
+  (Clarified 11 Feb 1988)
+
+ Copyright (C)  1988 Landon Curt Noll  Ronald S. Karr Copyright (C)  
+ 1992 Ronald S. Karr Copyleft (GNU) 1988 Landon Curt Noll  Ronald S. 
+ Karr
+
+ Everyone is permitted to copy and distribute verbatim copies of this 
+ license, but changing it is not allowed.  You can also use this 
+ wording to make the terms for other programs.
+
+  The license agreements of most software companies keep you at the 
+mercy of those companies.  By contrast, our general public license is 
+intended to give everyone the right to share SMAIL.  To make sure that 
+you get the rights we want you to have, we need to make restrictions 
+that forbid anyone to deny you these rights or to ask you to surrender 
+the rights.  Hence this license agreement.
+
+  Specifically, we want to make sure that you have the right to give 
+away copies of SMAIL, that you receive source code or else can get it 
+if you want it, that you can change SMAIL or use pieces of it in new 
+free programs, and that you know you can do these things.
+
+  To make sure that everyone has such rights, we have to forbid you to 
+deprive anyone else of these rights.  For example, if you distribute 
+copies of SMAIL, you must give the recipients all the rights that you 
+have.  You must make sure that they, too, receive or can get the source 
+code.  And you must tell them their rights.
+
+  Also, for our own protection, we must make certain that everyone 
+finds out that there is no warranty for SMAIL.  If SMAIL is modified by 
+someone else and passed on, we want its recipients to know that what 
+they have is not what we distributed, so that any problems introduced 
+by others will not reflect on our reputation.
+
+  Therefore we (Landon Curt Noll and Ronald S. Karr) make the following 
+terms which say what you must do to be allowed to distribute or change 
+SMAIL.
+
+
+   COPYING POLICIES
+
+  1. You may copy and distribute verbatim copies of SMAIL source code 
+as you receive it, in any medium, provided that you conspicuously and 
+appropriately publish on each copy a valid copyright notice Copyright
+(C) 1988 Landon Curt Noll  Ronald S. Karr (or with whatever year is 
+appropriate); keep intact the notices on all files that refer to this 
+License Agreement and to the absence of any warranty; and give any 
+other recipients of the SMAIL program a copy of this License Agreement 
+along with the program.  You may charge a distribution fee for the 
+physical act of transferring a copy.
+
+  2. You may modify your copy or copies of SMAIL or any portion of it, 
+and copy and distribute such modifications under the terms

Re: [oe] [meta-networking][PATCH] dnsmasq: install .service only with systemd in DISTRO_FEATURES

2013-07-05 Thread Guo Chunrong-B40290
Hello, Joe MacDonald
New  patch was submitted.
I do not modify (atftp/tracker/gateone)  recips and slim recipes do not work.
SO the code in these recipes  add  ${systemd_unitdir} to FILES and these 
recipes work well. 

Thanks,
chunrong

-Original Message-
From: Joe MacDonald [mailto:joe.macdon...@windriver.com] 
Sent: Thursday, July 04, 2013 7:18 PM
To: openembedded-devel@lists.openembedded.org
Cc: Guo Chunrong-B40290; Yu Zongchun-B40527
Subject: Re: [oe] [meta-networking][PATCH] dnsmasq: install .service only with 
systemd in DISTRO_FEATURES

[Re: [oe] [meta-networking][PATCH] dnsmasq: install .service only with systemd 
in DISTRO_FEATURES] On 13.07.04 (Thu 11:50) Paul Eggleton wrote:

 On Thursday 04 July 2013 17:26:23 Chunrong Guo wrote:
  Signed-off-by: Chunrong Guo b40...@freescale.com
  ---
   .../recipes-support/dnsmasq/dnsmasq.inc|8 +---
   1 files changed, 5 insertions(+), 3 deletions(-)
  
  diff --git a/meta-networking/recipes-support/dnsmasq/dnsmasq.inc
  b/meta-networking/recipes-support/dnsmasq/dnsmasq.inc index
  0f5b273..0710893 100644
  --- a/meta-networking/recipes-support/dnsmasq/dnsmasq.inc
  +++ b/meta-networking/recipes-support/dnsmasq/dnsmasq.inc
  @@ -30,9 +30,11 @@ do_install () {
   install -d ${D}${sysconfdir}/ ${D}${sysconfdir}/init.d 
  ${D}${sysconfdir}/dnsmasq.d install -m 644 ${WORKDIR}/dnsmasq.conf 
  ${D}${sysconfdir}/
   install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/dnsmasq
  -
  -install -d ${D}${systemd_unitdir}/system
  -install -m 0644 ${WORKDIR}/dnsmasq.service
  ${D}${systemd_unitdir}/system +
  +if 
  + ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)};
  then +install -d ${D}${systemd_unitdir}/system
  +install -m 0644 ${WORKDIR}/dnsmasq.service
  ${D}${systemd_unitdir}/system +fi
  
   if [ ${@base_contains('PACKAGECONFIG', 'dbus', 'dbus', '', d)} != 
  ]; then install -d ${D}${sysconfdir}/dbus-1/system.d
 
 I think we should really have a global fix for this issue rather than 
 hacking up every recipe:
 
 https://bugzilla.yoctoproject.org/show_bug.cgi?id=4309

I'm inclined to agree, but looking at the bug it looks like the potential 
solution was discussed in February and it's on the schedule for Yocto 1.5, but 
that's October.

So I did a quick survey, here's the meta-networking recipes that'll be 
impacted, if we adopt the workaround approach:

   - net-snmp
   - dnsmasq (obviously)
   - ypbind-mt
   - yp-tools
   - ntp
   - atftp

I decided I'd have a look at meta-oe for contrast (and guidance) and this is 
what I found there:

   - slim
   - tracker
   - cloud9
   - zram
   - gpsd
   - gateone

On the other hand, xinput-calibrator and xserver-nodm-init,  already have the 
same fix in it Chunrong is proposing.  So the impact of doing either isn't 
huge, but it's not small either.

Chunrong:  Would you be willing to retest and resubmit your patch with the 
above listed meta-networking recipes as a set?  I don't see a lot of sense in 
doing this piecemeal, I'm okay with taking a workaround until
#4309 gets fixed, but I'd rather tear the band-aid off all at once, so to speak.

--
-Joe MacDonald.
:wq

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


Re: [oe] [OE-core][PATCH] fm-ucode: update to the commit for sdk 1.3.2

2013-03-20 Thread Guo Chunrong-B40290
Ignore it .

Sorry, I send patch to wrong maillist .

-Original Message-
From: Guo Chunrong-B40290 
Sent: Thursday, March 21, 2013 10:47 AM
To: openembedded-devel@lists.openembedded.org
Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Guo Chunrong-B40290; Guo 
Chunrong-B40290
Subject: [OE-core][PATCH] fm-ucode: update to the commit for sdk 1.3.2

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 recipes-ucode/fm-ucode/fm-ucode_git.bb |   51 +---
 1 files changed, 27 insertions(+), 24 deletions(-)

diff --git a/recipes-ucode/fm-ucode/fm-ucode_git.bb 
b/recipes-ucode/fm-ucode/fm-ucode_git.bb
index 89c43ba..bc5dc6d 100644
--- a/recipes-ucode/fm-ucode/fm-ucode_git.bb
+++ b/recipes-ucode/fm-ucode/fm-ucode_git.bb
@@ -3,41 +3,44 @@ SECTION = fm-ucode
 LICENSE = Freescale EULA
 LIC_FILES_CHKSUM = file://EULA;md5=60037ccba533a5995e8d1a838d85799c
 
-FMAN_UCODE_INSTALL_FILE = fsl_fman_ucode
-FMAN_UCODE_INSTALL_FILE_append_p2041rdb = _P2041
-FMAN_UCODE_INSTALL_FILE_append_p4080ds= _P4080
-FMAN_UCODE_INSTALL_FILE_append_p1023rds = _*1023
-FMAN_UCODE_INSTALL_FILE_append_p5020ds = _P5020
-FMAN_UCODE_INSTALL_FILE_append_p5020ds-64b = _P5020
-FMAN_UCODE_INSTALL_FILE_append_p5040ds = _P5040
-FMAN_UCODE_INSTALL_FILE_append_p5040ds-64b = _P5040
-FMAN_UCODE_INSTALL_FILE_append_p3041ds = _P3041
-FMAN_UCODE_INSTALL_FILE_append_b4420qds = _B4860
-FMAN_UCODE_INSTALL_FILE_append_b4420qds-64b = _B4860
-FMAN_UCODE_INSTALL_FILE_append_b4860qds = _B4860
-FMAN_UCODE_INSTALL_FILE_append_b4860qds-64b = _B4860
-FMAN_UCODE_INSTALL_FILE_append_t4160qds = _T4240
-FMAN_UCODE_INSTALL_FILE_append_t4160qds-64b = _T4240
-FMAN_UCODE_INSTALL_FILE_append_t4240qds = _T4240
-FMAN_UCODE_INSTALL_FILE_append_t4240qds-64b = _T4240
-
-COMPATIBLE_MACHINE = 
(p1023rds|p4080ds|p5020ds|p5040ds|p5020ds-64b|p5040ds-64b|p3041ds|p2041rdb|b4420qds|b4420qds-64b|b4860qds|b4860qds-64b|t4160qds|t4160qds-64b|t4240qds|t4240qds-64b)
+PR = r1
+
+
+COMPATIBLE_MACHINE = 
(p1023rds|p2041rdb|p3041ds|p4080ds|p5020ds|p5040ds|p5020ds-64b|p5040ds-64b|b4420qds|b4420qds-64b|b4860qds|b4860qds-64b|t4160qds|t4160qds-64b|t4240qds|t4240qds-64b)
 inherit deploy
 
 SRC_URI = git://git.freescale.com/ppc/sdk/fm-ucode.git
-SRCREV = f4a43e8ad6a6e5fdedff6e1484386f963bccfdff
+SRCREV = 219bb2c6aaa1e040fb849a771a9bdf3e8dbc49e9
 
 S = ${WORKDIR}/git
 
 ALLOW_EMPTY_${PN} = 1
 do_install () {
-   install -d ${D}/boot
-   install -m 644 ${FMAN_UCODE_INSTALL_FILE}*.bin ${D}/boot/
+case ${MACHINE} in
+b4420qds|b4420qds-64b|b4860qds|b4860qds-64b) UCODE=b4860qds;;
+t4240qds|t4240qds-64b|t4160qds|t4160qds-64b) UCODE=t4240qds;;
+p5020ds|p5020ds-64b) UCODE=p5020ds;;
+p5040ds|p5040ds-64b) UCODE=p5040ds;;
+p1023rds) UCODE=P1023RDS;;
+*) UCODE=${MACHINE};;
+esac
+UCODE=`echo $UCODE | sed -e 's,[a-zA-Z]*$,,'`
+install -d ${D}/boot
+install -m 644 fsl_fman_ucode_${UCODE}*.bin ${D}/boot/
 }
 
 do_deploy () {
-   install -d ${DEPLOYDIR}/
-   install -m 644 ${FMAN_UCODE_INSTALL_FILE}*.bin ${DEPLOYDIR}/
+case ${MACHINE} in
+b4420qds|b4420qds-64b|b4860qds|b4860qds-64b) UCODE=b4860qds;;
+t4240qds|t4240qds-64b|t4160qds|t4160qds-64b) UCODE=t4240qds;;
+p5020ds|p5020ds-64b) UCODE=p5020ds;;
+p5040ds|p5040ds-64b) UCODE=p5040ds;;
+p1023rds) UCODE=P1023RDS;;
+*) UCODE=${MACHINE};;
+esac
+UCODE=`echo $UCODE | sed -e 's,[a-zA-Z]*$,,'`
+install -d ${DEPLOYDIR}/
+install -m 644 fsl_fman_ucode_${UCODE}*.bin ${DEPLOYDIR}/
 }
 addtask deploy before do_build after do_install
 
-- 
1.7.5.4



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


Re: [oe] [OE-core][PATCH] fmlib: update to the commit for sdk 1.3.2

2013-03-20 Thread Guo Chunrong-B40290
Ignore it .

Sorry, I send patch to wrong maillist .

-Original Message-
From: Guo Chunrong-B40290 
Sent: Thursday, March 21, 2013 10:32 AM
To: openembedded-devel@lists.openembedded.org
Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Guo Chunrong-B40290; Guo 
Chunrong-B40290
Subject: [OE-core][PATCH] fmlib: update to the commit for sdk 1.3.2

From: Chunrong Guo b40...@freescale.com

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 recipes-ucode/fmlib/fmlib_git.bb |6 --
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/recipes-ucode/fmlib/fmlib_git.bb b/recipes-ucode/fmlib/fmlib_git.bb
index 74eb204..038f899 100644
--- a/recipes-ucode/fmlib/fmlib_git.bb
+++ b/recipes-ucode/fmlib/fmlib_git.bb
@@ -3,11 +3,13 @@ SECTION = fman
 LICENSE = BSD  GPLv2
 LIC_FILES_CHKSUM = file://COPYING;md5=3f16fa8e677e45af3127c5c4bafc3c00
 
+PR = r1
+
 DEPENDS = linux-libc-headers
 DEPENDS_virtclass-native = 
 
 SRC_URI = git://git.freescale.com/ppc/sdk/fmlib.git
-SRCREV = 5ebbf75c3108404b513198c9fd9b955b123680af
+SRCREV = e80c0625d4f2671ac4f15cabfdd1b334143eb515
 
 S = ${WORKDIR}/git
 
@@ -34,6 +36,6 @@ do_install_virtclass-native () {
   cp -rf ${S}/include/* ${D}/${includedir}  }
 
-ALLOW_EMPTY = 1
+ALLOW_EMPTY_${PN} = 1
 
 BBCLASSEXTEND = native
--
1.7.5.4



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


Re: [oe] [meta-networking v6 ] inetutils : Update to 1.9.1

2012-11-22 Thread Guo Chunrong-B40290
Hello,

Any comment on it ?

Best Regards,

Chunrong

-Original Message-
From: Guo Chunrong-B40290 
Sent: Tuesday, November 20, 2012 3:11 PM
To: openembedded-devel@lists.openembedded.org
Cc: McClintock Matthew-B29882; Liu Ting-B28495; Luo Zhenhua-B19537; Guo 
Chunrong-B40290
Subject: [meta-networking v6 ] inetutils : Update to 1.9.1

   * There are difference spaces between  inetutils-1.8/COPYING
 and inetutils-1.9.1/COPYING,so md5sum is changed.

   * the following patches are accepted by inetutils 1.9.1 upstream
 inetutils-1.8-1005-ftpd-add-daemon-D-nommu-support.patch
 inetutils-1.8-1004-detect-fork-support.patch
 inetutils-1.8-1003-use-daemon-from-the-C-library-when-possible.patch
 inetutils-1.8-1002-rshd-detect-__rcmd_errstr-support-in-the-C-lib.patch
 inetutils-1.8-1001-ftp-rename-ruserpass-to-avoid-C-library-collision.patch
 inetutils-1.8-0002-argp-fix-program_invocation_name-detection.patch

Signed-off-by: Chunrong Guo b40...@freescale.com
---
 .../disable-pre-ANSI-compilers.patch   |   16 +++
 .../inetutils-1.9.1}/fix-disable-ipv6.patch|2 +
 ...tf-parse-pull-in-features.h-for-__GLIBC__.patch |2 +
 .../inetutils-1.8-0003-wchar.patch |2 +
 .../inetutils/inetutils-1.9.1/remove-gets.patch|   21 
 .../inetutils/inetutils-1.9.1/version.patch|   17 +++
 .../inetutils/inetutils_1.9.1.bb   |   16 ++--
 ...rgp-fix-program_invocation_name-detection.patch |   51 -
 ...me-ruserpass-to-avoid-C-library-collision.patch |   58 ---
 ...detect-__rcmd_errstr-support-in-the-C-lib.patch |   57 --
 ...e-daemon-from-the-C-library-when-possible.patch |   42 
 .../inetutils-1.8-1004-detect-fork-support.patch   |   54 --
 ...-1.8-1005-ftpd-add-daemon-D-nommu-support.patch |  109 
 13 files changed, 67 insertions(+), 380 deletions(-)  create mode 100644 
meta-networking/recipes-connectivity/inetutils/inetutils-1.9.1/disable-pre-ANSI-compilers.patch
 rename {meta-oe/recipes-connectivity/inetutils/inetutils-1.8 = 
meta-networking/recipes-connectivity/inetutils/inetutils-1.9.1}/fix-disable-ipv6.patch
 (98%)  rename {meta-oe/recipes-connectivity/inetutils/inetutils-1.8 = 
meta-networking/recipes-connectivity/inetutils/inetutils-1.9.1}/inetutils-1.8-0001-printf-parse-pull-in-features.h-for-__GLIBC__.patch
 (96%)  rename {meta-oe/recipes-connectivity/inetutils/inetutils-1.8 = 
meta-networking/recipes-connectivity/inetutils/inetutils-1.9.1}/inetutils-1.8-0003-wchar.patch
 (92%)  create mode 100644 
meta-networking/recipes-connectivity/inetutils/inetutils-1.9.1/remove-gets.patch
 create mode 100644 
meta-networking/recipes-connectivity/inetutils/inetutils-1.9.1/version.patch
 rename meta-oe/recipes-connectivity/inetutils/inetutils_1.8.bb = 
meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb (74%)  delete 
mode 100644 
meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-0002-argp-fix-program_invocation_name-detection.patch
 delete mode 100644 
meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1001-ftp-rename-ruserpass-to-avoid-C-library-collision.patch
 delete mode 100644 
meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1002-rshd-detect-__rcmd_errstr-support-in-the-C-lib.patch
 delete mode 100644 
meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1003-use-daemon-from-the-C-library-when-possible.patch
 delete mode 100644 
meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1004-detect-fork-support.patch
 delete mode 100644 
meta-oe/recipes-connectivity/inetutils/inetutils-1.8/inetutils-1.8-1005-ftpd-add-daemon-D-nommu-support.patch

diff --git 
a/meta-networking/recipes-connectivity/inetutils/inetutils-1.9.1/disable-pre-ANSI-compilers.patch
 
b/meta-networking/recipes-connectivity/inetutils/inetutils-1.9.1/disable-pre-ANSI-compilers.patch
new file mode 100644
index 000..a7fa61c
--- /dev/null
+++ b/meta-networking/recipes-connectivity/inetutils/inetutils-1.9.1/dis
+++ able-pre-ANSI-compilers.patch
@@ -0,0 +1,16 @@
+Upstream-Status: Pending
+
+disable pre-ANSI compilers
+
+Signed-off-by: Chunrong Guo b40...@freescale.com
+--- inetutils-1.9.1/configure.ac   2012-01-06 22:05:05.0 +0800
 inetutils-1.9.1/configure.ac   2012-11-12 14:05:30.756957063 +0800
+@@ -586,7 +586,7 @@
+ #include arpa/tftp.h])
+ 
+ ### Checks for compiler characteristics.
+-AM_C_PROTOTYPES dnl FIXME: Does inetutils even compile on pre-ANSI compilers?
++#AM_C_PROTOTYPES dnl FIXME: Does inetutils even compile on pre-ANSI compilers?
+ AC_C_CONST
+ 
+ dnl See if `weak refs' are possible; these make it possible (with 
+ shared
diff --git 
a/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/fix-disable-ipv6.patch 
b/meta-networking/recipes-connectivity/inetutils/inetutils-1.9.1/fix-disable-ipv6.patch
similarity index 98%
rename from 
meta-oe/recipes-connectivity