Suggested entry for /etc/crontab shows wrong paths. cat /usr/local/share/doc/vnstat/vnstat-cron */5 * * * * root if [ -x /usr/bin/vnstat ] && [ `ls /var/lib/vnstat/ | wc -l` -ge 1 ]; then /usr/bin/vnstat -u; fi should be: */5 * * * * root if [ -x /usr/local/bin/vnstat ] && [ `ls /var/db/vnstat/ | wc -l` -ge 1 ]; then /usr/local/bin/vnstat -u; fi Fix: add a patch to files/ --- vnstat-cron.orig 2008-02-20 07:25:56.000000000 -0500 +++ vnstat-cron 2008-02-20 07:26:55.000000000 -0500 @@ -1 +1 @@ -*/5 * * * * root if [ -x /usr/bin/vnstat ] && [ `ls /var/lib/vnstat/ | wc -l` -ge 1 ]; then /usr/bin/vnstat -u; fi +*/5 * * * * root if [ -x /usr/local/bin/vnstat ] && [ `ls /var/db/vnstat/ | wc -l` -ge 1 ]; then /usr/local/bin/vnstat -u; fi Patch attached with submission follows: How-To-Repeat: See problem description.
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
It's okay please fix it :) Wed, 20 Feb 2008 12:50:05 UT, Edwin Groothuis <edwin@freebsd.org>: > > Maintainer of net/vnstat, > > Please note that PR ports/120880 has just been submitted. > > If it contains a patch for an upgrade, an enhancement or a bug fix > you agree on, reply to this email stating that you approve the patch > and a committer will take care of it. > > The full text of the PR can be found at: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/120880 > > > -- > Edwin Groothuis via the GNATS Auto Assign Tool > edwin@FreeBSD.org >
I write bullshit sorry really sorry i forgett that the cron copied before it install Randy Pratt <bsd-unix@embarqmail.com> is ok and run !!!!!!!!! please forgett my fucking patch i so confused the last days
Responsible Changed From-To: freebsd-ports-bugs->beech I'll take it
beech 2008-02-20 21:53:36 UTC FreeBSD ports repository Modified files: net/vnstat Makefile Log: - Fix path in vnstat-cron - Bump portrevision PR: ports/120880 Submitted by: Randy Pratt <bsd-unix@embarqmail.com> Approved by: Dennis Herrmann <adox@mcx2.org> (maintainer) Revision Changes Path 1.2 +3 -0 ports/net/vnstat/Makefile _______________________________________________ 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"
State Changed From-To: feedback->closed Fix Committed, Thanks!