include Config
-VER = 2.6.1.4
+VER = 2.8.6.1
THISAPP = snort-$(VER)
DL_FILE = $(THISAPP).tar.gz
# Top-level Rules
###############################################################################
-objects = $(DL_FILE) \
- Community-Rules-20070503.tar.gz
+objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-Community-Rules-20070503.tar.gz = $(DL_FROM)/Community-Rules-20070503.tar.gz
-$(DL_FILE)_MD5 = 70e7f297c9fcf1f46d6fa3e1bb4aae49
-Community-Rules-20070503.tar.gz_MD5 = f236b8a4ac12e99d3e7bd81bf3b5a482
+$(DL_FILE)_MD5 = b1119396a32e9df0d80404e4b6c49166
install : $(TARGET)
@$(PREBUILD)
@rm -rf $(DIR_APP) $(DIR_SRC)/snort* && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls \
- --sysconfdir=/etc/snort \
+ --sysconfdir=/etc/snort --target=i586 \
--enable-linux-smp-stats --enable-smb-alerts
cd $(DIR_APP) && make
cd $(DIR_APP) && make install
mv /usr/bin/snort /usr/sbin/
-mkdir -p /etc/snort/rules
- tar xvfz $(DIR_DL)/Community-Rules-20070503.tar.gz -C /etc/snort/
cd $(DIR_APP) && install -m 0644 \
etc/reference.config etc/classification.config /etc/snort/rules
cd $(DIR_APP) && install -m 0644 etc/unicode.map /etc/snort