[pkg-java] r4634 - in trunk: . opennms opennms/debian

varun-guest at alioth.debian.org varun-guest at alioth.debian.org
Tue Nov 6 15:26:14 UTC 2007


Author: varun-guest
Date: 2007-11-06 15:26:14 +0000 (Tue, 06 Nov 2007)
New Revision: 4634

Added:
   trunk/opennms/
   trunk/opennms/debian/
   trunk/opennms/debian/README.Debian-source
   trunk/opennms/debian/ant.properties
   trunk/opennms/debian/build.xml
   trunk/opennms/debian/changelog
   trunk/opennms/debian/compat
   trunk/opennms/debian/control
   trunk/opennms/debian/copyright
   trunk/opennms/debian/libopnnms-install-java.install
   trunk/opennms/debian/libopnnms-joesnmp-java.install
   trunk/opennms/debian/orig-tar.exclude
   trunk/opennms/debian/orig-tar.sh
   trunk/opennms/debian/rules
   trunk/opennms/debian/watch
Log:
* Initial inject of opennms



Property changes on: trunk/opennms/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: trunk/opennms/debian/README.Debian-source
===================================================================
--- trunk/opennms/debian/README.Debian-source	                        (rev 0)
+++ trunk/opennms/debian/README.Debian-source	2007-11-06 15:26:14 UTC (rev 4634)
@@ -0,0 +1,13 @@
+jbossas4
+========
+
+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>, Sat,  3 Nov 2007 18:17:29 +0530

Added: trunk/opennms/debian/ant.properties
===================================================================
--- trunk/opennms/debian/ant.properties	                        (rev 0)
+++ trunk/opennms/debian/ant.properties	2007-11-06 15:26:14 UTC (rev 4634)
@@ -0,0 +1,19 @@
+project.name=jbossas
+class.dir=classes
+source.dir=src
+
+core.dir=core
+install.dir=install
+joesnmp.dir=joesnmp
+postgresql.dir=postgresql
+report.dir=report
+services.dir=services
+web.dir=web
+
+core.jar=opennms-core.jar
+install.jar=opennms-install.jar
+joesnmp.jar=opennms-joesnmp.jar
+postgresql.jar=opennms-postgresql.jar
+report.jar=opennms-report.jar
+services.jar=opennms-services.jar
+web.jar=opennms-web.jar

Added: trunk/opennms/debian/build.xml
===================================================================
--- trunk/opennms/debian/build.xml	                        (rev 0)
+++ trunk/opennms/debian/build.xml	2007-11-06 15:26:14 UTC (rev 4634)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project default="jar" name="${project.name}" basedir="..">
+
+  <target name="clean">
+    <delete dir="${core.dir}/${class.dir}" quiet="true"/>
+    <delete dir="${install.dir}/${class.dir}" quiet="true"/>
+    <delete dir="${joesnmp.dir}/${class.dir}" quiet="true"/>
+    <delete dir="${report.dir}/${class.dir}" quiet="true"/>
+    <delete dir="${services.dir}/${class.dir}" quiet="true"/>
+    <delete dir="${web.dir}/${class.dir}" quiet="true"/>
+    <delete file="${core.jar}" quiet="true"/>
+    <delete file="${install.jar}" quiet="true"/>
+    <delete file="${joesnmp.jar}" quiet="true"/>
+    <delete file="${report.jar}" quiet="true"/>
+    <delete file="${services.jar}" quiet="true"/>
+    <delete file="${web.jar}" quiet="true"/>
+  </target>
+
+  <target name="jar">
+    <mkdir dir="${source.dir}/${joesnmp.dir}/${class.dir}"/>
+    <javac srcdir="${source.dir}/${joesnmp.dir}" destdir="${source.dir}/${joesnmp.dir}/${class.dir}"
+      debug="true"/>
+
+    <jar jarfile="${joesnmp.jar}">
+      <fileset dir="${source.dir}/${joesnmp.dir}/${class.dir}">
+          <include name="**"/>
+      </fileset>
+    </jar>
+
+    <mkdir dir="${source.dir}/${install.dir}/${class.dir}"/>
+    <javac srcdir="${source.dir}/${install.dir}" destdir="${source.dir}/${install.dir}/${class.dir}"
+      debug="true"/>
+
+    <jar jarfile="${install.jar}">
+      <fileset dir="${source.dir}/${install.dir}/${class.dir}">
+          <include name="**"/>
+      </fileset>
+    </jar>
+
+  </target>
+</project>

