GoboLinux Downloads Documentation Community Recipes Packages Screenshots

GoboLinux Recipe & Package Search Tool

17 versions of OpenLDAP.

ProgramAgeSizeByWWWSummary
OpenLDAP 2.4.23-r1 20  1830 Demi...
LDAP suite of applications and development tools
OpenLDAP 2.4.21-r2 206  1834 Ősi...
LDAP suite of applications and development tools
OpenLDAP 2.4.19-r1 303  1768 Luca...
LDAP suite of applications and development tools
OpenLDAP 2.4.16-r1 503  1811 Giam...
LDAP suite of applications and development tools
OpenLDAP 2.4.11-r2 564  1814 Giam...
LDAP suite of applications and development tools
OpenLDAP 2.4.9-r1 820  1740 John...
LDAP suite of applications and development tools
OpenLDAP 2.3.39-r2 793  1705 Jona...
LDAP suite of applications and development tools
view subversion entry | download recipe.bz2 file
01-ucred.patch
Recipe
Resources/BuildDependencies
Resources/BuildInformation
Resources/Dependencies
Resources/Description
--- openldap-2.3.39/configure.in	2007-06-10 18:39:53.000000000 +0000
+++ openldap-2.3.39/configure.in.new	2008-05-23 20:45:49.000000000 +0000
@@ -930,6 +930,17 @@
 #endif
 ])
 
+# Check for ucred
+AC_MSG_CHECKING(for struct ucred)
+AC_TRY_LINK([
+#include <sys/ucred.h>
+#include <sys/socket.h>
+],[
+struct ucred sucred; sucred.pid=0;
+],[has_ucred=yes],[has_ucred=no])
+AC_MSG_RESULT($has_ucred)
+if test ${has_ucred} = no ; then CFLAGS="$CFLAGS -DNEED_UCRED"; fi
+
 dnl ----------------------------------------------------------------
 dnl Checks for libraries
 
--- openldap-2.3.39/libraries/liblutil/getpeereid.c	2007-06-10 18:39:53.000000000 \
+0000
+++ openldap-2.3.39/libraries/liblutil/getpeereid.c.new	2008-05-23 20:43:07.000000000 \
+0000
@@ -49,6 +49,15 @@
 {
 #ifdef LDAP_PF_LOCAL
 #if defined( SO_PEERCRED )
+#ifdef NEED_UCRED /* from autoconf */
+struct ucred
+   {
+      pid_t pid; /* PID of sending process. */
+      uid_t uid; /* UID of sending process. */
+      gid_t gid; /* GID of sending process. */
+   };
+#endif /* NEED_UCRED */
+
 	struct ucred peercred;
 	ber_socklen_t peercredlen = sizeof peercred;
 
OpenLDAP 2.3.38-r1 793  1081 Jona...
LDAP suite of applications and development tools
OpenLDAP 2.3.32-r3 793  1076 Jona...
LDAP suite of applications and development tools
OpenLDAP 2.3.24-r3 793  998 Andr...
LDAP suite of applications and development tools
OpenLDAP 2.3.20-r1 793  980 Jona...
LDAP suite of applications and development tools
OpenLDAP 2.3.17-r1 793  982 Jona...
LDAP suite of applications and development tools
OpenLDAP 2.2.27-r1 793  933 Davi...
LDAP suite of applications and development tools
OpenLDAP 2.2.24-r1 793  904 Jona...
LDAP suite of applications and development tools
OpenLDAP 2.2.23-r1 793  869 Andr...
LDAP suite of applications and development tools
OpenLDAP 2.2.17-r1 793  869 Andr...
LDAP suite of applications and development tools
OpenLDAP 2.2.15-r1 793  843 Magl...
LDAP suite of applications and development tools