Prosody 0.9.4 was released, attached is a patch against SVN that
- bumps the version
- adds an OPTION for luajit
- removes the shebang hack and passes the correct value to configure instead
Another unrelated patch supports a configuration that sets daemonize to false (that is, prosody stays in the foreground) in the rc script.
daemonize = false is a requirement for the libevent / kqueue backend according to upstream:
--- prosody.in.orig 2014-04-03 14:51:43.646052463 +0200
+++ prosody.in 2014-04-03 14:53:32.746004035 +0200
@@ -25,14 +25,25 @@
+ if grep -q '^daemonize[[:blank:]]*=[[:blank:]]*false' $config; then
+ # Prosody's not going to daemonize on its own, use daemon(8)
+ daemon $command start
+ $command start
- %%PREFIX%%/bin/prosodyctl $1
+ $command $1
Fix: Patch attached with submission follows:
How-To-Repeat: No problem, just an update
Over to maintainer (via the GNATS Auto Assign Tool)
Inline patches are crap and (sorry 'bout that, only just noticed)
Attached the optional 'support daemonize = false in the rc script' patch.
I don't even know how the first .diff ended up like that. Must've linked an
old one. Sorry for the noise.
Attached the real 0.9.4 patch, with the luajit integration.
So, first diff is crap, please ignore. Second diff is optional, supports
daemonize = false, the following diff is the actual port bump. My bad.
A commit references this bug:
Date: Wed Jun 4 22:56:35 UTC 2014
New revision: 356555
Update to 0.9.4, rc file notice about daemonize, and support for LUAJIT.
Submitted by: dar
Committed with a few tweaks. Thanks!