public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2015-10-27 12:18 Agostino Sarubbo
  0 siblings, 0 replies; 31+ messages in thread
From: Agostino Sarubbo @ 2015-10-27 12:18 UTC (permalink / raw
  To: gentoo-commits

commit:     e70c043a5c4828aaf4bcd29736dbe247bfd52553
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 27 12:17:30 2015 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Oct 27 12:17:30 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e70c043a

net-im/openfire: amd64 stable wrt bug #563910

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="amd64"

 net-im/openfire/openfire-3.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-im/openfire/openfire-3.10.2.ebuild b/net-im/openfire/openfire-3.10.2.ebuild
index 6ccd462..8de9896 100644
--- a/net-im/openfire/openfire-3.10.2.ebuild
+++ b/net-im/openfire/openfire-3.10.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="http://www.igniterealtime.org/builds/openfire/${MY_P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="doc"
 
 RDEPEND=">=virtual/jre-1.7"


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2015-11-01 13:27 Mikle Kolyada
  0 siblings, 0 replies; 31+ messages in thread
From: Mikle Kolyada @ 2015-11-01 13:27 UTC (permalink / raw
  To: gentoo-commits

commit:     2f74ea1538db0009354d234871abc7126303400a
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  1 13:24:38 2015 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Nov  1 13:24:38 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f74ea15

net-im/openfire: x86 stable wrt bug #563910

Package-Manager: portage-2.2.20.1

 net-im/openfire/openfire-3.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-im/openfire/openfire-3.10.2.ebuild b/net-im/openfire/openfire-3.10.2.ebuild
index 8de9896..cf4db24 100644
--- a/net-im/openfire/openfire-3.10.2.ebuild
+++ b/net-im/openfire/openfire-3.10.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="http://www.igniterealtime.org/builds/openfire/${MY_P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="doc"
 
 RDEPEND=">=virtual/jre-1.7"


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2015-11-18 21:07 Sergei Trofimovich
  0 siblings, 0 replies; 31+ messages in thread
From: Sergei Trofimovich @ 2015-11-18 21:07 UTC (permalink / raw
  To: gentoo-commits

commit:     914af27806fe3f84db43f1ff7d45491a4d84914b
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 18 21:06:36 2015 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Nov 18 21:07:21 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=914af278

net-im/openfire: bump up to 3.10.3

Package-Manager: portage-2.2.24

 net-im/openfire/Manifest               |   1 +
 net-im/openfire/openfire-3.10.3.ebuild | 108 +++++++++++++++++++++++++++++++++
 2 files changed, 109 insertions(+)

diff --git a/net-im/openfire/Manifest b/net-im/openfire/Manifest
index 85af340..ac7569a 100644
--- a/net-im/openfire/Manifest
+++ b/net-im/openfire/Manifest
@@ -1,3 +1,4 @@
 DIST openfire_src_3_10_0.tar.gz 128475294 SHA256 4911caf5336903e17a752c358c4e506dae76b0f66adfc857537eb6dfe3792f33 SHA512 e3b860711fe9005d58981cd5d037d942cbef2dfb6e59159513916b66dddc5fc4942f1df793e5baf0e71b073e329c1f802884a483a01633c34bfe5143335fb4d7 WHIRLPOOL ad3e6a5f363f6b9bf1fc1c7bcd8c55e514c2ec0fbef3662c2e744cee73ee0d085cda7d96d1a865622e91c96023349fb30e4fe2834eb653b30a169dcdc1b6fea1
 DIST openfire_src_3_10_1.tar.gz 128476328 SHA256 176c53103fe8236be404a3531cf2928c51c8620f1ec75db6e5aa8cccc62c2944 SHA512 24eadd168f31972d19e1fdc2c47ed8515d1407a3741a898264028e1459e37edc08515e9a2a04251f93a423fbce60b07d103d942c42390fbb34720eac9207a6a2 WHIRLPOOL 3f14a2ea1d002222061580283b64bfb503a0d494c5b044998ddfd76244ee0d1f035b9f11a49205508098c038c96392577bbb155f349bd3d8d7b96711af45fb14
 DIST openfire_src_3_10_2.tar.gz 128442398 SHA256 6be2287b27305c19db6daae360b1b898428d289413e8114a35e9ce04c6de3d80 SHA512 8d58c9c1ce03cc5218af91c562d5babc6a9556505f43f2be44996c122ff6c53c1542514143abe4ff34fee48fc5c56238f4999a1f1496ee6e3d13561961adc0d8 WHIRLPOOL 9f313afde26bb5cc6ac9d62d17ef86c2a7661f1f57dd41db1d27139fc3a63349df374c5e135e45790c2c04ee09b6fd934868df863493f380bed0e57cb9850d97
+DIST openfire_src_3_10_3.tar.gz 128443231 SHA256 04fcd205c10236bb93dddb21275704d18a5950964f57b8c63e523bfc52fe35d8 SHA512 ef2b0d1913bcfc4ef1879af74571f09f6c46fc056d305de3a0113f85c6ae17b95c6c8333294a20ff89710c38fa363eccefaf7f54aafde23fbb1b927cb85455c7 WHIRLPOOL de0ffb87dede5d2eda159971f43976cd56db0a2628965ca08f30f6de527af36656bea7303b8c4cd2613d1e90b35b5636d72f8fcdcdebeec2bacdeb0f1d1a570d

diff --git a/net-im/openfire/openfire-3.10.3.ebuild b/net-im/openfire/openfire-3.10.3.ebuild
new file mode 100644
index 0000000..6ccd462
--- /dev/null
+++ b/net-im/openfire/openfire-3.10.3.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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.7"
+DEPEND="net-im/jabber-base
+	~dev-java/ant-contrib-1.0_beta2
+	>=virtual/jdk-1.7"
+
+S=${WORKDIR}/${PN}_src
+
+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_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)
+
+	# delete nativeAuth prebuilt libs:
+	#    uses outdated unmaintained libshaj, does not support amd64
+	rm -rfv target/openfire/resources/nativeAuth || dir
+}
+
+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
+	newins target/openfire/conf/security.xml security.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() {
+	local src
+	local dst
+
+	# http://community.igniterealtime.org/thread/52289
+	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
+	do
+		src="${dst}".sample
+		if [[ -f "${dst}" ]]; then
+			einfo "Leaving old '${dst}'"
+		else
+			einfo "Created default '${dst}'. Please edit."
+			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
+			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
+		fi
+	done
+	chown -R jabber:jabber "${ROOT}"/opt/openfire
+}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2016-02-06 10:36 Sergei Trofimovich
  0 siblings, 0 replies; 31+ messages in thread
From: Sergei Trofimovich @ 2016-02-06 10:36 UTC (permalink / raw
  To: gentoo-commits

commit:     df06c3cf8df724ce3eafccf412c0146374a53378
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  6 10:31:43 2016 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Feb  6 10:35:36 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df06c3cf

net-im/openfire: bump up to 4.0.1

Package-Manager: portage-2.2.27

 net-im/openfire/Manifest              |   1 +
 net-im/openfire/openfire-4.0.1.ebuild | 108 ++++++++++++++++++++++++++++++++++
 2 files changed, 109 insertions(+)

diff --git a/net-im/openfire/Manifest b/net-im/openfire/Manifest
index 3ed3855..288580e 100644
--- a/net-im/openfire/Manifest
+++ b/net-im/openfire/Manifest
@@ -3,3 +3,4 @@ DIST openfire_src_3_10_1.tar.gz 128476328 SHA256 176c53103fe8236be404a3531cf2928
 DIST openfire_src_3_10_2.tar.gz 128442398 SHA256 6be2287b27305c19db6daae360b1b898428d289413e8114a35e9ce04c6de3d80 SHA512 8d58c9c1ce03cc5218af91c562d5babc6a9556505f43f2be44996c122ff6c53c1542514143abe4ff34fee48fc5c56238f4999a1f1496ee6e3d13561961adc0d8 WHIRLPOOL 9f313afde26bb5cc6ac9d62d17ef86c2a7661f1f57dd41db1d27139fc3a63349df374c5e135e45790c2c04ee09b6fd934868df863493f380bed0e57cb9850d97
 DIST openfire_src_3_10_3.tar.gz 128443231 SHA256 04fcd205c10236bb93dddb21275704d18a5950964f57b8c63e523bfc52fe35d8 SHA512 ef2b0d1913bcfc4ef1879af74571f09f6c46fc056d305de3a0113f85c6ae17b95c6c8333294a20ff89710c38fa363eccefaf7f54aafde23fbb1b927cb85455c7 WHIRLPOOL de0ffb87dede5d2eda159971f43976cd56db0a2628965ca08f30f6de527af36656bea7303b8c4cd2613d1e90b35b5636d72f8fcdcdebeec2bacdeb0f1d1a570d
 DIST openfire_src_4_0_0.tar.gz 99006362 SHA256 c7e535891326369f53d25d68e717a75b29f27841602cbb740d9521c7e0e83caa SHA512 2a2e6961272a8c31c83a313e47524600937b588ccaef150a1e72c9ff38f10d02f14d4ba06668338e6d2de48851845049964cc0d3ba42d72700b1696489ecda9a WHIRLPOOL 0f2980dadabdf852cbcc2bfaee52be98e569f3e99279fc24beaf786167afd81e01c0184dfe9c5ad9246abbfe4452952691781c715ac0a4ccf2519064c09f0df6
+DIST openfire_src_4_0_1.tar.gz 98970606 SHA256 e675b9eaa380f1d6288b06012e491b7cf6c75e4d67200363516447b052a32c53 SHA512 1b5e0e23c88c39d1c283491d7d141a7f7015e0f656347327fe5be918467b2c544dfc8f205ac004fb5655f665be012d794b9678d933ac96857e7ff5b0fefa938e WHIRLPOOL fbc27d5f2998a695074965ff7e676eef517f79119d2da1c6791de3a116bccea92e3a7fa3b4ba47b246634bfbf379597c3939be2a118d581fb96217496ea8658a

diff --git a/net-im/openfire/openfire-4.0.1.ebuild b/net-im/openfire/openfire-4.0.1.ebuild
new file mode 100644
index 0000000..6ccd462
--- /dev/null
+++ b/net-im/openfire/openfire-4.0.1.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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.7"
+DEPEND="net-im/jabber-base
+	~dev-java/ant-contrib-1.0_beta2
+	>=virtual/jdk-1.7"
+
+S=${WORKDIR}/${PN}_src
+
+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_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)
+
+	# delete nativeAuth prebuilt libs:
+	#    uses outdated unmaintained libshaj, does not support amd64
+	rm -rfv target/openfire/resources/nativeAuth || dir
+}
+
+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
+	newins target/openfire/conf/security.xml security.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() {
+	local src
+	local dst
+
+	# http://community.igniterealtime.org/thread/52289
+	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
+	do
+		src="${dst}".sample
+		if [[ -f "${dst}" ]]; then
+			einfo "Leaving old '${dst}'"
+		else
+			einfo "Created default '${dst}'. Please edit."
+			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
+			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
+		fi
+	done
+	chown -R jabber:jabber "${ROOT}"/opt/openfire
+}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2016-03-22  8:50 Sergei Trofimovich
  0 siblings, 0 replies; 31+ messages in thread
From: Sergei Trofimovich @ 2016-03-22  8:50 UTC (permalink / raw
  To: gentoo-commits

commit:     8acbd85b1cce524a2bcdcd9b6d2d443a1c7e3b51
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 22 08:50:04 2016 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue Mar 22 08:50:04 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8acbd85b

net-im/openfire: bump up to 4.0.2

Package-Manager: portage-2.2.28

 net-im/openfire/Manifest              |   1 +
 net-im/openfire/openfire-4.0.2.ebuild | 108 ++++++++++++++++++++++++++++++++++
 2 files changed, 109 insertions(+)

diff --git a/net-im/openfire/Manifest b/net-im/openfire/Manifest
index 288580e..5b93100 100644
--- a/net-im/openfire/Manifest
+++ b/net-im/openfire/Manifest
@@ -4,3 +4,4 @@ DIST openfire_src_3_10_2.tar.gz 128442398 SHA256 6be2287b27305c19db6daae360b1b89
 DIST openfire_src_3_10_3.tar.gz 128443231 SHA256 04fcd205c10236bb93dddb21275704d18a5950964f57b8c63e523bfc52fe35d8 SHA512 ef2b0d1913bcfc4ef1879af74571f09f6c46fc056d305de3a0113f85c6ae17b95c6c8333294a20ff89710c38fa363eccefaf7f54aafde23fbb1b927cb85455c7 WHIRLPOOL de0ffb87dede5d2eda159971f43976cd56db0a2628965ca08f30f6de527af36656bea7303b8c4cd2613d1e90b35b5636d72f8fcdcdebeec2bacdeb0f1d1a570d
 DIST openfire_src_4_0_0.tar.gz 99006362 SHA256 c7e535891326369f53d25d68e717a75b29f27841602cbb740d9521c7e0e83caa SHA512 2a2e6961272a8c31c83a313e47524600937b588ccaef150a1e72c9ff38f10d02f14d4ba06668338e6d2de48851845049964cc0d3ba42d72700b1696489ecda9a WHIRLPOOL 0f2980dadabdf852cbcc2bfaee52be98e569f3e99279fc24beaf786167afd81e01c0184dfe9c5ad9246abbfe4452952691781c715ac0a4ccf2519064c09f0df6
 DIST openfire_src_4_0_1.tar.gz 98970606 SHA256 e675b9eaa380f1d6288b06012e491b7cf6c75e4d67200363516447b052a32c53 SHA512 1b5e0e23c88c39d1c283491d7d141a7f7015e0f656347327fe5be918467b2c544dfc8f205ac004fb5655f665be012d794b9678d933ac96857e7ff5b0fefa938e WHIRLPOOL fbc27d5f2998a695074965ff7e676eef517f79119d2da1c6791de3a116bccea92e3a7fa3b4ba47b246634bfbf379597c3939be2a118d581fb96217496ea8658a
+DIST openfire_src_4_0_2.tar.gz 98972324 SHA256 62e7a8a735431d45f5ad72a8ae9603743277372702e782ea514323bfd80a4efb SHA512 444762fec588d4b205c0d6247098861b246eb3f74061dfe47314a33daeb57e228e62132efac3d50fbffd31bd779ba986d0b59afe375d27f3f2923cecbd4f873a WHIRLPOOL 3259e09f1bf422415b0722bff96524be6831ee8d104b91b15fc2b8b25569da5e5f4920ad08080c4e44f1d9c74049c8b0344bbe534b0c3809483745e2452d08e9

diff --git a/net-im/openfire/openfire-4.0.2.ebuild b/net-im/openfire/openfire-4.0.2.ebuild
new file mode 100644
index 0000000..6ccd462
--- /dev/null
+++ b/net-im/openfire/openfire-4.0.2.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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.7"
+DEPEND="net-im/jabber-base
+	~dev-java/ant-contrib-1.0_beta2
+	>=virtual/jdk-1.7"
+
+S=${WORKDIR}/${PN}_src
+
+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_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)
+
+	# delete nativeAuth prebuilt libs:
+	#    uses outdated unmaintained libshaj, does not support amd64
+	rm -rfv target/openfire/resources/nativeAuth || dir
+}
+
+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
+	newins target/openfire/conf/security.xml security.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() {
+	local src
+	local dst
+
+	# http://community.igniterealtime.org/thread/52289
+	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
+	do
+		src="${dst}".sample
+		if [[ -f "${dst}" ]]; then
+			einfo "Leaving old '${dst}'"
+		else
+			einfo "Created default '${dst}'. Please edit."
+			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
+			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
+		fi
+	done
+	chown -R jabber:jabber "${ROOT}"/opt/openfire
+}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2016-06-19 13:53 Sergei Trofimovich
  0 siblings, 0 replies; 31+ messages in thread
