net-mgmt/mrtg: fix regression with gcc14 / clang16 - fix shebangfix - use textproc/p5-Pod-Parser Obtained from: NetBSD - add ubiquiti to cfgmaker - fix HC detection in cfgmakere25d62fc9b
Port details
net-mgmt/mrtg 2.17.10_3,1
Multi-router traffic grapher
Port info
- Maintainer
- dinoex@FreeBSD.org
- Packages
- latest: 2.17.10_3,1
- Upstream
- up to date
- Last update
- to 2.17.10_3,1 · e25d62fc9b
- Quarterly
- 2026Q4: 2.17.10_3,1
- Formerly
- net/mrtg until 2004-02-22
- WWW
- https://oss.oetiker.ch/mrtg/
- Links
- cgit · VuXML
Install
- Package
# pkg install mrtginstalls 2.17.10_3,1 fromlatest; fromquarterly(2026Q4) 2.17.10_3,1- Port
# cd /usr/ports/net-mgmt/mrtg && make install clean# make -C /usr/ports/net-mgmt/mrtg config # change options first
- Size
- 381 KiB download · 1.5 MiB installed
- Depends on
- devel/p5-Module-CoreList 5.20260820, graphics/gd 2.3.3_13,1, graphics/png 1.6.59_1, lang/perl5.42 5.42.3, net-mgmt/p5-SNMP_Session 1.13_4, net/p5-IO-Socket-INET6 2.73, textproc/p5-Pod-Parser 1.67
- License
- GPLv2
- Creates
- user
mrtg, groupmrtg - Options
- 3 of 4 on in the package: DOCS EXAMPLES IPV6
Show the 1 options that are off
SNMPV3 - pkg-message
Shown after installing
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"
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 2.17.10_3,1 | 2.17.10_3,1 | – |
| FreeBSD 15 | 2.17.10_3,1 | 2.17.10_3,1 | – |
| FreeBSD 14 | 2.17.10_3,1 | 2.17.10_3,1 | 2.17.10_3,1 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 2.17.10_3,1 | 2.17.10_3,1 | – |
| FreeBSD 14 | 2.17.10_3,1 | 2.17.10_3,1 | 2.17.10_3,1 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 2.17.10_3,1.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (165)
net-mgmt/mrtg: Refresh MASTER_SITES PR: 282085e188141cab
net-mgmt/mrtg: use ${PREFIX}/share/mand19de364b4net-mgmt/mrtg: fix support for GD_PORT take maintainershipfe2317c01a
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)4d72336a88
Remove WWW lines that have been moved into Makefiles Approved by: portmgr (implicit)ade2a047e0
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)986beaaabc
net-mgmt: remove 'Created by' lines A big Thank You to the original contributors of these ports: * @BABOLO <.@babolo.ru> * Alex Samorukov, samm@freebsd.org * Alexander Kriventsov <avk@vl.ru> * Alexander Sulfrian <alexander@sulfrian.net> * Alexander Y. Grigoryev <alexander.4mail@gmail.com> * Alexandre Biancalana <ale@biancalanas.net> * Alexandre Snarskii <snar@paranoia.ru> * Alexandre Snarskii <snar@snar.spb.ru> * Alexey Bobkov <mr.deadlystorm@gmail.com> * Alexey Dokuchaev <danfe@FreeBSD.org> * Alexey V. Degtyarev * Anders Nordby <anders@FreeBSD.org> * Anders Troback * Andreas Klemm <andreas@klemm.gtn.com> * Andrew 'derfi' Sidorov <derfi@vei.ru> * Andrew Pantyukhin <infofarmer@FreeBSD.org> * Andrew Thompson <andy@fud.org.nz> * Andrew Thompson <thompsa@freebsd.org> * Anton Berezin <tobez@FreeBSD.org> * Anton Berezin <tobez@tobez.org> * Athanasios Douitsis <aduitsis@cpan.org> * Babak Farrokhi <farrokhi@FreeBSD.org> * Bartlomiej Rutkowski <r@robakdesign.com> * Bill Fenner <fenner@FreeBSD.org> * Blaz Zupan <blaz@si.FreeBSD.org> * BluePex Security Solutions <freebsd-ports@bluepex.com> * Boris Samorodov <bsam@FreeBSDD.org> * Brad Davis <brd@FreeBSD.org> * Brad Hendrickse <bradh@uunet.co.za> * Brian Somers <brian@FreeBSD.org> * Bruce M Simpson <bms@FreeBSD.org> * Bruce Simpson * Chris S.J. Peron <maneo@bsdpro.com> * Chris St Denis <chris@smartt.com> * Christer Edwards <christer.edwards@gmail.com> * Christopher N. Harrell <cnh@ivmg.net> * Clement Laforet <sheepkiller@cultdeadsheep.org> * Corey Smith <corsmith@gmail.com> * Craig Boston <craig@yekse.gank.org> * Dave Cottlehuber <dch@FreeBSD.org> * Dave Cottlehuber <dch@skunkwerks.at> * David O'Brien (obrien@NUXI.com) * David Shane Holden <dpejesh@yahoo.com> * David Yeske <dyeske@gmail.com> * Denis Shaposhnikov <dsh@vlink.ru> * Dennis Herrmann <adox@mcx2.org> * Dikshie <dikshie@sfc.wide.ad.jp> * Dmitry Sivachenko <demon@FreeBSD.org> * Domas Mituzas <midom@dammit.lt> * Douglas Fraser <doug@idmf.net> * Douglas K. Rand <rand@iteris.com> * Douglas K. Rand <rand@meridian-enviro.com> * Edwin Groothuis <edwin@mavetju.org> * El Vampiro <vampiro@rootshell.ru> * Emanuel Haupt <ehaupt@FreeBSD.org> * Eric F Crist <ecrist@secure-computing.net> * Eric Turgeon <ericturgeon.bsd@gmail.org> * Eugene Grosbein <eugen@FreeBSD.org> * Fotis Zabaras <fotis@zabaras.eu> * Frank Wall <freebsd@moov.de> * Frank Wall <fw@moov.de> * Gea-Suan Lin <gslin@gslin.org> * Geoffroy Desvernay <dgeo@centrale-marseille.fr> * George Reid <greid@ukug.uk.freebsd.org> * Gerrit Beine <gerrit.beine@gmx.de> * Henrik Brix Andersen <henrik@brixandersen.dk> * Holger Lamm <holger@eit.uni-kl.de> * Hsin-Han You <hhyou@cs.nctu.edu.tw> * Hung-Yi Chen <gaod@hychen.org> * Inacio <nacho319+freebsdZilla@gmail.com> * J.R. Oldroyd <fbsd@opal.com> * JJ Behrens <jj@nttmcl.com> * Jake Smith <jake@xz.cx> * James FitzGibbon <jfitz@FreeBSD.org> * James Flemer <jflemer@acm.jhu.edu> * Janos Mohacsi <janos.mohacsi@bsd.hu> * Janos Mohacsi <mohacsi@niif.hu> * Janos.Mohacsi@bsd.hu * Janos.Mohacsi@dante.org.uk * Jason Helfman <jgh@FreeBSD.org> * Jeremy Chadwick <koitsu@FreeBSD.org> * Jerry A! <jerry@thehutt.org> * Jev Björsell <ports@ecadlabs.com> * Joe Clarke <marcus@marcuscom.com * Joe Clarke <marcus@marcuscom.com> * Johannes Jost Meixner <johannes@FreeBSD.org> * Johannes Jost Meixner <johannes@perceivon.net> * Josh Carroll <josh.carroll@gmail.com> * KIKUCHI Koichiro <koichiro@rworks.jp> * Kevin Hung <khung@nullaxiom.com> * Kian Mohageri <kian.mohageri@gmail.com> * Kimura Fuyuki <fuyuki@hadaly.org> * Kirill Ponomarew <ponomarew@oberon.net> * Kris Kennaway <kris@FreeBSD.org> * Lars Engels <lars.engels@0x20.net> * Lars Thegler <lars@thegler.dk> * Lawrence Chen <beastie@tardisi.com> * Lev Walkin <vlm@lionet.info> * Luca Pizzamiglio <pizzamig@FreeBSD.org> * Mahdi Mokhtari <mokhi63@gmail.com> * Manuel Kreutz <mk@nomtec.net> * Marcin Cieslak <saper@system.pl> * Mark Felder <feld@FreeBSD.org> * Mark Pulford <mark@kyne.com.au> * Martin Jackson <mhjacks@swbell.net> * Martin Matuska <mm@FreeBSD.org> * Mathieu Simon <freebsd@simweb.ch> * Matt Moriarity <matt@mattmoriarity.com> * Matt Peterson <matt@peterson.org> * Matthew Seaman <matthew@FreeBSD.org> * Michael L. Hostbaek (mich@freebsdcluster.org) * Michael Lyngbøl <lyngbol@wheel.dk> * Michael Reifenberger <mr@FreeBSD.org> * Michal Hanula <michal@hanu.la> * Mike Bristow <mike@urgle.com> * Mikhail T. <mi@aldan.algebra.com> * Mikolaj Golub <to.my.trociny@gmail.com> * Muhammad Moinur Rahman <5u623l20@gmail.com> * Muhammad Moinur Rahman <bofh@FreeBSD.org> * Nicholas Esborn <nick@netdot.net> * Nick F <ffault@gmail.com> * Nick Hilliard * Nick Hilliard <nick@foobar.org> * Pakhom Golynga <pg@pakhom.spb.ru> * Paul Chvostek <paul@it.ca> * Paul Dlug <paul@nerdlabs.com> * Paul Dlug<paul@nerdlabs.com> * Pavel I Volkov * Peter C. Lai <cowbert@gmail.com> * Phil Phillips * Pierre David <pdagog@gmail.com>, Jean Benoit <jean@unistra.fr> * Rihaz Jerrin <rihaz.jerrin@gmail.com> * Roar Pettersen <roar@uib.no> * Russell A. Jackson <rjackson@cserv62.csub.edu> * Ryan Steinmetz * Ryan Steinmetz <rpsfa@rit.edu> * Ryan Steinmetz <zi@FreeBSD.org> * Serge Maslov <serge@maslov.biz> * Sergey Skvortsov <skv@protey.ru> * Sevan Janiyan <venture37@geeklan.co.uk> * Shaun Amott <shaun@inerd.com> * Simon 'corecode' Schubert <corecode@corecode.ath.cx> * Stefan Esser <se@FreeBSD.org> * Stefan Lambrev <cheffo@freebsd-bg.org> * Stephen J. Roznowski <sjr@home.net> * Steve Wills <swills@FreeBSD.org> * Steven Kreuzer <skreuzer@FreeBSD.org> * Tassilo Philipp <tphilipp@potion-studios.com> * Thomas Spreng <spreng@socket.ch> * Tim Bishop <tdb@FreeBSD.org> * Timur I. Bakeyev <bat@cpan.org> * Tom Judge <tj@FreeBSD.org> * Tor Halvard "Squat" Furulund <squat@squat.no> * Tsung-Han Yeh <snowfly@yuntech.edu.tw> * Tsung-Han Yeh <snowfly@yunteche.du.tw> * Tuc <freebsd-ports@t-b-o-h.net> * Vaida Bogdan * Veniamin Gvozdikov <vg@FreeBSD.org> * Vladimir Ermakov <samflanker@gmail.com> * Vladimir Kotal <vlada@devnull.cz> * Wei-chun Chao * Xavier Beaudouin <kiwi@oav.net> * Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw> * Yuan-Chung Hsiao <ychsiao@ychsiao.org> * anarcat@anarcat.ath.cx * arved * babak@farrokhi.net * brock@cotcomsol.com * clement@FreeBSD.org * cnh@ivmg.net * dom@happygiraffe.net * dpejesh@yahoo.com * ecronin@gizmolabs.org * ehaupt@FreeBSD.org * gpalmer * gslin <gslin@gslin.org> * hr <holgerrepp@googlemail.com> * ijliao * itojun@itojun.org * jabley * jabley@clear.co.nz * jamrich.majo@gmail.com * janos.mohacsi@bsd.hu * joris * joseph@randomnetworks.com * marck@rinet.ru * mich@FreeBSD.org * mich@freebsdcluster.org * nbm * rea-fbsd@codelabs.ru * rflynn@acsalaska.net * salexanov@gmail.com * sanpei@FreeBSD.org * steinex * torstenb * trevor * vfom@narod.ru * # Created by Kevin Bowling <kbowling@FreeBSD.org> With hat: portmgr43ac3e28ab
all: Remove all other $FreeBSD keywords.135fdeebb9
Remove # $FreeBSD$ from Makefiles.305f148f48
- update libgd to 2.3.0 - new option RAQM - resurrect deprecated gdlib-config - bump dependend portseff60e5ddb
Drop the ipv6 virtual category for n* category as it is not relevant anymore88a9b99e26
Convert to UCL & cleanup pkg-message (categories n) (and missed 3 missed files from previous categories.)2614c95748
- Update WWW - Remove reference to dead site Approved by: portmgr blanket900e7144b1
- update libgd to 2.2.2 - new MASTER_SITES - add security patch PR: 210913 Submitted by: Piotr Kubaj MFH: 2016Q3 Security: CVE-2015-8874 Security: CVE-2016-3074 Security: http://www.openwall.com/lists/oss-security/2016/07/12/43561a46f28
- Fix trailing whitespace in pkg-descrs, categories [g-n]* Approved by: portmgr blanket4e942b6419
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat: portmgr
Sponsored by: Absolight8d6597e0bb- Drop @dirrm* from and add empty directories to pkg-plists Approved by: portmgr blanket5adc31daa8
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.e1d8f31498
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 Perl version, minimizing the upgrade when the major Perl version is changed. It uses a version dependent directory for modules with compiled bits. As PERL_ARCH is no longer needed in plists, it has been removed from PLIST_SUB. The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now always removed, as is perllocal.pod. The old site_perl and site_perl/arch directories have been kept in the default Perl @INC for all Perl ports, and will be phased out as these old Perl versions expire. PR: 194969 Differential Revision: https://reviews.freebsd.org/D1019 Exp-run by: antoine Reviewed by: perl@ Approved by: portmgreee58d187e
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 blanketsff3e33cfccnet-mgmt/mrtg: fixed shebang, LIB_DEPENDS Approved by: mentors (implicit), portmgr (blanket)3dbde93588
- Stage support20ce4c4f6f
Add NO_STAGE all over the place in preparation for the staging support (cat: net-mgmt)985b201424
- convert to the new perl5 framework - convert USE_GMAKE to Uses Approved by: portmgr (bapt@, blanket)83c8665826
- update libdg to 2.1.0b83d7bf933
- Fix all cases of 'No newline at end of file' in ports tree Approved by: portmgr (bapt)05a9235c98
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: yes7ef9f699d0
- 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: yesc1eff807f6
- Remove SITE_PERL from *_DEPENDS Approved by: portmgr@ (bapt@)c9b4f372f4
- update png to 1.5.102b74a89bc8
- fix rateup's coredump PR: ports/167771 Submitted by: "Alexey V. Panfilov" <ports@subnets.ru> (maintainer)b2a7b46e19
- Update to 2.17.4 - Reset PORTREVISION due to PORTVERSION change PR: ports/166776 Submitted by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp> Approved by: Alexey V. Panfilov <ports@subnets.ru> (maintainer)60b027e2ec
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.83eb2c3700- Add shutdown keyword to rc script PR: ports/162963 Submitted by: maintainer Approved by: maintainer,gabor(mentor) Feature safe: yesf34c23ffab
- fix broken layout in mrtg PR: ports/162224 Submitted by: Alexey V. Panfilov <ports@subnets.ru> (maintainer) Feature safe: yes46d5bb1c08
- Update to 2.17.1 PR: ports/155002 Submitted by: Alexey V. Panfilov <ports@subnets.ru> (maintainer)71f09d9432
- 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 updatev) and consequently bypass the threshold checks. - Changes to validity check error messages to also report the file containing the error (as well as the line). * Added support for glob patterns in include * Make daemon reload cfg automatically when it changes * added support for Arista to cfgmaker * fix cfgmaker to work in mixed v1/2/3 snmp environment * do not stringify arguments to conversion function let eval take care of this * untaint inlast and outlast to make perl taint mode happy PR: ports/153317 Submitted by: Alexey V. Panfilov <ports _at_ subnets.ru> (maintainer)d83eecc17c
- Rename net/p5-IO-INET6 to net/p5-IO-Socket-INET6. PR: ports/148309 Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>738d612f2b
o Update to 2.16.4 o Use both PORT{DOCS,EXAMPLES} instead of PLIST variables.
PR: ports/149016
Approved by: maintainerfef4df01a3- update to 1.4.1 Reviewed by: exp8 run on pointyhat Supported by: miwide78af3ac5
Begin the process of deprecating sysutils/rc_subr by s#. %%RC_SUBR%%#. /etc/rc.subr#1d6b4b3f91
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)cb5f7b3507
- update to jpeg-8ca9c60461c
- Remove unneeded dependencies which is in perl-5.8.9 dist (part 4). Approved by: portmgr (itetcu)46dfffde80
- Fix build with SNMP option. - Also install mrtg-traffic-sum again. - Update maintainer address. PR: ports/142084 Submitted by: Karl Denninger <karl@FS.denninger.net> Approved by: Alexey V. Panfilov <mrtg@subnets.ru> (maintainer)4b80bb9729
- bump all port that indirectly depends on libjpeg and have not yet been bumped or updated Requested by: edwineca78ec61b
- Forced commit to fix maintainer address.a5089348a6
- Update to 2.16.2. [1] - Pass maintainership to submitter. [1] - Try to fix environment issue described on ports/116934. [2] PR: ports/124104, ports/124116 Submitted by: "Alexey V. Panfilov" <mrtg@subnets.ru> [1], Alexander Logvinov <ports@logvinov.com> [2] Approved by: gabor (mentor)8ed1cb8b76
- Unbreak startup script. - bump PORTREVISION. Submitted by: Alexander Logvinov <ports@logvinov.com> (private mail) Approved by: gabor (mentor)43ccdc8fae