diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-admin/monit | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-admin/monit')
-rw-r--r-- | app-admin/monit/Manifest | 6 | ||||
-rw-r--r-- | app-admin/monit/files/monit.initd-5.0 | 28 | ||||
-rw-r--r-- | app-admin/monit/files/monit.initd-5.0-r1 | 39 | ||||
-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.12.2.ebuild | 47 | ||||
-rw-r--r-- | app-admin/monit/monit-5.13.ebuild | 47 | ||||
-rw-r--r-- | app-admin/monit/monit-5.14.ebuild | 47 | ||||
-rw-r--r-- | app-admin/monit/monit-5.8.1-r1.ebuild | 49 | ||||
-rw-r--r-- | app-admin/monit/monit-5.8.ebuild | 49 | ||||
-rw-r--r-- | app-admin/monit/monit-5.9.ebuild | 49 |
12 files changed, 384 insertions, 0 deletions
diff --git a/app-admin/monit/Manifest b/app-admin/monit/Manifest new file mode 100644 index 000000000000..aa4461469e54 --- /dev/null +++ b/app-admin/monit/Manifest @@ -0,0 +1,6 @@ +DIST monit-5.12.2.tar.gz 1192066 SHA256 8ab0296d1aa2351b1573481592d7b5e06de1edd49dff1b5552839605a450914c SHA512 086f9af2c6d155c5375e7de5641025707f34577d4f2a4a76d1a104361b5d5793a4f04313cafb5d6884a01aba59f1bbb405b37294ba133d9a93c05e484e5933ff WHIRLPOOL 3d25ab0dc3cfe0e2c881f35e48b64355fe12ce1d3357450d2b1d2aba7344acbe55c031e4fd6b49f7c523b674ff650cbad5bbc91853ec15dd10e64f164504ea70 +DIST monit-5.13.tar.gz 1193463 SHA256 9abae036f3be93a19c6b476ecd106b29d4da755bbc05f0a323e882eab6b2c5a9 SHA512 257fc9d5ece7b39973107adef51b437941c944909efa03949f53067a0811ab8929ea57e98cbf06a22dd6d69aaa0aadd65a22788165819ede8316dcd1894ad546 WHIRLPOOL 7556bd2299b4f930525877543c74c9a30f4a719e7abfb7e5b596ba070dc5c9a6aefaf129891e7ba1f5d1643bc8edbbfd9b35513b38c1bfec143f33e34b667420 +DIST monit-5.14.tar.gz 1200131 SHA256 d0424c3ee8ed43d670ba039184a972ac9f3ad6f45b0806ec17c23820996256c6 SHA512 6491434e15fab6f92e29b9f490418332a7700d110c0bd825d65e1aadd68ea082a1d9a7e2b570075b35d6cdb64ae207567bdeb2580e6e5407ba277cc6d1693c78 WHIRLPOOL 8e7ba198f6048d8de06082a269a9f7fa8fbbcd95e14174010bdf54935db53f840d00744e35f4260e9de5d8d9a6ea47aa7c4b037998b035775bbbe212057d75e7 +DIST monit-5.8.1.tar.gz 1212491 SHA256 a25e4b79257ac29ebaf46605dccb7ed693c8e001669c0ccc8feb22e7d4c870e5 SHA512 0cf8b46ea5a5ab42beac4aab649d4fa324b03e02aaceee6a86968849db46b129cd8f20e314c855653620a0bd4b4aa105e2c812a386ddd2be3196ff956f1e7e11 WHIRLPOOL 8134017da3c1f0dc2675df9cb2d7ecd0905765a92a248701a4de2b9ba449a548ae28cf661019e882a1992c027095360f14d1b2378c924623937c85b691c6056c +DIST monit-5.8.tar.gz 1237958 SHA256 0c00573ebc0156c534a5952f392c2a7bedde194f8261c05497322055938847f5 SHA512 61f2cb4a6b2da8617adfd16ace4d9b246957385109fee9a3312272ac271003cd89a12872ac3a07b0148ad7bdbe544e447745033d2a9fab19908ef19b7a106dda WHIRLPOOL 0eb1f5b778264d7881281f7139037fa07c225a5c7ece7cae2149460036a58c008e16a3d883e1876a2dc08f092900e05d164e37714ec5fc19960d4127e13c6eeb +DIST monit-5.9.tar.gz 1161683 SHA256 274044485170b7498de29e7876cd86488378f50d69df4303a14930ba1f5e4a11 SHA512 915d548d5a4e043b346ec32d9fd3131d7eafd8ed1167e4fca3d4918df9ff87a166dbb2b3398d59a8510c7190c43fe26043568742a27828257140683bea349c83 WHIRLPOOL d5bde04202b066665feeef7bca5e0ec23c18c0bf5a6940ac30b8bfc8cc01056a802b3beae8e0caac861770e167b7b48254fe08fbb9294554e25102bec620f508 diff --git a/app-admin/monit/files/monit.initd-5.0 b/app-admin/monit/files/monit.initd-5.0 new file mode 100644 index 000000000000..0656bc58a6e9 --- /dev/null +++ b/app-admin/monit/files/monit.initd-5.0 @@ -0,0 +1,28 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or later +# $Id$ + +extra_started_commands="reload" + +depend() { + use net +} + +start() { + ebegin "Starting monit" + start-stop-daemon --start --quiet --exec /usr/bin/monit >/dev/null 2>&1 + eend $? +} + +stop() { + ebegin "Stopping monit" + start-stop-daemon --stop --quiet --exec /usr/bin/monit + eend $? +} + +reload() { + ebegin "Reloading monit" + /usr/bin/monit -c /etc/monitrc reload >/dev/null 2>&1 + eend $? +} 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..2a6339f9e6e8 --- /dev/null +++ b/app-admin/monit/files/monit.initd-5.0-r1 @@ -0,0 +1,39 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or later +# $Id$ + +extra_commands="configtest" +extra_started_commands="reload" + +depend() { + use net +} + +configtest() { + /usr/bin/monit -t 1>/dev/null 2>&1 + ret=$? + if [ $ret -ne 0 ]; then + eerror "${SVCNAME} has detected an error in your setup:" + /usr/bin/monit -t + fi + return $ret +} + +start() { + ebegin "Starting monit" + start-stop-daemon --start --quiet --exec /usr/bin/monit >/dev/null 2>&1 + eend $? +} + +stop() { + ebegin "Stopping monit" + start-stop-daemon --stop --quiet --exec /usr/bin/monit + eend $? +} + +reload() { + ebegin "Reloading monit" + /usr/bin/monit -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..8c3b2675c6f3 --- /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> + <email>patrick@gentoo.org</email> + <name>Patrick Lauer</name> + </maintainer> +</pkgmetadata> diff --git a/app-admin/monit/monit-5.12.2.ebuild b/app-admin/monit/monit-5.12.2.ebuild new file mode 100644 index 000000000000..cae8f8f60a00 --- /dev/null +++ b/app-admin/monit/monit-5.12.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit pam systemd + +DESCRIPTION="a utility for 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="GPL-3" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux" +IUSE="pam ssl" + +RDEPEND="ssl? ( dev-libs/openssl )" +DEPEND="${RDEPEND} + sys-devel/flex + sys-devel/bison + pam? ( virtual/pam )" + +src_prepare() { + 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* + dohtml -r doc/* + + 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.13.ebuild b/app-admin/monit/monit-5.13.ebuild new file mode 100644 index 000000000000..1fe7beccbb9a --- /dev/null +++ b/app-admin/monit/monit-5.13.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit pam systemd + +DESCRIPTION="a utility for 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="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="pam ssl" + +RDEPEND="ssl? ( dev-libs/openssl )" +DEPEND="${RDEPEND} + sys-devel/flex + sys-devel/bison + pam? ( virtual/pam )" + +src_prepare() { + 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* + dohtml -r doc/* + + 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.14.ebuild b/app-admin/monit/monit-5.14.ebuild new file mode 100644 index 000000000000..1fe7beccbb9a --- /dev/null +++ b/app-admin/monit/monit-5.14.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit pam systemd + +DESCRIPTION="a utility for 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="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="pam ssl" + +RDEPEND="ssl? ( dev-libs/openssl )" +DEPEND="${RDEPEND} + sys-devel/flex + sys-devel/bison + pam? ( virtual/pam )" + +src_prepare() { + 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* + dohtml -r doc/* + + 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.8.1-r1.ebuild b/app-admin/monit/monit-5.8.1-r1.ebuild new file mode 100644 index 000000000000..136e734eee4d --- /dev/null +++ b/app-admin/monit/monit-5.8.1-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit systemd + +DESCRIPTION="a utility for 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="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="pam ssl" + +RDEPEND="ssl? ( dev-libs/openssl )" +DEPEND="${RDEPEND} + sys-devel/flex + sys-devel/bison + pam? ( virtual/pam )" + +src_prepare() { + sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die "sed failed in Makefile.in" +} + +src_configure() { + econf $(use_with ssl) $(use_with pam) || die "econf failed" +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + + dodoc README* + dohtml -r doc/* + + insinto /etc; insopts -m600; doins monitrc || die "doins monitrc failed" + newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit || die "newinitd failed" + systemd_dounit "${FILESDIR}"/${PN}.service || die +} + +pkg_postinst() { + elog "Sample configurations are available at:" + elog "http://mmonit.com/monit/documentation/" +} diff --git a/app-admin/monit/monit-5.8.ebuild b/app-admin/monit/monit-5.8.ebuild new file mode 100644 index 000000000000..11cd9a3a2aa8 --- /dev/null +++ b/app-admin/monit/monit-5.8.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" +inherit systemd + +DESCRIPTION="a utility for 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="GPL-3" +SLOT="0" +KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux" +IUSE="pam ssl" + +RDEPEND="ssl? ( dev-libs/openssl )" +DEPEND="${RDEPEND} + sys-devel/flex + sys-devel/bison + pam? ( virtual/pam )" + +src_prepare() { + sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die "sed failed in Makefile.in" +} + +src_configure() { + econf $(use_with ssl) $(use_with pam) || die "econf failed" +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + + dodoc README* + dohtml -r doc/* + + insinto /etc; insopts -m600; doins monitrc || die "doins monitrc failed" + newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit || die "newinitd failed" + systemd_dounit "${FILESDIR}"/${PN}.service || die +} + +pkg_postinst() { + elog "Sample configurations are available at:" + elog "http://mmonit.com/monit/documentation/" +} diff --git a/app-admin/monit/monit-5.9.ebuild b/app-admin/monit/monit-5.9.ebuild new file mode 100644 index 000000000000..907070ff16b3 --- /dev/null +++ b/app-admin/monit/monit-5.9.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit systemd + +DESCRIPTION="a utility for 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="GPL-3" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux" +IUSE="pam ssl" + +RDEPEND="ssl? ( dev-libs/openssl )" +DEPEND="${RDEPEND} + sys-devel/flex + sys-devel/bison + pam? ( virtual/pam )" + +src_prepare() { + sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die "sed failed in Makefile.in" +} + +src_configure() { + econf $(use_with ssl) $(use_with pam) || die "econf failed" +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + + dodoc README* + dohtml -r doc/* + + insinto /etc; insopts -m600; doins monitrc || die "doins monitrc failed" + newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit || die "newinitd failed" + systemd_dounit "${FILESDIR}"/${PN}.service || die +} + +pkg_postinst() { + elog "Sample configurations are available at:" + elog "http://mmonit.com/monit/documentation/" +} |