From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH V2 ] daq: add recipe
Date: Thu, 29 Aug 2013 07:39:56 +0200 [thread overview]
Message-ID: <20130829053956.GL3544@jama> (raw)
In-Reply-To: <1377503059-30534-1-git-send-email-b40290@freescale.com>
[-- Attachment #1: Type: text/plain, Size: 3079 bytes --]
On Mon, Aug 26, 2013 at 03:44:19PM +0800, b40290@freescale.com wrote:
> From: Chunrong Guo <B40290@freescale.com>
>
> *The dump DAQ test the various inline mode features
> *snort depends daq
>
> Signed-off-by: Chunrong Guo <B40290@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 0000000..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.patch b/meta-oe/recipes-connectivity/daq/files/disable-check-pcap-version.patch
> new file mode 100644
> index 0000000..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 <B40290@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.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
next prev parent reply other threads:[~2013-08-29 5:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-26 7:44 [meta-oe][PATCH V2 ] daq: add recipe b40290
2013-08-29 5:39 ` Martin Jansa [this message]
2013-08-29 6:19 ` Guo Chunrong-B40290
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130829053956.GL3544@jama \
--to=martin.jansa@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.