[squid-users] want to change squid name

--Ahmad-- ahmed.zaeem at netstream.ps
Sun Sep 30 18:55:51 UTC 2018


Hey  Folks 
my question may be crazy a little bit .

i want to change everything in squid config files and rename it to ahmad.

so i want change eveverythingeytng in folders , files  from squid  to —> stinger  and have stinger conf files and run instance as stinger instead of squid .

so i changed recursively everything and replace squid with “stinger”



here what i made :

find /root/squid-3.5.22 -type f -exec sed -i -e 's/squid/stinger/g' {} \;
find /root/squid-3.5.22 -type f -exec sed -i -e 's/Squid/Stinger/g' {} \;
find /root/squid-3.5.22 -type f -exec sed -i -e 's/SQUID/STINGER/g' {} \;

find . -iname "*squid*" -exec rename squid stinger '{}' \;
find . -iname "*squid*" -exec rename squid stinger '{}' \;
find . -iname "*squid*" -exec rename Squid Stinger '{}' \;

###################





 but compilation give me error 



lo heap.lo iso3307.lo radix.lo rfc1035.lo rfc1123.lo rfc2671.lo rfc3596.lo Splay.lo stub_memaccount.lo util.lo xusleep.lo  
libtool: link: /usr/bin/ar cru .libs/libmiscutil.a .libs/MemPool.o .libs/MemPoolChunked.o .libs/MemPoolMalloc.o .libs/getfullhostname.o .libs/heap.o .libs/iso3307.o .libs/radix.o .libs/rfc1035.o .libs/rfc1123.o .libs/rfc2671.o .libs/rfc3596.o .libs/Splay.o .libs/stub_memaccount.o .libs/util.o .libs/xusleep.o 
libtool: link: ranlib .libs/libmiscutil.a
libtool: link: ( cd ".libs" && rm -f "libmiscutil.la" && ln -s "../libmiscutil.la" "libmiscutil.la" )
make[2]: Leaving directory `/root/squid-3.5.22/lib'
make[1]: Leaving directory `/root/squid-3.5.22/lib'
Making all in libltdl
make[1]: Entering directory `/root/squid-3.5.22/libltdl'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /root/squid-3.5.22/cfgaux/missing aclocal-1.15 -I m4
/root/squid-3.5.22/cfgaux/missing: line 81: aclocal-1.15: command not found
WARNING: 'aclocal-1.15' is missing on your system.
         You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'aclocal' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
make[1]: *** [aclocal.m4] Error 127
make[1]: Leaving directory `/root/squid-3.5.22/libltdl'
make: *** [all-recursive] Error 1
[root at li1802-227 squid-3.5.22]# 



any help ?









-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20180930/8671ffe5/attachment.html>


More information about the squid-users mailing list