95d8d32fc5
- package rebased - removed embeded db4 - removed patches merged by upstream - removed no longer required patches - merged patches doing manpage changes - merged patches exporting ldif API - reapplied patches and added description to each one - removed unnecessary BuildRequires - cleaned %config, %build and %install sections - updated database upgrade process: - database is exported (slapcat) and reimported (slapadd) when minor version of openldap changes (safe and recomended way) - database is upgraded (db4) when minor version of db4 package changes (this is not done in %post anymore, as the database is not embeded, but using triggers) Resolved: #624616 Bogus links in "SEE ALSO" part of several man-pages Resolved: #625740 openldap-2.4.23 is available
62 lines
1.9 KiB
Diff
62 lines
1.9 KiB
Diff
Patch exposes LDIF reading/writing API. This change is required to replace
|
|
mozldap with openldap in FreeIPA project.
|
|
|
|
Upstream: ITS #6194
|
|
Author: Rich Megginson <rmeggins@redhat.com>
|
|
|
|
diff -uNPrp openldap-2.4.23.old/include/Makefile.in openldap-2.4.23.new/include/Makefile.in
|
|
--- openldap-2.4.23.old/include/Makefile.in 2010-04-13 22:22:47.000000000 +0200
|
|
+++ openldap-2.4.23.new/include/Makefile.in 2010-08-19 17:40:29.073805139 +0200
|
|
@@ -20,7 +20,8 @@ install-local: FORCE
|
|
for header in $(srcdir)/lber.h lber_types.h \
|
|
$(srcdir)/ldap.h $(srcdir)/ldap_cdefs.h \
|
|
$(srcdir)/ldap_schema.h $(srcdir)/ldap_utf8.h \
|
|
- $(srcdir)/slapi-plugin.h ldap_features.h; \
|
|
+ $(srcdir)/slapi-plugin.h ldap_features.h \
|
|
+ $(srcdir)/ldif.h ; \
|
|
do \
|
|
$(INSTALL) $(INSTALLFLAGS) -m 644 $$header $(DESTDIR)$(includedir); \
|
|
done
|
|
diff -uNPrp openldap-2.4.23.old/libraries/liblutil/Makefile.in openldap-2.4.23.new/libraries/liblutil/Makefile.in
|
|
--- openldap-2.4.23.old/libraries/liblutil/Makefile.in 2010-04-19 18:53:01.000000000 +0200
|
|
+++ openldap-2.4.23.new/libraries/liblutil/Makefile.in 2010-08-19 17:40:20.424679962 +0200
|
|
@@ -14,6 +14,9 @@
|
|
## <http://www.OpenLDAP.org/license.html>.
|
|
|
|
LIBRARY = liblutil.a
|
|
+
|
|
+SHAREDLIB = libldif.la
|
|
+
|
|
PROGRAM = testavl
|
|
|
|
LDAP_INCDIR= ../../include
|
|
@@ -40,6 +43,8 @@ OBJS = base64.o entropy.o sasl.o signal.
|
|
meter.o \
|
|
@LIBOBJS@ $(@PLAT@_OBJS)
|
|
|
|
+SHAREDLIBOBJS = ldif.lo fetch.lo
|
|
+
|
|
testavl: $(XLIBS) testavl.o
|
|
(LTLINK) -o $@ testavl.o $(LIBS)
|
|
|
|
@@ -59,3 +64,19 @@ slapdmsg.res: slapdmsg.rc slapdmsg.bin
|
|
clean-local:
|
|
$(RM) *.res
|
|
|
|
+all-local: $(SHAREDLIB)
|
|
+
|
|
+.SUFFIXES: .c .o .lo
|
|
+
|
|
+.c.lo:
|
|
+ $(LTCOMPILE_LIB) $<
|
|
+
|
|
+$(LIBRARY): $(SHAREDLIBOBJS) version.lo
|
|
+
|
|
+$(SHAREDLIB): $(SHAREDLIBOBJS) version.lo
|
|
+ $(LTLINK_LIB) -o $(SHAREDLIB) $(SHAREDLIBOBJS) version.lo $(LINK_LIBS)
|
|
+
|
|
+install-local: FORCE
|
|
+ -$(MKDIR) $(DESTDIR)$(libdir)
|
|
+ $(LTINSTALL) $(INSTALLFLAGS) -m 644 $(SHAREDLIB) $(DESTDIR)$(libdir)
|
|
+ $(LTFINISH) $(DESTDIR)$(libdir)
|