[libdb-je-java] 01/22: * Initial inject of Database Java Edition - rdepends on jboss-cache
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Nov 22 23:58:52 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository libdb-je-java.
commit d8ff1bae4369733f2e9edd5760d1452af82204c8
Author: Varun Hiremath <varun at debian.org>
Date: Sun Nov 4 06:17:47 2007 +0000
* Initial inject of Database Java Edition
- rdepends on jboss-cache
---
debian/README.Debian-source | 13 +++++++++++++
debian/ant.properties | 4 ++++
debian/build.xml | 23 +++++++++++++++++++++++
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 25 +++++++++++++++++++++++++
debian/copyright | 44 ++++++++++++++++++++++++++++++++++++++++++++
debian/examples | 1 +
debian/orig-tar.sh | 21 +++++++++++++++++++++
debian/rules | 16 ++++++++++++++++
10 files changed, 153 insertions(+)
diff --git a/debian/README.Debian-source b/debian/README.Debian-source
new file mode 100644
index 0000000..c69617d
--- /dev/null
+++ b/debian/README.Debian-source
@@ -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
diff --git a/debian/ant.properties b/debian/ant.properties
new file mode 100644
index 0000000..f86a738
--- /dev/null
+++ b/debian/ant.properties
@@ -0,0 +1,4 @@
+project.name=database-je
+class.dir=class
+source.dir=src
+jar.name=db-je.jar
diff --git a/debian/build.xml b/debian/build.xml
new file mode 100644
index 0000000..0fe2858
--- /dev/null
+++ b/debian/build.xml
@@ -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>
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b9e7b69
--- /dev/null
+++ b/debian/changelog
@@ -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
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..3424b7d
--- /dev/null
+++ b/debian/control
@@ -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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d4015f7
--- /dev/null
+++ b/debian/copyright
@@ -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'.
diff --git a/debian/examples b/debian/examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..3f63a7b
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -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
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ff0b71d
--- /dev/null
+++ b/debian/rules
@@ -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)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libdb-je-java.git
More information about the pkg-java-commits
mailing list