[arch-commits] Commit in owncloud/repos (3 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon Jan 13 15:14:59 UTC 2014
Date: Monday, January 13, 2014 @ 16:14:58
Author: spupykin
Revision: 103903
archrelease: copy trunk to community-any
Added:
owncloud/repos/community-any/
owncloud/repos/community-any/PKGBUILD
(from rev 103902, owncloud/trunk/PKGBUILD)
owncloud/repos/community-any/apache.example.conf
(from rev 103902, owncloud/trunk/apache.example.conf)
---------------------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
apache.example.conf | 17 +++++++++++++++++
2 files changed, 62 insertions(+)
Copied: owncloud/repos/community-any/PKGBUILD (from rev 103902, owncloud/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2014-01-13 15:14:58 UTC (rev 103903)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# 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
+}
Copied: owncloud/repos/community-any/apache.example.conf (from rev 103902, owncloud/trunk/apache.example.conf)
===================================================================
--- community-any/apache.example.conf (rev 0)
+++ community-any/apache.example.conf 2014-01-13 15:14:58 UTC (rev 103903)
@@ -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