Index: head/net/vnstat/Makefile =================================================================== --- head/net/vnstat/Makefile (revision 245717) +++ head/net/vnstat/Makefile (revision 245718) @@ -1,59 +1,60 @@ # New ports collection makefile for: vnstat # Date created: February 17, 2008 # Whom: Dennis Herrmann # # $FreeBSD$ # PORTNAME= vnstat PORTVERSION= 1.9 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://humdi.net/vnstat/ \ http://mirror.mcx2.org/ MAINTAINER= dhn@FreeBSD.org COMMENT= A console-based network traffic monitor LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd MAKE_ARGS= CFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" INSTALL_TARGET= bsdinstall MAN1= vnstat.1 vnstatd.1 vnstati.1 MAN5= vnstat.conf.5 MANCOMPRESSED= yes PORTDOCS= README INSTALL_BSD UPGRADE vnstat-cron SUB_FILES= pkg-message PLIST_FILES= bin/vnstat \ sbin/vnstatd \ bin/vnstati \ etc/vnstat.conf.sample post-extract: @cd ${WRKSRC} && ${CP} examples/vnstat.cron vnstat-cron @cd ${WRKSRC} && ${CP} cfg/vnstat.conf cfg/vnstat.conf.sample @${REINPLACE_CMD} -e 's|/usr/bin|/usr/local/bin|g' \ -e 's|ls /var/lib|ls -l /var/db|g' ${WRKSRC}/vnstat-cron post-patch: @${REINPLACE_CMD} -e 's|$$(DESTDIR)|${PREFIX}|g' \ -e 's|cfg/vnstat.conf|cfg/vnstat.conf.sample|g' \ -e 's|etc/vnstat.conf|etc/vnstat.conf.sample|g' \ -e 's|install -D|install|g' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' \ ${WRKSRC}/src/cfg.c post-install: .if !defined(NOPORTDOCS) @${ECHO_MSG} "installing additional documentation to ${DOCSDIR}" @${MKDIR} ${DOCSDIR} @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif @${ECHO_MSG} "" @${CAT} ${PKGMESSAGE} @${ECHO_MSG} "" .include Property changes on: head/net/vnstat/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.10 \ No newline at end of property +1.11 \ No newline at end of property Index: head/net/vnstat/files/patch-src__image.c =================================================================== --- head/net/vnstat/files/patch-src__image.c (nonexistent) +++ head/net/vnstat/files/patch-src__image.c (revision 245718) @@ -0,0 +1,11 @@ +--- ./src/image.c.orig 2009-12-13 18:45:05.000000000 +0100 ++++ ./src/image.c 2009-12-13 18:45:26.000000000 +0100 +@@ -1398,7 +1398,7 @@ + + char *getimagescale(uint64_t kb, int rate) + { +- static char buffer[6]; ++ static char buffer[7]; + uint32_t limit[3]; + int unit; + Property changes on: head/net/vnstat/files/patch-src__image.c ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property