Skip to contentSkip to conversation

rhino: Update SRC_URI to point to valid URL

PATCH New wangmy 1 participant 1 message May 15, 2023

lore
Share & tools
lore

wangmy

author
#0 lore raw

PATCH 1/1 rhino: Update SRC_URI to point to valid URL

From: Wang Mingyu <[email protected]>

---
 recipes-core/rhino/rhino_1.7r4.bb | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
recipes-core/rhino/rhino_1.7r4.bb +3 -5
index 54329c1..53806fe 100644
@@ -11,12 +11,13 @@ PACKAGE_ARCH = "${TUNE_PKGARCH}"
 inherit java-library
 
 SRC_URI = "\
-	https://github.com/downloads/mozilla/rhino/rhino1_7R4.zip \
+	git://github.com/mozilla/rhino.git;branch=master;protocol=https \
 	file://rhino \
 	file://rhino-jsc \
 	"
+SRCREV = "82ffb8f3e09e77e3b1f5782c35b621e7ca742b58"
 
-S = "${WORKDIR}/rhino1_7R4"
+S = "${WORKDIR}/git"
 
 PACKAGES = "${JPN} rhino"
 
@@ -45,6 +46,3 @@ do_install:append() {
 	install -m 0755 ${WORKDIR}/rhino ${D}${bindir}
 	install -m 0755 ${WORKDIR}/rhino-jsc ${D}${bindir}
 }
-
-SRC_URI[md5sum] = "ad67a3dff135e3a70f0c3528a2d6edf2"
-SRC_URI[sha256sum] = "9eb08f85bbe7c8e0b9eaffb1cf4984b31fb679f3c8a682acc3bb8ac20626c61e"
Signature · 1 line
2.34.1