lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit b878c6efaa1830806361c2505810bd4cd76a1479
parent 34f4fda0faf903abe5428553cd7e9c2780e0f5dd
Author: Luka Perkov <luka.perkov@sartura.hr>
Date:   Wed, 17 Feb 2016 11:44:10 +0100

Merge pull request #2388 from ryzhovau/snort_nosql

snort: remove useless mysql/pgsql options
Diffstat:
Mnet/snort/Config.in | 14--------------
Mnet/snort/Makefile | 16++--------------
2 files changed, 2 insertions(+), 28 deletions(-)

diff --git a/net/snort/Config.in b/net/snort/Config.in @@ -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 diff --git a/net/snort/Makefile b/net/snort/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=snort PKG_VERSION:=2.9.7.2 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_LICENSE:=GPL-2.0 PKG_MAINTAINER:=Luka Perkov <luka@openwrt.org> @@ -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 += \