[libj2ssh-java] 02/23: [svn-inject] Applying Debian modifications to trunk
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Jan 3 23:52:51 UTC 2018
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository libj2ssh-java.
commit 785f31e86d70a1f7d2b412346388733e9dd5544d
Author: Varun Hiremath <varun at debian.org>
Date: Thu Sep 6 11:08:00 2007 +0000
[svn-inject] Applying Debian modifications to trunk
---
trunk/debian/README.Debian-source | 13 +++++++++
trunk/debian/changelog | 5 ++++
trunk/debian/compat | 1 +
trunk/debian/control | 47 +++++++++++++++++++++++++++++++++
trunk/debian/copyright | 40 ++++++++++++++++++++++++++++
trunk/debian/libj2ssh-java-doc.doc-base | 11 ++++++++
trunk/debian/libj2ssh-java-doc.install | 2 ++
trunk/debian/libj2ssh-java.install | 1 +
trunk/debian/orig-tar.sh | 21 +++++++++++++++
trunk/debian/rules | 24 +++++++++++++++++
trunk/debian/watch | 3 +++
11 files changed, 168 insertions(+)
diff --git a/trunk/debian/README.Debian-source b/trunk/debian/README.Debian-source
new file mode 100644
index 0000000..81da53b
--- /dev/null
+++ b/trunk/debian/README.Debian-source
@@ -0,0 +1,13 @@
+libj2ssh-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> Thu, 6 Sep 2007 13:53:01 +0530
diff --git a/trunk/debian/changelog b/trunk/debian/changelog
new file mode 100644
index 0000000..0bbd53a
--- /dev/null
+++ b/trunk/debian/changelog
@@ -0,0 +1,5 @@
+libj2ssh-java (0.2.9-1) unstable; urgency=low
+
+ * Initial release (Closes: #439551)
+
+ -- Varun Hiremath <varunhiremath at gmail.com> Thu, 06 Sep 2007 16:26:55 +0530
diff --git a/trunk/debian/compat b/trunk/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/trunk/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/trunk/debian/control b/trunk/debian/control
new file mode 100644
index 0000000..945862d
--- /dev/null
+++ b/trunk/debian/control
@@ -0,0 +1,47 @@
+Source: libj2ssh-java
+Section: libs
+Priority: optional
+Maintainer: Debian Java maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Varun Hiremath <varunhiremath at gmail.com>, Kumar Appaiah <akumar at ee.iitm.ac.in>
+Build-Depends: cdbs, debhelper (>= 5)
+Build-Depends-Indep: java-gcj-compat-dev, ant, libcommons-logging-java, libxerces2-java, libbcprov-java
+Standards-Version: 3.7.2
+
+Package: libj2ssh-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | gij | java2-runtime
+Description: a Java library for the SSH protocol
+ J2SSH is an object-orientated Java library implementation of the SSH
+ version 2 protocol. It provides a rich, powerful, and extensible SSH
+ API that enables developers to gain access to SSH servers and to
+ develop entire SSH client/server frameworks. The API library provides
+ a fully-featured SSH2 implementation specifically designed for
+ cross-platform development. Higher level components, representing
+ both the standard SSH client and SSH servers, are provided which
+ implement the protocol specification for user sessions and port
+ forwarding. The specification currently supports public key and
+ password authentication and a full implementation of the SFTP
+ protocol.
+ .
+ Homepage: http://sshtools.sourceforge.net
+
+Package: libj2ssh-java-doc
+Architecture: all
+Suggests: java-virtual-machine
+Description: a Java library for the SSH protocol - documentation and examples
+ J2SSH is an object-orientated Java library implementation of the SSH
+ version 2 protocol. It provides a rich, powerful, and extensible SSH
+ API that enables developers to gain access to SSH servers and to
+ develop entire SSH client/server frameworks. The API library provides
+ a fully-featured SSH2 implementation specifically designed for
+ cross-platform development. Higher level components, representing
+ both the standard SSH client and SSH servers, are provided which
+ implement the protocol specification for user sessions and port
+ forwarding. The specification currently supports public key and
+ password authentication and a full implementation of the SFTP
+ protocol.
+ .
+ This package includes the API documentation as well as some examples
+ for the j2ssh library.
+ .
+ Homepage: http://sshtools.sourceforge.net
diff --git a/trunk/debian/copyright b/trunk/debian/copyright
new file mode 100644
index 0000000..13a23ee
--- /dev/null
+++ b/trunk/debian/copyright
@@ -0,0 +1,40 @@
+This package was debianized by Varun Hiremath <varunhiremath at gmail.com> on
+Fri, 24 Aug 2007 21:21:31 +0530.
+
+It was downloaded from http://sshtools.sourceforge.net/
+
+Upstream Authors:
+ Original author: Lee David Painter
+
+ Contributors:
+ Brett Smith
+ Richard Pernavas
+ Erwin Bolwidt
+ Sascha Hunold <hunoldinho at users.sourceforge.net>
+
+Copyright: (C) 2002-2003 Lee David Painter and Contributors.
+ (C) 2000 Dieter Wimberger
+ (C) 2002, by Manfred Duchrow. All rights reserved.
+
+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.
+
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, 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/GPL'.
+
+The Debian packaging is (C) 2007, Varun Hiremath <varunhiremath at gmail.com>
+and Kumar Appaiah <akumar at ee.iitm.ac.in> and is licensed under the GPL,
+see above.
diff --git a/trunk/debian/libj2ssh-java-doc.doc-base b/trunk/debian/libj2ssh-java-doc.doc-base
new file mode 100644
index 0000000..d8a1ce1
--- /dev/null
+++ b/trunk/debian/libj2ssh-java-doc.doc-base
@@ -0,0 +1,11 @@
+Document: libj2ssh-java
+Title: API for J2SSH
+Author: Lee David Painter and Contributors, Dieter Wimberger, by Manfred Duchrow
+Abstract: J2SSH provides a rich, powerful, and extensible SSH API that
+ enables developers to gain access to SSH servers and to develop entire
+ SSH client/server frameworks.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libj2ssh-java-doc/api/index.html
+Files: /usr/share/doc/libj2ssh-java-doc/api/*.html
diff --git a/trunk/debian/libj2ssh-java-doc.install b/trunk/debian/libj2ssh-java-doc.install
new file mode 100644
index 0000000..985db80
--- /dev/null
+++ b/trunk/debian/libj2ssh-java-doc.install
@@ -0,0 +1,2 @@
+docs/* /usr/share/doc/libj2ssh-java-doc/api
+examples/* usr/share/doc/libj2ssh-java-doc/examples
diff --git a/trunk/debian/libj2ssh-java.install b/trunk/debian/libj2ssh-java.install
new file mode 100644
index 0000000..2f868b0
--- /dev/null
+++ b/trunk/debian/libj2ssh-java.install
@@ -0,0 +1 @@
+dist/lib/*.jar /usr/share/java
diff --git a/trunk/debian/orig-tar.sh b/trunk/debian/orig-tar.sh
new file mode 100644
index 0000000..d04583c
--- /dev/null
+++ b/trunk/debian/orig-tar.sh
@@ -0,0 +1,21 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+TAR=../j2ssh-$2-src.tar.gz
+DIR=libj2ssh-java-$2.orig
+
+# clean up the upstream tarball
+mv $TAR $3
+tar zxf $3
+mv j2ssh $DIR
+GZIP=--best tar czf $3 --exclude 'lib/*' $DIR
+rm -rf $TAR $DIR
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $TAR $origDir
+ echo "moved $3 to $origDir"
+fi
+
+exit 0
diff --git a/trunk/debian/rules b/trunk/debian/rules
new file mode 100755
index 0000000..687597c
--- /dev/null
+++ b/trunk/debian/rules
@@ -0,0 +1,24 @@
+#!/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 := javadoc
+DEB_JARS := commons-logging xercesImpl xmlParserAPIs bcprov
+
+clean::
+ rm -rf docs
+
+install/libj2ssh-java::
+ dh_link /usr/share/java/j2ssh-core-$(DEB_UPSTREAM_VERSION).jar \
+ /usr/share/java/j2ssh-core.jar
+ dh_link /usr/share/java/j2ssh-ant-$(DEB_UPSTREAM_VERSION).jar \
+ /usr/share/java/j2ssh-ant.jar
+ dh_link /usr/share/java/j2ssh-dameon-$(DEB_UPSTREAM_VERSION).jar \
+ /usr/share/java/j2ssh-dameon.jar
+ dh_link /usr/share/java/j2ssh-common-$(DEB_UPSTREAM_VERSION).jar \
+ /usr/share/java/j2ssh-common.jar
+
+get-orig-source:
+ -uscan --upstream-version 0
diff --git a/trunk/debian/watch b/trunk/debian/watch
new file mode 100644
index 0000000..c099e99
--- /dev/null
+++ b/trunk/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://heanet.dl.sourceforge.net/sourceforge/sshtools/ \
+ j2ssh-(.*)-src\.tar\.gz debian debian/orig-tar.sh
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libj2ssh-java.git
More information about the pkg-java-commits
mailing list