diff options
author | Emmanuel N. Millan <emmanueln@gmail.com> | 2020-01-11 20:16:02 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-01-11 20:58:11 +0700 |
commit | 903bf778f0329dd910283de27e8801f5af2f27d6 (patch) | |
tree | 3f73c565d0448e1d4790564445378b867ca8faa6 /network/varnish/varnish.SlackBuild | |
parent | e5b4c700efbc2d21bfd2ad1b6ec2a54b6309ef79 (diff) | |
download | slackbuilds-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/varnish.SlackBuild')
-rw-r--r-- | network/varnish/varnish.SlackBuild | 13 |
1 files changed, 7 insertions, 6 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 . \ |