wok rev 21515

updated nagisk (1.2.5 -> 1.2.9)
author Hans-G?nter Theisgen
date Fri May 03 13:11:28 2019 +0100 (2019-05-03)
parents 51b166969064
children 4e6f31d3d204
files nagisk/receipt
line diff
     1.1 --- a/nagisk/receipt	Fri May 03 13:02:35 2019 +0100
     1.2 +++ b/nagisk/receipt	Fri May 03 13:11:28 2019 +0100
     1.3 @@ -1,24 +1,25 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="nagisk"
     1.7 -VERSION="1.2.5"
     1.8 +VERSION="1.2.9"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Simple tool to monitor Asterisk from a Nagios server."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL3"
    1.13 +WEB_SITE="https://github.com/nicolargo/nagisk/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="https://github.com/nicolargo/nagisk"
    1.17 -WGET_URL="https://codeload.github.com/nicolargo/nagisk/tar.gz/v$VERSION"
    1.18 +WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
    1.19  
    1.20  DEPENDS="nagios-nrpe perl sudo"
    1.21 -BUILD_DEPENDS="wget"
    1.22 +BUILD_DEPENDS=""
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
    1.27  	mkdir -p $fs/usr/share/nagios/libexec
    1.28 -	cp -a $src/nagisk.pl $fs/usr/share/nagios/libexec
    1.29 -	sed -i 's/^elsif/} &/' $fs/usr/share/nagios/libexec/nagisk.pl
    1.30 +	cp -a $src/nagisk.pl	$fs/usr/share/nagios/libexec
    1.31 +	sed -i 's/^elsif/} &/'	$fs/usr/share/nagios/libexec/nagisk.pl
    1.32  }
    1.33  
    1.34  # Pre and post install commands for Tazpkg.