From conall@andromeda.asclepian.ie  Mon Apr 27 12:05:49 2009
Return-Path: <conall@andromeda.asclepian.ie>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 8544010656A5
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 27 Apr 2009 12:05:49 +0000 (UTC)
	(envelope-from conall@andromeda.asclepian.ie)
Received: from andromeda.asclepian.ie (andromeda.ipv4.asclepian.ie [66.160.197.104])
	by mx1.freebsd.org (Postfix) with ESMTP id 684028FC25
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 27 Apr 2009 12:05:49 +0000 (UTC)
	(envelope-from conall@andromeda.asclepian.ie)
Received: by andromeda.asclepian.ie (Postfix, from userid 1001)
	id 2F876114EF; Mon, 27 Apr 2009 12:47:30 +0100 (IST)
Message-Id: <20090427114730.2F876114EF@andromeda.asclepian.ie>
Date: Mon, 27 Apr 2009 12:47:30 +0100 (IST)
From: Conall O'Brien <conall@conall.net>
Reply-To: Conall O'Brien <conall@conall.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Bugs in mail/mailgraph args
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         134043
>Category:       ports
>Synopsis:       Bugs in mail/mailgraph args
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    rafan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 27 12:10:00 UTC 2009
>Closed-Date:    Mon May 11 15:14:00 UTC 2009
>Last-Modified:  Mon May 11 15:14:00 UTC 2009
>Originator:     Conall O'Brien
>Release:        FreeBSD 7.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD andromeda.asclepian.ie 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


>Description:
	Once installed mail/mailgraph needs all of it's command line flags 
	duplicated in /etc/rc.conf because the config file sets flags not
	recognised by /usr/local/sbin/mailgraph/pl
>How-To-Repeat:
	1. Install mail/mailgraph
	2. Attempt to use with minimal configutation 
>Fix:

--- /tmp/mailgraph.broken       2009-04-26 16:59:07.000000000 +0100
+++ /tmp/mailgraph      2009-04-26 17:01:06.000000000 +0100
@@ -28,7 +28,7 @@
 
 : ${mailgraph_enable="NO"}
 : ${mailgraph_pidfile="/var/db/mailgraph/mailgraph.pid"}
-: ${mailgraph_flags="--logfile /var/log/maillog --daemon-rrd=/var/db/mailgraph --ignore-localhost --daemon --daemon-pid=${mailgraph_pidfile}"}
+: ${mailgraph_flags="--logfile /var/log/maillog --daemon_rrd=/var/db/mailgraph --ignore-localhost --daemon --daemon_pid=${mailgraph_pidfile}"}
 : ${mailgraph_user="www"}
 : ${mailgraph_chdir="/var/db/mailgraph"}
 

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->rafan 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Apr 27 12:10:10 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134043 

From: Rong-En Fan <rafan@freebsd.org>
To: "Conall O'Brien" <conall@conall.net>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: ports/134043: Bugs in mail/mailgraph args
Date: Mon, 27 Apr 2009 20:32:48 +0800

 --5mCyUwZo2JvN/JJP
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 > 	Once installed mail/mailgraph needs all of it's command line flags=20
 > 	duplicated in /etc/rc.conf because the config file sets flags not
 > 	recognised by /usr/local/sbin/mailgraph/pl
 
 Per mailgraph.pl:
 
 
         GetOptions(\%opt, 'help|h', 'cat|c', 'logfile|l=3Ds', 'logtype|t=3D=
 s', 'vers
                 'year|y=3Di', 'host=3Ds', 'verbose|v', 'daemon|d!',
                 'daemon_pid|daemon-pid=3Ds', 'daemon_rrd|daemon-rrd=3Ds',
                 'daemon_log|daemon-log=3Ds', 'ignore-localhost!', 'ignore-h=
 ost=3Ds@'
                 'only-mail-rrd', 'only-virus-rrd', 'rrd_name|rrd-name=3Ds',
                 'rbl-is-spam', 'virbl-is-virus'
                 ) or exit(1);
 
 
 it accepts both form.
 
 --5mCyUwZo2JvN/JJP
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.11 (FreeBSD)
 
 iEYEARECAAYFAkn1pe8ACgkQ144QkYb9jGg7OwCfewQXL0Lwt1HY7+HydiHQw4UM
 fKwAn1b+3/Zotk1K/oHjp2gPa+dLBUWJ
 =yaZ5
 -----END PGP SIGNATURE-----
 
 --5mCyUwZo2JvN/JJP--
State-Changed-From-To: open->closed 
State-Changed-By: rafan 
State-Changed-When: Mon May 11 15:13:58 UTC 2009 
State-Changed-Why:  
I'm closing it as there is nothing I can do. Feel free to reopen if you 
can prove otherwise. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134043 
>Unformatted:
