pkgsrc/net/mrtg/Makefile

72 lines
2.4 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.16 2000/03/17 23:31:48 tron Exp $
# FreeBSD Id: Makefile,v 1.7 1997/12/16 19:42:17 vanilla Exp
#
Update "mrtg" package to version 2.8.12: - make -M and -r work in indexmaker - hungarian translation - NoSpaceChar option. Supresses SPACE normally inserted between local value and PRE or APPEND value. - new features for cfgmaker --iponly, --options, --workdir - make RunAsDaemon work ... - Daemon mode now forks into background after cfgcheck - Remove locks after sig INT and TERM - make indexmaker ignore default values - added ThreshDesc config option. Its value is assigned to the env variable THRESH_DESC before and of the Thresh-Action scripts are called. - bugfix for big5 locale - bugfix for norwegian.pmd - it is RunAsDaemon and not RunAsDeamon - update for rrdtool integration 14all.cgi to 0.16 - updated danish translation - have cfgmaker put specific comments into the mrtg.cfg file regarding the reason for droping a certain interface .. - Added RunAsDeamon mode. Start mrtg only once. No Cron necessary. - linux ip-filter integration in contrib - version 2.2 of mrtgmk in contrib - catalan locales - rateup.c fix for kMG override bug - allow to set ShortLegend to '' - better parsing of PageTop with intexmakers -P option - fix for spanish translation (uptime had some probmlems) - contrib: switchmaker produces mrtg cfg files for Cisco Catylst 5XXX - made sure -lm comes last when linking ... - converted remaining gifs to png - make sure AbsMax is not smaller than MaxBytes - translation to icelandic - added japanese translations for ISO-2022-JP and EUC-JP - added turkish translation - update for rrdtool integration 14all.cgi - Added more modular translation system - Added German Translation - Chinese Translation - cfgmaker_ip ... keep first address and not last .. - Malayan translation - restored mibhelp to its old glory .. - added ability to index interfaces by physical address analog to the existing IP stuff ... there is now also a cfgmaker_phys - polish translation - graphing fix for rateup ... - cpuinfo contrib - contrib cisco config tftp - updates and bugfixes for mrtgmk v2.0 - fix for -F/-f in indexmaker - fix for view type in indexmaker - cisco accounting contrib - added -lm to LIBS in configure.in - patching system for languages ... check translate directory - NSI (Network Status Imager for MRTG) contrib - updates for mrtg-archiver
2000-02-07 17:44:13 +01:00
DISTNAME= mrtg-2.8.12
CATEGORIES= net
MASTER_SITES= http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/pub/ \
http://gd.tuwien.ac.at/infosys/network/tools/mrtg/pub/ \
ftp://mrtg.hdl.com/ \
ftp://ftp.sunet.se/pub/network/monitoring/mrtg/ \
ftp://ftp.ou.edu/mirrors/mrtg/ \
ftp://eesa.webstar.co.uk/pub/mrtg/ \
ftp://ftp.chg.ru/pub/networking/management/mrtg/ \
ftp://ftp.onet.pl/pub/unix/network/mrtg/pub/
MAINTAINER= tv@netbsd.org
HOMEPAGE= http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html
DEPENDS= gd>=1.8.1:../../graphics/gd
USE_PERL5= YES
1999-11-01 04:37:35 +01:00
USE_X11= YES
GNU_CONFIGURE= YES
Update "mrtg" package to version 2.8.12: - make -M and -r work in indexmaker - hungarian translation - NoSpaceChar option. Supresses SPACE normally inserted between local value and PRE or APPEND value. - new features for cfgmaker --iponly, --options, --workdir - make RunAsDaemon work ... - Daemon mode now forks into background after cfgcheck - Remove locks after sig INT and TERM - make indexmaker ignore default values - added ThreshDesc config option. Its value is assigned to the env variable THRESH_DESC before and of the Thresh-Action scripts are called. - bugfix for big5 locale - bugfix for norwegian.pmd - it is RunAsDaemon and not RunAsDeamon - update for rrdtool integration 14all.cgi to 0.16 - updated danish translation - have cfgmaker put specific comments into the mrtg.cfg file regarding the reason for droping a certain interface .. - Added RunAsDeamon mode. Start mrtg only once. No Cron necessary. - linux ip-filter integration in contrib - version 2.2 of mrtgmk in contrib - catalan locales - rateup.c fix for kMG override bug - allow to set ShortLegend to '' - better parsing of PageTop with intexmakers -P option - fix for spanish translation (uptime had some probmlems) - contrib: switchmaker produces mrtg cfg files for Cisco Catylst 5XXX - made sure -lm comes last when linking ... - converted remaining gifs to png - make sure AbsMax is not smaller than MaxBytes - translation to icelandic - added japanese translations for ISO-2022-JP and EUC-JP - added turkish translation - update for rrdtool integration 14all.cgi - Added more modular translation system - Added German Translation - Chinese Translation - cfgmaker_ip ... keep first address and not last .. - Malayan translation - restored mibhelp to its old glory .. - added ability to index interfaces by physical address analog to the existing IP stuff ... there is now also a cfgmaker_phys - polish translation - graphing fix for rateup ... - cpuinfo contrib - contrib cisco config tftp - updates and bugfixes for mrtgmk v2.0 - fix for -F/-f in indexmaker - fix for view type in indexmaker - cisco accounting contrib - added -lm to LIBS in configure.in - patching system for languages ... check translate directory - NSI (Network Status Imager for MRTG) contrib - updates for mrtg-archiver
2000-02-07 17:44:13 +01:00
CONFIGURE_ARGS+= --with-gd-inc=${LOCALBASE}/include \
--with-gd-lib=${LOCALBASE}/lib
2000-03-03 14:56:48 +01:00
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
CONFIGURE_ARGS+= --with-z-lib=${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-z-inc=${LOCALBASE}/include
CONFIGURE_ARGS+= --with-png-lib=${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-png-inc=${LOCALBASE}/include
.endif
post-build:
${SED} s#@PREFIX@#${PREFIX}#g <${FILESDIR}/mrtg.conf.example \
>${WRKDIR}/mrtg.conf.example
${SED} s#@PREFIX@#${PREFIX}#g <${FILESDIR}/netstat2mrtg \
>${WRKDIR}/netstat2mrtg
${SED} s#@PREFIX@#${PREFIX}#g <${FILESDIR}/sys2mrtg \
>${WRKDIR}/sys2mrtg
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/etc/mrtg
${INSTALL_DATA_DIR} ${PREFIX}/share/mrtg
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mrtg
for file in ${WRKSRC}/doc/*; do \
${INSTALL_DATA} $$file ${PREFIX}/share/doc/mrtg/; \
done
for file in ANNOUNCE CHANGES COPYING COPYRIGHT README; do \
${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/share/doc/mrtg/; \
done
for file in ${WRKSRC}/images/*.png; do \
${INSTALL_DATA} $$file ${PREFIX}/share/mrtg/; \
done
${INSTALL_DATA} ${WRKDIR}/mrtg.conf.example ${PREFIX}/etc/mrtg
for file in netstat2mrtg sys2mrtg; do \
${INSTALL_SCRIPT} ${WRKDIR}/$$file ${PREFIX}/libexec/; \
done
${INSTALL_PROGRAM} ${WRKSRC}/run/rateup ${PREFIX}/libexec/
${INSTALL_SCRIPT} ${WRKSRC}/run/mrtg ${PREFIX}/bin/
${INSTALL_SCRIPT} ${WRKSRC}/run/BER.pm ${WRKSRC}/run/SNMP_Session.pm \
${WRKSRC}/run/SNMP_util.pm ${WRKSRC}/run/locales_mrtg.pm \
${PREFIX}/lib/perl5/site_perl/
for file in cfgmaker cfgmaker_ip indexmaker; do \
${INSTALL_SCRIPT} ${WRKSRC}/run/$$file \
${PREFIX}/bin/mrtg$$file; \
done
.include "../../mk/bsd.pkg.mk"