wok rev 21448

updated mk-livestatus (1.2.2 -> 1.2.8p25)
author Hans-G?nter Theisgen
date Mon Apr 29 16:37:24 2019 +0100 (2019-04-29)
parents d5d01cc56064
children 082c7fcce5a9
files mk-livestatus/receipt
line diff
     1.1 --- a/mk-livestatus/receipt	Mon Apr 29 16:15:48 2019 +0100
     1.2 +++ b/mk-livestatus/receipt	Mon Apr 29 16:37:24 2019 +0100
     1.3 @@ -1,36 +1,42 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mk-livestatus"
     1.7 -VERSION="1.2.2"
     1.8 +VERSION="1.2.8p25"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="Nagios status broker module"
    1.11 +SHORT_DESC="Nagios status broker module."
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://mathias-kettner.de/cms_livestatus.html"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="https://mathias-kettner.de/checkmk_livestatus.html"
    1.18  WGET_URL="https://mathias-kettner.de/download/$TARBALL"
    1.19  
    1.20  DEPENDS="nagios"
    1.21 -BUILD_DEPENDS="nagios-dev"
    1.22 +BUILD_DEPENDS="gcc 83 nagios-dev"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 +	export	CC=gcc-83
    1.28 +	export	CXX=g++-83
    1.29 +
    1.30  	./configure &&
    1.31 -	make && make -j1 install
    1.32 +	make -j1 &&
    1.33 +	make -j1 install
    1.34  }
    1.35  
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37  genpkg_rules()
    1.38  {
    1.39  	mkdir -p $fs/usr
    1.40 -	cp -a $install/usr/bin $fs/usr
    1.41 -	cp -a $install/usr/lib $fs/usr
    1.42 +
    1.43 +	cp -a $install/usr/bin	$fs/usr
    1.44 +	cp -a $install/usr/lib	$fs/usr
    1.45  }
    1.46  
    1.47  post_install()
    1.48  {
    1.49 -	# Modify nagios config
    1.50 +	# Modify nagios configuration
    1.51  	cat >> "$1/etc/nagios/nagios.cfg" <<EOT
    1.52  broker_module=/usr/lib/mk-livestatus/livestatus.o /var/lib/nagios/rw/live
    1.53  event_broker_options=-1