package/c-ares: use LICENSE.md
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 1 Dec 2018 20:42:45 +0000 (21:42 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 1 Dec 2018 21:20:18 +0000 (22:20 +0100)
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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/c-ares/c-ares.hash
package/c-ares/c-ares.mk

index 832c4dfcfb05ba935ca0ca5a061be99f43624727..0c665574d8add9e7110caf92900e3afc130cc450 100644 (file)
@@ -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
index 76e9687b3762a43bbfbde39a7f3461131f8e5982..9f9835677f6d1451d5ecf7b843a011a65145c9a4 100644 (file)
@@ -11,8 +11,7 @@ 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))
 $(eval $(host-autotools-package))