summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/geoip
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/geoip')
-rw-r--r--meta-networking/recipes-support/geoip/geoip-perl_1.51.bb2
-rw-r--r--meta-networking/recipes-support/geoip/geoip_1.6.12.bb17
-rw-r--r--meta-networking/recipes-support/geoip/geoipupdate_2.5.0.bb4
3 files changed, 11 insertions, 12 deletions
diff --git a/meta-networking/recipes-support/geoip/geoip-perl_1.51.bb b/meta-networking/recipes-support/geoip/geoip-perl_1.51.bb
index d8288f9b49..9c2535b95b 100644
--- a/meta-networking/recipes-support/geoip/geoip-perl_1.51.bb
+++ b/meta-networking/recipes-support/geoip/geoip-perl_1.51.bb
@@ -9,7 +9,6 @@ SECTION = "libdevel"
9LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 9LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
10LIC_FILES_CHKSUM = "file://LICENSE;md5=e4f3ea6e9b28af88dc0321190a1f8250" 10LIC_FILES_CHKSUM = "file://LICENSE;md5=e4f3ea6e9b28af88dc0321190a1f8250"
11 11
12S = "${WORKDIR}/git"
13SRCREV = "4cdfdc38eca237c19c22a8b90490446ce6d970fa" 12SRCREV = "4cdfdc38eca237c19c22a8b90490446ce6d970fa"
14SRC_URI = "git://github.com/maxmind/geoip-api-perl.git;branch=main;protocol=https \ 13SRC_URI = "git://github.com/maxmind/geoip-api-perl.git;branch=main;protocol=https \
15 file://run-ptest \ 14 file://run-ptest \
@@ -30,6 +29,7 @@ do_install_ptest () {
30 install ${S}/t/*.t* ${D}${PTEST_PATH}/t 29 install ${S}/t/*.t* ${D}${PTEST_PATH}/t
31 install ${S}/t/data/* ${D}${PTEST_PATH}/t/data 30 install ${S}/t/data/* ${D}${PTEST_PATH}/t/data
32} 31}
32RDEPENDS:${PN}-ptest += "perl-modules"
33 33
34FILES:${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/Geo/IP/.debug" 34FILES:${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/Geo/IP/.debug"
35 35
diff --git a/meta-networking/recipes-support/geoip/geoip_1.6.12.bb b/meta-networking/recipes-support/geoip/geoip_1.6.12.bb
index 429cd69d6d..7482dba64a 100644
--- a/meta-networking/recipes-support/geoip/geoip_1.6.12.bb
+++ b/meta-networking/recipes-support/geoip/geoip_1.6.12.bb
@@ -11,10 +11,10 @@ SECTION = "libdevel"
11GEOIP_DATABASE_VERSION = "20181205" 11GEOIP_DATABASE_VERSION = "20181205"
12 12
13SRC_URI = "git://github.com/maxmind/geoip-api-c.git;branch=main;protocol=https \ 13SRC_URI = "git://github.com/maxmind/geoip-api-c.git;branch=main;protocol=https \
14 http://sources.openembedded.org/GeoIP.dat.${GEOIP_DATABASE_VERSION}.gz;apply=no;name=GeoIP-dat; \ 14 https://downloads.yoctoproject.org/mirror/sources/GeoIP.dat.${GEOIP_DATABASE_VERSION}.gz;apply=no;name=GeoIP-dat; \
15 http://sources.openembedded.org/GeoIPv6.dat.${GEOIP_DATABASE_VERSION}.gz;apply=no;name=GeoIPv6-dat; \ 15 https://downloads.yoctoproject.org/mirror/sources/GeoIPv6.dat.${GEOIP_DATABASE_VERSION}.gz;apply=no;name=GeoIPv6-dat; \
16 http://sources.openembedded.org/GeoLiteCity.dat.${GEOIP_DATABASE_VERSION}.gz;apply=no;name=GeoLiteCity-dat; \ 16 https://downloads.yoctoproject.org/mirror/sources/GeoLiteCity.dat.${GEOIP_DATABASE_VERSION}.gz;apply=no;name=GeoLiteCity-dat; \
17 http://sources.openembedded.org/GeoLiteCityv6.dat.${GEOIP_DATABASE_VERSION}.gz;apply=no;name=GeoLiteCityv6-dat; \ 17 https://downloads.yoctoproject.org/mirror/sources/GeoLiteCityv6.dat.${GEOIP_DATABASE_VERSION}.gz;apply=no;name=GeoLiteCityv6-dat; \
18 file://run-ptest \ 18 file://run-ptest \
19" 19"
20SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a" 20SRCREV = "4b526e7331ca1d692b74a0509ddcc725622ed31a"
@@ -36,7 +36,6 @@ LICENSE = "LGPL-2.1-only"
36LIC_FILES_CHKSUM = "file://COPYING;md5=243b725d71bb5df4a1e5920b344b86ad \ 36LIC_FILES_CHKSUM = "file://COPYING;md5=243b725d71bb5df4a1e5920b344b86ad \
37 file://LICENSE;md5=0388276749a542b0d611601fa7c1dcc8 " 37 file://LICENSE;md5=0388276749a542b0d611601fa7c1dcc8 "
38 38
39S = "${WORKDIR}/git"
40 39
41inherit autotools 40inherit autotools
42 41
@@ -46,10 +45,10 @@ EXTRA_OECONF = "--disable-static \
46do_install() { 45do_install() {
47 make DESTDIR=${D} install 46 make DESTDIR=${D} install
48 install -d ${D}/${datadir}/GeoIP 47 install -d ${D}/${datadir}/GeoIP
49 install ${WORKDIR}/GeoIP.dat.${GEOIP_DATABASE_VERSION} ${D}/${datadir}/GeoIP/GeoIP.dat 48 install ${UNPACKDIR}/GeoIP.dat.${GEOIP_DATABASE_VERSION} ${D}/${datadir}/GeoIP/GeoIP.dat
50 install ${WORKDIR}/GeoIPv6.dat.${GEOIP_DATABASE_VERSION} ${D}/${datadir}/GeoIP/GeoIPv6.dat 49 install ${UNPACKDIR}/GeoIPv6.dat.${GEOIP_DATABASE_VERSION} ${D}/${datadir}/GeoIP/GeoIPv6.dat
51 install ${WORKDIR}/GeoLiteCity.dat.${GEOIP_DATABASE_VERSION} ${D}/${datadir}/GeoIP/GeoLiteCity.dat 50 install ${UNPACKDIR}/GeoLiteCity.dat.${GEOIP_DATABASE_VERSION} ${D}/${datadir}/GeoIP/GeoLiteCity.dat
52 install ${WORKDIR}/GeoLiteCityv6.dat.${GEOIP_DATABASE_VERSION} ${D}/${datadir}/GeoIP/GeoLiteCityv6.dat 51 install ${UNPACKDIR}/GeoLiteCityv6.dat.${GEOIP_DATABASE_VERSION} ${D}/${datadir}/GeoIP/GeoLiteCityv6.dat
53 ln -s GeoLiteCity.dat ${D}${datadir}/GeoIP/GeoIPCity.dat 52 ln -s GeoLiteCity.dat ${D}${datadir}/GeoIP/GeoIPCity.dat
54} 53}
55 54
diff --git a/meta-networking/recipes-support/geoip/geoipupdate_2.5.0.bb b/meta-networking/recipes-support/geoip/geoipupdate_2.5.0.bb
index 9a0292eacc..e4dc9dee47 100644
--- a/meta-networking/recipes-support/geoip/geoipupdate_2.5.0.bb
+++ b/meta-networking/recipes-support/geoip/geoipupdate_2.5.0.bb
@@ -28,6 +28,6 @@ inherit autotools
28do_install:append() { 28do_install:append() {
29 install -d ${D}/${sysconfdir} 29 install -d ${D}/${sysconfdir}
30 install -d ${D}/${sysconfdir}/cron.d 30 install -d ${D}/${sysconfdir}/cron.d
31 install ${WORKDIR}/GeoIP.conf ${D}/${sysconfdir}/ 31 install ${UNPACKDIR}/GeoIP.conf ${D}/${sysconfdir}/
32 install ${WORKDIR}/geoipupdate.cron ${D}/${sysconfdir}/cron.d/ 32 install ${UNPACKDIR}/geoipupdate.cron ${D}/${sysconfdir}/cron.d/
33} 33}