Openfire new version bump
This commit is contained in:
20
net-im/openfire/files/buildxml-3.3.0.patch
Normal file
20
net-im/openfire/files/buildxml-3.3.0.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
--- build/build.xml 2007-04-13 21:00:32.000000000 +0000
|
||||
+++ build/build.xml 2007-04-16 23:11:05.000000000 +0000
|
||||
@@ -1133,7 +1133,7 @@
|
||||
|
||||
</target>
|
||||
<target name="-plugins-impl" if="dirlist">
|
||||
-
|
||||
+ <taskdef classname="net.sf.antcontrib.logic.For" name="for"/>
|
||||
<!-- For each plugin in the main src dir, call the 'buildplugin' macro -->
|
||||
<for list="${dirlist}" param="plugin" trim="true">
|
||||
<sequential>
|
||||
@@ -1143,7 +1143,7 @@
|
||||
|
||||
</target>
|
||||
<target name="-plugins-impl-dev" if="plugin.dev.dir">
|
||||
-
|
||||
+ <taskdef classname="net.sf.antcontrib.logic.For" name="for"/>
|
||||
<!-- Get a list of plugins in the optional dev dir -->
|
||||
<subdirinfo dir="${plugin.dev.dir}" property="dirlist2" ifexists="plugin.xml"/>
|
||||
|
11
net-im/openfire/files/conf.d/openfire
Normal file
11
net-im/openfire/files/conf.d/openfire
Normal file
@@ -0,0 +1,11 @@
|
||||
OPENFIRE_HOME=/opt/openfire
|
||||
OPENFIRE_LIB="${OPENFIRE_HOME}/lib"
|
||||
OPENFIRE_OPTS="-Xmx256m -DopenfireHome=${OPENFIRE_HOME} -Dopenfire.lib.dir=${OPENFIRE_LIB}"
|
||||
OPENFIRE_CLASS="-classpath ${OPENFIRE_LIB}/startup.jar"
|
||||
OPENFIRE_JAR="-jar ${OPENFIRE_LIB}/startup.jar"
|
||||
OPENFIRE_ARGS="-server ${OPENFIRE_OPTS} ${OPENFIRE_CLASS} ${OPENFIRE_JAR}"
|
||||
|
||||
|
||||
#JVM used by the openfire server. You can see a list of available vm's in /usr/lib/jvm/
|
||||
#But remenber that openfire needs a 1.5 jvm
|
||||
GENTOO_VM=sun-jdk-1.5
|
3
net-im/openfire/files/digest-openfire-3.3.0
Normal file
3
net-im/openfire/files/digest-openfire-3.3.0
Normal file
@@ -0,0 +1,3 @@
|
||||
MD5 b2c6de82215b62ddcb4804641405a785 openfire_src_3_3_0.tar.gz 18793873
|
||||
RMD160 cf99135734d069a26df0b88f0b8ef316d434a39c openfire_src_3_3_0.tar.gz 18793873
|
||||
SHA256 1bfff0c896337d5bf44db30e8c570942202ec16edd5b9d53c8d5e72a035c96a4 openfire_src_3_3_0.tar.gz 18793873
|
24
net-im/openfire/files/init.d/openfire
Executable file
24
net-im/openfire/files/init.d/openfire
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
|
||||
#OPENFIRE_CMD="${JAVA_HOME}/bin/java"
|
||||
OPENFIRE_CMD=`GENTOO_VM=${GENTOO_VM} java-config -J`
|
||||
|
||||
ebegin "Starting Openfire Server"
|
||||
start-stop-daemon --chuid jabber --background --make-pidfile --pidfile /var/run/jabber/openfire.pid --start --startas ${OPENFIRE_CMD} -- ${OPENFIRE_ARGS} > /var/log/openfire.log 2>&1
|
||||
eend
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping Openfire Messenger"
|
||||
start-stop-daemon --pidfile /var/run/jabber/openfire.pid --stop
|
||||
eend
|
||||
}
|
Reference in New Issue
Block a user