diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/monit |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/monit')
-rw-r--r-- | app-admin/monit/Manifest | 12 | ||||
-rw-r--r-- | app-admin/monit/files/monit.initd-5.0-r1 | 40 | ||||
-rw-r--r-- | app-admin/monit/files/monit.pamd | 4 | ||||
-rw-r--r-- | app-admin/monit/files/monit.service | 11 | ||||
-rw-r--r-- | app-admin/monit/metadata.xml | 8 | ||||
-rw-r--r-- | app-admin/monit/monit-5.20.0.ebuild | 51 | ||||
-rw-r--r-- | app-admin/monit/monit-5.23.0.ebuild | 51 | ||||
-rw-r--r-- | app-admin/monit/monit-5.24.0.ebuild | 51 |
8 files changed, 228 insertions, 0 deletions
diff --git a/app-admin/monit/Manifest b/app-admin/monit/Manifest new file mode 100644 index 000000000000..354307902548 --- /dev/null +++ b/app-admin/monit/Manifest @@ -0,0 +1,12 @@ +AUX monit.initd-5.0-r1 798 SHA256 daa8159c5b0b7ef5a4e3b9ce7f86c7579d391becd11be92268c74f3062f9efe0 SHA512 5e0e2ae2bd1b7e1153a24a51f10b11b7006c43c5b4d68008b477dd0a4cdf97e2109cdb48b1165b79e6f5ad8e98c24a86ff0688f9aecc9297a46d82dd402e0554 WHIRLPOOL 8d46a2fab56093c098e275a92dfe59cdf5e8daf9a4d7e9593816dfded735a657c886ed819f2a73073aceb94b47125b03df2225a5c6ebee083818d56f948ec4c6 +AUX monit.pamd 120 SHA256 02dabf0dd08f535538fcd307dc25cef22ccc60d16ada41e6b2d631c72150fb5c SHA512 75c5fbad1c04fc5c9c0de224df245d64f4e59e23f79f4037edcc94623795852900318747e8a71946cab406009834643e84e1cd40b27854951d5462e740712b5c WHIRLPOOL 677e654fc01dccdcb6541683efd37f2b0f17f24f1b79ea10a0882f23b605d15e9cd485e8a3fafa679555c6b21ad30c26f8eaf51f5c76309bc76512723f01b8e2 +AUX monit.service 226 SHA256 c7071a98916a1533c1ffb32dd7508bcd8f60a0458b83c7f1b672f65a7be00526 SHA512 3ca0499ebd21aee812b78883c144c0a346a8cb6106392544836bf76d594e96b7e77be4b32b8c3170273e8236b25000c268724148252d98a4b99131f8b0ce4e88 WHIRLPOOL 053218a34c71a55a8fa732c72cba17e4100158ef6e931c9d4ede5185e470c51dbb93e68c47db2371e7ab29be55082b31054fc40512cda411683e694d22a84436 +DIST monit-5.20.0.tar.gz 1267991 SHA256 ebac395ec50c1ae64d568db1260bc049d0e0e624c00e79d7b1b9a59c2679b98d SHA512 653cba9d63fad42acf8c27ee9c050d047fc78e0b7e8cdb0f3d0a533d5b5e01ccf1b82d443cb6518d286547087a021e37a59cbffedbb3daf49ff8f95e8c64b884 WHIRLPOOL 28f9fcfa86c346fb390654e4730cc52ce30b794b2dc1e02a484079b55a8bcb50d78a71e2e856f1ce1e161dc99bcd6913b4db92ed0deab64e969c5c6a464c584d +DIST monit-5.23.0.tar.gz 1298472 SHA256 dd39fe3a379c02402ba9c44c201b3ba925ebdc8f04225918820607b6c5d56713 SHA512 6ca3de51c7fdb8a677feafb684dc459f4064539fe5501dfa53a2027bb7b1e6f6121b7fa593c9e373f009d2fd0eeca2b9dd659c337f056dfe769908a3aa7ec5b8 WHIRLPOOL 1d02ec6ca5152c9df3131e851354ae5af58f8526f7934184c5d4f423bbba9a620c70a6d2731336aa8862d4e33cf4bebdc9b7ef1d3950bea1b49caa2dd660ca88 +DIST monit-5.24.0.tar.gz 1352660 SHA256 754d1f0e165e5a26d4639a6a83f44ccf839e381f2622e0946d5302fa1f2d2414 SHA512 5260a1b543495c650e2e91ad38129c65253ce6649150e0e51d11b2902723cb7dd8e1a874c473bec3ba5b51721f2b61fdec92cf445f11cc217c1a6fcc0fab1a1e WHIRLPOOL 2d12934af302f084d4657e7a57f5dc19e76ac17c7aced46181806af12c1f214f2c1f37a7cb54c47e003f78a5d94f91d590bee69cd9669edd9501d977fe5305e7 +EBUILD monit-5.20.0.ebuild 1101 SHA256 b5d555b46808d7c7297d06562d67a8d38f10fc8e80bf9aaec65c54863117df51 SHA512 c49e39d635cff50eb1708ed61741b6200ae22646889af29a29a01d90bb51ba19e9bc81bf0b731e100369e8201def512753ee35dd352137991a1c6eb2032a9ef3 WHIRLPOOL 4919ef080bb5ab3cec2c5302a4742ad90d19fb2c7ae674fc2b8428bcc0e63412de76a22d41b2294d9a75f873512cce7fc17568b410e2d7d7c69827d8fb8380f2 +EBUILD monit-5.23.0.ebuild 1103 SHA256 2edec7d234574835261e91adc0ff6cd9d094043162c53ae7b2fd18eb877d7e5a SHA512 7eb7ae4428f7e82318cca3b2bcdf0b2760cd8f44f295b1025b8a29b1d1d725f294ce1e46af6403d016ab1ec4b8069e9b1007267e75efc9c4aed8e74a704c0d6b WHIRLPOOL 160bfd3bb2d49fc2a6efef932cb004c2f7bde00092480053985f1ba9332984424e650aa062f598203f1d5759c4e44a3295a0816bbfcb0c980ccbd7a61889012e +EBUILD monit-5.24.0.ebuild 1104 SHA256 5445b58583a18dab8521e514f7c3140368c6ad9105bff84f2ea1d8f22d5ceee8 SHA512 bc900aa0e228505601343c5679bfdda306119a5790812bc10c88a5e4852be827b9d041fe1a390be1b82f64fac955e87e77929005450abb2351a5d937d575e8a6 WHIRLPOOL e833b558c9b9da1095ce88475945acc924b45777cc973226a6a0aaa1d6b5c3335683d869195ad2533bf204bc2da9ef6d7b2f42b3951566e12cd28fb54749f7a2 +MISC ChangeLog 7872 SHA256 fd6800eb1f8532e22be3688d0ae3cba634c6cbc7fca5cb3c8e01cc322a619746 SHA512 228af8eef0270ba2522f5301e4adefaa0a8db19dfef2d106b0bc30893406a24c55243efb92d243d56f509a332b765c7154e873fb95a9bcc1f036b8e12912dea8 WHIRLPOOL e4bf69051f556232e18ca8cc7d985cbc69f0dd75388babb2231e395b3ba3cbd20d5f5b64a77bd9683deaa42c91b8e768c1bcaf746726b965d3f5c0191be76d1f +MISC ChangeLog-2015 13003 SHA256 39ea4bdb74b39b5ed02a9955bb31f5c0b9ba446899c4b34f8cb9fd7b8311de11 SHA512 8e7909dc91a1d19e67d11ad4739fce45105099d7d51fa96c9ec52628df21af5fe1e58ffeaf566036819aca32c89073147dbd3ad09eb9395694a5c001ecad3e44 WHIRLPOOL 053b5e858e4d2f1d08cba9cf298c43b8e8d56e0ecb82f351e5827f94f21f318feeb25ca755b0c02f7a4dd97f2e9e6ce963316db90387ee1f7986fd7d07bf4499 +MISC metadata.xml 275 SHA256 6b0d4319c37297822629bbf8f4a20097c86c8453fbeef458cd91cd10e2d0021e SHA512 1419507ecefa34dc331abc068e481d00ea0c6d9f90f767f281f679b00d4844d6a479c3969421c61583cf81d8e20da46745a9039d31a423fe416a33536737f40b WHIRLPOOL 51cdfebe45cbb4e5196a05bc0019816eb7d29ad06e94cf2c344b1ffc62d3b5ad040b56dd64492c1b67fddc198efd285df08ce4202e2ecc1a64a853139a565c2a diff --git a/app-admin/monit/files/monit.initd-5.0-r1 b/app-admin/monit/files/monit.initd-5.0-r1 new file mode 100644 index 000000000000..4589cf41bfef --- /dev/null +++ b/app-admin/monit/files/monit.initd-5.0-r1 @@ -0,0 +1,40 @@ +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or later + +extra_commands="configtest" +extra_started_commands="reload" + +command="/usr/bin/monit" + +depend() { + use net +} + +configtest() { + ${command} -t 1>/dev/null 2>&1 + ret=$? + if [ $ret -ne 0 ]; then + eerror "${SVCNAME} has detected an error in your setup:" + ${command} -t + fi + return $ret +} + +start() { + ebegin "Starting monit" + start-stop-daemon --start --quiet --exec ${command} >/dev/null 2>&1 + eend $? +} + +stop() { + ebegin "Stopping monit" + start-stop-daemon --stop --quiet --exec ${command} + eend $? +} + +reload() { + ebegin "Reloading monit" + ${command} -c /etc/monitrc reload >/dev/null 2>&1 + eend $? +} diff --git a/app-admin/monit/files/monit.pamd b/app-admin/monit/files/monit.pamd new file mode 100644 index 000000000000..6322e259c745 --- /dev/null +++ b/app-admin/monit/files/monit.pamd @@ -0,0 +1,4 @@ +auth sufficient pam_securityserver.so +auth sufficient pam_unix.so +auth required pam_deny.so +auth required pam_permit.so diff --git a/app-admin/monit/files/monit.service b/app-admin/monit/files/monit.service new file mode 100644 index 000000000000..268825285d05 --- /dev/null +++ b/app-admin/monit/files/monit.service @@ -0,0 +1,11 @@ +[Unit] +Description=Pro-active monitoring utility for unix systems +After=network.target + +[Service] +ExecStart=/usr/bin/monit -I +ExecStop=/usr/bin/monit quit +ExecReload=/usr/bin/monit reload + +[Install] +WantedBy=multi-user.target diff --git a/app-admin/monit/metadata.xml b/app-admin/monit/metadata.xml new file mode 100644 index 000000000000..582e37e24b75 --- /dev/null +++ b/app-admin/monit/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>patrick@gentoo.org</email> + <name>Patrick Lauer</name> + </maintainer> +</pkgmetadata> diff --git a/app-admin/monit/monit-5.20.0.ebuild b/app-admin/monit/monit-5.20.0.ebuild new file mode 100644 index 000000000000..b3fe1c1e4950 --- /dev/null +++ b/app-admin/monit/monit-5.20.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit pam systemd + +DESCRIPTION="Monitoring and managing daemons or similar programs running on a Unix system" +HOMEPAGE="http://mmonit.com/monit/" +SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux" +IUSE="libressl pam ssl" + +RDEPEND=" + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + )" +DEPEND="${RDEPEND} + sys-devel/flex + sys-devel/bison + pam? ( virtual/pam )" + +src_prepare() { + default + + sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die "sed failed in Makefile.in" +} + +src_configure() { + econf $(use_with ssl) $(use_with pam) +} + +src_install() { + default + + dodoc README + + insinto /etc; insopts -m600; doins monitrc + newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit + systemd_dounit "${FILESDIR}"/${PN}.service + + use pam && newpamd "${FILESDIR}"/${PN}.pamd ${PN} +} + +pkg_postinst() { + elog "Sample configurations are available at:" + elog "http://mmonit.com/monit/documentation/" +} diff --git a/app-admin/monit/monit-5.23.0.ebuild b/app-admin/monit/monit-5.23.0.ebuild new file mode 100644 index 000000000000..17d2826d6bc8 --- /dev/null +++ b/app-admin/monit/monit-5.23.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit pam systemd + +DESCRIPTION="Monitoring and managing daemons or similar programs running on a Unix system" +HOMEPAGE="http://mmonit.com/monit/" +SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="libressl pam ssl" + +RDEPEND=" + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + )" +DEPEND="${RDEPEND} + sys-devel/flex + sys-devel/bison + pam? ( virtual/pam )" + +src_prepare() { + default + + sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die "sed failed in Makefile.in" +} + +src_configure() { + econf $(use_with ssl) $(use_with pam) +} + +src_install() { + default + + dodoc README + + insinto /etc; insopts -m600; doins monitrc + newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit + systemd_dounit "${FILESDIR}"/${PN}.service + + use pam && newpamd "${FILESDIR}"/${PN}.pamd ${PN} +} + +pkg_postinst() { + elog "Sample configurations are available at:" + elog "http://mmonit.com/monit/documentation/" +} diff --git a/app-admin/monit/monit-5.24.0.ebuild b/app-admin/monit/monit-5.24.0.ebuild new file mode 100644 index 000000000000..0cbe43595233 --- /dev/null +++ b/app-admin/monit/monit-5.24.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit pam systemd + +DESCRIPTION="Monitoring and managing daemons or similar programs running on a Unix system" +HOMEPAGE="http://mmonit.com/monit/" +SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="libressl pam ssl" + +RDEPEND=" + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + )" +DEPEND="${RDEPEND} + sys-devel/flex + sys-devel/bison + pam? ( virtual/pam )" + +src_prepare() { + default + + sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die "sed failed in Makefile.in" +} + +src_configure() { + econf $(use_with ssl) $(use_with pam) +} + +src_install() { + default + + dodoc README + + insinto /etc; insopts -m600; doins monitrc + newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit + systemd_dounit "${FILESDIR}"/${PN}.service + + use pam && newpamd "${FILESDIR}"/${PN}.pamd ${PN} +} + +pkg_postinst() { + elog "Sample configurations are available at:" + elog "http://mmonit.com/monit/documentation/" +} |