# SliTaz package receipt. PACKAGE="nagios-nrpe" VERSION="2.12" CATEGORY="network" SHORT_DESC="Service and network monitoring program, remote monitoring." MAINTAINER="erjo@slitaz.org" SOURCE="nrpe" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://www.nagios.org/" WGET_URL="$SF_MIRROR/nagios/$TARBALL" BUILD_DEPENDS="libcrypto-dev openssl-dev openssl libwrap-dev" DEPENDS="nagios-plugins libssl libcrypto" # Rules to configure and make the package. compile_rules() { cd $src while read patch_file; do if [ ! -f done.$patch_file ]; then patch -p1 < $stuff/$patch_file || return 1 touch done.$patch_file fi done <> $1/etc/nagios/nagios.cfg } post_remove() { [ -f $1/etc/nagios/nagios.cfg ] && sed -i 's/.*nrpe.cfg//' $1/etc/nagios/nagios.cfg }