notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
Some details on the 2023-01-16 website outage.
We just rebooted with several updates: * new HMTLify code * no port maintainer is now highly visible (e.g. https://freshports.org/security/sssd/) * fixed search logic error when using plain/ text details at https://github.com/FreshPorts/freshports/releases/tag/2.2.34
Port details
rtg Flexible, high-performance SNMP statistics monitoring system
0.7.5 net on this many watch lists=5 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Version of this port present on the latest quarterly branch.
Maintainer: freebsd-ports@dan.me.uk search for ports maintained by this maintainer
Port Added: 2004-01-07 06:40:38
Last Update: 2022-09-07 21:58:51
Commit Hash: fb16dfe
People watching this port, also watch:: postfix, recoverdm, irssi, nagios, dnstop
License: GPLv2
Description:
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
pkg-plist: as obtained via: make generate-plist
Expand this list (30 items)
Collapse this list.
  1. /usr/local/share/licenses/rtg-0.7.5/catalog.mk
  2. /usr/local/share/licenses/rtg-0.7.5/LICENSE
  3. /usr/local/share/licenses/rtg-0.7.5/GPLv2
  4. bin/95.pl
  5. bin/report.pl
  6. bin/rtgplot
  7. bin/rtgpoll
  8. contrib/README
  9. contrib/rtgtargmkr-with-modules-0.2.tar.gz
  10. etc/rtg/BER.pm
  11. etc/rtg/SNMP_Session.pm
  12. etc/rtg/SNMP_util.pm
  13. etc/rtg/createdb
  14. @sample etc/rtg/routers.sample
  15. @sample etc/rtg/rtg.conf.sample
  16. etc/rtg/rtgtargmkr.pl
  17. include/common.h
  18. include/rtg.h
  19. include/rtgplot.h
  20. man/man1/rtgplot.1.gz
  21. man/man1/rtgpoll.1.gz
  22. www/data/95.php
  23. www/data/common.php
  24. www/data/rtg.php
  25. www/data/rtg.png
  26. www/data/rtgback.png
  27. www/data/view.php
  28. @owner
  29. @group
  30. @mode
Collapse this list.
Dependency lines:
  • rtg>0:net/rtg
To install the port:
cd /usr/ports/net/rtg/ && make install clean
To add the package, run one of these commands:
  • pkg install net/rtg
  • pkg install rtg
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: rtg
Flavors: there is no flavor information for this port.
distinfo:

Packages (timestamps in pop-ups are UTC):
rtg
ABIlatestquarterly
FreeBSD:11:aarch640.7.4_140.7.4_20
FreeBSD:11:amd640.7.50.7.5
FreeBSD:11:armv60.7.4_120.7.4_20
FreeBSD:11:i3860.7.50.7.5
FreeBSD:11:mipspkg-falloutpkg-fallout
FreeBSD:11:mips640.7.4_12pkg-fallout
FreeBSD:12:aarch640.7.4_140.7.5
FreeBSD:12:amd640.7.50.7.5
FreeBSD:12:armv60.7.4_140.7.4_21
FreeBSD:12:armv7pkg-fallout0.7.4_21
FreeBSD:12:i3860.7.50.7.5
FreeBSD:12:mipspkg-falloutpkg-fallout
FreeBSD:12:mips64pkg-falloutpkg-fallout
FreeBSD:12:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:aarch640.7.50.7.5
FreeBSD:13:amd640.7.50.7.5
FreeBSD:13:armv60.7.4_210.7.5
FreeBSD:13:armv70.7.50.7.5
FreeBSD:13:i3860.7.50.7.5
FreeBSD:13:mipspkg-falloutpkg-fallout
FreeBSD:13:mips64pkg-falloutpkg-fallout
FreeBSD:13:powerpc640.7.4_210.7.5
FreeBSD:13:riscv64pkg-fallout0.7.5
FreeBSD:14:aarch640.7.5pkg-fallout
FreeBSD:14:amd640.7.5pkg-fallout
FreeBSD:14:armv60.7.5pkg-fallout
FreeBSD:14:armv70.7.5pkg-fallout
FreeBSD:14:i3860.7.5pkg-fallout
FreeBSD:14:mipspkg-falloutpkg-fallout
FreeBSD:14:mips64pkg-falloutpkg-fallout
FreeBSD:14:powerpc640.7.5pkg-fallout
FreeBSD:14:riscv640.7.5pkg-fallout
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. perl5>=5.32.r0<5.33 : lang/perl5.32
Runtime dependencies:
  1. p5-DBI>=0 : databases/p5-DBI
  2. p5-DBD-mysql>=0 : databases/p5-DBD-mysql
  3. perl5>=5.32.r0<5.33 : lang/perl5.32
Library dependencies:
  1. libnetsnmp.so : net-mgmt/net-snmp
  2. libgd.so : graphics/gd
  3. libmysqlclient.so.20 : databases/mysql57-client
There are no ports dependent upon this port

Configuration Options:
Options name:
USES:
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. ftp://ftpmirror.uk/freebsd-ports/rtg/
Collapse this list.

Number of commits found: 50

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
07 Sep 2022 21:58:51
commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.7.5
07 Sep 2022 21:10:59
commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.7.5
20 Jul 2022 14:22:37
commit hash:6a378e5659b93de6dbe8956246fb3bf971677624commit hash:6a378e5659b93de6dbe8956246fb3bf971677624commit hash:6a378e5659b93de6dbe8956246fb3bf971677624commit hash:6a378e5659b93de6dbe8956246fb3bf971677624 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
net: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <ports@c0decafe.net>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Straup Cope <ascope@cpan.org>
  *  Aaron Zauner <az_mail@gmx.at>
  *  Adam Jette <jettea46@yahoo.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Alan Eldridge <alane@geeksrus.net>
  *  Alex Bakhtin <Alex.Bakhtin@gmail.com>
  *  Alex Deiter <Alex.Deiter@Gmail.COM>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alex Dupre <sysadmin@alexdupre.com>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.7.5
06 Apr 2021 14:31:13
commit hash:135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash:135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash:135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash:135fdeebb99c3569e42d8162b265e15d29bd937d files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
all: Remove all other $FreeBSD keywords.
0.7.5
06 Apr 2021 14:31:07
commit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.7.5
08 Feb 2021 09:25:19
Revision:564684Original commit files touched by this commit
rhurlin search for other commits by this committer
net/rtg: Update to 0.7.5

* Updated to latest cgilib (0.7)
* Removed old GD/PNG/ZLIB bundled libraries for ease of upgrading
* Added -b (background/daemonise) flag to rtgpoll
* Added -p <file> (PID file) flag to rtgpoll
* Added graph titles and legends to rtgplot
* Updated PHP scripts from ancient mysql to newer mysqli library
* Fixed many potential SQL injection and other vulnerabilities
* Updated MySQL support to compile against MySQL 8.0+
* Updated MySQL support to use mysql_config to pull in
  CFLAGS/LDFLAGS required depending on MySQL build
* Updated MySQL table schemas to support clustered MySQL setups
* Updated MySQL table schemas to improve speed (indexes)
* Added MySQL option to auto-reconnect if MySQL server goes away
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.7.4_21
22 Sep 2020 11:15:28
Revision:549572Original commit files touched by this commit
se search for other commits by this committer
Fix build with -fno-common
0.7.4_20
18 Nov 2019 08:05:18
Revision:517860Original commit files touched by this commit
tobik search for other commits by this committer
Add more missing USES=php
0.7.4_19
14 Aug 2019 08:48:51
Revision:508903Original commit files touched by this commit
mat search for other commits by this committer
Convert to UCL & cleanup pkg-message (categories n)

(and missed 3 missed files from previous categories.)
0.7.4_19
23 Jul 2019 14:47:15
Revision:507219Original commit files touched by this commit
rodrigo search for other commits by this committer
Patch createdb script to avoid race condition / file tampering

During the initialization net/rtg uses the /tmp/mysql.sql
and /tmp/rtg.sql to store the SQL commands executed in the
database with special user privileges.

Using well known files can lead to a race condition between
two process who uses the same file names and allow file
tampering by a malicious user.

This fix uses mktemp command to create temporary files
in a safe way

PR:		238262
Submitted by:	rodrigo
Approved by:	freebsd-ports@dan.me.uk (maintainer timeout)
MFH:	2019Q3
0.7.4_18
31 May 2019 12:58:28
Revision:503172Original commit files touched by this commit
rodrigo search for other commits by this committer
Fix net/rtg with modern perl and php

 * Fix runtime PHP errors if short_opentag is disabled (default)
 * Remove most PHP warnings/notices that go to error_log
 * Fix HTML output to be valid
 * Fix quoting of SQL objects
 * Fix escaping of user-provided SQL data (potential sql injection)
 * Widen fields in 95.php and 95.pl for interface and router names
 * Fix warnings in perl modules in newer perl versions
 * Fix createdb script to use CREATE USER/GRANT not manipulate user db directly
 * Add "Update_desc" config entry to auto-update port descriptions from snmp
 * Update default SNMP version to 2

PR:		227376
Submitted by:	<freebsd-ports@dan.me.uk> (maintainer)
0.7.4_17
28 May 2019 06:51:02
Revision:502862Original commit files touched by this commit
tobik search for other commits by this committer
net/rtg: Drop nop WANT_PERL

Perl seems to be wanted so add USES=perl5 instead.
0.7.4_16
07 Nov 2018 20:24:10
Revision:484408Original commit files touched by this commit
mat search for other commits by this committer
Revert r484406, it was never approved.

Pointy hat:	mfechner
With hat:	portmgr
0.7.4_15
07 Nov 2018 19:41:00
Revision:484406Original commit files touched by this commit
mfechner search for other commits by this committer
* Fix runtime PHP errors that stop the code working if short_opentag is disabled
(default!)
* Remove most PHP warnings/notices that go to error_log
* Convert patches to new format where needed
* Fix HTML output to be valid
* Fix quoting of SQL objects
* Fix escaping of user-provided SQL data (potential sql injection)
* Widen fields in 95.php and 95.pl for interface and router names
* Fix warnings in perl modules in newer perl versions
* Fix createdb script to use CREATE USER/GRANT not manipulate user db directly
* Add "Update_desc" config entry to auto-update port descriptions from snmp
* Update default SNMP version to 2
* Although this doesn't reference any CVE's, it does contain fixes for potential
security issues

PR:		227376
Submitted by:	freebsd-ports@dan.me.uk (maintainer)
Reported by:	freebsd-ports@dan.me.uk (maintainer)
Reviewed by:	mfechner
Approved by:	mentors (timeout), portmgr (timeout)
MFC after:	2 days
Differential Revision:	https://reviews.freebsd.org/D17637
0.7.4_14
11 Apr 2017 07:17:49
Revision:438250Original commit files touched by this commit
matthew search for other commits by this committer
Patch based off of revision 434135

Fix configuration paths in CGIs and reports to include /usr/local/etc/rtg.
Affects common.php, reports.pl, and 95.pl.  This will fix the CGIs to almost
work out of the box.

Improve rtgtargmkr.pl to skip unresponsive routers rather than dying.

Add USES=ssl

PR:		217108
Submitted by:	andrew.fengler@scaleengine.com
Approved by:	maintainer timeout (15 days)
0.7.4_13
26 Oct 2016 07:01:15
Revision:424678Original commit files touched by this commit
matthew search for other commits by this committer
Improve RTG port

Summary:
Add 'rtg' user and group in UIDs/GIDs.
Use daemon(8) to daemonize rtgpoll.
Add prestart commands to set correct permissions for RTG's files.

Reviewers: swills, allanjude, xmj, andrew.fengler_scaleengine.com,
#contributor_reviewers_ports, matthew

Reviewed By: #contributor_reviewers_ports, matthew

Subscribers: matthew, mat

Differential Revision: https://reviews.freebsd.org/D7486
0.7.4_12
15 Sep 2016 01:41:28
Revision:422175Original commit files touched by this commit
swills search for other commits by this committer
Unmark broken on powerpc64

These ports built successfully
0.7.4_12
19 May 2016 10:44:12
Revision:415499Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-descrs, categories [g-n]*

Approved by:	portmgr blanket
0.7.4_12
21 Apr 2016 16:43:15
Revision:413746Original commit files touched by this commit
swills search for other commits by this committer
many ports: mark broken on powerpc64
0.7.4_12
01 Apr 2016 14:16:20
Revision:412348Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.

With hat:	portmgr
Sponsored by:	Absolight
0.7.4_12
13 Jul 2015 20:10:14
Revision:391947Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Fix shebangs

Approved by:	portmgr blanket
MFH:		2015Q3 (blanket)
0.7.4_11
03 Apr 2015 11:26:50
Revision:383107Original commit files touched by this commit Sanity Test Failure
mat search for other commits by this committer
Remove OSVERSION checks that do not make sense any more.

For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true,
as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107).

Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when
it is always needed, I renamed it, in one case, I merged two patches.

