From adox@mcx2.org  Sun Dec 28 13:25:13 2008
Return-Path: <adox@mcx2.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6CB0B106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 28 Dec 2008 13:25:13 +0000 (UTC)
	(envelope-from adox@mcx2.org)
Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.190])
	by mx1.freebsd.org (Postfix) with ESMTP id DD0938FC14
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 28 Dec 2008 13:25:12 +0000 (UTC)
	(envelope-from adox@mcx2.org)
Received: by mu-out-0910.google.com with SMTP id i2so2123815mue.3
        for <FreeBSD-gnats-submit@freebsd.org>; Sun, 28 Dec 2008 05:25:11 -0800 (PST)
Received: by 10.103.121.19 with SMTP id y19mr4517203mum.56.1230470710662;
        Sun, 28 Dec 2008 05:25:10 -0800 (PST)
Received: from localhost (p5090B85A.dip.t-dialin.net [80.144.184.90])
        by mx.google.com with ESMTPS id u26sm28382677mug.26.2008.12.28.05.25.09
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Sun, 28 Dec 2008 05:25:09 -0800 (PST)
Message-Id: <49577e35.1ade660a.7498.ffff9963@mx.google.com>
Date: Sun, 28 Dec 2008 05:25:09 -0800 (PST)
From: Dennis Herrmann <adox@mcx2.org>
Reply-To: Dennis Herrmann <adox@mcx2.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] net/vnstati - PNG image output support for vnStat
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         129994
>Category:       ports
>Synopsis:       [NEW PORT] net/vnstati - PNG image output support for vnStat
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 28 13:30:04 UTC 2008
>Closed-Date:    Sun Dec 28 17:22:43 UTC 2008
>Last-Modified:  Sun Dec 28 17:30:00 UTC 2008
>Originator:     Dennis Herrmann
>Release:        FreeBSD 7.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD dhn.homeunix.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Nov 6 17:50:47 CET 2008 root@dhn.homeunix.com:/usr/obj/usr/src/sys/PARANOIA i386


	
>Description:
The purpose of vnstati is to provide image output support for
statistics collected using vnstat(1). However, the image file
format is limited to png. All basic outputs of vnStat are
supported excluding live traffic features. The image can be
outputted either to a file or to standard output.

vnstati is the image output command for vnstat(1). It provides
png image file output from database files created using vnStat.

WWW:    http://humdi.net/vnstat/
>How-To-Repeat:
	
>Fix:

	

