summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2015-06-25 07:15:48 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2015-06-25 07:15:48 +0000
commit7ce4dcdd9547ab86a900d921c608db43a915f91e (patch)
tree972de7db4caa311f4ad14eac654819460dcebab6 /net-im
parentFixed build failure with webkit2 (diff)
downloadhistorical-7ce4dcdd9547ab86a900d921c608db43a915f91e.tar.gz
historical-7ce4dcdd9547ab86a900d921c608db43a915f91e.tar.bz2
historical-7ce4dcdd9547ab86a900d921c608db43a915f91e.zip
Version bump, fixes 100% CPU hog. Bug #553158 by Timo Rothenpieler.
Package-Manager: portage-2.2.20/cvs/Linux x86_64 Manifest-Sign-Key: 0x611FF3AA
Diffstat (limited to 'net-im')
-rw-r--r--net-im/openfire/ChangeLog7
-rw-r--r--net-im/openfire/Manifest10
-rw-r--r--net-im/openfire/openfire-3.10.2.ebuild108
3 files changed, 120 insertions, 5 deletions
diff --git a/net-im/openfire/ChangeLog b/net-im/openfire/ChangeLog
index 01efb560977b..5f373c073edd 100644
--- a/net-im/openfire/ChangeLog
+++ b/net-im/openfire/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-im/openfire
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/ChangeLog,v 1.69 2015/06/21 09:09:26 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/ChangeLog,v 1.70 2015/06/25 07:15:45 slyfox Exp $
+
+*openfire-3.10.2 (25 Jun 2015)
+
+ 25 Jun 2015; Sergei Trofimovich <slyfox@gentoo.org> +openfire-3.10.2.ebuild:
+ Version bump, fixes 100% CPU hog. Bug #553158 by Timo Rothenpieler.
*openfire-3.10.1 (21 Jun 2015)
diff --git a/net-im/openfire/Manifest b/net-im/openfire/Manifest
index 72b5f08c13c1..edd342ee7fa1 100644
--- a/net-im/openfire/Manifest
+++ b/net-im/openfire/Manifest
@@ -6,14 +6,16 @@ AUX openfire-initd 631 SHA256 601c52c928b92451e64a4a9dd6ccbcc6c55a8c2d5a3c13a208
AUX openfire.service 364 SHA256 543c83c5e3b2fd4dea7763d681c16989c0431ef3e4a7043e79e46dff14ebf4f0 SHA512 3dbf25d1566b1d1bdbd9f67deb30456451ffe2fa9d247c66e2bc45b3dc6a0fd91c0fc47d6e4ba5001217225f0a2bd6c2b60eb3056003cc580a10f0560a1fe231 WHIRLPOOL f95f8977777faf9ed8a74ac0d28f600a6838497cdf1cf61bcd230ed7188003f53379728e69127bf28c348d9cd394beabe0cbd3f6ff313718d98bf50a60b0175c
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
EBUILD openfire-3.10.0.ebuild 2985 SHA256 66ca4a6594b43020748b955592c0c1948648ee7627cbcbd5b303899449d87550 SHA512 d8e42315417b3a8a5f2532b75dacc63a29ac0caf5b9dcc4c6dddbe2a4145a32aec1ba3247c3b35e9a1246dc9b846e3946fcbd304163fd27c9821084cddf60047 WHIRLPOOL acd53925b4a640bab64954acecf22ddbc5deb34b139c63354c99f4f00e9e889e5b0c809664d207041427d41344c03113dc8023e6cb2272e1895efadeef917351
EBUILD openfire-3.10.1.ebuild 2990 SHA256 b8d8cbbe64bc7525a81a12caf15067933c71d9241406db4e0513b83821c9757a SHA512 679cd5ec09cce314a68eaacfd994d5e49a3ef3bdab96fbf5a73e0c07f900e0706754a483c7f26e0fbfc911a8fc56c8c4080c13c940006994093fcbbac5f77451 WHIRLPOOL f31300fc0078f6cf1427695828d1f1f03a6b4c4fe78b4737031374bf0c7ac41c56ad345866f0305fda3231de5bcdb36a78350a639bf5a844e9a445136efc6a2b
-MISC ChangeLog 16241 SHA256 453d26cb34f5e33bf7c2858ebb7a71b8358e510e3609a7e31b12eb964628f808 SHA512 6ddc8d30953f7475b0e16ddc84c046a6cfcb5effe3084bd593382a745380a6e447b8d343458fc425b8597207e0811eff050cc8055b7d4775fcba33041552b678 WHIRLPOOL d9b0edaa74a8ecae0df1c303886f58a2b2a3c0e8aa59cfa1891f128e3423a0a9be727748580347e18db75b702d3f69223d1492beb0366fb54d5ef5e46a71a9a8
+EBUILD openfire-3.10.2.ebuild 2990 SHA256 78c41d2a1952410b58bf5ecc0dfc85471e18f6a1991968c4672505d94a50789b SHA512 ee929f7d6611882dad4deebcb094d4f353be8f2db1a60f374505b60c71981033b7993f953f3bf5603a8c83649a3ab8463beea9092bca4acdd6108c6adccbef4e WHIRLPOOL 9ac344467fc9f333cf9d87b644eec1a6e76b1acb99e16267f4d8b73176eacd8d43a9350cc1ec502fe4018172cf20a7ff7f4384a740b0c7d5cd6cb96bd30d7200
+MISC ChangeLog 16423 SHA256 220892faa5e2afedef517f343eac4690079d6ba1a81242578d7209e113a4fdc7 SHA512 116dc0b0e667fd0a20f49c89f064913b9ec521b21e61d71f07f5c46771a0e3d628e021a45dc3ae70cc1bb0ff0630261ebc4540842f4ea160191f32078feb00db WHIRLPOOL 788a15e1fe56fa685f3cff5590a323ad82431cbf7f7fffab31dd6f6a191f770ee9a6ff60620ea56059622bb11dab574995dc80aeeab6f7412f0528aed8506804
MISC metadata.xml 469 SHA256 54c8a314944640dade8e23fe264bdd928732ef9f47e20bedf943ea990b437bfe SHA512 50370daa407e3f46462bb5a2774bb723bf908a44f96ba470a0635a82f0eb4f24e1c19e94e369dcb72199fd93d970c3ee8c6643f3926a6005b8d679d422a6c00b WHIRLPOOL 096ee6f7f78c6bb5ebbee871975afff24d63de0c054f864998517b7478c7e37b89e4f561722b5f0f9ea9210f6bfeb2807a62f700cfb14d29c6c80e119f14732e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iEYEAREIAAYFAlWGf0oACgkQcaHudmEf86poEgCffWOEsOAUNkcquVkfREi0cYkl
-JdUAn17GSmU0Mxgs32Z6gfWy0SGmPTUu
-=0zWY
+iEYEAREIAAYFAlWLqqQACgkQcaHudmEf86pkzACeJGeNxeM7lY2cPwIhFsnHcYvy
+wz0An2YGFIP3hE+Xb3f2Om1Her0ALs6+
+=7WUb
-----END PGP SIGNATURE-----
diff --git a/net-im/openfire/openfire-3.10.2.ebuild b/net-im/openfire/openfire-3.10.2.ebuild
new file mode 100644
index 000000000000..9b4436e5884e
--- /dev/null
+++ b/net-im/openfire/openfire-3.10.2.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/openfire/openfire-3.10.2.ebuild,v 1.1 2015/06/25 07:15:45 slyfox Exp $
+
+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
+}