mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-11 09:48:24 +02:00
update check_mk_agent to 1.2.2p2
This commit is contained in:
@@ -1,2 +1,3 @@
|
|||||||
usr/bin/check_mk_agent
|
usr/bin/check_mk_agent
|
||||||
|
etc/xinet.d/check_mk_agent
|
||||||
usr/bin/waitmax
|
usr/bin/waitmax
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
include Config
|
include Config
|
||||||
|
|
||||||
VER = 1.2.0p3
|
VER = 1.2.2p2
|
||||||
|
|
||||||
THISAPP = check_mk_agent-$(VER)
|
THISAPP = check_mk_agent-$(VER)
|
||||||
DL_FILE = check_mk-${VER}.tar.gz
|
DL_FILE = check_mk-${VER}.tar.gz
|
||||||
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
|
|||||||
|
|
||||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||||
|
|
||||||
$(DL_FILE)_MD5 = 2c0f27fe8b6e3455557ecb30954d8a79
|
$(DL_FILE)_MD5 = caa0f7662b4d170b2b6db2516bd41a89
|
||||||
|
|
||||||
install : $(TARGET)
|
install : $(TARGET)
|
||||||
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
|
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
|
||||||
@@ -78,6 +78,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
|||||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||||
cd $(DIR_APP) && tar xzf agents.tar.gz
|
cd $(DIR_APP) && tar xzf agents.tar.gz
|
||||||
cd $(DIR_APP) && install -v -m 755 check_mk_agent.linux /usr/bin/check_mk_agent
|
cd $(DIR_APP) && install -v -m 755 check_mk_agent.linux /usr/bin/check_mk_agent
|
||||||
|
cd $(DIR_APP) && install -v -m 755 xinetd.conf /etc/xinet.d/check_mk_agent
|
||||||
cd $(DIR_APP) && gcc $(CFLAGS) waitmax.c -o waitmax
|
cd $(DIR_APP) && gcc $(CFLAGS) waitmax.c -o waitmax
|
||||||
cd $(DIR_APP) && install -v -m 755 waitmax /usr/bin/waitmax
|
cd $(DIR_APP) && install -v -m 755 waitmax /usr/bin/waitmax
|
||||||
@rm -rf $(DIR_APP)
|
@rm -rf $(DIR_APP)
|
||||||
|
|||||||
Reference in New Issue
Block a user