--- newport_vnstati.sh begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	vnstati
#	vnstati/pkg-descr
#	vnstati/Makefile
#	vnstati/distinfo
#	vnstati/files
#	vnstati/files/patch-Makefile
#
echo c - vnstati
mkdir -p vnstati > /dev/null 2>&1
echo x - vnstati/pkg-descr
sed 's/^X//' >vnstati/pkg-descr << 'ecce95faabc31ff377b9a6515670afd0'
XThe purpose of vnstati is to provide image output support for
Xstatistics collected using vnstat(1). However, the image file
Xformat is limited to png. All basic outputs of vnStat are
Xsupported excluding live traffic features. The image can be
Xoutputted either to a file or to standard output.
X
Xvnstati is the image output command for vnstat(1). It provides
Xpng image file output from database files created using vnStat.
X
XWWW:	http://humdi.net/vnstat/
ecce95faabc31ff377b9a6515670afd0
echo x - vnstati/Makefile
sed 's/^X//' >vnstati/Makefile << '820ffc8c5c1c55b40ab88407b1510f18'
X# New ports collection makefile for:	vnstati
X# Date created:		28 Dez 2008
X# Whom:			Dennis Herrmann <adox@mcx2.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	vnstati
XDISTVERSION=	beta3
XCATEGORIES=	net
XMASTER_SITES=	http://humdi.net/vnstat/ \
X		http://mirror.mcx2.org/
X
XMAINTAINER=	adox@mcx2.org
XCOMMENT=	PNG image output support for vnStat
X
XLIB_DEPENDS+=	gd.4:${PORTSDIR}/graphics/gd
XRUN_DEPENDS+=	vnstat:${PORTSDIR}/net/vnstat
X
XMAKE_ARGS=	LIBRARY_PATH="${PREFIX}/lib" \
X		CPATH="${PREFIX}/include"
X
XUSE_GMAKE=	yes
XMAN1=	vnstati.1
XMANCOMPRESSED=	yes
X
XPLIST_FILES=	bin/${PORTNAME}
X
XPORTDOCS=	README
XPORTEXAMPLES=	vnstat.cgi
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
X.endif
X
X.if !defined(NOPORTEXAMPLES)
X	@${MKDIR} ${EXAMPLESDIR}
X	@${INSTALL_DATA} ${WRKSRC}/examples/vnstat.cgi ${EXAMPLESDIR}/
X.endif
X
X.include <bsd.port.mk>
820ffc8c5c1c55b40ab88407b1510f18
echo x - vnstati/distinfo
sed 's/^X//' >vnstati/distinfo << 'a3712dcb595a58bb3caf1a0485fdcddb'
XMD5 (vnstati-beta3.tar.gz) = 5652b955e16716cec48da464b083c76f
XSHA256 (vnstati-beta3.tar.gz) = 16a02930df0ab7eab44f1d63b655a64b63a7dee5ef70201fad395afcfafbf3a3
XSIZE (vnstati-beta3.tar.gz) = 31695
a3712dcb595a58bb3caf1a0485fdcddb
echo c - vnstati/files
mkdir -p vnstati/files > /dev/null 2>&1
echo x - vnstati/files/patch-Makefile
sed 's/^X//' >vnstati/files/patch-Makefile << '22d5d6bca54758c47d30892d10e5cadd'
X--- Makefile.orig	2008-02-13 13:51:56.000000000 +0100
X+++ Makefile	2008-12-28 12:59:16.000000000 +0100
X@@ -1,44 +1,24 @@
X # bin and man dirs
X-BIN = $(DESTDIR)/usr/bin
X-MAN = $(DESTDIR)/usr/share/man
X+PREFIX?= /usr/local
X 
X-vnstati:
X+all:
X 	+make -C src vnstati
X 
X clean:
X 	make -C src clean
X 
X install:
X-	@echo "Installing vnStat image output..."
X-
X-# update man page and gzip it
X-	install -m 644 man/vnstati.1 $(MAN)/man1
X-	gzip -f9 $(MAN)/man1/vnstati.1
X-
X-	install -s -m 755 src/vnstati $(BIN)
X-
X-uninstall:
X-	@echo "Uninstalling vnStat image output..."
X-	@echo
X-	@echo "Press CTRL-C to abort within 10 sec."
X-	@sleep 10
X-	rm -f $(BIN)/vnstati
X-	rm -f $(MAN)/man1/vnstati.1*
X-
X-bsdinstall:
X 	@echo "Installing vnStat image output (BSD)..."
X-
X-	strip src/vnstati
X-	install -m 755 src/vnstati /usr/local/bin
X+	install -m 755 src/vnstati ${PREFIX}/bin
X 
X # update man page
X-	install -m 644 man/vnstati.1 /usr/local/man/man1
X-	gzip -f9 /usr/local/man/man1/vnstati.1
X+	install -m 644 man/vnstati.1 ${PREFIX}/man/man1
X+	gzip -f9 ${PREFIX}/man/man1/vnstati.1
X 
X-bsduninstall:
X+uninstall:
X 	@echo "Uninstalling vnStat image output (BSD)..."
X 	@echo
X 	@echo "Press CTRL-C to abort within 10 sec."
X 	@sleep 10
X-	rm -f /usr/local/bin/vnstati
X-	rm -f /usr/local/man/man1/vnstati.1*
X+	rm -f ${PREFIX}/vnstati
X+	rm -f ${PREFIX}/man/man1/vnstati.1*
22d5d6bca54758c47d30892d10e5cadd
exit
--- newport_vnstati.sh ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Dec 28 13:30:18 UTC 2008 
Responsible-Changed-Why:  
miwi@ wants his PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129994 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sun Dec 28 17:22:42 UTC 2008 
State-Changed-Why:  
New port added. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/129994: commit references a PR
Date: Sun, 28 Dec 2008 17:23:04 +0000 (UTC)

 miwi        2008-12-28 17:22:50 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net                  Makefile 
   Added files:
     net/vnstati          Makefile distinfo pkg-descr 
   Log:
   The purpose of vnstati is to provide image output support for
   statistics collected using vnstat(1). However, the image file
   format is limited to png. All basic outputs of vnStat are
   supported excluding live traffic features. The image can be
   outputted either to a file or to standard output.
   
   vnstati is the image output command for vnstat(1). It provides
   png image file output from database files created using vnStat.
   
   WWW:    http://humdi.net/vnstat/
   
   PR:             ports/129994
   Submitted by:   Dennis Herrmann <adox at mcx2.org>
   
   Revision  Changes    Path
   1.2058    +1 -0      ports/net/Makefile
   1.1       +48 -0     ports/net/vnstati/Makefile (new)
   1.1       +3 -0      ports/net/vnstati/distinfo (new)
   1.1       +10 -0     ports/net/vnstati/pkg-descr (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
