Date: Mon, 28 Apr 2014 02:40:01 GMT From: Niels Poppe <niels.poppe@gmail.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/182449: databases/pecl-memcached: Memcached::setSaslAuthData unavailable, by lack of SASL authentication option, Message-ID: <201404280240.s3S2e1gu085456@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/182449; it has been noted by GNATS. From: Niels Poppe <niels.poppe@gmail.com> To: bug-followup@FreeBSD.org, dereckson@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@gslin.org> > To: bug-followup@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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404280240.s3S2e1gu085456>