ports/182449: databases/pecl-memcached: Memcached::setSaslAuthData unavailable, by lack of SASL authentication option,
Niels Poppe
niels.poppe at gmail.com
Mon Apr 28 02:40:01 UTC 2014
The following reply was made to PR ports/182449; it has been noted by GNATS.
From: Niels Poppe <niels.poppe at gmail.com>
To: bug-followup at FreeBSD.org,
dereckson at gmail.com
Cc:
Subject: Re: ports/182449: databases/pecl-memcached: Memcached::setSaslAuthData unavailable, by lack of SASL authentication option,
Date: Mon, 28 Apr 2014 04:24:53 +0200
Someone somewhere found this problem and the solution, but somehow =
nobody followed up the friendly request to do the work:
> From: Gea-Suan Lin <gslin at gslin.org>
> To: bug-followup at FreeBSD.org
> Date: Tue, 22 Oct 2013 17:48:24 +0800
>=20
> Thanks, would you like to offer a patch to include these features ?
>=20
> On Sat, Sep 28, 2013 at 12:00:11AM +0000, Edwin Groothuis wrote:
> > Maintainer of databases/pecl-memcached,
> >=20
> > Please note that PR ports/182449 has just been submitted.
> >=20
This little patch does provide the needed option (I did not look any =
deeper than that).
Index: databases/pecl-memcached/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- databases/pecl-memcached/Makefile (revision 352016)
+++ databases/pecl-memcached/Makefile (working copy)
@@ -25,8 +25,9 @@
USE_PHP_BUILD=3D yes
CONFIGURE_ARGS+=3D--with-libmemcached-dir=3D${LOCALBASE}
=20
-OPTIONS_DEFINE=3D IGBINARY
+OPTIONS_DEFINE=3D IGBINARY SASL
IGBINARY_DESC=3D Binary serializer support
+SASL_DESC=3D Cyrus SASL support
=20
.include <bsd.port.options.mk>
=20
@@ -36,4 +37,9 @@
RUN_DEPENDS+=3D =
${LOCALBASE}/lib/php/${PHP_EXT_DIR}/igbinary.so:${PORTSDIR}/converters/igb=
inary
.endif
=20
+.if ${PORT_OPTIONS:MSASL}
+CONFIGURE_ARGS+=3D--enable-memcached-sasl
+LIB_DEPENDS+=3D sasl2:${PORTSDIR}/security/cyrus-sasl2
+.endif
+
.include <bsd.port.mk>
More information about the freebsd-ports-bugs
mailing list