NetBSD Problem Report #51573
From www@NetBSD.org Sun Oct 23 09:49:47 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 0460A7A2AD
for <gnats-bugs@gnats.NetBSD.org>; Sun, 23 Oct 2016 09:49:47 +0000 (UTC)
Message-Id: <20161023094945.B630C7A2BC@mollari.NetBSD.org>
Date: Sun, 23 Oct 2016 09:49:45 +0000 (UTC)
From: triaxx@triaxx.org
Reply-To: triaxx@triaxx.org
To: gnats-bugs@NetBSD.org
Subject: mail/mailgraph minor problems
X-Send-Pr-Version: www-1.0
>Number: 51573
>Category: pkg
>Synopsis: mail/mailgraph minor problems
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kim
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Oct 23 09:50:00 +0000 2016
>Closed-Date: Wed Oct 02 14:32:47 +0000 2019
>Last-Modified: Wed Oct 02 14:32:47 +0000 2019
>Originator: Frédéric Fauberteau
>Release: pkgsrc-2016Q3
>Organization:
>Environment:
NetBSD trashware 7.0_STABLE NetBSD 7.0_STABLE (TRASHWARE) #1: Sat Dec 5 19:26:52 CET 2015 triaxx@hydralisk:/home/triaxx/dev/nbsd/netbsd-7/usr/objs/sys/arch/amd64/compile/TRASHWARE amd64
>Description:
Some minor things had to be adjusted to make mailgraph work on my host:
- mailgraph.css was missing in PLIST
- mailgraph[_virus].rrd had not the correct path in mailgraph.cgi
- LICENSE was missing in Makefile
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/mail/mailgraph/Makefile,v
retrieving revision 1.22
diff -u -u -r1.22 Makefile
--- Makefile 9 Jul 2016 06:38:30 -0000 1.22
+++ Makefile 23 Oct 2016 09:28:08 -0000
@@ -2,7 +2,7 @@
#
DISTNAME= mailgraph-1.14
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= mail
MASTER_SITES= http://mailgraph.schweikert.ch/pub/ \
http://mailgraph.schweikert.ch/pub/old
@@ -10,6 +10,7 @@
MAINTAINER= kim@tac.nyc.ny.us
HOMEPAGE= http://mailgraph.schweikert.ch/
COMMENT= RRDtool frontend for mail statistics
+LICENSE= gnu-gpl-v2
DEPENDS+= rrdtool>=1:../../databases/rrdtool
DEPENDS+= p5-File-Tail-[0-9]*:../../misc/p5-File-Tail
@@ -32,6 +33,7 @@
# Database
SUBST_SED.defs+= -e 's,/var/log\([^/]\),${DBDIR}\1,g'
SUBST_SED.defs+= -e 's,/var/log$$,${DBDIR},g'
+SUBST_SED.defs+= -e 's,\(mailgraph.*\.rrd\),${DBDIR}/\1,g'
# Logfile
SUBST_SED.defs+= -e 's,/var/log/syslog,${VARBASE}/log/maillog,g'
#
@@ -49,6 +51,8 @@
${DESTDIR}${PREFIX}/libexec/cgi-bin/mailgraph.cgi
${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.pl \
${DESTDIR}${PREFIX}/sbin/mailgraph
+ ${INSTALL_DATA} ${WRKSRC}/mailgraph.css \
+ ${DESTDIR}${PREFIX}/libexec/cgi-bin/mailgraph.css
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/mailgraph
.for i in CHANGES COPYING README
${INSTALL_DATA} ${WRKSRC}/${i} \
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/mail/mailgraph/PLIST,v
retrieving revision 1.5
diff -u -u -r1.5 PLIST
--- PLIST 11 Mar 2014 14:05:03 -0000 1.5
+++ PLIST 23 Oct 2016 09:28:08 -0000
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.5 2014/03/11 14:05:03 jperkin Exp $
+@comment $NetBSD$
libexec/cgi-bin/mailgraph.cgi
+libexec/cgi-bin/mailgraph.css
sbin/mailgraph
share/doc/mailgraph/CHANGES
share/doc/mailgraph/COPYING
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->kim
Responsible-Changed-By: maya@NetBSD.org
Responsible-Changed-When: Sun, 30 Oct 2016 10:10:13 +0000
Responsible-Changed-Why:
over to MAINTAINER
State-Changed-From-To: open->closed
State-Changed-By: triaxx@NetBSD.org
State-Changed-When: Wed, 02 Oct 2019 14:32:47 +0000
State-Changed-Why:
Fix committed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.