diff options
-rw-r--r-- | app-admin/monit/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/monit/Manifest | 4 | ||||
-rw-r--r-- | app-admin/monit/files/monit.initd-5.0-r1 | 38 | ||||
-rw-r--r-- | app-admin/monit/monit-5.2.3-r1.ebuild | 46 |
4 files changed, 94 insertions, 2 deletions
diff --git a/app-admin/monit/ChangeLog b/app-admin/monit/ChangeLog index 783f855d28b4..26eff9f83e32 100644 --- a/app-admin/monit/ChangeLog +++ b/app-admin/monit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/monit # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/ChangeLog,v 1.57 2011/03/20 18:28:05 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/ChangeLog,v 1.58 2011/04/13 15:40:32 patrick Exp $ + +*monit-5.2.3-r1 (13 Apr 2011) + + 13 Apr 2011; Patrick Lauer <patrick@gentoo.org> +files/monit.initd-5.0-r1, + +monit-5.2.3-r1.ebuild: + init script fix for #362033 20 Mar 2011; Raúl Porcel <armin76@gentoo.org> monit-5.2.3.ebuild: sparc stable wrt #355567 diff --git a/app-admin/monit/Manifest b/app-admin/monit/Manifest index b9eefd8c6fb8..1ae99cbe6800 100644 --- a/app-admin/monit/Manifest +++ b/app-admin/monit/Manifest @@ -1,5 +1,6 @@ AUX monit.initd-4.10.1 621 RMD160 0f70764ab590ced7dc86699a20973db2b291e5c8 SHA1 15545615e23c234561e691709def4722dbe31567 SHA256 7f6564cb738e6430e8d1dca9be7a63db1baf4b421f5445767e235658f0b1c024 AUX monit.initd-5.0 618 RMD160 d8e488aeed8fe34d8aa69456c6f6d3f0ff162230 SHA1 e26532abcd3b3e02403c03c9fe501825e0a472c5 SHA256 9715991dfc26021689e878f74fa9c5c02a7a7504ba527c9ed0ed8f165bedaa04 +AUX monit.initd-5.0-r1 880 RMD160 2f06100a574dff54988dc571127e388aedf48969 SHA1 1a5673788b056bdb522abfa6669a30b7fa051726 SHA256 2e746a9ca995c76fc6cc995e0ec2f71b0e00eceee9610cbfd89451d469bcba17 DIST monit-4.10.1.tar.gz 606273 RMD160 6c517b19bc43f4023dfca4de1df09272b41af02d SHA1 c87aa0c6e0b1d13f46b7e9d84937191e25a907a6 SHA256 f6a29300648381538a403f24506e75b94164e26c69c6861ca112d425edc9d193 DIST monit-5.1.1.tar.gz 615924 RMD160 1b4fed4e039adfd626f3c49436702c0272948327 SHA1 cad2ff02a2f6dbfb5773d13e42506adb2165d15c SHA256 bf789e0660410e8c63f4b3dc2eeab9889347e6494a6dc1c0e764343cae0dc1ba DIST monit-5.2.1.tar.gz 619180 RMD160 9bb4fdb25b2cb1769b95574ee41a463c876518e1 SHA1 15bc783014b1ee8886e5d8f0c28f953b581d05ec SHA256 31b37dd4a6f6b48e6d6926d97bfe5ad998a2a0611af0586525a5dd1b5847e41e @@ -9,6 +10,7 @@ EBUILD monit-4.10.1.ebuild 1213 RMD160 7738cbf8f8c3efd8a0cbd6c3cd6d3ccdb2452217 EBUILD monit-5.1.1.ebuild 1178 RMD160 4eadbc13c3fe03493f33067c8f2687072ff70072 SHA1 7c263666ed1e91e77b4f8924804a8f0991fe0e33 SHA256 dc07f41d1588ffabb5b2f5297d47290149587447ad4ff91896ad5c95ecc8e1ac EBUILD monit-5.2.1.ebuild 1181 RMD160 81adbf850ddb986f499fa66e86c8d27edfb2cde4 SHA1 ebb48fe573732339f09d63b4a6072c010c3b60bb SHA256 b306d9351a86f3e6e149eab541f79bc5704b5b694f21baef34399b360af74db1 EBUILD monit-5.2.2.ebuild 1181 RMD160 606a3194956b2658e3a4e31c1e92d25b2bc87afa SHA1 2f67bf5f4cb0f64130700e00f4cb7f400c486a8b SHA256 5457fa0134f8ad60babf24333f35725bf253e56fc0e0491cfb90d204f998078b +EBUILD monit-5.2.3-r1.ebuild 1187 RMD160 7196fa0862a53cc9ba58c7c5f0ce514ac1816881 SHA1 70b5294e7fad378ce0b0cba9f752b38d8b81de12 SHA256 2ecca0eb9f6e3647415cb44675c4936201fe17e3ca9d6e78259fa79b991a6074 EBUILD monit-5.2.3.ebuild 1178 RMD160 72b763dfca3e8786e9645c26256f72559cbbf1e4 SHA1 190e52d1bb70334ad2e078e6190103c5dc161ea2 SHA256 32b9df6f14ef192ca46aa0e3964e851495e290f5c32745aeb83e78130047b9bf -MISC ChangeLog 7133 RMD160 56365923e62f538db25f238fd9333d2e35944f53 SHA1 e922f444034231f5a5726fee1007885932fb0b27 SHA256 2687bc6a54f0d63947e74f79d39faaf6b54b282e620149db3e35dcf709620d85 +MISC ChangeLog 7298 RMD160 74b2ec789988fa1462b8c98c0c226afabdb27e71 SHA1 e866844ac71b6546e1f72ec46436ac8df6ca6316 SHA256 0c423b8c0759a6ad8b6cc687b68d4326664531089a12975780e50bdc8fdd1dd6 MISC metadata.xml 283 RMD160 6e720fc6781f6653a0979215b63fafcb8801a223 SHA1 4714773a5fe2324a1b7ddb185fe710de78f3ac29 SHA256 5499d2de743ec9bb5befea5bdc63e0659eec4e44ecef80d6c7c1713708e05b05 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..14e03131aa89 --- /dev/null +++ b/app-admin/monit/files/monit.initd-5.0-r1 @@ -0,0 +1,38 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/files/monit.initd-5.0-r1,v 1.1 2011/04/13 15:40:32 patrick Exp $ + +opts="${opts} reload configtest" + + +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/monit-5.2.3-r1.ebuild b/app-admin/monit/monit-5.2.3-r1.ebuild new file mode 100644 index 000000000000..5f5049de13ef --- /dev/null +++ b/app-admin/monit/monit-5.2.3-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/monit-5.2.3-r1.ebuild,v 1.1 2011/04/13 15:40:32 patrick Exp $ + +EAPI="2" + +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 ~sparc ~x86" +IUSE="ssl" + +RDEPEND="ssl? ( dev-libs/openssl )" +DEPEND="${RDEPEND} + sys-devel/flex + sys-devel/bison" + +src_prepare() { + sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die "sed failed in Makefile.in" +} + +src_configure() { + econf $(use_with ssl) || die "econf failed" +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + + dodoc CHANGES.txt README* + dohtml -r doc/* + + insinto /etc; insopts -m700; doins monitrc || die "doins monitrc failed" + newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit || die "newinitd failed" +} + +pkg_postinst() { + elog "Sample configurations are available at:" + elog "http://mmonit.com/monit/documentation/" +} |