Gentoo Archives: gentoo-commits

From: "Markus Ullmann (jokey)" <jokey@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/openfire: openfire-3.3.3.ebuild openfire-3.3.2.ebuild openfire-3.4.4.ebuild ChangeLog openfire-3.4.1.ebuild openfire-3.4.3.ebuild openfire-3.4.5.ebuild
Date: Wed, 12 Mar 2008 19:58:08
Message-Id: E1JZX5R-0002ff-5j@stork.gentoo.org
1 jokey 08/03/12 19:58:05
2
3 Modified: openfire-3.3.3.ebuild openfire-3.3.2.ebuild
4 openfire-3.4.4.ebuild ChangeLog
5 openfire-3.4.1.ebuild openfire-3.4.3.ebuild
6 Added: openfire-3.4.5.ebuild
7 Log:
8 Quoting fix and version bump
9 (Portage version: 2.1.4.4)
10
11 Revision Changes Path
12 1.3 net-im/openfire/openfire-3.3.3.ebuild
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/openfire/openfire-3.3.3.ebuild?rev=1.3&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/openfire/openfire-3.3.3.ebuild?rev=1.3&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/openfire/openfire-3.3.3.ebuild?r1=1.2&r2=1.3
17
18 Index: openfire-3.3.3.ebuild
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.3.3.ebuild,v
21 retrieving revision 1.2
22 retrieving revision 1.3
23 diff -u -r1.2 -r1.3
24 --- openfire-3.3.3.ebuild 17 Jan 2008 14:42:37 -0000 1.2
25 +++ openfire-3.3.3.ebuild 12 Mar 2008 19:58:04 -0000 1.3
26 @@ -1,23 +1,18 @@
27 # Copyright 1999-2008 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.3.3.ebuild,v 1.2 2008/01/17 14:42:37 caster Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.3.3.ebuild,v 1.3 2008/03/12 19:58:04 jokey Exp $
31
32 inherit eutils java-pkg-2 java-ant-2
33
34 DESCRIPTION="Openfire (formerly wildfire) real time collaboration (RTC) server"
35 HOMEPAGE="http://www.igniterealtime.org/projects/openfire/"
36 SRC_URI="http://www.igniterealtime.org/builds/openfire/${PN//-/_}_src_${PV//./_}.tar.gz"
37 -RESTRICT=""
38 -LICENSE="GPL-2"
39
40 +LICENSE="GPL-2"
41 SLOT="0"
42 -
43 KEYWORDS="~amd64 ~x86"
44 IUSE="doc"
45
46 -# For transports
47 -PROVIDE="virtual/jabber-server"
48 -
49 RDEPEND=">=virtual/jre-1.5"
50 DEPEND="net-im/jabber-base
51 dev-java/ant-contrib
52 @@ -25,6 +20,11 @@
53
54 S=${WORKDIR}/${PN//-/_}_src
55
56 +RESTRICT=""
57 +
58 +# For transports
59 +PROVIDE="virtual/jabber-server"
60 +
61 pkg_setup() {
62 if [ -f /etc/env.d/98openfire ]; then
63 einfo "This is an upgrade"
64 @@ -39,8 +39,8 @@
65
66 src_unpack() {
67 unpack ${PN//-/_}_src_${PV//./_}.tar.gz
68 - cd ${S}
69 - epatch ${FILESDIR}/buildxml-${PV}.patch
70 + cd "${S}"
71 + epatch "${FILESDIR}"/buildxml.patch
72
73 # TODO should replace jars in build/lib with ones packaged by us -nichoj
74 }
75 @@ -56,8 +56,8 @@
76 src_install() {
77 dodir /opt/openfire
78
79 - doinitd ${FILESDIR}/init.d/openfire
80 - doconfd ${FILESDIR}/conf.d/openfire
81 + doinitd "${FILESDIR}"/openfire-initd
82 + doconfd "${FILESDIR}"/openfire-confd
83
84 dodir /opt/openfire/conf
85 insinto /opt/openfire/conf
86 @@ -85,7 +85,7 @@
87
88 #Protect ssl key on upgrade
89 dodir /etc/env.d/
90 - echo 'CONFIG_PROTECT="/opt/openfire/resources/security/"' > ${D}/etc/env.d/98openfire
91 + echo 'CONFIG_PROTECT="/opt/openfire/resources/security/"' > "${D}"/etc/env.d/98openfire
92 }
93
94 pkg_postinst() {
95
96
97
98 1.3 net-im/openfire/openfire-3.3.2.ebuild
99
100 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/openfire/openfire-3.3.2.ebuild?rev=1.3&view=markup
101 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/openfire/openfire-3.3.2.ebuild?rev=1.3&content-type=text/plain
102 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/openfire/openfire-3.3.2.ebuild?r1=1.2&r2=1.3
103
104 Index: openfire-3.3.2.ebuild
105 ===================================================================
106 RCS file: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.3.2.ebuild,v
107 retrieving revision 1.2
108 retrieving revision 1.3
109 diff -u -r1.2 -r1.3
110 --- openfire-3.3.2.ebuild 17 Jan 2008 14:42:37 -0000 1.2
111 +++ openfire-3.3.2.ebuild 12 Mar 2008 19:58:04 -0000 1.3
112 @@ -1,23 +1,18 @@
113 # Copyright 1999-2008 Gentoo Foundation
114 # Distributed under the terms of the GNU General Public License v2
115 -# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.3.2.ebuild,v 1.2 2008/01/17 14:42:37 caster Exp $
116 +# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.3.2.ebuild,v 1.3 2008/03/12 19:58:04 jokey Exp $
117
118 inherit eutils java-pkg-2 java-ant-2
119
120 DESCRIPTION="Openfire (formerly wildfire) real time collaboration (RTC) server"
121 HOMEPAGE="http://www.igniterealtime.org/projects/openfire/"
122 SRC_URI="http://www.igniterealtime.org/builds/openfire/${PN//-/_}_src_${PV//./_}.tar.gz"
123 -RESTRICT=""
124 -LICENSE="GPL-2"
125
126 +LICENSE="GPL-2"
127 SLOT="0"
128 -
129 KEYWORDS="amd64 x86"
130 IUSE="doc"
131
132 -# For transports
133 -PROVIDE="virtual/jabber-server"
134 -
135 RDEPEND=">=virtual/jre-1.5"
136 DEPEND="net-im/jabber-base
137 dev-java/ant-contrib
138 @@ -25,6 +20,11 @@
139
140 S=${WORKDIR}/${PN//-/_}_src
141
142 +RESTRICT=""
143 +
144 +# For transports
145 +PROVIDE="virtual/jabber-server"
146 +
147 pkg_setup() {
148 if [ -f /etc/env.d/98openfire ]; then
149 einfo "This is an upgrade"
150 @@ -39,8 +39,8 @@
151
152 src_unpack() {
153 unpack ${PN//-/_}_src_${PV//./_}.tar.gz
154 - cd ${S}
155 - epatch ${FILESDIR}/buildxml-${PV}.patch
156 + cd "${S}"
157 + epatch "${FILESDIR}"/buildxml.patch
158
159 # TODO should replace jars in build/lib with ones packaged by us -nichoj
160 }
161 @@ -56,8 +56,8 @@
162 src_install() {
163 dodir /opt/openfire
164
165 - doinitd ${FILESDIR}/init.d/openfire
166 - doconfd ${FILESDIR}/conf.d/openfire
167 + doinitd "${FILESDIR}"/openfire-initd
168 + doconfd "${FILESDIR}"/openfire-confd
169
170 dodir /opt/openfire/conf
171 insinto /opt/openfire/conf
172 @@ -85,7 +85,7 @@
173
174 #Protect ssl key on upgrade
175 dodir /etc/env.d/
176 - echo 'CONFIG_PROTECT="/opt/openfire/resources/security/"' > ${D}/etc/env.d/98openfire
177 + echo 'CONFIG_PROTECT="/opt/openfire/resources/security/"' > "${D}"/etc/env.d/98openfire
178 }
179
180 pkg_postinst() {
181
182
183
184 1.2 net-im/openfire/openfire-3.4.4.ebuild
185
186 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/openfire/openfire-3.4.4.ebuild?rev=1.2&view=markup
187 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/openfire/openfire-3.4.4.ebuild?rev=1.2&content-type=text/plain
188 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/openfire/openfire-3.4.4.ebuild?r1=1.1&r2=1.2
189
190 Index: openfire-3.4.4.ebuild
191 ===================================================================
192 RCS file: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.4.4.ebuild,v
193 retrieving revision 1.1
194 retrieving revision 1.2
195 diff -u -r1.1 -r1.2
196 --- openfire-3.4.4.ebuild 25 Jan 2008 00:19:05 -0000 1.1
197 +++ openfire-3.4.4.ebuild 12 Mar 2008 19:58:04 -0000 1.2
198 @@ -1,23 +1,18 @@
199 # Copyright 1999-2008 Gentoo Foundation
200 # Distributed under the terms of the GNU General Public License v2
201 -# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.4.4.ebuild,v 1.1 2008/01/25 00:19:05 humpback Exp $
202 +# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.4.4.ebuild,v 1.2 2008/03/12 19:58:04 jokey Exp $
203
204 inherit eutils java-pkg-2 java-ant-2
205
206 DESCRIPTION="Openfire (formerly wildfire) real time collaboration (RTC) server"
207 HOMEPAGE="http://www.igniterealtime.org/projects/openfire/"
208 SRC_URI="http://www.igniterealtime.org/builds/openfire/${PN//-/_}_src_${PV//./_}.tar.gz"
209 -RESTRICT=""
210 -LICENSE="GPL-2"
211
212 +LICENSE="GPL-2"
213 SLOT="0"
214 -
215 KEYWORDS="~amd64 ~x86"
216 IUSE="doc"
217
218 -# For transports
219 -PROVIDE="virtual/jabber-server"
220 -
221 RDEPEND=">=virtual/jre-1.5"
222 DEPEND="net-im/jabber-base
223 dev-java/ant-contrib
224 @@ -25,6 +20,11 @@
225
226 S=${WORKDIR}/${PN//-/_}_src
227
228 +RESTRICT=""
229 +
230 +# For transports
231 +PROVIDE="virtual/jabber-server"
232 +
233 pkg_setup() {
234 if [ -f /etc/env.d/98openfire ]; then
235 einfo "This is an upgrade"
236 @@ -39,8 +39,8 @@
237
238 src_unpack() {
239 unpack ${PN//-/_}_src_${PV//./_}.tar.gz
240 - cd ${S}
241 - epatch ${FILESDIR}/buildxml-${PV}.patch
242 + cd "${S}"
243 + epatch "${FILESDIR}"/buildxml.patch
244
245 # TODO should replace jars in build/lib with ones packaged by us -nichoj
246 }
247 @@ -56,8 +56,8 @@
248 src_install() {
249 dodir /opt/openfire
250
251 - doinitd ${FILESDIR}/init.d/openfire
252 - doconfd ${FILESDIR}/conf.d/openfire
253 + doinitd "${FILESDIR}"/openfire-initd
254 + doconfd "${FILESDIR}"/openfire-confd
255
256 dodir /opt/openfire/conf
257 insinto /opt/openfire/conf
258 @@ -85,7 +85,7 @@
259
260 #Protect ssl key on upgrade
261 dodir /etc/env.d/
262 - echo 'CONFIG_PROTECT="/opt/openfire/resources/security/"' > ${D}/etc/env.d/98openfire
263 + echo 'CONFIG_PROTECT="/opt/openfire/resources/security/"' > "${D}"/etc/env.d/98openfire
264 }
265
266 pkg_postinst() {
267
268
269
270 1.15 net-im/openfire/ChangeLog
271
272 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/openfire/ChangeLog?rev=1.15&view=markup
273 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/openfire/ChangeLog?rev=1.15&content-type=text/plain
274 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/openfire/ChangeLog?r1=1.14&r2=1.15
275
276 Index: ChangeLog
277 ===================================================================
278 RCS file: /var/cvsroot/gentoo-x86/net-im/openfire/ChangeLog,v
279 retrieving revision 1.14
280 retrieving revision 1.15
281 diff -u -r1.14 -r1.15
282 --- ChangeLog 17 Jan 2008 14:42:37 -0000 1.14
283 +++ ChangeLog 12 Mar 2008 19:58:04 -0000 1.15
284 @@ -1,6 +1,18 @@
285 # ChangeLog for net-im/openfire
286 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
287 -# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/ChangeLog,v 1.14 2008/01/17 14:42:37 caster Exp $
288 +# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/ChangeLog,v 1.15 2008/03/12 19:58:04 jokey Exp $
289 +
290 +*openfire-3.4.5 (12 Mar 2008)
291 +
292 + 12 Mar 2008; Markus Ullmann <jokey@g.o>
293 + -files/buildxml-3.3.2.patch, -files/buildxml-3.3.3.patch,
294 + -files/buildxml-3.4.1.patch, -files/buildxml-3.4.3.patch,
295 + -files/buildxml-3.4.4.patch, +files/buildxml.patch,
296 + -files/conf.d/openfire, -files/init.d/openfire, +files/openfire-confd,
297 + +files/openfire-initd, openfire-3.3.2.ebuild, openfire-3.3.3.ebuild,
298 + openfire-3.4.1.ebuild, openfire-3.4.3.ebuild, openfire-3.4.4.ebuild,
299 + +openfire-3.4.5.ebuild:
300 + Quoting fix and version bump
301
302 17 Jan 2008; Vlastimil Babka <caster@g.o> openfire-3.3.2.ebuild,
303 openfire-3.3.3.ebuild, openfire-3.4.1.ebuild, openfire-3.4.3.ebuild:
304
305
306
307 1.3 net-im/openfire/openfire-3.4.1.ebuild
308
309 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/openfire/openfire-3.4.1.ebuild?rev=1.3&view=markup
310 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/openfire/openfire-3.4.1.ebuild?rev=1.3&content-type=text/plain
311 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/openfire/openfire-3.4.1.ebuild?r1=1.2&r2=1.3
312
313 Index: openfire-3.4.1.ebuild
314 ===================================================================
315 RCS file: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.4.1.ebuild,v
316 retrieving revision 1.2
317 retrieving revision 1.3
318 diff -u -r1.2 -r1.3
319 --- openfire-3.4.1.ebuild 17 Jan 2008 14:42:37 -0000 1.2
320 +++ openfire-3.4.1.ebuild 12 Mar 2008 19:58:04 -0000 1.3
321 @@ -1,23 +1,18 @@
322 # Copyright 1999-2008 Gentoo Foundation
323 # Distributed under the terms of the GNU General Public License v2
324 -# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.4.1.ebuild,v 1.2 2008/01/17 14:42:37 caster Exp $
325 +# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.4.1.ebuild,v 1.3 2008/03/12 19:58:04 jokey Exp $
326
327 inherit eutils java-pkg-2 java-ant-2
328
329 DESCRIPTION="Openfire (formerly wildfire) real time collaboration (RTC) server"
330 HOMEPAGE="http://www.igniterealtime.org/projects/openfire/"
331 SRC_URI="http://www.igniterealtime.org/builds/openfire/${PN//-/_}_src_${PV//./_}.tar.gz"
332 -RESTRICT=""
333 -LICENSE="GPL-2"
334
335 +LICENSE="GPL-2"
336 SLOT="0"
337 -
338 KEYWORDS="~amd64 ~x86"
339 IUSE="doc"
340
341 -# For transports
342 -PROVIDE="virtual/jabber-server"
343 -
344 RDEPEND=">=virtual/jre-1.5"
345 DEPEND="net-im/jabber-base
346 dev-java/ant-contrib
347 @@ -25,6 +20,11 @@
348
349 S=${WORKDIR}/${PN//-/_}_src
350
351 +RESTRICT=""
352 +
353 +# For transports
354 +PROVIDE="virtual/jabber-server"
355 +
356 pkg_setup() {
357 if [ -f /etc/env.d/98openfire ]; then
358 einfo "This is an upgrade"
359 @@ -39,8 +39,8 @@
360
361 src_unpack() {
362 unpack ${PN//-/_}_src_${PV//./_}.tar.gz
363 - cd ${S}
364 - epatch ${FILESDIR}/buildxml-${PV}.patch
365 + cd "${S}"
366 + epatch "${FILESDIR}"/buildxml.patch
367
368 # TODO should replace jars in build/lib with ones packaged by us -nichoj
369 }
370 @@ -56,8 +56,8 @@
371 src_install() {
372 dodir /opt/openfire
373
374 - doinitd ${FILESDIR}/init.d/openfire
375 - doconfd ${FILESDIR}/conf.d/openfire
376 + doinitd "${FILESDIR}"/openfire-initd
377 + doconfd "${FILESDIR}"/openfire-confd
378
379 dodir /opt/openfire/conf
380 insinto /opt/openfire/conf
381 @@ -85,7 +85,7 @@
382
383 #Protect ssl key on upgrade
384 dodir /etc/env.d/
385 - echo 'CONFIG_PROTECT="/opt/openfire/resources/security/"' > ${D}/etc/env.d/98openfire
386 + echo 'CONFIG_PROTECT="/opt/openfire/resources/security/"' > "${D}"/etc/env.d/98openfire
387 }
388
389 pkg_postinst() {
390
391
392
393 1.3 net-im/openfire/openfire-3.4.3.ebuild
394
395 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/openfire/openfire-3.4.3.ebuild?rev=1.3&view=markup
396 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/openfire/openfire-3.4.3.ebuild?rev=1.3&content-type=text/plain
397 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/openfire/openfire-3.4.3.ebuild?r1=1.2&r2=1.3
398
399 Index: openfire-3.4.3.ebuild
400 ===================================================================
401 RCS file: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.4.3.ebuild,v
402 retrieving revision 1.2
403 retrieving revision 1.3
404 diff -u -r1.2 -r1.3
405 --- openfire-3.4.3.ebuild 17 Jan 2008 14:42:37 -0000 1.2
406 +++ openfire-3.4.3.ebuild 12 Mar 2008 19:58:04 -0000 1.3
407 @@ -1,23 +1,18 @@
408 # Copyright 1999-2008 Gentoo Foundation
409 # Distributed under the terms of the GNU General Public License v2
410 -# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.4.3.ebuild,v 1.2 2008/01/17 14:42:37 caster Exp $
411 +# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.4.3.ebuild,v 1.3 2008/03/12 19:58:04 jokey Exp $
412
413 inherit eutils java-pkg-2 java-ant-2
414
415 DESCRIPTION="Openfire (formerly wildfire) real time collaboration (RTC) server"
416 HOMEPAGE="http://www.igniterealtime.org/projects/openfire/"
417 SRC_URI="http://www.igniterealtime.org/builds/openfire/${PN//-/_}_src_${PV//./_}.tar.gz"
418 -RESTRICT=""
419 -LICENSE="GPL-2"
420
421 +LICENSE="GPL-2"
422 SLOT="0"
423 -
424 KEYWORDS="~amd64 ~x86"
425 IUSE="doc"
426
427 -# For transports
428 -PROVIDE="virtual/jabber-server"
429 -
430 RDEPEND=">=virtual/jre-1.5"
431 DEPEND="net-im/jabber-base
432 dev-java/ant-contrib
433 @@ -25,6 +20,11 @@
434
435 S=${WORKDIR}/${PN//-/_}_src
436
437 +RESTRICT=""
438 +
439 +# For transports
440 +PROVIDE="virtual/jabber-server"
441 +
442 pkg_setup() {
443 if [ -f /etc/env.d/98openfire ]; then
444 einfo "This is an upgrade"
445 @@ -39,8 +39,8 @@
446
447 src_unpack() {
448 unpack ${PN//-/_}_src_${PV//./_}.tar.gz
449 - cd ${S}
450 - epatch ${FILESDIR}/buildxml-${PV}.patch
451 + cd "${S}"
452 + epatch "${FILESDIR}"/buildxml.patch
453
454 # TODO should replace jars in build/lib with ones packaged by us -nichoj
455 }
456 @@ -56,8 +56,8 @@
457 src_install() {
458 dodir /opt/openfire
459
460 - doinitd ${FILESDIR}/init.d/openfire
461 - doconfd ${FILESDIR}/conf.d/openfire
462 + doinitd "${FILESDIR}"/openfire-initd
463 + doconfd "${FILESDIR}"/openfire-confd
464
465 dodir /opt/openfire/conf
466 insinto /opt/openfire/conf
467 @@ -85,7 +85,7 @@
468
469 #Protect ssl key on upgrade
470 dodir /etc/env.d/
471 - echo 'CONFIG_PROTECT="/opt/openfire/resources/security/"' > ${D}/etc/env.d/98openfire
472 + echo 'CONFIG_PROTECT="/opt/openfire/resources/security/"' > "${D}"/etc/env.d/98openfire
473 }
474
475 pkg_postinst() {
476
477
478
479 1.1 net-im/openfire/openfire-3.4.5.ebuild
480
481 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/openfire/openfire-3.4.5.ebuild?rev=1.1&view=markup
482 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/openfire/openfire-3.4.5.ebuild?rev=1.1&content-type=text/plain
483
484 Index: openfire-3.4.5.ebuild
485 ===================================================================
486 # Copyright 1999-2008 Gentoo Foundation
487 # Distributed under the terms of the GNU General Public License v2
488 # $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.4.5.ebuild,v 1.1 2008/03/12 19:58:04 jokey Exp $
489
490 inherit eutils java-pkg-2 java-ant-2
491
492 DESCRIPTION="Openfire (formerly wildfire) real time collaboration (RTC) server"
493 HOMEPAGE="http://www.igniterealtime.org/projects/openfire/"
494 SRC_URI="http://www.igniterealtime.org/builds/openfire/${PN//-/_}_src_${PV//./_}.tar.gz"
495
496 LICENSE="GPL-2"
497 SLOT="0"
498 KEYWORDS="~amd64 ~x86"
499 IUSE="doc"
500
501 RDEPEND=">=virtual/jre-1.5"
502 DEPEND="net-im/jabber-base
503 dev-java/ant-contrib
504 >=virtual/jdk-1.5"
505
506 S=${WORKDIR}/${PN//-/_}_src
507
508 RESTRICT=""
509
510 # For transports
511 PROVIDE="virtual/jabber-server"
512
513 pkg_setup() {
514 if [ -f /etc/env.d/98openfire ]; then
515 einfo "This is an upgrade"
516 else
517 ewarn "If this is an upgrade stop right ( CONTROL-C ) and run the command:"
518 ewarn "echo 'CONFIG_PROTECT=\"/opt/openfire/resources/security/\"' > /etc/env.d/98openfire "
519 ewarn "For more info see bug #139708"
520 sleep 11
521 fi
522 java-pkg-2_pkg_setup
523 }
524
525 src_unpack() {
526 unpack ${PN//-/_}_src_${PV//./_}.tar.gz
527 cd "${S}"
528 epatch "${FILESDIR}"/buildxml.patch
529
530 # TODO should replace jars in build/lib with ones packaged by us -nichoj
531 }
532
533 src_compile() {
534 # Jikes doesn't support -source 1.5
535 java-pkg_filter-compiler jikes
536
537 ANT_TASKS="ant-contrib"
538 eant -f build/build.xml openfire plugins $(use_doc)
539 }
540
541 src_install() {
542 dodir /opt/openfire
543
544 doinitd "${FILESDIR}"/openfire-initd
545 doconfd "${FILESDIR}"/openfire-confd
546
547 dodir /opt/openfire/conf
548 insinto /opt/openfire/conf
549 newins target/openfire/conf/openfire.xml openfire.xml.sample
550
551 dodir /opt/openfire/logs
552 keepdir /opt/openfire/logs
553
554 dodir /opt/openfire/lib
555 insinto /opt/openfire/lib
556 doins target/openfire/lib/*
557
558 dodir /opt/openfire/plugins
559 insinto /opt/openfire/plugins
560 doins -r target/openfire/plugins/*
561
562 dodir /opt/openfire/resources
563 insinto /opt/openfire/resources
564 doins -r target/openfire/resources/*
565
566 if use doc; then
567 dohtml -r documentation/docs/*
568 fi
569 dodoc documentation/dist/*
570
571 #Protect ssl key on upgrade
572 dodir /etc/env.d/
573 echo 'CONFIG_PROTECT="/opt/openfire/resources/security/"' > "${D}"/etc/env.d/98openfire
574 }
575
576 pkg_postinst() {
577 chown -R jabber:jabber /opt/openfire
578
579 ewarn If this is a new install, please edit /opt/openfire/conf/openfire.xml.sample
580 ewarn and save it as /opt/openfire/conf/openfire.xml
581 ewarn
582 ewarn The following must be be owned or writable by the jabber user.
583 ewarn /opt/openfire/conf/openfire.xml
584 ewarn
585 ewarn If you are upgrading please have a look at the Wildfire to Openfire Upgrade Guide:
586 ewarn http://wiki.igniterealtime.org/display/WILDFIRE/Wildfire+to+Openfire+Upgrade+Guide
587 ewarn
588 }
589
590
591
592 --
593 gentoo-commits@l.g.o mailing list