Hi,

while setting up a prosody server, i noticed the default config is
broken since it wants to use posix module (daemonize, syslog) but doesnt
enable it by default.. also, since we make it depend on luaevent, maybe
we should enable the libevent component by default too, or the
dependency should be relaxed.

Thoughts ?

Landry


Index: Makefile
===================================================================
RCS file: /cvs/ports/net/prosody/Makefile,v
retrieving revision 1.30
diff -u -r1.30 Makefile
--- Makefile    27 Oct 2014 13:41:17 -0000      1.30
+++ Makefile    25 Nov 2014 13:25:49 -0000
@@ -6,6 +6,7 @@
 DISTNAME=      prosody-0.9.6
 CATEGORIES=    net
 MASTER_SITES=  http://prosody.im/downloads/source/
+REVISION =     0
 
 HOMEPAGE=      http://prosody.im/
 
Index: patches/patch-prosody_cfg_lua_dist
===================================================================
RCS file: /cvs/ports/net/prosody/patches/patch-prosody_cfg_lua_dist,v
retrieving revision 1.5
diff -u -r1.5 patch-prosody_cfg_lua_dist
--- patches/patch-prosody_cfg_lua_dist  23 Apr 2014 17:59:01 -0000      1.5
+++ patches/patch-prosody_cfg_lua_dist  25 Nov 2014 13:25:49 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-prosody_cfg_lua_dist,v 1.5 2014/04/23 17:59:01 jca Exp $
---- prosody.cfg.lua.dist.orig  Thu Feb 27 20:05:53 2014
-+++ prosody.cfg.lua.dist       Thu Feb 27 20:06:51 2014
-@@ -22,6 +22,14 @@
+--- prosody.cfg.lua.dist.orig  Wed Oct 15 11:33:36 2014
++++ prosody.cfg.lua.dist       Tue Nov 25 14:25:34 2014
+@@ -22,9 +22,17 @@
  -- Example: admins = { "us...@example.com", "us...@example.net" }
  admins = { }
  
@@ -15,7 +15,20 @@
 +
  -- Enable use of libevent for better performance under high load
  -- For more information see: http://prosody.im/doc/libevent
- --use_libevent = true;
+---use_libevent = true;
++use_libevent = true;
+ 
+ -- This is the list of modules Prosody will load on startup.
+ -- It looks for mod_modulename.lua in the plugins folder, so make sure that 
exists too.
+@@ -63,7 +71,7 @@ modules_enabled = {
+               --"http_files"; -- Serve static files from a directory over HTTP
+ 
+       -- Other specific functionality
+-              --"posix"; -- POSIX functionality, sends server to background, 
enables syslog, etc.
++              "posix"; -- POSIX functionality, sends server to background, 
enables syslog, etc.
+               --"groups"; -- Shared roster support
+               --"announce"; -- Send announcement to all online users
+               --"welcome"; -- Welcome users who register accounts
 @@ -139,8 +147,8 @@ authentication = "internal_plain"
  -- Logging configuration
  -- For advanced logging see http://prosody.im/doc/logging
Index: patches/patch-util_prosodyctl_lua
===================================================================
RCS file: /cvs/ports/net/prosody/patches/patch-util_prosodyctl_lua,v
retrieving revision 1.2
diff -u -r1.2 patch-util_prosodyctl_lua
--- patches/patch-util_prosodyctl_lua   26 Jan 2012 10:27:15 -0000      1.2
+++ patches/patch-util_prosodyctl_lua   25 Nov 2014 13:25:49 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-util_prosodyctl_lua,v 1.2 2012/01/26 10:27:15 sthen Exp $
---- util/prosodyctl.lua.orig   Tue May  3 19:43:53 2011
-+++ util/prosodyctl.lua        Tue May  3 19:44:19 2011
-@@ -218,7 +218,7 @@ function start()
+--- util/prosodyctl.lua.orig   Wed Oct 15 11:33:36 2014
++++ util/prosodyctl.lua        Tue Nov 25 14:24:23 2014
+@@ -243,7 +243,7 @@ function start()
        if not CFG_SOURCEDIR then
                os.execute("./prosody");
        else

Reply via email to