diff options
author | Agostino Sarubbo <ago@gentoo.org> | 2019-11-12 16:51:47 +0100 |
---|---|---|
committer | Agostino Sarubbo <ago@gentoo.org> | 2019-11-12 16:51:47 +0100 |
commit | 0f643a306473a0f45da4464e8096f2aee1e2a055 (patch) | |
tree | 37babc9ffce1c4e731ea1410dc5c210dfdac2050 | |
parent | app-metrics/queuemetrics: version bump to 19.10.3 (diff) | |
download | ago-0f643a306473a0f45da4464e8096f2aee1e2a055.tar.gz ago-0f643a306473a0f45da4464e8096f2aee1e2a055.tar.bz2 ago-0f643a306473a0f45da4464e8096f2aee1e2a055.zip |
app-metrics/queuemetrics: remove old
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
-rw-r--r-- | app-metrics/queuemetrics/ChangeLog | 6 | ||||
-rw-r--r-- | app-metrics/queuemetrics/Manifest | 13 | ||||
-rw-r--r-- | app-metrics/queuemetrics/queuemetrics-19.04.3-r1.ebuild | 64 | ||||
-rw-r--r-- | app-metrics/queuemetrics/queuemetrics-19.04.3-r2.ebuild | 71 | ||||
-rw-r--r-- | app-metrics/queuemetrics/queuemetrics-19.10.1.ebuild | 71 | ||||
-rw-r--r-- | app-metrics/queuemetrics/queuemetrics-19.10.2.ebuild | 71 | ||||
-rw-r--r-- | app-metrics/queuemetrics/queuemetrics-19.10.3.ebuild | 2 |
7 files changed, 9 insertions, 289 deletions
diff --git a/app-metrics/queuemetrics/ChangeLog b/app-metrics/queuemetrics/ChangeLog index a14ad84..6008d83 100644 --- a/app-metrics/queuemetrics/ChangeLog +++ b/app-metrics/queuemetrics/ChangeLog @@ -1,3 +1,9 @@ + 12 Nov 2019; Agostino Sarubbo <ago@gentoo.org> + -queuemetrics-19.04.3-r1.ebuild, -queuemetrics-19.04.3-r2.ebuild, + -queuemetrics-19.10.1.ebuild, -queuemetrics-19.10.2.ebuild, + queuemetrics-19.10.3.ebuild: + app-metrics/queuemetrics: remove old + *queuemetrics-19.10.3 (12 Nov 2019) 12 Nov 2019; Agostino Sarubbo <ago@gentoo.org> +queuemetrics-19.10.3.ebuild: diff --git a/app-metrics/queuemetrics/Manifest b/app-metrics/queuemetrics/Manifest index 856ea3a..58226a6 100644 --- a/app-metrics/queuemetrics/Manifest +++ b/app-metrics/queuemetrics/Manifest @@ -5,17 +5,8 @@ AUX queuemetrics.service 424 SHA256 c83538037ffcf005fc5a9d321f9e78d173af6f4809c4 AUX queuemetrics.service.conf 1149 SHA256 c5e7f5a7347967eaba34af182d1e80873f40007358ad190d9b116527b79f6b13 SHA512 c3ffd8a25792542842403f8004808411bbf94690c5ff639c7902c0598028233b8d32d39e3de4de730fc3add558dacd456f1f4fb969278cb2ff7470536c8f32f7 WHIRLPOOL 9f0cf1c1398af905a742b746bdc7fbb77bcf8e7d0d29957fc026d3596afbbb660d055f870d2628d365dc025adbf3b030cbe14423127b94c910cca05eb5863419 AUX queuemetrics.socket 126 SHA256 a04679c03f2cd417cd03e6e6d233cdc749a4adc86cb04ad992c586ec52519496 SHA512 7c2040504c36b49970895bfaf4874977275a3e51aad36f065efbd3a956832f486f07b98d6ab2c521a77a3f67e8b494cf5600e4b7025e733d9304b1b614315dcc WHIRLPOOL af2836262d5e0e3b62929f7a46a054bdccf1e4299b0a95b934d10e45185cdf7536481fd6c41dc6fd244c027405db12a32cea1a8b9f6d1df94546492ff741c354 AUX server.xml 1628 SHA256 6efaee54a0a4246a82e835ff94ec37906f0846b517bf066d0b728ce74d08298a SHA512 6e5134dbb9e616c01dd2f827002bd947875234d19bce8c320e0f279d56f46062ce77f0ade56cd29e87cfbba85fb02d1c0983c5e21b8621b1544d383bd53df1cc WHIRLPOOL 0ac36562cf9cd2b7f55f2293fbfed6a3f89f24c5572ae36ca59769ea90e4cdf2ac374dd9d7c8f71aeb7dbfe734c762fdf1bc1bcd580186763ae3adeb8fb66fe3 -DIST QueueMetrics-19.04.3.tar.gz 15410850 SHA256 2473223016d3d1c4dacffd3f93dbb5595d58e215cbea22d8cf2caf1ee83da1de SHA512 88537347fa3cc89ea1ec7f29dba2764de3d11283b494a03dfb8b1d25f39783ae038bb3abf2774dfd537f6cd035919d805bf7c772f29c917449cf42fdec6aeb69 WHIRLPOOL 92cbc8e5c7aa7405b01e52310ab4a758c485045600162cffff41847a794849ac9ea2a0785da33114f5c7b90f0d7b500c19cc3ee4f90108860fbcd6c6c417893b -DIST QueueMetrics-19.10.1.tar.gz 16148354 SHA256 eb81b15917ea39a0e40995fd76824f80d649366b3e7780276071f3816c8d23a2 SHA512 ea404b8c3b9aff0addb4b82ee0ff9a3a7cf0cd0516723da5c8f8e528539382362142524e9f304e2bbcab7346902ea2bb4b1bd28aaf7d458077ecd5ba4454422f WHIRLPOOL 881b3d9027f6f79230aad1c8c973dff5d1efbd8c98d1e00c67ec8b197e437bc489d4e999b7aa22473be751e55623884704b40f34710fd5b67ed1ab7ce44ad670 -DIST QueueMetrics-19.10.2.tar.gz 16154943 SHA256 73aedfd811df4aa7cbe22d91acc8803948209a38c9dfe830997ec8edc5a2d9f7 SHA512 8121a289083bdf9b3cf4bfbf53855ee5da4195786b2c03495f5d91a213166fc8d7b78de49f6b336cc2399f6b6f92d4de91bd194a659cbbae1e23a5e8c396d3a3 WHIRLPOOL 7c148989664458ca0c2be82f21f6c79cd3d3a99f8d9bb98c162a2e39b940b01a1ab62a47c8cb2951917b6c82a69799943863011ff6cd48400ebbd53f5339e9d0 DIST QueueMetrics-19.10.3.tar.gz 16156066 SHA256 1d04ea5f7259d60bca22cb0ee1ac46450c4a73e7977f20bdda055cd09c32a5eb SHA512 e66ebf62289cfbf41d3c9690ac3b75f38139065425953e6b2aedc82dd9b7a3929bf9f8e44c07723702f8fc921e738b1af66739e305fcded5ab46f177ed2f0d2e WHIRLPOOL c26274dbba2a88029686106c13aedcde2f7cea67119675e667172fd22100a84f1371423e01cb92df995f2061925db780c5513c81d36aa079fb39d438a08cc554 -DIST apache-tomcat-8.5.42.tar.gz 9711748 SHA256 e3bebd1ecfdf439dc54f9a6f72f8fb22f33324223337f040860fd0cdf95220b5 SHA512 3e6b38e48d315d142e96f8e3809c86632f3c3903f8751c6602581a587edf840893ff0c737a65fcf9560a495b0118b5b8d60d4d1ce7947fe2abe34a89839b640f WHIRLPOOL 408cc695a79d1bd0338a47ab9424c7fb1484ddada6a55858cc973147b9e423db638fc89091e74bdf51d20b4b9e448de5c0ff75cae7a6a6ecc62468e7088deb5e -DIST apache-tomcat-8.5.43.tar.gz 9717059 SHA256 5352ab0cc4b6e71caf9161da8c4316e9cd8691bc9f5ac3e8d8b3d259ca2bae03 SHA512 422eda76c5291a3d5ca5fbd679336997371eef913a6bcf95d17bb5b3ba41a3e033c022789cb61a56914be11251492f6c4fced72dbfefb33b31a3b5b0243335c5 WHIRLPOOL 8fe17ce48132966a5ea25260b96c9d8acc3dc2dfb35e515fc3739d7d8048d9365b7f85fbf66c32152eecc688ba290b21267ed0b920283e9859382b029f2c5d4d DIST apache-tomcat-8.5.47.tar.gz 10267082 SHA256 dd08cf2675675d012f87127701794f767eaa1ddfa2734c143381f39bef611761 SHA512 079b85f3dfca2b137634859208fae6012860201d720d12ff0add3473f1e267d332cb12803958754e1f922599e0d42b7e97f00bcd62584d9148a6f45fde091716 WHIRLPOOL 852257487747565475da7c384da2070f1958e1b7fa42f157d8b75cc9e0e744f3029aac84ab48c449c6bf8585b0792c1041790fd52cae8ea7fb895ec84689657f -EBUILD queuemetrics-19.04.3-r1.ebuild 1731 SHA256 2b3b401575a52bc114c9561e87901b8413d4eeb580f6076fdb67195a2bbaff91 SHA512 022c630b75c82e53d38cd33bb61a7b9707f1c1b37cb45b2ca666077609404bfcb6cca2ead202108b21e6abc7bcab495697e7f094b1a5a84fe42e11efc4589c5a WHIRLPOOL 4edf1a9e7bcf6fceea506fdff450c8de1965a9952b100b5bb3c67303930fa71e5cec7eaba1d0b6f9bfc32d79ddc146d040e9910cb699f808750766074e616f40 -EBUILD queuemetrics-19.04.3-r2.ebuild 1981 SHA256 af3a39ed109e2364aad609649f9603b08702e7028bb33f11468414a02b092888 SHA512 d1e00a46f2482d0149b63cb29dcfc62dd854a8d2ff498e8caf39439d0f83e94d61235940981bb2ea16e32af2856654707365b5715ba67539a71c75b92fb90f08 WHIRLPOOL 3db68b693686d1959ac396882835f9bfeddca14388d5eba05b3a93e3f50199ff1c24bdecc7dc8c3c2fda947a44530d014df96984da1d5537f83a12508b516b28 -EBUILD queuemetrics-19.10.1.ebuild 1981 SHA256 af3a39ed109e2364aad609649f9603b08702e7028bb33f11468414a02b092888 SHA512 d1e00a46f2482d0149b63cb29dcfc62dd854a8d2ff498e8caf39439d0f83e94d61235940981bb2ea16e32af2856654707365b5715ba67539a71c75b92fb90f08 WHIRLPOOL 3db68b693686d1959ac396882835f9bfeddca14388d5eba05b3a93e3f50199ff1c24bdecc7dc8c3c2fda947a44530d014df96984da1d5537f83a12508b516b28 -EBUILD queuemetrics-19.10.2.ebuild 1981 SHA256 a9776ada5d247355b68289b6158976914afca297fddc12f59f613f1d7c9b43cc SHA512 da874dab6b40f2e036846ed8774753ef11e763a36b40e8f4eb62ad14124e1aea5db84bc0e044c625ea75f3e4802f409fb88463b7e60516fd002a0f7baf453ddf WHIRLPOOL 3a0b8894941eb78e318cc111f087c71f755d04b6be38f0ebcff30149eb110dfc88b22e4d715dba93f290399987502e5c1c0d82b0b4b4d6f0e1a9478c39250957 -EBUILD queuemetrics-19.10.3.ebuild 1981 SHA256 a9776ada5d247355b68289b6158976914afca297fddc12f59f613f1d7c9b43cc SHA512 da874dab6b40f2e036846ed8774753ef11e763a36b40e8f4eb62ad14124e1aea5db84bc0e044c625ea75f3e4802f409fb88463b7e60516fd002a0f7baf453ddf WHIRLPOOL 3a0b8894941eb78e318cc111f087c71f755d04b6be38f0ebcff30149eb110dfc88b22e4d715dba93f290399987502e5c1c0d82b0b4b4d6f0e1a9478c39250957 -MISC ChangeLog 2638 SHA256 581bd8c3ab790165972ebb722a2f191b59aedc2d4a90a770af6a641e1b3bc185 SHA512 59efba68ec0a00f735dca582e175331a2010bdbf88c80be20a6b541723f857814d14f23658fb449ae94e212bc52a6604ed1447b96cf2609b1964f9e6c3131b29 WHIRLPOOL 3666ebfae1a1fb340bc32e17d15404ca30f6c90a39e66d71dab5c2de593d61d03ab78565f6a8ff0ac0d00c98188c16cac8819d0f1e0afb7ec7e86916ec8702dd +EBUILD queuemetrics-19.10.3.ebuild 1983 SHA256 8a83a876bc36e1bd07d1562e670bace9180b0d2d8c20b2539427650b75540ccc SHA512 5bf3cf943c63266453d0dd7fbd9792fcf1fc4a3cd306df35a90a5c3690c0cb49ae168920361f524f68d29303ee5effd1df81c51829aa95e2ee6299d066719633 WHIRLPOOL 37ea91df45efa5e25f14a3454e6ab0079aa80f3c836ce7c8ba6cd229800727097c4dfc02130764b3000187c8d86e8e3b88d5a88507b824b72866def8f9ec61a0 +MISC ChangeLog 2888 SHA256 bf50b4be09b98d489e027edeb1ae98a617c0a27bcff0c3d5dc0b10089f4e0463 SHA512 639b6791f953f937f9843f85dcf40b7b4e3b1cd6948771505a7f0fd389d0af5875042c0b1167916b79b02abadc8746e5c711b2ef4b64831e4608dec443ac9550 WHIRLPOOL 7e0ff94641a18bb85fc867c61975a98cfc5e9154a9aae99ccf0d89fe7c9d762e25bdd35c5fa1307003e8d01d22efa59df1e72ae5c0a783651405ecc069cccfc4 MISC metadata.xml 389 SHA256 3d4f1ca7609f74c3bddef49ce0d31edb1b23cd221ee6abe001abecaac65ec87e SHA512 52df615f053daaa05ae886a8c32149d4b714e7cb8e03804fc39b16160dd3f1381645c9d5a15ce113e875234fbecbf005879dd57bbb418eddfcc901354da498f2 WHIRLPOOL 506f357243b5b1bb8e427132b19b86865932dba8344c895debb1074fa301f308850ced982a2eb29c5becebfa788b5ed7465fd285e2bf53bae95a8d680fe8cc20 diff --git a/app-metrics/queuemetrics/queuemetrics-19.04.3-r1.ebuild b/app-metrics/queuemetrics/queuemetrics-19.04.3-r1.ebuild deleted file mode 100644 index e869a5b..0000000 --- a/app-metrics/queuemetrics/queuemetrics-19.04.3-r1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# DISCLAIMER: -# This ebuild does NOT follow the Gentoo QA Rules, instead it follows the upstream way to install and run the application - -EAPI=7 - -inherit user - -TOMCAT_VERSION="8.5.42" - -DESCRIPTION="A monitoring and reporting suite for asterisk based PBX" -HOMEPAGE="https://www.queuemetrics.com" -LICENSE="all-rights-reserved" -SRC_URI="https://archive.apache.org/dist/tomcat/tomcat-8/v${TOMCAT_VERSION}/bin/apache-tomcat-${TOMCAT_VERSION}.tar.gz \ - https://downloads.loway.ch/qm/QueueMetrics-${PV}.tar.gz" -RESTRICT="mirror" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+mysql uniloader" - -RDEPEND="virtual/jdk:1.8" -PDEPEND="mysql? ( virtual/mysql[server] ) - uniloader? ( app-metrics/uniloader )" - -S="${WORKDIR}" - -pkg_setup() { - enewgroup ${PN} - enewuser ${PN} -1 -1 -1 ${PN} - - if [ "$( cat /opt/queuemetrics/tomcat/VERSION )" != "${TOMCAT_VERSION}" ] - then - ewarn - ewarn - ewarn "This ebuild will install a newer version of apache tomcat." - ewarn "You need to restart udev as soon as possible to make the upgrade go into effect." - ewarn "For sys-apps/openrc users it is:" - ewarn "# /etc/init.d/queuemetrics restart" - ewarn - ewarn - fi -} - -src_install() { - dodir /opt/${PN}/tomcat/{logs,temp,webapps,work} - insinto /opt/${PN}/tomcat - doins -r apache-tomcat-${TOMCAT_VERSION}/{bin,conf,lib} - - cp ${FILESDIR}/server.xml "${D}"/opt/${PN}/tomcat/conf/ - - fowners -R ${PN}:${PN} /opt/${PN} - fperms 0750 /opt/${PN} - - cp -r ${P} "${D}"/opt/${PN}/tomcat/webapps/${PN} - - newconfd "${FILESDIR}/${PN}.confd" ${PN} - newinitd "${FILESDIR}/${PN}.initd" ${PN} - - doenvd "${FILESDIR}/25${PN}" - - echo "${TOMCAT_VERSION}" > "${D}"/opt/${PN}/tomcat/VERSION -} diff --git a/app-metrics/queuemetrics/queuemetrics-19.04.3-r2.ebuild b/app-metrics/queuemetrics/queuemetrics-19.04.3-r2.ebuild deleted file mode 100644 index da29121..0000000 --- a/app-metrics/queuemetrics/queuemetrics-19.04.3-r2.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# DISCLAIMER: -# This ebuild does NOT follow the Gentoo QA Rules, instead it follows the upstream way to install and run the application - -EAPI=7 - -inherit user systemd - -TOMCAT_VERSION="8.5.43" - -DESCRIPTION="A monitoring and reporting suite for asterisk based PBX" -HOMEPAGE="https://www.queuemetrics.com" -LICENSE="all-rights-reserved" -SRC_URI="https://archive.apache.org/dist/tomcat/tomcat-8/v${TOMCAT_VERSION}/bin/apache-tomcat-${TOMCAT_VERSION}.tar.gz \ - https://downloads.loway.ch/qm/QueueMetrics-${PV}.tar.gz" -RESTRICT="mirror" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+mysql uniloader" - -RDEPEND="virtual/jdk:1.8" -PDEPEND="mysql? ( virtual/mysql[server] ) - uniloader? ( app-metrics/uniloader )" - -S="${WORKDIR}" - -pkg_setup() { - enewgroup ${PN} - enewuser ${PN} -1 -1 -1 ${PN} - - if [ "$( cat /opt/queuemetrics/tomcat/VERSION )" != "${TOMCAT_VERSION}" ] - then - ewarn - ewarn - ewarn "This ebuild will install a newer version of apache tomcat." - ewarn "You need to restart udev as soon as possible to make the upgrade go into effect." - ewarn "For sys-apps/openrc users it is:" - ewarn "# /etc/init.d/queuemetrics restart" - ewarn - ewarn "For sys-apps/systemd users it is:" - ewarn "# systemctl restart queuemetrics" - ewarn - ewarn - fi -} - -src_install() { - dodir /opt/${PN}/tomcat/{logs,temp,webapps,work} - insinto /opt/${PN}/tomcat - doins -r apache-tomcat-${TOMCAT_VERSION}/{bin,conf,lib} - - cp ${FILESDIR}/server.xml "${D}"/opt/${PN}/tomcat/conf/ - - fowners -R ${PN}:${PN} /opt/${PN} - fperms 0750 /opt/${PN} - - cp -r ${P} "${D}"/opt/${PN}/tomcat/webapps/${PN} - - newconfd "${FILESDIR}/${PN}.confd" ${PN} - newinitd "${FILESDIR}/${PN}.initd" ${PN} - - systemd_dounit "${FILESDIR}/${PN}.service" - systemd_dounit "${FILESDIR}/${PN}.socket" - systemd_install_serviced "${FILESDIR}/${PN}.service.conf" - - doenvd "${FILESDIR}/25${PN}" - - echo "${TOMCAT_VERSION}" > "${D}"/opt/${PN}/tomcat/VERSION -} diff --git a/app-metrics/queuemetrics/queuemetrics-19.10.1.ebuild b/app-metrics/queuemetrics/queuemetrics-19.10.1.ebuild deleted file mode 100644 index da29121..0000000 --- a/app-metrics/queuemetrics/queuemetrics-19.10.1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# DISCLAIMER: -# This ebuild does NOT follow the Gentoo QA Rules, instead it follows the upstream way to install and run the application - -EAPI=7 - -inherit user systemd - -TOMCAT_VERSION="8.5.43" - -DESCRIPTION="A monitoring and reporting suite for asterisk based PBX" -HOMEPAGE="https://www.queuemetrics.com" -LICENSE="all-rights-reserved" -SRC_URI="https://archive.apache.org/dist/tomcat/tomcat-8/v${TOMCAT_VERSION}/bin/apache-tomcat-${TOMCAT_VERSION}.tar.gz \ - https://downloads.loway.ch/qm/QueueMetrics-${PV}.tar.gz" -RESTRICT="mirror" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+mysql uniloader" - -RDEPEND="virtual/jdk:1.8" -PDEPEND="mysql? ( virtual/mysql[server] ) - uniloader? ( app-metrics/uniloader )" - -S="${WORKDIR}" - -pkg_setup() { - enewgroup ${PN} - enewuser ${PN} -1 -1 -1 ${PN} - - if [ "$( cat /opt/queuemetrics/tomcat/VERSION )" != "${TOMCAT_VERSION}" ] - then - ewarn - ewarn - ewarn "This ebuild will install a newer version of apache tomcat." - ewarn "You need to restart udev as soon as possible to make the upgrade go into effect." - ewarn "For sys-apps/openrc users it is:" - ewarn "# /etc/init.d/queuemetrics restart" - ewarn - ewarn "For sys-apps/systemd users it is:" - ewarn "# systemctl restart queuemetrics" - ewarn - ewarn - fi -} - -src_install() { - dodir /opt/${PN}/tomcat/{logs,temp,webapps,work} - insinto /opt/${PN}/tomcat - doins -r apache-tomcat-${TOMCAT_VERSION}/{bin,conf,lib} - - cp ${FILESDIR}/server.xml "${D}"/opt/${PN}/tomcat/conf/ - - fowners -R ${PN}:${PN} /opt/${PN} - fperms 0750 /opt/${PN} - - cp -r ${P} "${D}"/opt/${PN}/tomcat/webapps/${PN} - - newconfd "${FILESDIR}/${PN}.confd" ${PN} - newinitd "${FILESDIR}/${PN}.initd" ${PN} - - systemd_dounit "${FILESDIR}/${PN}.service" - systemd_dounit "${FILESDIR}/${PN}.socket" - systemd_install_serviced "${FILESDIR}/${PN}.service.conf" - - doenvd "${FILESDIR}/25${PN}" - - echo "${TOMCAT_VERSION}" > "${D}"/opt/${PN}/tomcat/VERSION -} diff --git a/app-metrics/queuemetrics/queuemetrics-19.10.2.ebuild b/app-metrics/queuemetrics/queuemetrics-19.10.2.ebuild deleted file mode 100644 index 5a5a900..0000000 --- a/app-metrics/queuemetrics/queuemetrics-19.10.2.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# DISCLAIMER: -# This ebuild does NOT follow the Gentoo QA Rules, instead it follows the upstream way to install and run the application - -EAPI=7 - -inherit user systemd - -TOMCAT_VERSION="8.5.47" - -DESCRIPTION="A monitoring and reporting suite for asterisk based PBX" -HOMEPAGE="https://www.queuemetrics.com" -LICENSE="all-rights-reserved" -SRC_URI="https://archive.apache.org/dist/tomcat/tomcat-8/v${TOMCAT_VERSION}/bin/apache-tomcat-${TOMCAT_VERSION}.tar.gz \ - https://downloads.loway.ch/qm/QueueMetrics-${PV}.tar.gz" -RESTRICT="mirror" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+mysql uniloader" - -RDEPEND="virtual/jdk:1.8" -PDEPEND="mysql? ( virtual/mysql[server] ) - uniloader? ( app-metrics/uniloader )" - -S="${WORKDIR}" - -pkg_setup() { - enewgroup ${PN} - enewuser ${PN} -1 -1 -1 ${PN} - - if [ "$( cat /opt/queuemetrics/tomcat/VERSION )" != "${TOMCAT_VERSION}" ] - then - ewarn - ewarn - ewarn "This ebuild will install a newer version of apache tomcat." - ewarn "You need to restart udev as soon as possible to make the upgrade go into effect." - ewarn "For sys-apps/openrc users it is:" - ewarn "# /etc/init.d/queuemetrics restart" - ewarn - ewarn "For sys-apps/systemd users it is:" - ewarn "# systemctl restart queuemetrics" - ewarn - ewarn - fi -} - -src_install() { - dodir /opt/${PN}/tomcat/{logs,temp,webapps,work} - insinto /opt/${PN}/tomcat - doins -r apache-tomcat-${TOMCAT_VERSION}/{bin,conf,lib} - - cp ${FILESDIR}/server.xml "${D}"/opt/${PN}/tomcat/conf/ - - fowners -R ${PN}:${PN} /opt/${PN} - fperms 0750 /opt/${PN} - - cp -r ${P} "${D}"/opt/${PN}/tomcat/webapps/${PN} - - newconfd "${FILESDIR}/${PN}.confd" ${PN} - newinitd "${FILESDIR}/${PN}.initd" ${PN} - - systemd_dounit "${FILESDIR}/${PN}.service" - systemd_dounit "${FILESDIR}/${PN}.socket" - systemd_install_serviced "${FILESDIR}/${PN}.service.conf" - - doenvd "${FILESDIR}/25${PN}" - - echo "${TOMCAT_VERSION}" > "${D}"/opt/${PN}/tomcat/VERSION -} diff --git a/app-metrics/queuemetrics/queuemetrics-19.10.3.ebuild b/app-metrics/queuemetrics/queuemetrics-19.10.3.ebuild index 5a5a900..5921ed9 100644 --- a/app-metrics/queuemetrics/queuemetrics-19.10.3.ebuild +++ b/app-metrics/queuemetrics/queuemetrics-19.10.3.ebuild @@ -51,7 +51,7 @@ src_install() { insinto /opt/${PN}/tomcat doins -r apache-tomcat-${TOMCAT_VERSION}/{bin,conf,lib} - cp ${FILESDIR}/server.xml "${D}"/opt/${PN}/tomcat/conf/ + cp "${FILESDIR}/server.xml" "${D}"/opt/${PN}/tomcat/conf/ fowners -R ${PN}:${PN} /opt/${PN} fperms 0750 /opt/${PN} |