wok-6.x rev 14457

Up: nagios-nrpe (2.14)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Apr 27 02:50:36 2013 +0200 (2013-04-27)
parents de514cbbd35e
children 98890599a932
files nagios-nrpe/receipt
line diff
     1.1 --- a/nagios-nrpe/receipt	Sat Apr 27 02:49:34 2013 +0200
     1.2 +++ b/nagios-nrpe/receipt	Sat Apr 27 02:50:36 2013 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="nagios-nrpe"
     1.7 -VERSION="2.12"
     1.8 +VERSION="2.14"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Service and network monitoring program, remote monitoring."
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12 @@ -37,7 +37,7 @@
    1.13  	--with-nrpe-group=nagios \
    1.14  	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.15  	make all &&
    1.16 -	make DESTDIR=$PWD/_pkg install
    1.17 +	make  install
    1.18  }
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21 @@ -47,13 +47,13 @@
    1.22  		$fs/etc/init.d \
    1.23  	 	$fs/var/run/nagios
    1.24  	
    1.25 -	cp -a $_pkg/usr $fs
    1.26 +	cp -a $install/usr $fs
    1.27  	install -m 0644 $src/sample-config/nrpe.cfg $fs/etc/nagios
    1.28  	sed -i 's|/var/run|/var/run/nagios|' $fs/etc/nagios/nrpe.cfg
    1.29  	
    1.30  	# Install config file nd init script
    1.31 -	install -o root -g root -m 644 stuff/nrpe.cfg $fs/etc/nagios/objects
    1.32 -	install -o root -g root -m 755 stuff/nrpe $fs/etc/init.d
    1.33 +	install -o root -g root -m 644 $stuff/nrpe.cfg $fs/etc/nagios/objects
    1.34 +	install -o root -g root -m 755 $stuff/nrpe $fs/etc/init.d
    1.35  }
    1.36  
    1.37  post_install()