]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/blobdiff - lfs/mdns-repeater
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-2.x
[people/mfischer/ipfire-2.x.git] / lfs / mdns-repeater
index afe4bfc1870a6b502a96231c1c1adbe52f4b4a16..9d5d5182f28729f777b77c1c0dc5d587adceea55 100644 (file)
@@ -24,6 +24,8 @@
 
 include Config
 
+SUMMARY    = A mDNS repeater
+
 VER        = 1.10
 
 THISAPP    = mdns-repeater-$(VER)
@@ -36,6 +38,8 @@ PAK_VER    = 1
 
 DEPS       =
 
+SERVICES   = mdns-repeater
+
 CFLAGS    += -DHGVERSION='\"$(VER)\"'
 
 ###############################################################################
@@ -46,7 +50,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 6dba5f891b50c2267f45a7760894fcb6
+$(DL_FILE)_BLAKE2 = 7fb9278808deff0f62ce1e0ada3e1c367fafa0e27b12714b6df4fe25f2d2eefb6401390fdd74bf5ee98e361b969c7422a01053cf3181993a99ad05ae1605d795
 
 install : $(TARGET)
 
@@ -54,13 +58,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)) :
@@ -69,8 +73,8 @@ $(patsubst %,$(DIR_CHK)/%,$(objects)) :
 $(patsubst %,$(DIR_DL)/%,$(objects)) :
        @$(LOAD)
 
-$(subst %,%_MD5,$(objects)) :
-       @$(MD5)
+$(subst %,%_BLAKE2,$(objects)) :
+       @$(B2SUM)
 
 ###############################################################################
 # Installation Details
@@ -83,7 +87,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && install -v -m 755 mdns-repeater /usr/bin
 
        # install initscripts
-       $(call INSTALL_INITSCRIPT,mdns-repeater)
+       $(call INSTALL_INITSCRIPTS,$(SERVICES))
 
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)