wok rev 23212
updated nagios-nsca (2.9.1 -> 2.9.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 21 14:45:16 2020 +0100 (2020-03-21) |
parents | 02aa9958ad62 |
children | 39e11db3ea78 |
files | nagios-nsca/receipt |
line diff
1.1 --- a/nagios-nsca/receipt Sat Mar 21 14:35:39 2020 +0100 1.2 +++ b/nagios-nsca/receipt Sat Mar 21 14:45:16 2020 +0100 1.3 @@ -1,14 +1,15 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="nagios-nsca" 1.7 -VERSION="2.9.1" 1.8 +VERSION="2.9.2" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Service and network monitoring program, remote monitoring." 1.11 MAINTAINER="erjo@slitaz.org" 1.12 LICENSE="GPL2" 1.13 +WEB_SITE="https://www.nagios.org/" 1.14 + 1.15 SOURCE="nsca" 1.16 TARBALL="$SOURCE-$VERSION.tar.gz" 1.17 -WEB_SITE="https://www.nagios.org/" 1.18 #WGET_URL="$SF_MIRROR/nagios/$TARBALL" 1.19 WGET_URL="http://prdownloads.sourceforge.net/sourceforge/nagios/$TARBALL" 1.20 1.21 @@ -18,26 +19,34 @@ 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 { 1.25 - cd $src 1.26 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.27 - --localstatedir=/var --datadir=/usr/share/nagios \ 1.28 - --sysconfdir=/etc/nagios --sbindir=/usr/sbin \ 1.29 - --bindir=/usr/sbin --libexecdir=/usr/lib/nagios \ 1.30 - --with-nsca-user=nagios \ 1.31 - --with-nsca-group=nagios \ 1.32 - --with-nsca-port=5667 \ 1.33 - --mandir=/usr/share/man $CONFIGURE_ARGS && 1.34 + # 2.9.2 unrecognised: 1.35 + # --with-nsca-group=nagios 1.36 + 1.37 + ./configure \ 1.38 + --prefix=/usr \ 1.39 + --infodir=/usr/share/info \ 1.40 + --localstatedir=/var \ 1.41 + --datadir=/usr/share/nagios \ 1.42 + --sysconfdir=/etc/nagios \ 1.43 + --sbindir=/usr/sbin \ 1.44 + --bindir=/usr/sbin \ 1.45 + --libexecdir=/usr/lib/nagios \ 1.46 + --with-nsca-user=nagios \ 1.47 + --with-nsca-port=5667 \ 1.48 + --mandir=/usr/share/man \ 1.49 + $CONFIGURE_ARGS && 1.50 make all 1.51 } 1.52 1.53 # Rules to gen a SliTaz package suitable for Tazpkg. 1.54 genpkg_rules() 1.55 { 1.56 - mkdir -p $fs/usr/sbin \ 1.57 - $fs/etc/nagios 1.58 - cp -a $src/src/nsca $fs/usr/sbin 1.59 - cp -a $src/src/send_nsca $fs/usr/sbin 1.60 + mkdir -p $fs/usr/sbin 1.61 + mkdir -p $fs/etc/nagios 1.62 + 1.63 + cp -a $src/src/nsca $fs/usr/sbin 1.64 + cp -a $src/src/send_nsca $fs/usr/sbin 1.65 1.66 - install -m 0644 $src/sample-config/nsca.cfg $fs/etc/nagios 1.67 + install -m 0644 $src/sample-config/nsca.cfg $fs/etc/nagios 1.68 install -m 0644 $src/sample-config/send_nsca.cfg $fs/etc/nagios 1.69 }