diff options
author | T3slider <t3slider@gmail.com> | 2018-09-20 15:17:58 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-09-20 15:17:58 +0100 |
commit | f622d350a2a4c60a41aad257611b7f976bfbe2ad (patch) | |
tree | 055123e852dfb60c9673bdf9276f0d348e1f629a /network/haproxy/haproxy.SlackBuild | |
parent | 4ee3de6121c63acbdbcb152fd08f2b731508d0c9 (diff) |
network/haproxy: Updated for version 1.8.13.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/haproxy/haproxy.SlackBuild')
-rw-r--r-- | network/haproxy/haproxy.SlackBuild | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/network/haproxy/haproxy.SlackBuild b/network/haproxy/haproxy.SlackBuild index 8121bedf45a21..cfcb13e07b33b 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 \ |