diff options
author | obache <obache@pkgsrc.org> | 2010-12-27 08:01:47 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2010-12-27 08:01:47 +0000 |
commit | 923f6e455aeb7d8db0988e7710a3ee0aecc6a67e (patch) | |
tree | 2c7261a44cf298980f8931e969f0830a73c1fdf7 /net/nagios-plugins | |
parent | cba8307edee385141f196b00254a16907954adc5 (diff) | |
download | pkgsrc-923f6e455aeb7d8db0988e7710a3ee0aecc6a67e.tar.gz |
* Add dependency on bind for dig and nslookup, bind had been removed from
DragonFly base.
* check_dhcp also installed as suid root. while here use ${SETUID_ROOT_PERMS}.
* marked as DESTDIR ready (not user-destdir, for the previous reason).
Bump PKGREVISION.
Diffstat (limited to 'net/nagios-plugins')
-rw-r--r-- | net/nagios-plugins/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/net/nagios-plugins/Makefile b/net/nagios-plugins/Makefile index 960feb4999e..952b1c68124 100644 --- a/net/nagios-plugins/Makefile +++ b/net/nagios-plugins/Makefile @@ -1,13 +1,15 @@ -# $NetBSD: Makefile,v 1.22 2010/01/17 12:02:33 wiz Exp $ +# $NetBSD: Makefile,v 1.23 2010/12/27 08:01:47 obache Exp $ # -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= net sysutils MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://sourceforge.net/projects/nagiosplug/ COMMENT= Nagios plugins +PKG_DESTDIR_SUPPORT= destdir + .include "../../net/nagios-plugins/Makefile.common" .include "../../mk/bsd.prefs.mk" @@ -20,7 +22,8 @@ CONFIGURE_ARGS+= --without-pgsql --without-mysql \ --without-smbclient-command --without-snmpget-command \ --without-snmpgetnext-command --without-fping-command -SPECIAL_PERMS+= ${PREFIX}/libexec/nagios/check_icmp ${REAL_ROOT_USER} ${NAGIOS_GROUP} 4550 +SPECIAL_PERMS+= ${PREFIX}/libexec/nagios/check_icmp ${SETUID_ROOT_PERMS} +SPECIAL_PERMS+= ${PREFIX}/libexec/nagios/check_dhcp ${SETUID_ROOT_PERMS} PLIST_VARS+= linux .if ${OPSYS} == "Linux" @@ -42,6 +45,10 @@ LIBS.SunOS+= -lm DEPENDS+= {ssh{,6}-[0-9]*,openssh-[0-9]*}:../../security/openssh .endif +.if ${OPSYS} == "DragonFly" && (!exists(/usr/bin/dig) || !exists(/usr/bin/nslookup)) +DEPENDS+= bind-[0-9]*:../../net/bind96 +.endif + .include "../../security/openssl/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |