[Yum-devel] Yum plugin using avahi to find a local proxy server

Simon Goodall simon at simongoodall.co.uk
Sat Aug 16 13:05:58 UTC 2008


I've written a yum plugin to use Avahi to find proxy server's on a
local network (see the attachment). The idea is that I do not have to
configure a proxy server in the yum config, especially due to;

a) My laptop is used across many networks and I do not want to mess
with the proxy config all the time.
b) I do not always want to turn on the machine with the proxy server
whenever I check for updates

In particular I wrote this plugin when upgrading my various Fedora 8
machines to Fedora 9. I used http-replicator to cache all the rpm
downloads and setup avahi to broadcast the proxy server address.
Later, when large updates are available I can fire up my proxy and all
the machines will use it, rather than eat into my download limit.

Is this something you are interested in adding to the yum-utils package?

Have I correctly used the yum api?

Simon Goodall
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yum-avahi-proxy.py
Type: application/octet-stream
Size: 5213 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20080816/9f814d4f/attachment.obj 


More information about the Yum-devel mailing list