1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/net/rtg/files/patch-etc_common.php.in
Rainer Hurling d4f08da488 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
* 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
2021-02-08 09:25:18 +00:00

11 lines
371 B
PHP

--- etc/common.php.in.orig 2020-09-22 19:52:22 UTC
+++ etc/common.php.in
@@ -12,6 +12,7 @@ date_default_timezone_set('UTC');
/* Default locations to find RTG configuration file */
$configs[] = 'rtg.conf';
$configs[] = '@RTG_HOME@/etc/rtg.conf';
+$configs[] = '%%PREFIX%%/etc/rtg/rtg.conf';
$configs[] = '/usr/local/rtg/etc/rtg.conf';
$configs[] = '/etc/rtg.conf';