[pkg-java] r4608 - in trunk: . libdb-je-java libdb-je-java/debian

varun-guest at alioth.debian.org varun-guest at alioth.debian.org
Sun Nov 4 06:17:47 UTC 2007


Author: varun-guest
Date: 2007-11-04 06:17:47 +0000 (Sun, 04 Nov 2007)
New Revision: 4608

Added:
   trunk/libdb-je-java/
   trunk/libdb-je-java/debian/
   trunk/libdb-je-java/debian/README.Debian-source
   trunk/libdb-je-java/debian/ant.properties
   trunk/libdb-je-java/debian/build.xml
   trunk/libdb-je-java/debian/changelog
   trunk/libdb-je-java/debian/compat
   trunk/libdb-je-java/debian/control
   trunk/libdb-je-java/debian/copyright
   trunk/libdb-je-java/debian/examples
   trunk/libdb-je-java/debian/orig-tar.sh
   trunk/libdb-je-java/debian/rules
Log:
* Initial inject of Database Java Edition
   - rdepends on jboss-cache



Property changes on: trunk/libdb-je-java/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: trunk/libdb-je-java/debian/README.Debian-source
===================================================================
--- trunk/libdb-je-java/debian/README.Debian-source	                        (rev 0)
+++ trunk/libdb-je-java/debian/README.Debian-source	2007-11-04 06:17:47 UTC (rev 4608)
@@ -0,0 +1,13 @@
+libdb-je-java
+=============
+
+The upstream supplied source package contains binary jar files.
+Currently no clean source distribution exists. Therefore, the upstream
+sources were modified to comply with the Debian Free Software
+Guidelines.
+
+Use the rules/get-orig-source target to create the orig.tar.gz.
+For more details on repackaging of upstream sources please see the 
+debian/orig-tar.sh file.
+
+ -- Varun Hiremath <varunhiremath at gmail.com>, Sun,  4 Nov 2007 11:44:40 +0530

Added: trunk/libdb-je-java/debian/ant.properties
===================================================================
--- trunk/libdb-je-java/debian/ant.properties	                        (rev 0)
+++ trunk/libdb-je-java/debian/ant.properties	2007-11-04 06:17:47 UTC (rev 4608)
@@ -0,0 +1,4 @@
+project.name=database-je
+class.dir=class
+source.dir=src
+jar.name=db-je.jar

Added: trunk/libdb-je-java/debian/build.xml
===================================================================
--- trunk/libdb-je-java/debian/build.xml	                        (rev 0)
+++ trunk/libdb-je-java/debian/build.xml	2007-11-04 06:17:47 UTC (rev 4608)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project default="jar" name="${project.name}" basedir="..">
+
+  <target name="clean">
+    <delete dir="${class.dir}" quiet="true"/>
+    <delete file="${jar.name}" quiet="true"/>
+  </target>
+
+  <target name="compile">
+    <mkdir dir="${class.dir}"/>
+    <javac srcdir="${source.dir}" destdir="${class.dir}"
+	   debug="true" source="1.5"/>
+  </target>
+
+  <target name="jar" description="o Create the jar" depends="compile">
+    <jar jarfile="${jar.name}">
+      <fileset dir="${class.dir}">
+          <include name="**"/>
+      </fileset>
+    </jar>
+  </target>
+</project>

