wok-current view nagios-nsca/receipt @ rev 24054

xorg-libX11 and xorg-libX11-dev (1.6.9 -> 1.7.0)
author Hans-G?nter Theisgen
date Sun May 30 10:18:33 2021 +0100 (2021-05-30)
parents a78610b2eb47
children afae00265386
line source
1 # SliTaz package receipt.
3 PACKAGE="nagios-nsca"
4 VERSION="2.9.2"
5 CATEGORY="network"
6 SHORT_DESC="Service and network monitoring program, remote monitoring."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.nagios.org/"
11 SOURCE="nsca"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 #WGET_URL="$SF_MIRROR/nagios/$TARBALL"
14 WGET_URL="http://prdownloads.sourceforge.net/sourceforge/nagios/$TARBALL"
16 BUILD_DEPENDS="libmcrypt-dev perl libwrap-dev"
17 DEPENDS="libmcrypt"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # 2.9.2 unrecognised:
23 # --with-nsca-group=nagios
25 ./configure \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --localstatedir=/var \
29 --datadir=/usr/share/nagios \
30 --sysconfdir=/etc/nagios \
31 --sbindir=/usr/sbin \
32 --bindir=/usr/sbin \
33 --libexecdir=/usr/lib/nagios \
34 --with-nsca-user=nagios \
35 --with-nsca-port=5667 \
36 --mandir=/usr/share/man \
37 $CONFIGURE_ARGS &&
38 make all
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/sbin
45 mkdir -p $fs/etc/nagios
47 cp -a $src/src/nsca $fs/usr/sbin
48 cp -a $src/src/send_nsca $fs/usr/sbin
50 install -m 0644 $src/sample-config/nsca.cfg $fs/etc/nagios
51 install -m 0644 $src/sample-config/send_nsca.cfg $fs/etc/nagios
52 }