[oe] [meta-networking] [PATCH] geoipupdate 2.2.2 -> 2.4.0

Huang Qiyu huangqy.fnst at cn.fujitsu.com
Mon Jun 26 01:35:22 UTC 2017


From: susanbian <bianyq at cn.fujitsu.com>

Upgrade geoipupdate from 2.2.2 to 2.4.0

License checksum changed, since the following function are added.
1. database directory is writable
2. ${datarootdir}/GeoIP is now created on make install.
3. prints out additional information from the server when download reques results.

Signed-off-by: susanbian <bianyq at cn.fujitsu.com>
---
 .../{geoipupdate-2.2.2 => geoipupdate-2.4.0}/GeoIP.conf   |  0
 .../geoipupdate.cron                                      |  0
 .../geoip/{geoipupdate_2.2.2.bb => geoipupdate_2.4.0.bb}  | 15 +++++++++------
 3 files changed, 9 insertions(+), 6 deletions(-)
 rename meta-networking/recipes-support/geoip/{geoipupdate-2.2.2 => geoipupdate-2.4.0}/GeoIP.conf (100%)
 rename meta-networking/recipes-support/geoip/{geoipupdate-2.2.2 => geoipupdate-2.4.0}/geoipupdate.cron (100%)
 rename meta-networking/recipes-support/geoip/{geoipupdate_2.2.2.bb => geoipupdate_2.4.0.bb} (62%)

diff --git a/meta-networking/recipes-support/geoip/geoipupdate-2.2.2/GeoIP.conf b/meta-networking/recipes-support/geoip/geoipupdate-2.4.0/GeoIP.conf
similarity index 100%
rename from meta-networking/recipes-support/geoip/geoipupdate-2.2.2/GeoIP.conf
rename to meta-networking/recipes-support/geoip/geoipupdate-2.4.0/GeoIP.conf
diff --git a/meta-networking/recipes-support/geoip/geoipupdate-2.2.2/geoipupdate.cron b/meta-networking/recipes-support/geoip/geoipupdate-2.4.0/geoipupdate.cron
similarity index 100%
rename from meta-networking/recipes-support/geoip/geoipupdate-2.2.2/geoipupdate.cron
rename to meta-networking/recipes-support/geoip/geoipupdate-2.4.0/geoipupdate.cron
diff --git a/meta-networking/recipes-support/geoip/geoipupdate_2.2.2.bb b/meta-networking/recipes-support/geoip/geoipupdate_2.4.0.bb
similarity index 62%
rename from meta-networking/recipes-support/geoip/geoipupdate_2.2.2.bb
rename to meta-networking/recipes-support/geoip/geoipupdate_2.4.0.bb
index 3bc936a..3e045bb 100644
--- a/meta-networking/recipes-support/geoip/geoipupdate_2.2.2.bb
+++ b/meta-networking/recipes-support/geoip/geoipupdate_2.4.0.bb
@@ -6,20 +6,23 @@ SECTION = "net"
 
 DEPENDS = "zlib curl"
 
-SRC_URI = "https://github.com/maxmind/geoipupdate/releases/download/v2.2.2/geoipupdate-2.2.2.tar.gz \
+SRC_URI = "https://github.com/maxmind/geoipupdate/releases/download/v2.4.0/geoipupdate-2.4.0.tar.gz \
            file://GeoIP.conf \
            file://geoipupdate.cron \
           "
-
-SRC_URI[md5sum] = "06284bd7bcb298d078d794eb630dae55"
-SRC_URI[sha256sum] = "156ab7604255a9c62c4a442c76d48d024ac813c6542639bffa93b28e2a781621"
+SRC_URI[md5sum] = "02f9712fb80e8e979d3d54cda7f7704f"
+SRC_URI[sha256sum] = "8b4e88ce8d84e9c75bc681704d19ec5c63c54f01e945f7669f97fb0df7e13952"
 
 LICENSE = "GPLv2"
 
 LIC_FILES_CHKSUM = "\
-file://ChangeLog.md;md5=8ebf6f27a39125c3d600c90914b4034a \
+file://ChangeLog.md;md5=334337b6ecbb65093bae66b3ae21c8c2 \
+"
+FILES_${PN} = "/usr/share/GeoIP \
+              /etc/GeoIP.conf \
+             /etc/cron.d/geoipupdate.cron \
+             /usr/bin/geoipupdate \
 "
-
 inherit autotools
 
 do_install_append() {
-- 
2.7.4






More information about the Openembedded-devel mailing list