diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2003-08-06 20:28:30 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2003-08-06 20:28:30 +0000 |
commit | 6fadec84a9e42d6d17b9629aec0b5599bb0ab1ae (patch) | |
tree | 734c4c9169c2c45b6ae99976baed90ce245261a6 /ftp | |
parent | 4a99a6e39bfcc97aa67a8d56c415d24f5b29052e (diff) |
Notes
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/mget/files/patch-mget.c | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/ftp/mget/files/patch-mget.c b/ftp/mget/files/patch-mget.c new file mode 100644 index 000000000000..3f5b70f3b619 --- /dev/null +++ b/ftp/mget/files/patch-mget.c @@ -0,0 +1,68 @@ +--- mget.c.orig Mon Aug 4 13:23:05 2003 ++++ mget.c Mon Aug 4 13:28:01 2003 +@@ -41,36 +41,36 @@ + void print_usage(void){ + fprintf( \ + stderr, +- "Usage: mget %s +- [-n number_segments{1}] ++ "Usage: mget %s\n\ ++ [-n number_segments{1}]\n\ + -f file_name\n" + #ifdef HAVE_GETOPT_LONG +-" [--use_ftp_proxy[=<ftp_proxy_name:ftp_proxy_port{80}>]] ++" [--use_ftp_proxy[=<ftp_proxy_name:ftp_proxy_port{80}>]]\n\ + [--use_http_proxy[=<http_proxy_name:http_proxy_port{80}>]]\n" + #elif HAVE_GETOPT_GETOPT_H +-" [--use_ftp_proxy[=<ftp_proxy_name:ftp_proxy_port{80}>]] ++" [--use_ftp_proxy[=<ftp_proxy_name:ftp_proxy_port{80}>]]\n\ + [--use_http_proxy[=<http_proxy_name:http_proxy_port{80}>]]\n" + #endif +-" [-F<ftp_proxy_name:ftp_proxy_port{80}>] +- [-x<ftp_proxy_name:ftp_proxy_port{80}>] +- [-H<http_proxy_name:http_proxy_port{80}>] +- [-h<http_proxy_name:http_proxy_port{80}>] +- [-p port{80}] +- [-O Output_file_name] ++" [-F<ftp_proxy_name:ftp_proxy_port{80}>]\n\ ++ [-x<ftp_proxy_name:ftp_proxy_port{80}>]\n\ ++ [-H<http_proxy_name:http_proxy_port{80}>]\n\ ++ [-h<http_proxy_name:http_proxy_port{80}>]\n\ ++ [-p port{80}]\n\ ++ [-O Output_file_name]\n\ + [-C]\n" + #ifdef TRY_SIGNAL + " [-l {log_file}]\n" + #endif +-" [-t timeout_seconds{60}] +- [-R referrer] +- [-r rollback{0} bytes] +- [-v] +- [-V] +-------------------------------------------------------------------------- +-proxy option can be given as -H(F) proxyhost:proxyport or +-as --use_http(or ftp)_proxy=proxyhost:proxyport. If port is not given, +-port is assumed to be 80. [Works differently in Solaris, refer manpage]. +- On some machines getopt doesnot allow '-H <proxy_name>' i.e. the space is not allowed between H and hostname. ++" [-t timeout_seconds{60}]\n\ ++ [-R referrer]\n\ ++ [-r rollback{0} bytes]\n\ ++ [-v]\n\ ++ [-V]\n\ ++-------------------------------------------------------------------------\n\ ++proxy option can be given as -H(F) proxyhost:proxyport or\n\ ++as --use_http(or ftp)_proxy=proxyhost:proxyport. If port is not given,\n\ ++port is assumed to be 80. [Works differently in Solaris, refer manpage].\n\ ++On some machines getopt doesnot allow '-H <proxy_name>' i.e. the space is not allowed between H and hostname.\n\ + \n", VERSION); + exit(1); + } +@@ -308,7 +308,7 @@ + if(PROTO_HTTP==FALSE) + port=21; + +- VERBOSEPRINT(fprintf(outfile," ++ VERBOSEPRINT(fprintf(outfile,"\ + %sDocument %s requested from %s,with address %s in %d segments,\n,proxy:%s:%d\n%s", + sep,save_file_name,host_name,file_name,num_segment,proxy,proxy_port,sep)) + } |