[ha-jdbc] 01/11: Imported Debian patch 2.0.16+rc1-1

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Jun 21 12:14:17 UTC 2016


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository ha-jdbc.

commit 5c1d8e0eb2eaf19516598b4e800d9f35e2cb0598
Author: Brian Thomason <brian.thomason at eucalyptus.com>
Date:   Wed Dec 21 23:14:26 2011 +0100

    Imported Debian patch 2.0.16+rc1-1
---
 debian/README.source                  |  28 +++++
 debian/changelog                      |  20 ++++
 debian/compat                         |   1 +
 debian/control                        |  35 ++++++
 debian/copyright                      |  28 +++++
 debian/install                        |   1 +
 debian/links                          |   1 +
 debian/patches/modify-build-file.diff | 210 ++++++++++++++++++++++++++++++++++
 debian/patches/series                 |   1 +
 debian/rules                          |  15 +++
 debian/source.lintian-overrides       |   1 +
 debian/source/format                  |   1 +
 12 files changed, 342 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..1796268
--- /dev/null
+++ b/debian/README.source
@@ -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.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9a88887
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,20 @@
+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.
+  * Added README.source indicating removal of .jars
+
+ -- Brian Thomason <brian.thomason at 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.thomason at 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.thomason at eucalyptus.com>  Thu, 08 Dec 2011 20:36:17 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..bf51410
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,35 @@
+Source: ha-jdbc
+Section: java
+Priority: extra
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Brian Thomason <brian.thomason at 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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..26167c2
--- /dev/null
+++ b/debian/copyright
@@ -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".
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..5aa7127
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+ha-jdbc-2.0.16-rc-1-jdk1.6.jar usr/share/java
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..cb45926
--- /dev/null
+++ b/debian/links
@@ -0,0 +1 @@
+usr/share/java/ha-jdbc-2.0.16-rc-1-jdk1.6.jar usr/share/java/ha-jdbc.jar
diff --git a/debian/patches/modify-build-file.diff b/debian/patches/modify-build-file.diff
new file mode 100644
index 0000000..4a675b5
--- /dev/null
+++ b/debian/patches/modify-build-file.diff
@@ -0,0 +1,210 @@
+Description: Modify build.xml to use system JARs
+Author: Brian Thomason <brian.thomason at 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">
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1973429
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+modify-build-file.diff
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5ab333e
--- /dev/null
+++ b/debian/rules
@@ -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
diff --git a/debian/source.lintian-overrides b/debian/source.lintian-overrides
new file mode 100644
index 0000000..94f89b7
--- /dev/null
+++ b/debian/source.lintian-overrides
@@ -0,0 +1 @@
+ha-jdbc source: latest-debian-changelog-entry-without-new-version
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/ha-jdbc.git



More information about the pkg-java-commits mailing list