aboutsummaryrefslogtreecommitdiffstats
path: root/community/openjdk8/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/openjdk8/APKBUILD')
-rw-r--r--community/openjdk8/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/community/openjdk8/APKBUILD b/community/openjdk8/APKBUILD
index 643af101fb..50ac9c083c 100644
--- a/community/openjdk8/APKBUILD
+++ b/community/openjdk8/APKBUILD
@@ -5,12 +5,12 @@ _java_ver=8
_jdk_update=66
_jdk_build=17
pkgver=$_java_ver.$_jdk_update.$_jdk_build
-pkgrel=1
+pkgrel=2
pkgdesc="Sun OpenJDK 8"
url="http://openjdk.java.net"
arch="x86_64 x86"
license="custom"
-depends="$pkgname-jre"
+depends="$pkgname-jre java-cacerts"
options="sover-namecheck"
makedepends="bash findutils tar zip file paxmark gawk util-linux libxslt
autoconf automake linux-headers sed
@@ -145,6 +145,11 @@ package() {
| xargs chmod go+r
pax_mark_vm "$pkgdir"/$INSTALL_BASE
+
+ # symlink to shared java cacerts store
+ rm -f "$pkgdir"/$INSTALL_BASE/jre/lib/security/cacerts
+ ln -sf /etc/ssl/certs/java/cacerts \
+ "$pkgdir"/$INSTALL_BASE/jre/lib/security/cacerts
}
jrelib() {