X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fsquid-accounting;h=9bc75f0f1facc9fb41c03b1dfc559fd43e0f2b87;hb=27ef66c26c480542f0ea60d85302da5ada0f0648;hp=6f0fdc3b2dbb59e9800169ed60bf5e14418e5c4b;hpb=4616ecceced8208c695e697395f0b916d875fb91;p=ipfire-2.x.git diff --git a/lfs/squid-accounting b/lfs/squid-accounting index 6f0fdc3b2d..9bc75f0f1f 100644 --- a/lfs/squid-accounting +++ b/lfs/squid-accounting @@ -9,15 +9,15 @@ include Config -VER = 1.0.1 +VER = 1.0.4 THISAPP = squid-accounting-$(VER) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = squid-accounting -PAK_VER = 2 +PAK_VER = 10 -DEPS = "perl-DBI perl-DBD-SQLite perl-File-ReadBackwards perl-PDF-API2 sendEmail" +DEPS = "perl-DBI perl-DBD-SQLite perl-File-ReadBackwards" ############################################################################### # 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)