mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 13:02:58 +02:00
Fix snort will not run on some machines.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user