Differential Revision:	https://reviews.freebsd.org/D2209
0.7.4_11
25 Mar 2015 23:51:06
Revision:382278Original commit files touched by this commit
marino search for other commits by this committer
net category: Remove $PTHREAD_LIBS

openafs did not pass check-plist (pre-existing) so fixed and bumped.
Also, pkg-plist was sorted.  mediatomb and spread also fail plist-checks
but they weren't fixed.

approved by:	PTHREAD blanket
0.7.4_11
22 Nov 2014 14:43:24
Revision:373063Original commit files touched by this commit
antoine search for other commits by this committer
Cleanup plist
0.7.4_11
10 Jul 2014 12:13:12
Revision:361440Original commit files touched by this commit
olgeni search for other commits by this committer
Remove indefinite articles and trailing periods from COMMENT, plus minor
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Category N.

CR:		D307
Approved by:	portmgr (bapt)
0.7.4_11
22 Jun 2014 19:03:47
Revision:358821Original commit files touched by this commit
rakuco search for other commits by this committer
- Update to use PHP mysqli extensions (as mysql extension is deprecated
  these days)
- Fix runtime dependencies to pull in perl's DBI and DBD::mysql modules for
  target maker.
- Add some options to pull in dependencies for mysql server and php web
  modules if needed.

