summaryrefslogtreecommitdiff
authorMichael Krelin <hacker@klever.net>2007-04-22 23:23:39 (UTC)
committer Michael Krelin <hacker@klever.net>2007-04-22 23:23:39 (UTC)
commitd63aa3793906423bd3bffe6ab55578c162bfbbda (patch) (unidiff)
tree575b6dd5d44cf5166d42b62b59f7c0623c614fc6
parent4243b8fe439f0f819b797d908345bd8ffc067ead (diff)
downloadmisc-d63aa3793906423bd3bffe6ab55578c162bfbbda.zip
misc-d63aa3793906423bd3bffe6ab55578c162bfbbda.tar.gz
misc-d63aa3793906423bd3bffe6ab55578c162bfbbda.tar.bz2
net-im/jabberd: imported from portage
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--net-im/jabberd/ChangeLog438
-rw-r--r--net-im/jabberd/Manifest74
-rw-r--r--net-im/jabberd/files/digest-jabberd-1.4.4-r33
-rw-r--r--net-im/jabberd/files/digest-jabberd-2.0.11-r13
-rw-r--r--net-im/jabberd/files/jabberd-1.4.4-crypt.patch11
-rw-r--r--net-im/jabberd/files/jabberd-1.4.4-genhash.c-rev1253.patch11
-rw-r--r--net-im/jabberd/files/jabberd-1.4.4-mio-bug-rev1291.patch16
-rw-r--r--net-im/jabberd/files/jabberd-1.4.4-openssl-0.9.8.patch11
-rw-r--r--net-im/jabberd/files/jabberd-1.4.4-str.c-rev1103.patch11
-rw-r--r--net-im/jabberd/files/jabberd-1.4.4-xdb_file.c-rev1107.patch13
-rw-r--r--net-im/jabberd/files/jabberd-1.4.4-xdb_sql.c-rev1211.patch24
-rw-r--r--net-im/jabberd/files/jabberd-1.4.4.init29
-rw-r--r--net-im/jabberd/files/jabberd-2.0.11-configure.in.patch13
-rw-r--r--net-im/jabberd/files/jabberd-2.0.11.init80
-rw-r--r--net-im/jabberd/jabberd-1.4.4-r3.ebuild115
-rw-r--r--net-im/jabberd/jabberd-2.0.11-r1.ebuild98
-rw-r--r--net-im/jabberd/metadata.xml12
-rw-r--r--profiles/categories1
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 @@
1# ChangeLog for net-im/jabberd
2# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
3# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/ChangeLog,v 1.96 2007/04/10 08:44:43 nelchael Exp $
4
5 10 Apr 2007; Krzysiek Pawlik <nelchael@gentoo.org>
6 jabberd-2.0.11-r1.ebuild:
7 Fix installing documentation, see bug #173767.
8
9 05 Feb 2007; Jeroen Roovers <jer@gentoo.org> jabberd-1.4.4-r3.ebuild:
10 Stable for HPPA (bug #149358).
11
12 03 Feb 2007; Krzysiek Pawlik <nelchael@gentoo.org>
13 -files/multiple-xml-patch-00, -files/xml-stream-patch-00,
14 -files/multiple-xml-patch-01, -files/README.Gentoo,
15 -files/jabber.init.bundled, -files/jabber.init.gentoo,
16 -files/jabber.rc6-r5, -files/jabber.rc6-r6, -files/jabber.rc6-r7,
17 -files/jabber.rc6-r8, -files/jabber-conf.d, -files/multiple.xml,
18 -files/patch-c2s-buffers, -files/self-cert.jabberd-2.sh,
19 -files/self-cert.sh, -files/xdb-ldap.xml, -jabberd-1.4.3-r5.ebuild:
20 Remove old version, cleanup.
21
22 03 Feb 2007; Krzysiek Pawlik <nelchael@gentoo.org>
23 jabberd-1.4.3-r5.ebuild:
24 Drop hppa for now.
25
26 09 Jan 2007; Krzysiek Pawlik <nelchael@gentoo.org>
27 files/jabberd-2.0.11.init:
28 Fix jabberd init.d script to start multiple services, see bug #158466.
29
30 23 Nov 2006; Francesco Riosa <vivo@gentoo.org> jabberd-1.4.4-r3.ebuild,
31 jabberd-2.0.11-r1.ebuild:
32 dev-db/mysql => virtual/mysql
33
34 29 Oct 2006; Jason Wever <weeve@gentoo.org> jabberd-1.4.4-r3.ebuild:
35 Stable on SPARC wrt bug #149358.
36
37 23 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org>
38 jabberd-1.4.4-r3.ebuild:
39 Add missing dev-util/pkgconfig to DEPEND, see bug #152530.
40
41 21 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org>
42 jabberd-2.0.11-r1.ebuild:
43 Add memdebug USE flag, see bug #152065.
44
45 20 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org>
46 jabberd-1.4.4-r3.ebuild:
47 Add net-dns/libidn to DEPEND, see bug #152088.
48
49 18 Oct 2006; Joshua Jackson <tsunam@gentoo.org> jabberd-1.4.4-r3.ebuild:
50 Stable x86; bug #149358
51
52 15 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org>
53 jabberd-1.4.4-r3.ebuild:
54 Clean up DEPEND.
55
56 15 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org> -jabberd-2.0.11.ebuild:
57 Remove old version.
58
59 12 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org>
60 jabberd-2.0.11-r1.ebuild:
61 Make use of ssl USE flag. See bug #150941.
62
63 11 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org>
64 files/jabberd-2.0.11.init, jabberd-2.0.11-r1.ebuild:
65 Modified init.d script.
66
67 05 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org>
68 jabberd-2.0.11-r1.ebuild:
69 Fix bug #150153.
70
71 04 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org>
72 +files/jabberd-2.0.11-configure.in.patch, jabberd-2.0.11-r1.ebuild:
73 Added sqlite USE flag.
74
75*jabberd-2.0.11-r1 (04 Oct 2006)
76
77 04 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org>
78 +files/jabberd-2.0.11.init, metadata.xml, +jabberd-2.0.11-r1.ebuild:
79 New test version.
80
81 04 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org> -jabberd-2.0.9.ebuild,
82 -jabberd-2.0.10.ebuild:
83 Remove old versions (bug #80763), redigest 2.0.11 (bug #149868).
84
85 04 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org>
86 jabberd-1.4.4-r3.ebuild:
87 Remove the die when both postgres and mysql are in USE.
88
89 03 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org>
90 +files/jabberd-1.4.4-crypt.patch, -jabberd-1.4.3-r4.ebuild,
91 -jabberd-1.4.4-r2.ebuild, jabberd-1.4.4-r3.ebuild:
92 Added patch to fix crypt issue, removed unneeded versions.
93
94 28 Sep 2006; Krzysiek Pawlik <nelchael@gentoo.org>
95 +files/jabberd-1.4.4-genhash.c-rev1253.patch,
96 +files/jabberd-1.4.4-mio-bug-rev1291.patch,
97 +files/jabberd-1.4.4-str.c-rev1103.patch,
98 +files/jabberd-1.4.4-xdb_file.c-rev1107.patch,
99 +files/jabberd-1.4.4-xdb_sql.c-rev1211.patch, jabberd-1.4.4-r3.ebuild:
100 Add various fixes from upstream.
101
102 28 Sep 2006; Krzysiek Pawlik <nelchael@gentoo.org>
103 jabberd-1.4.4-r3.ebuild:
104 Ebuild cleanup, thanks to Paul Bredbury <brebs@sent.com> for help in bug
105 #149377.
106
107 27 Sep 2006; Krzysiek Pawlik <nelchael@gentoo.org>
108 jabberd-1.4.4-r3.ebuild:
109 Add block against net-im/aim-transport.
110
111*jabberd-1.4.4-r3 (27 Sep 2006)
112
113 27 Sep 2006; Krzysiek Pawlik <nelchael@gentoo.org>
114 +files/jabberd-1.4.4-openssl-0.9.8.patch, +files/jabberd-1.4.4.init,
115 +jabberd-1.4.4-r3.ebuild:
116 Add testing version of jabberd-1.4.4.
117
118 20 Sep 2006; Krzysiek Pawlik <nelchael@gentoo.org> metadata.xml:
119 Changed maintainer.
120
121 05 May 2006; Diego Pettenò <flameeyes@gentoo.org>
122 jabberd-1.4.3-r4.ebuild, jabberd-1.4.3-r5.ebuild, jabberd-2.0.9.ebuild,
123 jabberd-2.0.10.ebuild, jabberd-2.0.11.ebuild:
124 Fix enewuser/enewgroup location, bug #130849.
125
126 30 Apr 2006; <reb@gentoo.org> ChangeLog:
127 version bump, security bug #126978
128
129 22 Mar 2006; Mark Loeser <halcy0n@gentoo.org>
130 files/digest-jabberd-1.4.4-r2:
131 Remove unused digest
132
133 22 Mar 2006; Olivier Crête <tester@gentoo.org> jabberd-1.4.4-r2.ebuild:
134 Removed dying on ldap use flag and completely disabled the flag, see bug
135 #125435
136
137*jabberd-1.4.4-r2 (04 Mar 2006)
138
139 04 Mar 2006; Gustavo Felisberto <humpback@gentoo.org>;
140 -jabberd-1.4.4-r1.ebuild, +jabberd-1.4.4-r2.ebuild:
141 New revision, lets see if it clears #124906
142
143*jabberd-1.4.4-r1 (04 Mar 2006)
144
145 04 Mar 2006; Gustavo Felisberto <humpback@gentoo.org>;
146 -jabberd-1.4.4.ebuild, +jabberd-1.4.4-r1.ebuild:
147 Uppps, forgot to add the init.d files to the ebuild.
148
149*jabberd-1.4.4 (04 Mar 2006)
150
151 04 Mar 2006; Gustavo Felisberto <humpback@gentoo.org>;
152 +jabberd-1.4.4.ebuild:
153 Added 1.4.4 that is jabber-base OK. The new build system took some time to
154 adapt to our layout.
155
156*jabberd-2.0.10 (01 Feb 2006)
157
158 01 Feb 2006; Wolfram Schlich <wschlich@gentoo.org> +jabberd-2.0.10.ebuild:
159 version bump
160
161 31 Dec 2005; Diego Pettenò <flameeyes@gentoo.org>
162 jabberd-1.4.3-r4.ebuild:
163 Change /bin/false to -1 in enewuser call.
164
165 24 Nov 2005; Simon Stelling <blubb@gentoo.org> jabberd-1.4.3-r5.ebuild:
166 fix multilib issue; bug 113472
167
168 23 Aug 2005; Gustavo Felisberto <humpback@gentoo.org>;
169 jabberd-1.4.3-r5.ebuild, jabberd-2.0.9.ebuild:
170 QA issue #103421
171
172 07 Aug 2005; Wolfram Schlich <wschlich@gentoo.org>
173 -files/jabberd-2.0.8-r2-FindBin.patch, -jabberd-2.0.8-r2.ebuild:
174 remove vulnerable version (SA16291)
175
176*jabberd-2.0.9 (07 Aug 2005)
177
178 07 Aug 2005; Wolfram Schlich <wschlich@gentoo.org> +jabberd-2.0.9.ebuild:
179 version bump due to security fix (SA16291)
180
181 08 Jul 2005; Wolfram Schlich <wschlich@gentoo.org>
182 jabberd-2.0.8-r2.ebuild:
183 fix patch filename
184
185*jabberd-2.0.8-r2 (08 Jul 2005)
186
187 08 Jul 2005; Wolfram Schlich <wschlich@gentoo.org>
188 +files/jabberd-2.0.8-r2-FindBin.patch, -files/jabberd-2.0s8-FindBin.patch,
189 -jabberd-2.0-r2.ebuild, -jabberd-2.0.8-r1.ebuild,
190 +jabberd-2.0.8-r2.ebuild, -jabberd-2.0.8.ebuild,
191 -jabberd-2.0_p20050119.ebuild:
192 fix FindBin patch, remove old versions
193
194*jabberd-2.0.8-r1 (13 Jun 2005)
195
196 13 Jun 2005; Wolfram Schlich <wschlich@gentoo.org>
197 +files/jabberd-2.0s8-FindBin.patch, +jabberd-2.0.8-r1.ebuild:
198 fix FindBin issue
199
200 24 May 2005; Jason Wever <weeve@gentoo.org> jabberd-1.4.3-r5.ebuild:
201 Stable on SPARC wrt security bug #91478.
202
203 22 May 2005; Rene Nussbaumer <killerfox@gentoo.org>
204 jabberd-1.4.3-r5.ebuild:
205 Stable on hppa; bug #91478
206
207*jabberd-1.4.3-r5 (21 May 2005)
208
209 21 May 2005; Gustavo Felisberto <humpback@gentoo.org>;
210 +files/jabber.rc6-r8, +jabberd-1.4.3-r5.ebuild:
211 New revision to help solve a small sec problem.
212
213*jabberd-2.0.8 (28 Apr 2005)
214
215 28 Apr 2005; Wolfram Schlich <wschlich@gentoo.org>
216 +files/self-cert.jabberd-2.sh, +jabberd-2.0.8.ebuild:
217 add jabberd2 specific self-cert.sh
218
219*jabberd-2.0.8 (28 Apr 2005)
220
221 28 Apr 2005; Wolfram Schlich <wschlich@gentoo.org> +jabberd-2.0.8.ebuild:
222 initial import
223
224 02 Apr 2005; Jason Wever <weeve@gentoo.org> jabberd-1.4.3-r4.ebuild:
225 Stable on SPARC.
226
227 25 Mar 2005; Bryan Østergaard <kloeri@gentoo.org>
228 jabberd-1.4.3-r4.ebuild:
229 Add ~alpha keyword, bug 83819.
230
231 12 Mar 2005; Wolfram Schlich <wschlich@gentoo.org>
232 jabberd-2.0_p20050119.ebuild:
233 add missing inherit flag-o-matic for USE=debug
234
235 01 Feb 2005; Gustavo Felisberto <humpback@gentoo.org>;
236 -jabberd-1.4.3-r3.ebuild:
237 Can delete older version with small sec problem as all arches have updated.
238
239*jabberd-2.0_p20050119 (31 Jan 2005)
240
241 31 Jan 2005; Gustavo Felisberto <humpback@gentoo.org>;
242 +jabberd-2.0_p20050119.ebuild:
243 Adding cvs snapshot hardmasked. Credit to Wolfram Schlich
244 <wschlich@gentoo.org> for updating alot of stuff here.
245
246 15 Dec 2004; Gustavo Felisberto <humpback@gentoo.org>;
247 jabberd-2.0-r2.ebuild:
248 Fixing bug 74200, thanks to Henning Gunther for the tip.
249
250 02 Dec 2004; Gustavo Felisberto <humpback@gentoo.org>;
251 jabberd-1.4.3-r4.ebuild:
252 Changing pth dep to >=1.4.0 and not =1.4.0. Thanks to Daniel Webert in bug
253 73042
254
255 24 Nov 2004; Sven Wegener <swegener@gentoo.org> :
256 Removed stray digest.
257
258*jabberd-2.0-r2 (24 Nov 2004)
259
260 24 Nov 2004; Gustavo Felisberto <humpback@gentoo.org>;
261 -jabberd-2.0-r1.ebuild, +jabberd-2.0-r2.ebuild, -jabberd-2.0.ebuild:
262 Removing older 2.0 releases and adding 2.0.s4 with fix for exploit
263 http://archives.neohapsis.com/archives/fulldisclosure/2004-11/1075.html
264
265 27 Oct 2004; Tom Martin <slarti@gentoo.org> jabberd-1.4.3-r4.ebuild,
266 jabberd-2.0-r1.ebuild:
267 Marked ~amd64 for bug 59436.
268
269 21 Sep 2004; Gustavo Felisberto <humpback@gentoo.org>;
270 jabberd-1.4.3-r4.ebuild:
271 Adding expat dep.
272
273 20 Sep 2004; Gustavo Felisberto <humpback@gentoo.org>;
274 jabberd-1.4.3-r3.ebuild, jabberd-1.4.3-r4.ebuild:
275 Added ewarn about ipv6 in USE flag thanks to guido in bug #63845 for bringing
276 this to our attention
277
278*jabberd-1.4.3-r4 (20 Sep 2004)
279
280 20 Sep 2004; Gustavo Felisberto <humpback@gentoo.org>;
281 +jabberd-1.4.3-r4.ebuild:
282 Bumping version with fix for DoS attack. See bug #64741 for more info. Thanks
283 to justin-gentoo at openaether.org for bringing this to our attention.
284
285 01 Sep 2004; Gustavo Felisberto <humpback@gentoo.org>;
286 jabberd-2.0-r1.ebuild:
287 Fixing new way that configure receives parameters, closes bug 61896
288
289*jabberd-2.0-r1 (12 Aug 2004)
290
291 12 Aug 2004; Gustavo Felisberto <humpback@gentoo.org>;
292 +jabberd-2.0-r1.ebuild:
293 Updated to s3, I still need reports on how this works with the older
294 transports, please report back at bug #39395
295
296 08 Jul 2004; Gustavo Felisberto <humpback@gentoo.org>; files/jabber.rc6-r7,
297 jabberd-1.4.3-r3.ebuild:
298 Small correction to init script. Thanks to Wendall Cada for help with testing
299
300 07 Jul 2004; Gustavo Felisberto <humpback@gentoo.org>;
301 jabberd-1.4.3-r3.ebuild:
302 Stable on hppa so that deps dont break
303
304 05 Jul 2004; Gustavo Felisberto <humpback@gentoo.org>; files/jabber.rc6-r7:
305 New update to init script
306
307 03 Jul 2004; Gustavo Felisberto <humpback@gentoo.org>;
308 -jabberd-1.4.3-r2.ebuild, jabberd-1.4.3-r3.ebuild, jabberd-2.0.ebuild:
309 Marking ~hppa because of dependencies not stable
310
311 02 Jul 2004; Gustavo Felisberto <humpback@gentoo.org>;
312 jabberd-1.4.3-r3.ebuild:
313 Added icq to USE
314
315 24 Jun 2004; Gustavo Felisberto <humpback@gentoo.org>; files/jabber-conf.d,
316 files/jabber.rc6-r7:
317 Small update to init script
318
319 23 Jun 2004; Gustavo Felisberto <humpback@gentoo.org>;
320 -jabberd-1.4.3-r1.ebuild, jabberd-1.4.3-r2.ebuild:
321 Deletting older version and making 1.4.3-r2 depend on the correct older
322 transports, because some in some arch -r3 is not marked stable
323
324 19 Jun 2004; Gustavo Felisberto <humpback@gentoo.org>;
325 jabberd-1.4.3-r3.ebuild:
326 Marking stable on x86
327
328 18 Jun 2004; Jason Wever <weeve@gentoo.org> jabberd-1.4.3-r3.ebuild,
329 jabberd-2.0.ebuild:
330 Bringing back the ~sparc keywords, yay\!
331
332 10 Jun 2004; Aron Griffis <agriffis@gentoo.org> jabberd-1.4.3-r1.ebuild,
333 jabberd-1.4.3-r2.ebuild, jabberd-1.4.3-r3.ebuild, jabberd-2.0.ebuild:
334 Fix use invocation
335
336 08 Jun 2004; Guy Martin <gmsoft@gentoo.org> jabberd-1.4.3-r3.ebuild:
337 Marked stable on hppa.
338
339 03 Jun 2004; David Holm <dholm@gentoo.org> jabberd-1.4.3-r1.ebuild,
340 jabberd-1.4.3-r2.ebuild, jabberd-1.4.3-r3.ebuild:
341 Added to ~ppc.
342
343 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> jabberd-1.4.3-r1.ebuild,
344 jabberd-1.4.3-r2.ebuild, jabberd-1.4.3-r3.ebuild, jabberd-2.0.ebuild:
345 Add inherit eutils
346
347 09 Apr 2004; Gustavo Felisberto <humpback@gentoo.org>; jabberd-2.0.ebuild:
348 Added patch to a XML stream bug. See
349 http://www.jabberstudio.org/projects/jabberd2/bugs/view.php?id=3061 credit for
350 this must be given to cfs@nova.es
351
352 09 Apr 2004; David Holm <dholm@gentoo.org> jabberd-2.0.ebuild:
353 Added to ~ppc.
354
355*jabberd-2.0 (08 Apr 2004)
356
357 08 Apr 2004; Gustavo Felisberto <humpback@gentoo.org>; jabberd-2.0.ebuild,
358 files/README.Gentoo, files/jabber.rc6-r7:
359 Adding jabberd2 to portage. This must stay hardmasked because it needs further
360 testing.
361
362*jabberd-1.4.3-r3 (08 Apr 2004)
363
364 08 Apr 2004; Gustavo Felisberto <humpback@gentoo.org>;
365 jabberd-1.4.3-r2.ebuild, jabberd-1.4.3-r3.ebuild, files/jabber-conf.d,
366 files/jabber.rc6-r7:
367 Adding hard masked -r3 version that will only start the main server. See bug
368 43851
369
370 29 Mar 2004; Gustavo Felisberto <humpback@gentoo.org>; files/self-cert.sh:
371 Small fix in self-cert.sh thanks to Tom Forsythe <gentoobugs@animelover.com>
372 in bug 46039
373
374 27 Mar 2004; Gustavo Felisberto <humpback@gentoo.org>;
375 jabberd-1.4.3-r2.ebuild:
376 Fixed bug 45830. Thanks to Antonio <netbix@netbix.net> .
377
378 27 Mar 2004; Gustavo Felisberto <humpback@gentoo.org>;
379 jabberd-1.4.3-r2.ebuild:
380 Small correction see bug 45830.
381
382*jabberd-1.4.3-r2 (01 Mar 2004)
383
384 01 Mar 2004; Gustavo Felisberto <humpback@gentoo.org>; files/jabber.rc6-r6:
385 Updating stop portion of init.d script thanks to Piotr Banasik
386 <piotr@t-p-l.com>. Also updating dependencies.
387
388 25 Feb 2004; Jason Wever <weeve@gentoo.org> jabberd-1.4.3-r1.ebuild:
389 Added ~sparc keyword, helps resolve bug #42928.
390
391 21 Feb 2004; Don Seiler <rizzo@gentoo.org>; jabberd-1.4.3-r1.ebuild:
392 Added use of msn, yahoo, and oscar USE flags
393
394 17 Feb 2004; Gustavo Felisberto <humpback@gentoo.org>;
395 jabberd-1.4.3-r1.ebuild:
396 Marking stable on x86
397
398 13 Feb 2004; Gustavo Felisberto <humpback@gentoo.org>;
399 jabberd-1.4.3-r1.ebuild, files/multiple-xml-patch-00:
400 Ebuild now patches the oficial config file to the Gentoo path's instead of
401 using our own file
402
403 11 Feb 2004; Gustavo Felisberto <humpback@gentoo.org>; files/multiple.xml:
404 Added comments to multiple.xml
405
406 10 Feb 2004; Gustavo Felisberto <humpback@gentoo.org>;
407 jabberd-1.4.3-r1.ebuild:
408 Changed useradd to enewuser
409
410 02 Feb 2004; Gustavo Felisberto <humpback@gentoo.org>; files/jabber.rc6-r5:
411 Updated the start/stop script
412
413 29 Jan 2004; Gustavo Felisberto <humpback@gentoo.org>;
414 jabberd-1.4.3-r1.ebuild, jabberd-1.4.3.ebuild:
415 Removing touch of .keep . Closes bug 39813
416
417 27 Jan 2004; Gustavo Felisberto <humpback@gentoo.org>; files/multiple.xml:
418 Added <browse> </browse> to multiple.xml
419
420 26 Jan 2004; Gustavo Felisberto <humpback@gentoo.org>;
421 jabberd-1.4.3-r1.ebuild:
422 Fixed ${P} to ${PF} in einfo about doc
423
424*jabberd-1.4.3-r1 (23 Jan 2004)
425
426 23 Jan 2004; Gustavo Felisberto <humpback@gentoo.org>;
427 jabberd-1.4.3-r1.ebuild, metadata.xml:
428 Revision bump to add ipv6 support.
429
430*jabberd-1.4.3 (11 Jan 2004)
431
432 11 Jan 2004; Don Seiler <rizzo@gentoo.org>; jabberd-1.4.3.ebuild,
433 metadata.xml, files/README.Gentoo, files/jabber.rc6-r5, files/multiple.xml,
434 files/self-cert.sh, files/xdb-ldap.xml:
435 Breaking up jabber-server into separate server/transport packages. Satisfies
436 bugs 37316 and 37393. Greater bulk of the work done by dev-in-training Gustavo
437 "Humpback" Felisberto.
438
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 @@
1-----BEGIN PGP SIGNED MESSAGE-----
2Hash: SHA1
3
4AUX jabberd-1.4.4-crypt.patch 605 RMD160 62763a71dfeb13763cd6e2cb47a2ec36a942fd42 SHA1 3befde7962b643050e61d04bd87483ed192483a1 SHA256 0a96fea2745058546bada3b234be4a803df836ba2b65052737b000867e932eca
5MD5 3de1d023b07d0bf247a71329eb70355d files/jabberd-1.4.4-crypt.patch 605
6RMD160 62763a71dfeb13763cd6e2cb47a2ec36a942fd42 files/jabberd-1.4.4-crypt.patch 605
7SHA256 0a96fea2745058546bada3b234be4a803df836ba2b65052737b000867e932eca files/jabberd-1.4.4-crypt.patch 605
8AUX jabberd-1.4.4-genhash.c-rev1253.patch 392 RMD160 e78d8a7edaaf65e2057c39ab5a564c926ea4b5d1 SHA1 abc212773b9d469c308bf57c6558f331c73f574d SHA256 f6c49a1e5a788c300c87912553b9d2ba4295c395c58b81bfac0bdce6d10a78ea
9MD5 da03862bd6e85156860dda87ed726b1c files/jabberd-1.4.4-genhash.c-rev1253.patch 392
10RMD160 e78d8a7edaaf65e2057c39ab5a564c926ea4b5d1 files/jabberd-1.4.4-genhash.c-rev1253.patch 392
11SHA256 f6c49a1e5a788c300c87912553b9d2ba4295c395c58b81bfac0bdce6d10a78ea files/jabberd-1.4.4-genhash.c-rev1253.patch 392
12AUX jabberd-1.4.4-mio-bug-rev1291.patch 499 RMD160 7d50054ca0c3304d47b530a604c68d2e2b5d4c5f SHA1 6ae07090112cb9f4ba5d84e1ba798e20b59cb2bf SHA256 8aef4a6bedaeaad668b4df57a42dc3ece8ad7b91789dcff1e942af819b582841
13MD5 15d1ed12f5a4d1849f2c3c050aa4e7d4 files/jabberd-1.4.4-mio-bug-rev1291.patch 499
14RMD160 7d50054ca0c3304d47b530a604c68d2e2b5d4c5f files/jabberd-1.4.4-mio-bug-rev1291.patch 499
15SHA256 8aef4a6bedaeaad668b4df57a42dc3ece8ad7b91789dcff1e942af819b582841 files/jabberd-1.4.4-mio-bug-rev1291.patch 499
16AUX jabberd-1.4.4-openssl-0.9.8.patch 485 RMD160 d320a884f318640521ee5934b92a00440b067eff SHA1 55d7e2fd660931ffe171c2234bce135f8afe55c5 SHA256 ede42894807ca3eece8c5e52a771870233317e5bc6cb3ddfe749a372a08270bc
17MD5 b223acb6e59434654550a7564a0a5762 files/jabberd-1.4.4-openssl-0.9.8.patch 485
18RMD160 d320a884f318640521ee5934b92a00440b067eff files/jabberd-1.4.4-openssl-0.9.8.patch 485
19SHA256 ede42894807ca3eece8c5e52a771870233317e5bc6cb3ddfe749a372a08270bc files/jabberd-1.4.4-openssl-0.9.8.patch 485
20AUX jabberd-1.4.4-str.c-rev1103.patch 302 RMD160 34d5de8b755b5029f91c02030308e90e6e38a395 SHA1 4087e906f6b7a354bccd17132b90baeae358ad2b SHA256 929afb2954329eaef703ca985cd9e391002b80aea5e21f0d67933ffaa12db9c3
21MD5 447742a0224ee4557645e17b489abd11 files/jabberd-1.4.4-str.c-rev1103.patch 302
22RMD160 34d5de8b755b5029f91c02030308e90e6e38a395 files/jabberd-1.4.4-str.c-rev1103.patch 302
23SHA256 929afb2954329eaef703ca985cd9e391002b80aea5e21f0d67933ffaa12db9c3 files/jabberd-1.4.4-str.c-rev1103.patch 302
24AUX jabberd-1.4.4-xdb_file.c-rev1107.patch 539 RMD160 dbfca4d0801291f1b1c10e12ac4040d06a38006f SHA1 593fd01f2e0003aedf6714fc9e384da68e04b511 SHA256 6f532e7f792431072226fea8c032fa3463080b355325a7281317a2764ea6e245
25MD5 c3d81de427c5acd5f9e54ce6371adad2 files/jabberd-1.4.4-xdb_file.c-rev1107.patch 539
26RMD160 dbfca4d0801291f1b1c10e12ac4040d06a38006f files/jabberd-1.4.4-xdb_file.c-rev1107.patch 539
27SHA256 6f532e7f792431072226fea8c032fa3463080b355325a7281317a2764ea6e245 files/jabberd-1.4.4-xdb_file.c-rev1107.patch 539
28AUX jabberd-1.4.4-xdb_sql.c-rev1211.patch 882 RMD160 48c9f7ad6f4c10c26c9aa89730434a3632de3f75 SHA1 8519d7920e75c3273efe766f3336c588808e0778 SHA256 5dda2f6b8c86b0b02d569f3436d2d0b23d352926649469b2f4041a94535a6c10
29MD5 9145524db44a8da4ade06cf07811ef75 files/jabberd-1.4.4-xdb_sql.c-rev1211.patch 882
30RMD160 48c9f7ad6f4c10c26c9aa89730434a3632de3f75 files/jabberd-1.4.4-xdb_sql.c-rev1211.patch 882
31SHA256 5dda2f6b8c86b0b02d569f3436d2d0b23d352926649469b2f4041a94535a6c10 files/jabberd-1.4.4-xdb_sql.c-rev1211.patch 882
32AUX jabberd-1.4.4.init 554 RMD160 83098dfae23a67267dffeb5609e572b501fa9a8e SHA1 630cd9c50c20a73992b9891051e02350f6abcba9 SHA256 769e4ee4e193a1d63fe4839f923fb2a6339489a677595ba75986e19cb1ba39ac
33MD5 3b4be327293fb0abc0cdb5dcac80d033 files/jabberd-1.4.4.init 554
34RMD160 83098dfae23a67267dffeb5609e572b501fa9a8e files/jabberd-1.4.4.init 554
35SHA256 769e4ee4e193a1d63fe4839f923fb2a6339489a677595ba75986e19cb1ba39ac files/jabberd-1.4.4.init 554
36AUX jabberd-2.0.11-configure.in.patch 396 RMD160 86c99a761a23e55ebce98bdffba060e18073826f SHA1 59d16a3ce6f30bdea79c67fe9051a6c4624ddac9 SHA256 afa527ce6e4abedf097a92dc73046b8bacd851bf75ea309bd706937c8080aa5f
37MD5 0d6acfc3d4a22d09d4d17ffd202d38d8 files/jabberd-2.0.11-configure.in.patch 396
38RMD160 86c99a761a23e55ebce98bdffba060e18073826f files/jabberd-2.0.11-configure.in.patch 396
39SHA256 afa527ce6e4abedf097a92dc73046b8bacd851bf75ea309bd706937c8080aa5f files/jabberd-2.0.11-configure.in.patch 396
40AUX jabberd-2.0.11.init 1701 RMD160 0637157c6c84aa9acc5e787ae347980506db3c02 SHA1 95958ed179ec3c8b20dc4a2934c1a8adae08b92b SHA256 21ab8f057412d853318370b567c8f53c4d33dfc6ca2151e205f51c01b7dd5c0a
41MD5 15e304cfa6bdf41c2633da7fe6063ace files/jabberd-2.0.11.init 1701
42RMD160 0637157c6c84aa9acc5e787ae347980506db3c02 files/jabberd-2.0.11.init 1701
43SHA256 21ab8f057412d853318370b567c8f53c4d33dfc6ca2151e205f51c01b7dd5c0a files/jabberd-2.0.11.init 1701
44DIST jabberd-1.4.4.tar.gz 613479 RMD160 3273d0711fb6f0f6b95749d8bdb1ac5004aed074 SHA1 5fa5b561740720591997ed189609403af8c796c2 SHA256 72e23766e737588ed8d77ca7565a8f4b2bba73967c02e9b7ee4d2122d198a0af
45DIST jabberd-2.0s11.tar.gz 777466 RMD160 7e89790abb5ff4e84a0a38ac5afbc0c365d60b3d SHA1 c938d95fc17634b889ba9b1d7d27115593b13e3d SHA256 0ef0f668f5d86b8c22ce0ae2366bff0be9d4c961d6f48b7b849ebe749bdb213a
46EBUILD jabberd-1.4.4-r3.ebuild 3066 RMD160 f17931e3958c08c395419c718c009578929c7b23 SHA1 1d235e8d0574e83ebe870566d409f1ae937c3de9 SHA256 c240575c4deccbef864c3415397b913252321ff291d4c1291a8fb327bbe5d057
47MD5 703d5ba2de35a3258c9fa81b9ff5fc96 jabberd-1.4.4-r3.ebuild 3066
48RMD160 f17931e3958c08c395419c718c009578929c7b23 jabberd-1.4.4-r3.ebuild 3066
49SHA256 c240575c4deccbef864c3415397b913252321ff291d4c1291a8fb327bbe5d057 jabberd-1.4.4-r3.ebuild 3066
50EBUILD jabberd-2.0.11-r1.ebuild 2296 RMD160 65c90c7c98dd4479e41cefd709c8d978d6a954f1 SHA1 9df16440e636bbcaf444d96b6ed648cc009aa1f1 SHA256 cc0f46b870e66636035b0a0b0d8578ffe20bc955bd4a78de67810eca4e24c022
51MD5 f8f39d1a57b8074a95791b64a1c95b84 jabberd-2.0.11-r1.ebuild 2296
52RMD160 65c90c7c98dd4479e41cefd709c8d978d6a954f1 jabberd-2.0.11-r1.ebuild 2296
53SHA256 cc0f46b870e66636035b0a0b0d8578ffe20bc955bd4a78de67810eca4e24c022 jabberd-2.0.11-r1.ebuild 2296
54MISC ChangeLog 15464 RMD160 bac8facc410dced776f4b5d9f0c4b051100f9409 SHA1 2ed0d2fa838de3b4e1d720f577116af6eba842ec SHA256 7ea8ffdf9c099ca3fc43ccb381100ce6b519de8f6bb582305535491373fb8830
55MD5 e71dbcd3a38fc84fc22dac39a6019359 ChangeLog 15464
56RMD160 bac8facc410dced776f4b5d9f0c4b051100f9409 ChangeLog 15464
57SHA256 7ea8ffdf9c099ca3fc43ccb381100ce6b519de8f6bb582305535491373fb8830 ChangeLog 15464
58MISC metadata.xml 399 RMD160 e223c713f74619996bc47a70298aa535f6addf09 SHA1 dc9bc290a5ed00f7101aabd3a40b346112eb40eb SHA256 f68b0864864ad54de5cf072835fc9903e709987261ad1fc102afb0019aa52377
59MD5 be8887bde84aab1d4ff9d5a0f5d50141 metadata.xml 399
60RMD160 e223c713f74619996bc47a70298aa535f6addf09 metadata.xml 399
61SHA256 f68b0864864ad54de5cf072835fc9903e709987261ad1fc102afb0019aa52377 metadata.xml 399
62MD5 6608e1126e4f091819d2c41a1a8843a5 files/digest-jabberd-1.4.4-r3 241
63RMD160 0c09cceb4332b70a38db717adb4bd1d244337b72 files/digest-jabberd-1.4.4-r3 241
64SHA256 05c069ff9a60336785d0d1049dc28c727a5b4cc2f9a40c0f5304f98f2343cb9b files/digest-jabberd-1.4.4-r3 241
65MD5 3cbebd7d43212be46daad3e042dce34f files/digest-jabberd-2.0.11-r1 244
66RMD160 4638cd85561494bb4ec40e8af80cc145f8156b23 files/digest-jabberd-2.0.11-r1 244
67SHA256 8d5a3e81789ef9e85b365e2974311b0f46ffb940a2b0bfdbc80457e40014f05b files/digest-jabberd-2.0.11-r1 244
68-----BEGIN PGP SIGNATURE-----
69Version: GnuPG v2.0.3 (GNU/Linux)
70
71iD8DBQFGG06Wgo/w9rxVVVERAqwGAJ9hGphTLOa8Up4pjiU0RZR8wskt9wCfZBxL
72/1ZKMSqwcAOvHY/oik5od+U=
73=up4x
74-----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 @@
1MD5 395f814a6627436ba7bd235509adcbc7 jabberd-1.4.4.tar.gz 613479
2RMD160 3273d0711fb6f0f6b95749d8bdb1ac5004aed074 jabberd-1.4.4.tar.gz 613479
3SHA256 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 @@
1MD5 67d1663ed97a5ba707d5d145b1d19c55 jabberd-2.0s11.tar.gz 777466
2RMD160 7e89790abb5ff4e84a0a38ac5afbc0c365d60b3d jabberd-2.0s11.tar.gz 777466
3SHA256 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 @@
1diff -ru jabberd-1.4.4.vanilla/jsm/Makefile.am jabberd-1.4.4/jsm/Makefile.am
2 --- jabberd-1.4.4.vanilla/jsm/Makefile.am2006-10-03 14:07:22.000000000 +0200
3 +++ jabberd-1.4.4/jsm/Makefile.am2006-10-03 14:27:12.000000000 +0200
4@@ -7,6 +7,6 @@
5
6 libjabberdsm_la_SOURCES = authreg.c deliver.c jsm.c modules.c offline.c server.c sessions.c users.c util.c
7 libjabberdsm_la_LIBADD = $(top_builddir)/jsm/modules/libjabberdsmmods.la $(top_builddir)/jabberd/libjabberd.la
8-libjabberdsm_la_LDFLAGS = @LDFLAGS@ -module
9+libjabberdsm_la_LDFLAGS = -lcrypt @LDFLAGS@ -module
10
11 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 @@
1 --- jabberd/lib/genhash.c 2006/06/07 09:17:301252
2 +++ jabberd/lib/genhash.c 2006/06/23 09:24:181253
3@@ -148,7 +148,7 @@
4 xht h = (xht)tbl;
5
6 for(i = 0; i < h->prime; i++)
7- for(n = &h->zen[i]; n != NULL; n = n->next)
8+ for(n = h->zen[i]; n != NULL; n = n->next)
9 if(n->key != NULL && n->val != NULL)
10 (*func)(user_data, n->key, n->val);
11
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 @@
1 --- jabberd/mio.c 2006/08/10 14:54:021290
2 +++ jabberd/mio.c 2006/09/02 05:35:461291
3@@ -469,6 +469,13 @@
4 return NULL;
5 }
6
7+ /* do not accept a higher fd than FD_SET, or FD_CLR can handle */
8+ if (fd >= FD_SETSIZE) {
9 +log_warn(NULL, "could not accept incoming connection, maximum number of connections reached (%i)", FD_SETSIZE);
10 +close(fd);
11 +return NULL;
12+ }
13+
14 log_debug2(ZONE, LOGT_IO, "_mio_accept(%X) accepted fd #%d", m, fd);
15
16 /* 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 @@
1diff -Nru --exclude=tags jabberd-1.4.4/jabberd/mio_ssl.c jabberd-1.4.4.fixed/jabberd/mio_ssl.c
2 --- jabberd-1.4.4/jabberd/mio_ssl.c2005-04-16 00:07:23.000000000 +0200
3 +++ jabberd-1.4.4.fixed/jabberd/mio_ssl.c2006-09-12 18:23:35.000000000 +0200
4@@ -103,6 +103,7 @@
5
6 log_debug2(ZONE, LOGT_INIT|LOGT_CONFIG, "Handling configuration using: %s", xmlnode2str(x));
7 /* Generic SSL Inits */
8 +SSL_library_init();
9 OpenSSL_add_all_algorithms();
10 SSL_load_error_strings();
11
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 @@
1 --- jabberd/lib/str.c 2005/04/12 11:43:151094
2 +++ jabberd/lib/str.c 2005/04/16 19:54:241103
3@@ -417,7 +417,7 @@
4 static char buff[64];
5 int i;
6
7- i = snprintf(buff,63,"%s:%d",file,line);
8+ i = snprintf(buff, sizeof(buff), "%s:%d", file, line);
9 buff[i] = '\0';
10
11 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 @@
1 --- xdb_file/xdb_file.c 2005/07/08 22:36:461106
2 +++ xdb_file/xdb_file.c 2005/07/11 14:23:271107
3@@ -153,8 +153,8 @@
4
5 /* generate a hash over the filename */
6 bzero(hashedfilename, sizeof(hashedfilename));
7- bzero(digit01, sizeof(digit01));
8- bzero(digit23, sizeof(digit23));
9+ bzero(digit01, sizeof(char[3]));
10+ bzero(digit23, sizeof(char[3]));
11 crc32_r(filename, hashedfilename);
12 log_debug2(ZONE, LOGT_STORAGE, "hash of %s is %s", filename, hashedfilename);
13 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 @@
1 --- xdb_sql/xdb_sql.c 2006/03/15 22:16:371210
2 +++ xdb_sql/xdb_sql.c 2006/04/25 22:01:391211
3@@ -269,10 +269,18 @@
4 ret = mysql_query(xq->mysql, query);
5
6 /* failed and we need to reconnect? */
7- if (ret == CR_SERVER_LOST || ret == CR_SERVER_GONE_ERROR) {
8 -xdb_sql_mysql_connect(i, xq);
9+ if (ret) {
10 +unsigned int query_errno = mysql_errno(xq->mysql);
11 +if (query_errno == CR_SERVER_LOST || query_errno == CR_SERVER_GONE_ERROR) {
12 + log_debug2(ZONE, LOGT_STORAGE, "connection lost, trying to reconnect to MySQL server");
13 + xdb_sql_mysql_connect(i, xq);
14
15 -ret = mysql_query(xq->mysql, query);
16 + ret = mysql_query(xq->mysql, query);
17+
18 + if (ret == 0) {
19 + log_notice(i->id, "connection to MySQL server %s:%i had been lost, and has been reestablished", xq->mysql_host , xq->mysql_port);
20 + }
21 +}
22 }
23
24 /* 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 @@
1#!/sbin/runscript
2# Copyright 1999-2005 Gentoo Foundation
3# Distributed under the terms of the GNU General Public License v2
4# $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 $
5
6depend() {
7
8 need net
9 provide jabber-server
10
11}
12
13start() {
14
15 ebegin "Starting Jabber Server"
16 start-stop-daemon --start \
17 -c jabber:jabber \
18 -x /usr/bin/jabberd -- -B -c /etc/jabber/jabberd.xml
19 eend $?
20
21}
22
23stop() {
24
25 ebegin "Stopping Jabber Server"
26 start-stop-daemon --stop -x /usr/bin/jabberd
27 eend $?
28
29}
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 @@
1diff -Nru jabberd-2.0s11.vanilla/configure.in jabberd-2.0s11/configure.in
2 --- jabberd-2.0s11.vanilla/configure.in2006-10-04 23:14:07.000000000 +0200
3 +++ jabberd-2.0s11/configure.in2006-10-04 23:19:58.000000000 +0200
4@@ -758,9 +758,6 @@
5 dnl finishing up
6 dnl
7
8-dnl put our config in its own subdir
9-sysconfdir="$sysconfdir/jabberd"
10-
11 dnl done!
12 AC_OUTPUT(Makefile \
13 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 @@
1#!/sbin/runscript
2# Copyright 1999-2005 Gentoo Foundation
3# Distributed under the terms of the GNU General Public License v2
4# $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 $
5
6depend() {
7 need net
8 use mysql postgresql slapd
9 provide jabber-server
10}
11
12function stopJabberServices() {
13
14 eindent
15 for pidfile in /var/run/jabber/*.pid; do
16 if [[ -f "${pidfile}" ]]; then
17 service=$(basename ${pidfile/.pid/})
18 ebegin "Stopping ${service}"
19 start-stop-daemon \
20 --stop \
21 --pidfile ${pidfile}
22 eend $?
23 fi
24 done
25 eoutdent
26
27}
28
29start() {
30
31 einfo "Starting Jabber Server ..."
32 local services=$(grep -v ^# /etc/jabber/jabberd.cfg | grep '..*' | awk '{print $1 ":" $2}')
33 local tempPidHack=/var/run/jabber/start_stop_daemon.pid
34 eindent
35 for service in ${services}; do
36
37 cfgfile=${service/*:/}
38 service=${service/:*/}
39 if [[ ! -f "${cfgfile}" ]]; then
40 if [[ -f "/etc/jabber/${service}.xml" ]]; then
41 cfgfile="/etc/jabber/${service}.xml"
42 else
43 eerror "Can't find: ${cfgfile} or default /etc/jabber/${service}.xml"
44 stopJabberServices
45 return 1
46 fi
47 fi
48
49 executable=/usr/bin/${service}
50
51 if [[ ! -f "${executable}" ]]; then
52 eerror "Can't find executable: ${executable}"
53 stopJabberServices
54 return 1
55 fi
56
57 rm -f ${tempPidHack} &> /dev/null
58 ebegin "Starting ${service} (${cfgfile})"
59 start-stop-daemon \
60 --background \
61 --start \
62 --chuid jabber:jabber \
63 --exec /usr/bin/${service} \
64 --pid ${tempPidHack} \
65 --make-pidfile \
66 -- -c ${cfgfile}
67 eend $?
68 rm -f ${tempPidHack} &> /dev/null
69
70 done
71 eoutdent
72
73}
74
75stop() {
76
77 einfo "Stopping Jabber Server"
78 stopJabberServices
79
80}
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 @@
1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3# $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 $
4
5inherit eutils
6
7DESCRIPTION="Open-source Jabber server"
8HOMEPAGE="http://www.jabber.org"
9SRC_URI="http://download.jabberd.org/jabberd14/${P}.tar.gz"
10
11SLOT="0"
12LICENSE="GPL-2"
13KEYWORDS="~alpha ~amd64 hppa ~ppc sparc x86"
14IUSE="debug ipv6 mysql postgres ssl"
15
16DEPEND=">=net-im/jabber-base-0.01
17 >=dev-libs/pth-1.4.0
18 dev-libs/expat
19 net-dns/libidn
20 dev-util/pkgconfig
21 mysql? ( virtual/mysql )
22 postgres? ( dev-db/postgresql )
23 ssl? ( >=dev-libs/openssl-0.9.6i )"
24
25pkg_setup() {
26
27 if use ipv6; then
28 ewarn "Without full ipv6 support, jabberd will show the error:"
29 ewarn ' "mio unable to listen"'
30 ewarn "To fix this, emerge jabberd without the ipv6 USE flag."
31 fi
32
33}
34
35src_unpack() {
36
37 unpack "${A}"
38
39 cd "${S}"
40
41 # Resolves bug #147342
42 epatch "${FILESDIR}/${P}-openssl-0.9.8.patch"
43
44 # Various fixes from upstream:
45 epatch "${FILESDIR}/${P}-str.c-rev1103.patch"
46 epatch "${FILESDIR}/${P}-xdb_file.c-rev1107.patch"
47 epatch "${FILESDIR}/${P}-xdb_sql.c-rev1211.patch"
48 epatch "${FILESDIR}/${P}-genhash.c-rev1253.patch"
49 epatch "${FILESDIR}/${P}-crypt.patch"
50
51}
52
53src_compile() {
54
55 unset LC_ALL LC_CTYPE
56
57 # Broken configure script - can't use "use_enable"
58 local myconf=
59 use debug && myconf="${myconf} --enable-debug --enable-pool-debug"
60 use ipv6 && myconf="${myconf} --enable-ipv6"
61 use ssl && myconf="${myconf} --enable-ssl"
62
63 econf \
64 --sysconfdir=/etc/jabber \
65 ${myconf} \
66 $(use_with mysql) \
67 $(use_with postgres postgresql) \
68 || die "econf failed"
69
70 # Broken parallel build
71 emake -j1 || die "emake failed"
72
73}
74
75src_install() {
76
77 make DESTDIR="${D}" install || die "make install failed"
78
79 newinitd "${FILESDIR}"/${P}.init jabber || die "newinitd failed"
80
81 # net-im/jabber-base provides needed directories
82 rm -rf "${D}/var"
83 mv "${D}/etc/jabber/jabber.xml" "${D}/etc/jabber/jabberd.xml"
84 mv "${D}/etc/jabber/jabber.xml.dist" "${D}/etc/jabber/jabberd.xml.dist"
85
86 sed -i \
87 -e 's,/var/lib/spool/jabberd,/var/spool/jabber,g' \
88 -e 's,/var/lib/log/jabberd,/var/log/jabber,g' \
89 -e 's,/var/lib/run/jabberd,/var/run/jabber,g' \
90 -e 's,jabber.pid,jabberd14.pid,g' \
91 "${D}"/etc/jabber/jabberd.xml{,.dist} \
92 || die "sed failed"
93
94}
95
96pkg_postinst() {
97
98 echo
99 einfo 'The various IM transports for jabber are now separate packages,'
100 einfo 'which you will need to install separately if you want them:'
101 einfo ' net-im/jit - ICQ transport'
102 einfo ' net-im/pymsn-t - MSN transport'
103 einfo ' net-im/jud - Jabber User Directory'
104 einfo ' net-im/yahoo-transport - Yahoo IM system'
105 einfo ' net-im/mu-conference - Jabber multi user conference'
106 echo
107 ewarn 'If upgrading from an older version, please stop jabberd BEFORE'
108 ewarn 'updating the init.d script, or you will end with a "dead" server.'
109 echo
110 ewarn 'The configuration filename has changed:'
111 ewarn ' Configure your server in /etc/jabber/jabberd.xml'
112 echo
113 ebeep
114
115}
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 @@
1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3# $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 $
4
5inherit autotools eutils versionator
6
7MY_PV=$(replace_version_separator 2 s)
8
9DESCRIPTION="Open Source Jabber Server"
10HOMEPAGE="http://jabberd.jabberstudio.org/2/"
11SRC_URI="http://jabberstudio.2nw.net/${PN}2/${PN}-${MY_PV}.tar.gz"
12
13SLOT="0"
14LICENSE="GPL-2"
15KEYWORDS="~amd64 ~ppc ~sparc ~x86"
16IUSE="debug memdebug ipv6 ldap mysql pam pipe postgres sqlite ssl"
17
18DEPEND=">=net-im/jabber-base-0.01
19 dev-libs/openssl
20 net-dns/libidn
21 ldap? ( net-nds/openldap )
22 >=sys-libs/db-4.1.25
23 mysql? ( virtual/mysql )
24 postgres? ( dev-db/postgresql )
25 sqlite? ( =dev-db/sqlite-3* )
26 !=net-im/jabberd-2.0.11"
27
28S="${WORKDIR}/${PN}-${MY_PV}"
29
30src_unpack() {
31
32 unpack ${A}
33 cd "${S}"
34
35 epatch "${FILESDIR}/${P}-configure.in.patch"
36
37 eautoreconf
38
39}
40
41src_compile() {
42
43 local localconf=
44 if use debug; then
45 localconf="${localconf} --enable-debug"
46 use memdebug && localconf="${localconf} --enable-nad-debug --enable-pool-debug"
47 else
48 if use memdebug; then
49 ewarn
50 ewarn '"memdebug" requires "debug" enabled.'
51 ewarn
52 fi
53 fi
54
55 econf \
56 --localstatedir=/var \
57 --sysconfdir=/etc/jabber \
58 --enable-db \
59 ${localconf} \
60 $(use_enable ipv6) \
61 $(use_enable ldap) \
62 $(use_enable mysql) \
63 $(use_enable pam) \
64 $(use_enable pipe) \
65 $(use_enable postgres pgsql) \
66 $(use_enable sqlite) \
67 $(use_enable ssl) \
68 || die "econf failed"
69 emake || die "make failed"
70
71}
72
73src_install() {
74
75 make DESTDIR="${D}" install || die "make install failed"
76
77 fowners jabber:jabber /usr/bin/{jabberd,router,resolver,sm,c2s,s2s}
78 fperms 750 /usr/bin/{jabberd,router,resolver,sm,c2s,s2s}
79
80 newinitd "${FILESDIR}/jabberd-${PV}.init" jabberd || die "newinitd failed"
81
82 dodoc AUTHORS PROTOCOL README
83 docinto tools
84 for i in db-setup.{mysql,pgsql} migrate.pl pipe-auth.pl; do
85 dodoc tools/${i}
86 done
87
88 cd "${D}/etc/jabber/"
89 sed -i \
90 -e 's,/var/jabberd/pid/,/var/run/jabber/,g' \
91 -e 's,/var/jabberd/log/,/var/log/jabber/,g' \
92 -e 's,/var/jabberd/db,/var/spool/jabber/,g' \
93 *.xml *.xml.dist || die "sed failed"
94 sed -i \
95 -e 's,<module>mysql</module>,<module>db</module>,' \
96 c2s.xml*
97
98}
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 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3<pkgmetadata>
4 <maintainer>
5 <email>nelchael@gentoo.org</email>
6 </maintainer>
7 <herd>net-im</herd>
8 <longdescription>
9 This is the original implementation of jabberd server.
10 This serves as the basis for running a jabber server in Gentoo.
11 </longdescription>
12</pkgmetadata>
diff --git a/profiles/categories b/profiles/categories
index 90f4611..bb0294a 100644
--- a/profiles/categories
+++ b/profiles/categories
@@ -5,4 +5,5 @@ dev-db
5dev-libs 5dev-libs
6dev-perl 6dev-perl
7net-im
7sys-apps 8sys-apps
8www-misc 9www-misc