From: Arne Fitzenreiter Date: Sun, 13 Jun 2010 16:56:46 +0000 (+0200) Subject: Fix snort will not run on some machines. X-Git-Tag: v2.9-beta1~233 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=b86d9c0a17ef31d3ddbc87be83703bac1d2a432b Fix snort will not run on some machines. --- diff --git a/config/rootfiles/core/38/update.sh b/config/rootfiles/core/38/update.sh index f15ea1f3a3..350a372048 100644 --- a/config/rootfiles/core/38/update.sh +++ b/config/rootfiles/core/38/update.sh @@ -89,6 +89,10 @@ rm -rf /lib/modules/2.6.27.31-ipfire-xen # rm -rf /usr/lib/ipsec rm -rf /usr/libexec/ipsec +# +# old snort libs ... +# +rm -rf /usr/lib/snort_* # # Backup grub.conf diff --git a/lfs/snort b/lfs/snort index 40442674e9..4b2e348e4b 100644 --- a/lfs/snort +++ b/lfs/snort @@ -71,7 +71,7 @@ $(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 \ + --sysconfdir=/etc/snort --target=i586 \ --enable-linux-smp-stats --enable-smb-alerts cd $(DIR_APP) && make cd $(DIR_APP) && make install