[jftp] 02/40: * move jftp/debian to the right directory.
Markus Koschany
apo at moszumanska.debian.org
Sat Apr 2 22:50:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
apo pushed a commit to branch master
in repository jftp.
commit 77fdc2eb85bfcffb733dd75a4de69e76055edfc5
Author: Varun Hiremath <varun at debian.org>
Date: Mon Sep 10 15:31:33 2007 +0000
* move jftp/debian to the right directory.
---
debian/changelog | 8 ++
debian/compat | 1 +
debian/control | 23 +++++
debian/copyright | 30 +++++++
debian/docs | 6 ++
debian/examples | 3 +
debian/files | 1 +
debian/jftp.1 | 43 +++++++++
debian/jftp.run | 2 +
debian/jftp/DEBIAN/control | 19 ++++
debian/jftp/DEBIAN/md5sums | 14 +++
debian/jftp/usr/bin/jftp | 2 +
debian/jftp/usr/share/doc/jftp/TODO | 65 ++++++++++++++
debian/jftp/usr/share/doc/jftp/api-use.txt | 8 ++
debian/jftp/usr/share/doc/jftp/applet.html | 13 +++
debian/jftp/usr/share/doc/jftp/bookmarks.txt | 41 +++++++++
debian/jftp/usr/share/doc/jftp/changelog.Debian.gz | Bin 0 -> 296 bytes
debian/jftp/usr/share/doc/jftp/copyright | 30 +++++++
.../share/doc/jftp/examples/FtpDownload.java.gz | Bin 0 -> 1638 bytes
.../usr/share/doc/jftp/examples/FtpUpload.java | 97 +++++++++++++++++++++
.../usr/share/doc/jftp/examples/Grapher.java.gz | Bin 0 -> 2065 bytes
debian/jftp/usr/share/doc/jftp/nfsinfo | 53 +++++++++++
debian/jftp/usr/share/doc/jftp/readme.gz | Bin 0 -> 5414 bytes
debian/jftp/usr/share/java/jftp-1.50.jar | Bin 0 -> 460778 bytes
debian/jftp/usr/share/java/jftp.jar | 1 +
debian/jftp/usr/share/man/man1/jftp.1.gz | Bin 0 -> 795 bytes
debian/manifest.mf | 4 +
debian/manpages | 1 +
debian/orig-tar.sh | 21 +++++
debian/patched/01_manifest_fix.dpatch | 1 +
debian/patched/02_printstream_gcj_fix.dpatch | 1 +
debian/patches/00list | 3 +
debian/patches/01_manifest_fix.dpatch | 19 ++++
debian/patches/02_printstream_gcj_fix.dpatch | 38 ++++++++
debian/rules | 21 +++++
debian/stamp-ant-build | 0
debian/stamp-patched | 0
debian/watch | 3 +
38 files changed, 572 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5eeb86a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,8 @@
+jftp (1.50-1) unstable; urgency=low
+
+ * Initial release (Closes: #415440)
+ * Added 01_manifest_fix.dpatch to use a custom MANIFEST.MF and avoid classpath trouble.
+ * Added 02_printstream_gcj_fix.dpatch to compile j-ftp with gcj.
+ * Clean up jar, remove non-free components.
+
+ -- Varun Hiremath <varunhiremath at gmail.com> Mon, 10 Sep 2007 18:22:53 +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..bed4522
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: jftp
+Section: net
+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), dpatch
+Build-Depends-Indep: libslide-webdavclient-java, libjcifs-java, libjorbis-java, libcommons-logging-java, libcommons-httpclient-java, liblog4j1.2-java, kunststoff, libyanfs-java, libj2ssh-java, libjsch-java
+Standards-Version: 3.7.2
+
+Package: jftp
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, libslide-webdavclient-java, libjcifs-java, libjorbis-java, libcommons-logging-java, libcommons-httpclient-java, liblog4j1.2-java, kunststoff, libyanfs-java, libj2ssh-java, libjsch-java
+Description: a Java GUI client for FTP, SMB, SFTP and NFS
+ JFtp is a graphical Java network and file transfer client. It
+ supports FTP using its own FTP API and various other protocols like
+ SMB, SFTP, NFS, HTTP, and file I/O using third party APIs. It
+ includes many advanced features such as recursive directory
+ up/download, browsing FTP servers while transferring files, FTP
+ resuming and queueing, browsing the LAN for Windows shares, and
+ more. Multiple connections can open at a time in a Mozilla-style
+ tabbed browsing environment.
+ .
+ Homepage: http://j-ftp.sourceforge.net
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..eb1d05b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+This package was debianized by Varun Hiremath <varunhiremath at gmail.com> on
+Fri, 24 Aug 2007 18:14:39 +0530.
+
+It was downloaded from http://j-ftp.sourceforge.net
+
+Upstream Author: David Hansmann <hansmann.d at debitel.net>
+
+Copyright: 2007, David Hansmann <hansmann.d at debitel.net>
+
+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/debian/docs b/debian/docs
new file mode 100644
index 0000000..9a72ba5
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,6 @@
+doc/api-use.txt
+doc/applet.html
+doc/bookmarks.txt
+doc/javadoc
+doc/nfsinfo
+readme
diff --git a/debian/examples b/debian/examples
new file mode 100644
index 0000000..ebf7b71
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1,3 @@
+doc/FtpDownload.java
+doc/FtpUpload.java
+doc/Grapher.java
diff --git a/debian/files b/debian/files
new file mode 100644
index 0000000..a563b39
--- /dev/null
+++ b/debian/files
@@ -0,0 +1 @@
+jftp_1.50-1_all.deb net optional
diff --git a/debian/jftp.1 b/debian/jftp.1
new file mode 100644
index 0000000..ab46044
--- /dev/null
+++ b/debian/jftp.1
@@ -0,0 +1,43 @@
+.TH JFTP "1" "September 2007" "jftp" "User Commands"
+.SH NAME
+jftp \- a java based GUI file transfer client
+.SH SYNOPSIS
+.B jftp
+.RI [ server ]
+.br
+.SH DESCRIPTION
+ \fIJFtp\fP is a graphical Java network and file transfer client. It
+ supports FTP using its own FTP API and various other protocols like
+ SMB, SFTP, NFS, HTTP, and file I/O using third party APIs. It
+ includes many advanced features such as recursive directory
+ up/download, browsing FTP servers while transferring files, FTP
+ resuming and queueing, browsing the LAN for Windows shares, and
+ more. Multiple connections can open at a time in a Mozilla-style
+ tabbed browsing environment.
+
+.SH EXAMPLE
+.TP
+To just exectute JFTP, you just need to run
+.B jftp
+.TP
+But if you need to choose your Java Virtual Machine (JVM), you may have to run
+.B /usr/lib/jvm/\fIjvm\fP/bin/java /usr/share/java/jftp.jar
+where \fIjvm\fP is the JVM to use.
+.TP
+To open with ftp.kernel.org listed:
+.B jftp ftp://ftp.kernel.org
+
+.SH OPTIONS
+.TP
+\fIserver\fP
+A fully qualified server URL.
+.SH SEE ALSO
+.PP
+Homepage:
+http://j-ftp.sourceforge.net
+.br
+.SH AUTHOR
+jftp was written by David Hansmann <hansmann.d at debitel.net>.
+.PP
+This manual page was written by Kumar Appaiah <akumar at ee.iitm.ac.in>,
+for the Debian project (but may be used by others).
diff --git a/debian/jftp.run b/debian/jftp.run
new file mode 100644
index 0000000..81c8fce
--- /dev/null
+++ b/debian/jftp.run
@@ -0,0 +1,2 @@
+#!/bin/sh
+java -jar /usr/share/java/jftp.jar "$@"
diff --git a/debian/jftp/DEBIAN/control b/debian/jftp/DEBIAN/control
new file mode 100644
index 0000000..8805fde
--- /dev/null
+++ b/debian/jftp/DEBIAN/control
@@ -0,0 +1,19 @@
+Package: jftp
+Version: 1.50-1
+Architecture: all
+Maintainer: Debian Java maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Installed-Size: 556
+Depends: libslide-webdavclient-java, libjcifs-java, libjorbis-java, libcommons-logging-java, libcommons-httpclient-java, liblog4j1.2-java, kunststoff, libyanfs-java, libj2ssh-java, libjsch-java
+Section: net
+Priority: optional
+Description: a Java GUI client for FTP, SMB, SFTP and NFS
+ JFtp is a graphical Java network and file transfer client. It
+ supports FTP using its own FTP API and various other protocols like
+ SMB, SFTP, NFS, HTTP, and file I/O using third party APIs. It
+ includes many advanced features such as recursive directory
+ up/download, browsing FTP servers while transferring files, FTP
+ resuming and queueing, browsing the LAN for Windows shares, and
+ more. Multiple connections can open at a time in a Mozilla-style
+ tabbed browsing environment.
+ .
+ Homepage: http://j-ftp.sourceforge.net
diff --git a/debian/jftp/DEBIAN/md5sums b/debian/jftp/DEBIAN/md5sums
new file mode 100644
index 0000000..248e979
--- /dev/null
+++ b/debian/jftp/DEBIAN/md5sums
@@ -0,0 +1,14 @@
+528e1279a280cd5d48111b870cdbe518 usr/share/java/jftp-1.50.jar
+8a72e77bc1cb82e250eb943dfb013a7f usr/share/doc/jftp/api-use.txt
+298a3dcef0d285e44f4e465401b77b72 usr/share/doc/jftp/applet.html
+ce915e921be3d9cd8cd496fb0efccdd9 usr/share/doc/jftp/bookmarks.txt
+76d8bbd82d9475d903a819aff60fe630 usr/share/doc/jftp/nfsinfo
+2b693f4dec8708829cb5eb66db8ddd0e usr/share/doc/jftp/TODO
+a2eb59dcc5ea464b15687ad3aec0ab16 usr/share/doc/jftp/copyright
+e1e6bfeb37c5935f6c90a0f9d52d29b7 usr/share/doc/jftp/examples/Grapher.java.gz
+f010a72279b7f2429efcd842b0ecd3d6 usr/share/doc/jftp/examples/FtpUpload.java
+3e6f1719d40c232ef0befa4c059880e4 usr/share/doc/jftp/examples/FtpDownload.java.gz
+0c8920687c3ff604d509e97c0ba40760 usr/share/doc/jftp/readme.gz
+6c9d102a017abcf755c6db68f5a45466 usr/share/doc/jftp/changelog.Debian.gz
+4e695f89996999e5a74b21762985a3f2 usr/share/man/man1/jftp.1.gz
+8ef609c4bffd5bc338a251ae7023e413 usr/bin/jftp
diff --git a/debian/jftp/usr/bin/jftp b/debian/jftp/usr/bin/jftp
new file mode 100755
index 0000000..81c8fce
--- /dev/null
+++ b/debian/jftp/usr/bin/jftp
@@ -0,0 +1,2 @@
+#!/bin/sh
+java -jar /usr/share/java/jftp.jar "$@"
diff --git a/debian/jftp/usr/share/doc/jftp/TODO b/debian/jftp/usr/share/doc/jftp/TODO
new file mode 100644
index 0000000..691d90e
--- /dev/null
+++ b/debian/jftp/usr/share/doc/jftp/TODO
@@ -0,0 +1,65 @@
+NOTE: This file is outdated, please take a look at the sourceforge feature request site
+ if you are interested in what's going on or even want to help improving JFtp.
+
+H - bugs and feature requests submitted on sourceforge
+ (work still in progress, i won't list all of them here, but they aren't forgotten)
+
+H - implement timestamping to make up/download resuming safe
+
+HF - add ftp mget support (1 vote)
+ (i looked at it and it is an interesting feature)
+
+M - further enhance the GUI
+
+M - add parameter checks for the api
+ (all given parameters for up/download/remove etc. should be plain files or dirs,
+ no relative or absolutet paths, so do a chdir before doing anything if you use the api
+ and want to be on the safe side)
+
+M - popup for upload resuming
+
+MB - fix SFTP symlink support (1 vote)
+
+M - improve NFS support
+ (mutithreading is not implemented yet
+ and it does not work with some servers - need debug info first)
+
+MF - enhance local and implement remote JFileChooser (1 vote)
+ (not that easy, i have to find a way to extend JFileChooser or
+ to write a new class)
+
+MU - enhance downloadmanager support for SMB and SFTP and URL types
+ (it depends on the protocol if features like resuming and multiple conenctions are supported.
+ some apis do not support resuming for example, for others it is imho not so important to have
+ it so i do not implement it until somebody needs it - SMB for example, because most connections
+ will be fast (lan) connections)
+
+L - enable all supported protocols on the address bar
+ (open urls ending with a / in the remote window, done for http/ftp)
+
+------------------------------------------------------------------------------------------------------
+
+H - high priority
+M - medium priority
+L - low priority
+
+W - lots of work
+F - future, not assigned yet
+A - already assigned
+
+U - not sure if, how or in what kind of way this will happen
+
+C - critical bug
+B - normal bug
+
+-------------------------------------- Notes ------------------------------------------------
+
+
+- the server you want to open is not yet supported? just fill out a feature request a we will see what we can do
+- group permissions are not checked, it's possible that a file the user has access to is marked incorrect in very rare cases.
+ you are able to download the file even if it's marked red in such a case, of course. if one or more hardlinks in a directory are
+ missing this may cause the permissions not to be displayed due to malformed ls output, too
+- Kunststoff is listed twice sometimes (seems not to be my fault)
+- check windows-server-code (downloads.viaarena.com), VMS-server-code (rf1.cuis.edu)
+
+
diff --git a/debian/jftp/usr/share/doc/jftp/api-use.txt b/debian/jftp/usr/share/doc/jftp/api-use.txt
new file mode 100644
index 0000000..093f912
--- /dev/null
+++ b/debian/jftp/usr/share/doc/jftp/api-use.txt
@@ -0,0 +1,8 @@
+--- Standalone-usage ---
+
+If you want to use the JFtp-api without the gui app,
+take a look at FtpDownload.java.
+It's easy to understand, but if you have any questions
+feel free to ask at j-ftp-devel at lists.sourceforge.net
+
+
diff --git a/debian/jftp/usr/share/doc/jftp/applet.html b/debian/jftp/usr/share/doc/jftp/applet.html
new file mode 100644
index 0000000..b4ef202
--- /dev/null
+++ b/debian/jftp/usr/share/doc/jftp/applet.html
@@ -0,0 +1,13 @@
+<html>
+
+<body>
+
+<h3>JFtp should start soon...</h3>
+<p>Watch your java console log if the application does not start correctly.</p>
+<br><br>
+
+<applet code="net.sf.jftp.JFtpApplet" archive="../build/jars/jftp.jar">
+ Sorry, no java found
+</applet>
+
+</html>
\ No newline at end of file
diff --git a/debian/jftp/usr/share/doc/jftp/bookmarks.txt b/debian/jftp/usr/share/doc/jftp/bookmarks.txt
new file mode 100644
index 0000000..eebd74b
--- /dev/null
+++ b/debian/jftp/usr/share/doc/jftp/bookmarks.txt
@@ -0,0 +1,41 @@
+# JFtp Bookmark Configuration file
+#
+# Syntax: protocol#host#user#password#port#dir/domain#local
+#
+# Note: not all values are used by every connection, but all fields must contain at least
+# one character.
+#
+# protocol: FTP, SFTP, SMB or NFS (uppercase)
+# host: hostname or ip for ftp + sftp, valid url for smb + nfs ("(LAN)" for smb lan browsing)
+# user, password: the login data
+# port: this must be a number (even if it is not used for smb+nfs, set it in the url for nfs)
+# dir/domain: inital directory for the connection, domainname for smb
+# local: "true" if connection should be opened in local tab, "false" otherwise
+#
+# directories must be included in <dir></dir> tags and can be ended unsing a single
+# <enddir> tag
+#
+
+<dir>JFtp</dir>
+FTP#upload.sourceforge.net#anonymous#j-ftp at sf.net#21#/incoming#false
+<enddir>
+
+<dir>Other</dir>
+
+<dir>Linux</dir>
+FTP#ftp.kernel.org#anonymous#j-ftp at sf.net#21#/pub/linux/kernel/v2.6#false
+<enddir>
+
+<dir>Lan</dir>
+SMB#(LAN)#guest#guest#-1#-#false
+<enddir>
+
+<enddir>
+
+
+
+
+
+
+
+
diff --git a/debian/jftp/usr/share/doc/jftp/changelog.Debian.gz b/debian/jftp/usr/share/doc/jftp/changelog.Debian.gz
new file mode 100644
index 0000000..a4bd63f
Binary files /dev/null and b/debian/jftp/usr/share/doc/jftp/changelog.Debian.gz differ
diff --git a/debian/jftp/usr/share/doc/jftp/copyright b/debian/jftp/usr/share/doc/jftp/copyright
new file mode 100644
index 0000000..eb1d05b
--- /dev/null
+++ b/debian/jftp/usr/share/doc/jftp/copyright
@@ -0,0 +1,30 @@
+This package was debianized by Varun Hiremath <varunhiremath at gmail.com> on
+Fri, 24 Aug 2007 18:14:39 +0530.
+
+It was downloaded from http://j-ftp.sourceforge.net
+
+Upstream Author: David Hansmann <hansmann.d at debitel.net>
+
+Copyright: 2007, David Hansmann <hansmann.d at debitel.net>
+
+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/debian/jftp/usr/share/doc/jftp/examples/FtpDownload.java.gz b/debian/jftp/usr/share/doc/jftp/examples/FtpDownload.java.gz
new file mode 100644
index 0000000..7ca0ba7
Binary files /dev/null and b/debian/jftp/usr/share/doc/jftp/examples/FtpDownload.java.gz differ
diff --git a/debian/jftp/usr/share/doc/jftp/examples/FtpUpload.java b/debian/jftp/usr/share/doc/jftp/examples/FtpUpload.java
new file mode 100644
index 0000000..b336ee3
--- /dev/null
+++ b/debian/jftp/usr/share/doc/jftp/examples/FtpUpload.java
@@ -0,0 +1,97 @@
+import net.sf.jftp.net.ConnectionHandler;
+import net.sf.jftp.net.ConnectionListener;
+import net.sf.jftp.net.DataConnection;
+import net.sf.jftp.net.FtpConnection;
+import net.sf.jftp.net.BasicConnection;
+import net.sf.jftp.util.Log;
+import net.sf.jftp.util.Logger;
+import net.sf.jftp.config.Settings;
+
+import java.io.*;
+
+/**
+* See FtpDownload.java for comments.
+*/
+public class FtpUpload implements Logger, ConnectionListener
+{
+
+ private boolean isThere = false;
+
+ private ConnectionHandler handler = new ConnectionHandler();
+
+ public FtpUpload(String host, String dir, String file)
+ {
+ Log.setLogger(this);
+
+ FtpConnection con = new FtpConnection(host);
+
+ con.addConnectionListener(this);
+
+ con.setConnectionHandler(handler);
+
+ con.login("anonymous","no at no.no");
+
+ while(!isThere)
+ {
+ try { Thread.sleep(10); }
+ catch(Exception ex) { ex.printStackTrace(); }
+ }
+
+ con.chdir(dir);
+
+ con.upload(file);
+ }
+
+ public static void main(String argv[])
+ {
+ if(argv.length == 3)
+ {
+ FtpUpload f = new FtpUpload(argv[0], argv[2], argv[1]);
+ }
+ else
+ {
+ FtpUpload g =
+ new FtpUpload("upload.sourceforge.net", "/incoming", "test.txt");
+ }
+}
+
+
+ public void updateRemoteDirectory(BasicConnection con)
+ {
+ System.out.println("new path is: " + con.getPWD());
+ }
+
+ public void connectionInitialized(BasicConnection con)
+ {
+ isThere = true;
+ }
+
+ public void updateProgress(String file, String type, long bytes) {}
+
+ public void connectionFailed(BasicConnection con, String why) {System.out.println("connection failed!");}
+
+ public void actionFinished(BasicConnection con) {}
+
+ public void debug(String msg) {System.out.println(msg);}
+
+ public void debugRaw(String msg) {System.out.print(msg);}
+
+ public void debug(String msg, Throwable throwable) {}
+
+ public void warn(String msg) {}
+
+ public void warn(String msg, Throwable throwable) {}
+
+ public void error(String msg) {}
+
+ public void error(String msg, Throwable throwable) {}
+
+ public void info(String msg) {}
+
+ public void info(String msg, Throwable throwable) {}
+
+ public void fatal(String msg) {}
+
+ public void fatal(String msg, Throwable throwable) {}
+
+}
diff --git a/debian/jftp/usr/share/doc/jftp/examples/Grapher.java.gz b/debian/jftp/usr/share/doc/jftp/examples/Grapher.java.gz
new file mode 100644
index 0000000..225e511
Binary files /dev/null and b/debian/jftp/usr/share/doc/jftp/examples/Grapher.java.gz differ
diff --git a/debian/jftp/usr/share/doc/jftp/nfsinfo b/debian/jftp/usr/share/doc/jftp/nfsinfo
new file mode 100644
index 0000000..a9a1d1e
--- /dev/null
+++ b/debian/jftp/usr/share/doc/jftp/nfsinfo
@@ -0,0 +1,53 @@
+
+
+ NFS information
+
+
+
+NFS support is provided by the Sun WebNFS API, finally i was able to get it running in combination
+with my linux box at home.
+
+NFS URLs are a little bit tricky, depending on the type of the NFS version you want to use you have
+to use some custom extensions of the url parser.
+
+This is what the devolopers of the WebNFS API write in their javadoc:
+
+"This is just a dumb URL parser class.
+I wrote it because I got fed up with the JDK URL class calling NFS URL's "invalid" simply because the Handler wasn't installed.
+This URL parser also handles undocumented testing options inserted in the URL in the port field.
+The following sequence of option letters may appear before or after the port number, or alone if the port number is not given.
+vn - NFS version, e.g. "v3" u - Force UDP - normally TCP is preferred t - Force TDP - don't fall back to UDP m - Force Mount protocol.
+Normally public filehandle is preferred Option ordering is not important. Example: nfs://server:123v2um/path Use port 123 with NFS
+v2 over UDP and Mount protocol nfs://server:m/path Use default port, prefer V3/TCP but use Mount protocol."
+
+
+------------ COMPATIBILITY ---------------
+
+
+Server type: NFS2
+Test system: linux universal nfsd 2.2beta47
+
+TESTED: nfs://server:v2m/tmp - nfs2, tcp with udp fallback, use mount
+SHOULD: nfs://server:v2tm/tmp - nfs2, force tcp, use mount
+SHOULD: nfs://server:v2um/tmp - nfs2, force udp, use mount
+
+
+
+Server type: NFS3
+Test system: none
+
+UNKNOWN: nfs://server:v3m/tmp - nfs3, tcp with udp fallback, use mount
+UNKNOWN: nfs://server:v3tm/tmp - nfs3, force tcp, use mount
+UNKNOWN: nfs://server:v3um/tmp - nfs3, force udp, use mount
+
+
+
+Server type: WebNFS
+Test system: none
+
+UNKNOWN: nfs://server:v3/tmp - may support webnfs
+UNKNOWN: nfs://server/tmp - may support webnfs
+
+
+
+
diff --git a/debian/jftp/usr/share/doc/jftp/readme.gz b/debian/jftp/usr/share/doc/jftp/readme.gz
new file mode 100644
index 0000000..81a9041
Binary files /dev/null and b/debian/jftp/usr/share/doc/jftp/readme.gz differ
diff --git a/debian/jftp/usr/share/java/jftp-1.50.jar b/debian/jftp/usr/share/java/jftp-1.50.jar
new file mode 100644
index 0000000..a1267db
Binary files /dev/null and b/debian/jftp/usr/share/java/jftp-1.50.jar differ
diff --git a/debian/jftp/usr/share/java/jftp.jar b/debian/jftp/usr/share/java/jftp.jar
new file mode 120000
index 0000000..9526ff1
--- /dev/null
+++ b/debian/jftp/usr/share/java/jftp.jar
@@ -0,0 +1 @@
+jftp-1.50.jar
\ No newline at end of file
diff --git a/debian/jftp/usr/share/man/man1/jftp.1.gz b/debian/jftp/usr/share/man/man1/jftp.1.gz
new file mode 100644
index 0000000..158b354
Binary files /dev/null and b/debian/jftp/usr/share/man/man1/jftp.1.gz differ
diff --git a/debian/manifest.mf b/debian/manifest.mf
new file mode 100644
index 0000000..aa78ebd
--- /dev/null
+++ b/debian/manifest.mf
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Main-Class: net.sf.jftp.JFtp
+Created-By: 1.4.0-beta (Sun Microsystems Inc.)
+Class-Path: j2ssh-ant.jar j2ssh-core.jar yanfs.jar j2ssh-common.jar j2ssh-dameon.jar jsch.jar jcifs.jar jl.jar commons-logging.jar commons-httpclient.jar log4j-1.2.jar jorbis.jar jogg.jar jakarta-slide-webdavlib.jar kunststoff.jar
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..e6bfde7
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+debian/jftp.1
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100644
index 0000000..d6de786
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,21 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+TAR=../j-ftp-$2.tar.gz
+DIR=jftp-$2.orig
+
+# clean up the upstream tarball
+mv $TAR $3
+tar zxf $3
+mv j-ftp $DIR
+GZIP=--best tar czf $3 --exclude 'lib/*' --exclude 'src/images/org' --exclude '*/CVS' $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/debian/patched/01_manifest_fix.dpatch b/debian/patched/01_manifest_fix.dpatch
new file mode 100644
index 0000000..57a3fec
--- /dev/null
+++ b/debian/patched/01_manifest_fix.dpatch
@@ -0,0 +1 @@
+patching file build.xml
diff --git a/debian/patched/02_printstream_gcj_fix.dpatch b/debian/patched/02_printstream_gcj_fix.dpatch
new file mode 100644
index 0000000..bbb3dec
--- /dev/null
+++ b/debian/patched/02_printstream_gcj_fix.dpatch
@@ -0,0 +1 @@
+patching file src/java/net/sf/jftp/gui/base/RemoteDir.java
diff --git a/debian/patches/00list b/debian/patches/00list
new file mode 100755
index 0000000..693f0ec
--- /dev/null
+++ b/debian/patches/00list
@@ -0,0 +1,3 @@
+01_manifest_fix
+02_printstream_gcj_fix
+
diff --git a/debian/patches/01_manifest_fix.dpatch b/debian/patches/01_manifest_fix.dpatch
new file mode 100755
index 0000000..e1b59a7
--- /dev/null
+++ b/debian/patches/01_manifest_fix.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_manifest_fix.dpatch by <akumar at ee.iitm.ac.in>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad jftp-1.50~/build.xml jftp-1.50/build.xml
+--- jftp-1.50~/build.xml 2007-09-09 13:06:53.000000000 +0530
++++ jftp-1.50/build.xml 2007-09-09 13:07:06.000000000 +0530
+@@ -122,7 +122,7 @@
+ <target name="jars" depends="compile" description="Create Executable Jar">
+ <jar compress="true" jarfile="build/jars/jftp.jar"
+ basedir="build/classes"
+- manifest="src/meta-inf/manifest.mf">
++ manifest="debian/manifest.mf">
+ <zipfileset dir="src/images/" prefix="images">
+ <include name="**"/>
+ </zipfileset>
diff --git a/debian/patches/02_printstream_gcj_fix.dpatch b/debian/patches/02_printstream_gcj_fix.dpatch
new file mode 100755
index 0000000..bb0a9a2
--- /dev/null
+++ b/debian/patches/02_printstream_gcj_fix.dpatch
@@ -0,0 +1,38 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_printstream_gcj_fix.dpatch by <akumar at ee.iitm.ac.in>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad jftp-1.50.orig~/src/java/net/sf/jftp/gui/base/RemoteDir.java jftp-1.50.orig/src/java/net/sf/jftp/gui/base/RemoteDir.java
+--- jftp-1.50.orig~/src/java/net/sf/jftp/gui/base/RemoteDir.java 2007-09-09 21:09:37.000000000 +0530
++++ jftp-1.50.orig/src/java/net/sf/jftp/gui/base/RemoteDir.java 2007-09-09 21:13:11.000000000 +0530
+@@ -776,12 +776,14 @@
+ Log.debug("Can only list FtpConnection output!");
+ }
+
+- PrintStream out = new PrintStream(Settings.ls_out);
++ java.io.FileOutputStream f_out = new java.io.FileOutputStream(Settings.ls_out);
++ PrintStream out = new PrintStream(f_out);
+ for(int i=0; i<((FtpConnection)con).currentListing.size(); i++) {
+ out.println(((FtpConnection)con).currentListing.get(i));
+ }
+ out.flush();
+ out.close();
++ f_out.close();
+
+ java.net.URL url = new java.io.File(Settings.ls_out).toURL();
+ Displayer d = new Displayer(url, new Font("monospaced",Font.PLAIN, 11));
+@@ -797,6 +799,11 @@
+ ex2.printStackTrace();
+ Log.debug("ERROR: File not found!");
+ }
++ catch(java.io.IOException ex3)
++ {
++ ex3.printStackTrace();
++ Log.debug("ERROR: Input/Output error!");
++ }
+ }
+ else if(e.getActionCommand().equals("type") && (!JFtp.uiBlocked))
+ {
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2352384
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,21 @@
+#!/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/dpatch.mk
+
+JAVA_HOME := /usr/lib/jvm/java-gcj
+DEB_ANT_BUILD_TARGET := jars
+DEB_JARS := jcifs jl commons-logging commons-httpclient log4j-1.2 jorbis jogg \
+ jakarta-slide-webdavlib kunststoff j2ssh-ant j2ssh-core yanfs.jar \
+ j2ssh-common j2ssh-dameon jsch-0.1.34
+
+install/jftp::
+ chmod 644 doc/FtpUpload.java
+ install -m 644 -D build/jars/jftp.jar $(DEB_DESTDIR)/usr/share/java/jftp-$(DEB_UPSTREAM_VERSION).jar
+ install -m 755 -D debian/jftp.run $(DEB_DESTDIR)/usr/bin/jftp
+ dh_link /usr/share/java/jftp-$(DEB_UPSTREAM_VERSION).jar \
+ /usr/share/java/jftp.jar
+
+get-orig-source:
+ -uscan --upstream-version 0
diff --git a/debian/stamp-ant-build b/debian/stamp-ant-build
new file mode 100644
index 0000000..e69de29
diff --git a/debian/stamp-patched b/debian/stamp-patched
new file mode 100644
index 0000000..e69de29
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..52d2d06
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://heanet.dl.sourceforge.net/sourceforge/j-ftp/ \
+ j-ftp-(.*).tar.gz debian debian/orig-tar.sh
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jftp.git
More information about the pkg-java-commits
mailing list