From 79599515788b85b18aa655e7b7f8cc05c1bbddd8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 16 Feb 2019 12:59:29 +0000 Subject: gentoo resync : 16.02.1018 --- net-im/openfire/Manifest | 11 +--- net-im/openfire/openfire-4.1.0.ebuild | 107 ------------------------------- 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-r1.ebuild | 4 +- net-im/openfire/openfire-4.2.3.ebuild | 95 --------------------------- 7 files changed, 3 insertions(+), 535 deletions(-) delete mode 100644 net-im/openfire/openfire-4.1.0.ebuild delete mode 100644 net-im/openfire/openfire-4.1.4.ebuild delete mode 100644 net-im/openfire/openfire-4.1.5.ebuild delete mode 100644 net-im/openfire/openfire-4.2.2.ebuild delete mode 100644 net-im/openfire/openfire-4.2.3.ebuild (limited to 'net-im/openfire') diff --git a/net-im/openfire/Manifest b/net-im/openfire/Manifest index ef2e2ac4cf97..2ea17af7fe6a 100644 --- a/net-im/openfire/Manifest +++ b/net-im/openfire/Manifest @@ -1,15 +1,6 @@ AUX openfire-confd 491 BLAKE2B 72f9d628dbff91070da20187d1c589780f48c5301a067d59ee0c3272dfc207f0f0498db0efdbdb661a7e338184c0ffecca9eb6f8682f44f9cf390ee3dda51ca3 SHA512 c35e00f7e6b4136c1e8ab71b9221a91f3821a536be54681567cd5948243b9b1575056324c104cf038df8191777361b5eed8a1917185aead431a8f5343f1ed698 AUX openfire-initd 632 BLAKE2B ad62275986dde956d4eef79636210230e0d006d837b16034a51ba97268ffd0af6123f92431e2b54e3e4832c994b54599237eb1612feba4e33d97e81d800364ec SHA512 29dfb750e0d177b2983889d81374f997df95991d773d497c2b8a212281f0763b950f9415dcb82928a60e8c4e90e5f87719f527ec723e04d2b2bdc2b0ce8ad6d2 AUX openfire.service 364 BLAKE2B b126df83a6277c38aa370b515e99cc2239649f18c5fb46e20c8d69d256d33b236b96fced46bcb798873da554b7c7672ab1f398f1767b6d10864c1d7a52b6907d SHA512 3dbf25d1566b1d1bdbd9f67deb30456451ffe2fa9d247c66e2bc45b3dc6a0fd91c0fc47d6e4ba5001217225f0a2bd6c2b60eb3056003cc580a10f0560a1fe231 -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 -EBUILD openfire-4.1.0.ebuild 2875 BLAKE2B 6cb7b4da9c43e66bc2520ccbb9c520af2b70715c06dbff52419dcd96fcb82729d3a4497b0c212c8b0fa8b2cba35a5d2f71ee47996176625b1ae7f706f5c00c76 SHA512 b5e1a11513de5a1afcfb51a46f024d83a3819230d254a17e32f66f17f96e2a4ee41ce2ddea4b79b2b699e7f3671f3ba816153cec64118d0961119b312324c917 -EBUILD openfire-4.1.4.ebuild 2877 BLAKE2B ff6480b34681afe96e3c69dd099dda70b19635a6a1298a998d0895898663fdcfb630417198d5014eaa72144dc0996dd8d0f927bf8d49e3ce5e34ca6fc17a95de SHA512 fbf36088c9e99e7b86a1a1e37a7a0f4213a370407ddd94f230af373e8e33126e68ad72532ecaa17560586ab479609c2db911506b7fdf4e947041bccd30047583 -EBUILD openfire-4.1.5.ebuild 2877 BLAKE2B ff6480b34681afe96e3c69dd099dda70b19635a6a1298a998d0895898663fdcfb630417198d5014eaa72144dc0996dd8d0f927bf8d49e3ce5e34ca6fc17a95de SHA512 fbf36088c9e99e7b86a1a1e37a7a0f4213a370407ddd94f230af373e8e33126e68ad72532ecaa17560586ab479609c2db911506b7fdf4e947041bccd30047583 -EBUILD openfire-4.2.2.ebuild 2877 BLAKE2B 19b2278da0c1a57499b62c6a329c7c1d01563e73842be2012fa8aab5880daaa8c68e6133dcc707b73375966a4e064577266c14ac6593b24961463e474d9a552c SHA512 1a38c942abd5aeb3fcb011ed21a2383d14ccffa9be6d8a834ac33d9952088e7f06bb194d0c0888897f8d4cc30255fd03ba588070f1543ac6dc7257a4639c23aa -EBUILD openfire-4.2.3-r1.ebuild 2345 BLAKE2B bc79ff8ab445e0f5d956bab9d99a289c410928c45b61e3bf6e438f1bc338fc1014866b9e434d2db10d1c3c3e3860816389f86715bf7fbb433d4e0d2e63506e4b SHA512 2748a0b5702f9689af20770f17a9c5498d976c76de1f833487e2d22b4ef47f16137d128777f22406c40398bf8abb2181556f8736fdd5402b04e4a8e0af0a0d22 -EBUILD openfire-4.2.3.ebuild 2349 BLAKE2B 8097d183be7508fee0086a78644c238b87698f1b3ca3902e5b7caf4102103a98bdeee80d33fc367d1c4faebf38e5e35da6a486543884e143d2481a2fe22458ac SHA512 dbd52c2f47add0453c487085e008836aaf37b36e7d20350ca9cc70dd22874880087b30111dc741e09dac0463d3d55c4fcecb143e6127b571d0041de291a8c694 +EBUILD openfire-4.2.3-r1.ebuild 2340 BLAKE2B 012bb3a3c52140c5becc0249a1b190be858bf5e12e957fdc398a68905ec92c49f1f88ecd9bfcdcd865411c393b27442397b285688a4e4b5802be1b649a939364 SHA512 d29470b0dbf2aa489066d443649e155b4eed02275be02a698c3c8e35e742ac00714bde72183a8bb7045fb6e099455e0ec84114d15f0b4327c5f8486dc94d8206 MISC metadata.xml 378 BLAKE2B f1e9fa34726dda5df1dae58a629ec60b1528ffd8327f0060542fbdf05207e6ec86ef03572cf1fe3f49c0bb5d96ab071ffa980fb20ef0453a338bb67022eff02c SHA512 6669bcb3e4975eb6e3d9bc45e80d68e1101cf6a7e827a5cc6a4e9c0fe5f1c3ffe1a53382706c9093099294b9153556ef6e5418b25cc7131a057ec96f259eca25 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 380dd1027786..000000000000 --- 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 -} 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 e6feaf1a438d..000000000000 --- 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 e6feaf1a438d..000000000000 --- 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 ec3184294664..000000000000 --- 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-r1.ebuild b/net-im/openfire/openfire-4.2.3-r1.ebuild index ea631de1f712..19845942c736 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" 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 54bac0e7a976..000000000000 --- 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 -} -- cgit v1.2.3