###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
+# Copyright (C) 2007-2021 IPFire Team <info@ipfire.org> #
# #
# 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 #
include Config
-VER = 0.48
+SUMMARY = A conglomerate of a number of versions of the BSD TFTP code
+
+VER = 5.2
THISAPP = tftp-hpa-$(VER)
DL_FILE = $(THISAPP).tar.bz2
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = tftpd
-PAK_VER = 1
+PAK_VER = 2
+
+DEPS =
+
+SERVICES = tftpd
-DEPS = ""
+CFLAGS += -fcommon
###############################################################################
# Top-level Rules
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = f2e0a1ca0c49ae46ecad26a54df3e887
+$(DL_FILE)_MD5 = 46c9bd20bbffa62f79c958c7b99aac21
install : $(TARGET)
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)