diff options
author | Gustavo Felisberto <humpback@gentoo.org> | 2008-01-25 00:19:06 +0000 |
---|---|---|
committer | Gustavo Felisberto <humpback@gentoo.org> | 2008-01-25 00:19:06 +0000 |
commit | 2ca8a64490e15771acb835f9dd71df96d57713ed (patch) | |
tree | f4b7bfd75b2e6fc4fb3b836bb1c031ab5e975edc /net-im/openfire | |
parent | whitespace (diff) | |
download | historical-2ca8a64490e15771acb835f9dd71df96d57713ed.tar.gz historical-2ca8a64490e15771acb835f9dd71df96d57713ed.tar.bz2 historical-2ca8a64490e15771acb835f9dd71df96d57713ed.zip |
bump
Package-Manager: portage-2.1.4_rc14
Diffstat (limited to 'net-im/openfire')
-rw-r--r-- | net-im/openfire/Manifest | 12 | ||||
-rw-r--r-- | net-im/openfire/files/buildxml-3.4.4.patch | 20 | ||||
-rw-r--r-- | net-im/openfire/files/digest-openfire-3.4.4 | 3 | ||||
-rw-r--r-- | net-im/openfire/openfire-3.4.4.ebuild | 103 |
4 files changed, 138 insertions, 0 deletions
diff --git a/net-im/openfire/Manifest b/net-im/openfire/Manifest index 9321e439770a..200ad5a5382e 100644 --- a/net-im/openfire/Manifest +++ b/net-im/openfire/Manifest @@ -14,6 +14,10 @@ AUX buildxml-3.4.3.patch 754 RMD160 b35b1c11865a528ec4228ef56304dc2ebb93cc09 SHA MD5 03fd3398f5d0db0e2ec644c2c2f821de files/buildxml-3.4.3.patch 754 RMD160 b35b1c11865a528ec4228ef56304dc2ebb93cc09 files/buildxml-3.4.3.patch 754 SHA256 55e8ea71dacdb205e960f255ea67fc90602e93fb3a0995485eb2851f6115bdf6 files/buildxml-3.4.3.patch 754 +AUX buildxml-3.4.4.patch 754 RMD160 b35b1c11865a528ec4228ef56304dc2ebb93cc09 SHA1 75909209a42f9befb2854c4852e65d14e7235371 SHA256 55e8ea71dacdb205e960f255ea67fc90602e93fb3a0995485eb2851f6115bdf6 +MD5 03fd3398f5d0db0e2ec644c2c2f821de files/buildxml-3.4.4.patch 754 +RMD160 b35b1c11865a528ec4228ef56304dc2ebb93cc09 files/buildxml-3.4.4.patch 754 +SHA256 55e8ea71dacdb205e960f255ea67fc90602e93fb3a0995485eb2851f6115bdf6 files/buildxml-3.4.4.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 @@ -26,6 +30,7 @@ DIST openfire_src_3_3_2.tar.gz 48712324 RMD160 f1397c0d6f4710e39b0c3d110c70de783 DIST openfire_src_3_3_3.tar.gz 54051765 RMD160 d002c9f507e06c8f491238f998b854263c139843 SHA1 f508a61840da06460328a86337fc0423a3aea5c2 SHA256 e52a60f8d9042a9e58b81701d4dead5889caa999d40f6e20bca7eb1c5fef5338 DIST openfire_src_3_4_1.tar.gz 56221075 RMD160 ed955b8d048504a44064007a001a137b91bcefef SHA1 fda1986113664d3c6f12b06cda7c92b688f2b206 SHA256 ed0e914f9eb260d5be9cdd97fb2ca6d28699478e0da746f5f72b379a0f6c6a01 DIST openfire_src_3_4_3.tar.gz 48954094 RMD160 156313f592972bd28923ff3a8aa0a5744c89a699 SHA1 a17b87305a96b6215fc9dfc14388b7b78fefa8a1 SHA256 c09a1f2f3da89850bc904d2ecdeb49f0b584f1b711e35b13ff3fe08c14eba973 +DIST openfire_src_3_4_4.tar.gz 48393969 RMD160 32a85e1d348813d4cbdb7e0016ba0b777af0dbce SHA1 62ef0982b660db69a35a086d62ae6a9ba4d1725d SHA256 0a3794ce5db9d2d16091d6eb6c1d4d4f8f1065f65e6fc4b3bd512dfb414be924 EBUILD openfire-3.3.2.ebuild 2725 RMD160 9d969909698fdf35a09eb21a7f743d8bbc683fed SHA1 c8ce7cc5d83a433e486448703a020df40dc278be SHA256 9ddfc08caaa16aad5530bffe4e4f877dd9c94084e50baacfed6403eb20c34120 MD5 974c71202c64ac962f3217f22b29796a openfire-3.3.2.ebuild 2725 RMD160 9d969909698fdf35a09eb21a7f743d8bbc683fed openfire-3.3.2.ebuild 2725 @@ -42,6 +47,10 @@ EBUILD openfire-3.4.3.ebuild 2727 RMD160 490b127ad1b97e1fc4a64bcc3d3b93fb83af6a0 MD5 87d524e4c8c02a3082bda0d5ad8b5321 openfire-3.4.3.ebuild 2727 RMD160 490b127ad1b97e1fc4a64bcc3d3b93fb83af6a05 openfire-3.4.3.ebuild 2727 SHA256 c2fe4740cc6fdb04a2e926c480e4ddcb3ed13ab017c63d52ed5b0362d535338a openfire-3.4.3.ebuild 2727 +EBUILD openfire-3.4.4.ebuild 2729 RMD160 6b30b49a74ad62bb9487455ccfb37c2b437b1526 SHA1 ef0e54cbc77116a0de0dde9a6a983bc1f00124cc SHA256 f3923e0a01d335d7a90d6bc8760538675bd854c6ff3689db3865be4bfa004aa5 +MD5 5c075089aef4f81bc05c02772ed77f0a openfire-3.4.4.ebuild 2729 +RMD160 6b30b49a74ad62bb9487455ccfb37c2b437b1526 openfire-3.4.4.ebuild 2729 +SHA256 f3923e0a01d335d7a90d6bc8760538675bd854c6ff3689db3865be4bfa004aa5 openfire-3.4.4.ebuild 2729 MISC ChangeLog 6757 RMD160 e9004f559bb374e75b3309a26913e7d5e303f75b SHA1 86a08b8a041f8c61b860879fbec4e1062fc22395 SHA256 db4c27966e821f167712fde19178fb60e9b23d7b0b80a13d5f3a3825ca8e55bd MD5 1128dcfa1724b620845dab3cecbe5cbd ChangeLog 6757 RMD160 e9004f559bb374e75b3309a26913e7d5e303f75b ChangeLog 6757 @@ -62,3 +71,6 @@ SHA256 b77dae4a09b7cb1dab864caf6e28e8dde3b916d4e76b12ad5145da1a8029dd25 files/di MD5 a62d7514007872db144cfef2dc609734 files/digest-openfire-3.4.3 262 RMD160 e338cb3c62906674c3f3cb8ed0d7f6894cadb92c files/digest-openfire-3.4.3 262 SHA256 24766928b14af3de096db8d630b30733c933a1875ed20e413f39d0a69ca9070f files/digest-openfire-3.4.3 262 +MD5 96ca9b4c3940b42ea081491b6e1ebe81 files/digest-openfire-3.4.4 262 +RMD160 9846bc2bf67cc061488a20968520f4e6dbfd2472 files/digest-openfire-3.4.4 262 +SHA256 8094b98a55a176951e8af98ef8b02b78cb3fca0a43ee4bcd3a035f4b56540834 files/digest-openfire-3.4.4 262 diff --git a/net-im/openfire/files/buildxml-3.4.4.patch b/net-im/openfire/files/buildxml-3.4.4.patch new file mode 100644 index 000000000000..eb52f286d250 --- /dev/null +++ b/net-im/openfire/files/buildxml-3.4.4.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/digest-openfire-3.4.4 b/net-im/openfire/files/digest-openfire-3.4.4 new file mode 100644 index 000000000000..9f4bb8572da4 --- /dev/null +++ b/net-im/openfire/files/digest-openfire-3.4.4 @@ -0,0 +1,3 @@ +MD5 c773d8b74020c0b5ce19efad9ec682b3 openfire_src_3_4_4.tar.gz 48393969 +RMD160 32a85e1d348813d4cbdb7e0016ba0b777af0dbce openfire_src_3_4_4.tar.gz 48393969 +SHA256 0a3794ce5db9d2d16091d6eb6c1d4d4f8f1065f65e6fc4b3bd512dfb414be924 openfire_src_3_4_4.tar.gz 48393969 diff --git a/net-im/openfire/openfire-3.4.4.ebuild b/net-im/openfire/openfire-3.4.4.ebuild new file mode 100644 index 000000000000..aa1ecad29b89 --- /dev/null +++ b/net-im/openfire/openfire-3.4.4.ebuild @@ -0,0 +1,103 @@ +# 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.4.4.ebuild,v 1.1 2008/01/25 00:19:05 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="~amd64 ~x86" +IUSE="doc" + +# For transports +PROVIDE="virtual/jabber-server" + +RDEPEND=">=virtual/jre-1.5" +DEPEND="net-im/jabber-base + dev-java/ant-contrib + >=virtual/jdk-1.5" + +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 + java-pkg-2_pkg_setup +} + +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 + + ANT_TASKS="ant-contrib" + eant -f build/build.xml openfire plugins $(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 + 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 +} |