[pkg-java] r4145 - in trunk: . debian debian/jftp debian/jftp/DEBIAN debian/jftp/usr debian/jftp/usr/bin debian/jftp/usr/share debian/jftp/usr/share/doc debian/jftp/usr/share/doc/jftp debian/jftp/usr/share/doc/jftp/examples debian/jftp/usr/share/java debian/jftp/usr/share/man debian/jftp/usr/share/man/man1 debian/patched debian/patches

varun-guest at alioth.debian.org varun-guest at alioth.debian.org
Mon Sep 10 15:24:45 UTC 2007


Author: varun-guest
Date: 2007-09-10 15:24:44 +0000 (Mon, 10 Sep 2007)
New Revision: 4145

Added:
   trunk/debian/
   trunk/debian/changelog
   trunk/debian/compat
   trunk/debian/control
   trunk/debian/copyright
   trunk/debian/docs
   trunk/debian/examples
   trunk/debian/files
   trunk/debian/jftp.1
   trunk/debian/jftp.run
   trunk/debian/jftp/
   trunk/debian/jftp/DEBIAN/
   trunk/debian/jftp/DEBIAN/control
   trunk/debian/jftp/DEBIAN/md5sums
   trunk/debian/jftp/usr/
   trunk/debian/jftp/usr/bin/
   trunk/debian/jftp/usr/bin/jftp
   trunk/debian/jftp/usr/share/
   trunk/debian/jftp/usr/share/doc/
   trunk/debian/jftp/usr/share/doc/jftp/
   trunk/debian/jftp/usr/share/doc/jftp/TODO
   trunk/debian/jftp/usr/share/doc/jftp/api-use.txt
   trunk/debian/jftp/usr/share/doc/jftp/applet.html
   trunk/debian/jftp/usr/share/doc/jftp/bookmarks.txt
   trunk/debian/jftp/usr/share/doc/jftp/changelog.Debian.gz
   trunk/debian/jftp/usr/share/doc/jftp/copyright
   trunk/debian/jftp/usr/share/doc/jftp/examples/
   trunk/debian/jftp/usr/share/doc/jftp/examples/FtpDownload.java.gz
   trunk/debian/jftp/usr/share/doc/jftp/examples/FtpUpload.java
   trunk/debian/jftp/usr/share/doc/jftp/examples/Grapher.java.gz
   trunk/debian/jftp/usr/share/doc/jftp/nfsinfo
   trunk/debian/jftp/usr/share/doc/jftp/readme.gz
   trunk/debian/jftp/usr/share/java/
   trunk/debian/jftp/usr/share/java/jftp-1.50.jar
   trunk/debian/jftp/usr/share/java/jftp.jar
   trunk/debian/jftp/usr/share/man/
   trunk/debian/jftp/usr/share/man/man1/
   trunk/debian/jftp/usr/share/man/man1/jftp.1.gz
   trunk/debian/manifest.mf
   trunk/debian/manpages
   trunk/debian/orig-tar.sh
   trunk/debian/patched/
   trunk/debian/patched/01_manifest_fix.dpatch
   trunk/debian/patched/02_printstream_gcj_fix.dpatch
   trunk/debian/patches/
   trunk/debian/patches/00list
   trunk/debian/patches/01_manifest_fix.dpatch
   trunk/debian/patches/02_printstream_gcj_fix.dpatch
   trunk/debian/rules
   trunk/debian/stamp-ant-build
   trunk/debian/stamp-patched
   trunk/debian/watch
Log:
* Initial commit.



Added: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	                        (rev 0)
+++ trunk/debian/changelog	2007-09-10 15:24:44 UTC (rev 4145)
@@ -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

Added: trunk/debian/compat
===================================================================
--- trunk/debian/compat	                        (rev 0)
+++ trunk/debian/compat	2007-09-10 15:24:44 UTC (rev 4145)
@@ -0,0 +1 @@
+5

Added: trunk/debian/control
===================================================================
--- trunk/debian/control	                        (rev 0)
+++ trunk/debian/control	2007-09-10 15:24:44 UTC (rev 4145)
@@ -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

Added: trunk/debian/copyright
===================================================================
--- trunk/debian/copyright	                        (rev 0)
+++ trunk/debian/copyright	2007-09-10 15:24:44 UTC (rev 4145)
@@ -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.

Added: trunk/debian/docs
===================================================================
--- trunk/debian/docs	                        (rev 0)
+++ trunk/debian/docs	2007-09-10 15:24:44 UTC (rev 4145)
@@ -0,0 +1,6 @@
+doc/api-use.txt
+doc/applet.html
+doc/bookmarks.txt
+doc/javadoc
+doc/nfsinfo
+readme

Added: trunk/debian/examples
===================================================================
--- trunk/debian/examples	                        (rev 0)
+++ trunk/debian/examples	2007-09-10 15:24:44 UTC (rev 4145)
@@ -0,0 +1,3 @@
+doc/FtpDownload.java
+doc/FtpUpload.java
+doc/Grapher.java

Added: trunk/debian/files
===================================================================
--- trunk/debian/files	                        (rev 0)
+++ trunk/debian/files	2007-09-10 15:24:44 UTC (rev 4145)
@@ -0,0 +1 @@
+jftp_1.50-1_all.deb net optional

Added: trunk/debian/jftp/DEBIAN/control
===================================================================
--- trunk/debian/jftp/DEBIAN/control	                        (rev 0)
+++ trunk/debian/jftp/DEBIAN/control	2007-09-10 15:24:44 UTC (rev 4145)
@@ -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

Added: trunk/debian/jftp/DEBIAN/md5sums
===================================================================
--- trunk/debian/jftp/DEBIAN/md5sums	                        (rev 0)
+++ trunk/debian/jftp/DEBIAN/md5sums	2007-09-10 15:24:44 UTC (rev 4145)
@@ -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

Added: trunk/debian/jftp/usr/bin/jftp
===================================================================
--- trunk/debian/jftp/usr/bin/jftp	                        (rev 0)
+++ trunk/debian/jftp/usr/bin/jftp	2007-09-10 15:24:44 UTC (rev 4145)
@@ -0,0 +1,2 @@
+#!/bin/sh
+java -jar /usr/share/java/jftp.jar "$@"


Property changes on: trunk/debian/jftp/usr/bin/jftp
___________________________________________________________________
Name: svn:executable
   + 

Added: trunk/debian/jftp/usr/share/doc/jftp/TODO
===================================================================
--- trunk/debian/jftp/usr/share/doc/jftp/TODO	                        (rev 0)
+++ trunk/debian/jftp/usr/share/doc/jftp/TODO	2007-09-10 15:24:44 UTC (rev 4145)
@@ -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)
+
+

Added: trunk/debian/jftp/usr/share/doc/jftp/api-use.txt
===================================================================
--- trunk/debian/jftp/usr/share/doc/jftp/api-use.txt	                        (rev 0)
+++ trunk/debian/jftp/usr/share/doc/jftp/api-use.txt	2007-09-10 15:24:44 UTC (rev 4145)
@@ -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
+
+

Added: trunk/debian/jftp/usr/share/doc/jftp/applet.html
===================================================================
--- trunk/debian/jftp/usr/share/doc/jftp/applet.html	                        (rev 0)
+++ trunk/debian/jftp/usr/share/doc/jftp/applet.html	2007-09-10 15:24:44 UTC (rev 4145)
@@ -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

Added: trunk/debian/jftp/usr/share/doc/jftp/bookmarks.txt
===================================================================
--- trunk/debian/jftp/usr/share/doc/jftp/bookmarks.txt	                        (rev 0)
+++ trunk/debian/jftp/usr/share/doc/jftp/bookmarks.txt	2007-09-10 15:24:44 UTC (rev 4145)
@@ -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>
+
+
+
+
+
+
+
+

Added: trunk/debian/jftp/usr/share/doc/jftp/changelog.Debian.gz
===================================================================
(Binary files differ)


Property changes on: trunk/debian/jftp/usr/share/doc/jftp/changelog.Debian.gz
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/debian/jftp/usr/share/doc/jftp/copyright
===================================================================
--- trunk/debian/jftp/usr/share/doc/jftp/copyright	                        (rev 0)
+++ trunk/debian/jftp/usr/share/doc/jftp/copyright	2007-09-10 15:24:44 UTC (rev 4145)
@@ -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.

Added: trunk/debian/jftp/usr/share/doc/jftp/examples/FtpDownload.java.gz
===================================================================
(Binary files differ)


Property changes on: trunk/debian/jftp/usr/share/doc/jftp/examples/FtpDownload.java.gz
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/debian/jftp/usr/share/doc/jftp/examples/FtpUpload.java
===================================================================
--- trunk/debian/jftp/usr/share/doc/jftp/examples/FtpUpload.java	                        (rev 0)
+++ trunk/debian/jftp/usr/share/doc/jftp/examples/FtpUpload.java	2007-09-10 15:24:44 UTC (rev 4145)
@@ -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) {}
+
+}

Added: trunk/debian/jftp/usr/share/doc/jftp/examples/Grapher.java.gz
===================================================================
(Binary files differ)


Property changes on: trunk/debian/jftp/usr/share/doc/jftp/examples/Grapher.java.gz
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/debian/jftp/usr/share/doc/jftp/nfsinfo
===================================================================
--- trunk/debian/jftp/usr/share/doc/jftp/nfsinfo	                        (rev 0)
+++ trunk/debian/jftp/usr/share/doc/jftp/nfsinfo	2007-09-10 15:24:44 UTC (rev 4145)
@@ -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
+
+
+
+

Added: trunk/debian/jftp/usr/share/doc/jftp/readme.gz
===================================================================
(Binary files differ)


Property changes on: trunk/debian/jftp/usr/share/doc/jftp/readme.gz
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/debian/jftp/usr/share/java/jftp-1.50.jar
===================================================================
(Binary files differ)


