Re: Adding modules to Apache2 during build

Randy MacLeod

On 2020-12-01 3:02 p.m., mailings@... wrote:
Hello all:

Thank you to all who post to help on the list.  I have been helped so many times by just doing a search here.

I do have a question that I have been unable to solve on my own...

I have Apache2 and PHP installed and functional.  I have also included "PAM" using:

PACKAGECONFIG_pn-php = " sqlite3 imap opcache openssl ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 pam', d)} apache2"

However, I need to add "libapache2-mod-authnz-external", "pwauth", and "libapache2-mod-authz-unixgroup" to my

I looked at the apache source briefly and those modules do not appear to be part of apache2.

From an ubuntu system:
   $ apt info libapache2-mod-authnz-external | grep Homepage

and there's nothing in the layer index:

so it looks like you'll have to write a recipe to build these modules.
Please send them to meta-oe as per:



build.  I've tried adding these to my local.conf in the line above and even tried it in my IMAGE_INSTALL_append section.  When I add it to PACKAGECONFIG_pn-php I get a "do_configure: QA Issue" that it is an invalid packageconfig.  If I put it in IMAGE_INSTALL_appeng I get an error that nothing provides the packages. 

I know I'm missing something or not thinking of this correctly.  Maybe it's not that I need to add a new package, but a module feature to Apache2?  If someone could point me to where I can find an answer, I would appreciate it. 

Thanks much.


# Randy MacLeod
# Wind River Linux

Join to automatically receive all group messages.