Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=f72ec38bf3318864383a788f9294f25720bc9b57

commit f72ec38bf3318864383a788f9294f25720bc9b57
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Mon Jul 4 00:34:05 2011 +0200

prosody-0.8.2-2-i686

- disable posix module by default as upstream recommends

diff --git a/source/network-extra/prosody/FrugalBuild 
b/source/network-extra/prosody/FrugalBuild
index 6d0d772..5a2191e 100644
--- a/source/network-extra/prosody/FrugalBuild
+++ b/source/network-extra/prosody/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=prosody
pkgver=0.8.2
-pkgrel=1
+pkgrel=2
pkgdesc="Prosody is a light and fast XMPP server."
url="http://prosody.im/";
depends=('luafilesystem' 'luaexpat' 'luasec>=0.4.1' 'luaevent-prosody')
@@ -16,8 +16,8 @@ source=($url/downloads/source/$pkgname-$pkgver.tar.gz \
'README.Frugalware')

sha1sums=('a029c4e69f6daaf3320061e69c9f86390d7e845a' \
-          'a319a23c8062034fc1ae9d0d4912b1785063b1bf' \
-          'd5b5b5dfd4b67edf855e27d6b7881449f13632fa' \
+          'a37af7c6c5cedf140e75bbb2ffd9a050680b1aba' \
+          '4f4d16fa1e5d8132a373fdf1c85a2bcdba343ddf' \
'1000770125e04b0eb8daab83fed9ad136ae16fed')

backup=(etc/prosody.cfg.lua)
diff --git a/source/network-extra/prosody/prosody.cfg.lua 
b/source/network-extra/prosody/prosody.cfg.lua
index e4ad908..577e327 100644
--- a/source/network-extra/prosody/prosody.cfg.lua
+++ b/source/network-extra/prosody/prosody.cfg.lua
@@ -54,7 +54,7 @@ modules_enabled = {
"register"; -- Allow users to register on this server using a client and change 
passwords

-- Other specific functionality
-               "posix"; -- (! DO NOT COMMENT THIS LINE !) POSIX functionality, 
sends server to background, enables syslog, etc.
+               --"posix"; -- POSIX functionality, sends server to background, 
enables syslog, etc.
--"console"; -- Opens admin telnet interface on localhost port 5582
--"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
--"httpserver"; -- Serve static files from a directory over HTTP
diff --git a/source/network-extra/prosody/rc.prosody 
b/source/network-extra/prosody/rc.prosody
index c67528f..52adf9d 100644
--- a/source/network-extra/prosody/rc.prosody
+++ b/source/network-extra/prosody/rc.prosody
@@ -16,7 +16,8 @@ rc_start()
{
start_msg
if [ -z "$(eval $pid)" ]; then
-        /usr/bin/prosody 1>/dev/null
+        /usr/bin/prosody 1>/dev/null &
+        echo $! > /var/run/prosody.pid
ok $?
else
ok 999
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to