PR:		191276
Submitted by:	 Daniel Austin <freebsd-ports@dan.me.uk> (maintainer)
0.7.4_10
15 Jun 2014 09:17:57
Revision:357853Original commit files touched by this commit
miwi search for other commits by this committer
- Add a backup mirror

PR:		191013
0.7.4_10
30 May 2014 08:05:12
Revision:355800Original commit files touched by this commit
jadawin search for other commits by this committer
- Convert to STAGE

PR:		ports/189620
Submitted by:	maintainer
0.7.4_9
20 Sep 2013 22:10:25
Revision:327755Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
net)
0.7.4_9
14 Jan 2012 08:57:23
Original commit files touched by this commit
dougb search for other commits by this committer
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.
0.7.4_9
28 Jul 2011 12:43:22
Original commit files touched by this commit
sylvio search for other commits by this committer
- Chase net-snmp shlib version bump.
0.7.4_8
20 Mar 2011 12:54:45
Original commit files touched by this commit
miwi search for other commits by this committer
- Get Rid MD5 support
0.7.4_8
19 Mar 2011 13:15:34
Original commit files touched by this commit
ale search for other commits by this committer
Bump PORTREVISION for ports linking to default libmysqlclient.
0.7.4_7
04 Aug 2010 10:30:14
Original commit files touched by this commit
lwhsu search for other commits by this committer
- Use .sample for sample config so that upgrades dont overwrite
  user-modified config files
