mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
Add upstream patch to make ownCloud work in php 7.0.6
PR: 209226 Submitted by: Piotr Kubaj <pkubaj at anongoth.pl>
This commit is contained in:
parent
f6d424b240
commit
45cf0cef86
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=414579
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= owncloud
|
||||
PORTVERSION= 9.0.1
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://download.owncloud.org/community/
|
||||
|
||||
@ -22,6 +22,8 @@ USE_OPENSSL= yes
|
||||
OWNCLOUD_USERNAME?= ${WWWOWN}
|
||||
OWNCLOUD_GROUPNAME?= ${WWWGRP}
|
||||
|
||||
IGNORE_FILES= ! -name *\.orig
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
@ -56,7 +58,8 @@ WITH_OPENSSL_PORT= yes
|
||||
|
||||
do-install:
|
||||
@${MKDIR} -m 0755 ${STAGEDIR}${WWWDIR}
|
||||
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
|
||||
@cd ${WRKSRC} && \
|
||||
${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} '${IGNORE_FILES}'
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${WWWDIR}/data
|
||||
|
@ -0,0 +1,12 @@
|
||||
--- lib/private/appframework/http/request.php.orig 2016-05-04 03:03:50 UTC
|
||||
+++ lib/private/appframework/http/request.php
|
||||
@@ -264,6 +264,9 @@ class Request implements \ArrayAccess, \
|
||||
* @return bool
|
||||
*/
|
||||
public function __isset($name) {
|
||||
+ if (in_array($name, $this->allowedKeys, true)) {
|
||||
+ return true;
|
||||
+ }
|
||||
return isset($this->items['parameters'][$name]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user