summaryrefslogtreecommitdiff
path: root/community/prosody
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-08 04:18:44 +0000
committerroot <root@rshg047.dnsready.net>2011-04-08 04:18:44 +0000
commit59075f0265483f32e9ac4c67ba9e69cb019ba044 (patch)
treed0384b724b17b888dcd1cf06dce9bc25655d1ba1 /community/prosody
parent3b216f42d91b33161572550f4556a9ba93d1cecb (diff)
Fri Apr 8 04:18:44 UTC 2011
Diffstat (limited to 'community/prosody')
-rw-r--r--community/prosody/PKGBUILD10
-rw-r--r--community/prosody/fix-config.patch28
-rw-r--r--community/prosody/prosody.install7
3 files changed, 21 insertions, 24 deletions
diff --git a/community/prosody/PKGBUILD b/community/prosody/PKGBUILD
index 20b61b157..e7622f468 100644
--- a/community/prosody/PKGBUILD
+++ b/community/prosody/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 44382 2011-04-06 21:47:54Z spupykin $
+# $Id: PKGBUILD 44453 2011-04-07 16:06:39Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Dwayne Bent <dbb.0@liqd.org>
# Contributor: Paul-Sebastian Manole <brokenthorn@gmail.com>
pkgname=prosody
-pkgver=0.7.0
-pkgrel=7
+pkgver=0.8.0
+pkgrel=1
pkgdesc="Lightweight and extensible Jabber/XMPP server written in Lua."
arch=('i686' 'x86_64')
url="http://prosody.im/"
@@ -20,10 +20,10 @@ source=("http://prosody.im/depot/${pkgver}/prosody-${pkgver}.tar.gz"
'prosody.rcd'
'prosody.logrotated'
'fix-config.patch')
-md5sums=('69cd4f4e89dbef668a6240cde419dedf'
+md5sums=('8b057f62875b46b4a8061853a0953473'
'd2b5f9c8e42bb31819e715eb1756ee53'
'26466fdbea87963a3ca6f48f76fe4a29'
- '431f78012ff4c1d66c173e0b0b3c7c16')
+ '59a1bf2dfd0bd386cef6fa646e2a3752')
build() {
cd "$srcdir/prosody-$pkgver"
diff --git a/community/prosody/fix-config.patch b/community/prosody/fix-config.patch
index bd9a5d755..8856bfb92 100644
--- a/community/prosody/fix-config.patch
+++ b/community/prosody/fix-config.patch
@@ -1,6 +1,6 @@
-diff -wbBur prosody-0.7.0/prosody.cfg.lua.dist prosody-0.7.0.my/prosody.cfg.lua.dist
---- prosody-0.7.0/prosody.cfg.lua.dist 2010-06-13 00:23:02.000000000 +0000
-+++ prosody-0.7.0.my/prosody.cfg.lua.dist 2011-01-27 16:09:24.000000000 +0000
+diff -wbBur prosody-0.8.0/prosody.cfg.lua.dist prosody-0.8.0.my/prosody.cfg.lua.dist
+--- prosody-0.8.0/prosody.cfg.lua.dist 2011-04-05 13:47:06.000000000 +0000
++++ prosody-0.8.0.my/prosody.cfg.lua.dist 2011-04-07 16:03:42.000000000 +0000
@@ -21,6 +21,8 @@
-- (see http://prosody.im/doc/creating_accounts for info)
-- Example: admins = { "user1@example.com", "user2@example.net" }
@@ -10,21 +10,23 @@ diff -wbBur prosody-0.7.0/prosody.cfg.lua.dist prosody-0.7.0.my/prosody.cfg.lua.
-- Enable use of libevent for better performance under high load
-- For more information see: http://prosody.im/doc/libevent
-@@ -54,7 +56,7 @@
- "register"; -- Allow users to register on this server using a client and change passwords
+@@ -59,7 +61,7 @@
+ --"admin_telnet"; -- Opens telnet console interface on localhost port 5582
-- Other specific functionality
- --"posix"; -- 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
-@@ -90,7 +92,7 @@
-
+ --"groups"; -- Shared roster support
+@@ -123,8 +125,8 @@
-- Logging configuration
-- For advanced logging see http://prosody.im/doc/logging
--log = "prosody.log";
-+log = "/var/log/prosody/prosody.log";
- debug = false; -- Log debug messages?
-
- ----------- Virtual hosts -----------
+ log = {
+- info = "prosody.log"; -- Change 'info' to 'debug' for verbose logging
+- error = "prosody.err";
++ info = "/var/log/prosody/prosody.log"; -- Change 'info' to 'debug' for verbose logging
++ error = "/var/log/prosody/prosody.err";
+ -- "*syslog"; -- Uncomment this for logging to syslog
+ -- "*console"; -- Log to the console, useful for debugging with daemonize=false
+ }
diff --git a/community/prosody/prosody.install b/community/prosody/prosody.install
index 354a32ab1..f935e3d63 100644
--- a/community/prosody/prosody.install
+++ b/community/prosody/prosody.install
@@ -9,12 +9,7 @@ post_install() {
chown prosody:prosody var/lib/prosody
chown prosody:prosody var/log/prosody
-cat << EOF
-
-==> Documentation: http://wiki.archlinux.org/index.php/Prosody
-==> ChangeLog: pacman -Qc prosody
-
-EOF
+ echo ">> Documentation: http://wiki.archlinux.org/index.php/Prosody"
}
post_upgrade() {