Subject: pkg/36897: libpurple supports sasl, pkgsrc could use an option
To: None <,,>
From: Todd Kover <>
List: pkgsrc-bugs
Date: 09/04/2007 15:30:00
>Number:         36897
>Category:       pkg
>Synopsis:       libpurple supports sasl, pkgsrc could use an option
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 04 15:30:00 +0000 2007
>Originator:     Todd Kover
>Release:        NetBSD 4.0_BETA2
Omniscient Technologies
System: NetBSD 4.0_BETA2 NetBSD 4.0_BETA2 (SAIDIN) #42: Tue Jul 10 15:09:44 EDT 2007 i386
Architecture: i386
Machine: i386
        libpurple can be copiled with SASL for use with gssapi (or other sasl)
	-aware versions of jabber (xmpp) servers
	try to connect to a gssapi server, get an error
	this patch adds a 'sasl' pkg option which is consistant with other
        packages.  I tested pidgin, but I did not test build finch
        against it (I hit a bug in 2.1.0 that caused me to have to go
        back to a conflicting config before I thought to check it).

RCS file: /cvsroot/pkgsrc/chat/libpurple/,v
retrieving revision 1.4
diff -u -r1.4
---	13 Aug 2007 22:18:58 -0000	1.4
+++	4 Sep 2007 14:11:53 -0000
@@ -1,7 +1,7 @@
 # $NetBSD:,v 1.4 2007/08/13 22:18:58 tnn Exp $
-PKG_SUPPORTED_OPTIONS+=		gnutls perl tcl debug dbus
+PKG_SUPPORTED_OPTIONS+=		gnutls perl tcl debug dbus sasl
 .include "../../mk/"
@@ -55,3 +55,10 @@
 CONFIGURE_ARGS+= --disable-debug
+.if !empty(PKG_OPTIONS:Msasl)
+CONFIGURE_ARGS+=        --enable-cyrus-sasl
+.  include "../../security/cyrus-sasl/"
+CONFIGURE_ARGS+=        --disable-cyrus-sasl