| @@ -1,47 +1,47 @@ | | | @@ -1,47 +1,47 @@ |
1 | # $NetBSD: Makefile,v 1.19 2009/05/26 13:32:29 gdt Exp $ | | 1 | # $NetBSD: Makefile,v 1.20 2009/11/15 04:47:41 snj Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | CATEGORIES= net sysutils | | 4 | CATEGORIES= net sysutils |
5 | PKGREVISION= 1 | | 5 | PKGREVISION= 2 |
6 | | | 6 | |
7 | MAINTAINER= pkgsrc-users@NetBSD.org | | 7 | MAINTAINER= pkgsrc-users@NetBSD.org |
8 | HOMEPAGE= http://sourceforge.net/projects/nagiosplug/ | | 8 | HOMEPAGE= http://sourceforge.net/projects/nagiosplug/ |
9 | COMMENT= Nagios plugins | | 9 | COMMENT= Nagios plugins |
10 | | | 10 | |
11 | .include "../../net/nagios-plugins/Makefile.common" | | 11 | .include "../../net/nagios-plugins/Makefile.common" |
12 | | | 12 | |
13 | .include "../../mk/bsd.prefs.mk" | | 13 | .include "../../mk/bsd.prefs.mk" |
14 | | | 14 | |
15 | USE_TOOLS+= perl:run | | 15 | USE_TOOLS+= perl:run |
16 | | | 16 | |
17 | PKG_GROUPS+= NAGIOS_GROUP | | 17 | PKG_GROUPS+= ${NAGIOS_GROUP} |
18 | | | 18 | |
19 | CONFIGURE_ARGS+= --without-pgsql --without-mysql \ | | 19 | CONFIGURE_ARGS+= --without-pgsql --without-mysql \ |
20 | --without-smbclient-command --without-snmpget-command \ | | 20 | --without-smbclient-command --without-snmpget-command \ |
21 | --without-snmpgetnext-command --without-fping-command | | 21 | --without-snmpgetnext-command --without-fping-command |
22 | | | 22 | |
23 | SPECIAL_PERMS+= ${PREFIX}/libexec/nagios/check_icmp ${REAL_ROOT_USER} ${NAGIOS_GROUP} 4550 | | 23 | SPECIAL_PERMS+= ${PREFIX}/libexec/nagios/check_icmp ${REAL_ROOT_USER} ${NAGIOS_GROUP} 4550 |
24 | | | 24 | |
25 | PLIST_VARS+= linux | | 25 | PLIST_VARS+= linux |
26 | .if ${OPSYS} == "Linux" | | 26 | .if ${OPSYS} == "Linux" |
27 | PLIST.linux= yes | | 27 | PLIST.linux= yes |
28 | .endif | | 28 | .endif |
29 | | | 29 | |
30 | .if ${OPSYS} == "NetBSD" | | 30 | .if ${OPSYS} == "NetBSD" |
31 | CONFIGURE_ARGS+= --with-df-command="/bin/df -Pklt nokernfs,procfs,fdesc" | | 31 | CONFIGURE_ARGS+= --with-df-command="/bin/df -Pklt nokernfs,procfs,fdesc" |
32 | .endif | | 32 | .endif |
33 | | | 33 | |
34 | # required to enable large file support on Solaris | | 34 | # required to enable large file support on Solaris |
35 | .if ${OPSYS} == "SunOS" | | 35 | .if ${OPSYS} == "SunOS" |
36 | CPPFLAGS_LFS!= getconf LFS_CFLAGS | | 36 | CPPFLAGS_LFS!= getconf LFS_CFLAGS |
37 | MAKE_ENV+= CPPFLAGS_LFS=${CPPFLAGS_LFS:Q} | | 37 | MAKE_ENV+= CPPFLAGS_LFS=${CPPFLAGS_LFS:Q} |
38 | .endif | | 38 | .endif |
39 | LIBS.SunOS+= -lm | | 39 | LIBS.SunOS+= -lm |
40 | | | 40 | |
41 | .if !exists(/usr/bin/ssh) | | 41 | .if !exists(/usr/bin/ssh) |
42 | DEPENDS+= {ssh{,6}-[0-9]*,openssh-[0-9]*}:../../security/openssh | | 42 | DEPENDS+= {ssh{,6}-[0-9]*,openssh-[0-9]*}:../../security/openssh |
43 | .endif | | 43 | .endif |
44 | | | 44 | |
45 | .include "../../security/openssl/buildlink3.mk" | | 45 | .include "../../security/openssl/buildlink3.mk" |
46 | .include "../../devel/gettext-lib/buildlink3.mk" | | 46 | .include "../../devel/gettext-lib/buildlink3.mk" |
47 | .include "../../mk/bsd.pkg.mk" | | 47 | .include "../../mk/bsd.pkg.mk" |