Author: moeller
Date: 2011-12-21 22:24:27 +0000 (Wed, 21 Dec 2011)
New Revision: 15573

Added:
   trunk/ha-jdbc/
   trunk/ha-jdbc/debian/
   trunk/ha-jdbc/debian/README.source
   trunk/ha-jdbc/debian/changelog
   trunk/ha-jdbc/debian/compat
   trunk/ha-jdbc/debian/control
   trunk/ha-jdbc/debian/copyright
   trunk/ha-jdbc/debian/install
   trunk/ha-jdbc/debian/links
   trunk/ha-jdbc/debian/patches/
   trunk/ha-jdbc/debian/patches/modify-build-file.diff
   trunk/ha-jdbc/debian/patches/series
   trunk/ha-jdbc/debian/rules
   trunk/ha-jdbc/debian/source/
   trunk/ha-jdbc/debian/source/format
Log:
Added ha-jdbc skeleton


Added: trunk/ha-jdbc/debian/README.source
===================================================================
--- trunk/ha-jdbc/debian/README.source                          (rev 0)
+++ trunk/ha-jdbc/debian/README.source  2011-12-21 22:24:27 UTC (rev 15573)
@@ -0,0 +1,28 @@
+The original source file from sourceforget.net contains these binaries
+       ha-jdbc-2.0.16-rc-1/lib/compile/bcel-5.2.jar
+       ha-jdbc-2.0.16-rc-1/lib/compile/jibx-bind-1.2.1.jar
+       ha-jdbc-2.0.16-rc-1/lib/compile/servlet-api-2.5.jar
+       ha-jdbc-2.0.16-rc-1/lib/jgroups-2.6.10.jar
+       ha-jdbc-2.0.16-rc-1/lib/jibx-run-1.2.1.jar
+       ha-jdbc-2.0.16-rc-1/lib/quartz-1.6.5.jar
+       ha-jdbc-2.0.16-rc-1/lib/runtime/jcl-over-slf4j-1.5.7.jar
+       ha-jdbc-2.0.16-rc-1/lib/runtime/slf4j-jcl-1.5.7.jar
+       ha-jdbc-2.0.16-rc-1/lib/runtime/slf4j-jdk14-1.5.7.jar
+       ha-jdbc-2.0.16-rc-1/lib/runtime/slf4j-log4j12-1.5.7.jar
+       ha-jdbc-2.0.16-rc-1/lib/runtime/slf4j-simple-1.5.7.jar
+       ha-jdbc-2.0.16-rc-1/lib/slf4j-api-1.5.7.jar
+       ha-jdbc-2.0.16-rc-1/lib/test/easymock-2.5.1.jar
+       ha-jdbc-2.0.16-rc-1/lib/test/slf4j-nop-1.5.7.jar
+       ha-jdbc-2.0.16-rc-1/lib/test/testng-5.9.jar
+       ha-jdbc-2.0.16-rc-1/lib-1.5/runtime/
+       ha-jdbc-2.0.16-rc-1/lib-1.5/runtime/stax-1.2.0.jar
+       ha-jdbc-2.0.16-rc-1/lib-1.5/stax-api-1.0.1.jar
+       ha-jdbc-2.0.16-rc-1/lib-1.4/compile/
+       ha-jdbc-2.0.16-rc-1/lib-1.4/runtime/
+       ha-jdbc-2.0.16-rc-1/lib-1.4/backport-util-concurrent-3.1.jar
+       
ha-jdbc-2.0.16-rc-1/lib-1.4/compile/retrotranslator-transformer-1.2.8.jar
+       ha-jdbc-2.0.16-rc-1/lib-1.4/jdbc-rowset-1.0.1.jar
+       ha-jdbc-2.0.16-rc-1/lib-1.4/jgroups-2.5.1-jdk1.4.jar
+       ha-jdbc-2.0.16-rc-1/lib-1.4/retrotranslator-runtime-1.2.8.jar
+       ha-jdbc-2.0.16-rc-1/lib-1.4/runtime/jmx-1.2.1.jar
+which had all been removed for DFSG compliance.

