include Config
+SUMMARY = A conglomerate of a number of versions of the BSD TFTP code
+
VER = 5.2
THISAPP = tftp-hpa-$(VER)
DEPS =
+SERVICES = tftpd
+
CFLAGS += -fcommon
###############################################################################
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 46c9bd20bbffa62f79c958c7b99aac21
+$(DL_FILE)_BLAKE2 = bdf996717a6ad8f6c3e16954ce2d06b2ae561682a226f35ca57b75f93869a7df73ccd2c214dfd90ba8979ae916bf07463ec6df874e0f1729080234300865451c
install : $(TARGET)
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)) :
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
-$(subst %,%_MD5,$(objects)) :
- @$(MD5)
+$(subst %,%_BLAKE2,$(objects)) :
+ @$(B2SUM)
###############################################################################
# Installation Details
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)