head 1.7; access; symbols pkgsrc-2013Q2:1.7.0.28 pkgsrc-2013Q2-base:1.7 pkgsrc-2012Q4:1.7.0.26 pkgsrc-2012Q4-base:1.7 pkgsrc-2011Q4:1.7.0.24 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q2:1.7.0.22 pkgsrc-2011Q2-base:1.7 pkgsrc-2009Q4:1.7.0.20 pkgsrc-2009Q4-base:1.7 pkgsrc-2008Q4:1.7.0.18 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.16 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.14 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.12 pkgsrc-2008Q2-base:1.7 pkgsrc-2008Q1:1.7.0.10 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.8 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.6 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.4 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.2 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.6.0.12 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.10 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.8 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.6 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.4 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.2 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.5.0.4 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.2 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.3.0.2 netbsd-1-6-1-base:1.3 netbsd-1-6:1.2.0.8 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.4 pkgviews-base:1.2 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.7 date 2007.03.20.13.32.11; author tron; state dead; branches; next 1.6; 1.6 date 2005.09.04.20.00.09; author tonio; state Exp; branches; next 1.5; 1.5 date 2005.03.02.14.38.18; author tron; state Exp; branches; next 1.4; 1.4 date 2003.09.01.22.04.13; author xtraeme; state dead; branches 1.4.10.1; next 1.3; 1.3 date 2002.10.27.07.53.58; author rh; state Exp; branches; next 1.2; 1.2 date 2001.05.15.07.56.44; author rh; state Exp; branches; next 1.1; 1.1 date 2001.05.14.17.26.53; author rh; state Exp; branches 1.1.1.1; next ; 1.4.10.1 date 2005.03.02.22.15.42; author salo; state Exp; branches; next ; 1.1.1.1 date 2001.05.14.17.26.53; author rh; state Exp; branches; next ; desc @@ 1.7 log @Remove "gftp" packages. They are broken and unmaintained. Approved by Jared D. McNeill. @ text @$NetBSD: patch-ab,v 1.6 2005/09/04 20:00:09 tonio Exp $ --- lib/pty.c.orig 2005-01-04 14:32:11.000000000 +0100 +++ lib/pty.c @@@@ -61,7 +61,7 @@@@ _gftp_ptys_open (int fdm, int fds, char #elif HAVE_GRANTPT -#ifndef __FreeBSD__ +#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__)) #include #endif @ 1.6 log @Fix build under darwin (stropts.h being included but not present), using defined(__APPLE__) @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @Update "gftp" package to version 2.0.18. Changes since version 2.0.17: - Added support for the FSP protocol (http://fsp.sourceforge.net/) - SSH2: Fixed segfault that could occur when renaming a file (bug introduced in 2.0.18rc1) - SSH2: Fixes for parsing the directory listing from the commercial SSH server - FTP: added pasv_behind_router option. If this is enabled, then the IP address that is in the PASV response will be ignored. Instead the IP address of the remote host will be used - FTP: removed the quote filename functionality in the SITE CHMOD and SITE UTIME commands - Chmod: Fixes for setting the group execute bit (bug introduced in 2.0.18rc1) - Fixes so that the text port will prompt you for your password when a URL is entered on the command line - In the text port, convert the string from UTF8 to the users' current locale before it is displayed - Fixes for when the host system does not have getaddrinfo() (bug introduced in 2.0.18rc1) - Rewrote and improved the URL parser so that the :, @@ characters are allowed in directories and passwords - Security Fix: Ignore the file paths that are returned by the remote server - FreeBSD and HP/UX fixes - GNOME HIG fixes - Many other small changes and improvements. See the ChangeLog file in the distribution for a detailed list of changes. - Updated language translations (cs de en_CA en_GB es hu nl zh_CN) @ text @d3 3 a5 3 --- lib/pty.c.orig 2005-01-04 13:32:11.000000000 +0000 +++ lib/pty.c 2005-03-02 14:28:15.000000000 +0000 @@@@ -61,7 +61,7 @@@@ d10 1 a10 1 +#if !(defined(__FreeBSD__) || defined(__NetBSD__)) @ 1.4 log @oops remove these patches forgotten in previous commit @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.3 2002/10/27 07:53:58 rh Exp $ d3 3 a5 5 --- src/gtk/gftp-gtk.c.orig Fri Mar 30 12:53:01 2001 +++ src/gtk/gftp-gtk.c @@@@ -68,6 +68,24 @@@@ GtkItemFactory * factory = NULL; pthread_mutex_t transfer_mutex = PTHREAD_MUTEX_INITIALIZER; pthread_mutex_t log_mutex = PTHREAD_MUTEX_INITIALIZER; d7 6 a12 29 +#ifdef __NetBSD__ +#include + +#ifdef _PTH_PTHREAD_H_ +#include + +/* + * Pth is non-preemptive, so we yield the processor periodically + */ +gint +pth_nbschedule (gpointer data) +{ + sched_yield(); + return TRUE; +} +#endif +#endif + int main (int argc, char *argv[]) { @@@@ -119,6 +137,10 @@@@ main (int argc, char *argv[]) gftp_set_directory (window1.request, startup_directory); gftp_connect (window1.request); ftp_list_files (&window1, 0); + +#ifdef _PTH_PTHREAD_H_ + gtk_timeout_add (200, pth_nbschedule, NULL); +#endif a13 2 gtk_main (); return (0); @ 1.4.10.1 log @Pullup ticket 326 - requested by Matthias Scheler security fix for gftp Revisions pulled up: - pkgsrc/net/gftp/DESCR 1.3 - pkgsrc/net/gftp/Makefile.common 1.8 - pkgsrc/net/gftp/PLIST 1.9 - pkgsrc/net/gftp/distinfo 1.8-1.9 - pkgsrc/net/gftp/patches/patch-aa 1.3 - pkgsrc/net/gftp/patches/patch-ab 1.5 - pkgsrc/net/gftp/patches/patch-ac 1.1 - pkgsrc/net/gftp/patches/patch-ad 1.1 - pkgsrc/net/gftp-gtk1/DESCR 1.2 - pkgsrc/net/gftp-gtk1/Makefile 1.7 Module Name: pkgsrc Committed By: tron Date: Wed Mar 2 14:36:53 UTC 2005 Modified Files: pkgsrc/net/gftp: DESCR Makefile.common PLIST distinfo pkgsrc/net/gftp-gtk1: DESCR Added Files: pkgsrc/net/gftp/patches: patch-aa patch-ab Log Message: Update "gftp" and "gftp-gtk1" package to version 2.0.18. Changes since version 2.0.17: - Added support for the FSP protocol (http://fsp.sourceforge.net/) - SSH2: Fixed segfault that could occur when renaming a file (bug introduced in 2.0.18rc1) - SSH2: Fixes for parsing the directory listing from the commercial SSH server - FTP: added pasv_behind_router option. If this is enabled, then the IP address that is in the PASV response will be ignored. Instead the IP address of the remote host will be used - FTP: removed the quote filename functionality in the SITE CHMOD and SITE UTIME commands - Chmod: Fixes for setting the group execute bit (bug introduced in 2.0.18rc1) - Fixes so that the text port will prompt you for your password when a URL is entered on the command line - In the text port, convert the string from UTF8 to the users' current locale before it is displayed - Fixes for when the host system does not have getaddrinfo() (bug introduced in 2.0.18rc1) - Rewrote and improved the URL parser so that the :, @@ characters are allowed in directories and passwords - Security Fix: Ignore the file paths that are returned by the remote server - FreeBSD and HP/UX fixes - GNOME HIG fixes - Many other small changes and improvements. See the ChangeLog file in the distribution for a detailed list of changes. - Updated language translations (cs de en_CA en_GB es hu nl zh_CN) --- Module Name: pkgsrc Committed By: tron Date: Wed Mar 2 20:43:21 UTC 2005 Modified Files: pkgsrc/net/gftp: distinfo pkgsrc/net/gftp-gtk1: Makefile Added Files: pkgsrc/net/gftp/patches: patch-ac patch-ad Log Message: Fix build problems in "gftp-gtk1" package caused by update to version 2.0.18. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.5 2005/03/02 14:38:18 tron Exp $ d3 5 a7 3 --- lib/pty.c.orig 2005-01-04 13:32:11.000000000 +0000 +++ lib/pty.c 2005-03-02 14:28:15.000000000 +0000 @@@@ -61,7 +61,7 @@@@ d9 29 a37 6 #elif HAVE_GRANTPT -#ifndef __FreeBSD__ +#if !(defined(__FreeBSD__) || defined(__NetBSD__)) #include #endif d39 2 @ 1.3 log @Check for pth, not NetBSD, so this compiles with native threads. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update gftp to 2.0.8. Update provided by Martti Kuparinen 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 @ text @d3 1 a3 1 --- src/gtk/gftp-gtk.c.orig Fri Mar 30 04:53:01 2001 d5 1 a5 1 @@@@ -68,6 +68,21 @@@@ d10 3 a13 1 +#include d16 1 a16 1 + * NetBSD uses non-preemptive pth, so we yield the processor periodically d21 1 a21 1 + pthread_yield_np(); d25 1 d30 1 a30 1 @@@@ -119,6 +134,10 @@@@ d35 1 a35 1 +#ifdef __NetBSD__ @ 1.1 log @Initial revision @ text @d3 5 a7 5 --- 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; a15 1 + a19 1 + d27 3 a29 2 @@@@ -138,6 +155,10 @@@@ gftp_connect (window1.hdata->ftpdata); a30 1 update_ftp_info (); d33 1 a33 1 + gtk_timeout_add (200, pth_nbschedule, NULL); @ 1.1.1.1 log @Initial import of gftp-2.0.7.1, a graphical FTP client using gtk+. This package was provided in PR pkg/12006 by Jared D. McNeill and modified by me to compensate for non-preemptive threading. This also closes PR pkg/12936 by Martti Kuparinen @ text @@