aboutsummaryrefslogtreecommitdiffstats
path: root/converters/pecl-igbinary
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-08-01 01:28:40 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-08-01 01:28:40 +0800
commit37bef14f17f2ed1daf760b0ef201f149738d5da0 (patch)
tree9d676eb97f229403ef62b771f716391ab5b84ac8 /converters/pecl-igbinary
parentcc4549dc29d1dc91d1755afc93de330b08238a5a (diff)
downloadfreebsd-ports-gnome-37bef14f17f2ed1daf760b0ef201f149738d5da0.tar.gz
freebsd-ports-gnome-37bef14f17f2ed1daf760b0ef201f149738d5da0.tar.zst
freebsd-ports-gnome-37bef14f17f2ed1daf760b0ef201f149738d5da0.zip
- Move converters/igbinary to converters/pecl-igbinary
Diffstat (limited to 'converters/pecl-igbinary')
-rw-r--r--converters/pecl-igbinary/Makefile26
-rw-r--r--converters/pecl-igbinary/distinfo2
-rw-r--r--converters/pecl-igbinary/files/patch-apc_serializer.h11
-rw-r--r--converters/pecl-igbinary/pkg-descr7
4 files changed, 46 insertions, 0 deletions
diff --git a/converters/pecl-igbinary/Makefile b/converters/pecl-igbinary/Makefile
new file mode 100644
index 000000000000..79ae859b88c0
--- /dev/null
+++ b/converters/pecl-igbinary/Makefile
@@ -0,0 +1,26 @@
+# Created by: Gea-Suan Lin <gslin@gslin.org>
+# $FreeBSD$
+
+PORTNAME= igbinary
+PORTVERSION= 1.1.1
+PORTREVISION= 1
+CATEGORIES= converters
+MASTER_SITES= http://pecl.php.net/get/
+PKGNAMEPREFIX= pecl-
+DIST_SUBDIR= PECL
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Replacement for the standard PHP serializer
+
+LICENSE= BSD3CLAUSE
+
+USE_PHP= session
+USE_PHP_BUILD= yes
+USE_PHPEXT= yes
+USE_PHPIZE= yes
+USES= tar:tgz
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/${PHP_MODNAME}.so
+
+.include <bsd.port.mk>
diff --git a/converters/pecl-igbinary/distinfo b/converters/pecl-igbinary/distinfo
new file mode 100644
index 000000000000..10d70c43e953
--- /dev/null
+++ b/converters/pecl-igbinary/distinfo
@@ -0,0 +1,2 @@
+SHA256 (PECL/igbinary-1.1.1.tgz) = b84158410bde9db42e7a96c4e947da4569519ab4e7e19a5e3d1db698aac94101
+SIZE (PECL/igbinary-1.1.1.tgz) = 25722
diff --git a/converters/pecl-igbinary/files/patch-apc_serializer.h b/converters/pecl-igbinary/files/patch-apc_serializer.h
new file mode 100644
index 000000000000..e7e7ebfae6a9
--- /dev/null
+++ b/converters/pecl-igbinary/files/patch-apc_serializer.h
@@ -0,0 +1,11 @@
+--- apc_serializer.h.orig 2011-03-14 20:32:48.000000000 +0800
++++ apc_serializer.h 2014-07-03 23:40:39.234972645 +0800
+@@ -54,7 +54,7 @@
+
+ ALLOC_INIT_ZVAL(apc_magic_constant);
+
+- if (zend_get_constant(APC_SERIALIZER_CONSTANT, sizeof(APC_SERIALIZER_CONSTANT)-1, apc_magic_constant)) {
++ if (zend_get_constant(APC_SERIALIZER_CONSTANT, sizeof(APC_SERIALIZER_CONSTANT)-1, apc_magic_constant TSRMLS_CC)) {
+ if(apc_magic_constant) {
+ apc_register_serializer_t register_func = (apc_register_serializer_t)(Z_LVAL_P(apc_magic_constant));
+ if(register_func) {
diff --git a/converters/pecl-igbinary/pkg-descr b/converters/pecl-igbinary/pkg-descr
new file mode 100644
index 000000000000..cc05ef5cd8bf
--- /dev/null
+++ b/converters/pecl-igbinary/pkg-descr
@@ -0,0 +1,7 @@
+Igbinary is a drop in replacement for the standard PHP serializer.
+Instead of time and space consuming textual representation, igbinary
+stores PHP data structures in a compact binary form. Savings are
+significant when using memcached or similar memory based storages for
+serialized data.
+
+WWW: http://pecl.php.net/package/igbinary