diff options
Diffstat (limited to 'net-im/jive-messenger')
-rw-r--r-- | net-im/jive-messenger/ChangeLog | 10 | ||||
-rw-r--r-- | net-im/jive-messenger/Manifest | 5 | ||||
-rw-r--r-- | net-im/jive-messenger/files/digest-jive-messenger-2.2.0 | 1 | ||||
-rwxr-xr-x | net-im/jive-messenger/files/init.d/jive | 33 | ||||
-rw-r--r-- | net-im/jive-messenger/jive-messenger-2.2.0.ebuild | 40 | ||||
-rw-r--r-- | net-im/jive-messenger/metadata.xml | 12 |
6 files changed, 101 insertions, 0 deletions
diff --git a/net-im/jive-messenger/ChangeLog b/net-im/jive-messenger/ChangeLog new file mode 100644 index 000000000000..05c62725fe7a --- /dev/null +++ b/net-im/jive-messenger/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-im/jive-messenger +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/jive-messenger/ChangeLog,v 1.1 2005/08/30 00:57:48 lostlogic Exp $ + +*jive-messenger-2.2.0 (30 Aug 2005) + + 30 Aug 2005; Brandon Low <lostlogic@gentoo.org> +files/init.d/jive, + +metadata.xml, +jive-messenger-2.2.0.ebuild: + Initial import, pretty crummy ebuild if you ask me, but I needed it. + diff --git a/net-im/jive-messenger/Manifest b/net-im/jive-messenger/Manifest new file mode 100644 index 000000000000..f66c77ba2340 --- /dev/null +++ b/net-im/jive-messenger/Manifest @@ -0,0 +1,5 @@ +MD5 d792a92f0758af200d46bae7e662eb73 jive-messenger-2.2.0.ebuild 871 +MD5 83ee44e6c642cd5e4d40516230533e7f ChangeLog 444 +MD5 8dc250b7b8a82d02968621fefb2d60f8 metadata.xml 475 +MD5 ca570b000e9e9bba05102063a0157e58 files/digest-jive-messenger-2.2.0 77 +MD5 5681dff03e260f1ec3890daf6e14199b files/init.d/jive 801 diff --git a/net-im/jive-messenger/files/digest-jive-messenger-2.2.0 b/net-im/jive-messenger/files/digest-jive-messenger-2.2.0 new file mode 100644 index 000000000000..a894f6eab61b --- /dev/null +++ b/net-im/jive-messenger/files/digest-jive-messenger-2.2.0 @@ -0,0 +1 @@ +MD5 7fcb9d5ea582d127aae3fb89f614635e jive_messenger_src_2_2_0.tar.gz 7900429 diff --git a/net-im/jive-messenger/files/init.d/jive b/net-im/jive-messenger/files/init.d/jive new file mode 100755 index 000000000000..0ae98f66e6f8 --- /dev/null +++ b/net-im/jive-messenger/files/init.d/jive @@ -0,0 +1,33 @@ +#!/sbin/runscript + +depend() { + need net +} + +start() { + ebegin "Starting Jive Messenger" + MESSENGER_HOME=/opt/jive_messenger + MESSENGER_LIB="${MESSENGER_HOME}/lib" + MESSENGER_OPTS="-Xmx256m -DmessengerHome=${MESSENGER_HOME} -Dmessenger.lib.dir=${MESSENGER_LIB}" + sudo -u jive $(java-config --java) -server ${MESSENGER_OPTS} -classpath "${MESSENGER_LIB}/startup.jar" -jar "${MESSENGER_LIB}/startup.jar" > /var/log/jive.log 2>&1 & + echo $! > /var/run/jive.pid + JIVE_PID=$(</var/run/jive.pid) + if [ -n "${JIVE_PID}" ]; then + ps ax|grep "^ *$(< /var/run/jive.pid)" > /dev/null + eend $? + else + eend 1 + fi +} + +stop() { + ebegin "Stopping Jive Messenger" + kill $(< /var/run/jive.pid) + sleep 1 + if ps ax|grep "^ *$(< /var/run/jive.pid)" > /dev/null; then + eend 1 + else + rm /var/run/jive.pid + eend 0 + fi +} diff --git a/net-im/jive-messenger/jive-messenger-2.2.0.ebuild b/net-im/jive-messenger/jive-messenger-2.2.0.ebuild new file mode 100644 index 000000000000..163eb6a87375 --- /dev/null +++ b/net-im/jive-messenger/jive-messenger-2.2.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/jive-messenger/jive-messenger-2.2.0.ebuild,v 1.1 2005/08/30 00:57:48 lostlogic Exp $ + +inherit java-utils + +DESCRIPTION="Jive Messenger Jabber server" + +HOMEPAGE="http://jivesoftware.org/messenger/" + +SRC_URI="http://jivesoftware.org/builds/messenger/${PN//-/_}_src_${PV//./_}.tar.gz" + +LICENSE="GPL-2" + +SLOT="0" + +KEYWORDS="~x86" + +IUSE="" + +DEPEND=">=virtual/jdk-1.5 dev-java/ant" + +S=${WORKDIR}/${PN//-/_}_src + +src_compile() { + java-utils_vm-version-sufficient + ant -f build/build.xml plugins jar javadoc +} + +src_install() { + dodir /opt + mv target ${D}/opt/jive_messenger + fowners -R root:root /opt/jive_messenger + doinitd ${FILESDIR}/init.d/jive +} + +pkg_postinst() { + enewgroup jive + enewuser jive -1 /bin/false /dev/null jive +} diff --git a/net-im/jive-messenger/metadata.xml b/net-im/jive-messenger/metadata.xml new file mode 100644 index 000000000000..10e43a584f16 --- /dev/null +++ b/net-im/jive-messenger/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> |