Subject: [PATCH v2] community/prosody: do not disable mod_posix

From: opal hart <[email-masked]>
Date: Sun, 31 May 2020 12:12:13 +0000

adding config for syslog et cetera does not make sense if mod_posix is
in modules_disabled by default
---
 community/prosody/APKBUILD              |  4 ++--
 community/prosody/prosody.cfg.lua.patch | 11 -----------
 2 files changed, 2 insertions(+), 13 deletions(-)

diff --git a/community/prosody/APKBUILD b/community/prosody/APKBUILD
index 06babad9ac..61be4f84f4 100644
--- a/community/prosody/APKBUILD
+++ b/community/prosody/APKBUILD
@@ -3,7 +3,7 @@
 _luaver=5.2
 pkgname=prosody
 pkgver=0.11.5
-pkgrel=0
+pkgrel=1
 pkgdesc="Lua based Jabber/XMPP server"
 url="http://prosody.im/"
 arch="all"
@@ -52,5 +52,5 @@ package() {
 }
 
 sha512sums="43a9facee8d61b69e277e7e8a9091fbfa60be71d6141195dff991f6020c8afadacce26f356b869cb2d7edd9be285e9ce1bcd822f9628cc845d91757e818a0dff  prosody-0.11.5.tar.gz
-a6ca168fe3d11ee3b05295fb36dfaf8240c60a85507032b2502f9a97d3fd055f7eee38ba6efbb8f79472fc7cdd3556922194d0bd7099f7fb809be01890acc511  prosody.cfg.lua.patch
+39c06eddea79c66f8a2e3b1ba1a7aa1bcf2f3f6b9315d7da55ab73e222188fe5cd982c4f435d702b62538717a5ad6a10a06252baf0e5ea31da475782257efd9f  prosody.cfg.lua.patch
 24360603dbd5d2a92758e6c4b4aab4f02cbd05373580cba2df76df98b6045891e8108e8c2d16af9508e93968ed5880db952e7a21b2742ebeec6f14b167968c2c  prosody.initd"
diff --git a/community/prosody/prosody.cfg.lua.patch b/community/prosody/prosody.cfg.lua.patch
index ff74c51724..c5f2e3844c 100644
--- a/community/prosody/prosody.cfg.lua.patch
+++ b/community/prosody/prosody.cfg.lua.patch
@@ -1,5 +1,3 @@
-diff --git a/prosody.cfg.lua.dist b/prosody.cfg.lua.dist
-index a0fc6c9..23a36ac 100644
 --- a/prosody.cfg.lua.dist
 +++ b/prosody.cfg.lua.dist
 @@ -13,6 +13,9 @@
@@ -12,15 +10,6 @@ index a0fc6c9..23a36ac 100644
  ---------- Server-wide settings ----------
  -- Settings in this section apply to the whole server and are the default settings
  -- for any virtual hosts
-@@ -86,7 +89,7 @@ modules_disabled = {
- 	-- "offline"; -- Store offline messages
- 	-- "c2s"; -- Handle client connections
- 	-- "s2s"; -- Handle server-to-server connections
--	-- "posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
-+	"posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
- }
- 
- -- Disable account creation by default, for security
 @@ -161,9 +164,9 @@ archive_expires_after = "1w" -- Remove archived messages after 1 week
  -- Logging configuration
  -- For advanced logging see https://prosody.im/doc/logging
-- 
2.26.2