summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2005-06-27 02:08:16 +0000
committerMark Loeser <halcy0n@gentoo.org>2005-06-27 02:08:16 +0000
commit19e30a804d3667c5cc3f50c00eeb2d152519891c (patch)
treefcffd4446b1c9678f75a23707504dd30f45dab14 /net-mail
parentAdded missing tcsh dependency (bug #73814). (diff)
downloadhistorical-19e30a804d3667c5cc3f50c00eeb2d152519891c.tar.gz
historical-19e30a804d3667c5cc3f50c00eeb2d152519891c.tar.bz2
historical-19e30a804d3667c5cc3f50c00eeb2d152519891c.zip
revision bump to get the regexp patch
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/mailgraph/ChangeLog9
-rw-r--r--net-mail/mailgraph/Manifest13
-rw-r--r--net-mail/mailgraph/files/digest-mailgraph-1.11-r11
-rw-r--r--net-mail/mailgraph/files/mailgraph-1.11-regexp.patch11
-rw-r--r--net-mail/mailgraph/mailgraph-1.11-r1.ebuild57
5 files changed, 85 insertions, 6 deletions
diff --git a/net-mail/mailgraph/ChangeLog b/net-mail/mailgraph/ChangeLog
index 254196dae235..fcfb8d69a329 100644
--- a/net-mail/mailgraph/ChangeLog
+++ b/net-mail/mailgraph/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-mail/mailgraph
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v 1.5 2005/06/26 23:37:57 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v 1.6 2005/06/27 02:08:16 halcy0n Exp $
+
+*mailgraph-1.11-r1 (27 Jun 2005)
+
+ 27 Jun 2005; Mark Loeser <halcy0n@gentoo.org>
+ +files/mailgraph-1.11-regexp.patch, +mailgraph-1.11-r1.ebuild:
+ Revision bump to get the patch from bug #97151. Thanks to Andrej Kacian
+ <ticho@gentoo.org> for the patch.
26 Jun 2005; Andrej Kacian <ticho@gentoo.org> mailgraph-1.11.ebuild:
Added ~amd64 keyword.
diff --git a/net-mail/mailgraph/Manifest b/net-mail/mailgraph/Manifest
index 318fbd5ae616..8599a6a90371 100644
--- a/net-mail/mailgraph/Manifest
+++ b/net-mail/mailgraph/Manifest
@@ -1,16 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+MD5 9b9cf43c3db78c7fe6432fbe9e778e78 ChangeLog 1183
MD5 32091e12a0d4c659816591dc67c1ab04 mailgraph-1.11.ebuild 1383
-MD5 34752f9a870354ff8f7567ade74fe67b ChangeLog 922
MD5 12cc0b3f6dae806d246c36bd9ea010e9 metadata.xml 259
+MD5 23abf68890b58f3fc734315ca095cdd8 mailgraph-1.11-r1.ebuild 1426
+MD5 ca32a39fff4fa2c070d832feb539f47d files/digest-mailgraph-1.11 65
MD5 fa47226fdde5601a3b0ae0d19377019f files/mailgraph.confd 476
MD5 608f945e78c754fb3f5aee14881ec2da files/mailgraph.initd 685
-MD5 ca32a39fff4fa2c070d832feb539f47d files/digest-mailgraph-1.11 65
+MD5 33feb3504b889ed382183cecbbeafa57 files/mailgraph-1.11-regexp.patch 427
+MD5 ca32a39fff4fa2c070d832feb539f47d files/digest-mailgraph-1.11-r1 65
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-iD8DBQFCvzxqQlM6RnzZP+IRAgf/AKCA1SpzZW9TFIqpoJHw/Q2y9+SsPwCgr7iX
-+/mcwLURJvmX6DnhAJb+CLw=
-=+9Oy
+iD8DBQFCv1+fCRZPokWLroQRAtAtAKCdNOobu+C39q4utN3iInRliF347wCgsl3a
+knt8R8uTRCEOSMuuyDY2Yq8=
+=4CpS
-----END PGP SIGNATURE-----
diff --git a/net-mail/mailgraph/files/digest-mailgraph-1.11-r1 b/net-mail/mailgraph/files/digest-mailgraph-1.11-r1
new file mode 100644
index 000000000000..359f48fbdaec
--- /dev/null
+++ b/net-mail/mailgraph/files/digest-mailgraph-1.11-r1
@@ -0,0 +1 @@
+MD5 6ddb4804e51c81dcdd5c3f7242031b11 mailgraph-1.11.tar.gz 19719
diff --git a/net-mail/mailgraph/files/mailgraph-1.11-regexp.patch b/net-mail/mailgraph/files/mailgraph-1.11-regexp.patch
new file mode 100644
index 000000000000..414af5a3d12b
--- /dev/null
+++ b/net-mail/mailgraph/files/mailgraph-1.11-regexp.patch
@@ -0,0 +1,11 @@
+--- mailgraph.pl.orig 2005-06-27 01:34:55.000000000 +0200
++++ mailgraph.pl 2005-06-27 01:34:31.000000000 +0200
+@@ -138,7 +138,7 @@
+ (\d+):(\d+):(\d+) # time -- 3, 4, 5
+ (?:\s<\w+\.\w+>)? # FreeBSD's verbose-mode
+ \s
+- ([-\w\.]+) # host -- 6
++ ([-\w\.\@]+) # host -- 6
+ \s+
+ (.*) # text -- 7
+ $/x or do
diff --git a/net-mail/mailgraph/mailgraph-1.11-r1.ebuild b/net-mail/mailgraph/mailgraph-1.11-r1.ebuild
new file mode 100644
index 000000000000..454f908fdd4d
--- /dev/null
+++ b/net-mail/mailgraph/mailgraph-1.11-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/mailgraph-1.11-r1.ebuild,v 1.1 2005/06/27 02:08:16 halcy0n Exp $
+
+inherit eutils webapp
+
+DESCRIPTION="A mail statistics RRDtool frontend for Postfix"
+HOMEPAGE="http://people.ee.ethz.ch/~dws/software/mailgraph/"
+SRC_URI="http://people.ee.ethz.ch/~dws/software/${PN}/pub/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~ppc ~x86 ~amd64"
+IUSE=""
+
+RDEPEND="dev-lang/perl
+ dev-perl/File-Tail
+ >=net-analyzer/rrdtool-1.2.2"
+DEPEND=">=sys-apps/sed-4"
+
+pkg_setup() {
+ webapp_pkg_setup
+ built_with_use net-analyzer/rrdtool perl \
+ || die "net-analyzer/rrdtool must be built with USE=perl"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i \
+ -e "s|\(my \$rrd = '\).*'|\1/var/lib/mailgraph/mailgraph.rrd'|" \
+ -e "s|\(my \$rrd_virus = '\).*'|\1/var/lib/mailgraph/mailgraph_virus.rrd'|" \
+ mailgraph.cgi || die "sed mailgraph.cgi failed"
+ epatch ${FILESDIR}/${P}-regexp.patch
+}
+
+src_install() {
+ webapp_src_preinst
+
+ # for the RRDs
+ keepdir /var/lib/mailgraph
+
+ # mailgraph daemon
+ newbin mailgraph.pl mailgraph
+
+ # mailgraph CGI script
+ exeinto ${MY_CGIBINDIR}
+ doexe mailgraph.cgi
+
+ # init/conf files for mailgraph daemon
+ newinitd ${FILESDIR}/mailgraph.initd mailgraph
+ newconfd ${FILESDIR}/mailgraph.confd mailgraph
+
+ # docs
+ dodoc README CHANGES COPYING
+
+ webapp_src_install
+}