aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-10-01 02:49:55 +0200
committerdoktornotor <notordoktor@gmail.com>2015-10-01 02:49:55 +0200
commitd690ca09df4ad19280b622e7854d108e896230dd (patch)
tree5d8e56e74187417c564d9ba7b9a25920916f3fad /config/squid3
parent609068e2149936af25d2d2b02624044441fcd86e (diff)
downloadpfsense-packages-d690ca09df4ad19280b622e7854d108e896230dd.tar.gz
pfsense-packages-d690ca09df4ad19280b622e7854d108e896230dd.tar.bz2
pfsense-packages-d690ca09df4ad19280b622e7854d108e896230dd.zip
Fix C-ICAP and cleanup useless things here
Diffstat (limited to 'config/squid3')
-rw-r--r--config/squid3/34/squid.xml11
1 files changed, 4 insertions, 7 deletions
diff --git a/config/squid3/34/squid.xml b/config/squid3/34/squid.xml
index ec9855e8..dda924f8 100644
--- a/config/squid3/34/squid.xml
+++ b/config/squid3/34/squid.xml
@@ -42,7 +42,7 @@
]]>
</copyright>
<name>squid</name>
- <version>0.3.5.1</version>
+ <version>0.3.7</version>
<title>Proxy Server: General Settings</title>
<include_file>/usr/local/pkg/squid.inc</include_file>
<menu>
@@ -71,7 +71,7 @@
</service>
<service>
<name>c-icap</name>
- <rcfile>c-icap</rcfile>
+ <rcfile>c-icap.sh</rcfile>
<executable>c-icap</executable>
<description>ICAP Inteface for Squid and ClamAV integration</description>
</service>
@@ -725,17 +725,14 @@
</custom_php_resync_config_command>
<custom_php_install_command>
<![CDATA[
- update_status("Checking Squid cache... One moment please...");
update_output_window("This operation may take quite some time, please be patient. Do not press stop or attempt to navigate away from this page during this process.");
squid_install_command();
- exec("/bin/rm -f /usr/local/etc/rc.d/squid");
+ unlink_if_exists("/usr/local/etc/rc.d/squid");
+ unlink_if_exists("/usr/local/etc/rc.d/c-icap");
]]>
</custom_php_install_command>
<custom_php_deinstall_command>
- <![CDATA[
squid_deinstall_command();
- exec("/bin/rm -f /usr/local/etc/rc.d/squid*");
- ]]>
</custom_php_deinstall_command>
<filter_rules_needed>squid_generate_rules</filter_rules_needed>
</packagegui>