Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH/next 1/2] c-ares: use LICENSE.md
@ 2018-12-01 20:42 Fabrice Fontaine
  2018-12-01 20:42 ` [Buildroot] [PATCH/next 2/2] c-ares: bump to version 1.15.0 Fabrice Fontaine
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Fabrice Fontaine @ 2018-12-01 20:42 UTC (permalink / raw)
  To: buildroot

c-ares has a LICENSE.md file since version 1.12 and
https://github.com/c-ares/c-ares/commit/4e861351d9deaef7b78aee50ce9229325f4fc59a

So use it instead of one of the source file and add its hash

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

diff --git a/package/c-ares/c-ares.hash b/package/c-ares/c-ares.hash
index 832c4dfcfb..0c665574d8 100644
--- a/package/c-ares/c-ares.hash
+++ b/package/c-ares/c-ares.hash
@@ -1,2 +1,5 @@
 # Locally calculated after checking pgp signature
 sha256 45d3c1fd29263ceec2afc8ff9cd06d5f8f889636eb4e80ce3cc7f0eaf7aadc6e c-ares-1.14.0.tar.gz
+
+# Hash for license file
+sha256 db4eb63fe09daebdf57d3f79b091bb5ee5070c0d761040e83264e648d307af4c LICENSE.md
diff --git a/package/c-ares/c-ares.mk b/package/c-ares/c-ares.mk
index 67254244a1..16536137a8 100644
--- a/package/c-ares/c-ares.mk
+++ b/package/c-ares/c-ares.mk
@@ -11,7 +11,6 @@ C_ARES_CONF_OPTS = --with-random=/dev/urandom
 # Rebuild configure to avoid XC_CHECK_USER_CFLAGS
 C_ARES_AUTORECONF = YES
 C_ARES_LICENSE = MIT
-# No standalone, use some source file
-C_ARES_LICENSE_FILES = ares_mkquery.c
+C_ARES_LICENSE_FILES = LICENSE.md
 
 $(eval $(autotools-package))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH/next 2/2] c-ares: bump to version 1.15.0
  2018-12-01 20:42 [Buildroot] [PATCH/next 1/2] c-ares: use LICENSE.md Fabrice Fontaine
@ 2018-12-01 20:42 ` Fabrice Fontaine
  2018-12-01 21:14 ` [Buildroot] [PATCH/next 1/2] c-ares: use LICENSE.md Thomas Petazzoni
  2018-12-03 22:28 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Fabrice Fontaine @ 2018-12-01 20:42 UTC (permalink / raw)
  To: buildroot

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

diff --git a/package/c-ares/c-ares.hash b/package/c-ares/c-ares.hash
index 0c665574d8..a3599aaa11 100644
--- a/package/c-ares/c-ares.hash
+++ b/package/c-ares/c-ares.hash
@@ -1,5 +1,5 @@
 # Locally calculated after checking pgp signature
-sha256 45d3c1fd29263ceec2afc8ff9cd06d5f8f889636eb4e80ce3cc7f0eaf7aadc6e c-ares-1.14.0.tar.gz
+sha256 6cdb97871f2930530c97deb7cf5c8fa4be5a0b02c7cea6e7c7667672a39d6852 c-ares-1.15.0.tar.gz
 
 # Hash for license file
 sha256 db4eb63fe09daebdf57d3f79b091bb5ee5070c0d761040e83264e648d307af4c LICENSE.md
diff --git a/package/c-ares/c-ares.mk b/package/c-ares/c-ares.mk
index 16536137a8..67cd659cb5 100644
--- a/package/c-ares/c-ares.mk
+++ b/package/c-ares/c-ares.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-C_ARES_VERSION = 1.14.0
+C_ARES_VERSION = 1.15.0
 C_ARES_SITE = http://c-ares.haxx.se/download
 C_ARES_INSTALL_STAGING = YES
 C_ARES_CONF_OPTS = --with-random=/dev/urandom
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH/next 1/2] c-ares: use LICENSE.md
  2018-12-01 20:42 [Buildroot] [PATCH/next 1/2] c-ares: use LICENSE.md Fabrice Fontaine
  2018-12-01 20:42 ` [Buildroot] [PATCH/next 2/2] c-ares: bump to version 1.15.0 Fabrice Fontaine
@ 2018-12-01 21:14 ` Thomas Petazzoni
  2018-12-03 22:28 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2018-12-01 21:14 UTC (permalink / raw)
  To: buildroot

Hello,

On Sat,  1 Dec 2018 21:42:45 +0100, Fabrice Fontaine wrote:
> c-ares has a LICENSE.md file since version 1.12 and
> https://github.com/c-ares/c-ares/commit/4e861351d9deaef7b78aee50ce9229325f4fc59a
> 
> So use it instead of one of the source file and add its hash
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/c-ares/c-ares.hash | 3 +++
>  package/c-ares/c-ares.mk   | 3 +--
>  2 files changed, 4 insertions(+), 2 deletions(-)

I'm not sure why you submitted this patch for next. This kind of
fix/improvement is definitely welcome in master, so I applied it to the
master branch. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH/next 1/2] c-ares: use LICENSE.md
  2018-12-01 20:42 [Buildroot] [PATCH/next 1/2] c-ares: use LICENSE.md Fabrice Fontaine
  2018-12-01 20:42 ` [Buildroot] [PATCH/next 2/2] c-ares: bump to version 1.15.0 Fabrice Fontaine
  2018-12-01 21:14 ` [Buildroot] [PATCH/next 1/2] c-ares: use LICENSE.md Thomas Petazzoni
@ 2018-12-03 22:28 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2018-12-03 22:28 UTC (permalink / raw)
  To: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > c-ares has a LICENSE.md file since version 1.12 and
 > https://github.com/c-ares/c-ares/commit/4e861351d9deaef7b78aee50ce9229325f4fc59a

 > So use it instead of one of the source file and add its hash

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

Committed to 2018.02.x and 2018.08.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-12-03 22:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-01 20:42 [Buildroot] [PATCH/next 1/2] c-ares: use LICENSE.md Fabrice Fontaine
2018-12-01 20:42 ` [Buildroot] [PATCH/next 2/2] c-ares: bump to version 1.15.0 Fabrice Fontaine
2018-12-01 21:14 ` [Buildroot] [PATCH/next 1/2] c-ares: use LICENSE.md Thomas Petazzoni
2018-12-03 22:28 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox