diff options
author | David Somero <dsomero@hotmail.com> | 2010-08-10 01:34:37 +0100 |
---|---|---|
committer | Michiel van Wessem <michiel@slackbuilds.org> | 2010-08-10 01:34:37 +0100 |
commit | ebd1d1551aae67862e9453784a3dff37f427d208 (patch) | |
tree | 84d1dab1a67dba1e0c432351e8e1af3c4d3f63ca /network/squid/squid.SlackBuild | |
parent | 177eba38941f90aa627d26206b70abb5ffb1740d (diff) | |
download | slackbuilds-ebd1d1551aae67862e9453784a3dff37f427d208.tar.gz |
network/squid: Updated for version 3.1.6.
Signed-off-by: Michiel van Wessem <michiel@slackbuilds.org>
Diffstat (limited to 'network/squid/squid.SlackBuild')
-rw-r--r-- | network/squid/squid.SlackBuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/network/squid/squid.SlackBuild b/network/squid/squid.SlackBuild index 83b4597579..5c69c1e71c 100644 --- a/network/squid/squid.SlackBuild +++ b/network/squid/squid.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=squid -VERSION=3.0.STABLE24 +VERSION=3.1.6 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -83,7 +83,9 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc/squid \ --localstatedir=/var/log/squid \ --datadir=/usr/share/squid \ + --with-pidfile=/var/run/squid \ --mandir=/usr/man \ + --with-logdir=/var/log/squid \ --enable-snmp \ --enable-auth="basic" \ --enable-basic-auth-helpers="NCSA" \ @@ -97,10 +99,8 @@ make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $(find $PKG/usr/man -type l); do ln -s $(readlink $i).gz $i.gz; rm $i; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ @@ -124,7 +124,6 @@ rm $PKG/etc/squid/squid.conf cat $CWD/squid.conf > $PKG/etc/squid/squid.conf.new mkdir -p $PKG/var/{cache,run}/squid -rmdir $PKG/var/log/squid/logs chown $SQUIDUSER:$SQUIDGROUP $PKG/var/{cache,log,run}/squid ## Edit the config file to set the user and group to run as |