pkgsrc-wip/nagios-base/Makefile.common
Murray Armfield bb76407616 Initial import of nagios version 1.0
Nagios is a program that will monitor hosts and services on your
  network.  It has the ability to email or page you when a problem arises
  and when it gets resolved.  Nagios is written in C and is designed to
  run under Linux, although it should work under most other *NIX variants.
  It can run either as a normal process or as a daemon, intermittently
  running checks on various services that you specify.  The actual service
  checks are performed by external "plugins" which return service
  information to Nagios.  Several CGI programs are included with Nagios
  in order to allow you to view the current service status, history, etc.
  via a web browser.
2003-04-06 00:30:40 +00:00

32 lines
871 B
Text

# $NetBSD: Makefile.common,v 1.1.1.1 2003/04/06 00:30:40 marmfield Exp $
#
CATEGORIES= net sysutils
NAGIOS_USER?= nagios
NAGIOS_GROUP?= ${NAGIOS_USER}
NAGIOSADM_USER?= nagadmin
NAGIOSADM_GROUP?= ${NAGIOSADM_USER}
PKG_GROUPS+= ${NAGIOS_GROUP}
PKG_GROUPS+= ${NAGIOSADM_GROUP}
PKG_USERS+= ${NAGIOS_USER}:${NAGIOS_GROUP}::Nagios\\ Runtime\\ User
PKG_USERS+= ${NAGIOSADM_USER}:${NAGIOSADM_GROUP}::Nagios\\ Administrator:${PREFIX}/etc/nagios:${SH}
USE_BUILDLINK2= YES
USE_X11= YES
GNU_CONFIGURE= YES
USE_GMAKE= YES
PERL5_REQD= 5.6
CONFIGURE_ARGS+= --libexecdir=${PREFIX}/libexec/nagios
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/nagios
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc/nagios
CONFIGURE_ARGS+= --localstatedir=/var
CONFIGURE_ARGS+= --with-cgiurl=/nagios/cgi-bin
CONFIGURE_ARGS+= --with-htmurl=/nagios