[lsb-discuss] A patch add http proxy support for dtk-manager

Shawn Zeng shawn.zeng at oracle.com
Sun May 4 18:17:44 PDT 2008


Hi,
When i run distribution test inside oracle intranet, there was no
http proxy support from dtk-manager, i had to mirror the ftp
site first then run the tests, waste some time, so i wrote a
patch for dtk-manager.
This patch add '--http-proxy' and '--http-user' to lsb-tef.pl
which help dtk-manager to run certification test through a http
proxy. The original script use Net::FTP for ftp listing and wget
for downloading packaging , these 2 tools didn't work well for
ftp operation through a http proxy. So i add curl to satisfy above 2
functionalities with a better http proxy support. The '--proxytunnel'
option of curl can produce the same ftp listing as Net::FTP does.
I tested this inside behind oracle proxy, works well, maybe there should
be a proxy host/username/password entry box in the webui, this patch
haven't established this.
This patch is based on branch
http://bzr.linux-foundation.org/lsb/3.2/dtk-manager/
Wish this patch could help other dtk-manager users.

Regards,
Shawn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: http_proxy.patch
Type: text/x-diff
Size: 7888 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/lsb-discuss/attachments/20080505/944dc82f/attachment.patch 


More information about the lsb-discuss mailing list