Fix snort will not run on some machines.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 13 Jun 2010 16:56:46 +0000 (18:56 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 13 Jun 2010 16:56:46 +0000 (18:56 +0200)
config/rootfiles/core/38/update.sh
lfs/snort

index f15ea1f..350a372 100644 (file)
@@ -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
index 4044267..4b2e348 100644 (file)
--- 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