diff options
-rw-r--r-- | net/gftp/Makefile | 9 | ||||
-rw-r--r-- | net/gftp/distinfo | 8 | ||||
-rw-r--r-- | net/gftp/patches/patch-ab | 22 | ||||
-rw-r--r-- | net/gftp/pkg/PLIST | 8 |
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 |