aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Woerner <twoerner@gmail.com>2018-05-09 23:32:52 -0400
committerArmin Kuster <akuster808@gmail.com>2018-06-14 20:09:57 -0700
commit738825cf8eeb5387f86f9eb1ea8f20d6513d7e40 (patch)
tree15ce901eb48dea4ddaaf513f7c92127f5b17fad4
parentfb953f4dbd1464d7d32e05a15f23b8ddad22a935 (diff)
downloadmeta-openembedded-contrib-738825cf8eeb5387f86f9eb1ea8f20d6513d7e40.tar.gz
ipcalc: 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> (cherry picked from commit 216652c73b56f8227fab84208ea00cd87381f560) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-networking/recipes-support/ipcalc/ipcalc_0.2.2.bb7
1 files changed, 3 insertions, 4 deletions
diff --git a/meta-networking/recipes-support/ipcalc/ipcalc_0.2.2.bb b/meta-networking/recipes-support/ipcalc/ipcalc_0.2.2.bb
index 3e278db688..b45642404c 100644
--- a/meta-networking/recipes-support/ipcalc/ipcalc_0.2.2.bb
+++ b/meta-networking/recipes-support/ipcalc/ipcalc_0.2.2.bb
@@ -6,14 +6,13 @@ SECTION = "net"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+S = "${WORKDIR}/git"
+SRCREV = "8348808a7869ca8f25a5b5deeaa418c2f6d52758"
SRC_URI = "\
- https://github.com/nmav/ipcalc/archive/${PV}.tar.gz;downloadfilename=ipcalc-${PV}.tar.gz \
+ git://github.com/nmav/ipcalc.git;protocol=https; \
file://0001-Makefile-pass-extra-linker-flags.patch \
"
-SRC_URI[md5sum] = "343db932a3ad407328920b7430965faf"
-SRC_URI[sha256sum] = "bf1b95eca219e564c85fa4233fe65342963cf3e8a303a7e10b4dd7269c864794"
-
export USE_GEOIP = "no"
do_install() {