add ejabberd 15.06
Hanno Böck

Hanno Böck commited on 2015-06-25 16:28:43
Zeige 10 geänderte Dateien mit 941 Einfügungen und 0 Löschungen.

... ...
@@ -0,0 +1,631 @@
1
+# ChangeLog for net-im/ejabberd
2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
3
+# $Header: /var/cvsroot/gentoo-x86/net-im/ejabberd/ChangeLog,v 1.129 2015/04/14 03:39:56 radhermit Exp $
4
+
5
+*ejabberd-15.03-r1 (14 Apr 2015)
6
+
7
+  14 Apr 2015; Tim Harder <radhermit@gentoo.org> -ejabberd-15.03.ebuild,
8
+  +ejabberd-15.03-r1.ebuild:
9
+  Sync missing systemd setup, run configure steps in the correct order, make
10
+  config file conversion directions more specific, and add nls use flag.
11
+
12
+*ejabberd-15.03 (12 Apr 2015)
13
+
14
+  12 Apr 2015; Tim Harder <radhermit@gentoo.org> +ejabberd-15.03.ebuild,
15
+  +files/ejabberd-15.03-ejabberdctl.patch, metadata.xml:
16
+  Version bump (bug #487994).
17
+
18
+  20 Mar 2015; Tim Harder <radhermit@gentoo.org> metadata.xml:
19
+  Drop myself as maintainer.
20
+
21
+  09 Mar 2015; Manuel Rüger <mrueg@gentoo.org> -ejabberd-2.1.12.ebuild,
22
+  -ejabberd-2.1.13.ebuild:
23
+  Remove old.
24
+
25
+  05 Aug 2014; Manuel Rüger <mrueg@gentoo.org> ejabberd-2.1.12.ebuild,
26
+  ejabberd-2.1.13-r1.ebuild, ejabberd-2.1.13.ebuild:
27
+  Remove trailing '.' from DESCRIPTION.
28
+
29
+  21 Dec 2013; Agostino Sarubbo <ago@gentoo.org> ejabberd-2.1.13-r1.ebuild:
30
+  Stable for ppc, wrt bug #486292
31
+
32
+  04 Dec 2013; Sergey Popov <pinkbyte@gentoo.org> -ejabberd-2.1.11.ebuild:
33
+  Security cleanup, bug #488636
34
+
35
+  01 Nov 2013; Agostino Sarubbo <ago@gentoo.org> ejabberd-2.1.13-r1.ebuild:
36
+  Stable for x86, wrt bug #486292
37
+
38
+  19 Oct 2013; Pacho Ramos <pacho@gentoo.org> ejabberd-2.1.13-r1.ebuild:
39
+  amd64 stable, bug #486292
40
+
41
+*ejabberd-2.1.13-r1 (08 Sep 2013)
42
+
43
+  08 Sep 2013; Pacho Ramos <pacho@gentoo.org> +ejabberd-2.1.13-r1.ebuild,
44
+  +files/ejabberd.service, +files/ejabberd.tmpfiles.conf:
45
+  Add unit file (#482444 by Andrius Štikonas)
46
+
47
+*ejabberd-2.1.13 (10 Jul 2013)
48
+
49
+  10 Jul 2013; Tim Harder <radhermit@gentoo.org> +ejabberd-2.1.13.ebuild,
50
+  +files/ejabberd.logrotate:
51
+  Version bump, add logrotate file (bug #473122 by cyberbat).
52
+
53
+  14 May 2013; Agostino Sarubbo <ago@gentoo.org> ejabberd-2.1.12.ebuild:
54
+  Stable for x86, wrt bug #468728
55
+
56
+  12 May 2013; Agostino Sarubbo <ago@gentoo.org> ejabberd-2.1.12.ebuild:
57
+  Stable for ppc, wrt bug #468728
58
+
59
+  09 May 2013; Chema Alonso <nimiux@gentoo.org> ejabberd-2.1.12.ebuild:
60
+  Stable for amd64 wrt bug #468728
61
+
62
+*ejabberd-2.1.12 (05 Apr 2013)
63
+
64
+  05 Apr 2013; Tim Harder <radhermit@gentoo.org> +ejabberd-2.1.12.ebuild,
65
+  files/ejabberd-3.initd, metadata.xml:
66
+  Version bump. Fix variable name in init script (bug #443890) and add myself
67
+  as a maintainer.
68
+
69
+  31 Jan 2013; Tim Harder <radhermit@gentoo.org> metadata.xml:
70
+  Another metadata whitespace fix.
71
+
72
+  31 Jan 2013; Tim Harder <radhermit@gentoo.org> metadata.xml:
73
+  Fix metadata whitespace.
74
+
75
+  31 Jan 2013; Tim Harder <radhermit@gentoo.org> -ejabberd-2.1.10.ebuild:
76
+  Remove old.
77
+
78
+  23 Sep 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> ejabberd-2.1.11.ebuild:
79
+  x86 stable wrt bug #427714
80
+
81
+  06 Sep 2012; Agostino Sarubbo <ago@gentoo.org> ejabberd-2.1.11.ebuild:
82
+  Stable for amd64, wrt bug #427714
83
+
84
+  30 Aug 2012; Anthony G. Basile <blueness@gentoo.org> ejabberd-2.1.11.ebuild:
85
+  Stable ppc, bug #427714
86
+
87
+  22 Jun 2012; Tim Harder <radhermit@gentoo.org> -ejabberd-2.1.8.ebuild,
88
+  -ejabberd-2.1.9.ebuild:
89
+  Remove old.
90
+
91
+  01 Jun 2012; Andreas Schuerch <nativemad@gentoo.org> ejabberd-2.1.10.ebuild:
92
+  x86 stable, see bug 418313. Thanks cyberbat
93
+
94
+  31 May 2012; Agostino Sarubbo <ago@gentoo.org> ejabberd-2.1.10.ebuild:
95
+  Stable for amd64, wrt bug #418313
96
+
97
+*ejabberd-2.1.11 (30 May 2012)
98
+
99
+  30 May 2012; Tim Harder <radhermit@gentoo.org> +ejabberd-2.1.11.ebuild:
100
+  Version bump (bug #415347).
101
+
102
+*ejabberd-2.1.10 (06 Mar 2012)
103
+
104
+  06 Mar 2012; Tim Harder <radhermit@gentoo.org> +ejabberd-2.1.10.ebuild:
105
+  Version bump (bug #396037).
106
+
107
+  06 Mar 2012; Tim Harder <radhermit@gentoo.org> ejabberd-2.1.8.ebuild,
108
+  ejabberd-2.1.9.ebuild:
109
+  Correctly apply the mod_statsdx patch (bug #402565).
110
+
111
+  21 Dec 2011; Peter Volkov <pva@gentoo.org> metadata.xml:
112
+  Drop unused USE flag.
113
+
114
+  21 Dec 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> ejabberd-2.1.9.ebuild:
115
+  x86 stable wrt bug #386075
116
+
117
+  17 Dec 2011; Agostino Sarubbo <ago@gentoo.org> ejabberd-2.1.9.ebuild:
118
+  Stable for AMD64, wrt security bug #386075
119
+
120
+*ejabberd-2.1.9 (17 Dec 2011)
121
+
122
+  17 Dec 2011; Peter Volkov <pva@gentoo.org> +ejabberd-2.1.9.ebuild:
123
+  Version bump, fixes security issue #386075 wrt Anton Podavalov. Report
124
+  version correctly, bug #372287 by cyberbat.
125
+
126
+  22 Jun 2011; Peter Volkov <pva@gentoo.org>
127
+  -files/ejabberd-2.0.5-erlang-13.patch,
128
+  -files/ejabberd-2.1.4-mod_shared_roster_ldap.patch, -ejabberd-2.1.5.ebuild,
129
+  -files/ejabberd-2.1.5-md2-optional.patch, -ejabberd-2.1.6.ebuild,
130
+  -files/ejabberd-2.confd, -files/ejabberd-2.initd,
131
+  -files/ejabberd-wrapper-2.template, -files/ejabberdctl-wrapper-3.template,
132
+  -files/self-cert-v2.sh, -files/ssl.cnf:
133
+  Drop old and vulnerable versions.
134
+
135
+  19 Jun 2011; Markus Meier <maekke@gentoo.org> ejabberd-2.1.8.ebuild:
136
+  x86 stable, bug #370201
137
+
138
+  18 Jun 2011; Markos Chandras <hwoarang@gentoo.org> ejabberd-2.1.8.ebuild:
139
+  Stable on amd64 wrt bug #370201
140
+
141
+  16 Jun 2011; Peter Volkov <pva@gentoo.org> ejabberd-2.1.8.ebuild:
142
+  Fix build issue with mod_stasdx, thank andreas schürch for rerport in bug
143
+  #370201. Use EAPI=4 features.
144
+
145
+*ejabberd-2.1.8 (14 Jun 2011)
146
+
147
+  14 Jun 2011; Peter Volkov <pva@gentoo.org> +ejabberd-2.1.8.ebuild:
148
+  Version bump, fixes security bug #370201 thank Federico Cuello for report.
149
+  Fix permissions of ssl certificate, but #369809 thank Gavin Pryke for the
150
+  patch.
151
+
152
+  25 Mar 2011; Thomas Kahle <tomka@gentoo.org> ejabberd-2.1.6.ebuild:
153
+  x86 stable per bug 359961
154
+
155
+  22 Mar 2011; Christoph Mende <angelos@gentoo.org> ejabberd-2.1.6.ebuild:
156
+  Stable on amd64 wrt bug #359961
157
+
158
+  22 Mar 2011; Peter Volkov <pva@gentoo.org> ejabberd-2.1.5.ebuild,
159
+  -ejabberd-2.1.5-r3.ebuild, ejabberd-2.1.6.ebuild:
160
+  Drop PROVIDE=virtual/jabber-server, bug #358833, thank Ulrich Müller for
161
+  report. Drop unused.
162
+
163
+  21 Mar 2011; Kevin McCarthy <signals@gentoo.org> ejabberd-2.1.5.ebuild,
164
+  ejabberd-2.1.5-r3.ebuild, ejabberd-2.1.6.ebuild:
165
+  RDEPEND virtual/pam if pam use flag set. WRT #351932
166
+
167
+*ejabberd-2.1.6 (20 Dec 2010)
168
+
169
+  20 Dec 2010; Peter Volkov <pva@gentoo.org> -ejabberd-2.1.5-r2.ebuild,
170
+  +ejabberd-2.1.6.ebuild:
171
+  Version bump, thank krigstask for report. Note, shared roster ldap module
172
+  (USE=mod_srl) is now included upstream. Drop unused.
173
+
174
+*ejabberd-2.1.5-r3 (18 Nov 2010)
175
+
176
+  18 Nov 2010; Peter Volkov <pva@gentoo.org> +ejabberd-2.1.5-r3.ebuild:
177
+  Fix unix_chkpwd authentication failure (jabber owner on epam), bug
178
+  #345909, thank bathizte for report.
179
+
180
+*ejabberd-2.1.5-r2 (15 Oct 2010)
181
+
182
+  15 Oct 2010; Peter Volkov <pva@gentoo.org> -ejabberd-2.1.5-r1.ebuild,
183
+  +ejabberd-2.1.5-r2.ebuild:
184
+  Another mod_srl update, drop broken, bug #341131 thank Nickolaj Stjujsckij
185
+  for this job.
186
+
187
+  07 Sep 2010; Peter Volkov <pva@gentoo.org> -ejabberd-2.0.5-r3.ebuild,
188
+  -ejabberd-2.1.4.ebuild:
189
+  Drop old and openssl-1 incompatible versions as Samuli requested.
190
+
191
+*ejabberd-2.1.5-r1 (30 Aug 2010)
192
+
193
+  30 Aug 2010; Peter Volkov <pva@gentoo.org> +ejabberd-2.1.5-r1.ebuild:
194
+  Updated mod_srl, thank krigstask for this job.
195
+
196
+  09 Aug 2010; Peter Volkov <pva@gentoo.org> ejabberd-2.1.5.ebuild,
197
+  +files/ejabberd-2.1.5-md2-optional.patch:
198
+  Fix openssl breakage due to missed md2 support, bug 331299, thank Rion for
199
+  report and Samuli Suominen for quick fix.
200
+
201
+*ejabberd-2.1.5 (05 Aug 2010)
202
+
203
+  05 Aug 2010; Peter Volkov <pva@gentoo.org> +ejabberd-2.1.5.ebuild:
204
+  Version bump. SSL is now required (per upstream, see release notes). Thank
205
+  Rion for report.
206
+
207
+  22 Jul 2010; Peter Volkov <pva@gentoo.org> ejabberd-2.1.4.ebuild,
208
+  +files/ejabberd-2.1.4-mod_shared_roster_ldap.patch:
209
+  Added patch for mod_shared_roster_ldap, thank Andrian Nord for report and
210
+  fix in bug #328533!
211
+
212
+  12 Jul 2010; Markos Chandras <hwoarang@gentoo.org> ejabberd-2.1.4.ebuild:
213
+  Stable on amd64 wrt bug #308047
214
+
215
+  10 Jul 2010; Raúl Porcel <armin76@gentoo.org> ejabberd-2.0.5-r3.ebuild,
216
+  ejabberd-2.1.4.ebuild:
217
+  Add ~sparc wrt #259802
218
+
219
+  03 Jul 2010; Christian Faulhammer <fauli@gentoo.org>
220
+  ejabberd-2.1.4.ebuild:
221
+  stable x86, security bug 308047
222
+
223
+*ejabberd-2.1.4 (07 Jun 2010)
224
+
225
+  07 Jun 2010; Peter Volkov <pva@gentoo.org> -ejabberd-2.1.3.ebuild,
226
+  +ejabberd-2.1.4.ebuild:
227
+  Version bump, thank Rion for report in bug #281366
228
+
229
+  07 Jun 2010; Peter Volkov <pva@gentoo.org> ejabberd-2.1.3.ebuild:
230
+  Updated required shadow version.
231
+
232
+  07 Jun 2010; Peter Volkov <pva@gentoo.org> +files/2.1.1-mod_statsdx.patch:
233
+  Added missed 2.1.1-mod_statsdx.patch, bug #281366, thank jamatik for
234
+  report.
235
+
236
+  02 Jun 2010; Peter Volkov <pva@gentoo.org> files/ejabberd-3.initd:
237
+  Make stop at init script working again, thank krigstask for report.
238
+
239
+  02 Jun 2010; Torsten Veller <tove@gentoo.org> metadata.xml:
240
+  Remove caleb from metadata.xml (#317071)
241
+
242
+  01 Jun 2010; Peter Volkov <pva@gentoo.org> ejabberd-2.1.3.ebuild,
243
+  metadata.xml:
244
+  Added LDAP shared roster module, fixed some typos, thank krigstask for
245
+  this job.
246
+
247
+  28 May 2010; Peter Volkov <pva@gentoo.org> files/ejabberd-3.initd:
248
+  Make init script a bit more resistant, e.g. restart should now work, thank
249
+  Rion for report.
250
+
251
+  27 May 2010; Peter Volkov <pva@gentoo.org> ejabberd-2.1.3.ebuild:
252
+  Fixed future build problem reproducible with -rX, where X!=0, thank Rion
253
+  fo report.
254
+
255
+*ejabberd-2.1.3 (26 May 2010)
256
+
257
+  26 May 2010; Peter Volkov <pva@gentoo.org> +files/2.1.1-mod_statsdx.patch,
258
+  +ejabberd-2.1.3.ebuild, +files/ejabberd-3.confd, +files/ejabberd-3.initd:
259
+  Version bump, #281366 thank Vadim Efimov for report and jamatik for
260
+  preliminary testing (that helped greately)! Fixes conflict with GSecurity
261
+  TPE bug 202616, thank Andrian Nord for report. Init script rewriten, fixes
262
+  bugs #210234, #279613 and #306593, thank Luca Barbato, Roy Marples,
263
+  Luke-Jr and Livid. Fixed ssl related build issue, bug 288414 by Michał
264
+  Masłowski. Fixes DoS, security bug 308047, thank Stefan Behte for report.
265
+
266
+  30 Dec 2009; Christian Faulhammer <fauli@gentoo.org>
267
+  -files/1.1.4-missing-declaration.patch, -ejabberd-1.1.4-r1.ebuild,
268
+  -ejabberd-1.1.4-r2.ebuild, -files/ejabberd-1.1.4-erlang-12.patch,
269
+  -files/2.0.0-erlang12-s2s-in.patch, -files/ejabberd-1.1.4.confd,
270
+  -ejabberd-2.0.4.ebuild, -files/2.0.1-parallel-make.patch,
271
+  -files/ejabberd-1.1.4.initd, -files/ejabberd-2.0.4-fix-EJAB-890.patch,
272
+  -ejabberd-2.0.5.ebuild, -ejabberd-2.0.5-r1.ebuild,
273
+  -ejabberd-2.0.5-r2.ebuild, -files/ejabberdctl-wrapper-2.template,
274
+  -files/2.0.0-ejab-542-mod_proxy65.patch,
275
+  -files/2.0.0-missing-declaration.patch, -files/ejabberd,
276
+  -files/ejabberdctl, -files/inetrc, -files/self-cert.sh:
277
+  clean up
278
+
279
+  25 Nov 2009; Markus Meier <maekke@gentoo.org> ejabberd-2.0.5-r3.ebuild:
280
+  amd64 stable, bug #291744
281
+
282
+  19 Nov 2009; Christian Faulhammer <fauli@gentoo.org>
283
+  ejabberd-2.0.5-r3.ebuild:
284
+  stable x86, bug 291744
285
+
286
+  05 Nov 2009; Raúl Porcel <armin76@gentoo.org> ejabberd-2.0.5-r3.ebuild:
287
+  Add ~arm/~ia64
288
+
289
+  05 Jun 2009; Peter Volkov <pva@gentoo.org> +ejabberd-2.0.5.ebuild,
290
+  +ejabberd-2.0.5-r1.ebuild:
291
+  Revert recent stable versions back, bug #271321, thank Marat Radchenko for
292
+  report. Added <erlang-13 dependency too, bug #267524.
293
+
294
+*ejabberd-2.0.5-r3 (03 Jun 2009)
295
+
296
+  03 Jun 2009; Christian Faulhammer <fauli@gentoo.org>
297
+  +files/ejabberd-2.0.5-erlang-13.patch, +ejabberd-2.0.5-r3.ebuild:
298
+  revision bump to fix runtime failures with Erlang 13, as reported and fixed
299
+  by Karl-Johan Karlsson <creideiki+gentoo-bugzilla AT lysator DOT liu DOT se>
300
+  in bug 267524
301
+
302
+  20 May 2009; Caleb Tennis <caleb@gentoo.org> ejabberd-2.0.4.ebuild:
303
+  Add erlang 13 dep to the stable build as well
304
+
305
+  20 May 2009; Caleb Tennis <caleb@gentoo.org> -ejabberd-2.0.1_p2-r1.ebuild,
306
+  -ejabberd-2.0.2.ebuild, -ejabberd-2.0.2-r1.ebuild,
307
+  -ejabberd-2.0.4-r1.ebuild, -ejabberd-2.0.5.ebuild,
308
+  -ejabberd-2.0.5-r1.ebuild:
309
+  Remove old ebuilds
310
+
311
+  20 May 2009; Caleb Tennis <caleb@gentoo.org> ejabberd-2.0.5-r2.ebuild:
312
+  Not compatible with erlang 13, so make sure we're using 12 for now per
313
+  #267524
314
+
315
+*ejabberd-2.0.5-r2 (27 Apr 2009)
316
+
317
+  27 Apr 2009; Caleb Tennis <caleb@gentoo.org>
318
+  +files/ejabberdctl-wrapper-3.template, +ejabberd-2.0.5-r2.ebuild:
319
+  Bump adding a new debug shell patch to the wrapper, from bug #250861
320
+
321
+  22 Apr 2009; Markus Meier <maekke@gentoo.org> ejabberd-2.0.5-r1:
322
+  amd64 stable, bug #265341
323
+
324
+*ejabberd-2.0.5-r1 (20 Apr 2009)
325
+
326
+  20 Apr 2009; Peter Volkov <pva@gentoo.org> +ejabberd-2.0.5-r1.ebuild:
327
+  Fixed permissions handling on amd64, thank Markus Meier for report in bug
328
+  #265341.
329
+
330
+  19 Apr 2009; Markus Meier <maekke@gentoo.org> ejabberd-2.0.5:
331
+  x86 stable, bug #265341
332
+
333
+*ejabberd-2.0.5 (09 Apr 2009)
334
+
335
+  09 Apr 2009; Peter Volkov <pva@gentoo.org> -files/ejabberd-2.0.1.confd,
336
+  -files/ejabberd-2.0.1.initd, -files/ejabberd-wrapper-2.0.1.template,
337
+  -files/ejabberdctl-wrapper-2.0.1.template, -files/ejabberd-2.0.2.confd,
338
+  -files/ejabberd-2.0.2.initd, -files/ejabberd-wrapper-2.0.2.template,
339
+  -files/ejabberdctl-wrapper-2.0.2.template, -files/ejabberd-2.0.4.confd,
340
+  -files/ejabberd-2.0.4.initd, -files/ejabberd-wrapper-2.0.4.template,
341
+  -files/ejabberdctl-wrapper-2.0.4.template, +files/ejabberd-2.confd,
342
+  +files/ejabberd-2.initd, +files/ejabberd-wrapper-2.template,
343
+  +files/ejabberdctl-wrapper-2.template, ejabberd-2.0.1_p2-r1.ebuild,
344
+  ejabberd-2.0.2.ebuild, ejabberd-2.0.2-r1.ebuild, ejabberd-2.0.4.ebuild,
345
+  ejabberd-2.0.4-r1.ebuild, +ejabberd-2.0.5.ebuild:
346
+  Version bump, bug #265341 thank candrews for report and Vadim Efimov for
347
+  this work.
348
+
349
+*ejabberd-2.0.4-r1 (28 Mar 2009)
350
+
351
+  28 Mar 2009; Peter Volkov <pva@gentoo.org>
352
+  +files/ejabberd-2.0.4-fix-EJAB-890.patch, +ejabberd-2.0.4-r1.ebuild:
353
+  Fixed EJAB-890 (subscription request produces many authorization requests
354
+  with some clients and transports), bug #263950, thank Vadim Efimov for
355
+  report and fix.
356
+
357
+  27 Mar 2009; Hanno Boeck <hanno@gentoo.org> files/ejabberd-2.0.1.initd,
358
+  files/ejabberd-2.0.2.initd, files/ejabberd-2.0.4.initd:
359
+  Fix SMPOPT to be auto for smp-enabled systems.
360
+
361
+  23 Mar 2009; Markus Meier <maekke@gentoo.org> ejabberd-2.0.4.ebuild:
362
+  amd64/x86 stable, bug #262696
363
+
364
+*ejabberd-2.0.4 (21 Mar 2009)
365
+
366
+  21 Mar 2009; Caleb Tennis <caleb@gentoo.org> +files/ejabberd-2.0.4.confd,
367
+  +files/ejabberd-2.0.4.initd, +files/ejabberd-wrapper-2.0.4.template,
368
+  +files/ejabberdctl-wrapper-2.0.4.template, +ejabberd-2.0.4.ebuild:
369
+  Version bump
370
+
371
+*ejabberd-1.1.4-r2 (01 Feb 2009)
372
+
373
+  01 Feb 2009; Patrick Lauer <patrick@gentoo.org> +ejabberd-1.1.4-r2.ebuild:
374
+  Fixing doc installation, closes #155101
375
+
376
+*ejabberd-2.0.2-r1 (01 Feb 2009)
377
+
378
+  01 Feb 2009; Patrick Lauer <patrick@gentoo.org> ejabberd-2.0.2.ebuild,
379
+  +ejabberd-2.0.2-r1.ebuild:
380
+  Small doc fix, docs are actually installed now
381
+
382
+*ejabberd-2.0.2 (09 Sep 2008)
383
+
384
+  09 Sep 2008; Caleb Tennis <caleb@gentoo.org> -ejabberd-2.0.2_beta1.ebuild,
385
+  +ejabberd-2.0.2.ebuild:
386
+  version bump
387
+
388
+  05 Aug 2008; Thomas Anderson <gentoofan23@gentoo.org> metadata.xml:
389
+  Add USE flag description to metadata as per GLEP 56.
390
+
391
+  03 Aug 2008; Caleb Tennis <caleb@gentoo.org>
392
+  -files/ejabberd-1.1.1-r1.initd, -files/ejabberd-1.1.1.confd,
393
+  -files/ejabberd-2.0.0.confd, -files/ejabberd-2.0.0.initd,
394
+  -files/ejabberd-wrapper-2.0.0.template,
395
+  -files/ejabberdctl-wrapper-2.0.0.template, -ejabberd-1.1.4.ebuild,
396
+  -ejabberd-2.0.0-r1.ebuild, -ejabberd-2.0.1_p2.ebuild:
397
+  remove older versions
398
+
399
+*ejabberd-2.0.2_beta1 (03 Aug 2008)
400
+
401
+  03 Aug 2008; Caleb Tennis <caleb@gentoo.org> +files/ejabberd-2.0.2.confd,
402
+  +files/ejabberd-2.0.2.initd, +files/ejabberd-wrapper-2.0.2.template,
403
+  +files/ejabberdctl-wrapper-2.0.2.template, +ejabberd-2.0.2_beta1.ebuild:
404
+  version bump
405
+
406
+  27 Jul 2008; Caleb Tennis <caleb@gentoo.org> ejabberd-2.0.1_p2-r1.ebuild:
407
+  amd64 the revbump too
408
+
409
+  26 Jul 2008; Dawid Węgliński <cla@gentoo.org>
410
+  ejabberd-2.0.1_p2-r1.ebuild:
411
+  Stable on x86 (bug #231676)
412
+
413
+*ejabberd-2.0.1_p2-r1 (19 Jul 2008)
414
+
415
+  19 Jul 2008; Caleb Tennis <caleb@gentoo.org>
416
+  +files/2.0.1-parallel-make.patch, +ejabberd-2.0.1_p2-r1.ebuild:
417
+  Add parallel make patch per 225565
418
+
419
+  19 Jul 2008; Caleb Tennis <caleb@gentoo.org> ejabberd-2.0.1_p2.ebuild:
420
+  amd64 stable per #231676
421
+
422
+  25 May 2008; Caleb Tennis <caleb@gentoo.org> ejabberd-2.0.1_p2.ebuild:
423
+  make /var/lib/ejabberd directory
424
+
425
+  23 May 2008; Caleb Tennis <caleb@gentoo.org> ejabberd-2.0.1_p2.ebuild:
426
+  add pam use flag and set permissions on pam helper
427
+
428
+*ejabberd-2.0.1_p2 (23 May 2008)
429
+
430
+  23 May 2008; Caleb Tennis <caleb@gentoo.org> -ejabberd-2.0.1.ebuild,
431
+  +ejabberd-2.0.1_p2.ebuild:
432
+  bump to a new upstream version
433
+
434
+  22 May 2008; Caleb Tennis <caleb@gentoo.org> files/ejabberd-2.0.1.initd,
435
+  +files/ejabberd-wrapper-2.0.1.template,
436
+  +files/ejabberdctl-wrapper-2.0.1.template, ejabberd-2.0.1.ebuild:
437
+  add some fixes from 207586
438
+
439
+*ejabberd-2.0.1 (22 May 2008)
440
+
441
+  22 May 2008; Caleb Tennis <caleb@gentoo.org> files/ejabberd-2.0.0.initd,
442
+  +ejabberd-2.0.1.ebuild:
443
+  version bump
444
+
445
+  13 Apr 2008; Caleb Tennis <caleb@gentoo.org> files/self-cert-v2.sh,
446
+  ejabberd-2.0.0-r1.ebuild:
447
+  Update self-cert-v2.sh
448
+
449
+  13 Apr 2008; Caleb Tennis <caleb@gentoo.org> ejabberd-2.0.0-r1.ebuild:
450
+  Fix homepage
451
+
452
+*ejabberd-2.0.0-r1 (13 Apr 2008)
453
+
454
+  13 Apr 2008; Caleb Tennis <caleb@gentoo.org> +files/ejabberd-2.0.0.confd,
455
+  files/ejabberd-2.0.0.initd, +files/ejabberd-wrapper-2.0.0.template,
456
+  +files/ejabberdctl-wrapper-2.0.0.template,
457
+  +files/2.0.0-ejab-542-mod_proxy65.patch,
458
+  +files/2.0.0-erlang12-s2s-in.patch, -ejabberd-2.0.0.ebuild,
459
+  +ejabberd-2.0.0-r1.ebuild:
460
+  Bump revision with a whole new ebuild, thanks to the folks in bug #207586
461
+
462
+  17 Mar 2008; Tony Vroon <chainsaw@gentoo.org> metadata.xml:
463
+  Mark caleb as maintainer of this package.
464
+
465
+  22 Feb 2008; Caleb Tennis <caleb@gentoo.org> +files/ejabberd-1.1.4.confd,
466
+  ejabberd-1.1.4.ebuild, ejabberd-1.1.4-r1.ebuild:
467
+  1.1.4 was using the 1.1.3 conf file, so create a 1.1.4 conf file and update
468
+  the ebuilds to use it
469
+
470
+*ejabberd-2.0.0 (22 Feb 2008)
471
+
472
+  22 Feb 2008; Caleb Tennis <caleb@gentoo.org> -files/ejabberd-1.1.3.confd,
473
+  -files/1.1.3-missing-declaration.patch, -ejabberd-1.1.3.ebuild,
474
+  -ejabberd-1.1.3-r1.ebuild, -ejabberd-1.1.3-r2.ebuild,
475
+  -ejabberd-2.0.0_rc1.ebuild, +ejabberd-2.0.0.ebuild:
476
+  bump to 2.0.0, remove old versions
477
+
478
+  10 Feb 2008; Luca Barbato <lu_zero@gentoo.org> ejabberd-2.0.0_rc1.ebuild:
479
+  Marked ~ppc
480
+
481
+*ejabberd-2.0.0_rc1 (05 Feb 2008)
482
+
483
+  05 Feb 2008; Caleb Tennis <caleb@gentoo.org> +files/ejabberd-2.0.0.initd,
484
+  +files/2.0.0-missing-declaration.patch, +ejabberd-2.0.0_rc1.ebuild:
485
+  Version bump, from bug #207586
486
+
487
+  31 Jan 2008; Christian Faulhammer <opfer@gentoo.org>
488
+  ejabberd-1.1.4-r1.ebuild:
489
+  emergency stable x86
490
+
491
+*ejabberd-1.1.4-r1 (11 Jan 2008)
492
+
493
+  11 Jan 2008; Christian Faulhammer <opfer@gentoo.org>
494
+  +files/ejabberd-1.1.4-erlang-12.patch, +ejabberd-1.1.4-r1.ebuild:
495
+  make ejabberd compile with Erlang 12B, patch take from Debian, reported in
496
+  bug 202114 by Conrad Kostecki <ConiKost AT gmx DOT de>, thanks to Anton
497
+  Romanov <theli AT ukr DOT net>
498
+
499
+  08 Dec 2007; Ulrich Mueller <ulm@gentoo.org>
500
+  +files/ejabberd-1.1.1-r1.initd, +files/ejabberd-1.1.1.confd:
501
+  Restore initd and confd files that are still needed.
502
+
503
+  08 Dec 2007; Tony Vroon <chainsaw@gentoo.org> -files/ejabberd-0.7.5.confd,
504
+  -files/ejabberd-0.7.5.initd, -files/ejabberd-1.1.1-r1.initd,
505
+  -files/ejabberd-1.1.1.confd, -files/ejabberd-1.1.1.initd,
506
+  -ejabberd-0.7.5.ebuild, -ejabberd-1.1.1.ebuild, -ejabberd-1.1.1-r1.ebuild,
507
+  -ejabberd-1.1.2-r1.ebuild:
508
+  Remove old ebuilds, including 1.1.1 which used an insecure docert statement
509
+  (per suggestion of Ulrich Mueller <ulm@gentoo.org> on IRC). Closes bug
510
+  #201677.
511
+
512
+*ejabberd-1.1.4 (14 Sep 2007)
513
+
514
+  14 Sep 2007; Tony Vroon <chainsaw@gentoo.org> +files/ejabberd-1.1.4.initd,
515
+  +files/1.1.4-missing-declaration.patch, +ejabberd-1.1.4.ebuild:
516
+  Version bump, closes bugs #188679, #192012 and #190266.
517
+
518
+  01 Sep 2007; Christian Faulhammer <opfer@gentoo.org>
519
+  ejabberd-1.1.3-r2.ebuild:
520
+  add a space that got lost in my previous change, reported by OlegON
521
+  <olegon.mail@gmail.com> in bug 190944
522
+
523
+  29 Aug 2007; Christian Faulhammer <opfer@gentoo.org>
524
+  ejabberd-1.1.3-r2.ebuild:
525
+  remove restriction on lower erlang versions, see bug 184419; added some
526
+  quotes around variables
527
+
528
+*ejabberd-1.1.3-r2 (13 Jul 2007)
529
+
530
+  13 Jul 2007; Tony Vroon <chainsaw@gentoo.org> +ejabberd-1.1.3-r2.ebuild:
531
+  Debugging support by Justin <justin-gentoo@openaether.org>, closes bug
532
+  #174734. Do not attempt to automatically generate a key, this ends up being
533
+  interactive on some systems. Closes bug #178615 by Robin Johnson
534
+  <robbat2@gentoo.org>. Revert defective change from bug #161252, without
535
+  sname the daemon can not be stopped. Thanks to Conrad Kostecki
536
+  <ConiKost@gmx.de>, closes bug #181745. Restrict erlang dep to <11.2.5 to
537
+  avoid EOF during handshake, as reported by Santiago Gala <sgala@apache.org>,
538
+  closes bug #184419. Restrict openssl dep to >=0.9.8e so a messy die on
539
+  USE="zlib" in openssl is no longer required. Also a report by Conrad
540
+  Kostecki <ConiKost@gmx.de>, this closes bug #185009.
541
+
542
+  28 Apr 2007; Sven Wegener <swegener@gentoo.org> ejabberd-0.7.5.ebuild:
543
+  Fix *initd, *confd and *envd calls (#173884, #174266)
544
+
545
+  21 Apr 2007; Tony Vroon <chainsaw@gentoo.org> ejabberd-0.7.5.ebuild:
546
+  Stop using insinto /etc/conf.d and use the newconfd function instead, bug
547
+  #174266.
548
+
549
+*ejabberd-1.1.3-r1 (11 Apr 2007)
550
+
551
+  11 Apr 2007; Tony Vroon <chainsaw@gentoo.org> +files/ejabberd-1.1.3.confd,
552
+  +files/1.1.3-missing-declaration.patch, +ejabberd-1.1.3-r1.ebuild:
553
+  Revision bump, closes bugs #161252, #171427 and #171551.
554
+
555
+  11 Mar 2007; Markus Rothe <corsair@gentoo.org> ejabberd-1.1.3.ebuild:
556
+  Adding ~amd64 to 1.1.3, too.
557
+
558
+  11 Mar 2007; Peter Weller <welp@gentoo.org> ejabberd-1.1.2-r1.ebuild:
559
+  Keyworded ~amd64 wrt bug 141302
560
+
561
+  28 Feb 2007; Christian Faulhammer <opfer@gentoo.org>
562
+  files/ejabberd-1.1.1-r1.initd, ejabberd-1.1.3.ebuild:
563
+  corrected init file; removed dodoc entry; stable x86; security bug 159580
564
+
565
+*ejabberd-1.1.3 (27 Feb 2007)
566
+
567
+  27 Feb 2007; Stefan Cornelius <dercorny@gentoo.org> +ejabberd-1.1.3.ebuild:
568
+  Bumping to version 1.1.3 wrt security bug #159580
569
+
570
+  27 Feb 2007; Gustavo Felisberto <humpback@gentoo.org>; metadata.xml:
571
+  Corrected maintainer in metadata.
572
+
573
+  22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
574
+  Transition to Manifest2.
575
+
576
+*ejabberd-1.1.2-r1 (16 Oct 2006)
577
+
578
+  16 Oct 2006; Tony Vroon <chainsaw@gentoo.org> -ejabberd-1.1.2.ebuild,
579
+  +ejabberd-1.1.2-r1.ebuild:
580
+  Pull set of utterly broken and apparently completely untested patches, bug
581
+  #137724 now closed as WONTFIX.
582
+
583
+*ejabberd-1.1.2 (13 Oct 2006)
584
+
585
+  13 Oct 2006; Tony Vroon <chainsaw@gentoo.org> +ejabberd-1.1.2.ebuild:
586
+  New upstream version. Patchball updated with mod_presence, all thanks to
587
+  Nikolaus Polak <nik@linuxlovers.at> in bug #137724.
588
+
589
+*ejabberd-1.1.1-r1 (12 Oct 2006)
590
+
591
+  12 Oct 2006; Tony Vroon <chainsaw@gentoo.org>
592
+  +files/ejabberd-1.1.1-r1.initd, +files/self-cert-v2.sh, +files/ssl.cnf,
593
+  ejabberd-1.1.1.ebuild, +ejabberd-1.1.1-r1.ebuild:
594
+  Revision bump, robust start/stop script thanks to Chris Carlin
595
+  <ccarlin@physics.tamu.edu> and Dustin J. Mitchell <dustin@v.igoro.us> in bug
596
+  #145373. Statsdx & SOCKS5 proxy support thanks to Nikolaus Polak
597
+  <nik@linuxlovers.at> in bug #137724. And finally, thanks to Micha Krause
598
+  <linux@krausam.de> for pointing out that the SSL eclass did not create
599
+  certificates usable for S2S connections in bug #150088.
600
+
601
+  01 Aug 2006; Joshua Jackson <tsunam@gentoo.org> ejabberd-1.1.1.ebuild:
602
+  Stable x86; bug #141302
603
+
604
+*ejabberd-1.1.1 (19 Jun 2006)
605
+
606
+  19 Jun 2006; Tony Vroon <chainsaw@gentoo.org> +files/ejabberd-1.1.1.confd,
607
+  +files/ejabberd-1.1.1.initd, +ejabberd-1.1.1.ebuild:
608
+  Version bump, thanks to all contributors in bug #101708.
609
+
610
+  05 May 2006; Diego Pettenò <flameeyes@gentoo.org> ejabberd-0.7.5.ebuild:
611
+  Fix enewuser/enewgroup location, bug #130849.
612
+
613
+  23 Aug 2005; Gustavo Felisberto <humpback@gentoo.org>;
614
+  ejabberd-0.7.5.ebuild:
615
+  QA issue #103421
616
+
617
+  16 Apr 2005; Gustavo Felisberto <humpback@gentoo.org>; files/ejabberd,
618
+  ejabberd-0.7.5.ebuild:
619
+  Small file permission patches
620
+
621
+  10 Apr 2005; Gustavo Felisberto <humpback@gentoo.org>;
622
+  files/ejabberd-0.7.5.initd, +files/self-cert.sh, ejabberd-0.7.5.ebuild:
623
+  Added ssl.pem generator script and einfo.
624
+
625
+*ejabberd-0.7.5 (08 Apr 2005)
626
+
627
+  08 Apr 2005; Gustavo Felisberto <humpback@gentoo.org>; +files/ejabberd,
628
+  +files/ejabberd-0.7.5.confd, +files/ejabberd-0.7.5.initd,
629
+  +files/ejabberdctl, +files/inetrc, +ejabberd-0.7.5.ebuild:
630
+  Initial import. This is masked for a reason :) if you have problems bug #63472
631
+  is your friend.
... ...
@@ -0,0 +1,10 @@
1
+AUX ejabberd-15.06-ejabberdctl.patch 1347 SHA256 8b087b9611225606d1a1480df3512ddb74903bfc084a093ea94af9060161f049 SHA512 22509624004dc6900f95f1f00d07e7c68c79f9bc1d02178a1ce1c373bbf6aa9e1d4984acfd30baaecd34f5ac5541258bcecb58053ed306dd1124b35f5894101f WHIRLPOOL 3267069825fa0d19a67cafb9da0018661dafa38a4b7c6790eb952b3744fb26b7d999e9665e3ee9b64289bb542b4779a139dcb34444189726a6e3907b408f3da1
2
+AUX ejabberd-3.confd 161 SHA256 0296d3d281a321cd7380772c1d89a94e4a86f85b7f43bf9dc1af74935c2e6386 SHA512 07143642982df18461fdecd16daaad3baf6a06f8222d7a76757797c531be2803975ed60cc43aace24a624aa7c73bd8fdc6e023e739de492271b79e571f27c8fb WHIRLPOOL 657c44991244d58c10590093a7f58f654cb45cf7e22244b474459c63a449c17d0cf1d6f2d62008ddb34f0022f8fc9e31f22d2010cb3d1070a462bcb22a9a81fc
3
+AUX ejabberd-3.initd 1025 SHA256 2810ca25fbe9d41a175b15c82d9ea1254fc4c934fd6ec02d9ee10bc34079e168 SHA512 5705074bd564568295d6d098394937ea44f5ea38ebc386fbcc3f8a239734acb77784500e8761e5fb3864fb56f7d136c9ef1f65603810d31b1f9a0ee4005d389a WHIRLPOOL 13718736e2ff08380c8a2df38099f11a0c5257188731fe9830e1ccdbe304b7c9984956ec7b1f9db11f677293a939604db79ac0870c1a74116d1eb70c1c373391
4
+AUX ejabberd.logrotate 203 SHA256 42f28222c6a5b7c691eb371085cccdef3fcba059a1e89f18744aa9bfc25e6294 SHA512 53cead768a76d18c01b229d0a1c0f38561c7a872fd751f1bb9b427c107f36a5536654a0047c5aef05507223f75c0e0f91e9a83b6c283fb9eceb8e31938de00d2 WHIRLPOOL ffbdfc1b22e855666aedbf816ec44439addcae21d82509399de046fa6a7c0182c1df756377a9d08d3b1f1d73e1e09ecd85da145357850d8a11d8ddb4b3b29d2a
5
+AUX ejabberd.service 422 SHA256 a699466dd95b8fb98aca078ca7e57a2d9f0fed13ecdc70d10b96e96df61b64af SHA512 91ba2ca5b0104a7628a63a80efd0ec4aa016f9100b631701e18ab7b524c2e2e9471a6ece4adcc90bbea16af05479dfa5a2414d2f50bdd4b0cd06a1e40539c5e3 WHIRLPOOL eb3b5af56eaf4292cdb67854e46ccc9d0c4f3f8674ad7992fdbfb037c3a441b27c922ac80f2fd8819c84411f045c689e67eeca4e331d088c7749fa4fc74437a3
6
+AUX ejabberd.tmpfiles.conf 43 SHA256 2ee7fb4fb9c9c931ffa8c1dfa273e6658f3bbd37bb6ae25765b9e4f2a7459506 SHA512 8bdc297d5cb405e82c33627b36730992584d7f8b92d15c47933edd01ba6575983009c1f6607a21eee0280abdf7b51639d99d7836712a8d3629ec1e960b8a02c4 WHIRLPOOL f27e3a9bff1ab941c4a80fc5573d8541e40804f24b2f2e40e0f77c2ea2016e5c0b323e59674ed880df95037d0d82a956bc9ea984b5b371dd16e50858faa7e0d0
7
+DIST ejabberd-15.06.tgz 1560640 SHA256 fcc001d0f2fc8b99bb2a4e7a42ec02c3c5d62191ea2aae19636f88e4e08be3a8 SHA512 103efe2062af3c7cca27ee5a25b4c050113642753375cd266ad70d89b863e2465d2230bd6af95b0cec6960db778c35fbe73e6217a0b83b5d559d8fde8a35d253 WHIRLPOOL 8529a4de95199bf57f31607aba67abc49bc0dab166fa5bc92a019c2d60d9684927d7afc61d726f6dc60ce70c7edbf390de23616e48b2a6e4cfc2b3569a0075ed
8
+EBUILD ejabberd-15.06.ebuild 5573 SHA256 f00a23a62f7c255e0ec0c3b88ccca422b7e602af5ee0a071cdf56d7a48312c9c SHA512 f27d7de6d2697e24ebd839453b3d6d53e420bea8b6e8fa8fa575f05bea6c95c90aaed3573b947ee0fc51469e1702c826b9304538601f95a50f11dd7e4a05efc5 WHIRLPOOL 358eb16fb8de595c49cba862363d7fe8295c820ee59b369ae563603ff38bc522a50c3119113d489546817f87f0b2c3850ac9daac1c73b89e49eab07387583f97
9
+MISC ChangeLog 24570 SHA256 903c4319b93b07658e835d9bb3dbd5c2e29601975254e739762f022e94ff2ced SHA512 8ffa26865338adcb4df52c4afb55b9d85c836e69f9fbb6b5391f4baeff6cd7105315d0b109ce639c00475a29e78f4f6400ae0e32e91a38975f1c1a1cccbdf58e WHIRLPOOL dd9d50e7dab81a693deeb36f5144406dcbaf7de85cdef6442e4078db8a8d82bd234bd76fec375bbbfc1dd13285eec9bb67dcd9fdb07124986d5b467e060ac40d
10
+MISC metadata.xml 1216 SHA256 78387188de45e4a89fe966f5edf32762b0ff19320af03dd927c8894c0559ee9e SHA512 983a732d22beb0674e38e987b3ad1a66a12397076c883de5bc319d94c9e255a529c91c1cc8e19692441e06a065bc179206ba802f8f0ca8c107f9ae2fe76df1aa WHIRLPOOL 72fdf87975f8f8d25068f5e30fe3db9d70c4a14060d1bd3306c8331a5ae48411e746c7db6f2a257d99607a149a3033f93205fcb8e2e513520535da5c98f8f33b
... ...
@@ -0,0 +1,150 @@
1
+# Copyright 1999-2015 Gentoo Foundation
2
+# Distributed under the terms of the GNU General Public License v2
3
+# $Header: /var/cvsroot/gentoo-x86/net-im/ejabberd/ejabberd-15.03-r1.ebuild,v 1.1 2015/04/14 03:39:56 radhermit Exp $
4
+
5
+EAPI=5
6
+
7
+inherit eutils multilib pam ssl-cert systemd
8
+
9
+DESCRIPTION="The Erlang Jabber Daemon"
10
+HOMEPAGE="http://www.ejabberd.im/ https://github.com/processone/ejabberd/"
11
+SRC_URI="http://dev.gentoo.org/~radhermit/dist/${P}.tgz"
12
+# upstream tarball missing bundled erlang libs that are fetched via git
13
+#SRC_URI="https://www.process-one.net/downloads/downloads-action.php?file=/${PN}/${PV}/${P}.tgz -> ${P}.tar.gz"
14
+
15
+LICENSE="GPL-2"
16
+SLOT="0"
17
+KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
18
+EJABBERD_MODULES="mod_bosh mod_irc mod_muc mod_proxy65 mod_pubsub"
19
+IUSE="captcha debug elixir ldap mysql nls odbc pam postgres riak redis tools zlib ${EJABBERD_MODULES}"
20
+
21
+DEPEND=">=net-im/jabber-base-0.01
22
+	>=dev-libs/expat-1.95
23
+	>=dev-libs/libyaml-0.1.4
24
+	>=dev-lang/erlang-15.2[ssl]
25
+	odbc? ( dev-db/unixODBC )
26
+	ldap? ( =net-nds/openldap-2* )
27
+	>=dev-libs/openssl-0.9.8e
28
+	captcha? ( media-gfx/imagemagick[truetype,png] )
29
+	zlib? ( >=sys-libs/zlib-1.2.3 )"
30
+RDEPEND="${DEPEND}
31
+	>=sys-apps/shadow-4.1.4.2-r3
32
+	pam? ( virtual/pam )"
33
+
34
+# paths in net-im/jabber-base
35
+JABBER_ETC="${EPREFIX}/etc/jabber"
36
+#JABBER_RUN="/var/run/jabber"
37
+JABBER_SPOOL="${EPREFIX}/var/spool/jabber"
38
+JABBER_LOG="${EPREFIX}/var/log/jabber"
39
+JABBER_DOC="${EPREFIX}/usr/share/doc/${PF}"
40
+
41
+src_prepare() {
42
+	epatch "${FILESDIR}"/${P}-ejabberdctl.patch
43
+
44
+	# don't install release notes (we'll do this manually)
45
+	sed '/install .* [.][.]\/doc\/[*][.]txt $(DOCDIR)/d' -i Makefile.in || die
46
+	# Set correct paths
47
+	sed -e "/^EJABBERDDIR[[:space:]]*=/{s:ejabberd:${PF}:}" \
48
+		-e "/^ETCDIR[[:space:]]*=/{s:@sysconfdir@/ejabberd:${JABBER_ETC}:}" \
49
+		-e "/^LOGDIR[[:space:]]*=/{s:@localstatedir@/log/ejabberd:${JABBER_LOG}:}" \
50
+		-e "/^SPOOLDIR[[:space:]]*=/{s:@localstatedir@/lib/ejabberd:${JABBER_SPOOL}:}" \
51
+			-i Makefile.in || die
52
+	sed -e "/EJABBERDDIR=/{s:ejabberd:${PF}:}" \
53
+		-e "s|\(ETC_DIR=\){{sysconfdir}}.*|\1${JABBER_ETC}|" \
54
+		-e "s|\(LOGS_DIR=\){{localstatedir}}.*|\1${JABBER_LOG}|" \
55
+		-e "s|\(SPOOL_DIR=\){{localstatedir}}.*|\1${JABBER_SPOOL}|" \
56
+			-i ejabberdctl.template || die
57
+
58
+	# fix up the ssl cert paths in ejabberd.yml to use our cert and
59
+	# also use the correct pam service name
60
+	sed -e "s:/path/to/ssl.pem:/etc/ssl/ejabberd/server.pem:g" \
61
+		-e "s:pamservicename:xmpp:" \
62
+		-i ejabberd.yml.example || die
63
+
64
+	# correct path to captcha script in default ejabberd.yml
65
+	sed -e 's|\({captcha_cmd,[[:space:]]*"\).\+"}|\1/usr/'$(get_libdir)'/erlang/lib/'${P}'/priv/bin/captcha.sh"}|' \
66
+		-i ejabberd.yml.example || die
67
+
68
+	# disable mod_irc in ejabberd.yml
69
+	if ! use mod_irc; then
70
+		sed -e "s/{mod_irc,/%{mod_irc,/" \
71
+			-i ejabberd.yml.example || die
72
+	fi
73
+
74
+	epatch_user
75
+}
76
+
77
+src_configure() {
78
+	econf \
79
+		--docdir="${EPREFIX}/usr/share/doc/${PF}/html" \
80
+		--libdir="${EPREFIX}/usr/$(get_libdir)/erlang/lib/" \
81
+		$(use_enable tools) \
82
+		$(use_enable odbc) \
83
+		$(use_enable mysql) \
84
+		$(use_enable postgres pgsql) \
85
+		$(use_enable pam) \
86
+		$(use_enable zlib) \
87
+		$(use_enable riak) \
88
+		$(use_enable redis) \
89
+		$(use_enable mod_bosh json) \
90
+		$(use_enable nls iconv) \
91
+		$(use_enable elixir) \
92
+		$(use_enable debug) \
93
+		--enable-lager \
94
+		--enable-user=jabber
95
+
96
+	# run configure scripts for all prefetched deps
97
+	./rebar get-deps || die
98
+}
99
+
100
+src_compile() {
101
+	emake $(use debug && echo debug=true ejabberd_debug=true)
102
+}
103
+
104
+src_install() {
105
+	default
106
+
107
+	# Pam helper module permissions
108
+	# https://www.process-one.net/docs/ejabberd/guide_en.html#pam
109
+	if use pam; then
110
+		pamd_mimic_system xmpp auth account || die "Cannot create pam.d file"
111
+		fowners root:jabber "/usr/$(get_libdir)/erlang/lib/${PF}/priv/bin/epam"
112
+		fperms 4750 "/usr/$(get_libdir)/erlang/lib/${PF}/priv/bin/epam"
113
+	fi
114
+
115
+	newinitd "${FILESDIR}"/${PN}-3.initd ${PN}
116
+	newconfd "${FILESDIR}"/${PN}-3.confd ${PN}
117
+	systemd_dounit "${FILESDIR}"/${PN}.service
118
+	systemd_dotmpfilesd "${FILESDIR}"/${PN}.tmpfiles.conf
119
+
120
+	insinto /etc/logrotate.d
121
+	newins "${FILESDIR}"/${PN}.logrotate ${PN}
122
+}
123
+
124
+pkg_postinst() {
125
+	if [[ -z ${REPLACING_VERSIONS} ]] ; then
126
+		elog "For configuration instructions, please see"
127
+		elog "/usr/share/doc/${PF}/html/guide.html, or the online version at"
128
+		elog "http://www.process-one.net/en/ejabberd/docs/guide_en/"
129
+	else
130
+		elog "Ejabberd now defaults to using a YAML format for its config file."
131
+		elog "The old ejabberd.cfg file can be converted using the following instructions:"
132
+		echo
133
+		elog "1. Make sure all processes related to the previous version of ejabberd aren't running."
134
+		elog "   Usually this just means the ejabberd daemon and possibly the pam-related processes"
135
+		elog "   (epmd and epam) if pam support is enabled."
136
+		elog "2. Run \`ejabberdctl start\` with sufficient permissions. Note that this can fail to"
137
+		elog "   start ejabberd properly for various reasons. Check ejabberd's main log file"
138
+		elog "   at /var/log/jabber/ejabberd.log to confirm it started successfully."
139
+		elog "3. Run \`ejabberdctl convert_to_yaml /etc/jabber/ejabberd.cfg /etc/jabber/ejabberd.yml.new\`"
140
+		elog "   with sufficient permissions, edit and rename /etc/jabber/ejabberd.yml.new to"
141
+		elog "   /etc/jabber/ejabberd.yml, and finally restart ejabberd with the new config file."
142
+		echo
143
+	fi
144
+
145
+	SSL_ORGANIZATION="${SSL_ORGANIZATION:-Ejabberd XMPP Server}"
146
+	install_cert /etc/ssl/ejabberd/server
147
+	# Fix ssl cert permissions bug #369809
148
+	chown root:jabber "${EROOT}/etc/ssl/ejabberd/server.pem"
149
+	chmod 0440 "${EROOT}/etc/ssl/ejabberd/server.pem"
150
+}
... ...
@@ -0,0 +1,41 @@
1
+--- ejabberd-15.06/ejabberdctl.template	2015-06-24 11:58:37.000000000 +0200
2
++++ ejabberd-15.06-1/ejabberdctl.template	2015-06-25 16:17:45.660000000 +0200
3
+@@ -15,6 +15,7 @@
4
+ IEX={{bindir}}/iex
5
+ EPMD={{bindir}}/epmd
6
+ INSTALLUSER={{installuser}}
7
++SHELL=/bin/sh
8
+ 
9
+ # check the proper system user is used if defined
10
+ if [ "$INSTALLUSER" != "" ] ; then
11
+@@ -22,11 +23,11 @@
12
+     for GID in `id -G`; do
13
+         if [ $GID -eq 0 ] ; then
14
+             INSTALLUSER_HOME=$(getent passwd "$INSTALLUSER" | cut -d: -f6)
15
+-            if [ -n "$INSTALLUSER_HOME" ] && [ ! -d "$INSTALLUSER_HOME" ] ; then
16
++            if [ -n "$INSTALLUSER_HOME" ] && [ ! -e "$INSTALLUSER_HOME" ] ; then
17
+                 mkdir -p "$INSTALLUSER_HOME"
18
+                 chown "$INSTALLUSER" "$INSTALLUSER_HOME"
19
+             fi
20
+-            EXEC_CMD="su $INSTALLUSER -c"
21
++            EXEC_CMD="su $INSTALLUSER -p -c"
22
+         fi
23
+     done
24
+     if [ `id -g` -eq `id -g $INSTALLUSER` ] ; then
25
+@@ -108,6 +109,7 @@
26
+ DATETIME=`date "+%Y%m%d-%H%M%S"`
27
+ ERL_CRASH_DUMP=$LOGS_DIR/erl_crash_$DATETIME.dump
28
+ ERL_INETRC=$ETC_DIR/inetrc
29
++HOME=$SPOOL_DIR
30
+ 
31
+ # define mnesia options
32
+ MNESIA_OPTS="-mnesia dir \"\\\"$SPOOL_DIR\\\"\" $MNESIA_OPTIONS"
33
+@@ -167,6 +169,8 @@
34
+ export ERL_MAX_PORTS
35
+ export ERL_MAX_ETS_TABLES
36
+ export CONTRIB_MODULES_PATH
37
++export HOME
38
++export SHELL
39
+ 
40
+ # start server
41
+ start()
... ...
@@ -0,0 +1,5 @@
1
+# Please configure everything at /etc/jabber/ejabberdctl.cfg
2
+# Put here only command line arguments for ejabberdctl (if any are required)
3
+
4
+#EJABBERDCTL_OPTS=""
5
+
... ...
@@ -0,0 +1,47 @@
1
+#!/sbin/runscript
2
+# Copyright 1999-2013 Gentoo Foundation
3
+# Distributed under the terms of the GNU General Public License v2
4
+# $Header: /var/cvsroot/gentoo-x86/net-im/ejabberd/files/ejabberd-3.initd,v 1.4 2013/04/05 09:03:34 radhermit Exp $
5
+
6
+depend() {
7
+	use dns
8
+	need net
9
+	provide jabber-server
10
+}
11
+
12
+start() {
13
+	if ejabberdctl status >/dev/null 2>&1; then
14
+		ewarn "ejabberd is already started (manually?)."
15
+		return 0
16
+	fi
17
+	ebegin "Starting ejabberd"
18
+	/usr/sbin/ejabberdctl ${EJABBERDCTL_OPTS} start
19
+	eend $?
20
+}
21
+
22
+stop() {
23
+	ejabberdctl status >/dev/null 2>&1
24
+	if test $? = 3; then
25
+		ewarn "ejabberd is already stopped (manually?)."
26
+		return 0
27
+	fi
28
+	ebegin "Stopping ejabberd"
29
+	if /usr/sbin/ejabberdctl stop >/dev/null 2>&1; then
30
+		cnt=0
31
+		sleep 1
32
+		while ejabberdctl status >/dev/null 2>&1 || test $? = 1; do
33
+			echo -n .
34
+			cnt=`expr $cnt + 1`
35
+			if [ $cnt -ge 60 ] ; then
36
+				eend 1
37
+				break
38
+			fi
39
+			sleep 1
40
+		done
41
+		eend 0
42
+	else
43
+		eend 1
44
+		einfo "Please, run '/usr/sbin/ejabberdctl stop' to see what's going on."
45
+	fi
46
+	eend 0
47
+}
... ...
@@ -0,0 +1,13 @@
1
+/var/log/jabber/*.log {
2
+	su jabber jabber
3
+	weekly
4
+	rotate 4
5
+	missingok
6
+	nocreate
7
+	sharedscripts
8
+	notifempty
9
+	compress
10
+	postrotate
11
+		/usr/sbin/ejabberdctl reopen-log > /dev/null 2>&1 || true
12
+	endscript
13
+}
... ...
@@ -0,0 +1,17 @@
1
+[Unit]
2
+Description=A distributed, fault-tolerant Jabber/XMPP server
3
+After=network.target
4
+
5
+[Service]
6
+Type=oneshot
7
+User=jabber
8
+LimitNOFILE=16000
9
+RestartSec=5
10
+ExecStart=/usr/sbin/ejabberdctl \
11
+	--config /etc/jabber/ejabberd.cfg --ctl-config /etc/jabber/ejabberdctl.cfg \
12
+	--logs "/var/log/jabber" --spool "/var/spool/jabber" start
13
+ExecStop=/usr/sbin/ejabberdctl stop
14
+RemainAfterExit=yes
15
+
16
+[Install]
17
+WantedBy=multi-user.target
... ...
@@ -0,0 +1 @@
1
+d /var/lock/ejabberdctl 0750 jabber jabber
... ...
@@ -0,0 +1,26 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3
+<pkgmetadata>
4
+	<herd>net-im</herd>
5
+	<longdescription>
6
+		Free and Open Source distributed fault-tolerant Jabber server. It's
7
+		mostly written in Erlang, and works on many platforms.
8
+	</longdescription>
9
+	<use>
10
+		<flag name="captcha">Support for CAPTCHA Forms (XEP-158)</flag>
11
+		<flag name="mod_proxy65">Support for SOCKS5 Bytestreams (XEP-0065)</flag>
12
+		<flag name="mod_statsdx">Measures several statistics, and provides a new section in ejabberd Web Admin to view them.</flag>
13
+		<flag name="elixir">Enable Elixir language support (http://elixir-lang.org/)</flag>
14
+		<flag name="mod_bosh">Enable support for XMPP over BOSH (XEP-0206)</flag>
15
+		<flag name="mod_irc">Build irc gateway</flag>
16
+		<flag name="mod_muc">Build Multi User Chat module</flag>
17
+		<flag name="mod_pubsub">Build Pubsub module</flag>
18
+		<flag name="redis">Enable Redis support</flag>
19
+		<flag name="riak">Enable Riak support</flag>
20
+		<flag name="tools">Build development tools</flag>
21
+		<flag name="web">Enable web admin interface</flag>
22
+	</use>
23
+	<upstream>
24
+		<remote-id type="github">processone/ejabberd</remote-id>
25
+	</upstream>
26
+</pkgmetadata>
0 27