X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fwatchdog;h=abea7b0d1680ec08b4fcf2a0aac5164b54d53d2b;hb=HEAD;hp=9bef907287f11fb858b8d5f5cb65f5597f13bf9c;hpb=1f68460f5afd37e4a58959a006e09f10fe1c0cff;p=ipfire-2.x.git diff --git a/lfs/watchdog b/lfs/watchdog index 9bef907287..f0e7f20fd0 100644 --- a/lfs/watchdog +++ b/lfs/watchdog @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2009 Michael Tremer & Christian Schmidt # +# Copyright (C) 2007-2018 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,9 @@ include Config -VER = 5.13 +SUMMARY = Watchdog Timer Interfaces For The Linux Operating System + +VER = 5.16 THISAPP = watchdog-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -32,9 +34,11 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = watchdog -PAK_VER = 4 +PAK_VER = 6 + +DEPS = -DEPS = "" +SERVICES = watchdog ############################################################################### # Top-level Rules @@ -44,7 +48,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 153455f008f1cf8f65f6ad9586a21ff1 +$(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)