summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2008-03-12 19:58:06 +0000
committerMarkus Ullmann <jokey@gentoo.org>2008-03-12 19:58:06 +0000
commitce4caccfa7fed64c0a479665454af1897dc9f559 (patch)
tree44ac6f12ef6e5f3fcbddc690c123232144b8ac62 /net-im/openfire
parentBumping to version 1.6.5 (diff)
downloadgentoo-2-ce4caccfa7fed64c0a479665454af1897dc9f559.tar.gz
gentoo-2-ce4caccfa7fed64c0a479665454af1897dc9f559.tar.bz2
gentoo-2-ce4caccfa7fed64c0a479665454af1897dc9f559.zip
Quoting fix and version bump
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-im/openfire')
-rw-r--r--net-im/openfire/ChangeLog14
-rw-r--r--net-im/openfire/files/buildxml-3.3.3.patch20
-rw-r--r--net-im/openfire/files/buildxml-3.4.1.patch20
-rw-r--r--net-im/openfire/files/buildxml-3.4.3.patch20
-rw-r--r--net-im/openfire/files/buildxml-3.4.4.patch20
-rw-r--r--net-im/openfire/files/buildxml.patch (renamed from net-im/openfire/files/buildxml-3.3.2.patch)0
-rw-r--r--net-im/openfire/files/openfire-confd (renamed from net-im/openfire/files/conf.d/openfire)0
-rw-r--r--[-rwxr-xr-x]net-im/openfire/files/openfire-initd (renamed from net-im/openfire/files/init.d/openfire)0
-rw-r--r--net-im/openfire/openfire-3.3.2.ebuild24
-rw-r--r--net-im/openfire/openfire-3.3.3.ebuild24
-rw-r--r--net-im/openfire/openfire-3.4.1.ebuild24
-rw-r--r--net-im/openfire/openfire-3.4.3.ebuild24
-rw-r--r--net-im/openfire/openfire-3.4.4.ebuild24
-rw-r--r--net-im/openfire/openfire-3.4.5.ebuild103
14 files changed, 176 insertions, 141 deletions
diff --git a/net-im/openfire/ChangeLog b/net-im/openfire/ChangeLog
index c6660da141e9..6718e53359db 100644
--- a/net-im/openfire/ChangeLog
+++ b/net-im/openfire/ChangeLog
@@ -1,6 +1,18 @@
# ChangeLog for net-im/openfire
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/ChangeLog,v 1.14 2008/01/17 14:42:37 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/ChangeLog,v 1.15 2008/03/12 19:58:04 jokey Exp $
+
+*openfire-3.4.5 (12 Mar 2008)
+
+ 12 Mar 2008; Markus Ullmann <jokey@gentoo.org>
+ -files/buildxml-3.3.2.patch, -files/buildxml-3.3.3.patch,
+ -files/buildxml-3.4.1.patch, -files/buildxml-3.4.3.patch,
+ -files/buildxml-3.4.4.patch, +files/buildxml.patch,
+ -files/conf.d/openfire, -files/init.d/openfire, +files/openfire-confd,
+ +files/openfire-initd, openfire-3.3.2.ebuild, openfire-3.3.3.ebuild,
+ openfire-3.4.1.ebuild, openfire-3.4.3.ebuild, openfire-3.4.4.ebuild,
+ +openfire-3.4.5.ebuild:
+ Quoting fix and version bump
17 Jan 2008; Vlastimil Babka <caster@gentoo.org> openfire-3.3.2.ebuild,
openfire-3.3.3.ebuild, openfire-3.4.1.ebuild, openfire-3.4.3.ebuild:
diff --git a/net-im/openfire/files/buildxml-3.3.3.patch b/net-im/openfire/files/buildxml-3.3.3.patch
deleted file mode 100644
index eb52f286d250..000000000000
--- a/net-im/openfire/files/buildxml-3.3.3.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/buildxml-3.4.1.patch b/net-im/openfire/files/buildxml-3.4.1.patch
deleted file mode 100644
index eb52f286d250..000000000000
--- a/net-im/openfire/files/buildxml-3.4.1.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/buildxml-3.4.3.patch b/net-im/openfire/files/buildxml-3.4.3.patch
deleted file mode 100644
index eb52f286d250..000000000000
--- a/net-im/openfire/files/buildxml-3.4.3.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/buildxml-3.4.4.patch b/net-im/openfire/files/buildxml-3.4.4.patch
deleted file mode 100644
index eb52f286d250..000000000000
--- a/net-im/openfire/files/buildxml-3.4.4.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/buildxml-3.3.2.patch b/net-im/openfire/files/buildxml.patch
index eb52f286d250..eb52f286d250 100644
--- a/net-im/openfire/files/buildxml-3.3.2.patch
+++ b/net-im/openfire/files/buildxml.patch
diff --git a/net-im/openfire/files/conf.d/openfire b/net-im/openfire/files/openfire-confd
index 35caecef20cc..35caecef20cc 100644
--- a/net-im/openfire/files/conf.d/openfire
+++ b/net-im/openfire/files/openfire-confd
diff --git a/net-im/openfire/files/init.d/openfire b/net-im/openfire/files/openfire-initd
index 272e66de7712..272e66de7712 100755..100644
--- a/net-im/openfire/files/init.d/openfire
+++ b/net-im/openfire/files/openfire-initd
diff --git a/net-im/openfire/openfire-3.3.2.ebuild b/net-im/openfire/openfire-3.3.2.ebuild
index ac461d9a1f99..5426df4f32d4 100644
--- a/net-im/openfire/openfire-3.3.2.ebuild
+++ b/net-im/openfire/openfire-3.3.2.ebuild
@@ -1,23 +1,18 @@
# 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.3.2.ebuild,v 1.2 2008/01/17 14:42:37 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.3.2.ebuild,v 1.3 2008/03/12 19:58:04 jokey 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"
+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
@@ -25,6 +20,11 @@ DEPEND="net-im/jabber-base
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"
@@ -39,8 +39,8 @@ pkg_setup() {
src_unpack() {
unpack ${PN//-/_}_src_${PV//./_}.tar.gz
- cd ${S}
- epatch ${FILESDIR}/buildxml-${PV}.patch
+ cd "${S}"
+ epatch "${FILESDIR}"/buildxml.patch
# TODO should replace jars in build/lib with ones packaged by us -nichoj
}
@@ -56,8 +56,8 @@ src_compile() {
src_install() {
dodir /opt/openfire
- doinitd ${FILESDIR}/init.d/openfire
- doconfd ${FILESDIR}/conf.d/openfire
+ doinitd "${FILESDIR}"/openfire-initd
+ doconfd "${FILESDIR}"/openfire-confd
dodir /opt/openfire/conf
insinto /opt/openfire/conf
@@ -85,7 +85,7 @@ src_install() {
#Protect ssl key on upgrade
dodir /etc/env.d/
- echo 'CONFIG_PROTECT="/opt/openfire/resources/security/"' > ${D}/etc/env.d/98openfire
+ echo 'CONFIG_PROTECT="/opt/openfire/resources/security/"' > "${D}"/etc/env.d/98openfire
}
pkg_postinst() {
diff --git a/net-im/openfire/openfire-3.3.3.ebuild b/net-im/openfire/openfire-3.3.3.ebuild
index 7a2fc5b4d24f..144fc214568a 100644
--- a/net-im/openfire/openfire-3.3.3.ebuild
+++ b/net-im/openfire/openfire-3.3.3.ebuild
@@ -1,23 +1,18 @@
# 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.3.3.ebuild,v 1.2 2008/01/17 14:42:37 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.3.3.ebuild,v 1.3 2008/03/12 19:58:04 jokey 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"
+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
@@ -25,6 +20,11 @@ DEPEND="net-im/jabber-base
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"
@@ -39,8 +39,8 @@ pkg_setup() {
src_unpack() {
unpack ${PN//-/_}_src_${PV//./_}.tar.gz
- cd ${S}
- epatch ${FILESDIR}/buildxml-${PV}.patch
+ cd "${S}"
+ epatch "${FILESDIR}"/buildxml.patch
# TODO should replace jars in build/lib with ones packaged by us -nichoj
}
@@ -56,8 +56,8 @@ src_compile() {
src_install() {
dodir /opt/openfire
- doinitd ${FILESDIR}/init.d/openfire
- doconfd ${FILESDIR}/conf.d/openfire
+ doinitd "${FILESDIR}"/openfire-initd
+ doconfd "${FILESDIR}"/openfire-confd
dodir /opt/openfire/conf
insinto /opt/openfire/conf
@@ -85,7 +85,7 @@ src_install() {
#Protect ssl key on upgrade
dodir /etc/env.d/
- echo 'CONFIG_PROTECT="/opt/openfire/resources/security/"' > ${D}/etc/env.d/98openfire
+ echo 'CONFIG_PROTECT="/opt/openfire/resources/security/"' > "${D}"/etc/env.d/98openfire
}
pkg_postinst() {
diff --git a/net-im/openfire/openfire-3.4.1.ebuild b/net-im/openfire/openfire-3.4.1.ebuild
index e5e2f3709e93..d7219ab2ed7a 100644
--- a/net-im/openfire/openfire-3.4.1.ebuild
+++ b/net-im/openfire/openfire-3.4.1.ebuild
@@ -1,23 +1,18 @@
# 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.1.ebuild,v 1.2 2008/01/17 14:42:37 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.4.1.ebuild,v 1.3 2008/03/12 19:58:04 jokey 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"
+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
@@ -25,6 +20,11 @@ DEPEND="net-im/jabber-base
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"
@@ -39,8 +39,8 @@ pkg_setup() {
src_unpack() {
unpack ${PN//-/_}_src_${PV//./_}.tar.gz
- cd ${S}
- epatch ${FILESDIR}/buildxml-${PV}.patch
+ cd "${S}"
+ epatch "${FILESDIR}"/buildxml.patch
# TODO should replace jars in build/lib with ones packaged by us -nichoj
}
@@ -56,8 +56,8 @@ src_compile() {
src_install() {
dodir /opt/openfire
- doinitd ${FILESDIR}/init.d/openfire
- doconfd ${FILESDIR}/conf.d/openfire
+ doinitd "${FILESDIR}"/openfire-initd
+ doconfd "${FILESDIR}"/openfire-confd
dodir /opt/openfire/conf
insinto /opt/openfire/conf
@@ -85,7 +85,7 @@ src_install() {
#Protect ssl key on upgrade
dodir /etc/env.d/
- echo 'CONFIG_PROTECT="/opt/openfire/resources/security/"' > ${D}/etc/env.d/98openfire
+ echo 'CONFIG_PROTECT="/opt/openfire/resources/security/"' > "${D}"/etc/env.d/98openfire
}
pkg_postinst() {
diff --git a/net-im/openfire/openfire-3.4.3.ebuild b/net-im/openfire/openfire-3.4.3.ebuild
index b2810970eb22..b4bd62dcbaa1 100644
--- a/net-im/openfire/openfire-3.4.3.ebuild
+++ b/net-im/openfire/openfire-3.4.3.ebuild
@@ -1,23 +1,18 @@
# 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.3.ebuild,v 1.2 2008/01/17 14:42:37 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.4.3.ebuild,v 1.3 2008/03/12 19:58:04 jokey 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"
+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
@@ -25,6 +20,11 @@ DEPEND="net-im/jabber-base
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"
@@ -39,8 +39,8 @@ pkg_setup() {
src_unpack() {
unpack ${PN//-/_}_src_${PV//./_}.tar.gz
- cd ${S}
- epatch ${FILESDIR}/buildxml-${PV}.patch
+ cd "${S}"
+ epatch "${FILESDIR}"/buildxml.patch
# TODO should replace jars in build/lib with ones packaged by us -nichoj
}
@@ -56,8 +56,8 @@ src_compile() {
src_install() {
dodir /opt/openfire
- doinitd ${FILESDIR}/init.d/openfire
- doconfd ${FILESDIR}/conf.d/openfire
+ doinitd "${FILESDIR}"/openfire-initd
+ doconfd "${FILESDIR}"/openfire-confd
dodir /opt/openfire/conf
insinto /opt/openfire/conf
@@ -85,7 +85,7 @@ src_install() {
#Protect ssl key on upgrade
dodir /etc/env.d/
- echo 'CONFIG_PROTECT="/opt/openfire/resources/security/"' > ${D}/etc/env.d/98openfire
+ echo 'CONFIG_PROTECT="/opt/openfire/resources/security/"' > "${D}"/etc/env.d/98openfire
}
pkg_postinst() {
diff --git a/net-im/openfire/openfire-3.4.4.ebuild b/net-im/openfire/openfire-3.4.4.ebuild
index aa1ecad29b89..da8219970906 100644
--- a/net-im/openfire/openfire-3.4.4.ebuild
+++ b/net-im/openfire/openfire-3.4.4.ebuild
@@ -1,23 +1,18 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.4.4.ebuild,v 1.2 2008/03/12 19:58:04 jokey 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"
+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
@@ -25,6 +20,11 @@ DEPEND="net-im/jabber-base
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"
@@ -39,8 +39,8 @@ pkg_setup() {
src_unpack() {
unpack ${PN//-/_}_src_${PV//./_}.tar.gz
- cd ${S}
- epatch ${FILESDIR}/buildxml-${PV}.patch
+ cd "${S}"
+ epatch "${FILESDIR}"/buildxml.patch
# TODO should replace jars in build/lib with ones packaged by us -nichoj
}
@@ -56,8 +56,8 @@ src_compile() {
src_install() {
dodir /opt/openfire
- doinitd ${FILESDIR}/init.d/openfire
- doconfd ${FILESDIR}/conf.d/openfire
+ doinitd "${FILESDIR}"/openfire-initd
+ doconfd "${FILESDIR}"/openfire-confd
dodir /opt/openfire/conf
insinto /opt/openfire/conf
@@ -85,7 +85,7 @@ src_install() {
#Protect ssl key on upgrade
dodir /etc/env.d/
- echo 'CONFIG_PROTECT="/opt/openfire/resources/security/"' > ${D}/etc/env.d/98openfire
+ echo 'CONFIG_PROTECT="/opt/openfire/resources/security/"' > "${D}"/etc/env.d/98openfire
}
pkg_postinst() {
diff --git a/net-im/openfire/openfire-3.4.5.ebuild b/net-im/openfire/openfire-3.4.5.ebuild
new file mode 100644
index 000000000000..8b036e692abf
--- /dev/null
+++ b/net-im/openfire/openfire-3.4.5.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.5.ebuild,v 1.1 2008/03/12 19:58:04 jokey 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"
+
+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 ${PN//-/_}_src_${PV//./_}.tar.gz
+ 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
+
+ doinitd "${FILESDIR}"/openfire-initd
+ doconfd "${FILESDIR}"/openfire-confd
+
+ 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
+}