diff options
author | Markus Ullmann <jokey@gentoo.org> | 2006-10-08 17:20:08 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2006-10-08 17:20:08 +0000 |
commit | 1d4a4a1696fbfa571aafa42637aa652b8ceeeb14 (patch) | |
tree | d3f32006874727e016538075d875c98ad4788925 /net-mail/qmrtg | |
parent | Install semanage.conf since this is masked on example policy-based profiles. (diff) | |
download | historical-1d4a4a1696fbfa571aafa42637aa652b8ceeeb14.tar.gz historical-1d4a4a1696fbfa571aafa42637aa652b8ceeeb14.tar.bz2 historical-1d4a4a1696fbfa571aafa42637aa652b8ceeeb14.zip |
Initial import wrt bug #71417 thanks to Angelo Leto and Gudleik Rasch for providing the ebuild in bug #71417
Package-Manager: portage-2.1.2_pre2-r6
Diffstat (limited to 'net-mail/qmrtg')
-rw-r--r-- | net-mail/qmrtg/ChangeLog | 11 | ||||
-rw-r--r-- | net-mail/qmrtg/Manifest | 34 | ||||
-rw-r--r-- | net-mail/qmrtg/files/digest-qmrtg-2.1 | 3 | ||||
-rw-r--r-- | net-mail/qmrtg/files/mrtg.cfg.patch | 83 | ||||
-rw-r--r-- | net-mail/qmrtg/files/qmrtg.conf.sample.patch | 20 | ||||
-rw-r--r-- | net-mail/qmrtg/metadata.xml | 5 | ||||
-rw-r--r-- | net-mail/qmrtg/qmrtg-2.1.ebuild | 55 |
7 files changed, 211 insertions, 0 deletions
diff --git a/net-mail/qmrtg/ChangeLog b/net-mail/qmrtg/ChangeLog new file mode 100644 index 000000000000..f9b790f99f11 --- /dev/null +++ b/net-mail/qmrtg/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-mail/qmrtg +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/qmrtg/ChangeLog,v 1.1 2006/10/08 17:20:08 jokey Exp $ + +*qmrtg-2.1 (08 Oct 2006) + + 08 Oct 2006; Markus Ullmann <jokey@gentoo.org> +files/mrtg.cfg.patch, + +files/qmrtg.conf.sample.patch, +metadata.xml, +qmrtg-2.1.ebuild: + Initial import wrt bug #71417 thanks to Angelo Leto and Gudleik Rasch for + providing the ebuild in bug #71417 + diff --git a/net-mail/qmrtg/Manifest b/net-mail/qmrtg/Manifest new file mode 100644 index 000000000000..da82bf829e4a --- /dev/null +++ b/net-mail/qmrtg/Manifest @@ -0,0 +1,34 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX mrtg.cfg.patch 3569 RMD160 e0736737f96d7c095b10b003f8287a681572e5cc SHA1 7ecc60d8fad2ad673a3830e3d526694106104a3d SHA256 adf0c8b78e70f045a247ee5e28dc68bdf74062dcf2660bfff4a6ff14ccf97e61 +MD5 2ff9e50dc352fda76ba4a4e37a615c1e files/mrtg.cfg.patch 3569 +RMD160 e0736737f96d7c095b10b003f8287a681572e5cc files/mrtg.cfg.patch 3569 +SHA256 adf0c8b78e70f045a247ee5e28dc68bdf74062dcf2660bfff4a6ff14ccf97e61 files/mrtg.cfg.patch 3569 +AUX qmrtg.conf.sample.patch 603 RMD160 2f8d397fef05d5c6db30988ffdf466deee3b8b66 SHA1 63da4ce472788aee1a3f32dde94f3aec8c642b96 SHA256 f3de43849b7e60743fb009b8f27aec082e543730a9dd1241e9712417d0ffc652 +MD5 e751b2b48af330ef1bf7744f9bc0f5f1 files/qmrtg.conf.sample.patch 603 +RMD160 2f8d397fef05d5c6db30988ffdf466deee3b8b66 files/qmrtg.conf.sample.patch 603 +SHA256 f3de43849b7e60743fb009b8f27aec082e543730a9dd1241e9712417d0ffc652 files/qmrtg.conf.sample.patch 603 +DIST qmrtg-2.1.tar.gz 97255 RMD160 6c9f6f9b8176b885a0277a6738715e8651740be2 SHA1 a929ddd5659d9613f6966e81852064b02dec4b18 SHA256 6f8cd553f2c2ae66c7177694e96d6ee78e4892bdfd2b6227bffda184d1dcb5dd +EBUILD qmrtg-2.1.ebuild 1249 RMD160 1199deb5e7159d44213773df3c9105ea934b92bc SHA1 6a7692488dd8410f05d1234e251b13c0239827b7 SHA256 d1d1df990d54d6722019718f801aebf14caa2c7f67e507770d1432e14a23efa3 +MD5 c6af2664f4ffac82e763f127baade167 qmrtg-2.1.ebuild 1249 +RMD160 1199deb5e7159d44213773df3c9105ea934b92bc qmrtg-2.1.ebuild 1249 +SHA256 d1d1df990d54d6722019718f801aebf14caa2c7f67e507770d1432e14a23efa3 qmrtg-2.1.ebuild 1249 +MISC ChangeLog 480 RMD160 c5cc094ba46209aeb4691d74bfe3a6e19d61e970 SHA1 76f8d9df7f95ad469e60a27658d3f231e287dd6f SHA256 99802990be36175b2ccd032b2689587645b4ed73b5a5d62bbe26243391202a1b +MD5 a5af704b42b58618099b9c0f05a1babd ChangeLog 480 +RMD160 c5cc094ba46209aeb4691d74bfe3a6e19d61e970 ChangeLog 480 +SHA256 99802990be36175b2ccd032b2689587645b4ed73b5a5d62bbe26243391202a1b ChangeLog 480 +MISC metadata.xml 159 RMD160 28e799fe0fd02aaab9d4bbe5595f133101606f5b SHA1 9f5df3eabd621951a959cc8e0e2e0d352cd1fe1e SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6 +MD5 f34e3c8858756da0001b12d2d3fa1af2 metadata.xml 159 +RMD160 28e799fe0fd02aaab9d4bbe5595f133101606f5b metadata.xml 159 +SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6 metadata.xml 159 +MD5 a51ea7038b8bfd87250e0cffbeafc618 files/digest-qmrtg-2.1 226 +RMD160 3eda027d5eab23ffc2dd8e890b132b79873e2d4a files/digest-qmrtg-2.1 226 +SHA256 fd0b55c15211e89fbbac42e73671df1b6d1b6edc22004111f762341167eb73ab files/digest-qmrtg-2.1 226 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.5 (GNU/Linux) + +iD8DBQFFKTNXz974XjDVpbkRAvRMAJ9MDrHYmA/aoKQQCXTlqdsbIF0fOwCgthY1 +4j9NQao/mR07vjAk/JqSvsg= +=GHtA +-----END PGP SIGNATURE----- diff --git a/net-mail/qmrtg/files/digest-qmrtg-2.1 b/net-mail/qmrtg/files/digest-qmrtg-2.1 new file mode 100644 index 000000000000..03b30449e082 --- /dev/null +++ b/net-mail/qmrtg/files/digest-qmrtg-2.1 @@ -0,0 +1,3 @@ +MD5 56573c66985497081d8cd15f9295294b qmrtg-2.1.tar.gz 97255 +RMD160 6c9f6f9b8176b885a0277a6738715e8651740be2 qmrtg-2.1.tar.gz 97255 +SHA256 6f8cd553f2c2ae66c7177694e96d6ee78e4892bdfd2b6227bffda184d1dcb5dd qmrtg-2.1.tar.gz 97255 diff --git a/net-mail/qmrtg/files/mrtg.cfg.patch b/net-mail/qmrtg/files/mrtg.cfg.patch new file mode 100644 index 000000000000..bc1a51293d1d --- /dev/null +++ b/net-mail/qmrtg/files/mrtg.cfg.patch @@ -0,0 +1,83 @@ +--- mrtg.cfg 2006-06-18 09:23:40.000000000 +0200 ++++ examples/mrtg.cfg 2006-06-18 09:54:30.653950445 +0200 +@@ -52,7 +52,7 @@ + Directory[qmail.deliveries]: qmail.deliveries + MaxBytes[qmail.deliveries]: 10000 + AbsMax[qmail.deliveries]: 20000 +-Target[qmail.deliveries]: `/usr/local/bin/qmrtg.sh deliveries` ++Target[qmail.deliveries]: `/usr/bin/qmrtg.sh deliveries` + PageTop[qmail.deliveries]: <H1>Deliveries</H1> + ShortLegend[qmail.deliveries]: delivs + YLegend[qmail.deliveries]: deliveries +@@ -71,7 +71,7 @@ + Directory[qmail.queue-size]: qmail.queue-size + MaxBytes[qmail.queue-size]: 10000 + AbsMax[qmail.queue-size]: 100000 +-Target[qmail.queue-size]: `/usr/local/bin/qmrtg-queue /var/qmail/queue` ++Target[qmail.queue-size]: `/usr/bin/qmrtg-queue /var/qmail/queue` + PageTop[qmail.queue-size]: <H1>Queue size</H1> + ShortLegend[qmail.queue-size]: msgs + YLegend[qmail.queue-size]: messages +@@ -90,7 +90,7 @@ + Directory[qmail.deliverrors]: qmail.deliverrors + MaxBytes[qmail.deliverrors]: 10000 + AbsMax[qmail.deliverrors]: 100000 +-Target[qmail.deliverrors]: `/usr/local/bin/qmrtg.sh errors` ++Target[qmail.deliverrors]: `/usr/bin/qmrtg.sh errors` + PageTop[qmail.deliverrors]: <H1>Delivery errors</H1> + ShortLegend[qmail.deliverrors]: errs + YLegend[qmail.deliverrors]: errors +@@ -109,7 +109,7 @@ + Directory[qmail.bytes]: qmail.bytes + MaxBytes[qmail.bytes]: 200000 + AbsMax[qmail.bytes]: 10000000 +-Target[qmail.bytes]: `/usr/local/bin/qmrtg.sh throughput` ++Target[qmail.bytes]: `/usr/bin/qmrtg.sh throughput` + PageTop[qmail.bytes]: <H1>Throughput</H1> + ShortLegend[qmail.bytes]: B + YLegend[qmail.bytes]: bytes +@@ -127,7 +127,7 @@ + Options[qmail.smtp-concurrency]: growright,unknaszero,nopercent,gauge + Directory[qmail.smtp-concurrency]: qmail.smtp-concurrency + MaxBytes[qmail.smtp-concurrency]: 100 +-Target[qmail.smtp-concurrency]: `/usr/local/bin/qmrtg.sh smtp-concurrency` ++Target[qmail.smtp-concurrency]: `/usr/bin/qmrtg.sh smtp-concurrency` + PageTop[qmail.smtp-concurrency]: <H1>SMTP Concurrency</H1> + ShortLegend[qmail.smtp-concurrency]: conns + YLegend[qmail.smtp-concurrency]: connections +@@ -146,7 +146,7 @@ + Directory[qmail.smtphits]: qmail.smtphits + MaxBytes[qmail.smtphits]: 1000 + AbsMax[qmail.smtphits]: 10000 +-Target[qmail.smtphits]: `/usr/local/bin/qmrtg.sh smtpconns` ++Target[qmail.smtphits]: `/usr/bin/qmrtg.sh smtpconns` + PageTop[qmail.smtphits]: <H1>SMTP Totals</H1> + ShortLegend[qmail.smtphits]: conns + YLegend[qmail.smtphits]: connections +@@ -165,7 +165,7 @@ + Directory[qmail.pop-concurrency]: qmail.pop-concurrency + MaxBytes[qmail.pop-concurrency]: 100 + AbsMax[qmail.pop-concurrency]: 500 +-Target[qmail.pop-concurrency]: `/usr/local/bin/qmrtg.sh pop-concurrency` ++Target[qmail.pop-concurrency]: `/usr/bin/qmrtg.sh pop-concurrency` + PageTop[qmail.pop-concurrency]: <H1>POP3 Concurrency</H1> + ShortLegend[qmail.pop-concurrency]: concur + YLegend[qmail.pop-concurrency]: concurrency +@@ -184,7 +184,7 @@ + Directory[qmail.pophits]: qmail.pophits + MaxBytes[qmail.pophits]: 1000 + AbsMax[qmail.pophits]: 10000 +-Target[qmail.pophits]: `/usr/local/bin/qmrtg.sh popconns` ++Target[qmail.pophits]: `/usr/bin/qmrtg.sh popconns` + PageTop[qmail.pophits]: <H1>POP3 Totals</H1> + ShortLegend[qmail.pophits]: conns + YLegend[qmail.pophits]: connections +@@ -203,7 +203,7 @@ + Directory[qmail.dnsbl]: qmail.dnsbl + MaxBytes[qmail.dnsbl]: 1000 + AbsMax[qmail.dnsbl]: 10000 +-Target[qmail.dnsbl]: `/usr/local/bin/qmrtg.sh dnsbl` ++Target[qmail.dnsbl]: `/usr/bin/qmrtg.sh dnsbl` + PageTop[qmail.dnsbl]: <H1>POP3 Totals</H1> + ShortLegend[qmail.dnsbl]: conns + YLegend[qmail.dnsbl]: connections diff --git a/net-mail/qmrtg/files/qmrtg.conf.sample.patch b/net-mail/qmrtg/files/qmrtg.conf.sample.patch new file mode 100644 index 000000000000..28e4d0cae042 --- /dev/null +++ b/net-mail/qmrtg/files/qmrtg.conf.sample.patch @@ -0,0 +1,20 @@ +--- qmrtg.conf.sample 2006-06-18 09:23:40.000000000 +0200 ++++ examples/qmrtg.conf.sample 2006-06-18 10:06:13.150506247 +0200 +@@ -6,7 +6,7 @@ + # this it where qmrtg keeps its dbfiles + # dbfiles are a few little files used + # to store service informations +-QMRTG_DBPATH="/var/db/qmrtg" ++QMRTG_DBPATH="/var/lib/qmrtg" + + # use this for debugging qmrtg + # the greater the level, the more info you'll get +@@ -19,7 +19,7 @@ + DEBUG=$QMRTG_DBPATH/qmrtg.log + + # root location for binary files +-BINPLACE=/usr/local/bin ++BINPLACE=/usr/bin + + # this beams "new" lines from log files + QFILT=$BINPLACE/qfilt diff --git a/net-mail/qmrtg/metadata.xml b/net-mail/qmrtg/metadata.xml new file mode 100644 index 000000000000..03aa50bab7e3 --- /dev/null +++ b/net-mail/qmrtg/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>netmon</herd> +</pkgmetadata> diff --git a/net-mail/qmrtg/qmrtg-2.1.ebuild b/net-mail/qmrtg/qmrtg-2.1.ebuild new file mode 100644 index 000000000000..b8b2f569a748 --- /dev/null +++ b/net-mail/qmrtg/qmrtg-2.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/qmrtg/qmrtg-2.1.ebuild,v 1.1 2006/10/08 17:20:08 jokey Exp $ + +inherit eutils + +DESCRIPTION="A tool to analyze qmail's activity with the goal to graph everything through MRTG." +HOMEPAGE="http://dev.publicshout.org/qmrtg" +SRC_URI="${HOMEPAGE}/download/${PN}-${PV}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND="virtual/libc" +RDEPEND="net-analyzer/mrtg" + +src_unpack() { + unpack ${A} + cd "${S}/examples" + epatch "${FILESDIR}/mrtg.cfg.patch" + epatch "${FILESDIR}/qmrtg.conf.sample.patch" +} + +src_compile () { + econf || die "econf failed" + emake || die "emake failed" +} + +src_install () { + emake install DESTDIR=${D} || die "emake install failed" + keepdir /var/lib/qmrtg + dodoc INSTALL.txt + if use doc ; then + docinto txt + dodoc doc/*.txt + docinto html + dohtml -r html/* + fi + + insinto /usr/share/qmrtg2 + doins examples/* + +} + +pkg_postinst () { + einfo + einfo "You need to configure manually qmrtg in order to run it." + einfo "The configuration templates in /usr/share/qmrtg2/ and" + einfo "the file in /usr/share/doc/qmrtg-2.1/INSTALL.txt.gz" + einfo "will be useful." + einfo +} + |