--- httrack-3.48.3.old/history.txt +++ httrack-3.48.3/history.txt @@ -717,7 +717,7 @@ + Fixed: Some connect problems with several servers or proxies + New: New option, save html error report by default + Shell: Browse and see log files at the end of a mirror -+ New: Proxy authentication (ex: guest:star@myproxy.com:8080) ++ New: Proxy authentication (ex: guest:star@myproxy.com:8084) + Shell: Interface improved (especially during mirror) + Fixed: Ambiguous files are renamed (asp,cgi->html/gif..) + Shell: New test link mode option --- httrack-3.48.3.old/html/fcguide.html +++ httrack-3.48.3/html/fcguide.html @@ -365,7 +365,7 @@ example: httrack www.someweb.com/bob/bobby.html +* -r6 means get all files starting from bobby.html, with 6 link-depth, and possibility of going everywhere on the web -example: httrack www.someweb.com/bob/bobby.html --spider -P proxy.myhost.com:8080 +example: httrack www.someweb.com/bob/bobby.html --spider -P proxy.myhost.com:8084 runs the spider on www.someweb.com/bob/bobby.html using a proxy example: httrack --update @@ -683,10 +683,10 @@

If you are using a standard proxy that doesn't require a user ID and password, you would do something like this: -

httrack http://www.shoesizes.com -O /tmp/shoesizes -P proxy.www.all.net:8080 
+
httrack http://www.shoesizes.com -O /tmp/shoesizes -P proxy.www.all.net:8084 

In this case, we have asusmed that proxy.www.all.net is -the host that does the proxy service and that it uses port 8080 for this +the host that does the proxy service and that it uses port 8084 for this service. In some cases you will have to ask your network or firewall administrator for these details, however, in most cases they should be the same as the options used in your web browser. @@ -695,10 +695,10 @@ the proxy server. This is common in corporate environments where only authorized users may access the Internet. -

httrack http://www.shoesizes.com -O /tmp/shoesizes -P fc:password@proxy.www.all.net:8080 
+
httrack http://www.shoesizes.com -O /tmp/shoesizes -P fc:password@proxy.www.all.net:8084 

In this case, the user ID 'fc' and the password -'password' are used on proxy.www.all.net port 8080. Again, your network or +'password' are used on proxy.www.all.net port 8084. Again, your network or firewall administrator can be most helpful in addressing the specifics for your environment. @@ -2108,7 +2108,7 @@ set retries 4 index on set useragent "Mozilla [en] (foo)" - set proxy proxy:8080 + set proxy proxy:8084

But the syntax is not strict, you can use any of --- httrack-3.48.3.old/html/httrack.man.html +++ httrack-3.48.3/html/httrack.man.html @@ -193,7 +193,7 @@

httrack www.someweb.com/bob/bobby.html −−spider −P
-proxy.myhost.com:8080

+proxy.myhost.com:8084

runs the spider on www.someweb.com/bob/bobby.html using a proxy

