Bug 120968 - PATCH port net/vnstat (change few things)
Summary: PATCH port net/vnstat (change few things)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Beech Rintoul
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-22 14:20 UTC by Dennis Herrmann
Modified: 2008-02-24 11:20 UTC (History)
0 users

See Also:


Attachments
file.diff (2.62 KB, patch)
2008-02-22 14:20 UTC, Dennis Herrmann
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Herrmann 2008-02-22 14:20:01 UTC
Attached diff to change var/lib: to "var/db" in vnstat.cron . Randy Pratt make me advertent of few things: 

1. The PR 120880 that was committed missed changing "var/lib: to
   "var/db" in vnstat.cron.

2. The port will removed /var/db/vnstat entirely even during
   an update so you will lose all your data.

3. The same situation exists for vnstat.conf. 

(thanks Randy Pratt)

He sended me an patch ,i fix few things but the most work come by Randy Pratt
Comment 1 Beech Rintoul freebsd_committer freebsd_triage 2008-02-24 09:14:45 UTC
Responsible Changed
From-To: freebsd-ports-bugs->beech

I'll take it
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-02-24 11:03:59 UTC
beech       2008-02-24 11:03:55 UTC

  FreeBSD ports repository

  Modified files:
    net/vnstat           Makefile 
  Log:
  - Fix install/uninstall of vnstat.conf and var/db/vnstat so data won't be overwritten.
  - Minor tweaks
  - Bump portrevision
  
  PR:             ports/120968
  Submitted by:   Dennis Herrmann <adox@mcx2.org> (maintainer)
  
  Revision  Changes    Path
  1.3       +2 -2      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"
Comment 3 dfilter service freebsd_committer freebsd_triage 2008-02-24 11:13:18 UTC
beech       2008-02-24 11:13:09 UTC

  FreeBSD ports repository

  Modified files:
    net/vnstat           pkg-plist 
    net/vnstat/files     patch-Makefile pkg-message.in 
  Log:
  - Add files missed in last commit
  
  PR:             ports/120968
  Submitted by:   Dennis Herrmann <adox@mcx2.org> (maintainer)
  
  Revision  Changes    Path
  1.2       +6 -6      ports/net/vnstat/files/patch-Makefile
  1.2       +2 -1      ports/net/vnstat/files/pkg-message.in
  1.2       +3 -2      ports/net/vnstat/pkg-plist
_______________________________________________
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"
Comment 4 Beech Rintoul freebsd_committer freebsd_triage 2008-02-24 11:13:39 UTC
State Changed
From-To: open->closed

Committed, Thanks!