mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
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>
This commit is contained in:
parent
95f60e53b1
commit
17b366381b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=224906
@ -1005,6 +1005,7 @@
|
||||
SUBDIR += vnc2swf
|
||||
SUBDIR += vncreflector
|
||||
SUBDIR += vnstat
|
||||
SUBDIR += vnstati
|
||||
SUBDIR += vomit
|
||||
SUBDIR += vserver
|
||||
SUBDIR += vtun
|
||||
|
48
net/vnstati/Makefile
Normal file
48
net/vnstati/Makefile
Normal file
@ -0,0 +1,48 @@
|
||||
# New ports collection makefile for: vnstati
|
||||
# Date created: 28 Dez 2008
|
||||
# Whom: Dennis Herrmann <adox@mcx2.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= vnstati
|
||||
DISTVERSION= beta3
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://humdi.net/vnstat/ \
|
||||
http://mirror.mcx2.org/
|
||||
|
||||
MAINTAINER= adox@mcx2.org
|
||||
COMMENT= PNG image output support for vnStat
|
||||
|
||||
LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd
|
||||
RUN_DEPENDS+= vnstat:${PORTSDIR}/net/vnstat
|
||||
|
||||
ALL_TARGET= vnstati
|
||||
MAKE_ARGS= LIBRARY_PATH="${PREFIX}/lib" \
|
||||
CPATH="${PREFIX}/include"
|
||||
|
||||
USE_GMAKE= yes
|
||||
MAN1= vnstati.1
|
||||
MANCOMPRESSED= yes
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
PORTDOCS= README
|
||||
PORTEXAMPLES= vnstat.cgi
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|$$(DESTDIR)/usr/bin|$${PREFIX}/bin|g' \
|
||||
-e 's|$$(DESTDIR)/usr/share/man|$${PREFIX}/man|g' ${WRKSRC}/Makefile
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
|
||||
.endif
|
||||
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/examples/vnstat.cgi ${EXAMPLESDIR}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
3
net/vnstati/distinfo
Normal file
3
net/vnstati/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (vnstati-beta3.tar.gz) = 5652b955e16716cec48da464b083c76f
|
||||
SHA256 (vnstati-beta3.tar.gz) = 16a02930df0ab7eab44f1d63b655a64b63a7dee5ef70201fad395afcfafbf3a3
|
||||
SIZE (vnstati-beta3.tar.gz) = 31695
|
10
net/vnstati/pkg-descr
Normal file
10
net/vnstati/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
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/
|
Loading…
Reference in New Issue
Block a user