--- httrack-3.48.3.old/html/options.html +++ httrack-3.48.3/html/options.html @@ -232,7 +232,7 @@ P proxy use (-P proxy:port or -P user:pass@proxy:port) This option define the proxy used in this mirror -Example: -P proxy.myhost.com:8080 +Example: -P proxy.myhost.com:8084 F user-agent field (-F \"user-agent name\ This option define the user-agent field --- httrack-3.48.3.old/man/htsserver.1 +++ httrack-3.48.3/man/htsserver.1 @@ -15,8 +15,8 @@ .BR webhttrack (1). .SH EXAMPLES .TP -.B htsserver /usr/share/httrack/ path "$HOME/websites" lang 1 - then, browse http://localhost:8080/ +.B htsserver __META_PREFIX__/share/httrack/ path "$HOME/websites" lang 1 + then, browse http://localhost:8084/ .SH FILES .I /etc/httrack.conf .RS --- httrack-3.48.3.old/man/httrack.1 +++ httrack-3.48.3/man/httrack.1 @@ -195,7 +195,7 @@ .B httrack www.someweb.com/bob/bobby.html +* \-r6 means get all files starting from bobby.html, with 6 link\-depth, and possibility of going everywhere on the web .TP -.B httrack www.someweb.com/bob/bobby.html \-\-spider \-P proxy.myhost.com:8080 +.B httrack www.someweb.com/bob/bobby.html \-\-spider \-P proxy.myhost.com:8084 runs the spider on www.someweb.com/bob/bobby.html using a proxy .TP .B httrack \-\-update --- httrack-3.48.3.old/man/proxytrack.1 +++ httrack-3.48.3/man/proxytrack.1 @@ -14,8 +14,8 @@ , a website copier. .SH EXAMPLES .TP -.B proxytrack proxy:8080 localhost:3130 /home/archives/example.com/hts-cache/new.zip - will launch the proxytrack proxy, listening to :8080, to deliver content archived in the /home/archives/example.com/hts-cache/new.zip cache +.B proxytrack proxy:8084 localhost:3130 /home/archives/example.com/hts-cache/new.zip + will launch the proxytrack proxy, listening to :8084, to deliver content archived in the /home/archives/example.com/hts-cache/new.zip cache .SH ENVIRONMENT .SH DIAGNOSTICS Errors/Warnings are reported the console and standard error --- httrack-3.48.3.old/src/htscatchurl.c +++ httrack-3.48.3/src/htscatchurl.c @@ -63,7 +63,7 @@ // catch_url_init(&port,&return_host); HTSEXT_API T_SOC catch_url_init_std(int *port_prox, char *adr_prox) { T_SOC soc; - int try_to_listen_to[] = { 8080, 3128, 80, 81, 82, 8081, 3129, 31337, 0, -1 }; + int try_to_listen_to[] = { 8084, 3128, 80, 81, 82, 8081, 3129, 31337, 0, -1 }; int i = 0; do { --- httrack-3.48.3.old/src/htscoremain.c +++ httrack-3.48.3/src/htscoremain.c @@ -2603,7 +2603,7 @@ if ((na + 1 >= argc) || (argv[na + 1][0] == '-')) { HTS_PANIC_PRINTF ("Option P needs to be followed by a blank space, and a proxy proxy:port or user:id@proxy:port"); - printf("Example: -P proxy.myhost.com:8080\n"); + printf("Example: -P proxy.myhost.com:8084\n"); htsmain_free(); return -1; } else { @@ -2620,7 +2620,7 @@ sscanf(a + 1, "%d", &opt->proxy.port); StringCopyN(opt->proxy.name, argv[na], (int) (a - argv[na])); } else { // - opt->proxy.port = 8080; + opt->proxy.port = 8084; StringCopy(opt->proxy.name, argv[na]); } } --- httrack-3.48.3.old/src/htsglobal.h +++ httrack-3.48.3/src/htsglobal.h @@ -170,16 +170,16 @@ #else #ifndef HTS_ETCPATH -#define HTS_ETCPATH "/etc" +#define HTS_ETCPATH "__META_PREFIX__/etc" #endif #ifndef HTS_BINPATH -#define HTS_BINPATH "/usr/bin" +#define HTS_BINPATH "__META_PREFIX__/bin" #endif #ifndef HTS_LIBPATH -#define HTS_LIBPATH "/usr/lib" +#define HTS_LIBPATH "__META_PREFIX__/lib" #endif #ifndef HTS_PREFIX -#define HTS_PREFIX "/usr" +#define HTS_PREFIX "__META_PREFIX__" #endif #define HTS_HTTRACKRC ".httrackrc" --- httrack-3.48.3.old/src/htshelp.c +++ httrack-3.48.3/src/htshelp.c @@ -240,11 +240,11 @@ if (!strchr(jump_identification(str), ':')) { char str2[256]; - printf("\nProxy port (return=8080) :"); + printf("\nProxy port (return=8084) :"); linput(stdin, str2, 250); strcatbuff(str, ":"); if (strnotempty(str2) == 0) - strcatbuff(str, "8080"); + strcatbuff(str, "8084"); else strcatbuff(str, str2); } @@ -743,7 +743,7 @@ ("means get all files starting from bobby.html, with 6 link-depth, and possibility of going everywhere on the web"); infomsg(""); infomsg - ("example: httrack www.someweb.com/bob/bobby.html --spider -P proxy.myhost.com:8080"); + ("example: httrack www.someweb.com/bob/bobby.html --spider -P proxy.myhost.com:8084"); infomsg("runs the spider on www.someweb.com/bob/bobby.html using a proxy"); infomsg(""); infomsg("example: httrack --update"); --- httrack-3.48.3.old/src/htsserver.c +++ httrack-3.48.3/src/htsserver.c @@ -140,7 +140,7 @@ if (defaultPort <= 0) { int try_to_listen_to[] = - { 8080, 8081, 8082, 8083, 8084, 8085, 8086, 8087, 8088, 8089, + { 8084, 8085, 8086, 8087, 8088, 8089, 32000, 32001, 32002, 32003, 32004, 32006, 32006, 32007, 32008, 32009, 42000, 42001, 42002, 42003, 42004, 42006, 42006, 42007, 42008, 42009, 0, -1 --- httrack-3.48.3.old/src/htsweb.c +++ httrack-3.48.3/src/htsweb.c @@ -123,7 +123,7 @@ fprintf(stderr, "usage: %s [--port ] [key value [key value]..]\n", argv[0]); - fprintf(stderr, "example: %s /usr/share/httrack/\n", argv[0]); + fprintf(stderr, "example: %s __META_PREFIX__/share/httrack/\n", argv[0]); return 1; } --- httrack-3.48.3.old/src/proxy/main.c +++ httrack-3.48.3/src/proxy/main.c @@ -111,14 +111,14 @@ "usage: %s [ ( | | | --list ) ..]\n", argv[0]); fprintf(stderr, - "\texample:%s proxy:8080 localhost:3130 /home/archives/www-archive-01.zip /home/old-archives/www-archive-02.ndx\n", + "\texample:%s proxy:8084 localhost:3130 /home/archives/www-archive-01.zip /home/old-archives/www-archive-02.ndx\n", argv[0]); fprintf(stderr, "convert mode:\n"); fprintf(stderr, "usage: %s --convert [ ( | | | --list ) ..]\n", argv[0]); fprintf(stderr, - "\texample:%s proxy:8080 localhost:3130 /home/archives/www-archive-01.zip /home/old-archives/www-archive-02.ndx\n", + "\texample:%s proxy:8084 localhost:3130 /home/archives/www-archive-01.zip /home/old-archives/www-archive-02.ndx\n", argv[0]); return 1; }