SECURITY update to owncloud-6.0.3.

This commit is contained in:
ajacoutot 2014-04-29 14:47:39 +00:00
parent b289061cc1
commit 8ad9553b67
4 changed files with 153 additions and 1420 deletions

View File

@ -1,11 +1,10 @@
# $OpenBSD: Makefile,v 1.67 2014/04/11 16:28:17 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.68 2014/04/29 14:47:39 ajacoutot Exp $
COMMENT= easy and universal access to shared and/or personnal files
V= 6.0.2
V= 6.0.3
DISTNAME= owncloud-${V}
EXTRACT_SUFX= .tar.bz2
REVISION= 5
CATEGORIES= www

View File

@ -1,2 +1,2 @@
SHA256 (owncloud-6.0.2.tar.bz2) = paGUrQf8p8vxWLZgzAmMY2RZC90V0IYGkiH69DhrcT8=
SIZE (owncloud-6.0.2.tar.bz2) = 51422893
SHA256 (owncloud-6.0.3.tar.bz2) = QiuDHtWJLOIGQqdRMOt6x1XGeLeYZ1d42FcxnBr7woo=
SIZE (owncloud-6.0.3.tar.bz2) = 31331541

View File

@ -1,12 +1,12 @@
$OpenBSD: patch-lib_private_util_php,v 1.1 2014/03/22 09:40:21 ajacoutot Exp $
--- lib/private/util.php.orig Sat Mar 22 09:35:38 2014
+++ lib/private/util.php Sat Mar 22 09:36:58 2014
@@ -339,7 +339,7 @@ class OC_Util {
);
}
}
- $CONFIG_DATADIRECTORY = OC_Config::getValue( "datadirectory", OC::$SERVERROOT."/data" );
+ $CONFIG_DATADIRECTORY = OC_Config::getValue( "datadirectory", "/owncloud-data" );
// Create root dir.
if(!is_dir($CONFIG_DATADIRECTORY)) {
$success=@mkdir($CONFIG_DATADIRECTORY);
$OpenBSD: patch-lib_private_util_php,v 1.2 2014/04/29 14:47:39 ajacoutot Exp $
--- lib/private/util.php.orig Tue Apr 29 03:26:10 2014
+++ lib/private/util.php Tue Apr 29 16:38:15 2014
@@ -289,7 +289,7 @@ class OC_Util {
*/
public static function checkServer() {
$errors = array();
- $CONFIG_DATADIRECTORY = OC_Config::getValue('datadirectory', OC::$SERVERROOT . '/data');
+ $CONFIG_DATADIRECTORY = OC_Config::getValue('datadirectory', '/owncloud-data' );
if (!\OC::needUpgrade() && OC_Config::getValue('installed', false)) {
// this check needs to be done every time

File diff suppressed because it is too large Load Diff