summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-04-09 10:11:24 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-04-09 10:11:24 +0000
commitd1e393c9c9c0ecf5578019baec6e162b95fdc7f6 (patch)
treeb25410f51cb2b24807856f1535ee4214b5a3d498 /dev-db/sqldeveloper
parentVersion bump. (diff)
downloadhistorical-d1e393c9c9c0ecf5578019baec6e162b95fdc7f6.tar.gz
historical-d1e393c9c9c0ecf5578019baec6e162b95fdc7f6.tar.bz2
historical-d1e393c9c9c0ecf5578019baec6e162b95fdc7f6.zip
Version bump. Thanks to Ján Bednár <jan.bednar@gmail.com> for the ebuild. Bug #360325
Package-Manager: portage-2.2.0_alpha29/cvs/Linux x86_64
Diffstat (limited to 'dev-db/sqldeveloper')
-rw-r--r--dev-db/sqldeveloper/ChangeLog11
-rw-r--r--dev-db/sqldeveloper/Manifest24
-rw-r--r--dev-db/sqldeveloper/sqldeveloper-3.0.04.34.ebuild93
3 files changed, 120 insertions, 8 deletions
diff --git a/dev-db/sqldeveloper/ChangeLog b/dev-db/sqldeveloper/ChangeLog
index 082bd98aa6d0..17010a35994a 100644
--- a/dev-db/sqldeveloper/ChangeLog
+++ b/dev-db/sqldeveloper/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-db/sqldeveloper
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqldeveloper/ChangeLog,v 1.9 2010/08/25 12:11:42 hwoarang Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqldeveloper/ChangeLog,v 1.10 2011/04/09 10:11:24 hwoarang Exp $
+
+*sqldeveloper-3.0.04.34 (09 Apr 2011)
+
+ 09 Apr 2011; Markos Chandras <hwoarang@gentoo.org>
+ +sqldeveloper-3.0.04.34.ebuild:
+ Version bump. Thanks to Ján Bednár <jan.bednar@gmail.com> for the ebuild.
+ Bug #360325
*sqldeveloper-2.1.1.64.45 (25 Aug 2010)
diff --git a/dev-db/sqldeveloper/Manifest b/dev-db/sqldeveloper/Manifest
index 68f5da6b581d..8a5ba854555d 100644
--- a/dev-db/sqldeveloper/Manifest
+++ b/dev-db/sqldeveloper/Manifest
@@ -1,17 +1,29 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA512
AUX sqldeveloper 290 RMD160 c8636f571f0dc48118bb80edd8d8ee8dfc5b60dc SHA1 4a6907dec0bcae73971959fb725c65d9edef0eb9 SHA256 3f9563a05c1c059b92365eb3b3940b118fb70494854f12addf0b4ef90eb49236
DIST sqldeveloper-1.5.4.59.40-no-jre.zip 76430283 RMD160 5e4c76ca9bd173e99fb2bfb64d3694b65847f1a4 SHA1 635b34b87b058242694a797bc83ca655a56a924a SHA256 3849ea6560bc31a17f6c457ffdefde018041e8acb601426a027efd5fea62debc
DIST sqldeveloper-2.1.1.64.45-no-jre.zip 98210855 RMD160 24747b7b10039bfa50dcd71357a5755b40f45d92 SHA1 56493e7eb40371d98c1a524ddeddad87511a56a3 SHA256 13ef31be293f48b1de809a19fbeebb99f41f708219065ab3b0a7b86e2f5d0864
+DIST sqldeveloper-3.0.04.34-no-jre.zip 154645376 RMD160 19ff1cbe56df6e8fa4565c48b914f844006762b1 SHA1 bf5e920fe183adecec47b447ff83aa3617af0e4e SHA256 fa31b31ead6120fe83ca27610345ad20124ff223ae27f4a8a47b5ef0f305f55e
EBUILD sqldeveloper-1.5.4.59.40.ebuild 2204 RMD160 c42fb69b5d67ce7a500fb33fe1a07793c451813d SHA1 039fa82566a4543b4acea14625ffa934cac478bc SHA256 509fc54d93a425d6073fdac8079c5505a9cc5252573c813412f02ef8006c26d7
EBUILD sqldeveloper-2.1.1.64.45.ebuild 2846 RMD160 dac8d28f829e941bd94ac00331fe38edd02f6ec6 SHA1 4cfd0b6c5eac669f3e3b1301bc6628c5c1405ad6 SHA256 95f5ffcfd8a142e9e3257eef9dfa27e5641c75e8791600799a58fe84e9b0c5ec
-MISC ChangeLog 1614 RMD160 5dba0d1db4e2a45c648b8078a5bae30c9cf440fa SHA1 0474dc9deac566d1758b22e15f6767af8cbe8f5e SHA256 cc64aa38d7e27ad66fd7a9bd4b99ca9fcf45d1dd17e90fdfc3b67350f49c03bd
+EBUILD sqldeveloper-3.0.04.34.ebuild 3112 RMD160 16507d865e7e460e4a294a9ee0e7a5bf253a8157 SHA1 c5820c121e0fa4468eab961a6c3d0448a742d1aa SHA256 8195718e5a6565beb76f28121a6c676f4cd6e420e63b9c8c390c7c7859c170ea
+MISC ChangeLog 1834 RMD160 fcbec60ce453030c4e5b9cd27c3dc71e9df98a46 SHA1 c5d4e674f37e9d4eae9a5ce8fd52c7f445d6da95 SHA256 f72377c3f16948aa3d5562b3fa58c016b32abc8c415115bc09721f3c8f9fcc38
MISC metadata.xml 464 RMD160 404227540d97b01adfdd6344194bb733f1720335 SHA1 9139842b430de07b74db2c565fd2c670cbff0cb2 SHA256 b71fb5b793b2885211d3ef283cff7490cabac4cb65632ff6ac65f11d768c5c0e
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAkx1CIgACgkQ9/cejkQaxBBWeACfbjCCEfWaTCf39kZLp5vIe37Z
-XosAn25fywXsTxmSWcQd0D26EW1TKKcB
-=tLy2
+iQIcBAEBCgAGBQJNoE0SAAoJEPqDWhW0r/LC6swP/0eSpb3CJq1CCuei+sqT7EF0
+Wt+9kIIOes9U+8W9tSH/lLHp669IOvDJDab+5JVNJWfIy+tQdWZqxWgMy2RyAcE7
+xUHeOKXnxJiim5/fH4PqPDoQkb6a7HxKroM0ZZqRGVEVGi+aHFip2tT12JT1zkGh
+MmRQEcFDFTR3L0CZquUXiohkA1lApPeggqeE1ssWAip3t3bpCvhbZ4CtcZ/qeQAS
+xqavkmA5bxdHIZD7fCNhXb6xsiL7Tv1eAKFxHlYxmB4QWiepRuHh9xH3Q60nx37E
+FtB+UwALOjbT5tBnSHzGmnjDsgIabxeU3vlplR1y60bVbbgLaYLHWFXCIQgWfhSV
+N+YAKffMZEoK+Rs+HyvvoqSY7c4Dp0otl8LFX1e1AKi6Kmm4lgI+tRhc5DhP/B0R
+dFwlESlnVmOzlomfyV70FpLjWq+k6SqMfPl/QM6r5rnRzK+byEV/GdxqsvXFKJVh
+XtocJ4G6712C+/ozQH++9XByX8qFCMJTYHIXdscz2pBhOJHuco0Sg3uPo88WfOit
+p6WMq8KOtJaDTWX4V2uxmgAZvyJbnojccUPZ5Pf7CS+C/NjqUA6+YZl5ZkiEGi6M
+Rxu2SORW1cH2Z/xBzki5xEl97qSuKTEOHNq0wa0dYPks9Qcd+EpXcw6zR59FnnGf
+5QurfppQtKwAx3p9HKW+
+=hOgJ
-----END PGP SIGNATURE-----
diff --git a/dev-db/sqldeveloper/sqldeveloper-3.0.04.34.ebuild b/dev-db/sqldeveloper/sqldeveloper-3.0.04.34.ebuild
new file mode 100644
index 000000000000..61d3f7f00738
--- /dev/null
+++ b/dev-db/sqldeveloper/sqldeveloper-3.0.04.34.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+EAPI="2"
+
+inherit eutils java-pkg-2
+
+DESCRIPTION="Oracle SQL Developer is a graphical tool for database development"
+HOMEPAGE="http://www.oracle.com/technology/products/database/sql_developer/"
+SRC_URI="${P}-no-jre.zip"
+RESTRICT="fetch"
+
+LICENSE="OTN"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="mssql mysql sybase"
+
+DEPEND="mssql? ( dev-java/jtds:1.2 )
+ mysql? ( dev-java/jdbc-mysql:0 )
+ sybase? ( dev-java/jtds:1.2 )"
+RDEPEND=">=virtual/jdk-1.6.0
+ ${DEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+pkg_nofetch() {
+ eerror "Please go to"
+ eerror " ${HOMEPAGE}"
+ eerror "and download"
+ eerror " Oracle SQL Developer for other platforms"
+ eerror " ${SRC_URI}"
+ eerror "and move it to ${DISTDIR}"
+}
+
+src_prepare() {
+ # we don't need these, do we?
+ find ./ \( -iname "*.exe" -or -iname "*.dll" -or -iname "*.bat" \) -exec rm {} \;
+
+ # they both use jtds, enabling one of them also enables the other one
+ if use mssql && ! use sybase; then
+ einfo "You requested MSSQL support, this also enables Sybase support."
+ fi
+ if use sybase && ! use mssql; then
+ einfo "You requested Sybase support, this also enables MSSQL support."
+ fi
+
+ if use mssql || use sybase; then
+ echo "AddJavaLibFile $(java-pkg_getjars jtds-1.2)" >> sqldeveloper/bin/sqldeveloper.conf
+ fi
+
+ if use mysql; then
+ echo "AddJavaLibFile $(java-pkg_getjars jdbc-mysql)" >> sqldeveloper/bin/sqldeveloper.conf
+ fi
+
+ # this fixes internal Classpath warning
+ cd "${T}"
+ unzip -q "${S}"/jdev/extensions/oracle.jdeveloper.runner.jar META-INF/extension.xml
+ sed -i 's@../../../oracle_common/modules/oracle.nlsrtl_11.1.0@../../jlib@' META-INF/extension.xml || die
+ zip -rq "${S}"/jdev/extensions/oracle.jdeveloper.runner.jar META-INF/extension.xml
+ rm -rf META-INF
+}
+
+src_install() {
+ dodir /opt/${PN}
+ cp -r {dataminer,ide,j2ee,jdbc,jdev,jdev.label,jlib,jviews,lib,modules,rdbms,readme.html,sleepycat,${PN},sqlj,timingframework} \
+ "${D}"/opt/${PN}/ || die "Install failed"
+
+ dobin "${FILESDIR}"/${PN} || die "Install failed"
+
+ mv icon.png ${PN}-32x32.png || die
+ doicon ${PN}-32x32.png || die
+ make_desktop_entry ${PN} "Oracle SQL Developer" ${PN}-32x32 || die
+}
+
+pkg_postinst() {
+ # this temporary fixes FileNotFoundException with datamodeler
+ # this is more like a workaround than permanent fix
+ test -d /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log \
+ || mkdir /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log
+ touch /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log/datamodeler.log
+ chmod -R 1777 /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log/datamodeler.log
+
+ # this fixes another datamodeler FileNotFoundException
+ # also more like a workaround than permanent fix
+ chmod 1777 /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/types/dr_custom_scripts.xml
+
+ echo
+ einfo "If you want to use the TNS connection type you need to set up the"
+ einfo "TNS_ADMIN environment variable to point to the directory your"
+ einfo "tnsnames.ora resides in."
+ echo
+}