summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorrh <rh>2001-05-15 07:56:43 +0000
committerrh <rh>2001-05-15 07:56:43 +0000
commitef1b05682b0589bdeee91cb2d1e2b2a072dd8775 (patch)
treeead94a10eebdcbf01c27b4a921f3e89b4600a8da /net
parent994d3cb823b1102d6559ce397174f4f4ec4d8c35 (diff)
downloadpkgsrc-ef1b05682b0589bdeee91cb2d1e2b2a072dd8775.tar.gz
Update gftp to 2.0.8. Update provided by Martti Kuparinen
<martti.kuparinen@iki.fi> in private mail. This closes his PR 12936. Changes from 2.0.8pre4 to 2.0.8 * Fixed progress update bug when downloading files * Other small bug fixes * Updated French and Czech translation Changes from 2.0.8pre3 to 2.0.8pre4 * Fixed bug with gftp sometimes "freezing" up when you would have it do several things at once * Moved the displaying of the KB/s from the current KB/s back to the average KB/s for the file transfer * Fixed bug with current file numbers not being updated * Fixed bug where gftp would reconnect to a site after a file upload * Fixed bug where the cache wasn't being updated when you refreshed a directory listing * Fixed bug where you couldn't select overwrite, resume or skip when transfering files that already existed * Made it so that the text port doesn't require the XPM files to be present when the config file is read * Renamed gtk12 port from gftp-gtk12 to gftp-gtk. I'll work gtk+ 2.0 port in the same source with #ifdefs * Other small bug fixes * Added Turkish translation Changes from 2.0.8pre2 to 2.0.8pre3 * Fixed some downloading/uploading problems and also fixed some reconnecting problems * Fixed bug so that you can do other stuff while a file transfer is in progress * Fixed crash that would occur if you would enter a blank host in the toolbar * Fixed compile problem on Solaris 7 * Drag and Drop fixups * Quite a few other small bug fixes * Updated French and Russian translation Changes from 2.0.8pre1 to 2.0.8pre2 * Fixed crash in bookmarks * Added some more bookmarks * Fixed crash with viewing files * Fixed compile problem with operating systems that don't have getaddrinfo(3) * Fixed bug with dragging a local file * Fixed bug with file transfer timeout * Removed unused variables from some structures * Added overwrite by default option * Fixed bug with keypad delete only letting you deleting one file * Fixed bug with command line params not being passed from the gftp shell script to gftp-gtk12 and gftp-text * Updated Korean translation Changes from 2.0.7b to 2.0.8pre1 * Separated all UI related functions from the non-UI related functions. Now have text port along with gtk+ 1.2 port * Fixed format string security problem in logging of ftp and http responses * Made chdir, rm, chmod, rename, etc all threaded operations. Now all network operations done in gftp should be stopable from the gui interface * Improved net core so it should detect better if the remote connection closed * When you go to upload a file now via ftp, it'll no longer send a SIZE command for each file. It can also now detect files that exist in subdirs and prompt you about those as well * Fixed file corruption when files were transfered via ascii mode * Added recursive directory deletes * Can now reorder files that are being transfered * If a file transfer is already going to one host, when you select more files to transfer they will automatically be appended to the current transfer in progress instead of another transfer being made * Added simplified Chinese and Italian translation * Various other small bug fixes
Diffstat (limited to 'net')
-rw-r--r--net/gftp/Makefile9
-rw-r--r--net/gftp/distinfo8
-rw-r--r--net/gftp/patches/patch-ab22
-rw-r--r--net/gftp/pkg/PLIST8
4 files changed, 26 insertions, 21 deletions
diff --git a/net/gftp/Makefile b/net/gftp/Makefile
index eaa92605c4e..cac45a91cb0 100644
--- a/net/gftp/Makefile
+++ b/net/gftp/Makefile
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.2 2001/05/15 05:27:32 zuntum Exp $
+# $NetBSD: Makefile,v 1.3 2001/05/15 07:56:43 rh Exp $
-DISTNAME= gftp-2.0.7b
-PKGNAME= gftp-2.0.7.1
+DISTNAME= gftp-2.0.8
CATEGORIES= net
-MASTER_SITES= ftp://gftp.seul.org/pub/gftp/old-releases/
+MASTER_SITES= http://gftp.seul.org/ \
+ ftp://gftp.seul.org/pub/gftp/ \
+ ftp://gftp.seul.org/pub/gftp/old-releases/
MAINTAINER= jmcneill@invisible.yi.org
HOMEPAGE= http://gftp.seul.org/
diff --git a/net/gftp/distinfo b/net/gftp/distinfo
index e8624aec75b..f09db736657 100644
--- a/net/gftp/distinfo
+++ b/net/gftp/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/05/14 17:26:53 rh Exp $
+$NetBSD: distinfo,v 1.2 2001/05/15 07:56:44 rh Exp $
-SHA1 (gftp-2.0.7b.tar.gz) = 9a3dae1dbaeb0246ade524d37b8b7c000df61088
-Size (gftp-2.0.7b.tar.gz) = 657874 bytes
+SHA1 (gftp-2.0.8.tar.gz) = 67a93e1b2e6f67a19bb8b6429be99e1870e57430
+Size (gftp-2.0.8.tar.gz) = 786985 bytes
SHA1 (patch-aa) = dc1720a8d18c2fcbdc45832431d6d68a4501c0ae
-SHA1 (patch-ab) = e9ae08c20a29dac5d7fabba06be87c9473107cf4
+SHA1 (patch-ab) = 629fdd242045ae82b9bc44413767735d1762ac03
diff --git a/net/gftp/patches/patch-ab b/net/gftp/patches/patch-ab
index f7675002d4a..8dc2c447b34 100644
--- a/net/gftp/patches/patch-ab
+++ b/net/gftp/patches/patch-ab
@@ -1,10 +1,10 @@
-$NetBSD: patch-ab,v 1.1.1.1 2001/05/14 17:26:53 rh Exp $
+$NetBSD: patch-ab,v 1.2 2001/05/15 07:56:44 rh Exp $
---- src/gftp.c.orig Tue May 1 15:19:17 2001
-+++ src/gftp.c
-@@ -80,6 +80,23 @@
- static int remote_start, local_start, tools_start;
- static GtkItemFactoryEntry *menus;
+--- src/gtk/gftp-gtk.c.orig Fri Mar 30 04:53:01 2001
++++ src/gtk/gftp-gtk.c
+@@ -68,6 +68,21 @@
+ pthread_mutex_t transfer_mutex = PTHREAD_MUTEX_INITIALIZER;
+ pthread_mutex_t log_mutex = PTHREAD_MUTEX_INITIALIZER;
+#ifdef __NetBSD__
+#include <gtk/gtk.h>
@@ -13,12 +13,10 @@ $NetBSD: patch-ab,v 1.1.1.1 2001/05/14 17:26:53 rh Exp $
+/*
+ * NetBSD uses non-preemptive pth, so we yield the processor periodically
+ */
-+
+gint
+pth_nbschedule (gpointer data)
+{
+ pthread_yield_np();
-+
+ return TRUE;
+}
+#endif
@@ -26,13 +24,13 @@ $NetBSD: patch-ab,v 1.1.1.1 2001/05/14 17:26:53 rh Exp $
int
main (int argc, char *argv[])
{
-@@ -138,6 +155,10 @@
- gftp_connect (window1.hdata->ftpdata);
+@@ -119,6 +134,10 @@
+ gftp_set_directory (window1.request, startup_directory);
+ gftp_connect (window1.request);
ftp_list_files (&window1, 0);
- update_ftp_info ();
+
+#ifdef __NetBSD__
-+ gtk_timeout_add (200, pth_nbschedule, NULL);
++ gtk_timeout_add (200, pth_nbschedule, NULL);
+#endif
gtk_main ();
diff --git a/net/gftp/pkg/PLIST b/net/gftp/pkg/PLIST
index c21c8f4c590..5978004d800 100644
--- a/net/gftp/pkg/PLIST
+++ b/net/gftp/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2001/05/14 17:26:53 rh Exp $
+@comment $NetBSD: PLIST,v 1.2 2001/05/15 07:56:45 rh Exp $
bin/gftp
share/locale/br/LC_MESSAGES/gftp.mo
share/locale/cs/LC_MESSAGES/gftp.mo
@@ -18,23 +18,29 @@ share/locale/zh_TW.Big5/LC_MESSAGES/gftp.mo
man/man1/gftp.1
share/gftp/COPYING
share/gftp/bookmarks
+share/gftp/connect.xpm
share/gftp/deb.xpm
share/gftp/diff.xpm
share/gftp/dir.xpm
share/gftp/doc.xpm
share/gftp/dotdot.xpm
+share/gftp/down.xpm
share/gftp/exe.xpm
share/gftp/gftp-logo.xpm
share/gftp/gftprc
share/gftp/img.xpm
+share/gftp/left.xpm
share/gftp/linkdir.xpm
share/gftp/linkfile.xpm
share/gftp/man.xpm
share/gftp/open_dir.xpm
+share/gftp/right.xpm
share/gftp/rpm.xpm
share/gftp/sound.xpm
+share/gftp/stop.xpm
share/gftp/tar.xpm
share/gftp/txt.xpm
+share/gftp/up.xpm
share/gftp/world.xpm
share/gnome/apps/Internet/gftp.desktop
share/pixmaps/gftp.png