parent
eb29790db6
commit
8291cbaa23
40
openldap-allop-overlay.patch
Normal file
40
openldap-allop-overlay.patch
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
Compile AllOp together with other overlays.
|
||||||
|
|
||||||
|
Author: Matus Honek <mhonek@redhat.com>
|
||||||
|
Resolves: #1319782
|
||||||
|
|
||||||
|
diff --git a/servers/slapd/overlays/Makefile.in b/servers/slapd/overlays/Makefile.in
|
||||||
|
--- a/servers/slapd/overlays/Makefile.in
|
||||||
|
+++ b/servers/slapd/overlays/Makefile.in
|
||||||
|
@@ -33,7 +33,8 @@ SRCS = overlays.c \
|
||||||
|
translucent.c \
|
||||||
|
unique.c \
|
||||||
|
valsort.c \
|
||||||
|
- smbk5pwd.c
|
||||||
|
+ smbk5pwd.c \
|
||||||
|
+ allop.c
|
||||||
|
OBJS = statover.o \
|
||||||
|
@SLAPD_STATIC_OVERLAYS@ \
|
||||||
|
overlays.o
|
||||||
|
@@ -53,7 +54,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)
|
||||||
|
@@ -125,6 +126,12 @@ unique.la : unique.lo
|
||||||
|
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); \
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: openldap
|
Name: openldap
|
||||||
Version: 2.4.43
|
Version: 2.4.43
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: LDAP support libraries
|
Summary: LDAP support libraries
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
License: OpenLDAP
|
License: OpenLDAP
|
||||||
@ -35,6 +35,7 @@ Patch13: openldap-nss-regex-search-hashed-cacert-dir.patch
|
|||||||
Patch14: openldap-nss-ignore-certdb-type-prefix.patch
|
Patch14: openldap-nss-ignore-certdb-type-prefix.patch
|
||||||
Patch15: openldap-nss-certs-from-certdb-fallback-pem.patch
|
Patch15: openldap-nss-certs-from-certdb-fallback-pem.patch
|
||||||
Patch16: openldap-nss-pk11-freeslot.patch
|
Patch16: openldap-nss-pk11-freeslot.patch
|
||||||
|
Patch17: openldap-allop-overlay.patch
|
||||||
|
|
||||||
# fix back_perl problems with lt_dlopen()
|
# fix back_perl problems with lt_dlopen()
|
||||||
# might cause crashes because of symbol collisions
|
# might cause crashes because of symbol collisions
|
||||||
@ -144,6 +145,7 @@ AUTOMAKE=%{_bindir}/true autoreconf -fi
|
|||||||
%patch14 -p1
|
%patch14 -p1
|
||||||
%patch15 -p1
|
%patch15 -p1
|
||||||
%patch16 -p1
|
%patch16 -p1
|
||||||
|
%patch17 -p1
|
||||||
%patch19 -p1
|
%patch19 -p1
|
||||||
%patch20 -p1
|
%patch20 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
@ -151,6 +153,10 @@ AUTOMAKE=%{_bindir}/true autoreconf -fi
|
|||||||
# build smbk5pwd with other overlays
|
# build smbk5pwd with other overlays
|
||||||
ln -s ../../../contrib/slapd-modules/smbk5pwd/smbk5pwd.c servers/slapd/overlays
|
ln -s ../../../contrib/slapd-modules/smbk5pwd/smbk5pwd.c servers/slapd/overlays
|
||||||
mv contrib/slapd-modules/smbk5pwd/README contrib/slapd-modules/smbk5pwd/README.smbk5pwd
|
mv contrib/slapd-modules/smbk5pwd/README contrib/slapd-modules/smbk5pwd/README.smbk5pwd
|
||||||
|
# build allop with other overlays
|
||||||
|
ln -s ../../../contrib/slapd-modules/allop/allop.c servers/slapd/overlays
|
||||||
|
mv contrib/slapd-modules/allop/README contrib/slapd-modules/allop/README.allop
|
||||||
|
mv contrib/slapd-modules/allop/slapo-allop.5 doc/man/man5/slapo-allop.5
|
||||||
|
|
||||||
mv servers/slapd/back-perl/README{,.back_perl}
|
mv servers/slapd/back-perl/README{,.back_perl}
|
||||||
|
|
||||||
@ -487,6 +493,7 @@ exit 0
|
|||||||
%{_datadir}/openldap-servers/
|
%{_datadir}/openldap-servers/
|
||||||
%{_libdir}/openldap/accesslog*
|
%{_libdir}/openldap/accesslog*
|
||||||
%{_libdir}/openldap/auditlog*
|
%{_libdir}/openldap/auditlog*
|
||||||
|
%{_libdir}/openldap/allop*
|
||||||
%{_libdir}/openldap/back_dnssrv*
|
%{_libdir}/openldap/back_dnssrv*
|
||||||
%{_libdir}/openldap/back_ldap*
|
%{_libdir}/openldap/back_ldap*
|
||||||
%{_libdir}/openldap/back_meta*
|
%{_libdir}/openldap/back_meta*
|
||||||
|
Loading…
Reference in New Issue
Block a user