mirror of
https://github.com/Ponce/slackbuilds
synced 2024-09-29 17:37:55 +02:00
network/haproxy: Updated for version 1.8.13.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
4ee3de6121
commit
f622d350a2
3 changed files with 17 additions and 7 deletions
|
@ -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.
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue