Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 461788 - net-mail/mailgraph please add patch to support postscreen service postfix mta
Summary: net-mail/mailgraph please add patch to support postscreen service postfix mta
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://svnweb.freebsd.org/ports/head/...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-03-15 07:21 UTC by Andreis Vinogradovs ( slepnoga )
Modified: 2020-04-13 22:45 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mailgraph.cgi_postscreen.patch (mailgraph.cgi_postscreen.patch,1.23 KB, text/plain)
2013-03-15 08:44 UTC, Andreis Vinogradovs ( slepnoga )
Details
mailgraph.pl_postscreen.patch (mailgraph.pl_postscreen.patch,2.65 KB, text/plain)
2013-03-15 08:44 UTC, Andreis Vinogradovs ( slepnoga )
Details
mailgraph-1.14-r2.ebuild patch (mailgraph-postscreen_ebuild.patch,1.02 KB, patch)
2013-03-15 08:47 UTC, Andreis Vinogradovs ( slepnoga )
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreis Vinogradovs ( slepnoga ) 2013-03-15 07:21:10 UTC
Patch available in freebsd and possibly other distros.
Comment 2 Andreis Vinogradovs ( slepnoga ) 2013-03-15 08:44:13 UTC
Created attachment 342108 [details]
mailgraph.cgi_postscreen.patch
Comment 3 Andreis Vinogradovs ( slepnoga ) 2013-03-15 08:44:28 UTC
Created attachment 342110 [details]
mailgraph.pl_postscreen.patch
Comment 4 Andreis Vinogradovs ( slepnoga ) 2013-03-15 08:45:53 UTC
slep@adm ~/slep/portage/net-mail/mailgraph $ diff -up mailgraph-1.14-r2.ebuild mailgraph-1.14-r3.ebuild
--- mailgraph-1.14-r2.ebuild    2013-03-15 10:42:14.000000000 +0200
+++ mailgraph-1.14-r3.ebuild    2013-03-15 10:45:25.000000000 +0200
@@ -2,8 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/mailgraph-1.14-r2.ebuild,v 1.5 2011/12/29 21:37:27 halcy0n Exp $
 
-EAPI=4
-inherit eutils
+EAPI=5
+inherit eutils user base
 
 DESCRIPTION="A mail statistics RRDtool frontend for Postfix"
 HOMEPAGE="http://mailgraph.schweikert.ch/"
@@ -20,6 +20,7 @@ RDEPEND="dev-lang/perl
        >=net-analyzer/rrdtool-1.2.2[perl]"
 DEPEND=">=sys-apps/sed-4"
 
+PATCHES=( "${FILESDIR}"/*_postscreen.patch )
 pkg_setup() {
        # add user and group for mailgraph daemon
        # also add mgraph to the group adm so it's able to
@@ -34,6 +35,8 @@ src_prepare() {
                -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"
+
+               base_src_prepare
 }
 
 src_install() {
Comment 5 Andreis Vinogradovs ( slepnoga ) 2013-03-15 08:47:29 UTC
Created attachment 342112 [details, diff]
mailgraph-1.14-r2.ebuild patch
Comment 6 Benny Pedersen 2015-03-14 08:37:22 UTC
https://github.com/schweikert/mailgraph have it already

+1 from me to have a bump version