diff options
Diffstat (limited to 'meta-networking/recipes-support/geoip/geoipupdate_2.5.0.bb')
-rw-r--r-- | meta-networking/recipes-support/geoip/geoipupdate_2.5.0.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/geoip/geoipupdate_2.5.0.bb b/meta-networking/recipes-support/geoip/geoipupdate_2.5.0.bb new file mode 100644 index 000000000..f4eb2b799 --- /dev/null +++ b/meta-networking/recipes-support/geoip/geoipupdate_2.5.0.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | SUMMARY = "Crontab entry to provide weekly updates of the GeoIP free databases." | ||
2 | DESCRIPTION = "update databases for GeoIP" | ||
3 | |||
4 | HOMEPAGE = "http://dev.maxmind.com/geoip/" | ||
5 | SECTION = "net" | ||
6 | |||
7 | DEPENDS = "zlib curl" | ||
8 | |||
9 | SRC_URI = "https://github.com/maxmind/geoipupdate/releases/download/v2.5.0/geoipupdate-2.5.0.tar.gz \ | ||
10 | file://GeoIP.conf \ | ||
11 | file://geoipupdate.cron \ | ||
12 | " | ||
13 | SRC_URI[md5sum] = "28f633c49ec87ab01ad3c0fb0228a696" | ||
14 | SRC_URI[sha256sum] = "5119fd0e338cd083e886228b26679c64bcbaade8a815be092aecf865a610ab26" | ||
15 | |||
16 | LICENSE = "GPLv2" | ||
17 | |||
18 | LIC_FILES_CHKSUM = "\ | ||
19 | file://ChangeLog.md;md5=11d2e31df0de2be3ccc3e2286c4dafcb \ | ||
20 | " | ||
21 | FILES_${PN} = "/usr/share/GeoIP \ | ||
22 | /etc/GeoIP.conf \ | ||
23 | /etc/cron.d/geoipupdate.cron \ | ||
24 | /usr/bin/geoipupdate \ | ||
25 | " | ||
26 | inherit autotools | ||
27 | |||
28 | do_install_append() { | ||
29 | install -d ${D}/${sysconfdir} | ||
30 | install -d ${D}/${sysconfdir}/cron.d | ||
31 | install ${WORKDIR}/GeoIP.conf ${D}/${sysconfdir}/ | ||
32 | install ${WORKDIR}/geoipupdate.cron ${D}/${sysconfdir}/cron.d/ | ||
33 | } | ||