pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/51573: mail/mailgraph minor problems



>Number:         51573
>Category:       pkg
>Synopsis:       mail/mailgraph minor problems
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 23 09:50:00 +0000 2016
>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@localhost
 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



Home | Main Index | Thread Index | Old Index