diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-03-15 08:28:04 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-03-15 08:28:24 +0000 |
commit | eebec0474349944f45aa103f101750c72c568ffa (patch) | |
tree | 1586382b9cd915c74d3883728981a59036ff7040 /main | |
parent | 8d7635008ce4509d1132c533c9b481acd02b7c52 (diff) | |
download | aports-eebec0474349944f45aa103f101750c72c568ffa.tar.bz2 aports-eebec0474349944f45aa103f101750c72c568ffa.tar.xz |
main/owncloud: fix first run (installation)
Diffstat (limited to 'main')
-rw-r--r-- | main/owncloud/APKBUILD | 19 | ||||
-rw-r--r-- | main/owncloud/owncloud-9-disable-chmod.patch | 12 | ||||
-rw-r--r-- | main/owncloud/owncloud.config.php | 2 |
3 files changed, 25 insertions, 8 deletions
diff --git a/main/owncloud/APKBUILD b/main/owncloud/APKBUILD index ff3bfa3d04..e9211ba008 100644 --- a/main/owncloud/APKBUILD +++ b/main/owncloud/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname="owncloud" pkgver="9.0.0" -pkgrel=0 +pkgrel=1 _contactsver="1.0.0.0" _calendarver="1.0" _tasksver="0.8.1" @@ -36,7 +36,9 @@ source="https://download.owncloud.org/community/$pkgname-$pkgver.tar.bz2 $pkgname-pdfviewer-$_pdfviewerver.tar.gz::https://github.com/owncloud/files_pdfviewer/archive/v$_pdfviewerver.tar.gz $pkgname-tasks-$_tasksver.tar.gz::https://github.com/owncloud/tasks/archive/v$_tasksver.tar.gz owncloud.config.php + owncloud-6-always-return-true-isSetLocaleWorking.patch + owncloud-9-disable-chmod.patch " pkggroups="www-data" @@ -219,8 +221,9 @@ e98fdb10ff4139b4259e2a183a88975a owncloud-mozilla_sync-1.4.tar.gz 9f1d98ba83039e42d53487348ff22df2 owncloud-music-0.3.10.zip 2a9beacbdd90b477979fac48af7db33a owncloud-pdfviewer-9.0.0.tar.gz b12ac39aead677329675c27bb549374a owncloud-tasks-0.8.1.tar.gz -7d29c52fb9cea2537b56a534a8385f19 owncloud.config.php -f497dbf3a67d14fc9049ca680673c805 owncloud-6-always-return-true-isSetLocaleWorking.patch" +2c131b3ed0632bef7c372b6ec09f55cb owncloud.config.php +f497dbf3a67d14fc9049ca680673c805 owncloud-6-always-return-true-isSetLocaleWorking.patch +5e393c5cbfa0dc9f5d4d35dbdef3b839 owncloud-9-disable-chmod.patch" sha256sums="d16737510a77a81489f7c4d5e19b0756fa2ea1c5081ba174b0fec0f00da3a77c owncloud-9.0.0.tar.bz2 225f9454b1dce0c3975d19e1dfa0f9f3fb812edbbc0052f0f75f4559edbc2c32 owncloud-contacts-1.0.0.0.tar.gz c0260c85e72d0e333e650d7149fff742798b3a7a8c0ab325302f80c0752fe0ce owncloud-calendar-1.0.tar.gz @@ -230,8 +233,9 @@ e8e51eac01f32701c35a86d6adc0a8c593a459d908bda44f4af54d596bf3b475 owncloud-texte f71eb59637f2a688e66283abf3a232f9e8cbb9aef189475115271ea64d296ff2 owncloud-music-0.3.10.zip 73b430d75623e69227e98bf00bf53a75fad7ce3a32d59a6b1322b5d8f0dc9a8d owncloud-pdfviewer-9.0.0.tar.gz 1120f7c45c98b3bf790e0842808c1c24e5482bd7f7a5667be2216d0f4e1af2f4 owncloud-tasks-0.8.1.tar.gz -7ec1e79c6dc8c154d9b7d4c6477a659be55798091f3e9d6c07fd3fcc16332692 owncloud.config.php -3466ffbd22d4a9f04f4df862f3fb2f695fd1ca4bc6fb4b6a56258958064d5762 owncloud-6-always-return-true-isSetLocaleWorking.patch" +41b9bcd59604b8150e1a865ab37c2cbbe433d49eb3ef2ba2f55c37b3a8cc41c9 owncloud.config.php +3466ffbd22d4a9f04f4df862f3fb2f695fd1ca4bc6fb4b6a56258958064d5762 owncloud-6-always-return-true-isSetLocaleWorking.patch +9739810a5f040ff1488559fb17360b65aec94a4024b2f74437785420336d4d72 owncloud-9-disable-chmod.patch" sha512sums="c82f42d227ee59ed2875133230e303a0b51ee28b21e4d3c253d2f142aed514050e3138f57082d02350a3c7a69f28ba34d3fb4dc86ce51384119c817196963e55 owncloud-9.0.0.tar.bz2 497c311063f0880487874c37e5a31170c7e973191f2929fd8802fadfaef61bbd7930b522304f08fc9306f7a6c47dc2e7d0abf429687cfecb08310b7a0c1bf0bc owncloud-contacts-1.0.0.0.tar.gz 14d1921b2d01f75f1bfb7287151911715448b84a628d96789cbaa58e89328bc04d644b7b49f5fb280987a2a20fee612a95da8a2b0ca26abb05f5ccd5d1030c34 owncloud-calendar-1.0.tar.gz @@ -241,5 +245,6 @@ a279a6e0109aa3b17442265358284583d846f88afa3746005792b93dffbd3396dc1277ce892b2a22 d229b82552b71bf34574c61b6dd2987ac0ece3ed2021530df7cf63170033b9d69703d14fae8b0c66418339756b6e729f5dc3898f5117898f161f0ff76e723f91 owncloud-music-0.3.10.zip 46e416d10ca27596c0ad9d55782036f86282a81fe99a28e4252113c80718f67802f6c1e52d246e453f4e26f3951cc003d51220eb965fc79a8e075b0e70511fce owncloud-pdfviewer-9.0.0.tar.gz 5b0880cd86588142d32f77dbcdd3fe7406541b790012528ba8efdceb62d0638a7d4b11e91b5fd3f0c5b4f5cfb3ae8213b28a41b4e7fa0fa0a8e978163175ec00 owncloud-tasks-0.8.1.tar.gz -a1142059f860ee1245ee2e324f206e1ab509ee6fcbd9020f793be557117ac5f6a8ba0e7a1677250df8662c19460e88b6ca2a24b40c14007d18535ab5110280e6 owncloud.config.php -4b2038786571c62129d748bb71262a7cbc966cf4b97482f13bcedaa36fcfa343080a464fc74463a9bd6615c99a10cd590b91cacead62632db36bfd8940173d13 owncloud-6-always-return-true-isSetLocaleWorking.patch" +b4bd206bff5f4871f023344ea03afd52795876d4563da00ccd026c5d976570dfb0923cd218449395e238a2b23de516f6a655a69539bc5a7d0cb67048c94bb15f owncloud.config.php +4b2038786571c62129d748bb71262a7cbc966cf4b97482f13bcedaa36fcfa343080a464fc74463a9bd6615c99a10cd590b91cacead62632db36bfd8940173d13 owncloud-6-always-return-true-isSetLocaleWorking.patch +62f4c4e5f0c23aea98a3cefdd5f08773fc34039ef444d167063f7b1f4640aee48bd108776e6f28f12acec3833f7bcf6b76aaa300c41f5f3fc8fc536c9f6b7586 owncloud-9-disable-chmod.patch" diff --git a/main/owncloud/owncloud-9-disable-chmod.patch b/main/owncloud/owncloud-9-disable-chmod.patch new file mode 100644 index 0000000000..bd70391c81 --- /dev/null +++ b/main/owncloud/owncloud-9-disable-chmod.patch @@ -0,0 +1,12 @@ +--- 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)) { diff --git a/main/owncloud/owncloud.config.php b/main/owncloud/owncloud.config.php index adf006d0de..9b9e6206fb 100644 --- a/main/owncloud/owncloud.config.php +++ b/main/owncloud/owncloud.config.php @@ -15,7 +15,7 @@ $CONFIG = array( ), */ ), - 'version' => '8.0.2', + 'version' => '9.0.0', 'dbname' => 'owncloud', 'dbhost' => 'localhost', 'dbuser' => 'owncloud', |