[remotetea] 01/06: Imported Debian patch 1.0.7-1

Frédéric-Emmanuel Picca picca at moszumanska.debian.org
Sat Nov 22 11:46:15 GMT 2014


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

picca pushed a commit to branch master
in repository remotetea.

commit 461dff78680fc2e9cfd4a16b9794992a1565f3fb
Author: Picca Frédéric-Emmanuel <picca at synchrotron-soleil.fr>
Date:   Mon Aug 3 15:11:28 2009 +0200

    Imported Debian patch 1.0.7-1
---
 build.xml        | 162 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/changelog |   6 +++
 debian/compat    |   1 +
 debian/control   |  23 ++++++++
 debian/copyright |  32 +++++++++++
 debian/docs      |   1 +
 debian/install   |   1 +
 debian/jlibs     |   3 ++
 debian/jrpcgen.1 |  76 ++++++++++++++++++++++++++
 debian/links     |   1 +
 debian/manpages  |   1 +
 debian/rules     |  24 +++++++++
 debian/watch     |   2 +
 13 files changed, 333 insertions(+)

diff --git a/build.xml b/build.xml
new file mode 100644
index 0000000..e78ccb1
--- /dev/null
+++ b/build.xml
@@ -0,0 +1,162 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  $Header: /cvsroot-fuse/remotetea/remotetea/build.xml,v 1.7 2008/01/05 17:21:45 haraldalbrecht Exp $
+  
+  build.xml - contains the ANT rules for building Remote Tea
+  
+  -->
+<project name="Remote Tea" default="jar" basedir=".">
+
+	<!-- -->
+	<property name="buildDir" value="classes"/>
+	<property name="srcDir" value="src"/>
+	<property name="javadocDir" value="javadoc"/>
+	<property name="distDir" value="dist"/>
+	
+	<property name="distVersion" value="1.0.8"/>
+
+	<!-- -->
+	<!-- ** SF patch #943219: add compile target ** -->
+	<!-- Compile classes -->
+	<target name="compile" description="compile classes">
+		<mkdir dir="${buildDir}"/>
+		<javac srcdir="${srcDir}" destdir="${buildDir}" debug="true" deprecation="true" optimize="true">
+		</javac>
+	</target>
+
+	<target name="clean" description="clean build">
+		<delete dir="${buildDir}"/>
+		<delete dir="${javadocDir}"/>
+	</target>
+
+	<!-- Generate JAR files:
+	     * oncrpc.jar contains the ONC/RPC client and server functionality,
+	     * jrpcgen.jar contains the x-file protocol compiler,
+	     * jportmap.jar contains an ONC/RPC portmapper including base libraries
+	       (so older JREs have no problems executing it standalone).
+	  -->
+	<!-- ** SF patch #943219: add compile target / compile dependency ** -->
+	<target name="jar" description="generate jar files" depends="compile">
+		<delete file="${buildDir}/oncrpc.jar"/>
+		<jar jarfile="${buildDir}/oncrpc.jar" basedir="${buildDir}" includes="org/acplt/oncrpc/*.class,org/acplt/oncrpc/server/*.class">
+			<manifest>
+				<attribute name="Extension-Name" value="ONC/RPC"/>
+				<attribute name="Specification-Title" value="Open Network Computing Remote Procedure Call (core)"/> 
+				<attribute name="Specification-Version" value="2.0"/> 
+				<attribute name="Specification-Vendor" value="Sun Microsystems, Inc"/> 
+				<attribute name="Implementation-Title" value="Open Network Computing Remote Procedure Call (core)"/> 
+				<attribute name="Implementation-Version" value="${distVersion}"/>  
+				<attribute name="Implementation-Vendor" value="RemoteTea SF Project"/> 
+			</manifest>
+		</jar>
+		<delete file="${buildDir}/jrpcgen.jar"/>
+		<!-- ** SF patch #943215: include Ant task with jrpcgen.jar ** -->
+		<jar jarfile="${buildDir}/jrpcgen.jar" basedir="${buildDir}" includes="org/acplt/oncrpc/apps/jrpcgen/**/*.class,org/acplt/oncrpc/ant/*.class">
+			<manifest>
+				<attribute name="Main-Class" value="org.acplt.oncrpc.apps.jrpcgen.jrpcgen"/>
+				<attribute name="Extension-Name" value="ONC/RPC"/>
+				<attribute name="Specification-Title" value="Open Network Computing Remote Procedure Call (rpcgen)"/> 
+				<attribute name="Specification-Version" value="unknown (rpcgen x.x)"/> 
+				<attribute name="Specification-Vendor" value="Sun Microsystems, Inc"/> 
+				<attribute name="Implementation-Title" value="Open Network Computing Remote Procedure Call (rpcgen)"/> 
+				<attribute name="Implementation-Version" value="${distVersion}"/>  
+				<attribute name="Implementation-Vendor" value="RemoteTea SF Project"/> 
+			</manifest>
+		</jar>
+		<delete file="${buildDir}/portmap.jar"/>
+		<jar jarfile="${buildDir}/portmap.jar" basedir="${buildDir}" includes="org/acplt/oncrpc/*.class,org/acplt/oncrpc/server/*.class,org/acplt/oncrpc/apps/jportmap/*.class">
+			<manifest>
+				<attribute name="Main-Class" value="org.acplt.oncrpc.apps.jportmap.jportmap"/>
+				<attribute name="Extension-Name" value="ONC/RPC"/>
+				<attribute name="Specification-Title" value="Open Network Computing Remote Procedure Call (rpcbind)"/> 
+				<attribute name="Specification-Version" value="2.0"/> 
+				<attribute name="Specification-Vendor" value="Sun Microsystems, Inc"/> 
+				<attribute name="Implementation-Title" value="Open Network Computing Remote Procedure Call (rpcbind)"/> 
+				<attribute name="Implementation-Version" value="${distVersion}"/>  
+				<attribute name="Implementation-Vendor" value="RemoteTea SF Project"/> 
+			</manifest>
+		</jar>
+	</target>
+	
+	<!-- Generate JavaDoc -->
+	<target name="javadoc" description="generate JavaDoc documentation files">
+		<delete dir="${javadocDir}"/>
+		<mkdir dir="${javadocDir}"/>
+		<javadoc sourcepath="${srcDir}" destdir="${javadocDir}" classpath="${buildDir}" private="true" author="on">
+			<package name="org.acplt.oncrpc"/>
+			<package name="org.acplt.oncrpc.server"/>
+			<package name="org.acplt.oncrpc.web"/>
+			<package name="org.acplt.oncrpc.apps.jrpcgen"/>
+			<package name="org.acplt.oncrpc.apps.jportmap"/>
+			<package name="org.acplt.oncrpc.apps.ant"/>
+		</javadoc>
+	</target>
+
+	<!-- Generate SF file packages -->
+	<target name="sf" description="generate SF file packages" depends="jar,javadoc">
+		<echo>generating SF file packages for version ${distVersion}...</echo>
+		<mkdir dir="${distDir}"/>
+		<!-- binary plus documentation distribution -->
+		<zip zipfile="${distDir}/remotetea-bin-doc.zip">
+			<zipfileset dir="." prefix="remotetea/">
+				<include name="${buildDir}/*.jar"/>
+				<include name="${javadocDir}/"/>
+			</zipfileset>
+			<zipfileset dir="." prefix="remotetea/">
+				<include name="readme.html"/>
+				<include name="changelog.html"/>
+				<include name="docstyle.css"/>
+				<include name="COPYING.LIB"/>
+				<include name="build.xml"/>
+			</zipfileset>
+		</zip>
+		<!-- source only distribution -->
+		<zip zipfile="${distDir}/remotetea-src.zip">
+			<zipfileset dir="." prefix="remotetea/">
+				<include name=".project"/>
+				<include name=".classpath"/>
+				<include name="readme.html"/>
+				<include name="changelog.html"/>
+				<include name="docstyle.css"/>
+				<include name="COPYING.LIB"/>
+			</zipfileset>
+			<zipfileset dir="." prefix="remotetea/">
+				<include name="${srcDir}/"/>
+			</zipfileset>
+		</zip>
+	</target>
+
+	<!-- compile Jrpcgen test example and compile resulting Java files -->
+	<target name="jrpcgen-test" description="run jrpcgen test">
+		<echo>Cleaning up example mess...</echo>
+		<delete><!-- make a fresh start so we don't get bitten by damaged example source code -->
+			<fileset dir="${srcDir}/tests/org/acplt/oncrpc/jrpcgen" includes="*.java" excludes="demoClientExample.java demoServer.java"/>
+		</delete>
+		<echo>Compiling Jrpcgen protocol compiler...</echo>
+		<antcall target="compile"/>
+		<echo>Running Jrpcgen x protocol compiler on demo.x...</echo>
+		<java classname="org.acplt.oncrpc.apps.jrpcgen.jrpcgen" classpath="${buildDir}" dir="${srcDir}/tests/org/acplt/oncrpc/jrpcgen" fork="yes">
+			<arg value="-verbose"/>
+			<arg value="-ser"/>
+			<arg value="-bean"/>
+			<arg value="-p"/>
+			<arg value="tests.org.acplt.oncrpc.jrpcgen"/>
+			<arg value="-nobackup"/>
+			<arg value="demo.x"/>
+		</java>
+		<echo>Running Jrpcgen x protocol compiler on demo2.x...</echo>
+		<java classname="org.acplt.oncrpc.apps.jrpcgen.jrpcgen" classpath="${buildDir}" dir="${srcDir}/tests/org/acplt/oncrpc/jrpcgen" fork="yes">
+			<arg value="-verbose"/>
+			<arg value="-p"/>
+			<arg value="tests.org.acplt.oncrpc.jrpcgen"/>
+			<arg value="-nobackup"/>
+			<arg value="demo2.x"/>
+		</java>
+		<echo>Compiling example mess...</echo>
+		<javac srcdir="${srcDir}/tests/org/acplt/oncrpc/jrpcgen" destdir="${buildDir}" debug="true" deprecation="true" optimize="true">
+		</javac>
+		<echo>Succeeded.</echo>
+	</target>
+	
+</project>
+<!-- End of build.xml -->
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..35d1598
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+remotetea (1.0.7-1) unstable; urgency=low
+
+  * Initial release (Closes: #539375)
+  * Thanks to Justin B Rye for package description review
+
+ -- Picca Frédéric-Emmanuel <picca at synchrotron-soleil.fr>  Mon, 3 Aug 2009 15:11:28 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..8bae93a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: remotetea
+Section: java
+Priority: extra
+Maintainer: Picca Frédéric-Emmanuel <picca at synchrotron-soleil.fr>
+Build-Depends: debhelper (>= 7.0.50), javahelper, default-jdk, ant
+Standards-Version: 3.8.2
+Homepage: http://remotetea.sourceforge.net
+
+Package: remotetea
+Architecture: all
+Depends: ${java:Depends}, ${misc:Depends}
+Description: Sun ONC/RPC support for Java
+ This package implements Sun's Open Network Computing Remote Procedure
+ Call specification (see RFC 1831, RFC 1832, RFC 1833) in pure Java.
+ .
+ It supports:
+  * RPC calls over TCP/IP as well as UDP/IP;
+  * both client and server functionality;
+  * portmapper querying;
+  * authentication types AUTH_NONE, AUTH_UNIX, and AUTH_SHORT
+    (on both client and server sides).
+ .
+ The utility jrpcgen is provided to compile .x files into Java classes.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..28c2257
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Upstream-Author: Harald Albrecht <harald at plt.rwth-aachen.de>
+Debianized-By: picca frederic <picca at synchrotron-soleil.fr>
+Debianized-Date: Sat, 18 Nov 2006 18:52:07 +0100.
+Original-Source-Location: http://tango-controls.org/download
+
+Files: debian/*
+Copyright: © 2006-2008, picca frederic<picca at synchrotron-soleil.fr>
+Licence: LGPL-2+
+ The Debian packaging information is under the LGPL, version 2 or later
+ On Debian systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/LGPL-2'.
+
+Files: *
+Copyright: © 1999, 2003 Chair of Process Control Engineering,
+ Aachen University of Technology, 52064 Aachen, Germany
+Licence: LGPL-2+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library 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
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA  02110-1301 USA
+ On Debian systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/LGPL-2'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..8056a96
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+readme.html
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..68ac2c2
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+javadoc/* /usr/share/doc/remotetea/api
diff --git a/debian/jlibs b/debian/jlibs
new file mode 100644
index 0000000..7d5c42f
--- /dev/null
+++ b/debian/jlibs
@@ -0,0 +1,3 @@
+classes/oncrpc.jar
+classes/jrpcgen.jar
+classes/portmap.jar
diff --git a/debian/jrpcgen.1 b/debian/jrpcgen.1
new file mode 100644
index 0000000..bcd3f8e
--- /dev/null
+++ b/debian/jrpcgen.1
@@ -0,0 +1,76 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.36.
+.TH JRPCGEN "1" "August 2009" "jrpcgen version "1.0.7"" "User Commands"
+.SH NAME
+jrpcgen \- an RPC protocol compiler
+.SH SYNOPSIS
+.B jrpcgen
+[\fI-options\fR] \fIx-file\fR
+.SH DESCRIPTION
+jrpcgen is a tool that generates Java code to implement an RPC protocol.  The input to jrpcgen is a language similar to C known as RPC Language (Remote Procedure Call Language).
+.SS "where options include:"
+.TP
+\fB\-c\fR <classname>
+specify class name of client proxy stub
+.TP
+\fB\-d\fR <dir>
+specify directory where to place generated source code files
+.TP
+\fB\-p\fR <package>
+specify package name for generated source code files
+.TP
+\fB\-s\fR <classname>
+specify class name of server proxy stub
+.TP
+\fB\-ser\fR
+tag generated XDR classes as serializable
+.TP
+\fB\-bean\fR
+generate accessors for usage as bean, implies \fB\-ser\fR
+.TP
+\fB\-noclamp\fR
+do not clamp version number in client method stubs
+.TP
+\fB\-withcallinfo\fR
+supply call information to server method stubs
+.TP
+\fB\-initstrings\fR
+initialize all strings to be empty instead of null
+.TP
+\fB\-nobackup\fR
+do not make backups of old source code files
+.TP
+\fB\-noclient\fR
+do not create client proxy stub
+.TP
+\fB\-noserver\fR
+do not create server proxy stub
+.TP
+\fB\-parseonly\fR
+parse x\-file only but do not create source code files
+.TP
+\fB\-verbose\fR
+enable verbose output about what jrpcgen is doing
+.TP
+\fB\-version\fR
+print jrpcgen version and exit
+.TP
+\fB\-debug\fR
+enables printing of diagnostic messages
+.TP
+\-? \fB\-help\fR
+print this help message and exit
+.TP
+\fB\-\-\fR
+end options
+.SH "SEE ALSO"
+The full documentation for
+.B jrpcgen
+is maintained as a Texinfo manual.  If the
+.B info
+and
+.B jrpcgen
+programs are properly installed at your site, the command
+.IP
+.B info jrpcgen
+.PP
+should give you access to the complete manual.
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..f0585cd
--- /dev/null
+++ b/debian/links
@@ -0,0 +1 @@
+usr/share/java/jrpcgen.jar /usr/bin/jrpcgen
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..99834b5
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+debian/jrpcgen.1
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b1194e6
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+
+PACKAGE = remotetea
+SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p')
+TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.gz
+.PHONY: get-orig-source
+
+export JAVA_HOME = /usr/lib/jvm/default-java
+
+%:
+	dh --with javahelper $@
+
+override_dh_auto_build:
+	ant jar javadoc
+
+get-orig-source:
+	rm -rf get-orig-source $(TARBALL) remotetea.zip
+	mkdir get-orig-source
+	wget http://sourceforge.net/projects/remotetea/files/remotetea/$(SRC_VERSION)/remotetea-src-$(SRC_VERSION).zip/download -O remotetea.zip
+	unzip remotetea.zip -d get-orig-source
+	mv get-orig-source/remotetea get-orig-source/remotetea-$(SRC_VERSION)
+	GZIP=--best tar czf $(TARBALL) -C get-orig-source remotetea-$(SRC_VERSION)
+	rm -rf get-orig-source remotetea.zip
+	echo "  "$(TARBALL)" created; move it to the right destination to build the package"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..bda228a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/remotetea/remotetea-src-(.*)\.zip

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/remotetea.git



More information about the pkg-java-commits mailing list