[oe] [meta-networking][PATCH] geoip: update GeoLite Database checksum

Changqing Li changqing.li at windriver.com
Fri Nov 16 03:09:08 UTC 2018


On 11/16/18 5:35 AM, akuster808 wrote:
>
> On 11/11/18 9:59 PM, changqing.li at windriver.com wrote:
>> From: Changqing Li <changqing.li at windriver.com>
>>
>> GeoLite Database checksum changed again recently, so
>> update it.
>>
>> Signed-off-by: Changqing Li <changqing.li at windriver.com>
>> ---
>>   meta-networking/recipes-support/geoip/geoip_1.6.12.bb | 8 ++++----
>>   1 file changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/meta-networking/recipes-support/geoip/geoip_1.6.12.bb b/meta-networking/recipes-support/geoip/geoip_1.6.12.bb
>> index 0657369..1e1a7ff 100644
>> --- a/meta-networking/recipes-support/geoip/geoip_1.6.12.bb
>> +++ b/meta-networking/recipes-support/geoip/geoip_1.6.12.bb
>> @@ -20,14 +20,14 @@ SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a"
>>   SRC_URI[GeoIP-dat.md5sum] = "d538e57ad9268fdc7955c6cf9a37c4a9"
>>   SRC_URI[GeoIP-dat.sha256sum] = "b9c05eb8bfcf90a6ddfdc6815caf40a8db2710f0ce3dd48fbd6c24d485ae0449"
>>   
>> -SRC_URI[GeoIPv6-dat.md5sum] = "a685e71ab129b6ca4cba75f7eaeb5335"
>> -SRC_URI[GeoIPv6-dat.sha256sum] = "a94398430701c8458fedbd20aa2a5d460858441f2ca495f32621f6d16154171f"
>> +SRC_URI[GeoIPv6-dat.md5sum] = "00dc3b3f53eb5f7bf6915f939998f12c"
>> +SRC_URI[GeoIPv6-dat.sha256sum] = "e72221fc630094d7256521b307e9142fb77d2167a27de2c11da536a2ba1d1480"
>>   
>>   SRC_URI[GeoLiteCity-dat.md5sum] = "d700c137232f8e077ac8db8577f699d9"
>>   SRC_URI[GeoLiteCity-dat.sha256sum] = "90db2e52195e3d1bcdb2c2789209006d09de5c742812dbd9a1b36c12675ec4cd"
>>   
>> -SRC_URI[GeoLiteCityv6-dat.md5sum] = "f6dff70c99f8449af1b7a33073eaa743"
>> -SRC_URI[GeoLiteCityv6-dat.sha256sum] = "8b6f065ed68bed2a03d61b8d6c7e2f1c52ebd00c0d4a00f6cdc04195c03e32e3"
>> +SRC_URI[GeoLiteCityv6-dat.md5sum] = "7f6333d433d8127181ea3c5828287c98"
>> +SRC_URI[GeoLiteCityv6-dat.sha256sum] = "c339e20cdf326c18aa3571bcd27845e6daf41ca5bfe9401bc472908aaeb42ac7"
> I am seeing this with stable/thud-nmut ( mainly master)
>
> ERROR: geoip-1.6.12-r0 do_fetch: Checksum failure fetching
> http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat
> ERROR: geoip-1.6.12-r0 do_fetch: Fetcher failure for URL:
> 'http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat'.
> Checksum mismatch!
> File: '/build/downloads/thud/GeoIPv6.dat.gz' has md5 checksum
> e75b84a4044e81d6d4484e33816bc762 when 00dc3b3f53eb5f7bf6915f939998f12c
> was expected
> File: '/build/downloads/thud/GeoIPv6.dat.gz' has sha256 checksum
> a009b0f21968d2868e6dd19d14f3c3b8cd60ae84a4bfc2970df34d771a04811e when
> e72221fc630094d7256521b307e9142fb77d2167a27de2c11da536a2ba1d1480 was
> expected
> If this change is expected (e.g. you have upgraded to a new version
> without updating the checksums) then you can use these lines within the
> recipe:
> SRC_URI[GeoIPv6-dat.md5sum] = "e75b84a4044e81d6d4484e33816bc762"
> SRC_URI[GeoIPv6-dat.sha256sum] =
> "a009b0f21968d2868e6dd19d14f3c3b8cd60ae84a4bfc2970df34d771a04811e"
> Otherwise you should retry the download and/or check with upstream to
> determine if the file has become corrupted or otherwise unexpectedly
> modified.
>
> - armin

Hi,

This recipe is special, it use git to download GeoLite databse from

https://dev.maxmind.com/geoip/legacy/geolite/,  but the database is

not versioned,  and the database, eg, GeoIPv6.dat.gz  ,  checksum changes

frequently.  I have change it two times recently. and today, I checked the

checksum changed again,  also different with report checksum above.


we need to figure out a solution to reslove this instead change the checksum

again and again.   Especially,  the database will be deleted from the 
web from

2019. 2.


>>   
>>   LICENSE = "LGPL-2.1"
>>   
>
-- 
BRs

Sandy(Li Changqing)



More information about the Openembedded-devel mailing list