diff options
author | Gustavo Felisberto <humpback@gentoo.org> | 2007-05-07 02:16:39 +0000 |
---|---|---|
committer | Gustavo Felisberto <humpback@gentoo.org> | 2007-05-07 02:16:39 +0000 |
commit | 7cf48c92e7044b1c1fce9d90acc976891a1f0028 (patch) | |
tree | fbc19774a0f8d58aecc01185a9152ea5742dedf4 /net-im | |
parent | Add patch for build failure on amd64 (bug #176751). (diff) | |
download | gentoo-2-7cf48c92e7044b1c1fce9d90acc976891a1f0028.tar.gz gentoo-2-7cf48c92e7044b1c1fce9d90acc976891a1f0028.tar.bz2 gentoo-2-7cf48c92e7044b1c1fce9d90acc976891a1f0028.zip |
close buug #165734
(Portage version: 2.1.2-r9)
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/openfire/ChangeLog | 120 | ||||
-rw-r--r-- | net-im/openfire/Manifest | 28 | ||||
-rw-r--r-- | net-im/openfire/files/buildxml-3.3.0.patch | 20 | ||||
-rw-r--r-- | net-im/openfire/files/conf.d/openfire | 11 | ||||
-rw-r--r-- | net-im/openfire/files/digest-openfire-3.3.0 | 3 | ||||
-rwxr-xr-x | net-im/openfire/files/init.d/openfire | 24 | ||||
-rw-r--r-- | net-im/openfire/metadata.xml | 12 | ||||
-rw-r--r-- | net-im/openfire/openfire-3.3.0.ebuild | 105 |
8 files changed, 323 insertions, 0 deletions
diff --git a/net-im/openfire/ChangeLog b/net-im/openfire/ChangeLog new file mode 100644 index 000000000000..3b576f783c94 --- /dev/null +++ b/net-im/openfire/ChangeLog @@ -0,0 +1,120 @@ +# ChangeLog for net-im/wildfire +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/ChangeLog,v 1.1 2007/05/07 02:16:39 humpback Exp $ + + 07 May 2007; <humpback@gentoo.org> +files/buildxml-3.3.0.patch, + +files/conf.d/openfire, +files/init.d/openfire, +metadata.xml: + Renamed to openfire. See bug #165734 for more info. + + 06 May 2007; Marius Mauch <genone@gentoo.org> wildfire-3.1.0.ebuild, + wildfire-3.1.1.ebuild, wildfire-3.2.0_rc2.ebuild: + Replacing einfo with ewarn, replacing sleep with epause + + 28 Apr 2007; Sven Wegener <swegener@gentoo.org> wildfire-3.1.0.ebuild, + wildfire-3.1.1.ebuild, wildfire-3.2.0_rc2.ebuild: + Drop dodir from dodir/insinto combination. + +*wildfire-3.2.0_rc2 (06 Feb 2007) + + 06 Feb 2007; Gustavo Felisberto <humpback@gentoo.org>; + +files/build.xml-3.2.0_rc2.bz2, +wildfire-3.2.0_rc2.ebuild: + Added the lattest RC, p.masked, that includes new SSL system. + + 05 Feb 2007; Gustavo Felisberto <humpback@gentoo.org>; + wildfire-3.1.1.ebuild: + Changed dep on ant to 1.6. Closes bug #165297. Thanks to Robert Förster for + reporting. + +*wildfire-3.1.1 (22 Nov 2006) + + 22 Nov 2006; Gustavo Felisberto <humpback@gentoo.org>; + +files/build.xml-3.1.1.bz2, wildfire-3.1.0.ebuild, +wildfire-3.1.1.ebuild: + Bumped after fixing the ebuild to match the new locations of the buuilted + wildfire. Thanks to Hod in bug #155482 for reporting this. + + 02 Nov 2006; Gustavo Felisberto <humpback@gentoo.org>; + -files/wildfire-3.0.0-for.patch, -files/wildfire-3.0.1-for.patch, + -wildfire-2.6.2-r2.ebuild, -wildfire-3.0.0-r1.ebuild, + -wildfire-3.0.1.ebuild: + Removed older versions that were no longer needed. + + 20 Oct 2006; Gustavo Felisberto <humpback@gentoo.org>; + +files/build.xml-3.1.0.bz2, -files/wildfire-3.1.0-for.patch, + wildfire-3.1.0.ebuild: + Removed the for patch and just the include the full build.xml . Having a + patch has been causing LOTS of problems with dos/unix files. + + 18 Oct 2006; Gustavo Felisberto <humpback@gentoo.org>; + files/digest-wildfire-3.1.0, Manifest: + Fixed digest. Closes bug #151821. Credits go to Naim. + +*wildfire-3.1.0 (16 Oct 2006) + + 16 Oct 2006; Gustavo Felisberto <humpback@gentoo.org>; + +files/wildfire-3.1.0-for.patch, +wildfire-3.1.0.ebuild: + Bumped version. Thanks to all in bug #150724. + + 24 Aug 2006; Gustavo Felisberto <humpback@gentoo.org>; + files/init.d/wildfire: + Fixed stop part of init script + +*wildfire-3.0.1 (28 Jul 2006) + + 28 Jul 2006; Gustavo Felisberto <humpback@gentoo.org>; + +files/wildfire-3.0.1-for.patch, +wildfire-3.0.1.ebuild: + Version bump. + + 22 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> + wildfire-3.0.0-r1.ebuild: + ant_src_unpack -> src_unpack + +*wildfire-3.0.0-r1 (09 Jul 2006) + + 09 Jul 2006; Gustavo Felisberto <humpback@gentoo.org>; + wildfire-2.6.2-r2.ebuild, -wildfire-3.0.0.ebuild, + +wildfire-3.0.0-r1.ebuild: + Update to handle bug #139708. Thanks to Mike Wohlgemuth for finding this one. + + 06 Jul 2006; Joshua Nichols <jnichols@gentoo.org> + files/wildfire-3.0.0-for.patch, wildfire-3.0.0.ebuild: + Fixed for patch. Added ant-contrib dependency. + + 04 Jul 2006; Gustavo Felisberto <humpback@gentoo.org>; + +files/wildfire-3.0.0-for.patch, wildfire-3.0.0.ebuild: + Added a patch by nichoj to solve some build issues. Also some cleanups. + +*wildfire-3.0.0 (04 Jul 2006) +*wildfire-2.6.2-r2 (04 Jul 2006) + + 04 Jul 2006; Gustavo Felisberto <humpback@gentoo.org>; + files/conf.d/wildfire, files/init.d/wildfire, -wildfire-2.6.2-r1.ebuild, + +wildfire-2.6.2-r2.ebuild, +wildfire-3.0.0.ebuild: + Fixed an issue with the new java gen2 stuff where a user can now have a 1.4 + vm as system but still is abble to start wildfire. The GENTOO_VM in conf.d + is the var that must be set to a 1.5 vm. Also bumped to 3.0.0. + +*wildfire-2.6.2-r1 (04 Jul 2006) + + 04 Jul 2006; Gustavo Felisberto <humpback@gentoo.org>; + -wildfire-2.5.0.ebuild, -wildfire-2.6.2.ebuild, +wildfire-2.6.2-r1.ebuild: + Removed older versions and added the -r1 that uses the new Java system in + Gentoo. This is probably the first package in the tree to use this system. + + 30 Jun 2006; Gustavo Felisberto <humpback@gentoo.org>; metadata.xml, + +wildfire-2.6.2.ebuild: + Adding 2.6.2 to portage. Credits to everyone in bug #120513 + +*wildfire-2.6.2 (27 Jun 2006) + + 27 Jun 2006; Gustavo Felisberto <humpback@gentoo.org>; metadata.xml, + +wildfire-2.6.2.ebuild: + Bumped to 2.6.2 + +*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/openfire/Manifest b/net-im/openfire/Manifest new file mode 100644 index 000000000000..25d102e57ef5 --- /dev/null +++ b/net-im/openfire/Manifest @@ -0,0 +1,28 @@ +AUX buildxml-3.3.0.patch 754 RMD160 b35b1c11865a528ec4228ef56304dc2ebb93cc09 SHA1 75909209a42f9befb2854c4852e65d14e7235371 SHA256 55e8ea71dacdb205e960f255ea67fc90602e93fb3a0995485eb2851f6115bdf6 +MD5 03fd3398f5d0db0e2ec644c2c2f821de files/buildxml-3.3.0.patch 754 +RMD160 b35b1c11865a528ec4228ef56304dc2ebb93cc09 files/buildxml-3.3.0.patch 754 +SHA256 55e8ea71dacdb205e960f255ea67fc90602e93fb3a0995485eb2851f6115bdf6 files/buildxml-3.3.0.patch 754 +AUX conf.d/openfire 491 RMD160 60b9dfbda4bebabd3e59d90959b0317a6ed60413 SHA1 2bee73a734d5e9ef8ba17f3074c9eba01b4cec6b SHA256 60f2ef123218338bbcdf2fb99c4f55740dab21f28e80073a157f1d63c99c05f5 +MD5 026fe96118d6451e29e72af8538dd8eb files/conf.d/openfire 491 +RMD160 60b9dfbda4bebabd3e59d90959b0317a6ed60413 files/conf.d/openfire 491 +SHA256 60f2ef123218338bbcdf2fb99c4f55740dab21f28e80073a157f1d63c99c05f5 files/conf.d/openfire 491 +AUX init.d/openfire 571 RMD160 60b623193a8e7eb63f9527ba99d517a5f48cf986 SHA1 264ab08172d7559b79a927395ca32926e9da4cf8 SHA256 89a72c7bac03d932f46c721fd73fe3cc3545892398c2b5f762cda3c25c88f6ac +MD5 6922c9067f3e3ee6be5b77d38e9104ab files/init.d/openfire 571 +RMD160 60b623193a8e7eb63f9527ba99d517a5f48cf986 files/init.d/openfire 571 +SHA256 89a72c7bac03d932f46c721fd73fe3cc3545892398c2b5f762cda3c25c88f6ac files/init.d/openfire 571 +DIST openfire_src_3_3_0.tar.gz 18793873 RMD160 cf99135734d069a26df0b88f0b8ef316d434a39c SHA1 10b4ae0983211662b566fc0b7a48aee2b2cd6a05 SHA256 1bfff0c896337d5bf44db30e8c570942202ec16edd5b9d53c8d5e72a035c96a4 +EBUILD openfire-3.3.0.ebuild 2830 RMD160 bd6caf27885ee2d7d7b37c2403f53ef09bcaeb68 SHA1 0c33c0737f9dd5c1b2afc372b9af5eb8365caf9b SHA256 36f943e0a309365c2a65c9d9d28cbcd0516f8b9ccb89140c1533011875fab11c +MD5 eb062b05b093899296b479d2eb296fa0 openfire-3.3.0.ebuild 2830 +RMD160 bd6caf27885ee2d7d7b37c2403f53ef09bcaeb68 openfire-3.3.0.ebuild 2830 +SHA256 36f943e0a309365c2a65c9d9d28cbcd0516f8b9ccb89140c1533011875fab11c openfire-3.3.0.ebuild 2830 +MISC ChangeLog 4709 RMD160 761014c4b500735bdefdecaf1263a2626711ae8c SHA1 66159b026c32342250ac379ac74230f29d78cf95 SHA256 ddafbecf2ff7c07f847ff5a1538dad00e787ec04dd8efc5bb9eecda93fdfd379 +MD5 040c5c8c5f65d313852d07620a601772 ChangeLog 4709 +RMD160 761014c4b500735bdefdecaf1263a2626711ae8c ChangeLog 4709 +SHA256 ddafbecf2ff7c07f847ff5a1538dad00e787ec04dd8efc5bb9eecda93fdfd379 ChangeLog 4709 +MISC metadata.xml 481 RMD160 fdf92e519d0ea6ea0e0ac6d725a6212c693c35d4 SHA1 feaf705fb8276479cc0f6cca72813eb60b3943a3 SHA256 9965da5e7c0ff80e17e7d673bb35544147e0049ddac59e8f8ba1b1d83971b9e5 +MD5 99126bebaaa8a8b18d1e1ace23623a2b metadata.xml 481 +RMD160 fdf92e519d0ea6ea0e0ac6d725a6212c693c35d4 metadata.xml 481 +SHA256 9965da5e7c0ff80e17e7d673bb35544147e0049ddac59e8f8ba1b1d83971b9e5 metadata.xml 481 +MD5 ec67ab90a99e394fa50f930e787cff18 files/digest-openfire-3.3.0 262 +RMD160 f49ae087e66da01faa2340a4ec1793f62b10ac9c files/digest-openfire-3.3.0 262 +SHA256 91aa6f5da22b58cb1bbf6d7d00003ca9831c6610a96a54746a7c4a5c10a70d2e files/digest-openfire-3.3.0 262 diff --git a/net-im/openfire/files/buildxml-3.3.0.patch b/net-im/openfire/files/buildxml-3.3.0.patch new file mode 100644 index 000000000000..eb52f286d250 --- /dev/null +++ b/net-im/openfire/files/buildxml-3.3.0.patch @@ -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"/> + diff --git a/net-im/openfire/files/conf.d/openfire b/net-im/openfire/files/conf.d/openfire new file mode 100644 index 000000000000..35caecef20cc --- /dev/null +++ b/net-im/openfire/files/conf.d/openfire @@ -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 diff --git a/net-im/openfire/files/digest-openfire-3.3.0 b/net-im/openfire/files/digest-openfire-3.3.0 new file mode 100644 index 000000000000..37ea5441b831 --- /dev/null +++ b/net-im/openfire/files/digest-openfire-3.3.0 @@ -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 diff --git a/net-im/openfire/files/init.d/openfire b/net-im/openfire/files/init.d/openfire new file mode 100755 index 000000000000..272e66de7712 --- /dev/null +++ b/net-im/openfire/files/init.d/openfire @@ -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 +} diff --git a/net-im/openfire/metadata.xml b/net-im/openfire/metadata.xml new file mode 100644 index 000000000000..d3a5d019f232 --- /dev/null +++ b/net-im/openfire/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>net-im</herd> +<maintainer> + <email>humpback@gentoo.org</email> + <description>Changed from lostlogic after move from Jive to Wildfire</description> +</maintainer> +<longdescription>Wildfire 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/openfire/openfire-3.3.0.ebuild b/net-im/openfire/openfire-3.3.0.ebuild new file mode 100644 index 000000000000..0bf4a460c53e --- /dev/null +++ b/net-im/openfire/openfire-3.3.0.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.3.0.ebuild,v 1.1 2007/05/07 02:16:39 humpback Exp $ + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Openfire (formerly wildfire) real time collaboration (RTC) server" +HOMEPAGE="http://www.igniterealtime.org/projects/openfire/" +SRC_URI="http://www.igniterealtime.org/builds/openfire/${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/98openfire ]; 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/openfire/resources/security/\"' > /etc/env.d/98openfire " + ewarn "For more info see bug #139708" + sleep 11 + fi +} + +src_unpack() { + unpack ${PN//-/_}_src_${PV//./_}.tar.gz + cd ${S} + epatch ${FILESDIR}/buildxml-${PV}.patch + + # 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 openfire plugins plugins-dev $(use_doc) +} + +src_install() { + dodir /opt/openfire + + doinitd ${FILESDIR}/init.d/openfire + doconfd ${FILESDIR}/conf.d/openfire + + dodir /opt/openfire/conf + insinto /opt/openfire/conf + newins target/openfire/conf/openfire.xml openfire.xml.sample + + dodir /opt/openfire/logs + keepdir /opt/openfire/logs + + dodir /opt/openfire/lib + insinto /opt/openfire/lib + doins target/openfire/lib/* + + dodir /opt/openfire/plugins + insinto /opt/openfire/plugins + doins -r target/openfire/plugins/* + + dodir /opt/openfire/resources + insinto /opt/openfire/resources + doins -r target/openfire/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/openfire/resources/security/"' > ${D}/etc/env.d/98openfire +} + +pkg_postinst() { + chown -R jabber:jabber /opt/openfire + + ewarn If this is a new install, please edit /opt/openfire/conf/openfire.xml.sample + ewarn and save it as /opt/openfire/conf/openfire.xml + einfo + ewarn The following must be be owned or writable by the jabber user. + einfo /opt/openfire/conf/openfire.xml + einfo + ewarn If you are upgrading please have a look at the Wildfire to Openfire Upgrade Guide: + ewarn http://wiki.igniterealtime.org/display/WILDFIRE/Wildfire+to+Openfire+Upgrade+Guide + einfo +} |