head 1.19; access; symbols pkgsrc-2023Q1:1.18.0.130 pkgsrc-2023Q1-base:1.18 pkgsrc-2022Q4:1.18.0.128 pkgsrc-2022Q4-base:1.18 pkgsrc-2022Q3:1.18.0.126 pkgsrc-2022Q3-base:1.18 pkgsrc-2022Q2:1.18.0.124 pkgsrc-2022Q2-base:1.18 pkgsrc-2022Q1:1.18.0.122 pkgsrc-2022Q1-base:1.18 pkgsrc-2021Q4:1.18.0.120 pkgsrc-2021Q4-base:1.18 pkgsrc-2021Q3:1.18.0.118 pkgsrc-2021Q3-base:1.18 pkgsrc-2021Q2:1.18.0.116 pkgsrc-2021Q2-base:1.18 pkgsrc-2021Q1:1.18.0.114 pkgsrc-2021Q1-base:1.18 pkgsrc-2020Q4:1.18.0.112 pkgsrc-2020Q4-base:1.18 pkgsrc-2020Q3:1.18.0.110 pkgsrc-2020Q3-base:1.18 pkgsrc-2020Q2:1.18.0.106 pkgsrc-2020Q2-base:1.18 pkgsrc-2020Q1:1.18.0.86 pkgsrc-2020Q1-base:1.18 pkgsrc-2019Q4:1.18.0.108 pkgsrc-2019Q4-base:1.18 pkgsrc-2019Q3:1.18.0.104 pkgsrc-2019Q3-base:1.18 pkgsrc-2019Q2:1.18.0.102 pkgsrc-2019Q2-base:1.18 pkgsrc-2019Q1:1.18.0.100 pkgsrc-2019Q1-base:1.18 pkgsrc-2018Q4:1.18.0.98 pkgsrc-2018Q4-base:1.18 pkgsrc-2018Q3:1.18.0.96 pkgsrc-2018Q3-base:1.18 pkgsrc-2018Q2:1.18.0.94 pkgsrc-2018Q2-base:1.18 pkgsrc-2018Q1:1.18.0.92 pkgsrc-2018Q1-base:1.18 pkgsrc-2017Q4:1.18.0.90 pkgsrc-2017Q4-base:1.18 pkgsrc-2017Q3:1.18.0.88 pkgsrc-2017Q3-base:1.18 pkgsrc-2017Q2:1.18.0.84 pkgsrc-2017Q2-base:1.18 pkgsrc-2017Q1:1.18.0.82 pkgsrc-2017Q1-base:1.18 pkgsrc-2016Q4:1.18.0.80 pkgsrc-2016Q4-base:1.18 pkgsrc-2016Q3:1.18.0.78 pkgsrc-2016Q3-base:1.18 pkgsrc-2016Q2:1.18.0.76 pkgsrc-2016Q2-base:1.18 pkgsrc-2016Q1:1.18.0.74 pkgsrc-2016Q1-base:1.18 pkgsrc-2015Q4:1.18.0.72 pkgsrc-2015Q4-base:1.18 pkgsrc-2015Q3:1.18.0.70 pkgsrc-2015Q3-base:1.18 pkgsrc-2015Q2:1.18.0.68 pkgsrc-2015Q2-base:1.18 pkgsrc-2015Q1:1.18.0.66 pkgsrc-2015Q1-base:1.18 pkgsrc-2014Q4:1.18.0.64 pkgsrc-2014Q4-base:1.18 pkgsrc-2014Q3:1.18.0.62 pkgsrc-2014Q3-base:1.18 pkgsrc-2014Q2:1.18.0.60 pkgsrc-2014Q2-base:1.18 pkgsrc-2014Q1:1.18.0.58 pkgsrc-2014Q1-base:1.18 pkgsrc-2013Q4:1.18.0.56 pkgsrc-2013Q4-base:1.18 pkgsrc-2013Q3:1.18.0.54 pkgsrc-2013Q3-base:1.18 pkgsrc-2013Q2:1.18.0.52 pkgsrc-2013Q2-base:1.18 pkgsrc-2013Q1:1.18.0.50 pkgsrc-2013Q1-base:1.18 pkgsrc-2012Q4:1.18.0.48 pkgsrc-2012Q4-base:1.18 pkgsrc-2012Q3:1.18.0.46 pkgsrc-2012Q3-base:1.18 pkgsrc-2012Q2:1.18.0.44 pkgsrc-2012Q2-base:1.18 pkgsrc-2012Q1:1.18.0.42 pkgsrc-2012Q1-base:1.18 pkgsrc-2011Q4:1.18.0.40 pkgsrc-2011Q4-base:1.18 pkgsrc-2011Q3:1.18.0.38 pkgsrc-2011Q3-base:1.18 pkgsrc-2011Q2:1.18.0.36 pkgsrc-2011Q2-base:1.18 pkgsrc-2011Q1:1.18.0.34 pkgsrc-2011Q1-base:1.18 pkgsrc-2010Q4:1.18.0.32 pkgsrc-2010Q4-base:1.18 pkgsrc-2010Q3:1.18.0.30 pkgsrc-2010Q3-base:1.18 pkgsrc-2010Q2:1.18.0.28 pkgsrc-2010Q2-base:1.18 pkgsrc-2010Q1:1.18.0.26 pkgsrc-2010Q1-base:1.18 pkgsrc-2009Q4:1.18.0.24 pkgsrc-2009Q4-base:1.18 pkgsrc-2009Q3:1.18.0.22 pkgsrc-2009Q3-base:1.18 pkgsrc-2009Q2:1.18.0.20 pkgsrc-2009Q2-base:1.18 pkgsrc-2009Q1:1.18.0.18 pkgsrc-2009Q1-base:1.18 pkgsrc-2008Q4:1.18.0.16 pkgsrc-2008Q4-base:1.18 pkgsrc-2008Q3:1.18.0.14 pkgsrc-2008Q3-base:1.18 cube-native-xorg:1.18.0.12 cube-native-xorg-base:1.18 pkgsrc-2008Q2:1.18.0.10 pkgsrc-2008Q2-base:1.18 cwrapper:1.18.0.8 pkgsrc-2008Q1:1.18.0.6 pkgsrc-2008Q1-base:1.18 pkgsrc-2007Q4:1.18.0.4 pkgsrc-2007Q4-base:1.18 pkgsrc-2007Q3:1.18.0.2 pkgsrc-2007Q3-base:1.18 pkgsrc-2007Q2:1.17.0.20 pkgsrc-2007Q2-base:1.17 pkgsrc-2007Q1:1.17.0.18 pkgsrc-2007Q1-base:1.17 pkgsrc-2006Q4:1.17.0.16 pkgsrc-2006Q4-base:1.17 pkgsrc-2006Q3:1.17.0.14 pkgsrc-2006Q3-base:1.17 pkgsrc-2006Q2:1.17.0.12 pkgsrc-2006Q2-base:1.17 pkgsrc-2006Q1:1.17.0.10 pkgsrc-2006Q1-base:1.17 pkgsrc-2005Q4:1.17.0.8 pkgsrc-2005Q4-base:1.17 pkgsrc-2005Q3:1.17.0.6 pkgsrc-2005Q3-base:1.17 pkgsrc-2005Q2:1.17.0.4 pkgsrc-2005Q2-base:1.17 pkgsrc-2005Q1:1.17.0.2 pkgsrc-2005Q1-base:1.17 pkgsrc-2004Q4:1.16.0.4 pkgsrc-2004Q4-base:1.16 pkgsrc-2004Q3:1.16.0.2 pkgsrc-2004Q3-base:1.16 pkgsrc-2004Q2:1.15.0.4 pkgsrc-2004Q2-base:1.15 pkgsrc-2004Q1:1.15.0.2 pkgsrc-2004Q1-base:1.15 pkgsrc-2003Q4:1.14.0.2 pkgsrc-2003Q4-base:1.14 netbsd-1-6-1:1.12.0.2 netbsd-1-6-1-base:1.12 netbsd-1-6:1.9.0.8 netbsd-1-6-RELEASE-base:1.9 pkgviews:1.9.0.4 pkgviews-base:1.9 buildlink2:1.9.0.2 buildlink2-base:1.9 netbsd-1-5-PATCH003:1.9 netbsd-1-5-PATCH001:1.9 netbsd-1-5-RELEASE:1.8 netbsd-1-4-PATCH003:1.8 netbsd-1-4-PATCH002:1.7 netbsd-1-4-RELEASE:1.3 netbsd-1-3-PATCH003:1.3 FREEBSD-19980713:1.1.1.1 FREEBSD:1.1.1; locks; strict; comment @# @; 1.19 date 2023.06.02.14.16.54; author hauke; state dead; branches; next 1.18; commitid gioNFtXFzIhfCnrE; 1.18 date 2007.08.08.20.22.16; author joerg; state Exp; branches; next 1.17; 1.17 date 2005.01.22.15.07.01; author adrianp; state dead; branches; next 1.16; 1.16 date 2004.06.20.21.53.18; author xtraeme; state Exp; branches; next 1.15; 1.15 date 2003.12.07.13.53.32; author martti; state Exp; branches; next 1.14; 1.14 date 2003.10.05.12.02.52; author martti; state Exp; branches; next 1.13; 1.13 date 2003.04.08.09.50.22; author martti; state Exp; branches; next 1.12; 1.12 date 2002.11.18.14.12.54; author martti; state Exp; branches; next 1.11; 1.11 date 2002.10.23.10.42.19; author martti; state Exp; branches; next 1.10; 1.10 date 2002.09.30.09.12.14; author martti; state Exp; branches; next 1.9; 1.9 date 2000.10.20.16.06.17; author bouyer; state Exp; branches; next 1.8; 1.8 date 2000.03.17.23.31.48; author tron; state Exp; branches; next 1.7; 1.7 date 2000.02.07.16.44.15; author tron; state Exp; branches; next 1.6; 1.6 date 99.11.01.03.37.36; author jlam; state Exp; branches; next 1.5; 1.5 date 99.05.22.10.45.33; author rh; state dead; branches; next 1.4; 1.4 date 99.05.10.16.10.33; author bouyer; state Exp; branches; next 1.3; 1.3 date 98.08.07.11.10.46; author agc; state Exp; branches; next 1.2; 1.2 date 98.07.13.17.56.28; author tv; state Exp; branches; next 1.1; 1.1 date 98.07.13.16.59.08; author tv; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 98.07.13.16.59.08; author tv; state Exp; branches; next ; desc @@ 1.19 log @Ignore the enclosed Pod-Parser in favour of textproc/p5-Pod-Parser, avoiding pointless conflicts with p5 packages See also While here, rename the patches. @ text @$NetBSD: patch-aa,v 1.18 2007/08/08 20:22:16 joerg Exp $ --- src/rateup.c.orig 2007-08-08 20:01:48.000000000 +0000 +++ src/rateup.c @@@@ -48,11 +48,6 @@@@ #define GFORM_GD gdImagePng #endif -/* BSD* does not have/need malloc.h */ -#if !defined(bsdi) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__APPLE__) -#include -#endif - /* MSVCRT.DLL does not know %ll in printf */ #ifdef __MINGW32_VERSION #define LLD "%I64d" @ 1.18 log @Don't use malloc.h @ text @d1 1 a1 1 $NetBSD$ @ 1.17 log @- Update to 2.11.1 - Fix bug with IPv6 support on non-IPv6 enabled systems - Tidy up Makefile - Move patch-aa to Makefile - ok'ed bouyer@@ Changes 2.11.1, 2005-01-05 -------------------------- From: Artyom Adjemov * new Windows docu ... running mrtg as an nt service with srvany. From: Joe Pruett * fixed snmp options parsing in MRTG_lib.pm to allow for ! From: Tobi * fixed secondmean and logscale to actually issue the propper options for rateup. * fixed compilation of rateup.exe for windows to get the new strftime function to be actually used ... Changes 2.11.00, 2004-12-08 --------------------------- From: Al Payne * integrated support for dellLan in cfgmaker * reindented cfgmaker From: Mike Nealon and Larry Fahnoe * fix cfgmaker handling of 'lowspeed' highSpeed interfaces From: Tobi Oetiker * reindent rateup.c * remove @@ signs from mail addresses in change log * added if_MTU variable to cfgmaker * make windows users happy. rateup.exe now uses a special strftime.c that knows about %V and will thus provided propper ISO week numbers for windows as well. Changed the default week format to V. From: zurkabsd location yahoo.com.cn * new chinese translation From: Jaime Damiao Anjos Cadete * put -lm into LIBS to make sure it comes last From: Ian Duplisse * remove the flattening of peaks from the code in rateup.c this does not reflect what actually happens From: John Van Essen * fix handling of unknonwn (-1) data in rateup ... From: Benjamin Despres * Logscale and Secondmean logarithmic scaling for rateup From: alex * contributed mrtg message dll. Added note about it to mrtg-reference.pod From: Mateusz * support option derive is using rrdtool logging From: Ulf Härnhammar * prevent potential buffer overflow in ratup due to 'strange' input files Changes 2.10.15, 2004-08-08 --------------------------- From: NormW * patches for netware support From: Tobi * the optional Conversion function wants to have the original data pulled in via snmp to work with, mapping \n and \r to nothing and stripping spaces must happen later. * better error message for missing library * Updated to snmp_session 1.05 From: Fuminori -Tany- Tanizaki * fix for cuin and cout values saved in html comments From: Tom Pala * fix for polish translation From: Georgi Georgiev * nodetach option for running mrtg under daemontools From: Jozsef Szilagyi * fixed indexmaker. added missing last for --section=portname code From: Bartosz Kwitniewski * fixed scaling bug in rateup (unsigned long) should have been long long From: Mike Mitchell * fix indexmaker when used with 14all @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.16 2004/06/20 21:53:18 xtraeme Exp $ d3 5 a7 4 --- configure.orig Fri Dec 5 00:11:29 2003 +++ configure Sun Dec 7 15:36:34 2003 @@@@ -3526,7 +3526,7 @@@@ fi; d9 8 a16 6 -LDFLAGS="${LDFLAGS} ${MATHLIBS}" +LDFLAGS="${LDFLAGS} ${MATHLIBS} -lgd -lttf -lintl -ljpeg" GDEXTRALIB="" echo "$as_me:$LINENO: checking for gdImageGif in -lgd" >&5 @ 1.16 log @Do not link to libX11 and libXpm, X11 support is really useless here. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.15 2003/12/07 13:53:32 martti Exp $ @ 1.15 log @Updated mrtg to 2.10.11 * lots of bug fixes @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.14 2003/10/05 12:02:52 martti Exp $ d10 1 a10 1 +LDFLAGS="${LDFLAGS} ${MATHLIBS} -lgd -lttf -lintl -lXpm -lX11 -ljpeg" @ 1.14 log @Updated mrtg to 2.10.5 * bug fixes * documentation updates @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.13 2003/04/08 09:50:22 martti Exp $ d3 3 a5 3 --- configure.orig Fri Sep 12 00:16:20 2003 +++ configure Sun Oct 5 12:58:03 2003 @@@@ -3241,7 +3241,7 @@@@ @ 1.13 log @Updated mrtg to 2.9.28 * bug fixes @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.12 2002/11/18 14:12:54 martti Exp $ d3 3 a5 3 --- configure.orig Sat Mar 8 17:17:40 2003 +++ configure Tue Apr 8 12:27:10 2003 @@@@ -3156,7 +3156,7 @@@@ @ 1.12 log @Updated mrtg to 2.9.26.2 (2.9.26b) * with thresholds ... have two decimals in % mode * give threshdesc and value as ar 4 and 5 of called threshprog * propperly ignore signal 127 on UNIX * make cfgmaker foundry aware * ds3 (30) and sonet (39) are wan interface types too added them to the $if_is_wan group in cfgmaker * don't give up too quickly if a confcache setup entry does not match ... * make rateup.c (64bit) work on macos x * debug 64bit rateup ... * drop special MacOS X includes they are harmful on 10.2. Use bsd approach * use long long in log files to enable logging of FAST links long long = 64 bit integers * make cfgmaker support ifHighSpeed propperly and teach it about Juniper * make output of cfgmaker such that indexmaker will sort propperly @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.11 2002/10/23 10:42:19 martti Exp $ d3 3 a5 3 --- configure.orig Mon Nov 18 12:41:24 2002 +++ configure Mon Nov 18 14:53:16 2002 @@@@ -3036,7 +3036,7 @@@@ @ 1.11 log @Updated mrtg to 2.9.25 * die gracefully when LANG is set to UTF-8 and give advice (RedHat 8) * updated squid monitoring example * Fixed indexmaker which got truncated during the last release process * cosmetic tweaks for layout * Use Snmp Session 0.93 with option avoid_negative_request_ids enabled * Supress Posix Locales in the locale module ... people who have LANG set to UTF-8 report very strange errors otherwhise. * skip all queries to a host for one round when 1 query has returned undef. * skip all trailing space in keys when matching interface by Name, Description, Anything * remove
before
near pagetop * make Includes search in directory of main config files as well as in current directory * addhead option for indexmaker * fix for uptime for squid and other non standard devices * indexmaker: improve handling of urls given with --rrdviewer * improved chinese translation @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.10 2002/09/30 09:12:14 martti Exp $ d3 3 a5 3 --- configure.orig Wed Oct 16 22:37:36 2002 +++ configure Wed Oct 23 12:14:12 2002 @@@@ -3063,7 +3063,7 @@@@ @ 1.10 log @Updated mrtg to 2.9.22 [lots of bug fixes] @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.9 2000/10/20 16:06:17 bouyer Exp $ d3 3 a5 4 --- configure.orig Wed Jul 31 07:49:25 2002 +++ configure Tue Sep 24 15:50:26 2002 @@@@ -2610,7 +2610,7 @@@@ CPPFLAGS="${CPPFLAGS} -I${withval}" d8 1 d13 1 a13 1 echo "$as_me:2616: checking for gdImageGif in -lgd" >&5 @ 1.9 log @Upgrate to mrtg 2.9.2, and change maintainer back to packages@@netbsd.org (Todd Vierling doesn't use mrtg any more :) Changes from 2.8.12: MRTG 2.9 is the biggest change in MRTG since the release of MRTG 2.0. So let's hear the news first: * The rrdtool integration allows for massively increased logging performance. * Routers which change their interface numbers are no problem any more. MRTG can now reliably address interfaces by IP, MAC, Description, Name and Type. The cfgmaker tool has been rewritten from scratch and allows to generate configurations with any of the above mentioned interface addressing methods. * Indexmaker has be rewritten from scratch, it is now much more flexible and fully documented. * All the MRTG documentation has been reviewed and ported to perls "Plain Old Documentation (POD)" format. This allows to provide all documentation in text, HTML and man format. It is now all available on the MRTG web-site. * Config file parsing has been optimized. This makes reading configuration files much faster. Especially large configuration files are faster by factors * Under UNIX, mrtg can fork into several instances while querying routers. This improves data acquisition performance dramatically, especially with slow networks. * Graphs and webpages can be generated on the fly is mrtg is used with rrdtool logging. Several tools in the mrtg contrib section are available for this purpose. * And there is more: MRTG has been translated into 29 languages, OS detection has been automated, did I mention performance, many of the contributed tools have been dated and a slew of new ones has been added, The config file reading code is now available in a documented library which simplifies the creation of other tools which need access to the mrtg cfg file. * In total, over 200 individual changes are listed in the change log since the release of MRTG 2.9.2. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.8 2000/03/17 23:31:48 tron Exp $ d3 5 a7 4 --- configure.orig Fri Oct 13 16:07:49 2000 +++ configure Thu Oct 19 14:16:18 2000 @@@@ -1113,7 +1113,7 @@@@ fi d9 2 d12 2 a13 5 -LDFLAGS="${LDFLAGS} -lgd" +LDFLAGS="${LDFLAGS} -lgd -lttf -lintl -lXpm -lX11 -ljpeg" # Check whether --with-z or --without-z was given. if test "${with_z+set}" = set; then @ 1.8 log @Adapt to "gd" library with JPEG support. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.7 2000/02/07 16:44:15 tron Exp $ d3 3 a5 3 --- configure.orig Sun Feb 6 00:56:27 2000 +++ configure Mon Feb 7 17:38:11 2000 @@@@ -986,7 +986,7 @@@@ @ 1.7 log @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 @ text @d1 1 a1 1 $NetBSD$ d10 1 a10 1 +LDFLAGS="${LDFLAGS} -lgd -lttf -lintl -lXpm -lX11" @ 1.6 log @* Modify to support gd-1.7.3. @ text @d3 11 a13 20 --- configure.orig Thu Aug 26 17:25:08 1999 +++ configure Sun Oct 31 00:47:15 1999 @@@@ -1053,7 +1053,7 @@@@ echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" -LIBS="-lgd -lpng -lz $LIBS" +LIBS="-lgd -lpng -lz -lttf -lintl -lXpm -lX11 $LIBS" cat > conftest.$ac_ext <&6 CFLAGS="$CFLAGS -DGFORM_GD=gdImagePng" - LDFLAGS="$LDFLAGS -lpng -lz" + LDFLAGS="$LDFLAGS -lpng -lz -lttf -lintl -lXpm -lX11" GDFORM_EXT=png else @ 1.5 log @Update mrtg to 2.7.4 Notable changes are: - several bug fixes - now uses GNU configure script - documentation update - cleaned up distribution - new indexmaker accepts multiple config files - optional 2-column layout - option to specify bacground color - option to specify overview graphs sizes - few options to increase/decrease bells and whistles - improvements for perminute perhour - integration of SNMP_util and the latest SNMP_session - changed cfgmaker to use ipaddress as name for targets - fixed html in indexmaker and mrtg - optional handling of two different MaxBytes settings @ text @d1 22 a22 31 --- Makefile.orig Mon May 25 07:26:30 1998 +++ Makefile Mon May 10 18:03:33 1999 @@@@ -6,16 +6,16 @@@@ # GD_INCLUDE # The path to the include files for the gd graphics library. #GD_INCLUDE=/usr/local/include/gd -GD_INCLUDE=gd1.2 +GD_INCLUDE=${PREFIX}/include/gd # GD_LIB # The path to the gd graphics library: libgd.a #GD_LIB=/usr/local/lib -GD_LIB=gd1.2 +GD_LIB=${PREFIX}/lib # Where is perl 5 on this machine # PERL=/usr/local/bin/perl -PERL=/usr/local/gnu/bin/perl5 +PERL=${PREFIX}/bin/perl # CC @@@@ -57,7 +57,7 @@@@ @@echo "" rateup: rateup.c - $(CC) $(CFLAGS) rateup.c -I$(GD_INCLUDE) -L$(GD_LIB) -lgd -lm -o rateup + $(CC) $(CFLAGS) rateup.c -I$(GD_INCLUDE) $(LDFLAGS) -L$(GD_LIB) -lgd -lm -o rateup PERLFILES = mrtg cfgmaker indexmaker convert @ 1.4 log @Link with $(LDFLAGS), for -Wl,-R/usr/pkg/lib @ text @@ 1.3 log @Add NetBSD RCS Ids. @ text @d1 2 a2 4 $NetBSD$ --- Makefile.orig Mon Jul 13 13:02:23 1998 +++ Makefile Mon Jul 13 13:04:02 1998 d23 9 @ 1.2 log @Add and activate MRTG, the Multi-Router Traffic Grapher. @ text @d1 2 @ 1.1 log @Initial revision @ text @d1 3 a3 4 --- Makefile.orig Sat Oct 25 20:00:59 1997 +++ Makefile Sat Dec 6 09:33:47 1997 @@@@ -5,17 +5,17 @@@@ SHELL=/bin/sh d6 1 a6 1 -#GD_INCLUDE=/usr/local/include/gd d8 1 a8 2 +GD_INCLUDE=/usr/local/include/gd +#GD_INCLUDE=gd1.2 d12 1 a12 1 -#GD_LIB=/usr/local/lib d14 1 a14 2 +GD_LIB=/usr/local/lib +#GD_LIB=gd1.2 d17 1 a17 1 -# PERL=/usr/local/bin/perl d19 1 a19 2 +PERL=/usr/local/bin/perl +#PERL=/usr/local/gnu/bin/perl5 a22 9 @@@@ -26,7 +26,7 @@@@ # CFLAGS # Enter '-g' to include debugging info, or '-O2' to optimize # for gcc -CFLAGS=-g -O -Wall +CFLAGS+=-Wall # for sparcworks #CFLAGS=-g @ 1.1.1.1 log @Import of FreeBSD's Multi Router Traffic Grapher pkg, patches to follow. @ text @@