The Multi Router Traffic Grapher (MRTG) is a tool to monitor the traffic
load on network-links. MRTG generates HTML pages containing PNG images which
provide a LIVE visual representation of this traffic. Check
for an example. MRTG is based on Perl and C and works under UNIX and Windows
NT.
MRTG is being successfully used on many sites around the net.
===> The following configuration options are available for mrtg-2.17.10_3,1:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
IPV6=on: IPv6 protocol support
SNMPV3=off: Build with support for SNMPv3
===> Use 'make config' to modify these settings
Please create a MRTG config file in /usr/local/etc/mrtg
A configuration file can be automatically generated with cfgmaker
A sample configuration file is installed as mrtg.cfg.sample
To enable MRTG in daemon mode, put the following to your /etc/rc.conf:
mrtg_daemon_enable="YES"
net-mgmt/mrtg: update to 2.17.10 and make portlint happy
* Add missing LIB_DEPENDS
* Reset maintainer.
Has been inactive for a long time and has missed all of the latest releases.
PR: 271398
Reported by: terry-freebsd@glaver.org
Approved by: ports@subnets.ru (maintainer timeout)
Move more WWW entries from pkg-descr files into Makefiles
The WWW: lines in the pkg-descr files of these ports where not at the
end of those files and have been missed in prior conversion runs.
Approved by: portmgr (implicit)
Remove sleeps from the configure script to save 7 seconds each run.
After considering how much time was spent on this message since its
addition in 2001, this seems reasonable.
Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:
site_perl : lib/perl5/site_perl/5.18
site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
perl_man3 : lib/perl5/5.18/man/man3
Now we have:
site_perl : lib/perl5/site_perl
site_arch : lib/perl5/site_perl/mach/5.18
perl_man3 : lib/perl5/site_perl/man/man3
Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above )
Now let's *really* stage net-mgmt/mrtg
What a mess this port was.
* None of the man pages were listed in pkg-plist
* It shouldn't try to remove SITE_PERL directory
* Comment started with indefinite article
* RUN/LIB_DEPENDS were too low for portlint
* MANPAGES had extra tab (and runs over 80-columns, unfixed)
* <options> unnecessary if <opt>_RUN_DEPENDS used
* install commands were all masked
* several mkdir commands instead of one
* install commands don't respect 80-columsn
* cp (not even ${CP}) used instead of ${COPYTREE_SHARE}
* Redundant post-install target still in place
All of that was addressed and verified in poudriere testport.
Approved by "just fix it" and staging blankets
Fix several warnings;
Subroutine SNMP_Session::pack_sockaddr_in6 redefined at
/usr/local/lib/perl5/5.14.2/Exporter.pm line 67.
at /usr/local/lib/perl5/site_perl/5.14.2/SNMP_Session.pm line 149
PR: ports/166777
Submitted by: Alexey V. Panfilov <ports@subnets.ru> (maintainer)
Feature safe: yes
- Add GD_PORT knob to allow using localized GD
- Remove ABI version number from LIB_DEPENDS
- Trim Makefile headers
- Convert to new options framework
PR: ports/173124
Submitted by: Alexey V. Panfilov <ports@subnets.ru> (maintainer)
Feature safe: yes
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
- update mrtg to version 2.17.0
The update to 2.17.0 uncludes:
* added rrdcached support
- new keyword: RRDCached: which overrides anything set in the
RRDCACHED_ADDRESS environment variable and sets MRTG to work in
RRDCached mode. This verifies that you're using a unix-domain
socket and the socket is writable.
- Check for environment variable RRDCACHED_ADDRESS and use this
if no explicit address was set in the cfg file, making the same
config validity checks.
- Make warning if using rrdcached to the effect that the threshold
checks will no longer work.
- If in rrdcached-mode, and using RRDTool 1.4, then force use of
update rather than updatev (as rrdcached does not yet support
(Only the first 15 lines of the commit message are shown above )
1. remove /var/run/mrtg via pkg-deinstall instead of via plist
pkg-install is already listed in SUB_FILES, no need to invoke sed manually
2. Fix wrong choice strings for translation
3. Fix some words at russian translation
PR: ports/143728, ports/143179
Submitted by: "Alexey V. Panfilov" <ports@subnets.ru> (maintainer)
The start script assumes that group name == user name. This goes wrong
when mrtg needs to be started as root (for example).
When mrtg is started as root, both getgrnam() gndetpwnam() are returning
0 because Without changing the code this ends mrtg (false error).
PR: ports/95253
Approved by: maintainer timeout (20 days)
Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
* reflect renaming on CPAN File-Spec to PathTools
+ add devel/p5-PathTools, remove devel/p5-File-Spec
+ update dependencies for all affected ports (make them unconditional),
bump PORTREVISION for these ports
module was renamed
* reflect renaming on CPAN PodParser to Pod-Parser
+ add textproc/p5-Pod-Parser, remove textproc/p5-PodParser
+ update dependencies for all affected ports (make them unconditional),
bump PORTREVISION for these ports
* for all changed ports make dependencies on File::Temp, Digest::MD5,
Storable unconditional
* remove 'CONFIGURE_ARGS= INSTALLDIRS=site' from Makefile's
(this variable is forced by bsd.port.mk now)
* update Class-Autouse to 1.17
* update POE-API-Hooks to 1.05
* make portlint happy (clean IGNORE, convert spaces to tabs and so on)
Say hello to the new "net-mgmt" category. There are probably more
ports that belong here than the ones I have identified and moved in
this, first, pass.
Approved in principle by: marcus