|
@ -30,7 +30,7 @@ define Package/snort |
|
|
SUBMENU:=Firewall |
|
|
SUBMENU:=Firewall |
|
|
SECTION:=net |
|
|
SECTION:=net |
|
|
CATEGORY:=Network |
|
|
CATEGORY:=Network |
|
|
DEPENDS:=+libdaq +libdnet +libopenssl +libpcap +libpcre +libpthread +libuuid +zlib +SNORT_MYSQL:libmysqlclient +SNORT_PGSQL:libpq +SNORT_PGSQL:libuuid +SNORT_LZMA:liblzma |
|
|
|
|
|
|
|
|
DEPENDS:=+libdaq +libdnet +libopenssl +libpcap +libpcre +libpthread +libuuid +zlib +SNORT_LZMA:liblzma |
|
|
TITLE:=Lightweight Network Intrusion Detection System |
|
|
TITLE:=Lightweight Network Intrusion Detection System |
|
|
URL:=http://www.snort.org/ |
|
|
URL:=http://www.snort.org/ |
|
|
MENU:=1 |
|
|
MENU:=1 |
|
@ -61,24 +61,12 @@ CONFIGURE_ARGS += \ |
|
|
--with-daq-libraries="$(STAGING_DIR)/usr/lib" \
|
|
|
--with-daq-libraries="$(STAGING_DIR)/usr/lib" \
|
|
|
--disable-static-daq |
|
|
--disable-static-daq |
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_SNORT_MYSQL),) |
|
|
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
|
|
--without-mysql |
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_PGSQL),) |
|
|
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
|
|
--without-postgresql |
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_SNORT_LZMA),) |
|
|
ifeq ($(CONFIG_SNORT_LZMA),) |
|
|
CONFIGURE_ARGS += \
|
|
|
CONFIGURE_ARGS += \
|
|
|
--disable-lzma |
|
|
--disable-lzma |
|
|
endif |
|
|
endif |
|
|
|
|
|
|
|
|
CONFIGURE_VARS += \
|
|
|
CONFIGURE_VARS += \
|
|
|
CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/mysql" \
|
|
|
|
|
|
LDFLAGS="$$$$LDFLAGS -L$(STAGING_DIR)/usr/lib/mysql" \
|
|
|
|
|
|
PATH="$(STAGING_DIR)/usr/lib/libnet-1.0.x/bin:$$$$PATH" |
|
|
PATH="$(STAGING_DIR)/usr/lib/libnet-1.0.x/bin:$$$$PATH" |
|
|
|
|
|
|
|
|
MAKE_FLAGS += \
|
|
|
MAKE_FLAGS += \
|
|
|