diff options
| author | Trevor Woerner <twoerner@gmail.com> | 2018-05-10 00:22:04 -0400 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2018-05-17 08:32:26 -0700 |
| commit | fed506befd558e93e53c737ce555b124487417a2 (patch) | |
| tree | 4069eec6dfbaa2b0ca4b13792a3d626e6e9e369a /meta-networking | |
| parent | 216652c73b56f8227fab84208ea00cd87381f560 (diff) | |
| download | meta-openembedded-fed506befd558e93e53c737ce555b124487417a2.tar.gz | |
geoip-perl: switch away from github archive
Since we know that github archives which are automatically generated have a
tendency to change their checksums[1], switch to using a git clone.
[1] http://lists.openembedded.org/pipermail/openembedded-devel/2017-September/114916.html
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking')
| -rw-r--r-- | meta-networking/recipes-support/geoip/geoip-perl_1.50.bb | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb b/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb index a8c8bcf580..95147bdad2 100644 --- a/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb +++ b/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb | |||
| @@ -9,17 +9,12 @@ SECTION = "libdevel" | |||
| 9 | LICENSE = "Artistic-1.0 | GPL-1.0+" | 9 | LICENSE = "Artistic-1.0 | GPL-1.0+" |
| 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b7a36f55e8ba62aadd74e4f0886a405e" | 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b7a36f55e8ba62aadd74e4f0886a405e" |
| 11 | 11 | ||
| 12 | # Note that we do not want to use the upstream file name locally. | 12 | S = "${WORKDIR}/git" |
| 13 | # | 13 | SRCREV = "47f7d49bd15cfc2e5f8c0f5c4068dc8bb0e10e96" |
| 14 | SRC_URI = "http://github.com/maxmind/geoip-api-perl/archive/v${PV}.tar.gz;downloadfilename=${BPN}-${PV}.tar.gz \ | 14 | SRC_URI = "git://github.com/maxmind/geoip-api-perl.git;protocol=https; \ |
| 15 | file://run-ptest \ | 15 | file://run-ptest \ |
| 16 | " | 16 | " |
| 17 | 17 | ||
| 18 | SRC_URI[md5sum] = "2d7f8b1b54e6ba6d9e3fefce52675815" | ||
| 19 | SRC_URI[sha256sum] = "86da0dd67f417a43dc70f15a49bd3619f668970c117b9e7f737b4ab246c240a6" | ||
| 20 | |||
| 21 | S = "${WORKDIR}/geoip-api-perl-${PV}" | ||
| 22 | |||
| 23 | DEPENDS += "geoip" | 18 | DEPENDS += "geoip" |
| 24 | 19 | ||
| 25 | inherit cpan ptest | 20 | inherit cpan ptest |
