diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-06-30 17:36:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-06-30 17:36:28 +0100 |
commit | 7014a5a3ea0feffab9701fdd6b64cc7667a985af (patch) | |
tree | f2cbbaa8bb9209cd15208721103228336149b799 /net-im/openfire | |
parent | 7a86906b67693cc65671d3e1476835d3a7e13092 (diff) |
gentoo resync : 30.06.2019
Diffstat (limited to 'net-im/openfire')
-rw-r--r-- | net-im/openfire/Manifest | 1 | ||||
-rw-r--r-- | net-im/openfire/openfire-4.2.3-r2.ebuild | 79 |
2 files changed, 80 insertions, 0 deletions
diff --git a/net-im/openfire/Manifest b/net-im/openfire/Manifest index 2ea17af7fe6a..11221c2b46da 100644 --- a/net-im/openfire/Manifest +++ b/net-im/openfire/Manifest @@ -3,4 +3,5 @@ AUX openfire-initd 632 BLAKE2B ad62275986dde956d4eef79636210230e0d006d837b16034a AUX openfire.service 364 BLAKE2B b126df83a6277c38aa370b515e99cc2239649f18c5fb46e20c8d69d256d33b236b96fced46bcb798873da554b7c7672ab1f398f1767b6d10864c1d7a52b6907d SHA512 3dbf25d1566b1d1bdbd9f67deb30456451ffe2fa9d247c66e2bc45b3dc6a0fd91c0fc47d6e4ba5001217225f0a2bd6c2b60eb3056003cc580a10f0560a1fe231 DIST openfire_src_4_2_3.tar.gz 113557155 BLAKE2B f01bfb57ee76be4dfea11d450534f66f1b50450095cf2d752f910352057ab421f72603b8a79f809f1e9aef20004bb90e9514e68dccb95de709083de9410e4a57 SHA512 8b968c94fcd779544c90de34172b00d472dc2e42142f2aa5eda01f0e0c3dda903a3b9b6d82286916bb1ae8f97fb12f0a94aeb42fad1df0b2dd47e951e03b8523 EBUILD openfire-4.2.3-r1.ebuild 2340 BLAKE2B 012bb3a3c52140c5becc0249a1b190be858bf5e12e957fdc398a68905ec92c49f1f88ecd9bfcdcd865411c393b27442397b285688a4e4b5802be1b649a939364 SHA512 d29470b0dbf2aa489066d443649e155b4eed02275be02a698c3c8e35e742ac00714bde72183a8bb7045fb6e099455e0ec84114d15f0b4327c5f8486dc94d8206 +EBUILD openfire-4.2.3-r2.ebuild 2004 BLAKE2B ab3008609d133b8f86cb61e93ffd67c4685d4226ef567ea0aaf173414cea294e83dc72d05646fd7555ea4df3279deb3850b55cb1e33b833ef3e48f3209697a1c SHA512 6db7ee68bb5bc0c0ab1b01e796cc27764b05b96562b60fecfc5f481b6de05c1dbc6924e5531de225dca05931939721576e4cbbf915be86516cdb8600a529704d MISC metadata.xml 378 BLAKE2B f1e9fa34726dda5df1dae58a629ec60b1528ffd8327f0060542fbdf05207e6ec86ef03572cf1fe3f49c0bb5d96ab071ffa980fb20ef0453a338bb67022eff02c SHA512 6669bcb3e4975eb6e3d9bc45e80d68e1101cf6a7e827a5cc6a4e9c0fe5f1c3ffe1a53382706c9093099294b9153556ef6e5418b25cc7131a057ec96f259eca25 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 000000000000..dc79cda8b4ba --- /dev/null +++ b/net-im/openfire/openfire-4.2.3-r2.ebuild @@ -0,0 +1,79 @@ +# 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/conf/ /opt/openfire/resources/security/"' > "${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 +} |