Received: by mail.netbsd.org (Postfix, from userid 605) id 1CCC384E77; Fri, 21 Apr 2023 00:44:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 4977884D39 for ; Fri, 21 Apr 2023 00:44:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id IvJ7hGITMm_4 for ; Fri, 21 Apr 2023 00:44:20 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 6C4D284CE3 for ; Fri, 21 Apr 2023 00:44:20 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 9949CFA85; Fri, 21 Apr 2023 00:44:19 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1682037859294810" MIME-Version: 1.0 Date: Fri, 21 Apr 2023 00:44:19 +0000 From: "Emmanuel Dreyfus" Subject: CVS commit: pkgsrc To: pkgsrc-changes@NetBSD.org Reply-To: manu@netbsd.org X-Mailer: log_accum Message-Id: <20230421004419.9949CFA85@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1682037859294810 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: manu Date: Fri Apr 21 00:44:19 UTC 2023 Modified Files: pkgsrc/databases: Makefile pkgsrc/databases/openldap: Makefile.common pkgsrc/doc: CHANGES-2023 Added Files: pkgsrc/databases/openldap-autogroup: DESCR MESSAGE Makefile PLIST Log Message: Added databases/openldap-autogroup 2.6.4 The autogroup overlay allows automated updates of group memberships which meet the requirements of any filter contained in the group definition. The filters are built from LDAP URI-valued attributes. Any time an object is added/deleted/updated, it is tested for compliance with the filters, and its membership is accordingly updated. For searches and compares it behaves like a static group. If the attribute part of the URI is filled, the group entry is populated by the values of this attribute in the entries resulting from the search. To generate a diff of this commit: cvs rdiff -u -r1.675 -r1.676 pkgsrc/databases/Makefile cvs rdiff -u -r1.44 -r1.45 pkgsrc/databases/openldap/Makefile.common cvs rdiff -u -r0 -r1.1 pkgsrc/databases/openldap-autogroup/DESCR \ pkgsrc/databases/openldap-autogroup/MESSAGE \ pkgsrc/databases/openldap-autogroup/Makefile \ pkgsrc/databases/openldap-autogroup/PLIST cvs rdiff -u -r1.2342 -r1.2343 pkgsrc/doc/CHANGES-2023 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1682037859294810 Content-Disposition: inline Content-Length: 5080 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/databases/Makefile diff -u pkgsrc/databases/Makefile:1.675 pkgsrc/databases/Makefile:1.676 --- pkgsrc/databases/Makefile:1.675 Wed Apr 19 13:32:16 2023 +++ pkgsrc/databases/Makefile Fri Apr 21 00:44:19 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.675 2023/04/19 13:32:16 joerg Exp $ +# $NetBSD: Makefile,v 1.676 2023/04/21 00:44:19 manu Exp $ COMMENT= Databases @@ -130,6 +130,7 @@ SUBDIR+= ocaml-sqlite3 SUBDIR+= ocsipersist SUBDIR+= odbc-postgresql SUBDIR+= openldap +SUBDIR+= openldap-autogroup SUBDIR+= openldap-client SUBDIR+= openldap-cloak SUBDIR+= openldap-doc Index: pkgsrc/databases/openldap/Makefile.common diff -u pkgsrc/databases/openldap/Makefile.common:1.44 pkgsrc/databases/openldap/Makefile.common:1.45 --- pkgsrc/databases/openldap/Makefile.common:1.44 Mon Aug 23 09:58:58 2021 +++ pkgsrc/databases/openldap/Makefile.common Fri Apr 21 00:44:19 2023 @@ -1,5 +1,6 @@ -# $NetBSD: Makefile.common,v 1.44 2021/08/23 09:58:58 adam Exp $ +# $NetBSD: Makefile.common,v 1.45 2023/04/21 00:44:19 manu Exp $ # +# used by databases/openldap-autogroup/Makefile # used by databases/openldap-client/Makefile # used by databases/openldap-cloak/Makefile # used by databases/openldap-nops/Makefile Index: pkgsrc/doc/CHANGES-2023 diff -u pkgsrc/doc/CHANGES-2023:1.2342 pkgsrc/doc/CHANGES-2023:1.2343 --- pkgsrc/doc/CHANGES-2023:1.2342 Thu Apr 20 18:40:37 2023 +++ pkgsrc/doc/CHANGES-2023 Fri Apr 21 00:44:18 2023 @@ -1,4 +1,4 @@ -$NetBSD: CHANGES-2023,v 1.2342 2023/04/20 18:40:37 schmonz Exp $ +$NetBSD: CHANGES-2023,v 1.2343 2023/04/21 00:44:18 manu Exp $ Changes to the packages collection and infrastructure in 2023: @@ -3378,3 +3378,4 @@ Changes to the packages collection and i Updated shells/oh-my-posh to 14.31.2 [schmonz 2023-04-20] Updated www/p5-Playwright to 1.324 [schmonz 2023-04-20] Added misc/chatgpt-shell-cli version 0.0.20230420 [schmonz 2023-04-20] + Added databases/openldap-autogroup 2.6.4 [manu 2023-04-21] Added files: Index: pkgsrc/databases/openldap-autogroup/DESCR diff -u /dev/null pkgsrc/databases/openldap-autogroup/DESCR:1.1 --- /dev/null Fri Apr 21 00:44:19 2023 +++ pkgsrc/databases/openldap-autogroup/DESCR Fri Apr 21 00:44:19 2023 @@ -0,0 +1,10 @@ +The autogroup overlay allows automated updates of group memberships which +meet the requirements of any filter contained in the group definition. +The filters are built from LDAP URI-valued attributes. Any time an object +is added/deleted/updated, it is tested for compliance with the filters, +and its membership is accordingly updated. For searches and compares +it behaves like a static group. +If the attribute part of the URI is filled, the group entry is populated +by the values of this attribute in the entries resulting from the search. + + Index: pkgsrc/databases/openldap-autogroup/MESSAGE diff -u /dev/null pkgsrc/databases/openldap-autogroup/MESSAGE:1.1 --- /dev/null Fri Apr 21 00:44:19 2023 +++ pkgsrc/databases/openldap-autogroup/MESSAGE Fri Apr 21 00:44:19 2023 @@ -0,0 +1,12 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1 2023/04/21 00:44:19 manu Exp $ + +Please note that this module require slapd to be built with dynamic +module support. THis can be obtained by adding the following to mk.conf: + PKG_OPTIONS.openldap-server= dso + +In order to enable the use of this module, add this directive to slapd.conf: + + moduleload autogroup.la + +=========================================================================== Index: pkgsrc/databases/openldap-autogroup/Makefile diff -u /dev/null pkgsrc/databases/openldap-autogroup/Makefile:1.1 --- /dev/null Fri Apr 21 00:44:19 2023 +++ pkgsrc/databases/openldap-autogroup/Makefile Fri Apr 21 00:44:19 2023 @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1 2023/04/21 00:44:19 manu Exp $ + +PKGNAME= ${DISTNAME:S/-/-autogroup-/} +COMMENT= Hide specific attributes unless explicitely requested for OpenLDAP + +CONFLICTS+= openldap<2.3.23nb1 +DEPENDS+= openldap-server>=2.4.13nb1:../../databases/openldap-server + +USE_LIBTOOL= yes + +BUILD_DIRS+= include libraries contrib/slapd-modules/autogroup +INSTALLATION_DIRS= lib/openldap ${PKGMANDIR}/man5 + +do-install: + ${INSTALL_MAN} \ + ${WRKSRC}/contrib/slapd-modules/autogroup/slapo-autogroup.5 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 + ${LIBTOOL} --mode=install ${INSTALL_DATA} \ + ${WRKSRC}/contrib/slapd-modules/autogroup/autogroup.la \ + ${DESTDIR}${PREFIX}/lib/openldap + +.include "../../databases/openldap/Makefile.common" +.include "../../databases/openldap-client/buildlink3.mk" +.include "../../databases/openldap-server/options.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/databases/openldap-autogroup/PLIST diff -u /dev/null pkgsrc/databases/openldap-autogroup/PLIST:1.1 --- /dev/null Fri Apr 21 00:44:19 2023 +++ pkgsrc/databases/openldap-autogroup/PLIST Fri Apr 21 00:44:19 2023 @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1 2023/04/21 00:44:19 manu Exp $ +lib/openldap/autogroup.la +man/man5/slapo-autogroup.5 --_----------=_1682037859294810--