From: Eneas U de Queiroz Date: Fri, 7 Dec 2018 20:32:41 +0000 (-0200) Subject: snort: fix pcap include directory X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=202aa6e6589103dec8f759bdc41a4db8c3191aea;p=openwrt-packages.git snort: fix pcap include directory Build was overriding openwrt pcap include directory. Signed-off-by: Eneas U de Queiroz --- diff --git a/net/snort/Makefile b/net/snort/Makefile index 7d26cf616..30c3d7f6a 100644 --- a/net/snort/Makefile +++ b/net/snort/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=snort PKG_VERSION:=2.9.11.1 -PKG_RELEASE:=6 +PKG_RELEASE:=7 PKG_LICENSE:=GPL-2.0 PKG_MAINTAINER:=W. Michael Petullo diff --git a/net/snort/patches/002-fix_include.patch b/net/snort/patches/002-fix_include.patch new file mode 100644 index 000000000..c3177c5bb --- /dev/null +++ b/net/snort/patches/002-fix_include.patch @@ -0,0 +1,14 @@ +--- a/configure.in ++++ b/configure.in +@@ -67,6 +67,11 @@ case "$host" in + AC_DEFINE([SUNOS],[1],[Define if SunOS]) + sunos4="yes" + ;; ++ *-openwrt*) ++ linux="yes" ++ AC_DEFINE([LINUX],[1],[Define if Linux]) ++ AC_SUBST(extra_incl) ++ ;; + *-linux*) + linux="yes" + AC_DEFINE([LINUX],[1],[Define if Linux])