diff mbox series

[1/1] package/tftpd: add license

Message ID 20191123182855.966365-1-fontaine.fabrice@gmail.com
State Superseded
Headers show
Series [1/1] package/tftpd: add license | expand

Commit Message

Fabrice Fontaine Nov. 23, 2019, 6:28 p.m. UTC
Set tftpd license to BSD-like as the source code contains only:

Copyright 2001 H. Peter Anvin - All Rights Reserved

This program is free software available under the same license
as the "OpenBSD" operating system, distributed at
http://www.openbsd.org/.

License: BSD

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/tftpd/tftpd.hash | 3 +++
 package/tftpd/tftpd.mk   | 2 ++
 2 files changed, 5 insertions(+)

Comments

Yann E. MORIN Nov. 23, 2019, 9:07 p.m. UTC | #1
Fabrice, All,

On 2019-11-23 19:28 +0100, Fabrice Fontaine spake thusly:
> Set tftpd license to BSD-like as the source code contains only:

Well, tftpd.c contains the exact BSD-4-clause license.

> Copyright 2001 H. Peter Anvin - All Rights Reserved
> 
> This program is free software available under the same license
> as the "OpenBSD" operating system, distributed at
> http://www.openbsd.org/.
> 
> License: BSD
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.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..cd865dcd24 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	08e400bfc2484d34b12fd2c13926cc8f609f1b5001c942b8bc47b80e7a709daa	tftpd/tftpd.h
> diff --git a/package/tftpd/tftpd.mk b/package/tftpd/tftpd.mk
> index c42456afd1..911029505e 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-like
> +TFTPD_LICENSE_FILES = tftpd/tftpd.h

In this case, I think it is reasonable to not provide a license file,
but I would not mind that we list tftpd/tftpd.c either.

Care to respin, please?

Regards,
Yann E. MORIN.

>  define TFTPD_INSTALL_TARGET_CMDS
>  	$(INSTALL) -D $(@D)/tftp/tftp $(TARGET_DIR)/usr/bin/tftp
> -- 
> 2.24.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
Peter Korsgaard Dec. 3, 2019, 12:17 p.m. UTC | #2
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Set tftpd license to BSD-like as the source code contains only:
 > Copyright 2001 H. Peter Anvin - All Rights Reserved

 > This program is free software available under the same license
 > as the "OpenBSD" operating system, distributed at
 > http://www.openbsd.org/.

 > License: BSD

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2019.02.x and 2019.08.x, thanks.
diff mbox series

Patch

diff --git a/package/tftpd/tftpd.hash b/package/tftpd/tftpd.hash
index 247b757fa6..cd865dcd24 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	08e400bfc2484d34b12fd2c13926cc8f609f1b5001c942b8bc47b80e7a709daa	tftpd/tftpd.h
diff --git a/package/tftpd/tftpd.mk b/package/tftpd/tftpd.mk
index c42456afd1..911029505e 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-like
+TFTPD_LICENSE_FILES = tftpd/tftpd.h
 
 define TFTPD_INSTALL_TARGET_CMDS
 	$(INSTALL) -D $(@D)/tftp/tftp $(TARGET_DIR)/usr/bin/tftp