From: Sergei Trofimovich @ 2016-06-19 13:53 UTC (permalink / raw
  To: gentoo-commits

commit:     d2e60c5df24204e0f1a83a635d75fa723159ce5b
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 19 13:52:54 2016 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Jun 19 13:53:02 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2e60c5d

net-im/openfire: fix typo 's/dir/die/'

Package-Manager: portage-2.3.0_rc1

 net-im/openfire/openfire-3.10.0.ebuild | 4 ++--
 net-im/openfire/openfire-3.10.1.ebuild | 4 ++--
 net-im/openfire/openfire-3.10.2.ebuild | 4 ++--
 net-im/openfire/openfire-3.10.3.ebuild | 4 ++--
 net-im/openfire/openfire-4.0.0.ebuild  | 4 ++--
 net-im/openfire/openfire-4.0.1.ebuild  | 4 ++--
 net-im/openfire/openfire-4.0.2.ebuild  | 4 ++--
 7 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/net-im/openfire/openfire-3.10.0.ebuild b/net-im/openfire/openfire-3.10.0.ebuild
index cf4db24..f47ad14 100644
--- a/net-im/openfire/openfire-3.10.0.ebuild
+++ b/net-im/openfire/openfire-3.10.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -48,7 +48,7 @@ src_compile() {
 
 	# delete nativeAuth prebuilt libs:
 	#    uses outdated unmaintained libshaj, does not support amd64
-	rm -rfv target/openfire/resources/nativeAuth || dir
+	rm -rfv target/openfire/resources/nativeAuth || die
 }
 
 src_install() {

diff --git a/net-im/openfire/openfire-3.10.1.ebuild b/net-im/openfire/openfire-3.10.1.ebuild
index 6ccd462..957cc4c 100644
--- a/net-im/openfire/openfire-3.10.1.ebuild
+++ b/net-im/openfire/openfire-3.10.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -48,7 +48,7 @@ src_compile() {
 
 	# delete nativeAuth prebuilt libs:
 	#    uses outdated unmaintained libshaj, does not support amd64
-	rm -rfv target/openfire/resources/nativeAuth || dir
+	rm -rfv target/openfire/resources/nativeAuth || die
 }
 
 src_install() {

diff --git a/net-im/openfire/openfire-3.10.2.ebuild b/net-im/openfire/openfire-3.10.2.ebuild
index cf4db24..f47ad14 100644
--- a/net-im/openfire/openfire-3.10.2.ebuild
+++ b/net-im/openfire/openfire-3.10.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -48,7 +48,7 @@ src_compile() {
 
 	# delete nativeAuth prebuilt libs:
 	#    uses outdated unmaintained libshaj, does not support amd64
-	rm -rfv target/openfire/resources/nativeAuth || dir
+	rm -rfv target/openfire/resources/nativeAuth || die
 }
 
 src_install() {

diff --git a/net-im/openfire/openfire-3.10.3.ebuild b/net-im/openfire/openfire-3.10.3.ebuild
index 6ccd462..957cc4c 100644
--- a/net-im/openfire/openfire-3.10.3.ebuild
+++ b/net-im/openfire/openfire-3.10.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -48,7 +48,7 @@ src_compile() {
 
 	# delete nativeAuth prebuilt libs:
 	#    uses outdated unmaintained libshaj, does not support amd64
-	rm -rfv target/openfire/resources/nativeAuth || dir
+	rm -rfv target/openfire/resources/nativeAuth || die
 }
 
 src_install() {

diff --git a/net-im/openfire/openfire-4.0.0.ebuild b/net-im/openfire/openfire-4.0.0.ebuild
index 6ccd462..957cc4c 100644
--- a/net-im/openfire/openfire-4.0.0.ebuild
+++ b/net-im/openfire/openfire-4.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -48,7 +48,7 @@ src_compile() {
 
 	# delete nativeAuth prebuilt libs:
 	#    uses outdated unmaintained libshaj, does not support amd64
-	rm -rfv target/openfire/resources/nativeAuth || dir
+	rm -rfv target/openfire/resources/nativeAuth || die
 }
 
 src_install() {

diff --git a/net-im/openfire/openfire-4.0.1.ebuild b/net-im/openfire/openfire-4.0.1.ebuild
index 6ccd462..957cc4c 100644
--- a/net-im/openfire/openfire-4.0.1.ebuild
+++ b/net-im/openfire/openfire-4.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -48,7 +48,7 @@ src_compile() {
 
 	# delete nativeAuth prebuilt libs:
 	#    uses outdated unmaintained libshaj, does not support amd64
-	rm -rfv target/openfire/resources/nativeAuth || dir
+	rm -rfv target/openfire/resources/nativeAuth || die
 }
 
 src_install() {

diff --git a/net-im/openfire/openfire-4.0.2.ebuild b/net-im/openfire/openfire-4.0.2.ebuild
index 6ccd462..957cc4c 100644
--- a/net-im/openfire/openfire-4.0.2.ebuild
+++ b/net-im/openfire/openfire-4.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -48,7 +48,7 @@ src_compile() {
 
 	# delete nativeAuth prebuilt libs:
 	#    uses outdated unmaintained libshaj, does not support amd64
-	rm -rfv target/openfire/resources/nativeAuth || dir
+	rm -rfv target/openfire/resources/nativeAuth || die
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2016-07-09 17:46 Agostino Sarubbo
  0 siblings, 0 replies; 31+ messages in thread
From: Agostino Sarubbo @ 2016-07-09 17:46 UTC (permalink / raw
  To: gentoo-commits

commit:     31d24de0d5ba24853aa0beb6a1e4ee08c161db75
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  9 17:45:41 2016 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sat Jul  9 17:45:41 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31d24de0

net-im/openfire: amd64 stable wrt bug #588312

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 net-im/openfire/openfire-4.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-im/openfire/openfire-4.0.2.ebuild b/net-im/openfire/openfire-4.0.2.ebuild
index 957cc4c..5cddb6e 100644
--- a/net-im/openfire/openfire-4.0.2.ebuild
+++ b/net-im/openfire/openfire-4.0.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="http://www.igniterealtime.org/builds/openfire/${MY_P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="doc"
 
 RDEPEND=">=virtual/jre-1.7"


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2016-07-28 15:23 Agostino Sarubbo
  0 siblings, 0 replies; 31+ messages in thread
From: Agostino Sarubbo @ 2016-07-28 15:23 UTC (permalink / raw
  To: gentoo-commits

commit:     18643122066466f66d8c6012939c247e7d450009
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 28 15:23:00 2016 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Jul 28 15:23:16 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18643122

net-im/openfire: x86 stable wrt bug #588312

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 net-im/openfire/openfire-4.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-im/openfire/openfire-4.0.2.ebuild b/net-im/openfire/openfire-4.0.2.ebuild
index 5cddb6e..f47ad14 100644
--- a/net-im/openfire/openfire-4.0.2.ebuild
+++ b/net-im/openfire/openfire-4.0.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="http://www.igniterealtime.org/builds/openfire/${MY_P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="doc"
 
 RDEPEND=">=virtual/jre-1.7"


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2016-07-29  7:22 Sergei Trofimovich
  0 siblings, 0 replies; 31+ messages in thread
From: Sergei Trofimovich @ 2016-07-29  7:22 UTC (permalink / raw
  To: gentoo-commits

commit:     16984aae49feabbd36822d457f0dab01bc3f6559
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 29 07:22:31 2016 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Jul 29 07:22:31 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16984aae

net-im/openfire: drop old vulnerable versions, bug #588312

Bug: https://bugs.gentoo.org/588312

Package-Manager: portage-2.3.0

 net-im/openfire/Manifest               |   6 --
 net-im/openfire/openfire-3.10.0.ebuild | 108 ---------------------------------
 net-im/openfire/openfire-3.10.1.ebuild | 108 ---------------------------------
 net-im/openfire/openfire-3.10.2.ebuild | 108 ---------------------------------
 net-im/openfire/openfire-3.10.3.ebuild | 108 ---------------------------------
 net-im/openfire/openfire-4.0.0.ebuild  | 108 ---------------------------------
 net-im/openfire/openfire-4.0.1.ebuild  | 108 ---------------------------------
 7 files changed, 654 deletions(-)

diff --git a/net-im/openfire/Manifest b/net-im/openfire/Manifest
index 5b93100..d73dd4e 100644
--- a/net-im/openfire/Manifest
+++ b/net-im/openfire/Manifest
@@ -1,7 +1 @@
-DIST openfire_src_3_10_0.tar.gz 128475294 SHA256 4911caf5336903e17a752c358c4e506dae76b0f66adfc857537eb6dfe3792f33 SHA512 e3b860711fe9005d58981cd5d037d942cbef2dfb6e59159513916b66dddc5fc4942f1df793e5baf0e71b073e329c1f802884a483a01633c34bfe5143335fb4d7 WHIRLPOOL ad3e6a5f363f6b9bf1fc1c7bcd8c55e514c2ec0fbef3662c2e744cee73ee0d085cda7d96d1a865622e91c96023349fb30e4fe2834eb653b30a169dcdc1b6fea1
-DIST openfire_src_3_10_1.tar.gz 128476328 SHA256 176c53103fe8236be404a3531cf2928c51c8620f1ec75db6e5aa8cccc62c2944 SHA512 24eadd168f31972d19e1fdc2c47ed8515d1407a3741a898264028e1459e37edc08515e9a2a04251f93a423fbce60b07d103d942c42390fbb34720eac9207a6a2 WHIRLPOOL 3f14a2ea1d002222061580283b64bfb503a0d494c5b044998ddfd76244ee0d1f035b9f11a49205508098c038c96392577bbb155f349bd3d8d7b96711af45fb14
-DIST openfire_src_3_10_2.tar.gz 128442398 SHA256 6be2287b27305c19db6daae360b1b898428d289413e8114a35e9ce04c6de3d80 SHA512 8d58c9c1ce03cc5218af91c562d5babc6a9556505f43f2be44996c122ff6c53c1542514143abe4ff34fee48fc5c56238f4999a1f1496ee6e3d13561961adc0d8 WHIRLPOOL 9f313afde26bb5cc6ac9d62d17ef86c2a7661f1f57dd41db1d27139fc3a63349df374c5e135e45790c2c04ee09b6fd934868df863493f380bed0e57cb9850d97
-DIST openfire_src_3_10_3.tar.gz 128443231 SHA256 04fcd205c10236bb93dddb21275704d18a5950964f57b8c63e523bfc52fe35d8 SHA512 ef2b0d1913bcfc4ef1879af74571f09f6c46fc056d305de3a0113f85c6ae17b95c6c8333294a20ff89710c38fa363eccefaf7f54aafde23fbb1b927cb85455c7 WHIRLPOOL de0ffb87dede5d2eda159971f43976cd56db0a2628965ca08f30f6de527af36656bea7303b8c4cd2613d1e90b35b5636d72f8fcdcdebeec2bacdeb0f1d1a570d
-DIST openfire_src_4_0_0.tar.gz 99006362 SHA256 c7e535891326369f53d25d68e717a75b29f27841602cbb740d9521c7e0e83caa SHA512 2a2e6961272a8c31c83a313e47524600937b588ccaef150a1e72c9ff38f10d02f14d4ba06668338e6d2de48851845049964cc0d3ba42d72700b1696489ecda9a WHIRLPOOL 0f2980dadabdf852cbcc2bfaee52be98e569f3e99279fc24beaf786167afd81e01c0184dfe9c5ad9246abbfe4452952691781c715ac0a4ccf2519064c09f0df6
-DIST openfire_src_4_0_1.tar.gz 98970606 SHA256 e675b9eaa380f1d6288b06012e491b7cf6c75e4d67200363516447b052a32c53 SHA512 1b5e0e23c88c39d1c283491d7d141a7f7015e0f656347327fe5be918467b2c544dfc8f205ac004fb5655f665be012d794b9678d933ac96857e7ff5b0fefa938e WHIRLPOOL fbc27d5f2998a695074965ff7e676eef517f79119d2da1c6791de3a116bccea92e3a7fa3b4ba47b246634bfbf379597c3939be2a118d581fb96217496ea8658a
 DIST openfire_src_4_0_2.tar.gz 98972324 SHA256 62e7a8a735431d45f5ad72a8ae9603743277372702e782ea514323bfd80a4efb SHA512 444762fec588d4b205c0d6247098861b246eb3f74061dfe47314a33daeb57e228e62132efac3d50fbffd31bd779ba986d0b59afe375d27f3f2923cecbd4f873a WHIRLPOOL 3259e09f1bf422415b0722bff96524be6831ee8d104b91b15fc2b8b25569da5e5f4920ad08080c4e44f1d9c74049c8b0344bbe534b0c3809483745e2452d08e9

diff --git a/net-im/openfire/openfire-3.10.0.ebuild b/net-im/openfire/openfire-3.10.0.ebuild
deleted file mode 100644
index f47ad14..0000000
--- a/net-im/openfire/openfire-3.10.0.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-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.7"
-DEPEND="net-im/jabber-base
-	~dev-java/ant-contrib-1.0_beta2
-	>=virtual/jdk-1.7"
-
-S=${WORKDIR}/${PN}_src
-
-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_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)
-
-	# delete nativeAuth prebuilt libs:
-	#    uses outdated unmaintained libshaj, does not support amd64
-	rm -rfv target/openfire/resources/nativeAuth || die
-}
-
-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
-	newins target/openfire/conf/security.xml security.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() {
-	local src
-	local dst
-
-	# http://community.igniterealtime.org/thread/52289
-	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
-	do
-		src="${dst}".sample
-		if [[ -f "${dst}" ]]; then
-			einfo "Leaving old '${dst}'"
-		else
-			einfo "Created default '${dst}'. Please edit."
-			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
-			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
-		fi
-	done
-	chown -R jabber:jabber "${ROOT}"/opt/openfire
-}

diff --git a/net-im/openfire/openfire-3.10.1.ebuild b/net-im/openfire/openfire-3.10.1.ebuild
deleted file mode 100644
index 957cc4c..0000000
--- a/net-im/openfire/openfire-3.10.1.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-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.7"
-DEPEND="net-im/jabber-base
-	~dev-java/ant-contrib-1.0_beta2
-	>=virtual/jdk-1.7"
-
-S=${WORKDIR}/${PN}_src
-
-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_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)
-
-	# delete nativeAuth prebuilt libs:
-	#    uses outdated unmaintained libshaj, does not support amd64
-	rm -rfv target/openfire/resources/nativeAuth || die
-}
-
-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
-	newins target/openfire/conf/security.xml security.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() {
-	local src
-	local dst
-
-	# http://community.igniterealtime.org/thread/52289
-	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
-	do
-		src="${dst}".sample
-		if [[ -f "${dst}" ]]; then
-			einfo "Leaving old '${dst}'"
-		else
-			einfo "Created default '${dst}'. Please edit."
-			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
-			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
-		fi
-	done
-	chown -R jabber:jabber "${ROOT}"/opt/openfire
-}

diff --git a/net-im/openfire/openfire-3.10.2.ebuild b/net-im/openfire/openfire-3.10.2.ebuild
deleted file mode 100644
index f47ad14..0000000
--- a/net-im/openfire/openfire-3.10.2.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-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.7"
-DEPEND="net-im/jabber-base
-	~dev-java/ant-contrib-1.0_beta2
-	>=virtual/jdk-1.7"
-
-S=${WORKDIR}/${PN}_src
-
-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_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)
-
-	# delete nativeAuth prebuilt libs:
-	#    uses outdated unmaintained libshaj, does not support amd64
-	rm -rfv target/openfire/resources/nativeAuth || die
-}
-
-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
-	newins target/openfire/conf/security.xml security.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() {
-	local src
-	local dst
-
-	# http://community.igniterealtime.org/thread/52289
-	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
-	do
-		src="${dst}".sample
-		if [[ -f "${dst}" ]]; then
-			einfo "Leaving old '${dst}'"
-		else
-			einfo "Created default '${dst}'. Please edit."
-			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
-			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
-		fi
-	done
-	chown -R jabber:jabber "${ROOT}"/opt/openfire
-}

diff --git a/net-im/openfire/openfire-3.10.3.ebuild b/net-im/openfire/openfire-3.10.3.ebuild
deleted file mode 100644
index 957cc4c..0000000
--- a/net-im/openfire/openfire-3.10.3.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-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.7"
-DEPEND="net-im/jabber-base
-	~dev-java/ant-contrib-1.0_beta2
-	>=virtual/jdk-1.7"
-
-S=${WORKDIR}/${PN}_src
-
-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_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)
-
-	# delete nativeAuth prebuilt libs:
-	#    uses outdated unmaintained libshaj, does not support amd64
-	rm -rfv target/openfire/resources/nativeAuth || die
-}
-
-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
-	newins target/openfire/conf/security.xml security.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() {
-	local src
-	local dst
-
-	# http://community.igniterealtime.org/thread/52289
-	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
-	do
-		src="${dst}".sample
-		if [[ -f "${dst}" ]]; then
-			einfo "Leaving old '${dst}'"
-		else
-			einfo "Created default '${dst}'. Please edit."
-			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
-			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
-		fi
-	done
-	chown -R jabber:jabber "${ROOT}"/opt/openfire
-}

diff --git a/net-im/openfire/openfire-4.0.0.ebuild b/net-im/openfire/openfire-4.0.0.ebuild
deleted file mode 100644
index 957cc4c..0000000
--- a/net-im/openfire/openfire-4.0.0.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-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.7"
-DEPEND="net-im/jabber-base
-	~dev-java/ant-contrib-1.0_beta2
-	>=virtual/jdk-1.7"
-
-S=${WORKDIR}/${PN}_src
-
-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_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)
-
-	# delete nativeAuth prebuilt libs:
-	#    uses outdated unmaintained libshaj, does not support amd64
-	rm -rfv target/openfire/resources/nativeAuth || die
-}
-
-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
-	newins target/openfire/conf/security.xml security.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() {
-	local src
-	local dst
-
-	# http://community.igniterealtime.org/thread/52289
-	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
-	do
-		src="${dst}".sample
-		if [[ -f "${dst}" ]]; then
-			einfo "Leaving old '${dst}'"
-		else
-			einfo "Created default '${dst}'. Please edit."
-			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
-			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
-		fi
-	done
-	chown -R jabber:jabber "${ROOT}"/opt/openfire
-}

diff --git a/net-im/openfire/openfire-4.0.1.ebuild b/net-im/openfire/openfire-4.0.1.ebuild
deleted file mode 100644
index 957cc4c..0000000
--- a/net-im/openfire/openfire-4.0.1.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-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.7"
-DEPEND="net-im/jabber-base
-	~dev-java/ant-contrib-1.0_beta2
-	>=virtual/jdk-1.7"
-
-S=${WORKDIR}/${PN}_src
-
-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_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)
-
-	# delete nativeAuth prebuilt libs:
-	#    uses outdated unmaintained libshaj, does not support amd64
-	rm -rfv target/openfire/resources/nativeAuth || die
-}
-
-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
-	newins target/openfire/conf/security.xml security.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() {
-	local src
-	local dst
-
-	# http://community.igniterealtime.org/thread/52289
-	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
-	do
-		src="${dst}".sample
-		if [[ -f "${dst}" ]]; then
-			einfo "Leaving old '${dst}'"
-		else
-			einfo "Created default '${dst}'. Please edit."
-			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
-			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
-		fi
-	done
-	chown -R jabber:jabber "${ROOT}"/opt/openfire
-}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2016-08-26 15:45 Sergei Trofimovich
  0 siblings, 0 replies; 31+ messages in thread
