Skip to contentSkip to conversation

daq: add recipe

PATCH Superseded [email protected] 2 participants 3 messages Aug 26, 2013 – Aug 29, 2013

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 daq: add recipe

From: Chunrong Guo <[email protected]>

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

---
 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
meta-oe/recipes-connectivity/daq/daq_2.0.0.bb new file +17 -0
new file mode 100644
index 0000000..0a71894
@@ -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
+
meta-oe/recipes-connectivity/daq/files/disable-check-pcap-version.patch new file +19 -0
new file mode 100644
index 0000000..05f4031
@@ -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 <[email protected]>
+
+--- 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
Signature · 1 line
1.7.5.4
#1 lore raw
Quoted 22 lines · On Mon, Aug 26, 2013 at 03:44:19PM +0800, [email protected] wrote:

From: Chunrong Guo <[email protected]>

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

---
 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
meta-oe/recipes-connectivity/daq/daq_2.0.0.bb new file +3 -0
new file mode 100644
index 0000000..0a71894
@@ -0,0 +1,17 @@
+DESCRIPTION = "The dump DAQ test the various inline mode features "
+HOMEPAGE = "http://www.snort.org"
+LICENSE = "GPLv2"

meta-oe/recipes-connectivity/daq/daq_2.0.0.bb line 13

Quoted 10 lines
meta-oe/recipes-connectivity/daq/daq_2.0.0.bb new file +10 -0
+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.
Quoted 37 lines
meta-oe/recipes-connectivity/daq/daq_2.0.0.bb new file +4 -0
+
+
+inherit autotools
+
meta-oe/recipes-connectivity/daq/files/disable-check-pcap-version.patch new file +19 -0
new file mode 100644
index 0000000..05f4031
@@ -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 <[email protected]>
+
+--- 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
Signature · 7 lines
1.7.5.4


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw

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: [email protected] [mailto:[email protected]] On Behalf Of Martin Jansa
Sent: Thursday, August 29, 2013 1:40 PM
To: [email protected]
Subject: Re: [oe] [meta-oe][PATCH V2 ] daq: add recipe

Quoted 25 lines · On Mon, Aug 26, 2013 at 03:44:19PM +0800, [email protected] wrote:

From: Chunrong Guo <[email protected]>

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

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

meta-oe/recipes-connectivity/daq/daq_2.0.0.bb new file +3 -0
new file mode 100644
index 0000000..0a71894
@@ -0,0 +1,17 @@
+DESCRIPTION = "The dump DAQ test the various inline mode features "
+HOMEPAGE = "http://www.snort.org"
+LICENSE = "GPLv2"

meta-oe/recipes-connectivity/daq/daq_2.0.0.bb line 13

Quoted 10 lines
meta-oe/recipes-connectivity/daq/daq_2.0.0.bb new file +10 -0
+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.
Quoted 43 lines
meta-oe/recipes-connectivity/daq/daq_2.0.0.bb new file +4 -0
+
+
+inherit autotools
+
(quoted diff) +0 -0

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 0000000..05f4031

meta-oe/recipes-connectivity/daq/files/disable-check-pcap-versio new file +21 -1
+++ 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 <[email protected]>
+
+--- 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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]