pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/openldap-server



Module Name:    pkgsrc
Committed By:   manu
Date:           Wed Feb 15 15:38:08 UTC 2023

Modified Files:
        pkgsrc/databases/openldap-server: Makefile

Log Message:
The shell backend was retired, the sock overlay should replace it

If you had this:
database        shell
suffix          "cn=log"
rootdn          "cn=root,dc=log"
add             "/usr/local/bin/prog"
modify          "/usr/local/bin/prog"
delete          "/usr/local/bin/prog"
modrdn          "/usr/local/bin/prog"

Now use this (not documented anywhere!)
database        null
suffix          "cn=log"
overlay         sock
socketpath      "/var/run/prog.sock"
sockops         add delete modify modrdn

And now you need to write a daemon that reads on a local SOCK_STREAM
socket to get the data (the format is the same slapd-shell produced),
and executes /usr/local/bin/prog with that data on stdin.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 pkgsrc/databases/openldap-server/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/openldap-server/Makefile
diff -u pkgsrc/databases/openldap-server/Makefile:1.66 pkgsrc/databases/openldap-server/Makefile:1.67
--- pkgsrc/databases/openldap-server/Makefile:1.66      Wed Feb 15 12:46:45 2023
+++ pkgsrc/databases/openldap-server/Makefile   Wed Feb 15 15:38:08 2023
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.66 2023/02/15 12:46:45 adam Exp $
+# $NetBSD: Makefile,v 1.67 2023/02/15 15:38:08 manu Exp $
 
 PKGNAME=       ${DISTNAME:S/-/-server-/}
+PKGREVISION=   1
 COMMENT=       Lightweight Directory Access Protocol server suite
 
 CONFLICTS+=    openldap<2.3.23nb1
@@ -22,7 +23,7 @@ CONFIGURE_ARGS+=      --enable-meta
 CONFIGURE_ARGS+=       --enable-monitor
 CONFIGURE_ARGS+=       --enable-null
 CONFIGURE_ARGS+=       --enable-passwd
-CONFIGURE_ARGS+=       --enable-shell
+CONFIGURE_ARGS+=       --enable-sock
 
 # slapd (stackable) overlays
 CONFIGURE_ARGS+=       --enable-overlays



Home | Main Index | Thread Index | Old Index