From 6a9847b4e49fadfda4cda429e86aed491499c989 Mon Sep 17 00:00:00 2001 From: Micha Glave Date: Mon, 19 Mar 2007 10:48:34 +0000 Subject: [PATCH] new wildfire release --- net-im/wildfire/Manifest | 20 ++++ net-im/wildfire/files/build.xml-3.2.3.bz2 | Bin 0 -> 7970 bytes net-im/wildfire/files/conf.d/wildfire | 11 +++ net-im/wildfire/files/digest-wildfire-3.2.3 | 3 + net-im/wildfire/files/init.d/wildfire | 24 +++++ net-im/wildfire/wildfire-3.2.3.ebuild | 102 ++++++++++++++++++++ 6 files changed, 160 insertions(+) create mode 100644 net-im/wildfire/Manifest create mode 100644 net-im/wildfire/files/build.xml-3.2.3.bz2 create mode 100644 net-im/wildfire/files/conf.d/wildfire create mode 100644 net-im/wildfire/files/digest-wildfire-3.2.3 create mode 100755 net-im/wildfire/files/init.d/wildfire create mode 100644 net-im/wildfire/wildfire-3.2.3.ebuild diff --git a/net-im/wildfire/Manifest b/net-im/wildfire/Manifest new file mode 100644 index 0000000..ab2da1b --- /dev/null +++ b/net-im/wildfire/Manifest @@ -0,0 +1,20 @@ +AUX build.xml-3.2.3.bz2 7970 RMD160 e8ca2d2761934429f306e64f3767c69d917c90c8 SHA1 483526e7abd7d8f73ef746dd02f26856ef672f40 SHA256 c8f3ea51fc30cfa1662554e8a476541f70a2362c5e24ae19af065fa74b72d120 +MD5 3cf634dff9fa3899f624c18dcd459423 files/build.xml-3.2.3.bz2 7970 +RMD160 e8ca2d2761934429f306e64f3767c69d917c90c8 files/build.xml-3.2.3.bz2 7970 +SHA256 c8f3ea51fc30cfa1662554e8a476541f70a2362c5e24ae19af065fa74b72d120 files/build.xml-3.2.3.bz2 7970 +AUX conf.d/wildfire 491 RMD160 a11202a762cffb01a0d33a69ab65283a5962cfce SHA1 4a41b03dc09f4aa375a0c793a53ff10129cf5432 SHA256 c1b3ba0a0da4854118e4e8debd370d8e2deb7f08a3fe5c4b5c4bedae5428498b +MD5 3ea87a69285ce987e501c835629b0af3 files/conf.d/wildfire 491 +RMD160 a11202a762cffb01a0d33a69ab65283a5962cfce files/conf.d/wildfire 491 +SHA256 c1b3ba0a0da4854118e4e8debd370d8e2deb7f08a3fe5c4b5c4bedae5428498b files/conf.d/wildfire 491 +AUX init.d/wildfire 571 RMD160 afaa6d826bd732b4195e13d5eb606df3dc976704 SHA1 37ca572c2a639c581f49c2284a08b7aa98d39609 SHA256 2bc37ba293e67806a83600b46eec26625f6830fd4f0f4677c3b5636be2090c42 +MD5 8543a0e0ed5c360ae0a5f4ac191fb795 files/init.d/wildfire 571 +RMD160 afaa6d826bd732b4195e13d5eb606df3dc976704 files/init.d/wildfire 571 +SHA256 2bc37ba293e67806a83600b46eec26625f6830fd4f0f4677c3b5636be2090c42 files/init.d/wildfire 571 +DIST wildfire_src_3_2_3.tar.gz 16234108 RMD160 f7d1a93bb708cbd408170e86613cdbf396496aeb SHA1 b53e71eb1ea5ce60cd01bddd4192e9c4ec795633 SHA256 f28f1c9f38fdfa2d1fca0d32b916da14de333834ff18a00c6282458b83fe6f57 +EBUILD wildfire-3.2.3.ebuild 2632 RMD160 6cdd4da6abd9415d47ffd2e31daec77639d7a24b SHA1 bbf3b6bfe1db9415101b52c0f7256999d1c52dbc SHA256 dbf646c659f107492c56ad25ad30bc93e1461f2f3da5d969c2e8e5b8030bf548 +MD5 340cef72c3a2fa49cce15edaf06a1ad6 wildfire-3.2.3.ebuild 2632 +RMD160 6cdd4da6abd9415d47ffd2e31daec77639d7a24b wildfire-3.2.3.ebuild 2632 +SHA256 dbf646c659f107492c56ad25ad30bc93e1461f2f3da5d969c2e8e5b8030bf548 wildfire-3.2.3.ebuild 2632 +MD5 6aa6f531eddcaf809650357a7f283f4a files/digest-wildfire-3.2.3 262 +RMD160 c66d9aa3a588e613987992be52d6e7c79690b6a3 files/digest-wildfire-3.2.3 262 +SHA256 ee9aadb95da9fabc18643a36e6c1fc1d97a970c72878578ccb6ebf987eb5eef2 files/digest-wildfire-3.2.3 262 diff --git a/net-im/wildfire/files/build.xml-3.2.3.bz2 b/net-im/wildfire/files/build.xml-3.2.3.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..741e4c9020c78cdde879c95781cc685529622fd7 GIT binary patch literal 7970 zcmV+-AKlCf|N3Aozjy%q=6l#l ziSd!s6n~b)~mA&Ggohupf6L{ z>g*INvhCY;+_O^c%SM~DfUVR`-PaB)SjIay7Oum)O}06+ZF9GDr9mP@8U)dxMw(4e z5htOkr>0Tm8KN=_LuxV)QMElF(;$KnDt@SWO+7#W226pV004S}KmbURQ_^T+OlhQM zqtU748kwn@Mn)!S8Ucey%}p7oB+^7p5fe10rd0BtQ`8SgJs>g-000N6plAR@luT(d z2x&bugH-)OF+BtxrqpSn>KY9I0j7W=L_z>2kkK_fNvEoKpgm1A00x=^L(~8RdL#dA z0Tgt9LnKOo8HpoO;ujVy1&}cSF(EiYPMJ0a;8Yd`R6#2hJ`CZKV+D%^A_xwc6k5el zDo80)iSd!2Jq>CU{El8@C zfny{QfmsMF4(h;=v0%t@g1}nIZKE4Nu_Z-hM9_}0x*4jVizyO76+rGV{c$dy+TqZr zo134aZ{x|K+{!AB3KRtAb#`9JR|Kn58YurYhR1DCI{o*VN;sXjF!rWw@2DMKaKwndiBT)DJ5H?AU4s zvCUjoF=xG`V9jeY#$RF`O>qJghW*P*E^%8D+G*}hH#@nAPwk9(S)iM;wSQx0QiL0T)V46zBfvB7gLs9I{SN=Ka zjQuu=Za)VLqhf=0v@|#faP2k1()uX{S=TwMIFcZl6OF+!q%gB}I7o`><7y4hQ}m~F zpe_bmsSuM%u%z+JE%c+O0D_7xFsUNLr$I0k!o6l-!1%HNq>?fyh>H;fWJVD1=d;td z-ywLovCe~{9sjk(_D?Va_G4~b$A1=+c5}(x4572FF5o)sMToE#?u#yX@%qihdK-i= z=ml9ZGec(*L>w*@n|c)EP~*Gs0f90}OizM%TW11@vykbhIZx}cO2cGr9=xS|5OHqq zyF07;V&=2$;PKhh#bWH4c?N!?O_{}dvYJ=bTe>IgJE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b%CG!4NbC5uELQ_Jd!UGb8&9h*r#8DwQ;g0wnvr zcDI^nQZN!z$-uY1k|ddf5`zm^d6qN`Rlya+NDxN^k%Z*L9T^w~ty;J?3}i)OI)gNz YvM5M|ICnRzfY1LIaz!{$kb2T`To#@xZ2$lO literal 0 HcmV?d00001 diff --git a/net-im/wildfire/files/conf.d/wildfire b/net-im/wildfire/files/conf.d/wildfire new file mode 100644 index 0000000..bdb6286 --- /dev/null +++ b/net-im/wildfire/files/conf.d/wildfire @@ -0,0 +1,11 @@ +WILDFIRE_HOME=/opt/wildfire +WILDFIRE_LIB="${WILDFIRE_HOME}/lib" +WILDFIRE_OPTS="-Xmx256m -DwildfireHome=${WILDFIRE_HOME} -Dwildfire.lib.dir=${WILDFIRE_LIB}" +WILDFIRE_CLASS="-classpath ${WILDFIRE_LIB}/startup.jar" +WILDFIRE_JAR="-jar ${WILDFIRE_LIB}/startup.jar" +WILDFIRE_ARGS="-server ${WILDFIRE_OPTS} ${WILDFIRE_CLASS} ${WILDFIRE_JAR}" + + +#JVM used by the wildfire server. You can see a list of available vm's in /usr/lib/jvm/ +#But remenber that wildfire needs a 1.5 jvm +GENTOO_VM=sun-jdk-1.5 diff --git a/net-im/wildfire/files/digest-wildfire-3.2.3 b/net-im/wildfire/files/digest-wildfire-3.2.3 new file mode 100644 index 0000000..63942b4 --- /dev/null +++ b/net-im/wildfire/files/digest-wildfire-3.2.3 @@ -0,0 +1,3 @@ +MD5 497da0e5f10cf4c9160e0c65b128a00a wildfire_src_3_2_3.tar.gz 16234108 +RMD160 f7d1a93bb708cbd408170e86613cdbf396496aeb wildfire_src_3_2_3.tar.gz 16234108 +SHA256 f28f1c9f38fdfa2d1fca0d32b916da14de333834ff18a00c6282458b83fe6f57 wildfire_src_3_2_3.tar.gz 16234108 diff --git a/net-im/wildfire/files/init.d/wildfire b/net-im/wildfire/files/init.d/wildfire new file mode 100755 index 0000000..aa40c1e --- /dev/null +++ b/net-im/wildfire/files/init.d/wildfire @@ -0,0 +1,24 @@ +#!/sbin/runscript + +depend() { + need net + provide jabber-server +} + + + +start() { + #source /etc/env.d/java/20sun-jdk-1.5.0.06 + #WILDFIRE_CMD="${JAVA_HOME}/bin/java" + WILDFIRE_CMD=`GENTOO_VM=${GENTOO_VM} java-config -J` + + ebegin "Starting Wildfire Server" + start-stop-daemon --chuid jabber --background --make-pidfile --pidfile /var/run/jabber/wildfire.pid --start --startas ${WILDFIRE_CMD} -- ${WILDFIRE_ARGS} > /var/log/wildfire.log 2>&1 + eend +} + +stop() { + ebegin "Stopping Wildfire Messenger" + start-stop-daemon --pidfile /var/run/jabber/wildfire.pid --stop + eend +} diff --git a/net-im/wildfire/wildfire-3.2.3.ebuild b/net-im/wildfire/wildfire-3.2.3.ebuild new file mode 100644 index 0000000..2e3a26b --- /dev/null +++ b/net-im/wildfire/wildfire-3.2.3.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/wildfire/wildfire-3.2.0_rc2.ebuild,v 1.2 2007/03/06 01:00:48 humpback Exp $ + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Wildfire Jabber XMPP server" +HOMEPAGE="http://www.igniterealtime.org/projects/openfire/" +SRC_URI="http://www.igniterealtime.org/builds/wildfire/${PN//-/_}_src_${PV//./_}.tar.gz" +RESTRICT="" +LICENSE="GPL-2" + +SLOT="0" + +KEYWORDS="~x86 ~amd64" +IUSE="doc" + +# For transports +PROVIDE="virtual/jabber-server" + +RDEPEND=" >=virtual/jre-1.5 " +# Doesn't build against Java 1.6 due to changes in JDBC API +DEPEND="net-im/jabber-base + =virtual/jdk-1.5* + >=dev-java/ant-1.6 + =dev-java/commons-net-1.4" + +S=${WORKDIR}/${PN//-/_}_src + +pkg_setup() { + if [ -f /etc/env.d/98wildfire ]; then + einfo "This is an upgrade" + else + ewarn "If this is an upgrade stop right ( CONTROL-C ) and run the command:" + ewarn "echo 'CONFIG_PROTECT=\"/opt/wildfire/resources/security/\"' > /etc/env.d/98wildfire " + ewarn "For more info see bug #139708" + sleep 11 + fi +} + +src_unpack() { + unpack ${A} + cd ${S} + cp ${FILESDIR}/build.xml-${PV}.bz2 . + bunzip2 build.xml-${PV}.bz2 + mv build.xml-${PV} build/build.xml + # TODO should replace jars in build/lib with ones packaged by us -nichoj +} + +src_compile() { + # Jikes doesn't support -source 1.5 + java-pkg_filter-compiler jikes + + eant -f build/build.xml wildfire plugins plugins-dev $(use_doc) +} + +src_install() { + dodir /opt/wildfire + + doinitd ${FILESDIR}/init.d/wildfire + doconfd ${FILESDIR}/conf.d/wildfire + + dodir /opt/wildfire/conf + insinto /opt/wildfire/conf + newins target/wildfire/conf/wildfire.xml wildfire.xml.sample + + dodir /opt/wildfire/logs + keepdir /opt/wildfire/logs + + dodir /opt/wildfire/lib + insinto /opt/wildfire/lib + doins target/wildfire/lib/* + + dodir /opt/wildfire/plugins + insinto /opt/wildfire/plugins + doins -r target/wildfire/plugins/* + + dodir /opt/wildfire/resources + insinto /opt/wildfire/resources + doins -r target/wildfire/resources/* + + if use doc; then + dohtml -r documentation/docs/* + fi + dodoc documentation/dist/* + + #Protect ssl key on upgrade + dodir /etc/env.d/ + echo 'CONFIG_PROTECT="/opt/wildfire/resources/security/"' > ${D}/etc/env.d/98wildfire +} + +pkg_postinst() { + chown -R jabber:jabber /opt/wildfire + + ewarn If this is a new install, please edit /opt/wildfire/conf/wildfire.xml.sample + ewarn and save it as /opt/wildfire/conf/wildfire.xml + einfo + ewarn The following must be be owned or writable by the jabber user. + einfo /opt/wildfire/conf/wildfire.xml +}