- update pecl-APC to 3.1.2

"reads fine" William Yodlowsky (MAINTAINER)
This commit is contained in:
jasper 2009-04-22 21:24:09 +00:00
parent 22fda9f32d
commit f6cea1c07d
3 changed files with 15 additions and 14 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.13 2008/12/20 01:06:50 sthen Exp $
# $OpenBSD: Makefile,v 1.14 2009/04/22 21:24:09 jasper Exp $
SHARED_ONLY= Yes
COMMENT= Alternative PHP Cache
DISTNAME= APC-3.0.19
PKGNAME= pecl-${DISTNAME}p0
DISTNAME= APC-3.1.2
PKGNAME= pecl-${DISTNAME}
CATEGORIES= www
HOMEPAGE= http://pecl.php.net/package/APC

View File

@ -1,5 +1,5 @@
MD5 (APC-3.0.19.tgz) = lR9D0oc+NXL11a5xqbZvkA==
RMD160 (APC-3.0.19.tgz) = ecANDkTu4mjo/I7Itm8cT1I5Mg0=
SHA1 (APC-3.0.19.tgz) = WNkKt1fmBsh4vjRJpzgBaggGHf0=
SHA256 (APC-3.0.19.tgz) = oCZ3p4hDYdZPvzdFxALypv8xPoF7DQogEKy2TNBSR7A=
SIZE (APC-3.0.19.tgz) = 115735
MD5 (APC-3.1.2.tgz) = ChjPFks+BE4n7dTB2MMUXA==
RMD160 (APC-3.1.2.tgz) = DisETjfhYfpEnV0npyGBIFrffhg=
SHA1 (APC-3.1.2.tgz) = rr2GawZ3mBTpr1rhaUhoc0fFAFQ=
SHA256 (APC-3.1.2.tgz) = B4WUrCCOcfRpUpjDLIrBDP70mwnvCESywkJnag6qVF4=
SIZE (APC-3.1.2.tgz) = 123459

View File

@ -1,10 +1,11 @@
$OpenBSD: patch-apc_php,v 1.2 2009/04/22 21:24:09 jasper Exp $
"Get rid of very contrived local-user XSS - can't be triggered from external"
from upstream CVS
$OpenBSD: patch-apc_php,v 1.1 2008/12/20 01:06:50 sthen Exp $
--- apc.php.orig Thu May 15 02:45:28 2008
+++ apc.php Fri Dec 19 19:29:50 2008
@@ -59,7 +59,7 @@ function defaults($d,$v) {
--- apc.php.orig Fri Dec 12 12:37:26 2008
+++ apc.php Wed Apr 22 10:32:53 2009
@@ -61,7 +61,7 @@ function defaults($d,$v) {
// rewrite $PHP_SELF to block XSS attacks
//
@ -13,7 +14,7 @@ $OpenBSD: patch-apc_php,v 1.1 2008/12/20 01:06:50 sthen Exp $
$time = time();
$host = getenv('HOSTNAME');
if($host) { $host = '('.$host.')'; }
@@ -1078,7 +1078,7 @@ EOB;
@@ -1091,7 +1091,7 @@ EOB;
}
if (!$AUTHENTICATED) {
// hide all path entries if not logged in
@ -22,7 +23,7 @@ $OpenBSD: patch-apc_php,v 1.1 2008/12/20 01:06:50 sthen Exp $
} else {
$list[$k.$entry[$fieldname]]=$entry;
}
@@ -1097,9 +1097,10 @@ EOB;
@@ -1110,9 +1110,10 @@ EOB;
$i=0;
foreach($list as $k => $entry) {
if(!$MYREQUEST['SEARCH'] || preg_match($MYREQUEST['SEARCH'], $entry[$fieldname]) != 0) {