pkgsrc-wip/php-memcached/Makefile

23 lines
626 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.7 2013/06/04 13:04:54 fhajny Exp $
#
MODNAME= memcached
PECL_VERSION= 2.1.0
CATEGORIES+= devel
2009-10-07 12:43:22 +02:00
MAINTAINER= filip@joyent.com
HOMEPAGE= http://github.com/andreiz/php-memcached
COMMENT= PHP extension for interfacing with memcached via libmemcached library
2012-02-02 11:40:08 +01:00
LICENSE= php
CONFLICTS= php-memcached-[0-9]*
CONFIGURE_ARGS+= --enable-${MODNAME}
CONFIGURE_ARGS+= --with-libmemcached-dir=${PREFIX}
WRKSRC= ${WRKDIR}/${MODNAME}-${PECL_VERSION}
.include "../../lang/php/ext.mk"
Updated php-memcached to 2.0.1. Changes in 2.0.1 - Fix embedded version number to be not -dev Changes in 2.0.0 - Add touch() and touchByKey() methods - Add resetServerList() and quit() methods - Support binary protocol in sessions - Make it work with libmemcached up to 1.0.4 - Test against PHP 5.4.0 Changes in 2.0.0b2 - Add OPT_REMOVE_FAILED_SERVERS option. - Make it work with libmemcached up to 0.49. - Fix a case where invalid session ID could lock the script. - Improve session support: * Add support for libmemcached config string * Add persistence support via PERSISTENT=persistent_id prefix of the save_path - Add 3rd parameter to the __construct() that allows specification of libmemcached configuration string - Fix a possible crash in __construct() when using persistent connections - Add work-around a bug in libmemcached < 0.50 that causes truncation of last character of server key prefix - When using multiple servers implement transparent fail-over - Fix php_memc_cas_impl() implementation when server_key is not being used - Add support for incrementByKey() and decrementByKey() - Make increment/decrement initialize value when it is not available (when using binary protocol) Changes in 2.0.0b1 - Change the return value for non-existing keys to be NULL rather than 'false', affects simple get only - Add fastlz library that provides better/faster payload compression - Add configure switch to enable/disable JSON serialization support - Add getAllKeys() method - Add deleteMulti() and deleteMultiByKey() methods - Add isPristine() and isPersistent() methods - Add setOptions() method to set multiple options at once - Add SERIALIZER_JSON_ARRAY type that decodes JSON payloads as arrays instead of objects - Add support for Unix domain socket connections - Add memcached.compression_threshold INI setting - Add memcached.compression_factor INI setting - Add memcached.compression_type INI setting - Implement a few speed optimizations - Many bug fixes and memory leaks plugged - Add several more tests - Add constants for libmemcached 0.37+: * Memcached::OPT_NUMBER_OF_REPLICAS * Memcached::OPT_RANDOMIZE_REPLICA_READ - Add 'on_new' callback to constructor - Add SASL support
2012-03-25 20:36:55 +02:00
.include "../../devel/libmemcached/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"