X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fsquid-accounting;h=77742554e77f3cb2ed40c09ee87f8d74d310aa63;hb=HEAD;hp=7eae4fbb624e7e865a0aebc5a0f2d732fc86e002;hpb=fe53fa8dac070d884e05aa423ec5c854a8997fbd;p=people%2Fpmueller%2Fipfire-2.x.git diff --git a/lfs/squid-accounting b/lfs/squid-accounting deleted file mode 100644 index 7eae4fbb62..0000000000 --- a/lfs/squid-accounting +++ /dev/null @@ -1,71 +0,0 @@ -############################################################################### -# IPFire.org - An Open Source Firewall Solution # -# Copyright (C) - IPFire Development Team # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -VER = 1.0.2 - -THISAPP = squid-accounting-$(VER) -DIR_APP = $(DIR_SRC)/$(THISAPP) -TARGET = $(DIR_INFO)/$(THISAPP) -PROG = squid-accounting -PAK_VER = 4 - -DEPS = "perl-DBI perl-DBD-SQLite perl-File-ReadBackwards perl-PDF-API2 sendEmail" - -############################################################################### -# Top-level Rules -############################################################################### - -install : $(TARGET) - -check : - -download : - -md5 : - -dist: - @$(PAK) - -############################################################################### -# Installation Details -############################################################################### - -$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) - @$(PREBUILD) - @rm -rf $(DIR_APP) && mkdir $(DIR_APP) && cp -R $(DIR_SRC)/src/squid-accounting/ $(DIR_APP) - cd $(DIR_APP) - mkdir -p /var/ipfire/accounting/bill - mkdir -p /srv/web/ipfire/html/accounting/logo - -#Touch Logfile - touch /var/log/accounting.log - 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/ - install -v -m 655 $(DIR_APP)/squid-accounting/acct.de.pl /var/ipfire/addon-lang/ - install -v -m 655 $(DIR_APP)/squid-accounting/acct.en.pl /var/ipfire/addon-lang/ - install -v -m 655 $(DIR_APP)/squid-accounting/EX-squid-accounting.menu /var/ipfire/menu.d/ - 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) -