[pkg-java] r4477 - in trunk: . liboscache-java liboscache-java/debian

varun-guest at alioth.debian.org varun-guest at alioth.debian.org
Sat Oct 27 15:25:39 UTC 2007


Author: varun-guest
Date: 2007-10-27 15:25:39 +0000 (Sat, 27 Oct 2007)
New Revision: 4477

Added:
   trunk/liboscache-java/
   trunk/liboscache-java/debian/
   trunk/liboscache-java/debian/README.Debian-source
   trunk/liboscache-java/debian/ant.properties
   trunk/liboscache-java/debian/build.xml
   trunk/liboscache-java/debian/changelog
   trunk/liboscache-java/debian/compat
   trunk/liboscache-java/debian/control
   trunk/liboscache-java/debian/copyright
   trunk/liboscache-java/debian/docs
   trunk/liboscache-java/debian/orig-tar.sh
   trunk/liboscache-java/debian/rules
   trunk/liboscache-java/debian/watch
Log:
* Initial inject of oscache
  - Build-Depends on Jgroups and Glassfish
  - Still needs libhibernate-java??




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

Added: trunk/liboscache-java/debian/README.Debian-source
===================================================================
--- trunk/liboscache-java/debian/README.Debian-source	                        (rev 0)
+++ trunk/liboscache-java/debian/README.Debian-source	2007-10-27 15:25:39 UTC (rev 4477)
@@ -0,0 +1,13 @@
+liboscache-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>, Tue, 16 Oct 2007 12:36:26 +0530

Added: trunk/liboscache-java/debian/ant.properties
===================================================================
--- trunk/liboscache-java/debian/ant.properties	                        (rev 0)
+++ trunk/liboscache-java/debian/ant.properties	2007-10-27 15:25:39 UTC (rev 4477)
@@ -0,0 +1,4 @@
+project.name=oscache
+class.dir=class
+source.dir=src/java
+jar.name=oscache.jar

Added: trunk/liboscache-java/debian/build.xml
===================================================================
--- trunk/liboscache-java/debian/build.xml	                        (rev 0)
+++ trunk/liboscache-java/debian/build.xml	2007-10-27 15:25:39 UTC (rev 4477)
@@ -0,0 +1,24 @@
+<?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}"
+    deprecation="true" debug="true" optimize="false"/>
+  </target>
+
+  <target name="jar" description="o Create the jar" depends="compile">
+    <jar jarfile="${jar.name}">
+      <fileset dir="${class.dir}">
+          <include name="com/**"/>
+      </fileset>
+    </jar>
+  </target>
+
+</project>

Added: trunk/liboscache-java/debian/changelog
===================================================================
--- trunk/liboscache-java/debian/changelog	                        (rev 0)
+++ trunk/liboscache-java/debian/changelog	2007-10-27 15:25:39 UTC (rev 4477)
@@ -0,0 +1,6 @@
+liboscache-java (2.4.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #)
+
+ -- Varun Hiremath <varunhiremath at gmail.com>  Tue, 24 Apr 2007 17:19:10 +0530
+

Added: trunk/liboscache-java/debian/compat
===================================================================
--- trunk/liboscache-java/debian/compat	                        (rev 0)
+++ trunk/liboscache-java/debian/compat	2007-10-27 15:25:39 UTC (rev 4477)
@@ -0,0 +1 @@
+5

Added: trunk/liboscache-java/debian/control
===================================================================
--- trunk/liboscache-java/debian/control	                        (rev 0)
+++ trunk/liboscache-java/debian/control	2007-10-27 15:25:39 UTC (rev 4477)
@@ -0,0 +1,24 @@
+Source: liboscache-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, libjgroups-java,
+ glassfish, libcommons-logging-java, libservlet2.4-java
+Standards-Version: 3.7.2
+Homepage: http://www.opensymphony.com/oscache/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/liboscache-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/liboscache-java
+
+Package: liboscache-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java1-runtime | java2-runtime
+Description: caching solution for java server pages (JSP)
+ OSCache is a caching solution that includes a JSP tag library and set
+ of classes to perform fine grained dynamic caching of JSP content,
+ servlet responses or arbitrary objects. It provides both in memory and
+ persistent on disk caches, and can allow your site to have graceful
+ error tolerance. If an error occurs like your db goes down, you can
+ serve the cached content so people can still surf the site almost
+ without knowing.

Added: trunk/liboscache-java/debian/copyright
===================================================================
--- trunk/liboscache-java/debian/copyright	                        (rev 0)
+++ trunk/liboscache-java/debian/copyright	2007-10-27 15:25:39 UTC (rev 4477)
@@ -0,0 +1,13 @@
+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.opensymphony.com/oscache/
+
+Upstream Author:
+
+Copyright:
+
+License:
+
+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/liboscache-java/debian/docs
===================================================================
--- trunk/liboscache-java/debian/docs	                        (rev 0)
+++ trunk/liboscache-java/debian/docs	2007-10-27 15:25:39 UTC (rev 4477)
@@ -0,0 +1 @@
+readme.txt

Added: trunk/liboscache-java/debian/orig-tar.sh
===================================================================
--- trunk/liboscache-java/debian/orig-tar.sh	                        (rev 0)
+++ trunk/liboscache-java/debian/orig-tar.sh	2007-10-27 15:25:39 UTC (rev 4477)
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+TAR=liboscache-java_$2.orig.tar.gz
+DIR=liboscache-java-$2.orig
+
+# clean up the upstream tarball
+unzip $3
+mv oscache* $DIR
+tar -c -z -f $TAR --exclude '*.jar' $DIR
+rm -rf $3 $DIR
+
+# 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/liboscache-java/debian/orig-tar.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/liboscache-java/debian/rules
===================================================================
--- trunk/liboscache-java/debian/rules	                        (rev 0)
+++ trunk/liboscache-java/debian/rules	2007-10-27 15:25:39 UTC (rev 4477)
@@ -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		:= commons-logging jgroups-all servlet-api jsp-api javaee jgroups-all
+
+install/liboscache-java::
+	install -m 644 -D oscache.jar $(DEB_DESTDIR)/usr/share/java/oscache-$(DEB_UPSTREAM_VERSION).jar
+	dh_link /usr/share/java/oscache-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/oscache.jar
+
+get-orig-source:
+	-uscan --upstream-version 0


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

Added: trunk/liboscache-java/debian/watch
===================================================================
--- trunk/liboscache-java/debian/watch	                        (rev 0)
+++ trunk/liboscache-java/debian/watch	2007-10-27 15:25:39 UTC (rev 4477)
@@ -0,0 +1,2 @@
+version=3
+




More information about the pkg-java-commits mailing list