Skip to content

Commit

Permalink
vnstat: Update to 1.11
Browse files Browse the repository at this point in the history
Update vnstat to version 1.11, which also contains
the vnstati binary, for making graphs.

Remove the separate vnstati package.

This commit does not contain anything for doing
backups before upgrading, since I do not know
how that works.

The source for vnstat-1.11 has been downloaded from :
http://humdi.net/vnstat/vnstat-1.11.tar.gz
The changelog for vnstat-11 is here :
http://humdi.net/vnstat/CHANGES
  • Loading branch information
alfh committed Mar 1, 2014
1 parent 582fa15 commit a5ecf5f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 85 deletions.
6 changes: 6 additions & 0 deletions config/rootfiles/common/vnstat
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,11 @@
#etc/cron.d/vnstat
etc/vnstat.conf
usr/bin/vnstat
usr/bin/vnstati
#usr/sbin/vnstatd
#usr/share/man/man5/vnstat.conf.5
#usr/share/man/man1/vnstatd.1
#usr/share/man/man1/vnstati.1
#usr/share/man/man1/vnstat.1
#var/lib/vnstat

2 changes: 0 additions & 2 deletions config/rootfiles/common/vnstati

This file was deleted.

6 changes: 3 additions & 3 deletions lfs/vnstat
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

include Config

VER = 1.6
VER = 1.11

THISAPP = vnstat-$(VER)
DL_FILE = $(THISAPP).tar.gz
Expand All @@ -40,7 +40,7 @@ objects = $(DL_FILE)

$(DL_FILE) = $(DL_FROM)/$(DL_FILE)

$(DL_FILE)_MD5 = ccaffe8e70d47e0cf2f25e52daa25712
$(DL_FILE)_MD5 = a5a113f9176cd61fb954f2ba297f5fdb

install : $(TARGET)

Expand Down Expand Up @@ -73,7 +73,7 @@ $(subst %,%_MD5,$(objects)) :
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && make $(MAKETUNING) LOCAL_CONFIGURE_OPTIONS="--enable-readline=yes"
cd $(DIR_APP) && make all $(MAKETUNING) LOCAL_CONFIGURE_OPTIONS="--enable-readline=yes"
cd $(DIR_APP) && make install
sed -i 's|eth0|green0|g' /etc/vnstat.conf
sed -i 's|/var/lib/vnstat|/var/log/rrd/vnstat|g' /etc/vnstat.conf
Expand Down
79 changes: 0 additions & 79 deletions lfs/vnstati

This file was deleted.

1 change: 0 additions & 1 deletion make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,6 @@ buildipfire() {
ipfiremake git
ipfiremake squidclamav
ipfiremake vnstat
ipfiremake vnstati
ipfiremake iw
ipfiremake wpa_supplicant
ipfiremake hostapd
Expand Down

0 comments on commit a5ecf5f

Please sign in to comment.