pkgsrc/net/argus/Makefile
markd d72c143fd7 Update to argus 3.6
* Version 3.6 [2008 Oct 27]
  SNMP interface auto-discovery (oid: ifInOctets[POS1/0])
  better handling of solaris low descriptor limit
  faster startup
  correctly count aliases
  new severity features
  new data directory structure
  show test results on webpage
  overview webpage
  friendlier notification messages
  compute service
  bugfixes
    => some config file changes may be needed

* Version 3.5 [2007 June 14]
  SNMPv2c
  SNMP get-bulk
  UDP bug fixes
  faster startup/shutdown
  faster graphs
  faster with large configs
  Resolv in displayed config
  checknow button
  notification %O fix
  notification conditional text
  DARP (Failover and Redundancy)
  acl simplification
  detect GD at runtime
  can specify units for time duration parameters
  web page changes
  data archiving interface
  various config parameter inheritance changes
    => some config file changes may be needed
2009-07-25 11:44:49 +00:00

64 lines
2.3 KiB
Makefile

# $NetBSD: Makefile,v 1.14 2009/07/25 11:44:49 markd Exp $
DISTNAME= argus-3.6
CATEGORIES= net
MASTER_SITES= http://www.tcp4me.com/code/argus-archive/
EXTRACT_SUFX= .tgz
MAINTAINER= argus@tcp4me.com
HOMEPAGE= http://argus.tcp4me.com/
COMMENT= System and Network Monitoring Application
LICENSE= artistic
PKG_DESTDIR_SUPPORT= user-destdir
BUILD_DEFS+= VARBASE
DEPENDS+= fping>=2.4b2:../../net/fping
DEPENDS+= p5-GD>=2.11:../../graphics/p5-GD
DEPENDS+= p5-Net-SSLeay-[0-9]*:../../security/p5-Net-SSLeay
DEPENDS+= p5-Digest-HMAC-[0-9]*:../../security/p5-Digest-HMAC
DEPENDS+= p5-Crypt-DES-[0-9]*:../../security/p5-Crypt-DES
DEPENDS+= p5-DBI-[0-9]*:../../databases/p5-DBI
USE_TOOLS+= perl:run
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ${WRKSRC}/Configure
CONFIGURE_ARGS+= --bin_dir ${PREFIX}/bin
CONFIGURE_ARGS+= --sbin_dir ${PREFIX}/sbin
CONFIGURE_ARGS+= --lib_dir ${PREFIX}/lib/argus
CONFIGURE_ARGS+= --cgi_dir ${PREFIX}/libexec/cgi-bin
CONFIGURE_ARGS+= --data_dir ${VARBASE}/argus
CONFIGURE_ENV+= PERL=${TOOLS_PERL5:Q}
REPLACE_PERL+= ${WRKSRC}/built/argus-config
RCD_SCRIPTS= argusd
INSTALL_MAKE_FLAGS+= INSTALL_BIN=${DESTDIR}${PREFIX}/bin \
INSTALL_SBIN=${DESTDIR}${PREFIX}/sbin \
INSTALL_CGI=${DESTDIR}${PREFIX}/libexec/cgi-bin \
INSTALL_LIB=${DESTDIR}${PREFIX}/lib/argus \
INSTALL_DATA=${DESTDIR}${PREFIX}/share/examples/argus
OWN_DIRS_PERMS= ${VARBASE}/argus ${ROOT_USER} ${ROOT_GROUP} 0777
OWN_DIRS_PERMS+= ${VARBASE}/argus/perl ${ROOT_USER} ${ROOT_GROUP} 0777
OWN_DIRS_PERMS+= ${VARBASE}/argus/gcache ${ROOT_USER} ${ROOT_GROUP} 0777
OWN_DIRS_PERMS+= ${VARBASE}/argus/gdata ${ROOT_USER} ${ROOT_GROUP} 0777
OWN_DIRS= ${VARBASE}/argus/stats
OWN_DIRS+= ${VARBASE}/argus/notify
OWN_DIRS+= ${VARBASE}/argus/locale
OWN_DIRS+= ${VARBASE}/argus/html
CONF_FILES= ${PREFIX}/share/examples/argus/config.example ${VARBASE}/argus/config
CONF_FILES+= ${PREFIX}/share/examples/argus/users.example ${VARBASE}/argus/users
CONF_FILES+= ${PREFIX}/share/examples/argus/log ${VARBASE}/argus/log
CONF_FILES+= ${PREFIX}/share/examples/argus/notno ${VARBASE}/argus/notno
.for f in de_DE el_gr fr_fr lt_LT nl_NL piglatin ru_RU sp_ar template
CONF_FILES+= ${PREFIX}/share/examples/argus/locale/${f} ${VARBASE}/argus/locale/${f}
.endfor
post-install:
(cd ${DESTDIR}${PREFIX}/share/examples/argus; chmod 755 . perl gcache gdata)
.include "options.mk"
.include "../../mk/bsd.pkg.mk"