[arch-commits] Commit in nextcloud/repos/community-any (4 files)
Sergej Pupykin
spupykin at archlinux.org
Mon Feb 27 15:57:58 UTC 2017
Date: Monday, February 27, 2017 @ 15:57:58
Author: spupykin
Revision: 214059
archrelease: copy trunk to community-any
Added:
nextcloud/repos/community-any/PKGBUILD
(from rev 214058, nextcloud/trunk/PKGBUILD)
nextcloud/repos/community-any/apache.example.conf
(from rev 214058, nextcloud/trunk/apache.example.conf)
Deleted:
nextcloud/repos/community-any/PKGBUILD
nextcloud/repos/community-any/apache.example.conf
---------------------+
PKGBUILD | 106 +++++++++++++++++++++++++-------------------------
apache.example.conf | 36 ++++++++--------
2 files changed, 71 insertions(+), 71 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-02-27 15:57:46 UTC (rev 214058)
+++ PKGBUILD 2017-02-27 15:57:58 UTC (rev 214059)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=nextcloud
-pkgver=11.0.1
-pkgrel=1
-pkgdesc="A cloud server to store your files centrally on a hardware controlled by you"
-arch=('any')
-url="https://nextcloud.com"
-license=('AGPL')
-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')
-options=('!strip')
-backup=('etc/webapps/nextcloud/apache.example.conf')
-validpgpkeys=('28806A878AE423A28372792ED75899B9A724937A')
-source=("https://download.nextcloud.com/server/releases/nextcloud-${pkgver}.tar.bz2"{,.asc}
- 'apache.example.conf')
-sha256sums=('00162bf454914a2acbe6a9ac47c9db9f411b99064f0736b43e73cabbd87f4629'
- 'SKIP'
- '4a2ad4b4ecc6ede355bec9a21cbf8c8c4b9144033bdf0ed3366617bcb4df1144')
-
-package() {
- # 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: nextcloud/repos/community-any/PKGBUILD (from rev 214058, nextcloud/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-02-27 15:57:58 UTC (rev 214059)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=nextcloud
+pkgver=11.0.2
+pkgrel=1
+pkgdesc="A cloud server to store your files centrally on a hardware controlled by you"
+arch=('any')
+url="https://nextcloud.com"
+license=('AGPL')
+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')
+options=('!strip')
+backup=('etc/webapps/nextcloud/apache.example.conf')
+validpgpkeys=('28806A878AE423A28372792ED75899B9A724937A')
+source=("https://download.nextcloud.com/server/releases/nextcloud-${pkgver}.tar.bz2"{,.asc}
+ 'apache.example.conf')
+sha256sums=('5d1ef19d8f1f340b46c05ba3741dcb043dfc84fc3b9e2cfce1409c71a89b8700'
+ 'SKIP'
+ '4a2ad4b4ecc6ede355bec9a21cbf8c8c4b9144033bdf0ed3366617bcb4df1144')
+
+package() {
+ # 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 2017-02-27 15:57:46 UTC (rev 214058)
+++ apache.example.conf 2017-02-27 15:57:58 UTC (rev 214059)
@@ -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: nextcloud/repos/community-any/apache.example.conf (from rev 214058, nextcloud/trunk/apache.example.conf)
===================================================================
--- apache.example.conf (rev 0)
+++ apache.example.conf 2017-02-27 15:57:58 UTC (rev 214059)
@@ -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