aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2018-03-11 17:34:30 -0400
committerArmin Kuster <akuster808@gmail.com>2018-03-16 19:27:54 -0700
commit7e8ef2b7ffe8ac9e9df37c2113601f37819a3b4b (patch)
tree1ae16cf30cb9d7e50b923e81704bd9ba851ed987
parent5da057c1cafb2d50a5cf399d36b01535af50c2ba (diff)
downloadmeta-openembedded-contrib-7e8ef2b7ffe8ac9e9df37c2113601f37819a3b4b.tar.gz
meta-openembedded-contrib-7e8ef2b7ffe8ac9e9df37c2113601f37819a3b4b.tar.bz2
meta-openembedded-contrib-7e8ef2b7ffe8ac9e9df37c2113601f37819a3b4b.zip
hthttpd: add a valid upstream check uri and regex
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb b/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb
index c9fe55b489..37bd7537dd 100644
--- a/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb
+++ b/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb
@@ -14,6 +14,9 @@ SRC_URI = "https://github.com/blueness/${BPN}/archive/v${PV}.tar.gz;downloadfile
SRC_URI[md5sum] = "3cda1b6c8c8542b1510eadb8e540d8b6"
SRC_URI[sha256sum] = "a1ee2806432eaf5b5dd267a0523701f9f1fa00fefd499d5bec42165a41e05846"
+UPSTREAM_CHECK_URI = "https://github.com/blueness/sthttpd/releases/"
+UPSTREAM_CHECK_REGEX = "v(?P<pver>\d+(\.\d+)+).tar.gz"
+
S = "${WORKDIR}/sthttpd-${PV}"
inherit autotools update-rc.d systemd