[libnetx-java] 01/13: * Initial inject of libnetx-java
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Tue Nov 28 11:58:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository libnetx-java.
commit ab2cf79369fa9003762d16d79844054d53c4933e
Author: Varun Hiremath <varun at debian.org>
Date: Fri Nov 16 22:04:11 2007 +0000
* Initial inject of libnetx-java
---
debian/README.Debian-source | 13 +++++++++
debian/changelog | 5 ++++
debian/compat | 1 +
debian/control | 32 ++++++++++++++++++++++
debian/copyright | 53 +++++++++++++++++++++++++++++++++++++
debian/doc-base | 9 +++++++
debian/install | 1 +
debian/orig-tar.sh | 18 +++++++++++++
debian/patches/ambiguous_Proxy.diff | 12 +++++++++
debian/patches/protected.diff | 13 +++++++++
debian/patches/series | 2 ++
debian/rules | 15 +++++++++++
debian/watch | 2 ++
13 files changed, 176 insertions(+)
diff --git a/debian/README.Debian-source b/debian/README.Debian-source
new file mode 100644
index 0000000..f152e34
--- /dev/null
+++ b/debian/README.Debian-source
@@ -0,0 +1,13 @@
+libnetx-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>, Sat, 17 Nov 2007 02:36:58 +0530
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b8c980f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libnetx-java (0.5-1) unstable; urgency=low
+
+ * Initial release (Closes: #451555)
+
+ -- 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..e789b01
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,32 @@
+Source: libnetx-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), quilt
+Build-Depends-Indep: ant, java-gcj-compat-dev
+Standards-Version: 3.7.2
+Homepage: http://jnlp.sourceforge.net/netx/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libnetx-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libnetx-java
+
+Package: libnetx-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ java-gcj-compat | java1-runtime | java2-runtime
+Description: An open-source JNLP client
+ Netx is a high-quality implementation of the Java Network Launching
+ Protocol (JNLP). It downloads code over the network for applications
+ and applets, caches it, and runs it in a secure environment.
+ .
+ General Features of netx and JNLP:
+ * Quality: Highest quality open-source JNLP client.
+ * Modular: Easily add JNLP capabilities to any applications.
+ * Security: Run code in a sandbox or log its activities.
+ * Small Size: Loads from a ~130K JAR file.
+ * Auto-Update: No special code needed to auto-update apps.
+ * Fast startup: Runs code from a cache for fast starting.
+ * Saves Memory: Supports running apps in a shared JVM.
+ * No Browser: Runs apps and applets without a browser.
+ * Web Based: No installers needed to deploy an application
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..348aa72
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,53 @@
+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://jnlp.sourceforge.net/netx/
+
+Upstream Authors: Jon A. Maxwell (JAM)
+
+Copyright: (C) 2001-2003 Jon A. Maxwell (JAM)
+
+License:
+ This library is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 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
+ Lesser General Public License for more details.
+
+ On Debian systems, full text of the LGPL license can be found at
+ `/usr/share/common-licenses/LGPL'.
+
+------
+NanoXML
+
+Files:
+ src/nanoxml/XMLElement.java
+ src/nanoxml/XMLParseException.java
+
+Copyright: (C) 2000-2002 Marc De Scheemaecker, All Rights Reserved.
+
+License:
+ This software is provided 'as-is', without any express or implied warranty.
+ In no event will the authors be held liable for any damages arising from the
+ use of this software.
+
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+
+ 1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software in
+ a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+
+ 2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+
+ 3. This notice may not be removed or altered from any source distribution.
+
+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/doc-base b/debian/doc-base
new file mode 100644
index 0000000..bfb59fe
--- /dev/null
+++ b/debian/doc-base
@@ -0,0 +1,9 @@
+Document: libnetx-java
+Title: API for netx
+Authors: Jon A. Maxwell (JAM)
+Abstract: An open-source JNLP client
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libnetx-java/api/index.html
+Files: /usr/share/doc/libnetx-java/api/*.html
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..1995a0a
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+javadoc/* /usr/share/doc/libnetx-java/api/
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..7369add
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+TAR=../libnetx-java_$2.orig.tar.gz
+DIR=libnetx-java-$2.orig
+
+# clean up the upstream tarball
+unzip $3
+mv netx-$2 $DIR
+GZIP=--best tar -c -z -f $TAR --exclude '*/javadoc/*' --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
diff --git a/debian/patches/ambiguous_Proxy.diff b/debian/patches/ambiguous_Proxy.diff
new file mode 100644
index 0000000..de55326
--- /dev/null
+++ b/debian/patches/ambiguous_Proxy.diff
@@ -0,0 +1,12 @@
+Index: libnetx-java-0.5/src/netx/jnlp/services/ServiceUtil.java
+===================================================================
+--- libnetx-java-0.5.orig/src/netx/jnlp/services/ServiceUtil.java 2007-11-17 02:44:57.000000000 +0530
++++ libnetx-java-0.5/src/netx/jnlp/services/ServiceUtil.java 2007-11-17 02:45:02.000000000 +0530
+@@ -18,7 +18,6 @@
+ package netx.jnlp.services;
+
+ import java.io.*;
+-import java.net.*;
+ import java.util.*;
+ import java.lang.reflect.*;
+ import java.security.*;
diff --git a/debian/patches/protected.diff b/debian/patches/protected.diff
new file mode 100644
index 0000000..eae6e4f
--- /dev/null
+++ b/debian/patches/protected.diff
@@ -0,0 +1,13 @@
+Index: libnetx-java-0.5/src/netx/jnlp/runtime/JNLPClassLoader.java
+===================================================================
+--- libnetx-java-0.5.orig/src/netx/jnlp/runtime/JNLPClassLoader.java 2007-11-17 03:08:38.000000000 +0530
++++ libnetx-java-0.5/src/netx/jnlp/runtime/JNLPClassLoader.java 2007-11-17 03:09:00.000000000 +0530
+@@ -398,7 +398,7 @@
+ /**
+ * Return the absolute path to the native library.
+ */
+- protected String findLibrary(String lib) {
++ public String findLibrary(String lib) {
+ if (nativeDir == null)
+ return null;
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ac53588
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+protected.diff
+ambiguous_Proxy.diff
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..aeee038
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/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 javadoc
+
+install/libnetx-java::
+ install -m 644 -D netx.jar $(DEB_DESTDIR)/usr/share/java/netx-$(DEB_UPSTREAM_VERSION).jar
+ dh_link /usr/share/java/netx-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/netx.jar
+
+get-orig-source:
+ -uscan --upstream-version 0
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..1b3ea4f
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/jnlp/ netx-(.*)\.zip debian debian/orig-tar.sh
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libnetx-java.git
More information about the pkg-java-commits
mailing list