mirror of
https://git.freebsd.org/ports.git
synced 2025-05-02 19:46:41 -04:00
* 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 * 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 No changelog, only NEWS file PR: 253311 Submitted by: Daniel Austin <freebsd-ports@dan.me.uk> (maintainer) Approved by: arrowd (mentor) Differential Revision: https://reviews.freebsd.org/D28523
11 lines
449 B
Perl
11 lines
449 B
Perl
--- etc/rtgtargmkr.pl.in.orig 2020-09-23 11:57:31 UTC
|
|
+++ etc/rtgtargmkr.pl.in
|
|
@@ -78,7 +78,7 @@ $catalyst = [
|
|
);
|
|
|
|
# Default locations to find RTG configuration file
|
|
-@configs = ("rtg.conf", "/usr/local/rtg/etc/rtg.conf", "/etc/rtg.conf");
|
|
+@configs = ("rtg.conf", "%%PREFIX%%/etc/rtg/rtg.conf", "/usr/local/rtg/etc/rtg.conf", "/etc/rtg.conf");
|
|
foreach $conf (@configs) {
|
|
if (open CONF, "<$conf") {
|
|
print "Reading [$conf].\n" if $DEBUG;
|