From af864a7000525781794f989366dc13da6e51fed8 Mon Sep 17 00:00:00 2001 From: Mingli Yu Date: Mon, 26 Sep 2016 15:41:45 +0800 Subject: geoip-perl: upgrade to 1.50 * Upgrade geoip-perl from 1.45 to 1.50 * Update LIC_FILES_CHKSUM to check LICENSE file instead of the previous README as no README file in 1.50 Signed-off-by: Mingli Yu Signed-off-by: Martin Jansa Signed-off-by: Joe MacDonald --- .../recipes-support/geoip/geoip-perl_1.45.bb | 40 ---------------------- .../recipes-support/geoip/geoip-perl_1.50.bb | 40 ++++++++++++++++++++++ 2 files changed, 40 insertions(+), 40 deletions(-) delete mode 100644 meta-networking/recipes-support/geoip/geoip-perl_1.45.bb create mode 100644 meta-networking/recipes-support/geoip/geoip-perl_1.50.bb (limited to 'meta-networking') diff --git a/meta-networking/recipes-support/geoip/geoip-perl_1.45.bb b/meta-networking/recipes-support/geoip/geoip-perl_1.45.bb deleted file mode 100644 index fd3aae94b3..0000000000 --- a/meta-networking/recipes-support/geoip/geoip-perl_1.45.bb +++ /dev/null @@ -1,40 +0,0 @@ -# -# Copyright (C) 2014, 2015 Wind River Systems, Inc. -# Released under the MIT license (see COPYING.MIT for the terms) -# -SUMMARY = "GeoIP perl API library to access location database" -DESCRIPTION = "perl library for country/city/organization to IP address or hostname mapping" -HOMEPAGE = "http://www.maxmind.com/app/ip-location" -SECTION = "libdevel" -LICENSE = "Artistic-1.0 | GPL-1.0+" -LIC_FILES_CHKSUM = "file://README;md5=b0fa745303912bd2d64430f7ae69487d" - -# Note that we do not want to use the upstream file name locally. -# -SRC_URI = "http://github.com/maxmind/geoip-api-perl/archive/v${PV}.tar.gz;downloadfilename=${BPN}-${PV}.tar.gz \ - file://run-ptest \ -" - -SRC_URI[md5sum] = "0ce57140890bf81958e0cea4fe1885b2" -SRC_URI[sha256sum] = "c56437b1cc8887736cb1e435d0320c1c1ff3754830249516317b99137005fb23" - -S = "${WORKDIR}/geoip-api-perl-${PV}" - -DEPENDS += "geoip" - -inherit cpan ptest - -EXTRA_CPANFLAGS = "LIBS='-L${STAGING_LIBDIR}' INC='-I${STAGING_INCDIR}'" - - -# perl scripts and some special small data files -# -do_install_ptest () { - install -d -m 0755 ${D}${PTEST_PATH}/t/data - - install ${S}/t/*.t* ${D}${PTEST_PATH}/t - install ${S}/t/data/* ${D}${PTEST_PATH}/t/data -} - -FILES_${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/Geo/IP/.debug" - diff --git a/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb b/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb new file mode 100644 index 0000000000..a8c8bcf580 --- /dev/null +++ b/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb @@ -0,0 +1,40 @@ +# +# Copyright (C) 2014, 2015 Wind River Systems, Inc. +# Released under the MIT license (see COPYING.MIT for the terms) +# +SUMMARY = "GeoIP perl API library to access location database" +DESCRIPTION = "perl library for country/city/organization to IP address or hostname mapping" +HOMEPAGE = "http://www.maxmind.com/app/ip-location" +SECTION = "libdevel" +LICENSE = "Artistic-1.0 | GPL-1.0+" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b7a36f55e8ba62aadd74e4f0886a405e" + +# Note that we do not want to use the upstream file name locally. +# +SRC_URI = "http://github.com/maxmind/geoip-api-perl/archive/v${PV}.tar.gz;downloadfilename=${BPN}-${PV}.tar.gz \ + file://run-ptest \ +" + +SRC_URI[md5sum] = "2d7f8b1b54e6ba6d9e3fefce52675815" +SRC_URI[sha256sum] = "86da0dd67f417a43dc70f15a49bd3619f668970c117b9e7f737b4ab246c240a6" + +S = "${WORKDIR}/geoip-api-perl-${PV}" + +DEPENDS += "geoip" + +inherit cpan ptest + +EXTRA_CPANFLAGS = "LIBS='-L${STAGING_LIBDIR}' INC='-I${STAGING_INCDIR}'" + + +# perl scripts and some special small data files +# +do_install_ptest () { + install -d -m 0755 ${D}${PTEST_PATH}/t/data + + install ${S}/t/*.t* ${D}${PTEST_PATH}/t + install ${S}/t/data/* ${D}${PTEST_PATH}/t/data +} + +FILES_${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/Geo/IP/.debug" + -- cgit v1.2.3-54-g00ecf