Added: trunk/ha-jdbc/debian/changelog
===================================================================
--- trunk/ha-jdbc/debian/changelog                              (rev 0)
+++ trunk/ha-jdbc/debian/changelog      2011-12-21 22:24:27 UTC (rev 15573)
@@ -0,0 +1,19 @@
+ha-jdbc (2.0.16+rc1-1) unstable; urgency=low
+
+  * Initial upload to Debian
+  [ Steffen Moeller ]
+  * Changed version to allow update with release of 2.0.16.
+
+ -- Brian Thomason <brian.thoma...@eucalyptus.com>  Wed, 21 Dec 2011 23:14:26 
+0100
+
+ha-jdbc (2.0.16-rc-1-0ubuntu2) precise; urgency=low
+
+  * Added missing build-dep: default-jdk (Doh!)
+
+ -- Brian Thomason <brian.thoma...@eucalyptus.com>  Wed, 14 Dec 2011 18:39:43 
-0500
+
+ha-jdbc (2.0.16-rc-1-0ubuntu1) precise; urgency=low
+
+  * Initial release
+
+ -- Brian Thomason <brian.thoma...@eucalyptus.com>  Thu, 08 Dec 2011 20:36:17 
+0000

Added: trunk/ha-jdbc/debian/compat
===================================================================
--- trunk/ha-jdbc/debian/compat                         (rev 0)
+++ trunk/ha-jdbc/debian/compat 2011-12-21 22:24:27 UTC (rev 15573)
@@ -0,0 +1 @@
+8

Added: trunk/ha-jdbc/debian/control
===================================================================
--- trunk/ha-jdbc/debian/control                                (rev 0)
+++ trunk/ha-jdbc/debian/control        2011-12-21 22:24:27 UTC (rev 15573)
@@ -0,0 +1,35 @@
+Source: ha-jdbc
+Section: java
+Priority: extra
+Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
+XSBC-Original-Maintainer: Brian Thomason <brian.thoma...@eucalyptus.com>
+Build-Depends: debhelper (>= 7.0.50~), libservlet2.5-java, libjibx1.2-java,
+               libbcel-java, libquartz-java, libjgroups-java, libslf4j-java,
+               ant | ant1.7, default-jdk
+Standards-Version: 3.9.2
+Homepage: http://ha-jdbc.sourceforge.net/
+
+Package: libha-jdbc-java
+Architecture: all
+Depends: ${misc:Depends}, libslf4j-java
+Description: JDBC proxy that provides clustering capability to any JDBC driver
+ HA-JDBC is a JDBC proxy that provides light-weight, transparent, fault
+ tolerant clustering capability to any underlying JDBC driver. 
+ .
+ Features include:
+ .
+  * Supports any database accessible via JDBC.
+  * High-availability/Fault Tolerance - An HA-JDBC database cluster can lose a
+    node without failing/corrupting open transactions.
+  * Live activation/deactivation allows for maintenance/upgrading of a database
+    node without loss of service.
+  * Improves performance of concurrent read-access by distributing load across
+    individual nodes.
+  * Supports full JDBC 3.0 and 4.0 feature set.
+  * Out-of-the-box database-independent strategies for synchronizing a failed
+    cluster node.
+  * Exposes JMX management interface to allow administration of databases and
+    clusters.
+  * Ability to add/subtract database nodes to/from a cluster at runtime.
+  * Can be configured to auto-activate failed database nodes during scheduled
+    off-peak times.

