We used libzypp-bindings which uses libzypp, I saw libzypp is using libcurl on openSUSE 11.2, ours tool supports openSUSE 11.1, 11.2, 11.3, we depend on libzypp on host machine. -----Original Message----- From: Duncan Mac-Vicar P. [mailto:dmacvicar@suse.de] Sent: Monday, April 18, 2011 3:17 PM To: zypp-devel@opensuse.org Cc: Yang, Yi Y Subject: Re: [zypp-devel] Any better way to set proxy for libzypp On 04/18/2011 04:24 AM, Yi Yang wrote:
Hi,
Currently, MeeGo Image Creator is using /etc/sysconfig/proxy to set proxy for libzypp, this is ok on OpenSUSE because it is a system file, but on other distros, people are complaining this is ugly and not good, i didn't find a better way to do this, anybody knows if there is a better way to set proxy for libzypp/libzypp-bindings in API level?
Which version? libzypp now uses libproxy, and we ship a backend which use the sysconfig implementation if you are running as root. You could replace that one for your own needs. -- Duncan Mac-Vicar P. - Novell(r) Making IT Work As One(tm) SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org