summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorT3slider <t3slider@gmail.com>2018-09-20 15:17:58 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-09-20 15:17:58 +0100
commitf622d350a2a4c60a41aad257611b7f976bfbe2ad (patch)
tree055123e852dfb60c9673bdf9276f0d348e1f629a
parent4ee3de6121c63acbdbcb152fd08f2b731508d0c9 (diff)
downloadslackbuilds-f622d350a2a4c60a41aad257611b7f976bfbe2ad.tar.gz
network/haproxy: Updated for version 1.8.13.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--network/haproxy/README3
-rw-r--r--network/haproxy/haproxy.SlackBuild15
-rw-r--r--network/haproxy/haproxy.info6
3 files changed, 17 insertions, 7 deletions
diff --git a/network/haproxy/README b/network/haproxy/README
index 271fffc62c..e9f613f484 100644
--- a/network/haproxy/README
+++ b/network/haproxy/README
@@ -5,3 +5,6 @@ applications. It is particularly suited for very high traffic web sites.
Note that a default configuration file is no longer provided at
/etc/haproxy/haproxy.cfg. See /usr/doc/haproxy-*/examples for some
sample configuration files.
+
+lua53 is an optional dependency for HAProxy. Pass LUA=yes to this script to
+enable lua support.
diff --git a/network/haproxy/haproxy.SlackBuild b/network/haproxy/haproxy.SlackBuild
index 8121bedf45..cfcb13e07b 100644
--- a/network/haproxy/haproxy.SlackBuild
+++ b/network/haproxy/haproxy.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for haproxy
-# Copyright 2017 T3slider <t3slider@gmail.com>
+# Copyright 2018 T3slider <t3slider@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=haproxy
-VERSION=${VERSION:-1.8.1}
+VERSION=${VERSION:-1.8.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,6 +58,9 @@ fi
# use 'generic' instead
TARGET=${TARGET:-linux2628}
+# Include lua support? (Requires lua53)
+LUA=${LUA:-no}
+
set -e
rm -rf $PKG
@@ -73,8 +76,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Some may want to pass USE_LUA=1 to make, but note that this requires lua53,
-# not available from SBo
+LUAOPT=""
+if [ "$LUA" != "no" ]; then
+ LUAOPT="USE_LUA=1"
+fi
+
make \
TARGET=$TARGET \
CFLAGS="$SLKCFLAGS" \
@@ -83,6 +89,7 @@ make \
USE_OPENSSL=1 \
USE_ZLIB=1 \
USE_NS=1 \
+ $LUAOPT \
EXTRA=""
make install \
PREFIX=/usr \
diff --git a/network/haproxy/haproxy.info b/network/haproxy/haproxy.info
index 1bf08bfdef..b25e1d7e47 100644
--- a/network/haproxy/haproxy.info
+++ b/network/haproxy/haproxy.info
@@ -1,8 +1,8 @@
PRGNAM="haproxy"
-VERSION="1.8.1"
+VERSION="1.8.13"
HOMEPAGE="https://www.haproxy.org/"
-DOWNLOAD="https://www.haproxy.org/download/1.8/src/haproxy-1.8.1.tar.gz"
-MD5SUM="e42892d4b6ee33200fccaa1d81837e49"
+DOWNLOAD="https://www.haproxy.org/download/1.8/src/haproxy-1.8.13.tar.gz"
+MD5SUM="bf0b437bad78f5824d7e26ae0c81fee4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""