Alok Aggarwal wrote:
> On Fri, 14 Nov 2008, Jens Deppe wrote:
> 
>> Hello,
>>
>> I recently submitted bug 4487 which addresses the inability to use http
>> proxies with the auto installer:
>>
>> http://defect.opensolaris.org/bz/show_bug.cgi?id=4487
>>
>> I'd like to pick this up and do the work for this RFE. It looks fairly
>> straight forward.
> 
> It should be quite straight forward.
> 
>> The approach I was thinking to take is to add the proxy value into the
>> manifest, as in:
>>
>>         <ai_manifest name="default">
>>             <ai_pkg_repo_default_authority>
>>                 <main url="http://pkg.opensolaris.org";
>> authname="opensolaris.org"/>
>>                 <mirror url=""/>
>>                 <proxy>http://10.1.149.91:8080</proxy>
> 
> I'd change the proxy tag to be -
> 
> <proxy url="http://10.1.149.91:8080"/>
> 

Further, I wouldn't put it as an element of the package repository, but 
as a top-level element.  There are likely to be other uses for the proxy 
in the environment which aren't directly related to a package repository.

Dave

>>             </ai_pkg_repo_default_authority>
>>             <ai_packages>
>>             </ai_packages>
>>         </ai_manifest>
>>
>> During installation, the proxy value would then simply be exported into
>> the environment before the pkg transfer is initiated from
>> transfer_mod.py thereby allowing the 'pkg' command to pick it up.
> 
> In install_from_manifest() (auto_install.c), you'd pull
> out the proxy value from the manifest and if one is set
> set it. Probably add a log message indicating that as well.
> 
> That should be it.
> 
> Alok
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss


Reply via email to