package/tftpd: add license
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 23 Nov 2019 23:05:28 +0000 (00:05 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 24 Nov 2019 08:26:02 +0000 (09:26 +0100)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/tftpd/tftpd.hash
package/tftpd/tftpd.mk

index 247b757fa62383b9bfe697ffce329f2244bf4044..c876b2edc24e8f6a2f169a6ee8c7f177dfcdd02d 100644 (file)
@@ -1,2 +1,5 @@
 # From https://www.kernel.org/pub/software/network/tftp/tftp-hpa/sha256sums.asc
 sha256 afee361df96a2f88344e191f6a25480fd714e1d28d176c3f10cc43fa206b718b        tftp-hpa-5.2.tar.xz
+
+# Hash for license file
+sha256 5efef82650b8ece733e37790fc70f05e426c9e1ef9640d4ebcb04867bd3f5e28        tftpd/tftpd.c
index c42456afd152c571ecc56e58a70fc899bb7e2249..57905fda05f98c1230d99cfbd8814c38edde54a5 100644 (file)
@@ -8,6 +8,8 @@ TFTPD_VERSION = 5.2
 TFTPD_SOURCE = tftp-hpa-$(TFTPD_VERSION).tar.xz
 TFTPD_SITE = $(BR2_KERNEL_MIRROR)/software/network/tftp/tftp-hpa
 TFTPD_CONF_OPTS = --without-tcpwrappers
+TFTPD_LICENSE = BSD-4-Clause
+TFTPD_LICENSE_FILES = tftpd/tftpd.c
 
 define TFTPD_INSTALL_TARGET_CMDS
        $(INSTALL) -D $(@D)/tftp/tftp $(TARGET_DIR)/usr/bin/tftp