summaryrefslogtreecommitdiff
path: root/network/haproxy/haproxy.SlackBuild
diff options
context:
space:
mode:
authorT3slider <t3slider@gmail.com>2015-11-02 04:14:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-02 04:14:48 +0700
commit7a483f249a768cdd2aa1dcfcad3df1e56b471516 (patch)
tree56b0ad69abb3fdc90a466293a4a20adfc3a967ce /network/haproxy/haproxy.SlackBuild
parent59418e415bd66600b540c26ccf02857670436838 (diff)
downloadslackbuilds-7a483f249a768cdd2aa1dcfcad3df1e56b471516.tar.gz
network/haproxy: Updated for version 1.6.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/haproxy/haproxy.SlackBuild')
-rw-r--r--network/haproxy/haproxy.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/network/haproxy/haproxy.SlackBuild b/network/haproxy/haproxy.SlackBuild
index f866940f10..743564e879 100644
--- a/network/haproxy/haproxy.SlackBuild
+++ b/network/haproxy/haproxy.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=haproxy
-VERSION=${VERSION:-1.5.14}
+VERSION=${VERSION:-1.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -80,6 +80,7 @@ make \
USE_PCRE=1 \
USE_OPENSSL=1 \
USE_ZLIB=1 \
+ USE_NS=1 \
EXTRA=""
make install-man \
PREFIX=/usr \
@@ -96,11 +97,11 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
install -D -m 0644 $CWD/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new
-install -D -m 0644 examples/$PRGNAM.cfg $PKG/etc/haproxy/$PRGNAM.cfg.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGELOG LICENSE README ROADMAP SUBVERS VERDATE VERSION doc examples \
+cp -a CHANGELOG CONTRIBUTING LICENSE MAINTAINERS README ROADMAP SUBVERS VERDATE VERSION doc examples \
$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/etc/haproxy
mv $PKG/usr/doc/$PRGNAM-$VERSION/examples/errorfiles $PKG/etc/haproxy/errors
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild