mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
Hinzugefügt:
* Morningreconnect - Danke an Benedikt Geändert: * Stop-Bug im OpenVPN behoben - wieder Danke an Benedikt * CA nach IPFire umbenannt. * Sprachdateien bearbeitet * Snort aktualisiert. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@167 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
17
lfs/snort
17
lfs/snort
@@ -18,12 +18,6 @@
|
||||
# Makefiles are based on LFSMake, which is #
|
||||
# Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com> #
|
||||
# #
|
||||
# Modifications by: #
|
||||
# ??-12-2003 Mark Wormgoor < mark@wormgoor.com> #
|
||||
# - Modified Makefile for IPCop build #
|
||||
# #
|
||||
# $Id: snort,v 1.6.2.11 2005/11/05 19:53:45 gespinasse Exp $
|
||||
# #
|
||||
###############################################################################
|
||||
|
||||
###############################################################################
|
||||
@@ -32,11 +26,11 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 2.3.3
|
||||
VER = 2.4.5
|
||||
|
||||
THISAPP = snort-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
DL_FROM = http://www.snort.org/dl/old
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
|
||||
@@ -48,7 +42,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 06bf140893e7cb120aaa9372d10a0100
|
||||
$(DL_FILE)_MD5 = 108b3c20dcbaf3cdb17ea9203342eaaa
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -85,8 +79,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
cd $(DIR_APP) && make install
|
||||
mv /usr/bin/snort /usr/sbin/
|
||||
-mkdir /etc/snort
|
||||
cd $(DIR_APP) && install -m 0644 rules/*.rules \
|
||||
etc/unicode.map etc/reference.config etc/classification.config /etc/snort
|
||||
# Keine Rules zum Kopieren vorhanden. M<>ssen <20>ber das Webinterface geladen werden.
|
||||
#cd $(DIR_APP) && install -m 0644 rules/*.rules \
|
||||
# etc/unicode.map etc/reference.config etc/classification.config /etc/snort
|
||||
install -m 0644 $(DIR_SRC)/config/snort/snort.conf /etc/snort
|
||||
chown -R nobody:nobody /etc/snort
|
||||
-mkdir -p /var/log/snort
|
||||
|
||||
Reference in New Issue
Block a user