notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
rtg Flexible, high-performance SNMP statistics monitoring system
0.7.4_19 net on this many watch lists=7 search for ports that depend on this port Find issues related to this port Report an issue related to this port 0.7.4_19Version 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: 2019-08-14 09:48:51
SVN Revision: 508903
License: GPLv2
Description:
SVNWeb : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (27 items)
  1. /usr/local/share/licenses/rtg-0.7.4_19/catalog.mk
  2. /usr/local/share/licenses/rtg-0.7.4_19/LICENSE
  3. /usr/local/share/licenses/rtg-0.7.4_19/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/rtg.conf.sample
  11. etc/rtg/rtgtargmkr.pl
  12. etc/rtg/routers.sample
  13. etc/rtg/createdb
  14. etc/rtg/BER.pm
  15. etc/rtg/SNMP_Session.pm
  16. etc/rtg/SNMP_util.pm
  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
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: pkg install rtg
PKGNAME: rtg
Flavors: there is no flavor information for this port.
distinfo:

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. perl5>=5.30.r1<5.31 : lang/perl5.30
Runtime dependencies:
  1. p5-DBI>=0 : databases/p5-DBI
  2. p5-DBD-mysql>=0 : databases/p5-DBD-mysql
  3. php.h : lang/php72
  4. perl5>=5.30.r1<5.31 : lang/perl5.30
  5. mysqli.so : databases/php72-mysqli
Library dependencies:
  1. libnetsnmp.so : net-mgmt/net-snmp
  2. libmysqlclient.so.20 : databases/mysql57-client
There are no ports dependent upon this port

Configuration Options

USES:

Master Sites:
  1. ftp://ftpmirror.uk/freebsd-ports/rtg/
  2. http://cytranet.dl.sourceforge.net/project/rtg/rtg/0.7.4/
  3. http://downloads.sourceforge.net/project/rtg/rtg/0.7.4/
  4. http://excellmedia.dl.sourceforge.net/project/rtg/rtg/0.7.4/
  5. http://freefr.dl.sourceforge.net/project/rtg/rtg/0.7.4/
  6. http://jaist.dl.sourceforge.net/project/rtg/rtg/0.7.4/
  7. http://kent.dl.sourceforge.net/project/rtg/rtg/0.7.4/
  8. http://nchc.dl.sourceforge.net/project/rtg/rtg/0.7.4/
  9. http://netcologne.dl.sourceforge.net/project/rtg/rtg/0.7.4/
  10. http://netix.dl.sourceforge.net/project/rtg/rtg/0.7.4/
  11. http://superb-dca2.dl.sourceforge.net/project/rtg/rtg/0.7.4/
  12. http://superb-sea2.dl.sourceforge.net/project/rtg/rtg/0.7.4/
  13. http://ufpr.dl.sourceforge.net/project/rtg/rtg/0.7.4/
  14. http://vorboss.dl.sourceforge.net/project/rtg/rtg/0.7.4/
  15. https://cytranet.dl.sourceforge.net/project/rtg/rtg/0.7.4/
  16. https://downloads.sourceforge.net/project/rtg/rtg/0.7.4/
  17. https://excellmedia.dl.sourceforge.net/project/rtg/rtg/0.7.4/
  18. https://freefr.dl.sourceforge.net/project/rtg/rtg/0.7.4/
  19. https://jaist.dl.sourceforge.net/project/rtg/rtg/0.7.4/
  20. https://kent.dl.sourceforge.net/project/rtg/rtg/0.7.4/
  21. https://nchc.dl.sourceforge.net/project/rtg/rtg/0.7.4/
  22. https://netcologne.dl.sourceforge.net/project/rtg/rtg/0.7.4/
  23. https://netix.dl.sourceforge.net/project/rtg/rtg/0.7.4/
  24. https://superb-dca2.dl.sourceforge.net/project/rtg/rtg/0.7.4/
  25. https://superb-sea2.dl.sourceforge.net/project/rtg/rtg/0.7.4/
  26. https://ufpr.dl.sourceforge.net/project/rtg/rtg/0.7.4/
  27. https://vorboss.dl.sourceforge.net/project/rtg/rtg/0.7.4/

Number of commits found: 42

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
14 Aug 2019 08:48:51
Original commit files touched by this commit  0.7.4_19
Revision:508903
mat search for other commits by this committer
Convert to UCL & cleanup pkg-message (categories n)

(and missed 3 missed files from previous categories.)
23 Jul 2019 14:47:15
Original commit files touched by this commit  0.7.4_19
Revision:507219
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
31 May 2019 12:58:28
Original commit files touched by this commit  0.7.4_18
Revision:503172
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)
28 May 2019 06:51:02
Original commit files touched by this commit  0.7.4_17
Revision:502862
tobik search for other commits by this committer
net/rtg: Drop nop WANT_PERL

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

Pointy hat:	mfechner
With hat:	portmgr
07 Nov 2018 19:41:00
Original commit files touched by this commit  0.7.4_15
Revision:484406
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
11 Apr 2017 07:17:49
Original commit files touched by this commit  0.7.4_14
Revision:438250
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)
26 Oct 2016 07:01:15
Original commit files touched by this commit  0.7.4_13
Revision:424678
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
15 Sep 2016 01:41:28
Original commit files touched by this commit  0.7.4_12
Revision:422175
swills search for other commits by this committer
Unmark broken on powerpc64

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

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

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

