6fe3bd37d9
Not complete yet. Missing ltb-project-openldap-ppolicy
55 lines
1.7 KiB
Diff
55 lines
1.7 KiB
Diff
From ac607279df96d4f29f0778ad2657b1f962b496bb Mon Sep 17 00:00:00 2001
|
|
From: babak sarashki <babak.sarashki@windriver.com>
|
|
Date: Sun, 3 Nov 2019 14:40:33 -0800
|
|
Subject: [PATCH 08/20] openldap allop overlay
|
|
|
|
From Stx 1901: openldap-allop-overlay.patch
|
|
|
|
Compile AllOp together with other overlays.
|
|
|
|
Author: Matus Honek <mhonek@redhat.com>
|
|
Resolves: #990893
|
|
---
|
|
servers/slapd/overlays/Makefile.in | 11 +++++++++--
|
|
1 file changed, 9 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/servers/slapd/overlays/Makefile.in b/servers/slapd/overlays/Makefile.in
|
|
index e3f415a..d940560 100644
|
|
--- a/servers/slapd/overlays/Makefile.in
|
|
+++ b/servers/slapd/overlays/Makefile.in
|
|
@@ -34,7 +34,8 @@ SRCS = overlays.c \
|
|
translucent.c \
|
|
unique.c \
|
|
valsort.c \
|
|
- smbk5pwd.c
|
|
+ smbk5pwd.c \
|
|
+ allop.c
|
|
OBJS = statover.o \
|
|
@SLAPD_STATIC_OVERLAYS@ \
|
|
overlays.o
|
|
@@ -54,7 +55,7 @@ NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
|
|
UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
|
|
|
|
LIBRARY = ../liboverlays.a
|
|
-PROGRAMS = @SLAPD_DYNAMIC_OVERLAYS@ smbk5pwd.la
|
|
+PROGRAMS = @SLAPD_DYNAMIC_OVERLAYS@ smbk5pwd.la allop.la
|
|
|
|
XINCPATH = -I.. -I$(srcdir)/..
|
|
XDEFS = $(MODULES_CPPFLAGS)
|
|
@@ -132,6 +133,12 @@ smbk5pwd.lo : smbk5pwd.c
|
|
smbk5pwd.la : smbk5pwd.lo
|
|
$(LTLINK_MOD) -module -o $@ smbk5pwd.lo version.lo $(LINK_LIBS) $(shell pkg-config openssl --libs)
|
|
|
|
+allop.lo : allop.c
|
|
+ $(LTCOMPILE_MOD) -DDO_SAMBA -UHAVE_MOZNSS -DHAVE_OPENSSL $(shell pkg-config openssl --cflags) $<
|
|
+
|
|
+allop.la : allop.lo
|
|
+ $(LTLINK_MOD) -module -o $@ allop.lo version.lo $(LINK_LIBS) $(shell pkg-config openssl --libs)
|
|
+
|
|
install-local: $(PROGRAMS)
|
|
@if test -n "$?" ; then \
|
|
$(MKDIR) $(DESTDIR)$(moduledir); \
|
|
--
|
|
2.17.1
|
|
|