Patches for aports can be sent to this list

[alpine-aports] [PATCH] community/prosody: Fixed bug in prosody.initd

Marian Buschsieweke
Details
Message ID
<20180523185515.3921-1-marian.buschsieweke@ovgu.de>
Sender timestamp
1527101715
DKIM signature
missing
Download raw message
Patch: +2 -2
prosody.initd calls luac, but prosody only depends an lua5.2 which provides
luac5.2, but not luac. Calling luac5.2 instead luac allows the script to
run correctly with only the dependencies of the package installed.
---
 community/prosody/APKBUILD      | 2 +-
 community/prosody/prosody.initd | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/community/prosody/APKBUILD b/community/prosody/APKBUILD
index 3f50dd5044..758c397d99 100644
--- a/community/prosody/APKBUILD
+++ b/community/prosody/APKBUILD
@@ -58,4 +58,4 @@ package() {
 sha512sums="200083b004237b2d0aff5251abc8c3465a9d79c67b3cb43d1faaacfdd3dc3c4f7b06da2f8b6ed7f5b3bd72028764aae0600b545fc912a61d846258bde1237bae  prosody-0.10.1.tar.gz
 a6ca168fe3d11ee3b05295fb36dfaf8240c60a85507032b2502f9a97d3fd055f7eee38ba6efbb8f79472fc7cdd3556922194d0bd7099f7fb809be01890acc511  prosody.cfg.lua.patch
 b07498cd42677d09f1a3fd4a5d91a085e90dd10cee7d6ee7c5e41438cfc2f4049ab9948c0fd0f7e148dd81f6a25c64c6ae832ea4864cee2329d3c6735216b78b  mallinfo.patch
-11b0f5e4fa488e047c26aa5e51c35983100cdbf7ebbf7c8b6d003c8db7f52e797f93e4744d54b3094c82d722d5e4de62b5734376cb5e69a4c6127f8cb07a4347  prosody.initd"
+24360603dbd5d2a92758e6c4b4aab4f02cbd05373580cba2df76df98b6045891e8108e8c2d16af9508e93968ed5880db952e7a21b2742ebeec6f14b167968c2c  prosody.initd"
diff --git a/community/prosody/prosody.initd b/community/prosody/prosody.initd
index c0557bd812..1d835daca5 100644
--- a/community/prosody/prosody.initd
+++ b/community/prosody/prosody.initd
@@ -19,7 +19,7 @@ checkconfig() {
 		eerror "You need a /etc/prosody/prosody.cfg.lua file to run prosody"
 		return 1
 	fi
-	luac -p /etc/prosody/prosody.cfg.lua
+	luac5.2 -p /etc/prosody/prosody.cfg.lua
 	return $?
 }
 
-- 
2.17.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---