Re: [oe] [meta-networking][PATCH] tcpdump, tcpreplay:relocate tcpdump and add tcpreplay recipe

2013-11-06 Thread Zongchun YU
>Please use -M to get smaller diff.

Hello Martin.

 

Thanks for your reminder. I have send one new patch to you and the mail list. 

But I don’t know why the patch is rejected by the mail list? It is ok before.

If you have suggestion. Please reply to me directly.

 

Best Regards

Zongchun

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


Re: [oe] [meta-networking][PATCH] tcpdump, tcpreplay:relocate tcpdump and add tcpreplay recipe

2013-11-06 Thread Martin Jansa
Please use -M to get smaller diff.



On Wed, Nov 6, 2013 at 5:40 AM,  wrote:

> From: Zongchun Yu 
>
> *mv tcpdump from meta-oe to meta-networking
> *add tcpreplay - a suite of GPLv3 licensed tools for UNIX operating
> systems which gives you the ability to use previously captured traffic
> in libpcap format to test a variety of network devices.
>
>
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH] tcpdump, tcpreplay:relocate tcpdump and add tcpreplay recipe

2013-11-05 Thread Zongchun.Yu
From: Zongchun Yu 

*mv tcpdump from meta-oe to meta-networking
*add tcpreplay - a suite of GPLv3 licensed tools for UNIX operating
systems which gives you the ability to use previously captured traffic
in libpcap format to test a variety of network devices.

Signed-off-by: Zongchun Yu 
---
 .../0001-minimal-IEEE802.15.4-allowed.patch|   22 +
 .../tcpdump/tcpdump-4.3.0/configure.patch  |   29 ++
 .../tcpdump/tcpdump-4.3.0/ipv6-cross.patch |   41 +
 .../tcpdump-4.3.0/tcpdump_configure_no_-O2.patch   |   42 +
 .../recipes-support/tcpdump/tcpdump_4.3.0.bb   |   43 +
 .../files/tcpreplay-3.4.4-cross-compile.patch  |   92 
 ...ay-3.4.4-fix-unable-to-link-libpcap-issue.patch |   17 
 .../files/tcpreplay-3.4.4-no-bfp-support.patch |   15 
 .../recipes-support/tcpreplay/tcpreplay_3.4.4.bb   |   22 +
 .../packagegroups/packagegroup-cli-tools.bb|1 -
 .../0001-minimal-IEEE802.15.4-allowed.patch|   22 -
 .../tcpdump/tcpdump-4.3.0/configure.patch  |   29 --
 .../tcpdump/tcpdump-4.3.0/ipv6-cross.patch |   41 -
 .../tcpdump-4.3.0/tcpdump_configure_no_-O2.patch   |   42 -
 meta-oe/recipes-support/tcpdump/tcpdump_4.3.0.bb   |   43 -
 15 files changed, 323 insertions(+), 178 deletions(-)
 create mode 100644 
meta-networking/recipes-support/tcpdump/tcpdump-4.3.0/0001-minimal-IEEE802.15.4-allowed.patch
 create mode 100644 
meta-networking/recipes-support/tcpdump/tcpdump-4.3.0/configure.patch
 create mode 100644 
meta-networking/recipes-support/tcpdump/tcpdump-4.3.0/ipv6-cross.patch
 create mode 100644 
meta-networking/recipes-support/tcpdump/tcpdump-4.3.0/tcpdump_configure_no_-O2.patch
 create mode 100644 meta-networking/recipes-support/tcpdump/tcpdump_4.3.0.bb
 create mode 100755 
meta-networking/recipes-support/tcpreplay/files/tcpreplay-3.4.4-cross-compile.patch
 create mode 100644 
meta-networking/recipes-support/tcpreplay/files/tcpreplay-3.4.4-fix-unable-to-link-libpcap-issue.patch
 create mode 100644 
meta-networking/recipes-support/tcpreplay/files/tcpreplay-3.4.4-no-bfp-support.patch
 create mode 100644 meta-networking/recipes-support/tcpreplay/tcpreplay_3.4.4.bb
 delete mode 100644 
