diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-07-20 18:18:14 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-07-21 09:40:20 -0700 |
commit | 659ce8b3758c5a1e791a760484a31293f787b21d (patch) | |
tree | 97445d5f971e7adce3aabef154f6abd6227a38b9 /meta-webserver | |
parent | 0f61a72a031af005b5a5fc71ee590b49fa911799 (diff) | |
download | meta-openembedded-659ce8b3758c5a1e791a760484a31293f787b21d.tar.gz |
sthttpd: Use git SRC_URI instead of github archive
Fixes
SRC_URI uses unstable GitHub archives [src-uri-bad]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-webserver')
-rw-r--r-- | meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb | 8 |
1 files changed, 3 insertions, 5 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 8632b97f4..560dd9b6e 100644 --- a/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb +++ b/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb | |||
@@ -6,18 +6,16 @@ LIC_FILES_CHKSUM = "file://src/thttpd.c;beginline=1;endline=26;md5=0c5762c2c34dc | |||
6 | 6 | ||
7 | DEPENDS += "base-passwd virtual/crypt" | 7 | DEPENDS += "base-passwd virtual/crypt" |
8 | 8 | ||
9 | SRC_URI = "https://github.com/blueness/${BPN}/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz \ | 9 | SRCREV = "2845bf5bff2b820d2336c8c8061cbfc5f271e720" |
10 | SRC_URI = "git://github.com/blueness/${BPN} \ | ||
10 | file://thttpd.service \ | 11 | file://thttpd.service \ |
11 | file://thttpd.conf \ | 12 | file://thttpd.conf \ |
12 | file://init" | 13 | file://init" |
13 | 14 | ||
14 | SRC_URI[md5sum] = "3cda1b6c8c8542b1510eadb8e540d8b6" | ||
15 | SRC_URI[sha256sum] = "a1ee2806432eaf5b5dd267a0523701f9f1fa00fefd499d5bec42165a41e05846" | ||
16 | |||
17 | UPSTREAM_CHECK_URI = "https://github.com/blueness/sthttpd/releases/" | 15 | UPSTREAM_CHECK_URI = "https://github.com/blueness/sthttpd/releases/" |
18 | UPSTREAM_CHECK_REGEX = "v(?P<pver>\d+(\.\d+)+).tar.gz" | 16 | UPSTREAM_CHECK_REGEX = "v(?P<pver>\d+(\.\d+)+).tar.gz" |
19 | 17 | ||
20 | S = "${WORKDIR}/sthttpd-${PV}" | 18 | S = "${WORKDIR}/git" |
21 | 19 | ||
22 | inherit autotools update-rc.d systemd update-alternatives | 20 | inherit autotools update-rc.d systemd update-alternatives |
23 | 21 | ||