Added: trunk/libdb-je-java/debian/changelog
===================================================================
--- trunk/libdb-je-java/debian/changelog	                        (rev 0)
+++ trunk/libdb-je-java/debian/changelog	2007-11-04 06:17:47 UTC (rev 4608)
@@ -0,0 +1,5 @@
+libdb-je-java (3.2.44-1) unstable; urgency=low
+
+  * Initial release (Closes: #)
+
+ -- Varun Hiremath <varunhiremath at gmail.com>  Tue, 24 Apr 2007 17:19:10 +0530

Added: trunk/libdb-je-java/debian/compat
===================================================================
--- trunk/libdb-je-java/debian/compat	                        (rev 0)
+++ trunk/libdb-je-java/debian/compat	2007-11-04 06:17:47 UTC (rev 4608)
@@ -0,0 +1 @@
+5

Added: trunk/libdb-je-java/debian/control
===================================================================
--- trunk/libdb-je-java/debian/control	                        (rev 0)
+++ trunk/libdb-je-java/debian/control	2007-11-04 06:17:47 UTC (rev 4608)
@@ -0,0 +1,25 @@
+Source: libdb-je-java
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Varun Hiremath <varunhiremath at gmail.com>, Torsten Werner <twerner at debian.org>
+Build-Depends: cdbs, debhelper (>= 5)
+Build-Depends-Indep: ant, java-gcj-compat-dev
+Standards-Version: 3.7.2
+Homepage: http://www.oracle.com/database/berkeley-db/je/index.html
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libdb-je-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libdb-je-java
+
+Package: libdb-je-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ java-gcj-compat | java1-runtime | java2-runtime
+Description: Oracle Berkeley Database Java Edition
+ Oracle Berkeley DB Java Edition is a open source, embeddable,
+ transactional storage engine written entirely in Java. Like Oracle
+ Berkeley DB, Oracle Berkeley DB Java Edition executes in the address
+ space of the application, without the overhead of client/server
+ communication. It stores data in the application's native format, so
+ no runtime data translation is required. It provides an easy-to-use,
+ programmatic interface, allowing developers to store and retrieve
+ information quickly, simply and reliably.

Added: trunk/libdb-je-java/debian/copyright
===================================================================
--- trunk/libdb-je-java/debian/copyright	                        (rev 0)
+++ trunk/libdb-je-java/debian/copyright	2007-11-04 06:17:47 UTC (rev 4608)
@@ -0,0 +1,44 @@
+This package was debianized by Varun Hiremath <varunhiremath at gmail.com> on
+Tue, 24 Apr 2007 17:19:10 +0530.
+
+It was downloaded from http://www.oracle.com/technology/software/products/berkeley-db/index.html
+
+Upstream Authors: Oracle.  All rights reserved.
+
+Copyright: (c) 2002,2007 Oracle.  All rights reserved.
+
+License:
+  
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions
+    are met:
+    1. Redistributions of source code must retain the above copyright
+       notice, this list of conditions and the following disclaimer.
+    2. Redistributions in binary form must reproduce the above copyright
+       notice, this list of conditions and the following disclaimer in the
+       documentation and/or other materials provided with the distribution.
+    3. Redistributions in any form must be accompanied by information on
+       how to obtain complete source code for the DB software and any
+       accompanying software that uses the DB software.  The source code
+       must either be included in the distribution or be available for no
+       more than the cost of distribution plus a nominal fee, and must be
+       freely redistributable under reasonable conditions.  For an
+       executable file, complete source code means the source code for all
+       modules it contains.  It does not include source code for modules or
+       files that typically accompany the major components of the operating
+       system on which the executable file runs.
+   
+    THIS SOFTWARE IS PROVIDED BY ORACLE ``AS IS'' AND ANY EXPRESS OR
+    IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+    WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
+    NON-INFRINGEMENT, ARE DISCLAIMED.  IN NO EVENT SHALL ORACLE BE LIABLE
+    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+    CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+    SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+    BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+    WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+    OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+    IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+The Debian packaging is (C) 2007, Varun Hiremath <varunhiremath at gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: trunk/libdb-je-java/debian/examples
===================================================================
--- trunk/libdb-je-java/debian/examples	                        (rev 0)
+++ trunk/libdb-je-java/debian/examples	2007-11-04 06:17:47 UTC (rev 4608)
@@ -0,0 +1 @@
+examples/*

Added: trunk/libdb-je-java/debian/orig-tar.sh
===================================================================
--- trunk/libdb-je-java/debian/orig-tar.sh	                        (rev 0)
+++ trunk/libdb-je-java/debian/orig-tar.sh	2007-11-04 06:17:47 UTC (rev 4608)
@@ -0,0 +1,21 @@
+#!/bin/sh -e
+
+# $1 = version
+TAR=../libdb-je-java_$1.orig.tar.gz
+DIR=libdb-je-java-$1.orig
+
+# Download source
+wget http://download.oracle.com/berkeley-db/je-$1.tar.gz
+
+# clean up the upstream tarball
+tar -x -z -f je-$1.tar.gz
+mv je-$1 $DIR
+GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*/docs/*' $DIR
+rm -rf $DIR je-$1.tar.gz
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+  . .svn/deb-layout
+  mv $TAR $origDir
+  echo "moved $TAR to $origDir"
+fi


Property changes on: trunk/libdb-je-java/debian/orig-tar.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/libdb-je-java/debian/rules
===================================================================
--- trunk/libdb-je-java/debian/rules	                        (rev 0)
+++ trunk/libdb-je-java/debian/rules	2007-11-04 06:17:47 UTC (rev 4608)
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+JAVA_HOME 		:= /usr/lib/jvm/java-gcj
+DEB_ANT_BUILD_TARGET	:= jar
+DEB_ANT_BUILDFILE	:= debian/build.xml
+DEB_JARS		:= glassfish-javaee
+
+install/libdb-je-java::
+	install -m 644 -D db-je.jar $(DEB_DESTDIR)/usr/share/java/db-je-$(DEB_UPSTREAM_VERSION).jar
+	dh_link /usr/share/java/db-je-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/db-je.jar
+
+get-orig-source:
+	sh debian/orig-tar.sh $(DEB_UPSTREAM_VERSION)


Property changes on: trunk/libdb-je-java/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the pkg-java-commits mailing list