Added: trunk/opennms/debian/changelog
===================================================================
--- trunk/opennms/debian/changelog	                        (rev 0)
+++ trunk/opennms/debian/changelog	2007-11-06 15:26:14 UTC (rev 4634)
@@ -0,0 +1,5 @@
+opennms (1.2.9-1) unstable; urgency=low
+
+  * Initial release ()
+
+ -- Varun Hiremath <varunhiremath at gmail.com>  Tue, 24 Apr 2007 17:19:10 +0530

Added: trunk/opennms/debian/compat
===================================================================
--- trunk/opennms/debian/compat	                        (rev 0)
+++ trunk/opennms/debian/compat	2007-11-06 15:26:14 UTC (rev 4634)
@@ -0,0 +1 @@
+5

Added: trunk/opennms/debian/control
===================================================================
--- trunk/opennms/debian/control	                        (rev 0)
+++ trunk/opennms/debian/control	2007-11-06 15:26:14 UTC (rev 4634)
@@ -0,0 +1,33 @@
+Source: opennms
+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), quilt
+Build-Depends-Indep: ant, java-gcj-compat-dev
+Standards-Version: 3.7.2
+Homepage: http://www.opennms.org/index.php/Main_Page
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/opennms
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/opennms
+
+Package: libopennms-joesnmp-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java1-runtime | java2-runtime
+Description: Open-source Network Management
+ OpenNMS is the world's first enterprise grade network management
+ platform developed under the open source model. It consists of a
+ community supported open-source project as well as a commercial
+ services, training, and support organization.
+ .
+ This package ships the opennms-joesnmp classes.
+
+Package: libopennms-install-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java1-runtime | java2-runtime
+Description: Open-source Network Management
+ OpenNMS is the world's first enterprise grade network management
+ platform developed under the open source model. It consists of a
+ community supported open-source project as well as a commercial
+ services, training, and support organization.
+ .
+ This package ships the opennms-install classes.

