From 92ee08b65942e913346d0f2451429b1556968179 Mon Sep 17 00:00:00 2001 From: bkw Date: Wed, 16 Mar 2005 23:18:11 +0000 Subject: pkg_add squid-2.5.7_5.tbz is what we need. --- packages/squid.xml | 22 ---------------------- 1 file changed, 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 @@ 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/"); - 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"); /usr/local/sbin/squid squid -- cgit v1.2.3