summaryrefslogtreecommitdiff
path: root/network/squid/squid.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/squid/squid.SlackBuild')
-rw-r--r--network/squid/squid.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/network/squid/squid.SlackBuild b/network/squid/squid.SlackBuild
index 1a9029f3dd..a0100a442a 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=${VERSION:-3.4.10}
+VERSION=${VERSION:-3.4.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,7 +64,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -80,7 +80,7 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc/squid \
- --localstatedir=/var/log/squid \
+ --localstatedir=/var \
--datadir=/usr/share/squid \
--with-pidfile=/var/run/squid \
--mandir=/usr/man \
@@ -122,8 +122,8 @@ rm $PKG/etc/squid/squid.conf
cat $CWD/squid.conf > $PKG/etc/squid/squid.conf.new
cat $CWD/squid.conf.documented > $PKG/etc/squid/squid.conf.documented
-mkdir -p $PKG/var/{cache,run}/squid
-chown $SQUIDUSER:$SQUIDGROUP $PKG/var/{cache,log,run}/squid
+mkdir -p $PKG/var/{cache,lib,run}/squid
+chown $SQUIDUSER:$SQUIDGROUP $PKG/var/{cache,lib,log,run}/squid
## Edit the config file to set the user and group to run as
sed -i -e 's%^cache_effective_user nobody%cache_effective_user '"$SQUIDUSER"'%g' \