瀏覽代碼

upgrading package: openldap 2.2.27 -> 2.3.4

Ralf S. Engelschall 20 年之前
父節點
當前提交
f8a7c9eb6b
共有 2 個文件被更改,包括 18 次插入45 次删除
  1. 16 43
      openldap/openldap.patch
  2. 2 2
      openldap/openldap.spec

+ 16 - 43
openldap/openldap.patch

@@ -1,47 +1,6 @@
-Index: servers/slapd/Makefile.in
---- servers/slapd/Makefile.in.orig	2004-07-26 00:31:04 +0200
-+++ servers/slapd/Makefile.in	2004-11-29 07:31:35 +0100
-@@ -421,6 +421,6 @@
- 	cd $(DESTDIR)$(sbindir); \
- 	rm -f $(SLAPTOOLS); \
- 	for i in $(SLAPTOOLS); do \
--		$(LN_S) $(libexecdir)/slapd$(EXEEXT) $$i$(EXEEXT); \
-+		$(LN_S) $(DESTDIR)$(libexecdir)/slapd$(EXEEXT) $$i$(EXEEXT); \
- 	done
- 
-Index: servers/slapd/daemon.c
---- servers/slapd/daemon.c.orig	2004-11-24 05:29:21 +0100
-+++ servers/slapd/daemon.c	2004-11-29 07:31:35 +0100
-@@ -34,10 +34,10 @@
- #include <ac/time.h>
- #include <ac/unistd.h>
- 
-+#include "slap.h"
- #include "ldap_pvt.h"
- #include "ldap_pvt_thread.h"
- #include "lutil.h"
--#include "slap.h"
- 
- #include "ldap_rq.h"
- 
-Index: servers/slapd/main.c
---- servers/slapd/main.c.orig	2004-10-09 06:26:50 +0200
-+++ servers/slapd/main.c	2004-11-29 07:31:35 +0100
-@@ -404,6 +404,11 @@
- 		}
- 	}
- 
-+    /* initialize thread environment  -> otherwise first ldap_ segfaults
-+     * return code broken for GNU pth -> ignore
-+     */
-+    (void)ldap_pvt_thread_initialize();
-+
- #ifdef NEW_LOGGING
- 	lutil_log_initialize( argc, argv );
- #else
 Index: servers/slapd/slapd.conf
---- servers/slapd/slapd.conf.orig	2004-06-29 23:45:50 +0200
-+++ servers/slapd/slapd.conf	2004-11-29 07:32:51 +0100
+--- servers/slapd/slapd.conf.orig	2004-06-18 04:49:08 +0200
++++ servers/slapd/slapd.conf	2005-06-18 12:26:38 +0200
 @@ -65,3 +65,19 @@
  directory	%LOCALSTATEDIR%/openldap-data
  # Indices to maintain
@@ -62,3 +21,17 @@ Index: servers/slapd/slapd.conf
 +#updatedn        "cn=admin,dc=example,dc=org"
 +#updateref       ldap://master.example.org
 +
+Index: include/ac/fdset.h
+--- include/ac/fdset.h.orig	2005-01-20 19:03:49 +0100
++++ include/ac/fdset.h	2005-06-25 12:29:21 +0200
+@@ -22,6 +22,10 @@
+ #ifndef _AC_FDSET_H
+ #define _AC_FDSET_H
+ 
++#if defined(HAVE_SYS_SELECT_H)
++#include <sys/select.h>
++#endif
++
+ #if !defined( OPENLDAP_FD_SETSIZE ) && !defined( FD_SETSIZE )
+ #  define OPENLDAP_FD_SETSIZE 4096
+ #endif

+ 2 - 2
openldap/openldap.spec

@@ -32,8 +32,8 @@ Distribution: OpenPKG
 Class:        BASE
 Group:        Database
 License:      GPL
-Version:      2.2.27
-Release:      20050615
+Version:      2.3.4
+Release:      20050625
 
 #   package options
 %option       with_fsl   yes