ports/91327: Update port: databases/pecl-memcache to 2.0.0
Marcus Alves Grando
mnag at FreeBSD.org
Thu Jan 5 01:50:08 UTC 2006
>Number: 91327
>Category: ports
>Synopsis: Update port: databases/pecl-memcache to 2.0.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Jan 05 01:50:05 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Marcus Alves Grando
>Release: FreeBSD 6.0-STABLE i386
>Organization:
Grupos Internet S/A
>Environment:
System: FreeBSD marcus.grupos.com.br 6.0-STABLE FreeBSD 6.0-STABLE #3: Tue Jan 3 18:49:37 BRST 2006 root at marcus.grupos.com.br:/usr/obj/usr/src/sys/MARCUS i386
>Description:
Update to 2.0.0
Note: USE_REINPLACE are need to apply patch-memcache.c to fix build on 4.x
Note to commiter:
Already tested in tinderbox
http://marcus.grupos.com.br:8080/logs/4-STABLE-FreeBSD/pecl-memcache-2.0.0.log
http://marcus.grupos.com.br:8080/logs/6-STABLE-FreeBSD/pecl-memcache-2.0.0.log
>How-To-Repeat:
>Fix:
--- pecl-memcache.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/pecl-memcache/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile 9 Dec 2005 12:49:21 -0000 1.5
+++ Makefile 5 Jan 2006 01:38:03 -0000
@@ -6,7 +6,7 @@
#
PORTNAME= memcache
-PORTVERSION= 1.5
+PORTVERSION= 2.0.0
CATEGORIES= databases
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
@@ -16,16 +16,23 @@
MAINTAINER= tux at pinguru.net
COMMENT= Memcached extension
+USE_REINPLACE= yes
USE_PHP= zlib
USE_PHPEXT= yes
PHP_MODNAME= memcache
CONFIGURE_ARGS= --with-zlib-dir=/usr
+.include <bsd.port.pre.mk>
+
+post-extract:
+ @${FIND} -E ${WRKDIR} -type f -iregex ".*\.(c|cpp|h|txt|php)" -print0 | \
+ ${XARGS} -0 ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//'
+
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example.php ${EXAMPLESDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/databases/pecl-memcache/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo 9 Dec 2005 12:49:21 -0000 1.5
+++ distinfo 5 Jan 2006 01:38:03 -0000
@@ -1,3 +1,3 @@
-MD5 (PECL/memcache-1.5.tgz) = f521dd4d3cad4ccb05d9ade4e1cc04d4
-SHA256 (PECL/memcache-1.5.tgz) = d500687fd2703266619821758f4f80aea1baea3c5e5c8370a7a80f516ca33db9
-SIZE (PECL/memcache-1.5.tgz) = 14291
+MD5 (PECL/memcache-2.0.0.tgz) = c4d9f90178438750c48d8807c97b8913
+SHA256 (PECL/memcache-2.0.0.tgz) = 3e7a17932a9e8766866d664983360cf032d36f04257bf4c21966f8d598b91f83
+SIZE (PECL/memcache-2.0.0.tgz) = 16896
Index: files/patch-memcache.c
===================================================================
RCS file: files/patch-memcache.c
diff -N files/patch-memcache.c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-memcache.c 5 Jan 2006 01:38:03 -0000
@@ -0,0 +1,11 @@
+--- ./memcache.c.orig Wed Jan 4 23:33:18 2006
++++ ./memcache.c Wed Jan 4 23:33:25 2006
+@@ -120,7 +120,7 @@
+
+ /* {{{ macros */
+ #define MMC_PREPARE_KEY(key, key_len) \
+- php_strtr(key, key_len, "\t\r\n ", "____", 4); \
++ php_strtr(key, key_len, "\t\r\n ", "____", 4);
+
+ #if ZEND_DEBUG
+
--- pecl-memcache.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list