aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2016-03-19 01:16:45 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-20 07:37:49 +0700
commit481fb5ae36096db2760f16b519f241b5325ff0a1 (patch)
tree0714ab33ff85994f0359fbe21a35ab685d02555e
parent9da47178680a922a38f0231a3c0fc1b3c18af9b4 (diff)
network/squid: Updated for version 3.4.14.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--network/squid/squid.SlackBuild10
-rw-r--r--network/squid/squid.info6
2 files changed, 8 insertions, 8 deletions
diff --git a/network/squid/squid.SlackBuild b/network/squid/squid.SlackBuild
index 1a9029f3ddc24..a0100a442a058 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' \
diff --git a/network/squid/squid.info b/network/squid/squid.info
index aa70ddd77e3cf..f2acd70e0cdcf 100644
--- a/network/squid/squid.info
+++ b/network/squid/squid.info
@@ -1,8 +1,8 @@
PRGNAM="squid"
-VERSION="3.4.10"
+VERSION="3.4.14"
HOMEPAGE="http://www.squid-cache.org/"
-DOWNLOAD="http://www.squid-cache.org/Versions/v3/3.4/squid-3.4.10.tar.bz2"
-MD5SUM="326283b0c37e7dc9b2f90dc0ecd9a8a4"
+DOWNLOAD="http://www.squid-cache.org/Versions/v3/3.4/squid-3.4.14.tar.xz"
+MD5SUM="4e7d7d062159484563ef11f69a0df50a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""