ca-certificates: use TERMUX_PREFIX + fix for openjdk
OpenJDK certs installation is not tested and I'm not sure whether they are still needed at all.
This commit is contained in:
parent
45ab232aa4
commit
3ba788c1aa
@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Common CA certificates"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=20211001
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_SRCURL=https://curl.se/ca/cacert.pem
|
||||
# If the checksum has changed, it may be time to update the package version:
|
||||
TERMUX_PKG_SHA256=f524fc21859b776e18df01a87880efa198112214e13494275dbcbd9bcb71d976
|
||||
@ -27,7 +28,7 @@ termux_step_make_install() {
|
||||
$KEYUTIL_JAR \
|
||||
18f1d2c82839d84949b1ad015343c509e81ef678c24db6112acc6c0761314610
|
||||
|
||||
local JAVA_KEYSTORE_DIR=$PREFIX/lib/jvm/openjdk-9/lib/security
|
||||
local JAVA_KEYSTORE_DIR=$TERMUX_PREFIX/opt/openjdk-17/lib/security
|
||||
mkdir -p $JAVA_KEYSTORE_DIR
|
||||
|
||||
java -jar $KEYUTIL_JAR \
|
||||
|
Loading…
Reference in New Issue
Block a user