pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Recommended way to build www/apache24 with ldap (mod_authnz_ldap / mod_ldap) support?



Hello everybody,

I am currently trying to build www/apache24 with the mod_authnz_ldap and mod_ldap modules. According the PLIST and Makefile from apache24, they should have to be created automatically if devel/apt-util was created with the build option "ldap":


# grep PLIST.ldap /usr/pkgsrc/www/apache24/PLIST
${PLIST.ldap}lib/httpd/mod_authnz_ldap.so
${PLIST.ldap}lib/httpd/mod_ldap.so


In my /etc/mk.conf I have therefore entered:


PKG_OPTIONS.apr-util=ldap


Apt-utils seems to be built with ldap support properly:


dev# pkg_info -L apr-util|grep ldap
/usr/pkg/include/apr-1/apr_ldap.h
/usr/pkg/include/apr-1/apr_ldap_init.h
/usr/pkg/include/apr-1/apr_ldap_option.h
/usr/pkg/include/apr-1/apr_ldap_rebind.h
/usr/pkg/include/apr-1/apr_ldap_url.h
/usr/pkg/lib/apr-util-1/apr_ldap.la
/usr/pkg/lib/apr-util-1/apr_ldap-1.so
/usr/pkg/lib/apr-util-1/apr_ldap.a
/usr/pkg/lib/apr-util-1/apr_ldap.so


Which challenges me at the moment how I get apache24 to create the ldap modules. Unfortunately, the modules do not end up in the Apache package:


dev# pkg_info -L apache|grep ldap
/usr/pkg/include/httpd/util_ldap.h
/usr/pkg/share/httpd/manual/mod/mod_authnz_ldap.html
/usr/pkg/share/httpd/manual/mod/mod_authnz_ldap.html.en
/usr/pkg/share/httpd/manual/mod/mod_authnz_ldap.html.fr.utf8
/usr/pkg/share/httpd/manual/mod/mod_ldap.html
/usr/pkg/share/httpd/manual/mod/mod_ldap.html.en
/usr/pkg/share/httpd/manual/mod/mod_ldap.html.fr.utf8


Am I doing something wrong?

Btw, the pkgsrc affected is from 2019-12-27 (current) but as far I can see there has been no relevant change in this ares since then.


Kind regards
Matthias


Home | Main Index | Thread Index | Old Index