| Summary: | www/mod_auth_mysql_another: fix if linked with mariadb | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Kurt Jaeger <pi> | ||||
| Component: | Individual Port(s) | Assignee: | freebsd-apache (Nobody) <apache> | ||||
| Status: | Closed Feedback Timeout | ||||||
| Severity: | Affects Only Me | CC: | brnrd, dan, joneum, pi | ||||
| Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(apache) |
||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Does the problem still exist? I have added the maintainer of MariaDB :-) Anyone include this patch yet? Also the port will try to make you uninstall mariadb depending on a mysql client. pkg install mod_auth_mysql_another I've had to install it from ports collection to get around that. |
Created attachment 206654 [details] patch if the system uses mariadb, this error comes up: httpd: Syntax error on line 88 of /usr/local/etc/apache24/httpd.conf: Cannot load /usr/local/libexec/apache24/mod_auth_mysql.so into server: /usr/local/libexec/apache24/mod_auth_mysql.so: Undefined symbol "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.