Monday, January 31, 2022

Re: [new] converters/schema2ldif - convert schemas to ldifs for openldap

> : # $OpenBSD: $
> :
> : COMMENT = ???
>
> needs filling in

Whoops, can't believe I missed this. Sorry!
>
> : GH_ACCOUNT = fusiondirectory
> : GH_PROJECT = schema2ldif
> : GH_COMMIT = 5e107190f89ed4c708fe0d617ea396f4ca7d6f8b
> :
> : DISTNAME = schema2ldif-1.3
>
> if you want 1.3 then use GH_TAGNAME=1.3, if you want a newer commit then
> don't call it 1.3 (maybe 1.3pl20210902 to match the date of the last commit
> on that branch?)
>

done

> : CATEGORIES = converters
> :
> : HOMEPAGE = https://github.com/fusiondirectory/schema2ldif
> :
> : MAINTAINER = Aisha Tammy <openbsd@aisha.cc>
> :
> : # BSD
>
> only schema2ldif is BSD, ldap-schema-manager is GPLv2+
>

damn, I didn't pay attention to that :(.
done.

> : PERMIT_PACKAGE = Yes
> :
> : NO_BUILD = Yes
> : NO_TEST = Yes
> :
> : do-install:
> : ${INSTALL_SCRIPT} ${WRKSRC}/bin/{schema2ldif,ldap-schema-manager} \
> : ${PREFIX}/bin
> : ${INSTALL_MAN} ${WRKSRC}/man/{schema2ldif,ldap-schema-manager}.1 \
> : ${PREFIX}/man/man1
> :
> : .include <bsd.port.mk>
> :
>
> ldap-schema-manager has this,
>
> my $defaultpath = "/etc/ldap/schema/";
>
> I think that should rather be /etc/openldap/schema to match layout in the
> openldap port.
>

Yes, that sounds like a good idea.

I made a pre-patch which seds out the /etc/ldap to /etc/openldap

Updated tgz attached.

Thanks,
Aisha

No comments:

Post a Comment