diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-05-15 21:02:26 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-05-15 21:02:26 +0000 |
commit | 68a894f8596731c7c03b3e44797650a3d1921450 (patch) | |
tree | fe074d09539d277491d8a123cf53113d83538a7b /dev-db/c-jdbc | |
parent | add <herd>no-herd</herd> (diff) | |
download | historical-68a894f8596731c7c03b3e44797650a3d1921450.tar.gz historical-68a894f8596731c7c03b3e44797650a3d1921450.tar.bz2 historical-68a894f8596731c7c03b3e44797650a3d1921450.zip |
Moved c-jdbc to Junkyard.
Diffstat (limited to 'dev-db/c-jdbc')
-rw-r--r-- | dev-db/c-jdbc/ChangeLog | 47 | ||||
-rw-r--r-- | dev-db/c-jdbc/Manifest | 36 | ||||
-rw-r--r-- | dev-db/c-jdbc/c-jdbc-1.0.4-r1.ebuild | 149 | ||||
-rw-r--r-- | dev-db/c-jdbc/files/c-jdbc-1.0.4-gentoo.patch | 121 | ||||
-rw-r--r-- | dev-db/c-jdbc/files/cjdbc-conf | 6 | ||||
-rw-r--r-- | dev-db/c-jdbc/files/cjdbc-init | 37 | ||||
-rw-r--r-- | dev-db/c-jdbc/files/console.sh | 14 | ||||
-rw-r--r-- | dev-db/c-jdbc/files/controller.sh | 23 | ||||
-rw-r--r-- | dev-db/c-jdbc/files/digest-c-jdbc-1.0.4-r1 | 3 | ||||
-rw-r--r-- | dev-db/c-jdbc/metadata.xml | 5 |
10 files changed, 0 insertions, 441 deletions
diff --git a/dev-db/c-jdbc/ChangeLog b/dev-db/c-jdbc/ChangeLog deleted file mode 100644 index cba5b9236761..000000000000 --- a/dev-db/c-jdbc/ChangeLog +++ /dev/null @@ -1,47 +0,0 @@ -# ChangeLog for dev-db/c-jdbc -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/c-jdbc/ChangeLog,v 1.11 2006/11/28 04:25:04 nichoj Exp $ - - 28 Nov 2006; Joshua Nichols <nichoj@gentoo.org> c-jdbc-1.0.4-r1.ebuild: - Changed mx4j slot from 2.1 to 3.0. - - 14 Sep 2006; Joshua Nichols <nichoj@gentoo.org> c-jdbc-1.0.4-r1.ebuild: - Added call to java-pkg_pkg_setup. - - 06 Aug 2006; Joshua Nichols <nichoj@gentoo.org> c-jdbc-1.0.4-r1.ebuild: - Fixed enewuser and enewgroup calls, to address bug #142752 - - 27 Apr 2006; Marien Zwart <marienz@gentoo.org> - files/digest-c-jdbc-1.0.4-r1, Manifest: - Fixing SHA256 digest, pass four - - 11 Mar 2006; Petteri Räty <betelgeuse@gentoo.org> c-jdbc-1.0.4-r1.ebuild: - Moved enewgroup and enewuser calls from src_install to pkg_setup for bug - #124680. - - 18 Dec 2005; Joshua Nichols <nichoj@gentoo.org> c-jdbc-1.0.4-r1.ebuild: - Loosened jaxen and dom4j dependencies. - - 06 May 2005; Sven Wegener <swegener@gentoo.org> c-jdbc-1.0.4-r1.ebuild: - Removed * postfix from <, <=, >= and > dependencies. - - 17 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org> files/controller.sh, - c-jdbc-1.0.4-r1.ebuild: - xml-apis.jar is provided by xml-commons , see #82561 - -*c-jdbc-1.0.4-r1 (27 Mar 2005) - - 27 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> files/controller.sh, - +c-jdbc-1.0.4-r1.ebuild, -c-jdbc-1.0.4.ebuild: - moved from dev-java/regexp to dev-java/jakarta-regexp dependency. see #71336 - - 04 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> c-jdbc-1.0.4.ebuild: - changed xml-commons dependency to xerces-2 dependency in order to fix #82561 - -*c-jdbc-1.0.4 (22 Jan 2005) - - 22 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> +metadata.xml, - +files/c-jdbc-1.0.4-gentoo.patch, +files/cjdbc-conf, +files/cjdbc-init, - +files/console.sh, +files/controller.sh, +c-jdbc-1.0.4.ebuild: - Initial import. Fixes #62512 - diff --git a/dev-db/c-jdbc/Manifest b/dev-db/c-jdbc/Manifest deleted file mode 100644 index 56296824851b..000000000000 --- a/dev-db/c-jdbc/Manifest +++ /dev/null @@ -1,36 +0,0 @@ -AUX c-jdbc-1.0.4-gentoo.patch 5047 RMD160 fdb19ac9f02c7a7f72d6bb89ddf22c59c88e328c SHA1 407f020f1a4a7c069e814e25e279c90416b19c39 SHA256 4db6305149430630f189ea64877e126133dac2512cc19f1250f77cf892c97ecd -MD5 6f7e7b9ace7df13d6bab70f487a31189 files/c-jdbc-1.0.4-gentoo.patch 5047 -RMD160 fdb19ac9f02c7a7f72d6bb89ddf22c59c88e328c files/c-jdbc-1.0.4-gentoo.patch 5047 -SHA256 4db6305149430630f189ea64877e126133dac2512cc19f1250f77cf892c97ecd files/c-jdbc-1.0.4-gentoo.patch 5047 -AUX cjdbc-conf 313 RMD160 f38d89fb3e5090cf18a5a544d6aa46cac5c73822 SHA1 41ff836806f597a2276890f42b776fc8705e2be2 SHA256 b55516531e7bac03c002a29b73766bca2c7c232449c377030281e444cce10448 -MD5 c366d1203f27f5438c29bc3a5724ab73 files/cjdbc-conf 313 -RMD160 f38d89fb3e5090cf18a5a544d6aa46cac5c73822 files/cjdbc-conf 313 -SHA256 b55516531e7bac03c002a29b73766bca2c7c232449c377030281e444cce10448 files/cjdbc-conf 313 -AUX cjdbc-init 926 RMD160 163c6906fa22c6e49a8df62e3fbadd34c1121b8f SHA1 096f765833d8cb25ddc2534f96a7f4ed8c9c21f0 SHA256 eb11bd0f0bd66d0bffe2c5ed6daf5550676afcee9d9386e6d792bc32dbabbc8e -MD5 9c7589e63d5760dde9a3d56fdc58e6a7 files/cjdbc-init 926 -RMD160 163c6906fa22c6e49a8df62e3fbadd34c1121b8f files/cjdbc-init 926 -SHA256 eb11bd0f0bd66d0bffe2c5ed6daf5550676afcee9d9386e6d792bc32dbabbc8e files/cjdbc-init 926 -AUX console.sh 606 RMD160 5a5d1d144b02e6c7d5359c1b1f466a2abb7a930e SHA1 184b73b964c56880669313a806832818786e52d0 SHA256 e90bce6b102d9ee3658b6ac261720f0b0468524e95b4773c503defe358d04cc9 -MD5 62ac24f25532a4183e3ed1e1480878e7 files/console.sh 606 -RMD160 5a5d1d144b02e6c7d5359c1b1f466a2abb7a930e files/console.sh 606 -SHA256 e90bce6b102d9ee3658b6ac261720f0b0468524e95b4773c503defe358d04cc9 files/console.sh 606 -AUX controller.sh 1133 RMD160 78ff8d62deabc03364fcf9ec04175da12cb2498f SHA1 56c869619b5f337b5cf4ec234871a199a5b5dee4 SHA256 562e5737d55a9a059cfd54855ac2a35e0c8481847164cdd53c88bced6327ded5 -MD5 d1171c36b6ee239f4db6aeaa9ad7519a files/controller.sh 1133 -RMD160 78ff8d62deabc03364fcf9ec04175da12cb2498f files/controller.sh 1133 -SHA256 562e5737d55a9a059cfd54855ac2a35e0c8481847164cdd53c88bced6327ded5 files/controller.sh 1133 -DIST c-jdbc-1.0.4-src.tar.gz 29619297 RMD160 9e50d4d5a44f39547d9790a590d118b7bbbb17fe SHA1 f18ab29272cc2b9ab0ab577c37a84ce20ec4daa7 SHA256 8a6f7a990a65b2e6a7e8b40c50589fd50e603886887c9ca719ae68bc7a31070e -EBUILD c-jdbc-1.0.4-r1.ebuild 3689 RMD160 5c99298a1c953a961512d682d0a89e56b18a9517 SHA1 f9db14c6492dd29a13ae8bcdc257f17121fa07e9 SHA256 6a3684da60514ed06b5b62e6bc6299e273c3001aa266ed2df88eb309e9eb8c5d -MD5 cda988f60254a754c3e0e8bf119df8cd c-jdbc-1.0.4-r1.ebuild 3689 -RMD160 5c99298a1c953a961512d682d0a89e56b18a9517 c-jdbc-1.0.4-r1.ebuild 3689 -SHA256 6a3684da60514ed06b5b62e6bc6299e273c3001aa266ed2df88eb309e9eb8c5d c-jdbc-1.0.4-r1.ebuild 3689 -MISC ChangeLog 1904 RMD160 880bc37a8183e97b02057fa3f1e36ea490ecec76 SHA1 87eee691646fa8cda07c26a6e54b3e4868ddf2ca SHA256 ce7c22e42f0123cbe4b272b49c5100035d55757be2b083856262966e466d2b2a -MD5 fa0d8db3077b9845ea000fb9587929d9 ChangeLog 1904 -RMD160 880bc37a8183e97b02057fa3f1e36ea490ecec76 ChangeLog 1904 -SHA256 ce7c22e42f0123cbe4b272b49c5100035d55757be2b083856262966e466d2b2a ChangeLog 1904 -MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb -MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158 -RMD160 493079b5fb71d66863beea1b023901c90ba81be5 metadata.xml 158 -SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb metadata.xml 158 -MD5 9d0dc73314f17ac91963c36e6b458447 files/digest-c-jdbc-1.0.4-r1 256 -RMD160 0d6fed62771e52ce60f08675ab6ec72640dc8674 files/digest-c-jdbc-1.0.4-r1 256 -SHA256 889efbccb9a553331b79b4682682499ece17c8e9fcc05ce699e5d5fb6237def5 files/digest-c-jdbc-1.0.4-r1 256 diff --git a/dev-db/c-jdbc/c-jdbc-1.0.4-r1.ebuild b/dev-db/c-jdbc/c-jdbc-1.0.4-r1.ebuild deleted file mode 100644 index fd7a16649f1f..000000000000 --- a/dev-db/c-jdbc/c-jdbc-1.0.4-r1.ebuild +++ /dev/null @@ -1,149 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/c-jdbc/c-jdbc-1.0.4-r1.ebuild,v 1.12 2006/11/28 04:25:04 nichoj Exp $ - -inherit java-pkg eutils - -DESCRIPTION="Transparent Database Clustering Middleware" -HOMEPAGE="http://c-jdbc.objectweb.org" -SRC_URI="http://download.forge.objectweb.org/${PN}/${P}-src.tar.gz" -LICENSE="LGPL-2.1" -SLOT="1" -KEYWORDS="~amd64 ~x86" -IUSE="doc jikes examples" -RDEPEND=">=virtual/jre-1.3 - dev-java/ant - =dev-java/commons-cli-1* - =dev-java/crimson-1* - =dev-java/dom4j-1* - =dev-java/dtdparser-1.21* - =dev-java/jaxen-1.1* - =dev-java/jcommon-0.9* - >=dev-java/jdepend-2.6 - >=dev-java/jdbc2-stdext-2.0 - >=dev-java/jgroups-2.2.7 - =dev-java/jfreechart-0.9.21* - >=dev-java/kunststoff-2.0.2 - >=dev-java/log4j-1.2.8 - =dev-java/mx4j-3.0* - =dev-java/jakarta-regexp-1.3* - >=dev-java/xalan-2.5.2 - dev-java/xml-commons - =dev-db/octopus-3.0*" -DEPEND=">=virtual/jdk-1.3 - ${RDEPEND} - jikes? ( >=dev-java/jikes-1.21 )" - -S=${WORKDIR}/${P}-src - -pkg_setup() { - java-pkg_pkg_setup - - # add a user for cjdbc - enewgroup cjdbc - enewuser cjdbc -1 /bin/sh /dev/null cjdbc -} - -src_unpack() { - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${P}-gentoo.patch - - rm -f 3rdparty/*/lib/*.jar - cd ${S}/lib - - rm -f *.jar */*.jar - - java-pkg_jar-from commons-cli-1 - java-pkg_jar-from crimson-1 - java-pkg_jar-from dtdparser-1.21 - java-pkg_jar-from jakarta-regexp-1.3 - java-pkg_jar-from jaxen-1.1 - java-pkg_jar-from jcommon - java-pkg_jar-from jdbc2-stdext - java-pkg_jar-from jfreechart - java-pkg_jar-from kunststoff-2.0 - java-pkg_jar-from log4j - java-pkg_jar-from jgroups - java-pkg_jar-from dom4j-1 - - cd ${S}/lib/jmx - java-pkg_jar-from mx4j-3.0 - java-pkg_jar-from xalan - java-pkg_jar-from xml-commons xml-apis.jar - - cd ${S}/lib/other - java-pkg_jar-from jdepend - - cd ${S}/lib/octopus - java-pkg_jar-from octopus-3.0 -} - -src_compile() { - local antflags="jar" - use doc && antflags="${antflags} javadoc" - use jikes && antflags="${antflags} -Dbuild.compiler=jikes" - ant ${antflags} || die "compilation failed" -} - -src_install() { - # install the jar file - java-pkg_dojar build/jar/*.jar - dodoc README.txt doc/HISTORY.txt doc/LICENSE.txt - - # install the controller config under /etc - dodir /etc/c-jdbc - cp -r config/controller/* ${D}/etc/c-jdbc - rm -rf config/controller config/izpack - - # install the startup scripts - newbin ${FILESDIR}/console.sh cjdbc-console - newsbin ${FILESDIR}/controller.sh cjdbc-controller - - # init script und conf.d file - dodir /etc/init.d - cp ${FILESDIR}/cjdbc-init ${D}/etc/init.d/cjdbc - - dodir /etc/conf.d - cp ${FILESDIR}/cjdbc-conf ${D}/etc/conf.d/cjdbc - - # directories which we need - mv lib/jmx/xsl xsl - local dir="config xml xsl" - for i in ${dir} - do - cp -r ${i} ${D}usr/share/${PN}-${SLOT} - done - - # an environment file to set the home directory - dodir /etc/env.d/ - echo "CJDBC_HOME=/usr/share/${PN}-${SLOT}" > ${D}etc/env.d/20cjdbc - - # we need a log directory - dodir /var/log/c-jdbc - touch ${D}/var/log/c-jdbc/cjdbc.log - touch ${D}/var/log/c-jdbc/request.log - fperms 775 /var/log/c-jdbc/cjdbc.log - fperms 775 /var/log/c-jdbc/request.log - fowners cjdbc:cjdbc /var/log/c-jdbc/cjdbc.log - fowners cjdbc:cjdbc /var/log/c-jdbc/request.log - - - # install the documentation and examples (depends on use-flags) - if use doc; then - java-pkg_dohtml -r build/doc/api/* - fi - if use examples; then - dodir /usr/share/doc/${PF}/examples - cp -r doc/examples/* ${D}usr/share/doc/${PF}/examples - fi -} - -pkg_postinst() { - ewarn "" - ewarn "Default config was placed in /etc/c-jdbc/controller.xml." - ewarn "Edit this one to fit your needs or specify another filename" - ewarn "in /etc/conf.d/cjdbc." - ewarn "" -} diff --git a/dev-db/c-jdbc/files/c-jdbc-1.0.4-gentoo.patch b/dev-db/c-jdbc/files/c-jdbc-1.0.4-gentoo.patch deleted file mode 100644 index e0d09975b594..000000000000 --- a/dev-db/c-jdbc/files/c-jdbc-1.0.4-gentoo.patch +++ /dev/null @@ -1,121 +0,0 @@ -diff -urpN c-jdbc-1.0.4-src.orig/build.properties c-jdbc-1.0.4-src/build.properties ---- c-jdbc-1.0.4-src.orig/build.properties 2004-12-27 01:22:43.930688624 +0100 -+++ c-jdbc-1.0.4-src/build.properties 2004-12-27 01:23:38.851339416 +0100 -@@ -35,6 +35,7 @@ javac.deprecation = false - javac.optimize = true - javac.encoding = UTF8 - javac.target = 1.3 -+javac.source = 1.3 - - # Javadoc bottom text - javadoc.bottom = Copyright © 2002, 2004 - ObjectWeb Consortium - All Rights Reserved. -@@ -79,4 +80,4 @@ test.timeout=600000 - cvs.user.name=modrzyk - cvs.url=cvs.c-jdbc.forge.objectweb.org:/cvsroot/c-jdbc - cvs.noexec=false --cvs.noexec=true -\ No newline at end of file -+cvs.noexec=true -diff -urpN c-jdbc-1.0.4-src.orig/build.xml c-jdbc-1.0.4-src/build.xml ---- c-jdbc-1.0.4-src.orig/build.xml 2004-12-27 01:22:43.937687560 +0100 -+++ c-jdbc-1.0.4-src/build.xml 2004-12-27 01:23:38.852339264 +0100 -@@ -217,6 +217,7 @@ - destdir="${build.classes}" - includes="org/objectweb/cjdbc/common/util/Constants.java" - target="${javac.target}" -+ source="${javac.source}" - classpathref="classpath" - debug="${javac.debug}" - depend="${javac.depend}" -@@ -238,6 +239,7 @@ - destdir="${build.classes}" - includes="org/objectweb/cjdbc/common/**/*" - target="${javac.target}" -+ source="${javac.source}" - classpathref="classpath" - debug="${javac.debug}" - depend="${javac.depend}" -@@ -270,6 +272,7 @@ - includes="org/objectweb/cjdbc/driver/**/*" - excludes="${src.jdk1.3}" - target="${javac.target}" -+ source="${javac.source}" - classpathref="classpath" - debug="${javac.debug}" - depend="${javac.depend}" -@@ -287,6 +290,7 @@ - destdir="${build.classes}" - includes="org/objectweb/cjdbc/controller/**/*" - target="${javac.target}" -+ source="${javac.source}" - classpathref="classpath" - debug="${javac.debug}" - depend="${javac.depend}" -@@ -305,6 +309,7 @@ - destdir="${build.classes}" - includes="org/objectweb/cjdbc/console/**/*" - target="${javac.target}" -+ source="${javac.source}" - classpathref="classpath" - debug="${javac.debug}" - depend="${javac.depend}" -@@ -323,6 +328,7 @@ - destdir="${build.test.classes}" - includes="org/objectweb/cjdbc/requestplayer/**/*" - target="${javac.target}" -+ source="${javac.source}" - classpathref="classpath" - debug="${javac.debug}" - depend="${javac.depend}" -@@ -340,7 +346,8 @@ - <javac srcdir="${test.src}" - destdir="${build.test.classes}/" - excludes="org/objectweb/cjdbc/requestplayer/**/*" -- target="${javac.target}" -+ target="${javac.target}" -+ source="${javac.source}" - classpathref="classpath-test" - debug="${javac.debug}" - depend="${javac.depend}" -diff -urpN c-jdbc-1.0.4-src.orig/config/log4j.properties c-jdbc-1.0.4-src/config/log4j.properties ---- c-jdbc-1.0.4-src.orig/config/log4j.properties 2004-12-27 01:22:43.931688472 +0100 -+++ c-jdbc-1.0.4-src/config/log4j.properties 2004-12-27 01:40:51.594338616 +0100 -@@ -11,7 +11,7 @@ log4j.appender.Console.layout.Conversion - # Requests appender is used to log requests received by the controller. - # These log can be automatically replayed using the request player. - log4j.appender.Requests=org.apache.log4j.RollingFileAppender --log4j.appender.Requests.File=${cjdbc.home}/log/request.log -+log4j.appender.Requests.File=/var/log/c-jdbc/request.log - log4j.appender.Requests.MaxFileSize=100MB - log4j.appender.Requests.MaxBackupIndex=5 - log4j.appender.Requests.layout=org.apache.log4j.PatternLayout -@@ -19,7 +19,7 @@ log4j.appender.Requests.layout.Conversio - - # Filetrace is used for C-JDBC log files. - log4j.appender.Filetrace=org.apache.log4j.RollingFileAppender --log4j.appender.Filetrace.File=${cjdbc.home}/log/cjdbc.log -+log4j.appender.Filetrace.File=/var/log/c-jdbc/cjdbc.log - log4j.appender.Filetrace.MaxFileSize=10MB - log4j.appender.Filetrace.MaxBackupIndex=0 - log4j.appender.Filetrace.layout=org.apache.log4j.PatternLayout -diff -urpN c-jdbc-1.0.4-src.orig/src/org/objectweb/cjdbc/console/monitoring/MonitoringGraph.java c-jdbc-1.0.4-src/src/org/objectweb/cjdbc/console/monitoring/MonitoringGraph.java ---- c-jdbc-1.0.4-src.orig/src/org/objectweb/cjdbc/console/monitoring/MonitoringGraph.java 2004-12-27 01:22:43.628734528 +0100 -+++ c-jdbc-1.0.4-src/src/org/objectweb/cjdbc/console/monitoring/MonitoringGraph.java 2004-12-27 01:23:38.852339264 +0100 -@@ -36,8 +36,8 @@ import org.jfree.chart.ChartPanel; - import org.jfree.chart.ChartUtilities; - import org.jfree.chart.JFreeChart; - import org.jfree.chart.plot.PlotOrientation; --import org.jfree.data.XYSeries; --import org.jfree.data.XYSeriesCollection; -+import org.jfree.data.xy.XYSeries; -+import org.jfree.data.xy.XYSeriesCollection; - import org.jfree.ui.RefineryUtilities; - import org.objectweb.cjdbc.common.monitor.AbstractDataCollector; - import org.objectweb.cjdbc.console.jmx.DataCollectorJmxClient; -@@ -466,4 +466,4 @@ public class MonitoringGraph extends Thr - { - this.displayFrequency = displayFrequency; - } --} -\ No newline at end of file -+} diff --git a/dev-db/c-jdbc/files/cjdbc-conf b/dev-db/c-jdbc/files/cjdbc-conf deleted file mode 100644 index daa4d400e716..000000000000 --- a/dev-db/c-jdbc/files/cjdbc-conf +++ /dev/null @@ -1,6 +0,0 @@ -# Copyright 2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/dev-db/c-jdbc/files/cjdbc-conf,v 1.1 2005/01/22 18:39:03 luckyduck Exp $ - -# the controller config, has to be placed in /etc/c-jdbc -con_conf="controller.xml" diff --git a/dev-db/c-jdbc/files/cjdbc-init b/dev-db/c-jdbc/files/cjdbc-init deleted file mode 100644 index 0ecb703802c8..000000000000 --- a/dev-db/c-jdbc/files/cjdbc-init +++ /dev/null @@ -1,37 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/c-jdbc/files/cjdbc-init,v 1.1 2005/01/22 18:39:03 luckyduck Exp $ - -depend() { - need net -} - -checkconfig() { - if [ ! -e /etc/c-jdbc/${con_conf} ] ; then - eerror "You will need an controller config first" - eerror "There is a sample, /etc/c-jdbc/controller.xml" - eerror "You can change the name of the configuration" - eerror "file if you edit /etc/conf.d/c-jdbc" - return 1 - fi -} - -start() { - checkconfig || return 1 - ebegin "Starting c-jdbc" - start-stop-daemon --start --quiet -c cjdbc:cjdbc \ - --exec /usr/sbin/cjdbc-controller -- \ - -f /etc/c-jdbc/${con_conf} >& /dev/null & - eend $? -} - -stop() { - ebegin "Stopping c-jdbc" - controller=`ps ax | grep java|grep c-jdbc|awk {'print $1'}` - for pid in ${controller}; - do - kill ${pid} - done - eend $? -} diff --git a/dev-db/c-jdbc/files/console.sh b/dev-db/c-jdbc/files/console.sh deleted file mode 100644 index 96d379430f5a..000000000000 --- a/dev-db/c-jdbc/files/console.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -java=`java-config -J` - -cp=`java-config -p kunststoff-2.0`:`java-config -p dtdparser-1.21` -cp=${cp}:`java-config -p crimson-1`:`java-config -p c-jdbc-1` -cp=${cp}:`java-config -p jcommon`:`java-config -p jfreechart` -cp=${cp}:`java-config -p commons-cli-1`:`java-config -p mx4j-2.1` -cp=${cp}:`java-config -p log4j`:`java-config -p dom4j-1` -cp=${cp}:`java-config -p jaxen-1.1` -cp=${cp}:${CJDBC_HOME}/xml:${CJDBC_HOME}/config/language - -# Java Command. -${java} -classpath ${cp} -Dswing.defaultlaf=com.incors.plaf.kunststoff.KunststoffLookAndFeel org.objectweb.cjdbc.console.text.ConsoleLauncher "$@" diff --git a/dev-db/c-jdbc/files/controller.sh b/dev-db/c-jdbc/files/controller.sh deleted file mode 100644 index 82b931be6871..000000000000 --- a/dev-db/c-jdbc/files/controller.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -# JAVA setup. -# -# We try to use first the java JVM in JAVA_HOME and if not found, -# we use the one found in the path. -# You can specify additional options to give to the Java JVM in the -# JAVA_OPTS environment variable. -java=`java-config -J` -sax_parser_class=org.apache.crimson.parser.XMLReaderImpl - -cp=${CJDBC_HOME}/config/language:${CJDBC_HOME}/config/controller:$CJDBC_HOME/xml -cp=${cp}:${CJDBC_HOME}/config/virtualdatabase:${CJDBC_HOME}/config:${CJDBC_HOME}/xsl -cp=${cp}:`java-config -p jakarta-regexp-1.3`:`java-config -p xml-commons` -cp=${cp}:`java-config -p octopus-3.0`:`java-config -p c-jdbc-1` -cp=${cp}:`java-config -p hsqldb`:`java-config -p crimson-1` -cp=${cp}:`java-config -p jgroups`:`java-config -p dom4j-1` -cp=${cp}:`java-config -p jaxen-1.1`:`java-config -p log4j` -cp=${cp}:`java-config -p commons-cli-1`:`java-config -p mx4j-2.1` -cp=${cp}:`java-config -p xalan` - -# Java Command. -${java} -classpath ${cp} -Xmx200m -Xms200m -Dcjdbc.home=${CJDBC_HOME} -Dorg.xml.sax.driver=${sax_parser_class} -Djava.security.policy=${CJDBC_HOME}/config/java.policy org.objectweb.cjdbc.controller.core.Controller "$@" diff --git a/dev-db/c-jdbc/files/digest-c-jdbc-1.0.4-r1 b/dev-db/c-jdbc/files/digest-c-jdbc-1.0.4-r1 deleted file mode 100644 index ae7317ad4fc2..000000000000 --- a/dev-db/c-jdbc/files/digest-c-jdbc-1.0.4-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 fd927bc54a8014a4ba6b23853abbdfa4 c-jdbc-1.0.4-src.tar.gz 29619297 -RMD160 9e50d4d5a44f39547d9790a590d118b7bbbb17fe c-jdbc-1.0.4-src.tar.gz 29619297 -SHA256 8a6f7a990a65b2e6a7e8b40c50589fd50e603886887c9ca719ae68bc7a31070e c-jdbc-1.0.4-src.tar.gz 29619297 diff --git a/dev-db/c-jdbc/metadata.xml b/dev-db/c-jdbc/metadata.xml deleted file mode 100644 index 7303cef96964..000000000000 --- a/dev-db/c-jdbc/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>java</herd> -</pkgmetadata> |