Patchwork [meta-networking,v2,3/3] barnyard: add recipe

login
register
mail settings
Submitter chunrong guo
Date Oct. 18, 2013, 8:27 a.m.
Message ID <1382084860-25061-1-git-send-email-b40290@freescale.com>
Download mbox | patch
Permalink /patch/60217/
State Superseded, archived
Headers show

Comments

chunrong guo - Oct. 18, 2013, 8:27 a.m.
From: Chunrong Guo <B40290@freescale.com>

  *Barnyard is a output system for Snort

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

Patch

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 0000000..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
+}
+