From: Sergei Trofimovich @ 2016-08-26 15:45 UTC (permalink / raw
  To: gentoo-commits

commit:     57a96c8fc1fa61551258720850cd6da661505ba5
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 26 15:44:56 2016 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Aug 26 15:44:56 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57a96c8f

net-im/openfire: bump up to 4.0.3

Package-Manager: portage-2.3.0

 net-im/openfire/Manifest              |   1 +
 net-im/openfire/openfire-4.0.3.ebuild | 108 ++++++++++++++++++++++++++++++++++
 2 files changed, 109 insertions(+)

diff --git a/net-im/openfire/Manifest b/net-im/openfire/Manifest
index d73dd4e..e922192 100644
--- a/net-im/openfire/Manifest
+++ b/net-im/openfire/Manifest
@@ -1 +1,2 @@
 DIST openfire_src_4_0_2.tar.gz 98972324 SHA256 62e7a8a735431d45f5ad72a8ae9603743277372702e782ea514323bfd80a4efb SHA512 444762fec588d4b205c0d6247098861b246eb3f74061dfe47314a33daeb57e228e62132efac3d50fbffd31bd779ba986d0b59afe375d27f3f2923cecbd4f873a WHIRLPOOL 3259e09f1bf422415b0722bff96524be6831ee8d104b91b15fc2b8b25569da5e5f4920ad08080c4e44f1d9c74049c8b0344bbe534b0c3809483745e2452d08e9
+DIST openfire_src_4_0_3.tar.gz 99135040 SHA256 2eae0ac43826e0e084363c8640fa26ac6ec1369aa354bd2bdb268c2f801b2e55 SHA512 d610ac3d20f1d369f4ad5a695dccec6f5523d65675f6cc78cc6728ea03ee860668dae4fbfe13bf627df1f3e34b72306894f06d63cd3e32a93d3b47211e07a631 WHIRLPOOL 0887e71b4090fdd0c4236054b3df3791dc30da978bb45e3742459f0f3aed60d9402a9586d4a71038185edbf4c3dfb59fd79387cd3e7ce0e0038dca351f7be734

diff --git a/net-im/openfire/openfire-4.0.3.ebuild b/net-im/openfire/openfire-4.0.3.ebuild
new file mode 100644
index 00000000..957cc4c
--- /dev/null
+++ b/net-im/openfire/openfire-4.0.3.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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.7"
+DEPEND="net-im/jabber-base
+	~dev-java/ant-contrib-1.0_beta2
+	>=virtual/jdk-1.7"
+
+S=${WORKDIR}/${PN}_src
+
+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_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)
+
+	# delete nativeAuth prebuilt libs:
+	#    uses outdated unmaintained libshaj, does not support amd64
+	rm -rfv target/openfire/resources/nativeAuth || die
+}
+
+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
+	newins target/openfire/conf/security.xml security.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() {
+	local src
+	local dst
+
+	# http://community.igniterealtime.org/thread/52289
+	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
+	do
+		src="${dst}".sample
+		if [[ -f "${dst}" ]]; then
+			einfo "Leaving old '${dst}'"
+		else
+			einfo "Created default '${dst}'. Please edit."
+			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
+			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
+		fi
+	done
+	chown -R jabber:jabber "${ROOT}"/opt/openfire
+}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2016-12-01 22:44 Sergei Trofimovich
  0 siblings, 0 replies; 31+ messages in thread
From: Sergei Trofimovich @ 2016-12-01 22:44 UTC (permalink / raw
  To: gentoo-commits

commit:     cbee4ac46275e8379c6c2301c4fc0289380033de
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  1 22:43:49 2016 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Dec  1 22:44:08 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbee4ac4

net-im/openfire: bump up to 4.0.4

Package-Manager: portage-2.3.2

 net-im/openfire/Manifest              |   1 +
 net-im/openfire/openfire-4.0.4.ebuild | 108 ++++++++++++++++++++++++++++++++++
 2 files changed, 109 insertions(+)

diff --git a/net-im/openfire/Manifest b/net-im/openfire/Manifest
index e922192..f45c277 100644
--- a/net-im/openfire/Manifest
+++ b/net-im/openfire/Manifest
@@ -1,2 +1,3 @@
 DIST openfire_src_4_0_2.tar.gz 98972324 SHA256 62e7a8a735431d45f5ad72a8ae9603743277372702e782ea514323bfd80a4efb SHA512 444762fec588d4b205c0d6247098861b246eb3f74061dfe47314a33daeb57e228e62132efac3d50fbffd31bd779ba986d0b59afe375d27f3f2923cecbd4f873a WHIRLPOOL 3259e09f1bf422415b0722bff96524be6831ee8d104b91b15fc2b8b25569da5e5f4920ad08080c4e44f1d9c74049c8b0344bbe534b0c3809483745e2452d08e9
 DIST openfire_src_4_0_3.tar.gz 99135040 SHA256 2eae0ac43826e0e084363c8640fa26ac6ec1369aa354bd2bdb268c2f801b2e55 SHA512 d610ac3d20f1d369f4ad5a695dccec6f5523d65675f6cc78cc6728ea03ee860668dae4fbfe13bf627df1f3e34b72306894f06d63cd3e32a93d3b47211e07a631 WHIRLPOOL 0887e71b4090fdd0c4236054b3df3791dc30da978bb45e3742459f0f3aed60d9402a9586d4a71038185edbf4c3dfb59fd79387cd3e7ce0e0038dca351f7be734
+DIST openfire_src_4_0_4.tar.gz 99136077 SHA256 66a7b4f00f2f15e6899b0fd8375914838b9401e5defe6dc3b1236c62e7f379a9 SHA512 9d6b80b3d96ba180ad9598fe07926eb1ae617d202842aec1ee460b1511a24d1b93de203fd5bbf20fd08ef738ae5d3e603e741b9856829fdde4d02007595ab50b WHIRLPOOL 3f6b3b5011ea0508351d90f6248e07fb503f5e7212dcca1ef77fd9fe7f3ac6ae5d0a156083edb74f867a871e5f4d2472937031d8ea6c7a4721d8ce7fa69c42a1

diff --git a/net-im/openfire/openfire-4.0.4.ebuild b/net-im/openfire/openfire-4.0.4.ebuild
new file mode 100644
index 00000000..957cc4c
--- /dev/null
+++ b/net-im/openfire/openfire-4.0.4.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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.7"
+DEPEND="net-im/jabber-base
+	~dev-java/ant-contrib-1.0_beta2
+	>=virtual/jdk-1.7"
+
+S=${WORKDIR}/${PN}_src
+
+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_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)
+
+	# delete nativeAuth prebuilt libs:
+	#    uses outdated unmaintained libshaj, does not support amd64
+	rm -rfv target/openfire/resources/nativeAuth || die
+}
+
+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
+	newins target/openfire/conf/security.xml security.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() {
+	local src
+	local dst
+
+	# http://community.igniterealtime.org/thread/52289
+	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
+	do
+		src="${dst}".sample
+		if [[ -f "${dst}" ]]; then
+			einfo "Leaving old '${dst}'"
+		else
+			einfo "Created default '${dst}'. Please edit."
+			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
+			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
+		fi
+	done
+	chown -R jabber:jabber "${ROOT}"/opt/openfire
+}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2016-12-21 21:44 Sergei Trofimovich
  0 siblings, 0 replies; 31+ messages in thread
