X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Ftftpd;h=81f9f3c95bd0db76b5d15963a66cc3a69f48d7e5;hb=HEAD;hp=7efd3bd9bd282b676a68500418dac1695fa1c6b4;hpb=67a38b30b0652b1fd68f2e81192fa1130c8d7fba;p=people%2Fpmueller%2Fipfire-2.x.git diff --git a/lfs/tftpd b/lfs/tftpd index 7efd3bd9bd..ebd8fee85b 100644 --- a/lfs/tftpd +++ b/lfs/tftpd @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2021 IPFire Team # +# Copyright (C) 2007-2022 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 # @@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = tftpd -PAK_VER = 2 +PAK_VER = 5 DEPS = @@ -50,7 +50,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 46c9bd20bbffa62f79c958c7b99aac21 +$(DL_FILE)_BLAKE2 = bdf996717a6ad8f6c3e16954ce2d06b2ae561682a226f35ca57b75f93869a7df73ccd2c214dfd90ba8979ae916bf07463ec6df874e0f1729080234300865451c install : $(TARGET) @@ -58,13 +58,13 @@ check : $(patsubst %,$(DIR_CHK)/%,$(objects)) download :$(patsubst %,$(DIR_DL)/%,$(objects)) -md5 : $(subst %,%_MD5,$(objects)) +b2 : $(subst %,%_BLAKE2,$(objects)) dist: @$(PAK) ############################################################################### -# Downloading, checking, md5sum +# Downloading, checking, b2sum ############################################################################### $(patsubst %,$(DIR_CHK)/%,$(objects)) : @@ -73,8 +73,8 @@ $(patsubst %,$(DIR_CHK)/%,$(objects)) : $(patsubst %,$(DIR_DL)/%,$(objects)) : @$(LOAD) -$(subst %,%_MD5,$(objects)) : - @$(MD5) +$(subst %,%_BLAKE2,$(objects)) : + @$(B2SUM) ############################################################################### # Installation Details @@ -83,10 +83,12 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/tftp-c99.patch cd $(DIR_APP) && ./configure --prefix=/usr --without-tcpwrappers cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install mv -fv /usr/sbin/in.tftpd /usr/sbin/tftpd + mkdir -pv /var/tftpboot #install initscripts $(call INSTALL_INITSCRIPTS,$(SERVICES)) @rm -rf $(DIR_APP)