Mail archive
alpine-aports

[alpine-aports] [PATCH] community/nextcloud: fix php-related depends

From: Valery Kartel <valery.kartel_at_gmail.com>
Date: Thu, 4 May 2017 13:29:19 +0300

from https://docs.nextcloud.com/server/11/admin_manual/installation/source_installation.html#prerequisites

- add all php extensions from 'Required' and 'Recommended' sections

- set database-specific depends to those pointed in 'Database
  connectors' section
---
 community/nextcloud/APKBUILD | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/community/nextcloud/APKBUILD b/community/nextcloud/APKBUILD
index 78a559af78..00cb31f5e8 100644
--- a/community/nextcloud/APKBUILD
+++ b/community/nextcloud/APKBUILD
_at_@ -1,15 +1,15 @@
 # Maintainer: Leonardo Arena <rnalrd_at_alpinelinux.org>
 pkgname=nextcloud
 pkgver=11.0.3
-pkgrel=1
+pkgrel=2
 pkgdesc="A safe home for all your data"
 url="http://nextcloud.com"
 arch="noarch"
 license="AGPL"
 _php=php7
-depends="$_php ${_php}-ctype ${_php}-curl ${_php}-dom ${_php}-gd ${_php}-iconv
-	${_php}-json ${_php}-openssl ${_php}-xml ${_php}-xmlreader
-	${_php}-zlib ${_php}-zip
+depends="$_php $_php-bz2 $_php-ctype $_php-curl $_php-fileinfo $_php-dom $_php-gd
+	$_php-iconv $_php-intl $_php-json $_php-mbstring $_php-mcrypt $_php-openssl
+	$_php-posix $_php-xml $_php-xmlreader $_php-xmlwriter $_php-zlib $_php-zip
 	"
 depends_dev=
 makedepends="$depends_dev"
_at_@ -79,19 +79,19 @@ doc() {
 
 pgsql() {
 	pkgdesc="Nextcloud PostgreSQL support"
-	depends="nextcloud ${_php}-pgsql ${_php}-pdo_pgsql ${_php}-pear-mdb2_driver_pgsql"
+	depends="nextcloud $_php-pgsql"
 	mkdir -p "$subpkgdir"${_ncwwwdir}
 }
 
 sqlite() {
 	pkgdesc="Nextcloud SQLite support"
-	depends="nextcloud ${_php}-sqlite3 ${_php}-pdo_sqlite"
+	depends="nextcloud $_php-sqlite3"
 	mkdir -p "$subpkgdir"${_ncwwwdir}
 }
 
 mysql() {
 	pkgdesc="Nextcloud MySQL support"
-	depends="nextcloud ${_php}-mysql ${_php}-pdo_mysql ${_php}-pear-mdb2_driver_mysql"
+	depends="nextcloud $_php-pdo_mysql"
 	mkdir -p "$subpkgdir"${_ncwwwdir}
 }
 
-- 
2.12.2
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Thu May 04 2017 - 13:29:19 GMT