From: Sergei Trofimovich @ 2016-12-21 21:44 UTC (permalink / raw
  To: gentoo-commits

commit:     9e89e0c6efe176517e174c1ed4aab556f013c532
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 21 21:43:50 2016 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Dec 21 21:44:04 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e89e0c6

net-im/openfire: bump up to 4.1.0

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-im/openfire/Manifest              |   1 +
 net-im/openfire/openfire-4.1.0.ebuild | 108 ++++++++++++++++++++++++++++++++++
 2 files changed, 109 insertions(+)

diff --git a/net-im/openfire/Manifest b/net-im/openfire/Manifest
index f45c277..c2537f6 100644
--- a/net-im/openfire/Manifest
+++ b/net-im/openfire/Manifest
@@ -1,3 +1,4 @@
 DIST openfire_src_4_0_2.tar.gz 98972324 SHA256 62e7a8a735431d45f5ad72a8ae9603743277372702e782ea514323bfd80a4efb SHA512 444762fec588d4b205c0d6247098861b246eb3f74061dfe47314a33daeb57e228e62132efac3d50fbffd31bd779ba986d0b59afe375d27f3f2923cecbd4f873a WHIRLPOOL 3259e09f1bf422415b0722bff96524be6831ee8d104b91b15fc2b8b25569da5e5f4920ad08080c4e44f1d9c74049c8b0344bbe534b0c3809483745e2452d08e9
 DIST openfire_src_4_0_3.tar.gz 99135040 SHA256 2eae0ac43826e0e084363c8640fa26ac6ec1369aa354bd2bdb268c2f801b2e55 SHA512 d610ac3d20f1d369f4ad5a695dccec6f5523d65675f6cc78cc6728ea03ee860668dae4fbfe13bf627df1f3e34b72306894f06d63cd3e32a93d3b47211e07a631 WHIRLPOOL 0887e71b4090fdd0c4236054b3df3791dc30da978bb45e3742459f0f3aed60d9402a9586d4a71038185edbf4c3dfb59fd79387cd3e7ce0e0038dca351f7be734
 DIST openfire_src_4_0_4.tar.gz 99136077 SHA256 66a7b4f00f2f15e6899b0fd8375914838b9401e5defe6dc3b1236c62e7f379a9 SHA512 9d6b80b3d96ba180ad9598fe07926eb1ae617d202842aec1ee460b1511a24d1b93de203fd5bbf20fd08ef738ae5d3e603e741b9856829fdde4d02007595ab50b WHIRLPOOL 3f6b3b5011ea0508351d90f6248e07fb503f5e7212dcca1ef77fd9fe7f3ac6ae5d0a156083edb74f867a871e5f4d2472937031d8ea6c7a4721d8ce7fa69c42a1
+DIST openfire_src_4_1_0.tar.gz 103449811 SHA256 3e52b27ac9ed5af1acb7065e84a416ad075994445b554e78d7c966724612cbf2 SHA512 3a4e26c260f6a91ece6e6d3fc7c3302b6f1735725ce2686bab8773981dad63ef653a25748852c32e4df8f6bde2882db4043d94b69eb774a5280285fd5b7cd96b WHIRLPOOL da56663dc9cdf831e04aebddff2eb2705b9cb603a0b5110fee1dc00d41252050ba326c84883fb69894ac064a339a11e22ef44c35348de0bb655f55bc8c34c72d

diff --git a/net-im/openfire/openfire-4.1.0.ebuild b/net-im/openfire/openfire-4.1.0.ebuild
new file mode 100644
index 00000000..957cc4c
--- /dev/null
+++ b/net-im/openfire/openfire-4.1.0.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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.7"
+DEPEND="net-im/jabber-base
+	~dev-java/ant-contrib-1.0_beta2
+	>=virtual/jdk-1.7"
+
+S=${WORKDIR}/${PN}_src
+
+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_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)
+
+	# delete nativeAuth prebuilt libs:
+	#    uses outdated unmaintained libshaj, does not support amd64
+	rm -rfv target/openfire/resources/nativeAuth || die
+}
+
+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
+	newins target/openfire/conf/security.xml security.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() {
+	local src
+	local dst
+
+	# http://community.igniterealtime.org/thread/52289
+	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
+	do
+		src="${dst}".sample
+		if [[ -f "${dst}" ]]; then
+			einfo "Leaving old '${dst}'"
+		else
+			einfo "Created default '${dst}'. Please edit."
+			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
+			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
+		fi
+	done
+	chown -R jabber:jabber "${ROOT}"/opt/openfire
+}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2016-12-24  9:24 Aaron Bauman
  0 siblings, 0 replies; 31+ messages in thread
From: Aaron Bauman @ 2016-12-24  9:24 UTC (permalink / raw
  To: gentoo-commits

commit:     13e4558d145a265302d6071fbc5392a810e34c6f
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 24 09:23:40 2016 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Sat Dec 24 09:23:40 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13e4558d

net-im/openfire: amd64 stable

Gentoo-bug: 603604

Package-Manager: portage-2.3.0

 net-im/openfire/openfire-4.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-im/openfire/openfire-4.1.0.ebuild b/net-im/openfire/openfire-4.1.0.ebuild
index 957cc4c..5cddb6e 100644
--- a/net-im/openfire/openfire-4.1.0.ebuild
+++ b/net-im/openfire/openfire-4.1.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="http://www.igniterealtime.org/builds/openfire/${MY_P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="doc"
 
 RDEPEND=">=virtual/jre-1.7"


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2016-12-29 10:45 Agostino Sarubbo
  0 siblings, 0 replies; 31+ messages in thread
From: Agostino Sarubbo @ 2016-12-29 10:45 UTC (permalink / raw
  To: gentoo-commits

commit:     39a286658aa89ff9d74a1c9f990a69265d75a2ec
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 29 10:42:23 2016 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Dec 29 10:44:50 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39a28665

net-im/openfire: x86 stable wrt bug #603604

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 net-im/openfire/openfire-4.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-im/openfire/openfire-4.1.0.ebuild b/net-im/openfire/openfire-4.1.0.ebuild
index 5cddb6e..f47ad14 100644
--- a/net-im/openfire/openfire-4.1.0.ebuild
+++ b/net-im/openfire/openfire-4.1.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="http://www.igniterealtime.org/builds/openfire/${MY_P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="doc"
 
 RDEPEND=">=virtual/jre-1.7"


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2016-12-30 10:27 Sergei Trofimovich
  0 siblings, 0 replies; 31+ messages in thread
From: Sergei Trofimovich @ 2016-12-30 10:27 UTC (permalink / raw
  To: gentoo-commits

commit:     4ab21af1ea2b469a2de10938bb996d21b209a262
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 30 10:27:22 2016 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Dec 30 10:27:22 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ab21af1

net-im/openfire: remove old versions, bug #603604

Those are affected by CVE-2015-6972, CVE-2015-6973, CVE-2015-7707

Bug: https://bugs.gentoo.org/603604

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-im/openfire/Manifest              |   3 -
 net-im/openfire/openfire-4.0.2.ebuild | 108 ----------------------------------
 net-im/openfire/openfire-4.0.3.ebuild | 108 ----------------------------------
 net-im/openfire/openfire-4.0.4.ebuild | 108 ----------------------------------
 4 files changed, 327 deletions(-)

diff --git a/net-im/openfire/Manifest b/net-im/openfire/Manifest
index c2537f6..206d89c 100644
--- a/net-im/openfire/Manifest
+++ b/net-im/openfire/Manifest
@@ -1,4 +1 @@
-DIST openfire_src_4_0_2.tar.gz 98972324 SHA256 62e7a8a735431d45f5ad72a8ae9603743277372702e782ea514323bfd80a4efb SHA512 444762fec588d4b205c0d6247098861b246eb3f74061dfe47314a33daeb57e228e62132efac3d50fbffd31bd779ba986d0b59afe375d27f3f2923cecbd4f873a WHIRLPOOL 3259e09f1bf422415b0722bff96524be6831ee8d104b91b15fc2b8b25569da5e5f4920ad08080c4e44f1d9c74049c8b0344bbe534b0c3809483745e2452d08e9
-DIST openfire_src_4_0_3.tar.gz 99135040 SHA256 2eae0ac43826e0e084363c8640fa26ac6ec1369aa354bd2bdb268c2f801b2e55 SHA512 d610ac3d20f1d369f4ad5a695dccec6f5523d65675f6cc78cc6728ea03ee860668dae4fbfe13bf627df1f3e34b72306894f06d63cd3e32a93d3b47211e07a631 WHIRLPOOL 0887e71b4090fdd0c4236054b3df3791dc30da978bb45e3742459f0f3aed60d9402a9586d4a71038185edbf4c3dfb59fd79387cd3e7ce0e0038dca351f7be734
-DIST openfire_src_4_0_4.tar.gz 99136077 SHA256 66a7b4f00f2f15e6899b0fd8375914838b9401e5defe6dc3b1236c62e7f379a9 SHA512 9d6b80b3d96ba180ad9598fe07926eb1ae617d202842aec1ee460b1511a24d1b93de203fd5bbf20fd08ef738ae5d3e603e741b9856829fdde4d02007595ab50b WHIRLPOOL 3f6b3b5011ea0508351d90f6248e07fb503f5e7212dcca1ef77fd9fe7f3ac6ae5d0a156083edb74f867a871e5f4d2472937031d8ea6c7a4721d8ce7fa69c42a1
 DIST openfire_src_4_1_0.tar.gz 103449811 SHA256 3e52b27ac9ed5af1acb7065e84a416ad075994445b554e78d7c966724612cbf2 SHA512 3a4e26c260f6a91ece6e6d3fc7c3302b6f1735725ce2686bab8773981dad63ef653a25748852c32e4df8f6bde2882db4043d94b69eb774a5280285fd5b7cd96b WHIRLPOOL da56663dc9cdf831e04aebddff2eb2705b9cb603a0b5110fee1dc00d41252050ba326c84883fb69894ac064a339a11e22ef44c35348de0bb655f55bc8c34c72d

diff --git a/net-im/openfire/openfire-4.0.2.ebuild b/net-im/openfire/openfire-4.0.2.ebuild
deleted file mode 100644
index f47ad14..00000000
--- a/net-im/openfire/openfire-4.0.2.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-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.7"
-DEPEND="net-im/jabber-base
-	~dev-java/ant-contrib-1.0_beta2
-	>=virtual/jdk-1.7"
-
-S=${WORKDIR}/${PN}_src
-
-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_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)
-
-	# delete nativeAuth prebuilt libs:
-	#    uses outdated unmaintained libshaj, does not support amd64
-	rm -rfv target/openfire/resources/nativeAuth || die
-}
-
-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
-	newins target/openfire/conf/security.xml security.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() {
-	local src
-	local dst
-
-	# http://community.igniterealtime.org/thread/52289
-	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
-	do
-		src="${dst}".sample
-		if [[ -f "${dst}" ]]; then
-			einfo "Leaving old '${dst}'"
-		else
-			einfo "Created default '${dst}'. Please edit."
-			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
-			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
-		fi
-	done
-	chown -R jabber:jabber "${ROOT}"/opt/openfire
-}

diff --git a/net-im/openfire/openfire-4.0.3.ebuild b/net-im/openfire/openfire-4.0.3.ebuild
deleted file mode 100644
index 957cc4c..00000000
--- a/net-im/openfire/openfire-4.0.3.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-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.7"
-DEPEND="net-im/jabber-base
-	~dev-java/ant-contrib-1.0_beta2
-	>=virtual/jdk-1.7"
-
-S=${WORKDIR}/${PN}_src
-
-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_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)
-
-	# delete nativeAuth prebuilt libs:
-	#    uses outdated unmaintained libshaj, does not support amd64
-	rm -rfv target/openfire/resources/nativeAuth || die
-}
-
-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
-	newins target/openfire/conf/security.xml security.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() {
-	local src
-	local dst
-
-	# http://community.igniterealtime.org/thread/52289
-	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
-	do
-		src="${dst}".sample
-		if [[ -f "${dst}" ]]; then
-			einfo "Leaving old '${dst}'"
-		else
-			einfo "Created default '${dst}'. Please edit."
-			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
-			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
-		fi
-	done
-	chown -R jabber:jabber "${ROOT}"/opt/openfire
-}

diff --git a/net-im/openfire/openfire-4.0.4.ebuild b/net-im/openfire/openfire-4.0.4.ebuild
deleted file mode 100644
index 957cc4c..00000000
--- a/net-im/openfire/openfire-4.0.4.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-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.7"
-DEPEND="net-im/jabber-base
-	~dev-java/ant-contrib-1.0_beta2
-	>=virtual/jdk-1.7"
-
-S=${WORKDIR}/${PN}_src
-
-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_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)
-
-	# delete nativeAuth prebuilt libs:
-	#    uses outdated unmaintained libshaj, does not support amd64
-	rm -rfv target/openfire/resources/nativeAuth || die
-}
-
-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
-	newins target/openfire/conf/security.xml security.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() {
-	local src
-	local dst
-
-	# http://community.igniterealtime.org/thread/52289
-	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
-	do
-		src="${dst}".sample
-		if [[ -f "${dst}" ]]; then
-			einfo "Leaving old '${dst}'"
-		else
-			einfo "Created default '${dst}'. Please edit."
-			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
-			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
-		fi
-	done
-	chown -R jabber:jabber "${ROOT}"/opt/openfire
-}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2017-01-01  7:21 Sergei Trofimovich
  0 siblings, 0 replies; 31+ messages in thread
From: Sergei Trofimovich @ 2017-01-01  7:21 UTC (permalink / raw
  To: gentoo-commits

commit:     d6c548d65d4994b940b589c71fea78a474fb018f
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  1 07:11:58 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Jan  1 07:21:21 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6c548d6

net-im/openfire: bump up to 4.1.1

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-im/openfire/Manifest              |   1 +
 net-im/openfire/openfire-4.1.1.ebuild | 108 ++++++++++++++++++++++++++++++++++
 2 files changed, 109 insertions(+)

diff --git a/net-im/openfire/Manifest b/net-im/openfire/Manifest
index 206d89c..790a7e5 100644
--- a/net-im/openfire/Manifest
+++ b/net-im/openfire/Manifest
@@ -1 +1,2 @@
 DIST openfire_src_4_1_0.tar.gz 103449811 SHA256 3e52b27ac9ed5af1acb7065e84a416ad075994445b554e78d7c966724612cbf2 SHA512 3a4e26c260f6a91ece6e6d3fc7c3302b6f1735725ce2686bab8773981dad63ef653a25748852c32e4df8f6bde2882db4043d94b69eb774a5280285fd5b7cd96b WHIRLPOOL da56663dc9cdf831e04aebddff2eb2705b9cb603a0b5110fee1dc00d41252050ba326c84883fb69894ac064a339a11e22ef44c35348de0bb655f55bc8c34c72d
+DIST openfire_src_4_1_1.tar.gz 103449258 SHA256 f7368c3b141bd1e49a3fcceadff5bcddd06c77af8fa5f85fe55b945474f15424 SHA512 a0eb246e414cfa54060fd0749e01d579864178f23febd875817554af170a24044675f8c0c5ca5538e0524909648e5d0002bb99a30edfd1ddcfcd32254b520f4d WHIRLPOOL f666017d9744bf80ddf1f1389260d4f66ade6616b72b20d09c3c18e9801deebb6212a143bde445fc059a9d8cac086963330d1dc2a8592bcde0467177fe36c210

diff --git a/net-im/openfire/openfire-4.1.1.ebuild b/net-im/openfire/openfire-4.1.1.ebuild
new file mode 100644
index 00000000..4329e95
--- /dev/null
+++ b/net-im/openfire/openfire-4.1.1.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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.7"
+DEPEND="net-im/jabber-base
+	~dev-java/ant-contrib-1.0_beta2
+	>=virtual/jdk-1.7"
+
+S=${WORKDIR}/${PN}_src
+
+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_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)
+
+	# delete nativeAuth prebuilt libs:
+	#    uses outdated unmaintained libshaj, does not support amd64
+	rm -rfv target/openfire/resources/nativeAuth || die
+}
+
+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
+	newins target/openfire/conf/security.xml security.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() {
+	local src
+	local dst
+
+	# http://community.igniterealtime.org/thread/52289
+	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
+	do
+		src="${dst}".sample
+		if [[ -f "${dst}" ]]; then
+			einfo "Leaving old '${dst}'"
+		else
+			einfo "Created default '${dst}'. Please edit."
+			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
+			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
+		fi
+	done
+	chown -R jabber:jabber "${ROOT}"/opt/openfire
+}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2017-02-19 10:59 Sergei Trofimovich
  0 siblings, 0 replies; 31+ messages in thread