Added: trunk/ha-jdbc/debian/copyright
===================================================================
--- trunk/ha-jdbc/debian/copyright                              (rev 0)
+++ trunk/ha-jdbc/debian/copyright      2011-12-21 22:24:27 UTC (rev 15573)
@@ -0,0 +1,28 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: ha-jdbc
+Source: http://sourceforge.net/projects/ha-jdbc/files/HA-JDBC 2.0 _ 
Stable/2.0.16-rc-1/ha-jdbc-2.0.16-rc-1-src.tar.gz/download
+
+Files: *
+Copyright: 
+License: LGPL-2.1
+  On Debian GNU/Linux system you can find the complete text of the
+  LGPL-2.1 license in '/usr/share/common-licenses/LGPL-2.1'
+
+Files: debian/*
+Copyright: 2011 Eucalyptus Systems, Inc.
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

Added: trunk/ha-jdbc/debian/install
===================================================================
--- trunk/ha-jdbc/debian/install                                (rev 0)
+++ trunk/ha-jdbc/debian/install        2011-12-21 22:24:27 UTC (rev 15573)
@@ -0,0 +1 @@
+ha-jdbc-2.0.16-rc-1-jdk1.6.jar usr/share/java

Added: trunk/ha-jdbc/debian/links
===================================================================
--- trunk/ha-jdbc/debian/links                          (rev 0)
+++ trunk/ha-jdbc/debian/links  2011-12-21 22:24:27 UTC (rev 15573)
@@ -0,0 +1 @@
+usr/share/java/ha-jdbc-2.0.16-rc-1-jdk1.6.jar usr/share/java/ha-jdbc.jar

Added: trunk/ha-jdbc/debian/patches/modify-build-file.diff
===================================================================
--- trunk/ha-jdbc/debian/patches/modify-build-file.diff                         
(rev 0)
+++ trunk/ha-jdbc/debian/patches/modify-build-file.diff 2011-12-21 22:24:27 UTC 
(rev 15573)
@@ -0,0 +1,210 @@
+Description: Modify build.xml to use system JARs
+Author: Brian Thomason <brian.thoma...@eucalyptus.com>
+
+--- ha-jdbc-2.0.16-rc-1.orig/build.xml
++++ ha-jdbc-2.0.16-rc-1/build.xml
+@@ -23,12 +23,9 @@
+ 
+       <property name="src.dir" location="${basedir}/src"></property>
+       <property name="build.dir" location="${basedir}/build"></property>
+-      <property name="build-1.4.dir" 
location="${basedir}/build-1.4"></property>
+       <property name="test.dir" location="${basedir}/test"></property>
+       <property name="doc.dir" location="${basedir}/doc"></property>
+       <property name="lib.dir" location="${basedir}/lib"></property>
+-      <property name="lib-1.5.dir" location="${basedir}/lib-1.5"></property>
+-      <property name="lib-1.4.dir" location="${basedir}/lib-1.4"></property>
+       
+       <property 
file="${src.dir}/net/sf/hajdbc/DatabaseClusterFactory.properties"></property>
+       
+@@ -37,28 +34,30 @@
+       <property name="doc.api.dir" 
location="${doc.dir}/src/content/api"></property>
+       <property name="lib.compile.dir" 
location="${lib.dir}/compile"></property>
+       <property name="lib.runtime.dir" 
location="${lib.dir}/runtime"></property>
+-      <property name="lib-1.5.runtime.dir" 
location="${lib-1.5.dir}/runtime"></property>
+-      <property name="lib-1.4.compile.dir" 
location="${lib-1.4.dir}/compile"></property>
+-      <property name="lib-1.4.runtime.dir" 
location="${lib-1.4.dir}/runtime"></property>
+       <property name="lib.test.dir" location="${lib.dir}/test"></property>
+       <property name="conf.dir" location="${basedir}/conf"></property>
+       <property name="conf.jibx.dir" location="${conf.dir}/jibx"></property>
+       <property name="dist.name" value="${ant.project.name}"></property>
+       <property name="dist.version.name" 
value="${dist.name}-${version}"></property>
+       <property name="dist-1.6.version.name" 
value="${dist.version.name}-jdk1.6"></property>
+-      <property name="dist-1.5.version.name" 
value="${dist.version.name}-jdk1.5"></property>
+-      <property name="dist-1.4.version.name" 
value="${dist.version.name}-jdk1.4"></property>
+       <property name="jar-1.6.file" 
location="${basedir}/${dist-1.6.version.name}.jar"></property>
+-      <property name="jar-1.5.file" 
location="${basedir}/${dist-1.5.version.name}.jar"></property>
+-      <property name="jar-1.4.file" 
location="${basedir}/${dist-1.4.version.name}.jar"></property>
+       <property name="dist-1.6.bin.file" 
location="${basedir}/${dist-1.6.version.name}-bin.tar.gz"></property>
+-      <property name="dist-1.5.bin.file" 
location="${basedir}/${dist-1.5.version.name}-bin.tar.gz"></property>
+-      <property name="dist-1.4.bin.file" 
location="${basedir}/${dist-1.4.version.name}-bin.tar.gz"></property>
+       <property name="dist.src.file" 
location="${basedir}/${dist.version.name}-src.tar.gz"></property>
+       
+       <path id="src.classpath">
+               <fileset dir="${lib.dir}" includes="*.jar"></fileset>
+               <fileset dir="${lib.compile.dir}" includes="*.jar"></fileset>
++              <fileset dir="/usr/share/java" 
includes="jibx-run-1.2.jar"></fileset>
++              <fileset dir="/usr/share/java" 
includes="jibx-bind-1.2.jar"></fileset>
++              <fileset dir="/usr/share/java" 
includes="servlet-api-2.5.jar"></fileset>
++              <fileset dir="/usr/share/java" includes="bcel.jar"></fileset>
++              <fileset dir="/usr/share/java" includes="jgroups.jar"></fileset>
++              <fileset dir="/usr/share/java" includes="quartz.jar"></fileset>
++              <fileset dir="/usr/share/java" 
includes="slf4j-jdk14.jar"></fileset>
++              <fileset dir="/usr/share/java" 
includes="slf4j-jcl.jar"></fileset>
++              <fileset dir="/usr/share/java" 
includes="slf4j-log4j12.jar"></fileset>
++              <fileset dir="/usr/share/java" 
includes="slf4j-simple.jar"></fileset>
++              <fileset dir="/usr/share/java" 
includes="slf4j-api.jar"></fileset>
+       </path>
+ 
+       <path id="build.classpath">
+@@ -66,11 +65,6 @@
+               <dirset dir="${build.dir}"></dirset>
+       </path>
+ 
+-      <path id="build-1.4.classpath">
+-              <path refid="src.classpath"></path>
+-              <dirset dir="${build-1.4.dir}"></dirset>
+-      </path>
+-
+       <path id="test.classpath">
+               <path refid="build.classpath"></path>
+               <dirset dir="${src.dir}"></dirset>
+@@ -83,18 +77,10 @@
+       </path>
+       
+       <path id="jibx.classpath">
+-              <fileset dir="${lib.compile.dir}" includes="*.jar"></fileset>
+-              <fileset dir="${lib.dir}" includes="jibx-run-*.jar"></fileset>
++              <fileset dir="/usr/share/java" 
includes="jibx-run-1.2.jar"></fileset>
++              <fileset dir="/usr/share/java" 
includes="jibx-bind-1.2.jar"></fileset>
+       </path>
+ 
+-      <path id="retrotranslate.classpath">
+-              <fileset dir="${lib-1.4.dir}"></fileset>
+-              <fileset dir="${lib-1.4.compile.dir}"></fileset>
+-      </path>
+-      
+-      <taskdef name="retrotranslate" 
classname="net.sf.retrotranslator.transformer.RetrotranslatorTask" 
classpathref="retrotranslate.classpath"></taskdef>
+-      
+-      <taskdef name="testng" classname="org.testng.TestNGAntTask" 
classpathref="testng.classpath"></taskdef>
+       <taskdef name="bind" classname="org.jibx.binding.ant.CompileTask" 
classpathref="jibx.classpath"></taskdef>
+       
+       <target name="clean" description="Clean build artifacts">
+@@ -111,14 +97,8 @@
+               </antcall>
+       </target>
+       
+-      <target name="compile-1.5" description="Compile for Java 1.5">
+-              <antcall target="compile">
+-                      <param name="target" value="1.5"/>
+-              </antcall>
+-      </target>
+-
+       <target name="compile" depends="clean, init">
+-              <javac srcdir="${src.dir}" destdir="${build.dir}" 
optimize="yes" debug="on" classpathref="build.classpath" source="1.5" 
target="${target}"></javac>
++              <javac srcdir="${src.dir}" destdir="${build.dir}" 
optimize="yes" debug="on" classpathref="build.classpath" source="1.6" 
target="${target}"></javac>
+               <copy todir="${build.dir}">
+                       <fileset dir="${src.dir}" 
excludes="**/*.java"></fileset>
+               </copy>
+@@ -129,36 +109,13 @@
+       </target>
+ 
+       <target name="jar-1.6" depends="compile-1.6" description="Creates JAR 
for Java 1.6">
++                <echo>CLASSPATH: ${java.classpath}</echo>
+               <jar jarfile="${jar-1.6.file}" index="true">
+                       <fileset dir="${build.dir}"></fileset>
+                       <metainf dir="${conf.dir}" 
includes="services/*"></metainf>
+               </jar>
+       </target>
+ 
+-      <target name="jar-1.5" depends="compile-1.5" description="Creates JAR 
for Java 1.5">
+-              <jar jarfile="${jar-1.5.file}" index="true">
+-                      <fileset dir="${build.dir}"></fileset>
+-              </jar>
+-      </target>
+-
+-      <target name="clean-1.4" description="Clean Java 1.4 build artifacts">
+-              <delete dir="${build-1.4.dir}" quiet="true"></delete>
+-      </target>
+-
+-      <target name="init-1.4">
+-              <mkdir dir="${build-1.4.dir}"/>
+-      </target>
+-
+-      <target name="compile-1.4" depends="init-1.4, compile-1.5" 
description="Compile for Java 1.4">
+-              <retrotranslate srcdir="${build.dir}" 
destdir="${build-1.4.dir}"></retrotranslate>
+-      </target>
+-
+-      <target name="jar-1.4" depends="clean-1.4, compile-1.4" 
description="Creates JAR for Java 1.4">
+-              <jar jarfile="${jar-1.4.file}" index="true">
+-                      <fileset dir="${build-1.4.dir}"></fileset>
+-              </jar>
+-      </target>
+-      
+       <target name="dist-1.6" depends="jar-1.6, site" description="Creates 
Java 1.6 binary distribution tarball">
+               <tar tarfile="${dist-1.6.bin.file}" compression="gzip">
+                       <tarfileset dir="${basedir}" 
prefix="${dist.version.name}">
+@@ -173,46 +130,6 @@
+               </tar>
+       </target>
+       
+-      <target name="dist-1.5" depends="jar-1.5, site" description="Creates 
Java 1.5 binary distribution tarball">
+-              <tar tarfile="${dist-1.5.bin.file}" compression="gzip">
+-                      <tarfileset dir="${basedir}" 
prefix="${dist.version.name}">
+-                              <include name="${dist-1.5.version.name}.jar"/>
+-                              <include name="*.txt"/>
+-                      </tarfileset>
+-                      <tarfileset dir="${lib.dir}" 
prefix="${dist.version.name}/lib" includes="**">
+-                              <exclude name="compile/**"/>
+-                              <exclude name="test/**"/>
+-                      </tarfileset>
+-                      <tarfileset dir="${lib-1.5.dir}" 
prefix="${dist.version.name}/lib" includes="**">
+-                              <exclude name="compile/**"/>
+-                              <exclude name="test/**"/>
+-                      </tarfileset>
+-                      <tarfileset dir="${doc.build.dir}/site" 
prefix="${dist.version.name}/doc" includes="**"></tarfileset>
+-              </tar>
+-      </target>
+-      
+-      <target name="dist-1.4" depends="jar-1.4, site" description="Creates 
Java 1.4 binary distribution tarball">
+-              <tar tarfile="${dist-1.4.bin.file}" compression="gzip">
+-                      <tarfileset dir="${basedir}" 
prefix="${dist.version.name}">
+-                              <include name="${dist-1.4.version.name}.jar"/>
+-                              <include name="*.txt"/>
+-                      </tarfileset>
+-                      <tarfileset dir="${lib.dir}" 
prefix="${dist.version.name}/lib" includes="**">
+-                              <exclude name="compile/**"/>
+-                              <exclude name="test/**"/>
+-                              <exclude name="jgroups-*.jar"/>
+-                      </tarfileset>
+-                      <tarfileset dir="${lib-1.5.dir}" 
prefix="${dist.version.name}/lib" includes="**">
+-                              <exclude name="compile/**"/>
+-                              <exclude name="test/**"/>
+-                      </tarfileset>
+-                      <tarfileset dir="${lib-1.4.dir}" 
prefix="${dist.version.name}/lib" includes="**">
+-                              <exclude name="compile/**"/>
+-                      </tarfileset>
+-                      <tarfileset dir="${doc.build.dir}/site" 
prefix="${dist.version.name}/doc" includes="**"></tarfileset>
+-              </tar>
+-      </target>
+-
+       <target name="dist-src" description="Creates source distribution 
tarball">
+               <tar tarfile="${dist.src.file}" compression="gzip">
+                       <tarfileset dir="${basedir}" 
prefix="${dist.version.name}">
+@@ -222,8 +139,6 @@
+                       <tarfileset dir="${src.dir}" 
prefix="${dist.version.name}/src" includes="**"></tarfileset>
+                       <tarfileset dir="${test.dir}" 
prefix="${dist.version.name}/test" includes="**"></tarfileset>
+                       <tarfileset dir="${lib.dir}" 
prefix="${dist.version.name}/lib" includes="**"></tarfileset>
+-                      <tarfileset dir="${lib-1.5.dir}" 
prefix="${dist.version.name}/lib-1.5" includes="**"></tarfileset>
+-                      <tarfileset dir="${lib-1.4.dir}" 
prefix="${dist.version.name}/lib-1.4" includes="**"></tarfileset>
+                       <tarfileset dir="${conf.dir}" 
prefix="${dist.version.name}/conf" includes="**"></tarfileset>
+                       <tarfileset dir="${doc.dir}" 
prefix="${dist.version.name}/doc" includes="**">
+                               <exclude name="build/**"/>
+@@ -232,8 +147,6 @@
+               </tar>
+       </target>
+       
+-      <target name="dist-all" depends="dist-1.6, dist-1.5, dist-1.4, 
dist-src" description="Creates all distribution tarballs"></target>
+-      
+       <target name="javadoc" description="Generated Java API documentation">
+               <delete dir="${doc.api.dir}" quiet="true"></delete>
+               <javadoc destdir="${doc.api.dir}" classpathref="src.classpath" 
windowtitle="HA-JDBC ${version} API" sourcepath="${src.dir}" linksource="yes">

