summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity
diff options
context:
space:
mode:
authorChunrong Guo <B40290@freescale.com>2013-11-04 10:43:36 +0800
committerJoe MacDonald <joe@deserted.net>2013-11-20 16:28:42 -0500
commit8265d2bbc2342ceafe381143baa45f04dfafd45a (patch)
tree9912e7440cf28e994a3ac18280f83c954ea89545 /meta-networking/recipes-connectivity
parent6058a18d02b23bc464d3678efdbbd9c37f9c411b (diff)
downloadmeta-openembedded-8265d2bbc2342ceafe381143baa45f04dfafd45a.tar.gz
barnyard2: add recipe
*Barnyard2 is a output system for Snort Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'meta-networking/recipes-connectivity')
-rw-r--r--meta-networking/recipes-connectivity/barnyard2/barnyard2-1.8/barnyard2-cross-fix.patch24
-rw-r--r--meta-networking/recipes-connectivity/barnyard2/barnyard2_1.8.bb18
2 files changed, 42 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/barnyard2/barnyard2-1.8/barnyard2-cross-fix.patch b/meta-networking/recipes-connectivity/barnyard2/barnyard2-1.8/barnyard2-cross-fix.patch
new file mode 100644
index 000000000..7b5a60c2c
--- /dev/null
+++ b/meta-networking/recipes-connectivity/barnyard2/barnyard2-1.8/barnyard2-cross-fix.patch
@@ -0,0 +1,24 @@
1Upstream-Status: Pending
2
3Index: barnyard2-1.8/configure.in
4===================================================================
5--- barnyard2-1.8.orig/configure.in 2010-08-03 15:12:06.000000000 +0400
6+++ barnyard2-1.8/configure.in 2010-08-03 15:13:46.000000000 +0400
7@@ -73,7 +73,7 @@
8 # libpcap doesn't even LOOK at the timeout you give it under Linux
9 AC_DEFINE([PCAP_TIMEOUT_IGNORED],[1],[Define if pcap timeout is ignored])
10 AC_SUBST(extra_incl)
11- extra_incl="-I/usr/include/pcap"
12+ extra_incl="-I=/usr/include/pcap"
13 ;;
14 *-hpux10*|*-hpux11*)
15 AC_DEFINE([HPUX],[1],[Define if HP-UX 10 or 11])
16@@ -230,7 +230,7 @@
17 # In case INADDR_NONE is not defined (like on Solaris)
18 have_inaddr_none="no"
19 AC_MSG_CHECKING([for INADDR_NONE])
20-AC_RUN_IFELSE(
21+AC_COMPILE_IFELSE(
22 [AC_LANG_PROGRAM(
23 [[
24 #include <sys/types.h>
diff --git a/meta-networking/recipes-connectivity/barnyard2/barnyard2_1.8.bb b/meta-networking/recipes-connectivity/barnyard2/barnyard2_1.8.bb
new file mode 100644
index 000000000..14acdac66
--- /dev/null
+++ b/meta-networking/recipes-connectivity/barnyard2/barnyard2_1.8.bb
@@ -0,0 +1,18 @@
1DESCRIPTION = "Barnyard2 is a fork of the original barnyard project, designed specifically for Snort's new unified2 file format"
2HOMEPAGE = "http://www.securixlive.com/barnyard2/"
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe"
5DEPENDS = "libpcap"
6
7SRC_URI = " \
8 http://www.securixlive.com/download/barnyard2/${BP}.tar.gz \
9 file://barnyard2-cross-fix.patch \
10 "
11SRC_URI[md5sum] = "72fc6c490db6ea6a0f46c27d24998067"
12SRC_URI[sha256sum] = "1abfe6530d721debd98921421722b02c844c289564730b1e85729e4915b2bb7a"
13
14inherit autotools pkgconfig
15
16EXTRA_OECONF = "--enable-prelude --enable-gre --without-mysql"
17
18CONFFILES_${PN} = "${sysconfdir}/barnyard2.conf"