aboutsummaryrefslogtreecommitdiff
path: root/network/haproxy/haproxy.SlackBuild
diff options
context:
space:
mode:
authorT3slider <t3slider@gmail.com>2015-11-09 22:58:26 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-09 22:58:26 +0700
commitb53cfad4043675db94ad01fb54e4e952b34ff07f (patch)
tree0f85ef607a78ebfd4c9d2cd25215b8030c33263f /network/haproxy/haproxy.SlackBuild
parent6d8a5c98bb0e34946f84d3951c896a3e1498293c (diff)
network/haproxy: Updated for version 1.6.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/haproxy/haproxy.SlackBuild')
-rw-r--r--network/haproxy/haproxy.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/network/haproxy/haproxy.SlackBuild b/network/haproxy/haproxy.SlackBuild
index 743564e879e6..878709c089a3 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.6.1}
+VERSION=${VERSION:-1.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -82,13 +82,12 @@ make \
USE_ZLIB=1 \
USE_NS=1 \
EXTRA=""
-make install-man \
+make install \
PREFIX=/usr \
MANDIR=/usr/man \
+ DOCDIR=/usr/doc/$PRGNAM-$VERSION \
+ EXTRA="" \
DESTDIR=$PKG
-# A Makefile bug builds/installs a systemd wrapper during the
-# install/install-bin step even with EXTRA=""...
-install -D -m 0755 haproxy $PKG/usr/sbin/haproxy
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -98,8 +97,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
install -D -m 0644 $CWD/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGELOG CONTRIBUTING LICENSE MAINTAINERS README ROADMAP SUBVERS VERDATE VERSION doc examples \
+cp -a CHANGELOG CONTRIBUTING LICENSE MAINTAINERS README ROADMAP SUBVERS VERDATE VERSION examples \
$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/etc/haproxy
mv $PKG/usr/doc/$PRGNAM-$VERSION/examples/errorfiles $PKG/etc/haproxy/errors