Version bump; bug #110055
authorMark Loeser <halcy0n@gentoo.org>
Fri, 21 Oct 2005 22:01:34 +0000 (22:01 +0000)
committerMark Loeser <halcy0n@gentoo.org>
Fri, 21 Oct 2005 22:01:34 +0000 (22:01 +0000)
Package-Manager: portage-2.0.53_rc5

net-mail/mailgraph/ChangeLog
net-mail/mailgraph/Manifest
net-mail/mailgraph/files/digest-mailgraph-1.12 [new file with mode: 0644]
net-mail/mailgraph/mailgraph-1.12.ebuild [new file with mode: 0644]

index 13155b8f9fb9e85003983d91afd2ebaa05c0c508..0d98a3f20d3019d757dbf46294c0d540e34ce1fc 100644 (file)
@@ -1,6 +1,11 @@
 # 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.8 2005/07/31 20:31:06 halcy0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v 1.9 2005/10/21 22:01:34 halcy0n Exp $
+
+*mailgraph-1.12 (21 Oct 2005)
+
+  21 Oct 2005; Mark Loeser <halcy0n@gentoo.org> +mailgraph-1.12.ebuild:
+  Version bump; bug #110055
 
   31 Jul 2005; Mark Loeser <halcy0n@gentoo.org> mailgraph-1.11-r1.ebuild:
   Stable on x86.
index fb120b526b1db0d36e8f92ba7b404ebe789a14fd..a209dd99b8af5527182707efc20c3483e652ff37 100644 (file)
@@ -1,19 +1,21 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 6fee083336991991a1e3319bb953ebac ChangeLog 1393
-MD5 32091e12a0d4c659816591dc67c1ab04 mailgraph-1.11.ebuild 1383
-MD5 12cc0b3f6dae806d246c36bd9ea010e9 metadata.xml 259
-MD5 fcc2836861933069a819e39b5193ae46 mailgraph-1.11-r1.ebuild 1425
+MD5 4283dbba752ff5d01eb31b67bab6b39f ChangeLog 1525
 MD5 ca32a39fff4fa2c070d832feb539f47d files/digest-mailgraph-1.11 65
+MD5 ca32a39fff4fa2c070d832feb539f47d files/digest-mailgraph-1.11-r1 65
+MD5 9ee0db880c1b0a199d2483d4fceaa279 files/digest-mailgraph-1.12 65
+MD5 33feb3504b889ed382183cecbbeafa57 files/mailgraph-1.11-regexp.patch 427
 MD5 fa47226fdde5601a3b0ae0d19377019f files/mailgraph.confd 476
 MD5 8c03fcc4cff6db35f4fce26f1eaadf3a files/mailgraph.initd 688
-MD5 33feb3504b889ed382183cecbbeafa57 files/mailgraph-1.11-regexp.patch 427
-MD5 ca32a39fff4fa2c070d832feb539f47d files/digest-mailgraph-1.11-r1 65
+MD5 fcc2836861933069a819e39b5193ae46 mailgraph-1.11-r1.ebuild 1425
+MD5 32091e12a0d4c659816591dc67c1ab04 mailgraph-1.11.ebuild 1383
+MD5 d0f104400295947676dc2bb3a535b44f mailgraph-1.12.ebuild 1385
+MD5 12cc0b3f6dae806d246c36bd9ea010e9 metadata.xml 259
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
+Version: GnuPG v1.4.2 (GNU/Linux)
 
-iD8DBQFC7TUnCRZPokWLroQRAsSJAJ0Tlm/MLZOpavayCvCFmndaIjat/QCgvyYG
-2oYFtmsZw9Ni656Syv9RgNo=
-=dauQ
+iD8DBQFDWWVLCRZPokWLroQRAg3pAKCChToqqKKkryrt9Io03mVk05BIjACgvI3Y
+2HL7gdBQf2xaKHIzrvfDfUU=
+=Rm47
 -----END PGP SIGNATURE-----
diff --git a/net-mail/mailgraph/files/digest-mailgraph-1.12 b/net-mail/mailgraph/files/digest-mailgraph-1.12
new file mode 100644 (file)
index 0000000..9ed5f29
--- /dev/null
@@ -0,0 +1 @@
+MD5 e3c88ee9ff6e423942ff8ce7038449c4 mailgraph-1.12.tar.gz 20053
diff --git a/net-mail/mailgraph/mailgraph-1.12.ebuild b/net-mail/mailgraph/mailgraph-1.12.ebuild
new file mode 100644 (file)
index 0000000..0d24592
--- /dev/null
@@ -0,0 +1,56 @@
+# 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.12.ebuild,v 1.1 2005/10/21 22:01:34 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="~amd64 ~ppc ~x86"
+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"
+}
+
+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
+}