[arch-commits] Commit in (5 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon Jan 13 15:12:48 UTC 2014
Date: Monday, January 13, 2014 @ 16:12:47
Author: spupykin
Revision: 103901
Added:
owncloud/
owncloud/repos/
owncloud/trunk/
owncloud/trunk/PKGBUILD
owncloud/trunk/apache.example.conf
---------------------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
apache.example.conf | 17 +++++++++++++++++
2 files changed, 60 insertions(+)
Added: owncloud/trunk/PKGBUILD
===================================================================
--- owncloud/trunk/PKGBUILD (rev 0)
+++ owncloud/trunk/PKGBUILD 2014-01-13 15:12:47 UTC (rev 103901)
@@ -0,0 +1,43 @@
+# Maintainer: Antonio Rojas <nqn1976 @ gmail.com>
+# Based on owncloud-git PKGBUILD by Alexander Ovsyannikov
+
+pkgname=owncloud
+pkgver=6.0.0.a
+_pkgver=6.0.0a
+pkgrel=2
+pkgdesc="A cloud server to store your files centrally on a hardware controlled by you"
+arch=('any')
+url="http://owncloud.org/"
+license=('GPL')
+depends=('php-gd' 'php-intl')
+optdepends=('php-apache: to use the Apache web server'
+ 'php-sqlite: to use the SQLite database backend'
+ 'php-pgsql: to use the PostgreSQL database backend'
+ 'mariadb: to use the MySQL database backend'
+ 'smbclient: to mount SAMBA shares'
+ 'php-mcrypt'
+ 'php-imagick: file preview'
+ 'ffmpeg: file preview'
+ 'libreoffice-common: file preview')
+makedepends=()
+options=('!strip')
+source=("http://download.owncloud.org/community/$pkgname-$_pkgver.tar.bz2"
+ 'apache.example.conf')
+backup=('etc/webapps/owncloud/apache.example.conf')
+md5sums=('63c2913aa8382f695d7ade5ad11e51b2'
+ 'c1d49a3c0d8433bed6bffcd21ebb0064')
+
+package() {
+ # install license
+ install -d $pkgdir/usr/share/licenses/$pkgname
+ cp $srcdir/$pkgname/COPYING-* $pkgdir/usr/share/licenses/$pkgname
+
+ # install project
+ install -d $pkgdir/usr/share/webapps/
+ cp -a $srcdir/$pkgname $pkgdir/usr/share/webapps/
+ chown -R http:http $pkgdir/usr/share/webapps/owncloud/{apps,config}
+
+ # install apache config file
+ install -d $pkgdir/etc/webapps/$pkgname
+ install -m 644 $srcdir/apache.example.conf $pkgdir/etc/webapps/$pkgname
+}
Added: owncloud/trunk/apache.example.conf
===================================================================
--- owncloud/trunk/apache.example.conf (rev 0)
+++ owncloud/trunk/apache.example.conf 2014-01-13 15:12:47 UTC (rev 103901)
@@ -0,0 +1,17 @@
+<IfModule mod_alias.c>
+Alias /owncloud /usr/share/webapps/owncloud/
+</IfModule>
+<Directory /usr/share/webapps/owncloud/>
+ Options FollowSymlinks
+ Order allow,deny
+ AllowOverride all
+ allow from all
+ php_admin_value open_basedir "/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/"
+</Directory>
+<VirtualHost *:80>
+ ServerAdmin foo at foofarm.com
+ DocumentRoot /usr/share/webapps/owncloud
+ ServerName owncloud.foo.com
+ ErrorLog logs/owncloud.foo.info-error_log
+ CustomLog logs/owncloud.foo.info-access_log common
+</VirtualHost>
\ No newline at end of file
More information about the arch-commits
mailing list