Added: trunk/ha-jdbc/debian/patches/series
===================================================================
--- trunk/ha-jdbc/debian/patches/series                         (rev 0)
+++ trunk/ha-jdbc/debian/patches/series 2011-12-21 22:24:27 UTC (rev 15573)
@@ -0,0 +1 @@
+modify-build-file.diff

Added: trunk/ha-jdbc/debian/rules
===================================================================
--- trunk/ha-jdbc/debian/rules                          (rev 0)
+++ trunk/ha-jdbc/debian/rules  2011-12-21 22:24:27 UTC (rev 15573)
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+VERSION = $(shell dpkg-parsechangelog | sed -n 's,^Version: \(.*\)-.*,\1,p')
+
+export JAVA_HOME := /usr/lib/jvm/default-java
+
+%:
+       dh $@
+
+override_dh_auto_build:
+       ant -Djar.version=$(VERSION)
+
+override_dh_clean:
+       dh_clean
+       rm -f *.jar


Property changes on: trunk/ha-jdbc/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/ha-jdbc/debian/source/format
===================================================================
--- trunk/ha-jdbc/debian/source/format                          (rev 0)
+++ trunk/ha-jdbc/debian/source/format  2011-12-21 22:24:27 UTC (rev 15573)
@@ -0,0 +1 @@
+3.0 (quilt)


_______________________________________________
pkg-java-commits mailing list
pkg-java-comm...@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to