meta-oe/recipes-support/tcpdump/tcpdump-4.3.0/0001-minimal-IEEE802.15.4-allowed.patch
 delete mode 100644 
meta-oe/recipes-support/tcpdump/tcpdump-4.3.0/configure.patch
 delete mode 100644 
meta-oe/recipes-support/tcpdump/tcpdump-4.3.0/ipv6-cross.patch
 delete mode 100644 
meta-oe/recipes-support/tcpdump/tcpdump-4.3.0/tcpdump_configure_no_-O2.patch
 delete mode 100644 meta-oe/recipes-support/tcpdump/tcpdump_4.3.0.bb

diff --git 
a/meta-networking/recipes-support/tcpdump/tcpdump-4.3.0/0001-minimal-IEEE802.15.4-allowed.patch
 
b/meta-networking/recipes-support/tcpdump/tcpdump-4.3.0/0001-minimal-IEEE802.15.4-allowed.patch
new file mode 100644
index 000..9d3d60d
--- /dev/null
+++ 
b/meta-networking/recipes-support/tcpdump/tcpdump-4.3.0/0001-minimal-IEEE802.15.4-allowed.patch
@@ -0,0 +1,22 @@
+From: Sergey Lapin 
+Date: Wed, 28 Jan 2009 16:34:15 +0300
+Subject: [PATCH] minimal IEEE802.15.4 allowed
+
+---
+ tcpdump.c |3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/tcpdump.c b/tcpdump.c
+index 06683af..fbc944c 100644
+--- a/tcpdump.c
 b/tcpdump.c
+@@ -282,6 +282,9 @@ static struct printer printers[] = {
+ #ifdef DLT_MFR
+   { mfr_if_print, DLT_MFR },
+ #endif
++#ifdef DLT_IEEE802_15_4
++  { raw_if_print, DLT_IEEE802_15_4 },
++#endif
+ #if defined(DLT_BLUETOOTH_HCI_H4_WITH_PHDR) && defined(HAVE_PCAP_BLUETOOTH_H)
+   { bt_if_print,  DLT_BLUETOOTH_HCI_H4_WITH_PHDR},
+ #endif
diff --git 
a/meta-networking/recipes-support/tcpdump/tcpdump-4.3.0/configure.patch 
b/meta-networking/recipes-support/tcpdump/tcpdump-4.3.0/configure.patch
new file mode 100644
index 000..3697420
--- /dev/null
+++ b/meta-networking/recipes-support/tcpdump/tcpdump-4.3.0/configure.patch
@@ -0,0 +1,29 @@
+---
+ aclocal.m4   |1 -
+ configure.in |1 +
+ 2 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/aclocal.m4 b/aclocal.m4
+index 40b5866..0c662b0 100644
+--- a/aclocal.m4
 b/aclocal.m4
+@@ -40,7 +40,6 @@ dnl
+ AC_DEFUN(AC_LBL_C_INIT_BEFORE_CC,
+ [AC_PREREQ(2.50)
+ AC_BEFORE([$0], [AC_LBL_C_INIT])
+-AC_BEFORE([$0], [AC_PROG_CC])
+ AC_BEFORE([$0], [AC_LBL_FIXINCLUDES])
+ AC_BEFORE([$0], [AC_LBL_DEVEL])
+ AC_ARG_WITH(gcc, [  --without-gcc   don't use gcc])
+diff --git a/configure.in b/configure.in
+index 11257c9..7f9591c 100644
+--- a/configure.in
 b/configure.in
+@@ -19,6 +19,7 @@ AC_REVISION($Revision: 1.204 $)
+ AC_PREREQ(2.50)
+ AC_INIT(tcpdump.c)
+ 
++AC_PROG_CC
+ AC_CANONICAL_HOST
+ 
+ AC_LBL_C_INIT_BEFORE_CC(V_CCOPT, V_INCLS)
diff --git 
a/meta-networking/recipes-support/tcpdump/tcpdump-4.3.0/ipv6-cross.patch 
b/meta-networking/recipes-support/tcpdump/tcpdump-4.3.0/ipv6-cross.patch
n