aboutsummaryrefslogtreecommitdiffstats
path: root/community/openjdk8/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-01-14 13:42:23 +0000
committerNatanael <ncopa@alpinelinux.org>2016-01-14 13:59:48 +0000
commit2445067072ee0b830308575d5d63ce0981a73de3 (patch)
tree11080881ca55421491f400d49fb59ee629df68b1 /community/openjdk8/APKBUILD
parent13bf149a13496635ddb31eac63107dc86085b7f6 (diff)
downloadaports-2445067072ee0b830308575d5d63ce0981a73de3.tar.gz
aports-2445067072ee0b830308575d5d63ce0981a73de3.tar.bz2
aports-2445067072ee0b830308575d5d63ce0981a73de3.tar.xz
community/openjdk8: fix cacerts
fixes #4128 (cherry picked from commit 94969c8a556eedeeafb78a33752ab6b6e6f7f892)
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() {