Page MenuHomeFreeBSD

net/rtg: Update to 0.7.5
ClosedPublic

Authored by rhurlin on Feb 7 2021, 5:52 PM.
Tags
None
Referenced Files
F153355732: D28523.id83524.diff
Mon, Apr 20, 4:29 PM
Unknown Object (File)
Fri, Apr 17, 2:25 PM
Unknown Object (File)
Wed, Apr 8, 11:48 PM
Unknown Object (File)
Wed, Apr 8, 11:13 AM
Unknown Object (File)
Sat, Apr 4, 2:39 AM
Unknown Object (File)
Fri, Mar 27, 8:17 PM
Unknown Object (File)
Mar 7 2026, 9:12 PM
Unknown Object (File)
Mar 6 2026, 10:40 PM
Subscribers

Details

Summary
  • 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 connect option to auto-reconnect if MySQL server goes away
  • Changed default SNMP version to 2
  • Removed deprecated SNMP library options
  • Added 'Update_desc' option to rtg.con to auto-update interface descriptions
  • Fixed all compilation warnings, even when compiling with -pedantic -Wall -Werror
  • Push config into sysconfdir and web utils into htmldir
  • Added -u <user> -g <group> options for rtgpoll to run as user instead of root
  • Added -r <path> chroot option

Changelog: No online version, only NEWS file in sources

Submitted by Daniel Austin <freebsd-ports@dan.me.uk> (maintainer) in PR 253311

Tested on Poudriere (amd64, i386). 'portlint -AC' is ok.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 36781
Build 33670: arc lint + arc unit

Event Timeline

Seems OK. It is always great to see local patches gone.

This revision is now accepted and ready to land.Feb 8 2021, 8:27 AM
This revision was automatically updated to reflect the committed changes.