geoip: add downloadfilename for geoip database files
PATCH 1/1 geoip: add downloadfilename for geoip database files
From: Changqing Li <[email protected]>
previous change of checksum don't trigger archive to re-downloaded, , which will cause checksum mismatch. add downloadfilename to trigger re-download.
1. for user with PREMIRROR, another benefit is it can still compile success event upstream checksum change frequently.
2. but for user don't use PREMIRROR, if upstream checksum changed, still might have checksum mismatch problem.
--- .../recipes-support/geoip/geoip_1.6.12.bb | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-)
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +12 -12
@@ -9,10 +9,10 @@ HOMEPAGE = "http://dev.maxmind.com/geoip/" SECTION = "libdevel" SRC_URI = "git://github.com/maxmind/geoip-api-c.git \ - http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz;apply=no;name=GeoIP-dat \ - http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat \ - http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz;apply=no;name=GeoLiteCity-dat \ - http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz;apply=no;name=GeoLiteCityv6-dat \ + http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz;apply=no;name=GeoIP-dat;downloadfilename=GeoIP.dat.20181120.gz \ + http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat;downloadfilename=GeoIPv6.dat.20181120.gz \ + http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz;apply=no;name=GeoLiteCity-dat;downloadfilename=GeoLiteCity.dat.20181120.gz \ + http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz;apply=no;name=GeoLiteCityv6-dat;downloadfilename=GeoLiteCityv6.dat.20181120.gz \ file://run-ptest \ " SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a"
@@ -20,14 +20,14 @@ SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a" SRC_URI[GeoIP-dat.md5sum] = "d538e57ad9268fdc7955c6cf9a37c4a9" SRC_URI[GeoIP-dat.sha256sum] = "b9c05eb8bfcf90a6ddfdc6815caf40a8db2710f0ce3dd48fbd6c24d485ae0449" -SRC_URI[GeoIPv6-dat.md5sum] = "00dc3b3f53eb5f7bf6915f939998f12c" -SRC_URI[GeoIPv6-dat.sha256sum] = "e72221fc630094d7256521b307e9142fb77d2167a27de2c11da536a2ba1d1480" +SRC_URI[GeoIPv6-dat.md5sum] = "a908d7a51c3883eb8f693ca197c7a142" +SRC_URI[GeoIPv6-dat.sha256sum] = "1b06e34eed2c539606a9ab4d97b2140ac80bf9f528d16ad2e3831c75014c2710" SRC_URI[GeoLiteCity-dat.md5sum] = "d700c137232f8e077ac8db8577f699d9" SRC_URI[GeoLiteCity-dat.sha256sum] = "90db2e52195e3d1bcdb2c2789209006d09de5c742812dbd9a1b36c12675ec4cd" -SRC_URI[GeoLiteCityv6-dat.md5sum] = "7f6333d433d8127181ea3c5828287c98" -SRC_URI[GeoLiteCityv6-dat.sha256sum] = "c339e20cdf326c18aa3571bcd27845e6daf41ca5bfe9401bc472908aaeb42ac7" +SRC_URI[GeoLiteCityv6-dat.md5sum] = "8ac3506ccabaae7e9f7d6301c2654313" +SRC_URI[GeoLiteCityv6-dat.sha256sum] = "1c5fced1657d09448b3ecc14b65c9536228a627d93ed4159d3438b2c6faa8506" LICENSE = "LGPL-2.1"
@@ -44,10 +44,10 @@ EXTRA_OECONF = "--disable-static \ do_install() { make DESTDIR=${D} install install -d ${D}/${datadir}/GeoIP - install ${WORKDIR}/GeoIP.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoIPv6.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoLiteCity.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoLiteCityv6.dat ${D}/${datadir}/GeoIP/ + install ${WORKDIR}/GeoIP.dat.20181120 ${D}/${datadir}/GeoIP/GeoIP.dat + install ${WORKDIR}/GeoIPv6.dat.20181120 ${D}/${datadir}/GeoIP/GeoIPv6.dat + install ${WORKDIR}/GeoLiteCity.dat.20181120 ${D}/${datadir}/GeoIP/GeoLiteCity.dat + install ${WORKDIR}/GeoLiteCityv6.dat.20181120 ${D}/${datadir}/GeoIP/GeoLiteCityv6.dat ln -s GeoLiteCity.dat ${D}${datadir}/GeoIP/GeoIPCity.dat }
Signature · 1 line
2.7.4
Looks, good.
Adding variable for 20181120 might help with maintenance (if we need to change just checksums in future). And with good variable name (or a comment) it would also document in the recipe why we're using this in downloadfilename.
Quoted 105 lines · On Tue, Nov 20, 2018 at 7:48 AM <[email protected]> wrote:
From: Changqing Li <[email protected]>
previous change of checksum don't trigger archive to re-downloaded, , which will cause checksum mismatch. add downloadfilename to trigger re-download.
1. for user with PREMIRROR, another benefit is it can still compile success event upstream checksum change frequently.
2. but for user don't use PREMIRROR, if upstream checksum changed, still might have checksum mismatch problem.Signed-off-by Changqing Li <[email protected]>--- .../recipes-support/geoip/geoip_1.6.12.bb | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-)meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-1@@ -9,10 +9,10 @@ HOMEPAGE = "http://dev.maxmind.com/geoip/" SECTION = "libdevel" SRC_URI = "git://github.com/maxmind/geoip-api-c.git \ -http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz;apply=no;name=GeoIP-dat
\
-
http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat
\
-
http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz;apply=no;name=GeoLiteCity-dat
\
-
http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz;apply=no;name=GeoLiteCityv6-dat
\
+
http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz;apply=no;name=GeoIP-dat;downloadfilename=GeoIP.dat.20181120.gz
\
+
http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat;downloadfilename=GeoIPv6.dat.20181120.gz
\
+
http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz;apply=no;name=GeoLiteCity-dat;downloadfilename=GeoLiteCity.dat.20181120.gz
\
+
http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz;apply=no;name=GeoLiteCityv6-dat;downloadfilename=GeoLiteCityv6.dat.20181120.gz\ file://run-ptest \"
SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-0@@ -20,14 +20,14 @@ SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a" SRC_URI[GeoIP-dat.md5sum] = "d538e57ad9268fdc7955c6cf9a37c4a9" SRC_URI[GeoIP-dat.sha256sum] ="
b9c05eb8bfcf90a6ddfdc6815caf40a8db2710f0ce3dd48fbd6c24d485ae0449"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-2-SRC_URI[GeoIPv6-dat.md5sum] = "00dc3b3f53eb5f7bf6915f939998f12c" -SRC_URI[GeoIPv6-dat.sha256sum] ="
e72221fc630094d7256521b307e9142fb77d2167a27de2c11da536a2ba1d1480"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +2
-0+SRC_URI[GeoIPv6-dat.md5sum] = "a908d7a51c3883eb8f693ca197c7a142" +SRC_URI[GeoIPv6-dat.sha256sum] ="
1b06e34eed2c539606a9ab4d97b2140ac80bf9f528d16ad2e3831c75014c2710"SRC_URI[GeoLiteCity-dat.md5sum] = "
d700c137232f8e077ac8db8577f699d9" SRC_URI[GeoLiteCity-dat.sha256sum] =
"90db2e52195e3d1bcdb2c2789209006d09de5c742812dbd9a1b36c12675ec4cd"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-2-SRC_URI[GeoLiteCityv6-dat.md5sum] = "7f6333d433d8127181ea3c5828287c98" -SRC_URI[GeoLiteCityv6-dat.sha256sum] ="
c339e20cdf326c18aa3571bcd27845e6daf41ca5bfe9401bc472908aaeb42ac7"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +2
-0+SRC_URI[GeoLiteCityv6-dat.md5sum] = "8ac3506ccabaae7e9f7d6301c2654313" +SRC_URI[GeoLiteCityv6-dat.sha256sum] ="
1c5fced1657d09448b3ecc14b65c9536228a627d93ed4159d3438b2c6faa8506"LICENSE = "LGPL-2.1"
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +2
-4@@ -44,10 +44,10 @@ EXTRA_OECONF = "--disable-static \ do_install() { make DESTDIR=${D} install install -d ${D}/${datadir}/GeoIP - install ${WORKDIR}/GeoIP.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoIPv6.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoLiteCity.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoLiteCityv6.dat ${D}/${datadir}/GeoIP/ + install ${WORKDIR}/GeoIP.dat.20181120 ${D}/${datadir}/GeoIP/GeoIP.dat + install ${WORKDIR}/GeoIPv6.dat.20181120${D}/${datadir}/GeoIP/GeoIPv6.dat
+ install ${WORKDIR}/GeoLiteCity.dat.20181120
${D}/${datadir}/GeoIP/GeoLiteCity.dat
+ install ${WORKDIR}/GeoLiteCityv6.dat.20181120
${D}/${datadir}/GeoIP/GeoLiteCityv6.datln -s GeoLiteCity.dat ${D}${datadir}/GeoIP/GeoIPCity.dat}
--
2.7.4--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
I am seeing errors on some builders
http://errors.yoctoproject.org/Errors/Details/202341/
Quoted 120 lines · Martin Jansa
Looks, good.
Adding variable for 20181120 might help with maintenance (if we need to change just checksums in future). And with good variable name (or a comment) it would also document in the recipe why we're using this in downloadfilename.
Quoted 96 lines · On Tue, Nov 20, 2018 at 7:48 AM <[email protected]> wrote:
From: Changqing Li <[email protected]>
previous change of checksum don't trigger archive to re-downloaded, , which will cause checksum mismatch. add downloadfilename to trigger re-download.
1. for user with PREMIRROR, another benefit is it can still compile success event upstream checksum change frequently.
2. but for user don't use PREMIRROR, if upstream checksum changed, still might have checksum mismatch problem.Signed-off-by Changqing Li <[email protected]>--- .../recipes-support/geoip/geoip_1.6.12.bb | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-)meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-1@@ -9,10 +9,10 @@ HOMEPAGE = "http://dev.maxmind.com/geoip/" SECTION = "libdevel" SRC_URI = "git://github.com/maxmind/geoip-api-c.git \ -http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz;apply=no;name=GeoIP-dat
\
-
http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat
\
-
http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz;apply=no;name=GeoLiteCity-dat
\
-
http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz;apply=no;name=GeoLiteCityv6-dat
\
+
http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz;apply=no;name=GeoIP-dat;downloadfilename=GeoIP.dat.20181120.gz
\
+
http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat;downloadfilename=GeoIPv6.dat.20181120.gz
\
+
http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz;apply=no;name=GeoLiteCity-dat;downloadfilename=GeoLiteCity.dat.20181120.gz
\
+
http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz;apply=no;name=GeoLiteCityv6-dat;downloadfilename=GeoLiteCityv6.dat.20181120.gz\ file://run-ptest \"
SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-0@@ -20,14 +20,14 @@ SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a" SRC_URI[GeoIP-dat.md5sum] = "d538e57ad9268fdc7955c6cf9a37c4a9" SRC_URI[GeoIP-dat.sha256sum] ="
b9c05eb8bfcf90a6ddfdc6815caf40a8db2710f0ce3dd48fbd6c24d485ae0449"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-2-SRC_URI[GeoIPv6-dat.md5sum] = "00dc3b3f53eb5f7bf6915f939998f12c" -SRC_URI[GeoIPv6-dat.sha256sum] ="
e72221fc630094d7256521b307e9142fb77d2167a27de2c11da536a2ba1d1480"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +2
-0+SRC_URI[GeoIPv6-dat.md5sum] = "a908d7a51c3883eb8f693ca197c7a142" +SRC_URI[GeoIPv6-dat.sha256sum] ="
1b06e34eed2c539606a9ab4d97b2140ac80bf9f528d16ad2e3831c75014c2710"SRC_URI[GeoLiteCity-dat.md5sum] = "
d700c137232f8e077ac8db8577f699d9" SRC_URI[GeoLiteCity-dat.sha256sum] =
"90db2e52195e3d1bcdb2c2789209006d09de5c742812dbd9a1b36c12675ec4cd"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-2-SRC_URI[GeoLiteCityv6-dat.md5sum] = "7f6333d433d8127181ea3c5828287c98" -SRC_URI[GeoLiteCityv6-dat.sha256sum] ="
c339e20cdf326c18aa3571bcd27845e6daf41ca5bfe9401bc472908aaeb42ac7"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +2
-0+SRC_URI[GeoLiteCityv6-dat.md5sum] = "8ac3506ccabaae7e9f7d6301c2654313" +SRC_URI[GeoLiteCityv6-dat.sha256sum] ="
1c5fced1657d09448b3ecc14b65c9536228a627d93ed4159d3438b2c6faa8506"LICENSE = "LGPL-2.1"
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +2
-4@@ -44,10 +44,10 @@ EXTRA_OECONF = "--disable-static \ do_install() { make DESTDIR=${D} install install -d ${D}/${datadir}/GeoIP - install ${WORKDIR}/GeoIP.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoIPv6.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoLiteCity.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoLiteCityv6.dat ${D}/${datadir}/GeoIP/ + install ${WORKDIR}/GeoIP.dat.20181120 ${D}/${datadir}/GeoIP/GeoIP.dat + install ${WORKDIR}/GeoIPv6.dat.20181120${D}/${datadir}/GeoIP/GeoIPv6.dat
+ install ${WORKDIR}/GeoLiteCity.dat.20181120
${D}/${datadir}/GeoIP/GeoLiteCity.dat
+ install ${WORKDIR}/GeoLiteCityv6.dat.20181120
${D}/${datadir}/GeoIP/GeoLiteCityv6.datln -s GeoLiteCity.dat ${D}${datadir}/GeoIP/GeoIPCity.dat}
Quoted 9 lines
--
2.7.4--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
I'm seeing different checksum than both your builder and the recipe.
$ wget http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz --2018-11-27 20:06:32-- http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz Resolving geolite.maxmind.com... 104.16.37.47, 104.16.38.47, 2606:4700::6810:252f, ... Connecting to geolite.maxmind.com|104.16.37.47|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1209046 (1.2M) [application/octet-stream] Saving to: ‘GeoIPv6.dat.gz’
2018-11-27 20:06:32 (10.3 MB/s) - ‘GeoIPv6.dat.gz’ saved [1209046/1209046]
$ md5sum GeoIPv6.dat.gz d98a04eded0b08b945b5629106d58760 GeoIPv6.dat.gz
Is this the legacy archive? Because
https://dev.maxmind.com/geoip/legacy/geolite/ now shows following:
Updated versions of the GeoLite Legacy databases are now only available to redistribution license customers, although anyone can continue to download the March 2018 GeoLite Legacy builds. Starting January 2, 2019, the last build will be removed from our website. GeoLite Legacy database users will need to switch to the GeoLite2 or commercial GeoIP databases and update their integrations by January 2, 2019.
For more information, please visit our Support Center.
Note: After careful consideration, taking into account customer feedback, we have decided against removing latitude and longitude coordinates from the GeoLite2 databases. We are in the process of reviewing coordinates used in all of our GeoLite2 and GeoIP databases to ensure there is no risk of misuse.
* GeoLite2 databases are free IP geolocation databases comparable to, but less accurate than, MaxMind’s GeoIP2 databases. Please remember to use the accuracy radius if displaying coordinates on a map.
New Database Format Available: This page is for our GeoLite Legacy databases. For our latest database format, please visit our GeoLite2 Databases page. We offer redistribution licenses for our newer GeoLite2 databases that will allow you to package the databases with your commercial products. For more information, please visit the GeoLite2 Commercial Redistribution page.
Quoted 135 lines · Khem Raj
I am seeing errors on some builders
http://errors.yoctoproject.org/Errors/Details/202341/
Quoted 35 lines · Martin Jansa
Looks, good.
Adding variable for 20181120 might help with maintenance (if we need to change just checksums in future). And with good variable name (or a comment) it would also document in the recipe why we're using this in downloadfilename.
Quoted 25 lines · On Tue, Nov 20, 2018 at 7:48 AM <[email protected]> wrote:
From: Changqing Li <[email protected]>
previous change of checksum don't trigger archive to re-downloaded, , which will cause checksum mismatch. add downloadfilename to trigger re-download.
1. for user with PREMIRROR, another benefit is it can still compile success event upstream checksum change frequently.
2. but for user don't use PREMIRROR, if upstream checksum changed, still might have checksum mismatch problem.Signed-off-by Changqing Li <[email protected]>--- .../recipes-support/geoip/geoip_1.6.12.bb | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-)meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-0@@ -9,10 +9,10 @@ HOMEPAGE = "http://dev.maxmind.com/geoip/" SECTION = "libdevel"Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb HOMEPAGE = "http://dev.maxmind.com/geoip/" · line 12
Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-1SRC_URI = "git://github.com/maxmind/geoip-api-c.git \ -Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb HOMEPAGE = "http://dev.maxmind.com/geoip/" · line 14
Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-1\ -http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat
Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb HOMEPAGE = "http://dev.maxmind.com/geoip/" · line 18
Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-1\ -http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz;apply=no;name=GeoLiteCity-dat
Quoted 3 lines
Quoted 3 lines
\
-Quoted 3 lines
Quoted 3 lines
\
+Quoted 3 lines
Quoted 3 lines
\
+Quoted 3 lines
Quoted 3 lines
\
+Quoted 3 lines
Quoted 3 lines
\
+Quoted 29 lines
Quoted 29 lines
\ file://run-ptest \"
SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-0@@ -20,14 +20,14 @@ SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a" SRC_URI[GeoIP-dat.md5sum] = "d538e57ad9268fdc7955c6cf9a37c4a9" SRC_URI[GeoIP-dat.sha256sum] ="
b9c05eb8bfcf90a6ddfdc6815caf40a8db2710f0ce3dd48fbd6c24d485ae0449"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-2-SRC_URI[GeoIPv6-dat.md5sum] = "00dc3b3f53eb5f7bf6915f939998f12c" -SRC_URI[GeoIPv6-dat.sha256sum] ="
e72221fc630094d7256521b307e9142fb77d2167a27de2c11da536a2ba1d1480"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +2
-0+SRC_URI[GeoIPv6-dat.md5sum] = "a908d7a51c3883eb8f693ca197c7a142" +SRC_URI[GeoIPv6-dat.sha256sum] ="
1b06e34eed2c539606a9ab4d97b2140ac80bf9f528d16ad2e3831c75014c2710"SRC_URI[GeoLiteCity-dat.md5sum] = "
d700c137232f8e077ac8db8577f699d9" SRC_URI[GeoLiteCity-dat.sha256sum] =
"90db2e52195e3d1bcdb2c2789209006d09de5c742812dbd9a1b36c12675ec4cd"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-2-SRC_URI[GeoLiteCityv6-dat.md5sum] = "7f6333d433d8127181ea3c5828287c98" -SRC_URI[GeoLiteCityv6-dat.sha256sum] ="
c339e20cdf326c18aa3571bcd27845e6daf41ca5bfe9401bc472908aaeb42ac7"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +2
-0+SRC_URI[GeoLiteCityv6-dat.md5sum] = "8ac3506ccabaae7e9f7d6301c2654313" +SRC_URI[GeoLiteCityv6-dat.sha256sum] ="
1c5fced1657d09448b3ecc14b65c9536228a627d93ed4159d3438b2c6faa8506"LICENSE = "LGPL-2.1"
Quoted 9 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb EXTRA_OECONF = "--disable-static \ · line 47
Quoted 9 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +1
-4@@ -44,10 +44,10 @@ EXTRA_OECONF = "--disable-static \ do_install() { make DESTDIR=${D} install install -d ${D}/${datadir}/GeoIP - install ${WORKDIR}/GeoIP.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoIPv6.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoLiteCity.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoLiteCityv6.dat ${D}/${datadir}/GeoIP/ + install ${WORKDIR}/GeoIP.dat.20181120${D}/${datadir}/GeoIP/GeoIP.dat
Quoted 23 lines
Quoted 9 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +1
-0+ install ${WORKDIR}/GeoIPv6.dat.20181120${D}/${datadir}/GeoIP/GeoIPv6.dat
+ install ${WORKDIR}/GeoLiteCity.dat.20181120
${D}/${datadir}/GeoIP/GeoLiteCity.dat
+ install ${WORKDIR}/GeoLiteCityv6.dat.20181120
${D}/${datadir}/GeoIP/GeoLiteCityv6.datln -s GeoLiteCity.dat ${D}${datadir}/GeoIP/GeoIPCity.dat}
Quoted 9 lines
--
2.7.4--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
I am seeing failures on some of the stable branches.
The sources change every Tuesday of the month so we will be chasing this monthly on top of these other dl issues.
- armin
Quoted 182 lines · Martin Jansa
I'm seeing different checksum than both your builder and the recipe.
$ wget http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz --2018-11-27 20:06:32-- http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz Resolving geolite.maxmind.com... 104.16.37.47, 104.16.38.47, 2606:4700::6810:252f, ... Connecting to geolite.maxmind.com|104.16.37.47|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1209046 (1.2M) [application/octet-stream] Saving to: ‘GeoIPv6.dat.gz’2018-11-27 20:06:32 (10.3 MB/s) - ‘GeoIPv6.dat.gz’ saved [1209046/1209046]$ md5sum GeoIPv6.dat.gz d98a04eded0b08b945b5629106d58760 GeoIPv6.dat.gzIs this the legacy archive? Because
https://dev.maxmind.com/geoip/legacy/geolite/ now shows following:Updated versions of the GeoLite Legacy databases are now only available to redistribution license customers, although anyone can continue to download the March 2018 GeoLite Legacy builds. Starting January 2, 2019, the last build will be removed from our website. GeoLite Legacy database users will need to switch to the GeoLite2 or commercial GeoIP databases and update their integrations by January 2, 2019.
For more information, please visit our Support Center.
Note: After careful consideration, taking into account customer feedback, we have decided against removing latitude and longitude coordinates from the GeoLite2 databases. We are in the process of reviewing coordinates used in all of our GeoLite2 and GeoIP databases to ensure there is no risk of misuse.
* GeoLite2 databases are free IP geolocation databases comparable to, but less accurate than, MaxMind’s GeoIP2 databases. Please remember to use the accuracy radius if displaying coordinates on a map.
New Database Format Available: This page is for our GeoLite Legacy databases. For our latest database format, please visit our GeoLite2 Databases page. We offer redistribution licenses for our newer GeoLite2 databases that will allow you to package the databases with your commercial products. For more information, please visit the GeoLite2 Commercial Redistribution page.
Quoted 133 lines · Khem Raj
I am seeing errors on some builders
http://errors.yoctoproject.org/Errors/Details/202341/
Quoted 34 lines · Martin Jansa
Looks, good.
Adding variable for 20181120 might help with maintenance (if we need to change just checksums in future). And with good variable name (or a comment) it would also document in the recipe why we're using this in downloadfilename.
Quoted 25 lines · On Tue, Nov 20, 2018 at 7:48 AM <[email protected]> wrote:
From: Changqing Li <[email protected]>
previous change of checksum don't trigger archive to re-downloaded, , which will cause checksum mismatch. add downloadfilename to trigger re-download.
1. for user with PREMIRROR, another benefit is it can still compile success event upstream checksum change frequently.
2. but for user don't use PREMIRROR, if upstream checksum changed, still might have checksum mismatch problem.Signed-off-by Changqing Li <[email protected]>--- .../recipes-support/geoip/geoip_1.6.12.bb | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-)meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-0@@ -9,10 +9,10 @@ HOMEPAGE = "http://dev.maxmind.com/geoip/" SECTION = "libdevel"Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb HOMEPAGE = "http://dev.maxmind.com/geoip/" · line 12
Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-1SRC_URI = "git://github.com/maxmind/geoip-api-c.git \ -Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb HOMEPAGE = "http://dev.maxmind.com/geoip/" · line 14
Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-1\ -http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat
Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb HOMEPAGE = "http://dev.maxmind.com/geoip/" · line 18
Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-1\ -http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz;apply=no;name=GeoLiteCity-dat
Quoted 3 lines
Quoted 3 lines
\
-Quoted 3 lines
Quoted 3 lines
\
+Quoted 3 lines
Quoted 3 lines
\
+Quoted 3 lines
Quoted 3 lines
\
+Quoted 3 lines
Quoted 3 lines
\
+Quoted 29 lines
Quoted 29 lines
\ file://run-ptest \"
SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-0@@ -20,14 +20,14 @@ SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a" SRC_URI[GeoIP-dat.md5sum] = "d538e57ad9268fdc7955c6cf9a37c4a9" SRC_URI[GeoIP-dat.sha256sum] ="
b9c05eb8bfcf90a6ddfdc6815caf40a8db2710f0ce3dd48fbd6c24d485ae0449"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-2-SRC_URI[GeoIPv6-dat.md5sum] = "00dc3b3f53eb5f7bf6915f939998f12c" -SRC_URI[GeoIPv6-dat.sha256sum] ="
e72221fc630094d7256521b307e9142fb77d2167a27de2c11da536a2ba1d1480"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +2
-0+SRC_URI[GeoIPv6-dat.md5sum] = "a908d7a51c3883eb8f693ca197c7a142" +SRC_URI[GeoIPv6-dat.sha256sum] ="
1b06e34eed2c539606a9ab4d97b2140ac80bf9f528d16ad2e3831c75014c2710"SRC_URI[GeoLiteCity-dat.md5sum] = "
d700c137232f8e077ac8db8577f699d9" SRC_URI[GeoLiteCity-dat.sha256sum] =
"90db2e52195e3d1bcdb2c2789209006d09de5c742812dbd9a1b36c12675ec4cd"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-2-SRC_URI[GeoLiteCityv6-dat.md5sum] = "7f6333d433d8127181ea3c5828287c98" -SRC_URI[GeoLiteCityv6-dat.sha256sum] ="
c339e20cdf326c18aa3571bcd27845e6daf41ca5bfe9401bc472908aaeb42ac7"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +2
-0+SRC_URI[GeoLiteCityv6-dat.md5sum] = "8ac3506ccabaae7e9f7d6301c2654313" +SRC_URI[GeoLiteCityv6-dat.sha256sum] ="
1c5fced1657d09448b3ecc14b65c9536228a627d93ed4159d3438b2c6faa8506"LICENSE = "LGPL-2.1"
Quoted 9 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb EXTRA_OECONF = "--disable-static \ · line 47
Quoted 9 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +1
-4@@ -44,10 +44,10 @@ EXTRA_OECONF = "--disable-static \ do_install() { make DESTDIR=${D} install install -d ${D}/${datadir}/GeoIP - install ${WORKDIR}/GeoIP.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoIPv6.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoLiteCity.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoLiteCityv6.dat ${D}/${datadir}/GeoIP/ + install ${WORKDIR}/GeoIP.dat.20181120${D}/${datadir}/GeoIP/GeoIP.dat
Quoted 23 lines
Quoted 9 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +1
-0+ install ${WORKDIR}/GeoIPv6.dat.20181120${D}/${datadir}/GeoIP/GeoIPv6.dat
+ install ${WORKDIR}/GeoLiteCity.dat.20181120
${D}/${datadir}/GeoIP/GeoLiteCity.dat
+ install ${WORKDIR}/GeoLiteCityv6.dat.20181120
${D}/${datadir}/GeoIP/GeoLiteCityv6.datln -s GeoLiteCity.dat ${D}${datadir}/GeoIP/GeoIPCity.dat}
Quoted 9 lines
--
2.7.4--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Khem and Marthin,
The failure still caused by frequently changed checksum of the database. I send the patch on 11.20.
but the checksum changed on 1121, and it also changed on 1128, seems like weekly change.
but it should not failed if there is a premirror saved the
Here is a result I get:
$ md5sum 1128/*v6* d98a04eded0b08b945b5629106d58760 1128/GeoIPv6 (1).dat.gz 4d48c102ec68298b3fc7f57763455cb5 1128/GeoLiteCityv6.dat.gz $ md5sum 1121/*v6* b0f82334f94ca89872e7722db3511bb9 1121/GeoIPv6.dat.gz 50ad18a8a3ea4bba7c929bea6e22db75 1121/GeoLiteCityv6.dat.gz $ md5sum 1120/*v6* a908d7a51c3883eb8f693ca197c7a142 1120/GeoIPv6.dat.gz 8ac3506ccabaae7e9f7d6301c2654313 1120/GeoLiteCityv6.dat.gz
Quoted 11 lines · Martin Jansa
I'm seeing different checksum than both your builder and the recipe.
$ wget http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz --2018-11-27 20:06:32-- http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz Resolving geolite.maxmind.com... 104.16.37.47, 104.16.38.47, 2606:4700::6810:252f, ... Connecting to geolite.maxmind.com <http://geolite.maxmind.com>|104.16.37.47|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1209046 (1.2M) [application/octet-stream] Saving to: ‘GeoIPv6.dat.gz’
Quoted 6 lines
2018-11-27 20:06:32 (10.3 MB/s) - ‘GeoIPv6.dat.gz’ saved [1209046/1209046]$ md5sum GeoIPv6.dat.gz d98a04eded0b08b945b5629106d58760 GeoIPv6.dat.gzIs this the legacy archive? Because https://dev.maxmind.com/geoip/legacy/geolite/ now shows following:
Yes, I have pointed out this problem the first time I changed the checksum. maybe we should upgrade
to geoip2, and drop current geoip1.6. but I think even with geoip2, since it's database still not version,
maybe also will met similar problem.
//changqing
Quoted 170 lines
Updated versions of the GeoLite Legacy databases are now only available to redistribution license customers, although anyone can continue to download the March 2018 GeoLite Legacy builds. Starting January 2, 2019, the last build will be removed from our website. GeoLite Legacy database users will need to switch to the GeoLite2 or commercial GeoIP databases and update their integrations by January 2, 2019.
For more information, please visit our Support Center.
Note: After careful consideration, taking into account customer feedback, we have decided against removing latitude and longitude coordinates from the GeoLite2 databases. We are in the process of reviewing coordinates used in all of our GeoLite2 and GeoIP databases to ensure there is no risk of misuse.
* GeoLite2 databases are free IP geolocation databases comparable to, but less accurate than, MaxMind’s GeoIP2 databases. Please remember to use the accuracy radius if displaying coordinates on a map.
New Database Format Available: This page is for our GeoLite Legacy databases. For our latest database format, please visit our GeoLite2 Databases page. We offer redistribution licenses for our newer GeoLite2 databases that will allow you to package the databases with your commercial products. For more information, please visit the GeoLite2 Commercial Redistribution page.
On Tue, Nov 27, 2018 at 8:04 PM Khem Raj <[email protected] <mailto:[email protected]>> wrote:
I am seeing errors on some builders http://errors.yoctoproject.org/Errors/Details/202341/ On Mon, Nov 19, 2018 at 11:29 PM Martin Jansa <[email protected] <mailto:[email protected]>> wrote: > > Looks, good. > > Adding variable for 20181120 might help with maintenance (if we need to > change just checksums in future). And with good variable name (or a > comment) it would also document in the recipe why we're using this in > downloadfilename. > > On Tue, Nov 20, 2018 at 7:48 AM <[email protected] <mailto:[email protected]>> wrote: > > > From: Changqing Li <[email protected] <mailto:[email protected]>> > > > > previous change of checksum don't trigger archive to re-downloaded, > > , which will cause checksum mismatch. add downloadfilename to > > trigger re-download. > > > > 1. for user with PREMIRROR, another benefit is it can still compile > > success event upstream checksum change frequently. > > 2. but for user don't use PREMIRROR, if upstream checksum changed, > > still might have checksum mismatch problem. > > > > Signed-off-by: Changqing Li <[email protected] <mailto:[email protected]>> > > --- > > .../recipes-support/geoip/geoip_1.6.12.bb <http://geoip_1.6.12.bb> | 24 > > +++++++++++----------- > > 1 file changed, 12 insertions(+), 12 deletions(-) > > > > diff --git a/meta-networking/recipes-support/geoip/geoip_1.6.12.bb <http://geoip_1.6.12.bb> > > b/meta-networking/recipes-support/geoip/geoip_1.6.12.bb <http://geoip_1.6.12.bb> > > index 1e1a7ff..57f0b67 100644 > > --- a/meta-networking/recipes-support/geoip/geoip_1.6.12.bb <http://geoip_1.6.12.bb> > > +++ b/meta-networking/recipes-support/geoip/geoip_1.6.12.bb <http://geoip_1.6.12.bb> > > @@ -9,10 +9,10 @@ HOMEPAGE = "http://dev.maxmind.com/geoip/" > > SECTION = "libdevel" > > > > SRC_URI = "git://github.com/maxmind/geoip-api-c.git <http://github.com/maxmind/geoip-api-c.git> \ > > - > > http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz;apply=no;name=GeoIP-dat > > \ > > - > > http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat > > \ > > - > > http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz;apply=no;name=GeoLiteCity-dat > > \ > > - > > http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz;apply=no;name=GeoLiteCityv6-dat > > \ > > + > > http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz;apply=no;name=GeoIP-dat;downloadfilename=GeoIP.dat.20181120.gz > > \ > > + > > http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat;downloadfilename=GeoIPv6.dat.20181120.gz > > \ > > + > > http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz;apply=no;name=GeoLiteCity-dat;downloadfilename=GeoLiteCity.dat.20181120.gz > > \ > > + > > http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz;apply=no;name=GeoLiteCityv6-dat;downloadfilename=GeoLiteCityv6.dat.20181120.gz > > \ > > file://run-ptest \ > > " > > SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a" > > @@ -20,14 +20,14 @@ SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a" > > SRC_URI[GeoIP-dat.md5sum] = "d538e57ad9268fdc7955c6cf9a37c4a9" > > SRC_URI[GeoIP-dat.sha256sum] = > > "b9c05eb8bfcf90a6ddfdc6815caf40a8db2710f0ce3dd48fbd6c24d485ae0449" > > > > -SRC_URI[GeoIPv6-dat.md5sum] = "00dc3b3f53eb5f7bf6915f939998f12c" > > -SRC_URI[GeoIPv6-dat.sha256sum] = > > "e72221fc630094d7256521b307e9142fb77d2167a27de2c11da536a2ba1d1480" > > +SRC_URI[GeoIPv6-dat.md5sum] = "a908d7a51c3883eb8f693ca197c7a142" > > +SRC_URI[GeoIPv6-dat.sha256sum] = > > "1b06e34eed2c539606a9ab4d97b2140ac80bf9f528d16ad2e3831c75014c2710" > > > > SRC_URI[GeoLiteCity-dat.md5sum] = "d700c137232f8e077ac8db8577f699d9" > > SRC_URI[GeoLiteCity-dat.sha256sum] = > > "90db2e52195e3d1bcdb2c2789209006d09de5c742812dbd9a1b36c12675ec4cd" > > > > -SRC_URI[GeoLiteCityv6-dat.md5sum] = "7f6333d433d8127181ea3c5828287c98" > > -SRC_URI[GeoLiteCityv6-dat.sha256sum] = > > "c339e20cdf326c18aa3571bcd27845e6daf41ca5bfe9401bc472908aaeb42ac7" > > +SRC_URI[GeoLiteCityv6-dat.md5sum] = "8ac3506ccabaae7e9f7d6301c2654313" > > +SRC_URI[GeoLiteCityv6-dat.sha256sum] = > > "1c5fced1657d09448b3ecc14b65c9536228a627d93ed4159d3438b2c6faa8506" > > > > LICENSE = "LGPL-2.1" > > > > @@ -44,10 +44,10 @@ EXTRA_OECONF = "--disable-static \ > > do_install() { > > make DESTDIR=${D} install > > install -d ${D}/${datadir}/GeoIP > > - install ${WORKDIR}/GeoIP.dat ${D}/${datadir}/GeoIP/ > > - install ${WORKDIR}/GeoIPv6.dat ${D}/${datadir}/GeoIP/ > > - install ${WORKDIR}/GeoLiteCity.dat ${D}/${datadir}/GeoIP/ > > - install ${WORKDIR}/GeoLiteCityv6.dat ${D}/${datadir}/GeoIP/ > > + install ${WORKDIR}/GeoIP.dat.20181120 ${D}/${datadir}/GeoIP/GeoIP.dat > > + install ${WORKDIR}/GeoIPv6.dat.20181120 > > ${D}/${datadir}/GeoIP/GeoIPv6.dat > > + install ${WORKDIR}/GeoLiteCity.dat.20181120 > > ${D}/${datadir}/GeoIP/GeoLiteCity.dat > > + install ${WORKDIR}/GeoLiteCityv6.dat.20181120 > > ${D}/${datadir}/GeoIP/GeoLiteCityv6.dat > > ln -s GeoLiteCity.dat ${D}${datadir}/GeoIP/GeoIPCity.dat > > } > > > > -- > > 2.7.4 > > > > -- > > _______________________________________________ > > Openembedded-devel mailing list > > [email protected] <mailto:[email protected]> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel > > > -- > _______________________________________________ > Openembedded-devel mailing list > [email protected] <mailto:[email protected]> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 3 lines
BRs Sandy(Li Changqing)
We have two options
Download and rename may be add a date component and save it on sources.oe.org
Second option is to download the databases during build as temporary artifacts but this might cause reproducibility problems
Either way it is going to have some issues
May be option 1 even though tedious can be better of two
Quoted 230 lines · Changqing Li
Khem and Marthin,
The failure still caused by frequently changed checksum of the database. I send the patch on 11.20.
but the checksum changed on 1121, and it also changed on 1128, seems like weekly change.
but it should not failed if there is a premirror saved the
Here is a result I get:
$ md5sum 1128/*v6* d98a04eded0b08b945b5629106d58760 1128/GeoIPv6 (1).dat.gz 4d48c102ec68298b3fc7f57763455cb5 1128/GeoLiteCityv6.dat.gz $ md5sum 1121/*v6* b0f82334f94ca89872e7722db3511bb9 1121/GeoIPv6.dat.gz 50ad18a8a3ea4bba7c929bea6e22db75 1121/GeoLiteCityv6.dat.gz $ md5sum 1120/*v6* a908d7a51c3883eb8f693ca197c7a142 1120/GeoIPv6.dat.gz 8ac3506ccabaae7e9f7d6301c2654313 1120/GeoLiteCityv6.dat.gzOn 11/28/18 3:14 AM, Martin Jansa wrote:
I'm seeing different checksum than both your builder and the recipe.
$ wget http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz --2018-11-27 20:06:32-- http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz Resolving geolite.maxmind.com... 104.16.37.47, 104.16.38.47, 2606:4700::6810:252f, ... Connecting to geolite.maxmind.com|104.16.37.47|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1209046 (1.2M) [application/octet-stream] Saving to: ‘GeoIPv6.dat.gz’2018-11-27 20:06:32 (10.3 MB/s) - ‘GeoIPv6.dat.gz’ saved [1209046/1209046]$ md5sum GeoIPv6.dat.gz d98a04eded0b08b945b5629106d58760 GeoIPv6.dat.gzIs this the legacy archive? Because
https://dev.maxmind.com/geoip/legacy/geolite/ now shows following:Yes, I have pointed out this problem the first time I changed the checksum. maybe we should upgrade
to geoip2, and drop current geoip1.6. but I think even with geoip2, since it's database still not version,
maybe also will met similar problem.
//changqing
Updated versions of the GeoLite Legacy databases are now only available to redistribution license customers, although anyone can continue to download the March 2018 GeoLite Legacy builds. Starting January 2, 2019, the last build will be removed from our website. GeoLite Legacy database users will need to switch to the GeoLite2 or commercial GeoIP databases and update their integrations by January 2, 2019.
For more information, please visit our Support Center.
Note: After careful consideration, taking into account customer feedback, we have decided against removing latitude and longitude coordinates from the GeoLite2 databases. We are in the process of reviewing coordinates used in all of our GeoLite2 and GeoIP databases to ensure there is no risk of misuse.
* GeoLite2 databases are free IP geolocation databases comparable to, but less accurate than, MaxMind’s GeoIP2 databases. Please remember to use the accuracy radius if displaying coordinates on a map.
New Database Format Available: This page is for our GeoLite Legacy databases. For our latest database format, please visit our GeoLite2 Databases page. We offer redistribution licenses for our newer GeoLite2 databases that will allow you to package the databases with your commercial products. For more information, please visit the GeoLite2 Commercial Redistribution page.
Quoted 104 lines · Khem Raj
I am seeing errors on some builders
http://errors.yoctoproject.org/Errors/Details/202341/
Quoted 35 lines · Martin Jansa
Looks, good.
Adding variable for 20181120 might help with maintenance (if we need to change just checksums in future). And with good variable name (or a comment) it would also document in the recipe why we're using this in downloadfilename.
Quoted 25 lines · On Tue, Nov 20, 2018 at 7:48 AM <[email protected]> wrote:
From: Changqing Li <[email protected]>
previous change of checksum don't trigger archive to re-downloaded, , which will cause checksum mismatch. add downloadfilename to trigger re-download.
1. for user with PREMIRROR, another benefit is it can still compile success event upstream checksum change frequently.
2. but for user don't use PREMIRROR, if upstream checksum changed, still might have checksum mismatch problem.Signed-off-by Changqing Li <[email protected]>--- .../recipes-support/geoip/geoip_1.6.12.bb | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-)meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-0@@ -9,10 +9,10 @@ HOMEPAGE = "http://dev.maxmind.com/geoip/" SECTION = "libdevel"Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb HOMEPAGE = "http://dev.maxmind.com/geoip/" · line 12
Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-1SRC_URI = "git://github.com/maxmind/geoip-api-c.git \ -Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb HOMEPAGE = "http://dev.maxmind.com/geoip/" · line 14
Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-1\ -http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat
Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb HOMEPAGE = "http://dev.maxmind.com/geoip/" · line 18
Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-1\ -http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz;apply=no;name=GeoLiteCity-dat
Quoted 3 lines
Quoted 3 lines
\
-Quoted 3 lines
Quoted 3 lines
\
+Quoted 3 lines
Quoted 3 lines
\
+Quoted 3 lines
Quoted 3 lines
\
+Quoted 3 lines
Quoted 3 lines
\
+Quoted 5 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb SRCREV =
Quoted 5 lines
\ file://run-ptest \"
SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-0@@ -20,14 +20,14 @@ SRCREV ="
4b526e7331ca1d692b74a0509ddcc725622ed31a"Quoted 11 lines
Quoted 11 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-0SRC_URI[GeoIP-dat.md5sum] = "d538e57ad9268fdc7955c6cf9a37c4a9" SRC_URI[GeoIP-dat.sha256sum] ="
b9c05eb8bfcf90a6ddfdc6815caf40a8db2710f0ce3dd48fbd6c24d485ae0449"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-2-SRC_URI[GeoIPv6-dat.md5sum] = "00dc3b3f53eb5f7bf6915f939998f12c" -SRC_URI[GeoIPv6-dat.sha256sum] ="
e72221fc630094d7256521b307e9142fb77d2167a27de2c11da536a2ba1d1480"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +2
-0+SRC_URI[GeoIPv6-dat.md5sum] = "a908d7a51c3883eb8f693ca197c7a142" +SRC_URI[GeoIPv6-dat.sha256sum] ="
1b06e34eed2c539606a9ab4d97b2140ac80bf9f528d16ad2e3831c75014c2710"Quoted 5 lines
Quoted 5 lines
SRC_URI[GeoLiteCity-dat.md5sum] = "
d700c137232f8e077ac8db8577f699d9" SRC_URI[GeoLiteCity-dat.sha256sum] =
"90db2e52195e3d1bcdb2c2789209006d09de5c742812dbd9a1b36c12675ec4cd"-SRC_URI[GeoLiteCityv6-dat.md5sum] =
"
7f6333d433d8127181ea3c5828287c98"Quoted 3 lines
Quoted 3 lines
-SRC_URI[GeoLiteCityv6-dat.sha256sum] = "
c339e20cdf326c18aa3571bcd27845e6daf41ca5bfe9401bc472908aaeb42ac7" +SRC_URI[GeoLiteCityv6-dat.md5sum] ="
8ac3506ccabaae7e9f7d6301c2654313"Quoted 5 lines
Quoted 5 lines
+SRC_URI[GeoLiteCityv6-dat.sha256sum] = "
1c5fced1657d09448b3ecc14b65c9536228a627d93ed4159d3438b2c6faa8506"LICENSE = "LGPL-2.1"
Quoted 34 lines
Quoted 9 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb EXTRA_OECONF = "--disable-static \ · line 47
Quoted 9 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +1
-4@@ -44,10 +44,10 @@ EXTRA_OECONF = "--disable-static \ do_install() { make DESTDIR=${D} install install -d ${D}/${datadir}/GeoIP - install ${WORKDIR}/GeoIP.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoIPv6.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoLiteCity.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoLiteCityv6.dat ${D}/${datadir}/GeoIP/ + install ${WORKDIR}/GeoIP.dat.20181120${D}/${datadir}/GeoIP/GeoIP.dat
Quoted 23 lines
Quoted 9 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +1
-0+ install ${WORKDIR}/GeoIPv6.dat.20181120${D}/${datadir}/GeoIP/GeoIPv6.dat
+ install ${WORKDIR}/GeoLiteCity.dat.20181120
${D}/${datadir}/GeoIP/GeoLiteCity.dat
+ install ${WORKDIR}/GeoLiteCityv6.dat.20181120
${D}/${datadir}/GeoIP/GeoLiteCityv6.datln -s GeoLiteCity.dat ${D}${datadir}/GeoIP/GeoIPCity.dat}
Quoted 9 lines
--
2.7.4--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
BRsSandy(Li Changqing)
Quoted 3 lines · Khem Raj
We have two options
Download and rename may be add a date component and save it on sources.oe.org <http://sources.oe.org>
Hi, I cannot open this website
Quoted 277 lines
Second option is to download the databases during build as temporary artifacts but this might cause reproducibility problems
Either way it is going to have some issues
May be option 1 even though tedious can be better of twoOn Wed, Nov 28, 2018 at 5:31 PM Changqing Li <[email protected] <mailto:[email protected]>> wrote:
Khem and Marthin, The failure still caused by frequently changed checksum of the database. I send the patch on 11.20. but the checksum changed on 1121, and it also changed on 1128, seems like weekly change. but it should not failed if there is a premirror saved the Here is a result I get: $ md5sum 1128/*v6* d98a04eded0b08b945b5629106d58760 1128/GeoIPv6 (1).dat.gz 4d48c102ec68298b3fc7f57763455cb5 1128/GeoLiteCityv6.dat.gz $ md5sum 1121/*v6* b0f82334f94ca89872e7722db3511bb9 1121/GeoIPv6.dat.gz 50ad18a8a3ea4bba7c929bea6e22db75 1121/GeoLiteCityv6.dat.gz $ md5sum 1120/*v6* a908d7a51c3883eb8f693ca197c7a142 1120/GeoIPv6.dat.gz 8ac3506ccabaae7e9f7d6301c2654313 1120/GeoLiteCityv6.dat.gz On 11/28/18 3:14 AM, Martin Jansa wrote:Quoted 14 lines
I'm seeing different checksum than both your builder and the recipe. $ wget http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz --2018-11-27 20:06:32-- http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz Resolving geolite.maxmind.com... 104.16.37.47, 104.16.38.47, 2606:4700::6810:252f, ... Connecting to geolite.maxmind.com <http://geolite.maxmind.com>|104.16.37.47|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1209046 (1.2M) [application/octet-stream] Saving to: ‘GeoIPv6.dat.gz’Quoted 8 lines
2018-11-27 20:06:32 (10.3 MB/s) - ‘GeoIPv6.dat.gz’ saved [1209046/1209046] $ md5sum GeoIPv6.dat.gz d98a04eded0b08b945b5629106d58760 GeoIPv6.dat.gz Is this the legacy archive? Because https://dev.maxmind.com/geoip/legacy/geolite/ now shows following:Yes, I have pointed out this problem the first time I changed the checksum. maybe we should upgrade
to geoip2, and drop current geoip1.6. but I think even with geoip2, since it's database still not version,
maybe also will met similar problem.
//changqing
Quoted 197 lines
Updated versions of the GeoLite Legacy databases are now only available to redistribution license customers, although anyone can continue to download the March 2018 GeoLite Legacy builds. Starting January 2, 2019, the last build will be removed from our website. GeoLite Legacy database users will need to switch to the GeoLite2 or commercial GeoIP databases and update their integrations by January 2, 2019. For more information, please visit our Support Center. Note: After careful consideration, taking into account customer feedback, we have decided against removing latitude and longitude coordinates from the GeoLite2 databases. We are in the process of reviewing coordinates used in all of our GeoLite2 and GeoIP databases to ensure there is no risk of misuse. * GeoLite2 databases are free IP geolocation databases comparable to, but less accurate than, MaxMind’s GeoIP2 databases. Please remember to use the accuracy radius if displaying coordinates on a map. New Database Format Available: This page is for our GeoLite Legacy databases. For our latest database format, please visit our GeoLite2 Databases page. We offer redistribution licenses for our newer GeoLite2 databases that will allow you to package the databases with your commercial products. For more information, please visit the GeoLite2 Commercial Redistribution page. On Tue, Nov 27, 2018 at 8:04 PM Khem Raj <[email protected] <mailto:[email protected]>> wrote: I am seeing errors on some builders http://errors.yoctoproject.org/Errors/Details/202341/ On Mon, Nov 19, 2018 at 11:29 PM Martin Jansa <[email protected] <mailto:[email protected]>> wrote: > > Looks, good. > > Adding variable for 20181120 might help with maintenance (if we need to > change just checksums in future). And with good variable name (or a > comment) it would also document in the recipe why we're using this in > downloadfilename. > > On Tue, Nov 20, 2018 at 7:48 AM <[email protected] <mailto:[email protected]>> wrote: > > > From: Changqing Li <[email protected] <mailto:[email protected]>> > > > > previous change of checksum don't trigger archive to re-downloaded, > > , which will cause checksum mismatch. add downloadfilename to > > trigger re-download. > > > > 1. for user with PREMIRROR, another benefit is it can still compile > > success event upstream checksum change frequently. > > 2. but for user don't use PREMIRROR, if upstream checksum changed, > > still might have checksum mismatch problem. > > > > Signed-off-by: Changqing Li <[email protected] <mailto:[email protected]>> > > --- > > .../recipes-support/geoip/geoip_1.6.12.bb <http://geoip_1.6.12.bb> | 24 > > +++++++++++----------- > > 1 file changed, 12 insertions(+), 12 deletions(-) > > > > diff --git a/meta-networking/recipes-support/geoip/geoip_1.6.12.bb <http://geoip_1.6.12.bb> > > b/meta-networking/recipes-support/geoip/geoip_1.6.12.bb <http://geoip_1.6.12.bb> > > index 1e1a7ff..57f0b67 100644 > > --- a/meta-networking/recipes-support/geoip/geoip_1.6.12.bb <http://geoip_1.6.12.bb> > > +++ b/meta-networking/recipes-support/geoip/geoip_1.6.12.bb <http://geoip_1.6.12.bb> > > @@ -9,10 +9,10 @@ HOMEPAGE = "http://dev.maxmind.com/geoip/" > > SECTION = "libdevel" > > > > SRC_URI = "git://github.com/maxmind/geoip-api-c.git <http://github.com/maxmind/geoip-api-c.git> \ > > - > > http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz;apply=no;name=GeoIP-dat > > \ > > - > > http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat > > \ > > - > > http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz;apply=no;name=GeoLiteCity-dat > > \ > > - > > http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz;apply=no;name=GeoLiteCityv6-dat > > \ > > + > > http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz;apply=no;name=GeoIP-dat;downloadfilename=GeoIP.dat.20181120.gz > > \ > > + > > http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat;downloadfilename=GeoIPv6.dat.20181120.gz > > \ > > + > > http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz;apply=no;name=GeoLiteCity-dat;downloadfilename=GeoLiteCity.dat.20181120.gz > > \ > > + > > http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz;apply=no;name=GeoLiteCityv6-dat;downloadfilename=GeoLiteCityv6.dat.20181120.gz > > \ > > file://run-ptest \ > > " > > SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a" > > @@ -20,14 +20,14 @@ SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a" > > SRC_URI[GeoIP-dat.md5sum] = "d538e57ad9268fdc7955c6cf9a37c4a9" > > SRC_URI[GeoIP-dat.sha256sum] = > > "b9c05eb8bfcf90a6ddfdc6815caf40a8db2710f0ce3dd48fbd6c24d485ae0449" > > > > -SRC_URI[GeoIPv6-dat.md5sum] = "00dc3b3f53eb5f7bf6915f939998f12c" > > -SRC_URI[GeoIPv6-dat.sha256sum] = > > "e72221fc630094d7256521b307e9142fb77d2167a27de2c11da536a2ba1d1480" > > +SRC_URI[GeoIPv6-dat.md5sum] = "a908d7a51c3883eb8f693ca197c7a142" > > +SRC_URI[GeoIPv6-dat.sha256sum] = > > "1b06e34eed2c539606a9ab4d97b2140ac80bf9f528d16ad2e3831c75014c2710" > > > > SRC_URI[GeoLiteCity-dat.md5sum] = "d700c137232f8e077ac8db8577f699d9" > > SRC_URI[GeoLiteCity-dat.sha256sum] = > > "90db2e52195e3d1bcdb2c2789209006d09de5c742812dbd9a1b36c12675ec4cd" > > > > -SRC_URI[GeoLiteCityv6-dat.md5sum] = "7f6333d433d8127181ea3c5828287c98" > > -SRC_URI[GeoLiteCityv6-dat.sha256sum] = > > "c339e20cdf326c18aa3571bcd27845e6daf41ca5bfe9401bc472908aaeb42ac7" > > +SRC_URI[GeoLiteCityv6-dat.md5sum] = "8ac3506ccabaae7e9f7d6301c2654313" > > +SRC_URI[GeoLiteCityv6-dat.sha256sum] = > > "1c5fced1657d09448b3ecc14b65c9536228a627d93ed4159d3438b2c6faa8506" > > > > LICENSE = "LGPL-2.1" > > > > @@ -44,10 +44,10 @@ EXTRA_OECONF = "--disable-static \ > > do_install() { > > make DESTDIR=${D} install > > install -d ${D}/${datadir}/GeoIP > > - install ${WORKDIR}/GeoIP.dat ${D}/${datadir}/GeoIP/ > > - install ${WORKDIR}/GeoIPv6.dat ${D}/${datadir}/GeoIP/ > > - install ${WORKDIR}/GeoLiteCity.dat ${D}/${datadir}/GeoIP/ > > - install ${WORKDIR}/GeoLiteCityv6.dat ${D}/${datadir}/GeoIP/ > > + install ${WORKDIR}/GeoIP.dat.20181120 ${D}/${datadir}/GeoIP/GeoIP.dat > > + install ${WORKDIR}/GeoIPv6.dat.20181120 > > ${D}/${datadir}/GeoIP/GeoIPv6.dat > > + install ${WORKDIR}/GeoLiteCity.dat.20181120 > > ${D}/${datadir}/GeoIP/GeoLiteCity.dat > > + install ${WORKDIR}/GeoLiteCityv6.dat.20181120 > > ${D}/${datadir}/GeoIP/GeoLiteCityv6.dat > > ln -s GeoLiteCity.dat ${D}${datadir}/GeoIP/GeoIPCity.dat > > } > > > > -- > > 2.7.4 > > > > -- > > _______________________________________________ > > Openembedded-devel mailing list > > [email protected] <mailto:[email protected]> > > http://lists.openembedded.org/mailman/listinfo/openembedded-develQuoted 9 lines
> > > -- > _______________________________________________ > Openembedded-devel mailing list > [email protected] <mailto:[email protected]> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel-- BRs Sandy(Li Changqing)
Signature · 3 lines
BRs Sandy(Li Changqing)
I think Khem meant http://sources.openembedded.org/ it returns 403, because listing is disabled, but the files are there.
Quoted 255 lines · Changqing Li
On 11/29/18 9:55 AM, Khem Raj wrote:
We have two options
Download and rename may be add a date component and save it on sources.oe.org
Hi, I cannot open this website
Second option is to download the databases during build as temporary artifacts but this might cause reproducibility problems
Either way it is going to have some issues
May be option 1 even though tedious can be better of twoQuoted 224 lines · Changqing Li
Khem and Marthin,
The failure still caused by frequently changed checksum of the database. I send the patch on 11.20.
but the checksum changed on 1121, and it also changed on 1128, seems like weekly change.
but it should not failed if there is a premirror saved the
Here is a result I get:
$ md5sum 1128/*v6* d98a04eded0b08b945b5629106d58760 1128/GeoIPv6 (1).dat.gz 4d48c102ec68298b3fc7f57763455cb5 1128/GeoLiteCityv6.dat.gz $ md5sum 1121/*v6* b0f82334f94ca89872e7722db3511bb9 1121/GeoIPv6.dat.gz 50ad18a8a3ea4bba7c929bea6e22db75 1121/GeoLiteCityv6.dat.gz $ md5sum 1120/*v6* a908d7a51c3883eb8f693ca197c7a142 1120/GeoIPv6.dat.gz 8ac3506ccabaae7e9f7d6301c2654313 1120/GeoLiteCityv6.dat.gzOn 11/28/18 3:14 AM, Martin Jansa wrote:
I'm seeing different checksum than both your builder and the recipe.
$ wget http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz --2018-11-27 20:06:32-- http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz Resolving geolite.maxmind.com... 104.16.37.47, 104.16.38.47, 2606:4700::6810:252f, ... Connecting to geolite.maxmind.com|104.16.37.47|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1209046 (1.2M) [application/octet-stream] Saving to: ‘GeoIPv6.dat.gz’2018-11-27 20:06:32 (10.3 MB/s) - ‘GeoIPv6.dat.gz’ saved [1209046/1209046]$ md5sum GeoIPv6.dat.gz d98a04eded0b08b945b5629106d58760 GeoIPv6.dat.gzIs this the legacy archive? Because
https://dev.maxmind.com/geoip/legacy/geolite/ now shows following:Yes, I have pointed out this problem the first time I changed the checksum. maybe we should upgrade
to geoip2, and drop current geoip1.6. but I think even with geoip2, since it's database still not version,
maybe also will met similar problem.
//changqing
Updated versions of the GeoLite Legacy databases are now only available to redistribution license customers, although anyone can continue to download the March 2018 GeoLite Legacy builds. Starting January 2, 2019, the last build will be removed from our website. GeoLite Legacy database users will need to switch to the GeoLite2 or commercial GeoIP databases and update their integrations by January 2, 2019.
For more information, please visit our Support Center.
Note: After careful consideration, taking into account customer feedback, we have decided against removing latitude and longitude coordinates from the GeoLite2 databases. We are in the process of reviewing coordinates used in all of our GeoLite2 and GeoIP databases to ensure there is no risk of misuse.
* GeoLite2 databases are free IP geolocation databases comparable to, but less accurate than, MaxMind’s GeoIP2 databases. Please remember to use the accuracy radius if displaying coordinates on a map.
New Database Format Available: This page is for our GeoLite Legacy databases. For our latest database format, please visit our GeoLite2 Databases page. We offer redistribution licenses for our newer GeoLite2 databases that will allow you to package the databases with your commercial products. For more information, please visit the GeoLite2 Commercial Redistribution page.
Quoted 104 lines · Khem Raj
I am seeing errors on some builders
http://errors.yoctoproject.org/Errors/Details/202341/
Quoted 35 lines · Martin Jansa
Looks, good.
Adding variable for 20181120 might help with maintenance (if we need to change just checksums in future). And with good variable name (or a comment) it would also document in the recipe why we're using this in downloadfilename.
Quoted 25 lines · On Tue, Nov 20, 2018 at 7:48 AM <[email protected]> wrote:
From: Changqing Li <[email protected]>
previous change of checksum don't trigger archive to re-downloaded, , which will cause checksum mismatch. add downloadfilename to trigger re-download.
1. for user with PREMIRROR, another benefit is it can still compile success event upstream checksum change frequently.
2. but for user don't use PREMIRROR, if upstream checksum changed, still might have checksum mismatch problem.Signed-off-by Changqing Li <[email protected]>--- .../recipes-support/geoip/geoip_1.6.12.bb | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-)meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-0@@ -9,10 +9,10 @@ HOMEPAGE = "http://dev.maxmind.com/geoip/" SECTION = "libdevel"Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb HOMEPAGE = "http://dev.maxmind.com/geoip/" · line 12
Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-1SRC_URI = "git://github.com/maxmind/geoip-api-c.git \ -Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb HOMEPAGE = "http://dev.maxmind.com/geoip/" · line 14
Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-1\ -http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat
Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb HOMEPAGE = "http://dev.maxmind.com/geoip/" · line 18
Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-1\ -http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz;apply=no;name=GeoLiteCity-dat
Quoted 3 lines
Quoted 3 lines
\
-Quoted 3 lines
Quoted 3 lines
\
+Quoted 3 lines
Quoted 3 lines
\
+Quoted 3 lines
Quoted 3 lines
\
+Quoted 3 lines
Quoted 3 lines
\
+Quoted 5 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb SRCREV =
Quoted 5 lines
\ file://run-ptest \"
SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-0@@ -20,14 +20,14 @@ SRCREV ="
4b526e7331ca1d692b74a0509ddcc725622ed31a"Quoted 11 lines
Quoted 11 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-0SRC_URI[GeoIP-dat.md5sum] = "d538e57ad9268fdc7955c6cf9a37c4a9" SRC_URI[GeoIP-dat.sha256sum] ="
b9c05eb8bfcf90a6ddfdc6815caf40a8db2710f0ce3dd48fbd6c24d485ae0449"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-2-SRC_URI[GeoIPv6-dat.md5sum] = "00dc3b3f53eb5f7bf6915f939998f12c" -SRC_URI[GeoIPv6-dat.sha256sum] ="
e72221fc630094d7256521b307e9142fb77d2167a27de2c11da536a2ba1d1480"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +2
-0+SRC_URI[GeoIPv6-dat.md5sum] = "a908d7a51c3883eb8f693ca197c7a142" +SRC_URI[GeoIPv6-dat.sha256sum] ="
1b06e34eed2c539606a9ab4d97b2140ac80bf9f528d16ad2e3831c75014c2710"Quoted 5 lines
Quoted 5 lines
SRC_URI[GeoLiteCity-dat.md5sum] = "
d700c137232f8e077ac8db8577f699d9" SRC_URI[GeoLiteCity-dat.sha256sum] =
"90db2e52195e3d1bcdb2c2789209006d09de5c742812dbd9a1b36c12675ec4cd"-SRC_URI[GeoLiteCityv6-dat.md5sum] =
"
7f6333d433d8127181ea3c5828287c98"Quoted 3 lines
Quoted 3 lines
-SRC_URI[GeoLiteCityv6-dat.sha256sum] = "
c339e20cdf326c18aa3571bcd27845e6daf41ca5bfe9401bc472908aaeb42ac7" +SRC_URI[GeoLiteCityv6-dat.md5sum] ="
8ac3506ccabaae7e9f7d6301c2654313"Quoted 5 lines
Quoted 5 lines
+SRC_URI[GeoLiteCityv6-dat.sha256sum] = "
1c5fced1657d09448b3ecc14b65c9536228a627d93ed4159d3438b2c6faa8506"LICENSE = "LGPL-2.1"
Quoted 34 lines
Quoted 9 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb EXTRA_OECONF = "--disable-static \ · line 47
Quoted 9 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +1
-4@@ -44,10 +44,10 @@ EXTRA_OECONF = "--disable-static \ do_install() { make DESTDIR=${D} install install -d ${D}/${datadir}/GeoIP - install ${WORKDIR}/GeoIP.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoIPv6.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoLiteCity.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoLiteCityv6.dat ${D}/${datadir}/GeoIP/ + install ${WORKDIR}/GeoIP.dat.20181120${D}/${datadir}/GeoIP/GeoIP.dat
Quoted 23 lines
Quoted 9 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +1
-0+ install ${WORKDIR}/GeoIPv6.dat.20181120${D}/${datadir}/GeoIP/GeoIPv6.dat
+ install ${WORKDIR}/GeoLiteCity.dat.20181120
${D}/${datadir}/GeoIP/GeoLiteCity.dat
+ install ${WORKDIR}/GeoLiteCityv6.dat.20181120
${D}/${datadir}/GeoIP/GeoLiteCityv6.datln -s GeoLiteCity.dat ${D}${datadir}/GeoIP/GeoIPCity.dat}
Quoted 9 lines
--
2.7.4--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-develQuoted 6 lines
--
BRsSandy(Li Changqing)
--
BRs
Sandy(Li Changqing)
Quoted 1 line · Martin Jansa
I think Khem meant http://sources.openembedded.org/ it returns 403, because listing is disabled, but the files are there.
Thanks. But I cannot upload file to that website. so I prefer use http://downloads.yoctoproject.org/mirror/sources/ as SRC_URI.
but currently, it is like below, so I need patch 2 times to fix this. 1st, correct the right checksum;
2nd, correct SRC_URI to yocto mirror after it have correct file there. Do you have any comments about work like this?
GeoIP.dat.gz <http://downloads.yoctoproject.org/mirror/sources/GeoIP.dat.gz> 27-Mar-2018 12:17 711428
GeoIPv6.dat.gz_bad-checksum_a908d7a51c3883eb8f6..> <http://downloads.yoctoproject.org/mirror/sources/GeoIPv6.dat.gz_bad-checksum_a908d7a51c3883eb8f693ca197c7a142> 13-Nov-2018 18:55 1202833 GeoIPv6.dat.gz_bad-checksum_b0f82334f94ca89872e..> <http://downloads.yoctoproject.org/mirror/sources/GeoIPv6.dat.gz_bad-checksum_b0f82334f94ca89872e7722db3511bb9> 21-Nov-2018 00:42 1207062
Quoted 309 lines · On Fri, Nov 30, 2018 at 3:18 AM Changqing Li <[email protected]…
On 11/29/18 9:55 AM, Khem Raj wrote:Quoted 4 lines
We have two options
Download and rename may be add a date component and save it on sources.oe.org <http://sources.oe.org>
Hi, I cannot open this website
Quoted 287 lines
Second option is to download the databases during build as temporary artifacts but this might cause reproducibility problems
Either way it is going to have some issues
May be option 1 even though tedious can be better of twoOn Wed, Nov 28, 2018 at 5:31 PM Changqing Li <[email protected] <mailto:[email protected]>> wrote:
Khem and Marthin,
The failure still caused by frequently changed checksum of the database. I send the patch on 11.20.
but the checksum changed on 1121, and it also changed on 1128, seems like weekly change.
but it should not failed if there is a premirror saved the
Here is a result I get:
$ md5sum 1128/*v6* d98a04eded0b08b945b5629106d58760 1128/GeoIPv6 (1).dat.gz
4d48c102ec68298b3fc7f57763455cb51128/GeoLiteCityv6.dat.gz $ md5sum 1121/*v6*b0f82334f94ca89872e7722db3511bb91121/GeoIPv6.dat.gz50ad18a8a3ea4bba7c929bea6e22db751121/GeoLiteCityv6.dat.gz $ md5sum 1120/*v6*a908d7a51c3883eb8f693ca197c7a1421120/GeoIPv6.dat.gz8ac3506ccabaae7e9f7d6301c26543131120/GeoLiteCityv6.dat.gzQuoted 16 lines · Martin Jansa
I'm seeing different checksum than both your builder and the recipe. $ wget http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz --2018-11-27 20:06:32-- http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz Resolving geolite.maxmind.com... 104.16.37.47, 104.16.38.47, 2606:4700::6810:252f, ... Connecting to geolite.maxmind.com <http://geolite.maxmind.com>|104.16.37.47|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1209046 (1.2M) [application/octet-stream] Saving to: ‘GeoIPv6.dat.gz’ 2018-11-27 20:06:32 (10.3 MB/s) - ‘GeoIPv6.dat.gz’ savedQuoted 8 lines
[1209046/1209046] $ md5sum GeoIPv6.dat.gz d98a04eded0b08b945b5629106d58760 GeoIPv6.dat.gz Is this the legacy archive? Because https://dev.maxmind.com/geoip/legacy/geolite/ now shows following:Yes, I have pointed out this problem the first time I changed the checksum. maybe we should upgrade
to geoip2, and drop current geoip1.6. but I think even with geoip2, since it's database still not version,
maybe also will met similar problem.
//changqing
Quoted 207 lines
Updated versions of the GeoLite Legacy databases are now only available to redistribution license customers, although anyone can continue to download the March 2018 GeoLite Legacy builds. Starting January 2, 2019, the last build will be removed from our website. GeoLite Legacy database users will need to switch to the GeoLite2 or commercial GeoIP databases and update their integrations by January 2, 2019. For more information, please visit our Support Center. Note: After careful consideration, taking into account customer feedback, we have decided against removing latitude and longitude coordinates from the GeoLite2 databases. We are in the process of reviewing coordinates used in all of our GeoLite2 and GeoIP databases to ensure there is no risk of misuse. * GeoLite2 databases are free IP geolocation databases comparable to, but less accurate than, MaxMind’s GeoIP2 databases. Please remember to use the accuracy radius if displaying coordinates on a map. New Database Format Available: This page is for our GeoLite Legacy databases. For our latest database format, please visit our GeoLite2 Databases page. We offer redistribution licenses for our newer GeoLite2 databases that will allow you to package the databases with your commercial products. For more information, please visit the GeoLite2 Commercial Redistribution page. On Tue, Nov 27, 2018 at 8:04 PM Khem Raj <[email protected] <mailto:[email protected]>> wrote: I am seeing errors on some builders http://errors.yoctoproject.org/Errors/Details/202341/ On Mon, Nov 19, 2018 at 11:29 PM Martin Jansa <[email protected] <mailto:[email protected]>> wrote: > > Looks, good. > > Adding variable for 20181120 might help with maintenance (if we need to > change just checksums in future). And with good variable name (or a > comment) it would also document in the recipe why we're using this in > downloadfilename. > > On Tue, Nov 20, 2018 at 7:48 AM <[email protected] <mailto:[email protected]>> wrote: > > > From: Changqing Li <[email protected] <mailto:[email protected]>> > > > > previous change of checksum don't trigger archive to re-downloaded, > > , which will cause checksum mismatch. add downloadfilename to > > trigger re-download. > > > > 1. for user with PREMIRROR, another benefit is it can still compile > > success event upstream checksum change frequently. > > 2. but for user don't use PREMIRROR, if upstream checksum changed, > > still might have checksum mismatch problem. > > > > Signed-off-by: Changqing Li <[email protected] <mailto:[email protected]>> > > --- > > .../recipes-support/geoip/geoip_1.6.12.bb <http://geoip_1.6.12.bb> | 24 > > +++++++++++----------- > > 1 file changed, 12 insertions(+), 12 deletions(-) > > > > diff --git a/meta-networking/recipes-support/geoip/geoip_1.6.12.bb <http://geoip_1.6.12.bb> > > b/meta-networking/recipes-support/geoip/geoip_1.6.12.bb <http://geoip_1.6.12.bb> > > index 1e1a7ff..57f0b67 100644 > > --- a/meta-networking/recipes-support/geoip/geoip_1.6.12.bb <http://geoip_1.6.12.bb> > > +++ b/meta-networking/recipes-support/geoip/geoip_1.6.12.bb <http://geoip_1.6.12.bb> > > @@ -9,10 +9,10 @@ HOMEPAGE = "http://dev.maxmind.com/geoip/" > > SECTION = "libdevel" > > > > SRC_URI = "git://github.com/maxmind/geoip-api-c.git <http://github.com/maxmind/geoip-api-c.git> \ > > - > > http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz;apply=no;name=GeoIP-dat > > \ > > - > > http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat > > \ > > - > > http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz;apply=no;name=GeoLiteCity-dat > > \ > > - > > http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz;apply=no;name=GeoLiteCityv6-dat > > \ > > + > > http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz;apply=no;name=GeoIP-dat;downloadfilename=GeoIP.dat.20181120.gz > > \ > > + > > http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat;downloadfilename=GeoIPv6.dat.20181120.gz > > \ > > + > > http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz;apply=no;name=GeoLiteCity-dat;downloadfilename=GeoLiteCity.dat.20181120.gz > > \ > > + > > http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz;apply=no;name=GeoLiteCityv6-dat;downloadfilename=GeoLiteCityv6.dat.20181120.gz > > \ > > file://run-ptest \ > > " > > SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a" > > @@ -20,14 +20,14 @@ SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a" > > SRC_URI[GeoIP-dat.md5sum] = "d538e57ad9268fdc7955c6cf9a37c4a9" > > SRC_URI[GeoIP-dat.sha256sum] = > > "b9c05eb8bfcf90a6ddfdc6815caf40a8db2710f0ce3dd48fbd6c24d485ae0449" > > > > -SRC_URI[GeoIPv6-dat.md5sum] = "00dc3b3f53eb5f7bf6915f939998f12c" > > -SRC_URI[GeoIPv6-dat.sha256sum] = > > "e72221fc630094d7256521b307e9142fb77d2167a27de2c11da536a2ba1d1480" > > +SRC_URI[GeoIPv6-dat.md5sum] = "a908d7a51c3883eb8f693ca197c7a142" > > +SRC_URI[GeoIPv6-dat.sha256sum] = > > "1b06e34eed2c539606a9ab4d97b2140ac80bf9f528d16ad2e3831c75014c2710" > > > > SRC_URI[GeoLiteCity-dat.md5sum] = "d700c137232f8e077ac8db8577f699d9" > > SRC_URI[GeoLiteCity-dat.sha256sum] = > > "90db2e52195e3d1bcdb2c2789209006d09de5c742812dbd9a1b36c12675ec4cd" > > > > -SRC_URI[GeoLiteCityv6-dat.md5sum] = "7f6333d433d8127181ea3c5828287c98" > > -SRC_URI[GeoLiteCityv6-dat.sha256sum] = > > "c339e20cdf326c18aa3571bcd27845e6daf41ca5bfe9401bc472908aaeb42ac7" > > +SRC_URI[GeoLiteCityv6-dat.md5sum] = "8ac3506ccabaae7e9f7d6301c2654313" > > +SRC_URI[GeoLiteCityv6-dat.sha256sum] = > > "1c5fced1657d09448b3ecc14b65c9536228a627d93ed4159d3438b2c6faa8506" > > > > LICENSE = "LGPL-2.1" > > > > @@ -44,10 +44,10 @@ EXTRA_OECONF = "--disable-static \ > > do_install() { > > make DESTDIR=${D} install > > install -d ${D}/${datadir}/GeoIP > > - install ${WORKDIR}/GeoIP.dat ${D}/${datadir}/GeoIP/ > > - install ${WORKDIR}/GeoIPv6.dat ${D}/${datadir}/GeoIP/ > > - install ${WORKDIR}/GeoLiteCity.dat ${D}/${datadir}/GeoIP/ > > - install ${WORKDIR}/GeoLiteCityv6.dat ${D}/${datadir}/GeoIP/ > > + install ${WORKDIR}/GeoIP.dat.20181120 ${D}/${datadir}/GeoIP/GeoIP.dat > > + install ${WORKDIR}/GeoIPv6.dat.20181120 > > ${D}/${datadir}/GeoIP/GeoIPv6.dat > > + install ${WORKDIR}/GeoLiteCity.dat.20181120 > > ${D}/${datadir}/GeoIP/GeoLiteCity.dat > > + install ${WORKDIR}/GeoLiteCityv6.dat.20181120 > > ${D}/${datadir}/GeoIP/GeoLiteCityv6.dat > > ln -s GeoLiteCity.dat ${D}${datadir}/GeoIP/GeoIPCity.dat > > } > > > > -- > > 2.7.4 > > > > -- > > _______________________________________________ > > Openembedded-devel mailing list > > [email protected] <mailto:[email protected]> > > http://lists.openembedded.org/mailman/listinfo/openembedded-develQuoted 9 lines
> > > -- > _______________________________________________ > Openembedded-devel mailing list > [email protected] <mailto:[email protected]> > http://lists.openembedded.org/mailman/listinfo/openembedded-develQuoted 5 lines
-- BRs Sandy(Li Changqing)-- BRs Sandy(Li Changqing)
Signature · 3 lines
BRs Sandy(Li Changqing)
Quoted 7 lines · Changqing Li
On 11/30/18 4:22 PM, Martin Jansa wrote:
I think Khem meant http://sources.openembedded.org/ it returns 403, because listing is disabled, but the files are there.
Thanks. But I cannot upload file to that website. so I prefer use http://downloads.yoctoproject.org/mirror/sources/ as
SRC_URI.
thats ok. Anywhere reliable is fine.
Quoted 8 lines
but currently, it is like below, so I need patch 2 times to fix this. 1st, correct the right checksum;
2nd, correct
SRC_URIto yocto mirror after it have correct file there. Do you have any comments about work like this?GeoIP.dat.gz 27-Mar-2018 12:17 711428
GeoIPv6.dat.gz_bad-checksum_a908d7a51c3883eb8f6..> 13-Nov-2018 18:55 1202833
GeoIPv6.dat.gz_bad-checksum_b0f82334f94ca89872e..> 21-Nov-2018 00:42 1207062
Download the right tars and push them into yp mirror then update the recipe to point to new location and update the checksums at sam time.
in your downloads directory rm -rf Geo*
Quoted 225 lines · Changqing Li
Quoted 209 lines · Khem Raj
We have two options
Download and rename may be add a date component and save it on sources.oe.org
Hi, I cannot open this website
Second option is to download the databases during build as temporary artifacts but this might cause reproducibility problems
Either way it is going to have some issues
May be option 1 even though tedious can be better of twoQuoted 192 lines · Changqing Li
Khem and Marthin,
The failure still caused by frequently changed checksum of the database. I send the patch on 11.20.
but the checksum changed on 1121, and it also changed on 1128, seems like weekly change.
but it should not failed if there is a premirror saved the
Here is a result I get:
$ md5sum 1128/*v6* d98a04eded0b08b945b5629106d58760 1128/GeoIPv6 (1).dat.gz 4d48c102ec68298b3fc7f57763455cb5 1128/GeoLiteCityv6.dat.gz $ md5sum 1121/*v6* b0f82334f94ca89872e7722db3511bb9 1121/GeoIPv6.dat.gz 50ad18a8a3ea4bba7c929bea6e22db75 1121/GeoLiteCityv6.dat.gz $ md5sum 1120/*v6* a908d7a51c3883eb8f693ca197c7a142 1120/GeoIPv6.dat.gz 8ac3506ccabaae7e9f7d6301c2654313 1120/GeoLiteCityv6.dat.gzOn 11/28/18 3:14 AM, Martin Jansa wrote:
I'm seeing different checksum than both your builder and the recipe.
$ wget http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz --2018-11-27 20:06:32-- http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz Resolving geolite.maxmind.com... 104.16.37.47, 104.16.38.47, 2606:4700::6810:252f, ... Connecting to geolite.maxmind.com|104.16.37.47|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1209046 (1.2M) [application/octet-stream] Saving to: ‘GeoIPv6.dat.gz’2018-11-27 20:06:32 (10.3 MB/s) - ‘GeoIPv6.dat.gz’ saved [1209046/1209046]$ md5sum GeoIPv6.dat.gz d98a04eded0b08b945b5629106d58760 GeoIPv6.dat.gzIs this the legacy archive? Because https://dev.maxmind.com/geoip/legacy/geolite/ now shows following:
Yes, I have pointed out this problem the first time I changed the checksum. maybe we should upgrade
to geoip2, and drop current geoip1.6. but I think even with geoip2, since it's database still not version,
maybe also will met similar problem.
//changqing
Updated versions of the GeoLite Legacy databases are now only available to redistribution license customers, although anyone can continue to download the March 2018 GeoLite Legacy builds. Starting January 2, 2019, the last build will be removed from our website. GeoLite Legacy database users will need to switch to the GeoLite2 or commercial GeoIP databases and update their integrations by January 2, 2019.
For more information, please visit our Support Center.
Note: After careful consideration, taking into account customer feedback, we have decided against removing latitude and longitude coordinates from the GeoLite2 databases. We are in the process of reviewing coordinates used in all of our GeoLite2 and GeoIP databases to ensure there is no risk of misuse.
* GeoLite2 databases are free IP geolocation databases comparable to, but less accurate than, MaxMind’s GeoIP2 databases. Please remember to use the accuracy radius if displaying coordinates on a map.
New Database Format Available: This page is for our GeoLite Legacy databases. For our latest database format, please visit our GeoLite2 Databases page. We offer redistribution licenses for our newer GeoLite2 databases that will allow you to package the databases with your commercial products. For more information, please visit the GeoLite2 Commercial Redistribution page.
Quoted 125 lines · Khem Raj
I am seeing errors on some builders
http://errors.yoctoproject.org/Errors/Details/202341/
Quoted 120 lines · Martin Jansa
Looks, good.
Adding variable for 20181120 might help with maintenance (if we need to change just checksums in future). And with good variable name (or a comment) it would also document in the recipe why we're using this in downloadfilename.
Quoted 96 lines · On Tue, Nov 20, 2018 at 7:48 AM <[email protected]> wrote:
From: Changqing Li <[email protected]>
previous change of checksum don't trigger archive to re-downloaded, , which will cause checksum mismatch. add downloadfilename to trigger re-download.
1. for user with PREMIRROR, another benefit is it can still compile success event upstream checksum change frequently.
2. but for user don't use PREMIRROR, if upstream checksum changed, still might have checksum mismatch problem.Signed-off-by Changqing Li <[email protected]>--- .../recipes-support/geoip/geoip_1.6.12.bb | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-)meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-1@@ -9,10 +9,10 @@ HOMEPAGE = "http://dev.maxmind.com/geoip/" SECTION = "libdevel" SRC_URI = "git://github.com/maxmind/geoip-api-c.git \ -http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz;apply=no;name=GeoIP-dat
\
-
http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat
\
-
http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz;apply=no;name=GeoLiteCity-dat
\
-
http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz;apply=no;name=GeoLiteCityv6-dat
\
+
http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz;apply=no;name=GeoIP-dat;downloadfilename=GeoIP.dat.20181120.gz
\
+
http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat;downloadfilename=GeoIPv6.dat.20181120.gz
\
+
http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz;apply=no;name=GeoLiteCity-dat;downloadfilename=GeoLiteCity.dat.20181120.gz
\
+
http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz;apply=no;name=GeoLiteCityv6-dat;downloadfilename=GeoLiteCityv6.dat.20181120.gz\ file://run-ptest \"
SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-0@@ -20,14 +20,14 @@ SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a" SRC_URI[GeoIP-dat.md5sum] = "d538e57ad9268fdc7955c6cf9a37c4a9" SRC_URI[GeoIP-dat.sha256sum] ="
b9c05eb8bfcf90a6ddfdc6815caf40a8db2710f0ce3dd48fbd6c24d485ae0449"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-2-SRC_URI[GeoIPv6-dat.md5sum] = "00dc3b3f53eb5f7bf6915f939998f12c" -SRC_URI[GeoIPv6-dat.sha256sum] ="
e72221fc630094d7256521b307e9142fb77d2167a27de2c11da536a2ba1d1480"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +2
-0+SRC_URI[GeoIPv6-dat.md5sum] = "a908d7a51c3883eb8f693ca197c7a142" +SRC_URI[GeoIPv6-dat.sha256sum] ="
1b06e34eed2c539606a9ab4d97b2140ac80bf9f528d16ad2e3831c75014c2710"SRC_URI[GeoLiteCity-dat.md5sum] = "
d700c137232f8e077ac8db8577f699d9" SRC_URI[GeoLiteCity-dat.sha256sum] =
"90db2e52195e3d1bcdb2c2789209006d09de5c742812dbd9a1b36c12675ec4cd"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-2-SRC_URI[GeoLiteCityv6-dat.md5sum] = "7f6333d433d8127181ea3c5828287c98" -SRC_URI[GeoLiteCityv6-dat.sha256sum] ="
c339e20cdf326c18aa3571bcd27845e6daf41ca5bfe9401bc472908aaeb42ac7"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +2
-0+SRC_URI[GeoLiteCityv6-dat.md5sum] = "8ac3506ccabaae7e9f7d6301c2654313" +SRC_URI[GeoLiteCityv6-dat.sha256sum] ="
1c5fced1657d09448b3ecc14b65c9536228a627d93ed4159d3438b2c6faa8506"LICENSE = "LGPL-2.1"
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +2
-4@@ -44,10 +44,10 @@ EXTRA_OECONF = "--disable-static \ do_install() { make DESTDIR=${D} install install -d ${D}/${datadir}/GeoIP - install ${WORKDIR}/GeoIP.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoIPv6.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoLiteCity.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoLiteCityv6.dat ${D}/${datadir}/GeoIP/ + install ${WORKDIR}/GeoIP.dat.20181120 ${D}/${datadir}/GeoIP/GeoIP.dat + install ${WORKDIR}/GeoIPv6.dat.20181120${D}/${datadir}/GeoIP/GeoIPv6.dat
+ install ${WORKDIR}/GeoLiteCity.dat.20181120
${D}/${datadir}/GeoIP/GeoLiteCity.dat
+ install ${WORKDIR}/GeoLiteCityv6.dat.20181120
${D}/${datadir}/GeoIP/GeoLiteCityv6.datln -s GeoLiteCity.dat ${D}${datadir}/GeoIP/GeoIPCity.dat}
Quoted 9 lines
--
2.7.4--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
BRsQuoted 6 lines
Quoted 1 line
Sandy(Li Changqing)
--
BRsSandy(Li Changqing)
--
BRsSandy(Li Changqing)
If you're going to push them to yp mirror, then please include the date in the filename and adjust the recipe to use the same (this time not as downloadfilename parameter), that way you can update them again with the latest (and last) version at the end of this year.
Quoted 309 lines · Khem Raj
Quoted 5 lines · Changqing Li
On 11/30/18 4:22 PM, Martin Jansa wrote:
I think Khem meant http://sources.openembedded.org/ it returns 403,
because listing is disabled, but the files are there.
Quoted 2 lines
Thanks. But I cannot upload file to that website. so I prefer use
http://downloads.yoctoproject.org/mirror/sources/ as
SRC_URI.thats ok. Anywhere reliable is fine.
Quoted 2 lines
but currently, it is like below, so I need patch 2 times to fix this.
1st, correct the right checksum;
Quoted 2 lines
2nd, correct
SRC_URIto yocto mirror after it have correct file there.Do you have any comments about work like this?
Quoted 2 lines
GeoIP.dat.gz 27-Mar-2018 12:17
711428Quoted 1 line
GeoIPv6.dat.gz_bad-checksum_a908d7a51c3883eb8f6..> 13-Nov-2018 18:55
1202833Quoted 1 line
GeoIPv6.dat.gz_bad-checksum_b0f82334f94ca89872e..> 21-Nov-2018 00:42
1207062Download the right tars and push them into yp mirror then update the recipe to point to new location and update the checksums at sam time.
in your downloads directory rm -rf Geo*
Quoted 5 lines
On Fri, Nov 30, 2018 at 3:18 AM Changqing Li <[email protected]>
Quoted 7 lines · wrote:
Quoted 7 lines · Khem Raj
We have two options
Download and rename may be add a date component and save it on
sources.oe.org
Quoted 5 lines
Quoted 5 lines
Hi, I cannot open this website
Second option is to download the databases during build as temporary
artifacts but this might cause reproducibility problems
Quoted 5 lines
Quoted 5 lines
Either way it is going to have some issues
May be option 1 even though tedious can be better of twoOn Wed, Nov 28, 2018 at 5:31 PM Changqing Li <
Quoted 4 lines · [email protected]> wrote:
Quoted 4 lines
Quoted 4 lines
Khem and Marthin,
The failure still caused by frequently changed checksum of the
database. I send the patch on 11.20.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
but the checksum changed on 1121, and it also changed on 1128, seems
like weekly change.
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
but it should not failed if there is a premirror saved the
Here is a result I get:
$ md5sum 1128/*v6* d98a04eded0b08b945b5629106d58760 1128/GeoIPv6 (1).dat.gz 4d48c102ec68298b3fc7f57763455cb5 1128/GeoLiteCityv6.dat.gz $ md5sum 1121/*v6* b0f82334f94ca89872e7722db3511bb9 1121/GeoIPv6.dat.gz 50ad18a8a3ea4bba7c929bea6e22db75 1121/GeoLiteCityv6.dat.gz $ md5sum 1120/*v6* a908d7a51c3883eb8f693ca197c7a142 1120/GeoIPv6.dat.gz 8ac3506ccabaae7e9f7d6301c2654313 1120/GeoLiteCityv6.dat.gzQuoted 5 lines
Quoted 5 lines
Quoted 5 lines · Martin Jansa
I'm seeing different checksum than both your builder and the recipe.
$ wgethttp://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz
Quoted 1 line
Quoted 1 line
Quoted 1 line
--2018-11-27 20:06:32--
http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz
Quoted 1 line
Quoted 1 line
Quoted 1 line
Resolving geolite.maxmind.com... 104.16.37.47, 104.16.38.47,
2606:4700::6810:252f, ...
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Connecting to geolite.maxmind.com|104.16.37.47|:80... connected. HTTP request sent, awaiting response... 200 OK
Length: 1209046 (1.2M) [application/octet-stream] Saving to: ‘GeoIPv6.dat.gz’2018-11-27 20:06:32 (10.3 MB/s) - ‘GeoIPv6.dat.gz’ saved[1209046/1209046]
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
$ md5sum GeoIPv6.dat.gz d98a04eded0b08b945b5629106d58760 GeoIPv6.dat.gzIs this the legacy archive? Because
https://dev.maxmind.com/geoip/legacy/geolite/ now shows following:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Yes, I have pointed out this problem the first time I changed the
checksum. maybe we should upgrade
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
to geoip2, and drop current geoip1.6. but I think even with
geoip2, since it's database still not version,
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
maybe also will met similar problem.
//changqing
Updated versions of the GeoLite Legacy databases are now only
available to redistribution license customers, although anyone can continue to download the March 2018 GeoLite Legacy builds. Starting January 2, 2019, the last build will be removed from our website. GeoLite Legacy database users will need to switch to the GeoLite2 or commercial GeoIP databases and update their integrations by January 2, 2019.
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
For more information, please visit our Support Center.
Note: After careful consideration, taking into account customer
feedback, we have decided against removing latitude and longitude coordinates from the GeoLite2 databases. We are in the process of reviewing coordinates used in all of our GeoLite2 and GeoIP databases to ensure there is no risk of misuse.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
* GeoLite2 databases are free IP geolocation databases comparable to,
but less accurate than, MaxMind’s GeoIP2 databases. Please remember to use the accuracy radius if displaying coordinates on a map.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
New Database Format Available: This page is for our GeoLite Legacy
databases. For our latest database format, please visit our GeoLite2 Databases page. We offer redistribution licenses for our newer GeoLite2 databases that will allow you to package the databases with your commercial products. For more information, please visit the GeoLite2 Commercial Redistribution page.
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines · Khem Raj
Quoted 5 lines
I am seeing errors on some builders
http://errors.yoctoproject.org/Errors/Details/202341/
On Mon, Nov 19, 2018 at 11:29 PM Martin Jansa <[email protected]>Quoted 4 lines · wrote:
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Looks, good.
Adding variable for 20181120 might help with maintenance (if we
need to
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
change just checksums in future). And with good variable name (or a comment) it would also document in the recipe why we're using this
in
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
downloadfilename.
Quoted 3 lines · On Tue, Nov 20, 2018 at 7:48 AM <[email protected]> wrote:
From: Changqing Li <[email protected]>
previous change of checksum don't trigger archive to
re-downloaded,
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
, which will cause checksum mismatch. add downloadfilename to trigger re-download.
1. for user with PREMIRROR, another benefit is it can still
compile
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Review
Quoted 11 lines
success event upstream checksum change frequently.
2. but for user don't use PREMIRROR, if upstream checksum changed, still might have checksum mismatch problem.Signed-off-by Changqing Li <[email protected]>--- .../recipes-support/geoip/geoip_1.6.12.bb | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-)(quoted diff) +0
-0geoip_1.6.12.bb
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb HOMEPAGE = "http://dev.maxmind.com/geoip/" · line 12
Quoted 10 lines
b/meta-networking/recipes-support/geoip/geoip_1.6.12.bb index 1e1a7ff..57f0b67 100644
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-1@@ -9,10 +9,10 @@ HOMEPAGE = "http://dev.maxmind.com/geoip/" SECTION = "libdevel" SRC_URI = "git://github.com/maxmind/geoip-api-c.git \ -Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb HOMEPAGE = "http://dev.maxmind.com/geoip/" · line 14
Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-1\ -http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb HOMEPAGE = "http://dev.maxmind.com/geoip/" · line 18
Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-1\ -http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz;apply=no;name=GeoLiteCity-dat
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
\
-Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
\
+Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
\
+Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
\
+Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
\
+Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb SRCREV =
Quoted 5 lines
\ file://run-ptest \"
SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-0@@ -20,14 +20,14 @@ SRCREV ="
4b526e7331ca1d692b74a0509ddcc725622ed31a"Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-0SRC_URI[GeoIP-dat.md5sum] = "d538e57ad9268fdc7955c6cf9a37c4a9" SRC_URI[GeoIP-dat.sha256sum] ="
b9c05eb8bfcf90a6ddfdc6815caf40a8db2710f0ce3dd48fbd6c24d485ae0449"Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-2-SRC_URI[GeoIPv6-dat.md5sum] = "00dc3b3f53eb5f7bf6915f939998f12c" -SRC_URI[GeoIPv6-dat.sha256sum] ="
e72221fc630094d7256521b307e9142fb77d2167a27de2c11da536a2ba1d1480"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +2
-0+SRC_URI[GeoIPv6-dat.md5sum] = "a908d7a51c3883eb8f693ca197c7a142" +SRC_URI[GeoIPv6-dat.sha256sum] ="
1b06e34eed2c539606a9ab4d97b2140ac80bf9f528d16ad2e3831c75014c2710"SRC_URI[GeoLiteCity-dat.md5sum] =
"
d700c137232f8e077ac8db8577f699d9"Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
SRC_URI[GeoLiteCity-dat.sha256sum] =
"90db2e52195e3d1bcdb2c2789209006d09de5c742812dbd9a1b36c12675ec4cd"-SRC_URI[GeoLiteCityv6-dat.md5sum] =
"
7f6333d433d8127181ea3c5828287c98"Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
-SRC_URI[GeoLiteCityv6-dat.sha256sum] = "
c339e20cdf326c18aa3571bcd27845e6daf41ca5bfe9401bc472908aaeb42ac7" +SRC_URI[GeoLiteCityv6-dat.md5sum] ="
8ac3506ccabaae7e9f7d6301c2654313"Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb EXTRA_OECONF = "--disable-static
Quoted 6 lines
+SRC_URI[GeoLiteCityv6-dat.sha256sum] = "
1c5fced1657d09448b3ecc14b65c9536228a627d93ed4159d3438b2c6faa8506"LICENSE = "LGPL-2.1"
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-0@@ -44,10 +44,10 @@ EXTRA_OECONF = "--disable-static\
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb EXTRA_OECONF = "--disable-static · line 47
Quoted 8 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +1
-4do_install() { make DESTDIR=${D} install install -d ${D}/${datadir}/GeoIP - install ${WORKDIR}/GeoIP.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoIPv6.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoLiteCity.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoLiteCityv6.dat ${D}/${datadir}/GeoIP/ + install ${WORKDIR}/GeoIP.dat.20181120${D}/${datadir}/GeoIP/GeoIP.dat
Quoted 38 lines
Quoted 27 lines
Quoted 27 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +1
-0+ install ${WORKDIR}/GeoIPv6.dat.20181120${D}/${datadir}/GeoIP/GeoIPv6.dat
+ install ${WORKDIR}/GeoLiteCity.dat.20181120
${D}/${datadir}/GeoIP/GeoLiteCity.dat
+ install ${WORKDIR}/GeoLiteCityv6.dat.20181120
${D}/${datadir}/GeoIP/GeoLiteCityv6.datln -s GeoLiteCity.dat ${D}${datadir}/GeoIP/GeoIPCity.dat}
--
2.7.4--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-develQuoted 5 lines
Quoted 5 lines
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
BRsQuoted 6 lines
Quoted 1 line
Sandy(Li Changqing)
--
BRsSandy(Li Changqing)
--
BRsSandy(Li Changqing)
Quoted 3 lines · Martin Jansa
If you're going to push them to yp mirror, then please include the date in the filename and adjust the recipe to use the same (this time not as downloadfilename parameter), that way you can update them again with the latest (and last) version at the end of this year.
yes agreed.
Quoted 253 lines · Khem Raj
Quoted 252 lines · Changqing Li
Quoted 7 lines · Martin Jansa
I think Khem meant http://sources.openembedded.org/ it returns 403, because listing is disabled, but the files are there.
Thanks. But I cannot upload file to that website. so I prefer use http://downloads.yoctoproject.org/mirror/sources/ as
SRC_URI.thats ok. Anywhere reliable is fine.
Quoted 8 lines
but currently, it is like below, so I need patch 2 times to fix this. 1st, correct the right checksum;
2nd, correct
SRC_URIto yocto mirror after it have correct file there. Do you have any comments about work like this?GeoIP.dat.gz 27-Mar-2018 12:17 711428
GeoIPv6.dat.gz_bad-checksum_a908d7a51c3883eb8f6..> 13-Nov-2018 18:55 1202833
GeoIPv6.dat.gz_bad-checksum_b0f82334f94ca89872e..> 21-Nov-2018 00:42 1207062Download the right tars and push them into yp mirror then update the recipe to point to new location and update the checksums at sam time.
in your downloads directory rm -rf Geo*
Quoted 225 lines · Changqing Li
Quoted 209 lines · Khem Raj
We have two options
Download and rename may be add a date component and save it on sources.oe.org
Hi, I cannot open this website
Second option is to download the databases during build as temporary artifacts but this might cause reproducibility problems
Either way it is going to have some issues
May be option 1 even though tedious can be better of twoQuoted 192 lines · Changqing Li
Khem and Marthin,
The failure still caused by frequently changed checksum of the database. I send the patch on 11.20.
but the checksum changed on 1121, and it also changed on 1128, seems like weekly change.
but it should not failed if there is a premirror saved the
Here is a result I get:
$ md5sum 1128/*v6* d98a04eded0b08b945b5629106d58760 1128/GeoIPv6 (1).dat.gz 4d48c102ec68298b3fc7f57763455cb5 1128/GeoLiteCityv6.dat.gz $ md5sum 1121/*v6* b0f82334f94ca89872e7722db3511bb9 1121/GeoIPv6.dat.gz 50ad18a8a3ea4bba7c929bea6e22db75 1121/GeoLiteCityv6.dat.gz $ md5sum 1120/*v6* a908d7a51c3883eb8f693ca197c7a142 1120/GeoIPv6.dat.gz 8ac3506ccabaae7e9f7d6301c2654313 1120/GeoLiteCityv6.dat.gzOn 11/28/18 3:14 AM, Martin Jansa wrote:
I'm seeing different checksum than both your builder and the recipe.
$ wget http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz --2018-11-27 20:06:32-- http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz Resolving geolite.maxmind.com... 104.16.37.47, 104.16.38.47, 2606:4700::6810:252f, ... Connecting to geolite.maxmind.com|104.16.37.47|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1209046 (1.2M) [application/octet-stream] Saving to: ‘GeoIPv6.dat.gz’2018-11-27 20:06:32 (10.3 MB/s) - ‘GeoIPv6.dat.gz’ saved [1209046/1209046]$ md5sum GeoIPv6.dat.gz d98a04eded0b08b945b5629106d58760 GeoIPv6.dat.gzIs this the legacy archive? Because https://dev.maxmind.com/geoip/legacy/geolite/ now shows following:
Yes, I have pointed out this problem the first time I changed the checksum. maybe we should upgrade
to geoip2, and drop current geoip1.6. but I think even with geoip2, since it's database still not version,
maybe also will met similar problem.
//changqing
Updated versions of the GeoLite Legacy databases are now only available to redistribution license customers, although anyone can continue to download the March 2018 GeoLite Legacy builds. Starting January 2, 2019, the last build will be removed from our website. GeoLite Legacy database users will need to switch to the GeoLite2 or commercial GeoIP databases and update their integrations by January 2, 2019.
For more information, please visit our Support Center.
Note: After careful consideration, taking into account customer feedback, we have decided against removing latitude and longitude coordinates from the GeoLite2 databases. We are in the process of reviewing coordinates used in all of our GeoLite2 and GeoIP databases to ensure there is no risk of misuse.
* GeoLite2 databases are free IP geolocation databases comparable to, but less accurate than, MaxMind’s GeoIP2 databases. Please remember to use the accuracy radius if displaying coordinates on a map.
New Database Format Available: This page is for our GeoLite Legacy databases. For our latest database format, please visit our GeoLite2 Databases page. We offer redistribution licenses for our newer GeoLite2 databases that will allow you to package the databases with your commercial products. For more information, please visit the GeoLite2 Commercial Redistribution page.
Quoted 125 lines · Khem Raj
I am seeing errors on some builders
http://errors.yoctoproject.org/Errors/Details/202341/
Quoted 120 lines · Martin Jansa
Looks, good.
Adding variable for 20181120 might help with maintenance (if we need to change just checksums in future). And with good variable name (or a comment) it would also document in the recipe why we're using this in downloadfilename.
Quoted 96 lines · On Tue, Nov 20, 2018 at 7:48 AM <[email protected]> wrote:
From: Changqing Li <[email protected]>
previous change of checksum don't trigger archive to re-downloaded, , which will cause checksum mismatch. add downloadfilename to trigger re-download.
1. for user with PREMIRROR, another benefit is it can still compile success event upstream checksum change frequently.
2. but for user don't use PREMIRROR, if upstream checksum changed, still might have checksum mismatch problem.Signed-off-by Changqing Li <[email protected]>--- .../recipes-support/geoip/geoip_1.6.12.bb | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-)meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-1@@ -9,10 +9,10 @@ HOMEPAGE = "http://dev.maxmind.com/geoip/" SECTION = "libdevel" SRC_URI = "git://github.com/maxmind/geoip-api-c.git \ -http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz;apply=no;name=GeoIP-dat
\
-
http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat
\
-
http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz;apply=no;name=GeoLiteCity-dat
\
-
http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz;apply=no;name=GeoLiteCityv6-dat
\
+
http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz;apply=no;name=GeoIP-dat;downloadfilename=GeoIP.dat.20181120.gz
\
+
http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat;downloadfilename=GeoIPv6.dat.20181120.gz
\
+
http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz;apply=no;name=GeoLiteCity-dat;downloadfilename=GeoLiteCity.dat.20181120.gz
\
+
http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz;apply=no;name=GeoLiteCityv6-dat;downloadfilename=GeoLiteCityv6.dat.20181120.gz\ file://run-ptest \"
SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-0@@ -20,14 +20,14 @@ SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a" SRC_URI[GeoIP-dat.md5sum] = "d538e57ad9268fdc7955c6cf9a37c4a9" SRC_URI[GeoIP-dat.sha256sum] ="
b9c05eb8bfcf90a6ddfdc6815caf40a8db2710f0ce3dd48fbd6c24d485ae0449"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-2-SRC_URI[GeoIPv6-dat.md5sum] = "00dc3b3f53eb5f7bf6915f939998f12c" -SRC_URI[GeoIPv6-dat.sha256sum] ="
e72221fc630094d7256521b307e9142fb77d2167a27de2c11da536a2ba1d1480"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +2
-0+SRC_URI[GeoIPv6-dat.md5sum] = "a908d7a51c3883eb8f693ca197c7a142" +SRC_URI[GeoIPv6-dat.sha256sum] ="
1b06e34eed2c539606a9ab4d97b2140ac80bf9f528d16ad2e3831c75014c2710"SRC_URI[GeoLiteCity-dat.md5sum] = "
d700c137232f8e077ac8db8577f699d9" SRC_URI[GeoLiteCity-dat.sha256sum] =
"90db2e52195e3d1bcdb2c2789209006d09de5c742812dbd9a1b36c12675ec4cd"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-2-SRC_URI[GeoLiteCityv6-dat.md5sum] = "7f6333d433d8127181ea3c5828287c98" -SRC_URI[GeoLiteCityv6-dat.sha256sum] ="
c339e20cdf326c18aa3571bcd27845e6daf41ca5bfe9401bc472908aaeb42ac7"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +2
-0+SRC_URI[GeoLiteCityv6-dat.md5sum] = "8ac3506ccabaae7e9f7d6301c2654313" +SRC_URI[GeoLiteCityv6-dat.sha256sum] ="
1c5fced1657d09448b3ecc14b65c9536228a627d93ed4159d3438b2c6faa8506"LICENSE = "LGPL-2.1"
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +2
-4@@ -44,10 +44,10 @@ EXTRA_OECONF = "--disable-static \ do_install() { make DESTDIR=${D} install install -d ${D}/${datadir}/GeoIP - install ${WORKDIR}/GeoIP.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoIPv6.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoLiteCity.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoLiteCityv6.dat ${D}/${datadir}/GeoIP/ + install ${WORKDIR}/GeoIP.dat.20181120 ${D}/${datadir}/GeoIP/GeoIP.dat + install ${WORKDIR}/GeoIPv6.dat.20181120${D}/${datadir}/GeoIP/GeoIPv6.dat
+ install ${WORKDIR}/GeoLiteCity.dat.20181120
${D}/${datadir}/GeoIP/GeoLiteCity.dat
+ install ${WORKDIR}/GeoLiteCityv6.dat.20181120
${D}/${datadir}/GeoIP/GeoLiteCityv6.datln -s GeoLiteCity.dat ${D}${datadir}/GeoIP/GeoIPCity.dat}
Quoted 9 lines
--
2.7.4--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
BRsQuoted 6 lines
Quoted 1 line
Sandy(Li Changqing)
--
BRsSandy(Li Changqing)
--
BRsSandy(Li Changqing)
Thanks for update.
So there will be 4 more changes and then after:
"Starting January 2, 2019, the last build will be removed from our website." the archive will be only on OE premirror? That's really unfortunate, I'm not using geoip (other than seeing it fail in my world builds), but this will be big issue for people using release branches and not the premirror, we should at least synchronize all branches to use the same archives and in a month we should mirror the very last build in some more stable place, I haven't check the license, but cannot YP mirror host the files from the very last build?
Quoted 230 lines · Changqing Li
Khem and Marthin,
The failure still caused by frequently changed checksum of the database. I send the patch on 11.20.
but the checksum changed on 1121, and it also changed on 1128, seems like weekly change.
but it should not failed if there is a premirror saved the
Here is a result I get:
$ md5sum 1128/*v6* d98a04eded0b08b945b5629106d58760 1128/GeoIPv6 (1).dat.gz 4d48c102ec68298b3fc7f57763455cb5 1128/GeoLiteCityv6.dat.gz $ md5sum 1121/*v6* b0f82334f94ca89872e7722db3511bb9 1121/GeoIPv6.dat.gz 50ad18a8a3ea4bba7c929bea6e22db75 1121/GeoLiteCityv6.dat.gz $ md5sum 1120/*v6* a908d7a51c3883eb8f693ca197c7a142 1120/GeoIPv6.dat.gz 8ac3506ccabaae7e9f7d6301c2654313 1120/GeoLiteCityv6.dat.gzOn 11/28/18 3:14 AM, Martin Jansa wrote:
I'm seeing different checksum than both your builder and the recipe.
$ wget http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz --2018-11-27 20:06:32-- http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz Resolving geolite.maxmind.com... 104.16.37.47, 104.16.38.47, 2606:4700::6810:252f, ... Connecting to geolite.maxmind.com|104.16.37.47|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1209046 (1.2M) [application/octet-stream] Saving to: ‘GeoIPv6.dat.gz’2018-11-27 20:06:32 (10.3 MB/s) - ‘GeoIPv6.dat.gz’ saved [1209046/1209046]$ md5sum GeoIPv6.dat.gz d98a04eded0b08b945b5629106d58760 GeoIPv6.dat.gzIs this the legacy archive? Because
https://dev.maxmind.com/geoip/legacy/geolite/ now shows following:Yes, I have pointed out this problem the first time I changed the checksum. maybe we should upgrade
to geoip2, and drop current geoip1.6. but I think even with geoip2, since it's database still not version,
maybe also will met similar problem.
//changqing
Updated versions of the GeoLite Legacy databases are now only available to redistribution license customers, although anyone can continue to download the March 2018 GeoLite Legacy builds. Starting January 2, 2019, the last build will be removed from our website. GeoLite Legacy database users will need to switch to the GeoLite2 or commercial GeoIP databases and update their integrations by January 2, 2019.
For more information, please visit our Support Center.
Note: After careful consideration, taking into account customer feedback, we have decided against removing latitude and longitude coordinates from the GeoLite2 databases. We are in the process of reviewing coordinates used in all of our GeoLite2 and GeoIP databases to ensure there is no risk of misuse.
* GeoLite2 databases are free IP geolocation databases comparable to, but less accurate than, MaxMind’s GeoIP2 databases. Please remember to use the accuracy radius if displaying coordinates on a map.
New Database Format Available: This page is for our GeoLite Legacy databases. For our latest database format, please visit our GeoLite2 Databases page. We offer redistribution licenses for our newer GeoLite2 databases that will allow you to package the databases with your commercial products. For more information, please visit the GeoLite2 Commercial Redistribution page.
Quoted 104 lines · Khem Raj
I am seeing errors on some builders
http://errors.yoctoproject.org/Errors/Details/202341/
Quoted 35 lines · Martin Jansa
Looks, good.
Adding variable for 20181120 might help with maintenance (if we need to change just checksums in future). And with good variable name (or a comment) it would also document in the recipe why we're using this in downloadfilename.
Quoted 25 lines · On Tue, Nov 20, 2018 at 7:48 AM <[email protected]> wrote:
From: Changqing Li <[email protected]>
previous change of checksum don't trigger archive to re-downloaded, , which will cause checksum mismatch. add downloadfilename to trigger re-download.
1. for user with PREMIRROR, another benefit is it can still compile success event upstream checksum change frequently.
2. but for user don't use PREMIRROR, if upstream checksum changed, still might have checksum mismatch problem.Signed-off-by Changqing Li <[email protected]>--- .../recipes-support/geoip/geoip_1.6.12.bb | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-)meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-0@@ -9,10 +9,10 @@ HOMEPAGE = "http://dev.maxmind.com/geoip/" SECTION = "libdevel"Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb HOMEPAGE = "http://dev.maxmind.com/geoip/" · line 12
Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-1SRC_URI = "git://github.com/maxmind/geoip-api-c.git \ -Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb HOMEPAGE = "http://dev.maxmind.com/geoip/" · line 14
Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-1\ -http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat
Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb HOMEPAGE = "http://dev.maxmind.com/geoip/" · line 18
Quoted 3 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-1\ -http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz;apply=no;name=GeoLiteCity-dat
Quoted 3 lines
Quoted 3 lines
\
-Quoted 3 lines
Quoted 3 lines
\
+Quoted 3 lines
Quoted 3 lines
\
+Quoted 3 lines
Quoted 3 lines
\
+Quoted 3 lines
Quoted 3 lines
\
+Quoted 5 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb SRCREV =
Quoted 5 lines
\ file://run-ptest \"
SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-0@@ -20,14 +20,14 @@ SRCREV ="
4b526e7331ca1d692b74a0509ddcc725622ed31a"Quoted 11 lines
Quoted 11 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-0SRC_URI[GeoIP-dat.md5sum] = "d538e57ad9268fdc7955c6cf9a37c4a9" SRC_URI[GeoIP-dat.sha256sum] ="
b9c05eb8bfcf90a6ddfdc6815caf40a8db2710f0ce3dd48fbd6c24d485ae0449"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +0
-2-SRC_URI[GeoIPv6-dat.md5sum] = "00dc3b3f53eb5f7bf6915f939998f12c" -SRC_URI[GeoIPv6-dat.sha256sum] ="
e72221fc630094d7256521b307e9142fb77d2167a27de2c11da536a2ba1d1480"meta-networking/recipes-support/geoip/geoip_1.6.12.bb +2
-0+SRC_URI[GeoIPv6-dat.md5sum] = "a908d7a51c3883eb8f693ca197c7a142" +SRC_URI[GeoIPv6-dat.sha256sum] ="
1b06e34eed2c539606a9ab4d97b2140ac80bf9f528d16ad2e3831c75014c2710"Quoted 5 lines
Quoted 5 lines
SRC_URI[GeoLiteCity-dat.md5sum] = "
d700c137232f8e077ac8db8577f699d9" SRC_URI[GeoLiteCity-dat.sha256sum] =
"90db2e52195e3d1bcdb2c2789209006d09de5c742812dbd9a1b36c12675ec4cd"-SRC_URI[GeoLiteCityv6-dat.md5sum] =
"
7f6333d433d8127181ea3c5828287c98"Quoted 3 lines
Quoted 3 lines
-SRC_URI[GeoLiteCityv6-dat.sha256sum] = "
c339e20cdf326c18aa3571bcd27845e6daf41ca5bfe9401bc472908aaeb42ac7" +SRC_URI[GeoLiteCityv6-dat.md5sum] ="
8ac3506ccabaae7e9f7d6301c2654313"Quoted 5 lines
Quoted 5 lines
+SRC_URI[GeoLiteCityv6-dat.sha256sum] = "
1c5fced1657d09448b3ecc14b65c9536228a627d93ed4159d3438b2c6faa8506"LICENSE = "LGPL-2.1"
Quoted 34 lines
Quoted 9 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb EXTRA_OECONF = "--disable-static \ · line 47
Quoted 9 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +1
-4@@ -44,10 +44,10 @@ EXTRA_OECONF = "--disable-static \ do_install() { make DESTDIR=${D} install install -d ${D}/${datadir}/GeoIP - install ${WORKDIR}/GeoIP.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoIPv6.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoLiteCity.dat ${D}/${datadir}/GeoIP/ - install ${WORKDIR}/GeoLiteCityv6.dat ${D}/${datadir}/GeoIP/ + install ${WORKDIR}/GeoIP.dat.20181120${D}/${datadir}/GeoIP/GeoIP.dat
Quoted 23 lines
Quoted 9 lines
meta-networking/recipes-support/geoip/geoip_1.6.12.bb +1
-0+ install ${WORKDIR}/GeoIPv6.dat.20181120${D}/${datadir}/GeoIP/GeoIPv6.dat
+ install ${WORKDIR}/GeoLiteCity.dat.20181120
${D}/${datadir}/GeoIP/GeoLiteCity.dat
+ install ${WORKDIR}/GeoLiteCityv6.dat.20181120
${D}/${datadir}/GeoIP/GeoLiteCityv6.datln -s GeoLiteCity.dat ${D}${datadir}/GeoIP/GeoIPCity.dat}
Quoted 9 lines
--
2.7.4--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
BRsSandy(Li Changqing)