public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/
Date: Fri, 23 Mar 2018 20:48:27 +0000 (UTC)	[thread overview]
Message-ID: <1521838103.09a42ff57526c7f7e38f0daf65872026ade9db62.slyfox@gentoo> (raw)

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
+}


             reply	other threads:[~2018-03-23 20:48 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-23 20:48 Sergei Trofimovich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-06-23 17:25 [gentoo-commits] repo/gentoo:master commit in: net-im/openfire/ 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-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-30 10:27 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1521838103.09a42ff57526c7f7e38f0daf65872026ade9db62.slyfox@gentoo \
    --to=slyfox@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox