On Thu, Aug 20, 2020 at 10:15:21AM +0000, Tiemen Werkman wrote:
> Hi ports,
> 
> This is my first patch submission.
> 
> I have made a patch to enable support for openldap as a backend for heimdal 
> KDC.
> With the KDC database in openldap it can now replicate to other hosts using
> syncrepl, this avoids the need to setup iprop(8).
> 
> I have tested the patch on OpenBSD 6.7 and snapshots and so far everything
> works.
> 
> With the patch heimdal now requires 'libldap.so' which is provided by
> openldap-client.
> 
> I think the patch needs more work to be accepted. But I don't know if a flavor
> should be add to heimdal or whether openldap-client should become a 
> dependency,
> or perhaps there is another solution.
> 
> Any feedback would be welcome.

You can make it a FLAVOR, yes.
But beware because we also have databases/openldap,gssapi that depends on
security/heimdal so you may need to work with bootstrap FLAVORs (which I am
still confused how they work, so I can't really help).



> sincerely,
> Tiemen Werkman
> 
> --- /usr/ports/security/heimdal/Makefile        Wed Aug 19 19:09:35 2020
> +++ Makefile    Wed Aug 19 19:09:15 2020
> @@ -108,7 +108,8 @@
>                         --sbindir=${PREFIX}/heimdal/sbin \
>                         --libexecdir=${PREFIX}/heimdal/libexec \
>                         --libdir=${PREFIX}/heimdal/lib \
> -                       --includedir=${PREFIX}/heimdal/include
> +                       --includedir=${PREFIX}/heimdal/include \
> +                       --with-openldap=${LOCALBASE}
> 
>  MAKE_ENV=              INSTALL_CATPAGES=no
> 

-- 
Antoine

Reply via email to