pkgsrc-Changes archive

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

CVS commit: pkgsrc



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.

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



Home | Main Index | Thread Index | Old Index