X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=lfs%2Fsnort;h=8b69397ff4bda240ac8ac9d5134aa14e36fb7017;hp=680d3e9fb5bcb582c79791477a654e36b663f944;hb=c7f9e0e99c67ed945d1c170d0329ed1b7ad02249;hpb=027306bfe5b93d3c00d54dd3223ae6bdaf17060f diff --git a/lfs/snort b/lfs/snort index 680d3e9fb5..8b69397ff4 100644 --- a/lfs/snort +++ b/lfs/snort @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# Copyright (C) 2010 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,7 @@ include Config -VER = 2.6.1.5 +VER = 2.9.1.2 THISAPP = snort-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -36,14 +36,11 @@ TARGET = $(DIR_INFO)/$(THISAPP) # 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 = e52a7ea6ba9743a8f8ca397cd26fa1bf -Community-Rules-20070503.tar.gz_MD5 = f236b8a4ac12e99d3e7bd81bf3b5a482 +$(DL_FILE)_MD5 = 9e94f20b934566469c239966e1b41eba install : $(TARGET) @@ -74,14 +71,17 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(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 \ - --enable-linux-smp-stats --enable-smb-alerts + --sysconfdir=/etc/snort --target=i586 \ + --enable-linux-smp-stats --enable-smb-alerts \ + --enable-gre --enable-mpls --enable-targetbased \ + --enable-decoder-preprocessor-rules --enable-ppm \ + --enable-perfprofiling --enable-zlib --enable-active-response \ + --enable-normalizer --enable-reload --enable-react --enable-flexresp3 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