Commit 170b830d authored by Ed Robinson's avatar Ed Robinson Committed by Jakub Jirutka

community/openjdk7: fix cacerts

This is just a backport of 94969c8a from openjdk8.
parent 8f6e4387
......@@ -6,12 +6,12 @@ _icedteaver=2.6.7
# pkgver is <JDK version>.<JDK update>
# check icedtea JDK when updating
pkgver=7.111.$_icedteaver
pkgrel=1
pkgrel=2
pkgdesc="OpenJDK 7 via IcedTea"
url="http://icedtea.classpath.org/"
arch="all"
license="GPL2 with Classpath"
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 coreutils
......@@ -184,6 +184,11 @@ package() {
# pax mark again (due to fakeroot xattr handling bug)
"$builddir"/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() {
......@@ -203,7 +208,7 @@ jrelib() {
jrebase() {
pkgdesc="OpenJDK 7 Java Runtime (no GUI support)"
depends="$pkgname-jre-lib java-common"
depends="$pkgname-jre-lib java-common java-cacerts"
mkdir -p "$subpkgdir"/$INSTALL_BASE/bin
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment