Browse Source

Merge pull request #7612 from cotequeiroz/snort_includes

snort: fix pcap include directory
lilik-openwrt-22.03
Hannu Nyman 6 years ago
committed by GitHub
parent
commit
8f78a82cfd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 1 deletions
  1. +1
    -1
      net/snort/Makefile
  2. +14
    -0
      net/snort/patches/002-fix_include.patch

+ 1
- 1
net/snort/Makefile View File

@ -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 <mike@flyn.org>


+ 14
- 0
net/snort/patches/002-fix_include.patch View File

@ -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])

Loading…
Cancel
Save