diff options
-rw-r--r-- | network/haproxy/README | 3 | ||||
-rw-r--r-- | network/haproxy/haproxy.SlackBuild | 15 | ||||
-rw-r--r-- | network/haproxy/haproxy.info | 6 |
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="" |