From: Sergei Trofimovich @ 2017-02-19 10:59 UTC (permalink / raw
  To: gentoo-commits

commit:     0209d6d57234fedd97fd1a6a329ac604f94863eb
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 19 10:42:00 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Feb 19 10:59:10 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0209d6d5

net-im/openfire: bump up to 4.1.2

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-im/openfire/Manifest              |   1 +
 net-im/openfire/openfire-4.1.2.ebuild | 108 ++++++++++++++++++++++++++++++++++
 2 files changed, 109 insertions(+)

diff --git a/net-im/openfire/Manifest b/net-im/openfire/Manifest
index 790a7e511f..2f1b4bd67c 100644
--- a/net-im/openfire/Manifest
+++ b/net-im/openfire/Manifest
@@ -1,2 +1,3 @@
 DIST openfire_src_4_1_0.tar.gz 103449811 SHA256 3e52b27ac9ed5af1acb7065e84a416ad075994445b554e78d7c966724612cbf2 SHA512 3a4e26c260f6a91ece6e6d3fc7c3302b6f1735725ce2686bab8773981dad63ef653a25748852c32e4df8f6bde2882db4043d94b69eb774a5280285fd5b7cd96b WHIRLPOOL da56663dc9cdf831e04aebddff2eb2705b9cb603a0b5110fee1dc00d41252050ba326c84883fb69894ac064a339a11e22ef44c35348de0bb655f55bc8c34c72d
 DIST openfire_src_4_1_1.tar.gz 103449258 SHA256 f7368c3b141bd1e49a3fcceadff5bcddd06c77af8fa5f85fe55b945474f15424 SHA512 a0eb246e414cfa54060fd0749e01d579864178f23febd875817554af170a24044675f8c0c5ca5538e0524909648e5d0002bb99a30edfd1ddcfcd32254b520f4d WHIRLPOOL f666017d9744bf80ddf1f1389260d4f66ade6616b72b20d09c3c18e9801deebb6212a143bde445fc059a9d8cac086963330d1dc2a8592bcde0467177fe36c210
+DIST openfire_src_4_1_2.tar.gz 103449363 SHA256 0478bad379359452f1fca38ad52ceddfb259a3816954da9bc7cc4b782c13aa7d SHA512 ecca4d74e295cfdc5e59ca7b2eae37accacf86bdc44f023127004381fc93c24806470fdfacd79d7a610a9c35ff89645aebc18f2b4bc7291357467dffa9d6857a WHIRLPOOL d956f75a988a592d1a85958004eefdaacc83cbe82971ba9a7d3ca588ff39710dddde16906ea0c97f48d0bb02e6acd605f01d01720926dde550d532e165b5285f

diff --git a/net-im/openfire/openfire-4.1.2.ebuild b/net-im/openfire/openfire-4.1.2.ebuild
new file mode 100644
index 0000000000..4329e95cca
--- /dev/null
+++ b/net-im/openfire/openfire-4.1.2.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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.7"
+DEPEND="net-im/jabber-base
+	~dev-java/ant-contrib-1.0_beta2
+	>=virtual/jdk-1.7"
+
+S=${WORKDIR}/${PN}_src
+
+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_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)
+
+	# delete nativeAuth prebuilt libs:
+	#    uses outdated unmaintained libshaj, does not support amd64
+	rm -rfv target/openfire/resources/nativeAuth || die
+}
+
+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
+	newins target/openfire/conf/security.xml security.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() {
+	local src
+	local dst
+
+	# http://community.igniterealtime.org/thread/52289
+	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
+	do
+		src="${dst}".sample
+		if [[ -f "${dst}" ]]; then
+			einfo "Leaving old '${dst}'"
+		else
+			einfo "Created default '${dst}'. Please edit."
+			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
+			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
+		fi
+	done
+	chown -R jabber:jabber "${ROOT}"/opt/openfire
+}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2017-02-25  9:33 Sergei Trofimovich
  0 siblings, 0 replies; 31+ messages in thread
From: Sergei Trofimovich @ 2017-02-25  9:33 UTC (permalink / raw
  To: gentoo-commits

commit:     371ff88bb88c63aecec61d1cb816a38eb8a3a4c7
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 25 09:25:28 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Feb 25 09:32:08 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=371ff88b

net-im/openfire: bump up to 4.1.3

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-im/openfire/Manifest              |   1 +
 net-im/openfire/openfire-4.1.3.ebuild | 108 ++++++++++++++++++++++++++++++++++
 2 files changed, 109 insertions(+)

diff --git a/net-im/openfire/Manifest b/net-im/openfire/Manifest
index 2f1b4bd67c..d5e960ed3d 100644
--- a/net-im/openfire/Manifest
+++ b/net-im/openfire/Manifest
@@ -1,3 +1,4 @@
 DIST openfire_src_4_1_0.tar.gz 103449811 SHA256 3e52b27ac9ed5af1acb7065e84a416ad075994445b554e78d7c966724612cbf2 SHA512 3a4e26c260f6a91ece6e6d3fc7c3302b6f1735725ce2686bab8773981dad63ef653a25748852c32e4df8f6bde2882db4043d94b69eb774a5280285fd5b7cd96b WHIRLPOOL da56663dc9cdf831e04aebddff2eb2705b9cb603a0b5110fee1dc00d41252050ba326c84883fb69894ac064a339a11e22ef44c35348de0bb655f55bc8c34c72d
 DIST openfire_src_4_1_1.tar.gz 103449258 SHA256 f7368c3b141bd1e49a3fcceadff5bcddd06c77af8fa5f85fe55b945474f15424 SHA512 a0eb246e414cfa54060fd0749e01d579864178f23febd875817554af170a24044675f8c0c5ca5538e0524909648e5d0002bb99a30edfd1ddcfcd32254b520f4d WHIRLPOOL f666017d9744bf80ddf1f1389260d4f66ade6616b72b20d09c3c18e9801deebb6212a143bde445fc059a9d8cac086963330d1dc2a8592bcde0467177fe36c210
 DIST openfire_src_4_1_2.tar.gz 103449363 SHA256 0478bad379359452f1fca38ad52ceddfb259a3816954da9bc7cc4b782c13aa7d SHA512 ecca4d74e295cfdc5e59ca7b2eae37accacf86bdc44f023127004381fc93c24806470fdfacd79d7a610a9c35ff89645aebc18f2b4bc7291357467dffa9d6857a WHIRLPOOL d956f75a988a592d1a85958004eefdaacc83cbe82971ba9a7d3ca588ff39710dddde16906ea0c97f48d0bb02e6acd605f01d01720926dde550d532e165b5285f
+DIST openfire_src_4_1_3.tar.gz 103450246 SHA256 35c9f56f47109605157846730a54238e3d6faabd2a5ed865eebc27a3bbb36423 SHA512 8fe2cc4a803aa9520322968e8ebab86d43655b7c6fedce663fe296a041cb24beb5aed187db19bcc25f034b1114c1c4846ba325a41ead2b81bbcf5ca54fb2beb8 WHIRLPOOL 703fd120420a661fa9f9bb7057e18ccc1b3e54c11eb688bff0308e39573040da11b3a8b5c001226f8eb6b8900abd3ddb30012fed6ed0b8aca8612ec95f50ca6e

diff --git a/net-im/openfire/openfire-4.1.3.ebuild b/net-im/openfire/openfire-4.1.3.ebuild
new file mode 100644
index 0000000000..4329e95cca
--- /dev/null
+++ b/net-im/openfire/openfire-4.1.3.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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.7"
+DEPEND="net-im/jabber-base
+	~dev-java/ant-contrib-1.0_beta2
+	>=virtual/jdk-1.7"
+
+S=${WORKDIR}/${PN}_src
+
+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_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)
+
+	# delete nativeAuth prebuilt libs:
+	#    uses outdated unmaintained libshaj, does not support amd64
+	rm -rfv target/openfire/resources/nativeAuth || die
+}
+
+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
+	newins target/openfire/conf/security.xml security.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() {
+	local src
+	local dst
+
+	# http://community.igniterealtime.org/thread/52289
+	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
+	do
+		src="${dst}".sample
+		if [[ -f "${dst}" ]]; then
+			einfo "Leaving old '${dst}'"
+		else
+			einfo "Created default '${dst}'. Please edit."
+			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
+			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
+		fi
+	done
+	chown -R jabber:jabber "${ROOT}"/opt/openfire
+}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2017-05-04 22:28 Sergei Trofimovich
  0 siblings, 0 replies; 31+ messages in thread
From: Sergei Trofimovich @ 2017-05-04 22:28 UTC (permalink / raw
  To: gentoo-commits

commit:     8d57200a6ed571c42497e230beb17a9fdbeec35e
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu May  4 22:27:46 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu May  4 22:28:09 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d57200a

net-im/openfire: bump up to 4.1.4

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-im/openfire/Manifest              |   1 +
 net-im/openfire/openfire-4.1.4.ebuild | 107 ++++++++++++++++++++++++++++++++++
 2 files changed, 108 insertions(+)

diff --git a/net-im/openfire/Manifest b/net-im/openfire/Manifest
index d5e960ed3d9..6ae56953c39 100644
--- a/net-im/openfire/Manifest
+++ b/net-im/openfire/Manifest
@@ -2,3 +2,4 @@ DIST openfire_src_4_1_0.tar.gz 103449811 SHA256 3e52b27ac9ed5af1acb7065e84a416ad
 DIST openfire_src_4_1_1.tar.gz 103449258 SHA256 f7368c3b141bd1e49a3fcceadff5bcddd06c77af8fa5f85fe55b945474f15424 SHA512 a0eb246e414cfa54060fd0749e01d579864178f23febd875817554af170a24044675f8c0c5ca5538e0524909648e5d0002bb99a30edfd1ddcfcd32254b520f4d WHIRLPOOL f666017d9744bf80ddf1f1389260d4f66ade6616b72b20d09c3c18e9801deebb6212a143bde445fc059a9d8cac086963330d1dc2a8592bcde0467177fe36c210
 DIST openfire_src_4_1_2.tar.gz 103449363 SHA256 0478bad379359452f1fca38ad52ceddfb259a3816954da9bc7cc4b782c13aa7d SHA512 ecca4d74e295cfdc5e59ca7b2eae37accacf86bdc44f023127004381fc93c24806470fdfacd79d7a610a9c35ff89645aebc18f2b4bc7291357467dffa9d6857a WHIRLPOOL d956f75a988a592d1a85958004eefdaacc83cbe82971ba9a7d3ca588ff39710dddde16906ea0c97f48d0bb02e6acd605f01d01720926dde550d532e165b5285f
 DIST openfire_src_4_1_3.tar.gz 103450246 SHA256 35c9f56f47109605157846730a54238e3d6faabd2a5ed865eebc27a3bbb36423 SHA512 8fe2cc4a803aa9520322968e8ebab86d43655b7c6fedce663fe296a041cb24beb5aed187db19bcc25f034b1114c1c4846ba325a41ead2b81bbcf5ca54fb2beb8 WHIRLPOOL 703fd120420a661fa9f9bb7057e18ccc1b3e54c11eb688bff0308e39573040da11b3a8b5c001226f8eb6b8900abd3ddb30012fed6ed0b8aca8612ec95f50ca6e
+DIST openfire_src_4_1_4.tar.gz 103457596 SHA256 46aa8fe815b941c423a4575b35204a6b3c74b7746a49420d6444bc018cd2257b SHA512 e9b7bb62656b376ffc52db5403c262d5a986698282ac9eec02d3a893076cc6df3f4666e908672a9d65cb313505fcc377fb3d7bb62f30d665aa8523cab7d714bd WHIRLPOOL 13009d922ebe292380c4b9cafcd1ef13a1bb119a728762da7c1b7f62d4515577f1e63014fbdaeba596cacd463c97935768f31611c67ed62d951840ded77d9aac

diff --git a/net-im/openfire/openfire-4.1.4.ebuild b/net-im/openfire/openfire-4.1.4.ebuild
new file mode 100644
index 00000000000..e6feaf1a438
--- /dev/null
+++ b/net-im/openfire/openfire-4.1.4.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+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.7"
+DEPEND="net-im/jabber-base
+	~dev-java/ant-contrib-1.0_beta2
+	>=virtual/jdk-1.7"
+
+S=${WORKDIR}/${PN}_src
+
+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_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)
+
+	# delete nativeAuth prebuilt libs:
+	#    uses outdated unmaintained libshaj, does not support amd64
+	rm -rfv target/openfire/resources/nativeAuth || die
+}
+
+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
+	newins target/openfire/conf/security.xml security.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() {
+	local src
+	local dst
+
+	# http://community.igniterealtime.org/thread/52289
+	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
+	do
+		src="${dst}".sample
+		if [[ -f "${dst}" ]]; then
+			einfo "Leaving old '${dst}'"
+		else
+			einfo "Created default '${dst}'. Please edit."
+			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
+			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
+		fi
+	done
+	chown -R jabber:jabber "${ROOT}"/opt/openfire
+}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2017-06-30 21:01 Sergei Trofimovich
  0 siblings, 0 replies; 31+ messages in thread
