wok view nagios-nsca/receipt @ rev 15675
linux: add CVE-2013-2929 fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 19 11:31:06 2013 +0000 (2013-12-19) |
parents | 98890599a932 |
children | a78610b2eb47 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nagios-nsca"
4 VERSION="2.9.1"
5 CATEGORY="network"
6 SHORT_DESC="Service and network monitoring program, remote monitoring."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="nsca"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.nagios.org/"
12 #WGET_URL="$SF_MIRROR/nagios/$TARBALL"
13 WGET_URL="http://prdownloads.sourceforge.net/sourceforge/nagios/$TARBALL"
15 BUILD_DEPENDS="libmcrypt-dev perl libwrap-dev"
16 DEPENDS="libmcrypt"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --localstatedir=/var --datadir=/usr/share/nagios \
24 --sysconfdir=/etc/nagios --sbindir=/usr/sbin \
25 --bindir=/usr/sbin --libexecdir=/usr/lib/nagios \
26 --with-nsca-user=nagios \
27 --with-nsca-group=nagios \
28 --with-nsca-port=5667 \
29 --mandir=/usr/share/man $CONFIGURE_ARGS &&
30 make all
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/sbin \
37 $fs/etc/nagios
38 cp -a $src/src/nsca $fs/usr/sbin
39 cp -a $src/src/send_nsca $fs/usr/sbin
41 install -m 0644 $src/sample-config/nsca.cfg $fs/etc/nagios
42 install -m 0644 $src/sample-config/send_nsca.cfg $fs/etc/nagios
43 }