diff options
author | bkw <bkw> | 2005-03-16 23:18:11 +0000 |
---|---|---|
committer | bkw <bkw> | 2005-03-16 23:18:11 +0000 |
commit | 92ee08b65942e913346d0f2451429b1556968179 (patch) | |
tree | 48c99da3cc3506a360225fb3ce7d857171895e3b | |
parent | 49f5d1fc26ca2ab98a91ce8e0afdb9be4f10b4dd (diff) | |
download | pfsense-packages-92ee08b65942e913346d0f2451429b1556968179.tar.gz pfsense-packages-92ee08b65942e913346d0f2451429b1556968179.tar.bz2 pfsense-packages-92ee08b65942e913346d0f2451429b1556968179.zip |
pkg_add squid-2.5.7_5.tbz is what we need.
-rw-r--r-- | packages/squid.xml | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/packages/squid.xml b/packages/squid.xml index bffa29a3..bc618efe 100644 --- a/packages/squid.xml +++ b/packages/squid.xml @@ -7,9 +7,6 @@ <fields/> <custom_php_install_command> echo "<pre>"; - system("/bin/mkdir /usr/local/etc/squid"); - system("/usr/sbin/pw adduser squid -s /bin/false"); - system("/usr/sbin/pw addgroup squid"); $lancfg = $config['interfaces']['lan']; $lanif = $lancfg['if']; $lanip = $lancfg['ipaddr']; @@ -45,20 +42,6 @@ fwrite($fout, "/usr/local/sbin/squid\n\n"); fclose($fout); system("chmod a+x /usr/local/etc/rc.d/squid.sh"); - system("/usr/bin/touch /usr/local/etc/squid/mime.conf"); - system("/bin/mkdir /usr/local/squid"); - system("/bin/mkdir /usr/local/squid/cache"); - system("/bin/mkdir /usr/local/etc/squid/errors"); - system("/usr/bin/touch /usr/local/etc/squid/errors/English"); - system("/usr/bin/touch /usr/local/etc/squid/icons"); - system("/bin/mkdir /usr/local/libexec/squid"); - system("/usr/bin/touch /usr/local/libexec/squid/unlinkd"); - system("/bin/chmod -R 750 /usr/local/libexec/squid"); - system("/usr/sbin/chown -R squid:squid /usr/local/squid"); - system("/usr/sbin/chown -R squid:squid /usr/local/etc/squid"); - system("/usr/sbin/chown -R squid:squid /usr/local/libexec/squid"); - system("/bin/chmod -R 750 /usr/local/squid"); - system("/bin/chmod -R 750 /usr/local/etc/squid"); system("/usr/local/sbin/squid -z"); system("/usr/local/sbin/squid"); filter_configure(); @@ -69,11 +52,6 @@ exec("mv /tmp/squid* /var/db/pkg/"); </custom_php_pre_deinstall_command> <custom_php_deinstall_command> - exec("rm -rf /usr/local/squid/"); - exec("rm -rf /usr/local/etc/squid/"); - exec("rm -rf /usr/local/libexec/squid/"); - exec("/usr/sbin/pw deluser squid"); - exec("/usr/sbin/pw delgroup squid"); </custom_php_deinstall_command> <start_command>/usr/local/sbin/squid</start_command> <process_kill_command>squid</process_kill_command> |