From: Sergei Trofimovich @ 2017-06-30 21:01 UTC (permalink / raw
  To: gentoo-commits

commit:     e48a07d30703464889b08cf72773da5e67e892ac
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 30 21:01:24 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Jun 30 21:01:35 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e48a07d3

net-im/openfire: bump up to 4.1.5

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 net-im/openfire/Manifest              |   1 +
 net-im/openfire/openfire-4.1.5.ebuild | 107 ++++++++++++++++++++++++++++++++++
 2 files changed, 108 insertions(+)

diff --git a/net-im/openfire/Manifest b/net-im/openfire/Manifest
index 6ae56953c39..2c5e17a60ed 100644
--- a/net-im/openfire/Manifest
+++ b/net-im/openfire/Manifest
@@ -3,3 +3,4 @@ DIST openfire_src_4_1_1.tar.gz 103449258 SHA256 f7368c3b141bd1e49a3fcceadff5bcdd
 DIST openfire_src_4_1_2.tar.gz 103449363 SHA256 0478bad379359452f1fca38ad52ceddfb259a3816954da9bc7cc4b782c13aa7d SHA512 ecca4d74e295cfdc5e59ca7b2eae37accacf86bdc44f023127004381fc93c24806470fdfacd79d7a610a9c35ff89645aebc18f2b4bc7291357467dffa9d6857a WHIRLPOOL d956f75a988a592d1a85958004eefdaacc83cbe82971ba9a7d3ca588ff39710dddde16906ea0c97f48d0bb02e6acd605f01d01720926dde550d532e165b5285f
 DIST openfire_src_4_1_3.tar.gz 103450246 SHA256 35c9f56f47109605157846730a54238e3d6faabd2a5ed865eebc27a3bbb36423 SHA512 8fe2cc4a803aa9520322968e8ebab86d43655b7c6fedce663fe296a041cb24beb5aed187db19bcc25f034b1114c1c4846ba325a41ead2b81bbcf5ca54fb2beb8 WHIRLPOOL 703fd120420a661fa9f9bb7057e18ccc1b3e54c11eb688bff0308e39573040da11b3a8b5c001226f8eb6b8900abd3ddb30012fed6ed0b8aca8612ec95f50ca6e
 DIST openfire_src_4_1_4.tar.gz 103457596 SHA256 46aa8fe815b941c423a4575b35204a6b3c74b7746a49420d6444bc018cd2257b SHA512 e9b7bb62656b376ffc52db5403c262d5a986698282ac9eec02d3a893076cc6df3f4666e908672a9d65cb313505fcc377fb3d7bb62f30d665aa8523cab7d714bd WHIRLPOOL 13009d922ebe292380c4b9cafcd1ef13a1bb119a728762da7c1b7f62d4515577f1e63014fbdaeba596cacd463c97935768f31611c67ed62d951840ded77d9aac
+DIST openfire_src_4_1_5.tar.gz 103508870 SHA256 f24c34ec2673dce0f9321237538e954ea767535ed7f17a2574e344170555de5b SHA512 9ccdd2916492ab23a71856ded8024f6dea73491810ee80c8284597eaf8d2fd55ccc47c7d1da704a487aba727761fdc50f0f6baa26349673fe74dabf0f2b36e73 WHIRLPOOL 5983868a5af739e351e83582d652bab173d2cc503fbc4afc0dc43823261ede5fc9da4d257fa2bfeb4ef600f84e5fd2f8472d2804b5b5d8df277c4c11cbd63030

diff --git a/net-im/openfire/openfire-4.1.5.ebuild b/net-im/openfire/openfire-4.1.5.ebuild
new file mode 100644
index 00000000000..e6feaf1a438
--- /dev/null
+++ b/net-im/openfire/openfire-4.1.5.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+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.7"
+DEPEND="net-im/jabber-base
+	~dev-java/ant-contrib-1.0_beta2
+	>=virtual/jdk-1.7"
+
+S=${WORKDIR}/${PN}_src
+
+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_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)
+
+	# delete nativeAuth prebuilt libs:
+	#    uses outdated unmaintained libshaj, does not support amd64
+	rm -rfv target/openfire/resources/nativeAuth || die
+}
+
+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
+	newins target/openfire/conf/security.xml security.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() {
+	local src
+	local dst
+
+	# http://community.igniterealtime.org/thread/52289
+	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
+	do
+		src="${dst}".sample
+		if [[ -f "${dst}" ]]; then
+			einfo "Leaving old '${dst}'"
+		else
+			einfo "Created default '${dst}'. Please edit."
+			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
+			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
+		fi
+	done
+	chown -R jabber:jabber "${ROOT}"/opt/openfire
+}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2017-06-30 21:05 Sergei Trofimovich
  0 siblings, 0 replies; 31+ messages in thread
From: Sergei Trofimovich @ 2017-06-30 21:05 UTC (permalink / raw
  To: gentoo-commits

commit:     3d99817b1d4821d1cd0e4783be3daccbe19d0ea3
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 30 21:04:58 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Jun 30 21:04:58 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d99817b

net-im/openfire: drop old

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 net-im/openfire/Manifest              |   3 -
 net-im/openfire/openfire-4.1.1.ebuild | 107 ----------------------------------
 net-im/openfire/openfire-4.1.2.ebuild | 107 ----------------------------------
 net-im/openfire/openfire-4.1.3.ebuild | 107 ----------------------------------
 4 files changed, 324 deletions(-)

diff --git a/net-im/openfire/Manifest b/net-im/openfire/Manifest
index 2c5e17a60ed..4a837689814 100644
--- a/net-im/openfire/Manifest
+++ b/net-im/openfire/Manifest
@@ -1,6 +1,3 @@
 DIST openfire_src_4_1_0.tar.gz 103449811 SHA256 3e52b27ac9ed5af1acb7065e84a416ad075994445b554e78d7c966724612cbf2 SHA512 3a4e26c260f6a91ece6e6d3fc7c3302b6f1735725ce2686bab8773981dad63ef653a25748852c32e4df8f6bde2882db4043d94b69eb774a5280285fd5b7cd96b WHIRLPOOL da56663dc9cdf831e04aebddff2eb2705b9cb603a0b5110fee1dc00d41252050ba326c84883fb69894ac064a339a11e22ef44c35348de0bb655f55bc8c34c72d
-DIST openfire_src_4_1_1.tar.gz 103449258 SHA256 f7368c3b141bd1e49a3fcceadff5bcddd06c77af8fa5f85fe55b945474f15424 SHA512 a0eb246e414cfa54060fd0749e01d579864178f23febd875817554af170a24044675f8c0c5ca5538e0524909648e5d0002bb99a30edfd1ddcfcd32254b520f4d WHIRLPOOL f666017d9744bf80ddf1f1389260d4f66ade6616b72b20d09c3c18e9801deebb6212a143bde445fc059a9d8cac086963330d1dc2a8592bcde0467177fe36c210
-DIST openfire_src_4_1_2.tar.gz 103449363 SHA256 0478bad379359452f1fca38ad52ceddfb259a3816954da9bc7cc4b782c13aa7d SHA512 ecca4d74e295cfdc5e59ca7b2eae37accacf86bdc44f023127004381fc93c24806470fdfacd79d7a610a9c35ff89645aebc18f2b4bc7291357467dffa9d6857a WHIRLPOOL d956f75a988a592d1a85958004eefdaacc83cbe82971ba9a7d3ca588ff39710dddde16906ea0c97f48d0bb02e6acd605f01d01720926dde550d532e165b5285f
-DIST openfire_src_4_1_3.tar.gz 103450246 SHA256 35c9f56f47109605157846730a54238e3d6faabd2a5ed865eebc27a3bbb36423 SHA512 8fe2cc4a803aa9520322968e8ebab86d43655b7c6fedce663fe296a041cb24beb5aed187db19bcc25f034b1114c1c4846ba325a41ead2b81bbcf5ca54fb2beb8 WHIRLPOOL 703fd120420a661fa9f9bb7057e18ccc1b3e54c11eb688bff0308e39573040da11b3a8b5c001226f8eb6b8900abd3ddb30012fed6ed0b8aca8612ec95f50ca6e
 DIST openfire_src_4_1_4.tar.gz 103457596 SHA256 46aa8fe815b941c423a4575b35204a6b3c74b7746a49420d6444bc018cd2257b SHA512 e9b7bb62656b376ffc52db5403c262d5a986698282ac9eec02d3a893076cc6df3f4666e908672a9d65cb313505fcc377fb3d7bb62f30d665aa8523cab7d714bd WHIRLPOOL 13009d922ebe292380c4b9cafcd1ef13a1bb119a728762da7c1b7f62d4515577f1e63014fbdaeba596cacd463c97935768f31611c67ed62d951840ded77d9aac
 DIST openfire_src_4_1_5.tar.gz 103508870 SHA256 f24c34ec2673dce0f9321237538e954ea767535ed7f17a2574e344170555de5b SHA512 9ccdd2916492ab23a71856ded8024f6dea73491810ee80c8284597eaf8d2fd55ccc47c7d1da704a487aba727761fdc50f0f6baa26349673fe74dabf0f2b36e73 WHIRLPOOL 5983868a5af739e351e83582d652bab173d2cc503fbc4afc0dc43823261ede5fc9da4d257fa2bfeb4ef600f84e5fd2f8472d2804b5b5d8df277c4c11cbd63030

diff --git a/net-im/openfire/openfire-4.1.1.ebuild b/net-im/openfire/openfire-4.1.1.ebuild
deleted file mode 100644
index e6feaf1a438..00000000000
--- a/net-im/openfire/openfire-4.1.1.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-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.7"
-DEPEND="net-im/jabber-base
-	~dev-java/ant-contrib-1.0_beta2
-	>=virtual/jdk-1.7"
-
-S=${WORKDIR}/${PN}_src
-
-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_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)
-
-	# delete nativeAuth prebuilt libs:
-	#    uses outdated unmaintained libshaj, does not support amd64
-	rm -rfv target/openfire/resources/nativeAuth || die
-}
-
-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
-	newins target/openfire/conf/security.xml security.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() {
-	local src
-	local dst
-
-	# http://community.igniterealtime.org/thread/52289
-	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
-	do
-		src="${dst}".sample
-		if [[ -f "${dst}" ]]; then
-			einfo "Leaving old '${dst}'"
-		else
-			einfo "Created default '${dst}'. Please edit."
-			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
-			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
-		fi
-	done
-	chown -R jabber:jabber "${ROOT}"/opt/openfire
-}

diff --git a/net-im/openfire/openfire-4.1.2.ebuild b/net-im/openfire/openfire-4.1.2.ebuild
deleted file mode 100644
index e6feaf1a438..00000000000
--- a/net-im/openfire/openfire-4.1.2.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-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.7"
-DEPEND="net-im/jabber-base
-	~dev-java/ant-contrib-1.0_beta2
-	>=virtual/jdk-1.7"
-
-S=${WORKDIR}/${PN}_src
-
-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_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)
-
-	# delete nativeAuth prebuilt libs:
-	#    uses outdated unmaintained libshaj, does not support amd64
-	rm -rfv target/openfire/resources/nativeAuth || die
-}
-
-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
-	newins target/openfire/conf/security.xml security.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() {
-	local src
-	local dst
-
-	# http://community.igniterealtime.org/thread/52289
-	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
-	do
-		src="${dst}".sample
-		if [[ -f "${dst}" ]]; then
-			einfo "Leaving old '${dst}'"
-		else
-			einfo "Created default '${dst}'. Please edit."
-			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
-			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
-		fi
-	done
-	chown -R jabber:jabber "${ROOT}"/opt/openfire
-}

diff --git a/net-im/openfire/openfire-4.1.3.ebuild b/net-im/openfire/openfire-4.1.3.ebuild
deleted file mode 100644
index e6feaf1a438..00000000000
--- a/net-im/openfire/openfire-4.1.3.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-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.7"
-DEPEND="net-im/jabber-base
-	~dev-java/ant-contrib-1.0_beta2
-	>=virtual/jdk-1.7"
-
-S=${WORKDIR}/${PN}_src
-
-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_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)
-
-	# delete nativeAuth prebuilt libs:
-	#    uses outdated unmaintained libshaj, does not support amd64
-	rm -rfv target/openfire/resources/nativeAuth || die
-}
-
-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
-	newins target/openfire/conf/security.xml security.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() {
-	local src
-	local dst
-
-	# http://community.igniterealtime.org/thread/52289
-	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
-	do
-		src="${dst}".sample
-		if [[ -f "${dst}" ]]; then
-			einfo "Leaving old '${dst}'"
-		else
-			einfo "Created default '${dst}'. Please edit."
-			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
-			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
-		fi
-	done
-	chown -R jabber:jabber "${ROOT}"/opt/openfire
-}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2018-02-19  8:02 Sergei Trofimovich
  0 siblings, 0 replies; 31+ messages in thread
