[Bug 225005] Mk/Uses/apache.mk: Rework 3rd party module building

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 19 21:31:52 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225005

Bernard Spil <brnrd at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needs-patch
             Status|Open                        |In Progress
            Summary|Apache modules are touching |Mk/Uses/apache.mk: Rework
                   |user modified config file   |3rd party module building
                   |httpd.conf                  |

--- Comment #11 from Bernard Spil <brnrd at freebsd.org> ---
Just read your post to freebsd-ports@ from 2017-Nov.

I can see us adding mechanism to Mk/Uses/apache.mk to build modules.

Thinking up to now...

Add arg module to USES= apache to signal that we're building a module. This
would also allow us to document more closely.

AP_FAST_BUILD to be renamed and used as auto-build and install mechanism. It is
not FAST, just an easier template for plist generation and installation.
Install is using @sample to install into modules.d and echo message on
enabling.
modules.d files can also use @sample template as they should adhere to 

> # LoadModule modname
> <IfModule modname>
> ModuleConf here
> </IfModule>

to force it not to auto-load include not fail after installation.
The whole ap-gen-plist target could possibly disappear by using PLIST_FILES
instead.

mod_phpNN is a difficult one altogether, it should be ap24-mod_phpNN (or
ap22-mod_phpNN) but I guess that'll break lang/phpNN's Makefile.

Bernard (with hat apache@)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-apache mailing list