diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-08-29 13:01:57 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-08-29 13:02:08 +0000 |
commit | 7ee4a402c339bdda12105b4e5a031e5eeb4901e0 (patch) | |
tree | 3fbab1e00816e51ebc4e42f7825ed64a3b223b3a /main | |
parent | c51abd40826499b7b04eb25d8f170fddc5bb5b79 (diff) | |
download | aports-7ee4a402c339bdda12105b4e5a031e5eeb4901e0.tar.bz2 aports-7ee4a402c339bdda12105b4e5a031e5eeb4901e0.tar.xz |
main/nextcloud: add missing patch
Diffstat (limited to 'main')
-rw-r--r-- | main/nextcloud/APKBUILD | 2 | ||||
-rw-r--r-- | main/nextcloud/nextcloud10-dont-chmod-config.patch | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/main/nextcloud/APKBUILD b/main/nextcloud/APKBUILD index 20c7382a41..d04714f6b4 100644 --- a/main/nextcloud/APKBUILD +++ b/main/nextcloud/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=nextcloud pkgver="10.0.0" -pkgrel=0 +pkgrel=1 pkgdesc="A safe home for all your data" url="http://nextcloud.com" arch="noarch" diff --git a/main/nextcloud/nextcloud10-dont-chmod-config.patch b/main/nextcloud/nextcloud10-dont-chmod-config.patch new file mode 100644 index 0000000000..fac1313848 --- /dev/null +++ b/main/nextcloud/nextcloud10-dont-chmod-config.patch @@ -0,0 +1,12 @@ +--- a/lib/private/Config.php ++++ b/lib/private/Config.php +@@ -229,9 +229,6 @@ + touch ($this->configFilePath); + $filePointer = fopen($this->configFilePath, 'r+'); + +- // Prevent others not to read the config +- chmod($this->configFilePath, 0640); +- + // File does not exist, this can happen when doing a fresh install + if(!is_resource ($filePointer)) { + // TODO fix this via DI once it is very clear that this doesn't cause side effects due to initialization order |