diff options
author | Gustavo Felisberto <humpback@gentoo.org> | 2006-07-04 02:14:19 +0000 |
---|---|---|
committer | Gustavo Felisberto <humpback@gentoo.org> | 2006-07-04 02:14:19 +0000 |
commit | d33d2ea6870b983179cf1979aa1c4737a2dedc4a (patch) | |
tree | 9c649701a93464e32e0f3d840513dde2cdacf30a /net-im/wildfire | |
parent | update wildfire mask (diff) | |
download | gentoo-2-d33d2ea6870b983179cf1979aa1c4737a2dedc4a.tar.gz gentoo-2-d33d2ea6870b983179cf1979aa1c4737a2dedc4a.tar.bz2 gentoo-2-d33d2ea6870b983179cf1979aa1c4737a2dedc4a.zip |
update to gen2 vm
(Portage version: 2.1.1_pre2-r1)
Diffstat (limited to 'net-im/wildfire')
-rw-r--r-- | net-im/wildfire/ChangeLog | 9 | ||||
-rw-r--r-- | net-im/wildfire/files/digest-wildfire-2.6.2-r1 | 3 | ||||
-rw-r--r-- | net-im/wildfire/wildfire-2.6.2-r1.ebuild | 88 |
3 files changed, 99 insertions, 1 deletions
diff --git a/net-im/wildfire/ChangeLog b/net-im/wildfire/ChangeLog index 81983142c1ee..81cbfe0538ca 100644 --- a/net-im/wildfire/ChangeLog +++ b/net-im/wildfire/ChangeLog @@ -1,6 +1,13 @@ # 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.2 2006/06/30 23:59:46 humpback Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/wildfire/ChangeLog,v 1.3 2006/07/04 02:14:19 humpback Exp $ + +*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: diff --git a/net-im/wildfire/files/digest-wildfire-2.6.2-r1 b/net-im/wildfire/files/digest-wildfire-2.6.2-r1 new file mode 100644 index 000000000000..1b33c47d7840 --- /dev/null +++ b/net-im/wildfire/files/digest-wildfire-2.6.2-r1 @@ -0,0 +1,3 @@ +MD5 01f54bc8cb8403b15c4b39c4d951cff6 wildfire_src_2_6_2.tar.gz 11621818 +RMD160 7cd86f5442f3fc4a01e1fdef8003b9e113804631 wildfire_src_2_6_2.tar.gz 11621818 +SHA256 9e8ff13c37934b56aee7f0471af4faa4a09e998cfec5f18a463d6282580fa1d0 wildfire_src_2_6_2.tar.gz 11621818 diff --git a/net-im/wildfire/wildfire-2.6.2-r1.ebuild b/net-im/wildfire/wildfire-2.6.2-r1.ebuild new file mode 100644 index 000000000000..23b05d6ec497 --- /dev/null +++ b/net-im/wildfire/wildfire-2.6.2-r1.ebuild @@ -0,0 +1,88 @@ +# 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.6.2-r1.ebuild,v 1.1 2006/07/04 02:14:19 humpback Exp $ + +inherit eutils java-pkg-2 java-ant-2 + +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 " +DEPEND="net-im/jabber-base + >=virtual/jdk-1.5 + dev-java/ant + >=dev-java/commons-net-1.4" + +S=${WORKDIR}/${PN//-/_}_src + + +src_compile() { + java-pkg_ensure-vm-version-sufficient 1.5 + #I am preaty shure it does not work with jikes as jikes + #gives an error about: Error: "-source" only recognizes Java releases 1.3 + #(JLS 2 features) and 1.4 (assert statement). + java-pkg_filter-compiler jikes + + eant -f build/build.xml || die + eant -f build/build.xml jar || die + + einfo + einfo "Building plugins..." + einfo + eant -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 +} |