Created attachment 199811 [details] use mysqli_ functions instead of mysql_ to make it work with PHP 7.1+ pandorafms_console is set Deprecate / depending on php 5.6, attached patch makes it work with PHP 7.1 (I am running it with this modifications for 1 year) I don't know if upstream will ever support PHP 7.1+.
Created attachment 199812 [details] poudriere testport log
Created attachment 200505 [details] Updated patch that can be applied to latest ports tree Sorry for delay. I have updated your patch so that it can be applied to the current ports tree. I plan to update pandorafms' ports to the latest version (which requires php 7.0 or higher) in the near future, but I would like to adopt your PR before that. Thank you for PR.
A commit references this bug: Author: rene Date: Tue Jan 1 12:44:27 UTC 2019 New revision: 488875 URL: https://svnweb.freebsd.org/changeset/ports/488875 Log: net-mgmt/pandorafms_console: fix build with PHP 7.1+ PR: 233773 Reported by: Maroslav Lachman 000.fbsd@quip.cz Reviewed by: maintainer (actual diff) Approved by: maintainer MFH: 2019Q1 Changes: head/net-mgmt/pandorafms_console/Makefile head/net-mgmt/pandorafms_console/files/patch-include_db_mysql.php head/net-mgmt/pandorafms_console/files/patch-include_functions.php head/net-mgmt/pandorafms_console/files/patch-install.php
Patch committed, thanks for the submission. Waiting for 2019Q1 approval.
Merged to 2019Q1
A commit references this bug: Author: rene Date: Tue Jan 1 14:55:19 UTC 2019 New revision: 488898 URL: https://svnweb.freebsd.org/changeset/ports/488898 Log: MFH: r488875 net-mgmt/pandorafms_console: fix build with PHP 7.1+ PR: 233773 Reported by: Maroslav Lachman 000.fbsd@quip.cz Reviewed by: maintainer (actual diff) Approved by: maintainer Approved by: ports-secteam (miwi) Changes: _U branches/2019Q1/ branches/2019Q1/net-mgmt/pandorafms_console/Makefile branches/2019Q1/net-mgmt/pandorafms_console/files/patch-include_db_mysql.php branches/2019Q1/net-mgmt/pandorafms_console/files/patch-include_functions.php branches/2019Q1/net-mgmt/pandorafms_console/files/patch-install.php