From: Sergei Trofimovich @ 2018-02-19  8:02 UTC (permalink / raw
  To: gentoo-commits

commit:     c5452002981313a100e11f88360aed4e5550b81d
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 19 07:41:11 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Feb 19 08:01:57 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5452002

net-im/openfire: bump up to 4.2.2, bug #648010

Reported-by: Leho Kraav
Closes: https://bugs.gentoo.org/648010
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-im/openfire/Manifest              |   1 +
 net-im/openfire/openfire-4.2.2.ebuild | 107 ++++++++++++++++++++++++++++++++++
 2 files changed, 108 insertions(+)

diff --git a/net-im/openfire/Manifest b/net-im/openfire/Manifest
index 86fad90de74..4c2065a75b9 100644
--- a/net-im/openfire/Manifest
+++ b/net-im/openfire/Manifest
@@ -1,3 +1,4 @@
 DIST openfire_src_4_1_0.tar.gz 103449811 BLAKE2B 4635da8c1c59f66b488951aa8844a4517e7a2a644dbb97f88ff508237127d8852bbaacd9eae7bc608839ccbe9a679a11da3d5539642d478c15b9edcb7b10e90c SHA512 3a4e26c260f6a91ece6e6d3fc7c3302b6f1735725ce2686bab8773981dad63ef653a25748852c32e4df8f6bde2882db4043d94b69eb774a5280285fd5b7cd96b
 DIST openfire_src_4_1_4.tar.gz 103457596 BLAKE2B d69719ba84aa2ca7bebe03f151940f74488c1c191e8286a8d985b54b66078cd311d2ac50a61597214b3b99b34dc1b854f8f6c43002733897cf806292e92a13af SHA512 e9b7bb62656b376ffc52db5403c262d5a986698282ac9eec02d3a893076cc6df3f4666e908672a9d65cb313505fcc377fb3d7bb62f30d665aa8523cab7d714bd
 DIST openfire_src_4_1_5.tar.gz 103508870 BLAKE2B cedc72fa311f3d97376588c661ac7ecb771ae616f1c9afa816fcb1434100e013b5407442cf46bd0aba68d9bd502e423a4bcfaa6f1da029a1639f14eea59575aa SHA512 9ccdd2916492ab23a71856ded8024f6dea73491810ee80c8284597eaf8d2fd55ccc47c7d1da704a487aba727761fdc50f0f6baa26349673fe74dabf0f2b36e73
+DIST openfire_src_4_2_2.tar.gz 110865419 BLAKE2B 5bfa5effcadaa770cc664923602eed9e898ae9d1118b0c460f6c4283f2e29f381707f924729391744cb4bf545a3703be9ede5a75acc91a5ebb4644b31d00ed12 SHA512 b19f028ae64ad26df24979e6863c4ed598ddbb84e048b8d291026726528a65fc4f53aaa42a6b8478f583326d9ce8e0bc0d0801a0a0696df6448bd79cce4e015e

diff --git a/net-im/openfire/openfire-4.2.2.ebuild b/net-im/openfire/openfire-4.2.2.ebuild
new file mode 100644
index 00000000000..ec318429466
--- /dev/null
+++ b/net-im/openfire/openfire-4.2.2.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+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.7"
+DEPEND="net-im/jabber-base
+	~dev-java/ant-contrib-1.0_beta2
+	>=virtual/jdk-1.7"
+
+S=${WORKDIR}/${PN}_src
+
+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_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)
+
+	# delete nativeAuth prebuilt libs:
+	#    uses outdated unmaintained libshaj, does not support amd64
+	rm -rfv target/openfire/resources/nativeAuth || die
+}
+
+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
+	newins target/openfire/conf/security.xml security.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() {
+	local src
+	local dst
+
+	# http://community.igniterealtime.org/thread/52289
+	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
+	do
+		src="${dst}".sample
+		if [[ -f "${dst}" ]]; then
+			einfo "Leaving old '${dst}'"
+		else
+			einfo "Created default '${dst}'. Please edit."
+			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
+			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
+		fi
+	done
+	chown -R jabber:jabber "${ROOT}"/opt/openfire
+}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2018-03-23 20:48 Sergei Trofimovich
  0 siblings, 0 replies; 31+ messages in thread
From: Sergei Trofimovich @ 2018-03-23 20:48 UTC (permalink / raw
  To: gentoo-commits

commit:     09a42ff57526c7f7e38f0daf65872026ade9db62
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 23 20:46:51 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Mar 23 20:48:23 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09a42ff5

net-im/openfire: bump up to 4.2.3

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-im/openfire/Manifest              |  1 +
 net-im/openfire/openfire-4.2.3.ebuild | 95 +++++++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+)

diff --git a/net-im/openfire/Manifest b/net-im/openfire/Manifest
index 4c2065a75b9..dfab661cf91 100644
--- a/net-im/openfire/Manifest
+++ b/net-im/openfire/Manifest
@@ -2,3 +2,4 @@ DIST openfire_src_4_1_0.tar.gz 103449811 BLAKE2B 4635da8c1c59f66b488951aa8844a45
 DIST openfire_src_4_1_4.tar.gz 103457596 BLAKE2B d69719ba84aa2ca7bebe03f151940f74488c1c191e8286a8d985b54b66078cd311d2ac50a61597214b3b99b34dc1b854f8f6c43002733897cf806292e92a13af SHA512 e9b7bb62656b376ffc52db5403c262d5a986698282ac9eec02d3a893076cc6df3f4666e908672a9d65cb313505fcc377fb3d7bb62f30d665aa8523cab7d714bd
 DIST openfire_src_4_1_5.tar.gz 103508870 BLAKE2B cedc72fa311f3d97376588c661ac7ecb771ae616f1c9afa816fcb1434100e013b5407442cf46bd0aba68d9bd502e423a4bcfaa6f1da029a1639f14eea59575aa SHA512 9ccdd2916492ab23a71856ded8024f6dea73491810ee80c8284597eaf8d2fd55ccc47c7d1da704a487aba727761fdc50f0f6baa26349673fe74dabf0f2b36e73
 DIST openfire_src_4_2_2.tar.gz 110865419 BLAKE2B 5bfa5effcadaa770cc664923602eed9e898ae9d1118b0c460f6c4283f2e29f381707f924729391744cb4bf545a3703be9ede5a75acc91a5ebb4644b31d00ed12 SHA512 b19f028ae64ad26df24979e6863c4ed598ddbb84e048b8d291026726528a65fc4f53aaa42a6b8478f583326d9ce8e0bc0d0801a0a0696df6448bd79cce4e015e
+DIST openfire_src_4_2_3.tar.gz 113557155 BLAKE2B f01bfb57ee76be4dfea11d450534f66f1b50450095cf2d752f910352057ab421f72603b8a79f809f1e9aef20004bb90e9514e68dccb95de709083de9410e4a57 SHA512 8b968c94fcd779544c90de34172b00d472dc2e42142f2aa5eda01f0e0c3dda903a3b9b6d82286916bb1ae8f97fb12f0a94aeb42fad1df0b2dd47e951e03b8523

diff --git a/net-im/openfire/openfire-4.2.3.ebuild b/net-im/openfire/openfire-4.2.3.ebuild
new file mode 100644
index 00000000000..54bac0e7a97
--- /dev/null
+++ b/net-im/openfire/openfire-4.2.3.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+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.7"
+DEPEND="net-im/jabber-base
+	~dev-java/ant-contrib-1.0_beta2
+	>=virtual/jdk-1.7"
+
+S=${WORKDIR}/${PN}_src
+
+pkg_setup() {
+	java-pkg-2_pkg_setup
+}
+
+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)
+
+	# delete nativeAuth prebuilt libs:
+	#    uses outdated unmaintained libshaj, does not support amd64
+	rm -rfv target/openfire/resources/nativeAuth || die
+}
+
+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
+	newins target/openfire/conf/security.xml security.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() {
+	local src
+	local dst
+
+	# http://community.igniterealtime.org/thread/52289
+	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
+	do
+		src="${dst}".sample
+		if [[ -f "${dst}" ]]; then
+			einfo "Leaving old '${dst}'"
+		else
+			einfo "Created default '${dst}'. Please edit."
+			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
+			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
+		fi
+	done
+	chown -R jabber:jabber "${ROOT}"/opt/openfire
+}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2018-09-22 17:29 Sergei Trofimovich
  0 siblings, 0 replies; 31+ messages in thread
From: Sergei Trofimovich @ 2018-09-22 17:29 UTC (permalink / raw
  To: gentoo-commits

commit:     d83590e94a84d6f90c7a4b3bb0377b5734c892ca
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 22 17:29:31 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Sep 22 17:29:31 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d83590e9

net-im/openfire: set ownership at src_install() phase, bug #630914

As Michael explains in bug #630914 the code below is prone to
chown-ing files not belonging to package:

```
  pkg_postinst() {
      ...
      chown -R jabber:jabber "${ROOT}"/opt/openfire
  }
```

Move chown to src_install() to contain the damage to builder.

Reported-by: Michael Orlitzky
Bug: https://bugs.gentoo.org/630914
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 net-im/openfire/openfire-4.2.3-r1.ebuild | 96 ++++++++++++++++++++++++++++++++
 1 file changed, 96 insertions(+)

diff --git a/net-im/openfire/openfire-4.2.3-r1.ebuild b/net-im/openfire/openfire-4.2.3-r1.ebuild
new file mode 100644
index 00000000000..ea631de1f71
--- /dev/null
+++ b/net-im/openfire/openfire-4.2.3-r1.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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.7"
+DEPEND="net-im/jabber-base
+	~dev-java/ant-contrib-1.0_beta2
+	>=virtual/jdk-1.7"
+
+S=${WORKDIR}/${PN}_src
+
+pkg_setup() {
+	java-pkg-2_pkg_setup
+}
+
+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)
+
+	# delete nativeAuth prebuilt libs:
+	#    uses outdated unmaintained libshaj, does not support amd64
+	rm -rfv target/openfire/resources/nativeAuth || die
+}
+
+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
+	newins target/openfire/conf/security.xml security.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
+
+	fowners -R jabber:jabber /opt/openfire
+}
+
+pkg_postinst() {
+	local src
+	local dst
+
+	# http://community.igniterealtime.org/thread/52289
+	for dst in "${ROOT%/}"/opt/openfire/conf/{openfire,security}.xml
+	do
+		src="${dst}".sample
+		if [[ -f "${dst}" ]]; then
+			einfo "Leaving old '${dst}'"
+		else
+			einfo "Created default '${dst}'. Please edit."
+			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
+			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
+		fi
+	done
+}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2019-01-13 21:36 Sergei Trofimovich
  0 siblings, 0 replies; 31+ messages in thread
From: Sergei Trofimovich @ 2019-01-13 21:36 UTC (permalink / raw
  To: gentoo-commits

commit:     524d352e87bc8a9bcbac24055f57b54d8771a151
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 13 21:35:56 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Jan 13 21:36:17 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=524d352e

net-im/openfire: drop myself from maintainers

I don't use openfire anymore.

Package-Manager: Portage-2.3.55, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 net-im/openfire/metadata.xml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/net-im/openfire/metadata.xml b/net-im/openfire/metadata.xml
index ecc7df22458..a2f087043e2 100644
--- a/net-im/openfire/metadata.xml
+++ b/net-im/openfire/metadata.xml
@@ -1,10 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<maintainer type="person">
-		<email>slyfox@gentoo.org</email>
-		<name>Sergei Trofimovich</name>
-	</maintainer>
+	<!-- maintainer-needed -->
 	<longdescription>
 		Openfire is a Java implementation of a complete Jabber
 		server.  It includes a web based administration interface, conference


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2019-02-15  0:18 Thomas Deutschmann
  0 siblings, 0 replies; 31+ messages in thread
From: Thomas Deutschmann @ 2019-02-15  0:18 UTC (permalink / raw
  To: gentoo-commits

commit:     59d853551b64ddca5f1f34181e0d02606e634e4f
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 15 00:03:39 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Feb 15 00:17:56 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59d85355

net-im/openfire: x86 stable (bug #676716)

Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 net-im/openfire/openfire-4.2.3-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-im/openfire/openfire-4.2.3-r1.ebuild b/net-im/openfire/openfire-4.2.3-r1.ebuild
index ea631de1f71..546428a50ca 100644
--- a/net-im/openfire/openfire-4.2.3-r1.ebuild
+++ b/net-im/openfire/openfire-4.2.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,7 +12,7 @@ SRC_URI="http://www.igniterealtime.org/builds/openfire/${MY_P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE="doc"
 
 RDEPEND=">=virtual/jre-1.7"


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2019-02-15 18:40 Mikle Kolyada
  0 siblings, 0 replies; 31+ messages in thread
From: Mikle Kolyada @ 2019-02-15 18:40 UTC (permalink / raw
  To: gentoo-commits

commit:     29837668a03de49ae38a0d89502f8c4a2adfd9d6
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 15 18:38:13 2019 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Fri Feb 15 18:40:09 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29837668

net-im/openfire: amd64 stable wrt bug #676716

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 net-im/openfire/openfire-4.2.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-im/openfire/openfire-4.2.3-r1.ebuild b/net-im/openfire/openfire-4.2.3-r1.ebuild
index 546428a50ca..19845942c73 100644
--- a/net-im/openfire/openfire-4.2.3-r1.ebuild
+++ b/net-im/openfire/openfire-4.2.3-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://www.igniterealtime.org/builds/openfire/${MY_P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE="doc"
 
 RDEPEND=">=virtual/jre-1.7"


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2019-02-15 18:40 Mikle Kolyada
  0 siblings, 0 replies; 31+ messages in thread
From: Mikle Kolyada @ 2019-02-15 18:40 UTC (permalink / raw
  To: gentoo-commits

commit:     0a123a77a119686a20eb64553bcefdbd140af3dd
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 15 18:39:56 2019 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Fri Feb 15 18:40:10 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a123a77

net-im/openfire: Drop old

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 net-im/openfire/Manifest              |   3 -
 net-im/openfire/openfire-4.1.4.ebuild | 107 ----------------------------------
 net-im/openfire/openfire-4.1.5.ebuild | 107 ----------------------------------
 net-im/openfire/openfire-4.2.2.ebuild | 107 ----------------------------------
 net-im/openfire/openfire-4.2.3.ebuild |  95 ------------------------------
 5 files changed, 419 deletions(-)

diff --git a/net-im/openfire/Manifest b/net-im/openfire/Manifest
index dfab661cf91..2b4ef4e77e1 100644
--- a/net-im/openfire/Manifest
+++ b/net-im/openfire/Manifest
@@ -1,5 +1,2 @@
 DIST openfire_src_4_1_0.tar.gz 103449811 BLAKE2B 4635da8c1c59f66b488951aa8844a4517e7a2a644dbb97f88ff508237127d8852bbaacd9eae7bc608839ccbe9a679a11da3d5539642d478c15b9edcb7b10e90c SHA512 3a4e26c260f6a91ece6e6d3fc7c3302b6f1735725ce2686bab8773981dad63ef653a25748852c32e4df8f6bde2882db4043d94b69eb774a5280285fd5b7cd96b
-DIST openfire_src_4_1_4.tar.gz 103457596 BLAKE2B d69719ba84aa2ca7bebe03f151940f74488c1c191e8286a8d985b54b66078cd311d2ac50a61597214b3b99b34dc1b854f8f6c43002733897cf806292e92a13af SHA512 e9b7bb62656b376ffc52db5403c262d5a986698282ac9eec02d3a893076cc6df3f4666e908672a9d65cb313505fcc377fb3d7bb62f30d665aa8523cab7d714bd
-DIST openfire_src_4_1_5.tar.gz 103508870 BLAKE2B cedc72fa311f3d97376588c661ac7ecb771ae616f1c9afa816fcb1434100e013b5407442cf46bd0aba68d9bd502e423a4bcfaa6f1da029a1639f14eea59575aa SHA512 9ccdd2916492ab23a71856ded8024f6dea73491810ee80c8284597eaf8d2fd55ccc47c7d1da704a487aba727761fdc50f0f6baa26349673fe74dabf0f2b36e73
-DIST openfire_src_4_2_2.tar.gz 110865419 BLAKE2B 5bfa5effcadaa770cc664923602eed9e898ae9d1118b0c460f6c4283f2e29f381707f924729391744cb4bf545a3703be9ede5a75acc91a5ebb4644b31d00ed12 SHA512 b19f028ae64ad26df24979e6863c4ed598ddbb84e048b8d291026726528a65fc4f53aaa42a6b8478f583326d9ce8e0bc0d0801a0a0696df6448bd79cce4e015e
 DIST openfire_src_4_2_3.tar.gz 113557155 BLAKE2B f01bfb57ee76be4dfea11d450534f66f1b50450095cf2d752f910352057ab421f72603b8a79f809f1e9aef20004bb90e9514e68dccb95de709083de9410e4a57 SHA512 8b968c94fcd779544c90de34172b00d472dc2e42142f2aa5eda01f0e0c3dda903a3b9b6d82286916bb1ae8f97fb12f0a94aeb42fad1df0b2dd47e951e03b8523

diff --git a/net-im/openfire/openfire-4.1.4.ebuild b/net-im/openfire/openfire-4.1.4.ebuild
deleted file mode 100644
index e6feaf1a438..00000000000
--- a/net-im/openfire/openfire-4.1.4.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-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.7"
-DEPEND="net-im/jabber-base
-	~dev-java/ant-contrib-1.0_beta2
-	>=virtual/jdk-1.7"
-
-S=${WORKDIR}/${PN}_src
-
-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_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)
-
-	# delete nativeAuth prebuilt libs:
-	#    uses outdated unmaintained libshaj, does not support amd64
-	rm -rfv target/openfire/resources/nativeAuth || die
-}
-
-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
-	newins target/openfire/conf/security.xml security.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() {
-	local src
-	local dst
-
-	# http://community.igniterealtime.org/thread/52289
-	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
-	do
-		src="${dst}".sample
-		if [[ -f "${dst}" ]]; then
-			einfo "Leaving old '${dst}'"
-		else
-			einfo "Created default '${dst}'. Please edit."
-			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
-			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
-		fi
-	done
-	chown -R jabber:jabber "${ROOT}"/opt/openfire
-}

diff --git a/net-im/openfire/openfire-4.1.5.ebuild b/net-im/openfire/openfire-4.1.5.ebuild
deleted file mode 100644
index e6feaf1a438..00000000000
--- a/net-im/openfire/openfire-4.1.5.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-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.7"
-DEPEND="net-im/jabber-base
-	~dev-java/ant-contrib-1.0_beta2
-	>=virtual/jdk-1.7"
-
-S=${WORKDIR}/${PN}_src
-
-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_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)
-
-	# delete nativeAuth prebuilt libs:
-	#    uses outdated unmaintained libshaj, does not support amd64
-	rm -rfv target/openfire/resources/nativeAuth || die
-}
-
-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
-	newins target/openfire/conf/security.xml security.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() {
-	local src
-	local dst
-
-	# http://community.igniterealtime.org/thread/52289
-	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
-	do
-		src="${dst}".sample
-		if [[ -f "${dst}" ]]; then
-			einfo "Leaving old '${dst}'"
-		else
-			einfo "Created default '${dst}'. Please edit."
-			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
-			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
-		fi
-	done
-	chown -R jabber:jabber "${ROOT}"/opt/openfire
-}

diff --git a/net-im/openfire/openfire-4.2.2.ebuild b/net-im/openfire/openfire-4.2.2.ebuild
deleted file mode 100644
index ec318429466..00000000000
--- a/net-im/openfire/openfire-4.2.2.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-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.7"
-DEPEND="net-im/jabber-base
-	~dev-java/ant-contrib-1.0_beta2
-	>=virtual/jdk-1.7"
-
-S=${WORKDIR}/${PN}_src
-
-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_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)
-
-	# delete nativeAuth prebuilt libs:
-	#    uses outdated unmaintained libshaj, does not support amd64
-	rm -rfv target/openfire/resources/nativeAuth || die
-}
-
-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
-	newins target/openfire/conf/security.xml security.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() {
-	local src
-	local dst
-
-	# http://community.igniterealtime.org/thread/52289
-	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
-	do
-		src="${dst}".sample
-		if [[ -f "${dst}" ]]; then
-			einfo "Leaving old '${dst}'"
-		else
-			einfo "Created default '${dst}'. Please edit."
-			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
-			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
-		fi
-	done
-	chown -R jabber:jabber "${ROOT}"/opt/openfire
-}

