From 1008ddd5bc8e9b76833695565c6733a3f796e79c Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Fri, 13 Jul 2012 07:47:14 +0000 Subject: testing/owncloud: provide a basic default config file --- testing/owncloud/APKBUILD | 11 +++++++---- testing/owncloud/owncloud.config.php | 11 +++++++++++ 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 testing/owncloud/owncloud.config.php (limited to 'testing') diff --git a/testing/owncloud/APKBUILD b/testing/owncloud/APKBUILD index 4aa99322af..fadcbfce39 100644 --- a/testing/owncloud/APKBUILD +++ b/testing/owncloud/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Leonardo Arena pkgname=owncloud pkgver=4.0.4 -pkgrel=0 +pkgrel=1 pkgdesc="Your own WebDAV-based cloud service" url="http://owncloud.org" arch="noarch" @@ -11,7 +11,8 @@ depends_dev= makedepends="$depends_dev" install="$pkgname.post-install" subpackages="$pkgname-pgsql $pkgname-sqlite" -source="http://download.owncloud.org/releases/$pkgname-$pkgver.tar.bz2" +source="http://download.owncloud.org/releases/$pkgname-$pkgver.tar.bz2 + owncloud.config.php" _builddir="$srcdir"/$pkgname @@ -33,7 +34,8 @@ package() { rm -rf config data mv * "$pkgdir"/usr/share/webapps/owncloud ln -s /etc/owncloud/config "$pkgdir"/usr/share/webapps/owncloud/config || exit 1 - ln -s /var/lib/owncloud/data "$pkgdir"/usr/share/webapps/owncloud/data || exit 1 + #ln -s /var/lib/owncloud/data "$pkgdir"/usr/share/webapps/owncloud/data || exit 1 + install -m640 ../owncloud.config.php "$pkgdir"/etc/owncloud/config/config.php } pgsql() { @@ -48,4 +50,5 @@ sqlite() { mkdir -p "$subpkgdir"/usr/share/webapps/owncloud } -md5sums="5d7896053591916a6a5e00e9669cc284 owncloud-4.0.4.tar.bz2" +md5sums="5d7896053591916a6a5e00e9669cc284 owncloud-4.0.4.tar.bz2 +ffca86e31918c3b73878e72148ba9134 owncloud.config.php" diff --git a/testing/owncloud/owncloud.config.php b/testing/owncloud/owncloud.config.php new file mode 100644 index 0000000000..c8878450ba --- /dev/null +++ b/testing/owncloud/owncloud.config.php @@ -0,0 +1,11 @@ + '/var/lib/owncloud/data', +"version" => '4.0.4', +"dbname" => 'owncloud', +"dbhost" => 'localhost', +"dbuser" => 'owncloud', +"installed" => false, +"loglevel" => '0', +); +?> -- cgit v1.2.3