summaryrefslogtreecommitdiff
path: root/network/haproxy/haproxy.SlackBuild
diff options
context:
space:
mode:
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 743564e879..878709c089 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