diff options
author | Gustavo Felisberto <humpback@gentoo.org> | 2008-07-09 14:30:18 +0000 |
---|---|---|
committer | Gustavo Felisberto <humpback@gentoo.org> | 2008-07-09 14:30:18 +0000 |
commit | 1401eca501ab269cea66fa77f26c59e54a907326 (patch) | |
tree | 13c454572bca6489f2d2cb2c2a300b8a9892b9fb /net-im/openfire | |
parent | version bump, only minor bug fixes, but make it usable on sparc (diff) | |
download | historical-1401eca501ab269cea66fa77f26c59e54a907326.tar.gz historical-1401eca501ab269cea66fa77f26c59e54a907326.tar.bz2 historical-1401eca501ab269cea66fa77f26c59e54a907326.zip |
bumped, closes bug 227365
Package-Manager: portage-2.1.5.4
Diffstat (limited to 'net-im/openfire')
-rw-r--r-- | net-im/openfire/Manifest | 2 | ||||
-rw-r--r-- | net-im/openfire/openfire-3.5.2.ebuild | 104 |
2 files changed, 106 insertions, 0 deletions
diff --git a/net-im/openfire/Manifest b/net-im/openfire/Manifest index 52880ba91da1..34641aac071d 100644 --- a/net-im/openfire/Manifest +++ b/net-im/openfire/Manifest @@ -9,6 +9,7 @@ DIST openfire_src_3_4_4.tar.gz 48393969 RMD160 32a85e1d348813d4cbdb7e0016ba0b777 DIST openfire_src_3_4_5.tar.gz 48799040 RMD160 668defe28b8ff4fd990c06df4ccd7eadce79bb48 SHA1 d370abf81b4603a7dabc58407548b2b24001fb80 SHA256 52330c8b51e3677dcbc18ca3045592583b02fba353deba4117fbe5297e127bd1 DIST openfire_src_3_5_0.tar.gz 45664553 RMD160 d0c0d850df5ffee1e04a950b2f0a4354b6a2ecf6 SHA1 1c313a2c12d6ad57cecf3da53e9b745b2a589f19 SHA256 a288f45aeb3006104e3cba69b73da5fb7e1c353f1551d94f97b9d82928d40746 DIST openfire_src_3_5_1.tar.gz 50631057 RMD160 96eb726df2ea74132733aca03469b626ac88ed9c SHA1 6d1cf11ecd81bf27fb4e0495f7a1c94c7435d9bf SHA256 77a17fff6c8b926b6a1e12ac5866bbc8e6deae3e78e8cb47252bbbd0588b7f1e +DIST openfire_src_3_5_2.tar.gz 50817738 RMD160 877c513bad19ec4d086597d45656e0c736a31ca1 SHA1 1f3c021b9991705c7404bbbc8b770a3cd09f3236 SHA256 4c22131cc64fe31b6f93f5e0c24b42b85c4858f07f8f58806802322dd5f0a1db EBUILD openfire-3.3.2.ebuild 2746 RMD160 5ab6acbf5894717ac7aaa3e3dafc7fd55da5e8fa SHA1 b21283a9b109c40311e8bb8fd223050f12ecbfeb SHA256 4f03922958a24115ac3676f0b60a2966b55209d4074a6a848bdf28504f1d578e EBUILD openfire-3.3.3.ebuild 2748 RMD160 3ed98dd70eb2ffa40b4c604c40203012c1d27501 SHA1 618bc12ed5788408dc5d7b19ec8652bdc8f2e927 SHA256 2a0560eb20968a06191a9a1e712f368600df1b49d3075d67396f78a07c8b8155 EBUILD openfire-3.4.1.ebuild 2748 RMD160 cc65c21f52b9ff9652e071646dbf0fe417653307 SHA1 4884228c44ec459e14be4e36c63bace1498b3fc5 SHA256 00b7d84b19725a740c7bb7c49e6e6c5fb4bc192766474a08bba6a7f71c7c26e5 @@ -17,5 +18,6 @@ EBUILD openfire-3.4.4.ebuild 2747 RMD160 987a9953a9f0c0d44a44c9de39f20cec1d30209 EBUILD openfire-3.4.5.ebuild 2748 RMD160 e49974f93c9f60268f4bb65ad5150cb59e42e7a6 SHA1 52a3924a2a2b5876ffe8b6a262c75c84ee75ac88 SHA256 5d86b5b96fde17db6718f9411098a5ca105510a370053dc3d5bd2336c8797775 EBUILD openfire-3.5.0.ebuild 2722 RMD160 02964391194d7def8e0b0fd28983580abf8dd2d4 SHA1 57ea905b5a5e9c8bd2c953baf5944ab73ddb52db SHA256 e869068554adb78fafcd1eea0e5a938d92e2eec264711cf339f03689cb26946f EBUILD openfire-3.5.1.ebuild 2725 RMD160 9a33000cd87b4f7539e5230f294df727d6949337 SHA1 6abc4fca37296f47954f02b8f644f0d52158b167 SHA256 652c483589267cadb6bdc44d51cbe129b453e891aa76307ba1cffdf2c0742026 +EBUILD openfire-3.5.2.ebuild 2726 RMD160 56ef9564110b89031c393d21c5dae69d717e100e SHA1 1c730c81ac628a8a2536ff05120eccb1b6e438b8 SHA256 3c86f2a14cc0ac6a92c49379466772c3da0275678a02b9623e29e36e3a6a618d MISC ChangeLog 8288 RMD160 934164449a6c97a8de8d5167f3134ec4e21f392a SHA1 047d3f9d682270a2ee977749c06ab483d1ddb4f9 SHA256 d43da7568c3cfe08382419e16a8d32b1fdced72aa10c1973f3550670f0cb30d9 MISC metadata.xml 481 RMD160 fdf92e519d0ea6ea0e0ac6d725a6212c693c35d4 SHA1 feaf705fb8276479cc0f6cca72813eb60b3943a3 SHA256 9965da5e7c0ff80e17e7d673bb35544147e0049ddac59e8f8ba1b1d83971b9e5 diff --git a/net-im/openfire/openfire-3.5.2.ebuild b/net-im/openfire/openfire-3.5.2.ebuild new file mode 100644 index 000000000000..36cb3214f66e --- /dev/null +++ b/net-im/openfire/openfire-3.5.2.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.5.2.ebuild,v 1.1 2008/07/09 14:30:18 humpback Exp $ + +inherit eutils java-pkg-2 java-ant-2 + +MY_P=${PN}_src_${PV//./_} +DESCRIPTION="Openfire (formerly wildfire) real time collaboration (RTC) server" +HOMEPAGE="http://www.igniterealtime.org/projects/openfire/" +SRC_URI="http://www.igniterealtime.org/builds/openfire/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND=">=virtual/jre-1.5" +DEPEND="net-im/jabber-base + dev-java/ant-contrib + >=virtual/jdk-1.5" + +S=${WORKDIR}/${PN}_src + +RESTRICT="" + +# For transports +PROVIDE="virtual/jabber-server" + +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 + java-pkg-2_pkg_setup +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/buildxml.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 + + ANT_TASKS="ant-contrib" + eant -f build/build.xml openfire plugins $(use_doc) +} + +src_install() { + dodir /opt/openfire + + newinitd "${FILESDIR}"/openfire-initd openfire + newconfd "${FILESDIR}"/openfire-confd 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 + ewarn + ewarn The following must be be owned or writable by the jabber user. + ewarn /opt/openfire/conf/openfire.xml + ewarn + 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 + ewarn +} |