Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=75a8ac9d8f9d97d70925ef778d36e2bd89568814

commit 75a8ac9d8f9d97d70925ef778d36e2bd89568814
Author: DeX77 <de...@frugalware.org>
Date:   Wed Oct 2 11:39:18 2013 +0200

openjdk-7-7-x86_64

* release bump
+ added openjre.install to create Java SSL keystore

diff --git a/source/devel-extra/openjdk/FrugalBuild 
b/source/devel-extra/openjdk/FrugalBuild
index 3f6ed91..a5b7789 100644
--- a/source/devel-extra/openjdk/FrugalBuild
+++ b/source/devel-extra/openjdk/FrugalBuild
@@ -8,7 +8,7 @@ _updatever=u7
pkgver=7
icedteaver=2.3.3
javaver="$pkgver-openjdk"
-pkgrel=6
+pkgrel=7
pkgdesc="Open-source Java Development Kit implementation."
url="http://openjdk.java.net/";
depends=('libx11')
diff --git a/source/devel-extra/openjdk/openjre.install 
b/source/devel-extra/openjdk/openjre.install
new file mode 100755
index 0000000..e0fbb4b
--- /dev/null
+++ b/source/devel-extra/openjdk/openjre.install
@@ -0,0 +1,13 @@
+post_upgrade()
+{
+
+       KEYSTORE="/usr/lib/jvm/java-7-openjdk/jre/lib/security/cacerts"
+
+       for i in `find /etc/ssl/certs ! -type d`
+       do
+               filename=$(basename "$i")
+               aliasname="${filename%.*}"
+               /usr/lib/jvm/java-7-openjdk/jre/bin/keytool -import -keystore 
$KEYSTORE -storepass changeit -noprompt -file $i -alias $aliasname
+       done
+
+}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to