Skip to contentSkip to conversation

Joe MacDonald : GeoIP: update checksums

oe-commits Martin Jansa 2 participants 2 messages Mar 18, 2015 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 8 lines · On Wed, Jan 07, 2015 at 07:06:35PM +0000, [email protected] wrote:
Module: meta-openembedded.git
Branch: master
Commit: b5afd31f7637f8a206b720f332d115c5a395cafc
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=b5afd31f7637f8a206b720f332d115c5a395cafc
Author: Joe MacDonald <[email protected]>
Date:   Wed Jan  7 12:20:07 2015 -0500
Quoted 6 lines

GeoIP: update checksums

The raw IP databases have been updated, so for the time being just update the checksums.

GeoIP.dat.gz was update again

ERROR: Fetcher failure for URL: 'http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz;apply=no;name=GeoIP-dat'. Checksum mismatch!
File: '/home/jenkins/oe/world/shr-core/downloads/GeoIP.dat.gz' has md5 checksum 37c84ead332dda0362a5ac7b049b72d4 when 4bc1e8280fe2db0adc3fe48663b8926e was expected
File: '/home/jenkins/oe/world/shr-core/downloads/GeoIP.dat.gz' has sha256 checksum 79ff1099e96c2dc1c2539c9a18aaa13a9afd085cae477df60d95f1644d42bc07 when 7fd7e4829aaaae2677a7975eeecd170134195e5b7e6fc7d30bf3caf34db41bcd 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[GeoIP-dat.md5sum] = "37c84ead332dda0362a5ac7b049b72d4"
SRC_URI[GeoIP-dat.sha256sum] = "79ff1099e96c2dc1c2539c9a18aaa13a9afd085cae477df60d95f1644d42bc07"
Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.

ERROR: Function failed: Fetcher failure for URL: 'http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz;apply=no;name=GeoIP-dat'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/geoip/1.6.0-r0/temp/log.do_fetch.11727
NOTE: recipe geoip-1.6.0-r0: task do_fetch: Failed
NOTE: recipe asio-1.10.1-r0: task do_patch: Started
ERROR: Task 485 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-networking/recipes-support/geoip/geoip_1.6.0.bb, do_fetch) failed with exit code '1'

Quoted 42 lines

---

 meta-networking/recipes-support/geoip/geoip_1.6.0.bb | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
meta-networking/recipes-support/geoip/geoip_1.6.0.bb +8 -8
index 782d2e7..65e8362 100644
@@ -18,17 +18,17 @@ SRC_URI = "http://www.maxmind.com/download/geoip/api/c/GeoIP-1.6.0.tar.gz;name=t
 SRC_URI[tarball.md5sum] = "89f4cdfdab43f1d67364cd7c85bbe8ca"
 SRC_URI[tarball.sha256sum] = "075a0c2815cd099e9ec35c9569db716a3fefcdbb6a10dbfa1ce7c6cd48d4a635"
 
-SRC_URI[GeoIP-dat.md5sum] = "53416cd33e556a8048ac522fc9a98e05"
-SRC_URI[GeoIP-dat.sha256sum] = "a423a0c87bf9a78ef8d68153b424987c6bbddec85b5f784ca747706f4df10361"
+SRC_URI[GeoIP-dat.md5sum] = "4bc1e8280fe2db0adc3fe48663b8926e"
+SRC_URI[GeoIP-dat.sha256sum] = "7fd7e4829aaaae2677a7975eeecd170134195e5b7e6fc7d30bf3caf34db41bcd"
 
-SRC_URI[GeoIPv6-dat.md5sum] = "f1a4abf4015c0300267f4717c9d7ead2"
-SRC_URI[GeoIPv6-dat.sha256sum] = "1a8e61732e39ac9d9acc20d648b2530d7bd0ff1c250f51fd18148931fbfe2830"
+SRC_URI[GeoIPv6-dat.md5sum] = "aac7e6e9b141de80934ecee52daf7f56"
+SRC_URI[GeoIPv6-dat.sha256sum] = "126fd2953eb193e60538e30b4465610530383f7a782745cacdca5ba6825f471c"
 
-SRC_URI[GeoLiteCity-dat.md5sum] = "48af3b8a204d7c5f8e42a4f5f4dd1874"
-SRC_URI[GeoLiteCity-dat.sha256sum] = "2f3f62f171c333cdd4e68534585e51978cb3a12dc7b269786f50daf10071d7d6"
+SRC_URI[GeoLiteCity-dat.md5sum] = "15a42c684c53d2309e6632a6d6e02531"
+SRC_URI[GeoLiteCity-dat.sha256sum] = "5ec02a6d39d545c77ec12cc30c6a8856883d8f55522fc5cd4f25af80163c6b3c"
 
-SRC_URI[GeoLiteCityv6-dat.md5sum] = "a42504adfd8030c3a10f749191598b4a"
-SRC_URI[GeoLiteCityv6-dat.sha256sum] = "4a5eeaa4a9107e6ccdbe94ad1c7c987dc70cd250cd40624ada1e3a03836bbbdb"
+SRC_URI[GeoLiteCityv6-dat.md5sum] = "49d6ec946fa0a2575b5112a68d71f933"
+SRC_URI[GeoLiteCityv6-dat.sha256sum] = "7a345e6cf0e59f8ab589ff15020241f0b03342dd04cc584f814c4f4700d49405"
 
 
 LICENSE = "LGPL-2.1"
Signature · 5 lines
-- 
_______________________________________________
Openembedded-commits mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-commits
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw
Quoted 9 lines · [Re: [oe-commits] Joe MacDonald : GeoIP: update checksums] On 15.03.18 (Wed…
Quoted 8 lines · On Wed, Jan 07, 2015 at 07:06:35PM +0000, [email protected] wrote:
Module: meta-openembedded.git
Branch: master
Commit: b5afd31f7637f8a206b720f332d115c5a395cafc
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=b5afd31f7637f8a206b720f332d115c5a395cafc
Author: Joe MacDonald <[email protected]>
Date:   Wed Jan  7 12:20:07 2015 -0500
Quoted 8 lines
Quoted 6 lines

GeoIP: update checksums

The raw IP databases have been updated, so for the time being just update the checksums.

GeoIP.dat.gz was update again

Hmm. So I sunk a bit more time in trying to clean this up as we discussed in January, but I can't see any path that lets me co-opt AUTOREV into working here, as it appears intended to be used solely with SCM-managed downloads (which makes sense, what's being done with these tarballs is a crime, if you ask me).

So for now I've committed the updated checksums as a band-aid and I'll revisit one of the more complicated options before they update the tarballs again, I hope.

-J.

Quoted 58 lines

ERROR: Fetcher failure for URL: 'http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz;apply=no;name=GeoIP-dat'. Checksum mismatch!
File: '/home/jenkins/oe/world/shr-core/downloads/GeoIP.dat.gz' has md5 checksum 37c84ead332dda0362a5ac7b049b72d4 when 4bc1e8280fe2db0adc3fe48663b8926e was expected
File: '/home/jenkins/oe/world/shr-core/downloads/GeoIP.dat.gz' has sha256 checksum 79ff1099e96c2dc1c2539c9a18aaa13a9afd085cae477df60d95f1644d42bc07 when 7fd7e4829aaaae2677a7975eeecd170134195e5b7e6fc7d30bf3caf34db41bcd 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[GeoIP-dat.md5sum] = "37c84ead332dda0362a5ac7b049b72d4"
SRC_URI[GeoIP-dat.sha256sum] = "79ff1099e96c2dc1c2539c9a18aaa13a9afd085cae477df60d95f1644d42bc07"
Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.

ERROR: Function failed: Fetcher failure for URL: 'http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz;apply=no;name=GeoIP-dat'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/geoip/1.6.0-r0/temp/log.do_fetch.11727
NOTE: recipe geoip-1.6.0-r0: task do_fetch: Failed
NOTE: recipe asio-1.10.1-r0: task do_patch: Started
ERROR: Task 485 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-networking/recipes-support/geoip/geoip_1.6.0.bb, do_fetch) failed with exit code '1'

Quoted 42 lines

---

 meta-networking/recipes-support/geoip/geoip_1.6.0.bb | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
meta-networking/recipes-support/geoip/geoip_1.6.0.bb +8 -8
index 782d2e7..65e8362 100644
@@ -18,17 +18,17 @@ SRC_URI = "http://www.maxmind.com/download/geoip/api/c/GeoIP-1.6.0.tar.gz;name=t
 SRC_URI[tarball.md5sum] = "89f4cdfdab43f1d67364cd7c85bbe8ca"
 SRC_URI[tarball.sha256sum] = "075a0c2815cd099e9ec35c9569db716a3fefcdbb6a10dbfa1ce7c6cd48d4a635"
 
-SRC_URI[GeoIP-dat.md5sum] = "53416cd33e556a8048ac522fc9a98e05"
-SRC_URI[GeoIP-dat.sha256sum] = "a423a0c87bf9a78ef8d68153b424987c6bbddec85b5f784ca747706f4df10361"
+SRC_URI[GeoIP-dat.md5sum] = "4bc1e8280fe2db0adc3fe48663b8926e"
+SRC_URI[GeoIP-dat.sha256sum] = "7fd7e4829aaaae2677a7975eeecd170134195e5b7e6fc7d30bf3caf34db41bcd"
 
-SRC_URI[GeoIPv6-dat.md5sum] = "f1a4abf4015c0300267f4717c9d7ead2"
-SRC_URI[GeoIPv6-dat.sha256sum] = "1a8e61732e39ac9d9acc20d648b2530d7bd0ff1c250f51fd18148931fbfe2830"
+SRC_URI[GeoIPv6-dat.md5sum] = "aac7e6e9b141de80934ecee52daf7f56"
+SRC_URI[GeoIPv6-dat.sha256sum] = "126fd2953eb193e60538e30b4465610530383f7a782745cacdca5ba6825f471c"
 
-SRC_URI[GeoLiteCity-dat.md5sum] = "48af3b8a204d7c5f8e42a4f5f4dd1874"
-SRC_URI[GeoLiteCity-dat.sha256sum] = "2f3f62f171c333cdd4e68534585e51978cb3a12dc7b269786f50daf10071d7d6"
+SRC_URI[GeoLiteCity-dat.md5sum] = "15a42c684c53d2309e6632a6d6e02531"
+SRC_URI[GeoLiteCity-dat.sha256sum] = "5ec02a6d39d545c77ec12cc30c6a8856883d8f55522fc5cd4f25af80163c6b3c"
 
-SRC_URI[GeoLiteCityv6-dat.md5sum] = "a42504adfd8030c3a10f749191598b4a"
-SRC_URI[GeoLiteCityv6-dat.sha256sum] = "4a5eeaa4a9107e6ccdbe94ad1c7c987dc70cd250cd40624ada1e3a03836bbbdb"
+SRC_URI[GeoLiteCityv6-dat.md5sum] = "49d6ec946fa0a2575b5112a68d71f933"
+SRC_URI[GeoLiteCityv6-dat.sha256sum] = "7a345e6cf0e59f8ab589ff15020241f0b03342dd04cc584f814c4f4700d49405"
 
 
 LICENSE = "LGPL-2.1"
Signature · 5 lines
-- 
_______________________________________________
Openembedded-commits mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-commits
Signature · 2 lines
-Joe MacDonald.
:wq