Monday, January 31, 2022

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

On 2022/01/30 10:06, aisha wrote:
> Hi,
> I've attached a port for schema2ldif from fusion directory, for change .schema files to .ldif files, which are now used by OpenLDAP to do live configuration changes.
>
> Best,
> Aisha

: # $OpenBSD: $
:
: COMMENT = ???

needs filling in

: 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?)

: CATEGORIES = converters
:
: HOMEPAGE = https://github.com/fusiondirectory/schema2ldif
:
: MAINTAINER = Aisha Tammy <openbsd@aisha.cc>
:
: # BSD

only schema2ldif is BSD, ldap-schema-manager is GPLv2+

: 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.

No comments:

Post a Comment