summaryrefslogtreecommitdiff
path: root/recipes/snort/snort_2.8.5.3.bb
diff options
context:
space:
mode:
authorBernhard Guillon <Bernhard.Guillon@opensimpad.org>2010-03-04 14:12:21 +0100
committerBernhard Guillon <Bernhard.Guillon@opensimpad.org>2010-03-04 14:12:21 +0100
commit3d669df21e5a368fd56d21f430c1327338c616c3 (patch)
tree04dd7b4a2c0141469caad693549240d371541725 /recipes/snort/snort_2.8.5.3.bb
parentc922defbc560f5894992350a1f68be0ba570e55e (diff)
snort: add snort - a free lightweight nids
Diffstat (limited to 'recipes/snort/snort_2.8.5.3.bb')
-rw-r--r--recipes/snort/snort_2.8.5.3.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/snort/snort_2.8.5.3.bb b/recipes/snort/snort_2.8.5.3.bb
new file mode 100644
index 0000000000..f72b8b30aa
--- /dev/null
+++ b/recipes/snort/snort_2.8.5.3.bb
@@ -0,0 +1,26 @@
+DESCRIPTION = "snort - a free lightweight network intrusion detection system for UNIX and Windows."
+HOMEPAGE = "http://www.snort.org/"
+LICENSE = "GPL"
+DEPENDS = "libpcap libnet libpcre"
+RDEPENDS = "libpcap libnet libpcre barnyard"
+
+PR = "r1"
+
+SRC_URI = " http://dl.snort.org/snort-current/${P}.tar.gz;name=tarball \
+ file://snort.fix.configure.in.HACK;patch=1 \
+ "
+SRC_URI[tarball.md5sum] = "ef02aaad54746603f2cb3236fe962128"
+SRC_URI[tarball.sha256sum] = "a7d9eb16427514d00926e9892c4a92b6ff1fd0f79555d8f8dce91dfa14112e6a"
+
+S = "${WORKDIR}/${P}"
+
+#snort does not like parallel make!
+PARALLEL_MAKE = ""
+
+inherit autotools pkgconfig
+
+#fix path of pc file
+do_install_prepend() {
+ sed -i -e 's:-Wl,-rpath-link,${STAGING_LIBDIR}::g' -e 's:-isystem${STAGING_INCDIR}::g' snort.pc
+}
+