Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137724 - mod_proxy and mod_statsdx patches for ejabberd 1.1.2
Summary: mod_proxy and mod_statsdx patches for ejabberd 1.1.2
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
: 149366 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-23 06:13 UTC by Nikolaus Polak
Modified: 2006-10-16 01:57 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ejabberd-1.1.1-mod-proxy.patch (ejabberd-1.1.1-mod-proxy.patch,14.42 KB, patch)
2006-06-23 06:14 UTC, Nikolaus Polak
Details | Diff
ejabberd-1.1.1-statsdx.patch (ejabberd-1.1.1-statsdx.patch,23.63 KB, patch)
2006-06-23 06:14 UTC, Nikolaus Polak
Details | Diff
ejabberd-1.1.1-statsdx-web.patch (ejabberd-1.1.1-statsdx-web.patch,9.07 KB, patch)
2006-06-23 06:15 UTC, Nikolaus Polak
Details | Diff
ejabberd-1.1.1-r1.ebuild (ejabberd-1.1.1-r1.ebuild,5.16 KB, application/octet-stream)
2006-06-30 01:13 UTC, Nikolaus Polak
Details
ejabberd-1.1.2-ebuild-and-patches.tar.gz (ejabberd-1.1.2-ebuild-with-patches.tar.gz,58.87 KB, application/x-gzip)
2006-10-05 04:56 UTC, Nikolaus Polak
Details
ejabberd-1.1.2.ebuild (ejabberd-1.1.2.ebuild,6.31 KB, text/plain)
2006-10-12 07:11 UTC, Nikolaus Polak
Details
ejabberd-1.1.2-mod-presence.patch (ejabberd-1.1.2-mod-presence.patch,23.91 KB, patch)
2006-10-12 07:12 UTC, Nikolaus Polak
Details | Diff
ejabberd-1.1.2-mod-proxy.patch (ejabberd-1.1.2-mod-proxy.patch,14.42 KB, patch)
2006-10-12 07:12 UTC, Nikolaus Polak
Details | Diff
ejabberd-1.1.2-statsdx.patch (ejabberd-1.1.2-statsdx.patch,23.63 KB, patch)
2006-10-12 07:13 UTC, Nikolaus Polak
Details | Diff
ejabberd-1.1.2-statsdx-web.patch (ejabberd-1.1.2-statsdx-web.patch,9.07 KB, patch)
2006-10-12 07:21 UTC, Nikolaus Polak
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolaus Polak 2006-06-23 06:13:36 UTC
I've adopted the mod_proxy patch, the mod_statsdx patch and the  for the actual ebuild, perhaps somebody can include them in portage or breakmygentoo.net ?
The original work was taken from http://ejabberd.jabber.ru/mod_statsdx and http://www.jabber.ru/bugzilla/show_bug.cgi?id=25
Comment 1 Nikolaus Polak 2006-06-23 06:14:08 UTC
Created attachment 89901 [details, diff]
ejabberd-1.1.1-mod-proxy.patch
Comment 2 Nikolaus Polak 2006-06-23 06:14:32 UTC
Created attachment 89902 [details, diff]
ejabberd-1.1.1-statsdx.patch
Comment 3 Nikolaus Polak 2006-06-23 06:15:05 UTC
Created attachment 89903 [details, diff]
ejabberd-1.1.1-statsdx-web.patch
Comment 4 Gustavo Felisberto (RETIRED) gentoo-dev 2006-06-28 12:08:40 UTC
I assume these are patches for ejabberd, please explai what they are for and provide an ebuild that makes use of them
Comment 5 Nikolaus Polak 2006-06-30 01:13:20 UTC
Created attachment 90512 [details]
ejabberd-1.1.1-r1.ebuild

Surely not the nicest ebuild, but working...
The patches have to be named like this (my fault that the description of the last uploads are not like this, it was my first upload to gentoo bugzilla):
ejabberd-1.1.1-mod-proxy.patch  ejabberd-1.1.1-statsdx.patch
ejabberd-1.1.1-statsdx-web.patch

The ebuild uses the following two new/extra use flags for the patches (surely, also not the nicest)
modproxy  - implements a socks5 file transfer proxy ( http://www.jabber.org/jeps/jep-0065.html )
statsdx   - Displays more/nicer statistics in the ejabberd webinterface, there are some screenshots with and without it here: http://ejabberd.jabber.ru/mod_statsdx
Comment 6 Nikolaus Polak 2006-10-05 04:56:32 UTC
Created attachment 98839 [details]
ejabberd-1.1.2-ebuild-and-patches.tar.gz

I optimized the ebuild a bit for the new ejabberd version 1.1.2, and also added one more USE-flag / patch: With http://ejabberd.jabber.ru/mod_presence you can use now web presence indicators. I tested this on 2 computers, and jabber.linuxlovers.at is currently using this ebuild (without ldap, mysql, postgres use-flags) since one week, seems very stable.
Comment 7 Tony Vroon (RETIRED) gentoo-dev 2006-10-12 02:05:33 UTC
*** Bug 149366 has been marked as a duplicate of this bug. ***
Comment 8 Tony Vroon (RETIRED) gentoo-dev 2006-10-12 02:07:17 UTC
Could you please attach your ebuild & patches separetely as plain text attachments. See this document for details:
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3#doc_chap2
Comment 9 Nikolaus Polak 2006-10-12 07:11:23 UTC
Created attachment 99435 [details]
ejabberd-1.1.2.ebuild

Surely, here is the ebuild as plain text... I also changed it a bit with ideas from Bug #149366, and also added RESTRICT="primaryuri" (for now a good idea, i think).
Comment 10 Nikolaus Polak 2006-10-12 07:12:14 UTC
Created attachment 99436 [details, diff]
ejabberd-1.1.2-mod-presence.patch
Comment 11 Nikolaus Polak 2006-10-12 07:12:45 UTC
Created attachment 99437 [details, diff]
ejabberd-1.1.2-mod-proxy.patch
Comment 12 Nikolaus Polak 2006-10-12 07:13:23 UTC
Created attachment 99438 [details, diff]
ejabberd-1.1.2-statsdx.patch
Comment 13 Nikolaus Polak 2006-10-12 07:21:33 UTC
Created attachment 99439 [details, diff]
ejabberd-1.1.2-statsdx-web.patch

... and all patches, modified for the ebuild. Note that I didn't test following use flags: ldap odbc postgres mysql (but they should be working, compiled with them cleanly).
You'll also need an initd, confd and inetrc, for example from the official portage tree (or the initd from Bug #149366, which i prefer)
Comment 14 Tony Vroon (RETIRED) gentoo-dev 2006-10-13 08:53:42 UTC
Your patches integrated with a 1.1.1-r1 style ebuild should be just what you want, then. How's that? :)

Thanks for your work.
Comment 15 Tony Vroon (RETIRED) gentoo-dev 2006-10-16 01:46:55 UTC
I would appreciate it if you'd test patches before submitting them. Having them compile is not sufficient.
Comment 16 Tony Vroon (RETIRED) gentoo-dev 2006-10-16 01:57:03 UTC
Open a new bug later, when you have properly tested your submissions, and the problem of statsdx not loading & presence loading but not working have been addressed.