Added: trunk/opennms/debian/copyright
===================================================================
--- trunk/opennms/debian/copyright	                        (rev 0)
+++ trunk/opennms/debian/copyright	2007-11-06 15:26:14 UTC (rev 4634)
@@ -0,0 +1,35 @@
+This package was debianized by Varun Hiremath <varunhiremath at gmail.com> on
+Tue, 24 Apr 2007 17:19:10 +0530.
+
+It was downloaded from https://opennms.svn.sourceforge.net/svnroot/opennms/opennms/tags/
+
+Upstream Author: The OpenNMS Group, Inc.
+
+Copyright: 
+(C) 1999-2001 Oculan Corp.  All rights reserved.
+(C) 2002-2005 The OpenNMS Group, Inc. All rights reserved.
+(C) 2002 Scott McCrory
+(C) 2002 Sortova Consulting Group, Inc.  All rights reserved.
+(C) 2003 Networked Knowledge Systems, Inc.  All rights reserved.
+(C) 2003 Tavve Software Company.  All rights reserved.
+(C) 2004 Eric Molitor <eric at tuxbot.com>
+(C) 2002-2003 Blast Internet Services, Inc. All
+(C) 2004 Adam Buckley
+(C) 2004 DJ Gregor
+
+License:
+   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.
+
+   On Debian systems, the complete text of the GNU General
+   Public License can be found in `/usr/share/common-licenses/GPL'.
+
+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/opennms/debian/libopnnms-install-java.install
===================================================================
--- trunk/opennms/debian/libopnnms-install-java.install	                        (rev 0)
+++ trunk/opennms/debian/libopnnms-install-java.install	2007-11-06 15:26:14 UTC (rev 4634)
@@ -0,0 +1 @@
+debian/tmp/usr/share/java/opennms-install*

Added: trunk/opennms/debian/libopnnms-joesnmp-java.install
===================================================================
--- trunk/opennms/debian/libopnnms-joesnmp-java.install	                        (rev 0)
+++ trunk/opennms/debian/libopnnms-joesnmp-java.install	2007-11-06 15:26:14 UTC (rev 4634)
@@ -0,0 +1 @@
+debian/tmp/usr/share/java/opennms-joesnmp*

Added: trunk/opennms/debian/orig-tar.exclude
===================================================================
--- trunk/opennms/debian/orig-tar.exclude	                        (rev 0)
+++ trunk/opennms/debian/orig-tar.exclude	2007-11-06 15:26:14 UTC (rev 4634)
@@ -0,0 +1,5 @@
+*.class
+*.ear
+*.jar
+*.sar
+*.war

Added: trunk/opennms/debian/orig-tar.sh
===================================================================
--- trunk/opennms/debian/orig-tar.sh	                        (rev 0)
+++ trunk/opennms/debian/orig-tar.sh	2007-11-06 15:26:14 UTC (rev 4634)
@@ -0,0 +1,23 @@
+#!/bin/sh -e
+
+# $1 = version
+TAR=../opennms_$1.orig.tar.gz
+DIR=opennms-$1.orig
+VERSION=`echo $1 | sed -e 's/\./_/g'`
+echo $VERSION
+
+# clean up the upstream tarball
+mkdir $DIR
+(cd $DIR;\
+svn export https://opennms.svn.sourceforge.net/svnroot/opennms/opennms/tags/OPENNMS_${VERSION}_RELEASE/src src;\
+svn export https://opennms.svn.sourceforge.net/svnroot/opennms/opennms/tags/OPENNMS_${VERSION}_RELEASE/CHANGELOG)
+GZIP=--best tar -c -z -f $TAR $DIR
+rm -rf $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/opennms/debian/orig-tar.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/opennms/debian/rules
===================================================================
--- trunk/opennms/debian/rules	                        (rev 0)
+++ trunk/opennms/debian/rules	2007-11-06 15:26:14 UTC (rev 4634)
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+JAVA_HOME 		:= /usr/lib/jvm/java-gcj
+DEB_ANT_BUILD_TARGET	:= jar
+DEB_ANT_BUILDFILE	:= debian/build.xml
+DEB_JARS		:= junit
+
+ALL_JARS = $(wildcard *.jar)
+DEST_DIR = $(DEB_DESTDIR)/usr/share/java
+
+common-install-prehook-indep::
+	for jar in $(ALL_JARS); do                         \
+	  BASENAME=`basename $$jar .jar`;        \
+	  FULLNAME=$$BASENAME-$(DEB_UPSTREAM_VERSION).jar; \
+	  install -m 644 -D $$jar $(DEST_DIR)/$$FULLNAME;  \
+	  ln -s $$FULLNAME $(DEST_DIR)/$$BASENAME.jar;     \
+	done
+
+get-orig-source:
+	sh debian/orig-tar.sh $(DEB_UPSTREAM_VERSION)


Property changes on: trunk/opennms/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/opennms/debian/watch
===================================================================
--- trunk/opennms/debian/watch	                        (rev 0)
+++ trunk/opennms/debian/watch	2007-11-06 15:26:14 UTC (rev 4634)
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/jboss/ jboss-(4.*)-src\.tar\.gz debian debian/orig-tar.sh




More information about the pkg-java-commits mailing list