Blame SOURCES/openldap-allop-overlay.patch

d0db73
Compile AllOp together with other overlays.
d0db73
d0db73
Author: Matus Honek <mhonek@redhat.com>
d0db73
Resolves: #1319782
d0db73
d0db73
diff --git a/servers/slapd/overlays/Makefile.in b/servers/slapd/overlays/Makefile.in
b11fe1
index b5c3fc8..9aa8a4f 100644
d0db73
--- a/servers/slapd/overlays/Makefile.in
d0db73
+++ b/servers/slapd/overlays/Makefile.in
b11fe1
@@ -38,7 +38,8 @@ SRCS = overlays.c \
d0db73
 	translucent.c \
d0db73
 	unique.c \
d0db73
 	valsort.c \
d0db73
-	smbk5pwd.c
d0db73
+	smbk5pwd.c \
d0db73
+	allop.c
d0db73
 OBJS = statover.o \
d0db73
 	@SLAPD_STATIC_OVERLAYS@ \
d0db73
 	overlays.o
b11fe1
@@ -58,7 +59,7 @@ NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
d0db73
 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
d0db73
 
d0db73
 LIBRARY = ../liboverlays.a
d0db73
-PROGRAMS = @SLAPD_DYNAMIC_OVERLAYS@ smbk5pwd.la
d0db73
+PROGRAMS = @SLAPD_DYNAMIC_OVERLAYS@ smbk5pwd.la allop.la
d0db73
 
d0db73
 XINCPATH = -I.. -I$(srcdir)/..
d0db73
 XDEFS = $(MODULES_CPPFLAGS)
b11fe1
@@ -148,6 +149,12 @@ smbk5pwd.lo : smbk5pwd.c
d0db73
 smbk5pwd.la : smbk5pwd.lo
d0db73
 	$(LTLINK_MOD) -module -o $@ smbk5pwd.lo version.lo $(LINK_LIBS) $(shell pkg-config openssl --libs)
d0db73
 
d0db73
+allop.lo : allop.c
d0db73
+	$(LTCOMPILE_MOD) -DDO_SAMBA -UHAVE_MOZNSS -DHAVE_OPENSSL $(shell pkg-config openssl --cflags) $<
d0db73
+
d0db73
+allop.la : allop.lo
d0db73
+	$(LTLINK_MOD) -module -o $@ allop.lo version.lo $(LINK_LIBS) $(shell pkg-config openssl --libs)
d0db73
+
d0db73
 install-local:	$(PROGRAMS)
d0db73
 	@if test -n "$?" ; then \
d0db73
 		$(MKDIR) $(DESTDIR)$(moduledir); \