Date: Wednesday, September 21, 2016 @ 16:24:25 Author: spupykin Revision: 190120
archrelease: copy trunk to community-any Added: owncloud/repos/community-any/PKGBUILD (from rev 190119, owncloud/trunk/PKGBUILD) owncloud/repos/community-any/apache.example.conf (from rev 190119, owncloud/trunk/apache.example.conf) Deleted: owncloud/repos/community-any/PKGBUILD owncloud/repos/community-any/apache.example.conf ---------------------+ PKGBUILD | 141 +++++++++++++++++++++++++------------------------- apache.example.conf | 36 ++++++------ 2 files changed, 90 insertions(+), 87 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-09-21 16:24:14 UTC (rev 190119) +++ PKGBUILD 2016-09-21 16:24:25 UTC (rev 190120) @@ -1,69 +0,0 @@ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Maintainer: Antonio Rojas <nqn1976 @ gmail.com> -# Based on owncloud-git PKGBUILD by Alexander Ovsyannikov - -pkgname=owncloud -pkgver=9.1.0 -pkgrel=1 -pkgdesc="A cloud server to store your files centrally on a hardware controlled by you" -arch=('any') -url="https://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' - 'ffmpeg: file preview' - 'libreoffice: file preview') -conflicts=('owncloud-app-gallery') -replaces=('owncloud-app-gallery') -options=('!strip') -backup=('etc/webapps/owncloud/apache.example.conf') -validpgpkeys=('E3036906AD9F30807351FAC32D5D5E97F6978A26') -source=("https://download.owncloud.org/community/owncloud-${pkgver}.tar.bz2"{,.asc} - 'apache.example.conf') -sha256sums=('845c43fe981fa0fd07fc3708f41f1ea15ecb11c2a15c65a4de191fc85b237c74' - 'SKIP' - '4a2ad4b4ecc6ede355bec9a21cbf8c8c4b9144033bdf0ed3366617bcb4df1144') -sha256sums=('5cf45c1b75434496635a58fcbece668bc0abb40f04d8304ce6d01e6b75887f60' - 'SKIP' - '4a2ad4b4ecc6ede355bec9a21cbf8c8c4b9144033bdf0ed3366617bcb4df1144') -sha256sums=('ab71e8648c918629f6551333c45dd3b79d90f1dc0171d3def0a443bdc238a669' - 'SKIP' - '4a2ad4b4ecc6ede355bec9a21cbf8c8c4b9144033bdf0ed3366617bcb4df1144') -sha256sums=('26df5f51ae87f83dba93c130a1929278afe69f9426b877e3c5064034bec28ee3' - 'SKIP' - '4a2ad4b4ecc6ede355bec9a21cbf8c8c4b9144033bdf0ed3366617bcb4df1144') - -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 -R ${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 - install -d ${pkgdir}/etc/webapps/${pkgname} - mv ${pkgdir}/usr/share/webapps/${pkgname}/config ${pkgdir}/etc/webapps/${pkgname}/config - chown -R http:http ${pkgdir}/etc/webapps/${pkgname} - ln -s /etc/webapps/${pkgname}/config ${pkgdir}/usr/share/webapps/${pkgname}/config - chown -R root:http ${pkgdir}/usr/share/webapps/${pkgname} - - find ${pkgdir}/usr/share/webapps/${pkgname} -type f -exec chmod 0644 {} \; - find ${pkgdir}/usr/share/webapps/${pkgname} -type d -exec chmod 0755 {} \; - - chmod a+x ${pkgdir}/usr/share/webapps/${pkgname}/occ -} Copied: owncloud/repos/community-any/PKGBUILD (from rev 190119, owncloud/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-09-21 16:24:25 UTC (rev 190120) @@ -0,0 +1,72 @@ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: Antonio Rojas <nqn1976 @ gmail.com> +# Based on owncloud-git PKGBUILD by Alexander Ovsyannikov + +pkgname=owncloud +pkgver=9.1.1 +pkgrel=1 +pkgdesc="A cloud server to store your files centrally on a hardware controlled by you" +arch=('any') +url="https://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' + 'ffmpeg: file preview' + 'libreoffice: file preview') +conflicts=('owncloud-app-gallery') +replaces=('owncloud-app-gallery') +options=('!strip') +backup=('etc/webapps/owncloud/apache.example.conf') +validpgpkeys=('E3036906AD9F30807351FAC32D5D5E97F6978A26') +source=("https://download.owncloud.org/community/owncloud-${pkgver}.tar.bz2"{,.asc} + 'apache.example.conf') +sha256sums=('845c43fe981fa0fd07fc3708f41f1ea15ecb11c2a15c65a4de191fc85b237c74' + 'SKIP' + '4a2ad4b4ecc6ede355bec9a21cbf8c8c4b9144033bdf0ed3366617bcb4df1144') +sha256sums=('5cf45c1b75434496635a58fcbece668bc0abb40f04d8304ce6d01e6b75887f60' + 'SKIP' + '4a2ad4b4ecc6ede355bec9a21cbf8c8c4b9144033bdf0ed3366617bcb4df1144') +sha256sums=('ab71e8648c918629f6551333c45dd3b79d90f1dc0171d3def0a443bdc238a669' + 'SKIP' + '4a2ad4b4ecc6ede355bec9a21cbf8c8c4b9144033bdf0ed3366617bcb4df1144') +sha256sums=('26df5f51ae87f83dba93c130a1929278afe69f9426b877e3c5064034bec28ee3' + 'SKIP' + '4a2ad4b4ecc6ede355bec9a21cbf8c8c4b9144033bdf0ed3366617bcb4df1144') +sha256sums=('a6bf3531ebb7e09a11aaae641bc3af933f339261424782841c640bf9df1ba7b9' + 'SKIP' + '4a2ad4b4ecc6ede355bec9a21cbf8c8c4b9144033bdf0ed3366617bcb4df1144') + +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 -R ${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 + install -d ${pkgdir}/etc/webapps/${pkgname} + mv ${pkgdir}/usr/share/webapps/${pkgname}/config ${pkgdir}/etc/webapps/${pkgname}/config + chown -R http:http ${pkgdir}/etc/webapps/${pkgname} + ln -s /etc/webapps/${pkgname}/config ${pkgdir}/usr/share/webapps/${pkgname}/config + chown -R root:http ${pkgdir}/usr/share/webapps/${pkgname} + + find ${pkgdir}/usr/share/webapps/${pkgname} -type f -exec chmod 0644 {} \; + find ${pkgdir}/usr/share/webapps/${pkgname} -type d -exec chmod 0755 {} \; + + chmod a+x ${pkgdir}/usr/share/webapps/${pkgname}/occ +} Deleted: apache.example.conf =================================================================== --- apache.example.conf 2016-09-21 16:24:14 UTC (rev 190119) +++ apache.example.conf 2016-09-21 16:24:25 UTC (rev 190120) @@ -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/:/dev/urandom:/tmp/:/usr/share/pear/:/usr/share/webapps/owncloud/:/etc/webapps/owncloud" -</Directory> - -<VirtualHost *:80> - ServerAdmin f...@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 190119, owncloud/trunk/apache.example.conf) =================================================================== --- apache.example.conf (rev 0) +++ apache.example.conf 2016-09-21 16:24:25 UTC (rev 190120) @@ -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/:/dev/urandom:/tmp/:/usr/share/pear/:/usr/share/webapps/owncloud/:/etc/webapps/owncloud" +</Directory> + +<VirtualHost *:80> + ServerAdmin f...@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>