]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/blobdiff - lfs/watchdog
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-2.x
[people/mfischer/ipfire-2.x.git] / lfs / watchdog
index 67438434ccd1462b6b48db3cbf61b41f1700ea30..a5ca13c72aa1b77616a24fb6dcf827695f1a2a7e 100644 (file)
@@ -24,6 +24,8 @@
 
 include Config
 
+SUMMARY    = Watchdog Timer Interfaces For The Linux Operating System
+
 VER        = 5.16
 
 THISAPP    = watchdog-$(VER)
@@ -36,6 +38,8 @@ PAK_VER    = 5
 
 DEPS       =
 
+SERVICES   = watchdog
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
@@ -44,7 +48,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 1b4f51cabc64d1bee2fce7cdd626831f
+$(DL_FILE)_BLAKE2 = 517f2f8085829e5c5ff576f1dff920a2667d0e96a71dcbcebf381ccf349e95dfb0b7b598b565eda4cc8ec31f5f34e367dd719eeaf522cdee074c3bc23589dfb2
 
 install : $(TARGET)
 
@@ -52,13 +56,13 @@ check : $(patsubst %,$(DIR_CHK)/%,$(objects))
 
 download :$(patsubst %,$(DIR_DL)/%,$(objects))
 
-md5 : $(subst %,%_MD5,$(objects))
+b2 : $(subst %,%_BLAKE2,$(objects))
 
-dist: 
+dist:
        @$(PAK)
 
 ###############################################################################
-# Downloading, checking, md5sum
+# Downloading, checking, b2sum
 ###############################################################################
 
 $(patsubst %,$(DIR_CHK)/%,$(objects)) :
@@ -67,8 +71,8 @@ $(patsubst %,$(DIR_CHK)/%,$(objects)) :
 $(patsubst %,$(DIR_DL)/%,$(objects)) :
        @$(LOAD)
 
-$(subst %,%_MD5,$(objects)) :
-       @$(MD5)
+$(subst %,%_BLAKE2,$(objects)) :
+       @$(B2SUM)
 
 ###############################################################################
 # Installation Details
@@ -81,8 +85,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
        #install initscripts
-       $(call INSTALL_INITSCRIPT,watchdog)
+       $(call INSTALL_INITSCRIPTS,$(SERVICES))
        install -v -m 644 $(DIR_SRC)/config/backup/includes/watchdog \
-                        /var/ipfire/backup/addons/includes/watchdog 
+                        /var/ipfire/backup/addons/includes/watchdog
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)