[arch-commits] Commit in owncloud/repos/community-any (4 files)
Sergej Pupykin
spupykin at archlinux.org
Wed May 4 13:19:32 UTC 2016
Date: Wednesday, May 4, 2016 @ 15:19:32
Author: spupykin
Revision: 173719
archrelease: copy trunk to community-any
Added:
owncloud/repos/community-any/PKGBUILD
(from rev 173718, owncloud/trunk/PKGBUILD)
owncloud/repos/community-any/apache.example.conf
(from rev 173718, owncloud/trunk/apache.example.conf)
Deleted:
owncloud/repos/community-any/PKGBUILD
owncloud/repos/community-any/apache.example.conf
---------------------+
PKGBUILD | 210 ++++++++++++++++++++++++--------------------------
apache.example.conf | 36 ++++----
2 files changed, 121 insertions(+), 125 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-05-04 13:19:20 UTC (rev 173718)
+++ PKGBUILD 2016-05-04 13:19:32 UTC (rev 173719)
@@ -1,107 +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=9.0.1
-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: file preview')
-makedepends=()
-options=('!strip')
-backup=('etc/webapps/owncloud/apache.example.conf')
-validpgpkeys=('E3036906AD9F30807351FAC32D5D5E97F6978A26')
-_watch="https://owncloud.org/changelog/"
-#source=("http://download.owncloud.org/community/$pkgname-${pkgver}.tar.bz2"{,.asc}
-source=("$pkgname-$pkgver.tar.gz::https://github.com/owncloud/core/archive/v$pkgver.tar.gz"
- "$pkgname-3rdparty-$pkgver.tar.gz::https://github.com/owncloud/3rdparty/archive/v$pkgver.tar.gz"
- "$pkgname-apps-$pkgver.tar.gz::https://github.com/owncloud/apps/archive/v$pkgver.tar.gz"
- "$pkgname-updater-$pkgver.tar.gz::https://github.com/owncloud/updater/archive/v$pkgver.tar.gz"
- "$pkgname-templateeditor-$pkgver.tar.gz::https://github.com/owncloud/templateeditor/archive/v$pkgver.tar.gz"
- "$pkgname-firstrunwizard-$pkgver.tar.gz::https://github.com/owncloud/firstrunwizard/archive/v$pkgver.tar.gz"
- "$pkgname-files_texteditor-$pkgver.tar.gz::https://github.com/owncloud/files_texteditor/archive/v$pkgver.tar.gz"
-# "$pkgname-files_locking-$pkgver.tar.gz::https://github.com/owncloud/files_locking/archive/v$pkgver.tar.gz"
- "$pkgname-files_pdfviewer-$pkgver.tar.gz::https://github.com/owncloud/files_pdfviewer/archive/v$pkgver.tar.gz"
- "$pkgname-activity-$pkgver.tar.gz::https://github.com/owncloud/activity/archive/v$pkgver.tar.gz"
- https://github.com/owncloud/core/commit/238dbe9252e50ce38449045a8c2e8115a082bd1a.patch
- 'apache.example.conf')
-md5sums=('c1d6f9bf8a59018be508663687aef61d'
- '96fd8d84aa17aa7e845c7d05ffeae3c1'
- '25f9d61ee46f90ffae4027c6fcac17a9'
- 'cca0acb938fab1e296accb51e6d53d76'
- '52db51846632ec5d46d0a06f4c555fa0'
- 'fb96741b70ed4e64a1bdaacf3317d570'
- 'df309f6305cf2356a89f1141a227f68f'
- '7a50eceaa908a558ec934177b95f6aa9'
- 'b4cec8c375c409ab09b7f897b1c84c90'
- '5df895f9b5771f623a0033c28a5dc446'
- '825bc73b2b661f90308dd9d5b570e481')
-
-prepare() {
- cd $srcdir/core-$pkgver
-
- patch -p5 lib/private/appframework/http/request.php <$srcdir/238dbe9252e50ce38449045a8c2e8115a082bd1a.patch
-
- sed -i "s|'appstoreenabled'.*|'appstoreenabled' => false,|" config/config.sample.php
- rm -rf $srcdir/core-$pkgver/3rdparty
- mv $srcdir/3rdparty-$pkgver $srcdir/core-$pkgver/3rdparty
- mv $srcdir/apps-$pkgver/* $srcdir/core-$pkgver/apps
-
-# for i in files_locking files_pdfviewer files_texteditor firstrunwizard \
- for i in files_pdfviewer files_texteditor firstrunwizard \
- templateeditor updater activity; do
- mv $srcdir/$i-$pkgver $srcdir/core-$pkgver/apps/$i
- done
- find . -type f -name .gitattributes -delete
- find . -type f -name .gitkeep -delete
- find . -type f -name .gitignore -delete
- find . -type f -name .gitmodules -delete
- find . -type f -name .travis.yml -delete
- find . -type d -name .git -exec rm -rf {} \;
- find ./apps -maxdepth 1 -type f -delete
-}
-
-package() {
- # install license
- install -d ${pkgdir}/usr/share/licenses/${pkgname}
- cp ${srcdir}/core-$pkgver/COPYING-* ${pkgdir}/usr/share/licenses/${pkgname}
-
- # install project
- install -d ${pkgdir}/usr/share/webapps/
- cp -a ${srcdir}/core-$pkgver ${pkgdir}/usr/share/webapps/${pkgname}
- rm -rf ${pkgdir}/usr/share/webapps/${pkgname}/tests
-
- # 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
- chown -R root:http ${pkgdir}/usr/share/webapps/${pkgname}
-
- find ${pkgdir}/usr/share/webapps/owncloud -type f -exec chmod 0644 {} \;
- find ${pkgdir}/usr/share/webapps/owncloud -type d -exec chmod 0755 {} \;
-# find ${pkgdir}/etc/webapps/owncloud -type f -print0 | xargs -0 chmod 0640
-# find ${pkgdir}/etc/webapps/owncloud -type d -print0 | xargs -0 chmod 0750
-
- chmod a+x ${pkgdir}/usr/share/webapps/${pkgname}/occ
-}
Copied: owncloud/repos/community-any/PKGBUILD (from rev 173718, owncloud/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-05-04 13:19:32 UTC (rev 173719)
@@ -0,0 +1,103 @@
+# $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=9.0.2
+pkgrel=1
+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: file preview')
+makedepends=()
+options=('!strip')
+backup=('etc/webapps/owncloud/apache.example.conf')
+validpgpkeys=('E3036906AD9F30807351FAC32D5D5E97F6978A26')
+_watch="https://owncloud.org/changelog/"
+#source=("http://download.owncloud.org/community/$pkgname-${pkgver}.tar.bz2"{,.asc}
+source=("$pkgname-$pkgver.tar.gz::https://github.com/owncloud/core/archive/v$pkgver.tar.gz"
+ "$pkgname-3rdparty-$pkgver.tar.gz::https://github.com/owncloud/3rdparty/archive/v$pkgver.tar.gz"
+ "$pkgname-apps-$pkgver.tar.gz::https://github.com/owncloud/apps/archive/v$pkgver.tar.gz"
+ "$pkgname-updater-$pkgver.tar.gz::https://github.com/owncloud/updater/archive/v$pkgver.tar.gz"
+ "$pkgname-templateeditor-$pkgver.tar.gz::https://github.com/owncloud/templateeditor/archive/v$pkgver.tar.gz"
+ "$pkgname-firstrunwizard-$pkgver.tar.gz::https://github.com/owncloud/firstrunwizard/archive/v$pkgver.tar.gz"
+ "$pkgname-files_texteditor-$pkgver.tar.gz::https://github.com/owncloud/files_texteditor/archive/v$pkgver.tar.gz"
+# "$pkgname-files_locking-$pkgver.tar.gz::https://github.com/owncloud/files_locking/archive/v$pkgver.tar.gz"
+ "$pkgname-files_pdfviewer-$pkgver.tar.gz::https://github.com/owncloud/files_pdfviewer/archive/v$pkgver.tar.gz"
+ "$pkgname-activity-$pkgver.tar.gz::https://github.com/owncloud/activity/archive/v$pkgver.tar.gz"
+ 'apache.example.conf')
+md5sums=('76b166a4e70b885dde64f8bf55ea10b4'
+ 'bb360a492160e39f4b34b706887665a4'
+ 'dfd9ef3a456b0b15d763553423f83df8'
+ '1dda570132b9c9da0891effb0dbdd374'
+ '1bb8976bbecb2613fad2593b2a4e89d6'
+ '502ef066f353a1a02699347a5f3b5a28'
+ 'dc7d1e32faf348517bbc78d880dbeb44'
+ 'a480ce37a663308c11d5a04d0d0c1402'
+ 'de0527afdb21ef8f42ba82d1f50f1230'
+ '825bc73b2b661f90308dd9d5b570e481')
+
+prepare() {
+ cd $srcdir/core-$pkgver
+
+ sed -i "s|'appstoreenabled'.*|'appstoreenabled' => false,|" config/config.sample.php
+ rm -rf $srcdir/core-$pkgver/3rdparty
+ mv $srcdir/3rdparty-$pkgver $srcdir/core-$pkgver/3rdparty
+ mv $srcdir/apps-$pkgver/* $srcdir/core-$pkgver/apps
+
+# for i in files_locking files_pdfviewer files_texteditor firstrunwizard \
+ for i in files_pdfviewer files_texteditor firstrunwizard \
+ templateeditor updater activity; do
+ mv $srcdir/$i-$pkgver $srcdir/core-$pkgver/apps/$i
+ done
+ find . -type f -name .gitattributes -delete
+ find . -type f -name .gitkeep -delete
+ find . -type f -name .gitignore -delete
+ find . -type f -name .gitmodules -delete
+ find . -type f -name .travis.yml -delete
+ find . -type d -name .git -exec rm -rf {} \;
+ find ./apps -maxdepth 1 -type f -delete
+}
+
+package() {
+ # install license
+ install -d ${pkgdir}/usr/share/licenses/${pkgname}
+ cp ${srcdir}/core-$pkgver/COPYING-* ${pkgdir}/usr/share/licenses/${pkgname}
+
+ # install project
+ install -d ${pkgdir}/usr/share/webapps/
+ cp -a ${srcdir}/core-$pkgver ${pkgdir}/usr/share/webapps/${pkgname}
+ rm -rf ${pkgdir}/usr/share/webapps/${pkgname}/tests
+
+ # 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
+ chown -R root:http ${pkgdir}/usr/share/webapps/${pkgname}
+
+ find ${pkgdir}/usr/share/webapps/owncloud -type f -exec chmod 0644 {} \;
+ find ${pkgdir}/usr/share/webapps/owncloud -type d -exec chmod 0755 {} \;
+# find ${pkgdir}/etc/webapps/owncloud -type f -print0 | xargs -0 chmod 0640
+# find ${pkgdir}/etc/webapps/owncloud -type d -print0 | xargs -0 chmod 0750
+
+ chmod a+x ${pkgdir}/usr/share/webapps/${pkgname}/occ
+}
Deleted: apache.example.conf
===================================================================
--- apache.example.conf 2016-05-04 13:19:20 UTC (rev 173718)
+++ apache.example.conf 2016-05-04 13:19:32 UTC (rev 173719)
@@ -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 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 173718, owncloud/trunk/apache.example.conf)
===================================================================
--- apache.example.conf (rev 0)
+++ apache.example.conf 2016-05-04 13:19:32 UTC (rev 173719)
@@ -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 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