Approved by:	portmgr blanket
MFH:		2015Q3 (blanket)
03 Apr 2015 11:26:50
Original commit files touched by this commit  0.7.4_11
Revision:383107  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
25 Mar 2015 23:51:06
Original commit files touched by this commit  0.7.4_11
Revision:382278
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
22 Nov 2014 14:43:24
Original commit files touched by this commit  0.7.4_11
Revision:373063
antoine search for other commits by this committer
Cleanup plist
10 Jul 2014 12:13:12
Original commit files touched by this commit  0.7.4_11
Revision:361440
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)
22 Jun 2014 19:03:47
Original commit files touched by this commit  0.7.4_11
Revision:358821
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)
15 Jun 2014 09:17:57
Original commit files touched by this commit  0.7.4_10
Revision:357853
miwi search for other commits by this committer
- Add a backup mirror

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

PR:		ports/189620
Submitted by:	maintainer
20 Sep 2013 22:10:25
Original commit files touched by this commit  0.7.4_9
Revision:327755
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
net)
14 Jan 2012 08:57:23
Original commit files touched by this commit  0.7.4_9

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.
28 Jul 2011 12:43:22
Original commit files touched by this commit  0.7.4_9

sylvio search for other commits by this committer
- Chase net-snmp shlib version bump.
20 Mar 2011 12:54:45
Original commit files touched by this commit  0.7.4_8

miwi search for other commits by this committer
- Get Rid MD5 support
19 Mar 2011 13:15:34
Original commit files touched by this commit  0.7.4_8

ale search for other commits by this committer
Bump PORTREVISION for ports linking to default libmysqlclient.
04 Aug 2010 10:30:14
Original commit files touched by this commit  0.7.4_7

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)
30 Jun 2010 20:05:46
Original commit files touched by this commit  0.7.4_6

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
02 Jun 2010 19:14:17
Original commit files touched by this commit  0.7.4_5

sylvio search for other commits by this committer
- Chase net-snmp shlib bump
19 Sep 2009 17:26:28
Original commit files touched by this commit  0.7.4_4

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
22 Aug 2009 00:32:25
Original commit files touched by this commit  0.7.4_4
  Sanity Test Failure
amdmi3 search for other commits by this committer
- Switch SourceForge ports to the new File Release System: categories starting
with N
29 Mar 2008 11:02:36
Original commit files touched by this commit  0.7.4_4

kuriyama search for other commits by this committer
- Chase shlib version of net-mgmt/net-snmp which I've forgotten.
- Bump PORTREVISIONs again.
27 Mar 2008 10:58:30
Original commit files touched by this commit  0.7.4_3

kuriyama search for other commits by this committer
- Chase shlib version of net-mgmt/net-snmp.
- Bump PORTREVISIONs.
28 Feb 2007 01:19:04
Original commit files touched by this commit  0.7.4_2

kuriyama search for other commits by this committer
- Bump shlib version to libnetsnmp.so.10 and bump $PORTREVISION.
11 May 2006 22:49:56
Original commit files touched by this commit  0.7.4_1

edwin search for other commits by this committer
Remove USE_REINPLACE from all categories starting with N
05 Feb 2006 20:14:23
Original commit files touched by this commit  0.7.4_1

kris search for other commits by this committer
Try to clean up www/data
23 Jan 2006 20:27:33
Original commit files touched by this commit  0.7.4_1

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>
22 Jan 2006 21:24:05
Original commit files touched by this commit  0.7.4_1

edwin search for other commits by this committer
SHA256ify

Approved by: krion@
30 Nov 2005 05:23:10
Original commit files touched by this commit  0.7.4_1

kuriyama search for other commits by this committer
Chase shlib version bump of net-snmp.
17 May 2005 18:49:27
Original commit files touched by this commit  0.7.4

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)
31 Mar 2004 03:12:58
Original commit files touched by this commit  0.7.4

trevor search for other commits by this committer
SIZEify (maintainer timeout)
23 Feb 2004 04:42:13
Original commit files touched by this commit  0.7.4

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
07 Jan 2004 06:39:57
Original commit files touched by this commit  0.7.4

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: 42

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
python37Oct 19
py-pillowOct 15
mod_perl2Oct 09
xpdfOct 06
xpdf3Oct 06
xpdf4Oct 06
unboundOct 03
cactiOct 02
gitlab-ceOct 02
gitlab-ceOct 02
ruby24Oct 02
ruby25Oct 02
mongodb34Sep 30
mongodb34Sep 30
mongodb36Sep 30

4 vulnerabilities affecting 12 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2019-10-19 10:52:46


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 37702
Broken 75
Deprecated 100
Ignore 340
Forbidden 3
Restricted 156
No CDROM 73
Vulnerable 26
Expired 15
Set to expire 71
Interactive 0
new 24 hours 3
new 48 hours3
new 7 days17
new fortnight45
new month160

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2019 Dan Langille. All rights reserved.