summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
Diffstat (limited to 'net-im')
-rw-r--r--net-im/openfire/ChangeLog9
-rw-r--r--net-im/openfire/files/buildxml.patch20
-rw-r--r--net-im/openfire/files/openfire-3.7.1-buildxml-jdk7.patch30
-rw-r--r--net-im/openfire/openfire-3.6.1.ebuild107
-rw-r--r--net-im/openfire/openfire-3.6.3.ebuild107
-rw-r--r--net-im/openfire/openfire-3.6.4.ebuild108
-rw-r--r--net-im/openfire/openfire-3.7.0.ebuild102
-rw-r--r--net-im/openfire/openfire-3.7.1-r1.ebuild103
-rw-r--r--net-im/openfire/openfire-3.8.1.ebuild102
-rw-r--r--net-im/openfire/openfire-3.8.2-r1.ebuild103
-rw-r--r--net-im/openfire/openfire-3.8.2.ebuild102
-rw-r--r--net-im/openfire/openfire-3.9.1.ebuild103
12 files changed, 8 insertions, 988 deletions
diff --git a/net-im/openfire/ChangeLog b/net-im/openfire/ChangeLog
index bb53880c136d..d26e3ce5b6b2 100644
--- a/net-im/openfire/ChangeLog
+++ b/net-im/openfire/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-im/openfire
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/ChangeLog,v 1.61 2014/05/18 10:16:07 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/ChangeLog,v 1.62 2014/06/10 07:14:06 slyfox Exp $
+
+ 10 Jun 2014; Sergei Trofimovich <slyfox@gentoo.org> -files/buildxml.patch,
+ -files/openfire-3.7.1-buildxml-jdk7.patch, -openfire-3.6.1.ebuild,
+ -openfire-3.6.3.ebuild, -openfire-3.6.4.ebuild, -openfire-3.7.0.ebuild,
+ -openfire-3.7.1-r1.ebuild, -openfire-3.8.1.ebuild, -openfire-3.8.2-r1.ebuild,
+ -openfire-3.8.2.ebuild, -openfire-3.9.1.ebuild:
+ Drop old vulnerable version (security bug #507242).
18 May 2014; Agostino Sarubbo <ago@gentoo.org> openfire-3.9.2-r1.ebuild:
Stable for x86, wrt bug #507242
diff --git a/net-im/openfire/files/buildxml.patch b/net-im/openfire/files/buildxml.patch
deleted file mode 100644
index eb52f286d250..000000000000
--- a/net-im/openfire/files/buildxml.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- 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/openfire-3.7.1-buildxml-jdk7.patch b/net-im/openfire/files/openfire-3.7.1-buildxml-jdk7.patch
deleted file mode 100644
index fbc4aff81390..000000000000
--- a/net-im/openfire/files/openfire-3.7.1-buildxml-jdk7.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Fixes failure when rebuilding build.xml with new ant:
-
- * Applying buildxml.patch ...
- * Applying buildxml-ant.patch ...
->>> Source unpacked in /var/tmp/portage/net-im/openfire-3.7.1/work
->>> Compiling source in /var/tmp/portage/net-im/openfire-3.7.1/work/openfire_src ...
-Rewriting attributes
-Rewriting ./build/build.xml
-Rewriting ./src/test/throttletest/build/build.xml
-Rewriting ./src/plugins/kraken/build/build.xml
- * Using following ANT_TASKS: ant-contrib
-Buildfile: openfire-3.7.1/work/openfire_src/build/build.xml
-
-init:
-
-BUILD FAILED
-openfire-3.7.1/work/openfire_src/build/build.xml:221: Must use JDK 1.5.x or higher to build Openfire
-
-Gentoo-bug: https://bugs.gentoo.org/415619
-Author: Matt McAdoo
---- build/build.xml 2012-05-15 21:15:53.849153950 -0500
-+++ build/build.xml 2012-05-15 21:16:23.628271564 -0500
-@@ -234,6 +234,7 @@
- <or>
- <contains string="${ant.java.version}" substring="1.5"/>
- <contains string="${ant.java.version}" substring="1.6"/>
-+ <contains string="${ant.java.version}" substring="1.7"/>
- </or>
- </not>
- </condition>
diff --git a/net-im/openfire/openfire-3.6.1.ebuild b/net-im/openfire/openfire-3.6.1.ebuild
deleted file mode 100644
index 8234f441491e..000000000000
--- a/net-im/openfire/openfire-3.6.1.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.6.1.ebuild,v 1.3 2011/03/22 15:11:38 pva 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-1.0_beta2
- >=virtual/jdk-1.5"
-
-S=${WORKDIR}/${PN}_src
-
-RESTRICT=""
-
-pkg_setup() {
- if [ -f /etc/env.d/98openfire ]; then
- einfo "This is an upgrade"
- ewarn "As the plugin API changed, at least these plugins need to be updated also:"
- ewarn "User Search, IM Gateway, Fastpath, Monitoring"
- ewarn "hey can be downloaded via Admin Console or at"
- ewarn "${HOMEPAGE}"
- 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
- ewarn Also there is a known issue about IQ Packets and connection drops
- ewarn see http://www.igniterealtime.org/issues/browse/JM-1465 for details
-}
diff --git a/net-im/openfire/openfire-3.6.3.ebuild b/net-im/openfire/openfire-3.6.3.ebuild
deleted file mode 100644
index 5465e1f9616d..000000000000
--- a/net-im/openfire/openfire-3.6.3.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.6.3.ebuild,v 1.3 2011/03/22 15:11:38 pva 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-1.0_beta2
- >=virtual/jdk-1.5"
-
-S=${WORKDIR}/${PN}_src
-
-RESTRICT=""
-
-pkg_setup() {
- if [ -f /etc/env.d/98openfire ]; then
- einfo "This is an upgrade"
- ewarn "As the plugin API changed, at least these plugins need to be updated also:"
- ewarn "User Search, IM Gateway, Fastpath, Monitoring"
- ewarn "hey can be downloaded via Admin Console or at"
- ewarn "${HOMEPAGE}"
- 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
- ewarn Also there is a known issue about IQ Packets and connection drops
- ewarn see http://www.igniterealtime.org/issues/browse/JM-1465 for details
-}
diff --git a/net-im/openfire/openfire-3.6.4.ebuild b/net-im/openfire/openfire-3.6.4.ebuild
deleted file mode 100644
index cc0e81de7a43..000000000000
--- a/net-im/openfire/openfire-3.6.4.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.6.4.ebuild,v 1.5 2011/03/22 15:11:38 pva 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-1.0_beta2
- >=virtual/jdk-1.5"
-
-S=${WORKDIR}/${PN}_src
-
-RESTRICT=""
-
-pkg_setup() {
- if [ -f /etc/env.d/98openfire ]; then
- einfo "This is an upgrade"
- ewarn "As the plugin API changed, at least these plugins need to be updated also:"
- ewarn "User Search, IM Gateway, Fastpath, Monitoring"
- ewarn "hey can be downloaded via Admin Console or at"
- ewarn "${HOMEPAGE}"
- 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
- epatch "${FILESDIR}"/buildxml-ant.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
- ewarn Also there is a known issue about IQ Packets and connection drops
- ewarn see http://www.igniterealtime.org/issues/browse/JM-1465 for details
-}
diff --git a/net-im/openfire/openfire-3.7.0.ebuild b/net-im/openfire/openfire-3.7.0.ebuild
deleted file mode 100644
index 6f8789c58706..000000000000
--- a/net-im/openfire/openfire-3.7.0.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.7.0.ebuild,v 1.4 2011/03/22 15:11:38 pva 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-1.0_beta2
- >=virtual/jdk-1.5"
-
-S=${WORKDIR}/${PN}_src
-
-RESTRICT=""
-
-pkg_setup() {
- if [ -f /etc/env.d/98openfire ]; then
- einfo "This is an upgrade"
- ewarn "As the plugin API changed, at least these plugins need to be updated also:"
- ewarn "User Search, IM Gateway, Fastpath, Monitoring"
- ewarn "hey can be downloaded via Admin Console or at"
- ewarn "${HOMEPAGE}"
- 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
- epatch "${FILESDIR}"/buildxml-ant.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
-}
diff --git a/net-im/openfire/openfire-3.7.1-r1.ebuild b/net-im/openfire/openfire-3.7.1-r1.ebuild
deleted file mode 100644
index 20d8cfe70f45..000000000000
--- a/net-im/openfire/openfire-3.7.1-r1.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.7.1-r1.ebuild,v 1.1 2012/06/26 19:25:47 slyfox 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-1.0_beta2
- >=virtual/jdk-1.5"
-
-S=${WORKDIR}/${PN}_src
-
-RESTRICT=""
-
-pkg_setup() {
- if [ -f /etc/env.d/98openfire ]; then
- einfo "This is an upgrade"
- ewarn "As the plugin API changed, at least these plugins need to be updated also:"
- ewarn "User Search, IM Gateway, Fastpath, Monitoring"
- ewarn "hey can be downloaded via Admin Console or at"
- ewarn "${HOMEPAGE}"
- 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
- epatch "${FILESDIR}"/buildxml-ant.patch
- epatch "${FILESDIR}"/${P}-buildxml-jdk7.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
-}
diff --git a/net-im/openfire/openfire-3.8.1.ebuild b/net-im/openfire/openfire-3.8.1.ebuild
deleted file mode 100644
index 0cb0a414e787..000000000000
--- a/net-im/openfire/openfire-3.8.1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.8.1.ebuild,v 1.1 2013/03/06 19:53:03 slyfox 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-1.0_beta2
- >=virtual/jdk-1.5"
-
-S=${WORKDIR}/${PN}_src
-
-RESTRICT=""
-
-pkg_setup() {
- if [ -f /etc/env.d/98openfire ]; then
- einfo "This is an upgrade"
- ewarn "As the plugin API changed, at least these plugins need to be updated also:"
- ewarn "User Search, IM Gateway, Fastpath, Monitoring"
- ewarn "hey can be downloaded via Admin Console or at"
- ewarn "${HOMEPAGE}"
- 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}"/${PN}-3.8.0-buildxml.patch
- epatch "${FILESDIR}"/buildxml-ant.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
-}
diff --git a/net-im/openfire/openfire-3.8.2-r1.ebuild b/net-im/openfire/openfire-3.8.2-r1.ebuild
deleted file mode 100644
index 28236d97e216..000000000000
--- a/net-im/openfire/openfire-3.8.2-r1.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.8.2-r1.ebuild,v 1.4 2014/03/04 20:11:36 ago Exp $
-
-inherit eutils java-pkg-2 java-ant-2 systemd
-
-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-1.0_beta2
- >=virtual/jdk-1.5"
-
-S=${WORKDIR}/${PN}_src
-
-QA_PREBUILT="opt/openfire/resources/nativeAuth/*.so"
-
-pkg_setup() {
- if [ -f /etc/env.d/98openfire ]; then
- einfo "This is an upgrade"
- ewarn "As the plugin API changed, at least these plugins need to be updated also:"
- ewarn "User Search, IM Gateway, Fastpath, Monitoring"
- ewarn "hey can be downloaded via Admin Console or at"
- ewarn "${HOMEPAGE}"
- 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}"/${PN}-3.8.0-buildxml.patch
- epatch "${FILESDIR}"/buildxml-ant.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
- systemd_dounit "${FILESDIR}"/${PN}.service
-
- 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
-}
diff --git a/net-im/openfire/openfire-3.8.2.ebuild b/net-im/openfire/openfire-3.8.2.ebuild
deleted file mode 100644
index d19a7578a000..000000000000
--- a/net-im/openfire/openfire-3.8.2.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.8.2.ebuild,v 1.1 2013/06/13 13:52:56 slyfox 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-1.0_beta2
- >=virtual/jdk-1.5"
-
-S=${WORKDIR}/${PN}_src
-
-RESTRICT=""
-
-pkg_setup() {
- if [ -f /etc/env.d/98openfire ]; then
- einfo "This is an upgrade"
- ewarn "As the plugin API changed, at least these plugins need to be updated also:"
- ewarn "User Search, IM Gateway, Fastpath, Monitoring"
- ewarn "hey can be downloaded via Admin Console or at"
- ewarn "${HOMEPAGE}"
- 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}"/${PN}-3.8.0-buildxml.patch
- epatch "${FILESDIR}"/buildxml-ant.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
-}
diff --git a/net-im/openfire/openfire-3.9.1.ebuild b/net-im/openfire/openfire-3.9.1.ebuild
deleted file mode 100644
index 016394962b1d..000000000000
--- a/net-im/openfire/openfire-3.9.1.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.9.1.ebuild,v 1.3 2014/02/15 08:27:06 slyfox Exp $
-
-inherit eutils java-pkg-2 java-ant-2 systemd
-
-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-1.0_beta2
- >=virtual/jdk-1.5"
-
-S=${WORKDIR}/${PN}_src
-
-QA_PREBUILT="opt/openfire/resources/nativeAuth/*.so"
-
-pkg_setup() {
- if [ -f /etc/env.d/98openfire ]; then
- einfo "This is an upgrade"
- ewarn "As the plugin API changed, at least these plugins need to be updated also:"
- ewarn "User Search, IM Gateway, Fastpath, Monitoring"
- ewarn "they can be downloaded via Admin Console or at"
- ewarn " ${HOMEPAGE}"
- 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}"/${PN}-3.8.0-buildxml.patch
- epatch "${FILESDIR}"/buildxml-ant.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
- systemd_dounit "${FILESDIR}"/${PN}.service
-
- 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
-}