aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Matei Pintilie <luca@lucamatei.com>2024-02-24 22:29:58 +0000
committerLuca Matei Pintilie <luca@lucamatei.com>2024-05-27 15:03:44 +0000
commitce13af93af422b8c8eab37863cb23158f16856d8 (patch)
treee4f32bf35085107caa7ba18accc4ba341e71b205
parent751364bde4007538007094a919a6c3eaf7210396 (diff)
downloadvoid-packages-user/luca/prosody.tar
void-packages-user/luca/prosody.tar.gz
void-packages-user/luca/prosody.tar.bz2
void-packages-user/luca/prosody.tar.lz
void-packages-user/luca/prosody.tar.xz
void-packages-user/luca/prosody.tar.zst
void-packages-user/luca/prosody.zip
prosody: update to 0.12.3.user/luca/prosody
-rw-r--r--srcpkgs/prosody/files/prosody.cfg.lua1
-rw-r--r--srcpkgs/prosody/files/prosody/run2
-rw-r--r--srcpkgs/prosody/template19
3 files changed, 10 insertions, 12 deletions
diff --git a/srcpkgs/prosody/files/prosody.cfg.lua b/srcpkgs/prosody/files/prosody.cfg.lua
index 4f0d2d1ba93..f0a961349d3 100644
--- a/srcpkgs/prosody/files/prosody.cfg.lua
+++ b/srcpkgs/prosody/files/prosody.cfg.lua
@@ -13,7 +13,6 @@
------ Void settings ------
-daemonize = false;
pidfile = "/run/prosody/prosody.pid"
---------- Server-wide settings ----------
diff --git a/srcpkgs/prosody/files/prosody/run b/srcpkgs/prosody/files/prosody/run
index e302e315d86..6425cdbb513 100644
--- a/srcpkgs/prosody/files/prosody/run
+++ b/srcpkgs/prosody/files/prosody/run
@@ -2,4 +2,4 @@
exec 2>&1
mkdir -p /run/prosody
chown prosody:prosody /run/prosody
-exec chpst -u prosody:prosody prosody
+exec chpst -u prosody:prosody prosody --no-daemonize
diff --git a/srcpkgs/prosody/template b/srcpkgs/prosody/template
index aa59bebadba..080ea5ed112 100644
--- a/srcpkgs/prosody/template
+++ b/srcpkgs/prosody/template
@@ -1,17 +1,17 @@
# Template file for 'prosody'
pkgname=prosody
-version=0.12.1
-revision=4
+version=0.12.3
+revision=1
build_style=configure
configure_args="
--ostype=linux
--prefix=/usr
--no-example-certs
- --with-lua-include=${XBPS_CROSS_BASE}/usr/include/lua5.1
+ --with-lua-include=${XBPS_CROSS_BASE}/usr/include/lua5.4
--with-lua=${XBPS_CROSS_BASE}/usr
- --lua-version=5.1
- --lua-suffix=5.1
- --runwith=lua5.1"
+ --lua-version=5.4
+ --lua-suffix=5.4
+ --runwith=lua5.4"
conf_files="
/etc/prosody/prosody.cfg.lua
/etc/prosody/certs/localhost.cnf
@@ -19,16 +19,15 @@ conf_files="
/etc/prosody/certs/makefile
/etc/prosody/certs/GNUmakefile"
make_dirs="/var/lib/prosody 0755 prosody prosody"
-makedepends="lua51-devel openssl-devel libidn-devel icu-devel"
-depends="lua51-luasocket lua51-luafilesystem lua51-luaexpat lua51-luasec
- lua51-BitOp"
+makedepends="lua54-devel openssl-devel libidn-devel icu-devel"
+depends="lua54-luasocket lua54-luafilesystem lua54-luaexpat lua54-luasec lua54-unbound"
short_desc="Lightweight and extensible Jabber/XMPP server written in Lua"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://prosody.im/"
changelog="https://prosody.im/doc/release/${version}"
distfiles="https://prosody.im/downloads/source/${pkgname}-${version}.tar.gz"
-checksum=a7ecbbe41f01a4251805593ac6d15dbc6cb75d9c7a876c76b456cf74ff4b90e5
+checksum=35da0d031ff46040a2d638e004d4255e249b6323fe6212db9ddd76b401db2101
system_accounts="prosody"
prosody_homedir="/var/lib/prosody"