]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
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 f15ea1f3a39314254ffd112137f6a8a7c9a9e3c3..350a37204820228c5d64c59614c04283cf686d42 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 40442674e9532797de86a2a661d86cec5e757105..4b2e348e4b8793ae6019be8edb3d929d324e3f06 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