[Buildroot] [git commit branch/2019.02.x] package/tftpd: add license
Peter Korsgaard
peter at korsgaard.com
Tue Dec 3 12:16:49 UTC 2019
commit: https://git.buildroot.net/buildroot/commit/?id=17219c5b0de783269252b1daacd4032fb42d78f9
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2019.02.x
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit 964d31a99eaae4a5fe062596ed29f0095491c499)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/tftpd/tftpd.hash | 3 +++
package/tftpd/tftpd.mk | 2 ++
2 files changed, 5 insertions(+)
diff --git a/package/tftpd/tftpd.hash b/package/tftpd/tftpd.hash
index 247b757fa6..c876b2edc2 100644
--- a/package/tftpd/tftpd.hash
+++ b/package/tftpd/tftpd.hash
@@ -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
diff --git a/package/tftpd/tftpd.mk b/package/tftpd/tftpd.mk
index c42456afd1..57905fda05 100644
--- a/package/tftpd/tftpd.mk
+++ b/package/tftpd/tftpd.mk
@@ -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
More information about the buildroot
mailing list