mirror of
https://github.com/moparisthebest/arch-ppa
synced 2024-11-24 17:42:19 -05:00
Upgrade nextcloud and prosody
This commit is contained in:
parent
2dfbcd36f7
commit
fee8068db3
@ -1,11 +1,10 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Tue Dec 13 17:41:39 UTC 2016
|
||||
# Tue Dec 20 12:49:51 UTC 2016
|
||||
pkgbase = nextcloud
|
||||
pkgdesc = A safe home for all your data. Secure, under your control and developed in an open, transparent and trustworthy way
|
||||
pkgver = 11.0.0
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://nextcloud.com
|
||||
install = nextcloud.install
|
||||
arch = any
|
||||
license = AGPL
|
||||
depends = php
|
||||
@ -31,7 +30,7 @@ pkgbase = nextcloud
|
||||
md5sums = 2c3e6655c6fc81b02b5ac824e5f6ad06
|
||||
md5sums = SKIP
|
||||
md5sums = bc2b02b0562b7a58e660e33acd4202bc
|
||||
md5sums = 0c996a76cf39b2bccde8d74ac062895e
|
||||
md5sums = 13780e7de28cd3a8796d3345a2bf8d42
|
||||
|
||||
pkgname = nextcloud
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
pkgname=nextcloud
|
||||
pkgver=11.0.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A safe home for all your data. Secure, under your control and developed in an open, transparent and trustworthy way"
|
||||
url="https://nextcloud.com"
|
||||
arch=('any')
|
||||
@ -21,7 +21,6 @@ optdepends=('php-apache: to use the Apache web server'
|
||||
'ffmpeg: file preview'
|
||||
'libreoffice: file preview')
|
||||
options=('!strip')
|
||||
install=${pkgname}.install
|
||||
validpgpkeys=('28806A878AE423A28372792ED75899B9A724937A')
|
||||
source=("https://download.nextcloud.com/server/releases/nextcloud-${pkgver}.tar.bz2"{,.asc}
|
||||
"apache.example.conf"
|
||||
@ -30,7 +29,7 @@ source=("https://download.nextcloud.com/server/releases/nextcloud-${pkgver}.tar.
|
||||
md5sums=('2c3e6655c6fc81b02b5ac824e5f6ad06'
|
||||
'SKIP'
|
||||
'bc2b02b0562b7a58e660e33acd4202bc'
|
||||
'0c996a76cf39b2bccde8d74ac062895e')
|
||||
'13780e7de28cd3a8796d3345a2bf8d42')
|
||||
_fetchedMD5=$(curl -sS https://download.nextcloud.com/server/releases/nextcloud-${pkgver}.tar.bz2.md5)
|
||||
IFS=' '; _arrFetchedMD5=($_fetchedMD5); unset IFS;
|
||||
_fetchedMD5=${_arrFetchedMD5[0]}
|
||||
@ -49,10 +48,8 @@ package() {
|
||||
mkdir -p "${pkgdir}/usr/share/webapps"
|
||||
cp -a nextcloud "${pkgdir}/usr/share/webapps/."
|
||||
|
||||
find "${pkgdir}/usr/share/webapps/nextcloud/" -type f -print0 | xargs -0 chmod 0640
|
||||
find "${pkgdir}/usr/share/webapps/nextcloud/" -type d -print0 | xargs -0 chmod 0750
|
||||
chmod 0664 "${pkgdir}/usr/share/webapps/nextcloud/.user.ini"
|
||||
chmod 0664 "${pkgdir}/usr/share/webapps/nextcloud/.htaccess"
|
||||
# set the proper permissions
|
||||
"${srcdir}/set-nc-perms.sh" runtime "${pkgdir}/usr/share/webapps/nextcloud"
|
||||
|
||||
install -D -m755 "${srcdir}/set-nc-perms.sh" "${pkgdir}/usr/bin/set-nc-perms"
|
||||
install -m644 -D "${srcdir}/apache.example.conf" -t "${pkgdir}/etc/webapps/nextcloud"
|
||||
|
@ -3,7 +3,12 @@
|
||||
# run with the argument "runtime" to set the proper runtime permissions
|
||||
# run with the argument "upgrade" to set the proper upgrade permissions
|
||||
|
||||
ncpath='/usr/share/webapps/nextcloud'
|
||||
if [ -d "$2/apps" ]; then
|
||||
ncpath="$2"
|
||||
else
|
||||
ncpath='/usr/share/webapps/nextcloud'
|
||||
fi
|
||||
|
||||
htuser='http'
|
||||
htgroup='http'
|
||||
rootuser='root'
|
||||
|
@ -1,8 +1,8 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Thu Dec 15 23:58:27 UTC 2016
|
||||
# Mon Dec 19 23:58:29 UTC 2016
|
||||
pkgbase = prosody-hg-stable
|
||||
pkgdesc = Lightweight and extensible Jabber/XMPP server written in Lua (stable build from 0.10-branch)
|
||||
pkgver = 0.10.r7092+.200f1f6306a7+
|
||||
pkgver = 0.10.r7094+.0310ab4f277f+
|
||||
pkgrel = 1
|
||||
url = https://prosody.im/
|
||||
install = prosody.install
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
pkgname=prosody-hg-stable
|
||||
pkgrel=1
|
||||
pkgver=0.10.r7092+.200f1f6306a7+
|
||||
pkgver=0.10.r7094+.0310ab4f277f+
|
||||
pkgver() {
|
||||
cd "$srcdir/prosody-hg"
|
||||
printf "0.10.r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
|
||||
|
Loading…
Reference in New Issue
Block a user