diff options
author | Gustavo Felisberto <humpback@gentoo.org> | 2006-02-26 13:36:31 +0000 |
---|---|---|
committer | Gustavo Felisberto <humpback@gentoo.org> | 2006-02-26 13:36:31 +0000 |
commit | 3ad669db37a2bba393e120fcba066ee3481836e5 (patch) | |
tree | 7368e853b7593f496ebd260e8624c79c41fe1a0f /net-im | |
parent | net-im/wildfire joins jive-messenger (diff) | |
download | historical-3ad669db37a2bba393e120fcba066ee3481836e5.tar.gz historical-3ad669db37a2bba393e120fcba066ee3481836e5.tar.bz2 historical-3ad669db37a2bba393e120fcba066ee3481836e5.zip |
initial import
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/wildfire/ChangeLog | 12 | ||||
-rw-r--r-- | net-im/wildfire/Manifest | 28 | ||||
-rw-r--r-- | net-im/wildfire/files/conf.d/wildfire | 7 | ||||
-rw-r--r-- | net-im/wildfire/files/digest-wildfire-2.5.0 | 3 | ||||
-rwxr-xr-x | net-im/wildfire/files/init.d/wildfire | 31 | ||||
-rw-r--r-- | net-im/wildfire/metadata.xml | 12 | ||||
-rw-r--r-- | net-im/wildfire/wildfire-2.5.0.ebuild | 81 |
7 files changed, 174 insertions, 0 deletions
diff --git a/net-im/wildfire/ChangeLog b/net-im/wildfire/ChangeLog new file mode 100644 index 000000000000..5edf6c7b4cc1 --- /dev/null +++ b/net-im/wildfire/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for net-im/wildfire +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/wildfire/ChangeLog,v 1.1 2006/02/26 13:36:31 humpback Exp $ + +*wildfire-2.5.0 (26 Feb 2006) + + 26 Feb 2006; Gustavo Felisberto <humpback@gentoo.org>; + +files/conf.d/wildfire, +files/init.d/wildfire, +metadata.xml, + +wildfire-2.5.0.ebuild: + Initial import so that more users can start to test. Credits to all that + helped in bug #120513 + diff --git a/net-im/wildfire/Manifest b/net-im/wildfire/Manifest new file mode 100644 index 000000000000..4a708ed1672c --- /dev/null +++ b/net-im/wildfire/Manifest @@ -0,0 +1,28 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 86db06ca742c24bc0c26e31be13e8494 ChangeLog 484 +RMD160 e0215825fa8417087ce18495ff48f81f0b6c33fa ChangeLog 484 +SHA256 203b87ab117317cdff4ad77c3e985f7acc9eded98ae1eb25a1fd1ff065174dfa ChangeLog 484 +MD5 cc9538269817cbdc88ff005dfae1b4a1 files/conf.d/wildfire 336 +RMD160 a0bfbbeb060e4d51388469cb4b15f2a1cb00dcbc files/conf.d/wildfire 336 +SHA256 0d6733009e1f89bb674fea50e766559362705f778c03d0c5dc26f3069fe5cd04 files/conf.d/wildfire 336 +MD5 ca6364b9aa1d54d0213edbd18cfe29b3 files/digest-wildfire-2.5.0 262 +RMD160 97656f9a34a984477c222fa1ce02fa7d7d76eaff files/digest-wildfire-2.5.0 262 +SHA256 c03d1071ac93dbf19ed0d9d26951560b9089932494d52cb7a7522b4021336149 files/digest-wildfire-2.5.0 262 +MD5 e9cb458e29a1f36a5c5ad48ee271e1cf files/init.d/wildfire 725 +RMD160 9ba294aa94e189cb9e3662f535142a5259bfa014 files/init.d/wildfire 725 +SHA256 1862b98d46c5d0e9a3d006ae734f70ac4ce4e4f156bba2d84535c73ed9ca0974 files/init.d/wildfire 725 +MD5 8dc250b7b8a82d02968621fefb2d60f8 metadata.xml 475 +RMD160 427b69be6d5eafe4a838b7067eb0ffe1b21c82e4 metadata.xml 475 +SHA256 6b064022dfa4e0ccb9db8aed410a56c65e7d89c9fa5086de77352d9ebc6d5c9b metadata.xml 475 +MD5 24ec9ec30cbca1c10010c6894a7c14d9 wildfire-2.5.0.ebuild 1944 +RMD160 2afda46b07d1dcf12c67e57f409359e63ceb1ebd wildfire-2.5.0.ebuild 1944 +SHA256 dd7887b47a9acf7f864e4556985790b5c7088d938da33bee4d76db2663d57b74 wildfire-2.5.0.ebuild 1944 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2 (GNU/Linux) + +iD4DBQFEAa828zY1VwezZiERAlatAJ9FbdW13NInNrZTo/HjHHulxjkY/ACXchtL +tbSMSQA5mpPjI4rKvcttMg== +=OSiw +-----END PGP SIGNATURE----- diff --git a/net-im/wildfire/files/conf.d/wildfire b/net-im/wildfire/files/conf.d/wildfire new file mode 100644 index 000000000000..853a3d0a8d4e --- /dev/null +++ b/net-im/wildfire/files/conf.d/wildfire @@ -0,0 +1,7 @@ +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}" + diff --git a/net-im/wildfire/files/digest-wildfire-2.5.0 b/net-im/wildfire/files/digest-wildfire-2.5.0 new file mode 100644 index 000000000000..8dce1a3193cd --- /dev/null +++ b/net-im/wildfire/files/digest-wildfire-2.5.0 @@ -0,0 +1,3 @@ +MD5 2c56c9f96f61bc6584c1b64cf6cb34d8 wildfire_src_2_5_0.tar.gz 10973825 +RMD160 01259bb136bcd59db08802d02687be5a86d99c0d wildfire_src_2_5_0.tar.gz 10973825 +SHA256 78236b3554240880f5ebaf3e20dfb2d7b2e4a3096a6de3e909c025f15428c102 wildfire_src_2_5_0.tar.gz 10973825 diff --git a/net-im/wildfire/files/init.d/wildfire b/net-im/wildfire/files/init.d/wildfire new file mode 100755 index 000000000000..29997231a611 --- /dev/null +++ b/net-im/wildfire/files/init.d/wildfire @@ -0,0 +1,31 @@ +#!/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=`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 + kill $(< /var/run/jabber/wildfire.pid) + sleep 2 + if ps ax|grep "^ *$(< /var/run/jabber/wildfire.pid)" > /dev/null; then + eend 1 + else + rm /var/run/jabber/wildfire.pid + eend 0 + fi +} diff --git a/net-im/wildfire/metadata.xml b/net-im/wildfire/metadata.xml new file mode 100644 index 000000000000..10e43a584f16 --- /dev/null +++ b/net-im/wildfire/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>lostlogic@gentoo.org</email> + <description>Original importer and de-facto maintainer</description> +</maintainer> +<longdescription>Jive Messenger is a Java implementation of a complete Jabber +server. It includes a web based administration interface, and conference +support.</longdescription> +</pkgmetadata> diff --git a/net-im/wildfire/wildfire-2.5.0.ebuild b/net-im/wildfire/wildfire-2.5.0.ebuild new file mode 100644 index 000000000000..afdb11e179af --- /dev/null +++ b/net-im/wildfire/wildfire-2.5.0.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/wildfire/wildfire-2.5.0.ebuild,v 1.1 2006/02/26 13:36:31 humpback Exp $ + +inherit java-utils + +DESCRIPTION="Wildfire Jabber server" +HOMEPAGE="http://jivesoftware.org/messenger/" +SRC_URI="http://www.jivesoftware.org/servlet/download/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 >=virtual/jdk-1.5 )" +DEPEND="net-im/jabber-base +>=virtual/jdk-1.5 dev-java/ant" + +S=${WORKDIR}/${PN//-/_}_src + + +src_compile() { + java-utils_vm-version-sufficient + ant -f build/build.xml || die + ant -f build/build.xml jar || die + + einfo + einfo "Building plugins..." + einfo + ant -f build/build.xml plugins || die +} + +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/conf/wildfire.xml wildfire.xml.sample + + dodir /opt/wildfire/logs + keepdir /opt/wildfire/logs + + dodir /opt/wildfire/lib + insinto /opt/wildfire/lib + doins target/lib/* + + dodir /opt/wildfire/plugins + insinto /opt/wildfire/plugins + doins -r target/plugins/* + + dodir /opt/wildfire/resources + insinto /opt/wildfire/resources + doins -r target/resources/* + + if use doc; then + dohtml -r documentation/docs/* + fi + dodoc documentation/dist/* + + #Protect ssl key on upgrade + 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 +} |