aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2016-08-29 11:49:38 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2016-08-29 11:49:49 +0000
commitc0ec39f71e341a91a514b3dfdf2b7865cbc54db3 (patch)
treeb32636ca51d0bf54cabe2311af30b0fd1cc1837e
parent2ddb8586023e95ddcbf2f414d0e9c6163daadb1d (diff)
downloadaports-c0ec39f71e341a91a514b3dfdf2b7865cbc54db3.tar.bz2
aports-c0ec39f71e341a91a514b3dfdf2b7865cbc54db3.tar.xz
main/nextcloud: upgrade to 10.0.0
-rw-r--r--main/nextcloud/APKBUILD18
-rw-r--r--main/nextcloud/nextcloud-9-disable-chmod.patch12
2 files changed, 9 insertions, 21 deletions
diff --git a/main/nextcloud/APKBUILD b/main/nextcloud/APKBUILD
index a2e3fe361a..20c7382a41 100644
--- a/main/nextcloud/APKBUILD
+++ b/main/nextcloud/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=nextcloud
-pkgver="9.0.53"
+pkgver="10.0.0"
pkgrel=0
pkgdesc="A safe home for all your data"
url="http://nextcloud.com"
@@ -20,8 +20,7 @@ subpackages="$pkgname-doc $pkgname-activity $pkgname-firstrunwizard $pkgname-gal
$pkgname-videoplayer"
source="https://download.nextcloud.com/server/releases/$pkgname-$pkgver.zip
-
- nextcloud-9-disable-chmod.patch
+ nextcloud10-dont-chmod-config.patch
"
pkggroups="www-data"
@@ -59,6 +58,7 @@ package() {
chmod +x "$pkgdir"${_ncwwwdir}/occ || return 1
ln -s $_ncconfdir "$pkgdir"${_ncwwwdir}/config || return 1
install -m664 .htaccess "$pkgdir"${_ncwwwdir}/.htaccess || return 1
+ install -m664 .user.ini "$pkgdir"${_ncwwwdir}/.user.ini || return 1
install -m664 ../../${pkgname}-config.php "$pkgdir"/etc/$pkgname/config.php || return 1
mv "$pkgdir"$_ncwwwdir/apps "$pkgdir"$_ncbasedir || return 1
ln -s $_ncappsdir "$pkgdir"$_ncwwwdir/apps || return 1
@@ -168,9 +168,9 @@ videoplayer() {
_mv_app pkg files_videoplayer
}
-md5sums="0faf794d6e5897ee35a2f698227e1e6f nextcloud-9.0.53.zip
-5e393c5cbfa0dc9f5d4d35dbdef3b839 nextcloud-9-disable-chmod.patch"
-sha256sums="3bca4066e590563d635e98b5160ddefb97b3648106f044bcfdea7bb887e6fbe6 nextcloud-9.0.53.zip
-9739810a5f040ff1488559fb17360b65aec94a4024b2f74437785420336d4d72 nextcloud-9-disable-chmod.patch"
-sha512sums="b538943e693526d12a7fffd9d982f1c99588c5643121b292da06f250dc7a7a0fd4a927ce2fc5ecec408f888446e7c1bedd6ec38259388f5d9aff5ec0c50396b6 nextcloud-9.0.53.zip
-62f4c4e5f0c23aea98a3cefdd5f08773fc34039ef444d167063f7b1f4640aee48bd108776e6f28f12acec3833f7bcf6b76aaa300c41f5f3fc8fc536c9f6b7586 nextcloud-9-disable-chmod.patch"
+md5sums="124b4c3cf5342c40c878be6ef1ff3c3b nextcloud-10.0.0.zip
+f8f2fd9a51c983930d02fb9f90cceda7 nextcloud10-dont-chmod-config.patch"
+sha256sums="f646c95589a3500764df9b6535e92851f446e1e42e5ded92c6c801e5fbcf5301 nextcloud-10.0.0.zip
+8a66e0388e0e2d829301a4499b3be6017efc0a3cc8734a5d7e4b0e9cfd803e0c nextcloud10-dont-chmod-config.patch"
+sha512sums="0b018d228b932c99e7279efefb091a3c51c13b24628a26f608efff7698d1ae298494056dd5b70ad5a373bad7883adb2169268bd3ad5042203ec374136dc03d6e nextcloud-10.0.0.zip
+a12a73a38bc009d3307ce97bb32fc62ac93e125a77a3d36b31c9d2212953fa17bd5c31f819e0759a0645b1c285817b067143b0b9c3673ce4ab3043fae426a67c nextcloud10-dont-chmod-config.patch"
diff --git a/main/nextcloud/nextcloud-9-disable-chmod.patch b/main/nextcloud/nextcloud-9-disable-chmod.patch
deleted file mode 100644
index bd70391c81..0000000000
--- a/main/nextcloud/nextcloud-9-disable-chmod.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/lib/private/config.php
-+++ b/lib/private/config.php
-@@ -229,7 +229,8 @@
- $filePointer = fopen($this->configFilePath, 'r+');
-
- // Prevent others not to read the config
-- chmod($this->configFilePath, 0640);
-+ // Alpine Linux Development - don't do package's job
-+ // chmod($this->configFilePath, 0640);
-
- // File does not exist, this can happen when doing a fresh install
- if(!is_resource ($filePointer)) {