[arch-commits] Commit in nextcloud/repos/community-any (6 files)
Sergej Pupykin
spupykin at archlinux.org
Sun Jul 19 10:49:08 UTC 2020
Date: Sunday, July 19, 2020 @ 10:49:07
Author: spupykin
Revision: 664536
archrelease: copy trunk to community-any
Added:
nextcloud/repos/community-any/PKGBUILD
(from rev 664535, nextcloud/trunk/PKGBUILD)
nextcloud/repos/community-any/apache.example.conf
(from rev 664535, nextcloud/trunk/apache.example.conf)
nextcloud/repos/community-any/nextcloud.hook
(from rev 664535, nextcloud/trunk/nextcloud.hook)
Deleted:
nextcloud/repos/community-any/PKGBUILD
nextcloud/repos/community-any/apache.example.conf
nextcloud/repos/community-any/nextcloud.hook
---------------------+
PKGBUILD | 114 +++++++++++++++++++++++++-------------------------
apache.example.conf | 34 +++++++-------
nextcloud.hook | 26 +++++------
3 files changed, 87 insertions(+), 87 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-19 10:48:57 UTC (rev 664535)
+++ PKGBUILD 2020-07-19 10:49:07 UTC (rev 664536)
@@ -1,57 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=nextcloud
-pkgver=19.0.0
-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=()
-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'
- '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'
- 'nextcloud.hook')
-sha256sums=('d23d429657c5e3476d7e73af1eafc70e42a81cfe2ed65b20655a005724fe0aae'
- 'SKIP'
- '30a8ad62b0dc9523ca7f0387b1f0483d196c1e011ec7e3a5b98e7d33c721d4bf'
- 'd084cd6423c03f98087884b3c7b81f9510d1bea6c518860b64787a7f976cf0d3')
-
-package() {
- depends=('php>=7.4.0' 'php<7.5.0' 'php-gd')
-
- # 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
-
-# install -Dm0644 "$srcdir"/nextcloud.hook "$pkgdir"/usr/share/libalpm/hooks/nextcloud.hook
-}
Copied: nextcloud/repos/community-any/PKGBUILD (from rev 664535, nextcloud/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-19 10:49:07 UTC (rev 664536)
@@ -0,0 +1,57 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=nextcloud
+pkgver=19.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=()
+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'
+ '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'
+ 'nextcloud.hook')
+sha256sums=('4ef311e00d939915d3a9714cd3a1ad436db9157e04620e4a88c2f427e5e65b2d'
+ 'SKIP'
+ '30a8ad62b0dc9523ca7f0387b1f0483d196c1e011ec7e3a5b98e7d33c721d4bf'
+ 'd084cd6423c03f98087884b3c7b81f9510d1bea6c518860b64787a7f976cf0d3')
+
+package() {
+ depends=('php>=7.4.0' 'php<7.5.0' 'php-gd')
+
+ # 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
+
+# install -Dm0644 "$srcdir"/nextcloud.hook "$pkgdir"/usr/share/libalpm/hooks/nextcloud.hook
+}
Deleted: apache.example.conf
===================================================================
--- apache.example.conf 2020-07-19 10:48:57 UTC (rev 664535)
+++ apache.example.conf 2020-07-19 10:49:07 UTC (rev 664536)
@@ -1,17 +0,0 @@
-<IfModule mod_alias.c>
- Alias /nextcloud /usr/share/webapps/nextcloud/
-</IfModule>
-
-<Directory /usr/share/webapps/nextcloud/>
- Options FollowSymlinks
- AllowOverride all
- Require all granted
-</Directory>
-
-<VirtualHost *:80>
- ServerAdmin foo at foofarm.com
- DocumentRoot /usr/share/webapps/nextcloud
- ServerName nextcloud.foo.com
- ErrorLog /var/log/httpd/nextcloud.foo.info-error_log
- CustomLog /var/log/httpd/nextcloud.foo.info-access_log common
-</VirtualHost>
Copied: nextcloud/repos/community-any/apache.example.conf (from rev 664535, nextcloud/trunk/apache.example.conf)
===================================================================
--- apache.example.conf (rev 0)
+++ apache.example.conf 2020-07-19 10:49:07 UTC (rev 664536)
@@ -0,0 +1,17 @@
+<IfModule mod_alias.c>
+ Alias /nextcloud /usr/share/webapps/nextcloud/
+</IfModule>
+
+<Directory /usr/share/webapps/nextcloud/>
+ Options FollowSymlinks
+ AllowOverride all
+ Require all granted
+</Directory>
+
+<VirtualHost *:80>
+ ServerAdmin foo at foofarm.com
+ DocumentRoot /usr/share/webapps/nextcloud
+ ServerName nextcloud.foo.com
+ ErrorLog /var/log/httpd/nextcloud.foo.info-error_log
+ CustomLog /var/log/httpd/nextcloud.foo.info-access_log common
+</VirtualHost>
Deleted: nextcloud.hook
===================================================================
--- nextcloud.hook 2020-07-19 10:48:57 UTC (rev 664535)
+++ nextcloud.hook 2020-07-19 10:49:07 UTC (rev 664536)
@@ -1,13 +0,0 @@
-# Update Nextcloud when core or -apps are touched
-
-[Trigger]
-Operation = Install
-Operation = Upgrade
-Type = Package
-Target = nextcloud
-Target = nextcloud-app-*
-
-[Action]
-Description = Updating Nextcloud installation
-When = PostTransaction
-Exec = /usr/bin/runuser -u http -- /usr/bin/php /usr/share/webapps/nextcloud/occ upgrade
Copied: nextcloud/repos/community-any/nextcloud.hook (from rev 664535, nextcloud/trunk/nextcloud.hook)
===================================================================
--- nextcloud.hook (rev 0)
+++ nextcloud.hook 2020-07-19 10:49:07 UTC (rev 664536)
@@ -0,0 +1,13 @@
+# Update Nextcloud when core or -apps are touched
+
+[Trigger]
+Operation = Install
+Operation = Upgrade
+Type = Package
+Target = nextcloud
+Target = nextcloud-app-*
+
+[Action]
+Description = Updating Nextcloud installation
+When = PostTransaction
+Exec = /usr/bin/runuser -u http -- /usr/bin/php /usr/share/webapps/nextcloud/occ upgrade
More information about the arch-commits
mailing list