lsof: update SRC_URI
Upstream lsof releases are hosted on an ftp server which times out download attempts from hosts for which it can not perform a DNS reverse-lookup. See: https://people.freebsd.org/~abe/ http://www.mirrorservice.org seems to be the most commonly used alternative (and using it for SRC_URI allows the custom UPSTREAM_CHECK_URI to be removed). (From OE-Core rev: bb14b19f2c63f88f5da372a6ad4a153da1fc0232) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 4e718242c1554021689a7946add055b22b81ec42) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
01429e2a64
commit
ddb3a2f485
|
@ -6,13 +6,16 @@ SECTION = "devel"
|
|||
LICENSE = "BSD"
|
||||
LIC_FILES_CHKSUM = "file://00README;beginline=645;endline=679;md5=964df275d26429ba3b39dbb9f205172a"
|
||||
|
||||
SRC_URI = "ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_${PV}.tar.bz2"
|
||||
# Upstream lsof releases are hosted on an ftp server which times out download
|
||||
# attempts from hosts for which it can not perform a DNS reverse-lookup (See:
|
||||
# https://people.freebsd.org/~abe/ ). http://www.mirrorservice.org seems to be
|
||||
# the most commonly used alternative.
|
||||
|
||||
SRC_URI = "http://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_${PV}.tar.bz2"
|
||||
|
||||
SRC_URI[md5sum] = "1b9cd34f3fb86856a125abbf2be3a386"
|
||||
SRC_URI[sha256sum] = "81ac2fc5fdc944793baf41a14002b6deb5a29096b387744e28f8c30a360a3718"
|
||||
|
||||
UPSTREAM_CHECK_URI = "http://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof"
|
||||
|
||||
LOCALSRC = "file://${WORKDIR}/lsof_${PV}/lsof_${PV}_src.tar"
|
||||
|
||||
S = "${WORKDIR}/lsof_${PV}_src"
|
||||
|
|
Loading…
Reference in New Issue