[distcc] distcc-zeroconf (Apple Xcode)

Lisa Seelye lisa at gentoo.org
Fri Jan 23 04:09:20 GMT 2004


On Thu, 2004-01-22 at 22:53, Martin Pool wrote:
> > On the subject of the technical issues, though, is anyone 
> > interested/willing/capable of forward-porting apple's changes to a 
> > modern distcc?  It would be definitely nice to have...
> 
> Last time I looked, the Apple changes were pretty messy.  I would like
> to see the general idea moved in though.  For general use, I think you
> would need some kind of check that the gcc versions matched properly.
> I'm planning to add some checks in a future version.

Pieter Van den Abeel <pvdabeel at gentoo.org> wrote an implementation of
Zeroconf.

His code is at http://dev.gentoo.org/~pvdabeel/ and is rough at best.

To quote from his e-mail to me:

-------CUT-------
Announcing a service:

root at research ZeroConf # ./announce 'pvdabeel' 134.184.65.92 1234 'This 
is cool' distcc
Zeroconf announcing 'distcc' service named 'pvdabeel' with ip 
134.184.65.92 on port 1234 and extra arguments 'This is cool'


Looking up services:

# Getting pointers to available nodes
root at research ZeroConf # ./lookup 12 _distcc._tcp.local.
PTR _distcc._tcp.local. to pvdabeel._distcc._tcp.local.

# Use a pointer to get an IP
root at research ZeroConf # ./lookup 1 distcc-pvdabeel.local.
A distcc-pvdabeel.local. to ip 92.65.184.134

# Use a pointer to get a PORT
root at research ZeroConf # ./lookup 33 pvdabeel._distcc._tcp.local.
SRV pvdabeel._distcc._tcp.local. to distcc-pvdabeel.local.:1234

# Use a pointer to get the extra arguments
root at research ZeroConf # ./lookup 16 pvdabeel._distcc._tcp.local.
TXT pvdabeel._distcc._tcp.local. contains args=This is cool


Some fun stuff:

Lookup _http._tcp.local. pointers on a university network with lots of 
Zeroconf printers/machines available:

root at research ZeroConf # ./lookup 12 _http._tcp.local.
PTR _http._tcp.local. to HP LaserJet 4100 Series 
(0001E67C7BFC)._http._tcp.local.
PTR _http._tcp.local. to Wnt CEGE._http._tcp.local.
PTR _http._tcp.local. to HP LaserJet 2200 
(0001E69C3074)._http._tcp.local.
PTR _http._tcp.local. to hp LaserJet 2300 series 
(0001E6A194BB)._http._tcp.local.
PTR _http._tcp.local. to HP LaserJet 3330 
(0001E6918AB2)._http._tcp.local.
PTR _http._tcp.local. to hp LaserJet 2300 series 
(0001E6A6E82B)._http._tcp.local.
PTR _http._tcp.local. to hp LaserJet 2300 series 
(0001E6A1B6D8)._http._tcp.local.


Announce a http server and check your Apple Safari WebBrowser 
RendezVous bookmarks:

TiBook:~/ZeroConf pvdabeel$ ./announce 'Gentoo Rocks' 134.184.65.92 80 
'blabla' http
Zeroconf announcing 'http' service named 'Gentoo Rocks' with ip 
134.184.65.92 on port 80 and extra arguments 'blabla'

http://dev.gentoo.org/~pvdabeel/browser.png


Lauch Apple Xcode and reverse engineer the arguments passed by Xcode:

http://dev.gentoo.org/~pvdabeel/xcode.png
------CUT-----


Tis something to play with.

-- 
Regards,
-Lisa
<Quidquid latine dictum sit, altum viditur>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/distcc/attachments/20040122/33e0ce95/attachment.bin


More information about the distcc mailing list