author | Michael Krelin <hacker@klever.net> | 2007-04-22 23:23:39 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-04-22 23:23:39 (UTC) |
commit | d63aa3793906423bd3bffe6ab55578c162bfbbda (patch) (side-by-side diff) | |
tree | 575b6dd5d44cf5166d42b62b59f7c0623c614fc6 | |
parent | 4243b8fe439f0f819b797d908345bd8ffc067ead (diff) | |
download | misc-d63aa3793906423bd3bffe6ab55578c162bfbbda.zip misc-d63aa3793906423bd3bffe6ab55578c162bfbbda.tar.gz misc-d63aa3793906423bd3bffe6ab55578c162bfbbda.tar.bz2 |
net-im/jabberd: imported from portage
18 files changed, 963 insertions, 0 deletions
diff --git a/net-im/jabberd/ChangeLog b/net-im/jabberd/ChangeLog new file mode 100644 index 0000000..f2cebdb --- a/dev/null +++ b/net-im/jabberd/ChangeLog @@ -0,0 +1,438 @@ +# ChangeLog for net-im/jabberd +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/ChangeLog,v 1.96 2007/04/10 08:44:43 nelchael Exp $ + + 10 Apr 2007; Krzysiek Pawlik <nelchael@gentoo.org> + jabberd-2.0.11-r1.ebuild: + Fix installing documentation, see bug #173767. + + 05 Feb 2007; Jeroen Roovers <jer@gentoo.org> jabberd-1.4.4-r3.ebuild: + Stable for HPPA (bug #149358). + + 03 Feb 2007; Krzysiek Pawlik <nelchael@gentoo.org> + -files/multiple-xml-patch-00, -files/xml-stream-patch-00, + -files/multiple-xml-patch-01, -files/README.Gentoo, + -files/jabber.init.bundled, -files/jabber.init.gentoo, + -files/jabber.rc6-r5, -files/jabber.rc6-r6, -files/jabber.rc6-r7, + -files/jabber.rc6-r8, -files/jabber-conf.d, -files/multiple.xml, + -files/patch-c2s-buffers, -files/self-cert.jabberd-2.sh, + -files/self-cert.sh, -files/xdb-ldap.xml, -jabberd-1.4.3-r5.ebuild: + Remove old version, cleanup. + + 03 Feb 2007; Krzysiek Pawlik <nelchael@gentoo.org> + jabberd-1.4.3-r5.ebuild: + Drop hppa for now. + + 09 Jan 2007; Krzysiek Pawlik <nelchael@gentoo.org> + files/jabberd-2.0.11.init: + Fix jabberd init.d script to start multiple services, see bug #158466. + + 23 Nov 2006; Francesco Riosa <vivo@gentoo.org> jabberd-1.4.4-r3.ebuild, + jabberd-2.0.11-r1.ebuild: + dev-db/mysql => virtual/mysql + + 29 Oct 2006; Jason Wever <weeve@gentoo.org> jabberd-1.4.4-r3.ebuild: + Stable on SPARC wrt bug #149358. + + 23 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org> + jabberd-1.4.4-r3.ebuild: + Add missing dev-util/pkgconfig to DEPEND, see bug #152530. + + 21 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org> + jabberd-2.0.11-r1.ebuild: + Add memdebug USE flag, see bug #152065. + + 20 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org> + jabberd-1.4.4-r3.ebuild: + Add net-dns/libidn to DEPEND, see bug #152088. + + 18 Oct 2006; Joshua Jackson <tsunam@gentoo.org> jabberd-1.4.4-r3.ebuild: + Stable x86; bug #149358 + + 15 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org> + jabberd-1.4.4-r3.ebuild: + Clean up DEPEND. + + 15 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org> -jabberd-2.0.11.ebuild: + Remove old version. + + 12 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org> + jabberd-2.0.11-r1.ebuild: + Make use of ssl USE flag. See bug #150941. + + 11 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org> + files/jabberd-2.0.11.init, jabberd-2.0.11-r1.ebuild: + Modified init.d script. + + 05 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org> + jabberd-2.0.11-r1.ebuild: + Fix bug #150153. + + 04 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +files/jabberd-2.0.11-configure.in.patch, jabberd-2.0.11-r1.ebuild: + Added sqlite USE flag. + +*jabberd-2.0.11-r1 (04 Oct 2006) + + 04 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +files/jabberd-2.0.11.init, metadata.xml, +jabberd-2.0.11-r1.ebuild: + New test version. + + 04 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org> -jabberd-2.0.9.ebuild, + -jabberd-2.0.10.ebuild: + Remove old versions (bug #80763), redigest 2.0.11 (bug #149868). + + 04 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org> + jabberd-1.4.4-r3.ebuild: + Remove the die when both postgres and mysql are in USE. + + 03 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +files/jabberd-1.4.4-crypt.patch, -jabberd-1.4.3-r4.ebuild, + -jabberd-1.4.4-r2.ebuild, jabberd-1.4.4-r3.ebuild: + Added patch to fix crypt issue, removed unneeded versions. + + 28 Sep 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +files/jabberd-1.4.4-genhash.c-rev1253.patch, + +files/jabberd-1.4.4-mio-bug-rev1291.patch, + +files/jabberd-1.4.4-str.c-rev1103.patch, + +files/jabberd-1.4.4-xdb_file.c-rev1107.patch, + +files/jabberd-1.4.4-xdb_sql.c-rev1211.patch, jabberd-1.4.4-r3.ebuild: + Add various fixes from upstream. + + 28 Sep 2006; Krzysiek Pawlik <nelchael@gentoo.org> + jabberd-1.4.4-r3.ebuild: + Ebuild cleanup, thanks to Paul Bredbury <brebs@sent.com> for help in bug + #149377. + + 27 Sep 2006; Krzysiek Pawlik <nelchael@gentoo.org> + jabberd-1.4.4-r3.ebuild: + Add block against net-im/aim-transport. + +*jabberd-1.4.4-r3 (27 Sep 2006) + + 27 Sep 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +files/jabberd-1.4.4-openssl-0.9.8.patch, +files/jabberd-1.4.4.init, + +jabberd-1.4.4-r3.ebuild: + Add testing version of jabberd-1.4.4. + + 20 Sep 2006; Krzysiek Pawlik <nelchael@gentoo.org> metadata.xml: + Changed maintainer. + + 05 May 2006; Diego Pettenò <flameeyes@gentoo.org> + jabberd-1.4.3-r4.ebuild, jabberd-1.4.3-r5.ebuild, jabberd-2.0.9.ebuild, + jabberd-2.0.10.ebuild, jabberd-2.0.11.ebuild: + Fix enewuser/enewgroup location, bug #130849. + + 30 Apr 2006; <reb@gentoo.org> ChangeLog: + version bump, security bug #126978 + + 22 Mar 2006; Mark Loeser <halcy0n@gentoo.org> + files/digest-jabberd-1.4.4-r2: + Remove unused digest + + 22 Mar 2006; Olivier Crête <tester@gentoo.org> jabberd-1.4.4-r2.ebuild: + Removed dying on ldap use flag and completely disabled the flag, see bug + #125435 + +*jabberd-1.4.4-r2 (04 Mar 2006) + + 04 Mar 2006; Gustavo Felisberto <humpback@gentoo.org>; + -jabberd-1.4.4-r1.ebuild, +jabberd-1.4.4-r2.ebuild: + New revision, lets see if it clears #124906 + +*jabberd-1.4.4-r1 (04 Mar 2006) + + 04 Mar 2006; Gustavo Felisberto <humpback@gentoo.org>; + -jabberd-1.4.4.ebuild, +jabberd-1.4.4-r1.ebuild: + Uppps, forgot to add the init.d files to the ebuild. + +*jabberd-1.4.4 (04 Mar 2006) + + 04 Mar 2006; Gustavo Felisberto <humpback@gentoo.org>; + +jabberd-1.4.4.ebuild: + Added 1.4.4 that is jabber-base OK. The new build system took some time to + adapt to our layout. + +*jabberd-2.0.10 (01 Feb 2006) + + 01 Feb 2006; Wolfram Schlich <wschlich@gentoo.org> +jabberd-2.0.10.ebuild: + version bump + + 31 Dec 2005; Diego Pettenò <flameeyes@gentoo.org> + jabberd-1.4.3-r4.ebuild: + Change /bin/false to -1 in enewuser call. + + 24 Nov 2005; Simon Stelling <blubb@gentoo.org> jabberd-1.4.3-r5.ebuild: + fix multilib issue; bug 113472 + + 23 Aug 2005; Gustavo Felisberto <humpback@gentoo.org>; + jabberd-1.4.3-r5.ebuild, jabberd-2.0.9.ebuild: + QA issue #103421 + + 07 Aug 2005; Wolfram Schlich <wschlich@gentoo.org> + -files/jabberd-2.0.8-r2-FindBin.patch, -jabberd-2.0.8-r2.ebuild: + remove vulnerable version (SA16291) + +*jabberd-2.0.9 (07 Aug 2005) + + 07 Aug 2005; Wolfram Schlich <wschlich@gentoo.org> +jabberd-2.0.9.ebuild: + version bump due to security fix (SA16291) + + 08 Jul 2005; Wolfram Schlich <wschlich@gentoo.org> + jabberd-2.0.8-r2.ebuild: + fix patch filename + +*jabberd-2.0.8-r2 (08 Jul 2005) + + 08 Jul 2005; Wolfram Schlich <wschlich@gentoo.org> + +files/jabberd-2.0.8-r2-FindBin.patch, -files/jabberd-2.0s8-FindBin.patch, + -jabberd-2.0-r2.ebuild, -jabberd-2.0.8-r1.ebuild, + +jabberd-2.0.8-r2.ebuild, -jabberd-2.0.8.ebuild, + -jabberd-2.0_p20050119.ebuild: + fix FindBin patch, remove old versions + +*jabberd-2.0.8-r1 (13 Jun 2005) + + 13 Jun 2005; Wolfram Schlich <wschlich@gentoo.org> + +files/jabberd-2.0s8-FindBin.patch, +jabberd-2.0.8-r1.ebuild: + fix FindBin issue + + 24 May 2005; Jason Wever <weeve@gentoo.org> jabberd-1.4.3-r5.ebuild: + Stable on SPARC wrt security bug #91478. + + 22 May 2005; Rene Nussbaumer <killerfox@gentoo.org> + jabberd-1.4.3-r5.ebuild: + Stable on hppa; bug #91478 + +*jabberd-1.4.3-r5 (21 May 2005) + + 21 May 2005; Gustavo Felisberto <humpback@gentoo.org>; + +files/jabber.rc6-r8, +jabberd-1.4.3-r5.ebuild: + New revision to help solve a small sec problem. + +*jabberd-2.0.8 (28 Apr 2005) + + 28 Apr 2005; Wolfram Schlich <wschlich@gentoo.org> + +files/self-cert.jabberd-2.sh, +jabberd-2.0.8.ebuild: + add jabberd2 specific self-cert.sh + +*jabberd-2.0.8 (28 Apr 2005) + + 28 Apr 2005; Wolfram Schlich <wschlich@gentoo.org> +jabberd-2.0.8.ebuild: + initial import + + 02 Apr 2005; Jason Wever <weeve@gentoo.org> jabberd-1.4.3-r4.ebuild: + Stable on SPARC. + + 25 Mar 2005; Bryan Østergaard <kloeri@gentoo.org> + jabberd-1.4.3-r4.ebuild: + Add ~alpha keyword, bug 83819. + + 12 Mar 2005; Wolfram Schlich <wschlich@gentoo.org> + jabberd-2.0_p20050119.ebuild: + add missing inherit flag-o-matic for USE=debug + + 01 Feb 2005; Gustavo Felisberto <humpback@gentoo.org>; + -jabberd-1.4.3-r3.ebuild: + Can delete older version with small sec problem as all arches have updated. + +*jabberd-2.0_p20050119 (31 Jan 2005) + + 31 Jan 2005; Gustavo Felisberto <humpback@gentoo.org>; + +jabberd-2.0_p20050119.ebuild: + Adding cvs snapshot hardmasked. Credit to Wolfram Schlich + <wschlich@gentoo.org> for updating alot of stuff here. + + 15 Dec 2004; Gustavo Felisberto <humpback@gentoo.org>; + jabberd-2.0-r2.ebuild: + Fixing bug 74200, thanks to Henning Gunther for the tip. + + 02 Dec 2004; Gustavo Felisberto <humpback@gentoo.org>; + jabberd-1.4.3-r4.ebuild: + Changing pth dep to >=1.4.0 and not =1.4.0. Thanks to Daniel Webert in bug + 73042 + + 24 Nov 2004; Sven Wegener <swegener@gentoo.org> : + Removed stray digest. + +*jabberd-2.0-r2 (24 Nov 2004) + + 24 Nov 2004; Gustavo Felisberto <humpback@gentoo.org>; + -jabberd-2.0-r1.ebuild, +jabberd-2.0-r2.ebuild, -jabberd-2.0.ebuild: + Removing older 2.0 releases and adding 2.0.s4 with fix for exploit + http://archives.neohapsis.com/archives/fulldisclosure/2004-11/1075.html + + 27 Oct 2004; Tom Martin <slarti@gentoo.org> jabberd-1.4.3-r4.ebuild, + jabberd-2.0-r1.ebuild: + Marked ~amd64 for bug 59436. + + 21 Sep 2004; Gustavo Felisberto <humpback@gentoo.org>; + jabberd-1.4.3-r4.ebuild: + Adding expat dep. + + 20 Sep 2004; Gustavo Felisberto <humpback@gentoo.org>; + jabberd-1.4.3-r3.ebuild, jabberd-1.4.3-r4.ebuild: + Added ewarn about ipv6 in USE flag thanks to guido in bug #63845 for bringing + this to our attention + +*jabberd-1.4.3-r4 (20 Sep 2004) + + 20 Sep 2004; Gustavo Felisberto <humpback@gentoo.org>; + +jabberd-1.4.3-r4.ebuild: + Bumping version with fix for DoS attack. See bug #64741 for more info. Thanks + to justin-gentoo at openaether.org for bringing this to our attention. + + 01 Sep 2004; Gustavo Felisberto <humpback@gentoo.org>; + jabberd-2.0-r1.ebuild: + Fixing new way that configure receives parameters, closes bug 61896 + +*jabberd-2.0-r1 (12 Aug 2004) + + 12 Aug 2004; Gustavo Felisberto <humpback@gentoo.org>; + +jabberd-2.0-r1.ebuild: + Updated to s3, I still need reports on how this works with the older + transports, please report back at bug #39395 + + 08 Jul 2004; Gustavo Felisberto <humpback@gentoo.org>; files/jabber.rc6-r7, + jabberd-1.4.3-r3.ebuild: + Small correction to init script. Thanks to Wendall Cada for help with testing + + 07 Jul 2004; Gustavo Felisberto <humpback@gentoo.org>; + jabberd-1.4.3-r3.ebuild: + Stable on hppa so that deps dont break + + 05 Jul 2004; Gustavo Felisberto <humpback@gentoo.org>; files/jabber.rc6-r7: + New update to init script + + 03 Jul 2004; Gustavo Felisberto <humpback@gentoo.org>; + -jabberd-1.4.3-r2.ebuild, jabberd-1.4.3-r3.ebuild, jabberd-2.0.ebuild: + Marking ~hppa because of dependencies not stable + + 02 Jul 2004; Gustavo Felisberto <humpback@gentoo.org>; + jabberd-1.4.3-r3.ebuild: + Added icq to USE + + 24 Jun 2004; Gustavo Felisberto <humpback@gentoo.org>; files/jabber-conf.d, + files/jabber.rc6-r7: + Small update to init script + + 23 Jun 2004; Gustavo Felisberto <humpback@gentoo.org>; + -jabberd-1.4.3-r1.ebuild, jabberd-1.4.3-r2.ebuild: + Deletting older version and making 1.4.3-r2 depend on the correct older + transports, because some in some arch -r3 is not marked stable + + 19 Jun 2004; Gustavo Felisberto <humpback@gentoo.org>; + jabberd-1.4.3-r3.ebuild: + Marking stable on x86 + + 18 Jun 2004; Jason Wever <weeve@gentoo.org> jabberd-1.4.3-r3.ebuild, + jabberd-2.0.ebuild: + Bringing back the ~sparc keywords, yay\! + + 10 Jun 2004; Aron Griffis <agriffis@gentoo.org> jabberd-1.4.3-r1.ebuild, + jabberd-1.4.3-r2.ebuild, jabberd-1.4.3-r3.ebuild, jabberd-2.0.ebuild: + Fix use invocation + + 08 Jun 2004; Guy Martin <gmsoft@gentoo.org> jabberd-1.4.3-r3.ebuild: + Marked stable on hppa. + + 03 Jun 2004; David Holm <dholm@gentoo.org> jabberd-1.4.3-r1.ebuild, + jabberd-1.4.3-r2.ebuild, jabberd-1.4.3-r3.ebuild: + Added to ~ppc. + + 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> jabberd-1.4.3-r1.ebuild, + jabberd-1.4.3-r2.ebuild, jabberd-1.4.3-r3.ebuild, jabberd-2.0.ebuild: + Add inherit eutils + + 09 Apr 2004; Gustavo Felisberto <humpback@gentoo.org>; jabberd-2.0.ebuild: + Added patch to a XML stream bug. See + http://www.jabberstudio.org/projects/jabberd2/bugs/view.php?id=3061 credit for + this must be given to cfs@nova.es + + 09 Apr 2004; David Holm <dholm@gentoo.org> jabberd-2.0.ebuild: + Added to ~ppc. + +*jabberd-2.0 (08 Apr 2004) + + 08 Apr 2004; Gustavo Felisberto <humpback@gentoo.org>; jabberd-2.0.ebuild, + files/README.Gentoo, files/jabber.rc6-r7: + Adding jabberd2 to portage. This must stay hardmasked because it needs further + testing. + +*jabberd-1.4.3-r3 (08 Apr 2004) + + 08 Apr 2004; Gustavo Felisberto <humpback@gentoo.org>; + jabberd-1.4.3-r2.ebuild, jabberd-1.4.3-r3.ebuild, files/jabber-conf.d, + files/jabber.rc6-r7: + Adding hard masked -r3 version that will only start the main server. See bug + 43851 + + 29 Mar 2004; Gustavo Felisberto <humpback@gentoo.org>; files/self-cert.sh: + Small fix in self-cert.sh thanks to Tom Forsythe <gentoobugs@animelover.com> + in bug 46039 + + 27 Mar 2004; Gustavo Felisberto <humpback@gentoo.org>; + jabberd-1.4.3-r2.ebuild: + Fixed bug 45830. Thanks to Antonio <netbix@netbix.net> . + + 27 Mar 2004; Gustavo Felisberto <humpback@gentoo.org>; + jabberd-1.4.3-r2.ebuild: + Small correction see bug 45830. + +*jabberd-1.4.3-r2 (01 Mar 2004) + + 01 Mar 2004; Gustavo Felisberto <humpback@gentoo.org>; files/jabber.rc6-r6: + Updating stop portion of init.d script thanks to Piotr Banasik + <piotr@t-p-l.com>. Also updating dependencies. + + 25 Feb 2004; Jason Wever <weeve@gentoo.org> jabberd-1.4.3-r1.ebuild: + Added ~sparc keyword, helps resolve bug #42928. + + 21 Feb 2004; Don Seiler <rizzo@gentoo.org>; jabberd-1.4.3-r1.ebuild: + Added use of msn, yahoo, and oscar USE flags + + 17 Feb 2004; Gustavo Felisberto <humpback@gentoo.org>; + jabberd-1.4.3-r1.ebuild: + Marking stable on x86 + + 13 Feb 2004; Gustavo Felisberto <humpback@gentoo.org>; + jabberd-1.4.3-r1.ebuild, files/multiple-xml-patch-00: + Ebuild now patches the oficial config file to the Gentoo path's instead of + using our own file + + 11 Feb 2004; Gustavo Felisberto <humpback@gentoo.org>; files/multiple.xml: + Added comments to multiple.xml + + 10 Feb 2004; Gustavo Felisberto <humpback@gentoo.org>; + jabberd-1.4.3-r1.ebuild: + Changed useradd to enewuser + + 02 Feb 2004; Gustavo Felisberto <humpback@gentoo.org>; files/jabber.rc6-r5: + Updated the start/stop script + + 29 Jan 2004; Gustavo Felisberto <humpback@gentoo.org>; + jabberd-1.4.3-r1.ebuild, jabberd-1.4.3.ebuild: + Removing touch of .keep . Closes bug 39813 + + 27 Jan 2004; Gustavo Felisberto <humpback@gentoo.org>; files/multiple.xml: + Added <browse> </browse> to multiple.xml + + 26 Jan 2004; Gustavo Felisberto <humpback@gentoo.org>; + jabberd-1.4.3-r1.ebuild: + Fixed ${P} to ${PF} in einfo about doc + +*jabberd-1.4.3-r1 (23 Jan 2004) + + 23 Jan 2004; Gustavo Felisberto <humpback@gentoo.org>; + jabberd-1.4.3-r1.ebuild, metadata.xml: + Revision bump to add ipv6 support. + +*jabberd-1.4.3 (11 Jan 2004) + + 11 Jan 2004; Don Seiler <rizzo@gentoo.org>; jabberd-1.4.3.ebuild, + metadata.xml, files/README.Gentoo, files/jabber.rc6-r5, files/multiple.xml, + files/self-cert.sh, files/xdb-ldap.xml: + Breaking up jabber-server into separate server/transport packages. Satisfies + bugs 37316 and 37393. Greater bulk of the work done by dev-in-training Gustavo + "Humpback" Felisberto. + diff --git a/net-im/jabberd/Manifest b/net-im/jabberd/Manifest new file mode 100644 index 0000000..86a2898 --- a/dev/null +++ b/net-im/jabberd/Manifest @@ -0,0 +1,74 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX jabberd-1.4.4-crypt.patch 605 RMD160 62763a71dfeb13763cd6e2cb47a2ec36a942fd42 SHA1 3befde7962b643050e61d04bd87483ed192483a1 SHA256 0a96fea2745058546bada3b234be4a803df836ba2b65052737b000867e932eca +MD5 3de1d023b07d0bf247a71329eb70355d files/jabberd-1.4.4-crypt.patch 605 +RMD160 62763a71dfeb13763cd6e2cb47a2ec36a942fd42 files/jabberd-1.4.4-crypt.patch 605 +SHA256 0a96fea2745058546bada3b234be4a803df836ba2b65052737b000867e932eca files/jabberd-1.4.4-crypt.patch 605 +AUX jabberd-1.4.4-genhash.c-rev1253.patch 392 RMD160 e78d8a7edaaf65e2057c39ab5a564c926ea4b5d1 SHA1 abc212773b9d469c308bf57c6558f331c73f574d SHA256 f6c49a1e5a788c300c87912553b9d2ba4295c395c58b81bfac0bdce6d10a78ea +MD5 da03862bd6e85156860dda87ed726b1c files/jabberd-1.4.4-genhash.c-rev1253.patch 392 +RMD160 e78d8a7edaaf65e2057c39ab5a564c926ea4b5d1 files/jabberd-1.4.4-genhash.c-rev1253.patch 392 +SHA256 f6c49a1e5a788c300c87912553b9d2ba4295c395c58b81bfac0bdce6d10a78ea files/jabberd-1.4.4-genhash.c-rev1253.patch 392 +AUX jabberd-1.4.4-mio-bug-rev1291.patch 499 RMD160 7d50054ca0c3304d47b530a604c68d2e2b5d4c5f SHA1 6ae07090112cb9f4ba5d84e1ba798e20b59cb2bf SHA256 8aef4a6bedaeaad668b4df57a42dc3ece8ad7b91789dcff1e942af819b582841 +MD5 15d1ed12f5a4d1849f2c3c050aa4e7d4 files/jabberd-1.4.4-mio-bug-rev1291.patch 499 +RMD160 7d50054ca0c3304d47b530a604c68d2e2b5d4c5f files/jabberd-1.4.4-mio-bug-rev1291.patch 499 +SHA256 8aef4a6bedaeaad668b4df57a42dc3ece8ad7b91789dcff1e942af819b582841 files/jabberd-1.4.4-mio-bug-rev1291.patch 499 +AUX jabberd-1.4.4-openssl-0.9.8.patch 485 RMD160 d320a884f318640521ee5934b92a00440b067eff SHA1 55d7e2fd660931ffe171c2234bce135f8afe55c5 SHA256 ede42894807ca3eece8c5e52a771870233317e5bc6cb3ddfe749a372a08270bc +MD5 b223acb6e59434654550a7564a0a5762 files/jabberd-1.4.4-openssl-0.9.8.patch 485 +RMD160 d320a884f318640521ee5934b92a00440b067eff files/jabberd-1.4.4-openssl-0.9.8.patch 485 +SHA256 ede42894807ca3eece8c5e52a771870233317e5bc6cb3ddfe749a372a08270bc files/jabberd-1.4.4-openssl-0.9.8.patch 485 +AUX jabberd-1.4.4-str.c-rev1103.patch 302 RMD160 34d5de8b755b5029f91c02030308e90e6e38a395 SHA1 4087e906f6b7a354bccd17132b90baeae358ad2b SHA256 929afb2954329eaef703ca985cd9e391002b80aea5e21f0d67933ffaa12db9c3 +MD5 447742a0224ee4557645e17b489abd11 files/jabberd-1.4.4-str.c-rev1103.patch 302 +RMD160 34d5de8b755b5029f91c02030308e90e6e38a395 files/jabberd-1.4.4-str.c-rev1103.patch 302 +SHA256 929afb2954329eaef703ca985cd9e391002b80aea5e21f0d67933ffaa12db9c3 files/jabberd-1.4.4-str.c-rev1103.patch 302 +AUX jabberd-1.4.4-xdb_file.c-rev1107.patch 539 RMD160 dbfca4d0801291f1b1c10e12ac4040d06a38006f SHA1 593fd01f2e0003aedf6714fc9e384da68e04b511 SHA256 6f532e7f792431072226fea8c032fa3463080b355325a7281317a2764ea6e245 +MD5 c3d81de427c5acd5f9e54ce6371adad2 files/jabberd-1.4.4-xdb_file.c-rev1107.patch 539 +RMD160 dbfca4d0801291f1b1c10e12ac4040d06a38006f files/jabberd-1.4.4-xdb_file.c-rev1107.patch 539 +SHA256 6f532e7f792431072226fea8c032fa3463080b355325a7281317a2764ea6e245 files/jabberd-1.4.4-xdb_file.c-rev1107.patch 539 +AUX jabberd-1.4.4-xdb_sql.c-rev1211.patch 882 RMD160 48c9f7ad6f4c10c26c9aa89730434a3632de3f75 SHA1 8519d7920e75c3273efe766f3336c588808e0778 SHA256 5dda2f6b8c86b0b02d569f3436d2d0b23d352926649469b2f4041a94535a6c10 +MD5 9145524db44a8da4ade06cf07811ef75 files/jabberd-1.4.4-xdb_sql.c-rev1211.patch 882 +RMD160 48c9f7ad6f4c10c26c9aa89730434a3632de3f75 files/jabberd-1.4.4-xdb_sql.c-rev1211.patch 882 +SHA256 5dda2f6b8c86b0b02d569f3436d2d0b23d352926649469b2f4041a94535a6c10 files/jabberd-1.4.4-xdb_sql.c-rev1211.patch 882 +AUX jabberd-1.4.4.init 554 RMD160 83098dfae23a67267dffeb5609e572b501fa9a8e SHA1 630cd9c50c20a73992b9891051e02350f6abcba9 SHA256 769e4ee4e193a1d63fe4839f923fb2a6339489a677595ba75986e19cb1ba39ac +MD5 3b4be327293fb0abc0cdb5dcac80d033 files/jabberd-1.4.4.init 554 +RMD160 83098dfae23a67267dffeb5609e572b501fa9a8e files/jabberd-1.4.4.init 554 +SHA256 769e4ee4e193a1d63fe4839f923fb2a6339489a677595ba75986e19cb1ba39ac files/jabberd-1.4.4.init 554 +AUX jabberd-2.0.11-configure.in.patch 396 RMD160 86c99a761a23e55ebce98bdffba060e18073826f SHA1 59d16a3ce6f30bdea79c67fe9051a6c4624ddac9 SHA256 afa527ce6e4abedf097a92dc73046b8bacd851bf75ea309bd706937c8080aa5f +MD5 0d6acfc3d4a22d09d4d17ffd202d38d8 files/jabberd-2.0.11-configure.in.patch 396 +RMD160 86c99a761a23e55ebce98bdffba060e18073826f files/jabberd-2.0.11-configure.in.patch 396 +SHA256 afa527ce6e4abedf097a92dc73046b8bacd851bf75ea309bd706937c8080aa5f files/jabberd-2.0.11-configure.in.patch 396 +AUX jabberd-2.0.11.init 1701 RMD160 0637157c6c84aa9acc5e787ae347980506db3c02 SHA1 95958ed179ec3c8b20dc4a2934c1a8adae08b92b SHA256 21ab8f057412d853318370b567c8f53c4d33dfc6ca2151e205f51c01b7dd5c0a +MD5 15e304cfa6bdf41c2633da7fe6063ace files/jabberd-2.0.11.init 1701 +RMD160 0637157c6c84aa9acc5e787ae347980506db3c02 files/jabberd-2.0.11.init 1701 +SHA256 21ab8f057412d853318370b567c8f53c4d33dfc6ca2151e205f51c01b7dd5c0a files/jabberd-2.0.11.init 1701 +DIST jabberd-1.4.4.tar.gz 613479 RMD160 3273d0711fb6f0f6b95749d8bdb1ac5004aed074 SHA1 5fa5b561740720591997ed189609403af8c796c2 SHA256 72e23766e737588ed8d77ca7565a8f4b2bba73967c02e9b7ee4d2122d198a0af +DIST jabberd-2.0s11.tar.gz 777466 RMD160 7e89790abb5ff4e84a0a38ac5afbc0c365d60b3d SHA1 c938d95fc17634b889ba9b1d7d27115593b13e3d SHA256 0ef0f668f5d86b8c22ce0ae2366bff0be9d4c961d6f48b7b849ebe749bdb213a +EBUILD jabberd-1.4.4-r3.ebuild 3066 RMD160 f17931e3958c08c395419c718c009578929c7b23 SHA1 1d235e8d0574e83ebe870566d409f1ae937c3de9 SHA256 c240575c4deccbef864c3415397b913252321ff291d4c1291a8fb327bbe5d057 +MD5 703d5ba2de35a3258c9fa81b9ff5fc96 jabberd-1.4.4-r3.ebuild 3066 +RMD160 f17931e3958c08c395419c718c009578929c7b23 jabberd-1.4.4-r3.ebuild 3066 +SHA256 c240575c4deccbef864c3415397b913252321ff291d4c1291a8fb327bbe5d057 jabberd-1.4.4-r3.ebuild 3066 +EBUILD jabberd-2.0.11-r1.ebuild 2296 RMD160 65c90c7c98dd4479e41cefd709c8d978d6a954f1 SHA1 9df16440e636bbcaf444d96b6ed648cc009aa1f1 SHA256 cc0f46b870e66636035b0a0b0d8578ffe20bc955bd4a78de67810eca4e24c022 +MD5 f8f39d1a57b8074a95791b64a1c95b84 jabberd-2.0.11-r1.ebuild 2296 +RMD160 65c90c7c98dd4479e41cefd709c8d978d6a954f1 jabberd-2.0.11-r1.ebuild 2296 +SHA256 cc0f46b870e66636035b0a0b0d8578ffe20bc955bd4a78de67810eca4e24c022 jabberd-2.0.11-r1.ebuild 2296 +MISC ChangeLog 15464 RMD160 bac8facc410dced776f4b5d9f0c4b051100f9409 SHA1 2ed0d2fa838de3b4e1d720f577116af6eba842ec SHA256 7ea8ffdf9c099ca3fc43ccb381100ce6b519de8f6bb582305535491373fb8830 +MD5 e71dbcd3a38fc84fc22dac39a6019359 ChangeLog 15464 +RMD160 bac8facc410dced776f4b5d9f0c4b051100f9409 ChangeLog 15464 +SHA256 7ea8ffdf9c099ca3fc43ccb381100ce6b519de8f6bb582305535491373fb8830 ChangeLog 15464 +MISC metadata.xml 399 RMD160 e223c713f74619996bc47a70298aa535f6addf09 SHA1 dc9bc290a5ed00f7101aabd3a40b346112eb40eb SHA256 f68b0864864ad54de5cf072835fc9903e709987261ad1fc102afb0019aa52377 +MD5 be8887bde84aab1d4ff9d5a0f5d50141 metadata.xml 399 +RMD160 e223c713f74619996bc47a70298aa535f6addf09 metadata.xml 399 +SHA256 f68b0864864ad54de5cf072835fc9903e709987261ad1fc102afb0019aa52377 metadata.xml 399 +MD5 6608e1126e4f091819d2c41a1a8843a5 files/digest-jabberd-1.4.4-r3 241 +RMD160 0c09cceb4332b70a38db717adb4bd1d244337b72 files/digest-jabberd-1.4.4-r3 241 +SHA256 05c069ff9a60336785d0d1049dc28c727a5b4cc2f9a40c0f5304f98f2343cb9b files/digest-jabberd-1.4.4-r3 241 +MD5 3cbebd7d43212be46daad3e042dce34f files/digest-jabberd-2.0.11-r1 244 +RMD160 4638cd85561494bb4ec40e8af80cc145f8156b23 files/digest-jabberd-2.0.11-r1 244 +SHA256 8d5a3e81789ef9e85b365e2974311b0f46ffb940a2b0bfdbc80457e40014f05b files/digest-jabberd-2.0.11-r1 244 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.3 (GNU/Linux) + +iD8DBQFGG06Wgo/w9rxVVVERAqwGAJ9hGphTLOa8Up4pjiU0RZR8wskt9wCfZBxL +/1ZKMSqwcAOvHY/oik5od+U= +=up4x +-----END PGP SIGNATURE----- diff --git a/net-im/jabberd/files/digest-jabberd-1.4.4-r3 b/net-im/jabberd/files/digest-jabberd-1.4.4-r3 new file mode 100644 index 0000000..612cb5d --- a/dev/null +++ b/net-im/jabberd/files/digest-jabberd-1.4.4-r3 @@ -0,0 +1,3 @@ +MD5 395f814a6627436ba7bd235509adcbc7 jabberd-1.4.4.tar.gz 613479 +RMD160 3273d0711fb6f0f6b95749d8bdb1ac5004aed074 jabberd-1.4.4.tar.gz 613479 +SHA256 72e23766e737588ed8d77ca7565a8f4b2bba73967c02e9b7ee4d2122d198a0af jabberd-1.4.4.tar.gz 613479 diff --git a/net-im/jabberd/files/digest-jabberd-2.0.11-r1 b/net-im/jabberd/files/digest-jabberd-2.0.11-r1 new file mode 100644 index 0000000..351198e --- a/dev/null +++ b/net-im/jabberd/files/digest-jabberd-2.0.11-r1 @@ -0,0 +1,3 @@ +MD5 67d1663ed97a5ba707d5d145b1d19c55 jabberd-2.0s11.tar.gz 777466 +RMD160 7e89790abb5ff4e84a0a38ac5afbc0c365d60b3d jabberd-2.0s11.tar.gz 777466 +SHA256 0ef0f668f5d86b8c22ce0ae2366bff0be9d4c961d6f48b7b849ebe749bdb213a jabberd-2.0s11.tar.gz 777466 diff --git a/net-im/jabberd/files/jabberd-1.4.4-crypt.patch b/net-im/jabberd/files/jabberd-1.4.4-crypt.patch new file mode 100644 index 0000000..257fe45 --- a/dev/null +++ b/net-im/jabberd/files/jabberd-1.4.4-crypt.patch @@ -0,0 +1,11 @@ +diff -ru jabberd-1.4.4.vanilla/jsm/Makefile.am jabberd-1.4.4/jsm/Makefile.am +--- jabberd-1.4.4.vanilla/jsm/Makefile.am 2006-10-03 14:07:22.000000000 +0200 ++++ jabberd-1.4.4/jsm/Makefile.am 2006-10-03 14:27:12.000000000 +0200 +@@ -7,6 +7,6 @@ + + libjabberdsm_la_SOURCES = authreg.c deliver.c jsm.c modules.c offline.c server.c sessions.c users.c util.c + libjabberdsm_la_LIBADD = $(top_builddir)/jsm/modules/libjabberdsmmods.la $(top_builddir)/jabberd/libjabberd.la +-libjabberdsm_la_LDFLAGS = @LDFLAGS@ -module ++libjabberdsm_la_LDFLAGS = -lcrypt @LDFLAGS@ -module + + INCLUDES = -I../jabberd -I../jabberd/lib diff --git a/net-im/jabberd/files/jabberd-1.4.4-genhash.c-rev1253.patch b/net-im/jabberd/files/jabberd-1.4.4-genhash.c-rev1253.patch new file mode 100644 index 0000000..edb85bb --- a/dev/null +++ b/net-im/jabberd/files/jabberd-1.4.4-genhash.c-rev1253.patch @@ -0,0 +1,11 @@ +--- jabberd/lib/genhash.c 2006/06/07 09:17:30 1252 ++++ jabberd/lib/genhash.c 2006/06/23 09:24:18 1253 +@@ -148,7 +148,7 @@ + xht h = (xht)tbl; + + for(i = 0; i < h->prime; i++) +- for(n = &h->zen[i]; n != NULL; n = n->next) ++ for(n = h->zen[i]; n != NULL; n = n->next) + if(n->key != NULL && n->val != NULL) + (*func)(user_data, n->key, n->val); + diff --git a/net-im/jabberd/files/jabberd-1.4.4-mio-bug-rev1291.patch b/net-im/jabberd/files/jabberd-1.4.4-mio-bug-rev1291.patch new file mode 100644 index 0000000..338369c --- a/dev/null +++ b/net-im/jabberd/files/jabberd-1.4.4-mio-bug-rev1291.patch @@ -0,0 +1,16 @@ +--- jabberd/mio.c 2006/08/10 14:54:02 1290 ++++ jabberd/mio.c 2006/09/02 05:35:46 1291 +@@ -469,6 +469,13 @@ + return NULL; + } + ++ /* do not accept a higher fd than FD_SET, or FD_CLR can handle */ ++ if (fd >= FD_SETSIZE) { ++ log_warn(NULL, "could not accept incoming connection, maximum number of connections reached (%i)", FD_SETSIZE); ++ close(fd); ++ return NULL; ++ } ++ + log_debug2(ZONE, LOGT_IO, "_mio_accept(%X) accepted fd #%d", m, fd); + + /* access and rate checks */ diff --git a/net-im/jabberd/files/jabberd-1.4.4-openssl-0.9.8.patch b/net-im/jabberd/files/jabberd-1.4.4-openssl-0.9.8.patch new file mode 100644 index 0000000..12df5df --- a/dev/null +++ b/net-im/jabberd/files/jabberd-1.4.4-openssl-0.9.8.patch @@ -0,0 +1,11 @@ +diff -Nru --exclude=tags jabberd-1.4.4/jabberd/mio_ssl.c jabberd-1.4.4.fixed/jabberd/mio_ssl.c +--- jabberd-1.4.4/jabberd/mio_ssl.c 2005-04-16 00:07:23.000000000 +0200 ++++ jabberd-1.4.4.fixed/jabberd/mio_ssl.c 2006-09-12 18:23:35.000000000 +0200 +@@ -103,6 +103,7 @@ + + log_debug2(ZONE, LOGT_INIT|LOGT_CONFIG, "Handling configuration using: %s", xmlnode2str(x)); + /* Generic SSL Inits */ ++ SSL_library_init(); + OpenSSL_add_all_algorithms(); + SSL_load_error_strings(); + diff --git a/net-im/jabberd/files/jabberd-1.4.4-str.c-rev1103.patch b/net-im/jabberd/files/jabberd-1.4.4-str.c-rev1103.patch new file mode 100644 index 0000000..4500a55 --- a/dev/null +++ b/net-im/jabberd/files/jabberd-1.4.4-str.c-rev1103.patch @@ -0,0 +1,11 @@ +--- jabberd/lib/str.c 2005/04/12 11:43:15 1094 ++++ jabberd/lib/str.c 2005/04/16 19:54:24 1103 +@@ -417,7 +417,7 @@ + static char buff[64]; + int i; + +- i = snprintf(buff,63,"%s:%d",file,line); ++ i = snprintf(buff, sizeof(buff), "%s:%d", file, line); + buff[i] = '\0'; + + return buff; diff --git a/net-im/jabberd/files/jabberd-1.4.4-xdb_file.c-rev1107.patch b/net-im/jabberd/files/jabberd-1.4.4-xdb_file.c-rev1107.patch new file mode 100644 index 0000000..a664349 --- a/dev/null +++ b/net-im/jabberd/files/jabberd-1.4.4-xdb_file.c-rev1107.patch @@ -0,0 +1,13 @@ +--- xdb_file/xdb_file.c 2005/07/08 22:36:46 1106 ++++ xdb_file/xdb_file.c 2005/07/11 14:23:27 1107 +@@ -153,8 +153,8 @@ + + /* generate a hash over the filename */ + bzero(hashedfilename, sizeof(hashedfilename)); +- bzero(digit01, sizeof(digit01)); +- bzero(digit23, sizeof(digit23)); ++ bzero(digit01, sizeof(char[3])); ++ bzero(digit23, sizeof(char[3])); + crc32_r(filename, hashedfilename); + log_debug2(ZONE, LOGT_STORAGE, "hash of %s is %s", filename, hashedfilename); + memcpy(digit01, hashedfilename+1, 2); diff --git a/net-im/jabberd/files/jabberd-1.4.4-xdb_sql.c-rev1211.patch b/net-im/jabberd/files/jabberd-1.4.4-xdb_sql.c-rev1211.patch new file mode 100644 index 0000000..75f0a01 --- a/dev/null +++ b/net-im/jabberd/files/jabberd-1.4.4-xdb_sql.c-rev1211.patch @@ -0,0 +1,24 @@ +--- xdb_sql/xdb_sql.c 2006/03/15 22:16:37 1210 ++++ xdb_sql/xdb_sql.c 2006/04/25 22:01:39 1211 +@@ -269,10 +269,18 @@ + ret = mysql_query(xq->mysql, query); + + /* failed and we need to reconnect? */ +- if (ret == CR_SERVER_LOST || ret == CR_SERVER_GONE_ERROR) { +- xdb_sql_mysql_connect(i, xq); ++ if (ret) { ++ unsigned int query_errno = mysql_errno(xq->mysql); ++ if (query_errno == CR_SERVER_LOST || query_errno == CR_SERVER_GONE_ERROR) { ++ log_debug2(ZONE, LOGT_STORAGE, "connection lost, trying to reconnect to MySQL server"); ++ xdb_sql_mysql_connect(i, xq); + +- ret = mysql_query(xq->mysql, query); ++ ret = mysql_query(xq->mysql, query); ++ ++ if (ret == 0) { ++ log_notice(i->id, "connection to MySQL server %s:%i had been lost, and has been reestablished", xq->mysql_host , xq->mysql_port); ++ } ++ } + } + + /* still an error? log and return */ diff --git a/net-im/jabberd/files/jabberd-1.4.4.init b/net-im/jabberd/files/jabberd-1.4.4.init new file mode 100644 index 0000000..a25ac84 --- a/dev/null +++ b/net-im/jabberd/files/jabberd-1.4.4.init @@ -0,0 +1,29 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/files/jabberd-1.4.4.init,v 1.1 2006/09/27 22:31:36 nelchael Exp $ + +depend() { + + need net + provide jabber-server + +} + +start() { + + ebegin "Starting Jabber Server" + start-stop-daemon --start \ + -c jabber:jabber \ + -x /usr/bin/jabberd -- -B -c /etc/jabber/jabberd.xml + eend $? + +} + +stop() { + + ebegin "Stopping Jabber Server" + start-stop-daemon --stop -x /usr/bin/jabberd + eend $? + +} diff --git a/net-im/jabberd/files/jabberd-2.0.11-configure.in.patch b/net-im/jabberd/files/jabberd-2.0.11-configure.in.patch new file mode 100644 index 0000000..64a6697 --- a/dev/null +++ b/net-im/jabberd/files/jabberd-2.0.11-configure.in.patch @@ -0,0 +1,13 @@ +diff -Nru jabberd-2.0s11.vanilla/configure.in jabberd-2.0s11/configure.in +--- jabberd-2.0s11.vanilla/configure.in 2006-10-04 23:14:07.000000000 +0200 ++++ jabberd-2.0s11/configure.in 2006-10-04 23:19:58.000000000 +0200 +@@ -758,9 +758,6 @@ + dnl finishing up + dnl + +-dnl put our config in its own subdir +-sysconfdir="$sysconfdir/jabberd" +- + dnl done! + AC_OUTPUT(Makefile \ + etc/Makefile \ diff --git a/net-im/jabberd/files/jabberd-2.0.11.init b/net-im/jabberd/files/jabberd-2.0.11.init new file mode 100644 index 0000000..fee8d2e --- a/dev/null +++ b/net-im/jabberd/files/jabberd-2.0.11.init @@ -0,0 +1,80 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/files/jabberd-2.0.11.init,v 1.3 2007/01/09 10:38:59 nelchael Exp $ + +depend() { + need net + use mysql postgresql slapd + provide jabber-server +} + +function stopJabberServices() { + + eindent + for pidfile in /var/run/jabber/*.pid; do + if [[ -f "${pidfile}" ]]; then + service=$(basename ${pidfile/.pid/}) + ebegin "Stopping ${service}" + start-stop-daemon \ + --stop \ + --pidfile ${pidfile} + eend $? + fi + done + eoutdent + +} + +start() { + + einfo "Starting Jabber Server ..." + local services=$(grep -v ^# /etc/jabber/jabberd.cfg | grep '..*' | awk '{print $1 ":" $2}') + local tempPidHack=/var/run/jabber/start_stop_daemon.pid + eindent + for service in ${services}; do + + cfgfile=${service/*:/} + service=${service/:*/} + if [[ ! -f "${cfgfile}" ]]; then + if [[ -f "/etc/jabber/${service}.xml" ]]; then + cfgfile="/etc/jabber/${service}.xml" + else + eerror "Can't find: ${cfgfile} or default /etc/jabber/${service}.xml" + stopJabberServices + return 1 + fi + fi + + executable=/usr/bin/${service} + + if [[ ! -f "${executable}" ]]; then + eerror "Can't find executable: ${executable}" + stopJabberServices + return 1 + fi + + rm -f ${tempPidHack} &> /dev/null + ebegin "Starting ${service} (${cfgfile})" + start-stop-daemon \ + --background \ + --start \ + --chuid jabber:jabber \ + --exec /usr/bin/${service} \ + --pid ${tempPidHack} \ + --make-pidfile \ + -- -c ${cfgfile} + eend $? + rm -f ${tempPidHack} &> /dev/null + + done + eoutdent + +} + +stop() { + + einfo "Stopping Jabber Server" + stopJabberServices + +} diff --git a/net-im/jabberd/jabberd-1.4.4-r3.ebuild b/net-im/jabberd/jabberd-1.4.4-r3.ebuild new file mode 100644 index 0000000..dbd7b63 --- a/dev/null +++ b/net-im/jabberd/jabberd-1.4.4-r3.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/jabberd-1.4.4-r3.ebuild,v 1.13 2007/02/05 00:44:01 jer Exp $ + +inherit eutils + +DESCRIPTION="Open-source Jabber server" +HOMEPAGE="http://www.jabber.org" +SRC_URI="http://download.jabberd.org/jabberd14/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 hppa ~ppc sparc x86" +IUSE="debug ipv6 mysql postgres ssl" + +DEPEND=">=net-im/jabber-base-0.01 + >=dev-libs/pth-1.4.0 + dev-libs/expat + net-dns/libidn + dev-util/pkgconfig + mysql? ( virtual/mysql ) + postgres? ( dev-db/postgresql ) + ssl? ( >=dev-libs/openssl-0.9.6i )" + +pkg_setup() { + + if use ipv6; then + ewarn "Without full ipv6 support, jabberd will show the error:" + ewarn ' "mio unable to listen"' + ewarn "To fix this, emerge jabberd without the ipv6 USE flag." + fi + +} + +src_unpack() { + + unpack "${A}" + + cd "${S}" + + # Resolves bug #147342 + epatch "${FILESDIR}/${P}-openssl-0.9.8.patch" + + # Various fixes from upstream: + epatch "${FILESDIR}/${P}-str.c-rev1103.patch" + epatch "${FILESDIR}/${P}-xdb_file.c-rev1107.patch" + epatch "${FILESDIR}/${P}-xdb_sql.c-rev1211.patch" + epatch "${FILESDIR}/${P}-genhash.c-rev1253.patch" + epatch "${FILESDIR}/${P}-crypt.patch" + +} + +src_compile() { + + unset LC_ALL LC_CTYPE + + # Broken configure script - can't use "use_enable" + local myconf= + use debug && myconf="${myconf} --enable-debug --enable-pool-debug" + use ipv6 && myconf="${myconf} --enable-ipv6" + use ssl && myconf="${myconf} --enable-ssl" + + econf \ + --sysconfdir=/etc/jabber \ + ${myconf} \ + $(use_with mysql) \ + $(use_with postgres postgresql) \ + || die "econf failed" + + # Broken parallel build + emake -j1 || die "emake failed" + +} + +src_install() { + + make DESTDIR="${D}" install || die "make install failed" + + newinitd "${FILESDIR}"/${P}.init jabber || die "newinitd failed" + + # net-im/jabber-base provides needed directories + rm -rf "${D}/var" + mv "${D}/etc/jabber/jabber.xml" "${D}/etc/jabber/jabberd.xml" + mv "${D}/etc/jabber/jabber.xml.dist" "${D}/etc/jabber/jabberd.xml.dist" + + sed -i \ + -e 's,/var/lib/spool/jabberd,/var/spool/jabber,g' \ + -e 's,/var/lib/log/jabberd,/var/log/jabber,g' \ + -e 's,/var/lib/run/jabberd,/var/run/jabber,g' \ + -e 's,jabber.pid,jabberd14.pid,g' \ + "${D}"/etc/jabber/jabberd.xml{,.dist} \ + || die "sed failed" + +} + +pkg_postinst() { + + echo + einfo 'The various IM transports for jabber are now separate packages,' + einfo 'which you will need to install separately if you want them:' + einfo ' net-im/jit - ICQ transport' + einfo ' net-im/pymsn-t - MSN transport' + einfo ' net-im/jud - Jabber User Directory' + einfo ' net-im/yahoo-transport - Yahoo IM system' + einfo ' net-im/mu-conference - Jabber multi user conference' + echo + ewarn 'If upgrading from an older version, please stop jabberd BEFORE' + ewarn 'updating the init.d script, or you will end with a "dead" server.' + echo + ewarn 'The configuration filename has changed:' + ewarn ' Configure your server in /etc/jabber/jabberd.xml' + echo + ebeep + +} diff --git a/net-im/jabberd/jabberd-2.0.11-r1.ebuild b/net-im/jabberd/jabberd-2.0.11-r1.ebuild new file mode 100644 index 0000000..5a28efe --- a/dev/null +++ b/net-im/jabberd/jabberd-2.0.11-r1.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/jabberd-2.0.11-r1.ebuild,v 1.8 2007/04/10 08:44:43 nelchael Exp $ + +inherit autotools eutils versionator + +MY_PV=$(replace_version_separator 2 s) + +DESCRIPTION="Open Source Jabber Server" +HOMEPAGE="http://jabberd.jabberstudio.org/2/" +SRC_URI="http://jabberstudio.2nw.net/${PN}2/${PN}-${MY_PV}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="debug memdebug ipv6 ldap mysql pam pipe postgres sqlite ssl" + +DEPEND=">=net-im/jabber-base-0.01 + dev-libs/openssl + net-dns/libidn + ldap? ( net-nds/openldap ) + >=sys-libs/db-4.1.25 + mysql? ( virtual/mysql ) + postgres? ( dev-db/postgresql ) + sqlite? ( =dev-db/sqlite-3* ) + !=net-im/jabberd-2.0.11" + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_unpack() { + + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-configure.in.patch" + + eautoreconf + +} + +src_compile() { + + local localconf= + if use debug; then + localconf="${localconf} --enable-debug" + use memdebug && localconf="${localconf} --enable-nad-debug --enable-pool-debug" + else + if use memdebug; then + ewarn + ewarn '"memdebug" requires "debug" enabled.' + ewarn + fi + fi + + econf \ + --localstatedir=/var \ + --sysconfdir=/etc/jabber \ + --enable-db \ + ${localconf} \ + $(use_enable ipv6) \ + $(use_enable ldap) \ + $(use_enable mysql) \ + $(use_enable pam) \ + $(use_enable pipe) \ + $(use_enable postgres pgsql) \ + $(use_enable sqlite) \ + $(use_enable ssl) \ + || die "econf failed" + emake || die "make failed" + +} + +src_install() { + + make DESTDIR="${D}" install || die "make install failed" + + fowners jabber:jabber /usr/bin/{jabberd,router,resolver,sm,c2s,s2s} + fperms 750 /usr/bin/{jabberd,router,resolver,sm,c2s,s2s} + + newinitd "${FILESDIR}/jabberd-${PV}.init" jabberd || die "newinitd failed" + + dodoc AUTHORS PROTOCOL README + docinto tools + for i in db-setup.{mysql,pgsql} migrate.pl pipe-auth.pl; do + dodoc tools/${i} + done + + cd "${D}/etc/jabber/" + sed -i \ + -e 's,/var/jabberd/pid/,/var/run/jabber/,g' \ + -e 's,/var/jabberd/log/,/var/log/jabber/,g' \ + -e 's,/var/jabberd/db,/var/spool/jabber/,g' \ + *.xml *.xml.dist || die "sed failed" + sed -i \ + -e 's,<module>mysql</module>,<module>db</module>,' \ + c2s.xml* + +} diff --git a/net-im/jabberd/metadata.xml b/net-im/jabberd/metadata.xml new file mode 100644 index 0000000..bd66f19 --- a/dev/null +++ b/net-im/jabberd/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>nelchael@gentoo.org</email> + </maintainer> + <herd>net-im</herd> + <longdescription> + This is the original implementation of jabberd server. + This serves as the basis for running a jabber server in Gentoo. + </longdescription> +</pkgmetadata> diff --git a/profiles/categories b/profiles/categories index 90f4611..bb0294a 100644 --- a/profiles/categories +++ b/profiles/categories @@ -6,2 +6,3 @@ dev-libs dev-perl +net-im sys-apps |