rpms/openldap/F-8 openldap-2.3.34-config.patch, 1.1, 1.2 openldap.spec, 1.99, 1.100

Jan Šafránek (jsafrane) fedora-extras-commits at redhat.com
Mon Jan 14 13:12:44 UTC 2008


Author: jsafrane

Update of /cvs/pkgs/rpms/openldap/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21280

Modified Files:
	openldap-2.3.34-config.patch openldap.spec 
Log Message:
fix default slurpd directory to /var/lib/ldap
Resolves: #424831

openldap-2.3.34-config.patch:

Index: openldap-2.3.34-config.patch
===================================================================
RCS file: /cvs/pkgs/rpms/openldap/F-8/openldap-2.3.34-config.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- openldap-2.3.34-config.patch	29 Jun 2007 10:03:52 -0000	1.1
+++ openldap-2.3.34-config.patch	14 Jan 2008 13:12:40 -0000	1.2
@@ -96,3 +96,23 @@
 +#replica host=ldap-1.example.com:389 starttls=critical
 +#     bindmethod=sasl saslmech=GSSAPI
 +#     authcId=host/ldap-master.example.com at EXAMPLE.COM
+--- openldap-2.2.13/servers/slurpd/slurp.h	2004-01-01 13:16:42.000000000 -0500
++++ openldap-2.2.13/servers/slurpd/slurp.h	2004-06-15 11:40:04.000000000 -0400
+@@ -66,7 +66,7 @@
+ #define SERVICE_NAME	OPENLDAP_PACKAGE "-slurpd"
+ 
+ /* Default directory for slurpd's private copy of replication logs */
+-#define	DEFAULT_SLURPD_REPLICA_DIR	LDAP_RUNDIR LDAP_DIRSEP "openldap-slurp"
++#define	DEFAULT_SLURPD_REPLICA_DIR	"/var/lib/ldap"
+ 
+ /* Default name for slurpd's private copy of the replication log */
+ #define	DEFAULT_SLURPD_REPLOGFILE	"slurpd.replog"
+@@ -75,7 +75,7 @@
+ #define	DEFAULT_SLURPD_STATUS_FILE	"slurpd.status"
+ 
+ /* slurpd dump file - contents of rq struct are written here (debugging) */
+-#define	SLURPD_DUMPFILE			LDAP_TMPDIR LDAP_DIRSEP "slurpd.dump"
++#define	SLURPD_DUMPFILE			DEFAULT_SLURPD_REPLICA_DIR "/slurpd.dump"
+ 
+ /* Amount of time to sleep if no more work to do */
+ #define	DEFAULT_NO_WORK_INTERVAL	3


Index: openldap.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openldap/F-8/openldap.spec,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -r1.99 -r1.100
--- openldap.spec	2 Nov 2007 12:16:33 -0000	1.99
+++ openldap.spec	14 Jan 2008 13:12:40 -0000	1.100
@@ -12,7 +12,7 @@
 Summary: The configuration files, libraries, and documentation for OpenLDAP
 Name: openldap
 Version: %{version_23}
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: OpenLDAP
 Group: System Environment/Daemons
 Source0: ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/openldap-%{version_23}.tgz
@@ -674,6 +674,9 @@
 %attr(0644,root,root)      %{evolution_connector_libdir}/*.a
 
 %changelog
+* Mon Jan 14 2008 Jan Safranek <jsafranek at redhat.com> 2.3.39-2%{?dist}
+- fix default slurpd directory to /var/lib/ldap (#424831)
+
 * Fri Nov  2 2007 Jan Safranek <jsafranek at redhat.com> 2.3.39-1%{?dist}
 - new upstream version, fixing few security flaws (#362991)
 




More information about the fedora-extras-commits mailing list