public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-java/sun-jre-bin: sun-jre-bin-1.6.0.18.ebuild metadata.xml ChangeLog
@ 2010-01-23 22:23 Vlastimil Babka (caster)
  0 siblings, 0 replies; only message in thread
From: Vlastimil Babka (caster) @ 2010-01-23 22:23 UTC (permalink / raw
  To: gentoo-commits

caster      10/01/23 22:23:08

  Modified:             sun-jre-bin-1.6.0.18.ebuild metadata.xml ChangeLog
  Log:
  Add jce USE flag same as sun-jdk has, as suggested by Amit Dor-Shifer <amitds@oversi.com>.
  (Portage version: 2.2_rc61/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  dev-java/sun-jre-bin/sun-jre-bin-1.6.0.18.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.18.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.18.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.18.ebuild?r1=1.1&r2=1.2

Index: sun-jre-bin-1.6.0.18.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.18.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sun-jre-bin-1.6.0.18.ebuild	21 Jan 2010 12:54:47 -0000	1.1
+++ sun-jre-bin-1.6.0.18.ebuild	23 Jan 2010 22:23:07 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.18.ebuild,v 1.1 2010/01/21 12:54:47 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.18.ebuild,v 1.2 2010/01/23 22:23:07 caster Exp $
 
 inherit versionator pax-utils eutils java-vm-2
 
@@ -21,9 +21,11 @@
 LICENSE="dlj-1.1"
 KEYWORDS="-* ~amd64 ~x86"
 RESTRICT="strip"
-IUSE="X alsa nsplugin odbc"
+IUSE="X alsa jce nsplugin odbc"
 
-RDEPEND="sys-libs/glibc
+DEPEND="jce? ( =dev-java/sun-jce-bin-1.6.0* )"
+RDEPEND="${DEPEND}
+	sys-libs/glibc
 	x86? ( =virtual/libstdc++-3.3 )
 	alsa? ( media-libs/alsa-lib )
 	X? (
@@ -35,7 +37,6 @@
 		x11-libs/libX11
 	)
 	odbc? ( dev-db/unixODBC )"
-DEPEND=""
 
 JAVA_PROVIDE="jdbc-stdext jdbc-rowset"
 
@@ -79,6 +80,17 @@
 	dohtml Welcome.html || die
 	dodir /opt/${P}/share/
 
+	if use jce; then
+		cd "${D}/opt/${P}/lib/security"
+		dodir /opt/${P}/lib/security/strong-jce
+		mv "${D}"/opt/${P}/lib/security/US_export_policy.jar \
+			"${D}"/opt/${P}/lib/security/strong-jce || die
+		mv "${D}"/opt/${P}/lib/security/local_policy.jar \
+			"${D}"/opt/${P}/lib/security/strong-jce || die
+		dosym /opt/sun-jce-bin-1.6.0/jre/lib/security/unlimited-jce/US_export_policy.jar /opt/${P}/lib/security/
+		dosym /opt/sun-jce-bin-1.6.0/jre/lib/security/unlimited-jce/local_policy.jar /opt/${P}/lib/security/
+	fi
+
 	if use nsplugin; then
 		local plugin_dir="ns7-gcc29"
 		if has_version '>=sys-devel/gcc-3' ; then



1.3                  dev-java/sun-jre-bin/metadata.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/metadata.xml?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/metadata.xml?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/metadata.xml?r1=1.2&r2=1.3

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/metadata.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- metadata.xml	23 Sep 2006 01:28:27 -0000	1.2
+++ metadata.xml	23 Jan 2010 22:23:07 -0000	1.3
@@ -3,4 +3,7 @@
 <pkgmetadata>
 	<herd>java</herd>
 	<longdescription>Sun Java Resource Package, also known as J2SE</longdescription>
+	<use>
+		<flag name="jce">Enable Java Cryptographic Extension Unlimited Strength Policy files</flag>
+	</use>
 </pkgmetadata>



1.167                dev-java/sun-jre-bin/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/ChangeLog?rev=1.167&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/ChangeLog?rev=1.167&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/ChangeLog?r1=1.166&r2=1.167

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -r1.166 -r1.167
--- ChangeLog	21 Jan 2010 12:54:47 -0000	1.166
+++ ChangeLog	23 Jan 2010 22:23:07 -0000	1.167
@@ -1,6 +1,11 @@
 # ChangeLog for dev-java/sun-jre-bin
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v 1.166 2010/01/21 12:54:47 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v 1.167 2010/01/23 22:23:07 caster Exp $
+
+  23 Jan 2010; Vlastimil Babka <caster@gentoo.org>
+  sun-jre-bin-1.6.0.18.ebuild, metadata.xml:
+  Add jce USE flag same as sun-jdk has, as suggested by Amit Dor-Shifer
+  <amitds@oversi.com>.
 
 *sun-jre-bin-1.6.0.18 (21 Jan 2010)
 






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-23 22:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-23 22:23 [gentoo-commits] gentoo-x86 commit in dev-java/sun-jre-bin: sun-jre-bin-1.6.0.18.ebuild metadata.xml ChangeLog Vlastimil Babka (caster)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox