diff options
author | Marc Schiffbauer <mschiff@gentoo.org> | 2014-09-18 17:25:38 +0000 |
---|---|---|
committer | Marc Schiffbauer <mschiff@gentoo.org> | 2014-09-18 17:25:38 +0000 |
commit | ececb30462a25223f0c6b9b00ef58a7025e326db (patch) | |
tree | 945e12f43c975168071f87b591ee5d35b0b5701b /sys-cluster | |
parent | app-text/xmlstarlet: Remove old (diff) | |
download | historical-ececb30462a25223f0c6b9b00ef58a7025e326db.tar.gz historical-ececb30462a25223f0c6b9b00ef58a7025e326db.tar.bz2 historical-ececb30462a25223f0c6b9b00ef58a7025e326db.zip |
ebuild added to tree.
Package-Manager: portage-2.2.12-r1/cvs/Linux x86_64
Manifest-Sign-Key: 0x296C6CCA35A64134
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/poolmon/ChangeLog | 10 | ||||
-rw-r--r-- | sys-cluster/poolmon/Manifest | 17 | ||||
-rw-r--r-- | sys-cluster/poolmon/files/poolmon.conf | 3 | ||||
-rw-r--r-- | sys-cluster/poolmon/files/poolmon.init | 18 | ||||
-rw-r--r-- | sys-cluster/poolmon/files/poolmon.logrotate | 6 | ||||
-rw-r--r-- | sys-cluster/poolmon/metadata.xml | 8 | ||||
-rw-r--r-- | sys-cluster/poolmon/poolmon-0.5.ebuild | 30 |
7 files changed, 92 insertions, 0 deletions
diff --git a/sys-cluster/poolmon/ChangeLog b/sys-cluster/poolmon/ChangeLog new file mode 100644 index 000000000000..a6afb3c6ee0b --- /dev/null +++ b/sys-cluster/poolmon/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-cluster/poolmon +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/poolmon/ChangeLog,v 1.1 2014/09/18 17:25:35 mschiff Exp $ + +*poolmon-0.5 (18 Sep 2014) + + 18 Sep 2014; Marc Schiffbauer <mschiff@gentoo.org> +files/poolmon.conf, + +files/poolmon.init, +files/poolmon.logrotate, +metadata.xml, + +poolmon-0.5.ebuild: + ebuild added to tree. diff --git a/sys-cluster/poolmon/Manifest b/sys-cluster/poolmon/Manifest new file mode 100644 index 000000000000..d12548b03f46 --- /dev/null +++ b/sys-cluster/poolmon/Manifest @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX poolmon.conf 67 SHA256 cce26febefa84d2e184786f04760cddbce373c6ebdfcba614c9c4008f705ef7c SHA512 74641c17776aa8cc3d3155d92a731da05eb9ca18c053de216ccc7b98ad684ca3aff9f8a7972955670f2b8e4210c6ac469a3a124686824efa91f6c6c537ee35b2 WHIRLPOOL 8740ef5321326cf46d5f0823ecf21ca8387aba35c1775657a38f20d2433df16c9f804ea97a447243985dcf073e9a08ddba6daf210d570b3bc19272e3692c4376 +AUX poolmon.init 529 SHA256 66d9144c67207d5462003225541fa896221d315d363ec257a2028416ecda461b SHA512 c8c2b71c184cfb35e114af916dc4aaef134f6e02918ef9b6d81c8d57f1c264368dd8b2a63aa95fbabe9a0864331f75ce634d1512d83228b12ee7821cb757e2ef WHIRLPOOL 56c0e016734343a7ed452f29fd4c9143876ffbcf3295fcde41005b1bb0c79cc339b71bb9ee0c153eca785d3ec2811cc910dd5f7ded261c1df7a5bd0a167333a0 +AUX poolmon.logrotate 132 SHA256 d689c9a79043d6cb5d6797fe143f1ecb59e46bd4ce48a620bc1f357b6e26dd24 SHA512 b18cca84d2d12aca84a5b53369631a34cc93d58fd74877c38f7577e68657510d741e3897e42b8ceab8c8c109916d1992dbf7bc4bb886803c9f3de7e640738590 WHIRLPOOL 28764293af9e247c6cc1667599c0901090db67e12e255d2cfc5f3351d353a21ab1bae6895de2e29fddd231218d2aadc5a0185c430b92eb74a361733b87a8e6e0 +DIST 0.5.tar.gz 6902 SHA256 7418c1486e9cf34740ca82f72f32be97eeaeb4b4ddeda74ce1972ca4735ed6dc SHA512 17faa13e6b9b42f0913673598002aa5ad65e7d35b6ed4f5d6a1bb36d7fce630a7e9f1afc6979d7a098a2b66e5943901213b5617ba6190b5b7e1e9a6a55f6cbf5 WHIRLPOOL d72866b0675724eb2787818799152a94c75ee76351db96f36f4a1bd9c4ec1c90e2e314eb2acc980c90149ca82133c2369996a14dd4386718259e7700139414ba +EBUILD poolmon-0.5.ebuild 767 SHA256 46bafcb2b12b2f331962f07e72149eca2b1015b30e4707725742f9d92311f0f9 SHA512 602bdea660249554267ecdf0210609c512a2156da4d5894a7a5c615d031b00c03aa29ddc2d78fe6c9306cd882a4d87d31a755fdecc74f1cff2f4cae5908debd0 WHIRLPOOL 06d0c1e484a3c2eeb44bc6480e72aad95d242699882cd02d9d1e79974cc5210f336bc0bcf84d336ddd63e47af5c22890b49407011938c19e5dd44b715736f768 +MISC ChangeLog 425 SHA256 6ac8ca9e91634e78c64cc4e3df338333655572145ec5e0a57b727119eec78a7b SHA512 05ea1c6ed082aa9b7871090efdfc0f970a6399218ef7e6485e41e9e2c51de8eb92160f8e4a11456529eabbc132e714a97c9042771808aad27c60d343e4a62d57 WHIRLPOOL 9136a52a98d15187ca07b770f7848655de7775260123da88c7f75cfa0bff69885f26f7d55caeab713da74adc32befdc069306d844352a4277ca71784a385de16 +MISC metadata.xml 236 SHA256 f55443c9b3d97fcc9437b9aeba1b3beae39e38599620bd520d0693bb8948b531 SHA512 842ec0962624e280c2c3909e6da541cdaf35532f0f00d76cc9ca0e03dfb8c3dc83a426ae370bc37d73d0c4b1fdd4983171a0586220546b967afe3a3f5dd78ce4 WHIRLPOOL 8ee0a6397a1bae24973eba9b31e1ac64bac9726ca45e5f2127a3ffc991627479030060c605c7cf0957891c184f5e5d01fb2387f94c3a68693c988e4a180c7260 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iD8DBQFUGxWQKWxsyjWmQTQRCPTsAJ9PuNKlnEMO+QBwLtMc32/qNwHjOACdHhcp +fLVXiIMmCiZHTh7CBubVi2g= +=JuAF +-----END PGP SIGNATURE----- diff --git a/sys-cluster/poolmon/files/poolmon.conf b/sys-cluster/poolmon/files/poolmon.conf new file mode 100644 index 000000000000..930a58c9c012 --- /dev/null +++ b/sys-cluster/poolmon/files/poolmon.conf @@ -0,0 +1,3 @@ +# /etc/conf.d/poolmon +# set poolmon commandline options +OPTIONS="" diff --git a/sys-cluster/poolmon/files/poolmon.init b/sys-cluster/poolmon/files/poolmon.init new file mode 100644 index 000000000000..8e2a9fec9bb4 --- /dev/null +++ b/sys-cluster/poolmon/files/poolmon.init @@ -0,0 +1,18 @@ +#!/sbin/runscript +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/poolmon/files/poolmon.init,v 1.1 2014/09/18 17:25:35 mschiff Exp $ + +start() { + local pidfile=/run/poolmon.pid + ebegin "Starting poolmon" + start-stop-daemon --pidfile "${pidfile}" --exec /usr/bin/poolmon -- ${OPTIONS} + eend $? +} + +stop() { + local pidfile=/run/poolmon.pid + ebegin "Stopping poolmon" + start-stop-daemon --stop --pidfile "${pidfile}" + eend $? +} diff --git a/sys-cluster/poolmon/files/poolmon.logrotate b/sys-cluster/poolmon/files/poolmon.logrotate new file mode 100644 index 000000000000..5925635a70c1 --- /dev/null +++ b/sys-cluster/poolmon/files/poolmon.logrotate @@ -0,0 +1,6 @@ +/var/log/poolmon.log { + missingok + postrotate + /bin/kill -HUP `cat /run/poolmon.pid 2> /dev/null` 2>/dev/null || true + endscript +} diff --git a/sys-cluster/poolmon/metadata.xml b/sys-cluster/poolmon/metadata.xml new file mode 100644 index 000000000000..ea7bd021a21e --- /dev/null +++ b/sys-cluster/poolmon/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>mschiff@gentoo.org</email> + <name>Marc Schiffbauer</name> + </maintainer> +</pkgmetadata> diff --git a/sys-cluster/poolmon/poolmon-0.5.ebuild b/sys-cluster/poolmon/poolmon-0.5.ebuild new file mode 100644 index 000000000000..e6f03ba4bbab --- /dev/null +++ b/sys-cluster/poolmon/poolmon-0.5.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/poolmon/poolmon-0.5.ebuild,v 1.1 2014/09/18 17:25:35 mschiff Exp $ + +EAPI=5 + +DESCRIPTION="A director mailserver pool monitoring script for Dovecot" +HOMEPAGE="https://github.com/brandond/poolmon" +SRC_URI="https://github.com/brandond/${PN}/archive/${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND=" + dev-perl/IO-Socket-SSL + net-mail/dovecot + " + +src_install() { + exeinto /usr/bin + doexe poolmon + dodoc README + newinitd "${FILESDIR}"/poolmon.init poolmon + newconfd "${FILESDIR}"/poolmon.conf poolmon + insinto /etc/logrotate.d/ + newins "${FILESDIR}"/poolmon.logrotate poolmon +} |