]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/tftpd
buildprocess: Add extra metadata to pak lfs files
[ipfire-2.x.git] / lfs / tftpd
index ed2f1ad43951a57a5a9f90094899b6d63c4cc2ee..63ebd632a819f4ff767c5f72979fe6aeb44d6073 100644 (file)
--- a/lfs/tftpd
+++ b/lfs/tftpd
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
+# 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        #
@@ -24,7 +24,9 @@
 
 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
@@ -32,10 +34,14 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = tftpd
-PAK_VER    = 1
+PAK_VER    = 2
 
 DEPS       =
 
+SERVICES   = tftpd
+
+CFLAGS    += -fcommon
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
@@ -44,7 +50,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = f2e0a1ca0c49ae46ecad26a54df3e887
+$(DL_FILE)_MD5 = 46c9bd20bbffa62f79c958c7b99aac21
 
 install : $(TARGET)
 
@@ -82,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)