summaryrefslogtreecommitdiff
path: root/app-admin/monit
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/monit')
-rw-r--r--app-admin/monit/Manifest5
-rw-r--r--app-admin/monit/files/monit.logrotate7
-rw-r--r--app-admin/monit/monit-5.28.1-r1.ebuild (renamed from app-admin/monit/monit-5.27.1-r1.ebuild)7
3 files changed, 15 insertions, 4 deletions
diff --git a/app-admin/monit/Manifest b/app-admin/monit/Manifest
index 3273d2a90678..e0a4cf8c9f5a 100644
--- a/app-admin/monit/Manifest
+++ b/app-admin/monit/Manifest
@@ -1,10 +1,11 @@
AUX monit.initd-5.0-r1 801 BLAKE2B adec89a1694095c128763bb3a2f31867d89b2a4ef1ab2e6347d84c6652a0ef02c5c0c6957e777045dc0c41b3036d806efd71f1186c5a8f7db81e90cb2d9775b7 SHA512 f152b8f7889d1dcad313591f5d6c66261055a8ee61a66cc35b25f51b76ecb3b4dc316eef189b7554ac0f24387c73acf685ca65f12e3a0bf2070ae5003424d162
+AUX monit.logrotate 146 BLAKE2B 89bbe7c69f50dbca3f3c443d56da6eae6aab7a4976f90c209850b71410e5faa12c40d488d694a94635167ae245fd021cae6a855523dc6bcbb538bc6c29c07526 SHA512 bac426713adf8cc6dead70916cf3404229652cd85d0d4f4b436f9a4074a7a9cc3af03da6d91677645e349bcf6a614d0adf277676d04a54b7f67ba3ec6714903a
AUX monit.pamd 120 BLAKE2B 76744f79babaa99fa2961f73158ca755f885e9ea8e20b76dcb29f8fd10be6b5804b09b3c90f59ada7ce81eab90713ba43d2b2f28a6abc278fdfc75b356af4e67 SHA512 75c5fbad1c04fc5c9c0de224df245d64f4e59e23f79f4037edcc94623795852900318747e8a71946cab406009834643e84e1cd40b27854951d5462e740712b5c
AUX monit.service 226 BLAKE2B 3b3041900987acd5bb6faa770c6631f6554b2e4360520252369951b3f7f87a3dd96440a58c9d2c4973ce9980a00ab7085c92af1e6542ae10d679ba352d170b19 SHA512 3ca0499ebd21aee812b78883c144c0a346a8cb6106392544836bf76d594e96b7e77be4b32b8c3170273e8236b25000c268724148252d98a4b99131f8b0ce4e88
-DIST monit-5.27.1.tar.gz 1459360 BLAKE2B ef8030112c401ab08653692c702f2ec6d34c11605c2f6fbb5310f8e08d7fb238cf1b2d0271358b7160e05ad8dae3931d458329c422ae826681c11fe46fac01b4 SHA512 1e71a529a920a37576242a99fe8067d9b88f64136b111c152527aca4aa5d3cac3c32c1f58a793a56361b8e286f025bfb1f063f4c38d25ebafc7927fbf9170673
DIST monit-5.27.2.tar.gz 1463790 BLAKE2B f00733261fd941f47ec04e63ed9e3617991cd8a069a14e59941e85d3a342537892019864d4716f821428adb57979aa270fcba9d57f573d49e897dfcd77cc133a SHA512 a45cbbf0905b165767e21d66103b460ea48948824d043881aba3de752e34a67bfb3b97f75153e3672d87a34a702d66ceee28160110654aa52fb82c668aa135b9
DIST monit-5.28.0.tar.gz 1480041 BLAKE2B 3ac9930efc89de8b4f65dd197c4f4289b3410afac38950c83b459436720d2c786e89d8bad22e4a7688af9c6111021500b9f3c6f0a8e8cee3a6b0e2f5058ec148 SHA512 3805a8cd5ad2ef9c94832a7fe3a09cf508eb857c92cda129d914db8656613e26eac5fefdaa4530b3403b4f6eb0c4cccdc620c12461dbebcda738ba9535ffa885
-EBUILD monit-5.27.1-r1.ebuild 1162 BLAKE2B 71b1d1a5e10520af69bebfcab81f17c7a72e43753d7fe1f0c421c4d2e738d20248638f6860baa9bcddff82294d0855cb004d974430dcff6a5de6cf2d6546f753 SHA512 70657c77855021896681345dc5fc4d654d356e559bd83f7ac92561e5e154aa5ec12234699a7e85551e92cf19a6eff54bba956a41f0180f5af909c1515b0465a7
+DIST monit-5.28.1.tar.gz 1470342 BLAKE2B 134f63f4560cf26a563cb8e1f063b291dd6d87159878a1918aef62d8ffe6138a64b4e34c1713b46cb80bfd04eddb0abab725aa7cbe59331dac9e41d0f286f883 SHA512 2683084aea88567309b4693247c27312e1cb4225175cb8643a1f980ed8fc8ecd549818e157e1bb6c0feafc306bc9217bbd2c0c501cb75ea2425b646955076e5a
EBUILD monit-5.27.2-r1.ebuild 1162 BLAKE2B 71b1d1a5e10520af69bebfcab81f17c7a72e43753d7fe1f0c421c4d2e738d20248638f6860baa9bcddff82294d0855cb004d974430dcff6a5de6cf2d6546f753 SHA512 70657c77855021896681345dc5fc4d654d356e559bd83f7ac92561e5e154aa5ec12234699a7e85551e92cf19a6eff54bba956a41f0180f5af909c1515b0465a7
EBUILD monit-5.28.0-r1.ebuild 1165 BLAKE2B c6ef0342430b3db2a28b3a6fba3e839f62669bf96d364905c8e7dd1b992bfbf13a26c2d74d16a9a6377c4700c995dcfef8b8ce9c32e1ece39a3ad4b8cacaa133 SHA512 b9ddf767729170ba218fe35bc3dc49efdf3218d5cb19b4312d2f6e8d1fe65c1c5a88a6b61c1bce766c5b5a4079f62f3add5bcce325659b6a228d3bea4530b79c
+EBUILD monit-5.28.1-r1.ebuild 1231 BLAKE2B 1de7222521a60adfaf6abc1a2fc8b3e75bfaa669d167734a4c0058aead6f419f38b63dc01a9aee6ddd8b9934a0e87cb7bc0d50ef454ab80792bf117ee5eb3e7a SHA512 cf682f1d976b4ec006ad9429c4e06948a7857802f35f767d2b12728186320053332a2e59b74cdb2f2b91ee54eaea5c19e770329e95e89e6e3c5c21a080c4a854
MISC metadata.xml 247 BLAKE2B 5a20af3c9732ef7dba68131a08988652f5c93a6d186a82c4deb1bb9c06dc3ae73152a0d241cc346637f7b11caf4676da43301ba596c67b66669535e71db0b03e SHA512 29cf52c16b0cce69899d9c2da8acd9144b7d760442aa323b854dceadb42459e009545193b1df7911ac2241b59f4819b4a6bb1d206d6f57953f770031433bb6b7
diff --git a/app-admin/monit/files/monit.logrotate b/app-admin/monit/files/monit.logrotate
new file mode 100644
index 000000000000..25246a559777
--- /dev/null
+++ b/app-admin/monit/files/monit.logrotate
@@ -0,0 +1,7 @@
+/var/log/monit.log {
+ rotate 15
+ daily
+ postrotate
+ /usr/bin/monit reload >/dev/null 2>&1
+ endscript
+}
diff --git a/app-admin/monit/monit-5.27.1-r1.ebuild b/app-admin/monit/monit-5.28.1-r1.ebuild
index 7ed9b024d941..d9f496af739c 100644
--- a/app-admin/monit/monit-5.27.1-r1.ebuild
+++ b/app-admin/monit/monit-5.28.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz"
LICENSE="AGPL-3"
SLOT="0"
-KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
IUSE="ipv6 pam ssl"
RDEPEND="sys-libs/zlib:=
@@ -42,6 +42,9 @@ src_configure() {
src_install() {
default
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/monit.logrotate monit
+
insinto /etc; insopts -m600; doins monitrc
newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit
systemd_dounit "${FILESDIR}"/${PN}.service