summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-mail/qmrtg/files
downloadgentoo-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 'net-mail/qmrtg/files')
-rw-r--r--net-mail/qmrtg/files/mrtg.cfg.patch83
-rw-r--r--net-mail/qmrtg/files/qmrtg-2.1-TAI_STR_LEN.patch11
-rw-r--r--net-mail/qmrtg/files/qmrtg.conf.sample.patch20
3 files changed, 114 insertions, 0 deletions
diff --git a/net-mail/qmrtg/files/mrtg.cfg.patch b/net-mail/qmrtg/files/mrtg.cfg.patch
new file mode 100644
index 000000000000..8bde992139ae
--- /dev/null
+++ b/net-mail/qmrtg/files/mrtg.cfg.patch
@@ -0,0 +1,83 @@
+--- a/examples/mrtg.cfg
++++ b/examples/mrtg.cfg
+@@ -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-2.1-TAI_STR_LEN.patch b/net-mail/qmrtg/files/qmrtg-2.1-TAI_STR_LEN.patch
new file mode 100644
index 000000000000..bf8855b1f96c
--- /dev/null
+++ b/net-mail/qmrtg/files/qmrtg-2.1-TAI_STR_LEN.patch
@@ -0,0 +1,11 @@
+--- a/filters/qtaif.c
++++ b/filters/qtaif.c
+@@ -28,7 +28,7 @@
+ return 3;
+ }
+ }
+- taibuf[TAI_STR_LEN] = '\0';
++ taibuf[TAI_STR_LEN -1] = '\0';
+
+ printf("%s\n", taibuf);
+
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..1df7ec79f835
--- /dev/null
+++ b/net-mail/qmrtg/files/qmrtg.conf.sample.patch
@@ -0,0 +1,20 @@
+--- a/examples/qmrtg.conf.sample
++++ b/examples/qmrtg.conf.sample
+@@ -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