diff mbox series

[v2] dhcpcd: fix legal info

Message ID 50e5f9d5db91fc7ab921a69fe1eead1d78a9cfad.1524201815.git.baruch@tkos.co.il
State Accepted
Headers show
Series [v2] dhcpcd: fix legal info | expand

Commit Message

Baruch Siach April 20, 2018, 5:23 a.m. UTC
The latest version bump to 7.0.3 moved dhcpcd.c to under src/. Since the
tarball now has a LICENSE file, use that instead.

While at it, add a hash for that file.

Fixes:
http://autobuild.buildroot.net/results/f57/f5790e0a82a3b814d828d18eb71a3f6c422bb2b8/
http://autobuild.buildroot.net/results/6b9/6b930827913f9b4d2602d5777f4243ba7b295ca7/
http://autobuild.buildroot.net/results/603/603eda004a502f613e9b92cea4fb8cc9e4068255/

Cc: John Stile <johns@msli.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
v2: Use LICENSE as license file (Rahul Bedarkar)
---
 package/dhcpcd/dhcpcd.hash | 2 ++
 package/dhcpcd/dhcpcd.mk   | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

Comments

Yegor Yefremov April 20, 2018, 5:30 a.m. UTC | #1
On Fri, Apr 20, 2018 at 7:23 AM, Baruch Siach <baruch@tkos.co.il> wrote:
> The latest version bump to 7.0.3 moved dhcpcd.c to under src/. Since the
> tarball now has a LICENSE file, use that instead.
>
> While at it, add a hash for that file.
>
> Fixes:
> http://autobuild.buildroot.net/results/f57/f5790e0a82a3b814d828d18eb71a3f6c422bb2b8/
> http://autobuild.buildroot.net/results/6b9/6b930827913f9b4d2602d5777f4243ba7b295ca7/
> http://autobuild.buildroot.net/results/603/603eda004a502f613e9b92cea4fb8cc9e4068255/
>
> Cc: John Stile <johns@msli.com>
> Cc: Yegor Yefremov <yegorslists@googlemail.com>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Good catch. I totally missed this.

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>

Yegor

> ---
> v2: Use LICENSE as license file (Rahul Bedarkar)
> ---
>  package/dhcpcd/dhcpcd.hash | 2 ++
>  package/dhcpcd/dhcpcd.mk   | 2 +-
>  2 files changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/package/dhcpcd/dhcpcd.hash b/package/dhcpcd/dhcpcd.hash
> index 99b7fe786e8a..605e87609e43 100644
> --- a/package/dhcpcd/dhcpcd.hash
> +++ b/package/dhcpcd/dhcpcd.hash
> @@ -1,2 +1,4 @@
>  # sha256 from ftp://roy.marples.name/pub/dhcpcd/dhcpcd-7.0.3.tar.xz.distinfo.asc
>  sha256 a255d9aecceb1c77a9862f1c0d31a48ba37aab5ef2ca5ad76fc7a907b6ea292e        dhcpcd-7.0.3.tar.xz
> +# Locally calculated
> +sha256 b120a64b92cfb2453b61df4457a3c0eb163ef9c1c397822826756a31581f3947        LICENSE
> diff --git a/package/dhcpcd/dhcpcd.mk b/package/dhcpcd/dhcpcd.mk
> index 1bb0dd8a5137..92a78cd7ad90 100644
> --- a/package/dhcpcd/dhcpcd.mk
> +++ b/package/dhcpcd/dhcpcd.mk
> @@ -9,7 +9,7 @@ DHCPCD_SOURCE = dhcpcd-$(DHCPCD_VERSION).tar.xz
>  DHCPCD_SITE = http://roy.marples.name/downloads/dhcpcd
>  DHCPCD_DEPENDENCIES = host-pkgconf
>  DHCPCD_LICENSE = BSD-2-Clause
> -DHCPCD_LICENSE_FILES = dhcpcd.c
> +DHCPCD_LICENSE_FILES = LICENSE
>
>  ifeq ($(BR2_STATIC_LIBS),y)
>  DHCPCD_CONFIG_OPTS += --enable-static
> --
> 2.17.0
>
Rahul Bedarkar April 20, 2018, 5:36 a.m. UTC | #2
On Fri, Apr 20, 2018 at 10:53 AM, Baruch Siach <baruch@tkos.co.il> wrote:
> The latest version bump to 7.0.3 moved dhcpcd.c to under src/. Since the
> tarball now has a LICENSE file, use that instead.
>
> While at it, add a hash for that file.
>
> Fixes:
> http://autobuild.buildroot.net/results/f57/f5790e0a82a3b814d828d18eb71a3f6c422bb2b8/
> http://autobuild.buildroot.net/results/6b9/6b930827913f9b4d2602d5777f4243ba7b295ca7/
> http://autobuild.buildroot.net/results/603/603eda004a502f613e9b92cea4fb8cc9e4068255/
>
> Cc: John Stile <johns@msli.com>
> Cc: Yegor Yefremov <yegorslists@googlemail.com>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Reviewed-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>

