Date: Sun, 18 Aug 2019 09:55:33 +0000 From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: [Bug 239936] www/mod_auth_mysql_another: fix if linked with mariadb Message-ID: <bug-239936-16115@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239936 Bug ID: 239936 Summary: www/mod_auth_mysql_another: fix if linked with mariadb Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: apache@FreeBSD.org Reporter: pi@FreeBSD.org Flags: maintainer-feedback?(apache@FreeBSD.org) Assignee: apache@FreeBSD.org Created attachment 206654 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D206654&action= =3Dedit patch if the system uses mariadb, this error comes up: httpd: Syntax error on line 88 of /usr/local/etc/apache24/httpd.conf:=20=20= =20=20=20=20=20=20=20=20=20 Cannot load /usr/local/libexec/apache24/mod_auth_mysql.so into server:=20= =20=20=20=20=20=20=20=20=20 /usr/local/libexec/apache24/mod_auth_mysql.so: Undefined symbol=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 "make_scrambled_password" The patch fixes this, run-tested, but I have not find a clean way to detect if the database in use is maria or mysql. Any ideas ? I tested with the #ifndef MYSQL_PORT, but this did not work. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239936-16115>