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 +# 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"