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

2013-08-26 Thread Martin Jansa
On Mon, Aug 26, 2013 at 11:22:07AM +0800, b40...@freescale.com wrote:
> From: Chunrong Guo 
> 
>   *The dump DAQ test the various inline mode features
>   *snort depends daq
> 
> Signed-off-by: Chunrong Guo 
> ---
>  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

Please add header explaining why this patch is needed.

> @@ -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

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


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


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

2013-08-25 Thread b40290
From: Chunrong Guo 

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

Signed-off-by: Chunrong Guo 
---
 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