- Added note to explain where/how to use rtgplot
- Added graph titles and friendly legend tags
- Modified rc script to load after mysql

PR:             ports/148363
Submitted by:   Daniel Austin MBCS <freebsd-ports AT dan.me.uk> (maintainer)
0.7.4_6
30 Jun 2010 20:05:46
Original commit files touched by this commit
stefan search for other commits by this committer
- Add rc.d script.
- Optimise db table creation with indexes.
- Add PID file option.
- Fix a few warnings in the Makefile.
- Assign maintainership to submitter.

PR:             145924
Submitted by:   Daniel Austin <freebsd-ports@dan.me.uk>
Feature safe:   yes
0.7.4_5
02 Jun 2010 19:14:17
Original commit files touched by this commit
sylvio search for other commits by this committer
- Chase net-snmp shlib bump
0.7.4_4
19 Sep 2009 17:26:28
Original commit files touched by this commit
miwi search for other commits by this committer
- Fix custom LOCALBASE build
- USE_MYSQL macro unless there is a reason to depend specifically on mysql41
- Use SF MASTER_SITES abbreviation

PR:             136678
Submitted by:   Sahil Tandon <sahil@tandon.net>
Feature safe:   yes
0.7.4_4
22 Aug 2009 00:32:25
Original commit files touched by this commit Sanity Test Failure
amdmi3 search for other commits by this committer
- Switch SourceForge ports to the new File Release System: categories starting
with N
0.7.4_4
29 Mar 2008 11:02:36
Original commit files touched by this commit
kuriyama search for other commits by this committer
- Chase shlib version of net-mgmt/net-snmp which I've forgotten.
- Bump PORTREVISIONs again.
0.7.4_3
27 Mar 2008 10:58:30
Original commit files touched by this commit
kuriyama search for other commits by this committer
- Chase shlib version of net-mgmt/net-snmp.
- Bump PORTREVISIONs.
0.7.4_2
28 Feb 2007 01:19:04
Original commit files touched by this commit
kuriyama search for other commits by this committer
- Bump shlib version to libnetsnmp.so.10 and bump $PORTREVISION.
0.7.4_1
11 May 2006 22:49:56
Original commit files touched by this commit
edwin search for other commits by this committer
Remove USE_REINPLACE from all categories starting with N
0.7.4_1
05 Feb 2006 20:14:23
Original commit files touched by this commit
kris search for other commits by this committer
Try to clean up www/data
0.7.4_1
23 Jan 2006 20:27:33
Original commit files touched by this commit
pav search for other commits by this committer
- Drop maintainership. ENOTIME for ports, so let someone else take better care
  of them.

