update to 3.0.8 and enable regression tests.
ok sthen@ william@ (Maintainer)
This commit is contained in:
parent
9417f25ea4
commit
5957d93fb5
@ -1,9 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.23 2015/06/05 06:00:22 robert Exp $
|
||||
# $OpenBSD: Makefile,v 1.24 2015/06/23 13:44:40 giovanni Exp $
|
||||
|
||||
COMMENT= PHP interface to memcached
|
||||
|
||||
DISTNAME= memcache-3.0.6
|
||||
REVISION= 6
|
||||
DISTNAME= memcache-3.0.8
|
||||
MAINTAINER= William Yodlowsky <william@openbsd.org>
|
||||
|
||||
# PHP
|
||||
@ -17,4 +16,12 @@ CONFIGURE_ARGS+= --with-zlib-dir=/usr
|
||||
post-configure:
|
||||
@perl -pi -e 's,(finish_cmds=").*,\1" #,g' ${WRKSRC}/libtool
|
||||
|
||||
# A running memcached server is needed
|
||||
TEST_IS_INTERACTIVE= Yes
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC} && \
|
||||
cp ${FILESDIR}/connect.inc . && \
|
||||
env NO_INTERACTION=Yes TEST_PHP_EXECUTABLE=${MODPHP_BIN} ${MODPHP_BIN} ${WRKSRC}/run-tests.php -d extension=modules/memcache.so
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (memcache-3.0.6.tgz) = z2hx8JRO44AixfhJEPMG2DsPUVZLvAhiSiFeBthIZhg=
|
||||
SIZE (memcache-3.0.6.tgz) = 54717
|
||||
SHA256 (memcache-3.0.8.tgz) = LK5bQj/7/TOiWYKYSfYADU2wGN6+Pins8wVvBmQugxE=
|
||||
SIZE (memcache-3.0.8.tgz) = 70523
|
||||
|
9
www/pecl-memcache/files/connect.inc
Normal file
9
www/pecl-memcache/files/connect.inc
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
# $OpenBSD: connect.inc,v 1.1 2015/06/23 13:44:40 giovanni Exp $
|
||||
# Configuration file for regression tests
|
||||
$host="localhost";
|
||||
$port=11211;
|
||||
$host2="localhost";
|
||||
$port2=11211;
|
||||
$memcache = memcache_connect($host, $port);
|
||||
?>
|
Loading…
Reference in New Issue
Block a user