Thanks,
Rahul
Thomas Petazzoni April 20, 2018, 6:40 a.m. UTC | #3
Hello,

On Fri, 20 Apr 2018 08:23:35 +0300, Baruch Siach wrote:
> The latest version bump to 7.0.3 moved dhcpcd.c to under src/. Since the
> tarball now has a LICENSE file, use that instead.
> 
> While at it, add a hash for that file.
> 
> Fixes:
> http://autobuild.buildroot.net/results/f57/f5790e0a82a3b814d828d18eb71a3f6c422bb2b8/
> http://autobuild.buildroot.net/results/6b9/6b930827913f9b4d2602d5777f4243ba7b295ca7/
> http://autobuild.buildroot.net/results/603/603eda004a502f613e9b92cea4fb8cc9e4068255/
> 
> Cc: John Stile <johns@msli.com>
> Cc: Yegor Yefremov <yegorslists@googlemail.com>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> v2: Use LICENSE as license file (Rahul Bedarkar)
> ---
>  package/dhcpcd/dhcpcd.hash | 2 ++
>  package/dhcpcd/dhcpcd.mk   | 2 +-
>  2 files changed, 3 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas
diff mbox series

Patch

diff --git a/package/dhcpcd/dhcpcd.hash b/package/dhcpcd/dhcpcd.hash
index 99b7fe786e8a..605e87609e43 100644
--- a/package/dhcpcd/dhcpcd.hash
+++ b/package/dhcpcd/dhcpcd.hash
@@ -1,2 +1,4 @@ 
 # sha256 from ftp://roy.marples.name/pub/dhcpcd/dhcpcd-7.0.3.tar.xz.distinfo.asc
 sha256	a255d9aecceb1c77a9862f1c0d31a48ba37aab5ef2ca5ad76fc7a907b6ea292e	dhcpcd-7.0.3.tar.xz
+# Locally calculated
+sha256	b120a64b92cfb2453b61df4457a3c0eb163ef9c1c397822826756a31581f3947	LICENSE
diff --git a/package/dhcpcd/dhcpcd.mk b/package/dhcpcd/dhcpcd.mk
index 1bb0dd8a5137..92a78cd7ad90 100644
--- a/package/dhcpcd/dhcpcd.mk
+++ b/package/dhcpcd/dhcpcd.mk
@@ -9,7 +9,7 @@  DHCPCD_SOURCE = dhcpcd-$(DHCPCD_VERSION).tar.xz
 DHCPCD_SITE = http://roy.marples.name/downloads/dhcpcd
 DHCPCD_DEPENDENCIES = host-pkgconf
 DHCPCD_LICENSE = BSD-2-Clause
-DHCPCD_LICENSE_FILES = dhcpcd.c
+DHCPCD_LICENSE_FILES = LICENSE
 
 ifeq ($(BR2_STATIC_LIBS),y)
 DHCPCD_CONFIG_OPTS += --enable-static