diff mbox series

[meta-java] rhino: Update SRC_URI to point to valid URL

Message ID 1684119054-17238-1-git-send-email-wangmy@fujitsu.com
State New
Headers show
Series [meta-java] rhino: Update SRC_URI to point to valid URL | expand

Commit Message

Mingyu Wang (Fujitsu) May 15, 2023, 2:50 a.m. UTC
From: Wang Mingyu <wangmy@fujitsu.com>

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 recipes-core/rhino/rhino_1.7r4.bb | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/recipes-core/rhino/rhino_1.7r4.bb b/recipes-core/rhino/rhino_1.7r4.bb
index 54329c1..53806fe 100644
--- a/recipes-core/rhino/rhino_1.7r4.bb
+++ b/recipes-core/rhino/rhino_1.7r4.bb
@@ -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"