Browse Source

snort: remove useless mysql/pgsql options

Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
lilik-openwrt-22.03
Alexander Ryzhov 9 years ago
parent
commit
45803c7628
2 changed files with 1 additions and 27 deletions
  1. +0
    -14
      net/snort/Config.in
  2. +1
    -13
      net/snort/Makefile

+ 0
- 14
net/snort/Config.in View File

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


+ 1
- 13
net/snort/Makefile View File

@ -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…
Cancel
Save