mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 22:07:19 +02:00
community/prosody: upgrade to 0.12.3
and use lua5.4
This commit is contained in:
parent
227ef7ac04
commit
b452c6a0b0
@ -1,16 +1,29 @@
|
|||||||
# Contributor: Mika Havela <mika.havela@gmail.com>
|
# Contributor: Mika Havela <mika.havela@gmail.com>
|
||||||
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||||
_luaver=5.2
|
_luaver=5.4
|
||||||
pkgname=prosody
|
pkgname=prosody
|
||||||
pkgver=0.12.2
|
pkgver=0.12.3
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Lua based Jabber/XMPP server"
|
pkgdesc="Lua based Jabber/XMPP server"
|
||||||
url="https://prosody.im/"
|
url="https://prosody.im/"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
depends="lua$_luaver-socket lua$_luaver-expat lua$_luaver-filesystem
|
depends="
|
||||||
lua$_luaver-sec lua$_luaver lua$_luaver-busted icu-data-full"
|
icu-data-full
|
||||||
makedepends="linux-headers lua$_luaver-dev libidn-dev openssl-dev>3 icu-dev"
|
lua$_luaver
|
||||||
|
lua$_luaver-busted
|
||||||
|
lua$_luaver-expat
|
||||||
|
lua$_luaver-filesystem
|
||||||
|
lua$_luaver-sec
|
||||||
|
lua$_luaver-socket
|
||||||
|
"
|
||||||
|
makedepends="
|
||||||
|
icu-dev
|
||||||
|
libidn-dev
|
||||||
|
linux-headers
|
||||||
|
lua$_luaver-dev
|
||||||
|
openssl-dev>3
|
||||||
|
"
|
||||||
checkdepends="lua-busted"
|
checkdepends="lua-busted"
|
||||||
install="prosody.pre-install"
|
install="prosody.pre-install"
|
||||||
subpackages="$pkgname-doc $pkgname-openrc"
|
subpackages="$pkgname-doc $pkgname-openrc"
|
||||||
@ -66,8 +79,8 @@ package() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
dd14d2740b67127e7edcf79db7d1fd81b4566d4a285430edb9dd7263ad109fdd6e581a1d93fcbf971f73fa5ba051ae7935a121d31e3e7448cacfcd8ecbd802bb prosody-0.12.2.tar.gz
|
5654aabd83561bea8a10387a242800e92df8db183b6273579d710599ffc458c5b545758ee742fb929a19a2fad9c33700787bc7aa348a8527caef03e80bc2edc4 prosody-0.12.3.tar.gz
|
||||||
20bc16c981072be39f967d27ed983aaae16383d922172a4f0751858d4bd12a521496d5f621ef178e9a0da61102d4c01ba709f63ad9ddf5b8e55fbb5f6793e7cb prosody.logrotate
|
20bc16c981072be39f967d27ed983aaae16383d922172a4f0751858d4bd12a521496d5f621ef178e9a0da61102d4c01ba709f63ad9ddf5b8e55fbb5f6793e7cb prosody.logrotate
|
||||||
24360603dbd5d2a92758e6c4b4aab4f02cbd05373580cba2df76df98b6045891e8108e8c2d16af9508e93968ed5880db952e7a21b2742ebeec6f14b167968c2c prosody.initd
|
cb4bea9590342aba52d06a997112eacc09cc4df3ad092eb3677a81f2f6a0d422b0983b3947cfe22241a019121fe09c6bd282b68924107dfcc5c6bbd71435eb63 prosody.initd
|
||||||
c0a7e606d394844997434a92eb648a84e60da23b3c0cbebe6d82d85ee2d5d542fe69c524ddca47ad7c6daa967895581bb6f73c854dcd09d03bbf0a5de5c72def prosody.cfg.lua.patch
|
1d5426a1c36ec34f47e3953dbe0522ca0bfbf97f86ae622a13db792025c0779049d958f4f899f4d14dfd085a90d7d6d3f1b7ee42f37963e305878ad239f822c9 prosody.cfg.lua.patch
|
||||||
"
|
"
|
||||||
|
@ -7,7 +7,7 @@ index 267a650..ce00478 100644
|
|||||||
-- blanks. Good luck, and happy Jabbering!
|
-- blanks. Good luck, and happy Jabbering!
|
||||||
|
|
||||||
+daemonize = true
|
+daemonize = true
|
||||||
+pidfile = "/var/run/prosody/prosody.pid"
|
+pidfile = "/run/prosody/prosody.pid"
|
||||||
|
|
||||||
---------- Server-wide settings ----------
|
---------- Server-wide settings ----------
|
||||||
-- Settings in this section apply to the whole server and are the default settings
|
-- Settings in this section apply to the whole server and are the default settings
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
description="Prosody is a server for prosody/XMPP written in Lua."
|
description="Prosody is a server for prosody/XMPP written in Lua."
|
||||||
description_reload="Reload configuration and reopen log files."
|
description_reload="Reload configuration and reopen log files."
|
||||||
extra_started_commands="reload"
|
extra_started_commands="reload"
|
||||||
pidfile="/var/run/prosody/prosody.pid"
|
pidfile="/run/prosody/prosody.pid"
|
||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
use dns
|
use dns
|
||||||
@ -19,7 +19,7 @@ checkconfig() {
|
|||||||
eerror "You need a /etc/prosody/prosody.cfg.lua file to run prosody"
|
eerror "You need a /etc/prosody/prosody.cfg.lua file to run prosody"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
luac5.2 -p /etc/prosody/prosody.cfg.lua
|
luac5.4 -p /etc/prosody/prosody.cfg.lua
|
||||||
return $?
|
return $?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user