snort: remove useless mysql/pgsql options
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
This commit is contained in:
parent
d93b4ab307
commit
45803c7628
2 changed files with 1 additions and 27 deletions
|
@ -1,20 +1,6 @@
|
|||
menu "Configuration"
|
||||
depends on PACKAGE_snort
|
||||
|
||||
config SNORT_MYSQL
|
||||
bool "Enable MySQL support"
|
||||
default n
|
||||
help
|
||||
This option enables support for logging to a MySQL database.
|
||||
Disabled by default.
|
||||
|
||||
config SNORT_PGSQL
|
||||
bool "Enable PostgreSQL support"
|
||||
default n
|
||||
help
|
||||
This option enables support for logging to a PostgreSQL database.
|
||||
Disabled by default.
|
||||
|
||||
config SNORT_LZMA
|
||||
bool "Enable LZMA support"
|
||||
default n
|
||||
|
|
|
@ -30,7 +30,7 @@ define Package/snort
|
|||
SUBMENU:=Firewall
|
||||
SECTION:=net
|
||||
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
|
||||
URL:=http://www.snort.org/
|
||||
MENU:=1
|
||||
|
@ -61,24 +61,12 @@ CONFIGURE_ARGS += \
|
|||
--with-daq-libraries="$(STAGING_DIR)/usr/lib" \
|
||||
--disable-static-daq
|
||||
|
||||
ifeq ($(CONFIG_SNORT_MYSQL),)
|
||||
CONFIGURE_ARGS += \
|
||||
--without-mysql
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_PGSQL),)
|
||||
CONFIGURE_ARGS += \
|
||||
--without-postgresql
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_SNORT_LZMA),)
|
||||
CONFIGURE_ARGS += \
|
||||
--disable-lzma
|
||||
endif
|
||||
|
||||
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"
|
||||
|
||||
MAKE_FLAGS += \
|
||||
|
|
Loading…
Reference in a new issue