[arch-commits] Commit in owncloud/repos/community-any (4 files)
Sergej Pupykin
spupykin at archlinux.org
Mon Mar 2 18:44:30 UTC 2015
Date: Monday, March 2, 2015 @ 19:44:29
Author: spupykin
Revision: 128570
archrelease: copy trunk to community-any
Added:
owncloud/repos/community-any/PKGBUILD
(from rev 128569, owncloud/trunk/PKGBUILD)
owncloud/repos/community-any/apache.example.conf
(from rev 128569, owncloud/trunk/apache.example.conf)
Deleted:
owncloud/repos/community-any/PKGBUILD
owncloud/repos/community-any/apache.example.conf
---------------------+
PKGBUILD | 127 +++++++++++++++++++++++++-------------------------
apache.example.conf | 36 +++++++-------
2 files changed, 83 insertions(+), 80 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-03-02 18:44:14 UTC (rev 128569)
+++ PKGBUILD 2015-03-02 18:44:29 UTC (rev 128570)
@@ -1,62 +0,0 @@
-# $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=8.0.0
-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')
-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'
- 'php-ldap: LDAP authentication'
- 'php-intl'
- 'php-apcu'
- 'php-xcache'
- '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')
-backup=('etc/webapps/owncloud/apache.example.conf')
-validpgpkeys=('E3036906AD9F30807351FAC32D5D5E97F6978A26')
-source=("http://download.owncloud.org/community/$pkgname-${pkgver}.tar.bz2"{,.asc}
- 'apache.example.conf')
-md5sums=('d2c1366be0756c24e1f5cfc02f80269f'
- 'SKIP'
- '64c6edf88bcbb37d063e4bf77b39237f')
-
-prepare() {
- cd $srcdir/owncloud
- sed -i "s|'appstoreenabled'.*|'appstoreenabled' => false,|" config/config.sample.php
-}
-
-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/
-
- # install apache config file
- install -d ${pkgdir}/etc/webapps/${pkgname}
- install -m 644 ${srcdir}/apache.example.conf ${pkgdir}/etc/webapps/${pkgname}
-
- # move config to /etc
- mv ${pkgdir}/usr/share/webapps/owncloud/config ${pkgdir}/etc/webapps/${pkgname}/config
- chown -R http:http ${pkgdir}/etc/webapps/${pkgname}/config
- ln -s /etc/webapps/${pkgname}/config ${pkgdir}/usr/share/webapps/owncloud/config
-
- find ${pkgdir} -type f -print0 | xargs -0 chmod 0640
- find ${pkgdir} -type d -print0 | xargs -0 chmod 0750
-}
Copied: owncloud/repos/community-any/PKGBUILD (from rev 128569, owncloud/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-03-02 18:44:29 UTC (rev 128570)
@@ -0,0 +1,65 @@
+# $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=8.0.0
+pkgrel=3
+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')
+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'
+ 'php-ldap: LDAP authentication'
+ 'php-intl'
+ 'php-apcu'
+ 'php-xcache'
+ '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')
+backup=('etc/webapps/owncloud/apache.example.conf')
+validpgpkeys=('E3036906AD9F30807351FAC32D5D5E97F6978A26')
+source=("http://download.owncloud.org/community/$pkgname-${pkgver}.tar.bz2"{,.asc}
+ 'apache.example.conf')
+md5sums=('d2c1366be0756c24e1f5cfc02f80269f'
+ 'SKIP'
+ '64c6edf88bcbb37d063e4bf77b39237f')
+
+prepare() {
+ cd $srcdir/owncloud
+ sed -i "s|'appstoreenabled'.*|'appstoreenabled' => false,|" config/config.sample.php
+}
+
+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/
+
+ # install apache config file
+ install -d ${pkgdir}/etc/webapps/${pkgname}
+ install -m 644 ${srcdir}/apache.example.conf ${pkgdir}/etc/webapps/${pkgname}
+
+ # move config to /etc
+ mv ${pkgdir}/usr/share/webapps/owncloud/config ${pkgdir}/etc/webapps/${pkgname}/config
+ chown -R http:http ${pkgdir}/etc/webapps/${pkgname}
+ ln -s /etc/webapps/${pkgname}/config ${pkgdir}/usr/share/webapps/owncloud/config
+ chgrp -R http ${pkgdir}/usr/share/webapps/${pkgname}
+
+# find ${pkgdir}/usr/share/webapps/owncloud -type f -print0 | xargs -0 chmod 0640
+# find ${pkgdir}/usr/share/webapps/owncloud -type d -print0 | xargs -0 chmod 0750
+# find ${pkgdir}/etc/webapps/owncloud -type f -print0 | xargs -0 chmod 0640
+# find ${pkgdir}/etc/webapps/owncloud -type d -print0 | xargs -0 chmod 0750
+}
Deleted: apache.example.conf
===================================================================
--- apache.example.conf 2015-03-02 18:44:14 UTC (rev 128569)
+++ apache.example.conf 2015-03-02 18:44:29 UTC (rev 128570)
@@ -1,18 +0,0 @@
-<IfModule mod_alias.c>
- Alias /owncloud /usr/share/webapps/owncloud/
-</IfModule>
-
-<Directory /usr/share/webapps/owncloud/>
- Options FollowSymlinks
- AllowOverride all
- Require all granted
- php_admin_value open_basedir "/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/owncloud/:/etc/webapps/owncloud"
-</Directory>
-
-<VirtualHost *:80>
- ServerAdmin foo at foofarm.com
- DocumentRoot /usr/share/webapps/owncloud
- ServerName owncloud.foo.com
- ErrorLog /var/log/httpd/owncloud.foo.info-error_log
- CustomLog /var/log/httpd/owncloud.foo.info-access_log common
-</VirtualHost>
Copied: owncloud/repos/community-any/apache.example.conf (from rev 128569, owncloud/trunk/apache.example.conf)
===================================================================
--- apache.example.conf (rev 0)
+++ apache.example.conf 2015-03-02 18:44:29 UTC (rev 128570)
@@ -0,0 +1,18 @@
+<IfModule mod_alias.c>
+ Alias /owncloud /usr/share/webapps/owncloud/
+</IfModule>
+
+<Directory /usr/share/webapps/owncloud/>
+ Options FollowSymlinks
+ AllowOverride all
+ Require all granted
+ php_admin_value open_basedir "/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/owncloud/:/etc/webapps/owncloud"
+</Directory>
+
+<VirtualHost *:80>
+ ServerAdmin foo at foofarm.com
+ DocumentRoot /usr/share/webapps/owncloud
+ ServerName owncloud.foo.com
+ ErrorLog /var/log/httpd/owncloud.foo.info-error_log
+ CustomLog /var/log/httpd/owncloud.foo.info-access_log common
+</VirtualHost>
More information about the arch-commits
mailing list