new wildfire release
This commit is contained in:
parent
39f85960f5
commit
6a9847b4e4
20
net-im/wildfire/Manifest
Normal file
20
net-im/wildfire/Manifest
Normal file
@ -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
|
BIN
net-im/wildfire/files/build.xml-3.2.3.bz2
Normal file
BIN
net-im/wildfire/files/build.xml-3.2.3.bz2
Normal file
Binary file not shown.
11
net-im/wildfire/files/conf.d/wildfire
Normal file
11
net-im/wildfire/files/conf.d/wildfire
Normal file
@ -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
|
3
net-im/wildfire/files/digest-wildfire-3.2.3
Normal file
3
net-im/wildfire/files/digest-wildfire-3.2.3
Normal file
@ -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
|
24
net-im/wildfire/files/init.d/wildfire
Executable file
24
net-im/wildfire/files/init.d/wildfire
Executable file
@ -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
|
||||
}
|
102
net-im/wildfire/wildfire-3.2.3.ebuild
Normal file
102
net-im/wildfire/wildfire-3.2.3.ebuild
Normal file
@ -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/ant-1.7
|
||||
dev-java/ant-contrib
|
||||
>=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
|
||||
}
|
Loading…
Reference in New Issue
Block a user