]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
libproxy: speed up upstream version check
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>
Mon, 24 Apr 2017 13:15:49 +0000 (16:15 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Apr 2017 10:26:07 +0000 (11:26 +0100)
Something in the fetched webpage made the default regex matching really slow.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-support/libproxy/libproxy_0.4.14.bb

index 8f56aafd62f6a595e8275de93e1e5c99e1c36bca..fcdb82f06ccc8edd78adc09c6e15fb501de6c308 100644 (file)
@@ -11,6 +11,7 @@ DEPENDS = "glib-2.0"
 SRC_URI = "https://github.com/${BPN}/${BPN}/archive/${PV}.tar.gz"
 
 UPSTREAM_CHECK_URI = "https://github.com/libproxy/libproxy/releases"
+UPSTREAM_CHECK_REGEX = "libproxy-(?P<pver>.*)\.tar"
 
 SRC_URI[md5sum] = "272dc378efcc3335154cef30d171e84a"
 SRC_URI[sha256sum] = "6220a6cab837a8996116a0568324cadfd09a07ec16b930d2a330e16d5c2e1eb6"