I would like to try and enable the Bonjour/mDNS protocol for net/pidgin, to 
trial it as a serverless instant messaging solution for a deployment of 
diskless OpenBSD clients. 

Looking back through the archives, it seems Bonjour was disabled in the port as 
long ago as 2008 (when 2.4.2 was committed), though no reason was mentioned in 
the commit message.

I naively tried to remove the --disable-avahi line in the CONFIGURE_ARGS, and 
adding avahi-client and avahi-glib to WANTLIBS for libpurple, as this is what 
the configure script seems to look for:

$ diff Makefile.orig Makefile 
43c43
< WANTLIB-libpurple= crypto gadu meanwhile ssl silc silcclient ${WANTLIB}
---
> WANTLIB-libpurple= avahi-glib avahi-client crypto gadu meanwhile ssl silc 
> silcclient ${WANTLIB}
64a65
>                       net/avahi \
76,77c77
< CONFIGURE_ARGS+= --disable-avahi \
<                --disable-cap \
---
> CONFIGURE_ARGS+= --disable-cap \

The Bonjour plugin gets built, and there are no build errors. But on launching 
Pidgin, and attempting to create a new account, Bonjour is absent from the list 
of protocols. Avahi is installed and avahi-daemon is running. 

No doubt this is because I have left out something essential in the Makefile 
due to lack of porting experience. Can anyone assist with advice on how to 
proceed?

Is there a particular reason for disabling Bonjour in Pidgin, such as security 
concerns? The protocol won't be used by Pidgin unless an account is added with 
that protocol, as I understand it. If it can be simply re-enabled and there are 
no blocking concerns, can Bonjour support be added back to the port?

thanks in advance for all assistance

-- 
Chris Billington 

Reply via email to