diff options
| author | Li xin <lixin.fnst@cn.fujitsu.com> | 2015-08-07 10:17:40 +0800 |
|---|---|---|
| committer | Joe MacDonald <joe_macdonald@mentor.com> | 2015-08-19 15:41:29 -0400 |
| commit | 9640f435098c0a60aa270e8105fa927567492988 (patch) | |
| tree | 99ad36c3b65c170d8e7bb0a6060b80564bdd8a49 /meta-networking/recipes-support/geoip/geoip_1.6.6.bb | |
| parent | 382f955d7c9a9f4e0c66a0f6dbe41ad8af0fb41d (diff) | |
| download | meta-openembedded-9640f435098c0a60aa270e8105fa927567492988.tar.gz | |
geoip: upgrade 1.6.0 -> 1.6.6
*Modify SRC_URI.
*Modify chksum of file COPYING and LICENSE,since year changed,
and the LICENSE explanation for file base64.c, md5.c and types.h
was deleted.But the LICENSE has not been changed.
Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-support/geoip/geoip_1.6.6.bb')
| -rw-r--r-- | meta-networking/recipes-support/geoip/geoip_1.6.6.bb | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/geoip/geoip_1.6.6.bb b/meta-networking/recipes-support/geoip/geoip_1.6.6.bb new file mode 100644 index 0000000000..5037ae3009 --- /dev/null +++ b/meta-networking/recipes-support/geoip/geoip_1.6.6.bb | |||
| @@ -0,0 +1,55 @@ | |||
| 1 | SUMMARY = "C library for country/city/organization to IP address or hostname mapping" | ||
| 2 | DESCRIPTION = "GeoIP is a C library that enables the user to find the country that any IP \ | ||
| 3 | address or hostname originates from. It uses a file based database that is \ | ||
| 4 | accurate as of March 2003. This database simply contains IP blocks as keys, and \ | ||
| 5 | countries as values. This database should be more complete and accurate than \ | ||
| 6 | using reverse DNS lookups." | ||
| 7 | |||
| 8 | HOMEPAGE = "http://dev.maxmind.com/geoip/" | ||
| 9 | SECTION = "libdevel" | ||
| 10 | |||
| 11 | SRC_URI = "git://github.com/maxmind/geoip-api-c.git \ | ||
| 12 | http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz;apply=no;name=GeoIP-dat \ | ||
| 13 | http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz;apply=no;name=GeoIPv6-dat \ | ||
| 14 | http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz;apply=no;name=GeoLiteCity-dat \ | ||
| 15 | http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz;apply=no;name=GeoLiteCityv6-dat \ | ||
| 16 | " | ||
| 17 | SRCREV = "ed3f3e2b87fba05a8f2a5b9b1328e7d55be8bf30" | ||
| 18 | |||
| 19 | SRC_URI[GeoIP-dat.md5sum] = "37c84ead332dda0362a5ac7b049b72d4" | ||
| 20 | SRC_URI[GeoIP-dat.sha256sum] = "79ff1099e96c2dc1c2539c9a18aaa13a9afd085cae477df60d95f1644d42bc07" | ||
| 21 | |||
| 22 | SRC_URI[GeoIPv6-dat.md5sum] = "e75b84a4044e81d6d4484e33816bc762" | ||
| 23 | SRC_URI[GeoIPv6-dat.sha256sum] = "a009b0f21968d2868e6dd19d14f3c3b8cd60ae84a4bfc2970df34d771a04811e" | ||
| 24 | |||
| 25 | SRC_URI[GeoLiteCity-dat.md5sum] = "4b6588d0bfe1af22e267ac90aa97f769" | ||
| 26 | SRC_URI[GeoLiteCity-dat.sha256sum] = "8a6467033a528f68b1a97de24d9d0ce86c8e8e83683820e16e433ddbd3f712f7" | ||
| 27 | |||
| 28 | SRC_URI[GeoLiteCityv6-dat.md5sum] = "ad0cb42518af7f752499425dca0952bb" | ||
| 29 | SRC_URI[GeoLiteCityv6-dat.sha256sum] = "eda67f4204ba9fa5204a53cdb629167cca9394c712f5378bc723a8c29c0b440f" | ||
| 30 | |||
| 31 | LICENSE = "LGPL-2.1" | ||
| 32 | |||
| 33 | LIC_FILES_CHKSUM = "file://COPYING;md5=243b725d71bb5df4a1e5920b344b86ad \ | ||
| 34 | file://LICENSE;md5=0388276749a542b0d611601fa7c1dcc8 " | ||
| 35 | |||
| 36 | S = "${WORKDIR}/git" | ||
| 37 | |||
| 38 | inherit autotools | ||
| 39 | |||
| 40 | EXTRA_OECONF = "--disable-static \ | ||
| 41 | --disable-dependency-tracking " | ||
| 42 | |||
| 43 | do_install() { | ||
| 44 | make DESTDIR=${D} install | ||
| 45 | install -d ${D}/${datadir}/GeoIP | ||
| 46 | install ${WORKDIR}/GeoIP.dat ${D}/${datadir}/GeoIP/ | ||
| 47 | install ${WORKDIR}/GeoIPv6.dat ${D}/${datadir}/GeoIP/ | ||
| 48 | install ${WORKDIR}/GeoLiteCity.dat ${D}/${datadir}/GeoIP/ | ||
| 49 | install ${WORKDIR}/GeoLiteCityv6.dat ${D}/${datadir}/GeoIP/ | ||
| 50 | } | ||
| 51 | |||
| 52 | PACKAGES =+ "${PN}-database" | ||
| 53 | FILES_${PN}-database = "" | ||
| 54 | FILES_${PN}-database += "${datadir}/GeoIP/*" | ||
| 55 | |||
