]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
squid-accounting: Rename to proxy-accounting - bug#12772
authorAdolf Belka <adolf.belka@ipfire.org>
Fri, 18 Feb 2022 14:32:37 +0000 (15:32 +0100)
committerPeter Müller <peter.mueller@ipfire.org>
Fri, 18 Feb 2022 22:08:55 +0000 (22:08 +0000)
- Rename lfs, rootfile and paks directory
- Change name in make.sh
- Tested out in a vm system and worked

Fixes: Bug#12772
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
config/rootfiles/packages/proxy-accounting [moved from config/rootfiles/packages/squid-accounting with 90% similarity]
lfs/proxy-accounting [moved from lfs/squid-accounting with 94% similarity]
make.sh
src/paks/proxy-accounting/install.sh [moved from src/paks/squid-accounting/install.sh with 100% similarity]
src/paks/proxy-accounting/uninstall.sh [moved from src/paks/squid-accounting/uninstall.sh with 100% similarity]
src/paks/proxy-accounting/update.sh [moved from src/paks/squid-accounting/update.sh with 100% similarity]

similarity index 90%
rename from config/rootfiles/packages/squid-accounting
rename to config/rootfiles/packages/proxy-accounting
index 82b171e3343844bd6e2ca16a6c63847fe355a845..0c142ea5c9fcc42e35086a819bc7dae94d2a85b2 100644 (file)
@@ -11,6 +11,6 @@ var/ipfire/addon-lang/acct.de.pl
 var/ipfire/addon-lang/acct.en.pl
 var/ipfire/addon-lang/acct.fr.pl
 var/ipfire/addon-lang/acct.tr.pl
-var/ipfire/backup/addons/includes/squid-accounting
+var/ipfire/backup/addons/includes/proxy-accounting
 var/ipfire/menu.d/EX-squid-accounting.menu
 var/log/accounting.log
similarity index 94%
rename from lfs/squid-accounting
rename to lfs/proxy-accounting
index 9476382b3e664336e4cbcde5dba4c6f2e2bb028a..024f249bec15d882bc8a364c92644da97ab6bae2 100644 (file)
@@ -13,11 +13,11 @@ SUMMARY    = SQUID Accounting IPFire extension
 
 VER        = 1.0.4
 
-THISAPP    = squid-accounting-$(VER)
+THISAPP    = proxy-accounting-$(VER)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
-PROG       = squid-accounting
-PAK_VER    = 13
+PROG       = proxy-accounting
+PAK_VER    = 14
 
 DEPS       = perl-File-ReadBackwards
 
@@ -65,7 +65,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        install -v -m 644 $(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
+                       /var/ipfire/backup/addons/includes/proxy-accounting
 
 #activate hourly logging of proxy logfile
        ln -sf /usr/local/bin/acct.pl /etc/fcron.hourly/squid-accounting
diff --git a/make.sh b/make.sh
index a6f44030cbd7f8631bd1794c1ad34741644ded18..ea3e0f9a14f73fba39acaaf4d3e350ed3e3818ab 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -1655,7 +1655,7 @@ buildipfire() {
   lfsmake2 perl-Font-TTF
   lfsmake2 perl-IO-String
   lfsmake2 perl-PDF-API2
-  lfsmake2 squid-accounting
+  lfsmake2 proxy-accounting
   lfsmake2 pigz
   lfsmake2 tmux
   lfsmake2 perl-Text-CSV_XS