All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-networking][PATCH 1/2] geoip-perl: switch away from github archive
@ 2018-05-10  4:22 Trevor Woerner
  2018-05-10  4:22 ` [meta-networking][PATCH 2/2] geoip-perl: update 1.50 -> 1.51 Trevor Woerner
  0 siblings, 1 reply; 2+ messages in thread
From: Trevor Woerner @ 2018-05-10  4:22 UTC (permalink / raw)
  To: openembedded-devel

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>
---
 .../recipes-support/geoip/geoip-perl_1.50.bb          | 11 +++--------
 1 file 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"
 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 \
+S = "${WORKDIR}/git"
+SRCREV = "47f7d49bd15cfc2e5f8c0f5c4068dc8bb0e10e96"
+SRC_URI = "git://github.com/maxmind/geoip-api-perl.git;protocol=https; \
     file://run-ptest \
 "
 
-SRC_URI[md5sum] = "2d7f8b1b54e6ba6d9e3fefce52675815"
-SRC_URI[sha256sum] = "86da0dd67f417a43dc70f15a49bd3619f668970c117b9e7f737b4ab246c240a6"
-
-S = "${WORKDIR}/geoip-api-perl-${PV}"
-
 DEPENDS += "geoip"
 
 inherit cpan ptest
-- 
2.17.0.rc2.3.gc2a499e6c



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [meta-networking][PATCH 2/2] geoip-perl: update 1.50 -> 1.51
  2018-05-10  4:22 [meta-networking][PATCH 1/2] geoip-perl: switch away from github archive Trevor Woerner
@ 2018-05-10  4:22 ` Trevor Woerner
  0 siblings, 0 replies; 2+ messages in thread
From: Trevor Woerner @ 2018-05-10  4:22 UTC (permalink / raw)
  To: openembedded-devel

NOTE: the license checksum changed because the copyright year was changed from
"2016" to "2002 - 2017". There are no other changes to the LICENSE otherwise.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 .../geoip/{geoip-perl_1.50.bb => geoip-perl_1.51.bb}          | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-networking/recipes-support/geoip/{geoip-perl_1.50.bb => geoip-perl_1.51.bb} (87%)

diff --git a/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb b/meta-networking/recipes-support/geoip/geoip-perl_1.51.bb
similarity index 87%
rename from meta-networking/recipes-support/geoip/geoip-perl_1.50.bb
rename to meta-networking/recipes-support/geoip/geoip-perl_1.51.bb
index 95147bdad2..ed5c3a9799 100644
--- a/meta-networking/recipes-support/geoip/geoip-perl_1.50.bb
+++ b/meta-networking/recipes-support/geoip/geoip-perl_1.51.bb
@@ -7,10 +7,10 @@ DESCRIPTION = "perl library for country/city/organization to IP address or hostn
 HOMEPAGE = "http://www.maxmind.com/app/ip-location"
 SECTION = "libdevel"
 LICENSE = "Artistic-1.0 | GPL-1.0+"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=b7a36f55e8ba62aadd74e4f0886a405e"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e4f3ea6e9b28af88dc0321190a1f8250"
 
 S = "${WORKDIR}/git"
-SRCREV = "47f7d49bd15cfc2e5f8c0f5c4068dc8bb0e10e96"
+SRCREV = "4cdfdc38eca237c19c22a8b90490446ce6d970fa"
 SRC_URI = "git://github.com/maxmind/geoip-api-perl.git;protocol=https; \
     file://run-ptest \
 "
-- 
2.17.0.rc2.3.gc2a499e6c



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-10  4:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-10  4:22 [meta-networking][PATCH 1/2] geoip-perl: switch away from github archive Trevor Woerner
2018-05-10  4:22 ` [meta-networking][PATCH 2/2] geoip-perl: update 1.50 -> 1.51 Trevor Woerner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.