From d3a191d5f7a621b5a47f148a1350d2574be3a8f1 Mon Sep 17 00:00:00 2001 From: Agostino Sarubbo Date: Sun, 18 Apr 2021 22:53:56 +0200 Subject: app-metrics/queuemetrics: version bump to 21.04.1 - remove old. Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Agostino Sarubbo --- app-metrics/queuemetrics/ChangeLog | 6 ++ app-metrics/queuemetrics/Manifest | 6 +- .../queuemetrics/queuemetrics-20.11.20.ebuild | 71 ---------------------- .../queuemetrics/queuemetrics-21.04.1.ebuild | 71 ++++++++++++++++++++++ 4 files changed, 80 insertions(+), 74 deletions(-) delete mode 100644 app-metrics/queuemetrics/queuemetrics-20.11.20.ebuild create mode 100644 app-metrics/queuemetrics/queuemetrics-21.04.1.ebuild diff --git a/app-metrics/queuemetrics/ChangeLog b/app-metrics/queuemetrics/ChangeLog index 2a4a822..c871382 100644 --- a/app-metrics/queuemetrics/ChangeLog +++ b/app-metrics/queuemetrics/ChangeLog @@ -1,3 +1,9 @@ +*queuemetrics-21.04.1 (18 Apr 2021) + + 18 Apr 2021; Agostino Sarubbo +queuemetrics-21.04.1.ebuild, + -queuemetrics-20.11.20.ebuild: + app-metrics/queuemetrics: version bump to 21.04.1 - remove old. + *queuemetrics-20.11.20 (12 Apr 2021) 12 Apr 2021; Agostino Sarubbo +queuemetrics-20.11.20.ebuild, diff --git a/app-metrics/queuemetrics/Manifest b/app-metrics/queuemetrics/Manifest index 190e4ff..62fe617 100644 --- a/app-metrics/queuemetrics/Manifest +++ b/app-metrics/queuemetrics/Manifest @@ -5,8 +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-20.11.20.tar.gz 17710228 SHA256 d834d849501f63c316fecda57fe77b7122b274f1c786e780036dea3ec9f30d2e SHA512 0eac309a283bae2fdee01b52c87a9d0b81f7bd9728a268fb19efbb2457de7e5c790e91172193abe081855c48dfde7898dab34f027a7decb5307b7e80741fe719 WHIRLPOOL ce53f53202e50930561001e9b99c041bc881b756943416ae1aee46c2857b92b0149ef11c141a0a3e66457c7657116756f0d8855480176fc591378a845ff0bc87 +DIST QueueMetrics-21.04.1.tar.gz 16194725 SHA256 5a31e9f0c8caf6e723ee8862fedea234806ed472fa05f30fc32708b62d1e98a2 SHA512 e17993d96ab6a72d03da16b5d687e6b704a5ce2c552a93300b0e5bdd57a0550e5dfbf379b18fd0b92483f5e1de1847dd28db70c59dad33bd41d634cf2d6833c7 WHIRLPOOL 7af6389b700c37fd8132b495013393a4c1bbc0d82b77316b144841ade4fc2f57dc27dd0d6083e74b45819b4d06532909abfc99d7e675373c260ab0b5ec7e63c8 DIST apache-tomcat-8.5.65.tar.gz 10523269 SHA256 a88ad17797320ebb56ef62426074579e6611228eb0c6571b3de549d55c096270 SHA512 eb5a77d75a46496f7de39c1cba5f4fc4991ec7da7717e7b37ad48b4ca2ea334aeabfd094f64977477b4b2352637b56e30e5d9acfcdf7ccd5f4269a824829dd39 WHIRLPOOL 3449bda81be52b4caea663c7a2dae924ab5192b4496eadb71811931c0627eb847403ed3b477ccd33ca2f33f129a08ad2f68c9b6d235147c2e3aadd1979a36bca -EBUILD queuemetrics-20.11.20.ebuild 1979 SHA256 698d092e9e7f7d0f8f2922ae0bda566b0f2fcb9926609ea5ae38ae188602cd3e SHA512 f38c43a128a872ec25f8e4d5aa123828cc99303127f96791fc6fa8bd91d79924e6cd31e4217300bdfbe3c59261bd3b9bd936d83f7b2e4406d20451fb2d1d1e6f WHIRLPOOL 802600c6ad492dc0c1138ee8104b677f3ee219a82c269a7610ce61552abca0f5f0617859472ea08b8b02fb263c4e28864ca2d73c5667a5730c48cab03e89cc8d -MISC ChangeLog 7417 SHA256 24285f268f94f9e5930df5e6032dd37c5285040d0cf811cfcb8221f45e0d71fa SHA512 6f84ec07822210c03514d1fbcc5a64c8246623310a951c1996b90549bdda4b33ff51ef10451fe392b70f7b98527884e1a9b8d37d86582541d1ca9b565cbb9ea4 WHIRLPOOL 07ce0c8e99bac9046ee4223f97a4078db7b84e28c92b6894f4a2bcaf2d19dda813a934b1112a449a39399df5d50111a83bb2a66cc0b16dbdc02a213026525f7d +EBUILD queuemetrics-21.04.1.ebuild 1979 SHA256 698d092e9e7f7d0f8f2922ae0bda566b0f2fcb9926609ea5ae38ae188602cd3e SHA512 f38c43a128a872ec25f8e4d5aa123828cc99303127f96791fc6fa8bd91d79924e6cd31e4217300bdfbe3c59261bd3b9bd936d83f7b2e4406d20451fb2d1d1e6f WHIRLPOOL 802600c6ad492dc0c1138ee8104b677f3ee219a82c269a7610ce61552abca0f5f0617859472ea08b8b02fb263c4e28864ca2d73c5667a5730c48cab03e89cc8d +MISC ChangeLog 7633 SHA256 c3f3bb6a9f8edbb6ec7f40e5280e56ed0d59b5d71938a04b7a880167df3e534f SHA512 81114519ed40c24f0b1ea7b4c24f7cecfd217b74f3ae88e9857ce40d9f4c3ed847a7ab6ec6503a3259b53665605136f56b7e920bc4261816259217d972f93cc7 WHIRLPOOL 7f460ebbc56a0ccc92ca4904ac4368193dde563deca4210b84fbc6ac82afeef2a24af6ec13f716e876aceaec5799dece92960815baa301cd8a1c116e9ef13df7 MISC metadata.xml 389 SHA256 3d4f1ca7609f74c3bddef49ce0d31edb1b23cd221ee6abe001abecaac65ec87e SHA512 52df615f053daaa05ae886a8c32149d4b714e7cb8e03804fc39b16160dd3f1381645c9d5a15ce113e875234fbecbf005879dd57bbb418eddfcc901354da498f2 WHIRLPOOL 506f357243b5b1bb8e427132b19b86865932dba8344c895debb1074fa301f308850ced982a2eb29c5becebfa788b5ed7465fd285e2bf53bae95a8d680fe8cc20 diff --git a/app-metrics/queuemetrics/queuemetrics-20.11.20.ebuild b/app-metrics/queuemetrics/queuemetrics-20.11.20.ebuild deleted file mode 100644 index 95a97b3..0000000 --- a/app-metrics/queuemetrics/queuemetrics-20.11.20.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2021 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 systemd - -TOMCAT_VERSION="8.5.65" - -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="acct-group/queuemetrics - acct-user/queuemetrics - virtual/jdk:1.8" -PDEPEND="mysql? ( virtual/mysql[server] ) - uniloader? ( app-metrics/uniloader )" - -S="${WORKDIR}" - -pkg_setup() { - 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-21.04.1.ebuild b/app-metrics/queuemetrics/queuemetrics-21.04.1.ebuild new file mode 100644 index 0000000..95a97b3 --- /dev/null +++ b/app-metrics/queuemetrics/queuemetrics-21.04.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2021 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 systemd + +TOMCAT_VERSION="8.5.65" + +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="acct-group/queuemetrics + acct-user/queuemetrics + virtual/jdk:1.8" +PDEPEND="mysql? ( virtual/mysql[server] ) + uniloader? ( app-metrics/uniloader )" + +S="${WORKDIR}" + +pkg_setup() { + 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 +} -- cgit v1.2.3-65-gdbad