wok-next annotate nagios-nsca/receipt @ rev 21695
updated gob2 (2.0.17 -> 2.0.20)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 30 15:37:32 2020 +0100 (2020-06-30) |
parents | f48456621a9d |
children |
rev | line source |
---|---|
al@20513 | 1 # SliTaz package receipt v2. |
erjo@8332 | 2 |
erjo@8332 | 3 PACKAGE="nagios-nsca" |
erjo@14458 | 4 VERSION="2.9.1" |
erjo@8332 | 5 CATEGORY="network" |
al@20513 | 6 SHORT_DESC="Service and network monitoring program, remote monitoring" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15584 | 8 LICENSE="GPL2" |
al@20906 | 9 WEB_SITE="https://www.nagios.org/" |
al@20513 | 10 |
al@20513 | 11 TARBALL="nsca-$VERSION.tar.gz" |
al@21017 | 12 WGET_URL="$SF_MIRROR/nagios/$TARBALL" |
pascal@15584 | 13 |
erjo@8332 | 14 BUILD_DEPENDS="libmcrypt-dev perl libwrap-dev" |
erjo@8332 | 15 |
al@20513 | 16 compile_rules() { |
al@20513 | 17 ./configure \ |
al@20513 | 18 --datadir=/usr/share/nagios \ |
al@20513 | 19 --sysconfdir=/etc/nagios \ |
al@20513 | 20 --sbindir=/usr/sbin \ |
al@20513 | 21 --bindir=/usr/sbin \ |
al@20513 | 22 --libexecdir=/usr/lib/nagios \ |
al@20513 | 23 --with-nsca-user=nagios \ |
al@20513 | 24 --with-nsca-group=nagios \ |
al@20513 | 25 --with-nsca-port=5667 \ |
al@20513 | 26 $CONFIGURE_ARGS && |
al@20513 | 27 make all || return 1 |
al@20513 | 28 |
al@20513 | 29 mkdir -p \ |
al@20513 | 30 $install/usr/sbin/ \ |
al@20513 | 31 $install/etc/nagios/ |
al@20513 | 32 cp -a $src/src/nsca $install/usr/sbin/ |
al@20513 | 33 cp -a $src/src/send_nsca $install/usr/sbin/ |
al@20513 | 34 |
al@20513 | 35 install -m644 $src/sample-config/nsca.cfg $install/etc/nagios/ |
al@20513 | 36 install -m644 $src/sample-config/send_nsca.cfg $install/etc/nagios/ |
erjo@8332 | 37 } |
erjo@8332 | 38 |
al@20513 | 39 genpkg_rules() { |
al@20513 | 40 copy @std |
al@20513 | 41 DEPENDS="libmcrypt" |
erjo@8332 | 42 } |