summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2006-08-28 16:45:12 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2006-08-28 16:45:12 +0000
commit3c1e410d29d147fa4a60586b04043fbc3060e47f (patch)
treecc18957d2bfb252b2643bd689536840ad9032379 /net-ftp
parentStable on hppa (diff)
downloadhistorical-3c1e410d29d147fa4a60586b04043fbc3060e47f.tar.gz
historical-3c1e410d29d147fa4a60586b04043fbc3060e47f.tar.bz2
historical-3c1e410d29d147fa4a60586b04043fbc3060e47f.zip
pruning old revisions; gtk2 useflag is gone!
Package-Manager: portage-2.1.1_rc1-r1
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/gftp/Manifest49
-rw-r--r--net-ftp/gftp/files/digest-gftp-2.0.18-r13
-rw-r--r--net-ftp/gftp/files/digest-gftp-2.0.18-r23
-rw-r--r--net-ftp/gftp/files/digest-gftp-2.0.18-r33
-rw-r--r--net-ftp/gftp/files/gftp-2.0.15-64bit_fixes.patch524
-rw-r--r--net-ftp/gftp/files/gftp-2.0.16-ipv6_fix.patch92
-rw-r--r--net-ftp/gftp/files/gftp-2.0.18-fix_gtk1.patch31
-rw-r--r--net-ftp/gftp/gftp-2.0.18-r1.ebuild72
-rw-r--r--net-ftp/gftp/gftp-2.0.18-r2.ebuild56
-rw-r--r--net-ftp/gftp/gftp-2.0.18-r3.ebuild61
10 files changed, 8 insertions, 886 deletions
diff --git a/net-ftp/gftp/Manifest b/net-ftp/gftp/Manifest
index adac81ed493c..42e87c8095af 100644
--- a/net-ftp/gftp/Manifest
+++ b/net-ftp/gftp/Manifest
@@ -1,53 +1,20 @@
-AUX gftp-2.0.15-64bit_fixes.patch 16360 RMD160 be9cb6f9bf33b28bdcc8da25a1ccdc1b88165d44 SHA1 655221d9ea576bd9c5ff62f429f2cd8423c04b06 SHA256 475889ae7d13062c960ac9dd682157e06af2b02f01414054860672b320b6fe5c size 16360
-MD5 ce3187f3e4f80bfb35cf8bef798eb40d files/gftp-2.0.15-64bit_fixes.patch 16360
-RMD160 be9cb6f9bf33b28bdcc8da25a1ccdc1b88165d44 files/gftp-2.0.15-64bit_fixes.patch 16360
-SHA256 475889ae7d13062c960ac9dd682157e06af2b02f01414054860672b320b6fe5c files/gftp-2.0.15-64bit_fixes.patch 16360
-AUX gftp-2.0.16-ipv6_fix.patch 3279 RMD160 c80df473037fd585d935dda0457f2c1e08870d23 SHA1 98f967789698d0adabd55554231ceb0163323289 SHA256 203188b8b54f12e988d70df4696f6b63712710382111e30000c19b85d0648cf7 size 3279
-MD5 23e7696a3f6f2c368d11ca9aaadb7797 files/gftp-2.0.16-ipv6_fix.patch 3279
-RMD160 c80df473037fd585d935dda0457f2c1e08870d23 files/gftp-2.0.16-ipv6_fix.patch 3279
-SHA256 203188b8b54f12e988d70df4696f6b63712710382111e30000c19b85d0648cf7 files/gftp-2.0.16-ipv6_fix.patch 3279
-AUX gftp-2.0.18-fix_gtk1.patch 1095 RMD160 a7f81b7527440dd238b64f3d49b28f5c4a69a329 SHA1 14d5bcbb102d9069fcdceafb50ff6f1c226e1e5e SHA256 560b21ba0ea7db75ba0d33fcec9b9705c4009eadd7a67e3dcd19a949182657c9 size 1095
-MD5 81d77310a3638462af932e435590ab5d files/gftp-2.0.18-fix_gtk1.patch 1095
-RMD160 a7f81b7527440dd238b64f3d49b28f5c4a69a329 files/gftp-2.0.18-fix_gtk1.patch 1095
-SHA256 560b21ba0ea7db75ba0d33fcec9b9705c4009eadd7a67e3dcd19a949182657c9 files/gftp-2.0.18-fix_gtk1.patch 1095
-AUX gftp-2.0.18-ssh2-read.patch 326 RMD160 512c6ffb7b31588a63c8efa48c15f70c33854862 SHA1 78d2d8e1a7921a8cfb456f8e414b11a6a04d11f3 SHA256 3ae9e62999aef08911dcc374433fa1797d277494cb86fdbb54e969098230582d size 326
+AUX gftp-2.0.18-ssh2-read.patch 326 RMD160 512c6ffb7b31588a63c8efa48c15f70c33854862 SHA1 78d2d8e1a7921a8cfb456f8e414b11a6a04d11f3 SHA256 3ae9e62999aef08911dcc374433fa1797d277494cb86fdbb54e969098230582d
MD5 327a4df792013f011340fe5f90dbb6c1 files/gftp-2.0.18-ssh2-read.patch 326
RMD160 512c6ffb7b31588a63c8efa48c15f70c33854862 files/gftp-2.0.18-ssh2-read.patch 326
SHA256 3ae9e62999aef08911dcc374433fa1797d277494cb86fdbb54e969098230582d files/gftp-2.0.18-ssh2-read.patch 326
-DIST gftp-2.0.18.tar.bz2 1374850 RMD160 0e0daea8543ae822b25635647360193362a2648d SHA256 8145e18d1edf13e8cb6cd7a69bb69de5c46307086997755654488fb8282d38a2 size 1374850
-EBUILD gftp-2.0.18-r1.ebuild 1460 RMD160 e17d9a26539f42e4aa502e1be88849ac0aff026a SHA1 70d3f28966211ed16ff86c0cb33159f5655866ad SHA256 503b50a36b3c763220d588f5b374fc5dcb171656a8f0dd7609afafa0a85b76b4 size 1460
-MD5 710d64cc8961e1dcbdf86e6311032d41 gftp-2.0.18-r1.ebuild 1460
-RMD160 e17d9a26539f42e4aa502e1be88849ac0aff026a gftp-2.0.18-r1.ebuild 1460
-SHA256 503b50a36b3c763220d588f5b374fc5dcb171656a8f0dd7609afafa0a85b76b4 gftp-2.0.18-r1.ebuild 1460
-EBUILD gftp-2.0.18-r2.ebuild 1128 RMD160 0c961a44e918273fb116d087d9d6ee68fbc623f0 SHA1 f979cffc541e88d6c2972e18ac19cf9a7bdc6c59 SHA256 44a3edad7485bcebb1f76d5d4a182bb853fadc232a4b34d592063b1b9f00d181 size 1128
-MD5 1ef87d022c5ff737b9836ab7b69e38d3 gftp-2.0.18-r2.ebuild 1128
-RMD160 0c961a44e918273fb116d087d9d6ee68fbc623f0 gftp-2.0.18-r2.ebuild 1128
-SHA256 44a3edad7485bcebb1f76d5d4a182bb853fadc232a4b34d592063b1b9f00d181 gftp-2.0.18-r2.ebuild 1128
-EBUILD gftp-2.0.18-r3.ebuild 1269 RMD160 21a60182ced343f8984288c58674a9e9a7c33abd SHA1 527a04836d8a78dde306a57363ad9384f3d39b82 SHA256 4c7961e7b495ed5228e061bf415290eba7478cf5e5e9f09b29bed478ba8d3d3f size 1269
-MD5 4a2142ad845485e1bc269c71da71ab40 gftp-2.0.18-r3.ebuild 1269
-RMD160 21a60182ced343f8984288c58674a9e9a7c33abd gftp-2.0.18-r3.ebuild 1269
-SHA256 4c7961e7b495ed5228e061bf415290eba7478cf5e5e9f09b29bed478ba8d3d3f gftp-2.0.18-r3.ebuild 1269
-EBUILD gftp-2.0.18-r4.ebuild 1057 RMD160 1faa32784169aecec834998454d4cc0f0feb05bd SHA1 461cd17d7bc0bdbe519f5918796112f8a59520b7 SHA256 a30cc7a8186fa9c812d5f66d9534bda7d57470c74ef6e145e13c8a55ad1cd2b2 size 1057
+DIST gftp-2.0.18.tar.bz2 1374850 RMD160 0e0daea8543ae822b25635647360193362a2648d SHA1 c2468f1ff1fe978a5fab3a198e513558f3b48f5a SHA256 8145e18d1edf13e8cb6cd7a69bb69de5c46307086997755654488fb8282d38a2
+EBUILD gftp-2.0.18-r4.ebuild 1057 RMD160 1faa32784169aecec834998454d4cc0f0feb05bd SHA1 461cd17d7bc0bdbe519f5918796112f8a59520b7 SHA256 a30cc7a8186fa9c812d5f66d9534bda7d57470c74ef6e145e13c8a55ad1cd2b2
MD5 1ada6d0e81b53edf279b5b3808026692 gftp-2.0.18-r4.ebuild 1057
RMD160 1faa32784169aecec834998454d4cc0f0feb05bd gftp-2.0.18-r4.ebuild 1057
SHA256 a30cc7a8186fa9c812d5f66d9534bda7d57470c74ef6e145e13c8a55ad1cd2b2 gftp-2.0.18-r4.ebuild 1057
-MISC ChangeLog 7409 RMD160 73760c01e1a60109caa53b3b0430fa0014544cf4 SHA1 7b6b493af2c325627ebe41c3e96582fdcdd2ea20 SHA256 8109b1915a3494ced14329a47c737f302bbb8d27e285641a375fe187fa71c095 size 7409
-MD5 bf6f4543a4f0a5b79929bd4bc68b9a6e ChangeLog 7409
-RMD160 73760c01e1a60109caa53b3b0430fa0014544cf4 ChangeLog 7409
-SHA256 8109b1915a3494ced14329a47c737f302bbb8d27e285641a375fe187fa71c095 ChangeLog 7409
-MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 size 158
+MISC ChangeLog 7706 RMD160 5a5f7bce4e9322edb57c9467aa505d98df2aa7ec SHA1 50144f76db78d24ac8b6b2b898d8be3037fdddd9 SHA256 824e383382061a6b3def71411a9bcd20ebb8dcc55209490385907544fcff5b55
+MD5 cf6744edc187302518f37629f91a0580 ChangeLog 7706
+RMD160 5a5f7bce4e9322edb57c9467aa505d98df2aa7ec ChangeLog 7706
+SHA256 824e383382061a6b3def71411a9bcd20ebb8dcc55209490385907544fcff5b55 ChangeLog 7706
+MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1
MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e metadata.xml 158
SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 metadata.xml 158
-MD5 4e32cb8ee1e0ef76ba34db43896f5cfc files/digest-gftp-2.0.18-r1 241
-RMD160 a2507ad1c36cd4ac08bbfd6d3ecea87d0f6c2958 files/digest-gftp-2.0.18-r1 241
-SHA256 4e1cf658c5915e1add1219ac8f1c03911008aea592dc06d53cff9ef99239f4dc files/digest-gftp-2.0.18-r1 241
-MD5 4e32cb8ee1e0ef76ba34db43896f5cfc files/digest-gftp-2.0.18-r2 241
-RMD160 a2507ad1c36cd4ac08bbfd6d3ecea87d0f6c2958 files/digest-gftp-2.0.18-r2 241
-SHA256 4e1cf658c5915e1add1219ac8f1c03911008aea592dc06d53cff9ef99239f4dc files/digest-gftp-2.0.18-r2 241
-MD5 4e32cb8ee1e0ef76ba34db43896f5cfc files/digest-gftp-2.0.18-r3 241
-RMD160 a2507ad1c36cd4ac08bbfd6d3ecea87d0f6c2958 files/digest-gftp-2.0.18-r3 241
-SHA256 4e1cf658c5915e1add1219ac8f1c03911008aea592dc06d53cff9ef99239f4dc files/digest-gftp-2.0.18-r3 241
MD5 4e32cb8ee1e0ef76ba34db43896f5cfc files/digest-gftp-2.0.18-r4 241
RMD160 a2507ad1c36cd4ac08bbfd6d3ecea87d0f6c2958 files/digest-gftp-2.0.18-r4 241
SHA256 4e1cf658c5915e1add1219ac8f1c03911008aea592dc06d53cff9ef99239f4dc files/digest-gftp-2.0.18-r4 241
diff --git a/net-ftp/gftp/files/digest-gftp-2.0.18-r1 b/net-ftp/gftp/files/digest-gftp-2.0.18-r1
deleted file mode 100644
index a5e7dd4f3967..000000000000
--- a/net-ftp/gftp/files/digest-gftp-2.0.18-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 44b19442d06f6dc68c7211d66029d826 gftp-2.0.18.tar.bz2 1374850
-RMD160 0e0daea8543ae822b25635647360193362a2648d gftp-2.0.18.tar.bz2 1374850
-SHA256 8145e18d1edf13e8cb6cd7a69bb69de5c46307086997755654488fb8282d38a2 gftp-2.0.18.tar.bz2 1374850
diff --git a/net-ftp/gftp/files/digest-gftp-2.0.18-r2 b/net-ftp/gftp/files/digest-gftp-2.0.18-r2
deleted file mode 100644
index a5e7dd4f3967..000000000000
--- a/net-ftp/gftp/files/digest-gftp-2.0.18-r2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 44b19442d06f6dc68c7211d66029d826 gftp-2.0.18.tar.bz2 1374850
-RMD160 0e0daea8543ae822b25635647360193362a2648d gftp-2.0.18.tar.bz2 1374850
-SHA256 8145e18d1edf13e8cb6cd7a69bb69de5c46307086997755654488fb8282d38a2 gftp-2.0.18.tar.bz2 1374850
diff --git a/net-ftp/gftp/files/digest-gftp-2.0.18-r3 b/net-ftp/gftp/files/digest-gftp-2.0.18-r3
deleted file mode 100644
index a5e7dd4f3967..000000000000
--- a/net-ftp/gftp/files/digest-gftp-2.0.18-r3
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 44b19442d06f6dc68c7211d66029d826 gftp-2.0.18.tar.bz2 1374850
-RMD160 0e0daea8543ae822b25635647360193362a2648d gftp-2.0.18.tar.bz2 1374850
-SHA256 8145e18d1edf13e8cb6cd7a69bb69de5c46307086997755654488fb8282d38a2 gftp-2.0.18.tar.bz2 1374850
diff --git a/net-ftp/gftp/files/gftp-2.0.15-64bit_fixes.patch b/net-ftp/gftp/files/gftp-2.0.15-64bit_fixes.patch
deleted file mode 100644
index f5457301a687..000000000000
--- a/net-ftp/gftp/files/gftp-2.0.15-64bit_fixes.patch
+++ /dev/null
@@ -1,524 +0,0 @@
-Only in gftp-2.0.15.orig: gftp.spec
-diff -urBb gftp-2.0.15.orig/lib/cache.c gftp-2.0.15/lib/cache.c
---- gftp-2.0.15.orig/lib/cache.c 2003-08-11 20:04:37.000000000 -0400
-+++ gftp-2.0.15/lib/cache.c 2004-01-05 01:27:39.078379808 -0500
-@@ -118,7 +118,8 @@
- gftp_new_cache_entry (gftp_request * request)
- {
- char *cachedir, *tempstr, *temp1str;
-- int cache_fd, fd, cache_ttl;
-+ int cache_fd, fd;
-+ glong cache_ttl;
- ssize_t ret;
- time_t t;
-
-diff -urBb gftp-2.0.15.orig/lib/config_file.c gftp-2.0.15/lib/config_file.c
---- gftp-2.0.15.orig/lib/config_file.c 2003-07-22 22:39:23.000000000 -0400
-+++ gftp-2.0.15/lib/config_file.c 2004-01-05 01:29:24.792308848 -0500
-@@ -1186,6 +1186,10 @@
- gftp_config_list_vars * tmplistvar;
- gftp_config_vars * tmpconfigvar;
-
-+ g_assert(sizeof (void *) == sizeof (glong)); /* hacked 64-bit fixes... */
-+ g_assert(sizeof (void *) == sizeof (gulong)); /* hacked 64-bit fixes... */
-+ g_assert(sizeof (void *) == sizeof (gdouble)); /* hacked 64-bit fixes... */
-+
- if (gftp_global_options_htable != NULL &&
- (tmpconfigvar = g_hash_table_lookup (gftp_global_options_htable,
- key)) != NULL)
-diff -urBb gftp-2.0.15.orig/lib/misc.c gftp-2.0.15/lib/misc.c
---- gftp-2.0.15.orig/lib/misc.c 2003-08-19 15:46:43.000000000 -0400
-+++ gftp-2.0.15/lib/misc.c 2004-01-05 01:24:34.028511664 -0500
-@@ -818,7 +818,7 @@
- GList * files, * dirs, * dotdot, * tempitem, * insitem;
- GCompareFunc sortfunc;
- gftp_file * tempfle;
-- int sort_dirs_first;
-+ glong sort_dirs_first;
-
- files = dirs = dotdot = NULL;
-
-diff -urBb gftp-2.0.15.orig/lib/protocols.c gftp-2.0.15/lib/protocols.c
---- gftp-2.0.15.orig/lib/protocols.c 2003-08-21 16:24:08.000000000 -0400
-+++ gftp-2.0.15/lib/protocols.c 2004-01-05 01:27:09.521873080 -0500
-@@ -157,7 +157,7 @@
- gftp_get_file (gftp_request * request, const char *filename, int fd,
- off_t startsize)
- {
-- float maxkbs;
-+ gdouble maxkbs;
-
- g_return_val_if_fail (request != NULL, GFTP_EFATAL);
-
-@@ -181,7 +181,7 @@
- gftp_put_file (gftp_request * request, const char *filename, int fd,
- off_t startsize, off_t totalsize)
- {
-- float maxkbs;
-+ gdouble maxkbs;
-
- g_return_val_if_fail (request != NULL, GFTP_EFATAL);
-
-@@ -2109,7 +2109,7 @@
- ssize_t
- gftp_fd_read (gftp_request * request, void *ptr, size_t size, int fd)
- {
-- long network_timeout;
-+ glong network_timeout;
- struct timeval tv;
- fd_set fset;
- ssize_t ret;
-@@ -2179,7 +2179,7 @@
- ssize_t
- gftp_fd_write (gftp_request * request, const char *ptr, size_t size, int fd)
- {
-- long network_timeout;
-+ glong network_timeout;
- struct timeval tv;
- ssize_t w_ret;
- fd_set fset;
-@@ -2328,7 +2328,7 @@
- double start_difftime;
- gftp_file * tempfle;
- struct timeval tv;
-- float maxkbs;
-+ gdouble maxkbs;
- int waited;
-
- gftp_lookup_request_option (tdata->fromreq, "maxkbs", &maxkbs);
-@@ -2382,7 +2382,8 @@
- int
- gftp_get_transfer_status (gftp_transfer * tdata, ssize_t num_read)
- {
-- int ret1, ret2, retries, sleep_time;
-+ int ret1, ret2;
-+ glong retries, sleep_time;
- gftp_file * tempfle;
- struct timeval tv;
-
-diff -urBb gftp-2.0.15.orig/lib/rfc2068.c gftp-2.0.15/lib/rfc2068.c
---- gftp-2.0.15.orig/lib/rfc2068.c 2003-08-03 14:44:29.000000000 -0400
-+++ gftp-2.0.15/lib/rfc2068.c 2004-01-05 01:22:04.997167872 -0500
-@@ -54,7 +54,7 @@
- {
- char *proxy_hostname, *proxy_config;
- rfc2068_params * params;
-- int proxy_port, ret;
-+ glong proxy_port, ret;
-
- g_return_val_if_fail (request != NULL, GFTP_EFATAL);
- g_return_val_if_fail (request->protonum == GFTP_HTTP_NUM, GFTP_EFATAL);
-@@ -181,7 +181,7 @@
- rfc2068_send_command (gftp_request * request, const void *command, size_t len)
- {
- char *tempstr, *str, *proxy_hostname, *proxy_username, *proxy_password;
-- int proxy_port, conn_ret;
-+ glong proxy_port, conn_ret;
- ssize_t ret;
-
- g_return_val_if_fail (request != NULL, GFTP_EFATAL);
-@@ -273,7 +273,7 @@
- off_t startsize)
- {
- char *tempstr, *oldstr, *pos;
-- int restarted, use_http11;
-+ glong restarted, use_http11;
- rfc2068_params * params;
- off_t size;
-
-@@ -392,7 +392,7 @@
- {
- rfc2068_params *params;
- char *tempstr, *pos;
-- int use_http11;
-+ glong use_http11;
- off_t ret;
-
- g_return_val_if_fail (request != NULL, GFTP_EFATAL);
-@@ -441,7 +441,7 @@
- {
- rfc2068_params *params;
- char *tempstr, *pos;
-- int use_http11;
-+ glong use_http11;
- off_t size;
-
- g_return_val_if_fail (request != NULL, GFTP_EFATAL);
-diff -urBb gftp-2.0.15.orig/lib/rfc959.c gftp-2.0.15/lib/rfc959.c
---- gftp-2.0.15.orig/lib/rfc959.c 2003-08-11 20:38:05.000000000 -0400
-+++ gftp-2.0.15/lib/rfc959.c 2004-01-05 01:20:35.726739040 -0500
-@@ -183,7 +183,7 @@
- char *startpos, *endpos, *newstr, *newval, tempport[6], *proxy_config,
- savechar;
- size_t len;
-- int tmp;
-+ glong tmp;
-
- g_return_val_if_fail (request != NULL, NULL);
- g_return_val_if_fail (request->protonum == GFTP_FTP_NUM, NULL);
-@@ -210,7 +210,7 @@
- break;
- case 'o':
- gftp_lookup_request_option (request, "ftp_proxy_port", &tmp);
-- g_snprintf (tempport, sizeof (tempport), "%d", tmp);
-+ g_snprintf (tempport, sizeof (tempport), "%d", (int) tmp);
- newval = tempport;
- break;
- case 'a':
-@@ -415,7 +415,8 @@
- rfc959_connect (gftp_request * request)
- {
- char tempchar, *startpos, *endpos, *tempstr, *email, *proxy_hostname;
-- int ret, resp, ascii_transfers, proxy_port;
-+ int ret, resp;
-+ glong ascii_transfers, proxy_port;
- rfc959_parms * parms;
-
- g_return_val_if_fail (request != NULL, GFTP_EFATAL);
-@@ -439,7 +440,7 @@
- else if (strcasecmp (request->username, "anonymous") == 0)
- gftp_set_password (request, email);
-
-- if ((ret = gftp_connect_server (request, "ftp", proxy_hostname, proxy_port)) < 0)
-+ if ((ret = gftp_connect_server (request, "ftp", proxy_hostname, (int) proxy_port)) < 0)
- return (ret);
-
- /* Get the banner */
-@@ -575,7 +576,7 @@
- {
- char *pos, *pos1, resp, *command;
- struct sockaddr_in data_addr;
-- int i, passive_transfer;
-+ glong i, passive_transfer;
- rfc959_parms * parms;
- socklen_t data_addr_len;
- unsigned int temp[6];
-@@ -893,7 +894,8 @@
- static int
- rfc959_accept_active_connection (gftp_request * request)
- {
-- int infd, ret, passive_transfer;
-+ int infd, ret;
-+ glong passive_transfer;
- rfc959_parms * parms;
- #ifdef HAVE_IPV6
- struct sockaddr_in cli_addr;
-@@ -941,7 +943,8 @@
- {
- gftp_config_list_vars * tmplistvar;
- gftp_file_extensions * tempext;
-- int stlen, ascii_transfers;
-+ int stlen;
-+ glong ascii_transfers;
- GList * templist;
-
- gftp_lookup_global_option ("ext", &tmplistvar);
-@@ -1005,7 +1008,8 @@
- off_t startsize)
- {
- char *command, *tempstr, resp;
-- int ret, passive_transfer;
-+ int ret;
-+ glong passive_transfer;
- rfc959_parms * parms;
-
- g_return_val_if_fail (request != NULL, GFTP_EFATAL);
-@@ -1078,7 +1082,8 @@
- off_t startsize, off_t totalsize)
- {
- char *command, *tempstr, resp;
-- int ret, passive_transfer;
-+ int ret;
-+ glong passive_transfer;
- rfc959_parms * parms;
-
- g_return_val_if_fail (request != NULL, GFTP_EFATAL);
-@@ -1268,7 +1273,7 @@
- static int
- rfc959_list_files (gftp_request * request)
- {
-- int ret, show_hidden_files, resolve_symlinks, passive_transfer;
-+ glong ret, show_hidden_files, resolve_symlinks, passive_transfer;
- char *tempstr, parms[3];
-
- g_return_val_if_fail (request != NULL, GFTP_EFATAL);
-@@ -1305,7 +1310,7 @@
- static ssize_t
- rfc959_get_next_file_chunk (gftp_request * request, char *buf, size_t size)
- {
-- int i, j, ascii_transfers;
-+ glong i, j, ascii_transfers;
- rfc959_parms * parms;
- ssize_t num_read;
-
-@@ -1333,7 +1338,7 @@
- static ssize_t
- rfc959_put_next_file_chunk (gftp_request * request, char *buf, size_t size)
- {
-- int i, j, ascii_transfers;
-+ glong i, j, ascii_transfers;
- rfc959_parms * parms;
- ssize_t num_wrote;
- char *tempstr;
-diff -urBb gftp-2.0.15.orig/lib/sshv2.c gftp-2.0.15/lib/sshv2.c
---- gftp-2.0.15.orig/lib/sshv2.c 2003-08-07 13:32:38.000000000 -0400
-+++ gftp-2.0.15/lib/sshv2.c 2004-01-05 01:24:13.391648944 -0500
-@@ -846,7 +846,8 @@
- static int
- sshv2_connect (gftp_request * request)
- {
-- int version, ret, ssh_use_askpass, sshv2_use_sftp_subsys, fdm;
-+ int version, fdm, ret;
-+ glong ssh_use_askpass, sshv2_use_sftp_subsys;
- char **args, *tempstr, *p1, p2, *exepath, *ssh2_sftp_path;
- struct servent serv_struct;
- sshv2_params * params;
-@@ -2226,7 +2227,7 @@
- static int
- sshv2_set_config_options (gftp_request * request)
- {
-- int ssh_need_userpass;
-+ glong ssh_need_userpass;
-
- gftp_lookup_request_option (request, "ssh_need_userpass", &ssh_need_userpass);
- request->need_userpass = ssh_need_userpass;
-diff -urBb gftp-2.0.15.orig/lib/sslcommon.c gftp-2.0.15/lib/sslcommon.c
---- gftp-2.0.15.orig/lib/sslcommon.c 2003-07-07 22:09:28.000000000 -0400
-+++ gftp-2.0.15/lib/sslcommon.c 2004-01-05 01:22:14.764682984 -0500
-@@ -271,7 +271,7 @@
- gftp_ssl_startup (gftp_request * request)
- {
- char *entropy_source;
-- int entropy_len;
-+ glong entropy_len;
-
- if (gftp_ssl_initialized)
- return (0);
-diff -urBb gftp-2.0.15.orig/src/gtk/chmod_dialog.c gftp-2.0.15/src/gtk/chmod_dialog.c
---- gftp-2.0.15.orig/src/gtk/chmod_dialog.c 2003-08-11 21:05:02.000000000 -0400
-+++ gftp-2.0.15/src/gtk/chmod_dialog.c 2004-01-05 01:30:19.174041568 -0500
-@@ -28,7 +28,8 @@
- static void *
- do_chmod_thread (void * data)
- {
-- int success, num, sj, network_timeout;
-+ int success, num, sj;
-+ glong network_timeout;
- GList * filelist, * templist;
- gftp_window_data * wdata;
- gftp_file * tempfle;
-diff -urBb gftp-2.0.15.orig/src/gtk/gftp-gtk.c gftp-2.0.15/src/gtk/gftp-gtk.c
---- gftp-2.0.15.orig/src/gtk/gftp-gtk.c 2003-08-11 21:05:02.000000000 -0400
-+++ gftp-2.0.15/src/gtk/gftp-gtk.c 2004-01-05 01:32:48.813292944 -0500
-@@ -152,8 +152,8 @@
- static GtkWidget *
- CreateMenus (GtkWidget * parent)
- {
-- int local_len, remote_len, len, i, trans_len, log_len, tools_len,
-- ascii_transfers;
-+ int local_len, remote_len, len, i, trans_len, log_len, tools_len;
-+ glong ascii_transfers;
- GtkAccelGroup *accel_group;
- GtkWidget * tempwid;
- static GtkItemFactoryEntry menu_items[] = {
-@@ -489,7 +489,8 @@
- static void
- list_doaction (gftp_window_data * wdata)
- {
-- int num, dir, success, list_dblclk_action;
-+ int num, dir, success;
-+ glong list_dblclk_action;
- GList *templist, *filelist;
- gftp_file *tempfle;
-
-@@ -591,7 +592,7 @@
- {"application/x-rootwin-drop", 0, 1}
- };
- GtkWidget *box, *scroll_list, *parent;
-- int listbox_file_height, colwidth;
-+ glong listbox_file_height, colwidth;
- char *titles[7], tempstr[50];
-
- titles[0] = "";
-@@ -718,7 +719,7 @@
- *button;
- gftp_config_list_vars * tmplistvar;
- char *dltitles[2];
-- int tmplookup;
-+ glong tmplookup;
- #if GTK_MAJOR_VERSION > 1
- GtkTextBuffer * textbuf;
- GtkTextIter iter;
-@@ -981,7 +982,7 @@
- sortrows (GtkCList * clist, gint column, gpointer data)
- {
- char sortcol_name[25], sortasds_name[25];
-- int swap_col, sortcol, sortasds;
-+ glong swap_col, sortcol, sortasds;
- gftp_window_data * wdata;
- GtkWidget * sort_wid;
- GList * templist;
-diff -urBb gftp-2.0.15.orig/src/gtk/menu-items.c gftp-2.0.15/src/gtk/menu-items.c
---- gftp-2.0.15.orig/src/gtk/menu-items.c 2003-08-11 21:05:02.000000000 -0400
-+++ gftp-2.0.15/src/gtk/menu-items.c 2004-01-05 01:33:16.323110816 -0500
-@@ -390,7 +390,8 @@
- static void *
- do_change_dir_thread (void * data)
- {
-- int success, sj, network_timeout;
-+ int success, sj;
-+ glong network_timeout;
- gftp_window_data * wdata;
-
- wdata = data;
-diff -urBb gftp-2.0.15.orig/src/gtk/misc-gtk.c gftp-2.0.15/src/gtk/misc-gtk.c
---- gftp-2.0.15.orig/src/gtk/misc-gtk.c 2003-08-11 21:05:02.000000000 -0400
-+++ gftp-2.0.15/src/gtk/misc-gtk.c 2004-01-05 01:35:42.604872608 -0500
-@@ -39,7 +39,7 @@
- ftp_log (gftp_logging_level level, gftp_request * request,
- const char *string, ...)
- {
-- guint max_log_window_size;
-+ gulong max_log_window_size;
- int upd, free_logstr;
- gftp_log * newlog;
- char *logstr;
-@@ -402,16 +402,18 @@
- graphic = g_malloc0 (sizeof (*graphic));
- graphic->pixmap = gdk_pixmap_create_from_xpm (widget->window,
- &graphic->bitmap, &style->bg[GTK_STATE_NORMAL], exfile);
-- g_free (exfile);
-
- if (graphic->pixmap == NULL)
- {
- g_free (graphic);
- ftp_log (gftp_logging_error, NULL, _("Error opening file %s: %s\n"),
- exfile, g_strerror (errno));
-+ g_free (exfile);
- return (NULL);
- }
-
-+ g_free (exfile);
-+
- graphic->filename = g_strdup (filename);
- g_hash_table_insert (graphic_hash_table, graphic->filename, graphic);
-
-@@ -653,7 +655,8 @@
- {
- char *add_data[7] = { NULL, NULL, NULL, NULL, NULL, NULL, NULL }, *pos;
- gftp_config_list_vars * tmplistvar;
-- int clist_num, show_hidden_files;
-+ int clist_num;
-+ glong show_hidden_files;
- gftp_file_extensions * tempext;
- char *tempstr, *str;
- GdkBitmap * bitmap;
-diff -urBb gftp-2.0.15.orig/src/gtk/mkdir_dialog.c gftp-2.0.15/src/gtk/mkdir_dialog.c
---- gftp-2.0.15.orig/src/gtk/mkdir_dialog.c 2003-08-11 21:05:02.000000000 -0400
-+++ gftp-2.0.15/src/gtk/mkdir_dialog.c 2004-01-05 01:33:08.022372720 -0500
-@@ -26,7 +26,8 @@
- static void *
- do_make_dir_thread (void * data)
- {
-- int success, sj, network_timeout;
-+ int success, sj;
-+ glong network_timeout;
- gftp_window_data * wdata;
-
- wdata = data;
-diff -urBb gftp-2.0.15.orig/src/gtk/rename_dialog.c gftp-2.0.15/src/gtk/rename_dialog.c
---- gftp-2.0.15.orig/src/gtk/rename_dialog.c 2003-08-11 21:05:02.000000000 -0400
-+++ gftp-2.0.15/src/gtk/rename_dialog.c 2004-01-05 01:28:44.003509688 -0500
-@@ -27,7 +27,8 @@
- static void *
- do_rename_thread (void * data)
- {
-- int success, sj, network_timeout;
-+ int success, sj;
-+ glong network_timeout;
- gftp_window_data * wdata;
-
- wdata = data;
-diff -urBb gftp-2.0.15.orig/src/gtk/transfer.c gftp-2.0.15/src/gtk/transfer.c
---- gftp-2.0.15.orig/src/gtk/transfer.c 2003-08-11 21:05:02.000000000 -0400
-+++ gftp-2.0.15/src/gtk/transfer.c 2004-01-05 01:28:31.709378680 -0500
-@@ -232,7 +232,8 @@
- static void *
- connect_thread (void *data)
- {
-- int ret, sj, retries, sleep_time, network_timeout;
-+ int ret, sj;
-+ glong retries, sleep_time, network_timeout;
- static int conn_num;
- gftp_request * request;
-
-@@ -545,7 +546,8 @@
- void *
- gftp_gtk_transfer_files (void *data)
- {
-- int i, mode, tofd, fromfd, preserve_permissions;
-+ int i, mode, tofd, fromfd;
-+ glong preserve_permissions;
- gftp_transfer * transfer;
- char buf[8192];
- off_t fromsize, total;
-@@ -769,7 +771,8 @@
- gftp_window_data * fromwdata, gftp_window_data * towdata,
- GList * files, int copy_req)
- {
-- int dialog, append_transfers;
-+ int dialog;
-+ glong append_transfers;
- gftp_curtrans_data * transdata;
- GList * templist, *curfle;
- gftp_transfer * tdata;
-@@ -1026,7 +1029,8 @@
- static void
- on_next_transfer (gftp_transfer * tdata)
- {
-- int fd, refresh_files;
-+ int fd;
-+ glong refresh_files;
- gftp_file * tempfle;
-
- tdata->next_file = 0;
-@@ -1403,7 +1407,7 @@
- gint
- update_downloads (gpointer data)
- {
-- int do_one_transfer_at_a_time;
-+ glong do_one_transfer_at_a_time;
- GList * templist, * next;
- gftp_transfer * tdata;
-
-@@ -1879,7 +1883,7 @@
- char *dltitles[4], *add_data[4] = { NULL, NULL, NULL, NULL },
- tempstr[50], temp1str[50], *pos, *title;
- GtkWidget * tempwid, * scroll, * hbox;
-- int i, overwrite_default;
-+ glong i, overwrite_default;
- gftp_file * tempfle;
- GList * templist;
- size_t len;
-diff -urBb gftp-2.0.15.orig/src/text/gftp-text.c gftp-2.0.15/src/text/gftp-text.c
---- gftp-2.0.15.orig/src/text/gftp-text.c 2003-08-01 11:05:25.000000000 -0400
-+++ gftp-2.0.15/src/text/gftp-text.c 2004-01-05 01:33:44.732791888 -0500
-@@ -595,7 +595,7 @@
- {
- GList * files, * templist, * delitem;
- char *color, *filespec, *tempstr;
-- int sortcol, sortasds;
-+ glong sortcol, sortasds;
- gftp_file * fle;
- time_t curtime;
-
-@@ -875,7 +875,8 @@
- int
- gftp_text_transfer_files (gftp_transfer * transfer)
- {
-- int i, j, sw, tot, preserve_permissions;
-+ int i, j, sw, tot;
-+ glong preserve_permissions;
- char buf[8192], *progress = "|/-\\";
- struct timeval updatetime;
- long fromsize, total;
diff --git a/net-ftp/gftp/files/gftp-2.0.16-ipv6_fix.patch b/net-ftp/gftp/files/gftp-2.0.16-ipv6_fix.patch
deleted file mode 100644
index bcc3f28ab66b..000000000000
--- a/net-ftp/gftp/files/gftp-2.0.16-ipv6_fix.patch
+++ /dev/null
@@ -1,92 +0,0 @@
-? Makefile
-? Makefile.in
-Index: options.h
-===================================================================
-RCS file: /cvs/gnome/gftp/lib/options.h,v
-retrieving revision 1.20
-diff -u -r1.20 options.h
---- options.h 21 Jul 2003 00:26:41 -0000 1.20
-+++ options.h 10 Nov 2003 01:55:49 -0000
-@@ -111,6 +111,12 @@
- {"default_protocol", N_("Default Protocol:"),
- gftp_option_type_textcombo, "FTP", NULL, 0,
- N_("This specifies the default protocol to use"), GFTP_PORT_ALL, NULL},
-+#if defined (HAVE_GETADDRINFO) && defined (HAVE_GAI_STRERROR)
-+ {"enable_ipv6", N_("Enable IPv6"),
-+ gftp_option_type_checkbox, GINT_TO_POINTER(1), NULL,
-+ GFTP_CVARS_FLAGS_SHOW_BOOKMARK,
-+ N_("Enable IPv6 support"), GFTP_PORT_ALL, NULL},
-+#endif
-
- {"list_dblclk_action", "",
- gftp_option_type_int, GINT_TO_POINTER(0), NULL, 0,
-Index: protocols.c
-===================================================================
-RCS file: /cvs/gnome/gftp/lib/protocols.c,v
-retrieving revision 1.70
-diff -u -r1.70 protocols.c
---- protocols.c 8 Nov 2003 12:23:20 -0000 1.70
-+++ protocols.c 10 Nov 2003 01:55:54 -0000
-@@ -1826,8 +1826,8 @@
- int port, sock;
- #if defined (HAVE_GETADDRINFO) && defined (HAVE_GAI_STRERROR)
- struct addrinfo hints, *res;
-+ int errnum, enable_ipv6;
- char serv[8];
-- int errnum;
-
- if ((request->use_proxy = gftp_need_proxy (request, service,
- proxy_hostname, proxy_port)) < 0)
-@@ -1835,10 +1835,17 @@
- else if (request->use_proxy == 1)
- request->hostp = NULL;
-
-+ gftp_lookup_request_option (request, "enable_ipv6", &enable_ipv6);
-+
- request->free_hostp = 1;
- memset (&hints, 0, sizeof (hints));
- hints.ai_flags = AI_CANONNAME;
-- hints.ai_family = PF_UNSPEC;
-+
-+ if (enable_ipv6)
-+ hints.ai_family = PF_UNSPEC;
-+ else
-+ hints.ai_family = AF_INET;
-+
- hints.ai_socktype = SOCK_STREAM;
-
- if (request->use_proxy)
-@@ -1926,7 +1933,7 @@
- if ((sock = socket (AF_INET, SOCK_STREAM, IPPROTO_TCP)) < 0)
- {
- request->logging_function (gftp_logging_error, request,
-- _("Failed to create a socket: %s\n"),
-+ _("Failed to create a IPv4 socket: %s\n"),
- g_strerror (errno));
- return (GFTP_ERETRYABLE);
- }
-Index: rfc959.c
-===================================================================
-RCS file: /cvs/gnome/gftp/lib/rfc959.c,v
-retrieving revision 1.47
-diff -u -r1.47 rfc959.c
---- rfc959.c 8 Nov 2003 12:23:20 -0000 1.47
-+++ rfc959.c 10 Nov 2003 01:55:57 -0000
-@@ -620,7 +620,7 @@
- if ((parms->data_connection = socket (AF_INET, SOCK_STREAM, IPPROTO_TCP)) < 0)
- {
- request->logging_function (gftp_logging_error, request,
-- _("Failed to create a socket: %s\n"),
-+ _("Failed to create a IPv4 socket: %s\n"),
- g_strerror (errno));
- gftp_disconnect (request);
- return (GFTP_ERETRYABLE);
-@@ -767,7 +767,7 @@
- if ((parms->data_connection = socket (AF_INET6, SOCK_STREAM, IPPROTO_TCP)) < 0)
- {
- request->logging_function (gftp_logging_error, request,
-- _("Failed to create a socket: %s\n"),
-+ _("Failed to create a IPv6 socket: %s\n"),
- g_strerror (errno));
- gftp_disconnect (request);
- return (GFTP_ERETRYABLE);
diff --git a/net-ftp/gftp/files/gftp-2.0.18-fix_gtk1.patch b/net-ftp/gftp/files/gftp-2.0.18-fix_gtk1.patch
deleted file mode 100644
index a7fd44ef3cbe..000000000000
--- a/net-ftp/gftp/files/gftp-2.0.18-fix_gtk1.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff -uNr gftp-2.0.18/src/gtk/options_dialog.c gftp-2.0.18.patched/src/gtk/options_dialog.c
---- gftp-2.0.18/src/gtk/options_dialog.c 2005-01-04 14:32:20.000000000 +0100
-+++ gftp-2.0.18.patched/src/gtk/options_dialog.c 2005-02-14 16:44:10.064677160 +0100
-@@ -1002,7 +1002,7 @@
- gtk_widget_show (box);
-
- #if GTK_MAJOR_VERSION == 1
-- tempwid = gtk_label_new (_("Type:"))
-+ tempwid = gtk_label_new (_("Type:"));
- #else
- tempwid = gtk_label_new_with_mnemonic (_("_Type:"));
- #endif
-diff -uNr gftp-2.0.18/src/text/gftp-text.c gftp-2.0.18.patched/src/text/gftp-text.c
---- gftp-2.0.18/src/text/gftp-text.c 2005-01-25 02:11:00.000000000 +0100
-+++ gftp-2.0.18.patched/src/text/gftp-text.c 2005-02-14 16:44:12.299337440 +0100
-@@ -185,6 +185,7 @@
- else
- infd = stdin;
-
-+#if GLIB_MAJOR_VERSION > 1
- locale_question = g_locale_from_utf8 (question, -1, NULL, NULL, NULL);
- if (locale_question != NULL)
- {
-@@ -193,6 +194,7 @@
- g_free (locale_question);
- }
- else
-+#endif
- printf ("%s%s%s ", GFTPUI_COMMON_COLOR_BLUE, question,
- GFTPUI_COMMON_COLOR_DEFAULT);
-
diff --git a/net-ftp/gftp/gftp-2.0.18-r1.ebuild b/net-ftp/gftp/gftp-2.0.18-r1.ebuild
deleted file mode 100644
index 1cabdb212dd8..000000000000
--- a/net-ftp/gftp/gftp-2.0.18-r1.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/gftp/gftp-2.0.18-r1.ebuild,v 1.9 2005/12/14 19:36:33 joshuabaergen Exp $
-
-inherit eutils
-
-DESCRIPTION="Gnome based FTP Client"
-SRC_URI="http://www.gftp.org/${P}.tar.bz2"
-HOMEPAGE="http://www.gftp.org"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="alpha amd64 ppc ppc64 sparc x86"
-IUSE="nls gtk gtk2 ssl"
-
-DEPEND="ssl? ( dev-libs/openssl )
- gtk? (
- gtk2? ( >=x11-libs/gtk+-2 )
- !gtk2? ( =x11-libs/gtk+-1.2* ) )
- !gtk? ( sys-libs/readline
- sys-libs/ncurses
- =dev-libs/glib-1.2* )"
-
-#RDEPEND="nls? ( sys-devel/gettext )"
-
-src_unpack() {
-
- unpack ${A}
-
- cd ${S}
- # fix building gtk1 backend (#80845)
- epatch ${FILESDIR}/${P}-fix_gtk1.patch
-
-}
-
-src_compile() {
-
- local myconf
-
- use nls \
- && myconf="--enable-nls" \
- || myconf="--disable-nls"
-
- # do not use enable-{gtk20,gtkport} they are not recognized
- # and will disable building the gtkport alltogether
- if use gtk
- then
- einfo "gtk+ enabled"
- use gtk2 \
- && einfo "gtk2 enabled" \
- || myconf="${myconf} --disable-gtk20"
- else
- einfo "gtk+ and gtk2 disabled"
- myconf="${myconf} --disable-gtkport --disable-gtk20"
- fi
-
- use ssl \
- && myconf="${myconf}" \
- || myconf="${myconf} --disable-ssl"
-
- econf ${myconf} || die
- emake || die
-
-}
-
-src_install() {
- make DESTDIR=${D} install || die
-
- dodoc COPYING ChangeLog README* THANKS \
- TODO docs/USERS-GUIDE
-
-}
diff --git a/net-ftp/gftp/gftp-2.0.18-r2.ebuild b/net-ftp/gftp/gftp-2.0.18-r2.ebuild
deleted file mode 100644
index 0cd4d41a5e1a..000000000000
--- a/net-ftp/gftp/gftp-2.0.18-r2.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/gftp/gftp-2.0.18-r2.ebuild,v 1.2 2005/12/14 19:36:33 joshuabaergen Exp $
-
-inherit eutils
-
-DESCRIPTION="Gnome based FTP Client"
-SRC_URI="http://www.gftp.org/${P}.tar.bz2"
-HOMEPAGE="http://www.gftp.org"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="nls gtk ssl"
-
-DEPEND="ssl? ( dev-libs/openssl )
- gtk? ( >=x11-libs/gtk+-2 )
- !gtk? ( sys-libs/readline
- sys-libs/ncurses
- =dev-libs/glib-1.2* )"
-
-#RDEPEND="nls? ( sys-devel/gettext )"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-}
-
-src_compile() {
-
- local myconf
-
- # do not use enable-{gtk20,gtkport} they are not recognized
- # and will disable building the gtkport alltogether
- if ! use gtk; then
- einfo "gtk+ disabled"
- myconf="${myconf} --disable-gtkport --disable-gtk20"
- fi
-
- econf \
- $(use_enable nls) \
- $(use_enable ssl) \
- ${myconf} \
- || die
-
- emake || die
-
-}
-
-src_install() {
- make DESTDIR=${D} install || die
-
- dodoc COPYING ChangeLog README* THANKS \
- TODO docs/USERS-GUIDE
-
-}
diff --git a/net-ftp/gftp/gftp-2.0.18-r3.ebuild b/net-ftp/gftp/gftp-2.0.18-r3.ebuild
deleted file mode 100644
index 3aadf24d82d8..000000000000
--- a/net-ftp/gftp/gftp-2.0.18-r3.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/gftp/gftp-2.0.18-r3.ebuild,v 1.2 2005/12/14 19:36:33 joshuabaergen Exp $
-
-inherit eutils
-
-DESCRIPTION="Gnome based FTP Client"
-SRC_URI="http://www.gftp.org/${P}.tar.bz2"
-HOMEPAGE="http://www.gftp.org"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="nls gtk ssl"
-
-DEPEND="ssl? ( dev-libs/openssl )
- gtk? ( >=x11-libs/gtk+-2 )
- !gtk? ( sys-libs/readline
- sys-libs/ncurses
- =dev-libs/glib-1.2* )"
-
-#RDEPEND="nls? ( sys-devel/gettext )"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- # patch to allow fetching of ssh2 files
- # that are read-only, see bug #91269 and upstream link.
- epatch ${FILESDIR}/${P}-ssh2-read.patch
-
-}
-
-src_compile() {
-
- local myconf
-
- # do not use enable-{gtk20,gtkport} they are not recognized
- # and will disable building the gtkport alltogether
- if ! use gtk; then
- einfo "gtk+ disabled"
- myconf="${myconf} --disable-gtkport --disable-gtk20"
- fi
-
- econf \
- $(use_enable nls) \
- $(use_enable ssl) \
- ${myconf} \
- || die
-
- emake || die
-
-}
-
-src_install() {
- make DESTDIR=${D} install || die
-
- dodoc COPYING ChangeLog README* THANKS \
- TODO docs/USERS-GUIDE
-
-}