K 10 svn:author V 7 rodrigo K 8 svn:date V 27 2019-08-18T13:03:57.493720Z K 7 svn:log V 581 MFH: r507219 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) Approved by: ports-secteam (miwi@) END