include Config
-VER = 2.7.STABLE6
+VER = 2.7.STABLE7
THISAPP = squid-$(VER)
DL_FILE = $(THISAPP).tar.bz2
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 6de3a6a7a56a7ecae092f2d31a04f039
+$(DL_FILE)_MD5 = c18b0371fca813d5e7c7e0baf87baa22
install : $(TARGET)
--enable-ntlm-auth-helpers="SMB" \
--enable-useragent-log \
--enable-referer-log \
- --enable-snmp \
- --with-pthreads --with-dl
+ --enable-snmp \
+ --with-pthreads --with-dl \
+ --with-maxfd="16384"
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
rm -f /etc/squid/squid.conf
ln -sf /var/ipfire/proxy/squid.conf /etc/squid/squid.conf
+ rm -f /etc/squid/cachemgr.conf
+ ln -sf /var/ipfire/proxy/cachemgr.conf /etc/squid/cachemgr.conf
rm -f /etc/squid/errors
ln -sf /usr/lib/squid/errors/English /etc/squid/errors
touch /var/log/squid/access.log
chown -R squid:squid /var/log/squid /var/log/cache /var/log/updatexlrator
+ cp /usr/lib/squid/cachemgr.cgi /srv/web/ipfire/cgi-bin/cachemgr.cgi
+ chown nobody.nobody /srv/web/ipfire/cgi-bin/cachemgr.cgi
+
cp -f $(DIR_SRC)/config/updxlrator/updxlrator /usr/sbin/updxlrator
cp -f $(DIR_SRC)/config/updxlrator/checkup /var/ipfire/updatexlrator/bin/checkup
cp -f $(DIR_SRC)/config/updxlrator/download /var/ipfire/updatexlrator/bin/download