X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=lfs%2Fsquid-accounting;h=aa2ca509e46c3d270fa477983823af8f52d3e01c;hp=a2ffd9044587d534deb8d7b8e8a96345e8187a8f;hb=0f14446a89c090cd985ee544b19fdfa0afe04dad;hpb=afd6e1931defb60665b40438d8e54db6de46246f diff --git a/lfs/squid-accounting b/lfs/squid-accounting index a2ffd90445..aa2ca509e4 100644 --- a/lfs/squid-accounting +++ b/lfs/squid-accounting @@ -9,15 +9,15 @@ include Config -VER = 1.0.3 +VER = 1.0.4 THISAPP = squid-accounting-$(VER) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = squid-accounting -PAK_VER = 6 +PAK_VER = 7 -DEPS = "perl-DBI perl-DBD-SQLite perl-File-ReadBackwards perl-PDF-API2 sendEmail" +DEPS = "perl-DBI perl-DBD-SQLite perl-File-ReadBackwards perl-PDF-API2" ############################################################################### # Top-level Rules @@ -50,8 +50,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) chmod 777 /var/log/accounting.log #Set permissions for logo and graphs chmod -R 777 /srv/web/ipfire/html/accounting - - + install -v -m 755 $(DIR_APP)/squid-accounting/accounting.cgi /srv/web/ipfire/cgi-bin/ install -v -m 755 $(DIR_APP)/squid-accounting/acct.pl /usr/local/bin/ install -v -m 644 $(DIR_APP)/squid-accounting/acct-lib.pl /var/ipfire/accounting/ @@ -61,10 +60,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) install -v -m 755 $(DIR_APP)/squid-accounting/dbinstall.pl /var/ipfire/accounting/ install -v -m 644 $(DIR_APP)/squid-accounting/config/backup/includes/squid-accounting \ /var/ipfire/backup/addons/includes/squid-accounting - + #activate hourly logging of proxy logfile ln -sf /usr/local/bin/acct.pl /etc/fcron.hourly/squid-accounting - chown -R nobody.nobody /var/ipfire/accounting @rm -rf $(DIR_APP) @$(POSTBUILD)