Bug 245911 - www/mod_auth_mysql2: Group functionality broken with apache24
Summary: www/mod_auth_mysql2: Group functionality broken with apache24
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Jochen Neumeister
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-25 15:33 UTC by Bob Bishop
Modified: 2022-02-05 10:56 UTC (History)
3 users (show)

See Also:


Attachments
Patch restoring functionality under apache2.4 (5.44 KB, patch)
2020-04-26 14:35 UTC, Bob Bishop
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Bishop 2020-04-25 15:33:29 UTC
"Require group" functionality is broken with apache24 because the ap_requires() API has  been removed.

I have a fixed version but I don't know whether to submit against this port or www/ap24-mod_auth_mysql_another which has the same bug.
Comment 1 Bob Bishop 2020-04-26 14:35:23 UTC
Created attachment 213809 [details]
Patch restoring functionality under apache2.4

The attached patch restores group functionality under apache2.4. We are running it in production.
Comment 2 Bob Bishop 2020-05-26 19:15:32 UTC
Patch has been accepted upstream - see https://git.maillink.ch/open/mod_auth_mysql referenced from the download page.
Comment 3 Li-Wen Hsu freebsd_committer freebsd_triage 2020-06-16 22:27:49 UTC
Over to maintainer.
Comment 4 Jochen Neumeister freebsd_committer freebsd_triage 2021-12-21 05:34:03 UTC
does the problem still exist?
Comment 5 Bob Bishop 2021-12-21 10:13:37 UTC
(In reply to Jochen Neumeister from comment #4)
I don't think the upstream source includes the patch.
Comment 6 Jochen Neumeister freebsd_committer freebsd_triage 2021-12-21 17:44:09 UTC
do they still have the problem? Otherwise I would close here
Comment 7 Bob Bishop 2021-12-21 18:02:12 UTC
(In reply to Jochen Neumeister from comment #6)
The fault still exists. It has been patched upstream at
https://git.maillink.ch/open/mod_auth_mysql
but not in the sources fetched by the port.
Comment 8 Jochen Neumeister freebsd_committer freebsd_triage 2022-02-05 09:12:28 UTC
how exactly can I reproduce the current problem?
Comment 9 Bob Bishop 2022-02-05 10:56:10 UTC
(In reply to Jochen Neumeister from comment #8)
Set the thing up per the documentation, and try `Require group nn' (in a .htaccess file say). You should find that it does nothing.