aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-01-14 13:42:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-01-14 13:42:23 +0000
commit94969c8a556eedeeafb78a33752ab6b6e6f7f892 (patch)
tree502e52f0861bcfa73b2d2066a64c599ce5b1fda8 /community
parent86f1c9c767a12cfd43cdd71a26647dc3c26a0fa3 (diff)
downloadaports-94969c8a556eedeeafb78a33752ab6b6e6f7f892.tar.bz2
aports-94969c8a556eedeeafb78a33752ab6b6e6f7f892.tar.xz
community/openjdk8: fix cacerts
ref #4128
Diffstat (limited to 'community')
-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() {