summaryrefslogtreecommitdiff
path: root/net/rtg/files/patch-etc_rtg.conf
diff options
context:
space:
mode:
authorRodrigo Osorio <rodrigo@FreeBSD.org>2019-05-31 12:58:28 +0000
committerRodrigo Osorio <rodrigo@FreeBSD.org>2019-05-31 12:58:28 +0000
commit65e3fb58c01778942cb85438ff96201c88b721bc (patch)
tree9b37a45964fc6e752de6afb93c99cb9dbc5d4271 /net/rtg/files/patch-etc_rtg.conf
parentdevel/py-dateutil: Update to 2.8.0 (diff)
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)
Diffstat (limited to 'net/rtg/files/patch-etc_rtg.conf')
-rw-r--r--net/rtg/files/patch-etc_rtg.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/rtg/files/patch-etc_rtg.conf b/net/rtg/files/patch-etc_rtg.conf
new file mode 100644
index 000000000000..5cb1317f249a
--- /dev/null
+++ b/net/rtg/files/patch-etc_rtg.conf
@@ -0,0 +1,10 @@
+--- etc/rtg.conf.orig 2018-04-02 23:07:32 UTC
++++ etc/rtg.conf
+@@ -12,3 +12,7 @@ DB_Database rtg
+ DB_User snmp
+ DB_Pass rtgdefault
+ Threads 5
++# Set Update_desc to 1 to cause rtgtargmkr.pl to auto-update descriptions from
++# SNMP port data
++Update_desc 0
++