The apps directory needs to be writable by the web server, pointed out by
robert at peichaer dot org. While here, add a few tweaks to the README.
This commit is contained in:
parent
cc7f90c406
commit
ca242a3d4a
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2012/06/16 08:35:13 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 2012/06/16 11:18:29 ajacoutot Exp $
|
||||
|
||||
COMMENT= easy and universal access to shared and/or personnal files
|
||||
|
||||
DISTNAME= owncloud-4.0.2
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
CATEGORIES= www
|
||||
|
12
www/owncloud/patches/patch-lib_util_php
Normal file
12
www/owncloud/patches/patch-lib_util_php
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-lib_util_php,v 1.1 2012/06/16 11:18:29 ajacoutot Exp $
|
||||
--- lib/util.php.orig Sat Jun 16 13:14:18 2012
|
||||
+++ lib/util.php Sat Jun 16 13:14:35 2012
|
||||
@@ -31,7 +31,7 @@ class OC_Util {
|
||||
// Check if apps folder is writable.
|
||||
if(!is_writable(OC::$SERVERROOT."/apps/")) {
|
||||
$tmpl = new OC_Template( '', 'error', 'guest' );
|
||||
- $tmpl->assign('errors',array(1=>array('error'=>"Can't write into apps directory 'apps'",'hint'=>"You can usually fix this by giving the webserver user write access to the config directory in owncloud")));
|
||||
+ $tmpl->assign('errors',array(1=>array('error'=>"Can't write into apps directory 'apps'",'hint'=>"You can usually fix this by giving the webserver user write access to the apps directory in owncloud")));
|
||||
$tmpl->printPage();
|
||||
exit;
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.4 2012/06/11 13:11:54 ajacoutot Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.5 2012/06/16 11:18:29 ajacoutot Exp $
|
||||
@extra owncloud/config/config.php
|
||||
owncloud/
|
||||
owncloud/.htaccess.dist
|
||||
@ -641,7 +641,9 @@ owncloud/COPYING-AGPL
|
||||
owncloud/COPYING-README
|
||||
owncloud/Changelog
|
||||
owncloud/README
|
||||
@owner www
|
||||
owncloud/apps/
|
||||
@owner
|
||||
owncloud/apps/admin_dependencies_chk/
|
||||
owncloud/apps/admin_dependencies_chk/appinfo/
|
||||
owncloud/apps/admin_dependencies_chk/appinfo/app.php
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: README,v 1.4 2012/06/16 08:35:13 ajacoutot Exp $
|
||||
$OpenBSD: README,v 1.5 2012/06/16 11:18:29 ajacoutot Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
@ -26,6 +26,9 @@ The maximum upload size for files can be modified in
|
||||
When not using Apache, make _sure_ to set the data directory to a
|
||||
location outside of the document root.
|
||||
|
||||
To finish the installation, point you browser to:
|
||||
http://<hostname>/owncloud/
|
||||
|
||||
Database Configuration
|
||||
----------------------
|
||||
When using SQLite, not further configuration is required. However, with
|
||||
|
Loading…
Reference in New Issue
Block a user