# Makefiles are based on LFSMake, which is #
# Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com> #
# #
-# Modifications by: #
-# ??-12-2003 Mark Wormgoor < mark@wormgoor.com> #
-# - Modified Makefile for IPCop build #
-# #
-# $Id: snort,v 1.6.2.11 2005/11/05 19:53:45 gespinasse Exp $
-# #
###############################################################################
###############################################################################
include Config
-VER = 2.3.3
+VER = 2.4.5
THISAPP = snort-$(VER)
DL_FILE = $(THISAPP).tar.gz
-DL_FROM = http://www.snort.org/dl/old
+DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 06bf140893e7cb120aaa9372d10a0100
+$(DL_FILE)_MD5 = 108b3c20dcbaf3cdb17ea9203342eaaa
install : $(TARGET)
cd $(DIR_APP) && make install
mv /usr/bin/snort /usr/sbin/
-mkdir /etc/snort
- cd $(DIR_APP) && install -m 0644 rules/*.rules \
- etc/unicode.map etc/reference.config etc/classification.config /etc/snort
+ # Keine Rules zum Kopieren vorhanden. Müssen über das Webinterface geladen werden.
+ #cd $(DIR_APP) && install -m 0644 rules/*.rules \
+ # etc/unicode.map etc/reference.config etc/classification.config /etc/snort
install -m 0644 $(DIR_SRC)/config/snort/snort.conf /etc/snort
chown -R nobody:nobody /etc/snort
-mkdir -p /var/log/snort