From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Sep 28 00:00:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3856F62B for ; Sat, 28 Sep 2013 00:00:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 187552345 for ; Sat, 28 Sep 2013 00:00:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r8S001PW020992 for ; Sat, 28 Sep 2013 00:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8S001rl020991; Sat, 28 Sep 2013 00:00:01 GMT (envelope-from gnats) Resent-Date: Sat, 28 Sep 2013 00:00:01 GMT Resent-Message-Id: <201309280000.r8S001rl020991@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sébastien Santoro Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B236A5B9 for ; Fri, 27 Sep 2013 23:52:18 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9F68C2310 for ; Fri, 27 Sep 2013 23:52:18 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r8RNqINn066159 for ; Fri, 27 Sep 2013 23:52:18 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r8RNqITs066153; Fri, 27 Sep 2013 23:52:18 GMT (envelope-from nobody) Message-Id: <201309272352.r8RNqITs066153@oldred.freebsd.org> Date: Fri, 27 Sep 2013 23:52:18 GMT From: Sébastien Santoro To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/182449: [databases/pecl-memcached] Memcached::setSaslAuthData unavailable, by lack of SASL authentication option, X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Sep 2013 00:00:02 -0000 >Number: 182449 >Category: ports >Synopsis: [databases/pecl-memcached] Memcached::setSaslAuthData unavailable, by lack of SASL authentication option, >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 28 00:00:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Sébastien Santoro >Release: >Organization: >Environment: (current bug isn't environment dependant) >Description: PECL extension by default doesn't include SASL authentication, it should be explicitly asked at configure time. Excerpt from http://www.php.net/manual/en/memcached.installation.php: “SASL authentication support is disabled by default. To enable it, use --enable-memcached-sasl switch. This requires that libsasl2 has been installed and that libmemcached has been built with SASL support enabled.” Excerpt from http://www.php.net/manual/en/memcached.setsaslauthdata.php: “This method is only available when the memcached extension is build with SASL support. Please refer to Memcached setup for how to do this.” >How-To-Repeat: addServer('localhost', 11211); $memcached->setSaslAuthData('username', 'password'); //Fails, as setSaslAuthData doesn't exist >Fix: Add a SASL option: - adding --enable-memcached-sasl to ./configure - adding security/cyrus-sasl2 as dependency (should have been done by libmemcached) If you wish to do it without the option: - Argument pro: databases/libmemcached now always add SASL support - Argument against: databases/memcached still provides the option (but we're in the client side, not the server side, so shouldn't we be coherent with libmemcached choice?) >Release-Note: >Audit-Trail: >Unformatted: