[jftp] 25/40: * Regenerated a cleaner orig tarball (Closes: #577396) * Remove Webdav*.java source files from tarball * Add patches/webdav_disable.diff to remove all references to webdav in upstream source files * Switch to default-jdk * Use java-wrappers to find JAVA_HOME in debian/jftp.run * debian/rules: rename ANT_OPTS to ANT_ARGS * Bump Standards-Version to 3.8.4 * Fix debian/watch file
Markus Koschany
apo at moszumanska.debian.org
Sat Apr 2 22:50:23 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 dabdf8f761ae5f8c0dacfa041513f0f141ebf4cb
Author: Varun Hiremath <varun at debian.org>
Date: Mon Apr 12 00:16:34 2010 +0000
* Regenerated a cleaner orig tarball (Closes: #577396)
* Remove Webdav*.java source files from tarball
* Add patches/webdav_disable.diff to remove all references to webdav in
upstream source files
* Switch to default-jdk
* Use java-wrappers to find JAVA_HOME in debian/jftp.run
* debian/rules: rename ANT_OPTS to ANT_ARGS
* Bump Standards-Version to 3.8.4
* Fix debian/watch file
---
debian/changelog | 20 +++--
debian/control | 14 +--
debian/jftp.run | 7 +-
debian/orig-tar.exclude | 1 +
debian/patches/series | 1 +
debian/patches/webdav_disable.diff | 176 +++++++++++++++++++++++++++++++++++++
debian/rules | 8 +-
debian/source/format | 1 +
debian/watch | 2 +-
9 files changed, 212 insertions(+), 18 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index b2bdf4d..8486c4d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,20 @@
-jftp (1.52.dfsg-1) unstable; urgency=low
+jftp (1.52+dfsg-1) unstable; urgency=low
- UNRELEASED
+ [ Torsten Werner ]
* Team Upload
- * Regenerated a cleaner orig tarball using the get-orig-source target.
+ * Regenerated a cleaner orig tarball (Closes: #577396)
- -- Torsten Werner <twerner at debian.org> Sun, 11 Apr 2010 11:19:46 +0200
+ [ Varun Hiremath ]
+ * Remove Webdav*.java source files from tarball
+ * Add patches/webdav_disable.diff to remove all references to webdav in
+ upstream source files
+ * Switch to default-jdk
+ * Use java-wrappers to find JAVA_HOME in debian/jftp.run
+ * debian/rules: rename ANT_OPTS to ANT_ARGS
+ * Bump Standards-Version to 3.8.4
+ * Fix debian/watch file
+
+ -- Varun Hiremath <varun at debian.org> Sun, 11 Apr 2010 19:35:13 -0400
jftp (1.52-2) unstable; urgency=low
@@ -52,7 +62,7 @@ jftp (1.51~pre4-2) unstable; urgency=low
* Fix watch file
* Bump Standards-Version to 3.8.0
* debian/jftp.run: use openjdk
-
+
-- Varun Hiremath <varun at debian.org> Sat, 01 Nov 2008 14:23:51 -0400
jftp (1.51~pre4-1) unstable; urgency=low
diff --git a/debian/control b/debian/control
index 045c200..dd9d4a9 100644
--- a/debian/control
+++ b/debian/control
@@ -4,12 +4,12 @@ Priority: optional
Maintainer: Debian Java maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Uploaders: Varun Hiremath <varun at debian.org>, Kumar Appaiah <akumar at debian.org>,
Niels Thykier <niels at thykier.net>
-Build-Depends: cdbs, debhelper (>= 7), quilt
-Build-Depends-Indep: openjdk-6-jdk, ant,
- libjcifs-java, libcommons-logging-java, libcommons-httpclient-java,
- liblog4j1.2-java, kunststoff, libyanfs-java, libj2ssh-java, libjsch-java,
- libjlayer-java
-Standards-Version: 3.8.3
+Build-Depends: cdbs, debhelper (>= 7)
+Build-Depends-Indep: default-jdk, ant, libjcifs-java,
+ libcommons-logging-java, libcommons-httpclient-java,
+ liblog4j1.2-java, kunststoff, libyanfs-java, libj2ssh-java,
+ libjsch-java, libjlayer-java
+Standards-Version: 3.8.4
Homepage: http://j-ftp.sourceforge.net
Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/jftp
Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/jftp
@@ -19,7 +19,7 @@ Architecture: all
Depends: ${shlibs:Depends}, ${misc:Depends}, openjdk-6-jre,
libjcifs-java, libcommons-logging-java, libcommons-httpclient-java,
liblog4j1.2-java, kunststoff, libyanfs-java, libj2ssh-java,
- libjsch-java, libjlayer-java
+ libjsch-java, libjlayer-java, java-wrappers
Description: 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
diff --git a/debian/jftp.run b/debian/jftp.run
index 5ef4b7c..9c277ef 100644
--- a/debian/jftp.run
+++ b/debian/jftp.run
@@ -1,2 +1,7 @@
#!/bin/sh
-/usr/lib/jvm/java-6-openjdk/jre/bin/java -jar /usr/share/java/jftp.jar "$@"
+# find JAVA_HOME
+. /usr/lib/java-wrappers/java-wrappers.sh
+find_java_runtime java6
+
+# run jftp
+exec $JAVA_HOME/bin/java -jar /usr/share/java/jftp.jar "$@"
diff --git a/debian/orig-tar.exclude b/debian/orig-tar.exclude
index b714fa2..0ffe553 100644
--- a/debian/orig-tar.exclude
+++ b/debian/orig-tar.exclude
@@ -6,3 +6,4 @@ dist/*
src/images/org
src/images/silk
src/images/gnome
+Webdav*.java
diff --git a/debian/patches/series b/debian/patches/series
index 957bb3b..71d5abf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+webdav_disable.diff
manifest_fix.diff
diff --git a/debian/patches/webdav_disable.diff b/debian/patches/webdav_disable.diff
new file mode 100644
index 0000000..b337899
--- /dev/null
+++ b/debian/patches/webdav_disable.diff
@@ -0,0 +1,176 @@
+Author: Varun Hiremath <varun at debian.org>
+Date: Sun, 11 Apr 2010 19:43:53 -0400
+Description: Remove all references to webdav, no longer supported in Debian
+Index: jftp-1.52.dfsg/src/java/net/sf/jftp/config/Settings.java
+===================================================================
+--- jftp-1.52.dfsg.orig/src/java/net/sf/jftp/config/Settings.java 2010-04-11 19:42:59.000000000 -0400
++++ jftp-1.52.dfsg/src/java/net/sf/jftp/config/Settings.java 2010-04-11 19:43:09.000000000 -0400
+@@ -65,7 +65,6 @@
+
+ public static boolean newTableGui = getUseJTableLayout();
+ public static boolean useFixedTableWidths = true;
+- public static boolean enableWebDav = false;
+
+
+ // 1: manual, 2: onclick, 0: off
+@@ -189,7 +188,6 @@
+ public static String openImage;
+ public static String sftpImage;
+ public static String nfsImage;
+- public static String webdavImage;
+ public static String linkImage;
+ public static String typeImage;
+ public static String deleteImage;
+@@ -612,7 +610,6 @@
+ openImage = "images/org/javalobby/icons/16x16/World2.gif";
+ sftpImage = "images/org/javalobby/icons/16x16/NewEnvelope.gif";
+ nfsImage = "images/org/javalobby/icons/16x16/TrafficGreen.gif";
+- webdavImage = "images/org/javalobby/icons/16x16/DataStore.gif";
+ linkImage = "images/org/javalobby/icons/16x16/Right.gif";
+ typeImage = "images/org/javalobby/icons/20x20/Type.gif";
+ clearImage = "images/org/javalobby/icons/16x16/Undo.gif";
+@@ -658,7 +655,6 @@
+ openImage = "images/current/drive_web.png";
+ sftpImage = "images/current/drive_link.png";
+ nfsImage = "images/current/drive_network.png";
+- webdavImage = "images/current/house_go.png";
+ linkImage = "images/current/arrow_right.png";
+ typeImage = "images/current/email_go.png";
+ deleteImage = "images/current/control_stop.png";
+Index: jftp-1.52.dfsg/src/java/net/sf/jftp/gui/base/AppMenuBar.java
+===================================================================
+--- jftp-1.52.dfsg.orig/src/java/net/sf/jftp/gui/base/AppMenuBar.java 2010-04-11 19:42:06.000000000 -0400
++++ jftp-1.52.dfsg/src/java/net/sf/jftp/gui/base/AppMenuBar.java 2010-04-11 19:42:29.000000000 -0400
+@@ -22,7 +22,6 @@
+ import net.sf.jftp.gui.hostchooser.NfsHostChooser;
+ import net.sf.jftp.gui.hostchooser.SftpHostChooser;
+ import net.sf.jftp.gui.hostchooser.SmbHostChooser;
+-import net.sf.jftp.gui.hostchooser.WebdavHostChooser;
+ import net.sf.jftp.gui.tasks.AddBookmarks;
+ import net.sf.jftp.gui.tasks.AdvancedOptions;
+ import net.sf.jftp.gui.tasks.BookmarkItem;
+@@ -85,13 +84,11 @@
+ JMenuItem localSftpCon = new JMenuItem("Open SFTP Connection in Local Tab...");
+ JMenuItem localSmbCon = new JMenuItem("Open SMB/LAN Connection in Local Tab...");
+ JMenuItem localNfsCon = new JMenuItem("Open NFS Connection in Local Tab...");
+- JMenuItem localWebdavCon = new JMenuItem("Open WebDAV Connection in Local Tab... (ALPHA)");
+ JMenuItem closeLocalCon = new JMenuItem("Close Active Connection in Local Tab");
+ JMenuItem ftpCon = new JMenuItem("Connect to FTP Server...");
+ JMenuItem sftpCon = new JMenuItem("Connect to SFTP Server...");
+ JMenuItem smbCon = new JMenuItem("Connect to SMB Server / Browse LAN...");
+ JMenuItem nfsCon = new JMenuItem("Connect to NFS Server...");
+- JMenuItem webdavCon = new JMenuItem("Connect to WebDAV Server... (ALPHA)");
+ JMenuItem close = new JMenuItem("Disconnect and Connect to Filesystem");
+ JMenuItem exit = new JMenuItem("Exit");
+ JMenuItem readme = new JMenuItem("Show Readme...");
+@@ -190,7 +187,6 @@
+ proxy.addActionListener(this);
+ stdback.addActionListener(this);
+ opts.addActionListener(this);
+- webdavCon.addActionListener(this);
+ sshShell.addActionListener(this);
+ shell.addActionListener(this);
+ nl.addActionListener(this);
+@@ -199,7 +195,6 @@
+ localSftpCon.addActionListener(this);
+ localSmbCon.addActionListener(this);
+ localNfsCon.addActionListener(this);
+- localWebdavCon.addActionListener(this);
+ closeLocalCon.addActionListener(this);
+ add.addActionListener(this);
+ storePasswords.addActionListener(this);
+@@ -452,7 +447,6 @@
+ file.add(sftpCon);
+ file.add(smbCon);
+ file.add(nfsCon);
+- file.add(webdavCon);
+ file.addSeparator();
+ file.add(close);
+ file.addSeparator();
+@@ -462,7 +456,6 @@
+ file.add(localSmbCon);
+ file.add(localNfsCon);
+
+- //file.add(localWebdavCon); -> not yet
+ file.addSeparator();
+ file.add(closeLocalCon);
+ file.addSeparator();
+@@ -569,12 +562,6 @@
+ AddBookmarks a = new AddBookmarks(JFtp.statusP.jftp);
+ a.update();
+ }
+- else if(e.getSource() == webdavCon)
+- {
+- WebdavHostChooser hc = new WebdavHostChooser();
+- hc.toFront();
+- hc.update();
+- }
+ else if((e.getSource() == localFtpCon) && (!jftp.uiBlocked))
+ {
+ HostChooser hc = new HostChooser(null, true);
+@@ -607,14 +594,6 @@
+ //hc.setModal(true);
+ hc.update();
+ }
+- else if((e.getSource() == localWebdavCon) && (!jftp.uiBlocked))
+- {
+- WebdavHostChooser hc = new WebdavHostChooser(null, true);
+- hc.toFront();
+-
+- //hc.setModal(true);
+- hc.update();
+- }
+ else if(e.getSource() == closeLocalCon)
+ {
+ JFtp.statusP.jftp.closeCurrentLocalTab();
+Index: jftp-1.52.dfsg/src/java/net/sf/jftp/gui/base/StatusPanel.java
+===================================================================
+--- jftp-1.52.dfsg.orig/src/java/net/sf/jftp/gui/base/StatusPanel.java 2010-04-11 19:42:37.000000000 -0400
++++ jftp-1.52.dfsg/src/java/net/sf/jftp/gui/base/StatusPanel.java 2010-04-11 19:42:51.000000000 -0400
+@@ -22,7 +22,6 @@
+ import net.sf.jftp.gui.hostchooser.NfsHostChooser;
+ import net.sf.jftp.gui.hostchooser.SftpHostChooser;
+ import net.sf.jftp.gui.hostchooser.SmbHostChooser;
+-import net.sf.jftp.gui.hostchooser.WebdavHostChooser;
+ import net.sf.jftp.gui.tasks.HttpBrowser;
+ import net.sf.jftp.net.*;
+ import net.sf.jftp.net.wrappers.HttpTransfer;
+@@ -51,10 +50,6 @@
+ this);
+ private HImageButton nfscon = new HImageButton(Settings.nfsImage, "nfscon",
+ "Add NFS Connection...", this);
+- private HImageButton webdavcon = new HImageButton(Settings.webdavImage,
+- "webdavcon",
+- "Add WebDAV Connection...",
+- this);
+ public HImageButton close = new HImageButton(Settings.closeImage, "close",
+ "Close active tab...", this);
+ private HImageButton go = new HImageButton(Settings.refreshImage, "go",
+@@ -100,11 +95,6 @@
+ nfscon.setToolTipText("New NFS Connection...");
+ bar.add(new JLabel(" "));
+
+- if(Settings.enableWebDav) bar.add(webdavcon);
+- webdavcon.setSize(24, 24);
+- webdavcon.setToolTipText("New WebDAV Connection...");
+- bar.add(new JLabel(" "));
+-
+ bar.add(close);
+ close.setSize(24, 24);
+ close.setToolTipText("Close Active Remote tab...");
+@@ -184,15 +174,6 @@
+ //hc.setModal(true);
+ hc.update();
+ }
+- else if(e.getActionCommand().equals("webdavcon"))
+- {
+- //jftp.safeDisconnect();
+- WebdavHostChooser hc = new WebdavHostChooser();
+- hc.toFront();
+-
+- //hc.setModal(true);
+- hc.update();
+- }
+ else if(e.getActionCommand().equals("close"))
+ {
+ jftp.closeCurrentTab();
diff --git a/debian/rules b/debian/rules
index 820d87b..f89c77d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,14 +2,14 @@
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-6-openjdk
+JAVA_HOME := /usr/lib/jvm/default-java
DEB_ANT_BUILD_TARGET := jars
DEB_JARS := jcifs jl commons-logging commons-httpclient log4j-1.2 \
jakarta-slide-webdavlib kunststoff j2ssh-ant j2ssh-core yanfs \
j2ssh-common j2ssh-dameon jsch
-ANT_OPTS := -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5
+ANT_ARGS := -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5
+VERSION := $(shell echo $(DEB_UPSTREAM_VERSION) | sed -e 's/\.dfsg//')
install/jftp::
chmod 644 doc/FtpUpload.java
@@ -21,4 +21,4 @@ install/jftp::
/usr/share/java/jftp.jar
get-orig-source:
- uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+ uscan --download-version $(VERSION) --force-download --rename
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
index 646b3e5..513a30b 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
version=3
-
+opts="dversionmangle=s/\+dfsg*//" \
http://sf.net/j-ftp/j-ftp-([\d.]+)\.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