Property changes on: trunk/debian/jftp/usr/share/java/jftp-1.50.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/debian/jftp/usr/share/java/jftp.jar
===================================================================
--- trunk/debian/jftp/usr/share/java/jftp.jar	                        (rev 0)
+++ trunk/debian/jftp/usr/share/java/jftp.jar	2007-09-10 15:24:44 UTC (rev 4145)
@@ -0,0 +1 @@
+link jftp-1.50.jar
\ No newline at end of file


Property changes on: trunk/debian/jftp/usr/share/java/jftp.jar
___________________________________________________________________
Name: svn:special
   + *

Added: trunk/debian/jftp/usr/share/man/man1/jftp.1.gz
===================================================================
(Binary files differ)


Property changes on: trunk/debian/jftp/usr/share/man/man1/jftp.1.gz
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/debian/jftp.1
===================================================================
--- trunk/debian/jftp.1	                        (rev 0)
+++ trunk/debian/jftp.1	2007-09-10 15:24:44 UTC (rev 4145)
@@ -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).

Added: trunk/debian/jftp.run
===================================================================
--- trunk/debian/jftp.run	                        (rev 0)
+++ trunk/debian/jftp.run	2007-09-10 15:24:44 UTC (rev 4145)
@@ -0,0 +1,2 @@
+#!/bin/sh
+java -jar /usr/share/java/jftp.jar "$@"

Added: trunk/debian/manifest.mf
===================================================================
--- trunk/debian/manifest.mf	                        (rev 0)
+++ trunk/debian/manifest.mf	2007-09-10 15:24:44 UTC (rev 4145)
@@ -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

Added: trunk/debian/manpages
===================================================================
--- trunk/debian/manpages	                        (rev 0)
+++ trunk/debian/manpages	2007-09-10 15:24:44 UTC (rev 4145)
@@ -0,0 +1 @@
+debian/jftp.1

Added: trunk/debian/orig-tar.sh
===================================================================
--- trunk/debian/orig-tar.sh	                        (rev 0)
+++ trunk/debian/orig-tar.sh	2007-09-10 15:24:44 UTC (rev 4145)
@@ -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

Added: trunk/debian/patched/01_manifest_fix.dpatch
===================================================================
--- trunk/debian/patched/01_manifest_fix.dpatch	                        (rev 0)
+++ trunk/debian/patched/01_manifest_fix.dpatch	2007-09-10 15:24:44 UTC (rev 4145)
@@ -0,0 +1 @@
+patching file build.xml

Added: trunk/debian/patched/02_printstream_gcj_fix.dpatch
===================================================================
--- trunk/debian/patched/02_printstream_gcj_fix.dpatch	                        (rev 0)
+++ trunk/debian/patched/02_printstream_gcj_fix.dpatch	2007-09-10 15:24:44 UTC (rev 4145)
@@ -0,0 +1 @@
+patching file src/java/net/sf/jftp/gui/base/RemoteDir.java

Added: trunk/debian/patches/00list
===================================================================
--- trunk/debian/patches/00list	                        (rev 0)
+++ trunk/debian/patches/00list	2007-09-10 15:24:44 UTC (rev 4145)
@@ -0,0 +1,3 @@
+01_manifest_fix
+02_printstream_gcj_fix
+


Property changes on: trunk/debian/patches/00list
___________________________________________________________________
Name: svn:executable
   + 

Added: trunk/debian/patches/01_manifest_fix.dpatch
===================================================================
--- trunk/debian/patches/01_manifest_fix.dpatch	                        (rev 0)
+++ trunk/debian/patches/01_manifest_fix.dpatch	2007-09-10 15:24:44 UTC (rev 4145)
@@ -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>


Property changes on: trunk/debian/patches/01_manifest_fix.dpatch
___________________________________________________________________
Name: svn:executable
   + 

Added: trunk/debian/patches/02_printstream_gcj_fix.dpatch
===================================================================
--- trunk/debian/patches/02_printstream_gcj_fix.dpatch	                        (rev 0)
+++ trunk/debian/patches/02_printstream_gcj_fix.dpatch	2007-09-10 15:24:44 UTC (rev 4145)
@@ -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))
+         {


Property changes on: trunk/debian/patches/02_printstream_gcj_fix.dpatch
___________________________________________________________________
Name: svn:executable
   + 

Added: trunk/debian/rules
===================================================================
--- trunk/debian/rules	                        (rev 0)
+++ trunk/debian/rules	2007-09-10 15:24:44 UTC (rev 4145)
@@ -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


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

Added: trunk/debian/stamp-ant-build
===================================================================

Added: trunk/debian/stamp-patched
===================================================================

Added: trunk/debian/watch
===================================================================
--- trunk/debian/watch	                        (rev 0)
+++ trunk/debian/watch	2007-09-10 15:24:44 UTC (rev 4145)
@@ -0,0 +1,3 @@
+version=3
+http://heanet.dl.sourceforge.net/sourceforge/j-ftp/ \
+	j-ftp-(.*).tar.gz debian debian/orig-tar.sh




More information about the pkg-java-commits mailing list