summaryrefslogtreecommitdiff
path: root/network/varnish
diff options
context:
space:
mode:
authorEmmanuel N. Millan <emmanueln@gmail.com>2020-01-11 20:16:02 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-11 20:58:11 +0700
commit903bf778f0329dd910283de27e8801f5af2f27d6 (patch)
tree3f73c565d0448e1d4790564445378b867ca8faa6 /network/varnish
parente5b4c700efbc2d21bfd2ad1b6ec2a54b6309ef79 (diff)
downloadslackbuilds-903bf778f0329dd910283de27e8801f5af2f27d6.tar.gz
network/varnish: Updated for version 6.3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/varnish')
-rw-r--r--network/varnish/varnish.SlackBuild13
-rw-r--r--network/varnish/varnish.info8
2 files changed, 11 insertions, 10 deletions
diff --git a/network/varnish/varnish.SlackBuild b/network/varnish/varnish.SlackBuild
index 950474649c..5e73f47f49 100644
--- a/network/varnish/varnish.SlackBuild
+++ b/network/varnish/varnish.SlackBuild
@@ -3,15 +3,16 @@
# Slackware build script for varnish-cache
# Written by Matt Schurenko <matt.schurenko@gmail.com>
+# Updated by Emmanuel N. Millan
PRGNAM=varnish
-VERSION=${VERSION:-4.0.3}
+VERSION=${VERSION:-6.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -22,8 +23,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -36,13 +37,13 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tgz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
diff --git a/network/varnish/varnish.info b/network/varnish/varnish.info
index d1e0127527..f3c3528b9e 100644
--- a/network/varnish/varnish.info
+++ b/network/varnish/varnish.info
@@ -1,10 +1,10 @@
PRGNAM="varnish"
-VERSION="4.0.3"
+VERSION="6.3.1"
HOMEPAGE="https://www.varnish-cache.org/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/varnish-4.0.3.tar.gz"
-MD5SUM="16a683f2e41f7d80219cec5d4649380c"
+DOWNLOAD="https://varnish-cache.org/_downloads/varnish-6.3.1.tgz"
+MD5SUM="f99276b2fdeddb4779423bdc1b5738a8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="docutils"
+REQUIRES="Sphinx"
MAINTAINER="Emmanuel N. Millan"
EMAIL="emmanueln@gmail.com"