Submitted by:   Brad Davis <so14k@so14k.com>
0.7.4_1
22 Jan 2006 21:24:05
Original commit files touched by this commit
edwin search for other commits by this committer
SHA256ify

Approved by: krion@
0.7.4_1
30 Nov 2005 05:23:10
Original commit files touched by this commit
kuriyama search for other commits by this committer
Chase shlib version bump of net-snmp.
0.7.4
17 May 2005 18:49:27
Original commit files touched by this commit
pav search for other commits by this committer
- Makefile cleanup
- Silence build warnings
- Fix plist

PR:             ports/81007
Submitted by:   Jeremy Chadwick <freebsd@jdc.parodius.com>
Approved by:    Brad Davis <so14k@so14k.com> (maintainer)
0.7.4
31 Mar 2004 03:12:58
Original commit files touched by this commit
trevor search for other commits by this committer
SIZEify (maintainer timeout)
0.7.4
23 Feb 2004 04:42:13
Original commit files touched by this commit
wollman search for other commits by this committer
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
0.7.4
07 Jan 2004 06:39:57
Original commit files touched by this commit
will search for other commits by this committer
Add rtg 0.7.4, a flexible, high-performance SNMP statistics monitoring
system.

Submitted by:   Brad Davis <so14k@so14k.com>

Number of commits found: 50