]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/blobdiff - lfs/tftpd
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-2.x
[people/mfischer/ipfire-2.x.git] / lfs / tftpd
index aec900d8afe7b11d024ea23d632b6e3c2325ca8d..cb3d034155705ec346ece9be68e741017b5dacef 100644 (file)
--- a/lfs/tftpd
+++ b/lfs/tftpd
@@ -24,6 +24,8 @@
 
 include Config
 
+SUMMARY    = A conglomerate of a number of versions of the BSD TFTP code
+
 VER        = 5.2
 
 THISAPP    = tftp-hpa-$(VER)
@@ -36,6 +38,8 @@ PAK_VER    = 2
 
 DEPS       =
 
+SERVICES   = tftpd
+
 CFLAGS    += -fcommon
 
 ###############################################################################
@@ -46,7 +50,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 46c9bd20bbffa62f79c958c7b99aac21
+$(DL_FILE)_BLAKE2 = bdf996717a6ad8f6c3e16954ce2d06b2ae561682a226f35ca57b75f93869a7df73ccd2c214dfd90ba8979ae916bf07463ec6df874e0f1729080234300865451c
 
 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
@@ -84,6 +88,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && make install
        mv -fv /usr/sbin/in.tftpd /usr/sbin/tftpd
        #install initscripts
-       $(call INSTALL_INITSCRIPT,tftpd)
+       $(call INSTALL_INITSCRIPTS,$(SERVICES))
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)