diff options
author | Renato Botelho <renato@netgate.com> | 2015-08-25 07:42:58 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-08-25 07:42:58 -0300 |
commit | d5bb311045aa655d04f22d032695f7bebccdd8f7 (patch) | |
tree | 45b1100aa93d2a4d99044396a653860828c2e391 | |
parent | e80663379bef10c5c0bbf1228030c6c9438278d2 (diff) | |
parent | a10d7e0aaa3f75f85d8bcb2dbd47029619be1493 (diff) | |
download | pfsense-packages-d5bb311045aa655d04f22d032695f7bebccdd8f7.tar.gz pfsense-packages-d5bb311045aa655d04f22d032695f7bebccdd8f7.tar.bz2 pfsense-packages-d5bb311045aa655d04f22d032695f7bebccdd8f7.zip |
Merge pull request #1023 from doktornotor/patch-2
-rwxr-xr-x | config/squid3/34/squid.inc | 8 | ||||
-rw-r--r-- | pkg_config.10.xml | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc index 7155d560..2705ceb6 100755 --- a/config/squid3/34/squid.inc +++ b/config/squid3/34/squid.inc @@ -153,7 +153,7 @@ function squid_dash_z($cache_action='none') { if (file_exists("/var/squid/cache/swap.state")) { chown("/var/squid/cache/swap.state", SQUID_UID); chgrp("/var/squid/cache/swap.state", SQUID_GID); - chmod("/var/squid/cache/swap.state", "a+rw"); + chmod("/var/squid/cache/swap.state", 0666); } } @@ -308,7 +308,7 @@ function squid_install_command() { /* make sure pinger is executable */ if (file_exists(SQUID_LOCALBASE. "/libexec/squid/pinger")) - @chmod(SQUID_LOCALBASE. "/libexec/squid/pinger", "a+x"); + @chmod(SQUID_LOCALBASE. "/libexec/squid/pinger", 0755); // XXX: Is it really necessary? if (file_exists("/usr/local/etc/rc.d/squid")) @@ -318,7 +318,7 @@ function squid_install_command() { // XXX: Is it really necessary? mode is set to 0755 in squid.xml if (file_exists("/usr/local/pkg/swapstate_check.php")) - @chmod("/usr/local/pkg/swapstate_check.php", "a+x"); + @chmod("/usr/local/pkg/swapstate_check.php", 0755); write_rcfile(array( "file" => "sqp_monitor.sh", @@ -1934,7 +1934,7 @@ function squid_resync($via_rpc="no") { /* make sure pinger is executable */ // XXX: Is it really necessary? Who could change its permission? if (file_exists(SQUID_LOCALBASE . "/libexec/squid/pinger")) - exec("chmod a+x " . SQUID_LOCALBASE . "/libexec/squid/pinger"); + @chmod(SQUID_LOCALBASE. "/libexec/squid/pinger", 0755); $log_dir=""; // check if squid is enabled diff --git a/pkg_config.10.xml b/pkg_config.10.xml index 71c27fd1..1dbbf8ef 100644 --- a/pkg_config.10.xml +++ b/pkg_config.10.xml @@ -1052,7 +1052,7 @@ <pkginfolink>https://forum.pfsense.org/index.php/topic,48347.0.html</pkginfolink> <website>http://www.squid-cache.org/</website> <category>Network</category> - <version>0.2.8</version> + <version>0.2.9</version> <status>beta</status> <required_version>2.2</required_version> <maintainer>marcellocoutinho@gmail.com fernando@netfilter.com.br seth.mos@dds.nl mfuchs77@googlemail.com jimp@pfsense.org</maintainer> |