include Config
+SUMMARY = A perl written Intrusion Prevention System
+
VER = 2.0.2
THISAPP = guardian-$(VER)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = guardian
-PAK_VER = 19
+PAK_VER = 25
DEPS = perl-inotify2 perl-Net-IP
+SERVICES = guardian
+
###############################################################################
# Top-level Rules
###############################################################################
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = f83a7ca312cd3cb3ddf79fb33826027d
+$(DL_FILE)_BLAKE2 = eeb37f7ce81102ff75ee6b41c39e18ffb1b7dc72c7355c50afc6c0ef4f62acc3b7b342aea09ebcc262fbc3e9af32f123cbadb7a7266d897683ca4ef1b4304868
install : $(TARGET)
download :$(patsubst %,$(DIR_DL)/%,$(objects))
-md5 : $(subst %,%_MD5,$(objects))
+b2 : $(subst %,%_BLAKE2,$(objects))
dist:
@$(PAK)
###############################################################################
-# Downloading, checking, md5sum
+# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
-$(subst %,%_MD5,$(objects)) :
- @$(MD5)
+$(subst %,%_BLAKE2,$(objects)) :
+ @$(B2SUM)
###############################################################################
# Installation Details
touch /var/log/guardian/guardian.log
#install initscripts
- $(call INSTALL_INITSCRIPT,guardian)
+ $(call INSTALL_INITSCRIPTS,$(SERVICES))
# Create symlinks for runlevel interaction.
ln -svf /etc/rc.d/init.d/guardian /etc/rc.d/rc3.d/S45guardian