mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
Added new imspector package.
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 0.9
|
||||
VER = 20101008
|
||||
|
||||
THISAPP = imspector-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = imspector
|
||||
PAK_VER = 1
|
||||
PAK_VER = 2
|
||||
|
||||
DEPS = ""
|
||||
|
||||
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 626abf7c2b8f15d56df679ad66624575
|
||||
$(DL_FILE)_MD5 = 032407bb13ccddb77328f83eded102ee
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -77,9 +77,10 @@ $(subst %,%_MD5,$(objects)) :
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && make install
|
||||
cd $(DIR_SRC)/imspector && make install
|
||||
-mv /usr/etc/imspector /etc/imspector
|
||||
install -v -m 755 $(DIR_CONF)/imspector/imspector.conf /etc/imspector.conf
|
||||
-mv /etc/imspector/imspector /etc/imspector
|
||||
install -v -m 755 $(DIR_CONF)/imspector/imspector.conf /etc/imspector.conf
|
||||
install -v -m 644 $(DIR_SRC)/config/backup/includes/imspector /var/ipfire/backup/addons/includes/imspector
|
||||
chmod 755 /srv/web/ipfire/cgi-bin/imspector.cgi
|
||||
chown nobody:nobody -R /var/log/imspector
|
||||
|
||||
Reference in New Issue
Block a user