network/varnish: Updated for version 6.3.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Emmanuel N. Millan 2020-01-11 20:16:02 +07:00 committed by Willy Sudiarto Raharjo
parent e5b4c700ef
commit 903bf778f0
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
2 changed files with 11 additions and 10 deletions

View File

@ -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 . \

View File

@ -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"