diff --git a/net-im/openfire/openfire-4.2.3.ebuild b/net-im/openfire/openfire-4.2.3.ebuild
deleted file mode 100644
index 54bac0e7a97..00000000000
--- a/net-im/openfire/openfire-4.2.3.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-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.7"
-DEPEND="net-im/jabber-base
-	~dev-java/ant-contrib-1.0_beta2
-	>=virtual/jdk-1.7"
-
-S=${WORKDIR}/${PN}_src
-
-pkg_setup() {
-	java-pkg-2_pkg_setup
-}
-
-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)
-
-	# delete nativeAuth prebuilt libs:
-	#    uses outdated unmaintained libshaj, does not support amd64
-	rm -rfv target/openfire/resources/nativeAuth || die
-}
-
-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
-	newins target/openfire/conf/security.xml security.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() {
-	local src
-	local dst
-
-	# http://community.igniterealtime.org/thread/52289
-	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
-	do
-		src="${dst}".sample
-		if [[ -f "${dst}" ]]; then
-			einfo "Leaving old '${dst}'"
-		else
-			einfo "Created default '${dst}'. Please edit."
-			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
-			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
-		fi
-	done
-	chown -R jabber:jabber "${ROOT}"/opt/openfire
-}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2019-02-16  9:45 Pacho Ramos
  0 siblings, 0 replies; 31+ messages in thread
From: Pacho Ramos @ 2019-02-16  9:45 UTC (permalink / raw
  To: gentoo-commits

commit:     ac2dedbbfc84bc56154be8c3b57ddfe342b94658
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 16 09:43:16 2019 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Feb 16 09:45:46 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac2dedbb

net-im/openfire: Drop old

Package-Manager: Portage-2.3.58, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 net-im/openfire/Manifest              |   1 -
 net-im/openfire/openfire-4.1.0.ebuild | 107 ----------------------------------
 2 files changed, 108 deletions(-)

diff --git a/net-im/openfire/Manifest b/net-im/openfire/Manifest
index 2b4ef4e77e1..b05b5f8cfe0 100644
--- a/net-im/openfire/Manifest
+++ b/net-im/openfire/Manifest
@@ -1,2 +1 @@
-DIST openfire_src_4_1_0.tar.gz 103449811 BLAKE2B 4635da8c1c59f66b488951aa8844a4517e7a2a644dbb97f88ff508237127d8852bbaacd9eae7bc608839ccbe9a679a11da3d5539642d478c15b9edcb7b10e90c SHA512 3a4e26c260f6a91ece6e6d3fc7c3302b6f1735725ce2686bab8773981dad63ef653a25748852c32e4df8f6bde2882db4043d94b69eb774a5280285fd5b7cd96b
 DIST openfire_src_4_2_3.tar.gz 113557155 BLAKE2B f01bfb57ee76be4dfea11d450534f66f1b50450095cf2d752f910352057ab421f72603b8a79f809f1e9aef20004bb90e9514e68dccb95de709083de9410e4a57 SHA512 8b968c94fcd779544c90de34172b00d472dc2e42142f2aa5eda01f0e0c3dda903a3b9b6d82286916bb1ae8f97fb12f0a94aeb42fad1df0b2dd47e951e03b8523

diff --git a/net-im/openfire/openfire-4.1.0.ebuild b/net-im/openfire/openfire-4.1.0.ebuild
deleted file mode 100644
index 380dd102778..00000000000
--- a/net-im/openfire/openfire-4.1.0.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-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.7"
-DEPEND="net-im/jabber-base
-	~dev-java/ant-contrib-1.0_beta2
-	>=virtual/jdk-1.7"
-
-S=${WORKDIR}/${PN}_src
-
-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_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)
-
-	# delete nativeAuth prebuilt libs:
-	#    uses outdated unmaintained libshaj, does not support amd64
-	rm -rfv target/openfire/resources/nativeAuth || die
-}
-
-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
-	newins target/openfire/conf/security.xml security.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() {
-	local src
-	local dst
-
-	# http://community.igniterealtime.org/thread/52289
-	for dst in "${ROOT}"/opt/openfire/conf/{openfire,security}.xml
-	do
-		src="${dst}".sample
-		if [[ -f "${dst}" ]]; then
-			einfo "Leaving old '${dst}'"
-		else
-			einfo "Created default '${dst}'. Please edit."
-			cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
-			chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
-		fi
-	done
-	chown -R jabber:jabber "${ROOT}"/opt/openfire
-}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2019-06-23 17:15 Michael Orlitzky
  0 siblings, 0 replies; 31+ messages in thread
From: Michael Orlitzky @ 2019-06-23 17:15 UTC (permalink / raw
  To: gentoo-commits

commit:     c32aef5d13c57017978860eb65c1c4f5ce88721c
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 23 17:13:53 2019 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun Jun 23 17:15:16 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c32aef5d

net-im/openfire: new revision to clean up ownership handling.

The new revision (-r2) is intended to clean up some of the ownership
and group handling that led to the security issue in bug 630914. Note
that while that *particular* bug was fixed, the ebuild was still
calling "chmod" in a user-controlled directory, which is also
exploitable. The following changes hopefully eliminate all of
those problems:

  * Add /opt/openfire/conf to CONFIG_PROTECT.

  * Use insopts/diropts to create everything under /opt/openfire with
    the correct ownership and permissions to begin with.

  * Install conf/openfire.xml and conf/security.xml in src_install(),
    instead of creating (and chmod'ing) them later in pkg_postinst().

  * Drop pkg_postinst() entirely now that we install {openfire,security}.xml
    in src_install().

Bug: https://bugs.gentoo.org/630914
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

 net-im/openfire/openfire-4.2.3-r2.ebuild | 80 ++++++++++++++++++++++++++++++++
 1 file changed, 80 insertions(+)

diff --git a/net-im/openfire/openfire-4.2.3-r2.ebuild b/net-im/openfire/openfire-4.2.3-r2.ebuild
new file mode 100644
index 00000000000..d504e403aba
--- /dev/null
+++ b/net-im/openfire/openfire-4.2.3-r2.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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.7"
+DEPEND="net-im/jabber-base
+	~dev-java/ant-contrib-1.0_beta2
+	>=virtual/jdk-1.7"
+
+S=${WORKDIR}/${PN}_src
+
+pkg_setup() {
+	java-pkg-2_pkg_setup
+}
+
+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)
+
+	# delete nativeAuth prebuilt libs:
+	#    uses outdated unmaintained libshaj, does not support amd64
+	rm -rfv target/openfire/resources/nativeAuth || die
+}
+
+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/conf/"' > "${D}"/etc/env.d/98openfire
+
+	newinitd "${FILESDIR}"/openfire-initd openfire
+	newconfd "${FILESDIR}"/openfire-confd openfire
+	systemd_dounit "${FILESDIR}"/${PN}.service
+
+	diropts --owner=jabber --group=jabber
+	insopts --owner=jabber --group=jabber
+	dodir /opt/openfire
+
+	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/*
+
+	dodir /opt/openfire/conf
+	insinto /opt/openfire/conf
+	insopts --mode=0600 --owner=jabber --group=jabber
+	newins target/openfire/conf/openfire.xml openfire.xml
+	newins target/openfire/conf/security.xml security.xml
+}


^ permalink raw reply related	[flat|nested] 31+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
@ 2019-06-23 17:25 Michael Orlitzky
  0 siblings, 0 replies; 31+ messages in thread
From: Michael Orlitzky @ 2019-06-23 17:25 UTC (permalink / raw
  To: gentoo-commits

commit:     58445a9bcfd0a8ea1a0a61a6137f41ee75316fab
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 23 17:19:23 2019 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun Jun 23 17:19:23 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58445a9b

net-im/openfire: fixup CONFIG_PROTECT handling in latest revision.

My -r2 accidentally clobbers the existing value of CONFIG_PROTECT
instead of appending to it. Oops. Fix it in place.

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

 net-im/openfire/openfire-4.2.3-r2.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/net-im/openfire/openfire-4.2.3-r2.ebuild b/net-im/openfire/openfire-4.2.3-r2.ebuild
index d504e403aba..dc79cda8b4b 100644
--- a/net-im/openfire/openfire-4.2.3-r2.ebuild
+++ b/net-im/openfire/openfire-4.2.3-r2.ebuild
@@ -41,8 +41,7 @@ src_compile() {
 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/conf/"' > "${D}"/etc/env.d/98openfire
+	echo 'CONFIG_PROTECT="/opt/openfire/conf/ /opt/openfire/resources/security/"' > "${D}"/etc/env.d/98openfire
 
 	newinitd "${FILESDIR}"/openfire-initd openfire
 	newconfd "${FILESDIR}"/openfire-confd openfire


^ permalink raw reply related	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2019-06-23 17:25 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-30 10:27 [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/ Sergei Trofimovich
  -- strict thread matches above, loose matches on Subject: below --
2019-06-23 17:25 Michael Orlitzky
2019-06-23 17:15 Michael Orlitzky
2019-02-16  9:45 Pacho Ramos
2019-02-15 18:40 Mikle Kolyada
2019-02-15 18:40 Mikle Kolyada
2019-02-15  0:18 Thomas Deutschmann
2019-01-13 21:36 Sergei Trofimovich
2018-09-22 17:29 Sergei Trofimovich
2018-03-23 20:48 Sergei Trofimovich
2018-02-19  8:02 Sergei Trofimovich
2017-06-30 21:05 Sergei Trofimovich
2017-06-30 21:01 Sergei Trofimovich
2017-05-04 22:28 Sergei Trofimovich
2017-02-25  9:33 Sergei Trofimovich
2017-02-19 10:59 Sergei Trofimovich
2017-01-01  7:21 Sergei Trofimovich
2016-12-29 10:45 Agostino Sarubbo
2016-12-24  9:24 Aaron Bauman
2016-12-21 21:44 Sergei Trofimovich
2016-12-01 22:44 Sergei Trofimovich
2016-08-26 15:45 Sergei Trofimovich
2016-07-29  7:22 Sergei Trofimovich
2016-07-28 15:23 Agostino Sarubbo
2016-07-09 17:46 Agostino Sarubbo
2016-06-19 13:53 Sergei Trofimovich
2016-03-22  8:50 Sergei Trofimovich
2016-02-06 10:36 Sergei Trofimovich
2015-11-18 21:07 Sergei Trofimovich
2015-11-01 13:27 Mikle Kolyada
2015-10-27 12:18 Agostino Sarubbo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox