[geronimo-jacc-1.1-spec] 01/11: Imported Debian patch 1.0.1-1

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon May 30 11:03:58 UTC 2016


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

ebourg-guest pushed a commit to branch master
in repository geronimo-jacc-1.1-spec.

commit ebff395d4faf580f3474c6f0da2ed9a94b777685
Author: Chris Grzegorczyk <grze at eucalyptus.com>
Date:   Wed Dec 16 21:49:27 2009 -0800

    Imported Debian patch 1.0.1-1
---
 debian/build.xml   | 70 +++++++++++++++++++++++++++++++++++++++++++++
 debian/changelog   | 19 +++++++++++++
 debian/compat      |  1 +
 debian/control     | 25 ++++++++++++++++
 debian/copyright   | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/orig-tar.sh | 18 ++++++++++++
 debian/rules       | 30 ++++++++++++++++++++
 debian/watch       |  2 ++
 8 files changed, 248 insertions(+)

diff --git a/debian/build.xml b/debian/build.xml
new file mode 100644
index 0000000..95f4206
--- /dev/null
+++ b/debian/build.xml
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+
+<project name="pkg-java" default="package" basedir="..">
+
+    <property name="build.sourceDirectory" value="src/main/java"/>
+    <property name="build.resourcesDirectory" value="src/main/resources"/>
+    <property name="build.testDirectory" value="src/test/java"/>
+    <property name="build.directory" value="build"/>
+    <property name="build.outputDirectory" value="${build.directory}/classes"/>
+
+    <target name="init">
+        <available property="available.resources" file="${build.resourcesDirectory}"/>
+    </target>
+
+    <target name="clean">
+        <delete dir="${build.directory}"/>
+        <delete>
+            <fileset dir="${build.testDirectory}" includes="**/*.class"/>
+        </delete>
+    </target>
+
+    <target name="process-resources" depends="init" if="available.resources">
+        <mkdir dir="${build.outputDirectory}"/>
+        <copy todir="${build.outputDirectory}">
+            <fileset dir="${build.resourcesDirectory}"/>
+        </copy>
+    </target>
+
+    <target name="compile" depends="process-resources">
+        <mkdir dir="${build.outputDirectory}"/>
+        <javac
+            destdir="${build.outputDirectory}"
+            nowarn="true"
+            source="${sourceVersion}" target="${targetVersion}"
+            debug="on">
+            <src path="${build.sourceDirectory}"/>
+        </javac>
+    </target>
+
+    <target name="package" depends="compile">
+        <jar jarfile="${build.directory}/${artifactId}-${artifactVersion}.jar"
+            basedir="${build.outputDirectory}"/>
+    </target>
+
+    <target name="compile_test">
+        <javac destdir="${build.testDirectory}" debug="true"
+               source="${sourceVersion}" target="${targetVersion}">
+            <src path="${build.testDirectory}"/>
+            <classpath>
+                <pathelement location="${build.directory}/${artifactId}-${artifactVersion}.jar"/>
+                <pathelement location="${build.testDirectory}"/>
+            </classpath>
+        </javac>
+    </target>
+    <target name="test" depends="compile_test">
+        <junit haltonfailure="yes">
+            <classpath>
+                <pathelement location="${build.directory}/${artifactId}-${artifactVersion}.jar"/>
+                <pathelement location="${build.testDirectory}"/>
+            </classpath>
+            <formatter type="plain" usefile="false"/>
+            <batchtest>
+                <fileset dir="${build.testDirectory}">
+                    <include name="**/*Test.java"/>
+                    <include name="**/*TestCase.java"/>
+                </fileset>
+            </batchtest>
+        </junit>
+    </target>
+</project>
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..8a3c304
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,19 @@
+geronimo-jacc-1.1-spec (1.0.1-1) unstable; urgency=low
+
+  * Port package to pkg-java based largely on existing Ubuntu package
+
+ -- Chris Grzegorczyk <grze at eucalyptus.com>  Wed, 16 Dec 2009 21:49:27 -0800
+
+geronimo-jacc-1.1-spec (1.0.1-0ubuntu2) karmic; urgency=low
+
+  * debian/build.xml, debian/rules: Enable test suite
+  * debian/control, debian/rules: Adding junit and ant-optional as they are
+    needed for the junit task used in tests.
+
+ -- Thierry Carrez <thierry.carrez at ubuntu.com>  Wed, 26 Aug 2009 12:34:44 +0200
+
+geronimo-jacc-1.1-spec (1.0.1-0ubuntu1) karmic; urgency=low
+
+  * Initial release. New Eucalyptus dependency.
+
+ -- Thierry Carrez <thierry.carrez at ubuntu.com>  Mon, 27 Jul 2009 11:19:09 +0200
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..d51769f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,25 @@
+Source: geronimo-jacc-1.1-spec
+Section: java
+Priority: optional
+Maintainer: Chris Grzegorczyk <grze at eucalyptus.com>
+DM-Upload-Allowed: yes
+Uploaders: Graziano Obertelli <graziano at eucalyptus.com>, Kyo Lee <kyo.lee at eucalyptus.com>
+XSBC-Original-Maintainer: Thierry Carrez <thierry.carrez at ubuntu.com>
+Build-Depends-Indep: default-jdk, libservlet2.5-java, junit
+Build-Depends: ant-optional, debhelper (>= 5), cdbs (>= 0.4.5.3)
+Standards-Version: 3.8.3
+Homepage: http://geronimo.apache.org
+
+Package: libgeronimo-jacc-1.1-spec-java
+Architecture: all
+Depends: default-jre-headless | java5-runtime-headless, ${misc:Depends}
+Description: Geronimo API implementation of the JACC 1.1 spec
+ The goal of the Geronimo project is to produce a server runtime framework
+ that pulls together the best Open Source alternatives to create runtimes
+ that meet the needs of developers and system administrators. Our most
+ popular distribution is a fully certified Java EE 5 application server
+ runtime.
+ .
+ This package offers the Geronimo API implementation of the JACC 1.1 spec
+ (javax.security.jacc classes).
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1f9980a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,83 @@
+This package was debianized by Thierry Carrez <thierry.carrez at ubuntu.com> on
+Tue, 14 Jul 2009 15:42:39 +0200
+
+Source tarballs are rebuilt from the SVN export of the relevant tag under
+https://svn.apache.org/repos/asf/geronimo/specs
+
+Copyright:
+    Copyright (C) 2003-2006 The Apache Software Foundation
+
+Authors:
+    The Apache Software Foundation, including but not limited to:
+    Aaron Mulder
+    Alan Cabrera
+    Alexy Petrenko
+    Anita Kulshreshtha
+    Bruce Snyder
+    B.J. Reed
+    Christopher J. Blythe
+    Christopher M. Cardona
+    Dain Sundstrom
+    Darren Middleman
+    Davanum Srinivas
+    David Blevins
+    David Jencks
+    Donald Woods (dwoods)
+    Erik B. Craig
+    Geir Magnusson Jr.
+    Gianny D'Amour
+    Greg Wilkins
+    Guillaume Nodet
+    Hernan Cunico
+    Hiram Chirino
+    Jacek Laskowski
+    James Strachan
+    Jan Bartel
+    Jarek Gawor
+    Jason Dillon
+    Jason van Zyl
+    Jason Warner
+    Jay D. McHugh
+    Jeff Genender
+    Jeremy Boynes
+    Joe Bohn
+    John R. Sisson
+    Jules Gosnell
+    Kevan Miller
+    Ken Coar
+    Lars Kuhne
+    Lin Sun
+    Manu George
+    Mark DeLaFranier
+    Matt R. Hogstrom
+    Paul McMahan
+    Prasad Kashyap
+    Rakesh Midha
+    Rick McGuire
+    Sachin P. Patel
+    Shiva Kumar H R
+    Srinath Perera
+    Ted Kirby
+    Tim McConnell
+    Vamsavardhana Reddy Chillakuru
+    Viet Nguyen
+    Yun Feng Ma
+
+License:
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+ 
+         http://www.apache.org/licenses/LICENSE-2.0
+ 
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+On Debian GNU/Linux and Ubuntu systems, the complete text of the Apache 2.0
+License can be found in the /usr/share/common-licenses/Apache-2.0 file.
+
+The same license and copyright applies to the Debian packaging.
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100644
index 0000000..995fcad
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+# $1 = version
+TAR=../geronimo-jacc-1.1-spec_$2.orig.tar.gz
+DIR=libgeronimo-jacc-1.1-spec-java-$2.orig
+
+# clean up the upstream tarball
+svn export http://svn.apache.org/repos/asf/geronimo/specs/tags/geronimo-jacc_1.1_spec-$2/ $DIR
+GZIP=--best tar -c -z -f $TAR $DIR
+rm -rf $DIR
+rm ../geronimo-jacc_1.1_spec-$2
+
+# 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..268d29b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,30 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+SVN                  := tags/geronimo-jacc_1.1_spec-$(DEB_UPSTREAM_VERSION)
+ASFREPO              := http://svn.apache.org/repos/asf/geronimo/specs/$(SVN)
+REQUIRED_JVM_VERSION := 1.5
+
+JAVA_HOME            := /usr/lib/jvm/default-java
+DEB_ANT_BUILDFILE    := debian/build.xml
+DEB_ANT_ARGS         := -DartifactVersion=$(DEB_UPSTREAM_VERSION) \
+                        -DartifactId=$(DEB_SOURCE_PACKAGE) \
+                        -DsourceVersion=$(REQUIRED_JVM_VERSION) \
+                        -DtargetVersion=$(REQUIRED_JVM_VERSION)
+DEB_JARS             := servlet-api-2.5 junit ant-junit
+DEB_ANT_CHECK_TARGET := test
+
+binary-post-install/lib$(DEB_SOURCE_PACKAGE)-java::
+	dh_install -plib$(DEB_SOURCE_PACKAGE)-java build/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java
+	dh_link -plib$(DEB_SOURCE_PACKAGE)-java usr/share/java/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(DEB_SOURCE_PACKAGE).jar
+
+get-orig-source:
+	echo "Getting version $(DEB_UPSTREAM_VERSION) from $(SVN)"
+	mkdir orig_tmp
+	cd orig_tmp && \
+		svn export -q $(ASFREPO) $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION) && \
+		tar czf ../../$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)
+	rm -rf orig_tmp
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..e162483
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://svn.apache.org/repos/asf/geronimo/specs/tags/ geronimo-jacc_1.1_spec-([0-9].*)/ debian debian/orig-tar.sh

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/geronimo-jacc-1.1-spec.git



More information about the pkg-java-commits mailing list